/* ============================================
   粿董蘿蔔糕 — Design System
   溫馨手作風格 | Warm Handmade Aesthetic
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&family=Noto+Serif+TC:wght@400;700;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-cream: #FFF8F0;
  --color-cream-dark: #F5E6D3;
  --color-caramel: #8B5E3C;
  --color-caramel-light: #A97B5A;
  --color-warm-orange: #E8975A;
  --color-warm-orange-light: #F0B88A;
  --color-deep-brown: #5C3D2E;
  --color-deep-brown-dark: #3D2518;
  --color-soft-green: #7A9E7E;
  --color-soft-red: #C75B4A;
  --color-white: #FFFFFF;
  --color-text: #3D2518;
  --color-text-light: #7A6555;
  --color-overlay: rgba(61, 37, 24, 0.55);

  /* Typography */
  --font-sans: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-serif: 'Noto Serif TC', 'PMingLiU', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(93, 61, 46, 0.08);
  --shadow-md: 0 4px 20px rgba(93, 61, 46, 0.12);
  --shadow-lg: 0 8px 40px rgba(93, 61, 46, 0.16);
  --shadow-hover: 0 12px 48px rgba(93, 61, 46, 0.22);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-deep-brown);
  text-align: center;
  margin-bottom: var(--space-sm);
  position: relative;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: var(--space-xl);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-warm-orange), var(--color-caramel));
  border-radius: 2px;
  margin: var(--space-sm) auto var(--space-md);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay for children */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: background var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-white);
  transition: color var(--transition-normal);
  letter-spacing: 0.05em;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--color-white);
  padding: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.nav-brand:hover .nav-logo {
  transform: rotate(5deg) scale(1.08);
}

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

.nav-links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--color-deep-brown);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-warm-orange);
  border-radius: 1px;
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background var(--transition-normal);
}

.navbar.scrolled .nav-hamburger span {
  background: var(--color-deep-brown);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(61, 37, 24, 0.65) 0%,
    rgba(92, 61, 46, 0.5) 50%,
    rgba(139, 94, 60, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  padding: 0 var(--space-md);
}

.hero-logo-wrapper {
  margin-bottom: var(--space-sm);
  display: flex;
  justify-content: center;
  animation: fadeInDown 1s 0.2s both;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: #FFFFFF;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-normal);
}

.hero-logo:hover {
  transform: scale(1.08) rotate(3deg);
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(4px);
  animation: fadeInDown 1s 0.3s both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s 0.5s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  opacity: 0.9;
  animation: fadeInUp 1s 0.7s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-warm-orange), var(--color-caramel));
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 20px rgba(232, 151, 90, 0.4);
  animation: fadeInUp 1s 0.9s both;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232, 151, 90, 0.5);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
  width: 28px;
  height: 28px;
  color: var(--color-white);
  opacity: 0.7;
}

/* ============================================
   BRAND STORY SECTION
   ============================================ */
.story-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(232, 151, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.story-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 94, 60, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.story-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--color-caramel);
  margin-bottom: var(--space-sm);
}

.story-text p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: var(--space-sm);
}

.story-highlight {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.story-highlight-item {
  text-align: center;
}

.story-highlight-item .number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-warm-orange);
  line-height: 1;
}

.story-highlight-item .label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.3rem;
}

.story-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(232, 151, 90, 0.2);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.story-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-image-wrapper:hover img {
  transform: scale(1.05);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-cream-dark), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--color-warm-orange), var(--color-caramel));
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(232, 151, 90, 0.3);
}

.product-card-body {
  padding: var(--space-md);
}

.product-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-deep-brown);
  margin-bottom: 0.5rem;
}

.product-card-body p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

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

.product-price .price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-warm-orange);
}

.product-price .unit {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 400;
}

.product-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  background: var(--color-deep-brown);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.product-order-btn:hover {
  background: var(--color-caramel);
  transform: translateY(-2px);
}

/* ============================================
   ORDERING SECTION
   ============================================ */
.ordering-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
}

.ordering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.ordering-info {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.ordering-info h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-deep-brown);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ordering-info h3 .icon {
  font-size: 1.5rem;
}

.shipping-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.shipping-table thead th {
  background: var(--color-deep-brown);
  color: var(--color-white);
  padding: 0.9rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

.shipping-table tbody td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--color-cream-dark);
  font-size: 0.95rem;
}

.shipping-table tbody tr:last-child td {
  border-bottom: none;
}

.shipping-table tbody tr:nth-child(even) {
  background: var(--color-cream);
}

.shipping-table tbody tr:hover {
  background: rgba(232, 151, 90, 0.08);
}

.shipping-table .highlight {
  color: var(--color-soft-red);
  font-weight: 600;
}

.shipping-table .free {
  color: var(--color-soft-green);
  font-weight: 700;
}

.shipping-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: var(--space-sm);
  background: rgba(232, 151, 90, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.shipping-note .note-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 2px;
}

/* Order Channels */
.ordering-channels {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.ordering-channels h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-deep-brown);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.channels-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.channel-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-cream-dark);
  background: var(--color-cream);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.channel-btn:hover {
  border-color: var(--color-warm-orange);
  background: rgba(232, 151, 90, 0.05);
  transform: translateX(6px);
}

.channel-btn .channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.channel-btn .channel-icon.line {
  background: #06C755;
  color: white;
}

.channel-btn .channel-icon.phone {
  background: var(--color-warm-orange);
  color: white;
}

.channel-btn .channel-icon.fb {
  background: #1877F2;
  color: white;
}

.channel-btn .channel-icon.ig {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
  color: white;
}

.channel-btn .channel-icon.form {
  background: var(--color-caramel);
  color: white;
}

.channel-btn .channel-text {
  display: flex;
  flex-direction: column;
}

.channel-btn .channel-text .channel-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-deep-brown);
}

.channel-btn .channel-text .channel-detail {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ============================================
   CONTACT / FOOTER
   ============================================ */
.footer {
  background: var(--color-deep-brown-dark);
  color: var(--color-cream-dark);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--color-white);
  padding: 2px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.8;
  opacity: 0.75;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.7;
  padding: 0.3rem 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 0.6rem;
}

.footer-contact-list li .icon {
  font-size: 1rem;
  opacity: 0.6;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-warm-orange);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.65;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-creator {
  font-size: 0.8rem;
  opacity: 0.85;
}

.footer-creator a {
  color: var(--color-warm-orange-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

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

/* ============================================
   SITE VERSION BADGE (SUBTLE)
   ============================================ */
.site-version {
  position: fixed;
  bottom: 8px;
  right: 12px;
  font-size: 0.72rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: rgba(92, 61, 46, 0.45);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(92, 61, 46, 0.1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  z-index: 9999;
  pointer-events: none;
  letter-spacing: 0.5px;
  user-select: none;
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-12px);
  }
  60% {
    transform: translateX(-50%) translateY(-6px);
  }
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .story-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --space-xl: 2.5rem;
    --space-2xl: 3.5rem;
  }

  .navbar {
    padding: 0.6rem 0;
  }

  .nav-brand {
    font-size: 1.3rem;
  }

  .nav-logo {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--color-deep-brown) !important;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    min-height: 92vh;
    padding: 100px 0 60px;
  }

  .hero-logo {
    width: 105px;
    height: 105px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1.1rem;
    letter-spacing: 0.1em;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    margin-bottom: var(--space-xs);
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
  }

  .hero-cta {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
    gap: 1.5rem;
  }

  .product-card-body {
    padding: 1.25rem;
  }

  .story-highlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .story-highlight-item .number {
    font-size: 1.7rem;
  }

  .story-highlight-item .label {
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .ordering-info,
  .ordering-channels {
    padding: 1.25rem;
  }

  .shipping-table thead th,
  .shipping-table tbody td {
    padding: 0.75rem 0.9rem;
    font-size: 0.88rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero {
    min-height: 88vh;
    padding-top: 80px;
  }

  .hero-logo {
    width: 90px;
    height: 90px;
  }

  .container {
    padding: 0 1rem;
  }

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

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
  }

  .channel-btn {
    padding: 0.75rem 0.9rem;
    gap: 0.75rem;
  }

  .channel-btn .channel-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .channel-btn .channel-text .channel-name {
    font-size: 0.9rem;
  }

  .channel-btn .channel-text .channel-detail {
    font-size: 0.78rem;
  }

  .story-highlight {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .shipping-table thead th,
  .shipping-table tbody td {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
  }

  .product-price .price {
    font-size: 1.4rem;
  }

  .product-order-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
