/* ═══════════════════════════════════════════════════════
   CAFÉ SIGLO DE ORO — Design System v4
   Mobile-first · Premium · Accessible · Production
═══════════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--black); color: var(--cream); font-family: var(--font-sans); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); line-height: 1.2; color: var(--cream); }
h1 { font-size: clamp(1.75rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 600; }
p { color: var(--ivory); line-height: 1.7; }

/* ── CSS Variables (overridden by /css/theme.css) ───────── */
:root {
  --gold: #D4A830; --gold-light: #EDD24A; --gold-dark: #8B6F3A;
  --black: #0C0A07; --espresso: #1A1508; --roast: #241C0C;
  --cream: #F5ECD7; --ivory: #C4AE89;
  --border: rgba(212,168,48,.15); --border-md: rgba(212,168,48,.28);
  --r: 8px; --r-lg: 12px; --r-xl: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.6);
  --transition: .22s ease;
  --container: 1200px; --container-sm: 800px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --header-h: 70px;
}
@media (min-width: 768px) { :root { --header-h: 76px; } }

/* ── Layout ─────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container-sm { width: 100%; max-width: var(--container-sm); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
@media (min-width: 768px) { .container { padding: 0 2rem; } .container-sm { padding: 0 2rem; } .section { padding: 5rem 0; } }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title .overline { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .5rem; }
.section-title h2 { margin-bottom: .75rem; }
.section-title p { max-width: 540px; margin: 0 auto; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.75rem; font-size: .875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; transition: all .2s; cursor: pointer; border: none; white-space: nowrap; font-family: inherit; text-decoration: none; line-height: 1; }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-light); color: var(--black); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,168,48,.3); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--border-md); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 1.1rem 2.25rem; font-size: .95rem; }
.btn-sm { padding: .5rem 1rem; font-size: .78rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ══════════════════════════════════════════════════════════
   HEADER — Always fixed on all devices
══════════════════════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 1.25rem; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(12,10,7,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(12,10,7,.98); box-shadow: 0 1px 0 var(--border); }
@media (min-width: 768px) { .header { padding: 0 2rem; } }
main { padding-top: var(--header-h); }

.logo { flex-shrink: 0; line-height: 0; }
.logo img { height: 42px; width: auto; object-fit: contain; display: block; }
@media (min-width: 768px) { .logo img { height: 48px; } }

.nav-main { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .nav-main { display: flex; } }
.nav-link { color: var(--ivory); font-size: .875rem; letter-spacing: .02em; padding: .3rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav-link:hover, .nav-link.active { color: var(--gold); border-bottom-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: .85rem; }
.lang-switcher { display: flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 500; letter-spacing: .06em; }
.lang-btn { color: var(--ivory); transition: color .2s; }
.lang-btn:hover { color: var(--gold); }
.lang-active { color: var(--gold); }
.lang-sep { color: var(--border-md); }

.cart-btn { position: relative; color: var(--cream); display: flex; align-items: center; padding: .25rem; transition: color .2s; }
.cart-btn:hover { color: var(--gold); }
.cart-count { position: absolute; top: -6px; right: -8px; background: var(--gold); color: var(--black); font-size: .6rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: .4rem; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--cream); transition: .3s; border-radius: 1px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
/* ── Hamburger → X animation ─────────────────────────────── */
.menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
  background: var(--gold);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
  background: var(--gold);
}


/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(12,10,7,.98); z-index: 999;
  flex-direction: column; padding: 1.25rem 1.5rem; gap: 0;
  overflow-y: auto; backdrop-filter: blur(16px);
}
.mobile-nav.open { display: flex; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav a {
  font-family: var(--font-serif); font-size: 1.2rem; color: var(--cream);
  padding: .9rem 0; border-bottom: 1px solid var(--border);
  transition: color .2s, padding-left .2s;
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold); padding-left: .5rem; }
.mobile-nav-footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-lang { display: flex; align-items: center; gap: .5rem; font-size: .8rem; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: calc(100svh - var(--header-h)); display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 4rem 0 3rem;
}
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, rgba(26,21,8,.3) 0%, rgba(12,10,7,.95) 70%); z-index: 1; }
.hero-bg { position: absolute; inset: 0; background-image: url('/images/hero-lifestyle.png'); background-size: cover; background-position: center; opacity: .28; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 780px; margin: 0 auto; padding: 0 1.25rem; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(212,168,48,.1); border: 1px solid var(--border-md); color: var(--gold); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 50px; margin-bottom: 1.75rem; }
.hero h1 { margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero-sub { font-size: clamp(.9rem, 2.5vw, 1.05rem); color: var(--ivory); max-width: 560px; margin: 0 auto 2.25rem; }
.hero-ctas { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--gold-dark); animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ── Trust Bar ──────────────────────────────────────────── */
.trust-bar { background: var(--espresso); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: .9rem 0; }
.trust-bar-inner { display: flex; justify-content: center; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding: 0 1.25rem; }
.trust-item { display: flex; align-items: center; gap: .5rem; color: var(--ivory); font-size: .78rem; flex-shrink: 0; }
.trust-item svg { color: var(--gold); flex-shrink: 0; }
@media (min-width: 768px) { .trust-bar-inner { gap: 2.5rem; } .trust-item { font-size: .8rem; } }

/* ── Product Cards ──────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 480px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card { background: var(--espresso); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-md); }
.product-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--roast); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-badge { position: absolute; top: .75rem; left: .75rem; background: var(--gold); color: var(--black); font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 4px; }
.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .35rem; }
.product-card-body h3, .product-card-body h2 { font-size: 1rem; margin-bottom: .2rem; }
.product-subtitle { font-size: .82rem; color: var(--gold-dark); margin-bottom: .5rem; }
.product-flavor { font-size: .8rem; color: var(--ivory); margin-bottom: .85rem; flex: 1; line-height: 1.5; }
.product-price { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--gold); margin-bottom: .85rem; }
.product-price span { font-size: .82rem; font-weight: 400; color: var(--ivory); }
.product-card-actions { display: flex; gap: .6rem; margin-top: auto; }

/* ── Product Detail ─────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 4rem; }
@media (min-width: 768px) { .product-detail { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }
.product-gallery { position: relative; }
@media (min-width: 768px) { .product-gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.product-main-img { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--espresso); }
.product-main-img img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 1.5rem; }
.product-thumbs { display: flex; gap: .6rem; margin-top: .75rem; }
.product-thumb { width: 72px; height: 72px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: border-color .2s; background: var(--espresso); flex-shrink: 0; }
.product-thumb.active, .product-thumb:hover { border-color: var(--gold); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { margin-bottom: .2rem; }
.product-info .product-subtitle { font-size: .95rem; color: var(--gold-dark); margin-bottom: 1.1rem; }
.product-price-lg { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); margin-bottom: 1.1rem; }
.product-features { margin: 1.1rem 0; }
.product-features li { display: flex; align-items: center; gap: .55rem; padding: .3rem 0; font-size: .875rem; color: var(--ivory); border-bottom: 1px solid rgba(212,168,48,.06); }
.product-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.product-specs { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: 1.1rem 0; }
.spec-item { background: var(--espresso); border: 1px solid var(--border); border-radius: var(--r); padding: .7rem .9rem; }
.spec-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .2rem; }
.spec-value { font-size: .875rem; color: var(--cream); }
.product-cta { display: flex; gap: .85rem; margin-top: 1.5rem; flex-wrap: wrap; }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--border-md); border-radius: var(--r); overflow: hidden; }
.qty-btn { width: 38px; height: 42px; display: flex; align-items: center; justify-content: center; background: var(--espresso); color: var(--cream); font-size: 1.1rem; transition: background .2s; }
.qty-btn:hover { background: var(--roast); }
.qty-input { width: 46px; height: 42px; text-align: center; background: var(--espresso); color: var(--cream); border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: .95rem; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-input:focus { outline: none; }

/* ── Shop ───────────────────────────────────────────────── */
.shop-header { padding: 2.5rem 0 1.75rem; text-align: center; }
.shop-header p { max-width: 540px; margin: .6rem auto 0; }
.category-filters { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn { padding: .45rem 1.1rem; border-radius: 50px; border: 1px solid var(--border-md); color: var(--ivory); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; transition: all .2s; background: transparent; cursor: pointer; font-family: inherit; }
.filter-btn:hover, .filter-btn.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   BLOG PAGE — Full editorial layout
══════════════════════════════════════════════════════════ */
.blog-hero { text-align: center; padding: 3rem 0 2rem; }
.blog-hero h1 { margin-bottom: .75rem; }
.blog-hero p { max-width: 540px; margin: 0 auto 1.5rem; }
.blog-cat-filter { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.blog-cat-btn { padding: .4rem 1rem; border-radius: 50px; border: 1px solid var(--border-md); color: var(--ivory); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; background: transparent; cursor: pointer; font-family: inherit; transition: all .2s; }
.blog-cat-btn:hover, .blog-cat-btn.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* Blog editorial grid: 2 cols featured + grid */
.blog-editorial { display: flex; flex-direction: column; gap: 3rem; padding-bottom: 4rem; }

/* Featured post (full-width hero card) */
.blog-hero-card {
  display: grid; grid-template-columns: 1fr;
  background: var(--espresso); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: border-color .25s; text-decoration: none;
}
@media (min-width: 768px) { .blog-hero-card { grid-template-columns: 1.1fr 1fr; min-height: 380px; } }
.blog-hero-card:hover { border-color: var(--border-md); }
.blog-hero-card-img { overflow: hidden; background: var(--roast); }
@media (max-width: 767px) { .blog-hero-card-img { aspect-ratio: 16/9; } }
.blog-hero-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-hero-card:hover .blog-hero-card-img img { transform: scale(1.04); }
.blog-hero-card-body { padding: 2rem 2rem; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 767px) { .blog-hero-card-body { padding: 1.5rem; } }
.blog-hero-card-body .blog-cat-label { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; display: block; }
.blog-hero-card-body h2 { font-family: var(--font-serif); font-size: clamp(1.2rem, 3vw, 1.65rem); color: var(--cream); line-height: 1.25; margin-bottom: .85rem; }
.blog-hero-card-body p { font-size: .875rem; color: var(--ivory); line-height: 1.7; margin-bottom: 1.1rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.blog-hero-card-meta { display: flex; align-items: center; gap: .85rem; font-size: .73rem; color: var(--gold-dark); flex-wrap: wrap; }
.blog-read-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold); font-size: .78rem; font-weight: 500; letter-spacing: .04em; margin-top: 1.1rem; transition: gap .2s; }
.blog-hero-card:hover .blog-read-link { gap: .65rem; }

/* Blog grid (3 col) */
.blog-main-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 540px) { .blog-main-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .blog-main-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card { background: var(--espresso); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-md); box-shadow: var(--shadow); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--roast); flex-shrink: 0; position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-cat { position: absolute; top: .75rem; left: .75rem; background: rgba(12,10,7,.8); border: 1px solid var(--border-md); backdrop-filter: blur(8px); color: var(--gold); font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 4px; }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-cat-label { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .35rem; display: block; }
.blog-card h3 { font-family: var(--font-serif); font-size: .98rem; color: var(--cream); line-height: 1.35; margin-bottom: .5rem; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: .8rem; color: var(--ivory); line-height: 1.65; margin-bottom: .85rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; flex-wrap: wrap; }
.blog-meta { display: flex; align-items: center; gap: .65rem; font-size: .71rem; color: var(--gold-dark); }
.blog-meta-dot { width: 3px; height: 3px; background: var(--gold-dark); border-radius: 50%; flex-shrink: 0; }
.blog-read-more { font-size: .72rem; color: var(--gold); letter-spacing: .04em; white-space: nowrap; }
.blog-read-more:hover { color: var(--gold-light); }

/* HOME blog featured section */
.blog-featured { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .blog-featured { grid-template-columns: 1.4fr 1fr; gap: 2rem; } }
.blog-featured-main { background: var(--espresso); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.blog-featured-main:hover { transform: translateY(-3px); border-color: var(--border-md); }
.blog-featured-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-featured-main:hover .blog-featured-img img { transform: scale(1.03); }
.blog-featured-body { padding: 1.5rem; flex: 1; }
.blog-featured-body .blog-cat-label { margin-bottom: .5rem; }
.blog-featured-body h3 { font-family: var(--font-serif); font-size: clamp(1.05rem, 2.5vw, 1.35rem); color: var(--cream); line-height: 1.25; margin-bottom: .6rem; }
.blog-featured-body h3 a { color: inherit; }
.blog-featured-body h3 a:hover { color: var(--gold); }
.blog-featured-body p { font-size: .875rem; line-height: 1.65; margin-bottom: .9rem; }
.blog-side-list { display: flex; flex-direction: column; gap: .85rem; }
@media (max-width: 767px) { .blog-side-list { display: grid; grid-template-columns: repeat(2,1fr); gap:1rem; } }
@media (max-width: 479px) { .blog-side-list { grid-template-columns: 1fr; } }
.blog-side-card { background: var(--espresso); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 90px 1fr; transition: transform .2s, border-color .2s; }
.blog-side-card:hover { transform: translateY(-2px); border-color: var(--border-md); }
.blog-side-img { overflow: hidden; background: var(--roast); }
.blog-side-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-side-card:hover .blog-side-img img { transform: scale(1.05); }
.blog-side-body { padding: .85rem; }
.blog-side-body .blog-cat-label { font-size: .6rem; margin-bottom: .25rem; }
.blog-side-body h4 { font-size: .85rem; font-family: var(--font-serif); color: var(--cream); line-height: 1.3; margin-bottom: .3rem; }
.blog-side-body h4 a { color: inherit; }
.blog-side-body h4 a:hover { color: var(--gold); }
.blog-side-body p { font-size: .75rem; color: var(--ivory); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-side-body .blog-meta { font-size: .68rem; margin-top: .35rem; }

.blog-post-content { max-width: 720px; margin: 0 auto; padding: 1.5rem 0; }
.blog-post-content h2 { margin: 2rem 0 .75rem; font-size: 1.3rem; }
.blog-post-content p { margin-bottom: 1.2rem; }

/* ── Subscriptions ──────────────────────────────────────── */
.subs-hero { text-align: center; padding: 3.5rem 0 2rem; }
.subs-hero p { max-width: 580px; margin: .75rem auto 0; }

/* CAROUSEL LAYOUT — all 5 cards in a scrollable row */
.subs-carousel-wrap { position: relative; margin: 0 -1.25rem; padding: 0 1.25rem; overflow: hidden; }
@media (min-width: 768px) { .subs-carousel-wrap { margin: 0 -2rem; padding: 0 2rem; } }
.subs-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; scrollbar-width: none; }
.subs-track::-webkit-scrollbar { display: none; }
.sub-card {
  background: var(--espresso); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.75rem; display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s; position: relative;
  scroll-snap-align: start; flex-shrink: 0;
  width: calc(100vw - 4rem);
}
@media (min-width: 480px) { .sub-card { width: 280px; } }
@media (min-width: 768px) { .sub-card { width: 260px; } }
@media (min-width: 1100px) { .sub-card { width: calc(20% - .85rem); flex-shrink: 0; } }
.sub-card:hover { transform: translateY(-3px); border-color: var(--border-md); }
.sub-card.highlighted { border-color: var(--gold); background: linear-gradient(145deg, var(--espresso), rgba(212,168,48,.06)); }
.sub-badge { display: inline-block; background: var(--gold); color: var(--black); font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .18rem .55rem; border-radius: 4px; margin-bottom: .85rem; }
.sub-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.sub-quantity { font-size: 1.4rem; font-family: var(--font-serif); color: var(--gold); font-weight: 700; margin: .35rem 0; }
.sub-type { font-size: .78rem; color: var(--gold-dark); margin-bottom: .85rem; }
.sub-price { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--cream); margin: .85rem 0; }
.sub-price sup { font-size: .95rem; font-weight: 400; vertical-align: super; }
.sub-price sub { font-size: .78rem; font-weight: 400; color: var(--ivory); }
.sub-desc { font-size: .83rem; color: var(--ivory); margin-bottom: 1rem; flex: 1; line-height: 1.6; }
.sub-features { margin-bottom: 1.25rem; }
.sub-features li { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--ivory); padding: .18rem 0; }
.sub-features li::before { content: '✓'; color: var(--gold); }
.sub-cta { margin-top: auto; width: 100%; }

/* Carousel nav dots */
.subs-dots { display: flex; justify-content: center; gap: .5rem; padding-top: .75rem; }
.subs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-md); border: none; cursor: pointer; transition: all .2s; padding: 0; }
.subs-dot.active { background: var(--gold); width: 20px; border-radius: 4px; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-category { margin-bottom: 2.25rem; }
.faq-category h2 { color: var(--gold); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; text-align: left; font-size: .925rem; font-weight: 500; color: var(--cream); cursor: pointer; background: none; border: none; font-family: var(--font-serif); }
.faq-question:hover { color: var(--gold); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; border: 1px solid var(--border-md); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .3s, background .2s; color: var(--gold); font-size: .85rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--black); border-color: var(--gold); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 1rem; font-size: .875rem; color: var(--ivory); line-height: 1.7; }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--gold-dark); padding-top: 1.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold-dark); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--border-md); }

/* ── About ──────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-img { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.about-img img { width: 100%; height: 100%; object-fit: cover; max-height: 500px; }
.about-badge { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-dark); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.about-badge::before { content: ''; width: 24px; height: 1px; background: var(--gold-dark); }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: .85rem; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.75rem; }
.about-stat { border-left: 2px solid var(--gold); padding: .35rem 0 .35rem .9rem; }
.about-stat-number { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); font-weight: 700; }
.about-stat-label { font-size: .75rem; color: var(--gold-dark); }

/* ── Process ────────────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 540px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(5, 1fr); } }
.process-step { text-align: center; }
.step-num { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--font-serif); font-size: 1rem; color: var(--gold); margin: 0 auto .9rem; }
.process-step h3 { font-size: .9rem; margin-bottom: .4rem; }
.process-step p { font-size: .8rem; }

/* ── Contact ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem 0 4rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 3.5rem; } }
.contact-info h2 { margin-bottom: 1rem; }
.contact-detail { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.25rem; }
.contact-detail svg { color: var(--gold); flex-shrink: 0; margin-top: .1rem; }
.contact-detail strong { display: block; color: var(--cream); font-size: .875rem; margin-bottom: .12rem; }
.contact-detail span, .contact-detail a { color: var(--ivory); font-size: .875rem; }
.contact-detail a:hover { color: var(--gold); }
.contact-form-card { background: var(--espresso); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .35rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--roast); border: 1px solid var(--border-md); border-radius: var(--r); padding: .75rem .9rem; color: var(--cream); font-size: .875rem; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gold-dark); opacity: .6; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,48,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B6F3A' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.alert { padding: .85rem 1.1rem; border-radius: var(--r); margin-bottom: 1.1rem; font-size: .875rem; }
.alert-success { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.3); color: #86efac; }
.alert-error { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }

/* ── Cart ───────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 0 4rem; align-items: start; }
@media (min-width: 768px) { .cart-layout { grid-template-columns: 1fr 340px; gap: 2.5rem; } }
.cart-item { display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 80px; height: 80px; border-radius: var(--r); overflow: hidden; background: var(--espresso); flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--font-serif); font-size: .9rem; color: var(--cream); margin-bottom: .15rem; }
.cart-item-sku { font-size: .7rem; color: var(--gold-dark); margin-bottom: .6rem; }
.cart-item-price { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold); font-weight: 600; }
.cart-summary { background: var(--espresso); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; }
@media (min-width: 768px) { .cart-summary { position: sticky; top: calc(var(--header-h) + 1rem); } }
.cart-summary h3 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .875rem; color: var(--ivory); }
.summary-total { display: flex; justify-content: space-between; padding: .9rem 0 0; margin-top: .4rem; border-top: 1px solid var(--border); font-family: var(--font-serif); font-size: 1.15rem; }
.summary-total span:last-child { color: var(--gold); font-weight: 700; }

/* ── Business B2B ───────────────────────────────────────── */
.business-benefits { display: grid; grid-template-columns: 1fr; gap: 1.25rem; padding: 2rem 0; }
@media (min-width: 540px) { .business-benefits { grid-template-columns: repeat(2, 1fr); } }
.benefit-card { background: var(--espresso); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.75rem; text-align: center; }
.benefit-icon { width: 48px; height: 48px; background: rgba(212,168,48,.1); border: 1px solid var(--border-md); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto .9rem; color: var(--gold); }
.benefit-card h3 { font-size: .9rem; margin-bottom: .4rem; }
.benefit-card p { font-size: .8rem; }
.clients-types { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.client-type { background: var(--espresso); border: 1px solid var(--border); border-radius: 50px; padding: .4rem 1rem; font-size: .8rem; color: var(--ivory); }

/* ── Success Page ───────────────────────────────────────── */
.success-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 3rem 1.25rem; }
.success-card { background: var(--espresso); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 3rem 2rem; max-width: 520px; width: 100%; }
.success-icon { width: 64px; height: 64px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: #86efac; }

/* ── Toast ──────────────────────────────────────────────── */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--espresso); border: 1px solid var(--border-md); border-radius: var(--r-lg); padding: .85rem 1.25rem; font-size: .875rem; z-index: 9999; transform: translateY(100px); opacity: 0; transition: transform .3s, opacity .3s; max-width: 300px; display: flex; align-items: center; gap: .65rem; pointer-events: none; box-shadow: var(--shadow); }
.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast-success { border-color: rgba(34,197,94,.4); }
.toast-error { border-color: rgba(239,68,68,.4); }
.toast-success .toast-icon { color: #86efac; }
.toast-error .toast-icon { color: #fca5a5; }

/* ── Empty state ────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 1.5rem; }
.empty-state svg { color: var(--border-md); margin: 0 auto 1.1rem; }

/* ── Sub home CTA ───────────────────────────────────────── */
.sub-home-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .sub-home-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.sub-home-plans { display: flex; flex-direction: column; gap: .75rem; }
.sub-home-plan { background: var(--roast); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.sub-home-plan.highlighted { border-color: var(--gold); }
.sub-home-plan-info strong { display: block; color: var(--cream); font-family: var(--font-serif); font-size: .95rem; }
.sub-home-plan-info span { font-size: .75rem; color: var(--gold-dark); }
.sub-home-plan-price { font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold); font-weight: 700; white-space: nowrap; }

.check-list { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.75rem; }
.check-list li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ivory); }

/* ── Legacy admin (for main.css consumers) ──────────────── */
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: var(--black); }

/* ── Utilities ──────────────────────────────────────────── */
.hidden { display: none !important; }
code { font-size: .75rem; color: var(--gold-dark); background: rgba(212,168,48,.06); padding: .15rem .45rem; border-radius: 4px; font-family: monospace; }
