/*
Theme Name: Golden Family Mart Child
Theme URI: https://goldenfamilymart.com
Description: Astra child theme for Golden Family Mart — premium dates (খেজুর) storefront. Date-brown primary #3B2416, gold CTA #D19A3A on a warm cream canvas. WooCommerce ready. Fonts: Tiro Bangla (headings), Anek Bangla (body).
Author: Golden Family Mart
Author URI: https://goldenfamilymart.com
Template: astra
Version: 1.0.0
Text Domain: goldenfamilymart-child
*/

/* =====================================================
   Golden Family Mart — Design System (Date Palm)
   ===================================================== */

:root {
    /* Date brown — primary surfaces & headings */
    --gfm-brown: #3B2416;
    --gfm-brown-2: #2A190F;
    --gfm-brown-3: #1F130B;

    /* Caramel — accent text on light surfaces */
    --gfm-caramel: #9C5F27;
    --gfm-caramel-2: #7E4A1C;

    /* Gold — CTA surfaces (always paired with brown text) */
    --gfm-gold: #D19A3A;
    --gfm-gold-2: #BC8530;
    --gfm-gold-light: #E9C27A;
    --gfm-gold-soft: #F6E7C8;
    --gfm-gold-tint: #FBF3E3;

    /* Canvas */
    --gfm-cream: #FAF4EA;
    --gfm-sand: #F1E4CF;
    --gfm-bg: var(--gfm-cream);
    --gfm-white: #ffffff;

    /* Palm green — stock, trust, success */
    --gfm-palm: #3F6B4A;
    --gfm-palm-2: #2F5238;
    --gfm-palm-3: #24402B;
    --gfm-palm-soft: #E8F0E9;
    --gfm-palm-line: #CFE0D3;

    --gfm-red: #B3261E;
    --gfm-red-soft: #FBEDEC;
    --gfm-pink: #e2136e;

    /* Warm neutrals */
    --gfm-ink-50: #FBF7F1;
    --gfm-ink-100: #F4ECE0;
    --gfm-ink-150: #EFE5D6;
    --gfm-ink-200: #E7DAC6;
    --gfm-ink-300: #D6C5AE;
    --gfm-ink-400: #A8957F;
    --gfm-ink-500: #7A6656;
    --gfm-ink-600: #64503F;
    --gfm-ink-700: #4E3B2D;
    --gfm-ink-800: #2E2016;
    --gfm-ink-900: #24180F;
    --gfm-ink-950: #1A110A;

    --gfm-shadow-xs: 0 1px 2px rgba(42, 25, 15, .05);
    --gfm-shadow-sm: 0 1px 3px rgba(42, 25, 15, .07), 0 1px 2px rgba(42, 25, 15, .05);
    --gfm-shadow: 0 4px 12px rgba(42, 25, 15, .08);
    --gfm-shadow-md: 0 8px 24px rgba(42, 25, 15, .10);
    --gfm-shadow-lg: 0 18px 48px rgba(42, 25, 15, .16);
    --gfm-shadow-gold: 0 10px 25px -5px rgba(209, 154, 58, .3);

    --gfm-r-sm: 10px;
    --gfm-r: 12px;
    --gfm-r-lg: 16px;
    --gfm-r-xl: 20px;
    --gfm-r-2xl: 24px;
    --gfm-r-3xl: 30px;
    --gfm-pill: 9999px;

    --gfm-font: "Anek Bangla", "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, sans-serif;
    --gfm-font-head: "Tiro Bangla", "Noto Serif Bengali", Georgia, serif;
    --gfm-container: 1280px;
}

/* ---------- Global reset ---------- */
body, body *, body *::before, body *::after { box-sizing: border-box; }

body {
    font-family: var(--gfm-font);
    background: var(--gfm-bg);
    color: var(--gfm-ink-800);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

body img, body video, body svg { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
body svg { flex-shrink: 0; }

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gfm-caramel); }

::selection { background: var(--gfm-brown); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gfm-ink-100); }
::-webkit-scrollbar-thumb { background: var(--gfm-ink-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gfm-ink-400); }

/* Container */
.gfm-container { max-width: var(--gfm-container); margin: 0 auto; padding: 0 16px; width: 100%; }
@media (min-width: 1024px) { .gfm-container { padding: 0 24px; } }

/* =====================================================
   ASTRA OVERRIDES — strip parent decorations
   ===================================================== */
/* Astra CSS variable override — force full-width content */
:root {
    --site-content-max-width: 100% !important;
    --content-width: 100% !important;
    --ast-site-content-max-width: 100% !important;
}

html, body { max-width: 100%; overflow-x: hidden; }
body.gfm-site, #page, #content, .site-content, .hfeed.site,
.ast-container, .ast-container-fluid,
.entry-content, .site-main, main#primary,
.woocommerce, .woocommerce-page main,
.woocommerce-page .site-main,
.single-product .site-main, .single-product main {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ast-container, .site-content > .ast-container, #content > .ast-container,
.entry-content, .ast-archive-description, .site-main { max-width: 100% !important; padding: 0 !important; }
.ast-builder-grid-row-container, .ast-builder-grid-row { display: none !important; }
.site-header, .ast-primary-header-bar, .ast-mobile-header-wrap, .ast-above-header-wrap, .ast-below-header-wrap { display: none !important; }
.ast-site-identity, .site-branding { display: none !important; }
#secondary, .secondary { display: none !important; }
.ast-archive-title, .page-header { display: none; }
.entry-header { display: none; }
.ast-no-sidebar #primary, .ast-right-sidebar #primary, .ast-left-sidebar #primary,
body.ast-page-builder-template #primary, body.ast-page-builder-template .site-main { width: 100% !important; max-width: 100% !important; padding: 0 !important; }
.site-content { padding: 0; }

/* Strip Astra page-wrapper padding on all WC contexts */
.woocommerce-page #primary, .woocommerce-page .site-content,
.single-product #primary, .single-product .site-content,
.post-type-archive-product #primary, .post-type-archive-product .site-content,
.tax-product_cat #primary, .tax-product_cat .site-content {
    max-width: 100% !important; padding: 0 !important; margin: 0 !important;
}

/* =====================================================
   GFM HEADER — date-brown bar, gold accents
   ===================================================== */
.gfm-header {
    position: sticky; top: 0; z-index: 40; width: 100%;
    background: var(--gfm-brown);
    box-shadow: 0 6px 18px -10px rgba(26, 17, 10, .55);
}

/* Announcement Bar */
.gfm-announce {
    background: var(--gfm-brown-3);
    color: rgba(250, 244, 234, .82);
    text-align: center;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid rgba(209, 154, 58, .18);
}
.gfm-announce-inner {
    max-width: var(--gfm-container); margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6px;
}
@media (min-width: 640px) { .gfm-announce-inner { flex-direction: row; gap: 16px; } }
.gfm-announce span { display: inline-flex; align-items: center; gap: 6px; }
.gfm-announce svg { color: var(--gfm-gold); }
.gfm-announce a, .gfm-announce a:focus { color: var(--gfm-gold-light); font-weight: 700; }
.gfm-announce a:hover { color: #fff; }
.gfm-announce .gfm-announce-pill {
    display: none;
    border: 1px solid rgba(209, 154, 58, .55);
    color: var(--gfm-gold-light);
    padding: 2px 14px; border-radius: var(--gfm-pill);
    font-size: 11px; font-weight: 600; letter-spacing: .01em;
}
@media (min-width: 640px) { .gfm-announce .gfm-announce-pill { display: inline-flex; } }

/* Main Nav */
.gfm-nav-main {
    max-width: var(--gfm-container);
    margin: 0 auto;
    padding: 12px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (min-width: 640px) { .gfm-nav-main { padding: 14px 16px; } }

.gfm-mobile-toggle, .gfm-mobile-toggle:focus {
    display: inline-flex; padding: 8px;
    color: var(--gfm-cream);
    background: rgba(250, 244, 234, .08);
    border: 1px solid rgba(250, 244, 234, .14);
    border-radius: 12px; cursor: pointer;
    transition: color .2s ease, background .2s ease;
}
.gfm-mobile-toggle:hover { color: var(--gfm-gold-light); background: rgba(250, 244, 234, .14); border-color: rgba(250, 244, 234, .14); }
@media (min-width: 768px) { .gfm-mobile-toggle { display: none; } }

.gfm-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; cursor: pointer; user-select: none; text-decoration: none; }
.gfm-logo-mark { display: inline-flex; border-radius: 50%; box-shadow: 0 0 0 3px rgba(209, 154, 58, .18), 0 6px 14px -6px rgba(0, 0, 0, .5); }
.gfm-logo-mark svg { display: block; width: 44px; height: 44px; }
.gfm-logo-img { display: block; max-height: 48px; width: auto; }
.gfm-logo-text { display: flex; flex-direction: column; line-height: 1; }
.gfm-logo-name { display: inline-flex; gap: 6px; align-items: baseline; font-family: var(--gfm-font-head); white-space: nowrap; }
.gfm-logo-name .gfm-l-one { font-size: 24px; font-weight: 400; color: var(--gfm-gold-light); }
.gfm-logo-name .gfm-l-two { font-size: 24px; font-weight: 400; color: var(--gfm-cream); }
.gfm-logo-tag { display: none; margin-top: 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .02em; color: rgba(233, 194, 122, .8); }
@media (min-width: 640px) { .gfm-logo-tag { display: block; } }

/* Search */
.gfm-search-wrap { display: none; flex: 1; max-width: 540px; position: relative; }
@media (min-width: 768px) { .gfm-search-wrap { display: block; } }
.gfm-search-form { position: relative; margin: 0; }
.gfm-search-form input[type="search"], .gfm-search-form input[type="text"] {
    width: 100%; height: auto; margin: 0;
    background: var(--gfm-cream);
    border: 1px solid transparent;
    border-radius: var(--gfm-pill);
    padding: 11px 56px 11px 20px;
    font-family: inherit; font-size: 13.5px; line-height: 1.4;
    color: var(--gfm-ink-800);
    box-shadow: none; outline: none;
    -webkit-appearance: none; appearance: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gfm-search-form input::placeholder { color: var(--gfm-ink-500); opacity: 1; }
.gfm-search-form input[type="search"]:focus, .gfm-search-form input[type="text"]:focus {
    background: #fff; color: var(--gfm-ink-900);
    border-color: var(--gfm-gold);
    box-shadow: 0 0 0 4px rgba(209, 154, 58, .25);
}
.gfm-search-form .gfm-search-icon { display: none; }
.gfm-search-form button[type="submit"] {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; padding: 0; margin: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gfm-gold); color: var(--gfm-brown);
    border: 0; border-radius: var(--gfm-pill); cursor: pointer;
    transition: background .2s ease;
}
.gfm-search-form button[type="submit"]:hover { background: var(--gfm-gold-light); color: var(--gfm-brown-2); }

/* Mobile Search Bar */
.gfm-search-mobile { padding: 0 16px 12px; }
@media (min-width: 768px) { .gfm-search-mobile { display: none; } }
.gfm-search-mobile .gfm-search-form input[type="search"] { padding: 10px 48px 10px 16px; font-size: 13px; }
.gfm-search-mobile .gfm-search-form button[type="submit"] { width: 32px; height: 32px; right: 4px; }

/* Right tools */
.gfm-tools { display: flex; align-items: center; gap: 8px; color: var(--gfm-cream); }
@media (min-width: 640px) { .gfm-tools { gap: 14px; } }
.gfm-tool-shop, .gfm-tool-shop:focus {
    display: none;
    align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600;
    padding: 9px 18px;
    border-radius: var(--gfm-pill);
    border: 1px solid rgba(250, 244, 234, .22);
    color: var(--gfm-cream);
    transition: all .2s ease;
}
@media (min-width: 640px) { .gfm-tool-shop, .gfm-tool-shop:focus { display: inline-flex; } }
.gfm-tool-shop svg { color: var(--gfm-gold-light); }
.gfm-tool-shop:hover { border-color: var(--gfm-gold); color: var(--gfm-gold-light); }

.gfm-tool-hotline, .gfm-tool-hotline:focus {
    display: none;
    align-items: center; gap: 10px;
    color: var(--gfm-cream);
}
@media (min-width: 1024px) { .gfm-tool-hotline, .gfm-tool-hotline:focus { display: flex; } }
.gfm-tool-hotline .gfm-hot-icon {
    width: 38px; height: 38px; border-radius: var(--gfm-pill);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--gfm-gold-light);
    border: 1px solid rgba(209, 154, 58, .45);
    transition: all .2s ease;
}
.gfm-tool-hotline:hover .gfm-hot-icon { background: var(--gfm-gold); border-color: var(--gfm-gold); color: var(--gfm-brown); }
.gfm-tool-hotline .gfm-hot-text { display: flex; flex-direction: column; }
.gfm-tool-hotline .gfm-hot-label { font-size: 10.5px; color: rgba(250, 244, 234, .65); font-weight: 500; line-height: 1; }
.gfm-tool-hotline .gfm-hot-num { font-size: 13px; font-weight: 700; color: var(--gfm-cream); line-height: 1; margin-top: 4px; letter-spacing: .01em; transition: color .2s ease; }
.gfm-tool-hotline:hover .gfm-hot-num { color: var(--gfm-gold-light); }

.gfm-cart-btn, .gfm-cart-btn:focus {
    display: flex; align-items: center; gap: 10px;
    background: var(--gfm-gold);
    color: var(--gfm-brown);
    padding: 8px 18px 8px 14px;
    border-radius: var(--gfm-pill);
    border: 0;
    box-shadow: 0 8px 18px -10px rgba(209, 154, 58, .9);
    cursor: pointer;
    position: relative;
    transition: background .2s ease, box-shadow .2s ease;
    font-family: inherit;
}
.gfm-cart-btn:hover { background: var(--gfm-gold-light); color: var(--gfm-brown-2); box-shadow: 0 10px 22px -10px rgba(233, 194, 122, .9); }
.gfm-cart-btn .gfm-cart-icon-wrap { position: relative; display: inline-flex; }
.gfm-cart-btn .gfm-cart-count-badge {
    position: absolute; top: -9px; right: -11px;
    min-width: 19px; height: 19px; padding: 0 4px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gfm-brown); color: var(--gfm-gold-light);
    font-size: 10px; font-weight: 800; line-height: 1;
    border-radius: var(--gfm-pill); border: 2px solid var(--gfm-gold);
    transition: border-color .2s ease;
}
.gfm-cart-btn:hover .gfm-cart-count-badge { border-color: var(--gfm-gold-light); }
@keyframes gfm-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.gfm-cart-btn .gfm-cart-meta { display: none; text-align: left; }
@media (min-width: 640px) { .gfm-cart-btn .gfm-cart-meta { display: flex; flex-direction: column; } }
.gfm-cart-btn .gfm-cart-meta-label { font-size: 10.5px; color: rgba(42, 25, 15, .85); font-weight: 600; line-height: 1; }
.gfm-cart-btn .gfm-cart-meta-total { font-size: 13.5px; font-weight: 800; color: var(--gfm-brown-2); margin-top: 3px; line-height: 1.1; }

/* Main category nav row */
.gfm-cat-nav {
    display: none;
    background: var(--gfm-sand);
    border-bottom: 1px solid rgba(59, 36, 22, .08);
}
@media (min-width: 768px) { .gfm-cat-nav { display: block; } }
.gfm-cat-nav-inner {
    max-width: var(--gfm-container); margin: 0 auto;
    padding: 0 16px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13.5px;
}
.gfm-cat-nav-inner nav { display: flex; align-items: center; gap: 2px; }
.gfm-cat-nav-inner nav a, .gfm-cat-nav-inner nav button {
    position: relative;
    padding: 11px 14px;
    color: var(--gfm-ink-700);
    font-weight: 600;
    transition: color .2s;
    background: none; border: 0; cursor: pointer;
    font-family: inherit; font-size: inherit;
    display: inline-flex; align-items: center; gap: 4px;
}
.gfm-cat-nav-inner nav a::after {
    content: ""; position: absolute; left: 12%; right: 12%; bottom: 6px; height: 2px;
    background: var(--gfm-gold); border-radius: 2px;
    transform: scaleX(0); transition: transform .25s ease;
}
.gfm-cat-nav-inner nav a.gfm-strong, .gfm-cat-nav-inner nav button.gfm-strong { font-weight: 700; color: var(--gfm-brown); }
.gfm-cat-nav-inner nav a:hover, .gfm-cat-nav-inner nav a.is-active, .gfm-cat-nav-inner nav button:hover { color: var(--gfm-brown); }
.gfm-cat-nav-inner nav a:hover::after, .gfm-cat-nav-inner nav a.is-active::after { transform: scaleX(1); }
.gfm-cat-nav-inner .gfm-divider { width: 1px; height: 16px; background: rgba(59, 36, 22, .18); margin: 0 6px; }
.gfm-cat-nav-right { color: var(--gfm-caramel); font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }

/* Mobile Drawer */
.gfm-mobile-drawer { display: none; position: fixed; inset: 0; z-index: 60; }
.gfm-mobile-drawer.is-open { display: flex; }
.gfm-mobile-drawer .gfm-md-bg { position: fixed; inset: 0; background: rgba(26, 17, 10, .62); backdrop-filter: blur(2px); }
.gfm-mobile-drawer .gfm-md-panel {
    position: relative; width: 320px; max-width: 86vw; background: var(--gfm-cream); height: 100%;
    box-shadow: var(--gfm-shadow-lg); display: flex; flex-direction: column; z-index: 10;
    animation: gfm-slide-left .25s ease-out;
}
@keyframes gfm-slide-left { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.gfm-md-header {
    padding: 14px 16px; background: var(--gfm-brown);
    border-bottom: 2px solid var(--gfm-gold);
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.gfm-md-header .gfm-logo-mark svg { width: 36px; height: 36px; }
.gfm-md-header .gfm-logo-name .gfm-l-one,
.gfm-md-header .gfm-logo-name .gfm-l-two { font-size: 18px; }
.gfm-md-close, .gfm-md-close:focus {
    display: inline-flex; padding: 6px;
    color: var(--gfm-cream); background: rgba(250, 244, 234, .08);
    border: 1px solid rgba(250, 244, 234, .14); border-radius: 10px;
    cursor: pointer; transition: color .2s ease, background .2s ease;
}
.gfm-md-close:hover { color: var(--gfm-gold-light); background: rgba(250, 244, 234, .14); border-color: rgba(250, 244, 234, .14); }
.gfm-md-body { flex: 1; overflow-y: auto; padding: 18px 14px; }
.gfm-md-section { margin-bottom: 18px; }
.gfm-md-section h4 { font-family: var(--gfm-font); font-size: 11px; font-weight: 700; color: var(--gfm-caramel); text-transform: uppercase; letter-spacing: .12em; padding-left: 10px; margin: 0 0 8px; }
.gfm-md-section a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--gfm-ink-700); transition: background .15s ease, color .15s ease; }
.gfm-md-section a:hover { background: var(--gfm-sand); color: var(--gfm-brown); }
.gfm-md-section a.is-active { background: var(--gfm-sand); color: var(--gfm-brown); box-shadow: inset 3px 0 0 var(--gfm-gold); }
.gfm-md-contact { padding: 14px; background: var(--gfm-brown); border-radius: 14px; margin-top: 8px; }
.gfm-md-contact .label { display: block; font-size: 11px; color: rgba(250, 244, 234, .7); font-weight: 500; }
.gfm-md-contact a, .gfm-md-contact a:focus { color: var(--gfm-gold-light); font-size: 15px; font-weight: 700; padding: 4px 0 0; display: inline-flex; align-items: center; gap: 6px; }
.gfm-md-contact a:hover { color: #fff; }

/* =====================================================
   FOOTER — deep date-brown, gold accents
   ===================================================== */
.gfm-footer {
    background: var(--gfm-brown-2);
    color: rgba(250, 244, 234, .75);
    padding: 0 0 26px;
    border-top: 3px solid var(--gfm-gold);
}

.gfm-footer-features {
    max-width: var(--gfm-container); margin: 0 auto; padding: 36px 16px;
    display: grid; grid-template-columns: 1fr; gap: 22px;
    border-bottom: 1px solid rgba(209, 154, 58, .16);
}
@media (min-width: 640px) { .gfm-footer-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gfm-footer-features { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.gfm-feature { display: flex; gap: 14px; align-items: flex-start; }
.gfm-feature-ico {
    width: 48px; height: 48px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--gfm-gold-light);
    background: rgba(209, 154, 58, .08);
    border: 1px solid rgba(209, 154, 58, .45);
}
.gfm-feature h4 { font-size: 15px; font-weight: 700; color: var(--gfm-cream); margin: 3px 0 4px; line-height: 1.35; }
.gfm-feature p { font-size: 12.5px; color: rgba(250, 244, 234, .62); margin: 0; line-height: 1.6; }

.gfm-footer-cols {
    max-width: var(--gfm-container); margin: 0 auto; padding: 44px 16px 36px;
    display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 640px) { .gfm-footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gfm-footer-cols { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 40px; } }
.gfm-fcol h4 {
    position: relative;
    font-family: var(--gfm-font-head); font-weight: 400; font-synthesis: none;
    font-size: 18px; line-height: 1.3; color: var(--gfm-gold-light);
    padding-bottom: 12px; margin: 0 0 18px;
}
.gfm-fcol h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; border-radius: 2px; background: var(--gfm-gold); }
.gfm-fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.gfm-fcol ul li a { font-size: 13px; color: rgba(250, 244, 234, .72); transition: color .2s ease; }
.gfm-fcol ul li a:hover, .gfm-fcol ul li a:focus { color: var(--gfm-gold-light); }
.gfm-fcol .gfm-flinks li a { display: inline-flex; align-items: center; gap: 9px; }
.gfm-fcol .gfm-flinks li a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(209, 154, 58, .6); flex-shrink: 0; transition: background .2s ease; }
.gfm-fcol .gfm-flinks li a:hover::before { background: var(--gfm-gold-light); }

.gfm-fcol .gfm-fcol-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.gfm-fcol .gfm-fcol-brand .gfm-fb-mark { display: inline-flex; border-radius: 50%; box-shadow: 0 0 0 3px rgba(209, 154, 58, .16); }
.gfm-fcol .gfm-fcol-brand .gfm-fb-mark svg { display: block; width: 42px; height: 42px; }
.gfm-fcol .gfm-fcol-brand .gfm-fb-text { display: inline-flex; gap: 6px; align-items: baseline; font-family: var(--gfm-font-head); white-space: nowrap; line-height: 1; }
.gfm-fcol .gfm-fcol-brand .gfm-fb-text .gfm-l-one { font-size: 22px; color: var(--gfm-gold-light); }
.gfm-fcol .gfm-fcol-brand .gfm-fb-text .gfm-l-two { font-size: 22px; color: var(--gfm-cream); }
.gfm-fcol-about { font-size: 13px; color: rgba(250, 244, 234, .68); line-height: 1.75; margin: 0 0 18px; max-width: 380px; }
.gfm-fcol-socials { display: flex; gap: 10px; }
.gfm-fcol-socials a, .gfm-fcol-socials a:focus {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(209, 154, 58, .35);
    color: var(--gfm-gold-light);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.gfm-fcol-socials a:hover { background: var(--gfm-gold); color: var(--gfm-brown); border-color: var(--gfm-gold); }

.gfm-fcontact { font-size: 13px; color: rgba(250, 244, 234, .72); display: flex; flex-direction: column; gap: 14px; }
.gfm-fcontact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.gfm-fcontact li svg { color: var(--gfm-gold); flex-shrink: 0; margin-top: 2px; }
.gfm-fcol .gfm-fcontact li a { color: rgba(250, 244, 234, .85); word-break: break-word; }
.gfm-fcol .gfm-fcontact li a:hover { color: var(--gfm-gold-light); }

.gfm-footer-bottom {
    max-width: var(--gfm-container); margin: 0 auto; padding: 22px 16px 0;
    border-top: 1px solid rgba(209, 154, 58, .16);
    display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: space-between;
    font-size: 12px;
}
@media (min-width: 768px) { .gfm-footer-bottom { flex-direction: row; } }
.gfm-copy { color: rgba(250, 244, 234, .55); font-size: 12px; font-weight: 500; }
.gfm-payments { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.gfm-payments .label { font-size: 11.5px; color: rgba(250, 244, 234, .55); font-weight: 600; margin-right: 2px; }
.gfm-payments .gfm-pm {
    background: var(--gfm-cream); padding: 5px 11px;
    border-radius: 8px;
    font-size: 11px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2;
}
.gfm-payments .gfm-pm.bkash { color: var(--gfm-pink); }
.gfm-payments .gfm-pm.nagad { color: #C8161D; }
.gfm-payments .gfm-pm.rocket { color: #7B2D86; }
.gfm-payments .gfm-pm.cod { color: var(--gfm-gold-light); background: transparent; border: 1px solid rgba(209, 154, 58, .45); font-weight: 700; }

/* =====================================================
   HOME / FRONT PAGE
   ===================================================== */
.gfm-home { padding-bottom: 64px; background: var(--gfm-bg); }
.gfm-home > section { max-width: var(--gfm-container); margin: 0 auto; padding: 0 16px; }
.gfm-home > section + section { margin-top: 48px; }
.gfm-section-head { border-bottom: 1px solid var(--gfm-ink-200); padding-bottom: 12px; margin-bottom: 24px; }
.gfm-section-head .gfm-eyebrow {
    display: inline-block;
    background: var(--gfm-sand); color: var(--gfm-brown);
    font-size: 10px; font-weight: 800; letter-spacing: .08em;
    padding: 4px 12px; border-radius: var(--gfm-pill);
    text-transform: uppercase;
}
.gfm-section-head .gfm-eyebrow.orange { background: var(--gfm-gold-soft); color: var(--gfm-caramel); }
.gfm-section-head .gfm-eyebrow.amber { background: var(--gfm-gold-tint); color: var(--gfm-brown); }
.gfm-section-head .gfm-eyebrow.mint { background: var(--gfm-palm-soft); color: var(--gfm-palm); }
.gfm-section-head h2 {
    font-size: 22px; font-weight: 800; color: var(--gfm-ink-800);
    margin: 8px 0 0; line-height: 1.25;
}
@media (min-width: 640px) { .gfm-section-head h2 { font-size: 24px; } }
.gfm-section-head .gfm-section-row { display: flex; justify-content: space-between; align-items: center; }
.gfm-view-all { font-size: 12px; font-weight: 700; color: var(--gfm-brown); display: inline-flex; align-items: center; gap: 4px; }
.gfm-view-all:hover { color: var(--gfm-caramel); text-decoration: underline; }

/* =====================================================
   HERO — single banner, date-brown overlay, gold frame
   Mobile-first: copy sits at the bottom on phones and
   moves to the left over a side gradient from 768px.
   ===================================================== */
.gfm-home > section.gfm-hero-section { padding-top: 14px; }
@media (min-width: 768px) { .gfm-home > section.gfm-hero-section { padding-top: 20px; } }

.gfm-hero-single {
    position: relative;
    border-radius: var(--gfm-r-xl);
    overflow: hidden;
    background: var(--gfm-brown-2);
    box-shadow: 0 24px 50px -28px rgba(42, 25, 15, .6);
    isolation: isolate;
}
@media (min-width: 768px) { .gfm-hero-single { border-radius: var(--gfm-r-2xl); } }
.gfm-hero-single.has-copy { height: 460px; }
@media (min-width: 768px) { .gfm-hero-single.has-copy { height: 420px; } }
@media (min-width: 1024px) { .gfm-hero-single.has-copy { height: 480px; } }
@media (min-width: 1280px) { .gfm-hero-single.has-copy { height: 500px; } }

/* Thin gold inner frame */
.gfm-hero-single.has-copy::after {
    content: ""; position: absolute; inset: 10px; z-index: 3;
    border: 1px solid rgba(233, 194, 122, .38);
    border-radius: 14px;
    pointer-events: none;
}
@media (min-width: 768px) { .gfm-hero-single.has-copy::after { inset: 14px; border-radius: 16px; } }

/* Image — always clickable */
.gfm-hero-media { position: absolute; inset: 0; z-index: 1; display: block; }
.gfm-hero-media picture,
.gfm-hero-media img { display: block; width: 100%; height: 100%; }
.gfm-hero-media img {
    object-fit: cover; object-position: center 35%;
    transition: transform 1.4s cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { .gfm-hero-media img { object-position: 70% center; } }
.gfm-hero-single:hover .gfm-hero-media img { transform: scale(1.03); }

/* Image-only mode: natural aspect ratio, no frame */
.gfm-hero-single.is-image-only .gfm-hero-media { position: relative; inset: auto; }
.gfm-hero-single.is-image-only .gfm-hero-media img { height: auto; }

/* Copy layer */
.gfm-hero-copy {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: flex-end;
    padding: 26px 24px 30px;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(31, 19, 11, .95) 0%, rgba(31, 19, 11, .8) 40%, rgba(31, 19, 11, .28) 68%, rgba(31, 19, 11, 0) 84%);
}
@media (min-width: 768px) {
    .gfm-hero-copy {
        align-items: center;
        padding: 40px 52px;
        background: linear-gradient(90deg, rgba(31, 19, 11, .92) 0%, rgba(31, 19, 11, .74) 36%, rgba(31, 19, 11, .2) 64%, rgba(31, 19, 11, 0) 78%);
    }
}
@media (min-width: 1024px) { .gfm-hero-copy { padding: 48px 68px; } }
.gfm-hero-copy a { pointer-events: auto; }
.gfm-hero-copy-inner { max-width: 540px; }

.gfm-hero-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 14px 6px 12px; margin-bottom: 14px;
    border: 1px solid rgba(233, 194, 122, .5);
    border-radius: var(--gfm-pill);
    background: rgba(31, 19, 11, .35);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    color: var(--gfm-gold-light);
    font-size: 11.5px; font-weight: 600; letter-spacing: .02em; line-height: 1.3;
}
@media (min-width: 768px) { .gfm-hero-pill { font-size: 12px; margin-bottom: 18px; } }
.gfm-hero-pill svg { color: var(--gfm-gold); flex-shrink: 0; }

.gfm-hero-title {
    font-family: var(--gfm-font-head); font-weight: 400; font-synthesis: none;
    font-size: 28px; line-height: 1.24; letter-spacing: 0;
    color: var(--gfm-cream);
    margin: 0 0 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}
@media (min-width: 768px) { .gfm-hero-title { font-size: 36px; margin-bottom: 14px; } }
@media (min-width: 1024px) { .gfm-hero-title { font-size: 44px; } }

.gfm-hero-sub {
    margin: 0; max-width: 470px;
    font-size: 13.5px; line-height: 1.7; font-weight: 500;
    color: rgba(250, 244, 234, .86);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 1024px) { .gfm-hero-sub { font-size: 15px; } }

.gfm-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (min-width: 768px) { .gfm-hero-btns { gap: 12px; margin-top: 26px; } }
.gfm-hero-copy .gfm-hero-btn,
.gfm-hero-copy .gfm-hero-btn:focus {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--gfm-pill);
    background: var(--gfm-gold); color: var(--gfm-brown-2);
    font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap;
    box-shadow: 0 12px 24px -12px rgba(209, 154, 58, .85);
    transition: background .2s ease, transform .2s ease;
}
.gfm-hero-copy .gfm-hero-btn:hover { background: var(--gfm-gold-light); color: var(--gfm-brown-2); transform: translateY(-1px); }
.gfm-hero-copy .gfm-hero-btn svg { transition: transform .2s ease; }
.gfm-hero-copy .gfm-hero-btn:hover svg { transform: translateX(3px); }
.gfm-hero-copy .gfm-hero-btn-ghost,
.gfm-hero-copy .gfm-hero-btn-ghost:focus {
    display: inline-flex; align-items: center;
    padding: 10px 18px; border-radius: var(--gfm-pill);
    border: 1px solid rgba(250, 244, 234, .5);
    background: rgba(250, 244, 234, .06);
    color: var(--gfm-cream);
    font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.gfm-hero-copy .gfm-hero-btn-ghost:hover { background: rgba(250, 244, 234, .14); border-color: var(--gfm-cream); color: #fff; }
.gfm-hero-copy a:focus-visible { outline: 2px solid var(--gfm-gold-light); outline-offset: 3px; }
@media (min-width: 768px) {
    .gfm-hero-copy .gfm-hero-btn,
    .gfm-hero-copy .gfm-hero-btn:focus { padding: 13px 26px; font-size: 14px; }
    .gfm-hero-copy .gfm-hero-btn-ghost,
    .gfm-hero-copy .gfm-hero-btn-ghost:focus { padding: 12px 24px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .gfm-hero-media img { transition: none; }
    .gfm-hero-single:hover .gfm-hero-media img { transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
#gfm-categories { scroll-margin-top: 170px; }

/* Image-only mid promo banner — auto height, no overlay/text, clickable */
.gfm-promo-banner.gfm-promo-clean {
    display: block; height: auto; padding: 0;
    border-radius: var(--gfm-r-3xl); overflow: hidden;
    box-shadow: var(--gfm-shadow); cursor: pointer;
    background: transparent;
}
.gfm-promo-banner.gfm-promo-clean::before { display: none; }
.gfm-promo-banner.gfm-promo-clean img,
.gfm-promo-banner.gfm-promo-clean picture { position: static; width: 100%; height: auto; display: block; object-fit: contain; }

/* Generic primary button (used on the empty-shop state) */
.gfm-btn-primary,
.gfm-btn-primary:focus {
    background: var(--gfm-brown); color: #fff;
    padding: 12px 24px; border-radius: var(--gfm-pill);
    font-size: 13px; font-weight: 800; cursor: pointer; border: 0;
    box-shadow: 0 10px 25px -5px rgba(59, 36, 22, .3);
    transition: all .2s; display: inline-flex; align-items: center; gap: 6px;
    font-family: inherit;
}
.gfm-btn-primary:hover { background: var(--gfm-brown-2); transform: translateY(-1px); color: #fff; }

/* Top Sellers — horizontal cards matching the product card */
.gfm-top-sellers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 768px) { .gfm-top-sellers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.gfm-ts-card {
    position: relative; min-width: 0;
    display: flex; align-items: stretch; gap: 14px;
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(59, 36, 22, .08);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(42, 25, 15, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
@media (min-width: 640px) { .gfm-ts-card { gap: 18px; padding: 12px; } }
.gfm-ts-card .gfm-ts-img {
    position: relative; display: block; overflow: hidden;
    flex: 0 0 112px; width: 112px; height: 112px; align-self: center;
    border-radius: 12px;
    background: linear-gradient(160deg, var(--gfm-gold-tint) 0%, var(--gfm-sand) 100%);
}
@media (min-width: 640px) { .gfm-ts-card .gfm-ts-img { flex-basis: 140px; width: 140px; height: 140px; } }
@media (min-width: 1024px) { .gfm-ts-card .gfm-ts-img { flex-basis: 160px; width: 160px; height: 160px; } }
.gfm-ts-card .gfm-ts-img img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) {
    .gfm-ts-card:hover {
        transform: translateY(-3px);
        border-color: rgba(209, 154, 58, .45);
        box-shadow: 0 18px 34px -22px rgba(59, 36, 22, .5);
    }
    .gfm-ts-card:hover .gfm-ts-img img { transform: scale(1.06); }
}
.gfm-ts-img .badge-save {
    position: absolute; top: 7px; left: 7px; z-index: 2;
    padding: 3px 8px; border-radius: var(--gfm-pill);
    background: var(--gfm-red); color: #fff;
    font-size: 10.5px; font-weight: 700; line-height: 1.25;
    box-shadow: 0 6px 14px -6px rgba(179, 38, 30, .75);
}
.gfm-ts-img .badge-best {
    position: absolute; left: 7px; bottom: 7px; z-index: 2;
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 8px; border-radius: var(--gfm-pill);
    background: rgba(42, 25, 15, .82); color: var(--gfm-gold-light);
    font-size: 10px; font-weight: 700; line-height: 1.3;
}
.gfm-ts-img .badge-best svg { color: var(--gfm-gold); flex-shrink: 0; }
.gfm-ts-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; padding: 2px 0; text-align: left; }
.gfm-ts-body .gfm-cat-tag {
    font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--gfm-caramel);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gfm-ts-card .gfm-ts-body h3 {
    margin: 0;
    font-family: var(--gfm-font); font-size: 15px; font-weight: 600; line-height: 1.45;
    color: var(--gfm-ink-900);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 1024px) { .gfm-ts-card .gfm-ts-body h3 { font-size: 16px; } }
.gfm-ts-card .gfm-ts-body h3 a { color: inherit; }
.gfm-ts-card .gfm-ts-body h3 a:hover,
.gfm-ts-card .gfm-ts-body h3 a:focus-visible { color: var(--gfm-caramel); }
.gfm-ts-rate { display: flex; align-items: center; gap: 5px; font-size: 11px; line-height: 1; color: var(--gfm-ink-500); }
.gfm-ts-rate .gfm-stars { gap: 1px; }
.gfm-ts-rate-n { font-weight: 600; }
.gfm-stars { display: inline-flex; color: var(--gfm-gold); }
.gfm-stars svg.muted { color: var(--gfm-ink-200); }
.gfm-ts-price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: auto; padding-top: 2px; }
.gfm-ts-price .now { font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--gfm-brown-2); }
.gfm-ts-price .was { font-size: 12.5px; font-weight: 500; color: var(--gfm-ink-400); text-decoration: line-through; }
.gfm-ts-save {
    display: inline-flex; padding: 3px 8px; border-radius: var(--gfm-pill);
    background: var(--gfm-palm-soft); color: var(--gfm-palm);
    font-size: 10.5px; font-weight: 700; line-height: 1.3;
}
.gfm-ts-actions { display: flex; gap: 8px; margin-top: 6px; max-width: 280px; }
.gfm-ts-card .gfm-btn-add-cart,
.gfm-ts-card .gfm-btn-add-cart:focus {
    flex: 0 0 38px; width: 38px; height: 38px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 11px;
    background: var(--gfm-sand); color: var(--gfm-brown);
    font-family: inherit; cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.gfm-ts-card .gfm-btn-add-cart:hover { background: var(--gfm-gold); color: var(--gfm-brown-2); }
.gfm-ts-card .gfm-btn-buy-now,
.gfm-ts-card .gfm-btn-buy-now:focus {
    flex: 1 1 auto; min-width: 0; height: 38px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 11px;
    background: var(--gfm-brown); color: var(--gfm-cream);
    font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.gfm-ts-card .gfm-btn-buy-now:hover { background: var(--gfm-caramel-2); color: #fff; box-shadow: 0 10px 20px -12px rgba(59, 36, 22, .8); }
.gfm-ts-card .gfm-btn-add-cart:focus-visible,
.gfm-ts-card .gfm-btn-buy-now:focus-visible { outline: 2px solid var(--gfm-gold); outline-offset: 2px; }

/* Outline button (e.g. "all products" link under a product row) */
.gfm-btn-cart-out,
.gfm-btn-cart-out:focus {
    background: #fff; color: var(--gfm-brown);
    border: 1px solid rgba(59, 36, 22, .22); border-radius: var(--gfm-pill);
    padding: 9px 16px; font-size: 13px; font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    transition: background .2s ease, color .2s ease, border-color .2s ease; cursor: pointer; font-family: inherit;
}
.gfm-btn-cart-out:hover { background: var(--gfm-brown); border-color: var(--gfm-brown); color: var(--gfm-cream); }

/* Category Tiles */
.gfm-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .gfm-cats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .gfm-cats { grid-template-columns: repeat(8, 1fr); } }
.gfm-cat-tile {
    background: #fff; border: 1px solid var(--gfm-ink-200);
    padding: 16px; border-radius: var(--gfm-r-lg);
    text-align: center; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: var(--gfm-shadow-xs); transition: all .25s;
}
.gfm-cat-tile:hover { border-color: var(--gfm-gold); box-shadow: var(--gfm-shadow-sm); color: var(--gfm-ink-800); }
.gfm-cat-tile .gfm-cat-ico {
    width: 56px; height: 56px; border-radius: var(--gfm-pill);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 12px;
    transition: transform .25s;
}
.gfm-cat-tile:hover .gfm-cat-ico { transform: scale(1.1); }
.gfm-cat-tile h4 { font-size: 12px; font-weight: 800; color: var(--gfm-ink-700); line-height: 1.3; margin: 0; }
.gfm-cat-tile:hover h4 { color: var(--gfm-caramel); }
/* Per-category color presets (date-palm palette) */
.gfm-cat-ico.bg-emerald { background: var(--gfm-palm-soft); color: var(--gfm-palm); }
.gfm-cat-ico.bg-amber { background: var(--gfm-gold-soft); color: var(--gfm-caramel-2); }
.gfm-cat-ico.bg-yellow { background: #F8EDCF; color: #8A6417; }
.gfm-cat-ico.bg-orange { background: #F5E0CC; color: var(--gfm-caramel); }
.gfm-cat-ico.bg-tan { background: var(--gfm-sand); color: var(--gfm-brown); }
.gfm-cat-ico.bg-red { background: #F6E1DC; color: #8E3B2C; }
.gfm-cat-ico.bg-stone { background: var(--gfm-ink-100); color: var(--gfm-ink-700); }
.gfm-cat-ico.bg-teal { background: #E4EDE3; color: var(--gfm-palm-2); }
.gfm-cat-tile .gfm-cat-ico svg { width: 46%; height: 46%; }
/* Category thumbnail (set in Products → Categories) replaces the icon */
.gfm-cat-tile .gfm-cat-ico.has-img {
    padding: 0; overflow: hidden;
    background: var(--gfm-sand);
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(209, 154, 58, .35);
}
.gfm-cat-ico.has-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Brands Strip */
.gfm-brands {
    background: #fff;
    padding: 24px 16px;
    border: 1px solid rgba(231, 218, 198, .6);
    border-radius: var(--gfm-r-3xl);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around;
    gap: 24px; opacity: .7;
    transition: opacity .25s, filter .25s;
    filter: grayscale(100%);
}
.gfm-brands:hover { opacity: 1; filter: grayscale(0%); }
.gfm-brands .gfm-brands-label {
    font-size: 11px; color: var(--gfm-ink-400);
    text-transform: uppercase; letter-spacing: .18em; font-weight: 800;
}
.gfm-brands .gfm-brand { font-size: 13px; font-weight: 800; color: var(--gfm-ink-700); letter-spacing: .08em; display: inline-flex; align-items: center; gap: 6px; }
.gfm-brands .gfm-brand svg { color: var(--gfm-gold); flex-shrink: 0; }

/* Video Showcase */
.gfm-video-showcase {
    background: var(--gfm-brown-2); border-radius: var(--gfm-r-3xl);
    overflow: hidden;
    display: flex; flex-direction: column;
    border: 1px solid var(--gfm-ink-800);
    box-shadow: var(--gfm-shadow-lg);
    position: relative;
}
@media (min-width: 768px) { .gfm-video-showcase { flex-direction: row; } }
.gfm-video-showcase::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(209, 154, 58, .2), rgba(26, 17, 10, .8)); pointer-events: none; z-index: 1; }
.gfm-vs-media {
    position: relative; min-height: 240px; background: var(--gfm-ink-800);
    display: flex; align-items: center; justify-content: center;
}
@media (min-width: 768px) { .gfm-vs-media { width: 50%; min-height: 320px; } }
.gfm-vs-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.gfm-vs-play {
    position: relative; z-index: 2;
    background: rgba(209, 154, 58, .9); color: #fff;
    width: 80px; height: 80px; border-radius: var(--gfm-pill);
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; cursor: pointer;
    box-shadow: 0 0 0 8px rgba(255,255,255,.1), 0 25px 50px rgba(0,0,0,.3);
    animation: gfm-pulse 2.5s ease-in-out infinite;
    transition: all .25s;
}
.gfm-vs-play:hover { background: var(--gfm-gold); transform: scale(1.08); color: var(--gfm-brown); }
.gfm-vs-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 16px; z-index: 2; color: #fff; text-align: left; position: relative; }
@media (min-width: 768px) { .gfm-vs-body { width: 50%; padding: 48px; } }
.gfm-vs-body .eyebrow { font-size: 12px; font-weight: 700; color: var(--gfm-gold-light); letter-spacing: .08em; }
.gfm-vs-body h2 { font-size: 24px; font-weight: 800; line-height: 1.2; margin: 0; color: #fff; }
@media (min-width: 640px) { .gfm-vs-body h2 { font-size: 28px; } }
.gfm-vs-body p { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.7; font-weight: 500; margin: 0; }
.gfm-vs-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 640px) { .gfm-vs-cta { flex-direction: row; align-items: center; } }
.gfm-vs-btn,
.gfm-vs-btn:focus { background: var(--gfm-gold); color: var(--gfm-brown); font-weight: 800; font-size: 12px; padding: 12px 22px; border-radius: var(--gfm-pill); border: 0; box-shadow: var(--gfm-shadow-md); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; font-family: inherit; text-decoration: none; }
.gfm-vs-cta .gfm-vs-btn:hover { background: var(--gfm-gold-2); color: var(--gfm-brown); }
.gfm-vs-meta { color: rgba(255,255,255,.6); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* =====================================================
   PRODUCT CARDS — used in shop & category rows
   Inset image well on a warm sand tone, Bengali badges,
   square cart icon + brown order button.
   ===================================================== */
.gfm-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .gfm-grid { gap: 18px; } }
.gfm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gfm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gfm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gfm-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
    .gfm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .gfm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gfm-grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .gfm-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.gfm-card {
    position: relative; min-width: 0;
    display: flex; flex-direction: column; height: 100%;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(59, 36, 22, .08);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(42, 25, 15, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gfm-card .gfm-card-img {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: linear-gradient(160deg, var(--gfm-gold-tint) 0%, var(--gfm-sand) 100%);
}
.gfm-card .gfm-card-img img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) {
    .gfm-card:hover {
        transform: translateY(-3px);
        border-color: rgba(209, 154, 58, .45);
        box-shadow: 0 18px 34px -22px rgba(59, 36, 22, .5);
    }
    .gfm-card:hover .gfm-card-img img { transform: scale(1.06); }
}

/* Badges on the image */
.gfm-card-img .gfm-badge-sale,
.gfm-card-img .gfm-badge-preorder {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    padding: 4px 10px; border-radius: var(--gfm-pill);
    color: #fff; font-size: 11px; font-weight: 700; line-height: 1.25;
}
.gfm-card-img .gfm-badge-sale { background: var(--gfm-red); box-shadow: 0 6px 14px -6px rgba(179, 38, 30, .75); }
.gfm-card-img .gfm-badge-preorder { background: var(--gfm-palm); box-shadow: 0 6px 14px -6px rgba(63, 107, 74, .75); }
.gfm-card-img .gfm-badge-weight {
    position: absolute; right: 8px; bottom: 8px; z-index: 2;
    max-width: calc(100% - 16px);
    padding: 3px 9px; border-radius: var(--gfm-pill);
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    color: var(--gfm-brown); font-size: 10.5px; font-weight: 700; line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Text */
.gfm-card-body { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 12px 6px 4px; }
.gfm-card-cat {
    font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--gfm-caramel);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gfm-card .gfm-card-title {
    margin: 0; min-height: 2.9em;
    font-family: var(--gfm-font); font-size: 14.5px; font-weight: 600; line-height: 1.45;
    color: var(--gfm-ink-900);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gfm-card .gfm-card-title a { color: inherit; }
.gfm-card .gfm-card-title a:hover,
.gfm-card .gfm-card-title a:focus-visible { color: var(--gfm-caramel); }
.gfm-card-rate { display: flex; align-items: center; gap: 5px; font-size: 11px; line-height: 1; color: var(--gfm-ink-500); }
.gfm-card-rate .gfm-stars { gap: 1px; }
.gfm-card-rate-n { font-weight: 600; }
.gfm-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; padding-top: 4px; }
.gfm-card-price .now { font-size: 17px; font-weight: 700; line-height: 1.2; color: var(--gfm-brown-2); }
.gfm-card-price .was { font-size: 12px; font-weight: 500; color: var(--gfm-ink-400); text-decoration: line-through; }

/* Actions — square cart icon + order button */
.gfm-card-actions { display: flex; gap: 8px; margin-top: 10px; }
.gfm-card .gfm-btn-add-cart,
.gfm-card .gfm-btn-add-cart:focus {
    flex: 0 0 40px; width: 40px; height: 40px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 12px;
    background: var(--gfm-sand); color: var(--gfm-brown);
    font-family: inherit; cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.gfm-card .gfm-btn-add-cart:hover { background: var(--gfm-gold); color: var(--gfm-brown-2); }
.gfm-card .gfm-btn-buy-now,
.gfm-card .gfm-btn-buy-now:focus {
    flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 12px;
    background: var(--gfm-brown); color: var(--gfm-cream);
    font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.gfm-card .gfm-btn-buy-now:hover { background: var(--gfm-caramel-2); color: #fff; box-shadow: 0 10px 20px -12px rgba(59, 36, 22, .8); }
.gfm-card .gfm-btn-add-cart:focus-visible,
.gfm-card .gfm-btn-buy-now:focus-visible { outline: 2px solid var(--gfm-gold); outline-offset: 2px; }

/* Add-to-cart loading: spinner instead of the JS "adding" text */
.gfm-card .gfm-loading,
.gfm-ts-card .gfm-loading { opacity: 1; }
.gfm-card .gfm-loading > span,
.gfm-ts-card .gfm-loading > span {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.gfm-card .gfm-loading::after,
.gfm-ts-card .gfm-loading::after {
    content: ""; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid currentColor; border-right-color: transparent;
    animation: gfm-spin .7s linear infinite;
}
@keyframes gfm-spin { to { transform: rotate(360deg); } }

@media (max-width: 767px) {
    .gfm-card { padding: 6px; border-radius: 16px; }
    .gfm-card .gfm-card-img { border-radius: 11px; }
    .gfm-card-img .gfm-badge-sale,
    .gfm-card-img .gfm-badge-preorder { top: 6px; left: 6px; padding: 3px 8px; font-size: 10.5px; }
    .gfm-card-img .gfm-badge-weight { right: 6px; bottom: 6px; font-size: 10px; }
    .gfm-card-body { gap: 4px; padding: 10px 4px 2px; }
    .gfm-card-cat { font-size: 10.5px; }
    .gfm-card .gfm-card-title { font-size: 13.5px; }
    .gfm-card-price .now { font-size: 15.5px; }
    .gfm-card-price .was { font-size: 11.5px; }
    .gfm-card-actions { gap: 6px; margin-top: 8px; }
    .gfm-card .gfm-btn-add-cart,
    .gfm-card .gfm-btn-add-cart:focus { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
    .gfm-card .gfm-btn-buy-now,
    .gfm-card .gfm-btn-buy-now:focus { height: 36px; padding: 0 8px; border-radius: 10px; font-size: 12.5px; }
}
@media (max-width: 380px) {
    .gfm-card .gfm-card-title { font-size: 13px; }
    .gfm-card .gfm-btn-add-cart,
    .gfm-card .gfm-btn-add-cart:focus { flex-basis: 34px; width: 34px; height: 34px; }
    .gfm-card .gfm-btn-buy-now,
    .gfm-card .gfm-btn-buy-now:focus { height: 34px; padding: 0 6px; font-size: 12px; }
}

/* Trust band */
.gfm-trust-band {
    background: #fff; padding: 24px;
    border-radius: var(--gfm-r-2xl); border: 1px solid var(--gfm-ink-200);
    box-shadow: var(--gfm-shadow-xs);
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    text-align: center;
}
@media (min-width: 768px) { .gfm-trust-band { grid-template-columns: repeat(4, 1fr); } }
.gfm-trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; transition: transform .25s; }
.gfm-trust-item:hover { transform: scale(1.03); }
.gfm-trust-ico {
    width: 56px; height: 56px; border-radius: var(--gfm-pill);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gfm-sand); color: var(--gfm-brown);
    border: 1px solid rgba(59, 36, 22, .12);
}
.gfm-trust-ico.orange { background: var(--gfm-gold-tint); color: var(--gfm-caramel); border-color: rgba(209, 154, 58, .15); }
.gfm-trust-item h4 { font-size: 14px; font-weight: 800; color: var(--gfm-ink-800); margin: 0; }
.gfm-trust-item p { font-size: 11px; color: var(--gfm-ink-500); font-weight: 600; margin: 0; }

/* Testimonials */
.gfm-tests-head { text-align: center; max-width: 600px; margin: 0 auto 24px; }
.gfm-tests-head h2 { font-size: 22px; font-weight: 800; color: var(--gfm-ink-800); margin: 0; }
@media (min-width: 640px) { .gfm-tests-head h2 { font-size: 24px; } }
.gfm-tests-head p { font-size: 12px; color: var(--gfm-ink-500); margin: 4px 0 8px; }
.gfm-tests-head .gfm-tests-dash { width: 48px; height: 2px; background: var(--gfm-brown); margin: 8px auto 0; border-radius: var(--gfm-pill); }
.gfm-tests { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .gfm-tests { grid-template-columns: repeat(3, 1fr); } }
.gfm-test-card {
    background: #fff; border: 1px solid var(--gfm-ink-200);
    padding: 24px; border-radius: var(--gfm-r-2xl);
    display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
    transition: box-shadow .25s; text-align: left;
}
.gfm-test-card:hover { box-shadow: var(--gfm-shadow); }
.gfm-test-card p { font-size: 13px; color: var(--gfm-ink-600); line-height: 1.7; font-style: italic; font-weight: 500; margin: 0; }
.gfm-test-card .gfm-test-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--gfm-ink-100); padding-top: 14px; }
.gfm-test-card .gfm-test-foot h4 { font-size: 13px; font-weight: 800; color: var(--gfm-ink-800); margin: 0; }
.gfm-test-card .gfm-test-foot .role { font-size: 10px; color: var(--gfm-ink-400); font-weight: 600; }
.gfm-test-card .gfm-test-city { background: var(--gfm-ink-50); font-size: 10px; color: var(--gfm-ink-500); font-weight: 700; padding: 4px 8px; border-radius: 6px; }

/* FAQs */
.gfm-faqs-wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.gfm-faqs-head { text-align: center; margin-bottom: 24px; }
.gfm-faqs-head h2 { font-size: 22px; font-weight: 800; color: var(--gfm-ink-800); margin: 0; }
@media (min-width: 640px) { .gfm-faqs-head h2 { font-size: 24px; } }
.gfm-faqs-head p { font-size: 12px; color: var(--gfm-ink-500); margin: 4px 0 0; }
.gfm-faq {
    background: #fff; border: 1px solid var(--gfm-ink-200);
    border-radius: var(--gfm-r); overflow: hidden;
    margin-bottom: 10px;
    transition: all .3s;
}
.gfm-faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 16px; background: none; border: 0; cursor: pointer;
    font-family: inherit; font-size: 13px; font-weight: 700; color: var(--gfm-ink-800);
    text-align: left; transition: color .2s;
}
.gfm-faq-q:hover { color: var(--gfm-brown); }
.gfm-faq-q .gfm-chev { transition: transform .25s; }
.gfm-faq.is-open .gfm-faq-q .gfm-chev { transform: rotate(180deg); }
.gfm-faq-a { display: none; padding: 4px 16px 16px; font-size: 12px; color: var(--gfm-ink-600); line-height: 1.7; border-top: 1px solid var(--gfm-ink-100); font-weight: 500; }
.gfm-faq.is-open .gfm-faq-a { display: block; }

/* Mid Promo Banner */
.gfm-promo-banner {
    position: relative; height: 180px; background: var(--gfm-ink-900);
    border-radius: var(--gfm-r-3xl); overflow: hidden; box-shadow: var(--gfm-shadow);
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px;
}
@media (min-width: 640px) { .gfm-promo-banner { height: 220px; padding: 48px; } }
.gfm-promo-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0, 0, 0, .85), rgba(0, 0, 0, .5), transparent); z-index: 1; }
.gfm-promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gfm-promo-banner > * { position: relative; z-index: 2; }
.gfm-promo-text { color: #fff; max-width: 480px; }
.gfm-promo-text .eyebrow { display: inline-block; color: var(--gfm-gold-light); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; background: rgba(209, 154, 58, .15); padding: 2px 10px; border-radius: var(--gfm-pill); margin-bottom: 6px; }
.gfm-promo-text h2 { font-size: 22px; font-weight: 800; line-height: 1.2; margin: 0 0 6px; color: #fff; }
@media (min-width: 640px) { .gfm-promo-text h2 { font-size: 30px; } }
.gfm-promo-text p { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 600; margin: 0; }
.gfm-promo-cta { display: none; }
@media (min-width: 640px) { .gfm-promo-cta { display: block; } }
.gfm-promo-cta .gfm-btn-promo { background: var(--gfm-gold); color: var(--gfm-brown); font-weight: 800; padding: 12px 32px; border-radius: var(--gfm-pill); font-size: 13px; box-shadow: var(--gfm-shadow-lg); transition: transform .2s; display: inline-block; }
.gfm-promo-cta .gfm-btn-promo:hover { transform: scale(1.05); color: var(--gfm-brown); }

/* Combo wrap section */
.gfm-combo-wrap {
    background: var(--gfm-gold-tint);
    padding: 24px;
    border-radius: var(--gfm-r-3xl);
    border: 1px solid rgba(233, 194, 122, .6);
}

/* =====================================================
   SHOP / ARCHIVE
   ===================================================== */
.gfm-shop {
    max-width: var(--gfm-container); margin: 0 auto; padding: 32px 16px;
}
.gfm-shop > * + * { margin-top: 32px; }
.gfm-shop-hero {
    background: var(--gfm-sand);
    border: 1px solid rgba(59, 36, 22, .1);
    border-radius: var(--gfm-r-2xl);
    padding: 24px;
    display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}
@media (min-width: 640px) { .gfm-shop-hero { padding: 40px; } }
@media (min-width: 768px) { .gfm-shop-hero { flex-direction: row; justify-content: space-between; align-items: center; } }
.gfm-shop-hero .crumbs { font-size: 11px; font-weight: 700; color: var(--gfm-brown); text-transform: uppercase; letter-spacing: .15em; }
.gfm-shop-hero h1 { font-size: 22px; font-weight: 800; color: var(--gfm-ink-800); margin: 4px 0; line-height: 1.25; }
@media (min-width: 640px) { .gfm-shop-hero h1 { font-size: 30px; } }
.gfm-shop-hero p { font-size: 12px; color: var(--gfm-ink-500); margin: 0; font-weight: 500; }

/* Content pages (about, contact, policies): the shop banner + one prose card */
.gfm-page-body {
    background: #fff;
    border: 1px solid var(--gfm-ink-200);
    border-radius: var(--gfm-r-3xl);
    box-shadow: var(--gfm-shadow-xs);
    padding: 24px;
    color: var(--gfm-ink-600); font-size: 15px; line-height: 1.8;
}
@media (min-width: 768px) { .gfm-page-body { padding: 40px; } }
.gfm-page-body > :first-child { margin-top: 0; }
.gfm-page-body > :last-child { margin-bottom: 0; }
.gfm-page-body h2 { font-size: 22px; font-weight: 800; color: var(--gfm-ink-800); margin: 0 0 12px; line-height: 1.35; }
.gfm-page-body h3 { font-size: 17px; font-weight: 800; color: var(--gfm-ink-800); margin: 28px 0 10px; line-height: 1.4; }
.gfm-page-body p { margin: 0 0 14px; }
.gfm-page-body ul { margin: 0 0 14px; padding-left: 20px; }
.gfm-page-body li { margin: 6px 0; }
.gfm-page-body li::marker { color: var(--gfm-gold); }
.gfm-page-body a { color: var(--gfm-brown); font-weight: 700; }

.gfm-shop-layout { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: flex-start; }
@media (min-width: 1024px) { .gfm-shop-layout { grid-template-columns: 280px 1fr; } }

.gfm-shop-sidebar {
    background: #fff;
    border: 1px solid var(--gfm-ink-150);
    border-radius: var(--gfm-r-2xl);
    padding: 24px;
    display: none;
}
@media (min-width: 1024px) { .gfm-shop-sidebar { display: block; } }
.gfm-shop-sidebar h3 { font-size: 15px; font-weight: 800; color: var(--gfm-ink-800); margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--gfm-ink-100); display: flex; align-items: center; gap: 6px; }
.gfm-shop-sidebar h4 { font-size: 11px; font-weight: 800; color: var(--gfm-ink-400); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 8px; padding-left: 4px; }
.gfm-sidebar-section + .gfm-sidebar-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--gfm-ink-150); }
.gfm-shop-sidebar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.gfm-shop-sidebar ul li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 12px; border-radius: var(--gfm-r);
    font-size: 12px; font-weight: 700; color: var(--gfm-ink-600);
    transition: all .2s;
}
.gfm-shop-sidebar ul li a:hover { background: var(--gfm-ink-50); color: var(--gfm-brown); }
.gfm-shop-sidebar ul li.is-active a { background: var(--gfm-brown); color: #fff; }
.gfm-shop-sidebar ul li .count {
    background: var(--gfm-ink-100); color: var(--gfm-ink-500);
    font-size: 10px; padding: 2px 8px; border-radius: var(--gfm-pill);
}
.gfm-shop-sidebar ul li.is-active .count { background: rgba(255,255,255,.2); color: #fff; }

.gfm-shop-toolbar {
    background: #fff; padding: 14px; border-radius: var(--gfm-r);
    border: 1px solid var(--gfm-ink-150);
    display: flex; gap: 14px; flex-direction: column;
}
@media (min-width: 1024px) { .gfm-shop-toolbar { display: none; } }
.gfm-shop-toolbar select {
    width: 100%; background: var(--gfm-ink-50);
    border: 1px solid var(--gfm-ink-200);
    border-radius: var(--gfm-r-sm); padding: 8px 12px;
    font-size: 12px; font-weight: 700; font-family: inherit;
}

.gfm-shop-content > .gfm-shop-toolbar { margin-bottom: 16px; }
.gfm-shop-results { font-size: 12px; color: var(--gfm-ink-500); font-weight: 600; margin-bottom: 12px; }

/* count on the left, sort on the right, the grid below at full width */
.gfm-shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.gfm-shop-bar .gfm-shop-results { margin: 0; }
.gfm-shop .gfm-shop-bar .woocommerce-ordering { float: none; margin: 0; }
.gfm-shop .gfm-shop-bar .woocommerce-ordering select {
    height: 40px; margin: 0; padding: 0 36px 0 14px;
    border: 1px solid var(--gfm-ink-200); border-radius: var(--gfm-r-sm);
    background-color: #fff; box-shadow: none;
    font-family: inherit; font-size: 13px; font-weight: 600; color: var(--gfm-ink-700);
    cursor: pointer;
}
.gfm-shop .gfm-shop-bar .woocommerce-ordering select:focus { border-color: var(--gfm-gold); outline: none; }
/* below 1024px the toolbar above already has a sort select */
@media (max-width: 1023px) { .gfm-shop .gfm-shop-bar .woocommerce-ordering { display: none; } }

/* three columns beside the sidebar: four made the cards too narrow to read */
.gfm-shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .gfm-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* pagination: Astra paints it in its default blue */
.gfm-shop nav.woocommerce-pagination { margin: 32px 0 0; text-align: center; }
.gfm-shop nav.woocommerce-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; border: 0; }
.gfm-shop nav.woocommerce-pagination ul.page-numbers li { margin: 0; border: 0; overflow: visible; }
.gfm-shop nav.woocommerce-pagination ul.page-numbers li .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid var(--gfm-ink-200); border-radius: var(--gfm-r-sm);
    background: #fff; color: var(--gfm-ink-700);
    font-size: 14px; font-weight: 700; line-height: 1;
}
.gfm-shop nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
.gfm-shop nav.woocommerce-pagination ul.page-numbers li a.page-numbers:focus { background: var(--gfm-gold-tint); border-color: var(--gfm-gold); color: var(--gfm-brown); }
.gfm-shop nav.woocommerce-pagination ul.page-numbers li span.current { background: var(--gfm-brown); border-color: var(--gfm-brown); color: #fff; }

/* =====================================================
   SINGLE PRODUCT
   ===================================================== */
.gfm-pdp { max-width: var(--gfm-container); margin: 0 auto; padding: 32px 16px; }
.gfm-pdp > * + * { margin-top: 32px; }
.gfm-pdp .gfm-crumbs { font-size: 11px; font-weight: 700; color: var(--gfm-ink-400); display: inline-flex; align-items: center; gap: 4px; text-transform: uppercase; letter-spacing: .15em; }
.gfm-pdp .gfm-crumbs .active { color: var(--gfm-brown); }
.gfm-pdp .gfm-crumbs .title { color: var(--gfm-ink-600); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

.gfm-pdp-top { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: flex-start; }
@media (min-width: 1024px) { .gfm-pdp-top { grid-template-columns: 7fr 5fr; } }

.gfm-pdp-gallery { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 768px) { .gfm-pdp-gallery { flex-direction: row; } }
.gfm-pdp-thumbs {
    order: 2; display: flex; flex-direction: row; gap: 10px; overflow-x: auto;
    flex-shrink: 0; max-height: none; padding-bottom: 4px;
}
@media (min-width: 768px) { .gfm-pdp-thumbs { order: 1; flex-direction: column; max-height: 460px; overflow-y: auto; padding-bottom: 0; } }
.gfm-pdp-thumb {
    width: 64px; height: 64px; border-radius: var(--gfm-r);
    overflow: hidden; border: 2px solid var(--gfm-ink-200);
    background: #fff; flex-shrink: 0; cursor: pointer; padding: 0;
    transition: all .2s;
}
@media (min-width: 640px) { .gfm-pdp-thumb { width: 76px; height: 76px; } }
.gfm-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gfm-pdp-thumb.is-active { border-color: var(--gfm-gold); box-shadow: 0 0 0 4px rgba(246, 231, 200, 1); }

.gfm-pdp-main {
    order: 1; flex: 1; background: #fff; padding: 12px;
    border-radius: var(--gfm-r-2xl); border: 1px solid var(--gfm-ink-200);
    overflow: hidden;
}
@media (min-width: 768px) { .gfm-pdp-main { order: 2; } }
.gfm-pdp-main .gfm-pdp-img-wrap { aspect-ratio: 1 / 1; width: 100%; border-radius: var(--gfm-r); overflow: hidden; position: relative; }
.gfm-pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.gfm-pdp-main img:hover { transform: scale(1.02); }
.gfm-pdp-main .gfm-pdp-save {
    position: absolute; top: 12px; left: 12px;
    background: var(--gfm-red); color: #fff;
    font-size: 11px; font-weight: 800;
    padding: 4px 14px; border-radius: 8px;
}

.gfm-pdp-meta { display: flex; flex-direction: column; gap: 20px; text-align: left; }
.gfm-pdp-cat { font-size: 11px; font-weight: 800; color: var(--gfm-ink-400); text-transform: uppercase; letter-spacing: .12em; }
.gfm-pdp-title { font-size: 22px; font-weight: 800; color: var(--gfm-ink-800); margin: 4px 0 0; line-height: 1.2; }
@media (min-width: 640px) { .gfm-pdp-title { font-size: 26px; } }
@media (min-width: 768px) { .gfm-pdp-title { font-size: 32px; } }
.gfm-pdp-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gfm-ink-500); font-weight: 800; }
.gfm-pdp-price-wrap {
    border-top: 1px solid var(--gfm-ink-100); border-bottom: 1px solid var(--gfm-ink-100);
    padding: 14px 0; display: flex; flex-direction: column; gap: 4px;
}
.gfm-pdp-price-row { display: flex; align-items: baseline; gap: 12px; }
.gfm-pdp-price-now { font-size: 30px; font-weight: 800; color: var(--gfm-caramel); }
.gfm-pdp-price-was { font-size: 16px; color: var(--gfm-ink-400); text-decoration: line-through; font-weight: 600; }
.gfm-pdp-save-pill { background: var(--gfm-palm); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: var(--gfm-pill); }
.gfm-pdp-stock { font-size: 11px; font-weight: 800; color: var(--gfm-palm); padding-left: 2px; }

/* Live total line */
.gfm-pdp-total {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    background: var(--gfm-sand);
    border: 1px solid rgba(59, 36, 22, .12);
    border-radius: var(--gfm-r);
    padding: 12px 16px;
}
.gfm-pdp-total .lbl { font-size: 13px; font-weight: 800; color: var(--gfm-brown); }
.gfm-pdp-total .val { font-size: 20px; font-weight: 900; color: var(--gfm-caramel); font-family: ui-sans-serif, system-ui, sans-serif; }

.gfm-pdp-variants .gfm-pdp-vlabel { font-size: 11px; font-weight: 800; color: var(--gfm-ink-400); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 10px; }
.gfm-pdp-vlist { display: flex; flex-wrap: wrap; gap: 8px; }
.gfm-pdp-vbtn {
    padding: 8px 14px; border-radius: var(--gfm-r);
    border: 1px solid var(--gfm-ink-200);
    background: #fff; color: var(--gfm-ink-600);
    font-weight: 700; font-size: 12px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px; font-family: inherit;
    transition: all .2s;
}
.gfm-pdp-vbtn:hover { border-color: var(--gfm-ink-300); }
.gfm-pdp-vbtn.is-active { border-color: var(--gfm-gold); background: rgba(246, 231, 200, .5); color: var(--gfm-caramel); font-weight: 800; box-shadow: var(--gfm-shadow-xs); }
.gfm-pdp-vbtn .divider { color: var(--gfm-ink-300); }

.gfm-pdp-qty { display: flex; align-items: center; gap: 14px; }
.gfm-pdp-qty-label { font-size: 12px; font-weight: 800; color: var(--gfm-ink-500); }
.gfm-qty-stepper {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; border: 1px solid var(--gfm-ink-200);
    border-radius: var(--gfm-r); padding: 2px; width: 128px;
    box-shadow: var(--gfm-shadow-xs);
}
.gfm-qty-stepper button {
    padding: 6px 10px; background: none; border: 0;
    color: var(--gfm-ink-700); cursor: pointer; font-family: inherit;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px; transition: all .15s;
}
.gfm-qty-stepper button:hover { color: var(--gfm-caramel); background: var(--gfm-ink-50); }
.gfm-qty-stepper .qty-val { font-size: 14px; font-weight: 800; color: var(--gfm-ink-800); }

.gfm-pdp-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.gfm-pdp-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gfm-btn-add {
    background: var(--gfm-gold); color: var(--gfm-brown);
    padding: 13px 24px; border-radius: var(--gfm-r);
    font-size: 13px; font-weight: 800;
    box-shadow: 0 4px 6px -1px rgba(209, 154, 58, .1);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; cursor: pointer; transition: all .2s; font-family: inherit;
}
.gfm-btn-add:hover { background: var(--gfm-gold-2); color: var(--gfm-brown); }
.gfm-btn-buy {
    background: var(--gfm-brown); color: #fff;
    padding: 13px 24px; border-radius: var(--gfm-r);
    font-size: 13px; font-weight: 800; text-transform: uppercase;
    box-shadow: var(--gfm-shadow); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; cursor: pointer; transition: all .2s; font-family: inherit;
}
.gfm-btn-buy:hover { background: var(--gfm-brown-2); color: #fff; }
.gfm-btn-wa {
    background: var(--gfm-palm); color: #fff;
    padding: 11px 16px; border-radius: var(--gfm-r);
    font-size: 12px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 0; transition: all .2s; font-family: inherit;
}
.gfm-btn-wa:hover { background: var(--gfm-palm-2); color: #fff; }
.gfm-btn-call {
    background: var(--gfm-ink-800); color: #fff;
    padding: 11px 16px; border-radius: var(--gfm-r);
    font-size: 12px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 0; transition: all .2s; font-family: inherit;
}
.gfm-btn-call:hover { background: var(--gfm-ink-900); color: #fff; }

.gfm-pdp-brand {
    border-top: 1px solid rgba(244, 236, 224, .8);
    padding-top: 14px; font-size: 12px; font-weight: 600; color: var(--gfm-ink-500);
    display: inline-flex; align-items: center; gap: 6px;
}
.gfm-pdp-brand .brand { color: var(--gfm-caramel); font-weight: 800; }

/* PDP Tabs */
.gfm-pdp-tabs { background: #fff; border: 1px solid var(--gfm-ink-200); border-radius: var(--gfm-r-3xl); overflow: hidden; box-shadow: var(--gfm-shadow-xs); }
.gfm-pdp-tabs-heads { background: var(--gfm-ink-50); border-bottom: 1px solid var(--gfm-ink-200); display: flex; overflow-x: auto; }
.gfm-pdp-tab-head {
    padding: 16px 22px; background: none; border: 0; cursor: pointer;
    font-family: inherit; font-size: 13px; font-weight: 800;
    color: var(--gfm-ink-500); white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.gfm-pdp-tab-head.is-active { background: #fff; color: var(--gfm-brown); border-bottom-color: var(--gfm-brown); }
.gfm-pdp-tabs-body { padding: 24px; font-size: 13px; color: var(--gfm-ink-600); line-height: 1.7; font-weight: 500; }
@media (min-width: 768px) { .gfm-pdp-tabs-body { padding: 32px; } }
.gfm-pdp-tab-pane { display: none; }
.gfm-pdp-tab-pane.is-active { display: block; }
.gfm-pdp-tab-pane h3 { font-size: 16px; font-weight: 800; color: var(--gfm-ink-800); margin: 0 0 12px; display: flex; align-items: center; gap: 6px; }
.gfm-pdp-howto { background: rgba(241, 228, 207, .6); padding: 16px; border-radius: var(--gfm-r); border: 1px solid rgba(59, 36, 22, .12); margin-top: 16px; }
.gfm-pdp-howto h4 { font-size: 12px; font-weight: 800; color: var(--gfm-brown); margin: 0 0 4px; }
.gfm-pdp-benefits { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
@media (min-width: 768px) { .gfm-pdp-benefits { grid-template-columns: 1fr 1fr; } }
.gfm-pdp-benefit { display: flex; gap: 10px; align-items: flex-start; background: var(--gfm-bg); padding: 12px; border-radius: var(--gfm-r); border: 1px solid var(--gfm-ink-150); }
.gfm-pdp-benefit .check { background: var(--gfm-sand); color: var(--gfm-brown); border-radius: var(--gfm-pill); padding: 2px; flex-shrink: 0; margin-top: 2px; }
.gfm-pdp-benefit span.text { color: var(--gfm-ink-700); font-weight: 700; line-height: 1.6; }
.gfm-pdp-reviews-head {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--gfm-ink-50); padding: 16px;
    border-radius: var(--gfm-r); border-bottom: 1px solid var(--gfm-ink-200);
    margin-bottom: 16px;
}
.gfm-pdp-reviews-head h3 { font-size: 32px; font-weight: 800; color: var(--gfm-ink-800); margin: 0; }
.gfm-pdp-reviews-head .right { text-align: right; }
.gfm-pdp-reviews-head .right h4 { font-size: 13px; font-weight: 800; color: var(--gfm-brown); margin: 0; }
.gfm-pdp-reviews-head .right p { font-size: 11px; color: var(--gfm-ink-400); margin: 0; font-weight: 600; }

.gfm-trust-single {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    margin-top: 16px;
}
@media (min-width: 768px) { .gfm-trust-single { grid-template-columns: repeat(4, 1fr); } }
.gfm-trust-single > div {
    background: var(--gfm-ink-50); border-radius: var(--gfm-r);
    padding: 12px; text-align: center; border: 1px solid var(--gfm-ink-100);
    display: flex; flex-direction: column; gap: 2px;
}
.gfm-trust-single strong { font-size: 12px; font-weight: 800; color: var(--gfm-ink-800); }
.gfm-trust-single small { font-size: 10px; color: var(--gfm-ink-500); font-weight: 600; }

/* PDP Fast Order Form */
.gfm-fast-order {
    max-width: 640px; margin: 0 auto;
    background: #fff; border: 2px solid var(--gfm-brown);
    border-radius: var(--gfm-r-3xl); overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(59, 36, 22, .15);
}
.gfm-fast-order-head { background: var(--gfm-brown); color: #fff; text-align: center; padding: 16px 24px; }
.gfm-fast-order-head h2 { font-size: 16px; font-weight: 800; margin: 0; color: #fff; }
@media (min-width: 640px) { .gfm-fast-order-head h2 { font-size: 18px; } }
.gfm-fast-order-head p { font-size: 12px; color: rgba(255,255,255,.85); margin: 4px 0 0; font-weight: 600; }
.gfm-fast-order-body { padding: 24px; }
@media (min-width: 640px) { .gfm-fast-order-body { padding: 32px; } }
.gfm-fast-order-body .field { margin-bottom: 18px; }
.gfm-fast-order-body label { font-size: 12px; font-weight: 800; color: var(--gfm-ink-700); display: block; margin-bottom: 4px; }
.gfm-fast-order-body input, .gfm-fast-order-body textarea, .gfm-fast-order-body select {
    width: 100%; background: var(--gfm-ink-50);
    border: 1px solid var(--gfm-ink-200); border-radius: var(--gfm-r);
    padding: 10px 14px; font-size: 13px; color: var(--gfm-ink-800);
    font-weight: 600; font-family: inherit; outline: none;
    transition: all .2s;
}
.gfm-fast-order-body input:focus, .gfm-fast-order-body textarea:focus, .gfm-fast-order-body select:focus { background: #fff; border-color: var(--gfm-brown); }
.gfm-fast-order-body textarea { resize: vertical; min-height: 90px; }

.gfm-fast-area-grid, .gfm-fast-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gfm-fast-area-btn, .gfm-fast-pay-btn {
    background: #fff; border: 1px solid var(--gfm-ink-200);
    border-radius: var(--gfm-r); padding: 14px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; cursor: pointer; transition: all .2s;
    font-family: inherit; color: var(--gfm-ink-600); font-weight: 700; font-size: 11px;
}
.gfm-fast-area-btn:hover, .gfm-fast-pay-btn:hover { background: var(--gfm-ink-50); }
.gfm-fast-area-btn.is-active, .gfm-fast-pay-btn.is-active { border-color: var(--gfm-brown); background: var(--gfm-sand); color: var(--gfm-brown); font-weight: 800; }

.gfm-fast-pay-btn { flex-direction: row; padding: 12px; }
.gfm-fast-pay-btn .gfm-radio {
    width: 16px; height: 16px; border-radius: var(--gfm-pill);
    border: 1px solid var(--gfm-ink-300); display: inline-flex; align-items: center; justify-content: center;
}
.gfm-fast-pay-btn.is-active .gfm-radio::before { content: ''; width: 10px; height: 10px; border-radius: var(--gfm-pill); background: var(--gfm-brown); }
.gfm-fast-pay-btn.bkash-color { color: var(--gfm-pink); font-weight: 800; }

.gfm-fast-order-invoice {
    background: var(--gfm-ink-50); border: 1px solid var(--gfm-ink-200);
    border-radius: var(--gfm-r-lg); padding: 16px;
    font-size: 12px; color: var(--gfm-ink-700);
    margin-top: 16px;
}
.gfm-fast-order-invoice > div { display: flex; justify-content: space-between; padding: 3px 0; }
.gfm-fast-order-invoice .total { font-weight: 800; color: var(--gfm-brown); font-size: 14px; border-top: 1px solid var(--gfm-ink-200); padding-top: 10px; margin-top: 4px; }

.gfm-fast-submit {
    width: 100%; background: var(--gfm-gold); color: var(--gfm-brown);
    padding: 16px; border-radius: var(--gfm-r-lg);
    font-size: 14px; font-weight: 800; letter-spacing: .04em;
    box-shadow: var(--gfm-shadow-md); cursor: pointer; border: 0;
    text-transform: uppercase; transition: all .2s; font-family: inherit;
    margin-top: 18px;
}
.gfm-fast-submit:hover { background: var(--gfm-gold-2); color: var(--gfm-brown); }
.gfm-fast-disclaimer { font-size: 10px; color: var(--gfm-ink-400); font-weight: 700; text-align: center; line-height: 1.6; margin-top: 10px; }

/* =====================================================
   WOOCOMMERCE OVERRIDES
   ===================================================== */
.woocommerce-message, .woocommerce-info, .woocommerce-notice, .woocommerce-error {
    border-radius: var(--gfm-r); border-left-width: 4px; font-family: inherit; padding: 14px 18px;
}
.woocommerce-message { background: var(--gfm-palm-soft); border-left-color: var(--gfm-palm); color: var(--gfm-brown); }
.woocommerce-error { background: var(--gfm-red-soft); border-left-color: var(--gfm-red); color: var(--gfm-red); }
/* Astra's inline CSS paints the top border and the icon in its global blue */
body .woocommerce-message, body .woocommerce-info { border-top-color: var(--gfm-palm); }
body .woocommerce-message::before, body .woocommerce-info::before { color: var(--gfm-palm); }
body .woocommerce-error { border-top-color: var(--gfm-red); }
body .woocommerce-error::before { color: var(--gfm-red); }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    background: var(--gfm-brown) !important; color: #fff !important;
    font-weight: 800 !important; border-radius: var(--gfm-pill) !important;
    padding: 11px 26px !important; font-family: inherit !important;
    transition: all .2s ease !important; border: 0 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
    background: var(--gfm-brown-2) !important; transform: translateY(-1px); color: #fff !important;
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background: var(--gfm-gold) !important; color: var(--gfm-brown) !important;
    border-radius: var(--gfm-r) !important; text-transform: uppercase;
    box-shadow: var(--gfm-shadow-gold) !important;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
    background: var(--gfm-gold-2) !important; color: var(--gfm-brown) !important;
}

/* =====================================================
   CHECKOUT
   ===================================================== */
.gfm-checkout { max-width: var(--gfm-container); margin: 0 auto; padding: 32px 16px; }
.gfm-checkout h1 { font-size: 24px; font-weight: 800; color: var(--gfm-ink-800); margin: 0 0 24px; }
.gfm-checkout .woocommerce-form-coupon-toggle { display: none; }
.gfm-checkout form.checkout {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 992px) { .gfm-checkout form.checkout { grid-template-columns: 1.4fr 1fr; } }
.gfm-checkout .col-1, .gfm-checkout .col-2 { width: auto; max-width: none; float: none; padding: 0; }
.gfm-checkout #customer_details { background: #fff; border: 1px solid var(--gfm-ink-200); border-radius: var(--gfm-r-lg); padding: 22px; }
.gfm-checkout #customer_details .col-1, .gfm-checkout #customer_details .col-2 { width: auto; }
.gfm-checkout h3 { font-size: 16px; font-weight: 800; color: var(--gfm-ink-800); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gfm-ink-100); display: flex; align-items: center; gap: 6px; }
.gfm-checkout .form-row { margin-bottom: 16px; padding: 0; }
.gfm-checkout label { font-size: 12px; font-weight: 800; color: var(--gfm-ink-600); display: block; margin-bottom: 4px; }
.gfm-checkout input[type="text"], .gfm-checkout input[type="tel"], .gfm-checkout input[type="email"], .gfm-checkout textarea, .gfm-checkout select {
    width: 100% !important;
    background: var(--gfm-ink-50) !important;
    border: 1px solid var(--gfm-ink-200) !important;
    border-radius: var(--gfm-r) !important;
    padding: 11px 14px !important;
    font-size: 13px !important; color: var(--gfm-ink-800) !important;
    font-weight: 600 !important; font-family: inherit !important;
}
.gfm-checkout input:focus, .gfm-checkout textarea:focus, .gfm-checkout select:focus { background: #fff !important; border-color: var(--gfm-brown) !important; outline: 0; box-shadow: 0 0 0 3px rgba(59, 36, 22, .08); }
.gfm-checkout textarea { min-height: 96px; }
.gfm-checkout .select2-container--default .select2-selection--single { height: auto; padding: 4px; border-radius: var(--gfm-r); border-color: var(--gfm-ink-200); background: var(--gfm-ink-50); }
.gfm-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--gfm-ink-800); font-weight: 600; font-size: 13px; line-height: 38px; padding: 0 12px; }
.gfm-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }

.gfm-checkout-review { background: #fff; border: 1px solid var(--gfm-ink-200); border-radius: var(--gfm-r-lg); padding: 22px; align-self: flex-start; position: sticky; top: 90px; }
.gfm-checkout-review h3 { font-size: 16px; font-weight: 800; color: var(--gfm-ink-800); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gfm-ink-100); }
.gfm-checkout-review table { width: 100%; border-collapse: collapse; font-size: 12px; }
.gfm-checkout-review table th, .gfm-checkout-review table td { padding: 10px 0; border-bottom: 1px dashed var(--gfm-ink-100); text-align: left; font-weight: 600; color: var(--gfm-ink-700); }
.gfm-checkout-review table .product-name { font-weight: 700; }
.gfm-checkout-review table .product-total { text-align: right; font-weight: 800; color: var(--gfm-ink-800); }
.gfm-checkout-review table .cart-subtotal td, .gfm-checkout-review table tr.shipping td { font-weight: 700; }
.gfm-checkout-review table .order-total td { font-size: 16px; font-weight: 800; color: var(--gfm-brown); padding-top: 14px; }
.gfm-checkout-review table .order-total td .amount { color: var(--gfm-caramel); }
.gfm-checkout-review #payment { background: none; border: 0; padding: 0; }
.gfm-checkout-review #payment ul.payment_methods { padding: 0; border: 0; list-style: none; }
.gfm-checkout-review #payment ul.payment_methods li { background: var(--gfm-ink-50); border: 1px solid var(--gfm-ink-200); border-radius: var(--gfm-r); padding: 12px; margin-bottom: 10px; }
.gfm-checkout-review #payment .payment_box { background: #fff; padding: 12px; margin-top: 10px; border-radius: var(--gfm-r); border: 1px solid var(--gfm-ink-100); font-size: 12px; color: var(--gfm-ink-600); }
.gfm-checkout-review #place_order {
    width: 100%; background: var(--gfm-gold) !important;
    padding: 14px 22px !important; font-size: 14px !important;
    border-radius: var(--gfm-r-lg) !important; text-transform: uppercase;
    box-shadow: var(--gfm-shadow-gold) !important;
    color: var(--gfm-brown) !important;
}
.gfm-checkout-review #place_order:hover { background: var(--gfm-gold-2) !important; color: var(--gfm-brown) !important; }

/* Thank You / Order Received */
.gfm-thankyou {
    max-width: 720px; margin: 0 auto; padding: 60px 20px;
    text-align: center;
}
.gfm-thankyou .gfm-ty-ico { width: 92px; height: 92px; background: var(--gfm-sand); border-radius: var(--gfm-pill); color: var(--gfm-brown); display: inline-flex; align-items: center; justify-content: center; border: 4px solid var(--gfm-brown); margin-bottom: 20px; }
.gfm-thankyou h1 { font-size: 26px; font-weight: 800; color: var(--gfm-ink-800); margin: 0; }
.gfm-thankyou .sub { font-size: 14px; color: var(--gfm-ink-500); margin: 6px 0 26px; font-weight: 500; }
.gfm-thankyou .gfm-ty-order { background: #fff; border: 1px solid var(--gfm-ink-200); border-radius: var(--gfm-r-lg); padding: 20px; text-align: left; box-shadow: var(--gfm-shadow-xs); }
.gfm-thankyou ul.woocommerce-order-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; padding: 0; margin: 0 0 18px; border: 0; }
@media (min-width: 768px) { .gfm-thankyou ul.woocommerce-order-overview { grid-template-columns: repeat(4, 1fr); } }
.gfm-thankyou ul.woocommerce-order-overview li { padding: 12px; background: var(--gfm-ink-50); border-radius: var(--gfm-r); font-size: 12px; color: var(--gfm-ink-500); font-weight: 700; }
.gfm-thankyou ul.woocommerce-order-overview li strong { display: block; font-size: 14px; color: var(--gfm-ink-800); font-weight: 800; margin-top: 2px; }

/* =====================================================
   CART DRAWER
   ===================================================== */
.gfm-cart-drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
.gfm-cart-open .gfm-cart-drawer { visibility: visible; opacity: 1; }
.gfm-cart-bg { position: absolute; inset: 0; background: rgba(42, 25, 15, .6); backdrop-filter: blur(2px); }
.gfm-cart-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 100%; max-width: 440px; background: #fff;
    display: flex; flex-direction: column;
    box-shadow: var(--gfm-shadow-lg);
    transform: translateX(100%); transition: transform .3s ease;
}
.gfm-cart-open .gfm-cart-panel { transform: translateX(0); }
.gfm-cart-header {
    padding: 20px 24px; border-bottom: 1px solid var(--gfm-ink-100);
    background: var(--gfm-ink-50);
    display: flex; justify-content: space-between; align-items: center;
}
.gfm-cart-header strong { font-size: 16px; font-weight: 800; color: var(--gfm-ink-800); display: inline-flex; align-items: center; gap: 8px; }
.gfm-cart-header .gfm-cart-close { color: var(--gfm-ink-400); padding: 4px; border: 0; background: none; cursor: pointer; border-radius: var(--gfm-pill); }
.gfm-cart-header .gfm-cart-close:hover { color: var(--gfm-red); background: var(--gfm-ink-100); }

.gfm-cart-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.gfm-cart-body .cart_list, .gfm-cart-body ul.product_list_widget { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gfm-cart-body .cart_list li, .gfm-cart-body ul.product_list_widget li {
    background: var(--gfm-ink-50);
    border: 1px solid rgba(231, 218, 198, .5);
    border-radius: var(--gfm-r);
    padding: 12px; padding-left: 12px !important;
    display: flex; gap: 12px; align-items: flex-start;
    position: relative; transition: all .2s;
}
.gfm-cart-body .cart_list li img, .gfm-cart-body ul.product_list_widget li img {
    width: 56px !important; height: 56px !important;
    object-fit: cover; border-radius: 8px;
    border: 1px solid var(--gfm-ink-200); flex-shrink: 0;
    margin: 0; float: none;
}
.gfm-cart-body .cart_list li a:not(.remove), .gfm-cart-body ul.product_list_widget li a:not(.remove) {
    font-size: 13px; font-weight: 700; color: var(--gfm-ink-800);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; padding-right: 24px;
}
.gfm-cart-body .cart_list li .quantity, .gfm-cart-body ul.product_list_widget li .quantity { font-size: 12px; color: var(--gfm-ink-500); font-weight: 700; }
.gfm-cart-body .cart_list li .quantity .amount, .gfm-cart-body ul.product_list_widget li .quantity .amount { color: var(--gfm-brown); font-weight: 800; }
.gfm-cart-body .cart_list li .remove, .gfm-cart-body ul.product_list_widget li .remove {
    position: absolute !important;
    top: 8px !important; right: 8px !important;
    color: var(--gfm-ink-400) !important;
    font-size: 16px !important; font-weight: 800;
    width: 24px; height: 24px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--gfm-pill); background: none;
}
.gfm-cart-body .cart_list li .remove:hover, .gfm-cart-body ul.product_list_widget li .remove:hover { color: var(--gfm-red); background: var(--gfm-red-soft); }

.gfm-cart-body p.woocommerce-mini-cart__total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 14px 0; border-top: 1px solid var(--gfm-ink-200); margin-top: 14px;
    font-weight: 700; color: var(--gfm-ink-800); font-size: 13px;
}
.gfm-cart-body p.woocommerce-mini-cart__total .amount { color: var(--gfm-brown); font-size: 18px; font-weight: 800; }
.gfm-cart-body .woocommerce-mini-cart__buttons { display: none; }
.gfm-cart-body .woocommerce-mini-cart__empty-message {
    text-align: center; padding: 40px 20px;
    color: var(--gfm-ink-500); font-size: 13px; font-weight: 600;
}

.gfm-cart-footer {
    padding: 18px 22px;
    border-top: 1px solid var(--gfm-ink-100); background: var(--gfm-ink-50);
    display: flex; flex-direction: column; gap: 10px;
}
.gfm-cart-footer .gfm-cart-continue {
    width: 100%; background: #fff; color: var(--gfm-ink-700);
    border: 1px solid var(--gfm-ink-200);
    padding: 12px; border-radius: var(--gfm-r);
    font-weight: 700; font-size: 12px; text-align: center;
    transition: all .2s;
}
.gfm-cart-footer .gfm-cart-continue:hover { background: var(--gfm-ink-100); color: var(--gfm-ink-800); }
.gfm-cart-footer .gfm-cart-checkout {
    width: 100%; background: var(--gfm-gold); color: var(--gfm-brown);
    padding: 14px; border-radius: var(--gfm-r);
    font-weight: 800; font-size: 13px; text-align: center;
    box-shadow: var(--gfm-shadow-gold);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    animation: gfm-pulse 3s ease-in-out infinite;
}
.gfm-cart-footer .gfm-cart-checkout:hover { background: var(--gfm-gold-2); color: var(--gfm-brown); }

/* Floating side cart (desktop) */
.gfm-side-cart {
    display: none; position: fixed; right: 0; top: 50%; transform: translateY(-50%);
    background: var(--gfm-gold); color: var(--gfm-brown);
    flex-direction: column; align-items: center; justify-content: center;
    padding: 14px 10px; border-radius: var(--gfm-r-lg) 0 0 var(--gfm-r-lg);
    box-shadow: var(--gfm-shadow-lg); cursor: pointer; z-index: 30;
    min-width: 76px; text-align: center;
    transition: transform .2s;
    user-select: none;
}
@media (min-width: 768px) { .gfm-side-cart { display: flex; } }
.gfm-side-cart:hover { transform: translate(-4px, -50%); color: var(--gfm-brown); }
.gfm-side-cart .icon { margin-bottom: 6px; }
.gfm-side-cart .count { font-size: 11px; font-weight: 800; white-space: nowrap; }
.gfm-side-cart .divider { width: 100%; height: 1px; background: rgba(255,255,255,.2); margin: 4px 0; }
.gfm-side-cart .total { background: #fff; color: var(--gfm-caramel); font-size: 11px; font-weight: 900; padding: 4px 8px; border-radius: 6px; margin-top: 4px; }

/* Mobile Bottom Nav */
.gfm-mob-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--gfm-ink-100);
    z-index: 30; box-shadow: 0 -10px 25px rgba(0,0,0,.08);
    display: flex; justify-content: space-around; align-items: center;
    padding: 8px 4px;
}
@media (min-width: 768px) { .gfm-mob-nav { display: none; } }
/* room for the fixed bar on phones only; on desktop it left a band under the footer */
@media (max-width: 767px) { body.has-gfm-mob-nav { padding-bottom: 60px; } }
.gfm-mob-nav a, .gfm-mob-nav button {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: var(--gfm-ink-400); font-size: 10px; font-weight: 800;
    background: none; border: 0; cursor: pointer;
    width: 64px; text-align: center; padding: 4px 0;
    font-family: inherit;
}
.gfm-mob-nav a.is-active, .gfm-mob-nav button.is-active,
.gfm-mob-nav a:hover, .gfm-mob-nav button:hover { color: var(--gfm-brown); }
.gfm-mob-nav .gfm-mob-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--gfm-gold); color: var(--gfm-brown);
    font-size: 9px; font-weight: 900;
    width: 16px; height: 16px;
    border-radius: var(--gfm-pill); border: 1px solid #fff;
    display: inline-flex; align-items: center; justify-content: center;
    animation: gfm-pulse 2s ease-in-out infinite;
}

/* Float WhatsApp */
.gfm-float-wa {
    position: fixed; right: 14px; bottom: 78px;
    width: 50px; height: 50px;
    background: #25d366; color: #fff;
    border-radius: var(--gfm-pill);
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: var(--gfm-shadow-md); z-index: 35;
    transition: transform .2s;
}
@media (min-width: 768px) { .gfm-float-wa { bottom: 100px; right: 22px; } }
.gfm-float-wa:hover { transform: scale(1.08); color: #fff; }
.gfm-float-wa svg { width: 26px; height: 26px; }

/* Body modifier when cart is open */
.gfm-cart-open { overflow: hidden; }

/* Search Suggestions dropdown */
.gfm-search-suggest {
    position: absolute; top: 100%; left: 0; right: 0;
    margin-top: 8px; background: #fff; border: 1px solid var(--gfm-ink-100);
    border-radius: var(--gfm-r-lg); box-shadow: var(--gfm-shadow-lg);
    overflow: hidden; z-index: 50; display: none;
}
.gfm-search-suggest.is-open { display: block; }
.gfm-search-suggest .head { background: var(--gfm-ink-50); padding: 6px 16px; font-size: 11px; color: var(--gfm-ink-500); font-weight: 700; border-bottom: 1px solid var(--gfm-ink-100); }
.gfm-search-suggest .item { display: flex; gap: 12px; padding: 10px 14px; align-items: center; border-bottom: 1px solid var(--gfm-ink-50); transition: background .15s; }
.gfm-search-suggest .item:hover { background: var(--gfm-ink-50); }
.gfm-search-suggest .item img { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; border: 1px solid var(--gfm-ink-100); }
.gfm-search-suggest .item h4 { font-size: 13px; font-weight: 700; color: var(--gfm-ink-800); margin: 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.gfm-search-suggest .item .price { font-size: 12px; color: var(--gfm-brown); font-weight: 800; }
.gfm-search-suggest .more { padding: 10px; text-align: center; font-size: 12px; font-weight: 700; color: var(--gfm-brown); border-top: 1px solid var(--gfm-ink-50); }

/* Video Modal */
.gfm-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.gfm-modal.is-open { display: flex; }
.gfm-modal-bg { position: absolute; inset: 0; background: rgba(26, 17, 10, .85); backdrop-filter: blur(2px); }
.gfm-modal-card { position: relative; z-index: 10; background: #fff; border-radius: var(--gfm-r-lg); width: 100%; max-width: 640px; overflow: hidden; box-shadow: var(--gfm-shadow-lg); }
.gfm-modal-head { background: var(--gfm-ink-50); display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--gfm-ink-100); }
.gfm-modal-head h4 { font-size: 13px; font-weight: 800; color: var(--gfm-ink-800); margin: 0; }
.gfm-modal-close { background: var(--gfm-red-soft); color: var(--gfm-red); border: 0; padding: 4px 10px; border-radius: 6px; font-weight: 800; font-size: 11px; cursor: pointer; }
.gfm-modal-body { background: #000; aspect-ratio: 16 / 9; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; padding: 24px; text-align: center; }
.gfm-modal-body iframe { width: 100%; height: 100%; border: 0; }

/* =====================================================
   ANIMATIONS / UTILITIES
   ===================================================== */
.gfm-fade-in { animation: gfm-fade-in .4s ease-out both; }
@keyframes gfm-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.gfm-tablet-up { display: none; }
@media (min-width: 768px) { .gfm-tablet-up { display: inline-flex; } }
.gfm-only-mobile { display: inline-flex; }
@media (min-width: 768px) { .gfm-only-mobile { display: none; } }

/* Spinner / loading */
.gfm-loading { opacity: .55; pointer-events: none; }

/* Hide on small */
.gfm-hide-sm { display: none; }
@media (min-width: 640px) { .gfm-hide-sm { display: initial; } }

/* PDP related products */
.gfm-pdp-related { margin-top: 32px; }
.gfm-pdp-related h2 { font-size: 22px; font-weight: 800; color: var(--gfm-ink-800); margin: 0 0 24px; }

/* Make sure Astra footer/header chrome doesn't leak */
.ast-builder-html-element, .ast-builder-button-element { display: none !important; }
.main-header-bar-navigation { display: none !important; }

/* =====================================================
   FULL-WIDTH + RESPONSIVE TUNING (v2.0.1 polish)
   ===================================================== */

/* Make absolutely sure no Astra wrapper limits content */
.gfm-site, .gfm-site #content, .gfm-site .site-content, .gfm-site #primary,
.gfm-site main, .gfm-site .ast-container { width: 100% !important; max-width: 100% !important; }

/* Hero, sections, shop, pdp — use container internally for centering */
.gfm-home > section,
.gfm-shop, .gfm-pdp, .gfm-checkout, .gfm-thankyou {
    width: 100%;
    max-width: var(--gfm-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}
@media (min-width: 1024px) {
    .gfm-home > section,
    .gfm-shop, .gfm-pdp, .gfm-checkout, .gfm-thankyou {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Header — restore proper centering */
.gfm-header { width: 100%; max-width: 100%; }
.gfm-announce-inner,
.gfm-nav-main,
.gfm-cat-nav-inner,
.gfm-footer-features,
.gfm-footer-cols,
.gfm-footer-bottom { max-width: var(--gfm-container); margin-left: auto; margin-right: auto; }

/* =====================================================
   HEADER — RESPONSIVE FINE-TUNING
   ===================================================== */

/* Wide desktop polish */
@media (min-width: 1280px) {
    .gfm-nav-main { gap: 28px; padding: 16px 24px; }
    .gfm-search-wrap { max-width: 600px; }
}

/* Mid-desktop (1100px – 1280px) */
@media (max-width: 1280px) {
    .gfm-tool-hotline .gfm-hot-num { font-size: 12px; }
}

/* Small desktop / large tablet */
@media (max-width: 1100px) {
    .gfm-nav-main { padding: 12px 16px; gap: 14px; }
    .gfm-tool-hotline { display: none !important; }
    .gfm-cat-nav-inner nav { gap: 0; flex-wrap: wrap; }
    .gfm-cat-nav-inner nav a,
    .gfm-cat-nav-inner nav button { padding: 11px 10px; font-size: 12.5px; }
    .gfm-cat-nav-right { font-size: 11.5px; }
}

/* Tablet */
@media (max-width: 900px) {
    .gfm-cat-nav-right { display: none; }
    .gfm-search-wrap { max-width: 340px; }
    .gfm-tool-shop, .gfm-tool-shop:focus { display: none; }
    .gfm-logo-tag { display: none; }
    .gfm-cat-nav-inner nav a,
    .gfm-cat-nav-inner nav button { padding: 10px 8px; font-size: 12px; }
}

/* Small tablet / large mobile */
@media (max-width: 767px) {
    .gfm-search-wrap { display: none; }
    .gfm-cat-nav { display: none; }
    .gfm-nav-main { padding: 10px 12px; gap: 10px; }
    .gfm-logo { gap: 8px; }
    .gfm-logo-mark svg { width: 38px; height: 38px; }
    .gfm-logo-name .gfm-l-one,
    .gfm-logo-name .gfm-l-two { font-size: 20px; }
    .gfm-cart-btn .gfm-cart-meta { display: none; }
    .gfm-cart-btn, .gfm-cart-btn:focus { padding: 9px 12px; }
    .gfm-announce { padding: 6px 12px; font-size: 11px; }
    .gfm-announce-inner { gap: 4px; }
    .gfm-search-mobile { padding: 0 12px 12px; }
}

/* Mobile */
@media (max-width: 480px) {
    .gfm-logo-name { gap: 5px; }
    .gfm-logo-name .gfm-l-one,
    .gfm-logo-name .gfm-l-two { font-size: 17px; }
    .gfm-logo-mark svg { width: 34px; height: 34px; }
    .gfm-announce-inner > span:nth-child(1) { display: none; }
    .gfm-announce-inner { justify-content: center; }
    .gfm-cart-btn .gfm-cart-icon-wrap svg { width: 18px; height: 18px; }
}
@media (max-width: 360px) {
    .gfm-logo-name .gfm-l-one,
    .gfm-logo-name .gfm-l-two { font-size: 15px; }
}

/* =====================================================
   HERO — RESPONSIVE FINE-TUNING (small phones)
   ===================================================== */
@media (max-width: 380px) {
    .gfm-hero-single.has-copy { height: 440px; }
    .gfm-hero-copy { padding: 22px 20px 26px; }
    .gfm-hero-title { font-size: 25px; }
    .gfm-hero-sub { font-size: 13px; }
    .gfm-hero-copy .gfm-hero-btn,
    .gfm-hero-copy .gfm-hero-btn:focus { padding: 10px 16px; font-size: 12.5px; }
    .gfm-hero-copy .gfm-hero-btn-ghost,
    .gfm-hero-copy .gfm-hero-btn-ghost:focus { padding: 9px 14px; font-size: 12.5px; }
}

/* =====================================================
   PDP — RESPONSIVE FIXES
   ===================================================== */
@media (max-width: 1023px) {
    .gfm-pdp-top { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .gfm-pdp { padding: 20px 12px; }
    .gfm-pdp-title { font-size: 20px; }
    .gfm-pdp-price-now { font-size: 24px; }
    .gfm-pdp-price-was { font-size: 14px; }
    .gfm-pdp-main { padding: 8px; }
    .gfm-pdp-thumb { width: 56px; height: 56px; }
    .gfm-pdp-tabs-heads { font-size: 11px; }
    .gfm-pdp-tab-head { padding: 12px 14px; font-size: 11px; }
    .gfm-pdp-tabs-body { padding: 16px; }
    .gfm-pdp-vbtn { padding: 7px 10px; font-size: 11px; }
    .gfm-pdp-actions-row { grid-template-columns: 1fr; }
    .gfm-btn-add, .gfm-btn-buy { padding: 12px 18px; font-size: 12px; }
    .gfm-btn-wa, .gfm-btn-call { padding: 10px 12px; font-size: 11px; }
    .gfm-pdp-reviews-head { flex-direction: column; gap: 10px; align-items: flex-start; }
    .gfm-pdp-reviews-head .right { text-align: left; }
}

/* =====================================================
   SHOP — RESPONSIVE FIXES
   ===================================================== */
@media (max-width: 1023px) {
    .gfm-shop-layout { grid-template-columns: 1fr; }
    .gfm-shop-sidebar { display: none; }
}
@media (max-width: 767px) {
    .gfm-shop { padding: 16px 12px; }
    .gfm-shop-hero { padding: 18px; }
    .gfm-shop-hero h1 { font-size: 18px; }
    .gfm-shop-toolbar { padding: 10px; gap: 10px; }
    .gfm-shop-grid { gap: 12px; grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   HOME — RESPONSIVE FIXES
   ===================================================== */
@media (max-width: 767px) {
    .gfm-home { padding-bottom: 80px; }
    .gfm-home > section + section { margin-top: 32px; }
    .gfm-section-head h2 { font-size: 18px; }
    .gfm-cats { grid-template-columns: repeat(3, 1fr); }
    .gfm-cat-tile { padding: 12px 8px; }
    .gfm-cat-tile .gfm-cat-ico { width: 48px; height: 48px; font-size: 18px; margin-bottom: 8px; }
    .gfm-cat-tile h4 { font-size: 11px; }
    .gfm-trust-band { grid-template-columns: repeat(2, 1fr); padding: 16px; gap: 16px; }
    .gfm-trust-ico { width: 44px; height: 44px; }
    .gfm-top-sellers { grid-template-columns: 1fr; }
    .gfm-video-showcase { flex-direction: column; }
    .gfm-vs-media { width: 100%; min-height: 200px; }
    .gfm-vs-body { width: 100%; padding: 24px; }
    .gfm-vs-body h2 { font-size: 20px; }
    .gfm-promo-banner { height: auto; padding: 24px; }
    .gfm-promo-text h2 { font-size: 18px; }
    .gfm-promo-cta { display: none; }
}

/* =====================================================
   CHECKOUT — RESPONSIVE FIXES
   ===================================================== */
@media (max-width: 991px) {
    .gfm-checkout form.checkout { grid-template-columns: 1fr; }
    .gfm-checkout-review { position: static; }
}
@media (max-width: 767px) {
    .gfm-checkout { padding: 20px 12px; }
    .gfm-checkout h1 { font-size: 20px; }
}

/* =====================================================
   FOOTER — RESPONSIVE
   ===================================================== */
@media (max-width: 767px) {
    .gfm-footer-features { gap: 18px; padding: 28px 16px; }
    .gfm-feature-ico { width: 44px; height: 44px; }
    .gfm-footer-cols { padding: 30px 16px 26px; gap: 28px; }
    .gfm-fcol h4 { font-size: 17px; margin-bottom: 14px; }
    .gfm-footer-bottom { text-align: center; }
}

/* =====================================================
   CART DRAWER — RESPONSIVE
   ===================================================== */
@media (max-width: 480px) {
    .gfm-cart-panel { max-width: 100vw; }
    .gfm-cart-header { padding: 14px 16px; }
    .gfm-cart-body { padding: 14px; }
    .gfm-cart-footer { padding: 14px 16px; }
}

/* =====================================================
   GENERAL UTILITY OVERRIDES — prevent overflow
   ===================================================== */
* { box-sizing: border-box; }
img, video { max-width: 100%; height: auto; }
.gfm-card-img img { aspect-ratio: 1 / 1; }
.gfm-pdp-main img { aspect-ratio: 1 / 1; }

/* =====================================================
   SINGLE-PAGE CHECKOUT (sec, form-checkout.php)
   Brand: gold #D19A3A (brown text) / brown #3B2416
   ===================================================== */

.gfm-sbn-page {
    background: var(--gfm-ink-100);
    min-height: 100vh;
    padding: 32px 0;
}
.gfm-sbn-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 640px) { .gfm-sbn-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .gfm-sbn-wrap { padding: 0 32px; } }

/* Hide WC core duplicate notices in our checkout */
.gfm-sbn-page .woocommerce-form-coupon-toggle,
.gfm-sbn-page .woocommerce-form-login,
.gfm-sbn-page .woocommerce-additional-fields,
.gfm-sbn-page h3#order_review_heading { display: none !important; }
/* WooCommerce prints its coupon bar and a notice area ABOVE .gfm-sbn-page
   (woocommerce_before_checkout_form), so the rules above never reach them.
   The page has its own coupon box; real notices get the page's colour and width. */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon { display: none !important; }
body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper:not(:empty) {
    background: var(--gfm-ink-100);
    padding: 24px 16px 0;
}
body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper:not(:empty) > * {
    max-width: 1216px; margin: 0 auto;
}

/* Title row */
.gfm-sbn-title { text-align: center; margin-bottom: 32px; }
.gfm-sbn-title h1 { font-size: 28px; font-weight: 800; color: var(--gfm-ink-900); margin: 0 0 6px; letter-spacing: -0.02em; }
.gfm-sbn-crumbs { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.gfm-sbn-crumbs a, .gfm-sbn-crumbs span { color: var(--gfm-ink-400); }
.gfm-sbn-crumbs a:hover { color: var(--gfm-caramel); }
.gfm-sbn-crumbs span.active { color: var(--gfm-caramel); cursor: pointer; }
.gfm-sbn-crumbs span.active:hover { text-decoration: underline; }

/* Login banner */
.gfm-sbn-login-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--gfm-gold-soft);
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
    display: flex; flex-direction: column;
    gap: 14px; align-items: stretch;
}
@media (min-width: 640px) { .gfm-sbn-login-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; } }
.gfm-sbn-login-msg {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; color: var(--gfm-ink-700);
    flex: 1 1 auto; min-width: 0;
}
.gfm-sbn-login-msg > span:last-child { flex: 1; white-space: normal; word-break: keep-all; }
.gfm-sbn-login-msg .dot {
    width: 10px; height: 10px; border-radius: 9999px;
    background: var(--gfm-gold); display: inline-block; flex-shrink: 0;
    animation: gfm-sbn-ping 1.5s ease-in-out infinite;
    color: var(--gfm-brown);
}
@keyframes gfm-sbn-ping { 0%, 80%, 100% { transform: scale(1); opacity: 1; } 40% { transform: scale(1.4); opacity: .4; } }
.gfm-sbn-login-actions { display: flex; gap: 10px; flex-shrink: 0; justify-content: flex-end; }
@media (max-width: 639px) {
    .gfm-sbn-login-actions { width: 100%; }
    .gfm-sbn-login-actions > a { flex: 1; }
}
.gfm-sbn-btn-outline {
    padding: 6px 22px; border: 1px solid var(--gfm-gold);
    color: var(--gfm-caramel); font-weight: 700; font-size: 12px;
    border-radius: 8px; transition: background .2s;
    text-decoration: none; text-align: center;
    display: inline-block; line-height: 1.6;
}
.gfm-sbn-btn-outline:hover { background: var(--gfm-gold-tint); color: var(--gfm-caramel); }
.gfm-sbn-btn-solid {
    padding: 6px 22px; border: 1px solid var(--gfm-gold);
    background: var(--gfm-gold); color: var(--gfm-brown);
    font-weight: 700; font-size: 12px;
    border-radius: 8px; box-shadow: 0 1px 2px rgba(209, 154, 58,.2);
    transition: background .2s; text-decoration: none;
    text-align: center; display: inline-block; line-height: 1.6;
}
.gfm-sbn-btn-solid:hover { background: var(--gfm-gold-2); color: var(--gfm-brown); }

/* Grid */
.gfm-sbn-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 1024px) {
    .gfm-sbn-grid { grid-template-columns: 7fr 5fr; }
}
.gfm-sbn-left, .gfm-sbn-right { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* Card base */
.gfm-sbn-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--gfm-ink-100);
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
    padding: 20px;
}
.gfm-sbn-h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gfm-ink-900);
    margin: 0 0 20px;
    padding-left: 12px;
    border-left: 4px solid var(--gfm-gold);
    display: flex; align-items: center; gap: 8px;
    line-height: 1.2;
}
.gfm-sbn-h2 .opt { font-size: 12px; color: var(--gfm-ink-400); font-weight: 500; margin-left: 4px; }

/* Order review item */
.gfm-sbn-review-item {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 16px;
    border: 1px solid var(--gfm-ink-100);
    border-radius: 12px;
    background: rgba(251, 247, 241, 0.5);
    flex-wrap: wrap;
}
@media (max-width: 639px) { .gfm-sbn-review-item { flex-direction: column; align-items: stretch; } }
.gfm-sbn-review-item .left { display: flex; gap: 16px; align-items: center; flex: 1; min-width: 0; }
.gfm-sbn-review-item .thumb {
    width: 64px; height: 64px;
    border-radius: 8px; background: #fff;
    border: 1px solid var(--gfm-ink-100); padding: 4px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.gfm-sbn-review-item .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gfm-sbn-review-item h3 { font-size: 14px; font-weight: 700; color: var(--gfm-ink-900); margin: 0 0 4px; line-height: 1.25; }
.gfm-sbn-qty { display: flex; align-items: center; margin-top: 8px; }
.gfm-sbn-qty .lbl { font-size: 12px; color: var(--gfm-ink-500); font-weight: 600; margin-right: 12px; }
.gfm-sbn-qty .stepper {
    display: inline-flex; align-items: center;
    border: 1px solid var(--gfm-ink-200); background: #fff;
    border-radius: 6px; padding: 2px;
}
.gfm-sbn-qty .stepper button {
    padding: 4px; background: none; border: 0; cursor: pointer;
    color: var(--gfm-ink-400); border-radius: 4px; line-height: 0;
}
.gfm-sbn-qty .stepper button:hover { color: var(--gfm-ink-700); background: var(--gfm-ink-50); }
.gfm-sbn-qty .stepper .val {
    padding: 0 12px; font-size: 12px; font-weight: 800;
    color: var(--gfm-ink-900); font-family: ui-monospace, "Roboto Mono", monospace;
    min-width: 24px; text-align: center;
}
.gfm-sbn-review-item .right {
    display: flex; flex-direction: column; align-items: flex-end;
    justify-content: center; gap: 10px; flex-shrink: 0;
}
@media (max-width: 639px) {
    .gfm-sbn-review-item .right { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; border-top: 1px solid var(--gfm-ink-100); padding-top: 12px; }
}
.gfm-sbn-review-item .price { font-size: 14px; font-weight: 900; color: var(--gfm-caramel-2); font-family: ui-sans-serif, system-ui, sans-serif; }
.gfm-sbn-review-item .price .amount { color: inherit; font-weight: inherit; }
.gfm-sbn-review-item .del {
    padding: 8px; background: var(--gfm-red-soft); color: var(--gfm-red);
    border: 1px solid #fee2e2; border-radius: 8px;
    cursor: pointer; transition: all .2s; line-height: 0;
}
.gfm-sbn-review-item .del:hover { background: var(--gfm-red); color: #fff; border-color: var(--gfm-red); }

.gfm-sbn-empty {
    text-align: center; padding: 32px 16px;
    background: var(--gfm-ink-50); border-radius: 12px;
}
.gfm-sbn-empty svg { margin: 0 auto 8px; color: var(--gfm-ink-300); }
.gfm-sbn-empty p { font-size: 12px; color: var(--gfm-ink-500); font-weight: 600; margin: 0 0 8px; }
.gfm-sbn-empty .gfm-sbn-link { font-size: 12px; color: var(--gfm-caramel); font-weight: 700; text-decoration: none; }
.gfm-sbn-empty .gfm-sbn-link:hover { text-decoration: underline; }

/* Form fields */
.gfm-sbn-fields { display: flex; flex-direction: column; gap: 16px; }
.gfm-sbn-fields > div { width: 100%; }
.gfm-sbn-fields input[type="text"],
.gfm-sbn-fields input[type="tel"],
.gfm-sbn-fields input[type="email"],
.gfm-sbn-fields select,
.gfm-sbn-billing-fields input,
.gfm-sbn-card textarea {
    width: 100%; height: 48px; padding: 0 16px;
    border: 1px solid var(--gfm-ink-200);
    border-radius: 8px;
    font-size: 14px; color: var(--gfm-ink-800);
    background: #fff; transition: all .2s;
    font-family: inherit; outline: none;
}
.gfm-sbn-card textarea { height: auto; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.gfm-sbn-fields input:focus,
.gfm-sbn-fields select:focus,
.gfm-sbn-billing-fields input:focus,
.gfm-sbn-card textarea:focus {
    border-color: var(--gfm-gold);
    box-shadow: 0 0 0 1px var(--gfm-gold);
}

/* Phone with prefix */
.gfm-sbn-phone { display: flex; height: 48px; }
.gfm-sbn-phone .prefix {
    background: var(--gfm-ink-50); color: var(--gfm-ink-500);
    border: 1px solid var(--gfm-ink-200); border-right: 0;
    padding: 0 16px;
    border-top-left-radius: 8px; border-bottom-left-radius: 8px;
    font-family: ui-monospace, monospace; font-weight: 700;
    font-size: 14px; display: inline-flex; align-items: center; flex-shrink: 0;
}
.gfm-sbn-phone input {
    border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important;
    flex: 1; height: 48px !important; min-width: 0;
}

/* Row of 2 */
.gfm-sbn-row-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .gfm-sbn-row-2 { grid-template-columns: 1fr 1fr; } }

/* Select */
.gfm-sbn-select { position: relative; }
.gfm-sbn-select select { appearance: none; padding-right: 44px; cursor: pointer; }
.gfm-sbn-select select:disabled { background: var(--gfm-ink-50); color: var(--gfm-ink-400); cursor: not-allowed; }
.gfm-sbn-select .chev {
    position: absolute; right: 16px; top: 50%;
    transform: translateY(-50%); color: var(--gfm-ink-400); pointer-events: none;
    display: inline-flex;
}

/* Billing toggle */
.gfm-sbn-billing-head {
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; user-select: none;
}
.gfm-sbn-radio {
    width: 24px; height: 24px;
    border-radius: 9999px;
    border: 2px solid var(--gfm-ink-300);
    background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .2s; padding: 0;
}
.gfm-sbn-radio.is-on { border-color: var(--gfm-gold); background: rgba(209, 154, 58,.05); }
.gfm-sbn-radio .dot { width: 12px; height: 12px; border-radius: 9999px; background: transparent; transition: background .2s; }
.gfm-sbn-radio.is-on .dot { background: var(--gfm-gold); color: var(--gfm-brown); }

.gfm-sbn-billing-fields {
    margin-top: 20px; padding-top: 16px;
    border-top: 1px dashed var(--gfm-ink-100);
    display: flex; flex-direction: column; gap: 16px;
    animation: gfm-sbn-slide-down .25s ease-out;
}
.gfm-sbn-billing-fields .hint { font-size: 10px; color: var(--gfm-ink-500); font-weight: 600; margin: 0; }
@keyframes gfm-sbn-slide-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Payment options */
.gfm-sbn-pay-list { display: flex; flex-direction: column; gap: 12px; }
.gfm-sbn-pay-option {
    border: 2px solid var(--gfm-ink-100);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all .2s;
    cursor: pointer;
}
.gfm-sbn-pay-option:hover { border-color: var(--gfm-ink-200); }
.gfm-sbn-pay-option.is-on { border-color: var(--gfm-gold); background: rgba(209, 154, 58,.05); }
.gfm-sbn-pay-option .head {
    display: flex; align-items: center; gap: 12px;
    padding: 16px; cursor: pointer;
    margin: 0;
}
.gfm-sbn-pay-option .head input[type="radio"] {
    position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0;
}
.gfm-sbn-pay-option .head .emoji { font-size: 22px; line-height: 1; }
.gfm-sbn-pay-option .head .title { flex: 1; font-size: 12px; font-weight: 700; color: var(--gfm-ink-800); }
.gfm-sbn-pay-option .head .dot {
    width: 20px; height: 20px; border-radius: 9999px;
    border: 1px solid var(--gfm-ink-200); background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    color: transparent; transition: all .2s;
}
.gfm-sbn-pay-option.is-on .head .dot { background: var(--gfm-gold); border-color: var(--gfm-gold); color: var(--gfm-brown); }
.gfm-sbn-pay-option .drawer {
    padding: 14px; margin: 0 14px 14px;
    background: var(--gfm-ink-50); border: 1px solid var(--gfm-ink-200); border-radius: 12px;
    animation: gfm-sbn-slide-down .25s ease-out;
}
.gfm-sbn-pay-option .drawer .form-row { margin-bottom: 10px; }
.gfm-sbn-pay-option .drawer input,
.gfm-sbn-pay-option .drawer select {
    width: 100%; height: 40px; padding: 0 12px;
    border: 1px solid var(--gfm-ink-200); border-radius: 8px;
    font-size: 12px; background: #fff;
}
.gfm-sbn-pay-option .drawer p { font-size: 12px; color: var(--gfm-ink-500); margin: 0 0 8px; line-height: 1.6; }
.gfm-sbn-pay-option .drawer p:last-child { margin-bottom: 0; }
.gfm-sbn-pay-empty { font-size: 13px; color: var(--gfm-ink-500); padding: 16px; background: var(--gfm-red-soft); border-radius: 8px; border: 1px solid #fee2e2; }

/* Coupon */
.gfm-sbn-coupon { padding: 0; overflow: hidden; }
.gfm-sbn-coupon .head {
    width: 100%; padding: 16px;
    background: none; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    text-align: left; font-family: inherit;
    transition: background .15s;
}
.gfm-sbn-coupon .head:hover { background: rgba(251, 247, 241,.5); }
.gfm-sbn-coupon .head > span:first-child {
    font-size: 12px; font-weight: 800; color: var(--gfm-ink-700);
    display: inline-flex; align-items: center; gap: 8px;
}
.gfm-sbn-coupon .head .badge {
    background: var(--gfm-palm-soft); color: var(--gfm-palm-2);
    padding: 2px 8px; border-radius: 9999px;
    font-size: 10px; font-weight: 700;
    border: 1px solid var(--gfm-palm-line);
    display: inline-flex; align-items: center; gap: 4px;
}
.gfm-sbn-coupon .body {
    padding: 16px; background: rgba(251, 247, 241,.8);
    border-top: 1px solid var(--gfm-ink-100);
    display: flex; flex-direction: column; gap: 12px;
    animation: gfm-sbn-slide-down .25s ease-out;
}
.gfm-sbn-coupon .hint { font-size: 11px; color: var(--gfm-ink-500); font-weight: 500; margin: 0; line-height: 1.6; }
.gfm-sbn-coupon .kbd {
    color: var(--gfm-caramel-2); font-weight: 700;
    font-family: ui-monospace, monospace; margin-right: 6px;
}
.gfm-sbn-coupon .apply-row { display: flex; gap: 8px; }
.gfm-sbn-coupon .apply-row input {
    flex: 1; height: 40px; padding: 0 12px;
    background: #fff; border: 1px solid var(--gfm-ink-200);
    border-radius: 8px; font-size: 12px;
    font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase; font-family: inherit; outline: none;
}
.gfm-sbn-coupon .apply-row input:focus { border-color: var(--gfm-gold); box-shadow: 0 0 0 1px var(--gfm-gold); }
.gfm-sbn-coupon .apply-row input::placeholder { text-transform: none; }
.gfm-sbn-coupon .apply-row button {
    height: 40px; padding: 0 20px;
    background: var(--gfm-gold); color: var(--gfm-brown);
    border: 0; border-radius: 8px;
    font-weight: 700; font-size: 12px; cursor: pointer;
    transition: background .2s; font-family: inherit;
}
.gfm-sbn-coupon .apply-row button:hover { background: var(--gfm-gold-2); color: var(--gfm-brown); }
.gfm-sbn-coupon .err {
    font-size: 11px; font-weight: 700; color: var(--gfm-red);
    margin: 0; display: flex; align-items: center; gap: 4px;
    min-height: 0;
}
.gfm-sbn-coupon .err:empty { display: none; }
.gfm-sbn-coupon .ok {
    padding: 8px 12px; background: var(--gfm-palm-soft);
    border: 1px solid var(--gfm-palm-line); border-radius: 8px;
    font-size: 11px; color: var(--gfm-palm-2); font-weight: 600;
    display: flex; align-items: center; justify-content: space-between;
}
.gfm-sbn-coupon .ok button {
    font-size: 11px; font-weight: 800; color: var(--gfm-red);
    background: none; border: 0; border-left: 1px solid var(--gfm-palm-line);
    padding-left: 8px; margin-left: 8px; cursor: pointer;
}
.gfm-sbn-coupon .ok button:hover { text-decoration: underline; }

/* Totals */
.gfm-sbn-totals { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.gfm-sbn-totals .row {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px; color: var(--gfm-ink-600);
}
.gfm-sbn-totals .row .lbl { font-weight: 600; }
.gfm-sbn-totals .row .val { font-family: ui-monospace, monospace; color: var(--gfm-ink-900); font-weight: 700; }
.gfm-sbn-totals .row.discount {
    background: var(--gfm-palm-soft); padding: 8px;
    border-radius: 8px; color: var(--gfm-palm-2);
}
.gfm-sbn-totals .row.discount .lbl, .gfm-sbn-totals .row.discount .val { color: var(--gfm-palm-2); font-weight: 800; }
.gfm-sbn-totals .row.total {
    padding-top: 14px; border-top: 1px solid var(--gfm-ink-100);
    font-size: 14px;
}
.gfm-sbn-totals .row.total .lbl { font-weight: 700; color: var(--gfm-ink-900); }
.gfm-sbn-totals .row.total .val { color: var(--gfm-caramel); font-weight: 900; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 14px; }
.gfm-sbn-totals .row.total .val .amount { color: inherit; font-weight: inherit; }

/* Special notes */
.gfm-sbn-card textarea {
    width: 100%; padding: 12px;
    border: 1px solid var(--gfm-ink-200); border-radius: 8px;
    font-size: 12px; color: var(--gfm-ink-800); background: #fff;
    font-family: inherit; resize: vertical; min-height: 80px;
}
.gfm-sbn-card .char-count {
    font-size: 10px; color: var(--gfm-ink-400);
    font-family: ui-monospace, monospace; text-align: right;
    font-weight: 600; margin-top: 4px;
}

/* Agreement + Place Order */
.gfm-sbn-agreement { display: flex; flex-direction: column; gap: 16px; }
.gfm-sbn-agreement .check {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 12px; color: var(--gfm-ink-600); font-weight: 500;
    user-select: none; cursor: pointer; padding: 0 4px;
    line-height: 1.6;
}
.gfm-sbn-agreement .check input[type="checkbox"] {
    margin-top: 2px;
    width: 16px; height: 16px;
    border-radius: 4px; border: 1px solid var(--gfm-ink-300);
    accent-color: var(--gfm-caramel); cursor: pointer; flex-shrink: 0;
}
.gfm-sbn-agreement .check button {
    color: var(--gfm-caramel); font-weight: 700;
    background: transparent; border: 0; padding: 0; cursor: pointer;
    text-decoration: none;
}
.gfm-sbn-agreement .check button:hover { text-decoration: underline; color: var(--gfm-caramel); }

.gfm-sbn-place {
    width: 100%; height: 56px;
    background: var(--gfm-gold); color: var(--gfm-brown);
    border: 0; border-radius: 8px;
    font-weight: 700; font-size: 14px;
    text-transform: uppercase; letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,.07);
    transition: all .2s;
    font-family: ui-sans-serif, system-ui, sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.gfm-sbn-place:hover { background: var(--gfm-gold-2); color: var(--gfm-brown); box-shadow: 0 8px 16px rgba(209, 154, 58,.2); }
.gfm-sbn-place:active { transform: scale(.98); }
.gfm-sbn-place:disabled { opacity: .6; cursor: not-allowed; }

/* Policy modal */
.gfm-sbn-modal {
    position: fixed; inset: 0; z-index: 60;
    display: none; align-items: center; justify-content: center;
    padding: 16px;
}
.gfm-sbn-modal.is-open { display: flex; }
.gfm-sbn-modal .bg {
    position: absolute; inset: 0;
    background: rgba(42, 25, 15,.6);
    backdrop-filter: blur(4px);
}
.gfm-sbn-modal .card {
    position: relative; z-index: 10;
    background: #fff; border-radius: 24px;
    max-width: 540px; width: 100%;
    max-height: 80vh; display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,.2);
    border: 1px solid var(--gfm-ink-100);
    animation: gfm-sbn-fade-in .2s ease-out;
}
@keyframes gfm-sbn-fade-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.gfm-sbn-modal .head {
    padding: 24px;
    border-bottom: 1px solid var(--gfm-ink-100);
    display: flex; align-items: center; justify-content: space-between;
}
.gfm-sbn-modal .head h3 { font-size: 16px; font-weight: 700; color: var(--gfm-ink-900); margin: 0; }
.gfm-sbn-modal .head button {
    color: var(--gfm-ink-400); font-size: 14px; font-weight: 700;
    width: 32px; height: 32px;
    background: var(--gfm-ink-50); border: 0; border-radius: 9999px;
    cursor: pointer; transition: background .15s;
    display: inline-flex; align-items: center; justify-content: center;
}
.gfm-sbn-modal .head button:hover { background: var(--gfm-ink-100); color: var(--gfm-ink-900); }
.gfm-sbn-modal .body {
    padding: 24px; overflow-y: auto;
    font-size: 13px; color: var(--gfm-ink-600); line-height: 1.7;
}
.gfm-sbn-modal .body p { margin: 0 0 12px; }
.gfm-sbn-modal .body strong { color: var(--gfm-ink-900); font-weight: 700; }
.gfm-sbn-modal .foot {
    padding: 24px;
    border-top: 1px solid var(--gfm-ink-100);
    background: rgba(251, 247, 241,.5);
    text-align: right;
}
.gfm-sbn-modal-close {
    padding: 10px 20px;
    background: var(--gfm-ink-900); color: #fff;
    border: 0; border-radius: 12px;
    font-weight: 700; font-size: 12px;
    cursor: pointer; font-family: inherit;
    transition: background .15s;
}
.gfm-sbn-modal-close:hover { background: var(--gfm-ink-800); color: #fff; }

/* WC native field cleanup inside our checkout */
.gfm-sbn-page .form-row, .gfm-sbn-page #order_review { padding: 0; margin: 0; max-width: 100%; }
.gfm-sbn-page .form-row label, .gfm-sbn-page #order_review > h3 { display: none !important; }
.gfm-sbn-page select { color: var(--gfm-ink-800); }

/* Override our previous form-checkout grid (old gfm-checkout) for any leftover Astra wrappers */
.gfm-checkout, .gfm-sbn-page .gfm-checkout { padding: 0 !important; max-width: 100% !important; }

/* Container override at checkout — full width body */
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .gfm-site-content,
body.woocommerce-checkout main#primary { padding: 0 !important; max-width: 100% !important; }
body.woocommerce-checkout .site-main { padding: 0 !important; max-width: 100% !important; margin: 0 !important; }

/* Hide cart drawer on checkout (avoid duplicate) */
body.woocommerce-checkout .gfm-side-cart { display: none !important; }

/* Mobile responsive tweaks */
@media (max-width: 767px) {
    .gfm-sbn-page { padding: 16px 0; }
    .gfm-sbn-title h1 { font-size: 24px; }
    .gfm-sbn-card { padding: 16px; }
    .gfm-sbn-h2 { font-size: 14px; }
    .gfm-sbn-fields input, .gfm-sbn-fields select, .gfm-sbn-phone, .gfm-sbn-phone input, .gfm-sbn-phone .prefix { height: 44px; }
}
@media (max-width: 480px) {
    .gfm-sbn-place { height: 50px; font-size: 13px; }
    .gfm-sbn-title h1 { font-size: 22px; }
    .gfm-sbn-pay-option .head .emoji { font-size: 18px; }
}

/* =====================================================
   THANK-YOU CARD
   ===================================================== */
.gfm-sbn-thankyou-page {
    background: var(--gfm-ink-100);
    min-height: 100vh;
    padding: 32px 16px;
    display: flex; align-items: flex-start; justify-content: center;
}
.gfm-sbn-thankyou-wrap { width: 100%; max-width: 540px; padding: 32px 0; }
/* payment instructions (woocommerce_thankyou_<gateway>) arrive as a bare <p> under the card */
.gfm-sbn-thankyou-wrap > p { text-align: center; margin: 18px 0 0; color: var(--gfm-ink-500); font-size: 14px; }

.gfm-sbn-success-card {
    background: #fff; border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--gfm-ink-100);
    box-shadow: 0 25px 50px rgba(0,0,0,.1);
    display: flex; flex-direction: column;
    animation: gfm-sbn-fade-in .3s ease-out;
}

.gfm-sbn-success-banner {
    background: var(--gfm-palm-soft);
    padding: 40px 24px;
    text-align: center;
    border-bottom: 1px solid var(--gfm-palm-line);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gfm-sbn-success-circle {
    width: 64px; height: 64px;
    border-radius: 9999px;
    background: var(--gfm-palm); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(63, 107, 74,.25);
    margin-bottom: 16px;
    animation: gfm-sbn-scale-up .4s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes gfm-sbn-scale-up { 0% { transform: scale(.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.gfm-sbn-success-banner h2 { font-size: 24px; font-weight: 900; color: var(--gfm-palm-3); margin: 0; letter-spacing: -0.02em; }
.gfm-sbn-success-banner p { font-size: 12px; color: var(--gfm-palm-2); font-weight: 600; margin: 4px 0 0; }

.gfm-sbn-success-body {
    padding: 24px;
    display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 640px) { .gfm-sbn-success-body { padding: 32px; } }

.gfm-sbn-success-meta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    padding-bottom: 20px; border-bottom: 1px solid var(--gfm-ink-100);
    font-size: 12px;
}
.gfm-sbn-success-meta .lbl {
    color: var(--gfm-ink-400); font-weight: 700; display: block;
    margin-bottom: 4px; font-size: 10px; letter-spacing: .05em;
}
.gfm-sbn-success-meta .val { color: var(--gfm-ink-950); font-weight: 700; display: block; }
.gfm-sbn-success-meta .mono { font-family: ui-monospace, monospace; }

.gfm-sbn-success-section { display: flex; flex-direction: column; gap: 12px; }
.gfm-sbn-success-sec-title {
    font-size: 10px; color: var(--gfm-ink-400);
    text-transform: uppercase; font-weight: 900; letter-spacing: .08em;
    display: flex; align-items: center;
}

.gfm-sbn-success-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px;
    background: var(--gfm-ink-50);
    border: 1px solid var(--gfm-ink-100);
    border-radius: 16px;
    gap: 12px;
}
.gfm-sbn-success-item .left { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.gfm-sbn-success-item .thumb {
    width: 44px; height: 44px;
    background: #fff; border-radius: 12px;
    padding: 4px; border: 1px solid var(--gfm-ink-200);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.gfm-sbn-success-item .thumb img { max-height: 100%; max-width: 100%; object-fit: contain; }
.gfm-sbn-success-item .name { font-weight: 700; font-size: 14px; color: var(--gfm-ink-950); display: block; }
.gfm-sbn-success-item .meta { font-size: 10px; color: var(--gfm-ink-400); font-weight: 600; display: block; }
.gfm-sbn-success-item .right { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.gfm-sbn-success-item .qty { font-size: 12px; color: var(--gfm-ink-500); font-weight: 700; }
.gfm-sbn-success-item .price { font-size: 12px; font-family: ui-monospace, monospace; font-weight: 700; color: var(--gfm-ink-900); }

.gfm-sbn-success-shipping {
    padding: 16px;
    background: rgba(251, 247, 241,.5);
    border-radius: 16px;
    border: 1px solid var(--gfm-ink-200);
    font-size: 12px;
    display: flex; flex-direction: column; gap: 8px;
}
.gfm-sbn-success-shipping .row1 { display: flex; justify-content: space-between; font-weight: 700; color: var(--gfm-ink-900); }
.gfm-sbn-success-shipping .phone { font-family: ui-monospace, monospace; }
.gfm-sbn-success-shipping .address { color: var(--gfm-ink-600); font-weight: 600; margin: 0; }
.gfm-sbn-success-shipping .locale { color: var(--gfm-caramel); font-weight: 900; margin: 0; }

.gfm-sbn-success-price {
    background: var(--gfm-ink-50);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid var(--gfm-ink-100);
    display: flex; flex-direction: column; gap: 10px;
    font-size: 12px; color: var(--gfm-ink-600);
}
.gfm-sbn-success-price .row { display: flex; align-items: center; justify-content: space-between; }
.gfm-sbn-success-price .row .mono { font-family: ui-monospace, monospace; font-weight: 700; color: var(--gfm-ink-900); }
.gfm-sbn-success-price .row .free { color: var(--gfm-palm); font-weight: 700; text-transform: uppercase; }
.gfm-sbn-success-price .row.discount {
    color: var(--gfm-palm-2);
    background: var(--gfm-palm-soft);
    padding: 6px 10px;
    border-radius: 8px;
}
.gfm-sbn-success-price .row.discount .mono { color: var(--gfm-palm-2); font-weight: 800; }
.gfm-sbn-success-price .row.total {
    padding-top: 10px; border-top: 1px dashed var(--gfm-ink-200);
}
.gfm-sbn-success-price .row.total > span:first-child { font-weight: 700; color: var(--gfm-ink-900); display: inline-flex; align-items: center; }
.gfm-sbn-success-price .row.total .mono { font-weight: 900; font-size: 14px; color: var(--gfm-caramel); }
.gfm-sbn-success-price .row.total .mono .amount { color: inherit; }

.gfm-sbn-success-foot {
    padding: 24px;
    border-top: 1px solid var(--gfm-ink-100);
    background: rgba(251, 247, 241,.5);
    display: flex; flex-direction: column; gap: 12px;
}
@media (min-width: 640px) { .gfm-sbn-success-foot { flex-direction: row; } }
.gfm-sbn-success-print, .gfm-sbn-success-continue {
    height: 48px; flex: 1;
    border-radius: 12px;
    font-weight: 700; font-size: 12px;
    text-transform: uppercase; letter-spacing: .05em;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer; transition: all .15s;
    text-decoration: none; font-family: inherit;
}
.gfm-sbn-success-print {
    border: 1px solid var(--gfm-ink-300);
    background: #fff; color: var(--gfm-ink-700);
}
.gfm-sbn-success-print:hover { background: var(--gfm-ink-100); color: var(--gfm-ink-900); }
.gfm-sbn-success-continue {
    background: var(--gfm-gold); color: var(--gfm-brown);
    border: 0;
    box-shadow: 0 4px 8px rgba(209, 154, 58,.2);
}
.gfm-sbn-success-continue:hover { background: var(--gfm-gold-2); color: var(--gfm-brown); }
.gfm-sbn-success-continue:active { transform: scale(.97); }

/* WC order details bleed below — make them blend */
.gfm-sbn-thankyou-page .woocommerce-order { max-width: 540px; margin: 24px auto 0; }
.gfm-sbn-thankyou-page .woocommerce-order ul.woocommerce-order-overview,
.gfm-sbn-thankyou-page .woocommerce-order h2.woocommerce-order-details__title,
.gfm-sbn-thankyou-page .woocommerce-order .woocommerce-order-details,
.gfm-sbn-thankyou-page .woocommerce-order .woocommerce-customer-details,
/* our thankyou.php has no .woocommerce-order wrapper, so the woocommerce_thankyou
   hook prints these straight into the page; the card above already shows them */
.gfm-sbn-thankyou-page .woocommerce-order-details,
.gfm-sbn-thankyou-page .woocommerce-customer-details,
.gfm-sbn-thankyou-page .woocommerce-thankyou-order-received,
.gfm-sbn-thankyou-page .woocommerce-thankyou-order-details { display: none !important; }

/* Strip Astra container on thankyou */
body.woocommerce-order-received #content,
body.woocommerce-order-received .site-content,
body.woocommerce-order-received main#primary,
body.woocommerce-order-received .site-main { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
body.woocommerce-order-received .gfm-side-cart { display: none !important; }


/* =====================================================
   MANUAL MOBILE BANKING (MFS) PAYMENT FIELDS
   ===================================================== */
.gfm-mfs-box { font-size: 13px; }
.gfm-mfs-intro { margin: 0 0 12px; color: var(--gfm-ink-600); font-weight: 600; line-height: 1.6; }
.gfm-mfs-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
@media (max-width: 480px) { .gfm-mfs-numbers { grid-template-columns: 1fr; } }
.gfm-mfs-num {
    background: #fff; border: 1px solid var(--gfm-ink-200); border-radius: 10px;
    padding: 10px 12px; display: flex; flex-direction: column; gap: 2px;
}
.gfm-mfs-num .m {
    font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px;
    align-self: flex-start; color: #fff;
}
.gfm-mfs-num .m.bkash { background: #e2136e; }
.gfm-mfs-num .m.nagad { background: #ec1c24; }
.gfm-mfs-num .m.rocket { background: #8b298e; }
.gfm-mfs-num .m.upay { background: #f59e0b; }
.gfm-mfs-num b { font-size: 16px; font-weight: 900; color: var(--gfm-ink-900); font-family: ui-monospace, monospace; letter-spacing: .5px; }
.gfm-mfs-num small { font-size: 10px; color: var(--gfm-ink-400); font-weight: 600; }
.gfm-mfs-fields { display: flex; flex-direction: column; gap: 8px; }
.gfm-mfs-fields label { font-size: 12px; font-weight: 800; color: var(--gfm-ink-700); margin-bottom: -2px; }
.gfm-mfs-fields select, .gfm-mfs-fields input {
    width: 100%; height: 42px; padding: 0 12px;
    border: 1px solid var(--gfm-ink-300); border-radius: 8px;
    font-size: 13px; font-weight: 600; background: #fff; font-family: inherit;
}
.gfm-mfs-fields select:focus, .gfm-mfs-fields input:focus { border-color: var(--gfm-brown); outline: none; box-shadow: 0 0 0 2px rgba(59, 36, 22,.1); }

/* =====================================================
   TYPOGRAPHY — Tiro Bangla display headings
   Tiro Bangla ships a single 400 weight; synthesis is
   off so headings never render a fake bold.
   ===================================================== */
.gfm-section-head h2,
.gfm-tests-head h2,
.gfm-faqs-head h2,
.gfm-vs-body h2,
.gfm-promo-text h2,
.gfm-shop-hero h1,
.gfm-pdp-title,
.gfm-pdp-related h2,
.gfm-checkout h1,
.gfm-thankyou h1,
.gfm-sbn-title h1,
.gfm-sbn-success-banner h2 {
    font-family: var(--gfm-font-head);
    font-weight: 400;
    font-synthesis: none;
    letter-spacing: 0;
}
.gfm-section-head h2,
.gfm-tests-head h2,
.gfm-faqs-head h2 { font-size: 21px; line-height: 1.32; color: var(--gfm-ink-900); }
@media (min-width: 640px) {
    .gfm-section-head h2,
    .gfm-tests-head h2,
    .gfm-faqs-head h2 { font-size: 26px; }
}
.gfm-pdp-related h2 { font-size: 24px; line-height: 1.32; color: var(--gfm-ink-900); }
.gfm-shop-hero h1 { line-height: 1.32; }
@media (max-width: 767px) {
    .gfm-shop-hero h1 { font-size: 20px; }
    .gfm-vs-body h2 { font-size: 22px; }
    .gfm-promo-text h2 { font-size: 20px; }
    .gfm-pdp-title { font-size: 22px; }
}

/* Section heads — gold rule eyebrow + gold underline accent */
.gfm-section-head { position: relative; border-bottom-color: rgba(59, 36, 22, .1); }
.gfm-section-head::after {
    content: ""; position: absolute; left: 0; bottom: -1px;
    width: 64px; height: 2px; border-radius: 2px;
    background: var(--gfm-gold);
}
.gfm-section-head .gfm-eyebrow,
.gfm-section-head .gfm-eyebrow.orange,
.gfm-section-head .gfm-eyebrow.amber,
.gfm-section-head .gfm-eyebrow.mint {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0; border-radius: 0; background: none;
    color: var(--gfm-caramel);
    font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.4;
}
.gfm-section-head .gfm-eyebrow::before {
    content: ""; flex-shrink: 0; width: 18px; height: 1.5px;
    background: var(--gfm-gold);
}
.gfm-section-head h2 { margin-top: 6px; }
.gfm-view-all,
.gfm-view-all:focus { color: var(--gfm-caramel); font-weight: 700; letter-spacing: .04em; }
.gfm-view-all:hover { color: var(--gfm-brown); text-decoration: none; }
