/* ========================================================
   RUMAH HERBAL - NATURAL HOMEMADE BEVERAGE SHOP STYLES
   ======================================================== */

:root {
  /* Brand Color Palette */
  --color-bg-milk: #FFFDF9;
  --color-surface-white: #FFFFFF;
  --color-text-main: #163020;
  --color-text-muted: #52665A;
  --color-text-light: #8A9A90;

  /* Accent Colors (Herbal Green & Warm Honey/Aren Amber) */
  --purple-blueberry-dark: #14452F;
  --purple-blueberry: #1F6E43;
  --purple-blueberry-vibrant: #15803D;
  --purple-soft: #E6F4EC;

  --pink-strawberry: #D97706;
  --pink-strawberry-hover: #B45309;
  --pink-strawberry-soft: #FEF3C7;

  --yellow-mango: #FFAA1D;
  --yellow-mango-soft: #FFF4DC;

  --green-mint: #10B981;
  --green-mint-soft: #D1FAE5;
  --green-wa: #25D366;
  --green-wa-dark: #128C7E;

  --caramel-choco: #7E4832;
  --caramel-choco-soft: #F5EAE5;

  --blue-cookie: #2563EB;
  --blue-cookie-soft: #E0F2FE;

  /* Typography */
  --font-display: 'Fredoka', 'Baloo 2', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows & Radius */
  --radius-card: 28px;
  --radius-pill: 9999px;
  --radius-btn: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 4px 12px rgba(20, 69, 47, 0.06);
  --shadow-md: 0 10px 25px rgba(20, 69, 47, 0.09);
  --shadow-lg: 0 18px 40px rgba(20, 69, 47, 0.13);
  --shadow-hover: 0 22px 48px rgba(20, 69, 47, 0.18);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-milk);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   NAVIGATION / TOPBAR
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(31, 110, 67, 0.08);
  transition: var(--transition-fast);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22C55E 0%, #14452F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(31, 110, 67, 0.32);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--purple-blueberry-dark);
  letter-spacing: -0.02em;
}

.brand-name span {
  color: #16A34A;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple-blueberry-dark);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.nav-link:hover {
  background: var(--purple-soft);
  color: var(--purple-blueberry);
}

.btn-nav-order {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-mango);
  color: #14452F;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(255, 170, 29, 0.35);
  transition: var(--transition-smooth);
}

.btn-nav-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 170, 29, 0.45);
}

/* ========================================================
   HERO SECTION (RESPONSIVE VIDEO BANNER)
   ======================================================== */
.hero-video-section {
  position: relative;
  background: linear-gradient(165deg, #0F3A26 0%, #1B5E3A 60%, #247849 100%);
  overflow: hidden;
  padding: 24px 0 !important;
  line-height: normal;
  display: block;
}

.hero-video-section::before,
.hero-video-section::after {
  display: none !important;
}

.hero-video-wrap-container {
  display: flex;
  justify-content: center;
}

.hero-video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0D2E1E;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(13, 46, 30, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

/* Laptop & Tablet (Landscape): assets/hero/landscape.mp4 */
.hero-video-desktop {
  display: block;
  width: 100%;
  max-height: 75vh;
  object-fit: cover;
}

.hero-video-mobile {
  display: none;
}

/* Mobile / HP (Portrait): assets/hero/potrait.mp4 */
@media (max-width: 767px) {
  .hero-video-section,
  .hero-section.hero-video-section {
    padding: 20px 0 !important;
  }

  .hero-video-wrap-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hero-video-container {
    border-radius: 18px;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }

  .hero-video-desktop {
    display: none !important;
  }
  
  .hero-video-mobile {
    display: block !important;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
    border-radius: 18px;
  }
}

/* Hero Sound Toggle Button */
.hero-sound-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 8, 38, 0.78);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: var(--transition-fast);
}

.hero-sound-btn:hover {
  background: rgba(80, 35, 132, 0.95);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .hero-sound-btn {
    bottom: 16px;
    right: 14px;
    padding: 6px 12px;
    font-size: 0.78rem;
    gap: 6px;
  }
}

.hero-section {
  position: relative;
  background: linear-gradient(165deg, var(--purple-blueberry-dark) 0%, var(--purple-blueberry) 60%, #60259C 100%);
  color: #FFFFFF;
  padding: 60px 0 110px 0;
  overflow: hidden;
}

/* Soft glowing background spots */
.hero-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 71, 126, 0.3) 0%, rgba(255, 71, 126, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 170, 29, 0.22) 0%, rgba(255, 170, 29, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

/* Hero Content */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFE6EE;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.hero-tag-icon {
  font-size: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
  color: #FFDE7A;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--pink-strawberry);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(255, 71, 126, 0.45);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--pink-strawberry-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(255, 71, 126, 0.55);
}

.btn-whatsapp-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.btn-whatsapp-outline:hover {
  background: var(--green-wa);
  border-color: var(--green-wa);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
}

.stars-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
}

.stars-rating svg {
  color: #FFC107;
}

/* Hero Mockup Visual */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 18px auto 0 auto;
}

.hero-drink-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 95%;
  background: radial-gradient(circle, rgba(255, 71, 126, 0.45) 0%, rgba(255, 255, 255, 0.05) 75%);
  border-radius: 50%;
  filter: blur(24px);
  z-index: 1;
}

.hero-mockup-img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  display: block;
  animation: floatAnimation 4s ease-in-out infinite alternate;
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-10px) rotate(0.8deg);
  }
}

/* Floating Badges on Hero */
.hero-floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--purple-blueberry-dark);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  animation: floatBadge 3.5s ease-in-out infinite alternate;
}

.hero-floating-badge.badge-top {
  top: 12%;
  right: -10px;
  border-left: 4px solid var(--pink-strawberry);
}

.hero-floating-badge.badge-bottom {
  bottom: 14%;
  left: -20px;
  border-left: 4px solid var(--yellow-mango);
  animation-delay: 1.5s;
}

.badge-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-top .badge-icon-box {
  background: var(--pink-strawberry-soft);
}

.badge-bottom .badge-icon-box {
  background: var(--yellow-mango-soft);
}

@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

/* Wave Separator Bottom of Hero (Creamy Milk Wave) */
.hero-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
}

.hero-wave-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  color: var(--color-bg-milk);
}

/* ========================================================
   HIGHLIGHT / VALUE PROPOSITION SECTION
   ======================================================== */
.features-section {
  padding: 40px 0 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-pill-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-surface-white);
  padding: 16px 20px;
  border-radius: 20px;
  border: 1px solid rgba(80, 35, 132, 0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.feature-pill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-icon-box.pink {
  background: var(--pink-strawberry-soft);
}

.feature-icon-box.yellow {
  background: var(--yellow-mango-soft);
}

.feature-icon-box.mint {
  background: var(--green-mint-soft);
}

.feature-icon-box.purple {
  background: var(--purple-soft);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--purple-blueberry-dark);
  margin-bottom: 2px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ========================================================
   KATALOG MINUMAN SECTION
   ======================================================== */
.catalog-section {
  padding: 60px 0 90px 0;
  position: relative;
}

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

.section-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-blueberry);
  background: var(--purple-soft);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--purple-blueberry-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* Category Filter Tabs */
.filter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-pill {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-white);
  color: var(--purple-blueberry);
  border: 2px solid rgba(80, 35, 132, 0.1);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.filter-pill:hover {
  border-color: var(--pink-strawberry);
  color: var(--pink-strawberry);
  transform: translateY(-2px);
}

.filter-pill.active {
  background: var(--purple-blueberry);
  color: #FFFFFF;
  border-color: var(--purple-blueberry);
  box-shadow: 0 8px 20px rgba(80, 35, 132, 0.28);
}

/* Product Catalog Grid (4 produk rapi sejajar di laptop, 2x2 di tablet & HP) */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1099px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Product Card */
.product-card {
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(31, 110, 67, 0.08);
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color, var(--purple-blueberry));
}

/* Card Image Area */
.card-image-wrapper {
  position: relative;
  background-color: var(--card-soft-bg, #E6F4EC);
  width: 100%;
  aspect-ratio: 10 / 11;
  height: auto;
  display: block;
  overflow: hidden;
  border-top-left-radius: calc(var(--radius-card) - 2px);
  border-top-right-radius: calc(var(--radius-card) - 2px);
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--accent-color, var(--purple-blueberry));
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Card Body */
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--purple-blueberry-dark);
  line-height: 1.25;
}

.product-category-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-milk);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 42px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  background: var(--color-bg-milk);
  padding: 10px 16px;
  border-radius: 14px;
  margin-bottom: 20px;
}

.price-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--purple-blueberry);
}

/* Order Controls (Quantity + Subtotal) */
.order-controls {
  background: #F6FBF8;
  border: 1px dashed rgba(31, 110, 67, 0.22);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 18px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qty-control-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple-blueberry-dark);
}

.qty-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(31, 110, 67, 0.16);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.btn-qty {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple-blueberry);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-qty:hover:not(:disabled) {
  background: var(--purple-blueberry);
  color: #FFFFFF;
  transform: scale(1.08);
}

.btn-qty:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-display {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
  color: var(--purple-blueberry-dark);
}

.subtotal-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(80, 35, 132, 0.08);
  padding-top: 8px;
}

.subtotal-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.subtotal-amount {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pink-strawberry);
}

/* Order Button */
.btn-order-wa {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
  transition: var(--transition-smooth);
}

.btn-order-wa:hover {
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.45);
}

.btn-order-wa:active {
  transform: translateY(0);
}

.wa-icon {
  flex-shrink: 0;
}

/* ========================================================
   CARA PESAN SECTION
   ======================================================== */
.how-to-order-section {
  padding: 70px 0 90px 0;
  background: linear-gradient(180deg, var(--color-bg-milk) 0%, #EEF7F2 100%);
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  background: var(--color-surface-white);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(31, 110, 67, 0.06);
  position: relative;
  transition: var(--transition-smooth);
}

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

.step-number-bubble {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pink-strawberry);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(255, 71, 126, 0.4);
}

.step-card:nth-child(2) .step-number-bubble {
  background: var(--purple-blueberry);
  box-shadow: 0 6px 16px rgba(80, 35, 132, 0.4);
}

.step-card:nth-child(3) .step-number-bubble {
  background: var(--green-wa);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.step-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--purple-soft);
  margin: 12px auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--purple-blueberry-dark);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  border: 2px dashed rgba(80, 35, 132, 0.15);
  color: var(--color-text-muted);
  font-size: 1.1rem;
}


/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background: var(--purple-blueberry-dark);
  color: #FFFFFF;
  padding: 60px 0 30px 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand-name {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 20px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFDE7A;
  margin-bottom: 18px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #25D366;
  background: rgba(37, 211, 102, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  margin-bottom: 12px;
}

.footer-contact-link:hover {
  background: #25D366;
  color: #FFFFFF;
}

.footer-info-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ======================================================== */
@media (max-width: 991px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  /* Tampilan Hero HP: Foto di atas, kemudian tulisan di bawahnya */
  .hero-visual-wrapper {
    order: 1;
    width: 100%;
  }

  .hero-content {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-visual-container {
    max-width: 340px;
    margin: 18px auto 0 auto;
  }

  .hero-mockup-img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
  }

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

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .site-header .nav-link {
    display: none;
  }

  /* Padding atas, kanan, dan kiri disamakan persis (20px) */
  .hero-section {
    padding: 20px 0 80px 0;
  }

  .hero-section.hero-video-section {
    padding: 20px 0 !important;
  }

  .hero-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-visual-container {
    width: 100%;
    max-width: 100%;
    margin: 18px auto 0 auto;
  }

  /* Tampilan HP: Foto Hero Portrait 2:3 */
  .hero-mockup-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 9px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .btn-primary,
  .btn-whatsapp-outline {
    width: 100%;
  }

  .hero-floating-badge.badge-top {
    top: 5%;
    right: 8px;
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .hero-floating-badge.badge-bottom {
    bottom: 5%;
    left: 8px;
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  /* Tampilan Produk Tampak HP Jejer 2 */
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    border-radius: 18px;
  }

  /* Tampilan HP: Foto produk selaras kemasan */
  .card-image-wrapper {
    width: 100%;
    aspect-ratio: 10 / 11;
    height: auto;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }

  .card-badge {
    top: 6px;
    right: 6px;
    font-size: 0.65rem;
    padding: 3px 7px;
  }

  .card-body {
    padding: 12px 10px;
  }

  .card-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 6px;
  }

  .product-name {
    font-size: 1.02rem;
    line-height: 1.25;
  }

  .product-category-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .product-desc {
    font-size: 0.76rem;
    line-height: 1.35;
    margin-bottom: 8px;
    min-height: unset;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .price-row {
    padding: 5px 8px;
    margin-bottom: 8px;
    border-radius: 8px;
  }

  .price-label {
    font-size: 0.7rem;
  }

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

  .order-controls {
    padding: 6px 6px;
    margin-bottom: 8px;
    gap: 4px;
    border-radius: 10px;
  }

  .qty-label {
    font-size: 0.72rem;
  }

  .qty-group {
    padding: 2px 4px;
    gap: 2px;
  }

  .btn-qty {
    width: 22px;
    height: 22px;
  }

  .qty-display {
    font-size: 0.9rem;
    min-width: 18px;
  }

  .subtotal-box {
    padding-top: 3px;
  }

  .subtotal-label {
    font-size: 0.68rem;
  }

  .subtotal-amount {
    font-size: 0.88rem;
  }

  .card-action-group {
    gap: 6px;
  }

  .btn-add-to-cart {
    font-size: 0.8rem;
    padding: 8px 6px;
    border-radius: 10px;
    gap: 4px;
  }

  .btn-add-to-cart svg {
    width: 14px;
    height: 14px;
  }

  .btn-instant-wa {
    font-size: 0.75rem;
    padding: 6px 6px;
    border-radius: 10px;
    gap: 4px;
  }

  .btn-instant-wa svg {
    width: 13px;
    height: 13px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }


}

/* ========================================================
   MULTI-ITEM ORDER & SHOPPING CART STYLES
   ======================================================== */

/* Card Action Group */
.card-action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-add-to-cart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--purple-blueberry);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 13px 18px;
  border-radius: var(--radius-btn);
  box-shadow: 0 6px 18px rgba(80, 35, 132, 0.28);
  transition: var(--transition-smooth);
}

.btn-add-to-cart:hover {
  background: var(--purple-blueberry-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(80, 35, 132, 0.38);
}

.btn-add-to-cart.added-feedback {
  background: #10B981 !important;
  color: #FFFFFF !important;
  transform: scale(0.98);
}

.btn-instant-wa {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
  border: 1.5px solid rgba(37, 211, 102, 0.4);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  transition: var(--transition-fast);
}

.btn-instant-wa:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  transform: translateY(-2px);
}

/* Floating Cart Summary Bar */
.floating-cart-bar {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 36px);
  max-width: 580px;
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.floating-cart-bar.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cart-bar-inner {
  background: linear-gradient(135deg, #103824 0%, #1F6E43 100%);
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(16, 56, 36, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-grow: 1;
}

.cart-badge-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cart-count-pill {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--pink-strawberry);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.cart-info-text {
  display: flex;
  flex-direction: column;
}

.cart-items-summary {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.cart-price-summary {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFDE7A;
}

.cart-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-open-cart-modal {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.btn-open-cart-modal:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-checkout-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  transition: var(--transition-smooth);
}

.btn-checkout-bar:hover {
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  transform: translateY(-2px);
}

/* Cart Modal Drawer Overlay */
.cart-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 28, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.cart-modal-overlay.open {
  visibility: visible;
  opacity: 1;
}

.cart-modal-container {
  width: 100%;
  max-width: 520px;
  background: #FFFDF9;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-modal-overlay.open .cart-modal-container {
  transform: translateY(0);
}

.cart-modal-header {
  padding: 20px 24px;
  border-bottom: 1.5px solid rgba(80, 35, 132, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon {
  font-size: 1.6rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--purple-blueberry-dark);
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: block;
}

.btn-close-modal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple-blueberry);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-close-modal:hover {
  background: var(--purple-blueberry);
  color: #FFFFFF;
}

.cart-modal-body {
  padding: 16px 24px;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.empty-cart-state {
  text-align: center;
  padding: 40px 10px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.cart-modal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(31, 110, 67, 0.1);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(20, 69, 47, 0.05);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #E6F4EC;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-blueberry-dark);
}

.cart-item-unit-price {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.cart-item-subtotal {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-strawberry);
  margin-top: 2px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.qty-group-sm {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F4FAF6;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(31, 110, 67, 0.14);
}

.btn-qty-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple-blueberry);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.btn-qty-sm:hover {
  background: var(--purple-blueberry);
  color: #fff;
}

.qty-sm-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
  color: var(--purple-blueberry-dark);
}

.btn-remove-item {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #FFF1F2;
  color: #E11D48;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-remove-item:hover {
  background: #E11D48;
  color: #FFFFFF;
}

.cart-modal-footer {
  padding: 18px 24px 24px 24px;
  border-top: 1.5px solid rgba(31, 110, 67, 0.1);
  background: #F4FAF6;
  border-radius: 0 0 28px 28px;
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-total-row .total-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.cart-total-row .total-val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--purple-blueberry);
}

.modal-actions-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-checkout-wa-large {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 15px 20px;
  border-radius: var(--radius-btn);
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.4);
  transition: var(--transition-smooth);
}

.btn-checkout-wa-large:hover {
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.5);
}

.btn-continue-shopping {
  width: 100%;
  padding: 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-blueberry);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.btn-continue-shopping:hover {
  background: var(--purple-soft);
}

@media (min-width: 768px) {
  .cart-modal-overlay {
    align-items: center;
  }
  .cart-modal-container {
    border-radius: 28px;
    margin: 20px;
  }
  .cart-modal-footer {
    border-radius: 0 0 28px 28px;
  }
}
