/* ═══════════════════════════════════════════
   YCBD.UK — Shared Stylesheet
   Premium CBD | UK & EU Legal
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  --cream:      #F5F0E8;
  --sage:       #7A8C6E;
  --deep-green: #2D4A3E;
  --forest:     #1A2E25;
  --gold:       #C4A35A;
  --warm-white: #FDFAF5;
  --charcoal:   #2A2A2A;
  --mist:       #E8EDE5;
  --rust:       #A85C3A;
  --font-d: 'Cormorant Garamond', serif;
  --font-b: 'DM Sans', sans-serif;
  --r: 0px;
  --shadow: 0 4px 30px rgba(26,46,37,0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── ANNOUNCEMENT BAR ── */
.ann-bar {
  background: var(--deep-green);
  color: var(--cream);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 200;
}
.ann-bar a { color: var(--gold); text-decoration: underline; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; width: 100%; z-index: 150;
  background: rgba(253,250,245,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(122,140,110,0.18);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(26,46,37,0.1); }
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3rem;
}
.nav-logo {
  font-family: var(--font-d); font-size: 2rem; color: var(--forest);
  letter-spacing: 0.3em; text-decoration: none; flex-shrink: 0;
}
.nav-links {
  display: flex; gap: 2.2rem; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--charcoal);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--deep-green); border-color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.nav-cta {
  background: var(--deep-green); color: var(--cream) !important;
  padding: 0.6rem 1.6rem; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; transition: background 0.3s;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--gold); color: var(--forest) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 1px; background: var(--charcoal); transition: all 0.3s; }

/* ── BUTTONS ── */
.btn { display: inline-block; text-decoration: none; cursor: pointer; font-family: var(--font-b); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 2.2rem; transition: all 0.3s; border: none; }
.btn-primary { background: var(--deep-green); color: var(--cream); }
.btn-primary:hover { background: var(--gold); color: var(--forest); }
.btn-outline { background: transparent; border: 1px solid var(--deep-green); color: var(--deep-green); }
.btn-outline:hover { background: var(--deep-green); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--cream); color: var(--forest); }

/* ── TYPOGRAPHY HELPERS ── */
.label { font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: 0.8rem; }
.h1 { font-family: var(--font-d); font-size: clamp(2.8rem,5vw,5.5rem); font-weight: 300; line-height: 1.08; color: var(--forest); }
.h2 { font-family: var(--font-d); font-size: clamp(2rem,3.5vw,3.8rem); font-weight: 300; line-height: 1.15; color: var(--forest); }
.h3 { font-family: var(--font-d); font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 300; line-height: 1.25; color: var(--forest); }
em { font-style: italic; color: var(--sage); }
.lead { font-size: 1.05rem; line-height: 1.85; color: #555; max-width: 600px; }

/* ── LAYOUT ── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 3rem; }
.section { padding: 6rem 3rem; max-width: 1400px; margin: 0 auto; }
.section-full { padding: 6rem 0; }

/* ── MARQUEE ── */
.marquee-wrap { background: var(--deep-green); padding: 1rem 0; overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-flex; animation: marquee 35s linear infinite; }
.marquee-inner span { font-family: var(--font-d); font-size: 1rem; font-style: italic; color: rgba(255,255,255,0.7); padding: 0 2.5rem; }
.marquee-inner .dot { color: var(--gold); opacity: 1; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── PRODUCT CARD ── */
.product-card { overflow: hidden; cursor: pointer; transition: transform 0.4s; }
.product-card:hover { transform: translateY(-5px); }
.product-img { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--mist); }
.product-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.6s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.2rem 0.7rem; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.tag-best { background: var(--gold); color: var(--forest); }
.tag-new { background: var(--deep-green); color: var(--cream); }
.tag-sale { background: var(--rust); color: var(--cream); }
.product-info { padding: 1.1rem 0 0.4rem; }
.product-name { font-family: var(--font-d); font-size: 1.15rem; color: var(--forest); margin-bottom: 0.2rem; }
.product-sub { font-size: 0.73rem; color: var(--sage); letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.product-price { font-size: 0.95rem; font-weight: 500; color: var(--deep-green); }
.product-price s { font-size: 0.8rem; color: #bbb; margin-right: 0.4rem; font-weight: 300; }
.add-btn {
  width: 100%; padding: 0.75rem; margin-top: 0.8rem; font-family: var(--font-b);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--deep-green);
  color: var(--deep-green); cursor: pointer; transition: all 0.3s;
}
.add-btn:hover { background: var(--deep-green); color: var(--cream); }

/* ── HERO VARIANTS ── */
.page-hero {
  background: var(--forest);
  padding: 7rem 3rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(122,140,110,0.15), transparent);
}
.page-hero .label { color: var(--gold); }
.page-hero .h1, .page-hero .h2 { color: var(--cream); }
.page-hero .lead { color: rgba(255,255,255,0.65); margin: 1.5rem auto 0; }

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }

/* ── FEATURE CARD ── */
.feature-card { padding: 2.5rem; background: var(--mist); }
.feature-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.feature-card h4 { font-family: var(--font-d); font-size: 1.3rem; color: var(--forest); margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.88rem; line-height: 1.8; color: #666; }

/* ── STAT CARD ── */
.stat-card { text-align: center; padding: 2rem; }
.stat-number { font-family: var(--font-d); font-size: 3.5rem; color: var(--gold); font-weight: 300; line-height: 1; }
.stat-label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 0.5rem; }

/* ── REVIEW CARD ── */
.review-card { background: var(--warm-white); padding: 2.2rem; }
.stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 0.8rem; }
.review-text { font-family: var(--font-d); font-size: 1.05rem; font-style: italic; color: var(--forest); line-height: 1.75; margin-bottom: 1.2rem; }
.reviewer { display: flex; align-items: center; gap: 0.9rem; }
.reviewer-av { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; }
.reviewer-av img { width:100%; height:100%; object-fit:cover; }
.reviewer-name { font-size: 0.82rem; font-weight: 500; }
.reviewer-meta { font-size: 0.72rem; color: #aaa; }
.reviewer-verified { font-size: 0.68rem; color: var(--sage); }

/* ── LEGAL TABLE ── */
.legal-content { max-width: 860px; }
.legal-content h3 { font-family: var(--font-d); font-size: 1.4rem; color: var(--deep-green); margin: 2rem 0 0.6rem; border-bottom: 1px solid var(--mist); padding-bottom: 0.4rem; }
.legal-content p { font-size: 0.9rem; line-height: 1.9; color: #555; margin-bottom: 0.8rem; }
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-content ul li { font-size: 0.88rem; line-height: 1.8; color: #555; margin-bottom: 0.3rem; }
.legal-content .notice-box {
  background: var(--mist); border-left: 3px solid var(--gold);
  padding: 1.2rem 1.5rem; margin: 1.5rem 0; font-size: 0.85rem; line-height: 1.8; color: #555;
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--mist); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 0; font-family: var(--font-d); font-size: 1.2rem;
  color: var(--forest); text-align: left; font-weight: 400;
}
.faq-q .icon { font-size: 1rem; color: var(--sage); flex-shrink: 0; transition: transform 0.3s; }
.faq-q.open .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { font-size: 0.9rem; line-height: 1.9; color: #666; padding-bottom: 1.2rem; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: 0.75rem; color: #aaa; margin-bottom: 2rem; }
.breadcrumb a { color: var(--sage); text-decoration: none; }
.breadcrumb a:hover { color: var(--deep-green); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── FOOTER ── */
footer {
  background: var(--forest);
  padding: 5rem 0 0;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 4rem; padding: 0 3rem 4rem;
}
.footer-logo { font-family: var(--font-d); font-size: 2.2rem; color: var(--cream); letter-spacing: 0.3em; margin-bottom: 1rem; }
.footer-desc { font-size: 0.82rem; line-height: 1.9; color: rgba(255,255,255,0.5); max-width: 260px; margin-bottom: 1.8rem; }
.footer-social { display: flex; gap: 0.8rem; }
.social-link {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.75rem;
  font-weight: 500; transition: all 0.3s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream); margin-bottom: 1.4rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.8rem 3rem;
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start;
}
.footer-legal { font-size: 0.68rem; line-height: 1.85; color: rgba(255,255,255,0.3); max-width: 820px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { font-size: 0.68rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.payment-icons { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.6rem; }
.pay-badge { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); padding: 0.25rem 0.65rem; font-size: 0.6rem; color: rgba(255,255,255,0.45); border-radius: 1px; }

/* ── COOKIE BANNER ── */
#cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--forest); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
#cookie-bar p { font-size: 0.78rem; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 660px; }
#cookie-bar a { color: var(--gold); }
.cookie-btns { display: flex; gap: 0.8rem; flex-shrink: 0; }
.cookie-btns button {
  padding: 0.55rem 1.4rem; font-family: var(--font-b); cursor: pointer;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.ck-accept { background: var(--gold); color: var(--forest); border: none; }
.ck-reject { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); }

/* ── AGE GATE ── */
#age-gate {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--forest);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.8rem; padding: 2rem;
}
#age-gate .ag-logo { font-family: var(--font-d); font-size: 3.5rem; color: var(--gold); letter-spacing: 0.35em; }
#age-gate h2 { font-family: var(--font-d); font-size: 2rem; color: var(--cream); font-weight: 300; text-align: center; }
#age-gate p { font-size: 0.88rem; color: rgba(255,255,255,0.6); text-align: center; max-width: 420px; line-height: 1.8; }
.ag-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.ag-yes { background: var(--gold); color: var(--forest); border: 1px solid var(--gold); padding: 0.9rem 2.5rem; font-family: var(--font-b); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.ag-yes:hover { background: transparent; color: var(--gold); }
.ag-no { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.2); padding: 0.9rem 2.5rem; font-family: var(--font-b); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
#age-gate small { font-size: 0.7rem; color: rgba(255,255,255,0.3); text-align: center; max-width: 380px; line-height: 1.7; }

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 6rem; right: 2rem; z-index: 600;
  background: var(--deep-green); color: var(--cream);
  padding: 1rem 1.8rem; font-size: 0.82rem; border-left: 3px solid var(--gold);
  display: none; animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .container, .section { padding-left: 2rem; padding-right: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 0 2rem 3rem; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-inner { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--warm-white); padding: 1.5rem 1.5rem 2rem; border-bottom: 1px solid var(--mist); gap: 1.2rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .section { padding: 4rem 1.5rem; }
  .container { padding: 0 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.5rem 3rem; }
  .footer-bottom { padding: 1.5rem; flex-direction: column; }
  #cookie-bar { padding: 1.2rem 1.5rem; }
  .page-hero { padding: 5rem 1.5rem 4rem; }
}
