/**
 * FrameCraft Pro — Single Product Page Styles
 * Pixel-exact match to the Timbré Studio reference design.
 *
 * Design tokens:
 *  - Primary: #000000 (black buttons, headings)
 *  - Background: #FFFFFF
 *  - Footer / light gray: #EAEAEA
 *  - Accent / selection: #EAEAEA
 *  - Borders: #EAEAEA
 *  - Body text: #000000
 *  - Meta text: #000000
 *  - Legal text: #000000
 *
 * Typography (v1.0.53):
 *  - Headings: "Futura Book" — proprietary geometric sans.
 *  - Body: "Brandon Grotesque" — proprietary grotesque.
 *  No fallback fonts. The site owner must have these fonts installed.
 *
 * Layout:
 *  - Container max-width: 1400px, horizontal padding 40-80px
 *  - Hero: 45% gallery / 55% info grid
 *  - Sharp corners (border-radius: 0) on buttons, inputs, images
 */

/* ============ @FONT-FACE (v1.0.53) ============
 * Loads the proprietary fonts used by the design system:
 *   - Futura Book (headings H1/H2) — family "Futura Book"
 *   - Brandon Grotesque (body + subsections) — single family, weights:
 *       300 = Light (body text)
 *       500 = Medium (subsections, buttons)
 *
 * local() checks if the font is already installed on the user's system
 * first. If not, url() loads it from the plugin's assets/fonts directory.
 */
@font-face {
        font-family: "Futura Book";
        src: local("Futura Book"), local("Futura-Book"), local("Futura-Medium"), local("Futura"),
             url("../../assets/fonts/Futura-Book.woff2") format("woff2");
        font-weight: 400;
        font-style: normal;
        font-display: swap;
}
@font-face {
        font-family: "Brandon";
        src: local("Brandon Light"), local("BrandonGrotesque-Light"), local("Brandon"),
             url("../../assets/fonts/BrandonGrotesque-Light.woff2") format("woff2");
        font-weight: 300;
        font-style: normal;
        font-display: swap;
}
@font-face {
        font-family: "Brandon";
        src: local("Brandon Medium"), local("BrandonGrotesque-Medium"), local("Brandon"),
             url("../../assets/fonts/BrandonGrotesque-Medium.woff2") format("woff2");
        font-weight: 500;
        font-style: normal;
        font-display: swap;
}

/* ============ RESETS / TOKENS ============ */
/* v1.0.51: STRICT design system — 3 colors only (#000000, #EAEAEA, #FFFFFF).
   Typography: Futura-Book (H1/H2), Brandon Grotesque Medium (subsections),
   Brandon Grotesque Light (body). Fonts loaded via @font-face above. */
:root {
        --fc-black: #000000;
        --fc-white: #FFFFFF;
        --fc-gray: #EAEAEA;

        --fc-primary: #000000;
        --fc-bg: #FFFFFF;
        --fc-footer-bg: #EAEAEA;
        --fc-accent: #EAEAEA;
        --fc-border: #EAEAEA;
        --fc-text: #000000;
        --fc-meta: #000000;
        --fc-legal: #000000;

        /* v1.3.58: Switched font tokens from "Futura Book" (heading) / "Brandon"
         * (body) to "Poppins" so the product page uses Poppins everywhere. The
         * old @font-face declarations for Futura Book + Brandon are kept above
         * (harmless if the fonts aren't installed) so any rule still referencing
         * those names by string won't 404 the file. Poppins is loaded via Google
         * Fonts in class-fc-assets.php (fc-poppins stylesheet, dependency of
         * fc-public-style). Weights: 300 (body), 400 (heading default),
         * 500 (subheading/buttons), 600/700 (bold headings). */
        --fc-heading-font: "Poppins", "Futura Book", Arial, sans-serif;
        --fc-subheading-font: "Poppins", "Brandon", Arial, sans-serif;
        --fc-body-font: "Poppins", "Brandon", Arial, sans-serif;

        --fc-container-w: 1440px;
        --fc-page-padding: 80px;
}

.fc-product-hero *,
.fc-related-section *,
.fc-footer *,
.fc-breadcrumb *,
.fc-product-page * {
        box-sizing: border-box;
}

/* v1.0.57: .fc-product-page wrapper — scopes global font/color overrides
   so the header (theme nav, cart icon, search icon) is not affected. */
body.fc-frame-product {
        overflow-x: hidden;
}
.fc-product-page {
        font-family: "Poppins", "Brandon", Arial, sans-serif !important;
        font-weight: 300;
        color: var(--fc-text, #000000);
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: clip;
}

/* ============ GLOBAL PAGE TYPOGRAPHY (v1.0.49) ============
 * STRICT design system enforcement:
 *   H1, H2            → Futura-Book (weight 400, Title Case)
 *   H3-H6, subsections → Brandon Grotesque Medium (weight 500)
 *   Body text          → Brandon Grotesque Light (weight 300)
 * v1.0.57: Scoped to .fc-product-page to avoid breaking theme icon fonts
 * in the header (cart icon, search icon, etc. were showing a question
 * mark because the global font-family override was replacing the theme's
 * icon font with Brandon Grotesque). */
body.fc-frame-product .fc-product-page,
body.fc-frame-product .fc-product-page p,
body.fc-frame-product .fc-product-page span,
body.fc-frame-product .fc-product-page li,
body.fc-frame-product .fc-product-page td,
body.fc-frame-product .fc-product-page th,
body.fc-frame-product .fc-product-page label,
body.fc-frame-product .fc-product-page input,
body.fc-frame-product .fc-product-page button,
body.fc-frame-product .fc-product-page select,
body.fc-frame-product .fc-product-page textarea,
body.fc-frame-product .fc-product-page a,
body.fc-frame-product .fc-product-page div,
body.fc-frame-product .fc-product-page small,
body.fc-frame-product .fc-product-page blockquote {
        font-family: var(--fc-body-font) !important;
        font-weight: 300;
        color: #000000;
}
body.fc-frame-product .fc-product-page h1,
body.fc-frame-product .fc-product-page h2 {
        font-family: var(--fc-heading-font) !important;
        font-weight: 400 !important;
        text-transform: capitalize !important;
}
body.fc-frame-product .fc-product-page h3,
body.fc-frame-product .fc-product-page h4,
body.fc-frame-product .fc-product-page h5,
body.fc-frame-product .fc-product-page h6 {
        font-family: var(--fc-subheading-font) !important;
        font-weight: 500 !important;
}
/* Cart page: same global typography enforcement.
 * v1.0.57: Scoped to .fc-cart-page to avoid breaking theme icon fonts
 * in the header (cart icon, search icon, etc. were showing a question
 * mark because the global font-family override was replacing the theme's
 * icon font with Brandon Grotesque). */
body.fc-cart-active .fc-cart-page,
body.fc-cart-active .fc-cart-page p,
body.fc-cart-active .fc-cart-page span,
body.fc-cart-active .fc-cart-page li,
body.fc-cart-active .fc-cart-page td,
body.fc-cart-active .fc-cart-page th,
body.fc-cart-active .fc-cart-page label,
body.fc-cart-active .fc-cart-page input,
body.fc-cart-active .fc-cart-page button,
body.fc-cart-active .fc-cart-page select,
body.fc-cart-active .fc-cart-page textarea,
body.fc-cart-active .fc-cart-page a,
body.fc-cart-active .fc-cart-page div,
body.fc-cart-active .fc-cart-page small {
        font-family: var(--fc-body-font) !important;
        font-weight: 300;
        color: #000000;
}
body.fc-cart-active .fc-cart-page h1,
body.fc-cart-active .fc-cart-page h2 {
        font-family: var(--fc-heading-font) !important;
        font-weight: 400 !important;
        text-transform: capitalize !important;
}
body.fc-cart-active .fc-cart-page h3,
body.fc-cart-active .fc-cart-page h4,
body.fc-cart-active .fc-cart-page h5,
body.fc-cart-active .fc-cart-page h6 {
        font-family: var(--fc-subheading-font) !important;
        font-weight: 500 !important;
}
/* Placeholder text — strict palette, must be #000000. */
body.fc-frame-product .fc-product-page input::placeholder,
body.fc-frame-product .fc-product-page textarea::placeholder,
body.fc-cart-active .fc-cart-page input::placeholder,
body.fc-cart-active .fc-cart-page textarea::placeholder {
        color: #000000 !important;
        opacity: 1 !important;
}

/* ============ CONTAINER ============ */
.fc-container {
        width: 100%;
        max-width: var(--fc-container-w);
        min-width: 0;
        margin: 0 auto;
        padding: 0 var(--fc-page-padding);
}

/* ============ BREADCRUMB ============ */
.fc-breadcrumb {
        background: #eaeaea;
        border-bottom: 1px solid var(--fc-border);
        padding: 12px 0;
        font-size: 12px;
        color: var(--fc-meta);
}
.fc-breadcrumb nav.woocommerce-breadcrumb { margin: 0; }
.fc-breadcrumb .fc-sep { color: var(--fc-legal); margin: 0 6px; }
.fc-breadcrumb a { color: var(--fc-meta); text-decoration: none; }
.fc-breadcrumb a:hover { color: var(--fc-primary); }

/* ============= HERO LAYOUT ============= */
.fc-product-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 48px;
        min-width: 0;
        overflow-x: clip;
        padding-top: 56px;
        /* v1.1.2: Reference measured gap between the hero row and the
           "Why This Frame" heading is ~48px total (hero bottom padding +
           why-section top padding combined) — was 140px combined, far too
           much whitespace versus the client's design. */
        padding-bottom: 24px;
        align-items: start;
}

/* ============= LEFT: GALLERY + FEATURED ============= */
.fc-gallery-wrap {
        display: grid;
        /* v1.1.2: Reference-exact match — thumb column is ~25% of the gallery
           width (measured 180px of 727px total in the client's reference
           design), not a narrow fixed 90px. Using a percentage keeps the
           ratio correct as the container scales. */
        grid-template-columns: 25% 1fr;
        gap: 14px;
        position: sticky;
        top: 30px;
        /* v1.0.12: Force both columns (thumbs + featured) to share the same
           height. The thumb column then internally distributes that height
           equally across its thumbnails via flex, so the 3 thumbs stacked
           vertically total exactly the featured image's height — matching
           the Timbré Studio reference design. */
        align-items: stretch;
}

/* Vertical thumbnail strip */
.fc-thumbs {
        display: flex;
        flex-direction: column;
        gap: 12px;
        /* v1.0.12: Removed the fixed 600px max-height — it was preventing the
           thumbs from stretching to match the featured image's height. We rely
           on the parent grid's default align-items: stretch behavior to give
           the thumbs column the same height as the featured column. Inside
           this column, each .fc-thumb uses flex: 1 1 0 to share that height
           equally, so the 3 thumbs stacked vertically total exactly the
           featured image's height — matching the Timbré Studio reference. */
        min-height: 0; /* allow flex children to shrink below their content size */
}
.fc-thumb {
        /* v1.1.2: Fill the grid column (25% of gallery width) instead of a
           fixed 90px — reference-exact match. */
        width: 100%;
        /* v1.0.12: Replaced the fixed 100px height with flex-grow so each
           thumbnail claims an equal share of the available column height.
           This makes the 3 thumbs stacked vertically match the featured
           image's height — like the reference design. */
        flex: 1 1 0;
        min-height: 80px;
        background: #EAEAEA;
        border: 1px solid transparent;
        cursor: pointer;
        overflow: hidden;
        transition: border-color .15s ease;
        position: relative; /* needed for ::before, ::after, and overlay children */
}
.fc-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
}
.fc-thumb:hover { border-color: var(--fc-border); }
.fc-thumb.active { border-color: var(--fc-primary); }

/* Featured preview */
.fc-featured {
        position: relative;
        background: #EAEAEA;
        overflow: hidden;
        width: 100%;
        /* v1.0.12: Removed the fixed min-height: 400px — it was conflicting
           with the inline aspect-ratio: 4/5 and producing an undersized
           featured image on narrower viewports. The inline aspect-ratio now
           controls the height entirely, and the thumb column stretches to
           match via grid's default align-items: stretch behavior. */
        border-radius: 0;
        /* v1.0.12: align-self: start keeps the featured image at its natural
           aspect-ratio height even when the thumbs column is taller (i.e. when
           there are many thumbs). Without this, align-items: stretch (default
           on the parent grid) would override the aspect-ratio and vertically
           stretch the featured image to match the thumbs column. */
        align-self: start;
}
.fc-featured canvas {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
}
.fc-featured-empty {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--fc-legal);
        font-family: var(--fc-body-font);
        font-size: 13px;
        pointer-events: none;
}
.fc-featured-empty.hidden { display: none; }
.fc-featured-loader {
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 5;
}
/* IMPORTANT: `display:flex` above would override the HTML `hidden` attribute
   (UA stylesheet's `[hidden]{display:none}` is lower specificity). So we
   explicitly hide the loader via the `.hidden` class AND via `[hidden]`. */
.fc-featured-loader.hidden,
.fc-featured-loader[hidden] {
        display: none !important;
}
.fc-spinner {
        width: 28px; height: 28px;
        border: 2px solid var(--fc-border);
        border-top-color: var(--fc-primary);
        border-radius: 50%;
        animation: fc-spin 0.8s linear infinite;
}
@keyframes fc-spin { to { transform: rotate(360deg); } }

/* Live preview badge — shown when canvas is compositing a gallery sample
   or an uploaded photo inside the frame. */
.fc-preview-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        font-family: var(--fc-body-font);
        font-size: 10px;
        letter-spacing: 0.08em;
        padding: 4px 10px;
        z-index: 4;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.2s ease;
}
.fc-preview-badge.is-visible { opacity: 1; }

/* "Use as my photo" button overlay on gallery thumbnails — lets the user
   composite a gallery sample image inside the frame. */
.fc-thumb-use {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.55);
        color: #fff;
        font-family: var(--fc-body-font);
        font-size: 10px;
        letter-spacing: 0.05em;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 4px;
        opacity: 0;
        transition: opacity 0.15s ease;
        pointer-events: none;
}
.fc-thumb:hover .fc-thumb-use { opacity: 1; }
.fc-thumb.is-framed::after {
        content: "";
        position: absolute;
        top: 4px; right: 4px;
        width: 8px; height: 8px;
        background: var(--fc-primary);
        border-radius: 50%;
        z-index: 2;
}

/* v1.4.46 (req #10): featured frame image switches INSTANTLY on hover/click —
   no fade, slide, or any animation on the featured preview or its canvas. */
.fc-featured,
.fc-featured canvas,
.fc-featured canvas + * {
        transition: none !important;
        animation: none !important;
}
/* Real user photo composited inside gallery frame thumbnails (req #10). */
.fc-thumb .fc-thumb-photo-clip { z-index: 1; }
.fc-thumb .fc-thumb-photo { display: block; }
/* The frame thumbnail (first one) shows the empty frame and is marked
   with a subtle "EMPTY" badge so the user knows it's the un-framed state. */
.fc-thumb.is-frame::before {
        content: "FRAME";
        position: absolute;
        bottom: 4px; left: 4px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        font-family: var(--fc-body-font);
        font-size: 8px;
        letter-spacing: 0.08em;
        padding: 2px 5px;
        z-index: 2;
        pointer-events: none;
}

/* v1.0.7: Thumbnail tag styles for the explicit <span> badges. */
.fc-thumb-tag {
        position: absolute;
        bottom: 4px; left: 4px;
        font-family: var(--fc-body-font);
        font-size: 8px;
        font-weight: 400;
        letter-spacing: 0.08em;
        padding: 2px 5px;
        z-index: 2;
        pointer-events: none;
        color: #fff;
}
.fc-thumb-tag-frame { background: rgba(0,0,0,0.7); }
.fc-thumb-tag-switcher { background: rgba(0,0,0,0.7); }
/* When a frame-switcher thumb is the active one, color its tag with the
   accent color so the user can see at-a-glance which frame they're on. */
.fc-thumb.is-frame-switcher.active .fc-thumb-tag-switcher {
        background: var(--fc-primary, #000);
        color: #fff;
}

/* ============= WISHLIST ============= */
.fc-wishlist-toggle {
        background: transparent;
        border: none;
        padding: 6px;
        cursor: pointer;
        color: var(--fc-primary);
        transition: transform .15s ease, color .15s ease;
}
/* v1.1.0: PNG icon styling for client-provided icons (heart, search, profile). */
.fc-icon1-icon {
        display: inline-block;
        vertical-align: middle;
        object-fit: contain;
        pointer-events: none;
}
/* v1.1.10: Heart is now an INLINE SVG (solid silhouette), not a CSS mask.
   The old heart.png was a HOLLOW outline (transparent center) so the mask
   could only color the border — never a filled heart. The SVG path is a solid
   heart, so `fill` colors the whole heart and `stroke` draws a clean border.
   DEFAULT = white fill + black border. ACTIVE (wishlisted) = solid black fill.
   The JS setButtonState() already toggles inline `fill`/`stroke` on `svg path`,
   so the active state is set inline; the default state comes from CSS below. */
.fc-heart-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        /* v1.0.79: Force transparent background. The JS setButtonState() still
           sets an inline background-color (#000 active / '' inactive) left over
           from the old mask approach — without this, the active state would
           show a black box behind the SVG heart (through the path's transparent
           corners). The SVG fill handles all coloring now. */
        background-color: transparent !important;
        pointer-events: none;
}
.fc-heart-svg {
        display: block;
        width: 20px;
        height: 20px;
        overflow: visible;
}
.fc-heart-svg path {
        fill: #FFFFFF;
        stroke: #000000;
        stroke-width: 1.5;
        stroke-linejoin: round;
        vector-effect: non-scaling-stroke;
}
.fc-heart-icon--small {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
}
.fc-heart-icon--small .fc-heart-svg {
        width: 16px;
        height: 16px;
}
.fc-heart-icon--small .fc-heart-svg path {
        stroke-width: 2;
}
.fc-wishlist-toggle:hover,
.fc-wishlist-toggle:focus,
.fc-wishlist-toggle:active {
        transform: scale(1.1);
        color: var(--fc-primary) !important;
        background: transparent !important;
        border-color: transparent !important;
}
.fc-wishlist-toggle:hover svg,
.fc-wishlist-toggle:focus svg,
.fc-wishlist-toggle:active svg,
.fc-wishlist-toggle:hover img,
.fc-wishlist-toggle:focus img,
.fc-wishlist-toggle:active img {
        fill: currentColor !important;
        color: var(--fc-primary) !important;
}
.fc-wishlist--featured:hover,
.fc-wishlist--featured:focus,
.fc-wishlist--featured:active {
        background: transparent !important;
}
/* v1.1.10: Active wishlist state — heart becomes solid BLACK (filled).
   The JS also sets inline fill=#000 / stroke=#000 on `svg path` for the active
   state, so this CSS rule is a belt-and-suspenders fallback. No !important is
   used so the JS inline styles take precedence when present. */
.fc-wishlist-toggle.is-active svg { fill: currentColor; }
.fc-wishlist-toggle.is-active,
.fc-wishlist-toggle[aria-pressed="true"] {
        color: #000000 !important;
}
.fc-wishlist-toggle.is-active .fc-heart-svg path,
.fc-wishlist-toggle[aria-pressed="true"] .fc-heart-svg path {
        fill: #000000;
        stroke: #000000;
}
.fc-wishlist-toggle.is-active img.fc-icon1-icon {
        filter: brightness(0) saturate(100%) !important;
        opacity: 1 !important;
}
.fc-wishlist-toggle.is-active svg,
.fc-wishlist-toggle.is-active svg path {
        fill: #000000 !important;
        stroke: #000000 !important;
}
/* Click animation — quick scale bounce when toggling wishlist */
.fc-wishlist-toggle.is-animating {
        animation: fc-wishlist-bounce .35s ease;
}
@keyframes fc-wishlist-bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.3); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.fc-wishlist-notice {
        position: fixed;
        right: 24px;
        bottom: 24px;
        z-index: 10000;
        display: flex;
        align-items: center;
        gap: 16px;
        max-width: min(420px, calc(100vw - 32px));
        padding: 14px 16px;
        background: #000000;
        color: #FFFFFF !important;
        font-family: var(--fc-body-font);
        font-size: 13px;
        line-height: 1.4;
        opacity: 0;
        transform: translateY(8px);
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
}
.fc-wishlist-notice.is-visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
}
.fc-wishlist-notice-message {
        flex: 1 1 auto;
        color: #FFFFFF !important;
        white-space: nowrap;
}
.fc-wishlist-notice-action {
        flex: 0 0 auto;
        color: #FFFFFF !important;
        text-decoration: underline !important;
        text-underline-offset: 3px;
        font-weight: 500;
        white-space: nowrap;
        cursor: pointer;
}
.fc-wishlist-notice-action:hover,
.fc-wishlist-notice-action:focus {
        color: #FFFFFF !important;
        opacity: .8;
}

.fc-wishlist-notice.is-error {
        background: #EAEAEA;
        color: #000000 !important;
        border: 1px solid #000000;
}
/* Native YITH/TI controls are rendered only as integration bridges. They
   remain in the DOM for the plugin's JavaScript but do not alter the design. */
.fc-wishlist-bridge {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0 0 0 0) !important;
        clip-path: inset(50%) !important;
        white-space: nowrap !important;
        border: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
}


.fc-wishlist--featured {
        position: absolute;
        top: 16px; right: 16px;
        background: transparent;
        padding: 8px;
        border-radius: 50%;
        z-index: 4;
}
.fc-wishlist--info { padding: 0; }

/* ============= RIGHT: INFO COLUMN ============= */
.fc-info {
        display: flex;
        flex-direction: column;
        gap: 0;
}
.fc-info-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 16px;
}
/* v1.0.35: Collection label 13px (was 12px) per reference. */
.fc-collection {
        font-family: var(--fc-heading-font);
        font-size: 20px;
        font-weight: 300 !important;
        letter-spacing: 0.06em;
        color: var(--fc-meta);
        margin: 0 0 8px;
}
.fc-title {
        font-family: var(--fc-heading-font);
        font-size: 42px;
        font-weight: 400 !important;
        line-height: 1.2;
        color: var(--fc-primary);
        margin: 0;
        letter-spacing: -0.5px;
}

/* v1.0.35: Description 13px / #000000 per reference (was 14px / #000000). */
/* Description */
.fc-description {
        font-family: var(--fc-body-font) !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
        color: #000000;
        margin-bottom: 24px;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
}
.fc-description p { margin: 0 0 8px; }

/* v1.0.41: Truncate description using CSS line-clamp.
   The first <p> shows max 3 lines (via -webkit-line-clamp), and all
   other <p> are hidden. When .expanded is toggled (via the READ MORE
   button), all <p> show fully with no clamp.
   v1.1.3: Typography is declared on both states explicitly. This prevents
   a theme rule from changing the font-size only after .expanded is added. */
.fc-description-original,
.fc-description-original > p {
        --fc-description-size: 13px;
        font-family: var(--fc-body-font) !important;
        font-size: var(--fc-description-size) !important;
        line-height: 1.6 !important;
        font-weight: 300 !important;
}
.fc-description-finish,
.fc-description-finish .fc-finish-desc,
.fc-description-finish .fc-finish-desc > p {
        --fc-description-size: 14px;
        font-family: var(--fc-body-font) !important;
        font-size: var(--fc-description-size) !important;
        line-height: 1.6 !important;
        font-weight: 300 !important;
}
.fc-description-original:not(.expanded) > p:first-child,
.fc-description-finish:not(.expanded) .fc-finish-desc > p:first-child {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0;
        font-weight: 300;
        font-size: var(--fc-description-size) !important;
}
.fc-description-original:not(.expanded) > p:not(:first-child),
.fc-description-finish:not(.expanded) .fc-finish-desc > p:not(:first-child) {
        display: none;
}
.fc-description-original.expanded > p,
.fc-description-finish.expanded .fc-finish-desc > p {
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        -webkit-box-orient: initial;
}

/* v1.0.43: Read more link — EXACT match to reference (Product-page.jpg).
   VLM-confirmed spec: ALL UPPERCASE "READ MORE", pure black text,
   ~11px font size, weight 600 (medium/semibold), WIDE letter-spacing
   (~1.5px), NO background, NO box border, positioned ~16-20px below the
   last line of the description paragraph.
   v1.0.43 FIX: VLM re-examination of the reference confirmed the READ
   MORE text has a TEXT UNDERLINE (text-decoration underline, like a
   standard link underline — NOT a box border). User explicitly requested
   this: "read more button ky nechay outline do na". Previously v1.0.40
   had set text-decoration:none which removed the underline entirely.
   Now: text-decoration: underline + text-underline-offset: 3px +
   text-decoration-thickness: 1px gives a clean, modern underline that
   sits slightly below the text baseline (matches reference). Underline
   color inherits from the text color (#000000 black). Still NO box border,
   NO background, NO outline (box).
   v1.0.42 LEFT-ALIGNMENT FIX retained: display:block + text-align:left +
   align-self:flex-start + margin-right:auto keep the button left-aligned
   with the description text (defeats both theme text-align:center and
   flex-column centering).
   NO hover effect (user explicitly requested none). All pseudo-states
   (:link/:visited/:hover/:focus/:active) pinned to the EXACT same
   styling so no state can introduce a visual change. outline:none +
   box-shadow:none suppress the browser's default focus ring/shadow. */
.fc-read-more,
.fc-read-more:link,
.fc-read-more:visited,
.fc-read-more:hover,
.fc-read-more:focus,
.fc-read-more:active {
        display: block;
        width: auto;
        text-align: left;
        align-self: flex-start;
        margin: 10px 0 0 0;
        margin-left: 0;
        margin-top: 25px !important;
        margin-right: auto;
        background: none;
        border: none;
        padding: 0;
        font-family: var(--fc-body-font);
        font-size: 10px;
        font-weight: 300;
        letter-spacing: 1.2px;
        color: #999999;
        cursor: pointer;
        text-decoration: underline;
        text-decoration-color: #999999;
        text-underline-offset: 3px;
        text-decoration-thickness: 0.5px;
        outline: none;
        box-shadow: none;
}

/* v1.0.20: Finish info block — shown ABOVE the "Select Wood Finish" dropdown.
   When a wood finish with its own description is selected, JS populates this
   block with the finish's name + description text. It sits directly above the
   dropdown so the customer sees the finish details right where they make the
   choice. The original product description (#fc-description-original) is
   ALWAYS visible — it is no longer swapped out. The finish's gallery images
   appear in the LEFT gallery (via swapToFinishGallery). */
.fc-finish-info {
        margin: 0 0 16px;
        padding: 16px 18px;
        background: #EAEAEA;
        border-left: 3px solid var(--fc-primary, #000);
        border-radius: 0 4px 4px 0;
}
.fc-finish-info.fc-hidden { display: none !important; }
.fc-finish-info-name {
        font-family: var(--fc-heading-font);
        font-size: 18px;
        font-weight: 400;
        color: var(--fc-primary, #000);
        margin: 0 0 6px;
        letter-spacing: -0.2px;
}
.fc-finish-info-name:empty { display: none; }
.fc-finish-info-desc {
        font-family: var(--fc-body-font);
        font-size: 14px;
        line-height: 1.6;
        color: var(--fc-text, #000000);
}
.fc-finish-info-desc p { margin: 0 0 8px; }
.fc-finish-info-desc p:last-child { margin-bottom: 0; }
.fc-finish-info-desc h4,
.fc-finish-info-desc h5,
.fc-finish-info-desc h6 {
        font-family: var(--fc-heading-font);
        font-size: 15px;
        font-weight: 400;
        color: var(--fc-primary, #000);
        margin: 0 0 6px;
}

/* v1.0.17 legacy (kept for backward compatibility — the old description-swap
   blocks are no longer rendered by the template, but the CSS remains in case
   any cached markup references them). */
.fc-description-finish { display: flex; flex-direction: column; gap: 14px; }
.fc-description-finish.fc-hidden { display: none !important; }
.fc-description-original.fc-hidden { display: none !important; }
.fc-finish-featured { display: none !important; }
.fc-finish-desc {
        font-family: var(--fc-body-font);
        font-size: 14px;
        line-height: 1.6;
        color: var(--fc-text);
}
.fc-finish-desc p { margin: 0 0 8px; }
.fc-finish-desc p:last-child { margin-bottom: 0; }
.fc-finish-desc-title {
        font-family: var(--fc-heading-font);
        font-size: 16px;
        font-weight: 400;
        color: var(--fc-primary, #000);
        margin: 0 0 6px;
}

/* ============= OPTION BLOCKS ============= */
.fc-option-block { margin-bottom: 20px; }
.fc-option-label {
        display: block;
        font-family: var(--fc-heading-font);
        font-size: 12px;
        font-weight: 500 !important;
        letter-spacing: 0.5px;
        color: var(--fc-primary);
        margin-bottom: 8px;
}
.fc-option-label-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
}

/* Select dropdown */
.fc-select-wrap { position: relative; }
/* v1.0.33: Select dropdown per reference — letter-spacing 0.05em (was 1px),
   weight 500 kept, border #eaeaea (was --fc-border). Height 48px (was 50px). */
.fc-select {
        width: 100%;
        height: 48px;
        padding: 0 40px 0 16px;
        font-family: var(--fc-heading-font);
        font-size: 13px;
        font-weight: 400;
        letter-spacing: 0.05em;
        background: #FFFFFF;
        border: 1px solid #EAEAEA;
        border-radius: 0;
        color: var(--fc-primary);
        appearance: none;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
}
/* v1.1.1: Focus state — client wants lighter/less border weight when active.
   Remove the outline entirely and keep the same thin border so it doesn't
   appear heavier on focus. Just a subtle darkening to indicate focus. */
.fc-select:focus { outline: none; border-color: #E0E0E0; }
.fc-chevron {
        position: absolute;
        right: 14px; top: 50%;
        transform: translateY(-50%);
        color: var(--fc-meta);
        pointer-events: none;
}

/* Size buttons (v1.0.35: Reference-EXACT match. 11px / weight 500 / #000000 text,
   #EAEAEA bg, #EAEAEA border, 2px radius, 0.03em tracking. Selected = solid
   black bg + white text. v1.0.33 fixed hover white-text + selected inversion.) */
.fc-size-row {
        display: flex;
        flex-direction: row;
        gap: 6px;
        flex-wrap: nowrap;
}
.fc-size-btn {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 10px 8px;
        background: #EAEAEA;
        border: 1px solid #EAEAEA;
        border-radius: 2px;
        cursor: pointer;
        font-family: var(--fc-heading-font) !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        letter-spacing: 0.02em;
        color: #000000;
        text-align: center;
        white-space: nowrap;
        flex: 1 1 0;
        min-width: 0;
        transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.fc-size-label {
        font-weight: 500 !important;
}
/* v1.0.33: Kill the theme's `button:hover { color:#fff !important }` that
   was making the text invisible on hover. Pin dark text on ALL hover/focus
   states with !important. Background gets a subtle darken only. */
.fc-size-btn:hover,
.fc-size-btn:focus,
.fc-size-btn:active {
        background: #eaeaea;
        border-color: #EAEAEA;
        color: #000000 !important;
}
.fc-size-btn.active {
        /* Reference EXACT: solid black bg + white text. Was white bg + black
           border (wrong). This is the dramatic inversion the reference shows.
           v1.0.58: !important on background + font-weight to defeat theme overrides. */
        background: #000000 !important;
        border-color: #000000 !important;
        color: #FFFFFF !important;
        font-weight: 500 !important;
        box-shadow: none;
}
.fc-size-btn.active:hover,
.fc-size-btn.active:focus {
        background: #000000 !important;
        border-color: #000000 !important;
        color: #FFFFFF !important;
        font-weight: 500 !important;
}
/* v1.0.58: Force white text + medium weight on active size button's inner spans —
   global button color/font-weight override was making text black and thin on black bg. */
.fc-size-btn.active span,
.fc-size-btn.active .fc-size-label,
.fc-size-btn.active .fc-size-price,
body.fc-frame-product .fc-product-page .fc-size-btn.active span,
body.fc-frame-product .fc-product-page .fc-size-btn.active .fc-size-label,
body.fc-frame-product .fc-product-page .fc-size-btn.active .fc-size-price {
        color: #FFFFFF !important;
        font-weight: 500 !important;
}
.fc-size-price {
        font-size: 14px;
        font-weight: 500 !important;
        color: #000000;
        font-family: var(--fc-heading-font) !important;
}
/* Em-dash separator before the price — single-line format:
   `12 × 15 — PKR 2,200` */
.fc-size-price::before {
        content: "\2014";
        margin-right: 4px;
        color: #000000;
        font-weight: 400;
}
/* Selected state: price text turns white (on black bg). */
.fc-size-btn.active .fc-size-price,
.fc-size-btn.active:hover .fc-size-price {
        color: #FFFFFF !important;
}
.fc-size-btn.active .fc-size-price::before,
.fc-size-btn.active:hover .fc-size-price::before {
        color: #EAEAEA !important;
}

/* Size guide link */
.fc-size-guide {
        background: none;
        border: none;
        padding: 0;
        font-family: var(--fc-heading-font);
        font-size: 12px;
        font-weight: 400;
        color: var(--fc-meta);
        text-decoration: underline;
        text-underline-offset: 3px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 4px;
}
.fc-size-guide:hover,
.fc-size-guide:focus,
.fc-size-guide:active {
        color: var(--fc-meta) !important;
        background: none !important;
        border-color: transparent !important;
}
.fc-note {
        font-family: var(--fc-body-font);
        font-size: 12px;
        color: var(--fc-legal);
}

/* ============= UPLOAD BLOCK ============= */
.fc-upload-block {
        transition: opacity .3s ease, max-height .3s ease;
        overflow: hidden;
}
.fc-hidden { display: none !important; }
.fc-upload-row {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 8px;
}
/* v1.0.35: Upload button per reference — 11px (was 12px), uppercase
   (was none), pure black #000 bg, weight 600, 0.05em tracking.
   v1.0.58: color + font-weight !important to defeat global button override. */
.fc-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #000000 !important;
        color: #FFFFFF !important;
        border: none;
        border-radius: 0;
        padding: 12px 24px;
        font-family: var(--fc-body-font) !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        letter-spacing: 0.05em;
        cursor: pointer;
        transition: background .15s ease;
}
.fc-btn:hover { background: #000000 !important; color: #FFFFFF !important; }
.fc-btn:disabled { background: var(--fc-border); cursor: not-allowed; }
/* v1.0.58: Force white text on .fc-btn inner spans — theme's global button
   color/font-weight override was making the text black and thin on black bg. */
.fc-btn span,
.fc-btn svg,
body.fc-frame-product .fc-product-page .fc-btn,
body.fc-frame-product .fc-product-page .fc-btn span {
        color: #FFFFFF !important;
        fill: #FFFFFF !important;
        font-weight: 500 !important;
}
.fc-btn-upload { flex: 0 0 auto; }
/* v1.1.1: Expert Suggestion alignment fix — align vertically with the
   upload button row, not floating above/below it. */
.fc-upload-side {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-self: center;
        padding-top: 0;
}
.fc-expert-suggestion {
        background: none;
        border: none;
        padding: 0;
        font-family: var(--fc-heading-font);
        font-size: 12px;
        color: var(--fc-meta);
        text-decoration: underline;
        text-underline-offset: 3px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
}
.fc-expert-suggestion:hover,
.fc-expert-suggestion:focus,
.fc-expert-suggestion:active {
        color: var(--fc-meta) !important;
        background: none !important;
        border-color: transparent !important;
}
.fc-privacy-notice {
        font-family: var(--fc-body-font);
        font-size: 14px;
        line-height: 1.4;
        color: var(--fc-legal);
        margin: 8px 0 0;
}
.fc-upload-error {
        margin-top: 8px;
        padding: 8px 12px;
        background: #eaeaea;
        border: 1px solid #eaeaea;
        color: #000000;
        font-size: 12px;
        font-family: var(--fc-body-font);
}

/* Adjustment controls */
.fc-adjust-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 14px 0 0;
        margin-top: 12px;
        border-top: 1px solid var(--fc-border);
}
.fc-adjust-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-family: var(--fc-body-font);
        font-size: 12px;
        color: var(--fc-text);
}
.fc-adjust-item select, .fc-adjust-item input[type=range] {
        width: 100%;
        height: 32px;
        padding: 0 8px;
        font-family: var(--fc-body-font);
        font-size: 12px;
        border: 1px solid var(--fc-border);
        border-radius: 0;
        background: #FFFFFF;
}
/* v1.0.62: Reset button for rotation slider — small, inline, no hover color. */
.fc-rot-reset {
        background: none;
        border: none;
        padding: 2px 0;
        margin-top: 2px;
        font-family: var(--fc-body-font);
        font-size: 10px;
        color: var(--fc-meta);
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 2px;
        align-self: flex-start;
}
.fc-rot-reset:hover,
.fc-rot-reset:focus,
.fc-rot-reset:active {
        color: var(--fc-meta) !important;
        background: none !important;
        border-color: transparent !important;
}
.fc-btn-text {
        background: none; border: none; padding: 0;
        font-family: var(--fc-body-font);
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 0.5px;
        color: var(--fc-meta);
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 3px;
        align-self: flex-end;
}
.fc-btn-text:hover,
.fc-btn-text:focus,
.fc-btn-text:active {
        color: var(--fc-meta) !important;
        background: none !important;
        border-color: transparent !important;
}

/* ============= ADD TO CART ============= */
.fc-atc-block { margin-top: 20px; }
.fc-atc-form { width: 100%; }
/* v1.0.35: ATC button per reference — 13px (was 14px), uppercase (was none),
   letter-spacing 0.08em (was 0.05em). Pure black #000 bg.
   v1.0.58: color + font-weight + font-size ALL with !important to defeat
   the global button color/font-weight override. Font-size 14px, weight 500.
   v1.1.1: Height reduced to 34px, font-weight 500 per client reference. */
.fc-btn-atc {
        width: 100%;
        height: 34px;
        background: #000000 !important;
        color: #FFFFFF !important;
        border: none;
        border-radius: 0;
        font-family: var(--fc-heading-font) !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        letter-spacing: 0.04em;
        cursor: pointer;
        transition: background .15s ease;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
}
.fc-btn-atc:hover { background: #000000 !important; color: #FFFFFF !important; }
.fc-btn-atc:disabled { background: var(--fc-border); cursor: not-allowed; }
/* v1.0.58: Force white text + medium weight on the ATC button's inner span —
   theme's global button color/font-weight override was making the text
   black and thin on black bg.
   v1.1.1: font-weight 500 per client reference. */
.fc-btn-atc span,
.fc-btn-atc .fc-atc-btn-text,
body.fc-frame-product .fc-product-page .fc-btn-atc,
body.fc-frame-product .fc-product-page .fc-btn-atc span,
body.fc-frame-product .fc-product-page .fc-btn-atc .fc-atc-btn-text {
        color: #FFFFFF !important;
        font-family: var(--fc-heading-font) !important;
        font-weight: 500 !important;
        font-size: 14px !important;
}

/* v1.0.9: ATC loading state (during AJAX submission) */
.fc-btn-atc.fc-loading {
        background: #000000 !important;
        color: #FFFFFF !important;
        cursor: wait;
        position: relative;
}
.fc-btn-atc.fc-loading .fc-atc-btn-text { opacity: 0.7; color: #FFFFFF !important; }
.fc-atc-btn-spinner {
        display: none;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: #FFFFFF;
        border-radius: 50%;
        animation: fc-atc-spin 0.8s linear infinite;
}
.fc-btn-atc.fc-loading .fc-atc-btn-spinner { display: block; }
@keyframes fc-atc-spin {
        to { transform: rotate(360deg); }
}

/* v1.0.9: ATC success flash (shown briefly before redirect) */
.fc-btn-atc.fc-success {
        background: #000000 !important;
        color: #FFFFFF !important;
}
.fc-btn-atc.fc-success .fc-atc-btn-text::before {
        content: "✓ ";
}

/* v1.0.67: Success toast notification after ATC (no redirect). */
/* Elegant notification bar — NOT a button clone. */
.fc-atc-success {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        margin: 0 0 16px;
        background: #F6F6F6;
        color: #000000;
        border-left: 3px solid #000000;
        border-radius: 0;
        font-family: var(--fc-body-font);
        font-size: 13px;
        line-height: 1.4;
        animation: fcFadeIn 0.3s ease-out;
}
.fc-atc-success.fc-hidden { display: none; }
.fc-atc-success-icon {
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000000;
        color: #FFFFFF;
        border-radius: 50%;
        font-size: 11px;
        line-height: 1;
        font-weight: 600;
}
.fc-atc-success-msg { flex: 1; color: #000000; font-weight: 400; }
.fc-atc-success-link {
        color: #000000 !important;
        font-weight: 500;
        text-decoration: underline;
        text-underline-offset: 2px;
        white-space: nowrap;
        transition: opacity 0.2s;
}
.fc-atc-success-link:hover { opacity: 0.7; }
.fc-atc-success-close {
        background: none;
        border: none;
        color: #999999;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        margin-left: 4px;
        opacity: 0.5;
        transition: opacity 0.2s;
}
.fc-atc-success-close:hover { opacity: 1; color: #000000; }
@keyframes fcFadeIn {
        from { opacity: 0; transform: translateY(-4px); }
        to { opacity: 1; transform: translateY(0); }
}

/* Trust badges
 * v1.1.1: Client revision — font size 14px (was 10px), single horizontal line
 * layout (was 3-col grid), decreased gap to fit all in one row.
 * Client reference (image8): badges in a single line with checkmark icons. */
.fc-trust-badges {
        list-style: none;
        margin: 12px 0 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        align-items: center;
}
/* v1.1.1: Trust badge text 14px / Futura Book / #000000 per client revision.
   Pipe separator between badges in the single-line layout. */
.fc-trust-badges li {
        display: flex;
        align-items: center;
        gap: 4px;
        font-family: var(--fc-heading-font);
        font-size: 14px;
        line-height: 1.3;
        color: #000000;
        white-space: nowrap;
        flex-shrink: 0;
}
/* Pipe separator between badge items */
.fc-trust-badges li + li::before {
        content: "|";
        margin-right: 8px;
        color: #D0D0D0;
        font-weight: 300;
}
.fc-trust-badges li svg { flex-shrink: 0; color: #000000; }

/* ============= ACCORDIONS ============= */
/* v1.0.34: Removed border-top — reference has NO line above the first
   accordion (Craftsmanship). User: "craftman ship ka jo point usky uper
   bi line dekho reference main wahan nahi". Only bottom borders between
   accordion items remain. */
.fc-accordions {
        margin-top: 24px;
}
.fc-accordion { border-bottom: 1px solid #000000; }
/* v1.0.35: Accordion header 13px / weight 500 per reference (was 14px / 600). */
.fc-accordion-header {
        width: 100%;
        background: none;
        border: none;
        padding: 12px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-family: var(--fc-heading-font);
        font-size: 14px;
        font-weight: 400 !important;
        color: var(--fc-primary);
        text-align: left;
}
.fc-accordion-header span,
body.fc-frame-product .fc-product-page .fc-accordion-header,
body.fc-frame-product .fc-product-page .fc-accordion-header span {
        font-weight: 400 !important;
}
/* v1.0.27: Kill the theme's pink/magenta hover + active background on
   accordion headers. Force transparent on hover, focus, active, and open
   states so NO colored background ever shows on the accordion rows.
   v1.0.28: Also force the TEXT COLOR to stay dark — the theme was applying
   `color: #fff !important` on button:hover which made the accordion header
   text turn white (invisible against the now-transparent background). Pin
   the color to --fc-primary on all interactive + open states. */
.fc-accordion-header,
.fc-accordion-header:hover,
.fc-accordion-header:focus,
.fc-accordion-header:active,
.fc-accordion:hover,
.fc-accordion:hover .fc-accordion-header,
.fc-accordion.open,
.fc-accordion.open .fc-accordion-header {
        background: transparent !important;
        background-color: transparent !important;
        color: var(--fc-primary) !important;
}
/* Keep the chevron icon visible too (theme may try to recolor it on hover). */
.fc-accordion-header:hover .fc-accordion-chevron,
.fc-accordion-header:focus .fc-accordion-chevron,
.fc-accordion.open .fc-accordion-chevron {
        color: var(--fc-meta) !important;
}
.fc-accordion-chevron {
        /* v1.4.81: silkier chevron spin — softer expo-out curve, slightly longer
           so the rotation glides in sync with the panel instead of snapping. */
        transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1);
        color: var(--fc-meta);
}
.fc-accordion.open .fc-accordion-chevron { transform: rotate(90deg); }
.fc-accordion-body {
        max-height: 0;
        overflow: hidden;
        /* v1.4.81: smooth open — expo-out curve (cubic-bezier(0.22, 1, 0.36, 1))
           starts fast and decelerates gently, so the panel GLIDES open instead
           of the old mechanical .38s material curve. */
        transition: max-height .5s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: max-height;
}
/* The script writes the measured scrollHeight inline; never impose a fixed
   cap because that is what caused the opening jump on short panels. */
/* v1.4.81: closing gets its own curve — ease-in feel (accelerating collapse)
   reads naturally, slightly quicker than the open so it never feels laggy. */
.fc-accordion.closing .fc-accordion-body {
        transition-duration: .4s;
        transition-timing-function: cubic-bezier(0.55, 0.06, 0.68, 0.19);
}
.fc-accordion-content {
        padding: 0 0 16px;
        font-family: var(--fc-body-font);
        font-size: 13px;
        line-height: 1.6;
        color: var(--fc-text);
        /* v1.4.81: text settles IN with the panel — hidden + nudged up while
           closed, fades/slides to rest as the panel expands. Closed state uses
           a quick fade so collapsing text disappears with the panel. */
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity .22s ease, transform .22s ease;
}
.fc-accordion.open .fc-accordion-content {
        opacity: 1;
        transform: translateY(0);
        transition: opacity .42s ease .1s, transform .5s cubic-bezier(0.22, 1, 0.36, 1) .07s;
}
/* v1.4.81: respect users who prefer reduced motion — panel still works,
   it just snaps instead of animating. */
@media (prefers-reduced-motion: reduce) {
        .fc-accordion-body,
        .fc-accordion-content,
        .fc-accordion-chevron { transition: none !important; }
        .fc-accordion-content { opacity: 1; transform: none; }
}
.fc-accordion-content p:last-child { margin-bottom: 0; }

/* ============= WHY THIS FRAME (v1.0.29) ============= */
/* 3-column marketing block matching the Timbré Studio reference:
   serif heading, semibold sans subtitle, 3 equal columns of bold title +
   soft gray body copy. Generous vertical breathing room. */
/* v1.0.31: Exact Timbre reference — 36px serif heading (weight 400,
   -0.5px tracking, 1.2 line-height), 32px gap to subtitle, 18px semibold
   subtitle, 3-col grid with 32px gap, 13px bold block titles, 13px / 1.6
   body in #000000. No top border (reference is borderless). Section
   padding 60px top / 80px bottom. */
.fc-why-section {
        /* v1.1.2: Reduced top padding from 60px to 24px — see .fc-product-hero
           note above; combined with hero's 24px this reproduces the ~48px
           reference gap instead of the previous 140px. */
        padding: 24px var(--fc-page-padding) 80px;
}
.fc-why-title {
        font-family: var(--fc-heading-font);
        font-size: 34px;
        font-weight: 400 !important;
        color: var(--fc-primary);
        margin: 0 0 32px;
        letter-spacing: -0.5px;
        line-height: 1.2;
}
/* v1.0.67: Why-section subtitle — increased bottom margin to match reference
   (was 24px, now 40px).
   v1.0.103: font-family changed from var(--fc-body-font) [Brandon] to
   var(--fc-heading-font) [Futura Book] per user request: "ye jo heading
   product page py ye brandon make it futura book" (this heading on the
   product page, it's Brandon, make it Futura Book).
   v1.0.104: ROOT CAUSE found -- v1.0.103 didn't work because the global
   typography rule at the top of this file:
       body.fc-frame-product .fc-product-page p { font-family: var(--fc-body-font) !important; }
   has specificity (0,2,2) [body + .fc-frame-product + .fc-product-page + p]
   and uses !important. The plain .fc-why-subtitle selector only had
   specificity (0,1,0), so the global p rule silently won every time and
   the subtitle kept rendering in Brandon (confirmed via WhatFont tooltip:
   "Brandon - 400"). Fix: bumped the selector to match the global rule's
   scoping pattern -- body.fc-frame-product .fc-product-page .fc-why-subtitle
   -- which has specificity (0,3,1) and now beats the global p rule
   (0,2,2). Added !important to font-family as well so it can never be
   re-overridden by any future body-text rule.
   v1.0.105: font-size bumped 19px -> 36px and font-weight 500 -> 400 to
   match the "You Might Also Like" related-products heading (.fc-related-title)
   exactly per user request: "font size chota hoogya make font size 36 and
   font weight 400 like you might also like heading". The Futura Book
   glyphs are narrower than Brandon's, so at the old 19px the subtitle
   looked visually smaller than it did in Brandon -- bumping to 36px
   brings it to a proper heading scale, matching the related title below
   it. Weight 400 matches the only weight Futura Book ships (the @font-face
   defines just 400), so this is the cleanest request anyway -- 500 was
   silently falling back to 400 before. Also removed the mobile @media
   font-size:16px override below (the related title has no mobile
   reduction either, so the subtitle should match it at 36px on all
   viewports). */
body.fc-frame-product .fc-product-page .fc-why-subtitle {
        font-family: var(--fc-heading-font) !important;
        font-size: 36px;
        font-weight: 400 !important;
        color: #000000;
        margin: 0 0 40px;
        margin-bottom: 17px !important;
        line-height: 1.2;
        letter-spacing: -0.5px;
}
/* v1.0.67: Why-section grid — increased gap to match reference
   (was 32px → 48px → 64px). */
.fc-why-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 64px;
}
.fc-why-block-title {
        font-family: var(--fc-heading-font);
        font-size: 14px;
        font-weight: 400 !important;
        color: var(--fc-primary);
        margin: 0 0 12px;
        line-height: 1.4;
}
.fc-why-block-body {
        font-family: var(--fc-body-font);
        font-size: 13px;
        line-height: 1.8;
        color: #000000;
        margin: 0;
        /* v1.1.0: Equalize line count across all 3 blocks per client revision.
           Minimum height ensures short text doesn't collapse, keeping all
           blocks visually the same height. 5 lines × 23.4px ≈ 117px. */
        min-height: 117px;
}
@media (max-width: 900px) {
        .fc-why-grid { grid-template-columns: 1fr; gap: 36px; }
        .fc-why-title { font-size: 30px; }
        /* v1.0.105: removed the .fc-why-subtitle { font-size: 16px; }
           override here. The subtitle now matches .fc-related-title (36px,
           weight 400, Futura Book) which itself has no mobile reduction --
           so the subtitle should also stay 36px on mobile to remain
           visually consistent with the related-products heading below it. */
}

/* ============= RELATED PRODUCTS ============= */
/* v1.0.31: Exact Timbre reference — 36px serif heading (weight 400,
   -0.5px tracking), 32px margin-bottom, 4-col grid with 20px gap,
   3:4 portrait images (no border-radius), 11px uppercase collection
   label, 16px / 500 product title, 14px / 700 price in #000 with an
   11px / 600 FROM prefix in #000000. Section padding 0 top / 80px bottom
   (the why-section's 80px bottom padding creates the gap).
   v1.0.106 FIX: `max-width: 100%` here was overriding the `.fc-container`
   cap (1440px), so on wide screens the section spanned the full viewport
   and the JS layoutCards() math made each card stretch to ~600px wide.
   Now capped at --fc-container-w so the cards stay a sensible size on
   large desktops, matching the hero / why-section widths. */
.fc-related-section {
        width: 100%;
        max-width: var(--fc-container-w);
        min-width: 0;
        overflow-x: hidden;
        padding: 0 var(--fc-page-padding) 80px;
}
.fc-related-slider {
        position: relative;
}
.fc-related-heading-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 32px;
}
.fc-related-title {
        font-family: var(--fc-heading-font);
        font-size: 36px;
        font-weight: 400 !important;
        color: var(--fc-primary);
        text-align: left;
        margin: 0;
        letter-spacing: -0.5px;
        line-height: 1.2;
}
.fc-related-controls {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
}
.fc-related-nav {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #000000 !important;
        border-radius: 50%;
        background: #FFFFFF !important;
        color: #000000 !important;
        cursor: pointer;
        transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.fc-related-nav:hover:not(:disabled),
.fc-related-nav:focus-visible:not(:disabled) {
        background: #000000 !important;
        color: #FFFFFF !important;
        border-color: #000000 !important;
}
.fc-related-nav:disabled {
        opacity: .28;
        cursor: default;
}
.fc-related-nav svg { display: block; }
.fc-related-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -ms-overflow-style: none;
}
.fc-related-viewport::-webkit-scrollbar { display: none; }
.fc-related-grid {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start !important;
        gap: 20px !important;
        width: max-content;
        min-width: 100%;
        margin: 0 !important;
}
.fc-related-card {
        min-width: 0;
        flex: 0 0 auto;
        width: auto;
        margin: 0 !important;
        scroll-snap-align: start;
}
.fc-related-card {
        display: block;
        text-decoration: none;
        color: inherit;
        background: #FFFFFF;
        transition: transform .2s ease;
}
.fc-related-card:hover { transform: translateY(-2px); }
.fc-related-image {
        aspect-ratio: 3 / 4;
        background: #EAEAEA;
        overflow: hidden;
}
.fc-related-image img {
        width: 100%; height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .35s ease;
}
.fc-related-card:hover .fc-related-image img { transform: scale(1.03); }
.fc-related-meta { padding: 16px 0 4px; }
.fc-related-collection {
        font-family: var(--fc-body-font);
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 0.5px;
        color: #000000;
        margin: 0 0 4px;
}
.fc-related-title-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
}
.fc-related-title-row h3 {
        font-family: var(--fc-heading-font);
        /* v1.1.2: Reference measured card-title cap-height is ~1.4x the
           caption's — 16px was too small versus the client's design. */
        font-size: 22px;
        font-weight: 400 !important;
        color: var(--fc-primary);
        margin: 0;
        line-height: 1.3;
}
.fc-related-price {
        font-family: var(--fc-body-font);
        font-size: 14px;
        font-weight: 400;
        color: var(--fc-primary);
        margin: 8px 0 0;
}

/* v1.0.31: Empty state — shown under "You Might Also Like" when the store
   has no other products to recommend. Friendly dashed card with an icon,
   a bold title, and a soft gray body line. */
.fc-related-empty {
        text-align: center;
        padding: 56px 24px;
        border: 1px dashed var(--fc-border);
        border-radius: 8px;
        background: #EAEAEA;
}
.fc-related-empty-icon {
        color: var(--fc-meta);
        margin-bottom: 16px;
        display: inline-block;
        line-height: 0;
}
.fc-related-empty-title {
        font-family: var(--fc-body-font);
        font-size: 16px;
        font-weight: 400;
        color: var(--fc-primary);
        margin: 0 0 8px;
        line-height: 1.3;
}
.fc-related-empty-text {
        font-family: var(--fc-body-font);
        font-size: 14px;
        color: var(--fc-meta);
        margin: 0;
        line-height: 1.6;
}

/* ============= FOOTER ============= */
.fc-footer {
        background: var(--fc-footer-bg);
        padding: 70px 0 30px;
        margin-top: 60px;
        font-family: var(--fc-body-font);
}
.fc-footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid var(--fc-border);
}
.fc-footer-col h4 {
        font-size: 12px;
        font-weight: 400 !important;
        letter-spacing: 1.5px;
        color: var(--fc-primary);
        margin: 0 0 16px;
}
.fc-footer-col p, .fc-footer-brand-desc {
        font-size: 13px;
        line-height: 1.6;
        color: var(--fc-text);
        margin: 0 0 12px;
}
.fc-footer-col ul { list-style: none; padding: 0; margin: 0; }
.fc-footer-col ul li { margin-bottom: 8px; }
.fc-footer-col ul li a {
        font-size: 14px;
        color: var(--fc-text);
        text-decoration: none;
}
.fc-footer-col ul li a:hover { color: var(--fc-primary); text-decoration: underline; }

.fc-newsletter-form {
        display: flex;
        gap: 0;
        margin-top: 12px;
        max-width: 360px;
}
.fc-newsletter-form input {
        flex: 1;
        height: 44px;
        padding: 0 14px;
        font-family: var(--fc-body-font);
        font-size: 13px;
        border: 1px solid #EAEAEA;
        border-right: none;
        background: #FFFFFF;
        border-radius: 0;
}
.fc-newsletter-form input:focus { outline: 1px solid var(--fc-primary); }
.fc-newsletter-form button {
        height: 44px;
        padding: 0 18px;
        background: var(--fc-primary);
        color: #FFFFFF;
        border: none;
        font-family: var(--fc-subheading-font);
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 1px;
        cursor: pointer;
}
.fc-newsletter-form button:hover { background: #000000; }

.fc-social { display: flex; gap: 12px; margin-top: 12px; }
.fc-social a {
        color: var(--fc-primary);
        display: inline-flex;
        transition: transform .15s ease;
}
.fc-social a:hover { transform: scale(1.1); }

.fc-copyright {
        text-align: center;
        padding: 20px 0 0;
        font-size: 12px;
        color: #000000;
}

/* ============= CART PAGE STYLES ============= */
.woocommerce-cart-form .fc-cart-thumb {
        max-width: 120px !important;
        height: auto;
        border: 1px solid var(--fc-border);
}

/* Cart edit pencil overlay on the product thumbnail cell. */
.woocommerce-cart-form .product-thumbnail { position: relative; }
.fc-cart-thumb-wrap { position: relative; display: inline-block; }
.fc-cart-edit {
        position: absolute;
        bottom: 6px;
        right: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background: var(--fc-primary);
        color: #FFFFFF;
        border-radius: 0;
        text-decoration: none;
        transition: background .15s ease;
}
.fc-cart-edit:hover { background: #000000; color: #FFFFFF; }
.fc-cart-edit-tip {
        position: absolute;
        bottom: 100%;
        right: 50%;
        transform: translateX(50%);
        margin-bottom: 4px;
        padding: 4px 8px;
        background: var(--fc-primary);
        color: #FFFFFF;
        font-family: var(--fc-body-font);
        font-size: 11px;
        white-space: nowrap;
        pointer-events: none;
}

/* FrameCraft meta lines under the product name in the cart. */
.fc-cart-meta-line {
        font-family: var(--fc-body-font);
        font-size: 12px;
        color: var(--fc-meta);
        margin-top: 2px;
}
.fc-cart-meta-line strong { color: var(--fc-primary); margin-right: 4px; font-weight: 400; }

/* Checkout note (small size/finish indicator). */
.fc-checkout-note {
        font-family: var(--fc-body-font);
        font-size: 12px;
        color: var(--fc-meta);
        margin-top: 4px;
}

/* Customer order preview (My Account → View Order). */
.fc-customer-order-preview {
        margin-top: 12px;
        padding: 10px;
        background: #eaeaea;
        border: 1px solid var(--fc-border);
        display: inline-block;
}
.fc-customer-order-preview img { max-width: 160px; height: auto; }

/* Body classes added by FC_Compat. */
body.fc-frame-product { background: var(--fc-bg); }
body.fc-frame-product.woocommerce { background: var(--fc-bg); }

/* Hide theme header/footer padding that conflicts with our container. */
body.fc-frame-product .site-content,
body.fc-frame-product .ast-archive-description,
body.fc-frame-product .elementor-widget-woocommerce-product-content { padding: 0 !important; }

/* When the FrameCraft footer is present, suppress the theme footer. */
body.fc-frame-product .fc-footer ~ .site-footer,
body.fc-frame-product .fc-footer ~ footer { display: none !important; }

/* ============= SIZE GUIDE / EXPERT SUGGESTION MODAL =============
 * v1.1.1: Complete redesign — proper centered lightbox with backdrop blur,
 * elegant card with shadow, smooth scale+fade animation, professional form
 * fields with focus glow, styled close button, and polished submit button.
 */
.fc-guidance-modal {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s ease, visibility .35s ease;
}
.fc-guidance-modal.is-open {
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
}
.fc-guidance-modal-backdrop {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
}
.fc-guidance-modal-content {
        position: relative;
        background: #FFFFFF;
        max-width: 480px;
        width: calc(100% - 48px);
        max-height: 88vh;
        overflow-y: auto;
        padding: 36px 32px 32px;
        z-index: 1;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.15);
        transform: scale(0.92) translateY(12px);
        transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .3s ease;
        opacity: 0;
}
.fc-guidance-modal.is-open .fc-guidance-modal-content {
        transform: scale(1) translateY(0);
        opacity: 1;
}
/* Custom scrollbar for modal content */
.fc-guidance-modal-content::-webkit-scrollbar {
        width: 4px;
}
.fc-guidance-modal-content::-webkit-scrollbar-track {
        background: transparent;
}
.fc-guidance-modal-content::-webkit-scrollbar-thumb {
        background: #d0d0d0;
        border-radius: 2px;
}
/* Close button — elegant circle */
.fc-guidance-modal-close {
        position: absolute;
        top: 16px; right: 16px;
        width: 32px;
        height: 32px;
        background: #F5F5F5;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        color: #666;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .2s ease, color .2s ease, transform .2s ease;
        z-index: 2;
}
.fc-guidance-modal-close:hover {
        background: #E8E8E8;
        color: #000;
        transform: scale(1.08);
}
.fc-guidance-modal-close svg {
        width: 14px;
        height: 14px;
}
/* Modal title with icon */
.fc-guidance-modal-title {
        font-family: var(--fc-heading-font) !important;
        font-size: 22px !important;
        font-weight: 400 !important;
        color: #000000;
        margin: 0 0 6px;
        padding-right: 40px;
        letter-spacing: -0.01em;
}
/* Subtitle / helper text under the title */
.fc-guidance-modal-subtitle {
        font-family: var(--fc-body-font);
        font-size: 13px;
        color: #888;
        margin: 0 0 24px;
        line-height: 1.4;
}
.fc-guidance-form {
        display: flex;
        flex-direction: column;
        gap: 16px;
}
.fc-guidance-field {
        display: flex;
        flex-direction: column;
        gap: 6px;
}
.fc-guidance-field label {
        font-family: var(--fc-heading-font) !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        color: #000000;
        letter-spacing: 0.04em;
        text-transform: uppercase;
}
.fc-guidance-field .fc-required {
        color: #cc0000;
        font-size: 10px;
}
.fc-guidance-field input,
.fc-guidance-field textarea {
        width: 100%;
        padding: 11px 14px;
        border: 1px solid #E0E0E0;
        border-radius: 2px;
        font-family: var(--fc-body-font);
        font-size: 14px;
        color: #000000;
        background: #FAFAFA;
        outline: none;
        transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.fc-guidance-field input::placeholder,
.fc-guidance-field textarea::placeholder {
        color: #B0B0B0;
        font-size: 13px;
}
.fc-guidance-field input:focus,
.fc-guidance-field textarea:focus {
        border-color: #000000;
        background: #FFFFFF;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.fc-guidance-field textarea {
        resize: vertical;
        min-height: 88px;
}
/* Submit button — elegant black with hover effect */
.fc-btn-guidance-submit {
        margin-top: 6px;
        height: 44px;
        background: #000000 !important;
        color: #FFFFFF !important;
        border: none;
        border-radius: 2px;
        font-family: var(--fc-heading-font) !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        cursor: pointer;
        transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
        position: relative;
        overflow: hidden;
}
.fc-btn-guidance-submit:hover {
        background: #222222 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transform: translateY(-1px);
}
.fc-btn-guidance-submit:active {
        transform: translateY(0);
        box-shadow: none;
}
.fc-btn-guidance-submit:disabled {
        background: #999 !important;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
}
/* Success state */
.fc-guidance-success {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 32px 0;
        text-align: center;
}
.fc-guidance-success svg {
        color: #000;
}
.fc-guidance-success p {
        font-family: var(--fc-heading-font);
        font-size: 16px;
        color: #000000;
        margin: 0;
}

/* ============= HEADER ICON OVERRIDES (v1.1.0) =============
 * Client provided custom icons for search, cart/profile, and heart.
 * The heart/wishlist is handled in the product template via <img>.
 * For the theme header's search and cart icons, we inject replacement
 * via JS (see single-product.js bindHeaderIcons) which replaces the
 * theme's icon elements with <img> tags using the client's PNGs.
 * These CSS rules ensure the replaced icons are properly sized. */
.fc-header-icon-replaced {
        display: inline-block !important;
        width: 22px !important;
        height: 22px !important;
        object-fit: contain !important;
        vertical-align: middle !important;
}

/* ============================================================
   v1.1.20 — Frame Builder Plus integration
   HTML-reference config summary: spec-lines, size badge, and the
   "Your Art / Wood Type / Frame Size" config rows with edit (✎)
   buttons that link back to the Frame Builder wood step (page 18).
   ============================================================ */

.fc-config-summary {
        margin: 18px 0 22px;
}

/* spec-lines: Frame Face / Frame depth / Mat Window Opening */
.fc-spec-lines {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 18px;
        color: #333;
}

/* size-badge: black box with size + price (matches the HTML reference) */
.fc-size-badge {
        width: 142px;
        margin: 0 0 16px auto;
        background: #000;
        color: #fff;
        text-align: center;
        padding: 8px 4px 7px;
        font-size: 10px;
        line-height: 1.15;
        display: flex;
        flex-direction: column;
        gap: 2px;
}
.fc-size-badge-size {
        display: block;
        font-size: 10px;
        letter-spacing: 0.04em;
}
.fc-size-badge-price {
        display: block;
        font-size: 11px;
        font-weight: 600;
}

/* config-rows: Your Art / Wood Type / Frame Size — each with a square
   swatch, a label, the current value, and an edit (✎) button. */
.fc-config-rows {
        margin-top: 4px;
}
.fc-config-row {
        min-height: 50px;
        border-bottom: 1px solid #ddd;
        display: grid;
        grid-template-columns: 34px 1fr 1fr 22px;
        align-items: center;
        gap: 9px;
        font-size: 12px;
        padding: 4px 0;
}
.fc-config-row:first-child {
        border-top: 1px solid #ddd;
}
.fc-square {
        height: 33px;
        width: 33px;
        border: 1px solid #bbb;
        background: #fff;
        display: block;
}
.fc-config-label {
        color: #111;
        font-weight: 400;
}
.fc-config-value {
        color: #444;
        text-align: right;
        padding-right: 4px;
}
.fc-edit-btn {
        border: 0;
        background: none;
        cursor: pointer;
        font-family: "Poppins", Arial, sans-serif;
        font-size: 19px;
        font-weight: 400;
        line-height: 1;
        transform: rotate(-12deg);
        color: #111;
        padding: 0;
        transition: opacity 0.15s ease;
}
.fc-edit-btn:hover {
        opacity: 0.5;
}

/* FBP mode: when a Frame Builder Plus selection is present, the config rows
   ARE the selection UI (matching the HTML reference). Hide the native wood
   dropdown, size buttons, and upload block — the canvas already shows the
   framed photo, and the ✎ buttons return to Frame Builder to edit. */
.fc-fbp-mode .fc-option-block[data-fc-finish-position],
.fc-fbp-mode .fc-option-block:has(#fc-size-row),
.fc-fbp-mode #fc-upload-block,
.fc-fbp-mode .fc-size-guide {
        display: none !important;
}

/* v1.1.20: The HTML reference gallery is a single large preview with no
   thumbnail strip. Hide the vertical thumbs in FBP mode and let the canvas
   fill the gallery column. */
.fc-fbp-mode .fc-thumbs {
        display: none !important;
}
.fc-fbp-mode .fc-gallery-wrap {
        display: block;
}
.fc-fbp-mode .fc-featured {
        width: 100%;
}

/* In FBP mode the ATC button reads like the HTML reference "Add To Cart". */
.fc-fbp-mode .fc-btn-atc {
        display: block;
        margin: 28px auto 18px;
        background: #000;
        color: #fff;
        border: 0;
        padding: 13px 28px;
        font-size: 16px;
        cursor: pointer;
        width: 100%;
        max-width: 360px;
        letter-spacing: 0.02em;
}
.fc-fbp-mode .fc-trust-badges {
        font-size: 9px;
        display: flex;
        justify-content: space-between;
        gap: 7px;
        white-space: nowrap;
        list-style: none;
        padding: 0;
        margin: 0 0 8px;
}
.fc-fbp-mode .fc-trust-badges li {
        flex: 1;
        text-align: center;
}

/* Responsive: stack the config-row columns on narrow screens. */
@media (max-width: 480px) {
        .fc-config-row {
                grid-template-columns: 33px 1.05fr 1fr 20px;
        }
        .fc-fbp-mode .fc-trust-badges {
                white-space: normal;
                flex-wrap: wrap;
        }
}

/* ============================================================
   v1.1.21 — Timbré HTML-reference fidelity (FBP mode)
   The reference gallery is a clean light-gray box (#f7f7f7) with a
   single heart button top-right. The canvas sits centered inside it.
   The ATC button is a centered black pill. The trust row is a single
   centered line of 3 items separated by checkmarks.
   ============================================================ */
.fc-fbp-mode .fc-featured {
        background: #f7f7f7;
        border: 0;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
}
.fc-fbp-mode #fc-preview-canvas {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
}
/* Heart button — top-right, large, matches the reference's ♡ */
.fc-fbp-mode .fc-wishlist-toggle.fc-wishlist--featured {
        position: absolute;
        right: 24px;
        top: 20px;
        z-index: 5;
        background: transparent;
        border: 0;
        font-size: 32px;
        line-height: 1;
}
.fc-fbp-mode .fc-wishlist--info {
        display: none; /* The heart lives on the gallery, not the details, per the reference. */
}
/* Hide the live-preview badge in FBP mode — the reference has no badge. */
.fc-fbp-mode .fc-preview-badge {
        display: none !important;
}

/* ATC button — centered black pill with inline price (reference style). */
.fc-fbp-mode .fc-atc-block {
        text-align: center;
}
.fc-fbp-mode .fc-btn-atc {
        display: inline-block;
        margin: 28px auto 18px;
        background: #000;
        color: #fff;
        border: 0;
        padding: 13px 32px;
        font-size: 16px;
        cursor: pointer;
        width: auto;
        max-width: 360px;
        letter-spacing: 0.02em;
        border-radius: 0;
        text-transform: none;
        font-weight: 400;
}

/* Trust row — single centered line of 3 items. */
.fc-fbp-mode .fc-trust-badges {
        font-size: 9px;
        display: flex;
        justify-content: space-between;
        gap: 10px;
        white-space: nowrap;
        list-style: none;
        padding: 0;
        margin: 0 auto 12px;
        max-width: 460px;
}
.fc-fbp-mode .fc-trust-badges li {
        flex: 1;
        text-align: center;
        color: #555;
}

/* In FBP mode, the collection label + title sit at the top of the details
   column exactly like the reference (no inline heart). */
.fc-fbp-mode .fc-info-header > div {
        flex: 1 1 auto;
}
.fc-fbp-mode .fc-collection {
        font-size: 20px;
        margin: 0;
}
.fc-fbp-mode .fc-title {
        font-size: 38px;
        line-height: 1;
        letter-spacing: -0.04em;
        margin: 4px 0 16px;
}
.fc-fbp-mode .fc-description {
        font-size: 13px;
        line-height: 1.17;
        max-width: 440px;
}

/* Hide the "READ MORE" + size-guide + expert-suggestion affordances that
   don't exist in the reference. */
.fc-fbp-mode .fc-read-more,
.fc-fbp-mode .fc-size-guide,
.fc-fbp-mode .fc-expert-suggestion,
.fc-fbp-mode .fc-adjust-row,
.fc-fbp-mode .fc-privacy-notice {
        display: none !important;
}



/* ============================================================
   v1.2.2 — Pixel-perfect FBP-mode product page
   1:1 match of page-03-full-real.html. All fonts forced with !important
   so the theme cannot override. All text colors explicit.
   ============================================================ */


/* v1.2.8: BULLETPROOF font override using an ID selector.
   #fc-fbp-root has specificity (1,0,0). Combined with * it's (1,0,1).
   NO class-based selector — not even body.fc-frame-product .fc-product-page *
   with !important — can beat (1,0,1) + !important. This is the ONLY way
   to guarantee the theme's Brandon/Jost/Futura fonts don't leak in. */
#fc-fbp-root,
#fc-fbp-root *,
#fc-fbp-root *::before,
#fc-fbp-root *::after {
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        font-weight: 400 !important;
        color: #111 !important;
}
/* Brand name: Georgia serif (same ID specificity) */
#fc-fbp-root .brand-name {
        font-family: "Poppins", Georgia, 'Times New Roman', serif !important;
        font-weight: 400 !important;
}
/* Title (h1): bold */
#fc-fbp-root .title {
        font-weight: 700 !important;
}
/* Cart button: bold */
#fc-fbp-root .cartbtn {
        font-weight: bold !important;
        color: #fff !important;
}
/* Price box: white text */
#fc-fbp-root .pricebox {
        color: #fff !important;
}
/* Accordion chevron: thin weight */
#fc-fbp-root .accord-head span:last-child {
        font-weight: 100 !important;
}
/* Config row values, copy, spec-lines: normal weight, dark color */
#fc-fbp-root .copy,
#fc-fbp-root .spec-lines,
#fc-fbp-root .row,
#fc-fbp-root .series,
#fc-fbp-root .nav,
#fc-fbp-root .nav a,
#fc-fbp-root .why h2,
#fc-fbp-root .recommend h2,
#fc-fbp-root .card .kind,
#fc-fbp-root .card .name,
#fc-fbp-root .accord,
#fc-fbp-root .accord-head,
#fc-fbp-root .accord-content {
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        font-weight: 400 !important;
        color: #111 !important;
}
/* v2.30: REMOVED #fc-fbp-root .benefits, #fc-fbp-root .why h3 and
 * #fc-fbp-root .why p from the font-weight:400 group above — they were
 * overriding the .fc-fbp-mode rules. Now each gets its own #fc-fbp-root
 * specific rule below so the theme can't override. */
/* Why h2: weight 400 (already set above, but explicit) */
#fc-fbp-root .why h2 { font-weight: 400 !important; }
/* v2.30: explicit h3 bold + p line-height + benefits using #fc-fbp-root
 * selector (HIGHER specificity than theme) so the theme can't override. */
#fc-fbp-root .why h3,
#fc-fbp-root .fc-fbp-mode .why h3 {
        font-weight: 700 !important;
}
#fc-fbp-root .why p,
#fc-fbp-root .fc-fbp-mode .why p {
        line-height: 1.5 !important;
        font-weight: 400 !important;
}
/* v2.30: benefits — vertical stack, font 10px, bold, black. Using
 * #fc-fbp-root specificity so the theme can't override. */
#fc-fbp-root .fc-fbp-mode .benefits,
#fc-fbp-root .benefits {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        color: #000000 !important;
        line-height: 1.3 !important;
}
/* Related card "from" bar: white text */
#fc-fbp-root .card .from { color: #fff !important; }
/* Kill the classic FC font variables — v1.3.58: now Poppins too */
#fc-fbp-root {
        --fc-body-font: "Poppins", Arial, Helvetica, sans-serif !important;
        --fc-heading-font: "Poppins", Georgia, 'Times New Roman', serif !important;
        --fc-subheading-font: "Poppins", Arial, Helvetica, sans-serif !important;
}

/* ---- Base reset (force Arial, NOT the theme's fonts) ---- */
.fc-fbp-mode,
.fc-fbp-mode body,
.fc-fbp-mode .page,
.fc-fbp-mode .brand,
.fc-fbp-mode .topbar,
.fc-fbp-mode .nav,
.fc-fbp-mode .icons,
.fc-fbp-mode .main,
.fc-fbp-mode .canvas,
.fc-fbp-mode .details,
.fc-fbp-mode .series,
.fc-fbp-mode .title,
.fc-fbp-mode .copy,
.fc-fbp-mode .pricebox,
.fc-fbp-mode .row,
.fc-fbp-mode .swatch,
.fc-fbp-mode .pencil,
.fc-fbp-mode .accord,
.fc-fbp-mode .accord-head,
.fc-fbp-mode .accord-content,
.fc-fbp-mode .cartbtn,
.fc-fbp-mode .benefits,
.fc-fbp-mode .why,
.fc-fbp-mode .recommend,
.fc-fbp-mode .card,
.fc-fbp-mode .framepic,
.fc-fbp-mode .from,
.fc-fbp-mode .kind,
.fc-fbp-mode .name {
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
}
.fc-fbp-mode {
        background: #fff !important;
        color: #111 !important;
        font-size: 13px !important;
        box-sizing: border-box !important;
        padding: 0 0 60px !important;
        margin: 0 !important;
        line-height: normal !important;
}
.fc-fbp-mode *,
.fc-fbp-mode *::before,
.fc-fbp-mode *::after { box-sizing: border-box !important; }
.fc-fbp-mode a { color: #111 !important; text-decoration: none !important; }

/* ---- Page container ----
 * v1.3.30: Top padding removed (0) so the .details border-left vertical line
 * TOUCHES the Elementor header above it (no gap). Breathing room is added
 * to .canvas + .details instead so content still looks good. Header is now
 * position:relative (v1.3.29 fix) so it takes space — no overlay risk. */
.fc-fbp-mode .page {
        width: 100% !important;
        max-width: 1240px !important;
        margin: 0 auto !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
}

/* v1.3.29: Force Elementor header to position:relative on product pages
 * (was position:absolute causing overlay). Now header takes space in flow. */
body.single-product.fc-frame-product .elementor-location-header,
body.single-product .elementor-location-header,
body.single-product .elementor-location-header > .e-con,
body.single-product .elementor-location-header > .elementor-section,
body.single-product .elementor-location-header .elementor-element[data-settings*="absolute"] {
        position: relative !important;
}

/* ---- Brand ---- */
.fc-fbp-mode .brand {
        text-align: center !important;
        padding: 51px 0 11px !important;
}
.fc-fbp-mode .brand-name {
        font-family: "Poppins", Georgia, 'Times New Roman', serif !important;
        font-size: 78px !important;
        line-height: .8 !important;
        font-weight: 400 !important;
        letter-spacing: -5px !important;
        color: #111 !important;
        margin: 0 !important;
}
.fc-fbp-mode .tag {
        font-family: "Poppins", Arial, sans-serif !important;
        font-size: 24px !important;
        letter-spacing: 9px !important;
        margin-top: 9px !important;
        color: #111 !important;
}

/* ---- Topbar ---- */
.fc-fbp-mode .topbar {
        height: 52px !important;
        border-bottom: 1px solid #222 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
}
.fc-fbp-mode .nav {
        display: flex !important;
        gap: 28px !important;
        font-size: 20px !important;
}
.fc-fbp-mode .nav a {
        color: #111 !important;
        text-decoration: none !important;
        font-size: 20px !important;
}
.fc-fbp-mode .icons {
        display: flex !important;
        align-items: center !important;
        gap: 22px !important;
}
.fc-fbp-mode .icon {
        width: 22px !important;
        height: 22px !important;
        display: inline-block !important;
        position: relative !important;
}
.fc-fbp-mode .search {
        border: 2px solid #111 !important;
        border-radius: 50% !important;
        width: 17px !important;
        height: 17px !important;
        display: inline-block !important;
}
.fc-fbp-mode .search:after {
        content: '' !important;
        position: absolute !important;
        width: 9px !important;
        height: 2px !important;
        background: #111 !important;
        right: -7px !important;
        bottom: -4px !important;
        transform: rotate(48deg) !important;
}
.fc-fbp-mode .cart:before {
        content: '\1F6D2' !important;
        font-size: 22px !important;
        filter: grayscale(1) !important;
}
.fc-fbp-mode .user:before {
        content: '\2659' !important;
        font-size: 28px !important;
        position: absolute !important;
        top: -9px !important;
}

/* ---- Main grid ---- */
.fc-fbp-mode .main {
        display: grid !important;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
        align-items: stretch !important;
}

/* ---- Canvas (gallery) ----
 * v1.3.30: Top padding here (40px) so canvas content has breathing room
 * below the header, while the .details border-left starts from the very top
 * (touching the header). */
.fc-fbp-mode .canvas {
        min-height: 1230px !important;
        /* v2.25: WHITE background so there's clear white spacing between
         * the frame area and the border lines (top header line + right
         * vertical divider). The cream color is only inside .canvas-inner
         * (the frame area), not in the padding around it. */
        background: #ffffff !important;
        position: relative !important;
        padding: 40px 20px 28px 0 !important;
        display: flex !important;
        align-items: flex-start !important;
}
.fc-fbp-mode .canvas-inner {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        height: 1174px !important;
        position: relative !important;
        overflow: hidden !important;
        /* v2.25: cream background INSIDE the canvas-inner (the frame area),
         * so the frame sits on a cream surface. The padding around
         * canvas-inner (on .canvas) is white. */
        background: #f7f7f7 !important;
}
/* v2.39: object-fit: contain so the frame fits entirely inside the canvas-inner
   (no cropping). The canvas is centered via flex on .canvas-inner. The frame
   area (canvas-inner) stays at fixed 1174px height — only the frame image
   adjusts to fit inside it. */
.fc-fbp-mode #fc-preview-canvas {
        display: block !important;
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        border: 0 !important;
        margin: auto !important;
}
.fc-fbp-mode .heart {
        /* v2.23: restored original position — in the cream area around
         * the frame. right: 22px, top: 48px puts the heart in the cream
         * padding area (top-right corner). */
        position: absolute !important;
        right: 22px !important;
        top: 48px !important;
        width: 30px !important;
        height: 30px !important;
        display: grid !important;
        place-items: center !important;
        z-index: 2 !important;
        cursor: pointer !important;
}
.fc-fbp-mode .heart svg {
        width: 30px !important;
        height: 30px !important;
        display: block !important;
        stroke: #111 !important;
        stroke-width: 1.7 !important;
        fill: none !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
}

/* ---- Details ---- */
.fc-fbp-mode .details {
        border-left: 1px solid #222 !important;
        padding: 38px 22px 35px 22px !important;
        min-width: 0 !important;
}
.fc-fbp-mode .series {
        font-size: 20px !important;
        font-weight: 400 !important;
        margin: 0 0 5px 0 !important;
        color: #111 !important;
}
.fc-fbp-mode .title {
        font-size: 36px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        margin: 0 0 18px 0 !important;
        color: #111 !important;
}
.fc-fbp-mode .copy {
        font-size: 13px !important;
        line-height: 1.05 !important;
        margin: 0 0 13px 0 !important;
        max-width: 370px !important;
        color: #111 !important;
        font-weight: 400 !important;
}

/* ---- Price box (BLACK background, WHITE text) ---- */
.fc-fbp-mode .pricebox {
        background: #050505 !important;
        color: #ffffff !important;
        /* v2.28: increased width from 143px to 165px to fit larger text */
        width: 165px !important;
        /* v2.28: increased height from 38px to 52px so larger text fits */
        height: 52px !important;
        margin: 24px 0 16px auto !important;
        text-align: center !important;
        /* v2.28: increased font size from 10px to 13px — user said "thora text bara bi karo" */
        font-size: 13px !important;
        /* v2.28: flex centering for both lines */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        /* v2.28: line-height 1.3 — not too tight (was 1.0), not too much (was 1.2).
         * User said "proper visible hona chaye" — 1.3 gives proper spacing. */
        line-height: 1.3 !important;
        padding: 4px 8px !important;
        /* v2.28: font-weight 600 (semi-bold) for better visibility */
        font-weight: 600 !important;
}
/* v2.28: force white + bold on ALL child elements inside pricebox */
.fc-fbp-mode .pricebox,
.fc-fbp-mode .pricebox * {
        color: #ffffff !important;
        font-weight: 600 !important;
}

/* ---- Config rows ---- */
.fc-fbp-mode .row {
        min-height: 49px !important;
        border-bottom: 1px solid #ddd !important;
        display: grid !important;
        grid-template-columns: 36px 87px 1fr 18px !important;
        align-items: center !important;
        font-size: 11px !important;
        color: #111 !important;
}
.fc-fbp-mode .swatch {
        height: 32px !important;
        width: 32px !important;
        border: 1px solid #bbb !important;
        /* v1.4.85: was background:#fff !important — that beat the inline
           style="background:…" (author !important > normal inline), leaving
           the Wood Type row chip as an empty white box. Read the color from
           the --fc-swatch custom property instead — un-overridable. */
        background: var(--fc-swatch, #fff) !important;
        display: block !important;
}
.fc-fbp-mode .pencil {
        text-align: right !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        cursor: pointer !important;
}
/* v1.4.109: pencil = the user-supplied Edit.svg glyph (72 viewBox, ink = 50%
   of the box, fill=currentColor via the path's inline style) — the box is
   22px so the ink (~11px) matches the old stroke pencil's visual weight. */
.fc-fbp-mode .pencil svg {
        width: 22px !important;
        height: 22px !important;
        stroke: #111 !important;
        fill: none !important;
        stroke-width: 1.35 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
}

/* ---- Accordions (v1.4.84: zero-JS checkbox pattern) ----
 * The markup is now: <div class="accord fc-acc"><input class="fc-acc-input">
 * <label class="accord-head">…</label><div class="accord-body">
 * <div class="accord-content">…</div></div></div>. The BROWSER toggles the
 * hidden checkbox when the label is clicked — NO JS required — and the
 * grid-template-rows 0fr→1fr transition animates the panel open/closed.
 * These rules mirror the template's inline (ID-scoped) rules. The legacy
 * details[open]/max-height rules are gone: max-height:0 clipped the closed
 * state and max-height:90px clipped the open state of long demo paragraphs. */
.fc-fbp-mode .accord {
        /* v1.4.107: the divider line UNDER each of the four accordion points
           (Craftsmanship / Materials / Delivery & Packaging / Guarantee &
           Returns) is GONE — "product page py jo 4 accordian ponts remove
           nechy wali lines unky nechy". The rule stays armed as border:0 so
           no theme rule can ever draw the lines back. */
        border-bottom: 0 !important;
        font-size: 12px !important;
        cursor: pointer !important;
        user-select: none !important;
        color: #111 !important;
}
/* v2.29: add spacing ABOVE the first accordion (Craftsmanship).
 * The user said "craftsmanship ky uper spacing add karo thori". */
.fc-fbp-mode .accord:first-child {
        margin-top: 28px !important;
}
.fc-fbp-mode .fc-acc { position: relative !important; }
.fc-fbp-mode .fc-acc-input {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
}
.fc-fbp-mode .accord-head {
        height: 34px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer !important;
        user-select: none !important;
}
.fc-fbp-mode .accord-head span:last-child {
        font-size: 20px !important;
        font-weight: 100 !important;
        display: inline-block !important;
        transform-origin: 50% 50% !important;
        transition: transform .45s cubic-bezier(.22,1,.36,1) !important;
}
.fc-fbp-mode .fc-acc .accord-body {
        display: grid !important;
        grid-template-rows: 0fr !important;
        transition: grid-template-rows .5s cubic-bezier(.22,1,.36,1) !important;
}
.fc-fbp-mode .fc-acc .accord-body > .accord-content {
        display: block !important;
        visibility: visible !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
        opacity: 0 !important;
        transition: opacity .3s ease, transform .45s cubic-bezier(.22,1,.36,1) !important;
        /* NO bottom padding: padding on the grid item floors the collapsed
           0fr track at 12px. The spacer lives in ::after (inside the item). */
        padding: 0 !important;
        color: #555 !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
}
.fc-fbp-mode .fc-acc .accord-body > .accord-content::after {
        content: "";
        display: block;
        height: 12px;
}
.fc-fbp-mode .fc-acc-input:checked ~ .accord-body { grid-template-rows: 1fr !important; }
.fc-fbp-mode .fc-acc-input:checked ~ .accord-body > .accord-content { opacity: 1 !important; }
.fc-fbp-mode .fc-acc-input:checked ~ .accord-head span:last-child { transform: rotate(90deg) !important; }
.fc-fbp-mode .fc-acc-input:focus-visible ~ .accord-head {
        outline: 2px solid #111 !important;
        outline-offset: 2px !important;
}
@media (prefers-reduced-motion: reduce) {
        .fc-fbp-mode .fc-acc .accord-body,
        .fc-fbp-mode .fc-acc .accord-body > .accord-content,
        .fc-fbp-mode .accord-head span:last-child { transition: none !important; }
}

/* ---- Cart button (BLACK bg, WHITE text — explicit) ---- */
.fc-fbp-mode .cartbtn {
        display: block !important;
        background: #050505 !important;
        color: #fff !important;
        text-align: center !important;
        text-decoration: none !important;
        font-size: 17px !important;
        font-weight: bold !important;
        padding: 10px 15px !important;
        width: 217px !important;
        margin: 36px auto 23px auto !important;
        border: 0 !important;
        cursor: pointer !important;
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        line-height: normal !important;
}

/* ---- Benefits (3 checkmark points) ---- */
/* v2.29: changed from horizontal flex to vertical stack — user said
 * "upar nechy kardo ek line main nahi" (stack them vertically, not on
 * one line). Also increased font size by 2px (8px→10px), made them black
 * (#111→#000), and added spacing between them. */
.fc-fbp-mode .benefits {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        color: #000000 !important;
        margin-top: 16px !important;
        line-height: 1.3 !important;
}

/* ---- Why section ---- */
/* v2.29: added spacing above .why section (was 34px → 44px) */
.fc-fbp-mode .why { margin-top: 44px !important; }
.fc-fbp-mode .why h2 {
        font-size: 24px !important;
        font-weight: 400 !important;
        margin: 0 0 35px 0 !important;
        line-height: 1.1 !important;
        color: #111 !important;
}
/* v2.29: made h3 headings BOLD (font-weight 400 → 700) */
.fc-fbp-mode .why h3 {
        font-size: 15px !important;
        font-weight: 700 !important;
        margin: 0 0 9px 0 !important;
        color: #111 !important;
}
/* v2.29: fixed paragraph spacing — line-height was 0.98 (too tight,
 * text was cramped). Changed to 1.5 for proper readability. Also
 * increased margin-bottom from 28px to 20px (was too much). */
.fc-fbp-mode .why p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin: 0 0 20px 0 !important;
        color: #111 !important;
}

/* ---- Recommend (You Might Also Like) ---- */
.fc-fbp-mode .recommend { padding: 28px 0 36px 0 !important; }
.fc-fbp-mode .recommend h2 {
        font-size: 24px !important;
        font-weight: 400 !important;
        margin: 0 0 16px 0 !important;
        color: #111 !important;
}
.fc-fbp-mode .cards {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 18px !important;
}
.fc-fbp-mode .card {
        min-width: 0 !important;
        display: block !important;
        text-decoration: none !important;
        color: #111 !important;
}
.fc-fbp-mode .framepic {
        background: #f7f7f7 !important;
        position: relative !important;
        overflow: hidden !important;
}
.fc-fbp-mode .framepic img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 273/375 !important;
        object-fit: cover !important;
}
.fc-fbp-mode .card .from {
        background: #000 !important;
        color: #fff !important;
        text-align: center !important;
        font-size: 18px !important;
        line-height: 26px !important;
        padding: 5px 4px !important;
        font-weight: 500 !important;
        height: 36px !important;
        box-sizing: border-box !important;
        /* v2.33: hidden by default, show on hover */
        opacity: 0 !important;
        transition: opacity .25s ease !important;
}
.fc-fbp-mode .card:hover .from {
        opacity: 1 !important;
}
.fc-fbp-mode .card .kind {
        font-size: 12px !important;
        font-weight: 300 !important;
        color: #777 !important;
        margin-top: 20px !important;
        line-height: 15px !important;
}
.fc-fbp-mode .card .name {
        font-size: 20px !important;
        line-height: 26px !important;
        margin-top: 2px !important;
        color: #111 !important;
        font-weight: 400 !important;
}

/* ============= Responsive (900px) ============= */
@media (max-width: 900px) {
        .fc-fbp-mode .page { width: 100% !important; max-width: none !important; padding: 0 16px !important; }
        .fc-fbp-mode .brand-name { font-size: 60px !important; }
        .fc-fbp-mode .tag { font-size: 16px !important; }
        .fc-fbp-mode .nav { font-size: 14px !important; gap: 14px !important; }
        .fc-fbp-mode .nav a { font-size: 14px !important; }
        .fc-fbp-mode .main { grid-template-columns: 1.3fr 1fr !important; }
        .fc-fbp-mode .details { padding: 28px 14px !important; }
        .fc-fbp-mode .title { font-size: 30px !important; }
        .fc-fbp-mode .benefits { font-size: 7px !important; }
        .fc-fbp-mode .canvas-inner { height: 900px !important; }
}

/* ============= Responsive (650px) ============= */
@media (max-width: 650px) {
        .fc-fbp-mode .page { width: 100% !important; max-width: none !important; padding: 0 12px !important; }
        .fc-fbp-mode .topbar { height: auto !important; min-height: 52px !important; padding: 10px 0 !important; }
        .fc-fbp-mode .nav { flex-wrap: wrap !important; gap: 10px !important; }
        .fc-fbp-mode .nav a { font-size: 11px !important; }
        .fc-fbp-mode .icons { gap: 12px !important; }
        .fc-fbp-mode .main { grid-template-columns: 1fr !important; }
        .fc-fbp-mode .canvas { min-height: 430px !important; }
        .fc-fbp-mode .canvas-inner { height: auto !important; min-height: 400px !important; }
        .fc-fbp-mode .details { border-left: 0 !important; border-top: 1px solid #222 !important; }
        .fc-fbp-mode .cards { grid-template-columns: repeat(2, 1fr) !important; }
}


/* v1.2.9: Explicit "You Might Also Like" heading — weight 400 (NOT bold).
   The reference: .recommend h2 { font-size:16px;font-weight:400;margin:0 0 16px }
   Must override the general h2 rule that forces weight 700. */
#fc-fbp-root .recommend h2 {
        font-size: 16px !important;
        font-weight: 400 !important;
        margin: 0 0 16px 0 !important;
        color: #111 !important;
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        line-height: normal !important;
        text-transform: none !important;
        letter-spacing: normal !important;
}
/* Also force the card elements to match the reference exactly */
/* v2.33: hidden by default, show on hover — using #fc-fbp-root specificity
 * so the theme can't override the opacity. */
#fc-fbp-root .card .from {
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 1.15 !important;
        color: #fff !important;
        background: #050505 !important;
        padding: 8px 6px 9px 6px !important;
        text-align: center !important;
        opacity: 0 !important;
        transition: opacity .25s ease !important;
}
#fc-fbp-root .card:hover .from {
        opacity: 1 !important;
}
#fc-fbp-root .card .kind {
        font-size: 11px !important;
        font-weight: 400 !important;
        color: #777 !important;
        margin-top: 13px !important;
        line-height: 1.15 !important;
}
#fc-fbp-root .card .name {
        font-size: 18px !important;
        font-weight: 400 !important;
        color: #111 !important;
        line-height: 1.1 !important;
        margin-top: 4px !important;
}

/* ---- Hide theme header + breadcrumbs (NOT the Timbré header) ---- */
body.fc-fbp-mode-page .site-header,
body.fc-fbp-mode-page #masthead,
body.fc-fbp-mode-page header.site-header,
body.fc-fbp-mode-page .flatsome-top-bar,
body.fc-fbp-mode-page .top-bar,
body.fc-fbp-mode-page .announcement-bar,
body.fc-fbp-mode-page .header-wrapper,
body.fc-fbp-mode-page .storefront-breadcrumb,
body.fc-fbp-mode-page .woocommerce-breadcrumb,
body.fc-fbp-mode-page .page-header,
body.fc-fbp-mode-page #wpadminbar {
        display: none !important;
}
body.fc-fbp-mode-page {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        font-size: 13px !important;
        color: #111 !important;
}

/* ============================================================
   v1.2.6 — Wishlist toast + config row swatch fixes
   ============================================================ */

/* ---- Wishlist toast (bottom-right, slides up) ---- */
.fc-fbp-toast {
        position: fixed !important;
        right: 20px !important;
        bottom: 20px !important;
        background: #111 !important;
        color: #fff !important;
        padding: 12px 16px !important;
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        font-size: 13px !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        z-index: 99999 !important;
        opacity: 0 !important;
        transform: translateY(20px) !important;
        transition: opacity 0.3s ease, transform 0.3s ease !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
        max-width: 360px !important;
}
.fc-fbp-toast.show {
        opacity: 1 !important;
        transform: translateY(0) !important;
}
.fc-fbp-toast-msg {
        flex: 1 !important;
        color: #fff !important;
}
.fc-fbp-toast-action {
        color: #fff !important;
        text-decoration: underline !important;
        text-underline-offset: 3px !important;
        white-space: nowrap !important;
        font-weight: 400 !important;
}
.fc-fbp-toast-action:hover {
        opacity: 0.8 !important;
}
.fc-fbp-toast-close {
        background: transparent !important;
        border: 0 !important;
        color: #fff !important;
        font-size: 18px !important;
        cursor: pointer !important;
        padding: 0 !important;
        line-height: 1 !important;
        opacity: 0.7 !important;
}
.fc-fbp-toast-close:hover {
        opacity: 1 !important;
}

/* ---- Config row swatches: show selected wood color properly ---- */
/* The swatch box (32x32) should show the wood's color. The JS sets
   background-color on the Wood Type row's swatch. Make sure the
   swatch is visible and properly sized. */
.fc-fbp-mode .row .swatch {
        height: 32px !important;
        width: 32px !important;
        border: 1px solid #bbb !important;
        /* v1.4.85: was background:#fff !important — same cascade bug as the
           .swatch rule above; now reads the --fc-swatch custom property. */
        background: var(--fc-swatch, #fff) !important;
        display: block !important;
        box-sizing: border-box !important;
}
/* The row-value (the selected data text) should be visible */
.fc-fbp-mode .row .row-value,
.fc-fbp-mode .row span {
        color: #111 !important;
        font-size: 11px !important;
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
}

/* v1.2.8: Also force font on the body element itself when in FBP mode */
body.fc-fbp-mode-page,
body.fc-frame-product.fc-fbp-mode-page {
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        color: #111 !important;
}
body.fc-fbp-mode-page *,
body.fc-frame-product.fc-fbp-mode-page * {
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
}
/* Kill the global FC typography rule that forces weight 300 + Brandon
   on everything inside .fc-product-page. Our ID selector above wins,
   but this is a backup for any elements OUTSIDE #fc-fbp-root but still
   inside .fc-product-page. */
body.fc-frame-product .fc-product-page.fc-fbp-mode p,
body.fc-frame-product .fc-product-page.fc-fbp-mode span,
body.fc-frame-product .fc-product-page.fc-fbp-mode div,
body.fc-frame-product .fc-product-page.fc-fbp-mode a,
body.fc-frame-product .fc-product-page.fc-fbp-mode button,
body.fc-frame-product .fc-product-page.fc-fbp-mode input,
body.fc-frame-product .fc-product-page.fc-fbp-mode select,
body.fc-frame-product .fc-product-page.fc-fbp-mode textarea,
body.fc-frame-product .fc-product-page.fc-fbp-mode li,
body.fc-frame-product .fc-product-page.fc-fbp-mode td,
body.fc-frame-product .fc-product-page.fc-fbp-mode th,
body.fc-frame-product .fc-product-page.fc-fbp-mode label,
body.fc-frame-product .fc-product-page.fc-fbp-mode small,
body.fc-frame-product .fc-product-page.fc-fbp-mode blockquote {
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        font-weight: 400 !important;
        color: #111 !important;
}
body.fc-frame-product .fc-product-page.fc-fbp-mode h1,
body.fc-frame-product .fc-product-page.fc-fbp-mode h2 {
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        font-weight: 700 !important;
        color: #111 !important;
}
body.fc-frame-product .fc-product-page.fc-fbp-mode h3,
body.fc-frame-product .fc-product-page.fc-fbp-mode h4,
body.fc-frame-product .fc-product-page.fc-fbp-mode h5,
body.fc-frame-product .fc-product-page.fc-fbp-mode h6 {
        font-family: "Poppins", Arial, Helvetica, sans-serif !important;
        font-weight: 400 !important;
        color: #111 !important;
}

/* v1.3.2: Hide the Timbré header on ALL pages EXCEPT FBP-mode product pages.
   The Timbré header (.fc-timbre-header / .fc-ref-header) should ONLY appear
   when body has the .fc-fbp-mode-page class (set by the FBP wrapper template).
   On the wishlist page, cart page, and other non-FBP pages, the theme's
   normal header should show instead. */
body:not(.fc-fbp-mode-page) .fc-timbre-header,
body:not(.fc-fbp-mode-page) .fc-ref-header,
body:not(.fc-fbp-mode-page) .fc-ref-header.site-header,
body:not(.fc-fbp-mode-page) header.fc-timbre-header,
body:not(.fc-fbp-mode-page) header.fc-ref-header {
        display: none !important;
}
/* On non-FBP pages, make sure the theme's header is NOT hidden */
body:not(.fc-fbp-mode-page) .site-header,
body:not(.fc-fbp-mode-page) #masthead,
body:not(.fc-fbp-mode-page) header.site-header,
body:not(.fc-fbp-mode-page) .header-wrapper {
        display: block !important;
}

/* ===== v1.4.47: inline row editors (✎ expands IN PLACE — never redirects) ===== */
.fc-row-editor {
        background: #ffffff;
        border: 1px solid #e2e2e2;
        box-shadow: 0 10px 26px rgba(0,0,0,.10);
        margin: -6px 0 10px 0;
        padding: 6px;
        max-height: 220px;
        overflow-y: auto;
        z-index: 20;
        position: relative;
}
.fc-row-editor[hidden] { display: none !important; }
.fc-row-editor .fc-row-option {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        text-align: left;
        background: transparent;
        border: 0;
        font-size: 12px;
        font-weight: 400;
        color: #111;
        padding: 9px 10px;
        cursor: pointer;
        line-height: 1.3;
        font-family: inherit;
}
.fc-row-editor .fc-row-option:hover { background: #f4f4f4; }
.fc-row-editor .fc-row-option.is-current { background: #f0f0f0; font-weight: 600; }
.fc-row-editor .fc-row-swatch {
        width: 16px;
        height: 16px;
        border: 1px solid #bbb;
        display: inline-block;
        flex: 0 0 auto;
}
.fc-edit-btn.is-open { color: #000; }

/* ===== v1.4.47: bulletproof size badge (black box must ALWAYS contain its
   own text — no theme CSS can split the size/price lines out of the box). ===== */
#fc-size-badge.fc-size-badge {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        width: 142px !important;
        height: auto !important;
        min-height: 34px !important;
        margin: 0 0 16px auto !important;
        background: #000 !important;
        color: #fff !important;
        text-align: center !important;
        padding: 8px 6px 7px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        float: none !important;
        position: static !important;
}
#fc-size-badge.fc-size-badge > * {
        color: #fff !important;
        display: block !important;
        position: static !important;
        float: none !important;
        transform: none !important;
        margin: 0 !important;
}
#fc-size-badge .fc-size-badge-size { font-size: 10px !important; letter-spacing: .04em; }
#fc-size-badge .fc-size-badge-price { font-size: 11px !important; font-weight: 600; }
