.product-single-page {
    --product-border: #e9edf2;
    --product-muted: #697386;
    --product-soft: #f7f9fc;
}
.product-hero-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--product-border);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(28, 39, 49, .07);
}

.product-gallery-column {
    padding: clamp(18px, 3vw, 42px);
    border-left: 1px solid var(--product-border);
    background: linear-gradient(145deg, #fff 0%, #fafbfd 100%);
}

.product-gallery-shell {
    position: sticky;
    top: 95px;
}

#gallerySwiper {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

#gallerySwiper .swiper-slide {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
}

#gallerySwiper .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    padding: 8px;
    object-fit: contain;
}

#gallerySwiper .fancybox-item {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.gallery-thumb-list {
    margin-top: 14px;
    padding: 3px;
}

.gallery-thumb-list .swiper-slide {
    width: 68px !important;
}

.gallery-thumb-list img {
    width: 64px !important;
    height: 64px !important;
    margin: 0;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
    opacity: .72;
    transition: border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.gallery-thumb-list .swiper-slide-thumb-active img,
.gallery-thumb-list img.active {
    border-color: var(--colorMain);
    opacity: 1;
    transform: translateY(-2px);
}

.product-details-column {
    padding: clamp(22px, 3.2vw, 48px);
}

.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.product-main-title {
    margin: 0 0 12px;
    color: #202735;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.75;
}

.product-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    margin-top: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.product-stock-badge.is-available {
    color: #138a52;
    background: #eaf8f1;
}

.product-stock-badge.is-unavailable {
    color: #d33b3b;
    background: #fff0f0;
}

.product-meta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--product-border);
}

.product-view-counter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 38px;
    padding: 0 11px;
    color: var(--product-muted);
    border-radius: 8px;
    background: var(--product-soft);
    font-size: 13px;
}

.product-short-description {
    padding: 14px 16px;
    border-right: 3px solid var(--colorMain);
    border-radius: 8px;
    color: #525d6d;
    background: var(--product-soft);
}

.product-short-description > :last-child {
    margin-bottom: 0;
}

.product-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 12px 8px;
    padding: 8px 11px;
    border: 1px solid var(--product-border);
    border-radius: 8px;
    color: #556171;
    background: #fff;
    font-size: 13px;
}

.attributes-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
}

.attributes-list li {
    margin: 0;
    padding: 9px 11px;
    border-radius: 8px;
    background: var(--product-soft);
}

.attributes-list li::before {
    border-radius: 50%;
}

.floated-mobile {
    margin-top: 22px !important;
    padding: 18px;
    border: 1px solid var(--product-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(28, 39, 49, .07);
}

.single-product-price .price {
    color: #202735;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.variations-fields {
    margin-top: 22px !important;
}

.check-container label {
    height: 36px;
    padding: 0 10px 0 30px;
    border-radius: 8px;
    line-height: 34px;
}

.check-container input:checked + label {
    color: var(--colorMain);
    border-color: var(--colorMain);
    background: color-mix(in srgb, var(--colorMain) 7%, white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
}

.product-purchase-actions .btn-add-to-cart {
    min-height: 48px;
    border-radius: 10px;
}
.product-purchase-actions .product-priced-button{display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:10px 16px;max-width:100%;font-family:inherit;box-shadow:0 4px 12px #24916720;white-space:normal}
.product-buy-action{display:flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0}.product-buy-action>i{font-size:22px}.product-buy-action>.icon-plus{font-size:14px}.product-buy-price{display:flex;align-items:center;line-height:1.6}.product-buy-price>span{display:none}.product-buy-price>strong{font-size:17px;font-weight:600}.product-priced-button:disabled{opacity:.65;box-shadow:none}.product-priced-button:focus-visible{outline:3px solid var(--colorMain,#249167);outline-offset:4px}
@media(max-width:575px){.product-purchase-actions .product-priced-button{gap:9px;padding:9px 12px;min-height:48px}.product-buy-price>strong{font-size:16px}.product-unit-options{margin-bottom:14px}}

.product-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.product-trust-row > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    padding: 8px;
    border-radius: 9px;
    color: #5e6979;
    background: var(--product-soft);
    font-size: 12px;
}

.product-trust-row i {
    color: var(--colorMain);
    font-size: 19px;
}

.product-single-page #tabs,
.product-single-page #faqSection {
    border: 1px solid var(--product-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(28, 39, 49, .06);
}

.product-single-page #tabs .nav-tabs {
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--product-border);
    overflow-x: auto;
    flex-wrap: nowrap;
}

.product-single-page #tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 0;
    border-radius: 9px;
    color: var(--product-muted);
    white-space: nowrap;
}

.product-single-page #tabs .nav-link.active {
    color: var(--colorMain);
    background: color-mix(in srgb, var(--colorMain) 9%, white);
}

.product-adjacent-link {
    position: fixed;
    top: 52%;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 42px;
    height: 48px;
    color: #fff;
    border: 0;
    background: var(--colorMain);
    box-shadow: 0 7px 20px rgba(0, 0, 0, .16);
    transform: translateY(-50%);
    transition: width .18s ease, opacity .18s ease;
}

.product-adjacent-link:hover {
    width: 48px;
    color: #fff;
}

.product-adjacent-previous {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.product-adjacent-next {
    left: 0;
    border-radius: 0 8px 8px 0;
}

@media (max-width: 991.98px) {
    .product-gallery-column {
        border-bottom: 1px solid var(--product-border);
        border-left: 0;
    }

    .product-gallery-shell {
        position: static;
    }

    .attributes-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .single-product-page .footer-bg {
        padding-bottom: 120px !important;
    }

    .single-product-page .custom-container {
        width: calc(100% - 20px) !important;
    }

    .product-single-container {
        margin-top: 18px !important;
    }

    .product-hero-card {
        border-radius: 12px;
    }

    .product-gallery-column,
    .product-details-column {
        padding: 16px;
    }

    .product-title-row {
        flex-direction: column;
        gap: 2px;
    }

    .product-meta-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-meta-actions > .d-flex:last-child {
        width: 100%;
        margin-right: 0 !important;
    }

    .floated-mobile {
        position: static;
        width: auto;
        padding: 14px;
        box-shadow: none;
    }

    .product-purchase-actions {
        position: fixed;
        right: 0;
        bottom: 0;
        z-index: 1025;
        width: 100%;
        margin: 0 !important;
        padding: 10px max(10px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -7px 24px rgba(28, 39, 49, .13);
        backdrop-filter: blur(10px);
    }

    .product-external-purchase {
        position: fixed;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 10px;
        z-index: 1025;
        width: calc(100% - 20px);
        margin: 0 !important;
        box-shadow: 0 7px 24px rgba(28, 39, 49, .18);
    }

    .product-purchase-actions .btn-add-to-cart {
        flex: 1 1 auto;
        width: auto;
    }

    .product-trust-row {
        gap: 6px;
    }

    .product-trust-row > div {
        align-items: center;
        flex-direction: column;
        gap: 3px;
        text-align: center;
    }

    .product-adjacent-link {
        top: 45%;
        width: 34px;
        height: 42px;
        opacity: .78;
    }
}


/* Purchase-unit cards: the whole card selects its radio, including the price. */
.product-counting-units{margin:22px 0;min-width:0;width:100%;padding:0;border:0;background:transparent}
.product-unit-heading{float:none;display:flex;align-items:center;gap:8px;width:auto;padding:0;margin:0 0 12px;font-size:15px;font-weight:500;color:#35463d}.product-unit-heading>i{font-size:20px;color:var(--colorMain,#249167)}
.product-unit-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}
.product-counting-units .product-unit-option{position:relative;min-width:0;margin:0}
.product-counting-units .product-unit-option input{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
.product-counting-units .product-unit-option label{box-sizing:border-box;min-width:0;line-height:1.7;display:grid;grid-template-columns:minmax(0,1fr) 18px;gap:12px 10px;align-content:start;width:100%;height:100%;min-height:70px;padding:14px;border:1px solid #e0e6e3;border-radius:12px;background:#fff;text-align:start;margin:0;cursor:pointer;transition:border-color .15s,background-color .15s,box-shadow .15s}
.product-counting-units .product-unit-option label:hover{border-color:var(--colorMain,#249167)}
.product-unit-option-text{grid-column:1;grid-row:1;display:grid;gap:3px;min-width:0;overflow-wrap:anywhere;font-size:15px;font-weight:500;line-height:1.7}.product-unit-option-text small{font-size:13px;font-weight:400;color:#7a847e}
.product-unit-dot{grid-column:2;grid-row:1;align-self:center;width:18px;height:18px;border:1.5px solid #bdc7c1;border-radius:50%;background:white}
.product-counting-units .product-unit-option input:checked+label{border-color:var(--colorMain,#249167);background:color-mix(in srgb,var(--colorMain,#249167) 4%,white);box-shadow:0 0 0 1px var(--colorMain,#249167)}
.product-unit-option input:checked+label .product-unit-dot{border-color:var(--colorMain,#249167);background:var(--colorMain,#249167);box-shadow:inset 0 0 0 4px #fff}.product-counting-units .product-unit-option input:focus-visible+label{outline:3px solid var(--colorMain,#249167);outline-offset:3px}
.product-unit-comparison{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding-top:10px;border-top:1px solid #edf0ee;line-height:1.7;overflow-wrap:anywhere}.product-unit-comparison:empty{display:none}.product-unit-comparison strong{font-size:17px;font-weight:600;color:#263e30}.product-unit-comparison del{font-size:13px;color:#89938d}.product-unit-comparison small{font-size:13px;color:#65746b}.product-unit-comparison>span{margin-top:4px;font-size:13px;color:#24734e;background:#eaf5ee;border-radius:6px;padding:4px 7px}
.product-counting-units .product-unit-note{font-size:13px;line-height:1.9;color:#7a847e;margin:0;padding:0}
@media(max-width:767px){.product-unit-options{grid-template-columns:minmax(0,1fr);gap:10px}.product-counting-units .product-unit-option label{padding:14px;gap:10px 8px}.product-unit-comparison strong{font-size:16px}}
@media(max-width:350px){.product-unit-options{grid-template-columns:1fr}}

/* A calmer, theme-aware product detail page. */
body.single-product-page {
    --product-border: color-mix(in srgb, var(--colorMain, CanvasText) 15%, Canvas);
    --product-muted: color-mix(in srgb, CanvasText 62%, Canvas);
    --product-soft: color-mix(in srgb, var(--colorMain, CanvasText) 4%, Canvas);
}
body.single-product-page .product-single-container { padding-bottom: 28px; }
body.single-product-page .product-hero-card {
    overflow: hidden; border: 1px solid var(--product-border); border-radius: 20px;
    background: Canvas; box-shadow: 0 10px 30px rgb(0 0 0 / 5%);
}
body.single-product-page .product-gallery-column {
    position: relative; display: flex; align-items: flex-start; justify-content: center; min-width: 0;
    padding: clamp(20px, 3vw, 40px); border-inline-end: 1px solid var(--product-border);
    border-left: 0; background: color-mix(in srgb, var(--colorMain, CanvasText) 3%, Canvas);
}
body.single-product-page .product-gallery-shell { width: 100%; max-width: 560px; position: sticky; top: 96px; }
body.single-product-page .product-gallery-back { position:relative; z-index:auto; display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0; padding:clamp(12px, 2vw, 20px) clamp(16px, 3vw, 40px) 0; }
body.single-product-page.site-menu-open .product-gallery-back { visibility:hidden; pointer-events:none; }
body.single-product-page .product-gallery-back .store-page-back { min-height:32px; padding:4px 9px; background:Canvas; box-shadow:0 4px 14px rgb(0 0 0 / 10%); }
body.single-product-page #gallerySwiper { overflow: hidden; border: 1px solid var(--product-border); border-radius: 16px; background: Canvas; }
body.single-product-page #gallerySwiper .swiper-slide { min-height: 320px; aspect-ratio: 1 / 1; }
body.single-product-page #gallerySwiper .swiper-slide img { max-width: 100%; max-height: 100%; padding: clamp(10px, 2vw, 22px); object-fit: contain; }
body.single-product-page .gallery-thumb-list { margin-top: 12px; }
body.single-product-page .gallery-thumb-list .swiper-slide { width: 72px !important; }
body.single-product-page .gallery-thumb-list img { width: 64px !important; height: 64px !important; border-color: transparent; border-radius: 12px; background: Canvas; }
body.single-product-page .gallery-thumb-list .swiper-slide-thumb-active img,
body.single-product-page .gallery-thumb-list img.active { border-color: var(--colorMain, CanvasText); box-shadow: 0 0 0 2px color-mix(in srgb, var(--colorMain, CanvasText) 15%, Canvas); }
body.single-product-page .product-details-column { min-width: 0; padding: clamp(22px, 3vw, 42px); }
body.single-product-page .product-single-content { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
body.single-product-page .product-title-row { display:flex; flex-direction:column; align-items:stretch; gap:8px; }
body.single-product-page .product-main-title { order:1; min-width:0; margin:0; color:CanvasText; font-size:clamp(22px, 2vw, 29px); font-weight:600; line-height:1.65; overflow-wrap:anywhere; text-wrap:pretty; }
body.single-product-page .product-stock-badge { order:0; align-self:flex-start; min-height:30px; margin:0; padding:4px 10px; border:1px solid var(--product-border); border-radius:9px; color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 7%, Canvas); font-size:12px; font-weight:500; white-space:nowrap; }
body.single-product-page .product-stock-badge.is-unavailable { color: CanvasText; background: color-mix(in srgb, CanvasText 6%, Canvas); }
body.single-product-page .product-meta-actions { justify-content: space-between; gap: 12px; margin: 14px 0 18px; padding: 0 0 14px; border-color: var(--product-border); }
body.single-product-page .product-meta-actions > .d-flex { align-items: center; gap: 8px; }
body.single-product-page .product-meta-actions > .d-flex:last-child { margin-top: 0 !important; }
body.single-product-page .product-meta-actions a,
body.single-product-page .product-meta-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; margin: 0 !important; padding: 8px 11px; border: 1px solid var(--product-border); border-radius: 12px !important; color: var(--colorMain, CanvasText); background: Canvas; text-decoration: none; }
body.single-product-page .product-meta-actions a:hover,
body.single-product-page .product-meta-actions .btn:hover { border-color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 6%, Canvas); }
body.single-product-page .product-meta-actions .product-view-counter { min-height: 44px; height: auto; border: 1px solid var(--product-border); border-radius: 12px; color: var(--product-muted); background: var(--product-soft); font-size: 14px; }
body.single-product-page .product-short-description { margin: 0 0 14px !important; padding: 14px 16px; border: 1px solid var(--product-border); border-inline-start: 3px solid var(--colorMain, CanvasText); border-right: 1px solid var(--product-border); border-radius: 12px; color: CanvasText; background: var(--product-soft); font-size: 15px; line-height: 1.9; }
body.single-product-page .product-info-chip { min-height: 42px; margin: 0 0 8px 8px; padding: 8px 12px; border-color: var(--product-border); border-radius: 11px; color: CanvasText; background: Canvas; font-size: 14px; line-height: 1.7; }
body.single-product-page .product-info-chip i { color: var(--colorMain, CanvasText); font-size: 18px; }
body.single-product-page .attributes-list { gap: 8px; padding: 0; }
body.single-product-page .attributes-list li { min-width: 0; padding: 10px 12px; border: 1px solid var(--product-border); border-radius: 11px; color: CanvasText; background: var(--product-soft); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
body.single-product-page .attributes-list li::before { background: var(--colorMain, CanvasText); }
body.single-product-page .floated-mobile { margin-top: 18px !important; padding: 18px; border-color: var(--product-border); border-radius: 16px; background: color-mix(in srgb, var(--colorMain, CanvasText) 3%, Canvas); box-shadow: none; }
body.single-product-page .single-product-price .price { color: CanvasText; font-size: clamp(22px, 2.1vw, 29px); font-weight: 700; }
body.single-product-page .product-counting-units { margin: 18px 0; }
body.single-product-page .product-unit-heading { color: CanvasText; font-size: 16px; font-weight: 600; }
body.single-product-page .product-unit-heading > i { color: var(--colorMain, CanvasText); }
body.single-product-page .product-unit-options { gap: 10px; }
body.single-product-page .product-counting-units .product-unit-option label { min-height: 76px; border-color: var(--product-border); border-radius: 14px; color: CanvasText; background: Canvas; }
body.single-product-page .product-counting-units .product-unit-option label:hover { border-color: var(--colorMain, CanvasText); }
body.single-product-page .product-counting-units .product-unit-option input:checked + label { border-color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 6%, Canvas); box-shadow: 0 0 0 1px var(--colorMain, CanvasText); }
body.single-product-page .product-unit-dot { border-color: color-mix(in srgb, CanvasText 35%, Canvas); background: Canvas; }
body.single-product-page .product-unit-option input:checked + label .product-unit-dot { border-color: var(--colorMain, CanvasText); background: var(--colorMain, CanvasText); }
body.single-product-page .product-unit-comparison strong { color: CanvasText; }
body.single-product-page .product-unit-comparison > span { color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 8%, Canvas); }
body.single-product-page .product-counting-units { padding:clamp(15px, 2.3vw, 24px); border:1px solid var(--product-border); border-radius:20px; background:linear-gradient(145deg, color-mix(in srgb, var(--colorMain, CanvasText) 4%, Canvas), Canvas 68%); }
body.single-product-page .product-unit-heading { margin:0 0 5px; padding:0; }
body.single-product-page .product-unit-intro { margin:0 0 16px; color:var(--product-muted); font-size:14px; line-height:1.9; }
body.single-product-page .product-unit-options { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap:10px; }
body.single-product-page .product-counting-units .product-unit-option { min-width:0; }
body.single-product-page .product-counting-units .product-unit-option label { box-sizing:border-box; display:grid; grid-template-columns:minmax(0, 1fr) 20px; grid-template-areas:"name radio" "price radio"; align-content:center; align-items:center; column-gap:12px; row-gap:7px; min-height:124px; padding:15px 16px; }
body.single-product-page .product-unit-option .product-unit-dot { grid-area:radio; grid-row:1 / span 2; justify-self:center; width:20px; height:20px; }
body.single-product-page .product-unit-option-text { grid-area:name; min-width:0; display:grid; gap:4px; }
body.single-product-page .product-unit-option-text > span { font-size:15px; font-weight:600; line-height:1.6; }
body.single-product-page .product-unit-option-text small { color:var(--product-muted); font-size:13px; line-height:1.7; }
body.single-product-page .product-unit-comparison { grid-area:price; display:flex; min-width:0; flex-wrap:wrap; align-items:baseline; gap:4px 8px; margin:0; padding-top:8px; border-top:1px solid var(--product-border); }
body.single-product-page .product-unit-comparison del { color:var(--product-muted); font-size:12px; }
body.single-product-page .product-unit-comparison strong { color:var(--colorMain, CanvasText); font-size:18px; font-weight:700; line-height:1.5; }
body.single-product-page .product-unit-comparison small { flex-basis:100%; color:var(--product-muted); font-size:13px; line-height:1.7; }
body.single-product-page .product-unit-comparison .product-unit-saving { display:inline-flex; align-items:center; min-height:24px; margin-inline-start:auto; padding:2px 8px; border:1px solid color-mix(in srgb, #16834a 20%, Canvas); border-radius:999px; color:#167747; background:color-mix(in srgb, #16834a 9%, Canvas); font-size:12px; font-weight:600; line-height:1.5; white-space:nowrap; }
body.single-product-page .product-counting-units .product-unit-option input:checked + label { box-shadow:0 0 0 1px var(--colorMain, CanvasText), 0 8px 20px color-mix(in srgb, var(--colorMain, CanvasText) 10%, transparent); }
body.single-product-page .product-unit-note { margin:12px 0 0; color:var(--product-muted); font-size:13px; line-height:1.85; }
body.single-product-page .product-purchase-actions { gap: 12px; }
body.single-product-page .product-purchase-actions.shows-selected-price { flex-direction:column; align-items:stretch !important; gap:10px; }
body.single-product-page .product-purchase-controls { display:flex; align-items:center; justify-content:flex-start; gap:12px; width:100%; }
body.single-product-page .product-purchase-actions .product-priced-button,
body.single-product-page .product-external-purchase { min-height: 56px; border: 1px solid var(--colorMain, CanvasText); border-radius: 14px; color: var(--colorMainContrast, Canvas); background: var(--colorMain, CanvasText); box-shadow: 0 6px 18px color-mix(in srgb, var(--colorMain, CanvasText) 22%, transparent); font-size: 15px; font-weight: 600; }
body.single-product-page .product-purchase-actions.uses-summary-price .product-priced-button .product-buy-price { display: none !important; }
body.single-product-page .product-selected-price-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; margin-top:14px; padding:12px 16px; border:1px solid var(--product-border); border-radius:13px; background:var(--product-soft); direction:ltr; }
body.single-product-page .product-selected-price-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:var(--product-muted); font-size:13px; direction:rtl; }
body.single-product-page .product-selected-price-amount { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px 9px; color:var(--product-muted); font-size:12px; direction:rtl; }
body.single-product-page .product-selected-price-amount > del[data-counting-price-regular] { color:var(--product-muted); font-size:14px; font-weight:400; text-decoration-thickness:1.5px; text-decoration-color:color-mix(in srgb,var(--product-muted) 75%,transparent); white-space:nowrap; }
body.single-product-page .product-selected-price-amount > del[hidden] { display:none !important; }
body.single-product-page .product-selected-price-amount > del bdi { direction:ltr; }
body.single-product-page .product-selected-price-amount > del span { font-size:.85em; }
body.single-product-page .product-selected-price-amount strong { color:var(--colorMain, CanvasText); font-size:19px; font-weight:700; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
body.single-product-page .product-purchase-actions.shows-selected-price .product-priced-button .product-buy-price { display:none !important; }
body.single-product-page .product-buy-discount:not([hidden]) { display:inline-flex; align-items:center; justify-content:center; min-height:28px; padding:3px 9px; border:1px solid color-mix(in srgb, var(--colorMain, CanvasText) 28%, Canvas); border-radius:999px; color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 9%, Canvas); font-size:13px !important; font-weight:600; white-space:nowrap; direction:rtl; }
body.single-product-page .product-buy-discount[hidden] { display: none !important; }
body.single-product-page .product-selected-price-summary { min-height:60px; }
body.single-product-page .product-selected-price-meta [data-counting-price-label] { color:var(--product-muted); font-size:14px; font-weight:500; }
body.single-product-page .product-selected-price-amount strong { max-width:100%; }
body.single-product-page .product-selected-price-amount strong { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 5px; overflow-wrap:anywhere; }
body.single-product-page .product-selected-price-amount strong bdi { direction:ltr; white-space:nowrap; }
body.single-product-page .product-selected-price-amount strong > span { color:var(--product-muted); font-size:.72em; font-weight:500; white-space:nowrap; }
body.single-product-page .variation-price-container.is-price-in-purchase-button { display: none !important; }
body.single-product-page .product-purchase-actions .product-priced-button:hover,
body.single-product-page .product-external-purchase:hover { filter: brightness(.96); }
body.single-product-page .product-buy-action { font-size: 15px; }
body.single-product-page .product-buy-price > strong { font-size: 16px; font-weight: 700; }
body.single-product-page .product-purchase-actions .quantity-box { display: inline-flex; align-items: center; min-height: 48px; margin-inline-start: 0 !important; overflow: hidden; border: 1px solid var(--product-border); border-radius: 13px; background: Canvas; }
body.single-product-page .product-purchase-actions .quantity-box { box-sizing: border-box; width: 140px; min-width: 140px; padding: 3px; justify-content: space-between; flex: 0 0 auto; }
body.single-product-page .product-purchase-actions .quantity-box .increase,
body.single-product-page .product-purchase-actions .quantity-box .decrease { display: grid; place-items: center; flex: 0 0 40px; width: 40px; min-width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 9px; color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 8%, Canvas); box-shadow: none; line-height: 1; }
body.single-product-page .product-purchase-actions .quantity-box .increase:hover,
body.single-product-page .product-purchase-actions .quantity-box .decrease:hover { background: color-mix(in srgb, var(--colorMain, CanvasText) 14%, Canvas); }
body.single-product-page .product-purchase-actions .quantity-box .increase:active,
body.single-product-page .product-purchase-actions .quantity-box .decrease:active { transform: scale(.94); }
body.single-product-page .product-purchase-actions .quantity-box input { box-sizing: border-box; flex: 1 1 0; width: 42px; min-width: 0; height: 40px; margin: 0; padding: 0; border: 0; color: CanvasText; background: transparent; font-size: 16px; font-weight: 600; text-align: center; }
@media (min-width: 768px) {
    body.single-product-page .product-purchase-actions.is-desktop-fixed { position:fixed; right:50%; bottom:16px; z-index:1035; display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:16px; width:min(1000px, calc(100vw - 40px)); margin:0 !important; padding:10px 14px; transform:translateX(50%); border:2px solid var(--colorMain, CanvasText); border-radius:16px; background:color-mix(in srgb, Canvas 96%, transparent); box-shadow:0 0 0 4px color-mix(in srgb, var(--colorMain, CanvasText) 13%, transparent), 0 12px 34px rgb(0 0 0 / 16%); backdrop-filter:blur(14px); animation:product-purchase-attention .28s ease-out both; }
    body.single-product-page .product-purchase-actions.is-desktop-fixed.shows-selected-price { flex-direction:row; align-items:center !important; gap:16px; }
    body.single-product-page .product-purchase-actions.is-desktop-fixed .product-selected-price-summary { flex:1 1 auto; width:auto; min-width:0; margin:0; padding:4px 8px; border:0; background:transparent; }
    body.single-product-page .product-purchase-actions.is-desktop-fixed .product-selected-price-amount strong { font-size:22px; line-height:1.35; }
    body.single-product-page .product-purchase-actions.is-desktop-fixed .product-purchase-controls { flex:0 0 auto; width:auto; }
    body.single-product-page .product-purchase-actions.is-desktop-fixed .product-priced-button { min-width:190px; }
}
@keyframes product-purchase-attention { from { opacity:.7; transform:translate(50%, 9px); } to { opacity:1; transform:translate(50%, 0); } }
@media (prefers-reduced-motion: reduce) { body.single-product-page .product-purchase-actions.is-desktop-fixed { animation:none; } }
body.single-product-page .product-trust-row { gap: 8px; margin-top: 16px; }
body.single-product-page .product-trust-row > div { min-height: 52px; border: 1px solid var(--product-border); border-radius: 12px; color: CanvasText; background: var(--product-soft); font-size: 13px; }
body.single-product-page .product-trust-row i { color: var(--colorMain, CanvasText); }
body.single-product-page .product-adjacent-link { color: var(--colorMainContrast, Canvas); background: var(--colorMain, CanvasText); }
body.single-product-page #tabs,
body.single-product-page #faqSection { margin-top: 22px; border: 1px solid var(--product-border); border-radius: 18px; background: Canvas; box-shadow: 0 8px 26px rgb(0 0 0 / 4%); }
body.single-product-page #tabs .nav-tabs { padding: 8px; border-color: var(--product-border); }
body.single-product-page #tabs .nav-link { min-height: 44px; border-radius: 11px; color: var(--product-muted); font-size: 15px; }
body.single-product-page #tabs .nav-link.active { color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 8%, Canvas); }
body.single-product-page #tabs { padding:0 clamp(18px, 3vw, 38px) 30px; overflow:hidden; }
body.single-product-page #tabs .product-tabs-heading { display:flex; align-items:center; gap:12px; margin:0 -1px 0; padding:22px 0 19px; border-bottom:1px solid var(--product-border); }
body.single-product-page #tabs .product-tabs-heading-icon { display:grid; flex:0 0 42px; width:42px; height:42px; place-items:center; border:0; border-radius:13px; color:var(--colorMainContrast, Canvas); background:var(--colorMain, CanvasText); box-shadow:0 5px 14px color-mix(in srgb, var(--colorMain, CanvasText) 20%, transparent); font-size:19px; }
body.single-product-page #tabs .product-tabs-heading h2 { margin:0; color:CanvasText; font-size:20px; font-weight:600; line-height:1.5; }
body.single-product-page #tabs .product-tabs-heading-rule { display:none; }
body.single-product-page #tabs nav { min-width:0; margin:0 -4px; }
body.single-product-page #tabs .nav-tabs { display:flex; flex-wrap:wrap; gap:8px; width:100%; margin:0; padding:16px 0 14px; overflow-x:auto; overflow-y:hidden; border:0; border-bottom:1px solid var(--product-border); border-radius:0; background:transparent; scrollbar-width:none; scroll-snap-type:x proximity; }
body.single-product-page #tabs .nav-tabs::-webkit-scrollbar { display:none; }
body.single-product-page #tabs .nav-link { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; gap:9px; min-width:140px; min-height:50px; padding:10px 17px; border:1px solid var(--product-border); border-radius:12px; color:var(--product-muted); background:Canvas; font-size:15px; line-height:1.5; white-space:nowrap; scroll-snap-align:start; transition:color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
body.single-product-page #tabs .nav-link > i { color:currentColor; font-size:18px; line-height:1; }
body.single-product-page #tabs .nav-link:hover { border-color:color-mix(in srgb, var(--colorMain, CanvasText) 35%, var(--product-border)); color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 5%, Canvas); transform:translateY(-1px); }
body.single-product-page #tabs .nav-link.active { border-color:color-mix(in srgb, var(--colorMain, CanvasText) 24%, var(--product-border)); color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 8%, Canvas); box-shadow:none; font-weight:600; }
body.single-product-page #tabs .nav-tabs .nav-link.active { color:var(--colorMain, CanvasText) !important; background-color:color-mix(in srgb, var(--colorMain, CanvasText) 8%, Canvas) !important; box-shadow:none !important; }
body.single-product-page #tabs .nav-link.active > i { color:inherit; }
body.single-product-page #tabs .tab-content { padding:clamp(24px, 4vw, 42px) 4px 8px; }
body.single-product-page #tabs .tab-pane:focus-visible { outline:2px solid var(--colorMain, CanvasText); outline-offset:4px; border-radius:8px; }
body.single-product-page #tabs #nav-intro.rich-content { max-width:100%; margin:0; color:color-mix(in srgb, CanvasText 88%, Canvas); font-size:16px; line-height:2; overflow-wrap:anywhere; }
body.single-product-page #tabs #nav-intro.rich-content h1,
body.single-product-page #tabs #nav-intro.rich-content h2,
body.single-product-page #tabs #nav-intro.rich-content h3,
body.single-product-page #tabs #nav-intro.rich-content h4,
body.single-product-page #tabs #nav-intro.rich-content h5,
body.single-product-page #tabs #nav-intro.rich-content h6 { color:CanvasText; font-weight:600; line-height:1.75; }
body.single-product-page #tabs #nav-intro.rich-content h2 { padding-bottom:8px; border-bottom:1px solid var(--product-border); }
body.single-product-page #tabs #nav-intro.rich-content a:not(.btn) { color:var(--colorMain, CanvasText); text-underline-offset:3px; }
body.single-product-page #tabs #nav-intro.rich-content img,
body.single-product-page #tabs #nav-intro.rich-content video,
body.single-product-page #tabs #nav-intro.rich-content iframe { max-width:100%; border-radius:12px; }
body.single-product-page #tabs #nav-intro.rich-content table { display:block; width:100%; max-width:100%; overflow-x:auto; border:1px solid var(--product-border); border-radius:12px; -webkit-overflow-scrolling:touch; }
body.single-product-page #tabs #nav-intro.rich-content table th { color:CanvasText; background:color-mix(in srgb, var(--colorMain, CanvasText) 7%, Canvas); }
body.single-product-page #tabs #nav-intro.rich-content table th,
body.single-product-page #tabs #nav-intro.rich-content table td { min-width:112px; padding:10px 13px; border-color:var(--product-border); }
body.single-product-page #tabs #nav-attributes { padding-top:8px; }
body.single-product-page #tabs .product-specs-intro { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 18px; }
body.single-product-page #tabs .product-specs-intro h3 { margin:2px 0 3px; color:CanvasText; font-size:18px; font-weight:600; line-height:1.6; }
body.single-product-page #tabs .product-specs-intro p { margin:0; color:var(--product-muted); font-size:14px; line-height:1.8; }
body.single-product-page #tabs .product-specs-kicker { color:var(--colorMain, CanvasText); font-size:12px; font-weight:600; }
body.single-product-page #tabs .product-specs-count { flex:0 0 auto; padding:7px 12px; border:1px solid var(--product-border); border-radius:999px; color:var(--product-muted); background:Canvas; font-size:13px; }
body.single-product-page #tabs .product-spec-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0; padding:0; }
body.single-product-page #tabs .product-spec-card { min-width:0; min-height:96px; margin:0; padding:15px 16px; border:1px solid var(--product-border); border-radius:13px; background:Canvas; transition:border-color .18s ease, background-color .18s ease, transform .18s ease; }
body.single-product-page #tabs .product-spec-card:hover { border-color:color-mix(in srgb, var(--colorMain, CanvasText) 34%, var(--product-border)); background:color-mix(in srgb, var(--colorMain, CanvasText) 3%, Canvas); transform:translateY(-1px); }
body.single-product-page #tabs .product-spec-card dt { margin:0 0 8px; color:var(--product-muted); font-size:13px; font-weight:500; line-height:1.6; }
body.single-product-page #tabs .product-spec-card dd { margin:0; color:CanvasText; font-size:15px; font-weight:500; line-height:1.8; white-space:pre-line; overflow-wrap:anywhere; }
body.single-product-page #tabs #nav-reviews .comments-sidebar,
body.single-product-page #tabs #nav-reviews .comments-container { padding:18px; border:1px solid var(--product-border); border-radius:14px; background:Canvas; }
body.single-product-page #tabs #nav-reviews .comments-sidebar { position:sticky; top:100px; background:color-mix(in srgb, var(--colorMain, CanvasText) 4%, Canvas); }
body.single-product-page #tabs #nav-reviews .btn,
body.single-product-page #tabs #nav-questions .btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:9px 16px; border-color:var(--colorMain, CanvasText); border-radius:10px; color:var(--colorMain, CanvasText); font-size:14px; }
body.single-product-page #tabs #nav-questions > .d-flex { flex-wrap:wrap; gap:10px; }
body.single-product-page #tabs #nav-questions > .d-flex > .btn,
body.single-product-page #tabs #nav-questions > .d-flex > a { margin:0 !important; }
body.single-product-page #tabs .alert { border-color:var(--product-border); border-radius:12px; font-size:14px; line-height:1.8; }
body.single-product-page #tabs :is(button, a):focus-visible { outline:3px solid color-mix(in srgb, var(--colorMain, CanvasText) 55%, Canvas); outline-offset:3px; }
body.single-product-page #faqSection .accordion-item { border-color: var(--product-border); }
body.single-product-page #faqSection .accordion-button:not(.collapsed) { color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 6%, Canvas); box-shadow: none; }
body.single-product-page :focus-visible { outline-color: var(--colorMain, CanvasText); outline-offset: 3px; }
@media (max-width: 991.98px) {
    body.single-product-page .product-gallery-column { border-inline-end: 0; border-bottom: 1px solid var(--product-border); }
    body.single-product-page .product-gallery-shell { position: static; max-width: 620px; }
    body.single-product-page #gallerySwiper .swiper-slide { min-height: 0; }
    body.single-product-page .product-details-column { padding: clamp(18px, 4vw, 32px); }
}
@media (max-width: 767.98px) {
    body.single-product-page .product-single-container { margin-top: 12px !important; }
    body.single-product-page .custom-container { width: calc(100% - 20px) !important; }
    body.single-product-page .product-hero-card { border-radius: 16px; }
    body.single-product-page .product-gallery-column { padding:12px; }
    body.single-product-page .product-gallery-back { padding:12px 12px 0; }
    body.single-product-page .product-details-column { padding: 18px 16px; }
    body.single-product-page .product-title-row { gap:6px; }
    body.single-product-page .product-main-title { font-size:19px; line-height:1.65; letter-spacing:-.15px; }
    body.single-product-page .product-stock-badge { min-height:30px; padding-inline:9px; }
    body.single-product-page .product-meta-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; margin: 12px 0 16px; }
    body.single-product-page .product-meta-actions > .d-flex:first-child { width: 100%; }
    body.single-product-page .product-meta-actions > .d-flex:last-child { width: auto; }
    body.single-product-page .product-short-description { padding: 12px 14px; font-size: 15px; }
    body.single-product-page .floated-mobile { width: auto; margin: 16px -4px 0 !important; padding: 14px; border-radius: 14px; }
    body.single-product-page .product-purchase-actions { position:fixed; right:0; bottom:0; left:0; z-index:1035; display:flex; flex-direction:column; align-items:stretch; gap:8px; width:100%; margin:0 !important; padding:8px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border-top:1px solid var(--product-border); background:color-mix(in srgb, Canvas 94%, transparent); box-shadow:0 -8px 26px rgb(0 0 0 / 10%); backdrop-filter:blur(14px); }
    body.single-product-page .product-purchase-actions.shows-selected-price { gap:8px; }
    body.single-product-page .product-purchase-controls { flex-direction:row; align-items:center; justify-content:space-between; gap:10px; width:100%; }
    body.single-product-page .product-purchase-actions .product-priced-button { flex: 1 1 auto; width: auto; min-width: 0; min-height: 58px; gap: 5px; padding: 7px 10px; border-radius: 14px; }
    body.single-product-page .product-purchase-actions .product-buy-action { gap: 7px; font-size: 15px; }
    body.single-product-page .product-purchase-actions .product-buy-action > i { font-size: 20px; }
    body.single-product-page .product-purchase-actions.shows-selected-price .product-priced-button { min-height: 66px; }
    body.single-product-page .product-selected-price-summary { position:static; display:flex; justify-content:space-between; gap:8px; width:100%; margin:0; padding:6px 10px; border:0; border-radius:10px; background:color-mix(in srgb, var(--colorMain, CanvasText) 5%, Canvas); box-shadow:none; direction:ltr; }
    body.single-product-page .product-selected-price-meta { justify-content:flex-start; gap:7px; min-width:0; direction:rtl; font-size:12px; }
    body.single-product-page .product-selected-price-meta > span:first-child { max-width:45vw; overflow-wrap:anywhere; }
    body.single-product-page .product-selected-price-amount { flex-direction:row; align-items:baseline; justify-content:flex-end; flex-wrap:wrap; gap:2px 8px; min-width:0; direction:rtl; text-align:right; }
    body.single-product-page .product-selected-price-amount strong { max-width:58vw; overflow-wrap:anywhere; font-size:18px; line-height:1.4; }
    body.single-product-page .product-purchase-actions.shows-selected-price .product-priced-button { flex-direction:row; align-items:center; justify-content:center; gap:8px; min-height:58px; padding-block:7px; }
    body.single-product-page .product-purchase-actions.shows-selected-price .product-buy-action { gap:7px; font-size:14px; line-height:1.4; }
    body.single-product-page:has(.product-selected-price-summary) { --mobile-nav-action-offset:calc(176px + env(safe-area-inset-bottom)) !important; }
    body.single-product-page:has(.product-selected-price-summary) .mobile-bottom-nav { bottom:var(--mobile-nav-action-offset) !important; }
    body.single-product-page .product-purchase-actions .quantity-box { width: 132px; min-width: 132px; min-height: 48px; border-radius: 12px; }
    body.single-product-page .product-purchase-actions .quantity-box .increase,
    body.single-product-page .product-purchase-actions .quantity-box .decrease { flex-basis: 38px; width: 38px; min-width: 38px; height: 40px; }
    body.single-product-page .product-purchase-actions .quantity-box input { width: 40px; min-width: 0; height: 40px; }
    body.single-product-page .product-external-purchase { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; z-index: 1035; width: calc(100% - 24px); min-height: 58px; margin: 0 !important; }
    body.single-product-page .product-trust-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
    body.single-product-page .product-trust-row > div { min-height: 62px; padding: 7px 4px; font-size: 12px; line-height: 1.6; }
    body.single-product-page .product-trust-row i { font-size: 19px; }
    body.single-product-page .product-adjacent-link { top: 210px; width: 34px; height: 40px; opacity: .88; }
    body.single-product-page #tabs,
    body.single-product-page #faqSection { margin-top: 16px; border-radius: 15px; }
    body.single-product-page #tabs { padding:0 16px 20px; }
    body.single-product-page #tabs .product-tabs-heading { gap:10px; padding:16px 0 14px; }
    body.single-product-page #tabs .product-tabs-heading-icon { flex-basis:38px; width:38px; height:38px; border-radius:11px; font-size:18px; }
    body.single-product-page #tabs .product-tabs-heading h2 { font-size:18px; }
    body.single-product-page #tabs .nav-tabs { flex-wrap:nowrap; gap:7px; margin:0 -2px; padding:12px 2px; }
    body.single-product-page #tabs .nav-link { min-width:130px; min-height:48px; padding:9px 13px; }
    body.single-product-page #tabs .tab-content { padding:22px 2px 2px; }
    body.single-product-page #tabs #nav-intro.rich-content { font-size:15px; line-height:2; }
    body.single-product-page #tabs .product-spec-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    body.single-product-page #tabs .product-spec-card { min-height:88px; padding:13px; }
    body.single-product-page #tabs #nav-reviews .comments-sidebar { position:static; }
    body.single-product-page #tabs #nav-reviews .comments-sidebar,
    body.single-product-page #tabs #nav-reviews .comments-container { padding:13px; }
    body.single-product-page #tabs #nav-questions > .d-flex > .btn,
    body.single-product-page #tabs #nav-questions > .d-flex > a { flex:1 1 100%; }
}
@media (max-width: 479.98px) {
    body.single-product-page #tabs .product-specs-intro { align-items:flex-start; }
    body.single-product-page #tabs .product-specs-count { margin-top:4px; }
    body.single-product-page #tabs .product-spec-grid { grid-template-columns:minmax(0,1fr); gap:8px; }
    body.single-product-page #tabs .product-spec-card { min-height:0; padding:12px 14px; }
}
@media (max-width: 380px) {
    body.single-product-page .product-title-row { gap:6px; }
    body.single-product-page .product-main-title { font-size:18px; line-height:1.6; }
    body.single-product-page .product-purchase-actions { gap: 7px; padding-inline: 8px; }
    body.single-product-page .product-purchase-actions .product-priced-button { min-height: 56px; padding-inline: 7px; }
    body.single-product-page .product-purchase-actions.shows-selected-price .product-buy-action { gap:5px; font-size:12px; }
    body.single-product-page .product-purchase-actions.shows-selected-price .product-buy-action > i { font-size:17px; }
    body.single-product-page .product-purchase-actions .quantity-box { width: 118px; min-width: 118px; }
    body.single-product-page .product-purchase-actions .quantity-box .increase,
    body.single-product-page .product-purchase-actions .quantity-box .decrease { flex-basis: 34px; width: 34px; min-width: 34px; }
    body.single-product-page .product-purchase-actions .quantity-box input { min-width: 0; }
    body.single-product-page .product-adjacent-link { display: none; }
}

/* Final storefront polish: consistent, theme-driven controls and clear content rhythm. */
body.single-product-page .product-hero-card { border-radius:20px; }
body.single-product-page .product-gallery-column { background:color-mix(in srgb, var(--colorMain, CanvasText) 2.5%, Canvas); }
body.single-product-page #gallerySwiper .swiper-slide img { display:block; }
body.single-product-page #gallerySwiper .custom-swiper-button-prev,
body.single-product-page #gallerySwiper .custom-swiper-button-next { width:42px; height:46px; border:1px solid var(--product-border); border-radius:12px; color:var(--colorMain, CanvasText); background:color-mix(in srgb, Canvas 94%, transparent); box-shadow:0 5px 15px rgb(0 0 0 / 9%); }
body.single-product-page #gallerySwiper .custom-swiper-button-prev:hover,
body.single-product-page #gallerySwiper .custom-swiper-button-next:hover { border-color:var(--colorMain, CanvasText); background:Canvas; }
body.single-product-page .gallery-thumb-list { padding:4px 2px 8px; }
body.single-product-page .gallery-thumb-list .swiper-slide { width:76px !important; }
body.single-product-page .gallery-thumb-list img { display:block; object-fit:contain; border:1px solid var(--product-border); opacity:.82; }
body.single-product-page .gallery-thumb-list .swiper-slide-thumb-active img,
body.single-product-page .gallery-thumb-list img.active { border:2px solid var(--colorMain, CanvasText); opacity:1; }
body.single-product-page .product-stock-badge { display:inline-flex; align-items:center; gap:7px; min-height:34px; padding:5px 11px; border-radius:999px; font-size:13px; }
body.single-product-page .product-stock-badge.is-available { color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 8%, Canvas); }
body.single-product-page .product-stock-badge.is-unavailable { color:var(--product-muted); background:color-mix(in srgb, CanvasText 6%, Canvas); }
body.single-product-page .product-stock-badge i { font-size:16px; }
body.single-product-page .product-main-title { font-size:clamp(22px, 1.8vw, 27px); line-height:1.7; }
body.single-product-page .product-english-title { margin-top:5px; color:var(--product-muted); }
body.single-product-page .product-english-title .title { margin:0; font-size:15px; font-weight:500; line-height:1.7; }
body.single-product-page .product-meta-actions { align-items:flex-start; }
body.single-product-page .product-meta-actions > .d-flex:first-child { flex-wrap:wrap; }
body.single-product-page .product-meta-actions > .d-flex:first-child > a { min-height:38px; padding:6px 10px; font-size:13px; }
body.single-product-page .product-meta-actions > .d-flex:first-child > a:first-child .icon-star { color:color-mix(in srgb, var(--colorMain, CanvasText) 70%, #b67a00); }
body.single-product-page .product-meta-actions > .d-flex:last-child { flex-wrap:wrap; }
body.single-product-page .product-meta-actions .btn-compare,
body.single-product-page .product-meta-actions > .d-flex:last-child > a,
body.single-product-page .product-meta-actions > .d-flex:last-child > span:not(.product-view-counter) { cursor:pointer; }
body.single-product-page .product-meta-actions > .d-flex:last-child > span.btn { display:inline-flex; align-items:center; justify-content:center; }
body.single-product-page .product-short-description { border-inline-start:3px solid var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 4%, Canvas); }
body.single-product-page .product-info-chip { display:inline-flex; max-width:100%; align-items:center; gap:7px; overflow-wrap:anywhere; }
body.single-product-page .product-info-chip i { flex:0 0 auto; }
body.single-product-page .attributes-list li { display:flex; align-items:baseline; gap:5px; }
body.single-product-page .attributes-list li::before { flex:0 0 6px; }
body.single-product-page .attributes-list li > span { min-width:0; overflow-wrap:anywhere; }
body.single-product-page .product-counting-units { margin:20px 0; }
body.single-product-page .product-unit-heading { color:CanvasText; }
body.single-product-page .product-counting-units .product-unit-option label { border-color:var(--product-border); background:Canvas; }
body.single-product-page .product-unit-option-text small,
body.single-product-page .product-counting-units .product-unit-note,
body.single-product-page .product-unit-comparison small { color:var(--product-muted); }
body.single-product-page .product-unit-comparison { border-color:var(--product-border); }
body.single-product-page .product-unit-comparison strong { color:var(--colorMain, CanvasText); }
body.single-product-page .product-unit-comparison > span { color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 8%, Canvas); }
body.single-product-page .product-purchase-actions .product-priced-button { box-shadow:0 5px 16px color-mix(in srgb, var(--colorMain, CanvasText) 22%, transparent); white-space:nowrap; }
body.single-product-page .product-purchase-actions .product-priced-button:focus-visible,
body.single-product-page .product-purchase-actions .quantity-box :focus-visible { outline:3px solid color-mix(in srgb, var(--colorMain, CanvasText) 55%, Canvas); outline-offset:3px; }
body.single-product-page .product-purchase-actions .quantity-box .increase,
body.single-product-page .product-purchase-actions .quantity-box .decrease { min-height:40px; }
body.single-product-page .product-trust-row { grid-template-columns:repeat(3, minmax(0, 1fr)); }
body.single-product-page .product-trust-row > div { min-width:0; min-height:54px; border-color:var(--product-border); color:CanvasText; background:var(--product-soft); font-size:13px; }
body.single-product-page .product-section-heading { margin:0 0 18px; color:CanvasText; font-size:20px; font-weight:600; line-height:1.6; }
body.single-product-page #faqSection { padding:clamp(18px, 2.5vw, 28px); }
body.single-product-page #faqSection .product-section-heading { display:flex; align-items:center; gap:11px; }
body.single-product-page #faqSection .product-section-heading::before { content:""; width:4px; height:25px; border-radius:4px; background:var(--colorMain, CanvasText); }
body.single-product-page #faqSection .accordion { overflow:hidden; border:1px solid var(--product-border); border-radius:13px; }
body.single-product-page #faqSection .accordion-item { border:0; border-bottom:1px solid var(--product-border); }
body.single-product-page #faqSection .accordion-item:last-child { border-bottom:0; }
body.single-product-page #faqSection .accordion-button { min-height:58px; padding:14px 17px; color:CanvasText; background:Canvas; font-size:15px; font-weight:500; line-height:1.8; box-shadow:none; }
body.single-product-page #faqSection .accordion-button::after { margin-inline-start:0; margin-inline-end:auto; }
body.single-product-page #faqSection .accordion-button:not(.collapsed) { color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 5%, Canvas); }
body.single-product-page #faqSection .accordion-body { padding:14px 18px 18px; color:var(--product-muted); font-size:15px; line-height:2; }
body.single-product-page #faqSection.product-faq { padding:clamp(20px, 3vw, 32px); }
body.single-product-page .product-faq__header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
body.single-product-page .product-faq__heading-group { display:flex; align-items:center; gap:13px; min-width:0; }
body.single-product-page .product-faq__icon { display:grid; flex:0 0 48px; width:48px; height:48px; place-items:center; border-radius:14px; color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 9%, Canvas); font-size:23px; }
body.single-product-page .product-faq__header .product-section-heading { margin:0; }
body.single-product-page .product-faq__header p { margin:3px 0 0; color:var(--product-muted); font-size:14px; line-height:1.8; }
body.single-product-page .product-faq__count { flex:0 0 auto; padding:7px 11px; border:1px solid var(--product-border); border-radius:999px; color:var(--product-muted); background:var(--product-soft); font-size:13px; line-height:1.5; }
body.single-product-page .product-faq__accordion { display:grid; gap:9px; overflow:visible; border:0; border-radius:0; }
body.single-product-page #faqSection .product-faq__item { overflow:hidden; border:1px solid var(--product-border); border-radius:12px; background:Canvas; transition:border-color .18s ease, box-shadow .18s ease; }
body.single-product-page #faqSection .product-faq__item:has(.accordion-button:not(.collapsed)) { border-color:color-mix(in srgb, var(--colorMain, CanvasText) 34%, var(--product-border)); box-shadow:0 5px 18px color-mix(in srgb, var(--colorMain, CanvasText) 7%, transparent); }
body.single-product-page #faqSection .product-faq__item .accordion-button { gap:11px; border-radius:0; }
body.single-product-page .product-faq__question-number { display:grid; flex:0 0 27px; width:27px; height:27px; place-items:center; border-radius:8px; color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 8%, Canvas); font-size:12px; font-weight:500; }
body.single-product-page #faqSection .product-faq__item .accordion-body { padding:2px 17px 17px; }
body.single-product-page #faqSection .product-faq__item .accordion-body p { margin:0; padding:12px 0 0; border-top:1px solid var(--product-border); color:var(--product-muted); font-size:15px; line-height:2; white-space:pre-line; }
body.single-product-page #tabs #nav-reviews .comments-sidebar,
body.single-product-page #tabs #nav-reviews .comments-container { border-color:var(--product-border); border-radius:14px; }
body.single-product-page #tabs #nav-reviews .comments-container > .d-flex { gap:10px; margin-bottom:12px !important; padding:16px; border-color:var(--product-border) !important; border-radius:13px; background:Canvas; }
body.single-product-page #tabs #nav-reviews .comments-container > .d-flex:last-child { margin-bottom:0 !important; }
body.single-product-page #tabs #nav-reviews .comments-container > .d-flex > div:first-child { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 4px !important; }
body.single-product-page #tabs #nav-reviews .comments-container > .d-flex > p { width:100%; margin:0; color:CanvasText; font-size:15px; line-height:1.9; overflow-wrap:anywhere; }
body.single-product-page #tabs #nav-reviews .comments-container > .d-flex .badge.bg-success { color:var(--colorMainContrast, Canvas); background:var(--colorMain, CanvasText) !important; }
body.single-product-page #tabs #nav-reviews .comments-container > p { display:flex; align-items:center; gap:10px; margin:0; padding:18px; border:1px dashed var(--product-border); border-radius:12px; color:var(--product-muted); line-height:1.8; }
body.single-product-page #tabs #nav-reviews .comments-sidebar .font-30 { color:var(--colorMain, CanvasText); font-size:25px; font-weight:600; }
body.single-product-page #tabs #nav-reviews .btn,
body.single-product-page #tabs #nav-questions .btn { min-height:48px; color:var(--colorMain, CanvasText); background:Canvas; }
body.single-product-page #tabs #nav-questions > .d-flex { align-items:center; justify-content:space-between; padding-bottom:14px; border-bottom:1px solid var(--product-border); }
body.single-product-page #tabs #nav-questions > .d-flex > div { display:flex; align-items:center; gap:7px; color:CanvasText; font-size:18px; }
body.single-product-page #tabs #nav-questions > .d-flex > div > span:last-child { color:var(--colorMain, CanvasText) !important; }
body.single-product-page #tabs #nav-questions > .alert { display:flex; align-items:center; gap:10px; margin-top:16px !important; padding:16px; border:1px solid var(--product-border); border-inline-start:3px solid var(--colorMain, CanvasText); border-radius:12px; color:var(--product-muted); background:var(--product-soft); }
body.single-product-page #tabs #nav-questions > .alert i { flex:0 0 auto; color:var(--colorMain, CanvasText); }
body.single-product-page #tabs #nav-questions .question-item { margin-top:18px !important; padding:16px; border:1px solid var(--product-border); border-radius:13px; background:Canvas; }
body.single-product-page #tabs #nav-questions .question-item .question-item { margin-top:14px !important; background:var(--product-soft); }
body.single-product-page #tabs #nav-questions .question-item-footer { display:flex; margin-top:12px; }
/* Similar-product cards use the same grid-card layout as /products, inside a carousel. */
body.single-product-page .similar-products-swiper .swiper-wrapper { align-items:stretch; }
body.single-product-page .similar-products-swiper .swiper-slide { display:flex; align-items:stretch; height:auto; }
body.single-product-page .similar-products-swiper .similar-product-card {
    display:flex; flex:1 1 auto; flex-direction:column; width:100%; height:100%; min-width:0;
    min-height:0; padding:12px; border:1px solid var(--product-border);
    border-radius:16px; background:Canvas; box-shadow:0 3px 14px rgb(0 0 0 / 4%);
}
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-image {
    flex:0 0 auto; aspect-ratio:1; overflow:hidden; border-radius:12px;
    background:color-mix(in srgb, var(--colorMain, CanvasText) 3%, Canvas);
}
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-image > a {
    display:grid; width:100%; height:100%; place-items:center; overflow:hidden; border-radius:inherit;
}
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-image img {
    display:block; width:100%; height:100%; padding:6px; object-fit:contain; object-position:center;
}
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-content {
    flex:1 1 auto; height:auto; min-height:116px; padding:12px 4px 8px; gap:8px;
}
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-content .title {
    display:-webkit-box; min-height:58px; max-height:none; margin:0; overflow:hidden;
    font-size:15px; font-weight:500; line-height:1.8; -webkit-box-orient:vertical; -webkit-line-clamp:2;
}
body.single-product-page .similar-products-swiper .similar-product-card .product-price-container {
    display:flex; min-height:38px; flex-wrap:wrap; align-items:baseline; justify-content:flex-end; gap:6px;
}
body.single-product-page .similar-products-swiper .similar-product-card .product-price-container .price { font-size:17px; font-weight:700; }
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-footer {
    position:static; display:flex; flex:0 0 auto; flex-wrap:nowrap; align-items:center; justify-content:flex-start;
    gap:6px; width:100%; min-width:0; height:auto; margin-top:auto; padding:10px 0 0;
    border-top:1px solid var(--product-border); background:transparent; box-shadow:none; opacity:1; visibility:visible;
}
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-footer .v-product-item-btn {
    display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; gap:8px;
    width:auto; min-width:0; max-width:164px; min-height:44px; margin:0 !important; padding:8px 12px;
    border:1px solid var(--colorMain, CanvasText) !important; border-radius:11px;
    color:var(--colorMain, CanvasText) !important; background:transparent !important; white-space:nowrap;
}
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-footer .v-product-item-btn > span { display:inline !important; white-space:nowrap; }
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-footer .v-product-item-btn:hover,
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-footer .v-product-item-btn:focus-visible {
    color:var(--colorMainContrast, Canvas) !important; background:var(--colorMain, CanvasText) !important;
}
body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-footer .btn-no-bg {
    display:inline-grid; flex:0 0 40px; place-items:center; width:40px; min-width:40px; height:40px; min-height:40px; padding:0;
    border:1px solid color-mix(in srgb, var(--colorMain, CanvasText) 22%, Canvas) !important; border-radius:10px;
    color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 5%, Canvas);
}
@media (hover:hover) {
    body.single-product-page .similar-products-swiper .similar-product-card:hover { border-color:var(--colorMain, CanvasText); box-shadow:0 10px 28px rgb(0 0 0 / 8%); transform:translateY(-2px); }
}
body.single-product-page .section-title:has(.product-section-heading) { margin-bottom:16px; }
body.single-product-page .product-adjacent-link { z-index:1020; }
body.single-product-page .product-complements-section{padding:18px;border:1px solid var(--product-border);border-radius:18px;background:color-mix(in srgb,var(--colorMain,CanvasText) 2.5%,Canvas)}
body.single-product-page .product-complements-section .section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
body.single-product-page .product-complements-caption{margin:3px 0 0;color:var(--text-muted,#737d8f);font-size:14px;line-height:1.8}
body.single-product-page .product-complements-section .custom-swiper-button-prev,body.single-product-page .product-complements-section .custom-swiper-button-next{border:0;font:inherit;cursor:pointer}
@media(max-width:575px){body.single-product-page .product-complements-section{padding:13px;border-radius:14px}body.single-product-page .product-complements-caption{font-size:13px}}
body.single-product-page #tabs .nav-tabs { border-bottom:0 !important; }
body.single-product-page #tabs .nav-tabs .nav-link::before,
body.single-product-page #tabs .nav-tabs .nav-link.active::before { display:none !important; content:none !important; }
body.single-product-page #tabs .tab-pane { padding:0; }
body.single-product-page #tabs #nav-intro.rich-content { max-width:min(100%, 1160px); margin-inline:auto; }
body.single-product-page #tabs #nav-intro.rich-content h2 { padding:0; border:0; }
body.single-product-page #tabs #nav-intro.rich-content img,
body.single-product-page #tabs #nav-intro.rich-content video,
body.single-product-page #tabs #nav-intro.rich-content iframe { display:block; max-width:100%; height:auto; }
body.single-product-page #tabs #nav-intro.rich-content iframe { width:100%; aspect-ratio:16 / 9; }
/* Product descriptions should read like a well-spaced article, even when editor HTML contains small inline text sizes. */
body.single-product-page #tabs #nav-intro.rich-content {
    max-width: min(100%, 1160px);
    color: color-mix(in srgb, CanvasText 90%, Canvas);
    font-size: 18px;
    line-height: 2.05;
    letter-spacing: 0;
}
body.single-product-page #tabs #nav-intro.rich-content :is(p, li, blockquote, td, th, figcaption) {
    font-size: inherit !important;
    line-height: inherit;
}
body.single-product-page #tabs #nav-intro.rich-content p { margin-block: 0 1.15em; }
body.single-product-page #tabs #nav-intro.rich-content :is(h1, h2, h3, h4, h5, h6) {
    width: fit-content;
    max-width: 100%;
    margin-block: 1.65em .65em;
    padding: 8px 14px 8px 18px;
    border: 0;
    border-right: 4px solid var(--colorMain, CanvasText);
    border-radius: 0 10px 10px 0;
    color: CanvasText;
    background: color-mix(in srgb, var(--colorMain, CanvasText) 6%, Canvas);
    font-weight: 600;
    overflow-wrap: anywhere;
}
body.single-product-page #tabs #nav-intro.rich-content h1 { font-size: 28px; }
body.single-product-page #tabs #nav-intro.rich-content h2 { font-size: 24px; }
body.single-product-page #tabs #nav-intro.rich-content h3 { font-size: 21px; }
body.single-product-page #tabs #nav-intro.rich-content :is(h4, h5, h6) { font-size: 19px; }
body.single-product-page #tabs #nav-intro.rich-content :is(strong, b) { color: color-mix(in srgb, var(--colorMain, CanvasText) 75%, CanvasText); font-weight: 700; }
body.single-product-page #tabs #nav-intro.rich-content :is(ul, ol) { margin-block: 1em 1.4em; padding-inline-start: 0; padding-inline-end: 1.5em; }
body.single-product-page #tabs #nav-intro.rich-content li { padding-block: .2em; }
body.single-product-page #tabs #nav-intro.rich-content blockquote {
    margin: 1.4em 0;
    padding: 16px 20px;
    border: 1px solid var(--product-border);
    border-inline-start: 4px solid var(--colorMain, CanvasText);
    border-radius: 12px;
    color: color-mix(in srgb, CanvasText 88%, Canvas);
    background: color-mix(in srgb, var(--colorMain, CanvasText) 4%, Canvas);
}
body.single-product-page #tabs #nav-intro.rich-content a:not(.btn) { font-weight: 600; text-decoration-thickness: 1.5px; }
body.single-product-page #tabs #nav-intro.rich-content :is(table th, table td) { padding: 12px 15px; }
@media (max-width: 767.98px) {
    body.single-product-page #tabs #nav-intro.rich-content { font-size: 16px; line-height: 2; }
    body.single-product-page #tabs #nav-intro.rich-content h1 { font-size: 24px; }
    body.single-product-page #tabs #nav-intro.rich-content h2 { font-size: 21px; }
    body.single-product-page #tabs #nav-intro.rich-content h3 { font-size: 19px; }
    body.single-product-page #tabs #nav-intro.rich-content :is(h4, h5, h6) { font-size: 17px; }
}
body.single-product-page .product-unit-option input:checked + label .product-unit-dot { box-shadow:inset 0 0 0 4px Canvas; }
body.single-product-page .product-unit-option input:focus-visible + label { outline-color:var(--colorMain, CanvasText); }
@media (max-width:767.98px) {
    body.single-product-page .product-gallery-column { padding:12px; }
    body.single-product-page #gallerySwiper .swiper-slide { min-height:0; }
    body.single-product-page .gallery-thumb-list .swiper-slide { width:68px !important; }
    body.single-product-page .gallery-thumb-list img { width:58px !important; height:58px !important; }
    body.single-product-page .product-main-title { font-size:19px; line-height:1.65; }
    body.single-product-page .product-stock-badge { min-height:34px; }
    body.single-product-page .product-meta-actions { align-items:center; }
    body.single-product-page .product-meta-actions > .d-flex:first-child > a { min-height:40px; }
    body.single-product-page .product-meta-actions > .d-flex:last-child { gap:7px; }
    body.single-product-page .product-meta-actions .product-view-counter { min-height:42px; }
    body.single-product-page .product-short-description { margin-bottom:12px !important; }
    body.single-product-page .product-info-chip { min-height:42px; margin-inline-end:5px; margin-inline-start:0; }
    body.single-product-page .attributes-list { grid-template-columns:1fr; gap:7px; }
    body.single-product-page .attributes-list li { padding:10px 12px; }
    body.single-product-page .product-counting-units { margin:15px 0; }
    body.single-product-page .product-counting-units .product-unit-option label { min-height:64px; }
    body.single-product-page .product-unit-comparison { flex-direction:row; flex-wrap:wrap; align-items:center; gap:5px 10px; }
    body.single-product-page .product-unit-comparison > span { margin-top:0; }
    body.single-product-page .product-trust-row { gap:6px; }
    body.single-product-page .product-trust-row > div { min-height:60px; flex-direction:column; gap:3px; text-align:center; font-size:12px; }
    body.single-product-page .product-trust-row i { font-size:18px; }
    body.single-product-page .product-section-heading { margin-bottom:13px; font-size:19px; }
    body.single-product-page #faqSection { padding:16px; }
    body.single-product-page #faqSection.product-faq { padding:16px; }
    body.single-product-page .product-faq__header { align-items:flex-start; flex-wrap:wrap; gap:10px; }
    body.single-product-page .product-faq__heading-group { flex:1 1 100%; }
    body.single-product-page .product-faq__count { margin-inline-start:53px; }
    body.single-product-page .product-faq__icon { flex-basis:40px; width:40px; height:40px; border-radius:12px; font-size:20px; }
    body.single-product-page .product-faq__header p { font-size:13px; }
    body.single-product-page #faqSection .accordion-button { min-height:56px; padding:12px; }
    body.single-product-page #faqSection .accordion-body { padding:12px; }
    body.single-product-page #tabs #nav-reviews .row { --bs-gutter-x:10px; }
    body.single-product-page #tabs #nav-reviews .comments-sidebar,
    body.single-product-page #tabs #nav-reviews .comments-container { border-radius:12px; }
    body.single-product-page #tabs #nav-questions .question-item { padding:12px; }
    body.single-product-page #tabs #nav-questions > .d-flex { align-items:stretch; }
    body.single-product-page #tabs #nav-questions > .d-flex > div { font-size:17px; }
    body.single-product-page #tabs #nav-questions > .alert { padding:13px; }
    body.single-product-page #tabs #nav-reviews .comments-container > .d-flex { padding:13px; }
    body.single-product-page .similar-products-swiper .similar-product-card {
        display:grid; grid-template-columns:104px minmax(0,1fr); grid-template-areas:"image content" "footer footer";
        align-items:start; gap:8px 12px; height:auto; padding:10px; border-radius:14px;
    }
    body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-image {
        grid-area:image; width:104px; height:104px; aspect-ratio:auto; margin:0;
    }
    body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-image img { padding:2px; }
    body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-content {
        grid-area:content; min-width:0; min-height:104px; padding:4px 0; gap:8px; justify-content:flex-start;
    }
    body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-content .title {
        min-height:0; font-size:15px; line-height:1.8; -webkit-line-clamp:2;
    }
    body.single-product-page .similar-products-swiper .similar-product-card .product-price-container .price { font-size:15px; }
    body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-footer {
        grid-area:footer; justify-content:flex-start; margin-top:2px; padding-top:8px;
    }
    body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-footer .v-product-item-btn { max-width:150px; min-height:42px; padding-inline:10px; font-size:14px; }
    body.single-product-page .similar-products-swiper .similar-product-card .v-product-item-footer .btn-no-bg { flex-basis:38px; width:38px; min-width:38px; height:38px; min-height:38px; }
}

@media (prefers-reduced-motion:reduce) {
    body.single-product-page #tabs .nav-link,
    body.single-product-page .gallery-thumb-list img { transition:none; }
}
@media (max-width:767.98px) {
    body.single-product-page main { padding-bottom:calc(174px + env(safe-area-inset-bottom)); }
    body.single-product-page .product-purchase-actions { gap:8px; }
    body.single-product-page .product-selected-price-summary { min-height:58px; }
    body.single-product-page .product-selected-price-meta { flex:1 1 auto; }
    body.single-product-page .product-selected-price-amount strong { font-size:clamp(18px, 5.1vw, 21px); line-height:1.35; }
}
@media (max-width:767.98px) {
    body.single-product-page .product-selected-price-summary {
        box-sizing:border-box;
        justify-content:flex-start;
        gap:8px;
        direction:ltr;
    }
    body.single-product-page .product-selected-price-meta {
        flex:0 0 auto !important;
        justify-content:flex-start;
        margin-right:auto;
        text-align:left;
    }
    body.single-product-page .product-selected-price-amount {
        flex:0 1 auto;
        margin-left:0;
    }
}

/* Responsive emphasis for product variants and purchase controls. */
body.single-product-page .variations-fields > .form-group {
    gap: clamp(8px, 1.2vw, 14px);
    margin-bottom: clamp(14px, 2vw, 22px) !important;
}
body.single-product-page .variations-fields > .form-group > span {
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.7;
}
body.single-product-page .variations-fields .check-container label {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    min-height: clamp(42px, 3.5vw, 48px);
    height: auto;
    padding: 8px 14px 8px 38px;
    border: 1px solid var(--product-border, #e6d7eb);
    border-radius: 12px;
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 600;
    line-height: 1.5;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.single-product-page .variations-fields .check-container input:checked + label {
    border-width: 2px;
    background: color-mix(in srgb, var(--colorMain, #710b80) 9%, Canvas);
    box-shadow: 0 5px 15px color-mix(in srgb, var(--colorMain, #710b80) 14%, transparent);
}
body.single-product-page .variations-fields .check-container:not(.disabled) label:hover {
    transform: translateY(-1px);
}
body.single-product-page .product-selected-price-summary {
    min-height: clamp(66px, 6vw, 78px);
    padding: clamp(13px, 1.7vw, 19px) clamp(16px, 2vw, 22px);
    border-radius: 16px;
    background: color-mix(in srgb, var(--colorMain, #710b80) 4%, Canvas);
}
body.single-product-page .product-selected-price-meta [data-counting-price-label] {
    font-size: clamp(15px, 1.1vw, 17px);
}
body.single-product-page .product-buy-discount:not([hidden]) {
    min-width: 40px;
    min-height: 36px;
    padding-inline: 10px;
    font-size: 15px !important;
}
body.single-product-page .product-selected-price-amount strong {
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.45;
}
body.single-product-page .product-selected-price-amount > del[data-counting-price-regular] {
    font-size: clamp(14px, 1.1vw, 16px);
}
body.single-product-page .product-purchase-controls {
    gap: clamp(12px, 1.5vw, 18px);
}
body.single-product-page .product-purchase-actions .product-priced-button {
    min-height: clamp(60px, 5.5vw, 70px);
    padding: 12px clamp(20px, 2.4vw, 30px);
    border-radius: 18px;
    font-size: clamp(16px, 1.35vw, 19px);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--colorMain, #710b80) 27%, transparent);
}
body.single-product-page .product-buy-action,
body.single-product-page .product-buy-price > strong {
    font-size: clamp(16px, 1.35vw, 19px);
}
body.single-product-page .product-buy-action > i { font-size: 24px; }
body.single-product-page .product-purchase-actions .quantity-box {
    width: clamp(144px, 15vw, 168px);
    min-width: clamp(144px, 15vw, 168px);
    min-height: 54px;
}
body.single-product-page .product-purchase-actions .quantity-box .increase,
body.single-product-page .product-purchase-actions .quantity-box .decrease {
    flex-basis: 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
}
body.single-product-page .product-purchase-actions .quantity-box input { height: 44px; font-size: 18px; }

@media (max-width: 767.98px) {
    body.single-product-page .variations-fields > .form-group { gap: 9px; }
    body.single-product-page .variations-fields > .form-group > span { flex-basis: 100%; font-size: 15px; }
    body.single-product-page .variations-fields .check-container label {
        min-height: 44px;
        padding: 8px 13px 8px 36px;
        font-size: 15px;
    }
    body.single-product-page .product-selected-price-summary {
        min-height: 64px;
        padding: 11px 13px;
        gap: 8px;
    }
    body.single-product-page .product-selected-price-amount strong { font-size: clamp(19px, 5.2vw, 23px); }
    body.single-product-page .product-selected-price-meta [data-counting-price-label] { font-size: 14px; }
    body.single-product-page .product-purchase-controls { gap: 9px; }
    body.single-product-page .product-purchase-actions .product-priced-button {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 58px;
        padding: 10px 13px;
        border-radius: 15px;
        font-size: 16px;
    }
    body.single-product-page .product-buy-action { gap: 7px; font-size: 16px; }
    body.single-product-page .product-purchase-actions .quantity-box {
        width: 136px;
        min-width: 136px;
        min-height: 50px;
    }
    body.single-product-page .product-purchase-actions .quantity-box .increase,
    body.single-product-page .product-purchase-actions .quantity-box .decrease {
        flex-basis: 40px;
        width: 40px;
        min-width: 40px;
        height: 40px;
    }
    body.single-product-page .product-purchase-actions .quantity-box input { height: 40px; }
}
@media (max-width: 380px) {
    body.single-product-page .product-purchase-controls { gap: 7px; }
    body.single-product-page .product-purchase-actions .quantity-box { width: 116px; min-width: 116px; }
    body.single-product-page .product-purchase-actions .quantity-box .increase,
    body.single-product-page .product-purchase-actions .quantity-box .decrease { flex-basis: 34px; width: 34px; min-width: 34px; }
    body.single-product-page .product-purchase-actions .product-priced-button { padding-inline: 9px; font-size: 15px; }
    body.single-product-page .product-buy-action { gap: 5px; font-size: 15px; }
}

/* Keep unit prices and savings in a predictable, readable layout. */
body.single-product-page .product-counting-units {
    padding: clamp(14px, 2vw, 22px);
    border-radius: 18px;
    background: color-mix(in srgb, var(--colorMain, CanvasText) 2.5%, Canvas);
}
body.single-product-page .product-unit-intro {
    max-width: 54ch;
    margin: 2px 0 14px;
    font-size: 14px;
    line-height: 1.8;
}
body.single-product-page .product-unit-options {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 12px;
}
body.single-product-page .product-counting-units .product-unit-option label {
    grid-template-columns: minmax(0, 1fr) 22px;
    grid-template-areas: "name radio" "price price";
    align-content: center;
    align-items: center;
    column-gap: 12px;
    row-gap: 10px;
    min-height: 0;
    padding: 15px 16px;
    border-radius: 15px;
}
body.single-product-page .product-unit-option .product-unit-dot {
    width: 21px;
    height: 21px;
}
body.single-product-page .product-unit-option-text {
    gap: 1px;
}
body.single-product-page .product-unit-option-text > span {
    font-size: 16px;
    line-height: 1.5;
}
body.single-product-page .product-unit-option-text small {
    font-size: 13px;
    line-height: 1.55;
}
body.single-product-page .product-unit-comparison {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    grid-template-areas: "price regular" "unit saving";
    align-items: center;
    gap: 4px 10px;
    min-width: 0;
    padding-top: 9px;
    border-top: 1px solid var(--product-border);
    line-height: 1.55;
}
body.single-product-page .product-unit-comparison > strong {
    grid-area: price;
    min-width: 0;
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.5;
    overflow-wrap: anywhere;
}
body.single-product-page .product-unit-comparison > del {
    grid-area: regular;
    justify-self: start;
    color: var(--product-muted);
    font-size: 12px;
    white-space: nowrap;
}
body.single-product-page .product-unit-comparison > small {
    grid-area: unit;
    min-width: 0;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
body.single-product-page .product-unit-comparison .product-unit-saving {
    grid-area: saving;
    justify-self: start;
    min-height: 25px;
    margin: 0;
    padding: 3px 9px;
    font-size: 12px;
}
body.single-product-page .product-counting-units .product-unit-option input:checked + label {
    border-width: 2px;
    background: color-mix(in srgb, var(--colorMain, CanvasText) 6%, Canvas);
    box-shadow: 0 5px 16px color-mix(in srgb, var(--colorMain, CanvasText) 10%, transparent);
}
body.single-product-page .product-unit-note {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 767.98px) {
    body.single-product-page .product-unit-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }
    body.single-product-page .product-counting-units .product-unit-option label {
        row-gap: 8px;
        padding: 13px 14px;
    }
    body.single-product-page .product-unit-comparison {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 8px;
        padding-top: 8px;
    }
    body.single-product-page .product-unit-comparison > strong { font-size: clamp(17px, 4.6vw, 19px); }
    body.single-product-page .product-unit-comparison > small { font-size: 12px; }
    body.single-product-page .product-unit-comparison .product-unit-saving {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
}

/* Prevent long prices from fragmenting inside narrow unit cards. */
body.single-product-page .product-unit-comparison {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding-top: 9px;
    text-align: start;
}
body.single-product-page .product-unit-comparison > del {
    order: 0;
    white-space: nowrap;
    line-height: 1.5;
}
body.single-product-page .product-unit-comparison > strong {
    order: 1;
    font-size: clamp(18px, 1.55vw, 21px);
    line-height: 1.5;
    white-space: nowrap;
}
body.single-product-page .product-unit-comparison > small {
    order: 2;
    flex-basis: auto;
    line-height: 1.65;
}
body.single-product-page .product-unit-comparison .product-unit-saving {
    order: 3;
    align-self: flex-start;
    max-width: 100%;
    margin: 3px 0 0;
    white-space: normal;
}
@media (max-width: 767.98px) {
    body.single-product-page .product-unit-comparison {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 3px 9px;
    }
    body.single-product-page .product-unit-comparison > del { order: 0; }
    body.single-product-page .product-unit-comparison > strong {
        order: 1;
        max-width: 100%;
        font-size: clamp(17px, 4.8vw, 20px);
        white-space: normal;
        overflow-wrap: anywhere;
    }
    body.single-product-page .product-unit-comparison > small {
        order: 2;
        flex-basis: 100%;
    }
    body.single-product-page .product-unit-comparison .product-unit-saving {
        order: 3;
        align-self: center;
        margin: 2px 0 0;
    }
}

/* Give purchase-unit choices more breathing room, especially on touch screens. */
body.single-product-page .product-counting-units {
    padding: clamp(18px, 2.5vw, 28px);
    border-radius: 20px;
}
body.single-product-page .product-unit-heading {
    margin-bottom: 8px;
    font-size: 18px;
}
body.single-product-page .product-unit-intro {
    max-width: 58ch;
    margin: 5px 0 20px;
    font-size: 15px;
    line-height: 2;
}
body.single-product-page .product-unit-options { gap: 14px; }
body.single-product-page .product-counting-units .product-unit-option label {
    min-height: 128px;
    padding: 18px 20px;
    row-gap: 13px;
    border-radius: 17px;
}
body.single-product-page .product-unit-option-text > span { font-size: 17px; }
body.single-product-page .product-unit-option-text small { font-size: 14px; }
body.single-product-page .product-unit-comparison {
    min-height: 66px;
    gap: 7px 12px;
    padding-top: 12px;
}
body.single-product-page .product-unit-comparison > strong { font-size: clamp(19px, 1.7vw, 22px); }
body.single-product-page .product-unit-comparison > small { font-size: 13px; }
body.single-product-page .product-unit-comparison .product-unit-saving {
    min-height: 29px;
    padding: 5px 12px;
    font-size: 13px;
}
body.single-product-page .product-unit-note {
    margin-top: 17px;
    padding-top: 13px;
    border-top: 1px solid var(--product-border);
    font-size: 14px;
    line-height: 1.9;
}
@media (max-width: 767.98px) {
    body.single-product-page .product-counting-units { padding: 18px 16px; }
    body.single-product-page .product-unit-heading { font-size: 17px; }
    body.single-product-page .product-unit-intro { margin-bottom: 18px; font-size: 14px; }
    body.single-product-page .product-unit-options { gap: 12px; }
    body.single-product-page .product-counting-units .product-unit-option label {
        min-height: 122px;
        padding: 17px 16px;
        row-gap: 11px;
        border-radius: 16px;
    }
    body.single-product-page .product-unit-comparison {
        min-height: 62px;
        gap: 6px 10px;
        padding-top: 10px;
    }
    body.single-product-page .product-unit-note { margin-top: 15px; padding-top: 12px; }
}

/* Stable flex layout prevents unit names from collapsing into narrow grid tracks. */
body.single-product-page .product-counting-units .product-unit-option label {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px 12px;
    min-height: 0;
    padding: 16px 18px;
    text-align: start;
}
body.single-product-page .product-unit-option .product-unit-dot {
    position: static;
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
}
body.single-product-page .product-unit-option-text {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    grid-area: auto;
    grid-column: auto;
    grid-row: auto;
}
body.single-product-page .product-unit-option-text > span {
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    font-size: 16px;
}
body.single-product-page .product-unit-option-text small {
    display: block;
    white-space: normal;
}
body.single-product-page .product-unit-comparison {
    display: flex;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 2px 0 0;
    padding-top: 11px;
    border-top: 1px solid var(--product-border);
    grid-area: auto;
    grid-column: auto;
    grid-row: auto;
}
body.single-product-page .product-unit-comparison > strong {
    align-self: flex-start;
    font-size: clamp(18px, 4.7vw, 21px);
    line-height: 1.5;
    white-space: nowrap;
    overflow-wrap: normal;
}
body.single-product-page .product-unit-comparison > small {
    flex-basis: auto;
    line-height: 1.7;
}
body.single-product-page .product-unit-comparison .product-unit-saving {
    align-self: flex-start;
    margin: 3px 0 0;
}
@media (max-width: 767.98px) {
    body.single-product-page .product-counting-units .product-unit-option label {
        gap: 9px 11px;
        padding: 15px 14px;
    }
    body.single-product-page .product-unit-option-text > span { font-size: 16px; }
    body.single-product-page .product-unit-comparison { gap: 5px; }
}

@media (max-width: 767.98px) {
    body.single-product-page .product-purchase-actions {
        box-sizing: border-box;
        width: 100vw;
        max-width: 100vw;
        padding-right: max(8px, env(safe-area-inset-right));
        padding-left: max(8px, env(safe-area-inset-left));
    }
    body.single-product-page .product-selected-price-summary {
        box-sizing: border-box;
        align-self: stretch;
        width: 100%;
        max-width: none;
        margin-inline: 0;
        padding-inline: 12px;
    }
}

/* Supporting product information stays close to the product title. */
body.single-product-page .product-secondary-details {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--product-border);
}
body.single-product-page .product-attributes-section { margin-block: 18px 14px !important; }
body.single-product-page .product-meta-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}
body.single-product-page .product-meta-info .product-info-chip {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 66px;
    margin: 0;
    padding: 10px 13px;
    border: 1px solid var(--product-border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--product-soft) 58%, Canvas);
}
body.single-product-page .product-info-chip-icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--colorMain, #710b80) 16%, transparent);
    border-radius: 12px;
    color: var(--colorMain, #710b80);
    background: color-mix(in srgb, var(--colorMain, #710b80) 7%, Canvas);
}
body.single-product-page .product-info-chip-icon i { font-size: 18px; }
body.single-product-page .product-info-chip-copy { display: grid; min-width: 0; gap: 2px; }
body.single-product-page .product-info-chip-label { color: var(--product-muted); font-size: 12px; line-height: 1.5; }
body.single-product-page .product-info-chip-value { color: CanvasText; font-size: 14px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
body.single-product-page .product-highlights {
    display: grid;
    gap: 12px;
    margin: 4px 0 16px;
    padding: 14px;
    border: 1px solid var(--product-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--colorMain, CanvasText) 3%, Canvas);
}
body.single-product-page .product-highlights .product-attributes-section { min-width: 0; margin: 0 !important; }
body.single-product-page .product-highlights-heading {
    margin: 0 0 9px;
    color: CanvasText;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}
body.single-product-page .product-highlights .attributes-list { margin: 0; }
body.single-product-page .product-highlights .product-meta-info { margin: 0; }
body.single-product-page .product-meta-info:has(> .product-info-chip:only-child) { grid-template-columns: minmax(0, 1fr); }
body.single-product-page .product-sku-note {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 2px 2px 0;
    color: var(--product-muted);
    font-size: 12px;
    line-height: 1.6;
}
body.single-product-page .product-sku-note bdi { color: color-mix(in srgb, CanvasText 70%, Canvas); font-weight: 500; }
body.single-product-page .product-highlights .see-more-attr {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
    padding: 6px 10px;
    border: 1px solid var(--product-border);
    border-radius: 9px;
    color: var(--colorMain, CanvasText);
    background: Canvas;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
body.single-product-page .product-highlights .see-more-attr:hover { border-color: var(--colorMain, CanvasText); }
@media (max-width: 575.98px) {
    body.single-product-page .product-secondary-details { margin-top: 18px; padding-top: 15px; }
    body.single-product-page .product-highlights { gap: 10px; margin-block: 2px 14px; padding: 11px; border-radius: 13px; }
    body.single-product-page .product-meta-info { grid-template-columns: 1fr; gap: 8px; }
    body.single-product-page .product-meta-info .product-info-chip { min-height: 60px; padding: 9px 11px; }
}

/* Reduce dead space around the title and buying controls without shrinking text. */
body.single-product-page .product-gallery-back {
    padding-top: 10px;
    padding-inline: clamp(14px, 2vw, 28px);
}
body.single-product-page .store-product-adjacent-button { min-height: 52px; }
body.single-product-page .product-details-column { padding: clamp(16px, 2vw, 28px); }
body.single-product-page .product-title-row { gap: 4px; }
body.single-product-page .product-main-title { line-height: 1.5; }
body.single-product-page .product-english-title { margin-top: 2px; }
body.single-product-page .product-meta-actions { gap: 8px; margin: 9px 0 12px; padding-bottom: 10px; }
body.single-product-page .floated-mobile { margin-top: 10px !important; padding: clamp(12px, 1.6vw, 17px); }
body.single-product-page .variations-fields { margin-top: 12px !important; }
body.single-product-page .product-counting-units { margin: 12px 0; padding: clamp(12px, 1.5vw, 18px); }
body.single-product-page .product-unit-intro { margin-bottom: 10px; }
body.single-product-page .product-counting-units .product-unit-option label { min-height: 104px; padding-block: 12px; }
body.single-product-page .product-selected-price-summary { margin-top: 8px; }
body.single-product-page .product-purchase-actions,
body.single-product-page .product-purchase-actions.shows-selected-price { gap: 8px; }
body.single-product-page .product-purchase-controls { gap: 9px; }
body.single-product-page .product-trust-row { margin-top: 12px; }
@media (max-width: 767.98px) {
    body.single-product-page .product-sales-block-alert { display: none; }
    body.single-product-page .product-gallery-back { padding: 8px 10px 0; }
    body.single-product-page .store-product-adjacent-button { min-height: 46px; }
    body.single-product-page .product-details-column { padding: 14px 14px 18px; }
    body.single-product-page .product-meta-actions { margin: 8px 0 10px; padding-bottom: 9px; }
    body.single-product-page .floated-mobile { margin-top: 9px !important; padding: 11px; }
    body.single-product-page .variations-fields > .form-group.tablet-scrollable {
        flex-wrap: wrap !important;
        overflow-x: visible;
    }
    body.single-product-page .product-counting-units { margin: 10px 0; padding: 12px; }
    body.single-product-page .product-counting-units .product-unit-option label { min-height: 88px; padding-block: 10px; }
    body.single-product-page .product-purchase-controls { gap: 7px; }
    body.single-product-page .product-secondary-details { margin-top: 14px; padding-top: 12px; }
}


/* Matching glass shimmer while on-demand product recommendations load. */
.product-similar-skeleton {
    --skeleton-base: rgba(231, 237, 245, .64);
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 14px;
    width: calc(100% - 32px);
    max-width: 1400px;
    min-height: 286px;
    margin-inline: auto;
    padding: 12px;
    overflow: hidden;
    direction: rtl;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .46), rgba(240, 245, 251, .34));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88), 0 12px 34px rgba(33, 49, 71, .055);
}
.product-similar-skeleton-card {
    position: relative;
    display: flex;
    flex: 0 0 clamp(190px, 17vw, 240px);
    flex-direction: column;
    gap: 13px;
    min-height: 258px;
    padding: 13px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .84);
    border-radius: 18px;
    background: radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, .96), transparent 64%), linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(238, 243, 249, .58));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), 0 8px 22px rgba(40, 55, 75, .055);
}
.product-similar-skeleton-image,
.product-similar-skeleton-line {
    position: relative;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    background: linear-gradient(115deg, rgba(218, 226, 236, .62), rgba(248, 250, 253, .92), rgba(222, 229, 238, .62));
}
.product-similar-skeleton-image { width: 100%; min-height: 166px; border: 1px solid rgba(255, 255, 255, .74); border-radius: 13px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72); }
.product-similar-skeleton-line { width: 84%; height: 11px; border-radius: 999px; }
.product-similar-skeleton-line--short { width: 54%; height: 9px; opacity: .78; }
.product-similar-skeleton.is-loading .product-similar-skeleton-card::after,
.product-similar-skeleton.is-loading .product-similar-skeleton-image::after,
.product-similar-skeleton.is-loading .product-similar-skeleton-line::after {
    position: absolute;
    inset: 0;
    content: '';
    transform: translateX(110%);
    background: linear-gradient(105deg, transparent 24%, rgba(255, 255, 255, .76) 48%, transparent 72%);
    animation: product-similar-shimmer 1.35s ease-in-out infinite;
}
.product-similar-skeleton.has-error { align-items: center; justify-content: center; min-height: 150px; color: #667085; }
.product-similar-retry { margin-inline-start: 12px; padding: 8px 14px; border: 1px solid rgba(24, 119, 242, .24); border-radius: 10px; background: rgba(255, 255, 255, .82); color: #1877f2; }
@keyframes product-similar-shimmer { to { transform: translateX(-110%); } }
@media (max-width: 767.98px) {
    .product-similar-skeleton { width: calc(100% - 24px); min-height: 236px; margin-inline: auto; padding: 9px; border-radius: 18px; justify-content: flex-start; }
    .product-similar-skeleton-card { flex-basis: min(76vw, 300px); min-height: 214px; padding: 11px; border-radius: 15px; }
    .product-similar-skeleton-image { min-height: 132px; }
}
@media (prefers-reduced-motion: reduce) {
    .product-similar-skeleton.is-loading .product-similar-skeleton-card::after,
    .product-similar-skeleton.is-loading .product-similar-skeleton-image::after,
    .product-similar-skeleton.is-loading .product-similar-skeleton-line::after { animation: none; will-change: auto; }
}

/* Clear wholesale comparison on the product detail page. */
body.single-product-page .product-unit-intro{max-width:62ch;margin:0 0 14px;color:var(--product-muted);font-size:14px;line-height:1.85;text-wrap:pretty}
body.single-product-page .product-unit-comparison strong,body.single-product-page .product-unit-comparison del{font-variant-numeric:tabular-nums}
body.single-product-page .product-unit-comparison .product-unit-saving{width:max-content;max-width:100%;padding:4px 10px;border-radius:999px;font-weight:600;line-height:1.65}
body.single-product-page .product-unit-comparison .product-unit-saving-copy{display:block;width:100%;margin:2px 0 0;padding:9px 11px;border:1px solid color-mix(in srgb,#16834a 17%,Canvas);border-inline-start:3px solid #16834a;border-radius:10px;color:color-mix(in srgb,#12683b 90%,CanvasText);background:color-mix(in srgb,#16834a 7%,Canvas);font-size:13px;font-weight:500;line-height:1.8;text-wrap:pretty}
body.single-product-page .product-unit-comparison .product-unit-saving-copy.is-saving{color:#12683b;background:color-mix(in srgb,#16834a 9%,Canvas)}
body.single-product-page .product-unit-comparison .product-unit-saving-copy:not(.is-saving){border-color:var(--product-border);border-inline-start-color:color-mix(in srgb,var(--colorMain,CanvasText) 45%,Canvas);color:var(--product-muted);background:var(--product-soft)}
@media(prefers-reduced-motion:no-preference){body.single-product-page .product-counting-units .product-unit-option label{transition:transform .16s ease-out,border-color .16s ease-out,background-color .16s ease-out,box-shadow .16s ease-out}body.single-product-page .product-counting-units .product-unit-option label:active{transform:scale(.99)}}

body.single-product-page .product-unit-comparison .product-unit-discount{display:block;width:100%;margin:2px 0 0;padding:6px 10px;border:1px solid color-mix(in srgb,var(--colorMain,CanvasText) 16%,Canvas);border-radius:9px;color:var(--colorMain,CanvasText);background:color-mix(in srgb,var(--colorMain,CanvasText) 5%,Canvas);font-size:13px;font-weight:500;line-height:1.7;font-variant-numeric:tabular-nums}

/* Keep unit choices short; show price context in one panel below them. */
body.single-product-page .product-unit-intro{margin-bottom:12px}
body.single-product-page .product-counting-units .product-unit-option label{grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:4px 10px;min-height:82px}
body.single-product-page .product-unit-option-text{grid-column:1;grid-row:1}
body.single-product-page .product-unit-dot{grid-column:2;grid-row:1}
body.single-product-page .product-unit-option-price{grid-column:1/-1;min-width:0;padding-top:8px;border-top:1px solid var(--product-border);color:var(--product-muted);font-size:14px;line-height:1.6;font-variant-numeric:tabular-nums}
body.single-product-page .product-unit-option-price:empty{display:none}
body.single-product-page .product-unit-option-price strong{font-size:14px;font-weight:500;color:var(--product-muted)}
body.single-product-page .product-unit-summary[hidden],body.single-product-page .product-unit-summary [hidden]{display:none!important}
body.single-product-page .product-unit-summary{display:grid;gap:12px;margin:8px 0 16px;padding:18px;border:1px solid var(--product-border);border-radius:16px;background:linear-gradient(145deg,var(--product-soft),Canvas 74%);box-shadow:0 8px 22px rgb(35 22 45 / 4%);animation:unit-summary-enter .18s ease-out both}
body.single-product-page .product-unit-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--product-border);color:var(--product-muted);font-size:14px}
body.single-product-page .product-unit-summary-heading strong{color:CanvasText;font-weight:600}
body.single-product-page .product-unit-summary-main{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--product-muted);font-size:14px}
body.single-product-page .product-unit-summary-values{display:flex;align-items:baseline;justify-content:flex-end;gap:9px;flex-wrap:wrap;font-variant-numeric:tabular-nums}
body.single-product-page .product-unit-summary-values del{color:var(--product-muted);font-size:13px}
body.single-product-page .product-unit-summary-values strong{color:var(--colorMain,CanvasText);font-size:20px;font-weight:600}
body.single-product-page .product-unit-summary-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.single-product-page .product-unit-summary-meta .product-unit-discount,body.single-product-page .product-unit-parent-price,body.single-product-page .product-unit-summary-meta .product-unit-saving{display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;border:1px solid var(--product-border);border-radius:999px;color:var(--product-muted);background:Canvas;font-size:13px;font-weight:500;line-height:1.5;font-variant-numeric:tabular-nums}
body.single-product-page .product-unit-summary-meta .product-unit-discount{border-color:color-mix(in srgb,var(--colorMain,CanvasText) 18%,Canvas);color:var(--colorMain,CanvasText);background:var(--product-soft)}
body.single-product-page .product-unit-summary-meta .product-unit-saving{border-color:color-mix(in srgb,#16834a 22%,Canvas);color:#12683b;background:color-mix(in srgb,#16834a 8%,Canvas)}
body.single-product-page .product-unit-summary .product-unit-saving-copy{margin:0;padding:11px 13px;border:1px solid color-mix(in srgb,#16834a 17%,Canvas);border-inline-start:3px solid #16834a;border-radius:11px;color:color-mix(in srgb,#12683b 90%,CanvasText);background:color-mix(in srgb,#16834a 7%,Canvas);font-size:14px;font-weight:500;line-height:1.8;text-wrap:pretty}
body.single-product-page .product-unit-summary .product-unit-saving-copy:not(.is-saving){border-color:var(--product-border);border-inline-start-color:color-mix(in srgb,var(--colorMain,CanvasText) 45%,Canvas);color:var(--product-muted);background:Canvas}
@keyframes unit-summary-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:575px){body.single-product-page .product-unit-summary{gap:10px;margin-top:8px;padding:14px;border-radius:14px}body.single-product-page .product-unit-summary-heading{font-size:13px}body.single-product-page .product-unit-summary-values strong{font-size:18px}body.single-product-page .product-unit-summary-main{align-items:flex-start}body.single-product-page .product-unit-summary .product-unit-saving-copy{font-size:13px}}
@media(prefers-reduced-motion:reduce){body.single-product-page .product-unit-summary{animation:none}}

@media(max-width:767.98px){
    body.single-product-page .product-selected-price-summary{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;min-height:44px;margin:0!important;padding:2px 8px;direction:rtl}
    body.single-product-page .product-selected-price-meta{flex:0 1 32%!important;justify-content:flex-start;gap:5px;min-width:0;margin:0;text-align:start;white-space:nowrap}
    body.single-product-page .product-selected-price-meta [data-counting-price-label]{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:12px;white-space:nowrap}
    body.single-product-page .product-selected-price-amount{display:flex;flex:1 1 68%;align-items:baseline;justify-content:flex-end;flex-wrap:nowrap;gap:4px;min-width:0;width:auto;margin-inline-start:auto;white-space:nowrap;overflow:hidden}
    body.single-product-page .product-selected-price-amount>del[data-counting-price-regular]{flex:0 1 auto;max-width:30%;font-size:11px;white-space:nowrap;overflow:hidden}
    body.single-product-page .product-selected-price-amount>del span{display:none}
    body.single-product-page .product-selected-price-amount strong{display:inline-flex;flex:0 1 auto;align-items:baseline;flex-wrap:nowrap;gap:3px;max-width:none;min-width:0;overflow-wrap:normal;white-space:nowrap;font-size:clamp(16px,4.8vw,19px);line-height:1.3}
    body.single-product-page .product-selected-price-amount strong bdi{white-space:nowrap}
    body.single-product-page .product-selected-price-amount strong>span{font-size:12px}
    body.single-product-page .product-buy-discount:not([hidden]){min-height:22px;padding:1px 6px;font-size:12px!important}
}

/* Match unavailable storefront cards: desaturate product photos while keeping
   the stock badge, title, gallery controls and purchase details at full color. */
body.single-product-page .product-hero-card.is-out-of-stock .product-gallery-shell img {
    filter: grayscale(1);
    opacity: .72;
}
/* Keep the mobile purchase dock comfortably inset from the viewport edges. */
@media (max-width: 767.98px) {
    body.single-product-page .product-purchase-actions {
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: max(12px, env(safe-area-inset-left));
        width: auto;
        box-sizing: border-box;
        padding: 12px;
        border: 1px solid var(--product-border);
        border-radius: 18px;
        box-shadow: 0 8px 28px rgb(28 39 49 / 16%);
    }

    body.single-product-page .product-purchase-controls { gap: 10px; }
}

@media (max-width: 380px) {
    body.single-product-page .product-purchase-actions {
        right: max(9px, env(safe-area-inset-right));
        left: max(9px, env(safe-area-inset-left));
        padding: 10px;
    }
}
