/* ==========================================================================
   PATRICIA COFFEE BREWERS - MASTER STYLESHEET
   Neat, Tidy, Editorial & Artisanal Coffee Experience
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-bg: #FAF7F2;
  --color-bg-alt: #F4EFEA;
  --color-surface: #FFFFFF;
  --color-dark: #1A1412;
  --color-roast: #2B1E17;
  --color-burgundy: #671015;
  --color-burgundy-light: rgba(103, 16, 21, 0.08);
  --color-gold: #C8A962;
  --color-gold-hover: #b5954e;
  --color-muted: #6B625B;
  --color-border: rgba(43, 30, 23, 0.1);
  --color-border-light: rgba(43, 30, 23, 0.06);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-neon: 'Orbitron', sans-serif;

  --shadow-sm: 0 4px 12px rgba(26, 20, 18, 0.04);
  --shadow-md: 0 10px 25px rgba(26, 20, 18, 0.08);
  --shadow-lg: 0 20px 45px rgba(26, 20, 18, 0.12);
  --shadow-xl: 0 28px 65px rgba(26, 20, 18, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container-max: 1240px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-dark);
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background: var(--color-roast);
  color: #FAF7F2;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.announcement-bar span.pill {
  background: var(--color-burgundy);
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement-link {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.35rem;
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 30px rgba(26, 20, 18, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Logo */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-monogram {
  width: 42px;
  height: 42px;
  background: var(--color-roast);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(26, 20, 18, 0.15);
  border: 1px solid var(--color-gold);
  transition: transform var(--transition-fast);
}

.brand-logo-link:hover .brand-monogram {
  transform: rotate(-6deg) scale(1.05);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-dark);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-burgundy);
  text-transform: uppercase;
}

/* Nav Menu */
.primary-nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-roast);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-burgundy);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-burgundy);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  background: rgba(43, 30, 23, 0.05);
  transition: all var(--transition-fast);
  position: relative;
  font-size: 1rem;
}

.action-btn:hover {
  background: var(--color-burgundy);
  color: #fff;
  transform: translateY(-2px);
}

.badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--color-burgundy);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.mobile-nav-toggle {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(250, 247, 242, 0.9) 0%, rgba(244, 239, 234, 1) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-burgundy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-eyebrow i {
  color: var(--color-gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--color-burgundy);
}

.hero-description {
  font-size: 1.08rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--color-burgundy);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(103, 16, 21, 0.28);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: #500c10;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(103, 16, 21, 0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #FFFFFF;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.75rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* Hero Media Card */
.hero-visual-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(26, 20, 18, 0.16);
  background: var(--color-roast);
  aspect-ratio: 4/4.5;
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.hero-visual-card:hover img {
  transform: scale(1.04);
}

.hero-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 1.15rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-badge-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.hero-badge-subtitle {
  font-size: 0.72rem;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-badge-tag {
  background: var(--color-burgundy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   PRESS & ACCOLADES MARQUEE
   ========================================================================== */
.press-ribbon-section {
  padding: 1.5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.press-ticker-wrap {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.press-ticker-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: pressTickerScroll 28s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.press-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.press-item i {
  color: var(--color-gold);
  font-size: 0.9rem;
}

.press-quote-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  font-size: 0.95rem;
  color: var(--color-dark);
  letter-spacing: normal;
}

@keyframes pressTickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION COMMON HEADERS
   ========================================================================== */
.section-padding {
  padding: 5rem 0;
}

.section-header-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CURATED PRODUCTS GRID & FILTER TABS
   ========================================================================== */
.filter-tabs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
}

.filter-tab-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  transition: all var(--transition-fast);
}

.filter-tab-btn:hover {
  border-color: var(--color-dark);
}

.filter-tab-btn.active {
  background: var(--color-roast);
  color: #FAF7F2;
  border-color: var(--color-roast);
  box-shadow: 0 4px 14px rgba(26, 20, 18, 0.2);
}

/* Products Grid */
.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.catalog-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(103, 16, 21, 0.25);
}

.catalog-media {
  position: relative;
  background: #F8F5F0;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
}

.catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.06));
}

.catalog-card:hover .catalog-media img {
  transform: scale(1.07);
}

.catalog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.catalog-card-origin {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  min-height: 2.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 1rem;
}

.catalog-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-light);
  padding-top: 0.85rem;
  margin-top: auto;
}

.catalog-price {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
}

.catalog-actions-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-icon-round {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.btn-icon-round:hover {
  background: var(--color-burgundy);
  color: #fff;
}

/* ==========================================================================
   SUBSCRIPTION FEATURE ("THE COFFEE CLUB")
   ========================================================================== */
.subscription-section {
  background: var(--color-roast);
  color: #FAF7F2;
  position: relative;
  overflow: hidden;
}

.subscription-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.subscription-content .carousel-eyebrow-pill {
  background: rgba(200, 169, 98, 0.15);
  color: var(--color-gold);
  border-color: rgba(200, 169, 98, 0.35);
}

.subscription-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.subscription-desc {
  font-size: 1rem;
  color: rgba(250, 247, 242, 0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.subscription-perks-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.perk-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(200, 169, 98, 0.15);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.perk-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.15rem;
}

.perk-text p {
  font-size: 0.82rem;
  color: rgba(250, 247, 242, 0.7);
  line-height: 1.5;
}

/* Subscription Interactive Card */
.sub-customizer-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.sub-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.sub-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.sub-form-group {
  margin-bottom: 1.5rem;
}

.sub-form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.65rem;
}

.sub-options-pill-group {
  display: flex;
  gap: 8px;
}

.sub-option-pill {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FAF7F2;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sub-option-pill:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sub-option-pill.active {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

.sub-summary-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-summary-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
}

.sub-summary-saving {
  font-size: 0.75rem;
  color: #66BB6A;
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE BREW GUIDE
   ========================================================================== */
.brew-guide-section {
  background: var(--color-bg);
}

.brew-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.brew-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.45rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.brew-tab-btn:hover {
  border-color: var(--color-burgundy);
}

.brew-tab-btn.active {
  background: var(--color-burgundy);
  color: #fff;
  border-color: var(--color-burgundy);
  box-shadow: 0 6px 18px rgba(103, 16, 21, 0.25);
}

.brew-detail-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: center;
}

.brew-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.spec-box {
  background: var(--color-bg-alt);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-burgundy);
}

.spec-box-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.spec-box-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
}

.brew-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brew-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-burgundy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--color-roast);
  line-height: 1.5;
}

/* ==========================================================================
   LOCATIONS & CAFES
   ========================================================================== */
.locations-section {
  background: var(--color-bg-alt);
}

.location-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.location-tab-btn {
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-dark);
  transition: all var(--transition-fast);
}

.location-tab-btn.active {
  background: var(--color-roast);
  color: #FAF7F2;
  border-color: var(--color-roast);
}

.locations-display-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.loc-card-body {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.loc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 125, 50, 0.12);
  color: #1B5E20;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.loc-status-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2E7D32;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 125, 50, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

.loc-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.loc-subtitle {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
}

.loc-meta-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.loc-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.88rem;
}

.loc-meta-row i {
  color: var(--color-burgundy);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.loc-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.loc-hours-table td {
  padding: 0.35rem 0;
}

.loc-hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.loc-card-media {
  background: var(--color-roast);
  position: relative;
  min-height: 400px;
}

.loc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   NEWSLETTER CLUB
   ========================================================================== */
.newsletter-section {
  background: var(--color-burgundy);
  color: #FFFFFF;
  padding: 4.5rem 0;
  text-align: center;
}

.newsletter-box {
  max-width: 620px;
  margin: 0 auto;
}

.newsletter-box h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.newsletter-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1.25rem;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-newsletter {
  background: var(--color-gold);
  color: var(--color-dark);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-newsletter:hover {
  background: #fff;
  transform: scale(1.02);
}

/* ==========================================================================
   FOOTER & CREATED BY SYSTECT (EXACTLY AS ON AQWAKE.CO.ZA)
   ========================================================================== */
.site-footer {
  background: #110D0C;
  color: #FAF7F2;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-bio p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-gold);
}

.footer-bottom-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-bottom-centered-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  width: 100%;
}

.footer-copyright-line {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-policy-line {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-policy-centered-link {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-policy-centered-link i {
  font-size: 0.9rem;
  color: var(--color-gold, #C8A962);
}

.footer-policy-centered-link:hover {
  color: var(--color-gold);
}

/* --- THE EXACT SYSTECT NEON LED CREDIT AS ON AQWAKE.CO.ZA --- */
.footer-systect-credit {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.footer-created-by-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.systect-neon-led {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00f0ff;
  background: rgba(8, 8, 10, 0.78);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px rgba(0, 0, 0, 0.95),
     0 0 5px rgba(0, 240, 255, 0.75),
     0 0 12px rgba(0, 240, 255, 0.35);
  animation: systectNeonPulse 6s ease-in-out infinite;
  transition: all 0.25s ease;
}

.systect-neon-led:hover {
  background: rgba(0, 0, 0, 0.92);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 240, 255, 0.25);
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px #000,
     0 0 6px #fff,
     0 0 14px currentColor;
}

@keyframes systectNeonPulse {
  0%, 100% {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(0, 240, 255, 0.75),
       0 0 12px rgba(0, 240, 255, 0.35);
  }
  20% {
    color: #ff3de6;
    border-color: rgba(255, 61, 230, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(255, 61, 230, 0.75),
       0 0 12px rgba(255, 61, 230, 0.35);
  }
  40% {
    color: #44ff26;
    border-color: rgba(68, 255, 38, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(68, 255, 38, 0.75),
       0 0 12px rgba(68, 255, 38, 0.35);
  }
  60% {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(255, 215, 0, 0.75),
       0 0 12px rgba(255, 215, 0, 0.35);
  }
  80% {
    color: #5c6eff;
    border-color: rgba(92, 110, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(92, 110, 255, 0.75),
       0 0 12px rgba(92, 110, 255, 0.35);
  }
}

/* --- Systect-Style Footer Social Channels & Neon Glows --- */
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.35rem;
  margin-bottom: 1.25rem;
}

.social-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  animation: socialWave var(--bd, 4s) ease-in-out infinite var(--bdy, 0s);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, filter 0.35s, opacity 0.3s;
  will-change: transform;
}

.footer-icon-btn svg {
  width: 19px;
  height: 19px;
  fill: #ffffff;
  transition: transform 0.25s ease;
}

/* Individual Platform Themes & Neon Box Shadows from Systect */
.footer-icon-btn.facebook {
  background: #1877F2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.footer-icon-btn.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.45);
}

.footer-icon-btn.linkedin {
  background: #0A66C2;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.45);
}

.footer-icon-btn.youtube {
  background: #FF0000;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.45);
}

.footer-icon-btn.x-twitter {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.footer-icon-btn.tiktok {
  background: #010101;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(105, 201, 208, 0.35);
}

/* Hover States with Intense Neon Glows */
.footer-icon-btn:hover {
  transform: translateY(-8px) scale(1.15) !important;
  filter: brightness(1.2);
  z-index: 2;
}

.footer-icon-btn:hover svg {
  transform: scale(1.12);
}

.footer-icon-btn.facebook:hover {
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.8), 0 0 16px rgba(24, 119, 242, 0.5);
}

.footer-icon-btn.instagram:hover {
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.8), 0 0 16px rgba(204, 35, 102, 0.5);
}

.footer-icon-btn.linkedin:hover {
  box-shadow: 0 8px 24px rgba(10, 102, 194, 0.8), 0 0 16px rgba(10, 102, 194, 0.5);
}

.footer-icon-btn.youtube:hover {
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.85), 0 0 16px rgba(255, 0, 0, 0.5);
}

.footer-icon-btn.x-twitter:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.45), 0 0 16px rgba(255, 255, 255, 0.25);
}

.footer-icon-btn.tiktok:hover {
  box-shadow: 0 8px 24px rgba(105, 201, 208, 0.85), 0 0 16px rgba(105, 201, 208, 0.5);
}

.footer-social-icons:hover .footer-icon-btn:not(:hover) {
  opacity: 0.65;
}

@keyframes socialWave {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-6px) rotate(2.5deg);
  }
  75% {
    transform: translateY(4px) rotate(-1.5deg);
  }
}

.payment-badges-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.3rem;
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #FFFFFF;
  z-index: 201;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-panel.open {
  right: 0;
}

.drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-dark);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: var(--color-roast);
  color: #fff;
}

.free-shipping-bar-wrap {
  background: var(--color-bg-alt);
  padding: 0.95rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.free-shipping-msg {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.45rem;
}

.shipping-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(43, 30, 23, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.shipping-progress-fill {
  height: 100%;
  background: var(--color-burgundy);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.drawer-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.empty-cart-view {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-muted);
}

.empty-cart-view i {
  font-size: 3rem;
  color: var(--color-border);
  margin-bottom: 1rem;
}

.cart-item-row {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  padding: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.cart-item-grind {
  font-size: 0.72rem;
  color: var(--color-muted);
}

.cart-item-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.qty-stepper button {
  width: 26px;
  height: 26px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--color-dark);
}

.qty-stepper span {
  padding: 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-dark);
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.drawer-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.btn-checkout {
  width: 100%;
  background: var(--color-burgundy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(103, 16, 21, 0.3);
  transition: all var(--transition-fast);
}

.btn-checkout:hover {
  background: #500c10;
  transform: translateY(-2px);
}

/* ==========================================================================
   QUICK VIEW MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 210;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-normal);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-roast);
  color: #fff;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  padding: 2.5rem;
}

.modal-media-col {
  background: #F8F5F0;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-media-col img {
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.1));
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.modal-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.option-select-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.grind-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.grind-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.grind-pill.active {
  background: var(--color-roast);
  color: #fff;
  border-color: var(--color-roast);
}

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */
.search-overlay-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--color-burgundy);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.search-input-wrap i {
  font-size: 1.25rem;
  color: var(--color-burgundy);
}

.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark);
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-result-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-result-row:hover {
  background: var(--color-bg);
}

.search-result-row img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: var(--color-bg-alt);
  border-radius: 6px;
  padding: 4px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-item {
  background: var(--color-roast);
  color: #FAF7F2;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: slideToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast-item i {
  color: var(--color-gold);
}

@keyframes slideToastIn {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   MOBILE APP BOTTOM NAVIGATION BAR (Native App Feel)
   ========================================================================== */
.mobile-app-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 64px;
  background: rgba(22, 16, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 150;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
}

.mobile-app-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(250, 247, 242, 0.65);
  text-decoration: none;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.22s ease;
  padding: 6px 0;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-app-tab i {
  font-size: 1.18rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-app-tab:active {
  transform: scale(0.9);
}

.mobile-app-tab.active {
  color: var(--color-gold);
}

.mobile-app-tab.active i {
  transform: translateY(-2px);
  color: var(--color-gold);
}

.mobile-cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-tab-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background: var(--color-burgundy);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(22, 16, 14, 0.95);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE OPTIMIZATIONS)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-eyebrow,
  .hero-description,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .subscription-grid {
    grid-template-columns: 1fr;
  }

  .brew-detail-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .locations-display-card {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Prevent Any Off-Screen Overflow */
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding: 0 1.15rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Show Mobile App Bottom Navigation Dock */
  .mobile-app-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  /* Reposition Toasts above the App Dock */
  .toast-container {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    left: 14px;
  }

  .toast-item {
    width: 100%;
    justify-content: center;
  }

  /* Header on Mobile */
  .header-container {
    height: 64px;
  }

  .primary-nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: none; /* Replaced by Bottom Dock */
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-monogram {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.25rem 0 2rem;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }

  .hero-visual-card {
    aspect-ratio: 16/11;
    max-height: 320px;
    border-radius: 18px;
  }

  .hero-overlay-badge {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }

  .hero-badge-title {
    font-size: 0.92rem;
  }

  .hero-stats-row {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .stat-item .stat-number {
    font-size: 1.45rem;
  }

  /* Subscriptions Section & Customizer */
  .subscription-title {
    font-size: 2rem;
  }

  .sub-customizer-card {
    padding: 1.35rem 1.15rem;
    border-radius: 16px;
  }

  .sub-options-pill-group {
    flex-direction: column;
    gap: 6px;
  }

  .sub-option-pill {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.78rem;
  }

  .sub-summary-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  /* Brew Guide on Mobile - Horizontal Smooth Touch Pills */
  .brew-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 0.25rem 0.6rem 0.25rem;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    scrollbar-width: none;
  }

  .brew-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .brew-tab-btn {
    flex-shrink: 0;
    padding: 0.6rem 1.1rem;
    font-size: 0.8rem;
  }

  .brew-detail-card {
    padding: 1.35rem 1.15rem;
    border-radius: 16px;
    gap: 1.75rem;
  }

  .brew-specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .spec-box {
    padding: 0.75rem;
  }

  .spec-box-label {
    font-size: 0.62rem;
  }

  .spec-box-value {
    font-size: 0.82rem;
  }

  .brew-step-item {
    padding: 0.75rem;
    gap: 0.65rem;
  }

  .step-desc {
    font-size: 0.82rem;
  }

  /* Locations Section */
  .location-tabs-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .location-tab-btn {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem;
  }

  .locations-display-card {
    border-radius: 16px;
  }

  .loc-card-body {
    padding: 1.75rem 1.25rem;
  }

  .loc-name {
    font-size: 1.6rem;
  }

  .loc-card-media {
    min-height: 250px;
    max-height: 300px;
  }

  /* Newsletter Box */
  .newsletter-section {
    padding: 3.25rem 0;
  }

  .newsletter-box h2 {
    font-size: 1.85rem;
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: 14px;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.14);
  }

  .newsletter-input {
    padding: 0.65rem 0.75rem;
    text-align: center;
  }

  .btn-newsletter {
    width: 100%;
    padding: 0.75rem;
  }

  /* Footer & Systect Socials */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand-bio {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .footer-socials {
    align-items: center;
    text-align: center;
  }

  .social-label {
    width: 100%;
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
    width: 100%;
  }

  .payment-badges-row {
    justify-content: center;
    width: 100%;
  }

  /* Cart Drawer Panel */
  .cart-drawer-panel {
    max-width: 100%;
    width: 100%;
  }

  /* Modals */
  .modal-backdrop {
    padding: 0.75rem;
  }

  .modal-dialog {
    max-height: 92vh;
    border-radius: 18px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    padding: 1.35rem 1.15rem;
    gap: 1.25rem;
  }

  .modal-media-col {
    padding: 1rem;
    max-height: 220px;
  }

  .modal-media-col img {
    max-height: 200px;
  }

  .modal-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .stat-item .stat-number {
    font-size: 1.25rem;
  }

  .stat-item .stat-label {
    font-size: 0.65rem;
  }

  .announcement-bar {
    font-size: 0.68rem;
    padding: 0.45rem 0.5rem;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  .systect-neon-led {
    font-size: 0.95rem;
    padding: 0.15rem 0.5rem;
  }
}
