:root {
    --detail-teal: #007f78;
    --detail-dark: #12343b;
    --detail-orange: #ff7300
}

.detail-hero {
    padding-top: 18px;
    padding-right:22px;
}

.detail-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #8a9a9c;
    font-size: .78rem;    
}

    .detail-breadcrumb a {
        color: var(--detail-teal)
    }

    .detail-breadcrumb strong {
        font-weight: 500;
        color: #55686b
    }

.detail-page {
    padding-top: 18px;
    padding-bottom: 30px
}

.product-detail-card, .detail-tabs-card {
    background: #fff;
    border: 1px solid #e7eeee;
    border-radius: 28px;
    box-shadow: 0 18px 60px rgba(11,74,76,.08);
    overflow: hidden
}

.product-gallery {
    height: 100%;
    padding: 28px;
    position: relative;
    background: radial-gradient(circle at 50% 32%,#e8f8f6 0,#f8fcfc 48%,#fff 100%);
}

.detail-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #e7f8f1;
    color: #087b67;
    border-radius: 30px;
    padding: 7px 14px;
    font-size: .72rem;
    font-weight: 700;
    z-index: 2
}

.detail-wishlist {
    width: 42px;
    height: 42px;
    border: 1px solid #e5eeee;
    border-radius: 50%;
    background: #fff5f5;
    color: #687d7f;
    z-index: 2;
    transition: .25s
}

.detail-wishlist:hover, .detail-wishlist.active {
    color: #e75656;
    border-color: #ffd1d1;
    background: #fae2e2
}

.gallery-main {
    height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0px;
    cursor: zoom-in;
    text-decoration: none;
    touch-action: pan-y;
    user-select: none;
    width: 100%
}

.gallery-main.is-dragging {
    cursor: grabbing
}

.product-gallery-main {
    width: 100%;
    height: 310px;
    overflow: hidden;
    margin-bottom: 30px;
}

.product-gallery-main .swiper-slide {
    height: 310px
}

.gallery-main img {
    max-height: 310px;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    position: relative;
    z-index: 1
}

.lg-container .lg-inner {
    direction: ltr;
}

.lg-container .lg-backdrop.in {
    opacity: 0.8;
}


.product-glow {
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(64,185,173,.13);
    filter: blur(4px)
}

.product-gallery-thumbs-wrap {
    position:relative;
    overflow: hidden;
    width:100%;
}
.product-gallery-thumbs{
    max-width:305px;

}
.gallery-thumb {
    width: 68px !important;
    height: 68px;
    padding: 5px;
    border-radius: 14px;
    border: 1px solid #e3eeee;
    background: #fff;
    transition: .25s
}

.gallery-thumb.swiper-slide-thumb-active {
    border-color: var(--detail-teal);
    box-shadow: 0 5px 16px rgba(0,127,120,.14)
}
.gallery-nav {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--detail-teal);
    box-shadow: 0 3px 12px rgba(0,80,80,.12);
    transition: .2s;
    cursor: pointer;
    z-index: 10;
}
.gallery-nav i {
    line-height:inherit;
}

.gallery-nav-next {
    position: absolute;
    top: 19px;
    right: 2px;
}
.gallery-nav-prev {
    position: absolute;
    top: 19px;
    left: 2px;
}

.gallery-nav:hover {
    color: #fff;
    background: var(--detail-teal)
}

    .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 9px;
        mix-blend-mode: multiply
    }

    .gallery-thumb.active, .gallery-thumb:hover {
        border-color: var(--detail-teal);
        box-shadow: 0 5px 16px rgba(0,127,120,.14)
    }

.thumb-icon {
    color: var(--detail-teal);
    font-size: 1.1rem
}

.product-summary {
    padding: 30px 30px 30px;
    height: 100%;
}

.purchase-controls {
    height: 100%;
    padding: 42px 24px 30px;
}

.purchase-controls > .stock-label {
    display: inline-block;
    margin-bottom: 7px
}

.summary-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 0.73rem
}

.category-label {
    color: #718486;
    font-size: 1.73rem
}

    .category-label i {
        color: var(--detail-orange);
        margin-left: 5px;
        font-size: 1rem
    }

.stock-label {
    color: #238a67;
    background: #effaf4;
    border-radius: 20px;
    padding: 6px 11px
}

    .stock-label i {
        margin-left: 4px
    }

.product-summary h1 {
    font-size: 2rem;
    color: var(--detail-dark);
    margin: 24px 0 9px;
    font-weight: 800
}

.product-subtitle {
    color: #819193;
    font-size: .85rem;
    line-height: 2;
    margin-bottom: 21px
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    color: #758688
}

.stars {
    color: #ffb21a;
    direction: ltr;
    letter-spacing: 2px
}

.rating-row a {
    color: var(--detail-teal)
}

.sku {
    margin-right: auto;
    color: #a0acad
}

.price-box {
    margin: 18px 0;
    padding: 18px 20px;
    border-radius: 17px;
    background: linear-gradient(100deg,#f0fbf8,#fff8f0);
    border: 1px solid #e3f0ec
}

.old-price {
    font-size: .78rem;
    text-decoration: line-through;
    color: #aab8b8
}

.discount-pill {
    font-size: .68rem;
    color: #d95b18;
    background: #fff0e4;
    border-radius: 20px;
    padding: 5px 9px;
    margin-right: 9px
}

.current-price {
    display: block;
    color: var(--detail-dark);
    font-size: 1.9rem;
    margin-top: 6px
}

    .current-price small {
        font-size: .8rem;
        font-weight: 500
    }

.price-note {
    font-size: .68rem;
    color: #5b9a85
}

    .price-note i {
        margin-left: 5px
    }

.option-block {
    padding-bottom: 18px;
    border-top: 1px solid #edf2f2;
    padding-top: 18px;
    margin-top:18px;
}

.option-title {
    font-size: .8rem;
    color: #708182;
    margin-bottom: 11px
}

.color-options {
    display: flex;
    gap: 9px
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #dce6e6;
    position: relative
}

    .color-option.selected {
        box-shadow: 0 0 0 2px var(--detail-teal)
    }

        .color-option.selected:after {
            content: "✓";
            position: absolute;
            inset: 0;
            display: grid;
            place-items: center;
            color: #395356;
            font-size: .7rem
        }

.purchase-row {
    display: flex;
    gap: 12px;
    margin-top: 21px
}

.quantity-control {
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 120px;
    padding: 0 8px;
    border: 1px solid #dfe9e8;
    border-radius: 15px;
    color: var(--detail-dark);
    font-weight: 700
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 9px;
    background: #f0f7f6;
    color: var(--detail-teal)
}

.add-to-cart {
    flex: 1;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(110deg,#008f85,#006c69);
    color: white;
    font: inherit;
    font-size: .9rem;
    box-shadow: 0 9px 20px rgba(0,127,120,.2);
    transition: .25s
}

    .add-to-cart:hover, .buy-now:hover {
        transform: translateY(-2px)
    }

.buy-now {
    width: 100%;
    height: 42px;
    border: 1px solid #ffbd89;
    border-radius: 13px;
    background: #fff8f2;
    color: #e96b1c;
    font: inherit;
    font-size: .8rem;
    margin-top: 10px;
    transition: .25s
}

    .buy-now i {
        margin-right: 8px
    }

.clicked {
    animation: buttonPulse .45s ease
}

@keyframes buttonPulse {
    50% {
        transform: scale(.97)
    }
}

.feature-strip {
    display: grid;
    grid-template-rows:3fr;
    gap: 18px;
    margin-bottom: 18px;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(90deg,#fbfefd 0%,#dcf1ee 100%);
    box-shadow:-5px 0 15px #66787933 inset;
}

    .feature-strip > div {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #5c7374;
        font-size: .7rem;
        line-height: 1.7
    }

    .purchase-controls {
        border-right: 0;
        border-top: 1px solid #edf3f2;
        padding: 28px 25px
    }

    .feature-strip i {
        color: var(--detail-orange);
        font-size: 1rem
    }

    .feature-strip small {
        color: #9aa8a8;
        font-size: .58rem
    }

.detail-tabs-card {
    margin-top: 25px;
    padding: 0 30px;
    min-height: calc(52px*4);
}

.detail-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e9f0ef
}

.detail-tab {
    position: relative;
    border: 0;
    background: none;
    padding: 20px 6px;
    color: #839293;
    font: inherit;
    font-size: .82rem
}

    .detail-tab.active {
        color: var(--detail-teal);
        font-weight: 700
    }

        .detail-tab.active:after {
            content: "";
            position: absolute;
            bottom: -1px;
            right: 0;
            left: 0;
            height: 3px;
            border-radius: 3px 3px 0 0;
            background: var(--detail-orange)
        }

    .detail-tab span {
        background: #eff8f6;
        color: var(--detail-teal);
        border-radius: 12px;
        padding: 2px 7px;
        font-size: .65rem;
        margin-right: 4px
    }

.tab-panel {
    display: none;
    padding: 26px 6px 30px;
    color: #667879;
    font-size: .8rem;
    line-height: 2.2;
    opacity: 0;
    transform: translateY(8px)
}

    .tab-panel.active {
        display: block;
        animation: tabEnter .32s ease forwards
    }

    .tab-panel.leaving {
        display: block;
        animation: tabLeave .17s ease forwards
    }

@keyframes tabEnter {
    to { opacity: 1; transform: translateY(0) }
}

@keyframes tabLeave {
    to { opacity: 0; transform: translateY(-7px) }
}

    .tab-panel h2 {
        font-size: 1.05rem;
        color: var(--detail-dark);
        margin: 0 0 8px
    }

.description-points {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
    color: #50817b
}

    .description-points i {
        color: #2cab77;
        margin-left: 5px
    }
#descriptionPanel p {
    margin-bottom:.5rem;
}
.spec-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

    .spec-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0px;
        min-height: 42px;
        padding: 0;
        border: 1px solid #e3efed;
        border-radius: 12px
    }

        .spec-row {
            background: #f7f5f0;
            box-shadow:0 0 5px #eaeaea inset;
        }

    .spec-row span {
        color: #667879;
        min-width: 150px;
        padding: 5px 18px;
        background: #eef7f5;
        align-self: stretch;
        display: flex;
        align-items: center;
        border-radius:0 12px 12px 0;
    }

    .spec-row strong {
        color: #425d5f;
        flex: 1;
        padding: 5px 18px;
        background: #f8fcfc;
        text-align: right;
        border-radius:12px 0 0 12px;
    }

.empty-review {
    text-align: center;
    color: #9ba9aa
}

    .empty-review i {
        font-size: 2rem;
        display: block;
        color: #b6cfcc;
        margin-bottom: 8px
    }

@media(max-width:991px) {
    .product-gallery {
        min-height: 450px;
        border-left: 0;
        border-bottom: 1px solid #edf3f2
    }

    .gallery-main {
        height: 330px
    }

    .product-gallery-main,
    .product-gallery-main .swiper-slide {
        height: 330px
    }

    .product-summary {
        padding: 30px 25px
    }

        .product-summary h1 {
            font-size: 1.6rem
        }
}

@media(max-width:575px) {
    .detail-page {
        padding-top: 15px
    }

    .product-gallery {
        padding: 20px;
        min-height: 410px
    }

    .gallery-main {
        height: 290px
    }

    .product-gallery-main,
    .product-gallery-main .swiper-slide {
        height: 290px
    }

        .gallery-main img {
            max-height: 250px
        }

    .product-summary {
        padding: 25px 18px
    }

        .product-summary h1 {
            font-size: 1.35rem
        }

    .summary-topline {
        align-items: flex-start;
    }

    .sku {
        display: none
    }

    .purchase-row {
        gap: 8px
    }

    .quantity-control {
        min-width: 96px
    }

    .add-to-cart {
        font-size: .75rem
    }

    .feature-strip {
        grid-template-columns: 1fr;
        gap: 12px
    }

        .feature-strip > div {
            font-size: .72rem
        }

    .detail-tabs-card {
        padding: 0 15px
    }

    .detail-tabs {
        gap: 13px;
        overflow: auto
    }

    .detail-tab {
        white-space: nowrap;
        font-size: .72rem
    }

    .spec-grid {
        grid-template-columns: 1fr
    }

    .current-price {
        font-size: 1.6rem
    }
}

.text-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.text-option {
    padding: 6px 16px;
    border: 2px solid #e0e0e0;
}