/* =====================================================
   Redelux Foods — Stone-Milled Atta Design System
   Artisanal Warm Farm-to-Table Aesthetic
   ===================================================== */

/* ---------- Design tokens ---------- */
:root {
  --cream: #faf3e6;
  --cream-light: #fffcf7;
  --sand: #f0e0c4;
  --sand-dark: #e5cdab;
  --honey: #f2c14e;
  --amber: #e08a1e;
  --terracotta: #c2542e;
  --terracotta-dark: #a13d1c;
  --earthy: #7a4a2b;
  --earthy-dark: #57331b;
  --forest: #4d6b3a;
  --forest-dark: #374f28;
  --ink: #2c1c11;
  --ink-light: #443224;
  --white: #ffffff;

  --font-display: "Fredoka", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Nunito", ui-sans-serif, system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius: min(2vw, 32px);
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(122, 74, 43, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(122, 74, 43, 0.12);
  --shadow-hero: 0 24px 60px -18px rgba(44, 28, 17, 0.35);
  --shadow-card: 0 20px 50px -12px rgba(122, 74, 43, 0.18);
  --shadow-float: 0 28px 65px -15px rgba(44, 28, 17, 0.28);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1 0 auto;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}

p { margin: 0; line-height: 1.6; }

a { text-decoration: none; color: inherit; }

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

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

.wrap {
  max-width: 82rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
}
@media (min-width: 640px) {
  .wrap { padding-inline: 2.5rem; }
}

.text-terracotta { color: var(--terracotta); }
.text-forest { color: var(--forest); }
.text-honey { color: var(--honey); }
.text-earthy { color: var(--earthy); }

/* ---------- Keyframes ---------- */
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(6deg); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes dust-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0.9; }
  50%  { opacity: 0.7; }
  100% { transform: translateY(-46vh) translateX(18px); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

@keyframes hint-slide {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50%      { transform: scaleY(0.4); transform-origin: top; }
}

@keyframes card-reveal {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
.rv-d1.reveal-visible { transition-delay: 0.1s; }
.rv-d2.reveal-visible { transition-delay: 0.2s; }
.rv-d3.reveal-visible { transition-delay: 0.35s; }
.rv-d4.reveal-visible { transition-delay: 0.5s; }

/* ---------- Entry animations ---------- */
.anim-rise {
  opacity: 0;
  animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }

/* ---------- Ambient particles & texture ---------- */
.paper-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(122, 74, 43, 0.035) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(122, 74, 43, 0.025) 0 2px, transparent 2px 6px);
  z-index: 1;
}

.grain {
  position: absolute;
  border-radius: var(--radius-full);
  background: var(--honey);
  box-shadow: 0 6px 14px rgba(122, 74, 43, 0.25);
  animation: floaty 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.grain-dust {
  animation: dust-rise 7s ease-in infinite;
}

/* ---------- Top Utility Bar ---------- */
.top-bar {
  background: #1e130c;
  color: #f0e0c4;
  font-size: 0.78rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.top-bar .wrap,
.rf-nav-wrapper .wrap {
  padding-inline: 1.5rem;
}
@media (max-width: 1023px) {
  .top-bar .wrap,
  .rf-nav-wrapper .wrap {
    padding-inline: 1rem;
  }
}
@media (max-width: 768px) {
  .top-bar .wrap,
  .rf-nav-wrapper .wrap {
    padding-inline: 0.75rem;
  }
}
@media (max-width: 480px) {
  .top-bar .wrap,
  .rf-nav-wrapper .wrap {
    padding-inline: 0.5rem;
  }
  .top-bar-right .top-bar-item {
    display: none;
  }
}
@media (max-width: 360px) {
  .top-bar .wrap,
  .rf-nav-wrapper .wrap {
    padding-inline: 0.35rem;
  }
}
@media (max-width: 640px) {
  .top-bar-inner {
    justify-content: space-between;
    gap: 0.4rem 0.6rem;
  }
  .top-bar-left,
  .top-bar-right {
    gap: 0.6rem;
  }
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ddd2c4;
  text-decoration: none;
  transition: color 0.2s ease;
}
.top-bar-item:hover {
  color: var(--honey);
}
.top-bar-item svg {
  width: 0.95rem;
  height: 0.95rem;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0;
  color: var(--honey);
}
.top-bar svg,
.top-bar-right svg,
.lang-globe svg {
  max-width: 16px !important;
  max-height: 16px !important;
}
.top-bar-pill {
  background: rgba(242, 193, 78, 0.18);
  color: var(--honey);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---------- Navigation Header ---------- */
.rf-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 243, 230, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(122, 74, 43, 0.12);
  transition: box-shadow 0.3s ease;
}
.rf-nav-wrapper.scrolled {
  box-shadow: 0 10px 30px -10px rgba(44, 28, 17, 0.12);
}

.rf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.nav-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav-brand:hover .nav-logo-img {
  opacity: 0.92;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 1;
  min-width: 0;
  text-align: left;
}
.nav-brand-text .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-brand-text .brand-name .text-terracotta {
  margin-left: 0.15em;
}
.nav-brand-text .brand-sub {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .rf-nav {
    padding: 0.75rem 0;
    gap: 0.75rem;
  }
  .nav-brand {
    gap: 0.65rem;
  }
  .nav-logo-img {
    height: 34px;
    max-width: 110px;
  }
  .nav-brand-text .brand-name {
    font-size: 1.25rem;
  }
  .nav-brand-text .brand-sub {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .rf-nav {
    padding: 0.65rem 0;
    gap: 0.5rem;
  }
  .nav-brand {
    gap: 0.5rem;
  }
  .nav-logo-img {
    height: 30px;
    max-width: 85px;
  }
  .nav-brand-text .brand-name {
    font-size: 1.12rem;
  }
}

@media (max-width: 480px) {
  .rf-nav {
    padding: 0.55rem 0;
    gap: 0.35rem;
  }
  .nav-brand {
    gap: 0.35rem;
  }
  .nav-logo-img {
    height: 27px;
    max-width: 72px;
  }
  .nav-brand-text .brand-name {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .rf-nav {
    padding: 0.45rem 0;
    gap: 0.25rem;
  }
  .nav-brand {
    gap: 0.25rem;
  }
  .nav-logo-img {
    height: 24px;
    max-width: 60px;
  }
  .nav-brand-text .brand-name {
    font-size: 0.92rem;
  }
}

.logo-badge {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--terracotta);
  color: var(--cream);
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(194, 84, 46, 0.35);
  transition: transform 0.3s ease;
}
.nav-brand:hover .logo-badge {
  transform: rotate(-10deg) scale(1.08);
}

.brand-name {
  line-height: 1;
}

/* Footer & Certificate Styles */
.footer-logo-img {
  height: 60px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: block;
}
.footer-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(242, 193, 78, 0.12);
  color: var(--honey);
  border: 1px solid rgba(242, 193, 78, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.35rem;
}
.footer-cert-badge a {
  color: #fff;
  text-decoration: underline;
}
.footer-cert-badge a:hover {
  color: var(--honey);
}
.cert-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--honey);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.cert-download-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Trust Bar / Certifications Section */
.trust-strip {
  background: linear-gradient(135deg, #22140c 0%, #351f12 100%);
  color: var(--cream);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(242, 193, 78, 0.2);
  border-bottom: 1px solid rgba(242, 193, 78, 0.2);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--honey);
  background: rgba(255, 255, 255, 0.07);
}
.trust-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: rgba(242, 193, 78, 0.15);
  color: var(--honey);
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}
.trust-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.trust-card-desc {
  font-size: 0.82rem;
  color: #ddd2c4;
  line-height: 1.5;
}
.trust-card-action {
  margin-top: auto;
  padding-top: 0.65rem;
}
.trust-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--honey);
  text-decoration: none;
}
.trust-btn:hover {
  text-decoration: underline;
  color: #fff;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--earthy);
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.story-link {
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.25s ease;
}
.story-link:hover,
.story-link.active {
  color: var(--terracotta);
}
.story-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2.5px;
  width: 100%;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 2px;
}
.story-link:hover::after,
.story-link.active::after {
  transform: scaleX(1);
}

/* ---------- Navigation Dropdown (Our Grains Sub-products) ---------- */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.dropdown-chevron {
  width: 0.95rem;
  height: 0.95rem;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-wrapper:hover .dropdown-chevron,
.nav-dropdown-wrapper.open .dropdown-chevron,
.nav-dropdown-wrapper:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

/* Invisible bridge so mouse hover doesn't break between link and menu */
.nav-dropdown-wrapper::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
  background: transparent;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 380px;
  max-width: 90vw;
  background: var(--cream-light);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -8px rgba(44, 28, 17, 0.25), 0 0 0 1px rgba(122, 74, 43, 0.14);
  padding: 0.85rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 150;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu,
.nav-dropdown-wrapper.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-header {
  background: linear-gradient(135deg, rgba(194, 84, 46, 0.12), rgba(242, 193, 78, 0.22));
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 3.5px solid var(--terracotta);
}

.dropdown-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-brand-badge {
  font-size: 0.65rem;
  background: var(--terracotta);
  color: var(--cream);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.dropdown-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--earthy);
  font-style: italic;
}

.dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.dropdown-grid::-webkit-scrollbar {
  width: 5px;
}
.dropdown-grid::-webkit-scrollbar-thumb {
  background: var(--sand-dark);
  border-radius: 10px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
}

.dropdown-item:hover {
  background: var(--sand);
  transform: translateX(4px);
}

.dropdown-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid rgba(122, 74, 43, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.dropdown-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--terracotta);
}

.dropdown-item-desc {
  font-size: 0.72rem;
  color: var(--earthy);
  font-weight: 500;
}

.dropdown-footer {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(122, 74, 43, 0.2);
  text-align: center;
}

.dropdown-view-all {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.dropdown-view-all:hover {
  color: var(--terracotta-dark);
  transform: translateX(2px);
}

/* Mobile Submenu */
.mobile-dropdown-group {
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-toggle {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--earthy);
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}

.mobile-chevron {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.25s ease;
}

.mobile-dropdown-toggle.open .mobile-chevron {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  border-left: 2px solid var(--sand-dark);
}

.mobile-submenu.open {
  display: flex;
}

.mobile-submenu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--earthy);
  text-decoration: none;
  font-weight: 600;
}

.mobile-submenu-thumb {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.mobile-submenu-item:hover {
  color: var(--terracotta);
}

/* Annshree Brand Badge & Tagline on Products */
.annshree-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #a13d1c 0%, #c2542e 100%);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  box-shadow: 0 4px 10px rgba(194, 84, 46, 0.25);
}

.annshree-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.annshree-tagline-text {
  font-style: italic;
  font-weight: 600;
  color: #fce2a6;
  font-size: 0.72rem;
}

.product-brand-tagline {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--terracotta);
  font-style: italic;
  margin-bottom: 0.4rem;
}

.target-highlight {
  animation: targetPulse 1.8s ease-out;
}

@keyframes targetPulse {
  0% { box-shadow: 0 0 0 0 rgba(194, 84, 46, 0.7); }
  50% { box-shadow: 0 0 0 12px rgba(194, 84, 46, 0); }
  100% { box-shadow: var(--shadow-card); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto;
}
@media (max-width: 1023px) {
  .nav-actions {
    gap: 0.45rem;
  }
}
@media (max-width: 768px) {
  .nav-actions {
    gap: 0.35rem;
  }
}
@media (max-width: 480px) {
  .nav-actions {
    gap: 0.28rem;
  }
}
@media (max-width: 360px) {
  .nav-actions {
    gap: 0.2rem;
  }
}

.nav-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: #f4e6ce;
  color: var(--earthy);
  border: 1px solid rgba(122, 74, 43, 0.18);
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.nav-cart-btn:hover {
  background: var(--honey);
  color: var(--ink);
  transform: translateY(-2px);
}
.nav-cart-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

@media (max-width: 1023px) {
  .nav-cart-btn {
    width: 2.35rem;
    height: 2.35rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
  }
}
@media (max-width: 768px) {
  .nav-cart-btn {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
  }
  .nav-cart-btn svg {
    width: 1.15rem;
    height: 1.15rem;
  }
}
@media (max-width: 480px) {
  .nav-cart-btn {
    width: 2.15rem;
    height: 2.15rem;
    min-width: 2.15rem;
    min-height: 2.15rem;
  }
  .nav-cart-btn svg {
    width: 1.05rem;
    height: 1.05rem;
  }
}
@media (max-width: 360px) {
  .nav-cart-btn {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
  }
  .nav-cart-btn svg {
    width: 1rem;
    height: 1rem;
  }
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(194, 84, 46, 0.4);
}
@media (max-width: 480px) {
  .cart-count {
    min-width: 1.05rem;
    height: 1.05rem;
    font-size: 0.62rem;
    top: -3px;
    right: -3px;
    padding: 0 2px;
  }
}

.nav-cta {
  border-radius: var(--radius-full);
  background: var(--earthy);
  padding: 0.55rem 1.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(122, 74, 43, 0.25);
  transition: transform 0.25s ease, background-color 0.25s ease;
  display: none;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; align-items: center; gap: 0.5rem; }
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  background: var(--terracotta);
}

.mobile-menu-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  min-width: 2.65rem;
  min-height: 2.65rem;
  flex-shrink: 0 !important;
  border-radius: var(--radius-full);
  background: #f4e6ce;
  border: 1px solid rgba(122, 74, 43, 0.18);
  color: var(--earthy);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.mobile-menu-toggle:hover {
  background: var(--honey);
  color: var(--ink);
  transform: translateY(-2px);
}
.mobile-menu-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

@media (max-width: 1023px) {
  .mobile-menu-toggle {
    width: 2.35rem;
    height: 2.35rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
  }
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
  }
  .mobile-menu-toggle svg {
    width: 1.2rem;
    height: 1.2rem;
  }
}
@media (max-width: 480px) {
  .mobile-menu-toggle {
    width: 2.15rem;
    height: 2.15rem;
    min-width: 2.15rem;
    min-height: 2.15rem;
  }
  .mobile-menu-toggle svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}
@media (max-width: 360px) {
  .mobile-menu-toggle {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
  }
  .mobile-menu-toggle svg {
    width: 1rem;
    height: 1rem;
  }
}
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none !important; }
}

/* Mobile navigation drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(44, 28, 17, 0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 340px;
  background: var(--cream);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-drawer.open .mobile-nav-content {
  transform: translateX(0);
}
#mobileNavClose {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: rgba(122, 74, 43, 0.08);
  border: none;
  font-size: 1.25rem;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
#mobileNavClose:hover {
  background: var(--terracotta);
  color: #ffffff;
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(122, 74, 43, 0.15);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--earthy);
}
.mobile-nav-links a {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-links a.active {
  color: var(--terracotta);
}

/* ---------- Buttons & Badges ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--terracotta);
  padding: 0.9rem 1.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--cream);
  box-shadow: 0 16px 32px -8px rgba(194, 84, 46, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 40px -8px rgba(194, 84, 46, 0.55);
  background: var(--terracotta-dark);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(122, 74, 43, 0.25);
  background: transparent;
  padding: 0.9rem 1.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--earthy);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
.btn-outline:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-2px);
  background: rgba(194, 84, 46, 0.05);
}

.btn-forest {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 16px 32px -8px rgba(77, 107, 58, 0.45);
}
.btn-forest:hover {
  background: var(--forest-dark);
  box-shadow: 0 22px 40px -8px rgba(77, 107, 58, 0.55);
}

.btn-cream {
  background: var(--cream);
  color: var(--terracotta);
  box-shadow: 0 20px 35px -10px rgba(44, 28, 17, 0.35);
}
.btn-cream:hover {
  background: var(--white);
  box-shadow: 0 26px 45px -10px rgba(44, 28, 17, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 2px solid rgba(250, 243, 230, 0.45);
  padding: 0.9rem 1.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--cream);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(250, 243, 230, 0.12);
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.badge-honey {
  background: rgba(242, 193, 78, 0.35);
  color: var(--earthy);
}
.badge-forest {
  background: rgba(77, 107, 58, 0.15);
  color: var(--forest);
}
.badge-terracotta {
  background: rgba(194, 84, 46, 0.15);
  color: var(--terracotta);
}

.pulse-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--forest);
  animation: pulse 2s ease-in-out infinite;
}

/* ---------- Page Hero Banner (Inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid rgba(122, 74, 43, 0.1);
}
.page-hero-inner {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--earthy);
  margin-bottom: 1rem;
}
.breadcrumb span { opacity: 0.5; }
.breadcrumb a:hover { color: var(--terracotta); }

.page-hero h1 {
  font-size: 3rem;
  line-height: 1.05;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .page-hero h1 { font-size: 4rem; }
}
.page-hero-lead {
  font-size: 1.15rem;
  color: var(--earthy);
  line-height: 1.6;
}

/* ---------- Main Welcome / Home Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  align-items: center;
  gap: 3rem;
  max-width: 82rem;
  margin-inline: auto;
  width: 100%;
  padding: 3rem 1.5rem 5rem;
}
@media (min-width: 640px) {
  .hero-grid { padding-inline: 2.5rem; }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    padding-top: 4.5rem;
    padding-bottom: 6rem;
  }
}

.hero h1 {
  margin-top: 1.25rem;
  max-width: 16ch;
  font-size: clamp(2.35rem, 8vw, 3.5rem);
  line-height: 1.05;
  font-weight: 600;
  word-break: break-word;
}
@media (min-width: 640px) { .hero h1 { font-size: 4.5rem; line-height: 0.98; } }
@media (min-width: 1024px) { .hero h1 { font-size: 5.75rem; } }

.hero-lead {
  margin-top: 1.5rem;
  max-width: 52ch;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--earthy);
}
@media (min-width: 640px) { .hero-lead { font-size: 1.25rem; } }

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions a,
  .hero-actions button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.hero-banner-wrap {
  position: relative;
}

.rf-hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hero);
  background: var(--sand);
  border: 4px solid var(--white);
  animation: none !important;
  transform: none !important;
}
.rf-hero-frame img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(44, 28, 17, 0.3) 0%, transparent 40%, rgba(255, 255, 255, 0.15) 100%);
}

.float-slow {
  animation: none;
}

/* Spinning quality seal */
.seal-pos {
  position: absolute;
  top: -1rem;
  left: -1rem;
  z-index: 20;
}
@media (min-width: 640px) {
  .seal-pos { top: -1.25rem; left: -1.5rem; }
}
.seal-wrap {
  position: relative;
  width: 7rem;
  height: 7rem;
}
.seal-ring {
  width: 100%;
  height: 100%;
  animation: spin-slow 22s linear infinite;
}
.seal-text {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
  fill: var(--earthy);
}
.seal-core {
  position: absolute;
  inset: 22%;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--cream);
  box-shadow: 0 10px 20px rgba(122, 74, 43, 0.3);
}
.seal-core svg {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--terracotta);
}

/* Fresh badge */
.fresh-badge {
  position: absolute;
  right: -0.75rem;
  bottom: 1.5rem;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: var(--radius-full);
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  box-shadow: 0 20px 35px -10px rgba(122, 74, 43, 0.4);
  outline: 4px solid var(--cream);
}
@media (min-width: 640px) {
  .fresh-badge { width: 7.25rem; height: 7.25rem; }
}
.fb-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.fb-sub {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--honey);
}

/* Scroll hint */
.scroll-hint-row {
  position: relative;
  z-index: 10;
  display: none;
  justify-content: center;
  padding-bottom: 2rem;
}
@media (min-width: 640px) {
  .scroll-hint-row { display: flex; }
}
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(122, 74, 43, 0.6);
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.hint-line {
  display: block;
  height: 2rem;
  width: 1px;
  background: rgba(122, 74, 43, 0.4);
  animation: hint-slide 2s ease-in-out infinite;
}

/* ---------- Products Section & Catalog ---------- */
.products-section {
  position: relative;
  background: var(--sand);
  padding: 5rem 0 6rem;
}
.products-head {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 640px) {
  .products-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--terracotta);
}
.products-head h2 {
  margin-top: 0.5rem;
  max-width: 20ch;
  font-size: 2.75rem;
  font-weight: 600;
}
@media (min-width: 640px) { .products-head h2 { font-size: 3.5rem; } }

.head-note {
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--earthy);
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1rem 1.5rem;
  background: rgba(250, 243, 230, 0.7);
  border-radius: var(--radius-full);
  border: 1px solid rgba(122, 74, 43, 0.12);
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-tab {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--earthy);
  background: transparent;
  transition: all 0.25s ease;
}
.filter-tab:hover {
  background: rgba(242, 193, 78, 0.3);
  color: var(--ink);
}
.filter-tab.active {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: 0 4px 12px rgba(194, 84, 46, 0.3);
}

/* Products Grid */
.products-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Product Card */
.rf-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}
.rf-card:hover {
  transform: translateY(-10px);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(122, 74, 43, 0.1);
  height: 100%;
}
.product-card:hover {
  box-shadow: var(--shadow-float);
}

.product-img {
  position: relative;
  background: rgba(224, 138, 30, 0.15);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img img {
  transform: scale(1.06);
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  background: var(--cream);
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-origin {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  background: rgba(44, 28, 17, 0.75);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.product-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
}

.product-body h3 {
  margin-top: 0.4rem;
  font-size: 1.65rem;
  font-weight: 600;
}
.product-body h3 a:hover {
  color: var(--terracotta);
}

.product-desc {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--earthy);
  flex-grow: 1;
}

.product-size-select {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.size-pill {
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(122, 74, 43, 0.2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--earthy);
  cursor: pointer;
  transition: all 0.2s ease;
}
.size-pill:hover,
.size-pill.selected {
  background: var(--honey);
  border-color: var(--honey);
  color: var(--ink);
}

.product-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(122, 74, 43, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-price-block {
  display: flex;
  flex-direction: column;
}
.price-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}
.price-unit {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--earthy);
  opacity: 0.8;
  margin-top: 0.2rem;
}

/* Featured Large Product Card */
.featured-product-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(122, 74, 43, 0.1);
  margin-bottom: 2.5rem;
}
@media (min-width: 860px) {
  .featured-product-card {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}
.featured-product-card .product-img {
  aspect-ratio: 4 / 3;
  height: 100%;
}
.featured-product-card .product-body {
  padding: 2.5rem;
}
.featured-product-card h3 {
  font-size: 2.25rem;
}

/* ---------- Product Detail Page ---------- */
.product-detail-section {
  padding: 3rem 0 5rem;
}
.product-detail-grid {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}

.detail-gallery {
  position: sticky;
  top: 6rem;
}
.detail-main-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  border: 4px solid var(--white);
  background: var(--sand);
  aspect-ratio: 4 / 3;
}
.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.thumb-btn {
  width: 5rem;
  height: 4rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease;
}
.thumb-btn.active,
.thumb-btn:hover {
  border-color: var(--terracotta);
  opacity: 1;
  transform: translateY(-2px);
}
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-content h1 {
  font-size: 3rem;
  margin-top: 0.5rem;
}
@media (min-width: 640px) {
  .detail-content h1 { font-size: 3.5rem; }
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--earthy);
}
.stars {
  color: #f59e0b;
  display: flex;
  gap: 2px;
}
.detail-price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-top: 1rem;
}

.detail-selector-group {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(122, 74, 43, 0.12);
}
.selector-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.6rem;
  display: block;
}
.grind-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.grind-btn {
  border: 2px solid rgba(122, 74, 43, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  background: var(--cream);
  cursor: pointer;
  transition: all 0.2s ease;
}
.grind-btn:hover,
.grind-btn.active {
  border-color: var(--terracotta);
  background: rgba(194, 84, 46, 0.08);
}
.grind-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink);
  display: block;
}
.grind-sub {
  font-size: 0.7rem;
  color: var(--earthy);
  display: block;
  margin-top: 0.2rem;
}

.qty-cta-row {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(122, 74, 43, 0.2);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.5rem;
}
.qty-btn {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--earthy);
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}
.qty-btn:hover { background: rgba(122, 74, 43, 0.1); }
.qty-num {
  width: 2.25rem;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
}

.freshness-tracker-card {
  margin-top: 2.5rem;
  background: rgba(77, 107, 58, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px dashed var(--forest);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tracker-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: var(--forest);
  color: var(--cream);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tracker-text h4 {
  font-size: 1rem;
  color: var(--forest-dark);
}
.tracker-text p {
  font-size: 0.85rem;
  color: var(--earthy);
  margin-top: 0.2rem;
}

/* Feature comparison table */
.comparison-section {
  padding: 5rem 0;
  background: var(--cream);
}
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: var(--white);
  border: 1px solid rgba(122, 74, 43, 0.1);
  margin-top: 2.5rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(122, 74, 43, 0.1);
  font-size: 0.95rem;
}
.comparison-table th {
  background: var(--sand);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.comparison-table th.highlight,
.comparison-table td.highlight {
  background: rgba(242, 193, 78, 0.18);
  font-weight: 700;
  color: var(--earthy-dark);
}

/* ---------- Quality & Milling Process Section ---------- */
.quality {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--cream);
  border-bottom: 4px solid var(--cream);
  background: var(--forest);
  color: var(--cream);
}
.quality-grid {
  position: relative;
  z-index: 10;
  padding-block: 5rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) { .quality-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .quality-grid { grid-template-columns: repeat(4, 1fr); } }

.stat { text-align: center; }
@media (min-width: 1024px) { .stat { text-align: left; } }
.stat-value {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--honey);
  line-height: 1;
}
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(250, 243, 230, 0.85);
}

/* Milling Ritual Steps */
.process-section {
  padding: 5rem 0 6rem;
  background: var(--cream);
}
.process-steps {
  display: grid;
  gap: 2rem;
  margin-top: 3.5rem;
}
@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}
.step-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(122, 74, 43, 0.1);
  transition: transform 0.35s ease;
}
.step-card:hover {
  transform: translateY(-8px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--honey);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--earthy);
  line-height: 1.6;
}

/* Interactive Temperature & Germ Callout */
.ritual-spotlight {
  display: grid;
  gap: 3rem;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  margin-top: 4rem;
  align-items: center;
}
@media (min-width: 900px) {
  .ritual-spotlight {
    grid-template-columns: 1fr 1fr;
    padding: 3.5rem;
  }
}
.ritual-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  border: 4px solid var(--white);
}

/* ---------- Our Story & Farms Section ---------- */
.story-section {
  padding: 5rem 0 6rem;
  background: var(--cream);
}
.story-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.story-img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  border: 4px solid var(--white);
}
.story-copy h2 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .story-copy h2 { font-size: 3.5rem; }
}
.story-copy p {
  font-size: 1.05rem;
  color: var(--earthy);
  margin-bottom: 1rem;
}
.founder-quote {
  border-left: 4px solid var(--terracotta);
  padding-left: 1.5rem;
  margin: 1.75rem 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}

/* Farm Pillars */
.pillars-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(122, 74, 43, 0.1);
  text-align: center;
}
.pillar-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  background: rgba(242, 193, 78, 0.35);
  color: var(--earthy);
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

/* ---------- Recipes & Journal Section ---------- */
.recipes-section {
  padding: 5rem 0 6rem;
  background: var(--sand);
}
.recipes-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .recipes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .recipes-grid { grid-template-columns: repeat(3, 1fr); }
}
.recipe-card {
  border-radius: var(--radius);
  background: var(--cream);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(122, 74, 43, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float);
}
.recipe-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.recipe-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.recipe-card:hover .recipe-img img {
  transform: scale(1.05);
}
.recipe-time-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}
.recipe-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.recipe-body h3 {
  font-size: 1.5rem;
  margin-top: 0.4rem;
}
.recipe-body p {
  font-size: 0.9rem;
  color: var(--earthy);
  margin-top: 0.5rem;
  flex-grow: 1;
}
.recipe-meta-row {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(122, 74, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--terracotta);
}

/* ---------- Customer Testimonials ---------- */
.testimonials-section {
  padding: 5rem 0 6rem;
  background: var(--cream);
}
.testimonials-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(122, 74, 43, 0.1);
  display: flex;
  flex-direction: column;
}
.review-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-light);
  flex-grow: 1;
  margin-top: 1rem;
  font-style: italic;
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.reviewer-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: var(--sand);
  color: var(--earthy);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
}
.reviewer-name {
  font-weight: 800;
  font-size: 0.95rem;
}
.reviewer-city {
  font-size: 0.75rem;
  color: var(--earthy);
}

/* ---------- Contact & Tasting Box Form ---------- */
.contact-section {
  padding: 5rem 0 6rem;
  background: var(--sand);
}
.contact-grid {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}
.contact-form-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(122, 74, 43, 0.1);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(122, 74, 43, 0.2);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(194, 84, 46, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.faq-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 74, 43, 0.12);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--earthy);
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}
.faq-chevron {
  transition: transform 0.25s ease;
}

/* ---------- Slide-out Cart Drawer ---------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(44, 28, 17, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--cream);
  z-index: 501;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(122, 74, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 {
  font-size: 1.4rem;
}
.cart-close-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: rgba(122, 74, 43, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--ink);
}
.cart-free-shipping {
  background: rgba(242, 193, 78, 0.3);
  padding: 0.75rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--earthy-dark);
}
.cart-body {
  padding: 1.5rem 1.75rem;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--earthy);
}
.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(122, 74, 43, 0.1);
}
.cart-item-img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--sand);
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info {
  flex-grow: 1;
}
.cart-item-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
}
.cart-item-variant {
  font-size: 0.75rem;
  color: var(--earthy);
  margin-top: 0.2rem;
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.cart-item-price {
  font-weight: 800;
  color: var(--terracotta);
}
.cart-footer {
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border-top: 1px solid rgba(122, 74, 43, 0.12);
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.cart-checkout-btn {
  width: 100%;
}

/* Toast Notification */
.rf-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 600;
  background: var(--ink);
  color: var(--cream);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
}
.rf-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: var(--radius-full);
  background: var(--honey);
}

/* Modal Dialog */
.rf-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 700;
  background: rgba(44, 28, 17, 0.65);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.rf-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.rf-modal {
  background: var(--cream);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 640px) {
  .rf-modal {
    padding: 1.5rem 1.25rem;
  }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.rf-modal-backdrop.open .rf-modal {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: rgba(122, 74, 43, 0.1);
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ---------- CTA Footer Section ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--terracotta);
}

.cta-curve {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2.5rem;
  background: var(--sand);
  border-radius: 0 0 100% 100% / 0 0 3rem 3rem;
}

.cta-inner {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  padding-top: 7rem;
  padding-bottom: 6rem;
  text-align: center;
}

.cta-title {
  max-width: 18ch;
  margin-inline: auto;
  font-size: 3rem;
  font-weight: 600;
  font-style: italic;
  color: var(--cream);
}
@media (min-width: 640px) { .cta-title { font-size: 3.75rem; } }

.cta-lead {
  margin: 1.25rem auto 0;
  max-width: 56ch;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgba(250, 243, 230, 0.88);
}

.cta-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .cta-actions { flex-direction: row; }
}

.cta-dots {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.cta-dots span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(250, 243, 230, 0.4);
}

/* Main Site Footer */
.rf-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4.5rem 0 2rem;
  position: relative;
}
.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.footer-brand h3 {
  color: var(--cream);
  font-size: 1.75rem;
}
.footer-brand p {
  color: rgba(250, 243, 230, 0.7);
  margin-top: 0.75rem;
  max-width: 30ch;
  font-size: 0.95rem;
}
.footer-col h4 {
  color: var(--honey);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(250, 243, 230, 0.8);
}
.footer-col a:hover {
  color: var(--honey);
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 243, 230, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(250, 243, 230, 0.6);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   GALLERY PAGE STYLES
   ========================================================================== */
.gallery-section {
  padding: 4.5rem 0 6rem;
  background: var(--sand);
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 2.5rem 0 3.5rem;
}
.gallery-filter-btn {
  background: var(--white);
  border: 1px solid rgba(122, 74, 43, 0.18);
  color: var(--earthy);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(194, 91, 50, 0.25);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(58, 37, 24, 0.06);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  aspect-ratio: 4 / 3;
}
.gallery-card.tall {
  aspect-ratio: 3 / 4;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(58, 37, 24, 0.14);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-card:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 24, 15, 0.92) 0%, rgba(38, 24, 15, 0.4) 50%, rgba(38, 24, 15, 0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.gallery-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 0.35rem;
}
.gallery-title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.gallery-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.825rem;
  margin-top: 0.35rem;
  line-height: 1.4;
}
.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s ease;
}
.gallery-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 13, 8, 0.94);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.gallery-lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.gallery-lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.gallery-lightbox img {
  max-height: 75vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.gallery-lightbox-caption {
  margin-top: 1rem;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}
.gallery-lightbox-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.gallery-lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}
.gallery-lightbox-close:hover {
  color: var(--honey);
  transform: scale(1.15);
}

/* ==========================================================================
   BLOG PAGE STYLES
   ========================================================================== */
.blog-section {
  padding: 4.5rem 0 6rem;
  background: var(--sand);
}
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(58, 37, 24, 0.08);
  margin-bottom: 3.5rem;
  border: 1px solid rgba(122, 74, 43, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 900px) {
  .blog-featured-card {
    grid-template-columns: 1.2fr 1fr;
  }
}
.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(58, 37, 24, 0.12);
}
.blog-featured-img {
  position: relative;
  min-height: 320px;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-meta-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.blog-featured-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
}
.blog-featured-title a:hover {
  color: var(--terracotta);
}
.blog-featured-desc {
  color: var(--earthy);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.blog-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(122, 74, 43, 0.1);
  font-size: 0.85rem;
  color: var(--earthy);
}
.blog-author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--honey);
  color: var(--ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(58, 37, 24, 0.06);
  border: 1px solid rgba(122, 74, 43, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(58, 37, 24, 0.12);
}
.blog-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}
.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0.75rem 0;
  color: var(--ink);
}
.blog-card-title a:hover {
  color: var(--terracotta);
}
.blog-card-desc {
  color: var(--earthy);
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(122, 74, 43, 0.08);
  font-size: 0.825rem;
  color: var(--earthy);
}
.blog-read-more {
  font-weight: 800;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease;
}
.blog-read-more:hover {
  gap: 0.5rem;
}

/* ==========================================================================
   ABOUT & STORY PAGE STYLES
   ========================================================================== */
.story-section {
  padding: 5rem 0 6rem;
  background: var(--sand);
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.story-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(58, 37, 24, 0.16);
  border: 1px solid rgba(122, 74, 43, 0.12);
  aspect-ratio: 4 / 3;
}
.story-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.story-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.story-copy p {
  color: var(--earthy);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}
.founder-quote {
  margin: 1rem 0;
  padding: 1.5rem 1.75rem;
  background: rgba(194, 84, 46, 0.06);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--earthy-dark);
  font-size: 1.05rem;
  line-height: 1.65;
}
.pillars-section {
  padding: 5rem 0;
  background: var(--cream);
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 3rem;
}
@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pillar-card {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 74, 43, 0.1);
  box-shadow: 0 8px 24px rgba(58, 37, 24, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(58, 37, 24, 0.12);
}
.pillar-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background: rgba(242, 193, 78, 0.2);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.pillar-card p {
  color: var(--earthy);
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0;
}

/* Fallback & Logo Protection Helpers */
.brand-logo,
.nav-logo-img {
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   BLOG ARTICLE MODAL STYLES
   ========================================================================== */
.blog-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 13, 8, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}
.blog-modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}
.blog-modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(122, 74, 43, 0.15);
  display: flex;
  flex-direction: column;
}
.blog-modal-header {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  overflow: hidden;
  background: var(--sand);
}
.blog-modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 10;
}
.blog-modal-close:hover {
  background: var(--honey);
  transform: scale(1.1);
}
.blog-modal-body {
  padding: 2.5rem;
}
@media (max-width: 640px) {
  .blog-modal-body {
    padding: 1.5rem;
  }
}
.blog-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0.75rem 0 1rem;
}
.blog-modal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--earthy);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(122, 74, 43, 0.12);
  margin-bottom: 1.5rem;
}
.blog-modal-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}
.blog-modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 1.75rem 0 0.75rem;
}
.blog-modal-content p {
  margin: 0 0 1.25rem;
  color: var(--earthy-dark);
}
.blog-modal-content ul,
.blog-modal-content ol {
  margin: 0 0 1.5rem 1.25rem;
  color: var(--earthy-dark);
  line-height: 1.7;
}
.blog-modal-content li {
  margin-bottom: 0.5rem;
}
.blog-callout-box {
  background: rgba(242, 193, 78, 0.15);
  border-left: 4px solid var(--honey);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.blog-callout-box strong {
  color: var(--ink);
}




/* ============ INTERACTIVE MAP & CMS IFRAME STYLES ============ */
.location-map-section {
  position: relative;
  z-index: 1;
}

.map-iframe-container {
  width: 100%;
  height: 480px;
  position: relative;
}

.map-iframe-container iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px;
  border: 0 !important;
  display: block;
}

@media (max-width: 768px) {
  .map-iframe-container {
    height: 360px;
  }
  .map-iframe-container iframe {
    min-height: 340px;
  }
}

/* ============ NAV ACCOUNT BUTTON ============ */
.nav-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  border: 1px solid rgba(122, 74, 43, 0.18);
  background: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}
.nav-account-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  display: block;
}
.nav-account-icon.icon-logged-in {
  color: var(--forest);
}
.nav-account-icon.icon-guest {
  color: var(--terracotta);
}
.nav-account-btn:hover {
  background: var(--white) !important;
  border-color: var(--terracotta) !important;
  box-shadow: 0 4px 12px rgba(58, 37, 24, 0.08);
  transform: translateY(-1px);
}

@media (max-width: 1023px) {
  .nav-account-btn {
    width: 2.35rem;
    height: 2.35rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0 !important;
    justify-content: center;
    border-radius: var(--radius-full) !important;
    background: #f4e6ce !important;
    border-color: rgba(122, 74, 43, 0.18) !important;
  }
  .nav-account-btn span {
    display: none !important;
  }
  .nav-account-btn .nav-account-icon {
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin: 0 !important;
  }
  .nav-account-btn:hover {
    background: var(--honey) !important;
    transform: translateY(-2px);
  }
}
@media (max-width: 768px) {
  .nav-account-btn {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
  }
  .nav-account-btn .nav-account-icon {
    width: 1.15rem !important;
    height: 1.15rem !important;
  }
}
@media (max-width: 480px) {
  .nav-account-btn {
    width: 2.15rem;
    height: 2.15rem;
    min-width: 2.15rem;
    min-height: 2.15rem;
  }
  .nav-account-btn .nav-account-icon {
    width: 1.05rem !important;
    height: 1.05rem !important;
  }
}
@media (max-width: 360px) {
  .nav-account-btn {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
  }
  .nav-account-btn .nav-account-icon {
    width: 1rem !important;
    height: 1rem !important;
  }
}

/* ============ CMS HTML BODY STYLES ============ */
.cms-html-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink);
}

.cms-html-body h1,
.cms-html-body h2,
.cms-html-body h3,
.cms-html-body h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.cms-html-body h2 {
  font-size: 2.1rem;
}

.cms-html-body h3 {
  font-size: 1.6rem;
}

.cms-html-body p {
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.cms-html-body strong {
  color: var(--ink);
  font-weight: 800;
}

.cms-html-body pre {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--terracotta);
  background: rgba(184, 74, 40, 0.08);
  border-left: 3px solid var(--terracotta);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin: 0.5rem 0 1rem;
  white-space: pre-wrap;
}

.cms-html-body address {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--earthy-dark);
  border-left: 4px solid var(--honey);
  background: rgba(242, 193, 78, 0.12);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0 1rem;
}

.cms-html-body blockquote {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--earthy-dark);
  border-left: 4px solid var(--honey);
  background: rgba(242, 193, 78, 0.12);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0 1rem;
}

.cms-html-body ul,
.cms-html-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--ink);
}

.cms-html-body li {
  margin-bottom: 0.5rem;
}

.cms-html-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}

/* ==========================================================================
   Bilingual Language Converter (English <-> हिन्दी) & Google Translate Clean
   ========================================================================== */

/* Google Translate Silent Integration */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body {
  top: 0px !important;
  position: static !important;
}

#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

#google_translate_element {
  display: none !important;
  visibility: hidden !important;
}

/* Top Bar Language Switcher Pill */
.lang-switch-pill {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  white-space: nowrap !important;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(242, 193, 78, 0.28);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.45rem;
  font-size: 0.74rem;
  line-height: 1;
  transition: all 0.2s ease;
  user-select: none;
  box-sizing: border-box;
}

.lang-switch-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(242, 193, 78, 0.5);
}

.lang-switch-pill .lang-globe {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--honey);
  line-height: 1;
}

.lang-switch-pill .lang-globe svg {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.lang-switch-pill .lang-btn {
  background: transparent;
  border: none;
  outline: none;
  color: #ddd2c4;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.1;
  white-space: nowrap;
}

.lang-switch-pill .lang-btn:hover {
  color: #ffffff;
}

.lang-switch-pill .lang-btn.active {
  background: var(--honey) !important;
  color: #1e130c !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  cursor: default;
}

.lang-switch-pill .lang-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.7rem;
  margin: 0 -0.1rem;
}

/* Mobile Navigation Drawer Language Row */
.mobile-lang-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  background: rgba(122, 74, 43, 0.08);
  border: 1px solid rgba(122, 74, 43, 0.14);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.mobile-lang-switch .mobile-lang-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mobile-lang-switch .lang-switch-pill {
  background: #ffffff;
  border-color: rgba(122, 74, 43, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-lang-switch .lang-switch-pill .lang-globe {
  color: var(--terracotta);
}

.mobile-lang-switch .lang-switch-pill .lang-btn {
  color: var(--earthy);
}

.mobile-lang-switch .lang-switch-pill .lang-btn:hover {
  color: var(--terracotta);
}

.mobile-lang-switch .lang-switch-pill .lang-btn.active {
  background: var(--terracotta);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(184, 80, 52, 0.35);
}

.mobile-lang-switch .lang-switch-pill .lang-sep {
  color: rgba(122, 74, 43, 0.3);
}

/* =====================================================
   COMPREHENSIVE RESPONSIVE & MOBILE/TABLET VIEWPORT ENHANCEMENTS
   ===================================================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Top bar mobile refinement */
@media (max-width: 640px) {
  .top-bar-item {
    font-size: 0.75rem;
  }
}

/* Ensure no clipping on navbar actions */
.nav-actions {
  flex-shrink: 0;
  max-width: 100%;
}

/* Filter bar & category pills on tablet/mobile */
@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }
  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
    max-width: 100%;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Fluid section headings across phone & tablet */
@media (max-width: 640px) {
  .products-head h2,
  .section-head h2,
  .craft-head h2,
  .stories-head h2,
  .recipe-head h2 {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
  }
  .head-note,
  .page-hero-lead {
    font-size: 0.98rem;
  }
  .cta-title {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }
  .section-head,
  .products-head {
    margin-bottom: 2rem;
  }
}

/* Responsive tables & CMS embedded media */
.cms-html-body table,
.table-responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cms-html-body img,
.blog-detail-body img,
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Responsive modals & checkout drawers */
@media (max-width: 640px) {
  .modal-container,
  .checkout-modal-content,
  .blog-modal-window {
    width: 94% !important;
    max-width: 94% !important;
    margin: 1rem auto !important;
    padding: 1.25rem !important;
  }
}
