/*
Theme Name: Hayati Vapes
Theme URI: https://hayativapes.uk
Author: Hayati Vapes UK
Description: Lightweight, SEO-first WooCommerce theme for Hayati Vapes UK. Built for Core Web Vitals, structured data and UK vape retail compliance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hayati
Tags: e-commerce, woocommerce, custom-menu, featured-images, responsive
WC requires at least: 8.0
WC tested up to: 10.9
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --brand:        #221466;
  --brand-dark:   #180e49;
  --brand-light:  #2e1d8a;
  --accent:       #4255e5;
  --gold:         #eabe12;
  --sale:         #c8102e;
  --ink:          #242424;
  --body:         #333333;
  --muted:        #767676;
  --line:         #e9e9e9;
  --bg-soft:      #f7f7f7;
  --footer-bg:    #101010;
  --white:        #ffffff;

  --radius:       5px;
  --radius-sm:    3px;
  --container:    1500px;
  --gutter:       15px;

  --font-head: Oswald, "Arial Narrow", Arial, sans-serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --header-h: 60px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: 30px; }
h2 { font-size: 25px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 9999;
  width: auto; height: auto; clip: auto;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn,
.button,
button.button,
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.2;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  transition: background .15s ease, transform .05s ease;
}
.btn:hover,
.button:hover,
button.button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--brand-light);
  color: var(--white);
}
.btn:active, .button:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn--ghost:hover { background: var(--brand); color: var(--white); }

.btn--block { display: flex; width: 100%; }

/* ==========================================================================
   4. Forms
   ========================================================================== */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
select, textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--body);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; }

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-header { position: relative; z-index: 500; }

/* 5a. Promo top bar */
.topbar {
  background: var(--brand);
  color: var(--white);
  font-size: 13px;
  text-align: center;
}
.topbar__inner { display: flex; align-items: center; justify-content: center; min-height: 40px; gap: 1em; }
.topbar a { color: var(--white); text-decoration: underline; }

/* 5b. Main header row */
.header-main { background: var(--white); border-bottom: 1px solid var(--line); }
.header-main__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.header-left  { display: flex; align-items: center; gap: .5rem; }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; }

.site-branding { text-align: center; }
.site-branding img { max-height: 46px; width: auto; margin-inline: auto; }
.site-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0;
  line-height: 1;
}
.site-title a { color: var(--brand); }
.site-tagline { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 2px 0 0; }

/* icon buttons */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  color: var(--brand);
  cursor: pointer;
  position: relative;
  transition: background .15s ease;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--brand); }
.icon-btn svg,
.button svg,
.search-form button svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.cart-btn { background: var(--brand); color: var(--white); }
.cart-btn:hover { background: var(--brand-light); color: var(--white); }
.cart-btn__count {
  position: absolute; top: -2px; right: -2px;
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}

/* 5c. Search */
.header-search { flex: 1; max-width: 560px; }
.header-search form { display: flex; }
.header-search input[type="search"] {
  border-radius: var(--radius) 0 0 var(--radius);
  border-right: 0;
  height: 42px;
}
.header-search button {
  border-radius: 0 var(--radius) var(--radius) 0;
  padding-inline: 18px;
  height: 42px;
}

/* 5d. Primary nav bar */
.nav-bar { background: var(--brand); }
.nav-bar__inner { display: flex; align-items: center; justify-content: center; }

.primary-menu { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.primary-menu li { position: relative; }
.primary-menu > li > a {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  padding: 13px 16px;
  white-space: nowrap;
  transition: background .15s ease;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a { background: var(--brand-light); color: var(--white); }

/* dropdowns */
.primary-menu ul.sub-menu {
  position: absolute; top: 100%; left: 0; z-index: 600;
  min-width: 240px; margin: 0; padding: 6px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.primary-menu li:hover > ul.sub-menu,
.primary-menu li:focus-within > ul.sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu ul.sub-menu a {
  display: block;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--body);
}
.primary-menu ul.sub-menu a:hover { background: var(--bg-soft); color: var(--brand); }
.primary-menu ul.sub-menu ul.sub-menu { top: 0; left: 100%; border-radius: var(--radius); }

/* 5e. Trust strip */
.trust-strip { background: var(--bg-soft); text-align: center; padding: 14px 0; }
.trust-strip__title { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--ink); margin: 0; }
.trust-strip__sub { font-size: 14px; color: var(--body); margin: 2px 0 0; }

/* 5f. Mobile drawer */
.burger { display: none; }
.drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 1000;
  width: min(320px, 85vw);
  background: var(--white);
  transform: translateX(-100%);
  transition: transform .25s ease;
  overflow-y: auto;
  padding: 1rem;
  box-shadow: var(--shadow-md);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.drawer__search { margin: .85rem 0; }
.drawer__search form { display: flex; }
.drawer__search input[type="search"] { border-radius: var(--radius) 0 0 var(--radius); border-right: 0; height: 42px; }
.drawer__search button { border-radius: 0 var(--radius) var(--radius) 0; padding-inline: 16px; height: 42px; }
.drawer__title { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin: 0; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a { display: block; padding: 11px 4px; border-bottom: 1px solid var(--line); color: var(--body); font-family: var(--font-head); font-size: 15px; font-weight: 500; }
.drawer ul.sub-menu a { padding-left: 20px; font-size: 14px; font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,.5);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   6. Sections & headings
   ========================================================================== */
.section { padding: 40px 0; }
.section--soft { background: var(--bg-soft); }
.section__title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  margin: 0 0 24px;
}
.section__title--left { text-align: left; }
.section__lead { text-align: center; max-width: 800px; margin: -12px auto 28px; color: var(--body); }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 45%, var(--accent) 130%);
}
.hero img { width: 100%; object-fit: cover; }
.hero__slide { position: relative; min-height: 260px; display: flex; align-items: center; }
/* When no hero image is set the caption sits in normal flow over the gradient. */
.hero__slide:not(:has(img)) .hero__caption { position: static; max-width: 760px; padding: 48px var(--gutter); margin-inline: auto; text-align: center; }
.hero__caption {
  position: absolute; inset: auto auto 8% 6%;
  color: var(--white);
  max-width: 46%;
}
.hero__caption h1,
.hero__caption h2 { color: var(--white); font-size: clamp(24px, 4vw, 52px); margin: 0 0 .3em; text-transform: uppercase; }
.hero__caption p { font-size: clamp(14px, 1.6vw, 20px); margin: 0 0 1em; color: rgba(255,255,255,.92); }
/* Hero CTA must contrast against the brand-coloured backdrop. */
.hero__caption .btn { background: var(--white); color: var(--brand); }
.hero__caption .btn:hover { background: var(--gold); color: var(--ink); }

/* ==========================================================================
   8. Category tiles
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.cat-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.cat-tile img { width: 100%; aspect-ratio: 16/7; object-fit: cover; transition: transform .35s ease; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile__label {
  position: absolute; inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
}
.cat-tile--plain { display: flex; align-items: center; justify-content: center; min-height: 110px; text-align: center; padding: 18px; }
.cat-tile--plain span { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--brand); text-transform: uppercase; }

/* ==========================================================================
   9. Product grid & cards
   ========================================================================== */
.woocommerce ul.products,
ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; }

.woocommerce ul.products li.product,
ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 14px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow-md); border-color: #dcdcdc; }

.product__media { position: relative; margin-bottom: 10px; }
.woocommerce ul.products li.product a img,
.product__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 300px;
  object-fit: contain;
  margin: 0;
  border-radius: var(--radius-sm);
  background: var(--white);
}

/* badges */
.product__badges { position: absolute; inset: 6px 6px auto 6px; display: flex; justify-content: space-between; pointer-events: none; z-index: 3; gap: 6px; }
.product__badges .col { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.product__badges .col--right { align-items: flex-end; }
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  color: var(--white);
  background: var(--ink);
}
.badge--new    { background: var(--brand); }
.badge--sale   { background: var(--sale); }
.badge--nic    { background: rgba(36,36,36,.88); }
.badge--zero   { background: #147a45; }
.badge--deal   { background: var(--gold); color: var(--ink); }

.deal-strip {
  display: block;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--sale);
  letter-spacing: .02em;
  margin: 0 0 4px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product__title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  padding: 0;
  margin: 0 0 6px;
}
.product__title a { color: var(--ink); }
.product__title a:hover { color: var(--brand); }

.woocommerce ul.products li.product .price,
.product__price {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 10px;
  display: block;
}
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--sale); }

.product__foot { margin-top: auto; }
.woocommerce ul.products li.product .button { width: 100%; font-size: 14px; padding: 11px 14px; margin: 0; }

/* star rating */
.woocommerce .star-rating { color: var(--gold); margin: 0 auto 8px; font-size: 13px; }

/* ==========================================================================
   10. Tabs (home product tabs)
   ========================================================================== */
.tabs-bar { background: var(--brand); border-radius: var(--radius); margin-bottom: 22px; }
.tabs-bar ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 8px; }
.tabs-bar button {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  background: transparent;
  border: 0;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.tabs-bar button:hover { color: #fff; }
.tabs-bar button[aria-selected="true"] { background: var(--white); color: var(--brand); }
.tab-panel[hidden] { display: none; }

/* ==========================================================================
   11. Single product
   ========================================================================== */
.woocommerce div.product { margin-top: 24px; }
.woocommerce div.product .product_title { font-size: 28px; margin-bottom: 10px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { font-size: 24px; font-weight: 700; color: var(--brand); font-family: var(--font-body); }
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 12px; }
.woocommerce div.product form.cart { margin: 20px 0; }
.woocommerce div.product form.cart .button { font-size: 16px; padding: 14px 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0; margin: 0 0 18px; border-bottom: 2px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: 14px;
  color: var(--muted); padding: 11px 16px; display: block;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }

.stock.in-stock { color: #147a45; font-weight: 600; }
.stock.out-of-stock { color: var(--sale); font-weight: 600; }

/* compliance notice on PDP */
.nicotine-notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--sale);
  background: var(--bg-soft);
  padding: 12px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

/* ==========================================================================
   12. Shop layout / breadcrumbs / pagination
   ========================================================================== */
.shop-head { padding: 18px 0 6px; }
.woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-breadcrumb a:hover { color: var(--brand); }

.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 13px; }
.woocommerce .woocommerce-ordering select { width: auto; }

.woocommerce nav.woocommerce-pagination ul { border: 0; gap: 6px; display: flex; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 8px 14px; font-weight: 600; color: var(--body);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.content-area { padding: 24px 0 48px; }
.layout-sidebar { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.widget { margin-bottom: 26px; }
.widget-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.widget li a { color: var(--body); }
.widget li a:hover { color: var(--brand); }

/* messages */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top: 0; border-left: 4px solid var(--brand);
  background: var(--bg-soft); border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 18px;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { border-left-color: var(--sale); }

/* ==========================================================================
   13. Entry / blog
   ========================================================================== */
.entry { margin-bottom: 40px; }
.entry__title { font-size: 26px; margin-bottom: 6px; }
.entry__meta { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.entry__content h2 { font-size: 22px; margin-top: 1.4em; }
.entry__content h3 { font-size: 18px; margin-top: 1.3em; }
.entry__content img { border-radius: var(--radius); }

.post-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--white);
  transition: box-shadow .2s ease;
}
.post-card:hover { box-shadow: var(--shadow-md); }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card__body { padding: 14px; }
.post-card__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.post-card__date { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* ==========================================================================
   14. FAQ accordion
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 15px 34px 15px 0;
  position: relative;
  font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--brand); line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .faq__body { padding: 0 0 16px; color: var(--body); }

/* ==========================================================================
   15. Footer
   ========================================================================== */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.8); margin-top: 40px; }
.footer-top { padding: 40px 0 26px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.footer-col h3 {
  font-family: var(--font-head); font-size: 16px; font-weight: 700; text-transform: uppercase;
  color: var(--white); margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col a { color: rgba(255,255,255,.8); }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 14px; }

.footer-warning {
  background: #000;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 14px 0;
  text-align: center;
}
.footer-warning strong {
  display: inline-block;
  border: 2px solid rgba(255,255,255,.85);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 7px 14px;
}
.footer-bottom {
  padding: 16px 0;
  font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
}
.payment-icons { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.payment-icons span {
  background: rgba(255,255,255,.1); border-radius: 3px; padding: 4px 8px;
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.8);
}

/* ==========================================================================
   16. Age gate
   ========================================================================== */
.age-gate {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(10,6,30,.86);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.age-gate[hidden] { display: none; }
.age-gate__box {
  background: var(--white);
  border-radius: 8px;
  max-width: 480px; width: 100%;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.age-gate__logo { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--brand); text-transform: uppercase; margin-bottom: 10px; }
.age-gate__box h2 { font-size: 26px; margin-bottom: 10px; }
.age-gate__box p { color: var(--body); margin-bottom: 20px; }
.age-gate__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.age-gate__deny { background: var(--bg-soft); color: var(--body); }
.age-gate__deny:hover { background: #ececec; color: var(--body); }
.age-gate__small { font-size: 12px; color: var(--muted); margin: 18px 0 0; }
body.age-locked { overflow: hidden; }

/* ==========================================================================
   17. Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.hide { display: none !important; }

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .layout-sidebar { grid-template-columns: 1fr; }
  .hero__caption { max-width: 60%; }
}

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav-bar { display: none; }
  .header-search { display: none; }
  .header-main__inner { grid-template-columns: auto 1fr auto; }
  .site-branding { text-align: center; }
  h1 { font-size: 25px; }
  .section__title { font-size: 23px; }
  .woocommerce ul.products,
  ul.products { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px 12px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .product__title { font-size: 14px; }
  .hero__caption { position: static; max-width: 100%; padding: 16px; background: var(--brand); }
}

@media (max-width: 480px) {
  .topbar { font-size: 12px; }
  .site-title { font-size: 19px; }
  .section { padding: 28px 0; }
  .woocommerce ul.products,
  ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* print */
@media print {
  .site-header, .site-footer, .age-gate, .drawer, .overlay { display: none !important; }
}
