/* Shared website and Telegram Mini App component styles. */
:where(body:not([data-api-base]), #page-product) .product-description p {
    white-space: break-spaces;
    overflow-wrap: anywhere;
}

:where(body:not([data-api-base]), #page-product) .size-selector {
    margin-bottom: 24px;
}

:where(body:not([data-api-base]), #page-product) .size-selector > label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

:where(body:not([data-api-base]), #page-product) .size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

:where(body:not([data-api-base]), #page-product) .size-option {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

:where(body:not([data-api-base]), #page-product) .size-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

:where(body:not([data-api-base]), #page-product) .size-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 44px;
    padding: 8px 12px;
    border: 2px solid rgba(253, 181, 221, 0.4);
    border-radius: 14px;
    background: white;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

:where(body:not([data-api-base]), #page-product) .size-option input:checked + .size-label,
:where(body:not([data-api-base]), #page-product) .size-option[aria-checked="true"] .size-label {
    border-color: var(--accent-color);
    background: #fef5f7;
}

:where(body:not([data-api-base]), #page-product) .size-option input:focus-visible + .size-label,
:where(body:not([data-api-base]), #page-product) .size-option:focus-visible .size-label {
    outline: 2px solid var(--accent-hover);
    outline-offset: 3px;
}

:where(body:not([data-api-base]), #page-product) .product-detail-page {
    padding: 100px 0 80px;
    min-height: 100vh;
}

body:not([data-api-base]) .product-detail-page {
    padding-top: calc(var(--trust-ticker-height) + 96px);
}

:where(body:not([data-api-base]), #page-product) .mobile-sticky-buy {
    display: none;
}

:where(body:not([data-api-base]), #page-product) .product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

:where(body:not([data-api-base]), #page-product) .product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

:where(body:not([data-api-base]), #page-product) .main-image {
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(body:not([data-api-base]), #page-product) .product-detail-photo {
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

:where(body:not([data-api-base]), #page-product) .product-secondary-image {
    display: none;
}

@media (min-width: 969px) {
    :where(body:not([data-api-base]), #page-product) .product-detail-page--two-images > .container {
        width: calc(100% - 48px);
        max-width: 1680px;
        padding-left: 0;
        padding-right: 0;
    }

    :where(body:not([data-api-base]), #page-product) .product-detail-container--two-images {
        grid-template-columns: minmax(180px, 0.7fr) minmax(250px, 1fr) minmax(350px, 1.25fr);
        gap: 48px;
        align-items: start;
    }

    :where(body:not([data-api-base]), #page-product) .product-detail-container--two-images .product-gallery {
        display: contents;
        position: static;
    }

    :where(body:not([data-api-base]), #page-product) .product-detail-container--two-images .main-image {
        grid-column: 1;
        height: 620px;
    }

    :where(body:not([data-api-base]), #page-product) .product-detail-container--two-images .product-detail-photo {
        max-height: 620px;
    }

    :where(body:not([data-api-base]), #page-product) .product-detail-container--two-images .main-image,
    :where(body:not([data-api-base]), #page-product) .product-detail-container--two-images .product-secondary-image {
        transform: translateX(clamp(-48px, -3vw, -24px));
    }

    :where(body:not([data-api-base]), #page-product) .product-detail-container--two-images .product-secondary-image {
        display: block;
        grid-column: 2;
        height: 620px;
        overflow: hidden;
        border-radius: 12px;
    }

    :where(body:not([data-api-base]), #page-product) .product-detail-container--two-images .product-secondary-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    :where(body:not([data-api-base]), #page-product) .product-detail-container--two-images .product-details {
        grid-column: 3;
        min-width: 0;
    }

    :where(body:not([data-api-base]), #page-product) .product-detail-container--two-images .product-thumbnails {
        display: none;
    }
}

:where(body:not([data-api-base]), #page-product) .product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding: 2px;
}

:where(body:not([data-api-base]), #page-product) .product-thumbnail {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

:where(body:not([data-api-base]), #page-product) .product-thumbnail:hover,
:where(body:not([data-api-base]), #page-product) .product-thumbnail.is-active {
    border-color: var(--accent-color);
}

:where(body:not([data-api-base]), #page-product) .product-thumbnail:hover {
    transform: translateY(-2px);
}

:where(body:not([data-api-base]), #page-product) .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 9px;
}

:where(body:not([data-api-base]), #page-product) .product-detail-placeholder {
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    min-height: 320px;
    border-radius: 24px;
    background: #e5e7eb;
    color: #9ca3af;
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 600;
}

:where(body:not([data-api-base]), #page-product) .product-detail-placeholder::after {
    content: 'Фото відсутнє';
}

:where(body:not([data-api-base]), #page-product) .product-details h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

:where(body:not([data-api-base]), #page-product) .brand-name {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

:where(body:not([data-api-base]), #page-product) .price-section {
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

:where(body:not([data-api-base]), #page-product) .price-with-discount {
    display: flex;
    align-items: center;
    gap: 15px;
}

:where(body:not([data-api-base]), #page-product) .old-price {
    font-size: 22px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

:where(body:not([data-api-base]), #page-product) .new-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

:where(body:not([data-api-base]), #page-product) .discount-badge-large {
    background: var(--discount-badge-bg, #c52222);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
}

:where(body:not([data-api-base]), #page-product) .single-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

:where(body:not([data-api-base]), #page-product) .product-meta {
    margin-bottom: 40px;
}

:where(body:not([data-api-base]), #page-product) .meta-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

:where(body:not([data-api-base]), #page-product) .meta-label {
    font-size: 15px;
    color: var(--text-secondary);
}

:where(body:not([data-api-base]), #page-product) .meta-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

:where(body:not([data-api-base]), #page-product) .meta-value.in-stock {
    color: #32CD32;
}

:where(body:not([data-api-base]), #page-product) .add-to-cart-form {
    margin-bottom: 40px;
}

/* Desktop: hide the mobile-only CTA wrapper, show plain button */
@media (min-width: 969px) {
    :where(body:not([data-api-base]), #page-product) .price-section {
        padding: 7px 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    :where(body:not([data-api-base]), #page-product) .mobile-cart-cta {
        background: none;
        border: none;
        padding: 0;
        box-shadow: none;
        margin-top: 0;
    }
    :where(body:not([data-api-base]), #page-product) .mobile-trust-strip {
        display: none !important;
    }
    :where(body:not([data-api-base]), #page-product) .add-to-cart-form .add-to-cart-btn::before {
        display: none;
    }
}

:where(body:not([data-api-base]), #page-product) .quantity-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

:where(body:not([data-api-base]), #page-product) .quantity-selector label {
    font-size: 16px;
    font-weight: 500;
}

:where(body:not([data-api-base]), #page-product) .qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid rgba(253, 181, 221, 0.4);
    border-radius: 50px;
    overflow: hidden;
    width: fit-content;
}

:where(body:not([data-api-base]), #page-product) .qty-btn {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: 400;
    color: var(--accent-color);
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

:where(body:not([data-api-base]), #page-product) .qty-btn:hover {
    background: rgba(253, 181, 221, 0.12);
}

:where(body:not([data-api-base]), #page-product) .qty-btn:active {
    background: rgba(253, 181, 221, 0.25);
}

:where(body:not([data-api-base]), #page-product) .quantity-selector input {
    width: 60px;
    padding: 10px 4px;
    border: none;
    border-left: 1px solid rgba(253, 181, 221, 0.3);
    border-right: 1px solid rgba(253, 181, 221, 0.3);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    background: transparent;
    -moz-appearance: textfield;
}

:where(body:not([data-api-base]), #page-product) .quantity-selector input::-webkit-outer-spin-button,
:where(body:not([data-api-base]), #page-product) .quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Website quantity control matches the pink sticky buy button. */
body:not([data-api-base]) .product-detail-page .qty-control {
    zoom: 0.9;
    background: linear-gradient(135deg, #FDB5DD 0%, #EF95C7 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(253, 181, 221, 0.25);
    transition: box-shadow 0.2s ease;
}

body:not([data-api-base]) .product-detail-page .qty-control:hover,
body:not([data-api-base]) .product-detail-page .qty-control:focus-within {
    box-shadow: 0 0 0 3px rgba(253, 181, 221, 0.25), 0 6px 20px rgba(239, 149, 199, 0.45);
}

body:not([data-api-base]) .product-detail-page .qty-control:active {
    box-shadow: 0 0 0 4px rgba(253, 181, 221, 0.35), 0 4px 16px rgba(239, 149, 199, 0.55);
}

body:not([data-api-base]) .product-detail-page .qty-btn,
body:not([data-api-base]) .product-detail-page .quantity-selector input {
    color: #fff;
    font-weight: 700;
}

body:not([data-api-base]) .product-detail-page .quantity-selector input {
    -webkit-text-fill-color: #fff;
    caret-color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

body:not([data-api-base]) .product-detail-page .qty-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

body:not([data-api-base]) .product-detail-page .qty-btn:active {
    background: rgba(255, 255, 255, 0.3);
}

:where(body:not([data-api-base]), #page-product) .add-to-cart-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

:where(body:not([data-api-base]), #page-product) .add-to-cart-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(253, 181, 221, 0.4);
}

:where(body:not([data-api-base]), #page-product) .add-to-cart-btn.disabled {
    background: #d0d0d0;
    cursor: not-allowed;
}

:where(body:not([data-api-base]), #page-product) .product-description,
:where(body:not([data-api-base]), #page-product) .product-notes {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

:where(body:not([data-api-base]), #page-product) .product-description h3,
:where(body:not([data-api-base]), #page-product) .product-notes h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

:where(body:not([data-api-base]), #page-product) .product-description p {
    font-size: 17px;
    line-height: 1.7;
    color: #111;
}

:where(body:not([data-api-base]), #page-product) .note-section {
    margin-bottom: 25px;
}

:where(body:not([data-api-base]), #page-product) .note-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

:where(body:not([data-api-base]), #page-product) .note-section p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Варіанти об'єму (розпив) - СУЧАСНИЙ ДИЗАЙН */
:where(body:not([data-api-base]), #page-product) .volume-selector {
    margin-bottom: 35px;
    padding: 25px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

:where(body:not([data-api-base]), #page-product) .volume-selector--requires-selection {
    border: 2px solid #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.14);
    scroll-margin-top: 24px;
}

:where(body:not([data-api-base]), #page-product) .volume-selection-required {
    margin: -8px 0 18px;
    color: #dc3545;
    font-weight: 700;
    line-height: 1.4;
}

:where(body:not([data-api-base]), #page-product) .volume-selector > label {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

:where(body:not([data-api-base]), #page-product) .volume-selector > label::before {
    content: "💧 ";
    margin-right: 8px;
}

:where(body:not([data-api-base]), #page-product) .volume-selector--body-spray > label::before {
    content: none;
    margin-right: 0;
}

:where(body:not([data-api-base]), #page-product) .volume-selector--body-spray .volume-price {
    align-self: center;
    text-align: center;
}

@media (min-width: 969px) {
    :where(body:not([data-api-base]), #page-product) .volume-selector--body-spray > label {
        font-size: 23px;
    }

    :where(body:not([data-api-base]), #page-product) .volume-selector--body-spray .volume-price {
        font-size: 14px;
        letter-spacing: 0;
        white-space: nowrap;
    }
}

:where(body:not([data-api-base]), #page-product) .volume-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

:where(body:not([data-api-base]), #page-product) .volume-option {
    position: relative;
    cursor: pointer;
    display: block;
}

:where(body:not([data-api-base]), #page-product) .volume-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

:where(body:not([data-api-base]), #page-product) .volume-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border: 3px solid rgba(253, 181, 221, 0.2);
    border-radius: 18px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    overflow: hidden;
}

:where(body:not([data-api-base]), #page-product) .volume-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FDB5DD 0%, #F4A5D1 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

:where(body:not([data-api-base]), #page-product) .volume-option input[type="radio"]:checked + .volume-label::before,
:where(body:not([data-api-base]), #page-product) .volume-option[aria-checked="true"] .volume-label::before {
    transform: scaleX(1);
}

:where(body:not([data-api-base]), #page-product) .volume-option input[type="radio"]:checked + .volume-label,
:where(body:not([data-api-base]), #page-product) .volume-option[aria-checked="true"] .volume-label {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(253, 181, 221, 0.08) 0%, rgba(244, 165, 209, 0.12) 100%);
    box-shadow: 0 8px 25px rgba(253, 181, 221, 0.25);
    transform: translateY(-4px);
}

:where(body:not([data-api-base]), #page-product) .volume-option:hover:not(.disabled) .volume-label {
    border-color: rgba(253, 181, 221, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

:where(body:not([data-api-base]), #page-product) .volume-option.disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

:where(body:not([data-api-base]), #page-product) .volume-option.disabled .volume-label {
    background: #f8f8f8;
}

:where(body:not([data-api-base]), #page-product) .volume-size {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

:where(body:not([data-api-base]), #page-product) .volume-size::before {
    content: '✨';
    font-size: 16px;
}

:where(body:not([data-api-base]), #page-product) .volume-price {
    font-weight: 800;
    color: var(--accent-color);
    font-size: 22px;
    letter-spacing: -0.5px;
}

:where(body:not([data-api-base]), #page-product) .volume-stock-out {
    color: #ff3b30;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    background: rgba(255, 59, 48, 0.1);
    border-radius: 8px;
    align-self: flex-start;
}

:where(body:not([data-api-base]), #page-product) .volume-stock-low {
    color: #ff9500;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(255, 149, 0, 0.1);
    border-radius: 8px;
    align-self: flex-start;
}

@media (max-width: 968px) {
    :where(body:not([data-api-base]), #page-product) .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    :where(body:not([data-api-base]), #page-product) .product-gallery {
        position: static;
    }

    :where(body:not([data-api-base]), #page-product) .product-details h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    :where(body:not([data-api-base]), #page-product) .brand-name {
        font-size: 16px;
    }

    :where(body:not([data-api-base]), #page-product) .new-price,
    :where(body:not([data-api-base]), #page-product) .single-price {
        font-size: 28px;
    }

    :where(body:not([data-api-base]), #page-product) .old-price {
        font-size: 18px;
    }

    :where(body:not([data-api-base]), #page-product) .volume-options {
        grid-template-columns: repeat(2, 1fr);
    }

    :where(body:not([data-api-base]), #page-product) .volume-label {
        padding: 15px;
    }

    :where(body:not([data-api-base]), #page-product) .volume-size {
        font-size: 16px;
    }

    :where(body:not([data-api-base]), #page-product) .volume-price {
        font-size: 18px;
    }

    /* Padding so content doesn't hide behind bottom nav */
    :where(body:not([data-api-base]), #page-product) .product-detail-page {
        padding-bottom: 120px;
    }

    /* ─── Beautiful inline mobile CTA section ─── */
    :where(body:not([data-api-base]), #page-product) .mobile-cart-cta {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: linear-gradient(145deg, #fff9f9 0%, #fff5f5 100%);
        border: 1.5px solid rgba(253, 181, 221, 0.25);
        border-radius: 24px;
        padding: 20px;
        margin-top: 4px;
        box-shadow:
            0 4px 20px rgba(253, 181, 221, 0.12),
            0 1px 4px rgba(0,0,0,0.04);
    }

    /* Inline add-to-cart button: premium mobile style */
    :where(body:not([data-api-base]), #page-product) .add-to-cart-form .add-to-cart-btn {
        width: 100%;
        padding: 19px 24px;
        background: linear-gradient(135deg, #FDB5DD 0%, #b87c7c 100%);
        color: white;
        border: none;
        border-radius: 20px;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        letter-spacing: 0.2px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow:
            0 8px 28px rgba(184, 124, 124, 0.45),
            0 2px 6px rgba(0,0,0,0.08);
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        -webkit-tap-highlight-color: transparent;
        position: relative;
        overflow: hidden;
    }

    :where(body:not([data-api-base]), #page-product) .add-to-cart-form .add-to-cart-btn::before {
        content: '';
        position: absolute;
        top: 0; left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
        transform: skewX(-20deg);
        animation: btn-shimmer 3s ease-in-out infinite;
    }

    @keyframes btn-shimmer {
        0%   { left: -100%; }
        50%  { left: 150%; }
        100% { left: 150%; }
    }

    :where(body:not([data-api-base]), #page-product) .add-to-cart-form .add-to-cart-btn:active {
        transform: scale(0.97);
        box-shadow: 0 4px 14px rgba(184, 124, 124, 0.35);
    }

    :where(body:not([data-api-base]), #page-product) .add-to-cart-form .add-to-cart-btn.disabled {
        background: #d0d0d0;
        box-shadow: none;
        animation: none;
    }

    /* Trust signals strip below button */
    :where(body:not([data-api-base]), #page-product) .mobile-trust-strip {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(253, 181, 221, 0.15);
    }

    :where(body:not([data-api-base]), #page-product) .mobile-trust-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        min-width: 0;
        font-size: 10.5px;
        color: #999;
        font-weight: 500;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
    }

    :where(body:not([data-api-base]), #page-product) .mobile-trust-item svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        opacity: 0.6;
    }

    :where(body:not([data-api-base]), #page-product) .mobile-sticky-buy {
        display: block;
        position: fixed;
        left: 6px;
        right: 6px;
        bottom: 0;
        z-index: 450;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(253, 181, 221, 0.2);
        border-bottom: none;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -8px 32px rgba(74, 50, 50, 0.12);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: none;
    }

    :where(body:not([data-api-base]), #page-product) .product-sticky-inner {
        display: flex;
        align-items: center;
        gap: 14px;
        max-width: 600px;
        margin: 0 auto;
    }

    :where(body:not([data-api-base]), #page-product) .product-sticky-price {
        display: flex;
        flex: 1;
        min-width: 0;
        flex-direction: column;
    }

    :where(body:not([data-api-base]), #page-product) .product-sticky-price span {
        color: #888;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    :where(body:not([data-api-base]), #page-product) .product-sticky-price strong {
        font-size: 20px;
        line-height: 1.2;
        white-space: nowrap;
    }

    :where(body:not([data-api-base]), #page-product) .mobile-sticky-buy .mobile-sticky-btn {
        width: auto;
        min-width: 142px;
        min-height: 48px;
        padding: 13px 20px;
        border-radius: 14px;
        font-size: 15px;
        white-space: nowrap;
        box-shadow: 0 6px 18px rgba(184, 141, 141, 0.32);
    }

    :where(body:not([data-api-base]), #page-product) .quantity-selector input {
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    body:not([data-api-base]) .product-detail-page .qty-control {
        zoom: 0.72;
    }

    body:not([data-api-base]) .product-detail-page .add-to-cart-form .add-to-cart-btn:not(:disabled):not(.disabled),
    body:not([data-api-base]) .mobile-sticky-buy .mobile-sticky-btn:not(:disabled):not(.disabled) {
        background: var(--accent-color);
        box-shadow: 0 4px 12px rgba(253, 181, 221, 0.25);
    }

    body:not([data-api-base]) .product-detail-page .add-to-cart-form .add-to-cart-btn:not(:disabled):not(.disabled):hover,
    body:not([data-api-base]) .mobile-sticky-buy .mobile-sticky-btn:not(:disabled):not(.disabled):hover {
        background: var(--accent-hover);
    }

    body:not([data-api-base]) .product-detail-page .add-to-cart-form .add-to-cart-btn::before,
    body:not([data-api-base]) .mobile-sticky-buy .mobile-sticky-btn::before {
        content: none;
    }

    :where(body:not([data-api-base]), #page-product) .product-detail-page {
        padding-bottom: calc(190px + env(safe-area-inset-bottom, 0px));
    }

    /* The website footer provides scroll room below the fixed buy/navigation bars. */
    body:not([data-api-base]) .product-detail-page {
        min-height: 0;
        padding-bottom: 24px;
    }

    body:not([data-api-base]) .product-detail-page .add-to-cart-form {
        margin-bottom: 20px;
    }

    body:not([data-api-base]) .product-detail-page .product-description {
        margin-top: 20px;
        padding-top: 20px;
    }

    body:not([data-api-base]) .product-detail-page .product-description h3 {
        margin-bottom: 13px;
    }

    body:not([data-api-base]) .product-detail-page .product-notes {
        margin-top: 12px;
        padding-top: 12px;
    }

    :where(body:not([data-api-base]), #page-product) .price-section {
        padding: 15px 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    :where(body:not([data-api-base]), #page-product) .price-section .new-price,
    :where(body:not([data-api-base]), #page-product) .price-section .single-price {
        font-size: 21px;
    }

    :where(body:not([data-api-base]), #page-product) .price-section .old-price {
        font-size: 14px;
    }

    :where(body:not([data-api-base]), #page-product) .product-meta {
        margin-bottom: 18px;
    }

    :where(body:not([data-api-base]), #page-product) .volume-selector--body-spray .volume-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    :where(body:not([data-api-base]), #page-product) .volume-selector--body-spray .volume-label {
        gap: 4px;
        padding: 10px 6px;
        border-width: 2px;
        border-radius: 12px;
    }

    :where(body:not([data-api-base]), #page-product) .volume-selector--body-spray .volume-size {
        font-size: 14px;
    }

    :where(body:not([data-api-base]), #page-product) .volume-selector--body-spray .volume-size::before {
        display: none;
    }

    :where(body:not([data-api-base]), #page-product) .volume-selector--body-spray .volume-price {
        font-size: 13px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    :where(body:not([data-api-base]), #page-product) .volume-selector--body-spray ~ .quantity-selector .qty-control {
        border-width: 1px;
    }

    :where(body:not([data-api-base]), #page-product) .volume-selector--body-spray ~ .quantity-selector .qty-btn {
        width: 31px;
        height: 31px;
        font-size: 16px;
    }

    :where(body:not([data-api-base]), #page-product) .volume-selector--body-spray ~ .quantity-selector input {
        width: 42px;
        min-height: 31px;
        padding: 5px 3px;
        font-size: 14px;
    }

    :where(body:not([data-api-base]), #page-product) .mobile-sticky-buy {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
}

/* Website purchase controls: white quantity selector and a flat brand-pink CTA. */
#addToCartForm .product-purchase {
    display: block;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
#addToCartForm .product-purchase-row {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
}
#addToCartForm .purchase-quantity {
    display: block;
    position: relative;
    min-width: 0;
    margin: 0;
}
#addToCartForm .purchase-quantity__control {
    position: relative;
    height: 48px;
    color: #343039;
}
#addToCartForm .purchase-quantity__control select {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 100%;
    padding: 0 26px 0 12px;
    border: 1px solid #e8dfe4;
    border-radius: 3px;
    background: #fff;
    color: #343039;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
#addToCartForm .purchase-quantity__control svg {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}
#addToCartForm .product-purchase-row > .add-to-cart-btn,
body:not([data-api-base]) #mobileStickyAddButton {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 3px;
    background: var(--accent-color);
    color: #343039;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: none;
    transform: none;
    transition: background 0.15s ease;
}
#addToCartForm .product-purchase-row > .add-to-cart-btn { width: 100%; }
#addToCartForm .product-purchase-row > .add-to-cart-btn::before,
body:not([data-api-base]) #mobileStickyAddButton::before { content: none; }
#addToCartForm .product-purchase-row > .add-to-cart-btn:hover:not(:disabled),
#addToCartForm .product-purchase-row > .add-to-cart-btn:active:not(:disabled),
body:not([data-api-base]) #mobileStickyAddButton:hover:not(:disabled),
body:not([data-api-base]) #mobileStickyAddButton:active:not(:disabled) {
    background: var(--accent-hover);
    box-shadow: none;
    transform: none;
}
#addToCartForm .product-purchase-row > .add-to-cart-btn:disabled,
body:not([data-api-base]) #mobileStickyAddButton:disabled { opacity: 0.6; cursor: wait; }
#addToCartForm .purchase-quantity__control select:focus-visible,
#addToCartForm .product-purchase-row > .add-to-cart-btn:focus-visible,
body:not([data-api-base]) #mobileStickyAddButton:focus-visible {
    outline: 2px solid #a94c76;
    outline-offset: 3px;
}
@media (max-width: 480px) {
    #addToCartForm .product-purchase-row > .add-to-cart-btn,
    body:not([data-api-base]) #mobileStickyAddButton { font-size: 13px; letter-spacing: 0.05em; }
}
