/* =========================================================
   FLIPMARKK — PREMIUM PRODUCT PAGE
   style.css
   Frontend Version: Final UI System
   ========================================================= */


/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

:root {
    --black: #111111;
    --black-soft: #181818;
    --text: #171717;
    --text-soft: #555555;
    --text-muted: #777777;

    --white: #ffffff;
    --off-white: #fafafa;
    --surface: #f5f5f3;
    --surface-2: #f0f0ed;

    --border: #e7e7e4;
    --border-dark: #d8d8d4;

    --accent: #c9a24d;
    --accent-dark: #a98435;
    --accent-soft: #fbf5e8;

    --success: #21864a;
    --success-soft: #edf8f1;

    --danger: #c94040;
    --danger-soft: #fff2f2;

    --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 8px 25px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.13);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --container: 1180px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    --header-height: 66px;
}


/* =========================================================
   02. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    padding: 0 0 92px;

    font-family:
        "Instrument Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fafaf9 45%,
            #ffffff 100%
        );

    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: "Jost", sans-serif;
}

::selection {
    background: rgba(201, 162, 77, 0.2);
}


/* =========================================================
   03. ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(201, 162, 77, 0.45);
    outline-offset: 3px;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}


/* =========================================================
   04. PAGE LOADER
   ========================================================= */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0%,
            #f7f6f2 55%,
            #efeee9 100%
        );

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.6s var(--ease),
        visibility 0.6s var(--ease);
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.loader-logo {
    width: min(150px, 42vw);
    height: auto;

    animation:
        loaderFloat 1.8s ease-in-out infinite;
}

.loader-line {
    width: 80px;
    height: 2px;
    overflow: hidden;
    position: relative;

    background: #dedbd2;
    border-radius: 999px;
}

.loader-line::after {
    content: "";

    position: absolute;
    inset: 0;

    width: 45%;

    background: var(--accent);
    border-radius: inherit;

    animation: loaderLine 1.25s ease-in-out infinite;
}

@keyframes loaderFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes loaderLine {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(300%);
    }
}


/* =========================================================
   05. HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;

    width: 100%;
    height: var(--header-height);

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.035);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-inner {
    width: min(
        calc(100% - 32px),
        var(--container)
    );

    height: 100%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: max-content;
    margin: 0 auto;

    text-decoration: none;
}

.site-logo {
    width: 104px;
    max-height: 38px;

    object-fit: contain;

    transition:
        transform 0.35s var(--ease),
        opacity 0.35s ease;
}

.brand-link:hover .site-logo {
    transform: scale(1.025);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    position: relative;

    color: var(--text-soft);

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.25s ease;
}

.desktop-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;

    height: 1px;

    background: var(--black);

    transition:
        right 0.35s var(--ease);
}

.desktop-nav a:hover {
    color: var(--black);
}

.desktop-nav a:hover::after {
    right: 0;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-icon-btn {
    position: relative;

    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--black);
    background: transparent;

    border-radius: 50%;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s var(--ease);
}

.header-icon-btn:hover {
    background: var(--surface);
    transform: translateY(-1px);
}

.header-cart-icon {
    font-size: 18px;
    line-height: 1;
}

.cart-count-badge {
    position: absolute;
    top: 1px;
    right: 0;

    min-width: 17px;
    height: 17px;
    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: var(--black);
    color: var(--white);

    font-size: 9px;
    font-weight: 700;

    transform: scale(0);
    opacity: 0;

    transition:
        transform 0.35s var(--ease),
        opacity 0.25s ease;
}

.cart-count-badge.visible {
    transform: scale(1);
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    display: block;

    width: 18px;
    height: 1.5px;

    background: var(--black);
    border-radius: 999px;

    transition:
        transform 0.3s var(--ease),
        opacity 0.2s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}


/* =========================================================
   06. PRODUCT PAGE
   ========================================================= */

.product-page {
    width: min(
        calc(100% - 32px),
        var(--container)
    );

    margin: 0 auto;
}

.product-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.04fr)
        minmax(380px, 0.96fr);

    gap: clamp(45px, 7vw, 92px);

    padding:
        clamp(28px, 5vw, 58px)
        0
        clamp(45px, 7vw, 78px);
}


/* =========================================================
   07. PRODUCT GALLERY
   ========================================================= */

.gallery-section {
    min-width: 0;
}

.gallery-frame {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            #fafaf8,
            #f1f0ec
        );

    border: 1px solid rgba(0, 0, 0, 0.055);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.075);
}

.image-stage {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f5f4f0;
}

.featured-image {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: clamp(10px, 2vw, 24px);

    opacity: 1;

    transform: scale(1);

    transition:
        opacity 0.35s ease,
        transform 0.6s var(--ease);
}

.featured-image.image-changing {
    opacity: 0;
    transform: scale(0.985);
}

.image-stage:hover .featured-image {
    transform: scale(1.012);
}

.image-zoom-btn {
    position: absolute;

    right: 15px;
    bottom: 15px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--black);
    background: rgba(255, 255, 255, 0.9);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.12);

    cursor: pointer;

    opacity: 0;
    transform: translateY(7px);

    transition:
        opacity 0.3s ease,
        transform 0.35s var(--ease),
        background 0.25s ease;
}

.image-stage:hover .image-zoom-btn,
.image-zoom-btn:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

.image-zoom-btn:hover {
    background: var(--white);
}

.image-zoom-btn span {
    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   08. THUMBNAILS
   ========================================================= */

.thumbnail-slider {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 14px;
    padding: 2px 2px 7px;

    overflow-x: auto;

    scrollbar-width: none;

    scroll-behavior: smooth;
}

.thumbnail-slider::-webkit-scrollbar {
    display: none;
}

.thumb {
    flex: 0 0 72px;

    width: 72px;
    height: 72px;

    padding: 0;

    overflow: hidden;

    border: 1px solid transparent;
    border-radius: 12px;

    background: #f3f2ee;

    cursor: pointer;

    opacity: 0.68;

    transform: translateY(0);

    transition:
        border-color 0.3s ease,
        opacity 0.3s ease,
        transform 0.35s var(--ease),
        box-shadow 0.3s ease;
}

.thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.thumb.active-thumb {
    opacity: 1;

    border-color: var(--black);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   09. LIKE + SHARE
   ========================================================= */

.product-social-actions {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 14px;
}

.product-social-btn {
    min-width: 104px;

    min-height: 42px;
    padding: 8px 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    color: var(--text-soft);
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s var(--ease),
        box-shadow 0.3s ease;
}

.product-social-btn:hover {
    color: var(--black);

    border-color: #cfcfca;

    background: #fcfcfb;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.055);
}

.product-social-btn:active {
    transform: translateY(0) scale(0.97);
}

.social-icon {
    font-size: 17px;
    line-height: 1;
}

.like-icon {
    font-size: 21px;

    transition:
        transform 0.35s var(--ease);
}

.like-btn.liked {
    color: #c73c48;

    border-color: rgba(199, 60, 72, 0.25);

    background: #fff7f8;
}

.like-btn.liked .like-icon {
    transform: scale(1.18);

    animation: likePop 0.42s var(--ease);
}

@keyframes likePop {
    0% {
        transform: scale(0.75);
    }

    55% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1.18);
    }
}


/* =========================================================
   10. PRODUCT INFORMATION
   ========================================================= */

.product-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reviews-badge {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 15px;
}

.stars {
    color: #e3aa25;

    font-size: 16px;
    letter-spacing: 1px;

    white-space: nowrap;
}

.rating-count {
    color: var(--text-muted);

    font-size: 13px;
    font-weight: 500;
}

.product-title {
    max-width: 650px;

    margin-bottom: 13px;

    color: var(--black);

    font-size:
        clamp(31px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.title-subline {
    display: inline-block;

    font-weight: 600;

    white-space: nowrap;
}

.product-intro {
    max-width: 570px;

    margin-bottom: 20px;

    color: var(--text-soft);

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   11. BENEFITS
   ========================================================= */

.benefit-list {
    list-style: none;

    display: grid;

    gap: 10px;

    margin: 0 0 22px;
    padding: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #333333;

    font-size: 14px;
    font-weight: 600;
}

.benefit-check {
    flex: 0 0 22px;

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--success);
    background: var(--success-soft);

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   12. PRICING
   ========================================================= */

.pricing-container {
    position: relative;

    padding: 20px;

    margin: 2px 0 21px;

    overflow: hidden;

    border:
        1px solid rgba(201, 162, 77, 0.22);

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            135deg,
            #fffdf7 0%,
            #fbf6e9 100%
        );

    box-shadow:
        0 9px 30px rgba(167, 128, 51, 0.055);
}

.pricing-container::after {
    content: "";

    position: absolute;

    top: -70px;
    right: -55px;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(201, 162, 77, 0.11),
            transparent 68%
        );

    pointer-events: none;
}

.offer-label {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    margin-bottom: 7px;

    border-radius: 999px;

    color: #806421;
    background: rgba(201, 162, 77, 0.12);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.current-price {
    color: var(--black);

    font-family: "Jost", sans-serif;

    font-size: 38px;
    font-weight: 800;

    line-height: 1;
    letter-spacing: -1px;
}

.shipping-highlight {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-top: 9px;

    color: var(--success);

    font-size: 13px;
    font-weight: 800;
}

.shipping-icon {
    width: 18px;
    height: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(33, 134, 74, 0.1);

    font-size: 10px;
}

.price-note {
    margin: 6px 0 0;

    color: var(--text-muted);

    font-size: 12px;
}


/* =========================================================
   13. QUANTITY
   ========================================================= */

.quantity-section {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 16px;
}

.quantity-label {
    color: var(--text-soft);

    font-size: 13px;
    font-weight: 700;
}

.quantity-control {
    display: inline-flex;
    align-items: center;

    min-height: 42px;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 999px;

    background: var(--white);
}

.quantity-btn {
    width: 42px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--black);
    background: transparent;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.quantity-btn:hover {
    background: var(--surface);
}

.quantity-value {
    min-width: 32px;

    text-align: center;

    color: var(--black);

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   14. PRIMARY CTA
   ========================================================= */

.cta-wrapper {
    margin-bottom: 18px;
}

.buy-button {
    position: relative;

    width: 100%;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    overflow: hidden;

    border-radius: 15px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            #111111 0%,
            #242424 100%
        );

    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.14);

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.75px;

    cursor: pointer;

    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        background 0.35s ease;
}

.buy-button::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: -35%;

    width: 28%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );

    transform: skewX(-18deg);

    transition:
        left 0.8s var(--ease);
}

.buy-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 19px 38px rgba(0, 0, 0, 0.19);
}

.buy-button:hover::before {
    left: 125%;
}

.buy-button:active {
    transform: translateY(-1px) scale(0.992);
}

.cta-icon {
    font-size: 17px;
}

.cta-arrow {
    font-size: 17px;

    transition:
        transform 0.3s var(--ease);
}

.buy-button:hover .cta-arrow {
    transform: translateX(4px);
}


/* =========================================================
   15. TRUST STRIP
   ========================================================= */

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 8px;

    margin-bottom: 17px;
}

.trust-item {
    min-height: 67px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 10px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.75);

    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);

    border-color: #d8d8d3;

    box-shadow:
        0 9px 20px rgba(0, 0, 0, 0.05);
}

.trust-icon {
    flex: 0 0 auto;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--surface);

    font-size: 12px;
}

.trust-item strong {
    display: block;

    color: var(--black);

    font-size: 10px;
    line-height: 1.25;
}

.trust-item small {
    display: block;

    margin-top: 2px;

    color: var(--text-muted);

    font-size: 9px;
    line-height: 1.25;
}


/* =========================================================
   16. ORDER INFO
   ========================================================= */

.order-info-card {
    padding: 15px 16px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: #fcfcfb;
}

.order-info-row {
    display: flex;
    align-items: flex-start;

    gap: 11px;
}

.info-icon {
    flex: 0 0 27px;

    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #735d2b;
    background: var(--accent-soft);

    font-size: 12px;
}

.order-info-row strong {
    display: block;

    margin-bottom: 2px;

    color: var(--black);

    font-size: 12px;
}

.order-info-row p {
    margin: 0;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   17. CART DRAWER
   ========================================================= */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1998;

    background: rgba(0, 0, 0, 0.42);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    z-index: 1999;

    width: min(440px, 94vw);

    display: flex;
    flex-direction: column;

    background: var(--white);

    box-shadow:
        -20px 0 60px rgba(0, 0, 0, 0.14);

    transform: translateX(105%);

    transition:
        transform 0.55s var(--ease);

    visibility: hidden;
}

.cart-drawer.open {
    transform: translateX(0);
    visibility: visible;
}

.cart-drawer-header {
    flex: 0 0 auto;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 24px 22px 19px;

    border-bottom: 1px solid var(--border);
}

.cart-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--accent-dark);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.cart-drawer-header h2 {
    margin: 0;

    color: var(--black);

    font-size: 25px;
    line-height: 1.1;

    text-align: left;
}

.drawer-close-btn {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--black);
    background: var(--surface);

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.3s var(--ease),
        background 0.25s ease;
}

.drawer-close-btn:hover {
    transform: rotate(90deg);

    background: var(--surface-2);
}

.cart-drawer-body {
    flex: 1;

    overflow-y: auto;

    padding: 20px 22px;
}

.cart-drawer-body::-webkit-scrollbar {
    width: 5px;
}

.cart-drawer-body::-webkit-scrollbar-thumb {
    background: #d8d8d5;
    border-radius: 999px;
}

.cart-item {
    display: grid;
    grid-template-columns: 82px 1fr auto;

    gap: 13px;

    padding: 14px 0;

    border-bottom: 1px solid var(--border);

    animation:
        cartItemIn 0.4s var(--ease);
}

@keyframes cartItemIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.cart-item-image {
    width: 82px;
    height: 82px;

    object-fit: cover;

    border-radius: 12px;

    background: var(--surface);
}

.cart-item-details {
    min-width: 0;
}

.cart-item-title {
    margin-bottom: 5px;

    color: var(--black);

    font-family: "Jost", sans-serif;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.35;
}

.cart-item-meta {
    margin-bottom: 9px;

    color: var(--text-muted);

    font-size: 11px;
}

.cart-item-price {
    color: var(--black);

    font-size: 13px;
    font-weight: 800;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;

    min-height: 82px;
}

.cart-delete-btn {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text-muted);
    background: transparent;

    font-size: 16px;

    cursor: pointer;

    transition:
        color 0.25s ease,
        transform 0.25s var(--ease);
}

.cart-delete-btn:hover {
    color: var(--danger);

    transform: scale(1.08);
}

.cart-quantity-control {
    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 999px;
}

.cart-quantity-btn {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--black);
    background: transparent;

    font-size: 16px;

    cursor: pointer;

    transition:
        background 0.25s ease;
}

.cart-quantity-btn:hover {
    background: var(--surface);
}

.cart-quantity-value {
    min-width: 28px;

    text-align: center;

    font-size: 11px;
    font-weight: 800;
}

.cart-empty-state {
    display: none;

    flex: 1;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    text-align: center;
}

.cart-empty-state.show {
    display: flex;
}

.empty-cart-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 50%;

    background: var(--surface);

    font-size: 28px;
}

.cart-empty-state h3 {
    margin-bottom: 7px;

    font-size: 20px;
}

.cart-empty-state p {
    max-width: 250px;

    margin-bottom: 18px;

    color: var(--text-muted);

    font-size: 12px;
}

.empty-cart-btn {
    padding: 11px 18px;

    border-radius: 999px;

    color: var(--white);
    background: var(--black);

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.3s var(--ease);
}

.empty-cart-btn:hover {
    transform: translateY(-2px);
}

.cart-drawer-footer {
    flex: 0 0 auto;

    padding: 18px 22px 22px;

    border-top: 1px solid var(--border);

    background: var(--white);

    box-shadow:
        0 -8px 25px rgba(0, 0, 0, 0.035);
}

.cart-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--text-soft);

    font-size: 13px;
}

.cart-subtotal-row strong {
    color: var(--black);

    font-family: "Jost", sans-serif;

    font-size: 21px;
}

.cart-shipping-note {
    margin: 3px 0 13px;

    color: var(--success);

    font-size: 10px;
    font-weight: 700;
}

.checkout-btn {
    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 13px;

    color: var(--white);
    background: var(--black);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.16);
}

.checkout-btn span {
    font-size: 17px;

    transition:
        transform 0.3s var(--ease);
}

.checkout-btn:hover span {
    transform: translateX(4px);
}


/* =========================================================
   18. SHARE MODAL
   ========================================================= */

.share-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.share-modal.open {
    opacity: 1;
    visibility: visible;
}

.share-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.48);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.share-modal-card {
    position: relative;
    z-index: 1;

    width: min(440px, 100%);

    padding: 28px;

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8f8f6
        );

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.2);

    transform:
        translateY(25px)
        scale(0.96);

    transition:
        transform 0.5s var(--ease);
}

.share-modal.open .share-modal-card {
    transform:
        translateY(0)
        scale(1);
}

.share-close-btn {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--black);
    background: var(--surface);

    font-size: 22px;

    cursor: pointer;

    transition:
        transform 0.3s var(--ease);
}

.share-close-btn:hover {
    transform: rotate(90deg);
}

.share-small-label {
    display: block;

    margin-bottom: 5px;

    color: var(--accent-dark);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.share-modal-card h2 {
    margin-bottom: 6px;

    color: var(--black);

    font-size: 27px;

    text-align: left;
}

.share-modal-card > p {
    margin-bottom: 19px;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.6;
}

.share-link-box {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 7px;

    margin-bottom: 16px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--white);
}

.share-link-text {
    flex: 1;

    min-width: 0;

    overflow: hidden;

    color: var(--text-muted);

    font-size: 10px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-link-btn {
    flex: 0 0 auto;

    padding: 8px 11px;

    border-radius: 8px;

    color: var(--white);
    background: var(--black);

    font-size: 9px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.25s var(--ease),
        background 0.25s ease;
}

.copy-link-btn:hover {
    transform: translateY(-1px);
}

.copy-link-btn.copied {
    background: var(--success);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 8px;
}

.share-option {
    min-height: 75px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border: 1px solid var(--border);

    border-radius: 13px;

    color: var(--text-soft);
    background: var(--white);

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.3s var(--ease),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.share-option span {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--black);
    background: var(--surface);

    font-size: 10px;
    font-weight: 800;
}

.share-option:hover {
    transform: translateY(-3px);

    border-color: #cecec8;

    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   19. IMAGE LIGHTBOX
   ========================================================= */

.image-lightbox,
.review-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2500;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(12, 12, 12, 0.92);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.image-lightbox.open,
.review-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-image-wrap {
    width: min(1000px, 90vw);
    height: min(85vh, 900px);

    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrap img,
.review-lightbox-content img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-close,
.review-lightbox-close {
    position: fixed;

    top: 20px;
    right: 22px;

    z-index: 2;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--white);
    background: rgba(255, 255, 255, 0.12);

    font-size: 28px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.3s var(--ease);
}

.lightbox-close:hover,
.review-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);

    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;

    top: 50%;

    z-index: 2;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--white);
    background: rgba(255, 255, 255, 0.12);

    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background 0.25s ease,
        transform 0.3s var(--ease);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev:hover {
    transform:
        translate(-2px, -50%);
}

.lightbox-next:hover {
    transform:
        translate(2px, -50%);
}


/* =========================================================
   20. GENERAL SECTIONS
   ========================================================= */

.features-section,
.review-section,
.policy-info-section,
.faq-container {
    position: relative;

    padding:
        clamp(48px, 7vw, 82px)
        0;
}

.features-section,
.review-section,
.faq-container {
    border-top: 1px solid var(--border);
}

.section-heading {
    max-width: 650px;

    margin: 0 auto 34px;

    text-align: center;
}

.section-kicker {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--accent-dark);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.section-heading h2 {
    margin-bottom: 9px;

    color: var(--black);

    font-size:
        clamp(28px, 4vw, 39px);

    line-height: 1.1;

    letter-spacing: -0.7px;
}

.section-heading > p {
    margin-bottom: 0;

    color: var(--text-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   21. FEATURE CARDS
   ========================================================= */

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}

.feature-card {
    position: relative;

    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.8);

    box-shadow: var(--shadow-xs);

    transition:
        transform 0.45s var(--ease),
        box-shadow 0.45s var(--ease),
        border-color 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: #d8d8d2;

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.075);
}

.feature-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 13px;

    background: var(--surface);

    font-size: 18px;
}

.feature-card h3 {
    margin-bottom: 7px;

    font-size: 17px;
}

.feature-card p {
    margin: 0;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   22. REVIEWS
   ========================================================= */

.review-heading {
    margin-bottom: 27px;
}

.review-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 9px;

    color: var(--text-muted);

    font-size: 11px;
}

.review-rating-summary .stars {
    font-size: 14px;
}

.review-rating-summary strong {
    color: var(--black);

    font-size: 12px;
}

.review-masonry {
    column-count: 3;
    column-gap: 14px;
}

.review-card {
    display: block;

    width: 100%;

    padding: 0;
    margin: 0 0 14px;

    overflow: hidden;

    break-inside: avoid;

    border: 1px solid var(--border);

    border-radius: 16px;

    background: var(--white);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.045);

    cursor: pointer;

    transform: translateY(0);

    transition:
        transform 0.45s var(--ease),
        box-shadow 0.45s var(--ease),
        border-color 0.35s ease,
        opacity 0.4s ease;
}

.review-card img {
    width: 100%;
    height: auto;

    transition:
        transform 0.65s var(--ease);
}

.review-card:hover {
    transform: translateY(-5px);

    border-color: #d3d3ce;

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.09);
}

.review-card:hover img {
    transform: scale(1.025);
}

.review-card.review-hidden {
    display: none;
}

.show-more-reviews {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 45px;

    padding: 10px 20px;

    margin: 22px auto 0;

    border: 1px solid var(--border);

    border-radius: 999px;

    color: var(--black);
    background: var(--white);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;

    cursor: pointer;

    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.show-more-reviews:hover {
    transform: translateY(-2px);

    border-color: #ccccca;

    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.06);
}

.show-more-reviews span {
    transition:
        transform 0.3s var(--ease);
}

.show-more-reviews:hover span {
    transform: translateY(3px);
}


/* =========================================================
   23. REVIEW LIGHTBOX
   ========================================================= */

.review-lightbox-content {
    width: min(900px, 92vw);
    max-height: 88vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.review-lightbox-content img {
    max-width: 100%;
    max-height: 88vh;

    border-radius: 13px;
}


/* =========================================================
   24. POLICY ACCORDIONS
   ========================================================= */

.policy-info-section {
    display: grid;

    gap: 10px;

    max-width: 850px;

    margin: 0 auto;
}

.policy-accordion {
    border: 1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;

    background: var(--white);
}

.policy-accordion-btn {
    width: 100%;

    min-height: 57px;

    padding: 12px 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--black);
    background: var(--white);

    text-align: left;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.25s ease;
}

.policy-accordion-btn:hover {
    background: #fcfcfb;
}

.accordion-symbol {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--surface);

    font-size: 16px;

    transition:
        transform 0.35s var(--ease);
}

.policy-accordion.open .accordion-symbol {
    transform: rotate(45deg);
}

.policy-accordion-content {
    max-height: 0;

    overflow: hidden;

    padding: 0 17px;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.7;

    transition:
        max-height 0.45s var(--ease),
        padding 0.45s var(--ease);
}

.policy-accordion.open .policy-accordion-content {
    padding-top: 2px;
    padding-bottom: 17px;
}

.policy-accordion-content p {
    margin-bottom: 9px;
}

.policy-accordion-content a {
    color: var(--black);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}

.policy-accordion-content a:hover {
    text-decoration: underline;
}


/* =========================================================
   25. FAQ
   ========================================================= */

.accordion {
    max-width: 850px;

    margin: 0 auto;
}

.faq-item {
    overflow: hidden;

    margin-bottom: 9px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: var(--white);

    transition:
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.faq-item:hover {
    border-color: #d8d8d3;
}

.accordion-btn {
    width: 100%;

    min-height: 59px;

    padding: 14px 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: var(--black);
    background: var(--white);

    text-align: left;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.faq-icon {
    flex: 0 0 auto;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--surface);

    font-size: 17px;

    transition:
        transform 0.35s var(--ease),
        background 0.25s ease;
}

.accordion-btn.active .faq-icon {
    transform: rotate(45deg);

    background: var(--surface-2);
}

.accordion-content {
    max-height: 0;

    overflow: hidden;

    padding: 0 17px;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.7;

    transition:
        max-height 0.45s var(--ease),
        padding 0.45s var(--ease);
}

.accordion-btn.active + .accordion-content {
    padding-top: 0;
    padding-bottom: 17px;
}

.accordion-content p {
    margin: 0;
}


/* =========================================================
   26. FOOTER
   ========================================================= */

.site-footer {
    margin-top: 0;

    color: #ddddda;
    background: #151515;
}

.footer-inner {
    width: min(
        calc(100% - 32px),
        var(--container)
    );

    margin: 0 auto;

    padding:
        55px
        0
        40px;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.3fr;

    gap: 35px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    width: 105px;
    max-height: 38px;

    object-fit: contain;

    margin-bottom: 14px;

    filter: none;

    opacity: 0.98;
}

.footer-brand p {
    margin: 0;

    color: #92928e;

    font-size: 11px;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.footer-column h3 {
    margin-bottom: 13px;

    color: var(--white);

    font-size: 13px;
}

.footer-column a {
    margin-bottom: 8px;

    color: #999995;

    font-size: 11px;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s var(--ease);
}

.footer-column a:hover {
    color: var(--white);

    transform: translateX(2px);
}

.footer-bottom {
    width: min(
        calc(100% - 32px),
        var(--container)
    );

    margin: 0 auto;

    padding: 17px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color: #777772;

    font-size: 10px;
}


/* =========================================================
   27. STICKY PURCHASE BAR
   ========================================================= */

.sticky-bottom-bar {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1000;

    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        10px
        max(16px, calc((100vw - var(--container)) / 2));

    background: rgba(255, 255, 255, 0.96);

    border-top: 1px solid rgba(0, 0, 0, 0.07);

    box-shadow:
        0 -10px 35px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transform: translateY(110%);

    transition:
        transform 0.55s var(--ease);
}

.sticky-bottom-bar.show {
    transform: translateY(0);
}

.sticky-product-info {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 11px;
}

.sticky-product-image {
    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    object-fit: cover;

    border-radius: 9px;

    background: var(--surface);
}

.sticky-product-info strong {
    display: block;

    max-width: 240px;

    overflow: hidden;

    color: var(--black);

    font-family: "Jost", sans-serif;

    font-size: 12px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.sticky-product-info span {
    display: block;

    margin-top: 2px;

    color: var(--text-muted);

    font-size: 10px;
}

.sticky-btn {
    flex: 0 0 auto;

    min-height: 45px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 11px;

    color: var(--white);
    background: var(--black);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s ease;
}

.sticky-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.14);
}

.sticky-btn span {
    font-size: 15px;

    transition:
        transform 0.3s var(--ease);
}

.sticky-btn:hover span {
    transform: translateX(3px);
}


/* =========================================================
   28. TOAST
   ========================================================= */

.site-toast {
    position: fixed;

    left: 50%;
    bottom: 95px;

    z-index: 5000;

    min-height: 43px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 9px 14px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 999px;

    color: var(--white);

    background: rgba(20, 20, 20, 0.94);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2);

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, 15px)
        scale(0.96);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.4s var(--ease);

    pointer-events: none;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-toast.show {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, 0)
        scale(1);
}

.toast-icon {
    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--white);
    background: var(--success);

    font-size: 11px;
    font-weight: 800;
}

#toast-message {
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   29. SCROLL REVEAL SYSTEM
   ========================================================= */

.reveal-on-scroll {
    opacity: 0;

    transform:
        translateY(22px);

    transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
}

.reveal-on-scroll.is-visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   30. IMAGE FADE HELPERS
   ========================================================= */

.fade-image {
    opacity: 1;

    transition:
        opacity 0.35s ease,
        transform 0.5s var(--ease);
}

.fade-image.fade-out {
    opacity: 0;
    transform: scale(0.985);
}


/* =========================================================
   31. DESKTOP LARGE
   ========================================================= */

@media (min-width: 1280px) {

    .product-hero {
        gap: 90px;
    }

    .image-stage {
        aspect-ratio: 1 / 0.96;
    }

    .featured-image {
        padding: 28px;
    }

    .product-title {
        max-width: 650px;
    }
}


/* =========================================================
   32. LAPTOP
   ========================================================= */

@media (max-width: 1100px) {

    :root {
        --header-height: 62px;
    }

    .product-hero {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(350px, 0.9fr);

        gap: 42px;
    }

    .product-title {
        font-size: 40px;
    }

    .footer-inner {
        grid-template-columns:
            1.3fr
            1fr
            1fr
            1.2fr;
    }
}


/* =========================================================
   33. TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 850px) {

    body {
        padding-bottom: 82px;
    }

    .header-inner {
        grid-template-columns: 1fr auto 1fr;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;

        justify-self: start;
    }

    .product-page {
        width: min(
            calc(100% - 28px),
            680px
        );
    }

    .product-hero {
        grid-template-columns: 1fr;

        gap: 28px;

        padding-top: 25px;
    }

    .gallery-section {
        width: 100%;
    }

    .product-info {
        padding-bottom: 12px;
    }

    .product-title {
        font-size:
            clamp(31px, 7vw, 44px);
    }

    .features-section,
    .review-section,
    .policy-info-section,
    .faq-container {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .review-masonry {
        column-count: 3;
    }

    .footer-inner {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-brand {
        max-width: 100%;
    }

    .sticky-bottom-bar {
        padding-left: 14px;
        padding-right: 14px;
    }
}


/* =========================================================
   34. MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 850px) {

    .mobile-nav {
        position: absolute;

        top: var(--header-height);
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;

        padding: 7px 14px 14px;

        background: rgba(255, 255, 255, 0.97);

        border-bottom: 1px solid var(--border);

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.07);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-8px);

        transition:
            opacity 0.35s ease,
            visibility 0.35s ease,
            transform 0.4s var(--ease);

        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .mobile-nav.open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .mobile-nav a {
        padding: 13px 9px;

        border-bottom: 1px solid #f0f0ed;

        color: var(--text-soft);

        font-size: 13px;
        font-weight: 600;

        text-decoration: none;
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
    }

    .mobile-nav a:active {
        background: var(--surface);
    }
}


/* =========================================================
   35. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    :root {
        --header-height: 58px;
    }

    body {
        padding-bottom: 75px;
    }

    .site-header {
        box-shadow:
            0 3px 15px rgba(0, 0, 0, 0.045);
    }

    .header-inner {
        width: calc(100% - 20px);
    }

    .site-logo {
        width: 91px;
        max-height: 34px;
    }

    .header-icon-btn {
        width: 38px;
        height: 38px;
    }

    .product-page {
        width: calc(100% - 22px);
    }

    .product-hero {
        padding:
            15px
            0
            42px;
    }

    .gallery-frame {
        border-radius: 18px;
    }

    .image-stage {
        aspect-ratio: 1 / 1;
    }

    .featured-image {
        padding: 9px;
    }

    .image-zoom-btn {
        width: 36px;
        height: 36px;

        right: 10px;
        bottom: 10px;

        opacity: 1;
        transform: none;
    }

    .thumbnail-slider {
        gap: 8px;

        margin-top: 10px;
    }

    .thumb {
        flex-basis: 62px;

        width: 62px;
        height: 62px;

        border-radius: 10px;
    }

    .product-social-actions {
        margin-top: 11px;
    }

    .product-social-btn {
        min-width: 100px;

        min-height: 40px;
    }

    .product-info {
        padding-top: 6px;
    }

    .reviews-badge {
        gap: 7px;

        margin-bottom: 12px;
    }

    .stars {
        font-size: 14px;
    }

    .rating-count {
        font-size: 11px;
    }

    .product-title {
        margin-bottom: 10px;

        font-size:
            clamp(29px, 9vw, 36px);

        letter-spacing: -0.9px;
    }

    .product-intro {
        margin-bottom: 17px;

        font-size: 13px;
        line-height: 1.65;
    }

    .benefit-list {
        gap: 8px;

        margin-bottom: 18px;
    }

    .benefit-list li {
        font-size: 12px;
    }

    .benefit-check {
        width: 20px;
        height: 20px;

        flex-basis: 20px;
    }

    .pricing-container {
        padding: 17px;

        margin-bottom: 17px;

        border-radius: 15px;
    }

    .current-price {
        font-size: 35px;
    }

    .quantity-section {
        margin-bottom: 12px;
    }

    .buy-button {
        min-height: 55px;

        border-radius: 13px;
    }

    .trust-strip {
        gap: 6px;
    }

    .trust-item {
        min-height: 61px;

        padding: 7px;

        gap: 5px;

        border-radius: 10px;
    }

    .trust-icon {
        width: 22px;
        height: 22px;

        font-size: 10px;
    }

    .trust-item strong {
        font-size: 8px;
    }

    .trust-item small {
        font-size: 7.5px;
    }

    .order-info-card {
        padding: 13px;
    }

    .features-section,
    .review-section,
    .policy-info-section,
    .faq-container {
        padding:
            45px
            0;
    }

    .section-heading {
        margin-bottom: 27px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .section-heading > p {
        font-size: 12px;
    }

    .feature-cards {
        grid-template-columns: 1fr;

        gap: 9px;
    }

    .feature-card {
        padding: 19px;

        display: grid;
        grid-template-columns: 42px 1fr;
        grid-template-rows: auto auto;

        column-gap: 13px;
    }

    .feature-icon {
        grid-row: span 2;

        margin-bottom: 0;
    }

    .feature-card h3 {
        margin-bottom: 3px;

        align-self: end;

        font-size: 15px;
    }

    .feature-card p {
        align-self: start;

        font-size: 11px;
    }

    .review-rating-summary {
        gap: 5px;

        font-size: 10px;
    }

    .review-masonry {
        column-count: 2;
        column-gap: 9px;
    }

    .review-card {
        margin-bottom: 9px;

        border-radius: 11px;
    }

    .show-more-reviews {
        margin-top: 17px;
    }

    .policy-info-section {
        gap: 7px;
    }

    .policy-accordion-btn,
    .accordion-btn {
        min-height: 53px;

        padding: 11px 13px;

        font-size: 11px;
    }

    .policy-accordion-content,
    .accordion-content {
        padding-left: 13px;
        padding-right: 13px;

        font-size: 11px;
    }

    .faq-item {
        margin-bottom: 7px;
    }

    .faq-icon,
    .accordion-symbol {
        width: 24px;
        height: 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;

        gap: 28px 20px;

        padding:
            40px
            0
            28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-logo {
        width: 95px;
    }

    .sticky-bottom-bar {
        min-height: 65px;

        gap: 10px;

        padding:
            8px 10px;
    }

    .sticky-product-image {
        width: 42px;
        height: 42px;
    }

    .sticky-product-info strong {
        max-width: 150px;

        font-size: 10px;
    }

    .sticky-product-info span {
        font-size: 8px;
    }

    .sticky-btn {
        min-height: 43px;

        padding: 0 15px;

        border-radius: 10px;

        font-size: 9px;
    }

    .site-toast {
        bottom: 80px;

        max-width: calc(100vw - 30px);

        padding: 8px 12px;
    }

    .share-modal {
        padding: 13px;
    }

    .share-modal-card {
        padding: 23px 17px;

        border-radius: 20px;
    }

    .share-modal-card h2 {
        font-size: 24px;
    }

    .share-options {
        gap: 6px;
    }

    .share-option {
        min-height: 69px;
    }

    .cart-drawer {
        width: min(420px, 96vw);
    }

    .cart-drawer-header {
        padding:
            20px
            17px
            16px;
    }

    .cart-drawer-body {
        padding:
            15px
            17px;
    }

    .cart-drawer-footer {
        padding:
            15px
            17px
            17px;
    }

    .cart-item {
        grid-template-columns: 68px 1fr auto;

        gap: 9px;
    }

    .cart-item-image {
        width: 68px;
        height: 68px;
    }

    .cart-item-actions {
        min-height: 68px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 39px;
        height: 39px;

        font-size: 27px;
    }

    .lightbox-prev {
        left: 9px;
    }

    .lightbox-next {
        right: 9px;
    }

    .lightbox-close,
    .review-lightbox-close {
        top: 10px;
        right: 10px;

        width: 39px;
        height: 39px;

        font-size: 24px;
    }
}


/* =========================================================
   36. VERY SMALL PHONES
   ========================================================= */

@media (max-width: 370px) {

    .product-page {
        width: calc(100% - 18px);
    }

    .site-logo {
        width: 82px;
    }

    .product-social-btn {
        min-width: 91px;

        padding-left: 11px;
        padding-right: 11px;

        font-size: 11px;
    }

    .trust-item {
        flex-direction: column;
        justify-content: center;

        text-align: center;
    }

    .trust-item span:last-child {
        min-width: 0;
    }

    .sticky-product-info strong {
        max-width: 110px;
    }

    .sticky-btn {
        padding-left: 11px;
        padding-right: 11px;
    }
}


/* =========================================================
   37. LANDSCAPE MOBILE
   ========================================================= */

@media (max-height: 520px) and (orientation: landscape) {

    .site-header {
        position: relative;
    }

    .product-hero {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 22px;
    }

    .image-stage {
        aspect-ratio: 1 / 0.8;
    }

    .sticky-bottom-bar {
        min-height: 58px;
    }
}


/* =========================================================
   38. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   39. PRINT
   ========================================================= */

@media print {

    .site-header,
    .sticky-bottom-bar,
    .cart-drawer,
    .cart-overlay,
    .share-modal,
    .image-lightbox,
    .review-lightbox,
    .site-toast,
    .page-loader {
        display: none !important;
    }

    body {
        padding: 0;

        color: #000;
        background: #fff;
    }

    .product-page {
        width: 100%;
        max-width: none;
    }
   }


/* =========================================================
   SAFE UI PATCH — PRESERVE EXISTING FEATURES
   ========================================================= */

/* Header brand: hamburger + logo + FlipMarkk text on the left */
.header-inner {
    grid-template-columns: auto 1fr auto;
}

.brand-link {
    justify-self: start;
    margin: 0;
    gap: 9px;
}

.brand-name {
    display: inline-block;
    color: var(--black);
    font-family: Jost, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Restore touch swipe without disabling normal vertical page scrolling. */
.image-stage {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.featured-image {
    -webkit-user-drag: none;
    user-select: none;
}

/* Smooth review-image reveal after the real local image loads. */
.review-lightbox-content img {
    opacity: 0.01;
    transform: scale(0.985);
    transition: opacity 0.25s ease, transform 0.3s ease;
}

.review-lightbox-content img.review-lightbox-image-in {
    opacity: 1;
    transform: scale(1);
}

/* Refund page only: never allow a giant watermark/background logo. */
body.refund-policy-page::before,
body.refund-policy-page::after,
body.refund-policy-page .watermark,
body.refund-policy-page .logo-watermark,
body.refund-policy-page .background-logo,
body.refund-policy-page .bg-logo,
body.refund-policy-page .policy-watermark {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
}

body.refund-policy-page .site-header {
    position: relative;
}

body.refund-policy-page .site-header .logo {
    width: 104px !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 850px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
        justify-content: start;
    }

    .mobile-menu-btn {
        display: inline-flex;
        margin-right: 9px;
    }

    .brand-link {
        justify-self: start;
    }

    .brand-name {
        font-size: 17px;
    }
}

@media (max-width: 600px) {
    .site-logo {
        width: 82px;
        max-height: 32px;
    }

    .brand-name {
        font-size: 16px;
    }
}


/* =========================================================
   FUNCTIONAL UI PATCH — 11 FIXES
   ========================================================= */

/* Smooth, touch-friendly thumbnail strip */
.thumbnail-slider {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 8px;
    touch-action: pan-x;
    will-change: scroll-position;
}

.thumb {
    scroll-snap-align: center;
}

/* Clean share icon */
.share-icon,
.share-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.share-icon svg,
.share-option-icon svg {
    display: block;
}

/* Policy accordion: smooth open/close */
.policy-accordion-content {
    will-change: max-height, padding;
}

/* Like state */
.like-icon {
    display: inline-block;
    min-width: 21px;
    line-height: 1;
}

/* Make functional controls clearly tappable on mobile */
.quantity-btn,
.image-zoom-btn,
.mobile-menu-btn,
.drawer-close-btn,
.checkout-btn,
.sticky-btn,
.product-social-btn {
    -webkit-tap-highlight-color: transparent;
}

/* Refund policy logo must stay centered on this page only */
body.refund-policy-page .site-header .logo-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.refund-policy-page .site-header .logo-container a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
