/* ==========================================================================
   SkyMax Digitals — design system
   Brand: maroon (#7A0D10) + gold (#F4C20D) on warm cream. Roboto / Roboto Slab.
   Sections: 1 tokens/base · 2 layout · 3 buttons · 4 header/nav · 5 heroes
   6 trust/categories · 7 product cards · 8 services · 9 forms · 10 product page
   11 cart/checkout · 12 account · 13 blog · 14 footer · 15 WhatsApp · 16 admin
   ========================================================================== */

/* 1 · Tokens & base ------------------------------------------------------- */
:root {
  /* Original variables (kept: templates and admin reference them) */
  --color-primary: #F4C20D;
  --color-secondary: #7A0D10;
  --color-bg-alt: #FFF7EF;
  --color-text: #222222;
  --color-text-muted: #7A7373;
  --color-link: #066aab;
  --font-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Roboto Slab', Georgia, serif;
  --container-width: 1200px;

  /* Extended tokens */
  --maroon: #7A0D10;
  --maroon-deep: #4f0709;
  --gold: #F4C20D;
  --gold-dark: #d6a800;
  --cream: #FFF7EF;
  --ink: #1f1a1a;
  --muted: #6b6363;
  --line: #ece2d6;
  --surface: #ffffff;
  --surface-soft: #faf6f1;
  --ok: #1e7a1e;
  --danger: #a4231b;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(31, 26, 26, .06);
  --shadow-md: 0 8px 24px rgba(31, 26, 26, .08);
  --shadow-lg: 0 18px 44px rgba(31, 26, 26, .14);
  --focus: 0 0 0 3px rgba(244, 194, 13, .55);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; margin: 0 0 .5em; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul, ol.breadcrumb { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* 2 · Layout -------------------------------------------------------------- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.section.alt-bg { background: var(--cream); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.section > .container.two-col, .section.two-col > .container { align-items: center; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-link { font-weight: 500; font-size: .95rem; color: var(--maroon); white-space: nowrap; }
.section-link:hover { text-decoration: underline; }
.breadcrumb { display: flex; flex-wrap: nowrap; gap: 6px; font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.breadcrumb li { display: flex; align-items: center; flex: none; }
.breadcrumb li[aria-current] { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--maroon); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #c9bcae; }
.breadcrumb [aria-current] { color: var(--ink); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }

/* 3 · Buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 24px; border-radius: var(--r-md); font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; border: 2px solid transparent; text-align: center; transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: #1f1a1a; box-shadow: 0 2px 0 rgba(122, 13, 16, .18); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; border-color: var(--maroon); color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 8px 0; min-height: 40px; font: inherit; font-size: 14px; color: var(--danger); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover { color: #7d1610; }

/* 4 · Header & navigation -------------------------------------------------- */
.announcement-banner { background: var(--gold); color: #1f1a1a; text-align: center; font-weight: 600; font-size: 14px; padding: 8px 16px; }
.topbar { background: var(--maroon); color: #f6e9e0; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; gap: 4px 16px; }
.topbar a { color: #f6e9e0; margin-right: 16px; }
.topbar a:last-child { margin-right: 0; }
.topbar a:hover { color: var(--gold); text-decoration: none; }

.site-header { background: #fff; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); }
.header-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions"; align-items: center; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.logo { grid-area: logo; display: block; line-height: 0; }
.logo img { height: 46px; width: auto; }
.header-search { grid-area: search; display: flex; align-items: center; max-width: 620px; width: 100%; justify-self: center; background: var(--surface-soft); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.header-search:focus-within { background: #fff; border-color: var(--gold-dark); box-shadow: var(--focus); }
.header-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; padding: 9px 16px; color: var(--ink); }
.header-search button { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s ease; }
.header-search button:hover { background: var(--maroon-deep); }
.header-actions { grid-area: actions; display: flex; align-items: center; gap: 6px; }
.icon-btn, .cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; border-radius: var(--r-md); color: var(--ink); font-weight: 500; font-size: 14px; background: transparent; border: 0; cursor: pointer; transition: background .15s ease; }
.icon-btn:hover, .cart-link:hover { background: var(--cream); text-decoration: none; }
.cart-link { padding: 0 12px; background: var(--cream); }
.cart-link:hover { background: #fdeed9; }
.cart-badge { position: absolute; top: 2px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--maroon); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; border: 2px solid #fff; box-sizing: content-box; transform: translate(35%, -25%); }
.cart-link .cart-label { display: none; }

.nav-toggle { display: none; grid-area: toggle; width: 44px; height: 44px; border: 0; border-radius: var(--r-md); background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.nav-toggle:hover { background: var(--cream); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.main-nav { border-top: 1px solid var(--line); background: #fff; }
.main-nav-inner { display: flex; align-items: center; }
.main-nav-inner > ul { display: flex; align-items: center; gap: 4px; }
.main-nav-inner > ul > li { position: relative; }
.main-nav a { display: block; color: var(--ink); font-weight: 500; padding: 12px 14px; font-size: 15px; }
.main-nav a:hover { color: var(--maroon); text-decoration: none; }
.main-nav-inner > ul > li > a { border-bottom: 3px solid transparent; }
.main-nav li.active > a { color: var(--maroon); border-bottom-color: var(--gold); }
.nav-caret { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.nav-close, .nav-drawer-head { display: none; }

.dropdown { display: none; position: absolute; top: 100%; left: 0; z-index: 110; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 8px; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown, .has-dropdown.open > .dropdown { display: block; }
.dropdown li { display: block; }
.dropdown a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 14.5px; }
.dropdown a:hover { background: var(--cream); }
.account-menu { position: relative; }
.account-menu .dropdown { left: auto; right: 0; min-width: 200px; }
.nav-backdrop { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .header-main { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "toggle logo actions" "search search search"; gap: 8px 8px; padding-top: 8px; padding-bottom: 10px; }
  .logo { justify-self: start; }
  .logo img { height: 40px; }
  .nav-toggle { display: inline-flex; }
  .header-search { max-width: none; }
  .header-search input[type=search] { font-size: 16px; } /* prevents iOS zoom on focus */

  .main-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); z-index: 300; overflow-y: auto; border: 0; box-shadow: var(--shadow-lg); transform: translateX(-102%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; overscroll-behavior: contain; }
  .main-nav.open { transform: none; visibility: visible; transition: transform .25s ease; }
  .nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .nav-drawer-head img { height: 34px; width: auto; }
  .nav-close { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; border-radius: var(--r-md); color: var(--ink); }
  .nav-close:hover { background: var(--cream); }
  .main-nav-inner { display: block; }
  .main-nav-inner.container { padding: 0; }
  .main-nav-inner > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px; }
  .main-nav a { padding: 14px 12px; border-radius: var(--r-sm); border-bottom: 0 !important; font-size: 16px; }
  .main-nav li.active > a { background: var(--cream); }
  .main-nav-inner > ul > li > a { display: flex; align-items: center; justify-content: space-between; }
  .dropdown { position: static; display: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 12px; padding: 0 0 0 6px; min-width: 0; }
  .has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { display: none; }
  .has-dropdown.open > .dropdown { display: block; }
  .account-menu .dropdown { position: absolute; right: 0; left: auto; top: 100%; min-width: 200px; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
  .account-menu:hover > .dropdown, .account-menu:focus-within > .dropdown { display: none; }
  .account-menu.open > .dropdown { display: block; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 250; background: rgba(20, 10, 10, .5); opacity: 0; pointer-events: none; transition: opacity .2s ease; display: block; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .wa-widget { display: none; }
}
@media (max-width: 600px) {
  .topbar-social { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-contact a:nth-child(2) { display: none; }
}
@media (min-width: 901px) { .cart-link .cart-label { display: inline; } .cart-badge { position: static; transform: none; border: 0; box-sizing: border-box; } }

.header-search input[type=search], .hero-search input[type=search] { border: 0; margin: 0; min-height: 0; border-radius: 999px; background: transparent; box-shadow: none; }
.header-search input[type=search] { padding: 9px 16px; }
.hero-search input[type=search] { padding: 12px 20px; }
.header-search input[type=search]:focus, .hero-search input[type=search]:focus { box-shadow: none; }
.products-layout > *, .cart-layout > *, .checkout-layout > *, .two-col > *, .contact-grid > * { min-width: 0; }

/* 5 · Heroes ---------------------------------------------------------------- */
.hero-wrap { padding: 20px 0 0; }
.hero-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); min-height: 500px; display: flex; align-items: center; padding: 56px; background: linear-gradient(115deg, #fff 0%, #fff 42%, #fff8ec 100%); border: 1px solid var(--line); }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; margin: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.hero-content { position: relative; z-index: 1; max-width: 44%; }
.hero-content h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); margin-bottom: .4em; }
.hero-content > p { color: #5b5252; font-size: 1.05rem; max-width: 540px; }
.hero-search { display: flex; max-width: 560px; margin: 24px 0 14px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-md); padding: 5px; border: 1px solid var(--line); }
.hero-search input { flex: 1; min-width: 0; border: none; outline: none; padding: 12px 20px; font: inherit; font-size: 1rem; border-radius: 999px; background: transparent; }
.hero-search button { display: flex; align-items: center; gap: 8px; background: var(--maroon); color: #fff; border: none; padding: 0 24px; border-radius: 999px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background .15s ease; min-height: 46px; }
.hero-search button:hover { background: var(--maroon-deep); }
.hero-quick-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; font-size: .9rem; }
.hero-quick-links span { color: var(--muted); font-weight: 500; }
.hero-quick-links a { background: rgba(255,255,255,.85); border: 1px solid rgba(122, 13, 16, .2); padding: 6px 14px; border-radius: 999px; color: var(--maroon); font-weight: 500; transition: background .15s ease; }
.hero-quick-links a:hover { background: #fff; text-decoration: none; }
.hero-cta { display: inline-flex; }

.page-hero { background: radial-gradient(circle at 85% 0%, rgba(244, 194, 13, .28), transparent 45%), linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%); color: #fff; padding: 44px 0; }
.page-hero h1 { color: #fff; margin-bottom: .35em; max-width: 760px; }
.page-hero p { color: #f2dfd3; max-width: 680px; margin-bottom: 1.2em; font-size: 1.02rem; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #e8cfc0; }
.page-hero .breadcrumb li + li::before { color: #b78a7a; }
.page-hero .breadcrumb [aria-current] { color: #fff; }
.page-hero .btn { margin-top: 2px; }

/* 6 · Trust strip & categories ---------------------------------------------- */
.trust-strip { padding: 24px 0 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; }
.trust-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--cream); color: var(--maroon); }
.trust-item strong { display: block; font-size: 15px; line-height: 1.3; }
.trust-item span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }

.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.category-card { display: block; text-align: center; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 12px 14px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.category-card:hover { text-decoration: none; border-color: var(--gold-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.category-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-md); background: var(--surface-soft); margin-bottom: 12px; }
.category-card span { display: block; font-weight: 700; font-size: 15px; }

/* 7 · Products ---------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.product-card:hover { border-color: #dccbb8; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--surface-soft); padding: 16px; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1; padding: 6px 9px; border-radius: 999px; }
.badge-sale { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--maroon); color: #fff; }
.badge-ok { background: #e6f6e6; color: var(--ok); }
.badge-out { background: #fdecea; color: var(--danger); }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.product-card-cat { margin: 0 0 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.product-card h3 { font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 1.4; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--maroon); text-decoration: none; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 14px; }
.price .sale-price { color: var(--maroon); font-weight: 700; font-size: 1.1rem; }
.price .regular-price { order: 2; text-decoration: line-through; color: var(--muted); font-size: 13px; }
.product-card-actions { margin-top: auto; }
.product-card-actions form { margin: 0; }
.product-card .btn { width: 100%; }

.products-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 96px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.filters form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.filters form label { margin: 0; }
.filters h4 { font-family: var(--font-body); font-size: 14px; font-weight: 700; margin: 0 0 8px; color: var(--muted); }
.category-filter-list { display: flex; flex-direction: column; gap: 2px; }
.category-filter-list a { display: block; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink); font-size: 15px; }
.category-filter-list a:hover { background: var(--cream); text-decoration: none; }
.category-filter-list a.active { background: var(--cream); color: var(--maroon); font-weight: 700; box-shadow: inset 3px 0 0 var(--gold); }
.product-grid-wrap .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid-wrap > h2 { margin-bottom: 20px; }
.no-results { padding: 28px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); }
.no-results p:first-child { font-weight: 700; margin-bottom: 8px; }

/* 8 · Services & content blocks -------------------------------------------------- */
.service-teaser-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-teaser { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: inherit; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.service-teaser:hover { text-decoration: none; box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #dccbb8; }
.service-teaser-photo { aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: var(--surface-soft); }
.service-teaser-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.service-teaser-body h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.service-teaser-body p { color: var(--muted); font-size: .93rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.service-teaser-body .btn { margin-top: auto; align-self: flex-start; }
.service-copy { margin-bottom: 20px; color: #3d3636; }
.location-address { font-weight: 600; color: var(--maroon); margin-bottom: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feature-box { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; font-weight: 500; }
.feature-icon { flex: none; color: var(--maroon); background: var(--cream); border-radius: 50%; padding: 6px; box-sizing: content-box; }
.image-collage { position: relative; padding: 0 24px 24px 0; }
.image-collage .collage-main { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.image-collage .collage-accent { height: auto; position: absolute; bottom: 0; right: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); border: 5px solid #fff; box-shadow: var(--shadow-md); }
.promo-panel { background: radial-gradient(circle at 100% 0%, rgba(244, 194, 13, .22), transparent 50%), linear-gradient(135deg, var(--maroon), var(--maroon-deep)); color: #fff; border-radius: var(--r-xl); padding: 48px; }
.promo-panel h2 { color: #fff; }
.promo-panel p { color: #f2dfd3; }
.promo-panel .image-collage .collage-accent { border-color: var(--maroon-deep); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--r-lg); background: var(--surface-soft); display: block; }
.map-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.contact-photo { margin-top: 24px; border-radius: var(--r-lg); box-shadow: var(--shadow-md); max-height: 260px; width: 100%; object-fit: cover; }
.icon-list li { padding: 4px 0; }
.social-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social-icons a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--maroon); }
.social-icons a:hover { background: var(--cream); text-decoration: none; }
.section iframe:not(.map-frame) { border-radius: var(--r-lg); border: 1px solid var(--line); display: block; }

/* 9 · Forms, alerts, tables -------------------------------------------------------- */
form label { display: block; margin-bottom: 14px; font-weight: 500; font-size: 14px; color: #3d3636; }
form input[type=text], form input[type=email], form input[type=password], form input[type=tel], form input[type=number], form input[type=search], form textarea, form select {
  width: 100%; min-height: 46px; padding: 11px 14px; margin-top: 6px; border: 1.5px solid #d9cdbf; border-radius: var(--r-md); background: #fff; color: var(--ink);
  font-family: inherit; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease;
}
form textarea { resize: vertical; min-height: 110px; }
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--gold-dark); box-shadow: var(--focus); }
.contact-form { display: flex; flex-direction: column; gap: 4px; max-width: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.contact-form label { display: flex; flex-direction: column; margin-bottom: 10px; }
.contact-form .btn { align-self: flex-start; }
.hp-field { position: absolute; left: -9999px; }
.inline-form { display: inline; margin: 0; }
.alert { padding: 12px 16px; border-radius: var(--r-md); margin-bottom: 14px; font-size: 15px; }
.alert-success { background: #e6f6e6; color: #1b641b; border: 1px solid #b7e3b7; }
.alert-error { background: #fdecea; color: #8f1f18; border: 1px solid #f5c2c0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.cart-table thead th { background: var(--surface-soft); font-size: 13px; color: var(--muted); font-weight: 700; }
.cart-table tbody tr:last-child td { border-bottom: 0; }
.empty-state { text-align: center; padding: 56px 24px; background: var(--surface-soft); border: 1px dashed #d9cdbf; border-radius: var(--r-xl); }
.empty-state svg { color: var(--maroon); opacity: .8; margin: 0 auto 14px; }
.empty-state p { margin-bottom: 18px; color: var(--muted); }

/* 10 · Product page -------------------------------------------------------------------- */
.product-single { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.product-single-image { position: sticky; top: calc(var(--header-h) + 100px); background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; }
.product-single-image img { width: 100%; max-height: 560px; object-fit: contain; margin: 0 auto; mix-blend-mode: multiply; }
.product-single-info h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.product-single-info .price { margin: 12px 0; }
.product-single-info .price .sale-price { font-size: 1.7rem; }
.category-tag { margin-bottom: 8px; font-size: 14px; }
.stock-status { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; margin: 0 0 14px; }
.stock-status.instock { background: #e6f6e6; color: var(--ok); }
.stock-status.outofstock { background: #fdecea; color: var(--danger); }
.product-description { margin: 16px 0 22px; padding-top: 16px; border-top: 1px solid var(--line); color: #3d3636; max-width: 62ch; }
.add-to-cart-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-top: 20px; }
.add-to-cart-form label { margin-bottom: 0; }
.add-to-cart-form input[type=number] { width: 84px; margin-top: 6px; }
.add-to-cart-form .btn { flex: 1 1 200px; max-width: 320px; }

/* 11 · Cart / checkout ------------------------------------------------------------------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.cart-item-img { display: block; background: var(--surface-soft); border-radius: var(--r-md); padding: 8px; aspect-ratio: 1 / 1; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-item-name { display: block; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: 2px; }
.cart-item-name:hover { color: var(--maroon); text-decoration: none; }
.cart-item-price { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.cart-item-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.cart-item-total { font-weight: 700; font-size: 1.05rem; color: var(--maroon); text-align: right; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #d9cdbf; border-radius: var(--r-md); background: #fff; overflow: hidden; }
.qty-btn { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); font-family: inherit; }
.qty-btn:hover:not(:disabled) { background: var(--cream); }
.qty-btn:disabled { color: #c7bcb0; cursor: not-allowed; }
.qty-val { min-width: 40px; text-align: center; font-weight: 700; }
.cart-summary, .order-summary { position: sticky; top: calc(var(--header-h) + 96px); background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; }
.cart-summary h2, .order-summary h2 { font-size: 1.2rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; margin: 16px 0 18px; padding-top: 16px; border-top: 1px solid #e6d8c8; }
.cart-total strong:last-child { color: var(--maroon); font-size: 1.4rem; }
.cart-summary .btn { width: 100%; }
.cart-continue { display: block; text-align: center; margin-top: 14px; font-size: 14.5px; }
.order-summary ul { margin-bottom: 12px; }
.order-summary li { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 14px; }
.order-summary li img { flex: none; width: 52px; height: 52px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px; }
.order-summary li span { flex: 1; min-width: 0; }
.order-summary li b { white-space: nowrap; }
.order-summary p { margin: 0; padding-top: 14px; border-top: 1px solid #e6d8c8; font-size: 1.1rem; }
.checkout-layout form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; }
.checkout-layout form .btn { width: 100%; }
.payment-note { color: var(--muted); font-size: .95rem; background: var(--surface-soft); border-radius: var(--r-md); padding: 12px 14px; }

/* 12 · Account / narrow cards ---------------------------------------------------------------- */
.narrow-card { max-width: 460px !important; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); padding: 32px 28px !important; margin-top: 8px; margin-bottom: 8px; }
.narrow-card-md { max-width: 640px !important; }
.narrow-card .btn { width: 100%; }
.narrow-card h1 { font-size: 1.6rem; }
.account-links { padding: 0; display: grid; gap: 10px; }
.account-links li { list-style: none; }
.account-links a { display: block; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); font-weight: 500; }
.account-links a:hover { border-color: var(--gold-dark); background: var(--cream); text-decoration: none; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; font-size: 1.3rem; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.center { text-align: center; }

/* 13 · Blog ---------------------------------------------------------------------------------- */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.post-when { white-space: nowrap; }
.post-meta .dot::before { content: "•"; margin: 0 10px 0 10px; color: #c9bcae; }
.post-meta > .dot:first-child::before { display: none; }
.post-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--maroon); background: var(--cream); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.post-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; margin-bottom: 32px; color: inherit; }
.post-featured:hover { text-decoration: none; box-shadow: var(--shadow-md); }
.post-featured .post-thumb { aspect-ratio: 16 / 10; }
.post-featured-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.post-featured-body h2 { margin: 0; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); }
.post-thumb { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--surface-soft); }
.post-list { display: flex; flex-direction: column; }
.post-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); color: inherit; align-items: start; }
.post-row:first-child { padding-top: 0; }
.post-row:hover { text-decoration: none; }
.post-row .post-thumb { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.post-row h2, .post-row h3 { font-size: 1.2rem; margin: 6px 0 8px; color: var(--ink); }
.post-row:hover h2, .post-row:hover h3, .post-featured:hover h2 { color: var(--maroon); }
.post-excerpt { color: var(--muted); font-size: .97rem; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-author { font-size: 13px; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); font-weight: 500; }
.pagination a:hover { background: var(--cream); text-decoration: none; }
.pagination .current { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.article { max-width: 740px; margin: 0 auto; }
.article-header h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); margin: 12px 0; }
.article-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-xl); margin: 24px 0 32px; background: var(--surface-soft); }
.article-body { font-size: 1.08rem; line-height: 1.8; color: #2c2626; }
.article-body h2 { margin: 1.8em 0 .5em; font-size: 1.5rem; }
.article-body h3 { margin: 1.5em 0 .4em; font-size: 1.2rem; }
.article-body img { border-radius: var(--r-md); margin: 1.5em auto; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1.2em; list-style: revert; }
.article-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--gold); color: #4a4242; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-body th, .article-body td { padding: 8px 12px; border: 1px solid var(--line); }
.related-posts { margin-top: 56px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related-grid .post-card { display: block; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.related-grid .post-card:hover { text-decoration: none; box-shadow: var(--shadow-md); }
.related-grid .post-thumb { aspect-ratio: 16 / 10; height: auto; }
.related-grid .post-card div { padding: 16px; }
.related-grid h3 { font-size: 1.02rem; margin: 6px 0 0; color: var(--ink); }

/* 14 · CTA band & footer --------------------------------------------------------------------- */
.cta-banner { background: var(--gold); color: #1f1a1a; text-align: center; padding: 34px 0; }
.cta-banner h2 { color: #1f1a1a; margin-bottom: 14px; }
.cta-banner .btn-primary { background: var(--maroon); color: #fff; box-shadow: none; }
.cta-banner .btn-primary:hover { background: var(--maroon-deep); }
.site-footer { background: #1b1213; color: #cfc6c1; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 40px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 15px; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-grid a { color: #cfc6c1; font-size: 15px; }
.footer-grid a:hover { color: var(--gold); text-decoration: none; }
.footer-grid li { margin-bottom: 4px; }
.footer-grid li a { display: inline-block; padding: 4px 0; }
.footer-grid .social-icons { margin-top: 0; }
.footer-grid .social-icons a { border-color: #3a2d2e; color: #e8ded8; font-size: 14px; padding: 8px 14px; }
.footer-grid .social-icons a:hover { background: #2a1d1e; }
.footer-grid h4 + .social-icons, .footer-grid ul + h4 { margin-top: 22px; }
.footer-bottom { border-top: 1px solid #2f2324; text-align: center; padding: 18px 0; font-size: 13px; }
.footer-bottom p { margin: 0; }

/* 15 · WhatsApp widget ---------------------------------------------------------------------------- */
.wa-widget { position: fixed; bottom: 20px; right: 20px; z-index: 200; font-family: var(--font-body); }
.wa-fab { width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; border: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.28); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 8px 22px rgba(0,0,0,.32); }
.wa-panel { position: absolute; bottom: 72px; right: 0; width: 320px; max-width: calc(100vw - 32px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform-origin: bottom right; animation: wa-pop .18s ease-out; }
@keyframes wa-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.wa-panel[hidden] { display: none; }
.wa-panel-header { background: var(--maroon); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; position: relative; }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; }
.wa-panel-header strong { display: block; font-size: 14px; }
.wa-panel-header span { display: block; font-size: 11px; opacity: .85; }
.wa-close { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.wa-panel-body { padding: 16px; background: #ECE5DD; }
.wa-greeting { background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin: 0 0 14px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.wa-quick-replies { display: flex; flex-direction: column; gap: 8px; }
.wa-quick-reply { display: block; background: #fff; border: 1px solid #25D366; color: #075E54; padding: 11px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; transition: background .15s ease; }
.wa-quick-reply:hover { background: #d9f7e6; text-decoration: none; }

/* Motion: scroll-reveal is progressive enhancement (see inline <head> flag) */
.reveal-on .reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.reveal-on .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .product-grid, .service-teaser-grid, .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid-wrap .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-teaser-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 36px 0; }
  .two-col, .contact-grid, .product-single, .post-featured { grid-template-columns: 1fr; gap: 28px; }
  .products-layout, .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters, .cart-summary, .order-summary, .product-single-image { position: static; }
  .filters { padding: 14px; }
  .category-filter-list { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .category-filter-list::-webkit-scrollbar { display: none; }
  .category-filter-list a { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
  .category-filter-list a.active { box-shadow: none; border-color: var(--gold-dark); }
  .filters h4 { display: none; }
  .filters form { flex-direction: row; align-items: flex-end; }
  .filters form label { flex: 1; }
  .hero-card { flex-direction: column; align-items: stretch; min-height: 0; padding: 32px 24px 0; }
  .hero-content { max-width: none; order: 1; }
  .hero-media { position: relative; width: calc(100% + 48px); margin: 24px -24px 0; z-index: 0; aspect-ratio: 16 / 9; order: 2; }
  .hero-media img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); object-position: center; }
  .page-hero { padding: 32px 0; }
  .promo-panel { padding: 32px 24px; }
  .image-collage { max-width: 520px; }
  .post-featured-body { padding: 22px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 1.03rem; }
}
@media (max-width: 760px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero-wrap { padding-top: 12px; }
  .hero-card { border-radius: var(--r-lg); padding: 26px 18px 0; }
  .hero-media { width: calc(100% + 36px); margin: 22px -18px 0; }
  .hero-search button span { display: none; }
  .hero-search button { padding: 0 18px; }
  .hero-cta { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(3) { border-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
  .trust-item { padding: 14px 16px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .category-card { padding: 8px 8px 10px; border-radius: var(--r-md); }
  .category-card img { margin-bottom: 8px; border-radius: var(--r-sm); }
  .category-card span { font-size: 13px; }
  .product-grid, .product-grid-wrap .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card-media { padding: 10px; }
  .product-card-body { padding: 10px 12px 12px; }
  .product-card h3 { font-size: 14px; }
  .price .sale-price { font-size: 1rem; }
  .product-card .btn { min-height: 44px; padding: 8px 10px; font-size: 14px; }
  .service-teaser-grid, .feature-grid { grid-template-columns: 1fr; }
  .section-head { align-items: baseline; }
  .contact-form { padding: 18px; }
  .contact-form .btn { align-self: stretch; }
  .map-frame { min-height: 300px; }
  .cart-item { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .cart-item-total { grid-column: 2; text-align: left; margin-top: -4px; }
  .narrow-card { padding: 24px 18px !important; }
  .add-to-cart-form .btn { max-width: none; }
  .post-row { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .post-row h2, .post-row h3 { font-size: 1rem; margin: 4px 0 6px; }
  .post-row .post-excerpt { -webkit-line-clamp: 2; font-size: .9rem; }
  .post-meta { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .wa-widget { bottom: 14px; right: 14px; }
  .wa-fab { width: 54px; height: 54px; }
}

/* ================= Admin panel (unchanged from previous design) ================= */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; font-family: var(--font-body); }
.admin-body { background: #f4f4f4; }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: #1a1a1a; color: #fff; padding: 24px 20px; }
.admin-sidebar h2 { color: #fff; font-size: 1.1rem; }
.admin-sidebar nav { display: flex; flex-direction: column; margin-top: 20px; }
.admin-sidebar a { color: #ccc; display: block; padding: 10px 0; }
.admin-sidebar a:hover, .admin-sidebar a.active { color: var(--color-primary); text-decoration: none; }
.admin-content { padding: 32px; background: #f7f7f7; min-width: 0; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; margin-bottom: 30px; }
.admin-table th, .admin-table td { padding: 10px 14px; border-bottom: 1px solid #eee; text-align: left; font-size: 14px; }
.admin-form label { max-width: 480px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.stat-card { background: #fff; border-radius: 8px; padding: 20px; text-align: center; }
.stat-card span { display: block; font-size: 1.8rem; font-weight: 700; color: var(--color-secondary); margin-bottom: 6px; }
.admin-login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #f4f4f4; }
.admin-login-form { background: #fff; padding: 36px; border-radius: 8px; max-width: 360px; width: 100%; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.admin-role-badge { color: #ccc; font-size: 13px; margin: 4px 0 16px; line-height: 1.5; }
.admin-role-badge span { color: var(--color-primary, #F4C20D); font-weight: 600; }
.login-box { max-width: 380px; margin: 80px auto; padding: 30px; border: 1px solid #eee; border-radius: 8px; }
@media (max-width: 900px) { .admin-wrap, .admin-shell { grid-template-columns: 1fr; } .admin-content { padding: 20px 16px; } .admin-table { display: block; overflow-x: auto; } }

/* Blog: posts without an image */
.post-row.no-thumb { grid-template-columns: 1fr; }
.post-featured.no-thumb { grid-template-columns: 1fr; }

/* Quantity stepper (product page input enhanced by main.js) */
.add-to-cart-form .qty input[type=number] { width: 56px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; text-align: center; font-weight: 700; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.add-to-cart-form .qty input[type=number]::-webkit-outer-spin-button, .add-to-cart-form .qty input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-to-cart-form .qty { margin-top: 6px; }
.add-to-cart-form label { display: flex; flex-direction: column; }
.product-single { margin-top: 4px; }

/* SkyMax virtual assistant ---------------------------------------------------- */
.bot { position: fixed; right: 20px; bottom: 92px; z-index: 210; font-family: var(--font-body); }
.bot-launcher { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--maroon); color: #fff; font: 700 15px/1 var(--font-body); cursor: pointer; box-shadow: 0 8px 22px rgba(79, 7, 9, .38); transition: transform .15s ease, background .15s ease; }
.bot-launcher svg { color: var(--gold); flex: none; }
.bot-launcher:hover { background: var(--maroon-deep); transform: translateY(-1px); }
.bot.is-open .bot-launcher { background: var(--maroon-deep); }
.bot-panel { position: absolute; right: 0; bottom: 62px; display: flex; flex-direction: column; width: 380px; max-width: calc(100vw - 32px); height: min(580px, calc(100vh - 190px)); background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); overflow: hidden; animation: wa-pop .18s ease-out; transform-origin: bottom right; }
.bot-panel[hidden] { display: none; }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, var(--maroon), var(--maroon-deep)); color: #fff; }
.bot-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.bot-head-text { flex: 1; min-width: 0; }
.bot-head-text strong { display: block; font-size: 15px; line-height: 1.25; }
.bot-head-text span { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .9; }
.bot-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.bot-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: var(--r-md); background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.bot-close:hover { background: rgba(255, 255, 255, .14); }
.bot-log { flex: 1; overflow-y: auto; padding: 16px; background: var(--surface-soft); display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.bot-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.bot-msg p { margin: 0; }
.bot-msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.bot-msg-user { align-self: flex-end; background: var(--maroon); color: #fff; border-bottom-right-radius: 4px; }
.bot-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bot-links a { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--maroon); font-size: 13.5px; font-weight: 500; }
.bot-links a:hover { background: #fdeed9; text-decoration: none; }
.bot-products { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.bot-product { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md); color: inherit; background: #fff; }
.bot-product:hover { border-color: var(--gold-dark); text-decoration: none; }
.bot-product img { flex: none; width: 52px; height: 52px; object-fit: contain; border-radius: var(--r-sm); background: var(--surface-soft); mix-blend-mode: multiply; }
.bot-product span { min-width: 0; display: flex; flex-direction: column; }
.bot-product b { font-size: 13.5px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bot-product em { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--maroon); }
.bot-typing { display: flex; gap: 5px; padding: 14px; }
.bot-typing span { width: 7px; height: 7px; border-radius: 50%; background: #c9bcae; animation: bot-bounce 1s infinite ease-in-out; }
.bot-typing span:nth-child(2) { animation-delay: .15s; }
.bot-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bot-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.bot-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; background: var(--surface-soft); }
.bot-chips:not(:empty) { padding-bottom: 12px; }
.bot-chips button { padding: 8px 13px; border-radius: 999px; border: 1.5px solid var(--maroon); background: #fff; color: var(--maroon); font: 500 13.5px var(--font-body); cursor: pointer; transition: background .15s ease, color .15s ease; }
.bot-chips button:hover { background: var(--maroon); color: #fff; }
.bot-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.bot-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 1.5px solid #d9cdbf; border-radius: 999px; font: 16px var(--font-body); color: var(--ink); background: #fff; }
.bot-form input:focus { outline: none; border-color: var(--gold-dark); box-shadow: var(--focus); }
.bot-form button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gold); color: #1f1a1a; display: grid; place-items: center; cursor: pointer; }
.bot-form button:hover { background: var(--gold-dark); }
.bot-note { margin: 0; padding: 0 14px 10px; font-size: 11.5px; color: var(--muted); text-align: center; background: #fff; }
body.nav-open .bot { display: none; }
@media (max-width: 640px) {
  .bot { right: 14px; bottom: 80px; }
  .bot-launcher { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .bot-launcher-label { display: none; }
  .bot-panel { position: fixed; left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; height: min(82vh, 640px); }
  .bot.is-open .bot-launcher { display: none; }
  .bot.is-open ~ .wa-widget { display: none; }
}
