/* More custom classes for moved inline styles from index.html */
.faq-grid { display: grid; gap: .5rem; }
.faq-answer { margin: .5rem 0 0; color: #e7dccf; }
.location-container { margin-top: 1rem; }
.location-map-container { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); }
.location-map { border: 0; display: block; }
.location-link { margin-top: .6rem; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.3); z-index: 9999; }
.whatsapp-icon { font-size: 24px; }
/* Utility classes added during cleanup */
.is-hidden { display: none !important; }
.shop-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin: .25rem 0 .75rem; }
.hero-actions--compact { margin-top: .5rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.blog-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden; }
.blog-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card-content { padding: .9rem; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.process-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 1rem; }
.field--compact { margin-top: -0.2rem; }
.checkbox-label { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.max-width-760 { max-width: 760px; }
/* Checkout / utilities */
.min-vh-offset { min-height: calc(100dvh - 80px); }
.mt-1 { margin-top: .25rem; }
.max-width-520 { max-width: 520px; margin: 0 auto .9rem; }
.notify-actions { display:flex; flex-direction:column; gap:.55rem; margin:.5rem 0 1rem; }
.action-row { display:flex; gap:.6rem; flex-wrap:wrap; justify-content:center; }
.note-small { display:block; margin-top:.9rem; opacity:.65; font-size:.72rem; }
.pt-120 { padding-top: 120px; }
.address-normal { font-style: normal; }
.controls-row { display:grid; grid-template-columns: 1fr auto; gap:.6rem; margin-bottom:.4rem; align-items:end; }
.filter-search { width:100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color:#fff; padding:.6rem .7rem; border-radius:10px; }
.hero-actions--lg { margin-top: .75rem; }
.hero-actions--xl { margin-top: 1rem; }
.vh-center { min-height: 70vh; display: grid; place-items: center; }
.text-center { text-align: center; }
.huge-icon { font-size: 56px; line-height: 1; margin-bottom: .5rem; color: var(--gold); }
.mb-1 { margin-bottom: .5rem; }
/*
  Prime Coffee — Stylesheet
  - Premium, elegant, and responsive design
  - Color palette: coffee browns, cream, black, gold accents
  - Animations: fade-in, slide-up; subtle hover effects
*/

:root {
  --coffee-900: #2b211c;  /* deep espresso */
  --coffee-800: #3a2a23;
  --coffee-700: #4a352b;
  --coffee-600: #6b3a2b;  /* rich roast */
  --coffee-500: #8a5a3a;
  --cream-100: #f3e9dc;   /* cream */
  --cream-50:  #faf6f0;
  --black:      #0f0e0d;
  --gold:       #c8a86b;   /* luxury */
  --muted:      #a18c7b;
  --white:      #ffffff;
  --card-border: rgba(255,255,255,.12);

  --container:  1200px;
  --radius:     14px;
  --shadow:     0 10px 30px rgba(0,0,0,.25);
}

/* Typography */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--cream-100);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(200,168,107,.08), transparent 60%),
              radial-gradient(1200px 800px at 10% 110%, rgba(107,58,43,.08), transparent 60%),
              var(--coffee-900);
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/* Focus ring and accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #000;
  padding: .5rem .75rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  z-index: 10000;
}
.skip-link:focus { left: 0; }

/* Light theme overrides */
:root[data-theme='light'] {
  --coffee-900: #fffdfb;
  --coffee-800: #f7f3ee;
  --coffee-700: #efe9e2;
  --coffee-600: #e4dccf;
  --coffee-500: #d7c8b5;
  --cream-100: #3a2a23;
  --cream-50: #4a352b;
  --black: #0f0e0d;
  --muted: #66584c;
  --card-border: rgba(0,0,0,.12);
  color-scheme: light;
}
:root[data-theme='light'] body {
  color: var(--cream-100);
  background: radial-gradient(1000px 600px at 80% -10%, rgba(200,168,107,.15), transparent 60%),
              radial-gradient(1000px 600px at 10% 110%, rgba(107,58,43,.12), transparent 60%),
              #ffffff;
}
:root[data-theme='light'] .site-header { background: rgba(255,255,255,.7); border-bottom-color: rgba(0,0,0,.08); }
:root[data-theme='light'] .main-nav a:hover { background: rgba(0,0,0,.05); }
:root[data-theme='light'] .cart a.cart-link { border-color: rgba(0,0,0,.25); }
:root[data-theme='light'] .product-card, :root[data-theme='light'] .faq-item, :root[data-theme='light'] .testimonial { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.1); }
:root[data-theme='light'] .btn.btn-ghost { background: rgba(0,0,0,.05); }

h1, h2, h3, .logo span {
  font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
}

h1 { font-size: clamp(2rem, 3.2vw + 1rem, 3.2rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 1.2vw + 1rem, 2.2rem); }
h3 { font-size: 1.125rem; letter-spacing: .3px; }

p, li { color: #e7dccf; }

/* Layout */
.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}
.section { position: relative; padding: 72px 0; }
/* Header offset utility for pages without full-bleed hero */
.with-header-offset { padding-top: 96px; }
@media (max-width: 768px) { .with-header-offset { padding-top: 72px; } }
@media (max-width: 768px) {
  .section { padding: 56px 0; }
}

/* Breadcrumbs */
.breadcrumb { margin: .5rem 0 1rem; font-size: .95rem; opacity: .9; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Testimonials */
.testimonials {
  position: relative;
}
.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  gap: 1rem;
  overflow: hidden;
}
.testimonial {
  min-width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1rem;
}
.testimonial p {
  margin: 0 0 0.5rem;
  color: #e7dccf;
}
.testimonial footer {
  color: #cfc6b6;
}
.testimonial-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: .6rem;
}
.faq-item {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: .6rem .9rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}
.faq-item p { color: var(--muted); margin: .5rem 0 0; }

/* Brand logo treatment */
.brand-logo {
  height: 40px; /* Increased for better readability */
  width: auto;
  display: inline-block;
  filter: brightness(1.2) saturate(1.05) drop-shadow(0 1px 1px rgba(0,0,0,.35));
  transition: filter .25s ease, transform .25s ease;
}
/* Slight interactive emphasis on hover (non-essential, accessible) */
.logo:hover .brand-logo { filter: brightness(1.25) saturate(1.12); transform: translateY(-2px); }
@media (max-width: 768px){ .brand-logo { height: 32px; } }

/* Team avatars fallback using logo */
.team-card .avatar img {
  background: #2a211c;
  border-radius: 12px;
    object-fit: contain;
    padding: 6px;
    filter: brightness(1.05) saturate(1.1);
}
.section-title { margin: 0 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(22,16,13,.45);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--cream-100); text-decoration: none; font-weight: 700; letter-spacing: .3px; margin-right: 1.2rem; }
.logo .fa-mug-saucer { color: var(--gold); }

.main-nav { position: relative; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 1.25rem; align-items: center; list-style: none; margin: 0; padding: 0; justify-content: flex-end; }
.main-nav a { color: var(--cream-100); text-decoration: none; padding: .6rem .9rem; border-radius: 12px; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.main-nav a:hover { background: rgba(255,255,255,.08); }

.main-nav .cta a { background: linear-gradient(135deg, var(--gold), #e2c98a); color: var(--black); font-weight: 700; box-shadow: 0 6px 18px rgba(200,168,107,.30); }
.main-nav .cta a:hover { box-shadow: 0 10px 24px rgba(200,168,107,.35); transform: translateY(-1px); }

/* Cart icon */
.cart a.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; }
.cart a.cart-link i { font-size: 18px; }
.cart a.cart-link:hover { background: rgba(255,255,255,.08); }
.cart .cart-badge { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; display: inline-grid; place-items: center; background: linear-gradient(135deg, #ffb86b, #ff8a00); color: #000; font-weight: 700; font-size: 10px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); box-shadow: 0 4px 10px rgba(0,0,0,.25); }

/* Mobile nav */
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.2); background: transparent; border-radius: 14px; cursor: pointer; }
.header-spacer-left { flex: 0 0 auto; display: flex; align-items: center; }
.header-right-group { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.header-right-group > * { flex: 0 0 auto; }

/* Refined container padding for header to allow breathing space */
.site-header .container { padding-left: 1rem; padding-right: 1rem; }

@media (min-width: 1280px) {
  .site-header .container { padding-left: 1.75rem; padding-right: 1.75rem; }
}

/* Tighten language switcher and theme button spacing */
.language-switcher { margin-left: .25rem; }
#themeToggle { margin-left: .75rem !important; }
.nav-toggle .bar { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle .bar:nth-child(1) { top: 13px; }
.nav-toggle .bar:nth-child(2) { top: 20px; }
.nav-toggle .bar:nth-child(3) { top: 27px; }

/* Hero */
.hero { min-height: 100vh; display: grid; place-items: center; padding-top: 120px; padding-bottom: 120px; }
.hero-bg { position: absolute; inset: 0; background: url('assets/images/PRIME-11.jpg') center/cover no-repeat; filter: brightness(1.06) saturate(1.08) contrast(1.03); }
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; filter: brightness(1.07) saturate(1.06) contrast(1.02); aspect-ratio: 16/9; }
.hero-slides img.active { opacity: 1; }
.reduce-motion .hero-slides img { transition: none !important; }
.overlay { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 50%, rgba(0,0,0,.22), rgba(0,0,0,.55)), linear-gradient(to bottom, rgba(0,0,0,.30), rgba(0,0,0,.60)); }
.hero-content { position: relative; text-align: center; max-width: 860px; }
.sub { font-size: clamp(1rem, .6vw + .8rem, 1.25rem); color: #f0e7da; opacity: .95; margin: 12px 0 28px; }

/* Keep a readable layout on smaller screens (slightly tighter padding) */
@media (max-width: 600px) {
  .hero .container { padding-left: 1rem; padding-right: 1rem; }
  .hero-content { max-width: 100%; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; border-radius: 999px; padding: .9rem 1.25rem; font-weight: 600; border: 1px solid transparent; transition: transform .15s ease, filter .2s ease, box-shadow .2s ease; }
.btn-primary { background: linear-gradient(135deg, var(--gold), #e2c98a); color: var(--black); box-shadow: 0 12px 28px rgba(200,168,107,.24); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.02); box-shadow: 0 18px 34px rgba(200,168,107,.32); }
.btn-ghost { color: var(--cream-100); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn.active { box-shadow: inset 0 0 0 2px var(--gold); }

/* Language switcher */
.language-switcher { position: relative; display: inline-block; }
.language-btn { display: inline-flex; align-items: center; gap: .45rem; height: 42px; padding: 0 .8rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--cream-100); cursor: pointer; }
.language-btn:hover { background: rgba(255,255,255,.08); }
.language-dropdown { position: absolute; right: 0; top: calc(100% + 8px); background: rgba(25,18,15,.98); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: .35rem; display: none !important; flex-direction: column; min-width: 170px; box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.language-dropdown a { display: block; padding: .45rem .6rem; color: #fff; text-decoration: none; border-radius: 8px; }
.language-dropdown a:hover { background: rgba(255,255,255,.08); }
.language-switcher.open .language-dropdown { display: block !important; }

/* Shop */
.shop-sub { color: #efe5d8; margin-top: 0; opacity: .95; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1rem; }
.product-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.3); border-color: rgba(255,255,255,.16); }
.product-media { position: relative; background: #2c221d; }
.product-media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; filter: saturate(1.04) contrast(1.04); }
.badge { position: absolute; left: 12px; top: 12px; background: linear-gradient(135deg, var(--gold), #e2c98a); color: var(--black); font-weight: 700; font-size: .75rem; padding: .25rem .5rem; border-radius: 999px; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 6px 14px rgba(200,168,107,.25); }
.favorite-btn { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s ease, transform .15s ease; }
.favorite-btn:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.favorite-btn.active { background: rgba(200,168,107,.25); color: var(--gold); border-color: rgba(200,168,107,.45); }
.product-body { padding: 1rem; }
.product-body h3 { margin: 0 0 .25rem; }
.product-body p { margin: 0 0 .8rem; color: #e8dece; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.price { font-weight: 700; color: var(--gold); letter-spacing: .3px; }

/* Filters bar (Products page) */
.filters-bar { display: grid; grid-template-columns: 1fr; gap: .6rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: .8rem; margin: .6rem 0 1rem; }
.filters-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.filters-bar label { font-weight: 600; color: #f1e6d8; font-size: .9rem; margin-bottom: .25rem; display: inline-block; }
.filters-bar select { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; padding: .6rem .7rem; border-radius: 10px; outline: none; }
.filters-bar select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,168,107,.15); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: center; }
.about-text p { margin: 0 0 16px; }
.values { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: .6rem; }
.values li { display: flex; align-items: center; gap: .6rem; }
.values i { color: var(--gold); }
.about-media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-media figcaption { position: absolute; inset: auto 0 0 0; padding: .6rem 1rem; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); font-size: .9rem; color: #efe5d8; }

/* Team */
.team { background: linear-gradient(to bottom, rgba(255,255,255,.02), rgba(255,255,255,.0)); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.team-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: 1.2rem; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.28); border-color: rgba(255,255,255,.16); }
.team-card .avatar { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: #452f26; margin-bottom: .8rem; border: 2px solid rgba(200,168,107,.55); }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card .avatar img[src$="avatar-placeholder.svg"] { object-fit: contain; background: #3c2a23; padding: 6px; }
.team-card .name { color: #f1e6d8; margin: .25rem 0 .5rem; font-weight: 600; }
.team-card .phone { color: #e9dfd3; text-decoration: none; }
.team-card .phone i { color: var(--gold); margin-right: .35rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; }
.contact-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: .35rem; }
.contact-list a { color: #efe5d8; text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,.2); }
.socials { display: flex; gap: .75rem; margin-top: .75rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.1); transition: transform .2s ease, background .2s ease; }
.socials a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

.contact-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1rem; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.contact-form .field { display: grid; gap: .4rem; margin-bottom: .85rem; }
.contact-form label { font-weight: 600; color: #f1e6d8; }
.contact-form input, .contact-form textarea { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: .8rem .9rem; color: #fff; outline: none; transition: border .2s ease, background .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { background: rgba(255,255,255,.1); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,168,107,.15); }
.contact-form .error { color: #ffb4a6; min-height: 1.1rem; }
.contact-form .form-status { margin-top: .6rem; min-height: 1.2rem; color: #eae0d4; }

/* Footer */
.footer { position: relative; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.06); background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,.25)); overflow: hidden; }
.footer-inner { text-align: center; position: relative; z-index: 1; }
.footer p { margin: 0; color: #e7dccf; }

/* Unified footer navigation */
.footer-nav { margin-bottom: .75rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.footer-nav a { display: block; padding: .4rem .7rem; font-size: .82rem; color: #e7dccf; text-decoration: none; border-radius: 8px; letter-spacing: .3px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.footer-nav a:hover { background: rgba(255,255,255,.1); color: var(--gold); border-color: rgba(255,255,255,.18); }
.footer-nav a:active { background: rgba(255,255,255,.16); }
.site-credit { text-align: center; font-size: .7rem; opacity: .7; margin: .75rem 0 0; letter-spacing: .4px; }
.site-credit a { color: var(--gold); text-decoration: none; }
.site-credit a:hover { text-decoration: underline; }

@media (max-width: 640px){
  .footer-nav a { padding: .35rem .55rem; font-size: .78rem; }
}

:root[data-theme='light'] .footer-nav a { background: rgba(0,0,0,.04); color: #3a2a23; border-color: rgba(0,0,0,.08); }
:root[data-theme='light'] .footer-nav a:hover { background: rgba(0,0,0,.08); color: var(--coffee-600); }

/* Decorative coffee beans pattern using inline SVG */
.beans-pattern { position: absolute; inset: 0; opacity: .18; z-index: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><defs><radialGradient id='rg' cx='50%' cy='50%' r='50%'><stop offset='0%' stop-color='%23c8a86b' stop-opacity='0.35'/><stop offset='100%' stop-color='%23c8a86b' stop-opacity='0'/></radialGradient></defs><g fill='none' stroke='%23c8a86b' stroke-opacity='.25' stroke-width='1.2'><ellipse cx='30' cy='30' rx='12' ry='18'/><ellipse cx='110' cy='70' rx='12' ry='18' transform='rotate(30 110 70)'/><ellipse cx='60' cy='120' rx='12' ry='18' transform='rotate(-20 60 120)'/></g><circle cx='130' cy='130' r='50' fill='url(%23rg)'/></svg>"); background-repeat: repeat; background-size: 320px; filter: blur(0.2px); }

/* Toast */
.toast { position: fixed; right: 18px; bottom: 18px; background: rgba(25,18,15,.96); color: #f3e9dc; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.35); padding: .7rem .9rem; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 1000; }
.toast.show { opacity: 1; transform: translateY(0); }

/* Cart Drawer */
.cart-drawer { position: fixed; inset: 0; display: grid; grid-template-columns: 1fr; z-index: 1001; pointer-events: none; }
.cart-drawer.open { pointer-events: auto; }
.cart-backdrop { grid-area: 1/1; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s ease; }
.cart-drawer.open .cart-backdrop { opacity: 1; }
.cart-panel { grid-area: 1/1; margin-left: auto; width: min(420px, 92vw); height: 100vh; background: rgba(25,18,15,.98); border-left: 1px solid rgba(255,255,255,.08); box-shadow: -18px 0 48px rgba(0,0,0,.5); transform: translateX(8px); opacity: 0; transition: transform .25s ease, opacity .25s ease; display: flex; flex-direction: column; }
.cart-drawer.open .cart-panel { transform: translateX(0); opacity: 1; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.cart-header h2 { margin: 0; font-size: 1.25rem; }
.cart-close { background: transparent; border: 1px solid rgba(255,255,255,.2); color: #fff; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; }
.cart-close:hover { background: rgba(255,255,255,.08); }
.cart-body { overflow: auto; padding: .6rem; flex: 1; }
.cart-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .6rem; align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: .5rem; }
.cart-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #3a2a23; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-info h4 { margin: 0 0 2px; font-size: .98rem; }
.cart-info .price-line { color: #e8dece; font-size: .92rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; overflow: hidden; }
.qty button { width: 28px; height: 28px; background: rgba(255,255,255,.06); color: #fff; border: none; cursor: pointer; }
.qty span { display: inline-block; min-width: 28px; text-align: center; }
.cart-actions-inline { display: flex; align-items: center; gap: .5rem; }
.cart-remove { background: transparent; border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 999px; padding: .3rem .6rem; cursor: pointer; }
.cart-remove:hover { background: rgba(255,255,255,.08); }
.cart-footer { border-top: 1px solid rgba(255,255,255,.08); padding: .9rem; }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.cart-total span { color: #e7dccf; }
.cart-subtotal { color: var(--gold); font-size: 1.05rem; }
.cart-actions { display: flex; gap: .5rem; justify-content: flex-end; }

/* Mini customer form inside cart */
.cart-mini-form { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .6rem; }
.cart-mini-form .field { display: grid; gap: .25rem; }
.cart-mini-form label { font-weight: 600; color: #f1e6d8; font-size: .9rem; }
.cart-mini-form input { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: .6rem .7rem; color: #fff; outline: none; }
.cart-mini-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,168,107,.15); }

@media (max-width: 520px) {
  .cart-mini-form { grid-template-columns: 1fr; }
}

/* Receipt header */
/* Legacy receipt styles (retained for fallback) */
.receipt-header { display:none; }
.receipt-brand { display:none; }
.receipt-meta { display:none; }

/* Print: focus on main content and order summary */
@media print {
  .site-header, .footer, .toast, .cart-drawer, .nav-wrap, .hero, .shop, .about, .team, .contact, .scroll-to-top { display: none !important; }
  body { background: #fff; color: #000; }
  #invoice { display: block !important; }
  .no-print { display: none !important; }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Reduced motion support */
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
/* Screen-reader only utility */
.sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important; border:0 !important; }

/* Section scroll offset so anchors land below sticky header */
#home, #shop, #about, #team, #contact { scroll-margin-top: 90px; }

/* Responsive */
@media (max-width: 980px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .main-nav ul { position: absolute; right: 0; top: calc(100% + 10px); background: rgba(25,18,15,.98); border: 1px solid rgba(255,255,255,.08); padding: .6rem; border-radius: 14px; box-shadow: 0 14px 36px rgba(0,0,0,.4); display: grid; gap: .35rem; min-width: 220px; transform-origin: top right; transform: scale(.96); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease; }
  .main-nav.open ul { transform: scale(1); opacity: 1; pointer-events: auto; }
  .filters-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

/* Product Modal */
.product-modal { position: fixed; inset: 0; z-index: 1100; display: none; }
.product-modal.open { display: grid; grid-template-columns: 1fr; }
.product-modal-backdrop { background: rgba(0,0,0,.45); }
.product-modal-content { margin: auto; width: min(880px, 92vw); background: rgba(25,18,15,.98); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; box-shadow: 0 18px 48px rgba(0,0,0,.5); overflow: hidden; position: relative; }
.product-modal-close { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; }
.product-modal-main { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; }
.product-modal-img { background: #3a2a23; }
.product-modal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-modal-info { padding: 1rem; display: grid; gap: .7rem; }
.product-modal-info .price { font-size: 1.1rem; }
.modal-quantity-selector { display: inline-flex; align-items: center; gap: .4rem; }
.modal-quantity-selector .quantity-btn { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.modal-quantity-selector .quantity-input { width: 64px; text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: #fff; padding: .35rem .4rem; }

@media (max-width: 760px) {
  .product-modal-main { grid-template-columns: 1fr; }
}

/* Scroll to top */
.scroll-to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: rgba(25,18,15,.9); color: #fff; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 24px rgba(0,0,0,.35); text-decoration: none; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 1000; }
.scroll-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Preloader (Intro Splash) */
.preloader { position: fixed; inset: 0; display: grid; place-items: center; background: var(--coffee-900); z-index: 2000; transition: opacity .35s ease, visibility .35s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.intro-splash { display: grid; gap: 1rem; place-items: center; text-align: center; }
.logo-circle { position: relative; width: 180px; height: 180px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 48px rgba(0,0,0,.45) inset; }
.intro-logo { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.circular-text { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--gold); font: 600 12px/1 'Poppins', sans-serif; letter-spacing: 2px; animation: spin 12s linear infinite; opacity: .95; }
.welcome-text { color: #f1e6d8; font-weight: 700; letter-spacing: .4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Invoice Styles (Option B) */
.invoice { position: relative; max-width: 860px; margin: 1rem auto 0; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 1.25rem 1.25rem 1.5rem; box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); }
.invoice__watermark { content: ''; position: absolute; inset: 0; background: url('assets/images/Cofee logo.png') center/300px no-repeat; opacity: .05; pointer-events: none; }
.invoice__header { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: .8rem; position: relative; z-index: 1; }
.invoice__brand { display:flex; align-items:center; gap:.8rem; }
.invoice__brand .brand-logo { width:54px; height:54px; object-fit:contain; filter: brightness(1.2) saturate(1.05); }
.invoice__brand .brand-text h2 { margin:0; font-size:1.25rem; }
.invoice__brand .brand-text p, .invoice__brand .brand-text a { margin:0; font-size:.85rem; color: rgba(255,255,255,.85); }
.invoice__meta { text-align:right; font-size:.9rem; }
.invoice__parties { display:grid; grid-template-columns: 1fr 1fr; gap:1.25rem; padding: .9rem 0 0; position: relative; z-index: 1; }
.invoice__parties .party h3 { margin:.25rem 0 .25rem; font-size:1rem; }
.invoice__parties .party p { margin:.15rem 0; color: rgba(255,255,255,.85); }
.invoice__items { margin-top: .9rem; position: relative; z-index:1; }
.invoice__items .items-head,
.invoice__items .items-total { display:grid; grid-template-columns: 1fr 70px 120px 140px; gap:.75rem; align-items:center; }
.invoice__items .items-head { font-weight:700; color: rgba(255,255,255,.9); border-bottom:1px solid rgba(255,255,255,.12); padding-bottom:.5rem; }
.invoice__items .items-body { display:grid; gap:.5rem; margin:.6rem 0; }
.invoice__items .items-row { display:grid; grid-template-columns: 1fr 70px 120px 140px; gap:.75rem; align-items:center; }
.invoice__items .items-row .name { font-weight:600; }
.invoice__items .items-total { border-top:1px solid rgba(255,255,255,.12); padding-top:.6rem; }
.invoice__items .items-total .grand { font-weight:800; color: var(--gold); }
.invoice__notes { border-top:1px dashed rgba(255,255,255,.12); margin-top:.9rem; padding-top:.8rem; color: rgba(255,255,255,.75); font-size:.9rem; position: relative; z-index:1; }

@media print {
  .invoice { box-shadow:none; background:#fff; color:#000; border-color:#ccc; }
  .invoice__watermark { opacity:.06; background-size: 260px; }
  .invoice__brand .brand-text p, .invoice__brand .brand-text a { color:#333; }
  .invoice__items .items-head { color:#000; border-color:#ddd; }
  .invoice__items .items-total { border-color:#ddd; }
  .invoice__items .items-total .grand { color:#000; }
}
