/*
 * Sarafanovo product card v4.
 * The whole layer is deliberately scoped to the v4 product root so the
 * staging theme can coexist with the current storefront without leakage.
 */

#js-product-page.product.sf-product-v4 {
    --sf-v4-primary: #8400a7;
    --sf-v4-primary-dark: #650078;
    --sf-v4-primary-soft: #fbf4fc;
    --sf-v4-text: #0b0827;
    --sf-v4-muted: #514964;
    --sf-v4-border: #e9e3eb;
    --sf-v4-border-strong: #d7ccda;
    --sf-v4-control-border: #9b819f;
    --sf-v4-surface: #fff;
    --sf-v4-surface-soft: #faf8fb;
    --sf-v4-bonus: #fff8e9;
    --sf-v4-bonus-border: #f1dfb8;
    --sf-v4-success: #19723b;
    --sf-v4-danger: #b3261e;
    --sf-v4-cut: #ffbe00;
    --sf-v4-cut-hover: #eaae00;
    --sf-v4-radius: 20px;
    --sf-v4-radius-small: 13px;
    --sf-v4-shadow: 0 12px 36px rgba(51, 21, 56, .07);
    color: var(--sf-v4-text);
    font-size: 16px;
    line-height: 1.45;
    padding-bottom: 40px;
}

#js-product-page.product.sf-product-v4,
#js-product-page.product.sf-product-v4 *,
#js-product-page.product.sf-product-v4 *::before,
#js-product-page.product.sf-product-v4 *::after {
    box-sizing: border-box;
}

#js-product-page.product.sf-product-v4 img,
#js-product-page.product.sf-product-v4 svg,
#js-product-page.product.sf-product-v4 video,
#js-product-page.product.sf-product-v4 iframe {
    max-width: 100%;
}

#js-product-page.product.sf-product-v4 a,
#js-product-page.product.sf-product-v4 button,
#js-product-page.product.sf-product-v4 input,
#js-product-page.product.sf-product-v4 select,
#js-product-page.product.sf-product-v4 summary {
    -webkit-tap-highlight-color: transparent;
}

#js-product-page.product.sf-product-v4 a:focus-visible,
#js-product-page.product.sf-product-v4 button:focus-visible,
#js-product-page.product.sf-product-v4 input:focus-visible,
#js-product-page.product.sf-product-v4 select:focus-visible,
#js-product-page.product.sf-product-v4 textarea:focus-visible,
#js-product-page.product.sf-product-v4 summary:focus-visible,
#js-product-page.product.sf-product-v4 .sf-product-thumb:focus-visible {
    outline: 3px solid var(--sf-v4-primary);
    outline-offset: 3px;
}

#js-product-page.product.sf-product-v4 .container-fluid {
    margin-inline: auto;
    max-width: 1500px;
    padding-inline: clamp(18px, 3vw, 44px);
    width: 100%;
}

/* Hero: media takes 54%, product summary takes 46%. */
#js-product-page.product.sf-product-v4 .sf-product-hero,
#js-product-page.product.sf-product-v4 .product__columns {
    align-items: start;
    display: grid;
    gap: clamp(24px, 2.4vw, 38px);
    grid-template-areas: "media summary";
    grid-template-columns: minmax(0, 54fr) minmax(420px, 46fr);
}

#js-product-page.product.sf-product-v4 .sf-product-hero__media,
#js-product-page.product.sf-product-v4 .product__gallery {
    grid-area: media;
    min-width: 0;
}

/*
 * The parent Site theme still ships the legacy two-column product layout.
 * Its fixed 70rem gallery and calc(100% - 70rem) cart widths must not leak
 * into the v4 grid, where the cart already lives inside the summary track.
 */
#js-product-page.product.sf-product-v4 .product__gallery {
    margin: 0;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .sf-product-hero__summary,
#js-product-page.product.sf-product-v4 .product__cart {
    grid-area: summary;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .product__cart {
    display: block;
    padding: 0;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__wrapper {
    margin: 0 0 22px;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .product__header,
#js-product-page.product.sf-product-v4 .sf-product-summary__header {
    margin: 0 0 16px;
}

#js-product-page.product.sf-product-v4 .sf-product-eyebrow,
#js-product-page.product.sf-product-v4 .sf-product-section-kicker {
    color: var(--sf-v4-primary);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .065em;
    line-height: 1.35;
    margin: 0 0 7px;
    text-transform: uppercase;
}

#js-product-page.product.sf-product-v4 .product__header h1,
#js-product-page.product.sf-product-v4 .sf-product-title {
    color: var(--sf-v4-text);
    font-size: clamp(25px, 2vw, 32px);
    font-weight: 780;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 0;
    overflow-wrap: anywhere;
}

/* Gallery */
#js-product-page.product.sf-product-v4 .product__gallery,
#js-product-page.product.sf-product-v4 .sf-product-gallery {
    min-width: 0;
    position: relative;
}

#js-product-page.product.sf-product-v4 .product__slider {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .product__slider-main {
    aspect-ratio: 7 / 5;
    background: #f5f2f6;
    border: 1px solid var(--sf-v4-border);
    border-radius: var(--sf-v4-radius);
    height: auto;
    min-width: 0;
    order: 1;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__slider-main .swiper,
#js-product-page.product.sf-product-v4 .product__slider-main .swiper-wrapper,
#js-product-page.product.sf-product-v4 .product__slider-main .swiper-slide,
#js-product-page.product.sf-product-v4 .product__slider-main .product__slider-link,
#js-product-page.product.sf-product-v4 .product__slider-main .product__slider-video,
#js-product-page.product.sf-product-v4 .product__slider-main .video__item,
#js-product-page.product.sf-product-v4 .product__slider-main .video-container {
    height: 100%;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__slider-main .product__slider-link {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: block;
    overflow: hidden;
    padding: 0;
}

#js-product-page.product.sf-product-v4 .product__slider-main .product__slider-img {
    background: #f5f2f6;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
    width: 100%;
}

/* The parent theme's legacy jQuery zoom injects a second image with a
   different crop and cross-fades it over the product photo. Keep one stable
   crop in v4; the original Fancybox link remains the full-size viewer. */
#js-product-page.product.sf-product-v4 .product__slider-main .swiper-slide.ex1 > img.zoomImg {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (hover: hover) and (pointer: fine) {
    #js-product-page.product.sf-product-v4 .product__slider-main .product__slider-link {
        cursor: zoom-in;
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    #js-product-page.product.sf-product-v4 .product__slider-main .product__slider-img {
        transform: scale(1);
        transform-origin: center;
        transition: transform .16s cubic-bezier(0, 0, .2, 1);
    }

    #js-product-page.product.sf-product-v4 .product__slider-main .product__slider-link:hover .product__slider-img {
        transform: scale(1.06);
    }
}

#js-product-page.product.sf-product-v4 .product__slider-main--empty {
    align-items: center;
    display: flex;
    justify-content: center;
}

#js-product-page.product.sf-product-v4 .product__slider-main--empty .product__slider-img {
    object-fit: contain;
}

#js-product-page.product.sf-product-v4 .product__slider-main iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__slider-thumbs {
    height: 88px;
    min-width: 0;
    order: 0;
    overflow: hidden;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .sf-product-thumbs-row {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    min-width: 0;
    order: 2;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .sf-product-gallery-nav {
    align-items: center;
    background: var(--sf-v4-primary-soft);
    border: 1px solid transparent;
    border-radius: 13px;
    color: var(--sf-v4-primary);
    cursor: pointer;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    margin: 0;
    padding: 0;
    transition: background-color .16s ease, border-color .16s ease, opacity .16s ease;
    width: 48px;
}

#js-product-page.product.sf-product-v4 .sf-product-gallery-nav svg {
    height: 22px;
    width: 22px;
}

#js-product-page.product.sf-product-v4 .sf-product-gallery-nav:hover:not(:disabled) {
    background: #f0dff3;
    border-color: #d9b9de;
}

#js-product-page.product.sf-product-v4 .sf-product-gallery-nav:disabled {
    cursor: default;
    opacity: .38;
}

#js-product-page.product.sf-product-v4 .product__slider--single .product__slider-thumbs {
    display: none;
}

#js-product-page.product.sf-product-v4 .product__slider-thumbs .swiper,
#js-product-page.product.sf-product-v4 .product__slider-thumbs .swiper-wrapper {
    height: 100%;
}

#js-product-page.product.sf-product-v4 .product__slider-thumbs .swiper-wrapper {
    align-items: stretch;
}

#js-product-page.product.sf-product-v4 .product__slider-thumbs .swiper-slide {
    flex: 0 0 88px;
    height: 88px;
    width: 88px !important;
}

#js-product-page.product.sf-product-v4 .sf-product-thumb,
#js-product-page.product.sf-product-v4 .product__slider-thumbs .product__slider-video {
    align-items: center;
    background: var(--sf-v4-surface);
    border: 2px solid transparent;
    border-radius: 13px;
    cursor: pointer;
    display: flex;
    height: 100%;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    padding: 3px;
    transition: border-color .16s ease, box-shadow .16s ease;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__slider-thumbs .swiper-slide-thumb-active .sf-product-thumb,
#js-product-page.product.sf-product-v4 .product__slider-thumbs .sf-product-thumb[aria-current="true"] {
    border-color: var(--sf-v4-primary);
    box-shadow: 0 0 0 2px rgba(139, 21, 152, .12);
}

#js-product-page.product.sf-product-v4 .product__slider-thumbs .product__slider-img,
#js-product-page.product.sf-product-v4 .product__slider-thumbs img {
    border: 0;
    border-radius: 9px;
    display: block;
    height: 100%;
    object-fit: cover;
    padding: 0;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .sf-product-gallery-badges,
#js-product-page.product.sf-product-v4 .sf-product-badges,
#js-product-page.product.sf-product-v4 [data-sf-gallery-badges] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    left: 16px;
    max-width: calc(100% - 32px);
    pointer-events: none;
    position: absolute;
    top: 16px;
    z-index: 4;
}

#js-product-page.product.sf-product-v4 .sf-product-gallery-badge,
#js-product-page.product.sf-product-v4 .sf-product-badge,
#js-product-page.product.sf-product-v4 [data-sf-gallery-badges] > span {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(139, 21, 152, .14);
    border-radius: 11px;
    color: var(--sf-v4-primary);
    font-size: 14px;
    font-weight: 760;
    line-height: 1.2;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 11px 15px;
    box-shadow: 0 4px 12px rgba(71, 21, 78, .08);
}

#js-product-page.product.sf-product-v4 .sf-product-video-trigger,
#js-product-page.product.sf-product-v4 .product__gallery .sf-video-button {
    align-items: center;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(139, 21, 152, .18);
    border-radius: 12px;
    bottom: 16px;
    color: var(--sf-v4-primary);
    display: inline-flex;
    font-weight: 750;
    gap: 8px;
    min-height: 44px;
    padding: 0 15px;
    position: absolute;
    left: 16px;
    text-decoration: none;
    z-index: 4;
}

/* Summary metadata and share control. */
#js-product-page.product.sf-product-v4 .product__right {
    border: 0;
    min-width: 0;
    padding: 0;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__right > form {
    display: block;
    min-width: 0;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .sf-product-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 16px;
    min-height: 44px;
}

#js-product-page.product.sf-product-v4 .sf-product-rating,
#js-product-page.product.sf-product-v4 .product__favorites-link,
#js-product-page.product.sf-product-v4 .sf-product-code {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--sf-v4-muted);
    display: inline-flex;
    font-size: 13px;
    gap: 7px;
    min-height: 44px;
    padding: 0;
    text-decoration: none;
}

#js-product-page.product.sf-product-v4 .sf-product-rating:hover,
#js-product-page.product.sf-product-v4 .product__favorites-link:hover,
#js-product-page.product.sf-product-v4 .product__favorites-link.active {
    color: var(--sf-v4-primary);
}

#js-product-page.product.sf-product-v4 .product__rating-star {
    display: inline-flex;
    white-space: nowrap;
}

#js-product-page.product.sf-product-v4 .product__rating-star .icon20 {
    height: 15px;
    margin: 0;
    width: 15px;
}

#js-product-page.product.sf-product-v4 .sf-product-rating__text {
    display: inline-flex;
    gap: 5px;
}

#js-product-page.product.sf-product-v4 .sf-product-rating__text strong,
#js-product-page.product.sf-product-v4 .sf-product-rating__text span {
    color: inherit;
    font-size: inherit;
    font-weight: 500;
}

#js-product-page.product.sf-product-v4 .sf-product-code {
    font-variant-numeric: tabular-nums;
    position: relative;
}

#js-product-page.product.sf-product-v4 .sf-product-code__label {
    color: inherit;
    font-size: inherit;
}

#js-product-page.product.sf-product-v4 .sf-product-code__value {
    color: var(--sf-v4-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
}

#js-product-page.product.sf-product-v4 .sf-product-code__copy {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--sf-v4-primary);
    cursor: pointer;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 44px;
}

#js-product-page.product.sf-product-v4 .sf-product-code__copy:hover {
    background: var(--sf-v4-primary-soft);
}

#js-product-page.product.sf-product-v4 .sf-product-code__status {
    background: var(--sf-v4-text);
    border-radius: 7px;
    color: #fff;
    font-size: 11px;
    left: 50%;
    line-height: 1.25;
    padding: 5px 7px;
    position: absolute;
    top: calc(100% + 4px);
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 8;
}

#js-product-page.product.sf-product-v4 .sf-product-code__status:empty {
    display: none;
}

#js-product-page.product.sf-product-v4 .product__favorites {
    margin: 0;
}

#js-product-page.product.sf-product-v4 .product__favorites-link .icon {
    color: var(--sf-v4-primary);
    height: 20px;
    width: 20px;
}

#js-product-page.product.sf-product-v4 .sf-product-share {
    margin: 0 0 0 auto;
    position: relative;
}

#js-product-page.product.sf-product-v4 .sf-product-share__trigger {
    align-items: center;
    background: var(--sf-v4-primary-soft);
    border: 0;
    border-radius: 12px;
    color: var(--sf-v4-primary);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 720;
    gap: 8px;
    list-style: none;
    min-height: 44px;
    padding: 0 14px;
}

#js-product-page.product.sf-product-v4 .sf-product-share__trigger::-webkit-details-marker {
    display: none;
}

#js-product-page.product.sf-product-v4 .sf-product-share__trigger svg {
    height: 19px;
    width: 19px;
}

#js-product-page.product.sf-product-v4 .sf-product-share__popover {
    background: var(--sf-v4-surface);
    border: 1px solid var(--sf-v4-border);
    border-radius: 13px;
    box-shadow: var(--sf-v4-shadow);
    min-width: 190px;
    padding: 12px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 12;
}

#js-product-page.product.sf-product-v4 .sf-product-share:not([open]) .sf-product-share__popover {
    display: none;
}

#js-product-page.product.sf-product-v4 .sf-product-share__popover-label {
    color: var(--sf-v4-muted);
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
}

#js-product-page.product.sf-product-v4 .sf-product-share__list {
    display: flex;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-share__link {
    align-items: center;
    background: var(--sf-v4-primary);
    border-radius: 9px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 750;
    height: 44px;
    justify-content: center;
    min-width: 44px;
    padding: 0 8px;
    text-decoration: none;
}

#js-product-page.product.sf-product-v4 .sf-product-menu {
    margin: -5px 0 12px;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-menu__list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-menu__list > li {
    margin: 0;
    padding: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-menu__list a {
    color: var(--sf-v4-muted);
    display: inline-flex;
    font-size: 12px;
    min-height: 44px;
    align-items: center;
    text-decoration: none;
}

#js-product-page.product.sf-product-v4 .sf-product-menu__list a:hover {
    color: var(--sf-v4-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Native purchase card. */
#js-product-page.product.sf-product-v4 .product__form,
#js-product-page.product.sf-product-v4 .sf-product-purchase-card {
    background: var(--sf-v4-surface);
    border: 1px solid var(--sf-v4-border);
    border-radius: var(--sf-v4-radius);
    box-shadow: 0 8px 28px rgba(51, 21, 56, .045);
    min-width: 0;
    padding: clamp(15px, 1.3vw, 18px);
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__form > .sf-product-meta:first-child {
    border-bottom: 1px solid var(--sf-v4-border);
    margin-bottom: 16px;
    padding-bottom: 12px;
}

#js-product-page.product.sf-product-v4 .product__add2cart.js-top {
    align-items: start;
    background: var(--sf-v4-surface);
    border: 0;
    border-bottom: 1px solid var(--sf-v4-border);
    border-radius: 0;
    display: grid;
    gap: 10px 14px;
    grid-template-columns: minmax(0, 1fr) minmax(190px, .68fr);
    margin: 0 0 12px;
    padding: 0 0 12px;
}

#js-product-page.product.sf-product-v4 .product__pr-price {
    align-self: center;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .product__pr-price-new,
#js-product-page.product.sf-product-v4 .product__pr-price-new.price {
    color: var(--sf-v4-primary-dark);
    font-size: clamp(34px, 3vw, 46px);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
    white-space: normal;
}

#js-product-page.product.sf-product-v4 .product__pr-price-new .price,
#js-product-page.product.sf-product-v4 .product__pr-price-new .currency,
#js-product-page.product.sf-product-v4 .product__pr-price-new .unit {
    color: inherit;
}

#js-product-page.product.sf-product-v4 .product__pr-price-new .unit {
    font-size: .47em;
    letter-spacing: 0;
}

#js-product-page.product.sf-product-v4 .product__pr-price-base,
#js-product-page.product.sf-product-v4 .product__pr-price-ratio,
#js-product-page.product.sf-product-v4 .product__kg-meter-note,
#js-product-page.product.sf-product-v4 .sf-dailysale-product-price-meta {
    color: var(--sf-v4-muted);
    font-size: 12px;
    line-height: 1.45;
    margin-top: 5px;
}

#js-product-page.product.sf-product-v4 .sf-dailysale-regular-price {
    text-decoration: line-through;
}

#js-product-page.product.sf-product-v4 .sf-dailysale-discount {
    color: var(--sf-v4-danger);
    font-weight: 750;
    margin-left: 7px;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-note {
    align-items: center;
    background: var(--sf-v4-bonus);
    border: 1px solid var(--sf-v4-bonus-border);
    border-radius: 13px;
    display: grid;
    gap: 8px;
    grid-template-columns: 28px minmax(0, 1fr) 44px;
    margin: 0;
    padding: 10px 11px;
    position: relative;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-note__icon {
    align-items: center;
    background: var(--sf-v4-primary);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 16px;
    font-weight: 800;
    height: 28px;
    justify-content: center;
    width: 28px;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-note__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-note__copy strong {
    color: var(--sf-v4-text);
    font-size: 13px;
    line-height: 1.35;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-note__amount {
    color: var(--sf-v4-primary-dark);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-note__copy span {
    color: #6b5942;
    font-size: 11px;
    line-height: 1.4;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-help {
    margin: 0;
    position: relative;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-help > summary {
    align-items: center;
    background: rgba(139, 21, 152, .08);
    border: 1px solid rgba(139, 21, 152, .16);
    border-radius: 50%;
    color: var(--sf-v4-primary-dark);
    cursor: pointer;
    display: inline-flex;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    list-style: none;
    width: 44px;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-help > summary::-webkit-details-marker {
    display: none;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-help__popover {
    background: var(--sf-v4-surface);
    border: 1px solid var(--sf-v4-border);
    border-radius: 12px;
    box-shadow: var(--sf-v4-shadow);
    color: var(--sf-v4-text);
    font-size: 12px;
    line-height: 1.45;
    max-width: min(300px, calc(100vw - 32px));
    padding: 12px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 260px;
    z-index: 20;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-help__popover p {
    margin: 5px 0;
}

#js-product-page.product.sf-product-v4 .sf-product-bonus-help__popover a {
    color: var(--sf-v4-primary-dark);
    font-weight: 720;
    text-underline-offset: 3px;
}

#js-product-page.product.sf-product-v4 .sf-dailysale-product-note {
    background: #fff5f3;
    border: 1px solid #f0cbc5;
    border-radius: 12px;
    color: #713128;
    font-size: 12px;
    grid-column: 1 / -1;
    padding: 10px 12px;
}

#js-product-page.product.sf-product-v4 .product__options {
    display: block;
    margin: 0 0 14px;
}

#js-product-page.product.sf-product-v4 .options,
#js-product-page.product.sf-product-v4 .sf-product-option {
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-option {
    display: grid;
    gap: 7px;
    margin: 0 0 12px;
}

#js-product-page.product.sf-product-v4 .sf-product-option-label {
    color: var(--sf-v4-text);
    font-size: 13px;
    font-weight: 700;
}

#js-product-page.product.sf-product-v4 .sku-feature,
#js-product-page.product.sf-product-v4 .skus-select,
#js-product-page.product.sf-product-v4 .product__options select,
#js-product-page.product.sf-product-v4 .services select {
    appearance: none;
    background-color: var(--sf-v4-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%238b1598' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    border: 1px solid var(--sf-v4-control-border);
    border-radius: 12px;
    color: var(--sf-v4-text);
    font: inherit;
    font-size: 16px;
    height: 48px;
    margin: 0;
    padding: 0 42px 0 13px;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .sku-feature:hover,
#js-product-page.product.sf-product-v4 .skus-select:hover,
#js-product-page.product.sf-product-v4 .product__options select:hover {
    border-color: #b49ab8;
}

#js-product-page.product.sf-product-v4 .product__services {
    border-top: 1px solid var(--sf-v4-border);
    color: var(--sf-v4-muted);
    display: grid;
    font-size: 13px;
    gap: 9px;
    margin: 0 0 14px;
    padding-top: 14px;
}

#js-product-page.product.sf-product-v4 .product__services label {
    align-items: center;
    display: flex;
    gap: 8px;
    min-height: 44px;
}

#js-product-page.product.sf-product-v4 .product__services input[type="checkbox"] {
    accent-color: var(--sf-v4-primary);
    height: 20px;
    width: 20px;
}

#js-product-page.product.sf-product-v4 .product__purchase {
    border-top: 1px solid var(--sf-v4-border);
    margin-top: 4px;
    padding-top: 12px;
}

#js-product-page.product.sf-product-v4 .product__purchase > .product__add2cart,
#js-product-page.product.sf-product-v4 .product__add2cart:not(.js-top) {
    margin: 0;
}

#js-product-page.product.sf-product-v4 .product__add2cart-qty {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    margin: 0 0 8px;
}

#js-product-page.product.sf-product-v4 .product__counter,
#js-product-page.product.sf-product-v4 .product__calc {
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .product__counter .counter-pr {
    align-items: center;
    background: var(--sf-v4-surface);
    border: 1px solid var(--sf-v4-control-border);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 48px minmax(58px, 1fr) 48px;
    min-height: 64px;
    overflow: hidden;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__counter .counter-pr button,
#js-product-page.product.sf-product-v4 .product__counter .counter-pr__minus,
#js-product-page.product.sf-product-v4 .product__counter .counter-pr__plus {
    align-items: center;
    align-self: stretch;
    background: transparent;
    border: 0;
    color: var(--sf-v4-primary);
    cursor: pointer;
    display: flex;
    font-size: 27px;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    min-width: 48px;
    padding: 0;
}

#js-product-page.product.sf-product-v4 .product__counter .counter-pr button:hover {
    background: var(--sf-v4-primary-soft);
}

#js-product-page.product.sf-product-v4 .product__counter .counter-pr__minus,
#js-product-page.product.sf-product-v4 .product__counter .counter-pr__plus {
    box-sizing: border-box;
    height: 100%;
    line-height: 1;
    place-self: stretch;
    position: relative;
}

#js-product-page.product.sf-product-v4 .product__counter .counter-pr__icon {
    align-items: center;
    display: flex !important;
    height: 28px;
    inset: auto !important;
    justify-content: center;
    margin: auto;
    position: static !important;
    transform: none !important;
    width: 28px;
}

#js-product-page.product.sf-product-v4 .product__counter .counter-pr__icon .icon,
#js-product-page.product.sf-product-v4 .product__counter .counter-pr__icon svg {
    display: block;
    height: 24px;
    margin: 0;
    transform: none;
    width: 24px;
}

#js-product-page.product.sf-product-v4 .product__counter .counter-pr__des {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

#js-product-page.product.sf-product-v4 .product__counter .counter-pr__center,
#js-product-page.product.sf-product-v4 .product__counter .counter-pr__input-wrap {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .product__counter .js-quantity-field,
#js-product-page.product.sf-product-v4 .product__counter .counter-pr__input {
    appearance: textfield;
    background: transparent;
    border: 0;
    color: var(--sf-v4-text);
    font: inherit;
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    font-weight: 780;
    height: 30px;
    max-width: 100%;
    padding: 0;
    text-align: center;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__counter .js-quantity-field::-webkit-outer-spin-button,
#js-product-page.product.sf-product-v4 .product__counter .js-quantity-field::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

#js-product-page.product.sf-product-v4 .product__counter .counter-pr__unit {
    color: var(--sf-v4-muted);
    font-size: 12px;
    line-height: 1.2;
}

#js-product-page.product.sf-product-v4 .product__calc {
    align-items: center;
    background: var(--sf-v4-surface-soft);
    border: 1px solid var(--sf-v4-border);
    border-radius: 12px;
    display: flex;
    margin: 0;
    min-height: 64px;
    padding: 9px 14px;
}

#js-product-page.product.sf-product-v4 .product__calc .calc-pr {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__calc .calc-pr__title,
#js-product-page.product.sf-product-v4 .product__calc .calc-pr__ratio {
    color: var(--sf-v4-muted);
    font-size: 12px;
    line-height: 1.35;
}

#js-product-page.product.sf-product-v4 .product__calc .calc-pr__prices {
    justify-content: flex-start;
}

#js-product-page.product.sf-product-v4 .product__calc .calc-pr__wrap,
#js-product-page.product.sf-product-v4 .product__calc .calc-pr__total,
#js-product-page.product.sf-product-v4 .product__calc .calc-pr__prices {
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__calc .calc-pr__price-new {
    color: var(--sf-v4-text);
    font-size: clamp(22px, 2vw, 28px);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1.15;
    margin: 2px 0 0;
}

#js-product-page.product.sf-product-v4 .sf-product-minimum-row {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin: 0 0 10px;
    padding: 0 2px;
}

#js-product-page.product.sf-product-v4 .sf-product-minimum-note {
    align-items: center;
    color: var(--sf-v4-muted);
    display: flex;
    font-size: 12px;
    gap: 5px;
    line-height: 1.4;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-minimum-note strong {
    color: var(--sf-v4-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

#js-product-page.product.sf-product-v4 .sf-product-rules {
    flex: 0 0 auto;
    margin: 0;
    position: relative;
}

#js-product-page.product.sf-product-v4 .sf-product-rules > summary {
    color: var(--sf-v4-primary-dark);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    list-style: none;
    min-height: 44px;
    padding: 13px 0 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#js-product-page.product.sf-product-v4 .sf-product-rules > summary::-webkit-details-marker {
    display: none;
}

#js-product-page.product.sf-product-v4 .sf-product-rules__popover {
    background: var(--sf-v4-surface);
    border: 1px solid var(--sf-v4-border);
    border-radius: 13px;
    box-shadow: var(--sf-v4-shadow);
    color: var(--sf-v4-text);
    font-size: 12px;
    line-height: 1.5;
    max-width: min(350px, calc(100vw - 32px));
    padding: 13px;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    width: 330px;
    z-index: 22;
}

#js-product-page.product.sf-product-v4 .sf-product-rules__popover p {
    margin: 6px 0 0;
}

#js-product-page.product.sf-product-v4 .product__add2cart-buy .product__button,
#js-product-page.product.sf-product-v4 .product__button {
    align-items: center;
    background: var(--sf-v4-primary);
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 16px;
    font-weight: 780;
    height: auto;
    justify-content: center;
    line-height: 1.2;
    min-height: 50px;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    transition: background-color .16s ease, transform .16s ease;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__button:hover:not(:disabled) {
    background: var(--sf-v4-primary-dark);
}

#js-product-page.product.sf-product-v4 .product__button:active:not(:disabled) {
    transform: translateY(1px);
}

#js-product-page.product.sf-product-v4 .product__button:disabled,
#js-product-page.product.sf-product-v4 .product__button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .55;
}

/* Pnotice replaces the native cart action when the product cannot be ordered. */
#js-product-page.product.sf-product-v4 .product__add2cart--unavailable,
#js-product-page.product.sf-product-v4 .sf-product-pnotice {
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__add2cart--unavailable {
    display: block;
}

#js-product-page.product.sf-product-v4 [data-sf-native-cart-action][hidden],
#js-product-page.product.sf-product-v4 .sf-product-pnotice[hidden] {
    display: none !important;
}

#js-product-page.product.sf-product-v4 .sf-product-pnotice .pnotice__buttonView {
    align-items: center;
    appearance: none;
    background: linear-gradient(90deg, #65008f 0%, #9200b3 100%);
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 16px;
    font-weight: 780;
    justify-content: center;
    line-height: 1.2;
    margin: 0;
    min-height: 50px;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    transition: background .16s ease, transform .16s ease;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .sf-product-pnotice .pnotice__buttonView:hover {
    background: linear-gradient(90deg, #570078 0%, #7c0098 100%);
}

#js-product-page.product.sf-product-v4 .sf-product-pnotice .pnotice__buttonView:active {
    transform: translateY(1px);
}

#js-product-page.product.sf-product-v4 .sf-product-pnotice .pnotice__buttonView:focus-visible {
    outline: 3px solid rgba(146, 0, 179, .28);
    outline-offset: 3px;
}

#js-product-page.product.sf-product-v4 .addcart-loader {
    margin-left: 8px;
}

#js-product-page.product.sf-product-v4 .error,
#js-product-page.product.sf-product-v4 .stock-none {
    color: var(--sf-v4-danger);
}

#js-product-page.product.sf-product-v4 em.error {
    background: #fff1ef;
    border-radius: 10px;
    display: block;
    font-size: 14px;
    font-style: normal;
    padding: 10px 12px;
    text-align: center;
}

/* Existing Wantcut widget: functionality remains plugin-owned; v4 changes only presentation. */
#js-product-page.product.sf-product-v4 .wc-widget {
    --wc-accent: var(--sf-v4-primary);
    --wc-accent-strong: var(--sf-v4-primary-dark);
    --wc-line: var(--sf-v4-border);
    --wc-text: var(--sf-v4-text);
    --wc-muted: var(--sf-v4-muted);
    background: #fffaf6;
    border: 1px solid #f0dfd2;
    border-radius: 18px;
    box-shadow: none;
    color: var(--sf-v4-text);
    margin: 14px 0 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .wc-widget--classic {
    max-width: none;
}

#js-product-page.product.sf-product-v4 .wc-classic__topline {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 16px 10px;
}

#js-product-page.product.sf-product-v4 .wc-classic__eyebrow {
    color: var(--sf-v4-muted);
    display: block;
    font-size: 11px;
    letter-spacing: .02em;
    margin-bottom: 2px;
    text-transform: none;
}

#js-product-page.product.sf-product-v4 .wc-classic__title {
    color: var(--sf-v4-text);
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

#js-product-page.product.sf-product-v4 .wc-status {
    background: #f6eef7;
    border: 1px solid #dfc9e2;
    border-radius: 999px;
    color: var(--sf-v4-primary-dark);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
    padding: 6px 9px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-actions {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-left: auto;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-share {
    flex: 0 0 auto;
    position: relative;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-share__button {
    align-items: center;
    background: #fff;
    border: 1px solid #dfc9e2;
    border-radius: 50%;
    color: var(--sf-v4-primary);
    cursor: pointer;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 40px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-share__button:hover {
    background: var(--sf-v4-primary-soft);
}

#js-product-page.product.sf-product-v4 .sf-wantcut-share__button svg {
    height: 19px;
    width: 19px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-share__popover {
    background: var(--sf-v4-surface);
    border: 1px solid var(--sf-v4-border);
    border-radius: 13px;
    box-shadow: var(--sf-v4-shadow);
    color: var(--sf-v4-text);
    font-size: 12px;
    line-height: 1.4;
    max-width: min(300px, calc(100vw - 24px));
    padding: 12px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 250px;
    z-index: 24;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-share__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 9px 0;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-share__links a,
#js-product-page.product.sf-product-v4 .sf-wantcut-share__copy {
    background: var(--sf-v4-primary-soft);
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--sf-v4-primary-dark);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 720;
    justify-content: center;
    min-height: 44px;
    padding: 10px;
    text-decoration: none;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-share__copy {
    width: 100%;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-share__status {
    color: var(--sf-v4-muted);
    display: block;
    margin-top: 6px;
    min-height: 1.4em;
}

#js-product-page.product.sf-product-v4 .wc-classic__progress-line {
    align-items: center;
    display: grid;
    gap: 7px 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 4px 16px 10px;
}

#js-product-page.product.sf-product-v4 .wc-progress,
#js-product-page.product.sf-product-v4 .wc-classic__progress-line .wc-progress {
    appearance: none;
    background: #eaddeb;
    border: 0;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .wc-progress::-webkit-progress-bar {
    background: #eaddeb;
    border-radius: 999px;
}

#js-product-page.product.sf-product-v4 .wc-progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--sf-v4-primary-dark), var(--sf-v4-primary));
    border-radius: 999px;
}

#js-product-page.product.sf-product-v4 .wc-progress::-moz-progress-bar {
    background: linear-gradient(90deg, var(--sf-v4-primary-dark), var(--sf-v4-primary));
    border-radius: 999px;
}

#js-product-page.product.sf-product-v4 .wc-classic__progress-line > span {
    color: var(--sf-v4-text);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

#js-product-page.product.sf-product-v4 .wc-classic__time-line {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 16px 12px;
}

#js-product-page.product.sf-product-v4 .wc-classic__time-track {
    background: #eee8ef;
    border-radius: 999px;
    height: 5px;
    overflow: hidden;
}

#js-product-page.product.sf-product-v4 .wc-classic__time-track i {
    background: var(--sf-v4-primary-dark);
    border-radius: inherit;
    display: block;
    height: 100%;
}

#js-product-page.product.sf-product-v4 .wc-classic__time-line > span:last-child {
    color: var(--sf-v4-muted);
    font-size: 11px;
    white-space: nowrap;
}

#js-product-page.product.sf-product-v4 .wc-classic__panel {
    border: 0;
    margin: 0;
}

#js-product-page.product.sf-product-v4 .wc-classic__summary {
    align-items: center;
    background: var(--sf-v4-cut);
    border: 1px solid var(--sf-v4-cut);
    border-radius: 11px;
    box-shadow: 0 6px 14px rgba(190, 126, 0, .18);
    color: #241800;
    cursor: pointer;
    display: flex;
    font-size: 15px;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    list-style: none;
    margin: 0 16px 12px;
    min-height: 46px;
    padding: 11px 18px;
    text-align: center;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#js-product-page.product.sf-product-v4 .wc-classic__summary::-webkit-details-marker {
    display: none;
}

#js-product-page.product.sf-product-v4 .wc-classic__summary:hover {
    background: var(--sf-v4-cut-hover);
    border-color: var(--sf-v4-cut-hover);
    box-shadow: 0 8px 18px rgba(190, 126, 0, .22);
    transform: translateY(-1px);
}

#js-product-page.product.sf-product-v4 .wc-classic__summary-icon {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    height: 8px;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .16s ease;
    width: 8px;
}

#js-product-page.product.sf-product-v4 .wc-classic__panel[open] .wc-classic__summary-icon {
    transform: rotate(225deg) translate(-1px, -1px);
}

#js-product-page.product.sf-product-v4 .wc-classic__body {
    border-top: 0;
    padding: 2px 16px 15px;
}

#js-product-page.product.sf-product-v4 .wc-classic__metrics {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 12px;
}

#js-product-page.product.sf-product-v4 .wc-classic__metrics > div {
    background: rgba(255, 255, 255, .72);
    border: 1px solid #f0dfd2;
    border-radius: 10px;
    min-width: 0;
    padding: 8px;
}

#js-product-page.product.sf-product-v4 .wc-classic__metrics dt {
    color: var(--sf-v4-muted);
    font-size: 11px;
    margin: 0 0 2px;
}

#js-product-page.product.sf-product-v4 .wc-classic__metrics dd {
    color: var(--sf-v4-text);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    font-weight: 760;
    margin: 0;
}

#js-product-page.product.sf-product-v4 .wc-form,
#js-product-page.product.sf-product-v4 .wc-guest,
#js-product-page.product.sf-product-v4 .wc-action {
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .wc-order-row {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(125px, .75fr);
}

#js-product-page.product.sf-product-v4 .wc-field__label,
#js-product-page.product.sf-product-v4 .wc-field__hint,
#js-product-page.product.sf-product-v4 .wc-order-row__total > span,
#js-product-page.product.sf-product-v4 .wc-order-row__total small {
    color: var(--sf-v4-muted);
    font-size: 11px;
}

#js-product-page.product.sf-product-v4 .wc-field__control {
    align-items: center;
    background: #fff;
    border: 1px solid var(--sf-v4-control-border);
    border-radius: 11px;
    display: flex;
    min-height: 46px;
    overflow: hidden;
}

#js-product-page.product.sf-product-v4 .wc-input {
    background: transparent;
    border: 0;
    color: var(--sf-v4-text);
    font: inherit;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    min-width: 0;
    padding: 0 10px;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .wc-field__unit {
    color: var(--sf-v4-muted);
    padding-right: 10px;
}

#js-product-page.product.sf-product-v4 .wc-order-row__total {
    display: grid;
    gap: 1px;
}

#js-product-page.product.sf-product-v4 .wc-order-row__total strong {
    color: var(--sf-v4-text);
    font-size: 19px;
    font-variant-numeric: tabular-nums;
}

#js-product-page.product.sf-product-v4 .wc-button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--sf-v4-control-border);
    border-radius: 11px;
    color: var(--sf-v4-primary-dark);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    text-decoration: none;
}

#js-product-page.product.sf-product-v4 .wc-button:hover:not(:disabled) {
    background: var(--sf-v4-primary-soft);
    border-color: #cbaacf;
}

#js-product-page.product.sf-product-v4 .wc-button--primary {
    background: var(--sf-v4-cut);
    border-color: var(--sf-v4-cut);
    color: #241800;
    margin-top: 11px;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .wc-button--primary:hover:not(:disabled) {
    background: var(--sf-v4-cut-hover);
    border-color: var(--sf-v4-cut-hover);
    color: #241800;
}

#js-product-page.product.sf-product-v4 .wc-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

#js-product-page.product.sf-product-v4 .wc-button--quiet {
    background: transparent;
    border-color: transparent;
    color: var(--sf-v4-muted);
    margin-top: 8px;
}

#js-product-page.product.sf-product-v4 .wc-notice {
    border-radius: 10px;
    font-size: 12px;
    margin: 8px 0;
    padding: 9px 10px;
}

#js-product-page.product.sf-product-v4 .wc-classic__footer {
    align-items: center;
    border-top: 1px solid #f0dfd2;
    color: var(--sf-v4-muted);
    display: flex;
    font-size: 10px;
    gap: 10px;
    justify-content: space-between;
    padding: 8px 16px;
}

#js-product-page.product.sf-product-v4 .wc-classic__footer a {
    color: var(--sf-v4-primary-dark);
    font-weight: 700;
    text-underline-offset: 3px;
    white-space: nowrap;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-explanation {
    border-top: 1px solid #f0dfd2;
    margin: 0;
    padding: 0 16px 10px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-explanation > summary {
    align-items: center;
    color: var(--sf-v4-primary-dark);
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: 760;
    gap: 10px;
    justify-content: space-between;
    list-style: none;
    min-height: 44px;
    padding: 8px 0 5px;
    text-underline-offset: 3px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-explanation > summary::-webkit-details-marker {
    display: none;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-explanation > summary::after {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    flex: 0 0 8px;
    height: 8px;
    margin-right: 4px;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .16s ease;
    width: 8px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-explanation[open] > summary::after {
    transform: rotate(225deg) translate(-1px, -1px);
}

#js-product-page.product.sf-product-v4 .sf-wantcut-explanation > summary:focus-visible {
    border-radius: 9px;
    box-shadow: 0 0 0 3px rgba(133, 0, 162, .22);
    outline: 0;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-explanation__content {
    background: rgba(255, 255, 255, .76);
    border: 1px solid #f0dfd2;
    border-radius: 11px;
    color: #4c3b50;
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 4px;
    padding: 11px 12px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-explanation__content p {
    margin: 0;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-explanation__content p + p {
    margin-top: 7px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-sku-warning {
    background: #fff8e7;
    border: 1px solid #eed79b;
    border-radius: 11px;
    color: #5d4817;
    font-size: 12px;
    line-height: 1.45;
    margin: 12px 16px;
    padding: 10px 12px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-sku-warning[hidden] {
    display: none;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-sku-warning a {
    color: var(--sf-v4-primary-dark);
    font-weight: 750;
    text-underline-offset: 3px;
}

#js-product-page.product.sf-product-v4 .sf-product-plugin-cart,
#js-product-page.product.sf-product-v4 .sf-product-plugin-aux,
#js-product-page.product.sf-product-v4 .sf-product-plugin-block {
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-plugin-cart > :first-child,
#js-product-page.product.sf-product-v4 .sf-product-plugin-aux > :first-child {
    margin-top: 14px;
}

#js-product-page.product.sf-product-v4 .sf-product-plugin-block {
    margin: 0 0 20px;
}

/* Benefits */
#js-product-page.product.sf-product-v4 .product__addons,
#js-product-page.product.sf-product-v4 .sf-product-benefits {
    border-top: 0;
    display: block;
    grid-column: 1 / -1;
    margin: 20px 0 22px;
    padding-top: 0;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__addons .sf-product-section-heading {
    margin-bottom: 12px;
}

#js-product-page.product.sf-product-v4 .addons__list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

#js-product-page.product.sf-product-v4 .addons__list-item {
    background: var(--sf-v4-surface-soft);
    border: 1px solid var(--sf-v4-border);
    border-radius: 16px;
    min-width: 0;
    padding: 0;
    position: relative;
    width: auto;
}

#js-product-page.product.sf-product-v4 .addons__list-item.is-open {
    z-index: 20;
}

#js-product-page.product.sf-product-v4 .addon__item {
    align-items: center;
    background: transparent;
    color: var(--sf-v4-text);
    display: flex;
    gap: 12px;
    height: 100%;
    min-height: 82px;
    padding: 12px 14px;
    text-decoration: none;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .addon__item--link:hover {
    color: var(--sf-v4-primary-dark);
}

#js-product-page.product.sf-product-v4 .addon__item-icon {
    align-items: center;
    background: #f4eaf6;
    border-radius: 50%;
    color: var(--sf-v4-primary);
    display: inline-flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    position: static;
    top: auto;
    width: 44px;
}

#js-product-page.product.sf-product-v4 .addon__item-icon .icon,
#js-product-page.product.sf-product-v4 .addon__item-icon svg {
    color: inherit;
    fill: currentColor;
    height: 23px;
    width: 23px;
}

#js-product-page.product.sf-product-v4 .addon__item-info {
    display: grid;
    flex: 1 1 auto;
    gap: 2px;
    min-width: 0;
    padding-left: 0;
    width: auto;
}

#js-product-page.product.sf-product-v4 .addon__item-info strong {
    color: var(--sf-v4-text);
    font-size: 14px;
    font-weight: 760;
    line-height: 1.25;
}

#js-product-page.product.sf-product-v4 .addon__item-info > span,
#js-product-page.product.sf-product-v4 .addon__item-info > a > span {
    color: var(--sf-v4-muted);
    font-size: 12px;
    line-height: 1.35;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details {
    margin-top: 3px;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details summary {
    align-items: center;
    color: var(--sf-v4-primary-dark);
    cursor: pointer;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    min-height: 44px;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details--card {
    height: 100%;
    margin: 0;
    position: relative;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details--card > summary.addon__item {
    color: var(--sf-v4-text);
    display: flex;
    list-style: none;
    min-height: 82px;
    padding-right: 36px;
    position: relative;
    width: 100%;
    z-index: 16;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details--card > summary.addon__item::-webkit-details-marker {
    display: none;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details--card > summary.addon__item::after {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    color: var(--sf-v4-primary);
    content: "";
    height: 7px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-65%) rotate(45deg);
    transition: transform .16s ease;
    width: 7px;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details--card[open] > summary.addon__item::after {
    transform: translateY(-25%) rotate(225deg);
}

#js-product-page.product.sf-product-v4 .sf-benefit-details--card > summary.addon__item:focus-visible {
    border-radius: 15px;
    box-shadow: inset 0 0 0 3px rgba(133, 0, 162, .28);
    outline: 0;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details__content {
    background: var(--sf-v4-surface);
    border: 1px solid var(--sf-v4-border);
    border-radius: 12px;
    box-shadow: var(--sf-v4-shadow);
    left: 10px;
    max-width: min(360px, calc(100vw - 36px));
    padding: 12px;
    position: absolute;
    top: calc(100% + 6px);
    z-index: 15;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details--card:not([open]) > .sf-benefit-details__content {
    display: none;
}

#js-product-page.product.sf-product-v4 .addons__list-item:last-child .sf-benefit-details__content {
    left: auto;
    right: 10px;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details__content > :first-child {
    margin-top: 0;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details__content > :last-child {
    margin-bottom: 0;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details__content p {
    color: var(--sf-v4-muted);
    font-size: 12px;
    line-height: 1.45;
    margin: 8px 0 0;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details__content a {
    color: var(--sf-v4-primary-dark);
    font-weight: 720;
    text-underline-offset: 3px;
}

#js-product-page.product.sf-product-v4 .sf-benefit-details__discounts {
    color: var(--sf-v4-text);
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Specifications and description */
#js-product-page.product.sf-product-v4 .sf-product-details,
#js-product-page.product.sf-product-v4 .sf-product-info-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin: 0 0 22px;
}

#js-product-page.product.sf-product-v4 .product__features,
#js-product-page.product.sf-product-v4 .product__description,
#js-product-page.product.sf-product-v4 .product__treviews {
    background: var(--sf-v4-surface);
    border: 1px solid var(--sf-v4-border);
    border-radius: var(--sf-v4-radius);
    min-width: 0;
    padding: clamp(18px, 2vw, 26px);
}

#js-product-page.product.sf-product-v4 .sf-product-details > .product__features,
#js-product-page.product.sf-product-v4 .sf-product-details > .product__description,
#js-product-page.product.sf-product-v4 .sf-product-info-grid > .product__features,
#js-product-page.product.sf-product-v4 .sf-product-info-grid > .product__description {
    height: 100%;
    margin: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-section-heading,
#js-product-page.product.sf-product-v4 .sf-product-reviews-heading {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 0 0 15px;
}

#js-product-page.product.sf-product-v4 .product__features-header,
#js-product-page.product.sf-product-v4 .product__description-header,
#js-product-page.product.sf-product-v4 .product__treviews-header,
#js-product-page.product.sf-product-v4 .product__addons h2 {
    color: var(--sf-v4-text);
    font-size: clamp(20px, 1.75vw, 26px);
    font-weight: 780;
    letter-spacing: -.018em;
    line-height: 1.2;
    margin: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-section-note,
#js-product-page.product.sf-product-v4 .sf-product-reviews-summary {
    color: var(--sf-v4-muted);
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-section-link,
#js-product-page.product.sf-product-v4 .sf-product-reviews-cta {
    align-items: center;
    color: var(--sf-v4-primary);
    display: inline-flex;
    font-size: 12px;
    font-weight: 750;
    min-height: 44px;
    text-decoration: none;
    white-space: nowrap;
}

#js-product-page.product.sf-product-v4 button.sf-product-section-link {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    margin: 0;
    padding: 0;
}

#js-product-page.product.sf-product-v4 button.sf-product-section-link[hidden] {
    display: none;
}

#js-product-page.product.sf-product-v4 .product__features-list.is-collapsed .features-item:nth-child(n+11) {
    display: none;
}

#js-product-page.product.sf-product-v4 .product__description-text {
    overflow-wrap: anywhere;
}

#js-product-page.product.sf-product-v4 .product__description-text.is-collapsed {
    max-height: 15.5em;
    overflow: hidden;
}

#js-product-page.product.sf-product-v4 .product__description > [data-sf-toggle-description] {
    margin-top: 8px;
}

#js-product-page.product.sf-product-v4 .sf-product-section-link:hover,
#js-product-page.product.sf-product-v4 .sf-product-reviews-cta:hover {
    color: var(--sf-v4-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

#js-product-page.product.sf-product-v4 .product-features {
    display: grid;
    gap: 0 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

#js-product-page.product.sf-product-v4 .product-features .features-item {
    align-items: start;
    border-bottom: 1px solid var(--sf-v4-border);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(100px, .9fr) minmax(0, 1.1fr);
    margin: 0;
    min-height: 42px;
    padding: 10px 0;
}

#js-product-page.product.sf-product-v4 .product-features .features-item .name,
#js-product-page.product.sf-product-v4 .product-features .features-item .value {
    background: transparent;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 0;
    width: auto;
}

#js-product-page.product.sf-product-v4 .product-features .features-item .name {
    color: var(--sf-v4-muted);
    font-weight: 500;
}

#js-product-page.product.sf-product-v4 .product-features .features-item .name span {
    background: transparent;
    padding: 0;
}

#js-product-page.product.sf-product-v4 .product-features .features-item .value {
    color: var(--sf-v4-text);
    font-weight: 680;
}

#js-product-page.product.sf-product-v4 .product__description-text {
    color: #3d2c41;
    font-size: 15px;
    line-height: 1.58;
}

#js-product-page.product.sf-product-v4 .product__description-text > :first-child {
    margin-top: 0;
}

#js-product-page.product.sf-product-v4 .product__description-text > :last-child {
    margin-bottom: 0;
}

#js-product-page.product.sf-product-v4 .product__description-text a {
    color: var(--sf-v4-primary);
    font-weight: 700;
    text-underline-offset: 3px;
}

/* Reviews and lower dynamic blocks. */
#js-product-page.product.sf-product-v4 .product__treviews {
    margin: 0 0 22px;
}

#js-product-page.product.sf-product-v4 .product__treviews-wrapper {
    min-height: 70px;
}

#js-product-page.product.sf-product-v4 .product__treviews-loader {
    align-items: center;
    color: var(--sf-v4-muted);
    display: flex;
    font-size: 13px;
    gap: 8px;
    min-height: 70px;
}

#js-product-page.product.sf-product-v4 .sf-product-reviews-empty {
    align-items: flex-start;
    background: var(--sf-v4-surface-soft);
    border: 1px solid var(--sf-v4-border);
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 72px;
    padding: 15px;
}

#js-product-page.product.sf-product-v4 .sf-product-reviews-empty strong {
    color: var(--sf-v4-text);
}

#js-product-page.product.sf-product-v4 .sf-product-reviews-empty span {
    color: var(--sf-v4-muted);
    font-size: 13px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .reviews__wrap,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .product__reviews,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .reviews__items,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .reviews__list {
    display: grid;
    gap: 14px;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .product__reviews-info {
    background: #fff8e8;
    border: 1px solid #f2deb3;
    border-radius: 13px;
    color: #725d42;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    padding: 13px 15px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .product__reviews-info strong {
    color: var(--sf-v4-text);
    font-weight: 760;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .reviews__rating {
    background: var(--sf-v4-surface-soft);
    border: 1px solid var(--sf-v4-border);
    border-radius: 14px;
    padding: 16px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .reviews__rating-header {
    margin-bottom: 14px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__header,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__stats {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__header-info,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__circle-num {
    color: var(--sf-v4-text);
    font-weight: 780;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__header-average,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__info-count,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__actions-title {
    color: var(--sf-v4-muted);
    font-size: 12px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__stats-info {
    flex: 1 1 340px;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__stat,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__stats-actions {
    display: grid;
    gap: 7px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__info {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 88px minmax(70px, 1fr) minmax(68px, auto);
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__info-bar {
    background: #eaddeb;
    border-radius: 999px;
    height: 7px;
    overflow: hidden;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__info-fill {
    background: linear-gradient(90deg, var(--sf-v4-primary-dark), var(--sf-v4-primary));
    border-radius: inherit;
    height: 100%;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__stats-dashboard {
    flex: 0 0 auto;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__circle {
    height: 92px;
    position: relative;
    width: 92px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__circle-c {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    position: absolute;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__circle svg {
    height: 92px;
    transform: rotate(-90deg) scale(.64);
    transform-origin: center;
    width: 92px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__stats-actions {
    flex: 1 1 170px;
    justify-items: start;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__actions-button button,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .reviews__form-form button[type="submit"] {
    background: var(--sf-v4-primary);
    border: 1px solid var(--sf-v4-primary);
    border-radius: 11px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 740;
    min-height: 44px;
    padding: 10px 16px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .reviews__items-title,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .reviews__form-header {
    color: var(--sf-v4-text);
    font-size: 17px;
    font-weight: 760;
    line-height: 1.3;
    margin: 0;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form[data-sf-review-inline-open="true"] {
    border-top: 1px solid var(--sf-v4-border);
    display: block !important;
    margin: 18px auto 0;
    max-width: 600px;
    padding: 20px 0 0;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form[data-sf-review-inline-open="true"] .reviews__form-wrapper,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form[data-sf-review-inline-open="true"] .reviews__form-form {
    box-sizing: border-box;
    max-width: 920px;
    width: 100%;
}

/* Guest-only review gate. Keep the transient .form-active state out of the
   selector so the same centred message works in desktop inline and mobile
   drawer modes; signed-in forms do not render .reviews__form-no-user. */
#js-product-page.product.sf-product-v4 .reviews__form.js-reviews-form > .reviews__form-wrapper > .reviews__form-no-user {
    background: var(--sf-v4-surface-soft);
    border: 1px solid var(--sf-v4-border);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(54, 33, 74, .06);
    box-sizing: border-box;
    color: var(--sf-v4-text);
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.5;
    margin: 0 auto;
    max-width: 640px;
    padding: 18px clamp(16px, 3vw, 28px);
    text-align: center;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .reviews__form.js-reviews-form > .reviews__form-wrapper > .reviews__form-no-user a {
    color: var(--sf-v4-primary-dark);
    font-weight: 750;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form[data-sf-review-inline-open="true"] input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form[data-sf-review-inline-open="true"] select,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form[data-sf-review-inline-open="true"] textarea {
    background: #fff;
    border: 1px solid var(--sf-v4-control-border);
    border-radius: 11px;
    box-sizing: border-box;
    color: var(--sf-v4-text);
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form[data-sf-review-inline-open="true"] textarea {
    min-height: 130px;
    resize: vertical;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form[data-sf-review-inline-open="true"] input:focus-visible,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form[data-sf-review-inline-open="true"] select:focus-visible,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form[data-sf-review-inline-open="true"] textarea:focus-visible {
    border-color: var(--sf-v4-primary);
    box-shadow: 0 0 0 3px rgba(133, 0, 162, .15);
    outline: 0;
}

#js-product-page.product.sf-product-v4 .sf-product-review-unavailable {
    background: #fff8e8;
    border: 1px solid #f2deb3;
    border-radius: 12px;
    color: #725d42;
    margin: 16px 0 0;
    padding: 12px 14px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .reviews__list-item {
    background: var(--sf-v4-surface-soft);
    border: 1px solid var(--sf-v4-border);
    border-radius: 14px;
    margin: 0;
    padding: 16px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item {
    background: transparent;
    border: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: 42px minmax(0, 1fr);
    margin: 0;
    padding: 0;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-icon {
    align-items: center;
    background: #f0e4f2;
    border-radius: 50%;
    color: var(--sf-v4-primary);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: space-between;
    margin-bottom: 8px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-name,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-reply__name {
    color: var(--sf-v4-text);
    font-size: 14px;
    font-weight: 760;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-date {
    color: var(--sf-v4-muted);
    font-size: 12px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-content,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-text {
    color: #403441;
    font-size: 14px;
    line-height: 1.55;
    min-width: 0;
    overflow-wrap: anywhere;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-text + .review__item-text {
    margin-top: 9px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-images,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-images .s-images-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-images img {
    border-radius: 9px;
    display: block;
    height: 72px;
    object-fit: cover;
    width: 72px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-footer,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__votes {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__votes-btn {
    align-items: center;
    background: #fff;
    border: 1px solid var(--sf-v4-border);
    border-radius: 10px;
    color: var(--sf-v4-muted);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0 11px;
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-reply {
    color: var(--sf-v4-primary-dark);
    cursor: pointer;
}

/* Reference-locked v4 alignment. The PNG is the visual source; all values remain live. */
#js-product-page.product.sf-product-v4 .product__options[hidden] {
    display: none !important;
    margin: 0 !important;
}

#js-product-page.product.sf-product-v4 .product__button {
    background: linear-gradient(90deg, #65008f 0%, #9200b3 100%);
    position: relative;
}

#js-product-page.product.sf-product-v4 .product__button:hover:not(:disabled) {
    background: linear-gradient(90deg, #570078 0%, #7c0098 100%);
}

#js-product-page.product.sf-product-v4 .sf-product-cart-icon {
    align-items: center;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
}

#js-product-page.product.sf-product-v4 .sf-product-cart-icon svg {
    height: 24px;
    width: 24px;
}

/* Existing Wantcut is presentation-adapted only: the plugin keeps its form and state. */
#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] {
    background: linear-gradient(115deg, #fff7fb 0%, #fffaf0 100%);
    margin-left: 12px;
    width: calc(100% - 12px);
}

#js-product-page.product.sf-product-v4 [data-sf-wantcut-toggle] {
    cursor: pointer;
    min-width: 0;
    outline: 0;
}

#js-product-page.product.sf-product-v4 [data-sf-wantcut-toggle]:focus-visible {
    border-radius: 10px;
    box-shadow: 0 0 0 3px rgba(133, 0, 162, .24);
}

#js-product-page.product.sf-product-v4 [data-sf-wantcut-toggle][aria-expanded="true"] .wc-classic__title::after {
    transform: rotate(225deg) translate(-1px, -1px);
}

#js-product-page.product.sf-product-v4 [data-sf-wantcut-body][hidden] {
    display: none !important;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__topline {
    justify-content: center;
    min-height: 74px;
    padding: 10px 62px 8px;
    position: relative;
    text-align: center;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__heading,
#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__topline > :first-child {
    align-items: center;
    display: flex;
    flex-direction: column-reverse;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__title {
    font-size: 18px;
    line-height: 1.2;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__title::after {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    display: inline-block;
    height: 7px;
    margin: 0 0 4px 9px;
    transform: rotate(45deg);
    width: 7px;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__eyebrow {
    color: #312156;
    font-size: 14px;
    line-height: 1.25;
    margin: 2px 0 0;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .sf-wantcut-actions {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-status {
    display: none;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .sf-wantcut-share__button {
    background: transparent;
    border-color: transparent;
    color: var(--sf-v4-cut);
    height: 44px;
    width: 44px;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .sf-wantcut-share__button:hover {
    background: rgba(255, 190, 0, .12);
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .sf-wantcut-share__button svg {
    height: 27px;
    width: 27px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-overview {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 51px;
    padding: 3px 24px 2px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-time {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-time__icon {
    align-items: center;
    color: var(--sf-v4-primary);
    display: inline-flex;
    flex: 0 0 36px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-time__icon svg {
    height: 34px;
    width: 34px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-time__copy,
#js-product-page.product.sf-product-v4 .sf-wantcut-collected {
    display: grid;
    line-height: 1.18;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-time__copy > span,
#js-product-page.product.sf-product-v4 .sf-wantcut-collected > span {
    color: #312156;
    font-size: 12px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-time__copy strong,
#js-product-page.product.sf-product-v4 .sf-wantcut-collected strong {
    color: var(--sf-v4-text);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-collected {
    text-align: right;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__progress-line {
    display: block;
    padding: 10px 24px 15px;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__progress-line > span,
#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__time-line {
    display: none;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-progress {
    display: block;
    height: 10px;
    width: 100%;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-secondary {
    align-items: center;
    color: #312156;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    min-height: 30px;
    padding: 0 24px 6px;
}

#js-product-page.product.sf-product-v4 .sf-wantcut-secondary > span:last-child {
    text-align: right;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__summary {
    margin: 0 24px 8px;
    min-height: 46px;
    padding-inline: 54px;
    position: relative;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__summary::after {
    background: center / 25px 25px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h2l1.7 10.2a2 2 0 0 0 2 1.7h7.9a2 2 0 0 0 1.9-1.4L21 7H6.1M10 20a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm8 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z' fill='none' stroke='%23241800' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    content: "";
    height: 44px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__summary-icon {
    display: none;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__body .wc-classic__metrics {
    display: none;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__footer {
    justify-content: center;
    min-height: 27px;
    padding: 5px 16px;
    text-align: center;
}

#js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__footer a {
    display: none;
}

@media (min-width: 980px) {
    #js-product-page.product.sf-product-v4 .container-fluid {
        padding-left: 42px;
        padding-right: 47px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-hero,
    #js-product-page.product.sf-product-v4 .product__columns {
        gap: 34px;
        grid-template-columns: minmax(0, 720fr) minmax(0, 605fr);
    }

    #js-product-page.product.sf-product-v4 .product__slider-main {
        aspect-ratio: 1.412 / 1;
    }

    #js-product-page.product.sf-product-v4 .product__slider {
        gap: 18px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-thumbs-row {
        gap: 20px;
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        padding-inline: 13px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-gallery-nav {
        height: 52px;
        width: 52px;
    }

    #js-product-page.product.sf-product-v4 .product__slider-thumbs,
    #js-product-page.product.sf-product-v4 .product__slider-thumbs .swiper-slide {
        height: 88px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-thumb,
    #js-product-page.product.sf-product-v4 .product__slider-thumbs .product__slider-video {
        padding: 0;
    }

    #js-product-page.product.sf-product-v4 .sf-product-summary__header {
        margin: 0;
    }

    #js-product-page.product.sf-product-v4 .sf-product-title {
        font-size: 26px;
        font-weight: 760;
        line-height: 1.18;
    }

    #js-product-page.product.sf-product-v4 .sf-product-meta {
        gap: 4px 16px;
        margin: 4px 0 16px;
        min-height: 44px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-code {
        margin: 0;
        position: relative;
    }

    #js-product-page.product.sf-product-v4 .sf-product-code__copy {
        display: none;
    }

    #js-product-page.product.sf-product-v4 .sf-product-hero__summary > .sf-product-menu {
        display: none;
    }

    #js-product-page.product.sf-product-v4 .product__form,
    #js-product-page.product.sf-product-v4 .sf-product-purchase-card {
        /* The purchase block is visually shifted 6px; 22px leaves a true 16px edge gap. */
        padding: 8px 12px 22px;
    }

    #js-product-page.product.sf-product-v4 .product__add2cart.js-top {
        gap: 10px 12px;
        grid-template-columns: minmax(0, 1fr) 169px;
        margin: 0;
        padding: 0 0 10px 7px;
    }

    #js-product-page.product.sf-product-v4 .product__pr-price-new,
    #js-product-page.product.sf-product-v4 .product__pr-price-new.price {
        font-size: 40px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-bonus-note {
        grid-template-columns: minmax(0, 1fr) 44px;
        min-height: 61px;
        padding: 6px 5px 6px 12px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-bonus-note__icon {
        display: none;
    }

    #js-product-page.product.sf-product-v4 .sf-product-bonus-note__copy strong {
        font-size: 13px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-bonus-note__amount {
        font-size: 13px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-bonus-note__copy span {
        font-size: 12px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-bonus-help > summary {
        background: transparent;
        border: 0;
        font-size: 0;
        position: relative;
    }

    #js-product-page.product.sf-product-v4 .sf-product-bonus-help > summary::before {
        align-items: center;
        background: rgba(132, 0, 167, .08);
        border: 1px solid rgba(132, 0, 167, .3);
        border-radius: 50%;
        color: var(--sf-v4-primary);
        content: "i";
        display: flex;
        font-family: Georgia, serif;
        font-size: 12px;
        font-weight: 800;
        height: 18px;
        justify-content: center;
        width: 18px;
    }

    #js-product-page.product.sf-product-v4 .product__purchase {
        border-top: 0;
        margin-top: 0;
        padding-top: 10px;
        transform: translateY(6px);
    }

    #js-product-page.product.sf-product-v4 .product__add2cart-qty {
        gap: 20px;
        grid-template-columns: 220px minmax(0, 1fr);
        margin-bottom: 5px;
        position: relative;
    }

    #js-product-page.product.sf-product-v4 .product__add2cart-qty::after {
        content: none;
    }

    #js-product-page.product.sf-product-v4 .product__counter .counter-pr {
        grid-template-columns: 48px minmax(58px, 1fr) 48px;
        min-height: 60px;
    }

    #js-product-page.product.sf-product-v4 .product__counter .counter-pr__count {
        align-items: center;
        display: flex;
        flex-direction: column;
        height: 58px;
        justify-content: center;
        padding: 0;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] {
        margin: 28px 0 0 12px;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__progress-line {
        margin: 8px 0 6px;
        padding: 0 24px;
    }

    #js-product-page.product.sf-product-v4 .product__calc {
        padding: 8px 14px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-minimum-row {
        border-top: 1px solid var(--sf-v4-border);
        margin-bottom: 5px;
        padding: 10px 2px 0;
    }

    #js-product-page.product.sf-product-v4 .product__add2cart-buy .product__button,
    #js-product-page.product.sf-product-v4 .product__button {
        min-height: 46px;
        padding-block: 10px;
        padding-inline: 64px;
    }

    #js-product-page.product.sf-product-v4 .product__addons,
    #js-product-page.product.sf-product-v4 .sf-product-benefits {
        margin: 20px 0 22px 4px;
        width: calc(100% - 4px);
    }

    #js-product-page.product.sf-product-v4 .addons__list {
        grid-template-columns: 1fr .95fr .96fr 1.08fr 1.16fr;
    }

    #js-product-page.product.sf-product-v4 .addon__item {
        min-height: 78px;
        padding: 10px 18px;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details--card > summary.addon__item {
        min-height: 78px;
        padding: 10px 40px 10px 18px;
    }

    #js-product-page.product.sf-product-v4 .addon__item-icon {
        flex-basis: 48px;
        height: 48px;
        width: 48px;
    }

    #js-product-page.product.sf-product-v4 .addons__list-item--details .sf-benefit-details {
        inset: 0;
        margin: 0;
        position: absolute;
        z-index: 2;
    }

    #js-product-page.product.sf-product-v4 .sf-product-details,
    #js-product-page.product.sf-product-v4 .sf-product-info-grid {
        grid-template-columns: 1.043fr 1fr;
        margin-left: 4px;
    }

    #js-product-page.product.sf-product-v4 .product__features,
    #js-product-page.product.sf-product-v4 .product__description,
    #js-product-page.product.sf-product-v4 .product__treviews {
        border-radius: 16px;
        padding: 24px 26px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-section-heading {
        align-items: center;
        margin-bottom: 10px;
        min-height: 30px;
        position: relative;
    }

    #js-product-page.product.sf-product-v4 .sf-product-section-heading .sf-product-section-link {
        position: absolute;
        right: 0;
        top: -7px;
    }

    #js-product-page.product.sf-product-v4 .product__features-header,
    #js-product-page.product.sf-product-v4 .product__description-header,
    #js-product-page.product.sf-product-v4 .product__treviews-header,
    #js-product-page.product.sf-product-v4 .product__addons h2 {
        font-size: 22px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-section-link,
    #js-product-page.product.sf-product-v4 .sf-product-reviews-cta {
        font-size: 14px;
    }

    #js-product-page.product.sf-product-v4 .product-features {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(5, minmax(32px, auto));
    }

    #js-product-page.product.sf-product-v4 .product-features .features-item {
        gap: 12px;
        grid-template-columns: minmax(112px, .78fr) minmax(0, 1.22fr);
        min-height: 32px;
        padding: 6px 0;
    }

    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(1) { grid-column: 1; grid-row: 1; }
    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(2) { grid-column: 1; grid-row: 2; }
    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(3) { grid-column: 1; grid-row: 3; }
    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(4) { grid-column: 1; grid-row: 4; }
    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(5) { grid-column: 1; grid-row: 5; }
    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(6) { grid-column: 2; grid-row: 1; }
    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(7) { grid-column: 2; grid-row: 2; }
    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(8) { grid-column: 2; grid-row: 3; }
    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(9) { grid-column: 2; grid-row: 4; }
    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(10) { grid-column: 2; grid-row: 5; }
    #js-product-page.product.sf-product-v4 .product-features .features-item:nth-child(n+11) { grid-column: 1 / -1; }

    #js-product-page.product.sf-product-v4 .product__description-text {
        color: #312156;
        font-size: 16px;
        line-height: 1.375;
        padding-top: 20px;
    }

    #js-product-page.product.sf-product-v4 .product__description-text.is-collapsed {
        max-height: 160px;
    }

    #js-product-page.product.sf-product-v4 .product__description-text p {
        margin-block: 14px;
    }

    #js-product-page.product.sf-product-v4 .product__description {
        position: relative;
    }

    #js-product-page.product.sf-product-v4 .product__description > [data-sf-toggle-description],
    #js-product-page.product.sf-product-v4 .product__description > .sf-product-section-link {
        bottom: -8px;
        left: 26px;
        position: absolute;
    }

    #js-product-page.product.sf-product-v4 .product__description > [data-sf-toggle-description][aria-expanded="true"] {
        bottom: auto;
        left: auto;
        position: static;
    }
}

@media (min-width: 980px) and (hover: hover) and (pointer: fine) {
    #js-product-page.product.sf-product-v4 .sf-benefit-details--discounts[data-sf-benefit-preview-open="true"] > .sf-benefit-details__content {
        /* JavaScript owns hover/focus preview by toggling native `open`.
           Keep the popup interactive while the pointer moves from the summary
           into its links; closed content is explicitly hidden above. */
        pointer-events: auto;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details--discounts[open]:not([data-sf-benefit-preview-open]) > .sf-benefit-details__content {
        pointer-events: auto;
    }
}

/* Open benefit cards participate in document flow. Their details may increase
   the benefits row height, but must never cover specifications below it. */
@media (min-width: 768px) {
    #js-product-page.product.sf-product-v4 .addons__list-item--details .sf-benefit-details {
        height: auto;
        inset: auto;
        min-height: 100%;
        position: relative;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details__content,
    #js-product-page.product.sf-product-v4 .addons__list-item:last-child .sf-benefit-details__content {
        background: #fff;
        border-radius: 0 0 13px 13px;
        box-shadow: none;
        left: auto;
        margin: 0 10px 10px;
        max-width: none;
        padding: 11px 3px 3px;
        position: static;
        right: auto;
        top: auto;
        width: auto;
    }
}

/* Fine-pointer desktop: benefit explanations are previews, not layout rows.
   P7.2 deliberately keeps touch/tablet disclosures in flow; restore the
   absolute card overlay only where hover is actually available. */
@media (min-width: 980px) and (hover: hover) and (pointer: fine) {
    #js-product-page.product.sf-product-v4 .addons__list-item--details {
        min-height: 82px;
    }

    #js-product-page.product.sf-product-v4 .addons__list-item--details .sf-benefit-details--card {
        height: 100%;
        inset: 0;
        min-height: 0;
        position: absolute;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details--card > summary.addon__item {
        min-height: 82px;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details__content,
    #js-product-page.product.sf-product-v4 .addons__list-item:last-child .sf-benefit-details__content {
        background: var(--sf-v4-surface);
        border: 1px solid var(--sf-v4-border);
        border-radius: 12px;
        box-shadow: var(--sf-v4-shadow);
        left: 10px;
        margin: 0;
        max-width: min(360px, calc(100vw - 40px));
        padding: 12px;
        position: absolute;
        right: auto;
        top: calc(100% + 6px);
        width: auto;
        z-index: 15;
    }

    #js-product-page.product.sf-product-v4 .addons__list-item:nth-child(n + 4) .sf-benefit-details__content {
        left: auto;
        right: 10px;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details--discounts > .sf-benefit-details__content {
        left: 0;
        max-width: min(400px, calc(100vw - 40px));
        right: auto;
        width: max-content;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details--discounts .sf-benefit-details__discounts {
        overflow-wrap: normal;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details--discounts .sf-benefit-details__discounts .flexdiscount-available-discount > div {
        display: block !important;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details--discounts .sf-benefit-details__discounts ul {
        display: grid;
        gap: 3px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details--discounts .sf-benefit-details__discounts li {
        font-size: 12px;
        line-height: 1.3;
        margin: 0;
        padding-left: 12px;
        position: relative;
        white-space: nowrap;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details--discounts .sf-benefit-details__discounts li::before {
        background: currentColor;
        border-radius: 50%;
        content: "";
        height: 3px;
        left: 2px;
        opacity: .6;
        position: absolute;
        top: .58em;
        width: 3px;
    }
}

/* Narrow tablets use one column; 1024px keeps the reference two-column CRO layout. */
@media (max-width: 979px) {
    #js-product-page.product.sf-product-v4 .sf-product-hero,
    #js-product-page.product.sf-product-v4 .product__columns {
        display: grid;
        gap: 22px;
        grid-template-areas:
            "media"
            "summary";
        grid-template-columns: minmax(0, 1fr);
    }

    #js-product-page.product.sf-product-v4 .sf-product-hero__media,
    #js-product-page.product.sf-product-v4 .product__gallery {
        grid-area: media;
    }

    #js-product-page.product.sf-product-v4 .sf-product-hero__summary,
    #js-product-page.product.sf-product-v4 .product__cart {
        grid-area: summary;
    }

    #js-product-page.product.sf-product-v4 .product__slider-main {
        max-height: none;
    }

    #js-product-page.product.sf-product-v4 .product__right {
        margin-inline: auto;
        max-width: 820px;
    }

    #js-product-page.product.sf-product-v4 .addons__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) and (max-width: 979px) {
    #js-product-page.product.sf-product-v4 .product__description-text {
        padding-top: 45px;
    }
}

@media (max-width: 899px) {
    #js-product-page.product.sf-product-v4 .container-fluid {
        padding-inline: 18px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-details,
    #js-product-page.product.sf-product-v4 .sf-product-info-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #js-product-page.product.sf-product-v4 .addons__list {
        align-items: stretch;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        margin-inline: -18px;
        overscroll-behavior-inline: contain;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 18px 8px;
        scroll-padding-inline: 18px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    #js-product-page.product.sf-product-v4 .addons__list-item {
        flex: 0 0 min(270px, 72vw);
        max-width: min(270px, 72vw);
        min-width: min(270px, 72vw);
        scroll-snap-align: start;
    }

    #js-product-page.product.sf-product-v4 .product-features {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Mobile card: keep controls large and preserve the information hierarchy. */
@media (max-width: 767px) {
    #js-product-page.product.sf-product-v4 {
        --sf-v4-mobile-footer-safe-area: calc(84px + env(safe-area-inset-bottom, 0px));
        font-size: 15px;
        padding-bottom: calc(26px + var(--sf-v4-mobile-footer-safe-area));
    }

    #js-product-page.product.sf-product-v4 .container-fluid {
        padding-inline: 12px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-hero,
    #js-product-page.product.sf-product-v4 .product__columns {
        gap: 16px;
        grid-template-areas:
            "heading"
            "meta"
            "media"
            "purchase";
    }

    #js-product-page.product.sf-product-v4 .sf-product-hero__summary {
        display: contents;
    }

    #js-product-page.product.sf-product-v4 .sf-product-summary__header {
        grid-area: heading;
    }

    #js-product-page.product.sf-product-v4 .sf-product-meta {
        grid-area: meta;
    }

    #js-product-page.product.sf-product-v4 .sf-product-hero__media,
    #js-product-page.product.sf-product-v4 .product__gallery {
        grid-area: media;
    }

    #js-product-page.product.sf-product-v4 .product__cart {
        grid-area: purchase;
    }

    #js-product-page.product.sf-product-v4 .sf-product-hero__summary > .sf-product-menu {
        display: none;
    }

    #js-product-page.product.sf-product-v4 .product__header,
    #js-product-page.product.sf-product-v4 .sf-product-summary__header {
        /* The grid gap owns this rhythm. Extra legacy margins pushed the
           thumbnail controls into the fixed mobile footer on long titles. */
        margin-bottom: 0;
    }

    #js-product-page.product.sf-product-v4 .product__header h1,
    #js-product-page.product.sf-product-v4 .sf-product-title {
        font-size: clamp(23px, 7vw, 30px);
    }

    #js-product-page.product.sf-product-v4 .product__slider-main {
        aspect-ratio: 1.2 / 1;
        border-radius: 16px;
    }

    #js-product-page.product.sf-product-v4 .product__slider-thumbs {
        height: 68px;
    }

    #js-product-page.product.sf-product-v4 .product__slider-thumbs .swiper-slide {
        flex-basis: 68px;
        height: 68px;
        width: 68px !important;
    }

    #js-product-page.product.sf-product-v4 .sf-product-thumbs-row {
        gap: 8px;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        scroll-margin-block-end: calc(var(--sf-v4-mobile-footer-safe-area) + 12px);
    }

    #js-product-page.product.sf-product-v4 .sf-product-gallery-nav {
        height: 44px;
        width: 44px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-gallery-badges,
    #js-product-page.product.sf-product-v4 .sf-product-badges,
    #js-product-page.product.sf-product-v4 [data-sf-gallery-badges] {
        gap: 6px;
        left: 9px;
        max-width: calc(100% - 18px);
        top: 9px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-gallery-badge,
    #js-product-page.product.sf-product-v4 .sf-product-badge,
    #js-product-page.product.sf-product-v4 [data-sf-gallery-badges] > span {
        border-radius: 9px;
        font-size: 11px;
        padding: 7px 9px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-meta {
        display: grid;
        gap: 6px 10px;
        grid-template-areas:
            "rating favorite"
            "sku share";
        grid-template-columns: minmax(0, 1fr) auto;
        margin-bottom: 0;
        width: 100%;
    }

    #js-product-page.product.sf-product-v4 .sf-product-rating {
        grid-area: rating;
        min-width: 0;
    }

    #js-product-page.product.sf-product-v4 .product__favorites {
        grid-area: favorite;
    }

    #js-product-page.product.sf-product-v4 .sf-product-code {
        background: var(--sf-v4-primary-soft);
        border-radius: 11px;
        grid-area: sku;
        justify-self: start;
        max-width: 100%;
        min-width: 0;
        padding: 0 8px 0 11px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-code__label {
        display: inline;
        flex: 0 0 auto;
    }

    #js-product-page.product.sf-product-v4 .sf-product-code__value {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #js-product-page.product.sf-product-v4 .sf-product-share {
        grid-area: share;
        justify-self: end;
        margin-left: 0;
    }

    #js-product-page.product.sf-product-v4 .sf-product-share__trigger span {
        display: none;
    }

    #js-product-page.product.sf-product-v4 .sf-product-share__trigger {
        justify-content: center;
        padding: 0;
        width: 44px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-share__popover {
        max-width: calc(100vw - 24px);
    }

    #js-product-page.product.sf-product-v4 .sf-product-video-trigger,
    #js-product-page.product.sf-product-v4 .product__gallery .sf-video-button {
        bottom: 9px;
        left: 9px;
    }

    #js-product-page.product.sf-product-v4 .product__form,
    #js-product-page.product.sf-product-v4 .sf-product-purchase-card,
    #js-product-page.product.sf-product-v4 .product__features,
    #js-product-page.product.sf-product-v4 .product__description,
    #js-product-page.product.sf-product-v4 .product__treviews {
        border-radius: 16px;
        padding: 15px;
    }

    #js-product-page.product.sf-product-v4 .product__add2cart.js-top {
        grid-template-columns: minmax(0, 1fr);
    }

    #js-product-page.product.sf-product-v4 .product__pr-price-new,
    #js-product-page.product.sf-product-v4 .product__pr-price-new.price {
        font-size: 35px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-bonus-note {
        max-width: none;
    }

    #js-product-page.product.sf-product-v4 .product__add2cart-qty {
        grid-template-columns: minmax(0, 1fr);
    }

    #js-product-page.product.sf-product-v4 .product__calc {
        border: 1px solid var(--sf-v4-border);
        border-radius: 12px;
        min-height: 64px;
        padding: 10px 12px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-minimum-row {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0 12px;
        margin-inline: -12px;
        padding-inline: 12px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-minimum-note {
        flex-wrap: wrap;
        gap: 2px 5px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-rules {
        margin-left: auto;
    }

    #js-product-page.product.sf-product-v4 .addons__list {
        align-items: stretch;
        box-sizing: border-box;
        display: grid !important;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
        max-width: 100%;
        overflow: visible;
        padding: 0;
        scroll-padding-inline: 0;
        scroll-snap-type: none;
        width: 100%;
    }

    #js-product-page.product.sf-product-v4 .addons__list-item {
        flex: none;
        max-width: none;
        min-width: 0;
        scroll-snap-align: none;
        width: auto;
    }

    #js-product-page.product.sf-product-v4 .addons__list-item.is-open,
    #js-product-page.product.sf-product-v4 .addons__list-item--notice {
        grid-column: 1 / -1;
    }

    #js-product-page.product.sf-product-v4 .addon__item {
        gap: 8px;
        min-height: 72px;
        padding: 9px 31px 9px 9px;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details--card > summary.addon__item {
        box-sizing: border-box;
        min-height: 72px;
        overflow: hidden;
        padding: 9px 31px 9px 9px;
    }

    /* The desktop card uses height:100% to equalise the five-column row. On
       mobile an opened <details> spans both grid columns, so that explicit
       height turns its in-flow content into visual overflow. Let the native
       disclosure establish its own height and keep the closed card minimum. */
    #js-product-page.product.sf-product-v4 .addons__list-item--details .sf-benefit-details--card {
        height: auto;
        min-height: 72px;
    }

    #js-product-page.product.sf-product-v4 .addon__item-icon {
        flex-basis: 36px;
        height: 36px;
        width: 36px;
    }

    #js-product-page.product.sf-product-v4 .addon__item-icon .icon,
    #js-product-page.product.sf-product-v4 .addon__item-icon svg {
        height: 20px;
        width: 20px;
    }

    #js-product-page.product.sf-product-v4 .addon__item-info strong {
        font-size: 12px;
    }

    #js-product-page.product.sf-product-v4 .addon__item-info > span {
        font-size: 11px;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details__content {
        background: #fff;
        border: 0;
        border-top: 1px solid var(--sf-v4-border);
        border-radius: 0 0 13px 13px;
        box-shadow: none;
        left: auto;
        margin: 0 9px 9px;
        max-width: none;
        padding: 10px 2px 2px;
        position: static;
        right: auto;
        top: auto;
        width: auto;
    }

    #js-product-page.product.sf-product-v4 .sf-benefit-details__discounts {
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }

    #js-product-page.product.sf-product-v4 [data-sf-wantcut-toggle] {
        display: flex;
        flex-direction: column !important;
    }

    #js-product-page.product.sf-product-v4 [data-sf-wantcut-toggle] .wc-classic__title {
        order: 0;
    }

    #js-product-page.product.sf-product-v4 [data-sf-wantcut-toggle] .wc-classic__eyebrow {
        order: 1;
    }

    #js-product-page.product.sf-product-v4 .sf-wantcut-mobile-note {
        color: var(--sf-v4-muted);
        font-size: 10px;
        line-height: 1.3;
        margin-top: 4px;
        order: 2;
    }

    #js-product-page.product.sf-product-v4 .sf-wantcut-mobile-body {
        min-width: 0;
    }

    #js-product-page.product.sf-product-v4 .sf-product-section-heading,
    #js-product-page.product.sf-product-v4 .sf-product-reviews-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-section-link,
    #js-product-page.product.sf-product-v4 .sf-product-reviews-cta {
        min-height: 44px;
    }

    #js-product-page.product.sf-product-v4 .product-features .features-item {
        gap: 8px;
        grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr);
    }

    #js-product-page.product.sf-product-v4 .wc-classic__progress-line,
    #js-product-page.product.sf-product-v4 .wc-classic__time-line,
    #js-product-page.product.sf-product-v4 .wc-order-row {
        grid-template-columns: minmax(0, 1fr);
    }

    #js-product-page.product.sf-product-v4 .wc-classic__progress-line > span,
    #js-product-page.product.sf-product-v4 .wc-classic__time-line > span:last-child {
        white-space: normal;
    }

    #js-product-page.product.sf-product-v4 .wc-classic__metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #js-product-page.product.sf-product-v4 .wc-classic__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* The native review form remains the source of truth; on mobile it is moved
   into this accessible slide-over without changing its submit endpoint. */
#js-product-page.product.sf-product-v4 .sf-product-review-drawer {
    display: none;
}

@media (max-width: 767px) {
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer {
        display: block;
        inset: 0;
        pointer-events: none;
        position: fixed;
        visibility: hidden;
        z-index: 10050;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer.is-open {
        pointer-events: auto;
        visibility: visible;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__backdrop {
        background: rgba(20, 8, 35, .48);
        border: 0;
        inset: 0;
        opacity: 0;
        padding: 0;
        position: absolute;
        transition: opacity .24s ease;
        touch-action: none;
        width: 100%;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer.is-open .sf-product-review-drawer__backdrop {
        opacity: 1;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__panel {
        background: var(--sf-v4-surface);
        box-shadow: -16px 0 42px rgba(24, 8, 39, .2);
        display: flex;
        flex-direction: column;
        height: 100%;
        height: 100dvh;
        margin-left: auto;
        max-height: 100dvh;
        max-width: 430px;
        outline: 0;
        padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
        position: relative;
        transform: translateX(100%);
        transition: transform .26s cubic-bezier(.22, 1, .36, 1);
        width: min(100%, 430px);
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer.is-open .sf-product-review-drawer__panel {
        transform: translateX(0);
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__header {
        align-items: flex-start;
        border-bottom: 1px solid var(--sf-v4-border);
        display: flex;
        flex: 0 0 auto;
        gap: 12px;
        justify-content: space-between;
        padding: 16px 14px 13px 18px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__kicker {
        color: var(--sf-v4-primary);
        font-size: 12px;
        font-weight: 750;
        margin: 0 0 3px;
        text-transform: uppercase;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__header h2 {
        color: var(--sf-v4-text);
        font-size: 18px;
        line-height: 1.25;
        margin: 0;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__close {
        align-items: center;
        background: var(--sf-v4-primary-soft);
        border: 0;
        border-radius: 12px;
        color: var(--sf-v4-primary-dark);
        cursor: pointer;
        display: inline-flex;
        flex: 0 0 44px;
        height: 44px;
        justify-content: center;
        padding: 0;
        width: 44px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content {
        flex: 1 1 auto;
        min-height: 0;
        overscroll-behavior: contain;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 18px 18px calc(24px + env(safe-area-inset-bottom, 0px));
        scroll-padding-bottom: 96px;
        -webkit-overflow-scrolling: touch;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form {
        display: block !important;
        margin: 0;
        max-width: none;
        padding: 0;
        width: 100%;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form-wrapper,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form-form,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content input,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content select,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content textarea {
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content input,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content select,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content textarea,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content button {
        font-size: 16px;
        min-height: 44px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form-wrapper {
        background: var(--sf-v4-surface-soft);
        border: 1px solid var(--sf-v4-border);
        border-radius: 15px;
        padding: 15px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form-header {
        color: var(--sf-v4-text);
        font-size: 18px;
        font-weight: 780;
        line-height: 1.3;
        margin: 0 0 14px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form-form,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form-custom__fields {
        display: grid;
        gap: 12px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form-field {
        display: grid;
        gap: 7px;
        margin: 0;
        min-width: 0;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form-name,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form-label {
        color: var(--sf-v4-text);
        font-size: 13px;
        font-weight: 680;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content input[type="text"],
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content input[type="email"],
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content select,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content textarea {
        background: #fff;
        border: 1px solid var(--sf-v4-control-border);
        border-radius: 11px;
        color: var(--sf-v4-text);
        padding: 10px 12px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content textarea {
        min-height: 104px;
        resize: vertical;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content input:focus,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content select:focus,
    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content textarea:focus {
        border-color: var(--sf-v4-primary);
        box-shadow: 0 0 0 3px rgba(133, 0, 162, .14);
        outline: 0;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .recommend-field > .reviews__form-field {
        align-items: start;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .reviews__form-label {
        align-items: center;
        display: flex;
        gap: 6px;
        min-height: 44px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-review-drawer__content .submit-field button[type="submit"] {
        background: linear-gradient(90deg, #65008f 0%, #9200b3 100%);
        border: 0;
        border-radius: 11px;
        color: #fff;
        cursor: pointer;
        font-weight: 760;
        padding: 10px 16px;
        width: 100%;
    }

    #js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__stats {
        align-items: stretch;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    #js-product-page.product.sf-product-v4 .product__treviews-ajax .rating__stats-dashboard {
        display: none;
    }

    #js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item {
        gap: 9px;
        grid-template-columns: 36px minmax(0, 1fr);
    }

    #js-product-page.product.sf-product-v4 .product__treviews-ajax .review__item-icon {
        height: 36px;
        width: 36px;
    }
}

#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form,
#js-product-page.product.sf-product-v4 .product__treviews-ajax .js-reviews-form-no-user {
    display: none;
}

@media (max-width: 420px) {
    #js-product-page.product.sf-product-v4 .sf-product-rating__text span {
        display: none;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] {
        margin-left: 0;
        width: 100%;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__topline {
        align-items: center;
        gap: 8px;
        min-height: 65px;
        padding: 10px 54px 8px 12px;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .sf-wantcut-actions {
        gap: 5px;
        right: 6px;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-status {
        padding: 5px 7px;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .sf-wantcut-overview {
        gap: 10px;
        padding-inline: 12px;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .sf-wantcut-time {
        gap: 6px;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .sf-wantcut-time__icon {
        flex-basis: 32px;
        height: 32px;
        width: 32px;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .sf-wantcut-time__icon svg {
        height: 30px;
        width: 30px;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__progress-line {
        padding-inline: 12px;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .sf-wantcut-secondary {
        padding-inline: 12px;
    }

    #js-product-page.product.sf-product-v4 .wc-widget[data-sf-reference-layout="true"] .wc-classic__summary {
        margin: 0 12px 8px;
        min-height: 46px;
        padding-left: 16px;
        padding-right: 54px;
    }

}

@media (max-width: 767px) and (max-height: 700px) {
    #js-product-page.product.sf-product-v4 .sf-product-thumbs-row {
        /* The 375x667 QA baseline needed 39.125px to clear the 64px fixed
           footer by 4px. Forty pixels is the smallest whole-pixel safe gap. */
        margin-top: 40px;
    }
}

@media (max-width: 359px) {
    #js-product-page.product.sf-product-v4 .sf-product-code {
        align-items: flex-start;
        flex-wrap: wrap;
        height: auto;
        min-height: 44px;
    }

    #js-product-page.product.sf-product-v4 .sf-product-code__value {
        flex: 1 1 auto;
        min-width: 4.5ch;
        overflow: visible;
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
    }

    #js-product-page.product.sf-product-v4 .product-features .features-item {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    #js-product-page.product.sf-product-v4 *,
    #js-product-page.product.sf-product-v4 *::before,
    #js-product-page.product.sf-product-v4 *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
