/* =========================================================
   PSY Hookah – website styles
   Colours are defined once here. Change them in :root.
   ========================================================= */
:root {
  --gold: #c7931c;        /* buttons, icons on dark backgrounds */
  --gold-light: #f1d27a;  /* gold text on black */
  --gold-text: #7a560c;   /* gold text on white: 6.6:1 contrast (WCAG AA) */
  --black: #090909;
  --ink: #151515;         /* main text */
  --muted: #555;          /* secondary text on white */
  --cream: #f8f5ed;
  --line: #e7dfcf;
  --radius: 6px;
}

/* ----- Basics ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-size: clamp(30px, 5vw, 43px); letter-spacing: -1px; line-height: 1.15; margin: 10px 0 18px; }
h3 { font-size: 22px; }
p { line-height: 1.72; color: var(--muted); }
ul, ol { margin: 0; }
.wrap { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 82px 0; }

/* Keyboard users can see where they are */
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); box-shadow: none; }

/* Hidden visually but still read by screen readers */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #000; color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* ----- Small gold label above headings ----- */
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-weight: 900; color: var(--gold-text); font-size: 13px; margin-bottom: 0; }
.eyebrow-light { color: var(--gold-light); }
.eyebrow-dark { color: #17120a; }

/* ----- Header & menu ----- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid #eee; }
.nav { height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { font-size: 25px; font-weight: 900; letter-spacing: -1px; text-decoration: none; margin: 0; color: var(--ink); }
.brand span { color: #9c6e0f; }   /* darker brand gold: 4.5:1 on white */
.site-footer .brand span { color: var(--gold); }
.site-menu { display: flex; gap: 23px; font-size: 14px; font-weight: 800; margin-left: auto; }
.site-menu a { text-decoration: none; padding: 6px 0; }
.site-menu a:hover { color: var(--gold-text); }
.call { background: var(--black); color: #fff; padding: 12px 16px; border-radius: var(--radius); font-weight: 800; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; }

/* ----- Buttons ----- */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-block; background: #0a0a0a; color: #fff; padding: 14px 20px; border-radius: var(--radius); font-weight: 800; text-decoration: none; border: 1px solid transparent; }
.btn.gold { background: var(--gold); color: #111; }
.btn.light { background: #fff; color: #111; border-color: #ccc; }
.btn.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn:hover { filter: brightness(1.1); }

/* ----- Hero ----- */
.hero { background: radial-gradient(circle at 85% 20%, #2a2109 0%, var(--black) 55%); color: #fff; padding: 72px 0 64px; }
.hero h1 { font-size: clamp(34px, 6.5vw, 64px); line-height: 1.05; letter-spacing: -2px; margin: 14px 0 18px; }
.hero h1 span { display: block; color: var(--gold-light); font-size: .55em; letter-spacing: -1px; margin-top: 8px; }
.hero-text { color: #c9c9c9; font-size: 18px; max-width: 640px; }

/* ----- Banner image (never cropped) ----- */
.banner { margin: 0; background: #fff; }
.banner img { width: 100%; height: auto; max-width: 1600px; margin: 0 auto; }

/* ----- Quick facts strip ----- */
.bar { background: var(--black); color: #fff; }
.bar-list { list-style: none; padding: 23px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; text-align: center; }
.bar b { display: block; color: var(--gold-light); font-size: 17px; }
.bar b a { text-decoration: none; }
.bar span { font-size: 13px; color: #b5b5b5; }

/* ----- About ----- */
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 65px; align-items: center; }
.box { background: var(--cream); padding: 38px; border-left: 5px solid var(--gold); }

/* ----- Products ----- */
.dark { background: var(--black); color: #fff; }
.dark p { color: #b5b5b5; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 35px; }
.card { border: 1px solid #2c2c2c; padding: 32px; min-height: 245px; background: linear-gradient(145deg, #161616, #090909); display: flex; flex-direction: column; }
.card .symbol { font-size: 38px; color: var(--gold); margin-bottom: auto; }
.card h3 { margin: 28px 0 9px; }
.card p { font-size: 15px; margin: 0; }

/* ----- Who we serve ----- */
.features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.feature { padding: 26px; border: 1px solid var(--line); background: #fff; }
.feature b { display: block; margin-bottom: 8px; }
.feature span { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ----- Wholesale steps ----- */
.wholesale { background: var(--cream); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 35px; }
.step { background: #fff; padding: 30px; border: 1px solid var(--line); }
.num { display: block; font-size: 38px; font-weight: 900; color: var(--gold-text); margin-bottom: 12px; }

/* ----- Location ----- */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.location-card { margin: 0; padding: 40px; background: #0b0b0b; color: #fff; }
.detail { padding: 17px 0; border-bottom: 1px solid #2c2c2c; }
.detail dt { color: var(--gold-light); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin-bottom: 5px; }
.detail dd { margin: 0; font-size: 18px; font-weight: 700; }
.note { padding: 40px; background: var(--cream); }
.note ul { padding-left: 19px; color: var(--muted); line-height: 2; margin-bottom: 20px; }

/* ----- Call to action ----- */
.cta { background: linear-gradient(120deg, #b07e12, #edca6b); padding: 55px; border-radius: 9px; }
.cta p { color: #2b2416; max-width: 750px; }

/* ----- Enquiry form ----- */
.enquiry { margin-top: 40px; padding: 40px; border: 1px solid var(--line); background: #fff; }
.enquiry h2 { margin-top: 0; }
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px; border: 1px solid #bbb; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-text); }
.form-note { font-size: 14px; margin: 0; }
.enquiry-form button { border: 0; cursor: pointer; font: inherit; font-weight: 800; }

/* =========================================================
   Design refresh: large hero, categories, brand intro
   ========================================================= */
.lead { font-size: 18px; max-width: 720px; }
.section-cream { background: var(--cream); }
.btn-lg { padding: 17px 26px; font-size: 17px; }

.hero-large { padding: 0; min-height: min(88vh, 820px); display: flex; align-items: center;
  background: radial-gradient(ellipse at 78% 35%, #3a2c0b 0%, #120e05 38%, var(--black) 70%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; padding: 80px 0; }
.hero-large h1 { font-size: clamp(42px, 7.5vw, 86px); letter-spacing: -2.5px; }
.hero-large h1 span { font-size: .38em; letter-spacing: -.5px; line-height: 1.3; margin-top: 16px; }
.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: #b5b5b5; font-size: 15px; }
.hero-facts b { color: var(--gold-light); }
.hero-art { margin: 0; justify-self: center; width: min(320px, 100%); opacity: .95; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(199,147,28,.18)); }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
@media (max-width: 1100px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
.category-card { display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.category-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); border-color: var(--gold); }
.category-card .symbol { font-size: 34px; color: var(--gold-text); }
.category-card h3 { margin: 18px 0 8px; font-size: 24px; }
.category-card p { margin: 0 0 18px; }
.category-card .more { margin-top: auto; font-weight: 800; color: var(--gold-text); }

.value-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.value-list li { background: #fff; border-left: 4px solid var(--gold); padding: 20px 22px; }
.value-list b { display: block; margin-bottom: 4px; }
.value-list span { color: var(--muted); }

.dark .step { background: #141414; border-color: #2c2c2c; }
.dark .step h3 { color: #fff; }
.dark .num { color: var(--gold-light); }


/* ----- FAQ ----- */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 28px; }
.faq-item { border-top: 2px solid var(--line); padding-top: 18px; }
.faq-item h3 { font-size: 19px; margin-bottom: 8px; }
.faq-item p { margin: 0; }

/* ----- Footer ----- */
.site-footer { background: #050505; color: #fff; padding: 48px 0 96px; }
.site-footer .brand { color: #fff; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 35px; }
.foot p, .foot a { color: #a8a8a8; font-size: 14px; line-height: 1.7; }
.foot-title { font-size: 16px; letter-spacing: 0; margin: 0 0 8px; }
.copy { border-top: 1px solid #222; margin: 35px 0 0; padding-top: 20px; color: #8f8f8f; font-size: 13px; }

/* =========================================================
   Phones and small tablets
   ========================================================= */
@media (max-width: 800px) {
  .nav { height: 62px; gap: 10px; }
  .brand { font-size: 20px; margin-right: auto; }
  .call { font-size: 13px; padding: 10px 12px; }

  /* Menu button (≡) */
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; order: 3; background: none; border: 1px solid #ccc; border-radius: var(--radius); padding: 9px 11px; font: inherit; font-weight: 800; font-size: 13px; color: var(--ink); cursor: pointer; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

  /* Drop-down menu */
  .site-menu { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid #ddd; box-shadow: 0 10px 20px rgba(0,0,0,.08); margin: 0; }
  .site-menu.is-open { display: flex; }
  .site-menu a { padding: 15px 4%; border-top: 1px solid #eee; font-size: 16px; }

  /* Without JavaScript, show the menu as a simple row so links still work */
  .no-js .menu-toggle { display: none; }
  .no-js .site-menu { display: flex; position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; }

  .section { padding: 55px 0; }
  .hero { padding: 48px 0 44px; }
  .hero-text { font-size: 16px; }
  .bar-list { grid-template-columns: 1fr 1fr; }
  .two, .location { grid-template-columns: 1fr; gap: 30px; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .box, .location-card, .note { padding: 28px; }
  .foot { grid-template-columns: 1fr; }
  .cta { padding: 32px 24px; }
  .hero-large { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; padding: 52px 0 48px; }
  .hero-art { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .enquiry { padding: 28px 20px; }
  .enquiry-form { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .features { grid-template-columns: 1fr; }
  .btns .btn { flex: 1 1 100%; text-align: center; }
}

/* Respect people who turn off animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Category pages (/hookahs, /hookah-flavours, /hookah-charcoal, /hookah-accessories) ===== */
.crumbs { font-size: 14px; color: #b5b5b5; margin-bottom: 18px; }
.crumbs a { color: var(--gold-light); }
.category-hero .btns { margin-top: 28px; }
.note-title { font-size: 24px; margin-bottom: 12px; }
.category-grid-3 { grid-template-columns: repeat(3, 1fr); }
.category-grid-3 .category-card h3 { margin-top: 0; }
@media (max-width: 1100px) { .category-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .category-grid-3 { grid-template-columns: 1fr; } }

/* ===== Product cards on category pages (data: public/products.json) ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.product-card picture, .product-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.product-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.product-body h3 { font-size: 21px; margin: 0; }
.product-body p { margin: 0; }
.product-price { font-size: 17px; }
.product-price b { font-size: 22px; }
.stock { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 99px; background: #e7f4ea; color: #1c6b34; font-size: 13px; font-weight: 800; vertical-align: 2px; }
.product-options { font-size: 14px; color: var(--muted); line-height: 1.6; }
.product-options b { color: inherit; }
.product-body .btn { margin-top: auto; align-self: flex-start; }
.flavour-field select { width: 100%; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }

/* ===== Age check (18+) – shown until the visitor confirms; remembered in their browser ===== */
html.age-pending body { overflow: hidden; }
html.age-pending body::after { content: ""; position: fixed; inset: 0; background: rgba(9, 9, 9, .94); z-index: 998; }
.age-gate { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; padding: 20px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); background: rgba(9, 9, 9, .94); }
.age-box { width: min(440px, 100%); background: #111; color: #fff; border: 1px solid #3a2c0b; border-radius: 14px; padding: 34px 28px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.age-box .brand { display: block; margin-bottom: 18px; font-size: 26px; color: #fff; }
.age-box h2 { font-size: 26px; margin: 0 0 10px; }
.age-box p { color: #c9c9c9; margin: 0 0 22px; }
.age-box .btns { justify-content: center; margin-top: 0; }
.age-box .btn { min-width: 150px; }
.age-box .age-note { font-size: 13px; color: #9a9a9a; margin: 20px 0 0; }
.age-box .age-sorry { color: var(--gold-light); font-weight: 700; }

/* WhatsApp buttons */
.btn.whatsapp { background: #1f8f4e; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.btn.whatsapp:hover { background: #18773f; }
.wa-icon { flex: none; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1f8f4e; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float:hover { background: #18773f; }
.wa-float .wa-icon { width: 30px; height: 30px; }
/* Free delivery offer */
.offer { margin: 34px 0 26px; padding: 28px 30px; border: 2px solid var(--gold); border-radius: var(--radius); background: rgba(199,147,28,.08); max-width: 760px; }
.offer-tag { text-transform: uppercase; letter-spacing: 2px; font-weight: 900; font-size: 13px; color: var(--gold-light); margin: 0 0 6px; }
.offer h3 { margin: 0 0 8px; font-size: 26px; }
.offer-lead { margin: 0 0 14px; }
.offer-terms summary { cursor: pointer; font-weight: 800; color: var(--gold-light); }
.offer-terms ul { margin: 12px 0 0; padding-left: 20px; line-height: 1.8; }

.form-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
