/* ============================================
   MAGNOLIA COFFEE — Premium Editorial Design
   ============================================ */

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

:root {
  --green-deep: #1B3A2A;
  --green-primary: #2D5A3D;
  --green-mid: #3A7D52;
  --green-light: #4A9E68;
  --green-pale: #E8F0EB;
  --brown-dark: #5C4033;
  --brown: #8B6F47;
  --brown-light: #A89279;
  --gold: #C9A96E;
  --gold-light: #E0CFA8;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --dark-soft: #2D2D2D;
  --gray: #6B6B6B;
  --gray-light: #E8E4DF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --section-pad: 100px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; transition: all 0.25s var(--ease-out); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  border: none;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}

.btn:hover::after { transform: translateX(0); }

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(58, 125, 82, 0.3);
}

.btn-primary:hover {
  background: var(--green-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(58, 125, 82, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--green-primary);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--green-primary);
  border: 1.5px solid var(--green-primary);
}

.btn-outline:hover {
  background: var(--green-primary);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold:hover {
  background: var(--brown);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.4s var(--ease-out);
}

.navbar.scrolled .navbar-brand { color: var(--green-deep); }

.navbar-brand svg {
  width: 28px;
  height: 28px;
  transition: all 0.4s var(--ease-out);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.3s var(--ease-out);
}

.navbar.scrolled .navbar-menu a { color: var(--dark-soft); }

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after { width: 100%; }

.navbar-menu a:hover { color: var(--white); }
.navbar.scrolled .navbar-menu a:hover { color: var(--green-primary); }

.navbar-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-out) !important;
}

.navbar.scrolled .navbar-cta {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white) !important;
}

.navbar-cta::after { display: none !important; }

.navbar-cta:hover {
  background: var(--white) !important;
  color: var(--green-primary) !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s var(--ease-out);
}

.navbar.scrolled .mobile-toggle span { background: var(--dark); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--green-deep);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/heroimage.png') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 58, 42, 0.75) 0%,
    rgba(27, 58, 42, 0.55) 50%,
    rgba(27, 58, 42, 0.7) 100%
  );
}

.hero-pattern {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 32px;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Section Styles --- */
.section { padding: var(--section-pad) 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--green-deep);
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 580px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Featured Products --- */
.products-section {
  background: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.product-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  position: relative;
  group: product;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 50px;
}

.product-info {
  padding: 24px;
}

.product-info .product-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}

.product-info h3 {
  font-size: 1.15rem;
  color: var(--green-deep);
  margin-bottom: 6px;
}

.product-info .tasting-notes {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 16px;
  font-style: italic;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-deep);
}

.product-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
}

.add-cart-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--green-mid);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}

.add-cart-btn:hover {
  background: var(--green-deep);
  transform: scale(1.1);
}

/* --- Brand Story --- */
.story-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-pale) 0%, transparent 70%);
  opacity: 0.5;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.story-image-bg {
  width: 100%;
  height: 100%;
}

.story-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.story-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--green-deep);
  margin-bottom: 24px;
  line-height: 1.2;
}

.story-content p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.85;
  font-size: 1.05rem;
}

.story-stats {
  display: flex;
  gap: 40px;
  margin: 32px 0;
  padding: 28px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* --- Features --- */
.features-section {
  background: var(--green-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px;
}

.features-section .section-label { color: var(--gold); }
.features-section .section-title { color: var(--white); }
.features-section .section-subtitle { color: rgba(255,255,255,0.6); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(201, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--white);
}

.feature-card p {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Testimonials --- */
.testimonials-section {
  background: var(--white);
  overflow: hidden;
}

.testimonial-marquee {
  display: flex;
  gap: 28px;
  animation: marquee 40s linear infinite;
  width: max-content;
  margin-top: 56px;
}

.testimonial-marquee:hover { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  min-width: 380px;
  max-width: 380px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  flex-shrink: 0;
}

.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 28px;
  opacity: 0.3;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--dark-soft);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--green-deep);
  font-size: 0.95rem;
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--gray);
}

/* --- CTA Banner --- */
.cta-section {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-deep) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--white);
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Newsletter --- */
.newsletter-section {
  background: var(--cream-dark);
  padding: 80px 0;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-size: 2rem;
  color: var(--green-deep);
  margin-bottom: 12px;
}

.newsletter-inner p {
  color: var(--gray);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border: 1.5px solid var(--gray-light);
  border-radius: 50px;
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.3s var(--ease-out);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--green-mid);
}

/* --- Footer --- */
.footer {
  background: var(--green-deep);
  color: var(--white);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand svg { width: 24px; height: 24px; }

.footer-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer ul li { margin-bottom: 12px; }

.footer ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease-out);
}

.footer ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* --- Page Header --- */
.page-header {
  position: relative;
  background: var(--green-deep);
  color: var(--white);
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(45, 90, 61, 0.5) 0%, transparent 60%);
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 64px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-light);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-content {
  width: 44%;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease-out);
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--cream);
  z-index: 1;
}

/* --- Shop Page --- */
.shop-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-light);
  background: var(--white);
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--green-mid);
  background: var(--green-mid);
  color: var(--white);
}

/* --- Rewards --- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.tier-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  border: 1.5px solid var(--gray-light);
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.tier-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tier-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.06) 0%, var(--white) 100%);
}

.tier-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 20px;
  border-radius: 50px;
  white-space: nowrap;
}

.tier-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.tier-card.featured .tier-icon {
  background: rgba(201, 169, 110, 0.15);
}

.tier-card h3 {
  font-size: 1.4rem;
  color: var(--green-deep);
  margin-bottom: 6px;
}

.tier-points {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}

.tier-benefits {
  text-align: left;
  margin-bottom: 28px;
}

.tier-benefits li {
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.95rem;
  color: var(--dark-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-benefits li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-pale);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233A7D52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Locations --- */
.search-container {
  max-width: 600px;
  margin: 0 auto 56px;
}

.search-bar {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-light);
  transition: border-color 0.3s var(--ease-out);
}

.search-bar:focus-within { border-color: var(--green-mid); }

.search-bar input {
  flex: 1;
  padding: 16px 28px;
  border: none;
  font-size: 1rem;
  background: transparent;
}

.search-bar input:focus { outline: none; }

.search-bar button {
  padding: 16px 32px;
  border: none;
  background: var(--green-mid);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s var(--ease-out);
}

.search-bar button:hover { background: var(--green-deep); }

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: all 0.3s var(--ease-out);
}

.location-card:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.location-card-top {
  background: linear-gradient(135deg, var(--green-primary), var(--green-deep));
  padding: 24px;
  color: var(--white);
}

.location-card-top h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.location-card-top span {
  font-size: 0.85rem;
  opacity: 0.7;
}

.location-card-body {
  padding: 24px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--dark-soft);
}

.location-detail svg {
  width: 18px;
  height: 18px;
  stroke: var(--green-mid);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.location-hours {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
  font-size: 0.85rem;
  color: var(--gray);
}

.location-hours strong { color: var(--green-deep); }

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: all 0.4s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 50px;
}

.blog-card-body {
  padding: 28px;
}

.blog-card-body h3 {
  font-size: 1.2rem;
  color: var(--green-deep);
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color 0.2s var(--ease-out);
}

.blog-card:hover .blog-card-body h3 { color: var(--green-mid); }

.blog-card-body p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s var(--ease-out);
}

.blog-card:hover .blog-read-more { gap: 12px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .navbar-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-deep);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

  .navbar-menu.open { display: flex; }
  .navbar-menu a { color: var(--white) !important; font-size: 1.2rem; }
  .mobile-toggle { display: block; z-index: 1001; }

  .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .story-image { max-height: 350px; }
  .story-stats { gap: 24px; flex-wrap: wrap; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; padding-left: 52px; }
  .timeline-content { width: 100%; }
  .timeline-dot { left: 20px; }

  .newsletter-form { flex-direction: column; }
  .testimonial-card { min-width: 300px; max-width: 300px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}
