:root {
    --fx-ink: #1B1B15;
    --fx-forest: #212F22;
    --fx-forest-2: #334531;
    --fx-gold: #CE9C3D;
    --fx-gold-light: #E7C878;
    --fx-rust: #ae874c;
    --fx-sand: #FBF6EA;
    --fx-sand-2: #F1E7D2;
    --fx-line: rgba(27, 27, 21, 0.12);
    --fx-display: 'Fraunces', serif;
    --fx-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shop-muted: #5c5c50;
    --shop-danger: #a3392b;
    --shop-ok: #2f6b3a;
}

/* Shop pages sit inside the main site's header/footer. Everything below is scoped to .shop-page
   (storefront) or .adm-body (admin) so no other page of the site is affected.
   :where() keeps the base rules at zero specificity so the fx- classes always win. */
.shop-page, .adm-body { font-family: var(--fx-body); color: var(--fx-ink); font-size: 16px; line-height: 1.6; }
.adm-body { margin: 0; background: #fff8f0; -webkit-font-smoothing: antialiased; }
.adm-body *, .adm-body *::before, .adm-body *::after { box-sizing: border-box; }
:where(.shop-page, .adm-body) :is(h1, h2, h3, h4) { font-family: var(--fx-display); color: var(--fx-forest); line-height: 1.2; margin: 0 0 .5em; }
:where(.shop-page, .adm-body) p { line-height: 1.6; margin: 0 0 1em; }
:where(.shop-page, .adm-body) a { color: var(--fx-forest); }
:where(.shop-page, .adm-body) :is(ul, ol) { padding: 0; margin: 0; list-style: none; }
.shop-page :focus-visible, .adm-body :focus-visible { outline: 3px solid var(--fx-gold); outline-offset: 2px; }
.shop-page img { max-width: 100%; }
.shop-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Floating cart button (bottom right; the WhatsApp button is bottom left) */
.shop-cart-fab { position: fixed; right: 26px; bottom: 30px; z-index: 1000; width: 58px; height: 58px; border-radius: 50%; background: var(--fx-forest); color: #fff !important; font-size: 22px; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 8px 24px rgba(33, 47, 34, .4); transition: transform .25s; }
.shop-cart-fab:hover { transform: translateY(-3px); background: var(--fx-rust); }
.shop-cart-fab .shop-cart-count { position: absolute; top: -4px; right: -4px; margin: 0; background: var(--fx-gold); color: var(--fx-ink); border: 2px solid #fff8f0; }
.shop-cart-count { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--fx-forest); color: #fff; font-size: 12px; font-weight: 600; text-align: center; line-height: 20px; }
.shop-cart-count[data-count="0"] { background: var(--fx-line); color: var(--fx-ink); }
@media (max-width: 480px) { .shop-cart-fab { width: 50px; height: 50px; right: 16px; bottom: 16px; font-size: 19px; } }

/* ---- fx- design system (identical look to the homepage) ---- */
.fx-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fx-kicker span { font-weight: 600; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fx-rust); white-space: nowrap; }
.fx-kicker .fx-trail { flex: 0 0 78px; height: 8px; color: var(--fx-rust); }
.fx-kicker .fx-trail svg { width: 100%; height: 100%; display: block; }
.fx-kicker-light span, .fx-kicker-light .fx-trail { color: var(--fx-gold-light); }
.fx-heading { font-size: clamp(30px, 4vw, 46px); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin-bottom: 18px; color: var(--fx-forest); }
.fx-heading em { font-style: italic; color: var(--fx-rust); }
.fx-heading-light { color: #fff; }
.fx-heading-light em { color: var(--fx-gold-light); }
.fx-lede { font-size: 16.5px; line-height: 1.75; color: #4B4B41; max-width: 560px; margin: 0; }
.fx-lede-light { color: rgba(255, 255, 255, .78); }
.fx-eyebrow-wrap { margin-bottom: 44px; }
.fx-center { text-align: center; }
.fx-center .fx-kicker { justify-content: center; }
.fx-center .fx-lede { margin: 0 auto; }

.fx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--fx-body); font-weight: 600; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; padding: 15px 30px; border-radius: 999px; text-decoration: none; transition: all .25s ease; border: 1px solid transparent; cursor: pointer; background: none; }
.fx-btn-solid { background: var(--fx-rust); color: #fff; }
.fx-btn-solid:hover { background: var(--fx-forest); color: #fff; transform: translateY(-2px); }
.fx-btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.fx-btn-outline:hover { background: #fff; color: var(--fx-forest); border-color: #fff; }
.fx-btn-outline-dark { border-color: var(--fx-ink); color: var(--fx-ink); }
.fx-btn-outline-dark:hover { background: var(--fx-ink); color: #fff; }
.fx-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.shop-btn-sm { padding: 11px 20px; font-size: 12.5px; }

.fx-section { padding: 90px 0; }
.fx-section-sand { background: var(--fx-sand); }
.fx-section-forest { background: var(--fx-forest); position: relative; overflow: hidden; }
.fx-section-forest::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(206, 156, 61, .14), transparent 45%); pointer-events: none; }
.fx-section-forest > * { position: relative; }

/* Product / package card */
.fx-pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 991px) { .fx-pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fx-pkg-grid { grid-template-columns: 1fr; } }
.fx-pkg-card { background: var(--fx-sand); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.fx-pkg-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0, 0, 0, .25); }
.fx-pkg-media { position: relative; display: block; height: 230px; }
.fx-pkg-media img, .fx-pkg-media .shop-ph { width: 100%; height: 100%; object-fit: cover; display: flex; }
.fx-pkg-days { position: absolute; top: 16px; left: 16px; background: rgba(27, 27, 21, .72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.shop-tag-sale { background: var(--fx-gold); color: var(--fx-ink); }
.fx-pkg-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.fx-pkg-body h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.fx-pkg-body h3 a { color: inherit; text-decoration: none; }
.fx-pkg-body h3 a:hover { color: var(--fx-rust); }
.shop-cat { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--fx-rust); }
.fx-pkg-desc { font-size: 14px; line-height: 1.65; color: var(--shop-muted); margin: 0 0 16px; flex: 1; }
.fx-pkg-route { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.fx-pkg-route .fx-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fx-rust); flex: 0 0 auto; }
.fx-pkg-route .fx-seg { flex: 1; height: 1px; background-image: linear-gradient(to right, var(--fx-line) 50%, transparent 0%); background-size: 6px 1px; }
.fx-pkg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fx-pkg-price strong { font-family: var(--fx-display); font-size: 24px; font-weight: 600; color: var(--fx-forest); }
.fx-pkg-price s { display: block; font-size: 13px; color: #8a8a7c; line-height: 1; }
.fx-feature-card { background: #fff; border: 1px solid var(--fx-line); border-radius: 14px; padding: 22px 20px; }
.fx-feature-card i { color: var(--fx-rust); font-size: 20px; margin-bottom: 10px; display: block; }
.fx-feature-card h4 { font-size: 16px; margin-bottom: 6px; }
.fx-feature-card p { font-size: 14px; line-height: 1.6; color: #6b6b5f; margin: 0; }

/* ---- Shop-specific ---- */
.shop-ph { align-items: center; justify-content: center; background: linear-gradient(135deg, var(--fx-sand-2), #e7d9b8); color: var(--fx-rust); font-size: 54px; display: flex; }
.shop-hero { background: var(--fx-forest); color: #fff; padding: 260px 0 130px; position: relative; overflow: hidden; }
.shop-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(206, 156, 61, .22), transparent 50%), radial-gradient(circle at 10% 90%, rgba(206, 156, 61, .10), transparent 45%); }
.shop-hero .shop-wrap { position: relative; }
.shop-hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 12.5px; letter-spacing: .25em; text-transform: uppercase; color: var(--fx-gold-light); margin-bottom: 20px; }
.shop-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--fx-gold-light); }
.shop-hero h1 { font-weight: 600; font-size: clamp(38px, 6vw, 68px); line-height: 1.08; color: #fff; margin-bottom: 20px; letter-spacing: -.01em; max-width: 760px; }
.shop-hero h1 em { font-style: italic; color: var(--fx-gold-light); }
.shop-hero p { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .85); max-width: 520px; margin: 0 0 34px; }
.shop-hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }

.shop-trust { background: var(--fx-sand); border-bottom: 1px solid var(--fx-line); }
.shop-trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.shop-trust-item { padding: 24px 22px; border-left: 1px solid var(--fx-line); display: flex; gap: 14px; align-items: center; }
.shop-trust-item:first-child { border-left: 0; }
.shop-trust-item i { color: var(--fx-rust); font-size: 22px; }
.shop-trust-item strong { display: block; font-family: var(--fx-display); color: var(--fx-forest); font-size: 16px; }
.shop-trust-item span { font-size: 13px; color: var(--shop-muted); }
@media (max-width: 860px) { .shop-trust-row { grid-template-columns: 1fr 1fr; } .shop-trust-item:nth-child(3) { border-left: 0; } }
@media (max-width: 460px) { .shop-trust-row { grid-template-columns: 1fr; } .shop-trust-item { border-left: 0; border-top: 1px solid var(--fx-line); } .shop-trust-item:first-child { border-top: 0; } }

.shop-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
@media (max-width: 520px) { .shop-cats { grid-template-columns: 1fr; } }
.shop-cat-tile { display: block; text-decoration: none; background: #fff; border: 1px solid var(--fx-line); border-radius: 16px; padding: 28px 22px; transition: border-color .2s, transform .2s; }
.shop-cat-tile:hover { border-color: var(--fx-rust); transform: translateY(-3px); }
.shop-cat-tile i { font-size: 28px; color: var(--fx-rust); margin-bottom: 14px; display: block; }
.shop-cat-tile h3 { font-size: 20px; margin-bottom: 4px; }
.shop-cat-tile span { font-size: 13.5px; color: var(--shop-muted); }

.shop-page-head { background: var(--fx-forest); padding: 240px 0 56px; position: relative; overflow: hidden; }
.shop-page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(206, 156, 61, .18), transparent 50%); }
.shop-page-head .shop-wrap { position: relative; }
.shop-page-head .fx-eyebrow-wrap { margin-bottom: 0; }
.shop-page-head-slim { padding: 200px 0 26px; }
.shop-page-head-slim .shop-crumbs { margin: 0; }
.shop-crumbs { font-size: 13.5px; color: var(--fx-gold-light); margin-bottom: 14px; }
.shop-crumbs a { color: var(--fx-gold-light); }

.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 34px; }
.shop-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-pill { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--fx-line); background: #fff; font-size: 14px; font-weight: 500; color: var(--fx-ink); text-decoration: none; }
.shop-pill:hover { border-color: var(--fx-ink); }
.shop-pill.is-active { background: var(--fx-forest); border-color: var(--fx-forest); color: #fff; }
.shop-filter { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--fx-line); border-radius: 18px; }

/* Forms */
.shop-input, .shop-select, .shop-textarea { width: 100%; font-family: var(--fx-body); font-size: 15px; padding: 13px 16px; border: 1px solid rgba(27, 27, 21, .25); border-radius: 12px; background: #fff; color: var(--fx-ink); }
.shop-textarea { min-height: 96px; resize: vertical; }
.shop-input:focus, .shop-select:focus, .shop-textarea:focus { border-color: var(--fx-rust); outline: 0; box-shadow: 0 0 0 3px rgba(206, 156, 61, .3); }
.shop-field { margin-bottom: 18px; }
.shop-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--fx-forest); }
.shop-field .shop-hint { font-size: 12.5px; color: var(--shop-muted); margin-top: 4px; }
.shop-field.has-error .shop-input, .shop-field.has-error .shop-select { border-color: var(--shop-danger); }
.shop-error { color: var(--shop-danger); font-size: 13px; margin-top: 4px; }
.shop-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .shop-grid-2 { grid-template-columns: 1fr; } }
.shop-flash { padding: 14px 0; font-weight: 500; }
.shop-flash-ok { background: #e6f0e4; color: var(--shop-ok); }
.shop-flash-err { background: #f7e1dd; color: var(--shop-danger); }

/* Product page */
.shop-product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .shop-product { grid-template-columns: 1fr; gap: 30px; } }
.shop-product-media { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(27, 27, 21, .16); aspect-ratio: 1 / 1; background: var(--fx-sand-2); }
.shop-product-media img, .shop-product-media .shop-ph { width: 100%; height: 100%; object-fit: cover; font-size: 96px; }
.shop-product h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 600; }
.shop-product-price { font-family: var(--fx-display); font-size: 34px; color: var(--fx-forest); margin: 6px 0 18px; }
.shop-product-price s { font-size: 18px; color: #8a8a7c; margin-right: 8px; }
.shop-stock { font-size: 14px; font-weight: 600; }
.shop-stock.in { color: var(--shop-ok); } .shop-stock.low { color: #9a6a12; } .shop-stock.out { color: var(--shop-danger); }
.shop-buy { display: flex; gap: 14px; align-items: flex-end; margin: 26px 0 8px; flex-wrap: wrap; }
.shop-qty { width: 92px; }
.shop-desc { color: #4B4B41; line-height: 1.8; max-width: 60ch; }
.shop-assure { margin-top: 28px; display: grid; gap: 12px; }
.shop-assure div { display: flex; gap: 12px; font-size: 14px; color: var(--shop-muted); }
.shop-assure i { color: var(--fx-rust); width: 18px; margin-top: 3px; }

/* Cart + checkout */
.shop-cart-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .shop-cart-layout { grid-template-columns: 1fr; } }
.shop-lines { background: #fff; border: 1px solid var(--fx-line); border-radius: 18px; overflow: hidden; }
.shop-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; padding: 20px; border-top: 1px solid var(--fx-line); align-items: center; }
.shop-line:first-child { border-top: 0; }
.shop-line-img { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--fx-sand-2); }
.shop-line-img img, .shop-line-img .shop-ph { width: 100%; height: 100%; object-fit: cover; font-size: 28px; }
.shop-line h3 { font-size: 17px; margin: 0 0 4px; }
.shop-line h3 a { text-decoration: none; }
.shop-line small { color: var(--shop-muted); }
.shop-line-side { text-align: right; }
.shop-line-total { font-family: var(--fx-display); font-weight: 600; font-size: 18px; color: var(--fx-forest); }
.shop-line form { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; }
.shop-line .shop-qty { width: 70px; padding: 8px 10px; }
.shop-link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--shop-danger); text-decoration: underline; cursor: pointer; }
.shop-summary { background: var(--fx-sand); border: 1px solid var(--fx-line); border-radius: 18px; padding: 28px; position: sticky; top: 150px; }
.shop-summary h3 { font-size: 22px; }
.shop-sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.shop-sum-row.total { border-top: 1px dashed var(--fx-line); margin-top: 8px; padding-top: 16px; font-family: var(--fx-display); font-size: 22px; font-weight: 600; color: var(--fx-forest); }
.shop-summary .fx-btn { width: 100%; margin-top: 18px; }
.shop-note { font-size: 13px; color: var(--shop-muted); line-height: 1.6; margin-top: 14px; }
.shop-panel { background: #fff; border: 1px solid var(--fx-line); border-radius: 18px; padding: 30px; }
.shop-panel + .shop-panel { margin-top: 24px; }
.shop-panel h3 { font-size: 22px; }
.shop-radio { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--fx-line); border-radius: 12px; margin-bottom: 10px; cursor: pointer; align-items: flex-start; }
.shop-radio:has(input:checked) { border-color: var(--fx-rust); background: var(--fx-sand); }
.shop-radio strong { display: block; }
.shop-radio span { font-size: 13.5px; color: var(--shop-muted); }
.shop-done { text-align: center; max-width: 640px; margin: 0 auto; }
.shop-done .shop-ph { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px; font-size: 34px; color: #fff; background: var(--fx-forest); }
.shop-ordernum { display: inline-block; font-family: var(--fx-display); font-size: 26px; padding: 8px 22px; border: 1px dashed var(--fx-rust); border-radius: 14px; margin: 8px 0 24px; color: var(--fx-forest); }

/* ---- Admin ---- */
.adm-bar { background: var(--fx-ink); color: #fff; }
.adm-bar .shop-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.adm-bar strong { font-family: var(--fx-display); font-size: 18px; margin-right: auto; }
.adm-bar a { color: #fff; text-decoration: none; font-size: 14px; opacity: .85; }
.adm-bar a:hover, .adm-bar a.is-active { opacity: 1; color: var(--fx-gold-light); }
.adm-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--fx-line); border-radius: 16px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.adm-table th, .adm-table td { text-align: left; padding: 13px 16px; border-top: 1px solid var(--fx-line); vertical-align: top; }
.adm-table th { border-top: 0; background: var(--fx-sand); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--shop-muted); }
.adm-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--fx-sand-2); }
.adm-badge.new { background: #f5e2b0; } .adm-badge.paid, .adm-badge.shipped, .adm-badge.done { background: #d6ead3; } .adm-badge.cancelled { background: #f1d3cd; }
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
@media (max-width: 760px) { .adm-stats { grid-template-columns: 1fr 1fr; } }
.adm-stat { background: #fff; border: 1px solid var(--fx-line); border-radius: 16px; padding: 20px; }
.adm-stat strong { display: block; font-family: var(--fx-display); font-size: 30px; color: var(--fx-forest); }
.adm-stat span { font-size: 13px; color: var(--shop-muted); }
.adm-login { max-width: 420px; margin: 80px auto; }
.adm-inline { display: inline-flex; gap: 6px; align-items: center; }
.adm-thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--fx-sand-2); display: inline-block; vertical-align: middle; }
.adm-thumb img, .adm-thumb .shop-ph { width: 100%; height: 100%; object-fit: cover; font-size: 18px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .fx-pkg-card:hover, .fx-btn-solid:hover { transform: none; } }

@media (max-width: 991px) {
    .shop-hero { padding-top: 200px; }
    .shop-page-head { padding-top: 180px; }
    .shop-page-head-slim { padding-top: 160px; }
}


/* ===== Header bag (shop pages) ===== */
.shop-bag { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--fx-forest); color: #fff !important; font-size: 18px; text-decoration: none; transition: background .2s, transform .2s; flex: 0 0 auto; }
.shop-bag:hover { background: var(--fx-rust); transform: translateY(-1px); }
.shop-bag .shop-cart-count { position: absolute; top: -5px; right: -6px; background: var(--fx-gold); color: var(--fx-ink); border: 2px solid #fff; }
.shop-bag .shop-cart-count[data-count="0"] { display: none; }
.shop-cart-fab .shop-cart-count[data-count="0"] { display: none; }
.shop-cart-count.is-bump { animation: shopBump .35s ease; }
@keyframes shopBump { 50% { transform: scale(1.35); } }
/* On desktop the bag is in the header; the floating one is only for phones and tablets */
@media (min-width: 992px) { .shop-cart-fab { display: none; } }
@media (max-width: 991px) { .shop-bag { display: none; } }

/* ===== Toast ===== */
#shop-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 10000; display: flex; gap: 16px; align-items: center; max-width: calc(100vw - 32px); padding: 13px 20px; border-radius: 14px; background: var(--fx-forest); color: #fff; font-size: 14.5px; box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
#shop-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#shop-toast.is-error { background: var(--shop-danger); }
#shop-toast a { color: var(--fx-gold-light); font-weight: 600; white-space: nowrap; }

/* ===== Buttons, quantity stepper, listing ===== */
.fx-btn.is-done { background: var(--shop-ok) !important; border-color: var(--shop-ok) !important; color: #fff !important; }
.shop-step { display: inline-flex; align-items: center; border: 1px solid var(--fx-line); border-radius: 999px; background: #fff; overflow: hidden; }
.shop-step button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 18px; line-height: 1; color: var(--fx-forest); cursor: pointer; }
.shop-step button:hover:not(:disabled) { background: var(--fx-sand-2); }
.shop-step button:disabled { opacity: .35; cursor: default; }
.shop-step span { min-width: 30px; text-align: center; font-weight: 600; }
.shop-count { font-size: 13.5px; color: var(--shop-muted); margin: -14px 0 20px; }
.shop-card-wrap { display: flex; min-width: 0; }
.shop-card-wrap > .fx-pkg-card { width: 100%; }
.shop-btn-sm.js-add { white-space: nowrap; }
@media (max-width: 560px) { .shop-toolbar .shop-filter, .shop-toolbar .shop-input, .shop-toolbar .shop-select { width: 100% !important; } }


/* ===== Stock states + request pop-up ===== */
.fx-pkg-body .shop-stock { margin: 0 0 6px; font-size: 12.5px; letter-spacing: .02em; }
.shop-stock.low { color: #b4570f; }
.shop-stock.low i { margin-right: 3px; }
.shop-card.is-soldout .fx-pkg-media img, .shop-card.is-soldout .fx-pkg-media .shop-ph { filter: grayscale(.85); opacity: .75; }
.shop-tag-out { background: var(--shop-danger) !important; color: #fff !important; }
.shop-modal { position: fixed; inset: 0; z-index: 10001; background: rgba(27,27,21,.55); display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.shop-modal[hidden] { display: none; }
.shop-modal-box { position: relative; background: #fff; border-radius: 18px; padding: 30px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; }
.shop-modal-box h3 { font-size: 24px; }
.shop-modal-x { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--shop-muted); cursor: pointer; }
.shop-req-product { padding: 10px 14px; background: var(--fx-sand); border-radius: 10px; margin-bottom: 16px; }
body.shop-modal-open { overflow: hidden; }
#req-error[hidden], #req-done[hidden], #req-form-wrap[hidden] { display: none; }

/* Admin stock badges + alert */
.adm-badge.low { background: #fbe2c4; color: #8a4208; } .adm-badge.out { background: #f1d3cd; color: #7d2518; } .adm-badge.in { background: #d6ead3; }
.adm-alert { background: #fff4e0; border: 1px solid #f0cf94; border-radius: 14px; padding: 14px 18px; margin-bottom: 24px; font-size: 14.5px; }
.adm-alert strong { color: #8a4208; }

/* Bag icon: keep colours even if a header rule recolours icons */
.main-header .shop-bag { background: var(--fx-forest); color: #fff !important; }
.main-header .shop-bag i { color: #fff !important; font-size: 18px; }
.main-header .shop-bag .shop-cart-count { position: absolute; font-size: 11px; line-height: 18px; min-width: 20px; }

/* ---- Mission briefing (shop homepage) ---- */
.fx-mission-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.fx-mission-intro .fx-heading { margin-bottom: 18px; }
.fx-mission-intro .fx-lede { max-width: none; margin-bottom: 22px; }
.fx-mission-intro .fx-lede a { color: var(--fx-rust); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fx-mission-note { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 18px 20px; background: #fff; border-left: 4px solid var(--fx-gold); border-radius: 12px; font-size: 14.5px; line-height: 1.65; color: #4B4B41; }
.fx-mission-note i { color: var(--fx-rust); font-size: 18px; margin-top: 3px; }
.fx-mission-uses { background: var(--fx-forest); border-radius: 18px; padding: 34px 34px 20px; position: relative; overflow: hidden; }
.fx-mission-uses::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, rgba(206, 156, 61, .18), transparent 55%); pointer-events: none; }
.fx-mission-uses > * { position: relative; }
.shop-page .fx-mission-uses h3 { color: #fff; font-size: 20px; margin-bottom: 22px; }
.fx-mission-list li { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.fx-mission-num { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--fx-gold); color: var(--fx-ink); font-family: var(--fx-display); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.fx-mission-list strong { display: block; color: #fff; font-size: 16.5px; margin-bottom: 2px; }
.shop-page .fx-mission-list p { color: rgba(255, 255, 255, .74); font-size: 14.5px; line-height: 1.6; margin: 0; }
.fx-mission-tag { margin: 44px 0 0; text-align: center; font-family: var(--fx-display); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); color: var(--fx-forest); }
.fx-mission-tag::before, .fx-mission-tag::after { content: ""; display: block; width: 70px; height: 2px; background: var(--fx-gold); margin: 0 auto 16px; }
.fx-mission-tag::after { margin: 16px auto 0; }
@media (max-width: 991px) { .fx-mission-grid { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 480px) { .fx-mission-uses { padding: 26px 20px 12px; } }
