/* =====================================================
   FLEXI COMMERCE SINGLE PRODUCT — PREMIUM EDITION
   Forest green + warm ivory + brass, editorial serif accents
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

.fc-single-product-wrap {
    /* ---- core palette ---- */
    --fc-forest-950: #081a11;
    --fc-forest-900: #0e2a1c;
    --fc-forest-800: #163a27;
    --fc-forest-700: #1f5236;
    --fc-forest-600: #2b6b46;
    --fc-forest-500: #3c8759;
    --fc-sage-200: #cfe7d8;
    --fc-sage-100: #e6f2ea;
    --fc-sage-50: #f2f8f4;

    --fc-ivory: #faf8f1;
    --fc-paper: #fffefc;

    --fc-brass: #a97a2a;
    --fc-brass-soft: #cf9f4e;
    --fc-brass-bg: #f8ecd4;

    --fc-clay: #a8402b;
    --fc-clay-bg: #f7e3dd;

    --fc-ink: #17241b;
    --fc-muted: #6c7a70;
    --fc-border: #e2ded0;

    --fc-shadow: 0 22px 54px rgba(10, 30, 19, 0.10);
    --fc-soft-shadow: 0 10px 28px rgba(10, 30, 19, 0.08);
    --fc-inset-sheen: inset 0 1px 0 rgba(255, 255, 255, 0.5);

    /* ---- type ---- */
    --fc-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --fc-font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 14px 150px;
    color: var(--fc-ink);
    font-family: var(--fc-font-body);
    background: var(--fc-ivory);
    box-sizing: border-box;
}

.fc-single-product-wrap *,
.fc-single-product-wrap *::before,
.fc-single-product-wrap *::after {
    box-sizing: border-box;
}

.fc-single-product-wrap :focus-visible {
    outline: 2px solid var(--fc-forest-600);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .fc-single-product-wrap *,
    .fc-single-product-wrap *::before,
    .fc-single-product-wrap *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}


/* =====================================================
   NOT FOUND
===================================================== */

.fc-product-not-found-card {
    max-width: 620px;
    margin: 56px auto;
    padding: 38px 24px;
    border: 1px solid var(--fc-border);
    border-radius: 22px;
    background: var(--fc-paper);
    text-align: center;
    box-shadow: var(--fc-shadow);
}

.fc-product-not-found-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--fc-sage-50);
    color: var(--fc-forest-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.fc-product-not-found-card h1 {
    margin: 0 0 10px;
    color: var(--fc-forest-900);
    font-family: var(--fc-font-display);
    font-size: 28px;
    font-weight: 600;
}

.fc-product-not-found-card p {
    margin: 0 0 24px;
    color: var(--fc-muted);
    font-size: 15px;
    line-height: 1.7;
}

.fc-back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--fc-forest-700);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fc-back-home:hover {
    background: var(--fc-forest-800);
    color: #ffffff;
    transform: translateY(-1px);
}


/* =====================================================
   BREADCRUMB
===================================================== */

.fc-product-breadcrumb {
    margin-bottom: 18px;
    color: var(--fc-muted);
    font-size: 12.5px;
    font-weight: 600;
    overflow-x: auto;
    scrollbar-width: none;
}

.fc-product-breadcrumb::-webkit-scrollbar {
    display: none;
}

.fc-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 7px;
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fc-breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.fc-product-breadcrumb a {
    color: var(--fc-forest-700);
    text-decoration: none;
    font-weight: 700;
}

.fc-product-breadcrumb a:hover {
    color: var(--fc-forest-900);
}

.fc-breadcrumb-separator {
    display: inline-flex;
    color: #b7ab8e;
}

.fc-current-page strong {
    display: inline-block;
    max-width: 55vw;
    color: var(--fc-ink);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =====================================================
   MAIN LAYOUT
===================================================== */

.fc-single-product {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.fc-product-gallery-area,
.fc-product-summary-area {
    min-width: 0;
}

.fc-product-summary-card {
    padding: 20px;
    border: 1px solid var(--fc-border);
    border-radius: 22px;
    background: var(--fc-paper);
    box-shadow: var(--fc-soft-shadow);
    animation: fcRise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes fcRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =====================================================
   GALLERY
===================================================== */

.fc-product-gallery-card,
.fc-product-gallery-empty {
    position: relative;
    border: 1px solid var(--fc-border);
    border-radius: 22px;
    background: linear-gradient(155deg, var(--fc-paper) 0%, var(--fc-sage-50) 100%);
    overflow: hidden;
    box-shadow: var(--fc-soft-shadow);
}

.fc-product-gallery-empty {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--fc-muted);
    text-align: center;
}

.fc-no-image-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--fc-paper);
    color: var(--fc-forest-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: var(--fc-soft-shadow);
}

.fc-product-gallery-empty p {
    margin: 0;
    font-weight: 700;
}

.fc-product-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
}

/* subtle paper-grain vignette behind the product photo — the "boutique" signature touch */
.fc-gallery-texture {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 24% 20%, rgba(169, 122, 42, 0.10), transparent 40%),
        radial-gradient(circle at 78% 82%, rgba(31, 82, 54, 0.08), transparent 45%);
}

.fc-product-main-image img,
.fc-main-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 26px;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fc-product-main-image:hover img,
.fc-product-main-image:hover .fc-main-image {
    transform: scale(1.045);
}

.fc-wishlist-button,
.fc-gallery-zoom-button {
    position: absolute;
    z-index: 8;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(31, 82, 54, 0.14) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--fc-forest-700) !important;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--fc-soft-shadow);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.fc-wishlist-button {
    top: 14px;
    right: 14px;
}

.fc-gallery-zoom-button {
    right: 14px;
    bottom: 14px;
    font-size: 16px;
}

.fc-heart-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.fc-wishlist-button:hover {
    background: var(--fc-sage-50) !important;
    border-color: var(--fc-forest-500) !important;
    transform: translateY(-1px) scale(1.04);
}

.fc-wishlist-button.active {
    border-color: var(--fc-forest-700) !important;
    background: var(--fc-sage-100) !important;
}

.fc-wishlist-button.active .fc-heart-icon {
    fill: var(--fc-forest-600) !important;
    stroke: var(--fc-forest-700) !important;
}

.fc-gallery-zoom-button:hover {
    background: var(--fc-forest-700) !important;
    border-color: var(--fc-forest-700) !important;
    color: #ffffff !important;
    transform: translateY(-1px) scale(1.04);
}

.fc-sale-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 7;
    min-height: 28px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--fc-forest-900);
    color: var(--fc-brass-soft);
    font-family: var(--fc-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    box-shadow: var(--fc-soft-shadow);
}

.fc-gallery-counter {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 7;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(14, 42, 28, 0.82);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
}

.fc-product-thumbnails {
    display: flex;
    gap: 10px;
    padding: 0 14px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.fc-product-thumbnails::-webkit-scrollbar {
    display: none;
}

.fc-product-thumbnail {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border: 1px solid var(--fc-border) !important;
    border-radius: 13px;
    background: var(--fc-paper);
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    scroll-snap-align: start;
}

.fc-product-thumbnail img,
.fc-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
    display: block;
}

.fc-product-thumbnail:hover {
    border-color: var(--fc-forest-500) !important;
    transform: translateY(-1px);
}

.fc-product-thumbnail.active {
    border-color: var(--fc-forest-600) !important;
    box-shadow: 0 0 0 3px var(--fc-sage-100);
}

.fc-gallery-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 14px 16px;
}

.fc-gallery-feature {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--fc-paper);
    border: 1px solid var(--fc-border);
    color: var(--fc-muted);
    font-size: 11.5px;
    font-weight: 700;
}


/* =====================================================
   LIGHTBOX / IMAGE ZOOM
===================================================== */

.fc-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(8, 22, 15, 0.94);
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.fc-gallery-lightbox:not([hidden]) {
    display: flex;
}

.fc-lightbox-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: var(--fc-forest-900);
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease;
}

.fc-lightbox-close:hover {
    transform: scale(1.06);
}

.fc-lightbox-image {
    max-width: 96vw;
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    user-select: none;
}

.fc-lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--fc-forest-800);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
    transition: background 0.2s ease, transform 0.2s ease;
}

.fc-lightbox-nav:hover {
    background: var(--fc-forest-700);
    color: #ffffff;
}

.fc-lightbox-prev {
    left: 14px;
}

.fc-lightbox-next {
    right: 14px;
}

.fc-lightbox-nav:active {
    transform: translateY(-50%) scale(0.94);
}

.fc-lightbox-counter {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 2;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--fc-forest-900);
    font-family: var(--fc-font-body);
    font-size: 12.5px;
    font-weight: 800;
}

@media (max-width: 640px) {
    .fc-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .fc-lightbox-prev {
        left: 8px;
    }

    .fc-lightbox-next {
        right: 8px;
    }
}


/* =====================================================
   SUMMARY
===================================================== */

.fc-product-category-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--fc-sage-100);
    color: var(--fc-forest-800);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fc-product-title {
    margin: 0 0 12px;
    color: var(--fc-forest-900);
    font-family: var(--fc-font-display);
    font-size: 27px;
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.01em;
}

.fc-product-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    margin-bottom: 16px;
    color: var(--fc-muted);
    font-size: 13px;
    font-weight: 600;
    flex-wrap: wrap;
}

.fc-star-row {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    vertical-align: middle;
}

.fc-star-icon {
    display: block;
}

.fc-star-icon[data-fill="full"] {
    fill: var(--fc-brass);
}

.fc-star-icon[data-fill="half"] {
    fill: var(--fc-brass-soft);
    opacity: 0.55;
}

.fc-star-icon[data-fill="empty"] {
    fill: var(--fc-border);
}

.fc-review-stars .fc-star-icon {
    width: 14px;
    height: 14px;
}

.fc-product-rating-row strong {
    color: var(--fc-ink);
}

.fc-new-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--fc-brass-bg);
    color: #7a5a1f;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.fc-product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--fc-border);
}

.fc-product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.fc-sale-price {
    color: var(--fc-forest-800);
    font-family: var(--fc-font-display);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.fc-regular-price {
    color: #9a8f78;
    font-size: 16px;
    font-weight: 700;
}

.fc-discount-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--fc-forest-900);
    color: var(--fc-brass-soft);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.fc-product-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.fc-stock-status,
.fc-sku-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.fc-stock-status.in {
    background: var(--fc-sage-100);
    color: var(--fc-forest-800);
}

.fc-stock-status.in::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--fc-forest-600);
}

.fc-stock-status.out {
    background: var(--fc-clay-bg);
    color: var(--fc-clay);
}

.fc-sku-tag {
    background: var(--fc-sage-50);
    color: #58685d;
    border: 1px solid var(--fc-border);
}

.fc-product-short-description {
    margin-bottom: 22px;
    color: var(--fc-muted);
    font-size: 14.5px;
    line-height: 1.75;
}

.fc-product-short-description p {
    margin: 0 0 12px;
}


/* =====================================================
   VARIATIONS
===================================================== */

.fc-product-variation-wrapper,
.fc-variation-selector {
    margin: 22px 0;
}

.fc-variation-selector {
    padding: 18px;
    border: 1px solid var(--fc-border);
    border-radius: 18px;
    background: var(--fc-sage-50);
}

.fc-variation-header h4 {
    margin: 0 0 14px;
    color: var(--fc-forest-900);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fc-variation-group {
    margin-bottom: 16px;
}

.fc-variation-group:last-child {
    margin-bottom: 0;
}

.fc-variation-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--fc-forest-900);
    font-size: 13.5px;
    font-weight: 800;
}

.fc-selected-option {
    color: var(--fc-forest-600);
    font-size: 12px;
    font-weight: 700;
}

.fc-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.fc-variation-option {
    min-height: 40px;
    padding: 8px 15px;
    border: 1px solid var(--fc-border);
    border-radius: 999px;
    background: var(--fc-paper);
    color: var(--fc-ink);
    font-family: var(--fc-font-body);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.fc-variation-option:hover {
    border-color: var(--fc-forest-500);
    transform: translateY(-1px);
}

.fc-variation-option.active,
.fc-variation-option[aria-pressed="true"] {
    border-color: var(--fc-forest-700);
    background: var(--fc-forest-700);
    color: #ffffff;
    box-shadow: var(--fc-inset-sheen);
}

.fc-variation-actions {
    margin-top: 14px;
}

.fc-reset-variation {
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid var(--fc-border);
    border-radius: 999px;
    background: var(--fc-paper);
    color: var(--fc-forest-800);
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.fc-reset-variation:hover {
    border-color: var(--fc-forest-600);
}

.fc-variation-summary,
.fc-variation-meta {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.fc-variation-price {
    color: var(--fc-forest-800);
    font-weight: 800;
}

.fc-variation-image img {
    max-width: 66px;
    height: auto;
    border-radius: 10px;
}

.fc-selected-variation-name,
.fc-selected-variation-status {
    color: var(--fc-muted);
    font-size: 12.5px;
    font-weight: 700;
}

.fc-no-variation-message {
    color: var(--fc-clay);
    font-weight: 700;
}


/* =====================================================
   ACTIONS
===================================================== */

.fc-product-actions {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.fc-qty-control {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    width: 100%;
    height: 48px;
    border: 1.5px solid var(--fc-sage-200) !important;
    border-radius: 999px;
    background: var(--fc-paper);
    overflow: hidden;
}

.fc-qty-btn {
    border: none !important;
    background: var(--fc-paper);
    color: var(--fc-forest-800);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fc-qty-btn:hover {
    background: var(--fc-sage-50);
}

.fc-product-qty {
    width: 100%;
    border: none !important;
    border-left: 1.5px solid var(--fc-sage-200) !important;
    border-right: 1.5px solid var(--fc-sage-200) !important;
    text-align: center;
    font-family: var(--fc-font-body);
    font-weight: 800;
    color: var(--fc-ink);
    background: var(--fc-paper);
}

.fc-product-qty:focus {
    outline: none;
}

.fc-action-buttons,
.fc-sticky-cart-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.fc-add-to-cart-button,
.fc-buy-now-button {
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 999px;
    font-family: var(--fc-font-body);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.fc-add-to-cart-button {
    border: 1.5px solid var(--fc-forest-700) !important;
    background-color: var(--fc-forest-700) !important;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(31, 82, 54, 0.24);
}

.fc-add-to-cart-button:hover {
    background-color: var(--fc-forest-800) !important;
    border-color: var(--fc-forest-800) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.fc-add-to-cart-button:active,
.fc-buy-now-button:active {
    transform: translateY(0) scale(0.99);
}

.fc-buy-now-button {
    border: 1.5px solid var(--fc-forest-700) !important;
    background-color: var(--fc-sage-50) !important;
    color: var(--fc-forest-800) !important;
}

.fc-buy-now-button:hover {
    background-color: var(--fc-sage-100) !important;
    border-color: var(--fc-forest-800) !important;
    color: var(--fc-forest-900) !important;
    transform: translateY(-1px);
}

.fc-btn-icon {
    display: inline-flex;
    margin-right: 7px;
}


/* =====================================================
   HIGHLIGHTS
===================================================== */

.fc-product-highlights {
    display: grid;
    gap: 11px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--fc-border);
}

.fc-highlight-item {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--fc-muted);
    font-size: 13.5px;
    font-weight: 700;
}

.fc-highlight-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--fc-sage-100);
    color: var(--fc-forest-800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}


/* =====================================================
   TRUST SLIDER
===================================================== */

.fc-trust-slider {
    position: relative;
    margin: 26px 0;
    border: 1px solid var(--fc-border);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--fc-paper), var(--fc-sage-50));
    overflow: hidden;
}

.fc-trust-slider::before,
.fc-trust-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    z-index: 2;
    pointer-events: none;
}

.fc-trust-slider::before {
    left: 0;
    background: linear-gradient(90deg, var(--fc-paper), rgba(255, 254, 252, 0));
}

.fc-trust-slider::after {
    right: 0;
    background: linear-gradient(270deg, var(--fc-paper), rgba(255, 254, 252, 0));
}

.fc-trust-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: fcTrustSlide 30s linear infinite;
    will-change: transform;
}

.fc-trust-item {
    flex: 0 0 auto;
    min-width: 230px;
    padding: 18px 22px;
    border-right: 1px dashed var(--fc-border);
    display: flex;
    align-items: center;
    gap: 13px;
}

.fc-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(155deg, var(--fc-sage-100), var(--fc-sage-50));
    color: var(--fc-forest-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px var(--fc-sage-200);
}

.fc-trust-content strong {
    display: block;
    color: var(--fc-forest-900);
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 3px;
}

.fc-trust-content span {
    color: var(--fc-muted);
    font-size: 11.5px;
}

@keyframes fcTrustSlide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =====================================================
   TABS
===================================================== */

.fc-product-tabs-section {
    margin-top: 26px;
    border: 1px solid var(--fc-border);
    border-radius: 20px;
    background: var(--fc-paper);
    overflow: hidden;
    box-shadow: var(--fc-soft-shadow);
}

.fc-single-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid var(--fc-border);
    background: var(--fc-sage-50);
}

.fc-single-tab-button {
    flex: 1 1 auto;
    width: auto;
    min-height: 40px;
    padding: 9px 12px;
    border: 1.5px solid transparent !important;
    border-radius: 999px;
    background: var(--fc-paper) !important;
    color: var(--fc-forest-900) !important;
    font-family: var(--fc-font-body);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fc-single-tab-button:hover {
    border-color: var(--fc-forest-500) !important;
}

.fc-single-tab-button.active,
.fc-single-tab-button[aria-selected="true"] {
    background: var(--fc-forest-700) !important;
    border-color: var(--fc-forest-700) !important;
    color: #ffffff !important;
}

.fc-tab-heading {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--fc-sage-100);
    color: var(--fc-forest-900);
    font-family: var(--fc-font-display);
    font-size: 19px;
    font-weight: 600;
}

.fc-review-count {
    margin-left: 4px;
    font-size: 11.5px;
    opacity: 0.85;
}

.fc-single-tab-content {
    display: none;
    padding: 20px;
    color: var(--fc-muted);
    font-size: 14.5px;
    line-height: 1.8;
}

.fc-single-tab-content.active {
    display: block;
    animation: fcFadeIn 0.35s ease both;
}

@keyframes fcFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fc-product-description p:first-child,
.fc-single-tab-content p:first-child {
    margin-top: 0;
}

.fc-empty-tab {
    color: var(--fc-muted);
    font-weight: 700;
}

.fc-detail-group {
    margin-bottom: 24px;
}

.fc-detail-group:last-child {
    margin-bottom: 0;
}

.fc-detail-group h3 {
    margin: 0 0 12px;
    color: var(--fc-forest-900);
    font-family: var(--fc-font-display);
    font-size: 17px;
    font-weight: 600;
}

.fc-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.fc-detail-item {
    padding: 14px;
    border: 1px solid var(--fc-border);
    border-radius: 14px;
    background: var(--fc-sage-50);
}

.fc-detail-label {
    display: block;
    margin-bottom: 5px;
    color: var(--fc-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fc-detail-value {
    color: var(--fc-ink);
    font-size: 14px;
    font-weight: 800;
}


/* =====================================================
   REVIEW TAB INTEGRATION
   Review module styling lives in review.css.
   Keep only the tab container responsibility here.
===================================================== */

.fc-single-tab-content[data-tab-panel="reviews"] {
    padding: 0;
}

/* =====================================================
   STICKY CART
===================================================== */

.fc-sticky-cart-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--fc-border);
    border-radius: 18px;
    background: rgba(255, 254, 252, 0.96);
    box-shadow: 0 18px 50px rgba(14, 42, 28, 0.22);
    backdrop-filter: blur(12px);
}

.fc-sticky-cart-info {
    min-width: 0;
}

.fc-sticky-title {
    display: block;
    color: var(--fc-forest-900);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-sticky-price {
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex-wrap: wrap;
}

.fc-sticky-price .fc-sale-price {
    font-size: 16px;
}

.fc-sticky-price .fc-regular-price {
    font-size: 12.5px;
}

.fc-sticky-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.fc-sticky-cart-actions button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 12.5px;
}

@keyframes fcPulseCTA {
    0%, 100% {
        box-shadow: 0 10px 24px rgba(31, 82, 54, 0.24);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 14px 30px rgba(31, 82, 54, 0.36);
        transform: scale(1.045);
    }
}

#fc-sticky-add-cart {
    animation: fcPulseCTA 2.6s ease-in-out infinite;
}


/* =====================================================
   UTILITIES
===================================================== */

.fc-hidden {
    display: none !important;
}


/* =====================================================
   TABLET AND DESKTOP
===================================================== */

@media (min-width: 420px) {
    .fc-product-title {
        font-size: 30px;
    }

    .fc-sale-price {
        font-size: 32px;
    }
}

@media (min-width: 641px) {
    .fc-single-product-wrap {
        padding: 26px 20px 130px;
    }

    .fc-single-product {
        gap: 26px;
    }

    .fc-product-summary-card {
        padding: 26px;
    }

    .fc-action-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .fc-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fc-review-submit-button {
        width: fit-content;
    }

    .fc-sticky-cart-bar {
        left: 50%;
        right: auto;
        bottom: calc(18px + env(safe-area-inset-bottom));
        width: min(960px, calc(100% - 28px));
        transform: translateX(-50%);
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        padding: 12px;
    }

    .fc-sticky-cart-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .fc-sticky-cart-actions button {
        width: auto;
        padding: 10px 20px;
        font-size: 13.5px;
    }
}

@media (min-width: 980px) {
    .fc-single-product-wrap {
        padding: 30px 20px 128px;
    }

    .fc-single-product {
        grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
        gap: 44px;
        align-items: start;
    }

    .fc-product-summary-card {
        position: sticky;
        top: 24px;
        padding: 32px;
        box-shadow: var(--fc-shadow);
    }

    .fc-product-main-image {
        min-height: 500px;
    }

    .fc-product-main-image img,
    .fc-main-image {
        padding: 36px;
    }

    .fc-product-thumbnails {
        display: flex;
        overflow-x: auto;
    }

    .fc-product-thumbnail {
        flex: 0 0 76px;
        width: 76px;
        height: 76px;
    }

    .fc-product-title {
        font-size: clamp(34px, 3.4vw, 44px);
    }

    .fc-sale-price {
        font-size: clamp(30px, 2.6vw, 36px);
    }

    .fc-product-actions {
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .fc-qty-control {
        width: fit-content;
        grid-template-columns: 42px 64px 42px;
    }
}








/* =====================================================
   FLYING PRODUCT IMAGE
===================================================== */

.fc-flying-cart-image {

    position: fixed !important;

    display: block !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;

    background: #ffffff !important;

    border: 2px solid #ffffff !important;

    border-radius: 16px !important;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.12) !important;

    pointer-events: none !important;

    visibility: visible !important;

    z-index: 2147483647 !important;

    will-change:
        transform,
        opacity !important;

    transform-origin:
        center center !important;

    transition: none !important;
}





/* =====================================================
   FLEXI COMMERCE
   CART BOUNCE POLISH
===================================================== */


/*
 * -----------------------------------------------------
 * CART PILL
 * -----------------------------------------------------
 */

.fc-header-cart.fc-cart-bounce {

    animation:
        fcCartPillBounce
        750ms
        cubic-bezier(
            0.34,
            1.56,
            0.64,
            1
        );

    transform-origin:
        center center;

    z-index: 999999;
}


/*
 * -----------------------------------------------------
 * CART PILL BOUNCE
 * -----------------------------------------------------
 */

@keyframes fcCartPillBounce {

    0% {

        transform:
            translateY(0)
            scale(1);

    }

    18% {

        transform:
            translateY(-5px)
            scale(1.06);

    }

    38% {

        transform:
            translateY(3px)
            scale(0.98);

    }

    58% {

        transform:
            translateY(-3px)
            scale(1.035);

    }

    78% {

        transform:
            translateY(1px)
            scale(1.01);

    }

    100% {

        transform:
            translateY(0)
            scale(1);

    }
}


/*
 * -----------------------------------------------------
 * CART ICON
 * -----------------------------------------------------
 */

.fc-header-cart-icon.fc-cart-icon-bounce {

    display:
        inline-block;

    transform-origin:
        center bottom;

    animation:
        fcCartIconBounce
        700ms
        cubic-bezier(
            0.34,
            1.56,
            0.64,
            1
        );
}


/*
 * -----------------------------------------------------
 * CART ICON BOUNCE
 * -----------------------------------------------------
 */

@keyframes fcCartIconBounce {

    0% {

        transform:
            translateY(0)
            rotate(0deg)
            scale(1);

    }

    18% {

        transform:
            translateY(-8px)
            rotate(-8deg)
            scale(1.20);

    }

    35% {

        transform:
            translateY(2px)
            rotate(6deg)
            scale(0.95);

    }

    52% {

        transform:
            translateY(-5px)
            rotate(-4deg)
            scale(1.12);

    }

    70% {

        transform:
            translateY(1px)
            rotate(2deg)
            scale(1.03);

    }

    100% {

        transform:
            translateY(0)
            rotate(0deg)
            scale(1);

    }
}


/*
 * -----------------------------------------------------
 * CART COUNT
 * -----------------------------------------------------
 */

.fc-header-cart-count.fc-cart-count-bounce {

    display:
        inline-flex;

    animation:
        fcCartCountBounce
        650ms
        cubic-bezier(
            0.34,
            1.56,
            0.64,
            1
        );

    transform-origin:
        center center;
}


/*
 * -----------------------------------------------------
 * CART COUNT BOUNCE
 * -----------------------------------------------------
 */

@keyframes fcCartCountBounce {

    0% {

        transform:
            scale(1);

    }

    25% {

        transform:
            scale(1.35);

    }

    45% {

        transform:
            scale(0.88);

    }

    65% {

        transform:
            scale(1.18);

    }

    82% {

        transform:
            scale(0.97);

    }

    100% {

        transform:
            scale(1);

    }
}


/*
 * -----------------------------------------------------
 * ACCESSIBILITY
 * -----------------------------------------------------
 */

@media (prefers-reduced-motion: reduce) {

    .fc-header-cart.fc-cart-bounce,
    .fc-header-cart-icon.fc-cart-icon-bounce,
    .fc-header-cart-count.fc-cart-count-bounce {

        animation:
            none !important;

    }
}





/* =====================================================
   DESKTOP — STRONGER CART BOUNCE
===================================================== */

@media (min-width: 769px) {
    .fc-header-cart.fc-cart-bounce {
        animation: fcCartDesktopBounce 850ms cubic-bezier(0.25, 1.5, 0.5, 1) !important;
        transform-origin: center center;
    }

    .fc-header-cart-icon.fc-cart-icon-bounce {
        animation: fcCartDesktopIconBounce 800ms cubic-bezier(0.25, 1.6, 0.5, 1) !important;
    }

    .fc-header-cart-count.fc-cart-count-bounce {
        animation: fcCartDesktopCountBounce 750ms cubic-bezier(0.25, 1.5, 0.5, 1) !important;
    }
}

@keyframes fcCartDesktopBounce {
    0% {
        transform: translateY(0) scale(1);
    }

    15% {
        transform: translateY(-14px) scale(1.14);
    }

    30% {
        transform: translateY(7px) scale(0.95);
    }

    45% {
        transform: translateY(-10px) scale(1.10);
    }

    60% {
        transform: translateY(5px) scale(0.97);
    }

    75% {
        transform: translateY(-5px) scale(1.05);
    }

    90% {
        transform: translateY(2px) scale(1.015);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes fcCartDesktopIconBounce {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    18% {
        transform: translateY(-16px) rotate(-11deg) scale(1.30);
    }

    35% {
        transform: translateY(5px) rotate(9deg) scale(0.90);
    }

    52% {
        transform: translateY(-10px) rotate(-6deg) scale(1.20);
    }

    68% {
        transform: translateY(4px) rotate(4deg) scale(0.96);
    }

    84% {
        transform: translateY(-3px) rotate(-2deg) scale(1.07);
    }

    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@keyframes fcCartDesktopCountBounce {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.50);
    }

    40% {
        transform: scale(0.80);
    }

    60% {
        transform: scale(1.28);
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}


/* =====================================================
   FLEXI COMMERCE — CART SUCCESS MODAL FINAL FIX
   Desktop + Mobile fixed overlay, no duplicate conflict
===================================================== */

.fc-cart-success-modal,
.fc-cart-success-modal *,
.fc-cart-success-modal *::before,
.fc-cart-success-modal *::after {
    box-sizing: border-box !important;
}

.fc-cart-success-modal {
    position: fixed !important;
    inset: 0 !important;

    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;

    min-width: 100vw !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;

    max-width: none !important;
    max-height: none !important;

    display: none !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 18px !important;
    margin: 0 !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;

    z-index: 2147483647 !important;

    background: transparent !important;
    transform: none !important;
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease !important;
}

.fc-cart-success-modal[hidden] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.fc-cart-success-modal.is-visible {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.fc-cart-success-overlay {
    position: fixed !important;
    inset: 0 !important;

    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;

    z-index: 1 !important;

    display: block !important;

    background: rgba(7, 24, 15, 0.68) !important;

    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;

    cursor: default !important;
}

.fc-cart-success-dialog {
    position: relative !important;
    z-index: 2 !important;

    width: 100% !important;
    max-width: 430px !important;
    min-width: 0 !important;

    max-height: calc(100vh - 36px) !important;
    max-height: calc(100dvh - 36px) !important;

    margin: auto !important;
    padding: 38px 34px 34px !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    border: 1px solid rgba(21, 84, 67, 0.1) !important;
    border-radius: 22px !important;

    background: #ffffff !important;

    text-align: center !important;

    box-shadow:
        0 28px 80px rgba(7, 24, 15, 0.3),
        0 10px 28px rgba(7, 24, 15, 0.16) !important;

    transform: translateY(16px) scale(0.96) !important;
    opacity: 0 !important;

    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s ease !important;
}

.fc-cart-success-modal.is-visible .fc-cart-success-dialog {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
}

.fc-cart-success-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 5 !important;

    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: #f1f8f5 !important;
    color: #155443 !important;

    font-family: Arial, sans-serif !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    box-shadow: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease !important;
}

.fc-cart-success-close:hover {
    background: #e1f0e9 !important;
    color: #104535 !important;
    transform: rotate(90deg) !important;
}

.fc-cart-success-close:active {
    transform: rotate(90deg) scale(0.92) !important;
}

.fc-cart-success-close:focus {
    outline: none !important;
}

.fc-cart-success-close:focus-visible {
    outline: 3px solid rgba(21, 84, 67, 0.22) !important;
    outline-offset: 2px !important;
}

.fc-cart-success-icon {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 auto 19px !important;

    border-radius: 50% !important;

    background: #e7f4ef !important;
    color: #155443 !important;

    font-size: 33px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    box-shadow: 0 0 0 8px #f4faf7 !important;

    animation: fcCartSuccessIcon 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fcCartSuccessIcon {
    0% {
        opacity: 0;
        transform: scale(0.45);
    }

    65% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fc-cart-success-dialog h2 {
    margin: 0 0 9px !important;
    padding: 0 !important;

    color: #17352d !important;

    font-family: inherit !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;

    letter-spacing: 0 !important;
}

.fc-cart-success-dialog p {
    width: 100% !important;
    max-width: 330px !important;

    margin: 0 auto 27px !important;
    padding: 0 !important;

    color: #68736f !important;

    font-size: 14.5px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

.fc-cart-success-actions {
    width: 100% !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 11px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.fc-cart-success-actions button {
    width: 100% !important;

    min-width: 0 !important;
    min-height: 50px !important;
    height: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 20px !important;
    margin: 0 !important;

    border-radius: 11px !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    white-space: nowrap !important;

    cursor: pointer !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease !important;
}

.fc-cart-go-to-cart {
    border: 1.5px solid #155443 !important;
    background: #155443 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(21, 84, 67, 0.16) !important;
}

.fc-cart-go-to-cart:hover {
    border-color: #104535 !important;
    background: #104535 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(21, 84, 67, 0.22) !important;
}

.fc-cart-go-to-cart:active {
    transform: translateY(0) !important;
}

.fc-cart-continue-shopping {
    border: 1.5px solid #155443 !important;
    background: #ffffff !important;
    color: #155443 !important;
}

.fc-cart-continue-shopping:hover {
    border-color: #155443 !important;
    background: #f1f8f5 !important;
    color: #104535 !important;
    transform: translateY(-1px) !important;
}

.fc-cart-continue-shopping:active {
    transform: translateY(0) !important;
}

.fc-cart-success-actions button:focus {
    outline: none !important;
}

.fc-cart-success-actions button:focus-visible {
    outline: 3px solid rgba(21, 84, 67, 0.22) !important;
    outline-offset: 2px !important;
}


/* =====================================================
   MODAL OPEN STATE FIX
   Works even if JS only adds .is-visible and not body class
===================================================== */

body.fc-cart-modal-open,
html:has(.fc-cart-success-modal.is-visible),
body:has(.fc-cart-success-modal.is-visible) {
    overflow: hidden !important;
    touch-action: none !important;
}

body.fc-cart-modal-open .fc-single-product-wrap,
body.fc-cart-modal-open .fc-single-product,
body.fc-cart-modal-open .fc-product-gallery-area,
body.fc-cart-modal-open .fc-product-summary-area,
body.fc-cart-modal-open .fc-product-gallery-card,
body.fc-cart-modal-open .fc-product-summary-card,
body.fc-cart-modal-open .fc-product-tabs-section,
body.fc-cart-modal-open .fc-sticky-cart-bar,
body:has(.fc-cart-success-modal.is-visible) .fc-single-product-wrap,
body:has(.fc-cart-success-modal.is-visible) .fc-single-product,
body:has(.fc-cart-success-modal.is-visible) .fc-product-gallery-area,
body:has(.fc-cart-success-modal.is-visible) .fc-product-summary-area,
body:has(.fc-cart-success-modal.is-visible) .fc-product-gallery-card,
body:has(.fc-cart-success-modal.is-visible) .fc-product-summary-card,
body:has(.fc-cart-success-modal.is-visible) .fc-product-tabs-section,
body:has(.fc-cart-success-modal.is-visible) .fc-sticky-cart-bar {
    transform: none !important;
    animation: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
}


/* =====================================================
   MOBILE MODAL
===================================================== */

@media screen and (max-width: 600px) {
    .fc-cart-success-modal {
        position: fixed !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        inset: 0 !important;

        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;

        min-width: 100vw !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;

        max-width: none !important;
        max-height: none !important;

        padding: 14px !important;
        margin: 0 !important;

        align-items: center !important;
        justify-content: center !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        z-index: 2147483647 !important;

        transform: none !important;
    }

    .fc-cart-success-modal.is-visible {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .fc-cart-success-overlay {
        position: fixed !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        inset: 0 !important;

        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;

        z-index: 1 !important;
    }

    .fc-cart-success-dialog {
        position: relative !important;
        z-index: 2 !important;

        width: 100% !important;
        max-width: 390px !important;
        min-width: 0 !important;

        max-height: calc(100vh - 28px) !important;
        max-height: calc(100dvh - 28px) !important;

        height: auto !important;

        margin: auto !important;

        padding: 38px 20px 24px !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        border-radius: 20px !important;

        text-align: center !important;

        transform: translateY(12px) scale(0.96) !important;
    }

    .fc-cart-success-modal.is-visible .fc-cart-success-dialog {
        transform: translateY(0) scale(1) !important;
    }

    .fc-cart-success-close {
        top: 10px !important;
        right: 10px !important;

        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;

        font-size: 24px !important;
    }

    .fc-cart-success-icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;

        margin: 0 auto 17px !important;

        font-size: 29px !important;
    }

    .fc-cart-success-dialog h2 {
        width: 100% !important;
        margin: 0 0 8px !important;
        padding: 0 !important;

        font-size: 22px !important;
        line-height: 1.3 !important;

        text-align: center !important;
    }

    .fc-cart-success-dialog p {
        width: 100% !important;
        max-width: 290px !important;

        margin: 0 auto 23px !important;
        padding: 0 !important;

        font-size: 14px !important;
        line-height: 1.6 !important;

        text-align: center !important;
    }

    .fc-cart-success-actions {
        width: 100% !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: stretch !important;
        justify-content: center !important;

        gap: 10px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .fc-cart-success-actions button {
        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;
        min-height: 49px !important;
        height: 49px !important;

        padding: 0 16px !important;
        margin: 0 !important;

        border-radius: 10px !important;

        font-size: 14.5px !important;
        line-height: 1 !important;

        white-space: nowrap !important;
        text-align: center !important;

        flex: 0 0 auto !important;
    }

    .fc-cart-go-to-cart {
        width: 100% !important;
        background: #155443 !important;
        border-color: #155443 !important;
        color: #ffffff !important;
    }

    .fc-cart-continue-shopping {
        width: 100% !important;
        background: #ffffff !important;
        border-color: #155443 !important;
        color: #155443 !important;
    }
}


/* =====================================================
   SMALL MOBILE MODAL
===================================================== */

@media screen and (max-width: 380px) {
    .fc-cart-success-modal {
        padding: 10px !important;
    }

    .fc-cart-success-dialog {
        width: 100% !important;
        max-width: 360px !important;

        max-height: calc(100vh - 20px) !important;
        max-height: calc(100dvh - 20px) !important;

        padding: 35px 17px 20px !important;

        border-radius: 18px !important;
    }

    .fc-cart-success-close {
        top: 9px !important;
        right: 9px !important;

        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;

        font-size: 23px !important;
    }

    .fc-cart-success-icon {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
        max-width: 55px !important;
        max-height: 55px !important;

        margin-bottom: 15px !important;

        font-size: 27px !important;
    }

    .fc-cart-success-dialog h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .fc-cart-success-dialog p {
        max-width: 270px !important;

        margin-bottom: 20px !important;

        font-size: 13.5px !important;
        line-height: 1.55 !important;
    }

    .fc-cart-success-actions {
        gap: 9px !important;
    }

    .fc-cart-success-actions button {
        min-height: 46px !important;
        height: 46px !important;

        padding: 0 14px !important;

        font-size: 14px !important;
    }
}


/* =====================================================
   VERY SMALL MOBILE MODAL
===================================================== */

@media screen and (max-width: 320px) {
    .fc-cart-success-modal {
        padding: 8px !important;
    }

    .fc-cart-success-dialog {
        max-width: none !important;

        max-height: calc(100vh - 16px) !important;
        max-height: calc(100dvh - 16px) !important;

        padding: 32px 14px 17px !important;

        border-radius: 17px !important;
    }

    .fc-cart-success-close {
        top: 8px !important;
        right: 8px !important;

        width: 33px !important;
        height: 33px !important;
        min-width: 33px !important;
        min-height: 33px !important;
        max-width: 33px !important;
        max-height: 33px !important;

        font-size: 22px !important;
    }

    .fc-cart-success-icon {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;

        margin-bottom: 14px !important;

        font-size: 25px !important;
    }

    .fc-cart-success-dialog h2 {
        margin-bottom: 7px !important;

        font-size: 19px !important;
        line-height: 1.25 !important;
    }

    .fc-cart-success-dialog p {
        max-width: 250px !important;

        margin-bottom: 17px !important;

        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .fc-cart-success-actions {
        gap: 8px !important;
    }

    .fc-cart-success-actions button {
        min-height: 44px !important;
        height: 44px !important;

        padding: 0 12px !important;

        font-size: 13.5px !important;
    }
}


/* =====================================================
   REDUCED MOTION — CART MODAL
===================================================== */

@media (prefers-reduced-motion: reduce) {
    .fc-cart-success-modal,
    .fc-cart-success-dialog,
    .fc-cart-success-close,
    .fc-cart-success-actions button {
        transition: none !important;
    }

    .fc-cart-success-icon {
        animation: none !important;
    }
}






/* =====================================================
   PRODUCT THUMBNAIL IMAGE FIX
===================================================== */

.fc-product-thumbnails {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.fc-product-thumbnails::-webkit-scrollbar {
    display: none;
}

.fc-product-thumbnail {
    flex: 0 0 74px !important;
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    min-height: 74px !important;
    max-width: 74px !important;
    max-height: 74px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 6px !important;
    margin: 0 !important;

    border: 1.5px solid #e1eadf !important;
    border-radius: 14px !important;

    background: #ffffff !important;

    overflow: hidden !important;
    cursor: pointer !important;

    box-shadow: 0 6px 16px rgba(21, 84, 67, 0.06);
}

.fc-product-thumbnail img,
.fc-product-thumbnail .fc-thumb-image {
    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    display: block !important;

    object-fit: contain !important;
    object-position: center center !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 10px !important;
}

.fc-product-thumbnail.active {
    border-color: #155443 !important;
    box-shadow:
        0 0 0 3px rgba(21, 84, 67, 0.12),
        0 8px 20px rgba(21, 84, 67, 0.12) !important;
}

.fc-product-thumbnail:hover {
    border-color: #23705a !important;
    transform: translateY(-1px);
}

@media screen and (max-width: 600px) {
    .fc-product-thumbnails {
        gap: 8px;
        padding: 10px 12px 14px;
    }

    .fc-product-thumbnail {
        flex-basis: 66px !important;
        width: 66px !important;
        height: 66px !important;
        min-width: 66px !important;
        min-height: 66px !important;
        max-width: 66px !important;
        max-height: 66px !important;

        padding: 5px !important;
        border-radius: 12px !important;
    }

    .fc-product-thumbnail img,
    .fc-product-thumbnail .fc-thumb-image {
        border-radius: 8px !important;
    }
}

@media screen and (max-width: 360px) {
    .fc-product-thumbnail {
        flex-basis: 60px !important;
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
}




/* =====================================================
   LIGHTBOX ARROW + CLOSE BUTTON POLISH
===================================================== */

.fc-gallery-lightbox {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 38%),
        rgba(4, 20, 12, 0.94) !important;
}

.fc-lightbox-close,
.fc-lightbox-nav {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 50% !important;

    background: rgba(255, 255, 255, 0.94) !important;
    color: #155443 !important;

    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;

    transition:
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease !important;
}

.fc-lightbox-close:hover,
.fc-lightbox-nav:hover {
    background: #155443 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.38) !important;

    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.34),
        0 0 0 6px rgba(255, 255, 255, 0.08) !important;
}

.fc-lightbox-close {
    top: 22px !important;
    right: 22px !important;
    font-size: 26px !important;
}

.fc-lightbox-close:hover {
    transform: rotate(90deg) scale(1.04) !important;
}

.fc-lightbox-close:active {
    transform: rotate(90deg) scale(0.94) !important;
}

.fc-lightbox-nav {
    top: 50% !important;
    font-size: 30px !important;
}

.fc-lightbox-prev {
    left: 22px !important;
}

.fc-lightbox-next {
    right: 22px !important;
}

.fc-lightbox-prev:hover {
    transform: translateY(-50%) translateX(-3px) scale(1.04) !important;
}

.fc-lightbox-next:hover {
    transform: translateY(-50%) translateX(3px) scale(1.04) !important;
}

.fc-lightbox-prev:active {
    transform: translateY(-50%) translateX(-3px) scale(0.94) !important;
}

.fc-lightbox-next:active {
    transform: translateY(-50%) translateX(3px) scale(0.94) !important;
}

.fc-lightbox-counter {
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 7px 16px !important;

    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 999px !important;

    background: rgba(255, 255, 255, 0.94) !important;
    color: #155443 !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}


/* =====================================================
   MOBILE LIGHTBOX BUTTONS
===================================================== */

@media screen and (max-width: 600px) {
    .fc-lightbox-close,
    .fc-lightbox-nav {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;

        font-size: 22px !important;
    }

    .fc-lightbox-close {
        top: 14px !important;
        right: 14px !important;
        font-size: 24px !important;
    }

    .fc-lightbox-prev {
        left: 10px !important;
    }

    .fc-lightbox-next {
        right: 10px !important;
    }

    .fc-lightbox-nav {
        font-size: 27px !important;
    }

    .fc-lightbox-counter {
        bottom: 16px !important;
        min-height: 31px !important;
        padding: 6px 13px !important;
        font-size: 12px !important;
    }
}



