/* ===== Toko Peralatan Pancing — style "Tide Voyage Storytelling" ===== */

:root {
  --bg: #f2f7f8;
  --bg-alt: #e4eef0;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.6);
  --text: #0d2430;
  --text-muted: #4d6672;
  --border: #cfe0e3;
  --accent: #14b8a6;
  --accent-dark: #0f766e;
  --coral: #ff7849;
  --navy: #0b3948;
  --navy-dark: #062430;
  --danger: #ef4444;
  --success: #22c55e;
  --radius-glass: 20px;
  --radius-pill: 999px;
  --shadow: 0 12px 34px rgba(6, 36, 48, 0.14);
  --transition-fast: 220ms ease;
  --blur: 16px;
}

[data-theme="dark"] {
  --bg: #071b24;
  --bg-alt: #0c2530;
  --surface: #10303c;
  --surface-glass: rgba(16, 48, 60, 0.55);
  --text: #e6f4f1;
  --text-muted: #93b0ba;
  --border: #1c3d49;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition-fast), color var(--transition-fast);
}

h1, h2, h3, .brand {
  font-family: "Poppins", "Inter", sans-serif;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

/* ===== Demo banner ===== */
.demo-banner {
  background: var(--navy-dark);
  color: var(--accent);
  text-align: center;
  font-size: 0.8rem;
  padding: 6px 12px;
}
.demo-banner strong { color: #fff; }

/* ===== Buttons (Glass + Pill) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: #04211d; box-shadow: 0 8px 20px rgba(20, 184, 166, 0.35); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.2); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-dark); }
.btn-block { width: 100%; justify-content: center; }

/* ===== Icon buttons / badge ===== */
.icon-btn {
  position: relative;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.icon-btn:hover { background: var(--bg-alt); }
.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--coral);
  color: #fff;
  font-size: 0.6rem;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 0 3px;
}
.badge.pop { animation: pop 300ms ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.navbar-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand i { color: var(--accent); }
.brand span { color: var(--coral); }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.86rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.nav-links a:hover { border-color: var(--accent); color: var(--accent-dark); }
.navbar-actions { display: flex; align-items: center; gap: 6px; }
.hamburger { display: none; }

@media (max-width: 480px) {
  .navbar-inner { padding: 12px 14px; gap: 8px; }
  .brand { font-size: 1.02rem; }
  .navbar-actions { gap: 0; }
  .icon-btn { width: 34px; height: 34px; font-size: 1rem; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background: var(--surface);
    flex-direction: column;
    padding: 90px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 280ms ease;
    box-shadow: var(--shadow);
    z-index: 39;
  }
  .nav-links.open { transform: translateX(0); }
  .hamburger { display: inline-flex; }
}

/* ===== Hero (cinematic full-bleed + layered wave background + bubbles) ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.bubbles { position: absolute; inset: 0; overflow: hidden; }
.bubbles span {
  position: absolute;
  bottom: -40px;
  width: 14px;
  height: 14px;
  background: rgba(230, 244, 241, 0.35);
  border-radius: 50%;
  animation: rise 9s infinite ease-in;
}
.bubbles span:nth-child(1) { left: 12%; width: 10px; height: 10px; animation-delay: 0s; animation-duration: 8s; }
.bubbles span:nth-child(2) { left: 26%; width: 16px; height: 16px; animation-delay: 1.5s; animation-duration: 10s; }
.bubbles span:nth-child(3) { left: 45%; width: 8px; height: 8px; animation-delay: 3s; animation-duration: 7s; }
.bubbles span:nth-child(4) { left: 63%; width: 18px; height: 18px; animation-delay: 0.8s; animation-duration: 11s; }
.bubbles span:nth-child(5) { left: 78%; width: 12px; height: 12px; animation-delay: 2.2s; animation-duration: 9s; }
.bubbles span:nth-child(6) { left: 90%; width: 9px; height: 9px; animation-delay: 4s; animation-duration: 8.5s; }
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-640px) translateX(20px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
}
.eyebrow, .chapter-tag {
  display: inline-block;
  color: var(--coral);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.15;
  color: #fff;
}
.hero p { color: #dbe9ec; max-width: 480px; font-size: 1rem; }
.hero-cta { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero { min-height: 520px; }
  .hero-content { padding: 60px 24px 40px; }
}

/* Wave divider — motif khas style Tide Voyage (bukan diagonal/hazard-stripe) */
.wave-divider { display: block; width: 100%; height: 70px; margin-top: -2px; }
.wave-divider path { fill: var(--bg); }

/* ===== Marquee ===== */
.marquee-section {
  background: var(--navy-dark);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e6f4f1;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  white-space: nowrap;
}
.marquee-item i { color: var(--accent); }

/* ===== Sections ===== */
.section { max-width: 1220px; margin: 0 auto; padding: 70px 24px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 6px; }
.section-sub { color: var(--text-muted); margin-top: 8px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.slide-left { transform: translateX(-40px); }
.reveal.slide-right { transform: translateX(40px); }
.reveal.in-view { opacity: 1; transform: translate(0, 0); }

/* ===== Category grid (glass cards) ===== */
.category-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.category-card {
  background: var(--surface-glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  border-radius: var(--radius-glass);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.category-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.category-card img { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 14px; }
.category-card h3 { font-size: 0.95rem; }
.category-card span { color: var(--text-muted); font-size: 0.75rem; }

/* ===== Katalog: chip filter + search + grid (bukan sidebar — ciri khas style Tide Voyage) ===== */
.katalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  min-width: 260px;
}
.search-box input { border: none; background: transparent; outline: none; color: var(--text); width: 100%; font-size: 0.9rem; }
.search-box i { color: var(--text-muted); }

.chip-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip-filter .chip {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.chip-filter .chip:hover { border-color: var(--accent); color: var(--text); }
.chip-filter .chip.active { background: var(--accent); border-color: var(--accent); color: #04211d; font-weight: 600; }

/* Product grid — glass card, rounded, ciri khas Tide Voyage */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-glass);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.product-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #04211d;
  font-size: 0.65rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.product-badge.stock-out { background: var(--danger); color: #fff; }
.wishlist-btn {
  position: absolute; top: 8px; right: 8px;
  background: rgba(6, 36, 48, 0.55); color: #fff; border: none;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.wishlist-btn.active { color: var(--coral); background: #fff; }
.product-info { padding: 16px; }
.product-cat { font-size: 0.68rem; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
[data-theme="dark"] .product-cat { color: var(--accent); }
.product-name { font-size: 0.92rem; margin: 6px 0 10px; min-height: 40px; }
.product-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 14px; }
.product-price { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--accent-dark); }
[data-theme="dark"] .product-price { color: var(--accent); }
.product-unit { font-size: 0.75rem; color: var(--text-muted); }
.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; padding: 10px; font-size: 0.75rem; }

/* skeleton loading */
.skeleton-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-glass); overflow: hidden; }
.skeleton-thumb, .skeleton-line { background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 37%, var(--bg-alt) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
.skeleton-thumb { aspect-ratio: 4/3; }
.skeleton-line { height: 12px; margin: 16px; border-radius: 4px; }
.skeleton-line.short { width: 60%; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ===== Advisor (fitur khas — bukan kalkulator numerik) ===== */
.advisor-section { max-width: none; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); padding: 70px 24px; }
.advisor-card {
  max-width: 1000px; margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-glass);
  padding: 40px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.advisor-intro p { color: #cfe4e0; margin-top: 10px; }
.advisor-form { display: flex; flex-direction: column; gap: 14px; }
.advisor-form label { font-size: 0.8rem; color: #cfe4e0; display: block; margin-bottom: 6px; }
.advisor-form select {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1);
  color: #fff; font-size: 0.9rem;
}
.advisor-form select option { color: #0d2430; }
.advisor-result {
  grid-column: 1 / -1;
  margin-top: 6px; padding: 20px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.12); border-left: 4px solid var(--coral);
  font-size: 0.9rem; line-height: 1.8;
}
.advisor-result strong { color: var(--coral); }
@media (max-width: 800px) { .advisor-card { grid-template-columns: 1fr; } }

/* ===== Stats ===== */
.stats-section { background: var(--navy-dark); color: #fff; max-width: none; padding: 60px 24px; }
.stats-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.stat-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 10px; }
.stat-num-row { font-family: "Poppins", sans-serif; font-size: 2.2rem; font-weight: 700; }
.stat-card p { color: #a9c3ca; margin-top: 6px; font-size: 0.85rem; }
.stat-card.bounce i { animation: bounce 500ms ease; }
@keyframes bounce { 0%,100% { transform: translateY(0);} 40% { transform: translateY(-8px) rotate(-8deg);} 70% { transform: translateY(-3px) rotate(4deg);} }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.about-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; }
.about-list i { color: var(--success); }
.about-image img { border-radius: var(--radius-glass); background: var(--surface); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ===== Galeri hasil tangkapan + lightbox ===== */
.galeri-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.galeri-item { position: relative; border-radius: var(--radius-glass); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.galeri-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.galeri-item:hover img { transform: scale(1.08); }
.galeri-caption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 14px;
  background: linear-gradient(to top, rgba(6,36,48,0.85), transparent);
  color: #fff; opacity: 0; transition: opacity var(--transition-fast);
}
.galeri-item:hover .galeri-caption { opacity: 1; }
.galeri-caption strong { display: block; font-size: 0.9rem; }
.galeri-caption span { font-size: 0.72rem; color: #cfe4e0; }

.lightbox-modal { width: min(700px, 92vw); padding: 20px; text-align: center; background: var(--navy-dark); color: #fff; }
.lightbox-modal img { width: 100%; border-radius: 14px; max-height: 60vh; object-fit: cover; }
.lightbox-modal h3 { margin-top: 16px; font-size: 1.1rem; }
.lightbox-modal p { color: #a9c3ca; font-size: 0.85rem; margin-top: 4px; }
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 61;
  background: rgba(255,255,255,0.15); color: #fff; border: none; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; font-size: 1rem; display: none; align-items: center; justify-content: center;
}
.lightbox-nav.show { display: flex; }
.lightbox-prev { left: 4vw; }
.lightbox-next { right: 4vw; }

/* ===== Artikel / Panduan ===== */
.article-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.article-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-glass); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.article-card h3 { font-size: 1.02rem; }
.article-card p { color: var(--text-muted); font-size: 0.88rem; flex: 1; }
.article-card .btn { align-self: flex-start; margin-top: 6px; }
.article-modal { width: min(640px, 92vw); text-align: left; }
.article-modal h3 { margin-bottom: 14px; font-size: 1.2rem; }
.article-modal p { color: var(--text-muted); line-height: 1.7; font-size: 0.92rem; }

/* ===== Testimonials ===== */
.testi-section { background: var(--bg-alt); max-width: none; }
.testi-section .section-title { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.testi-track { max-width: 1220px; margin: 30px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-glass); padding: 22px; }
.testi-stars { color: var(--coral); margin-bottom: 10px; font-size: 0.85rem; }
.testi-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }
.testi-name { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.9rem; }
.testi-role { font-size: 0.75rem; color: var(--text-muted); }

/* ===== FAQ accordion ===== */
.faq-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--text);
}
.faq-question i { transition: transform var(--transition-fast); color: var(--accent); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 280ms ease; }
.faq-answer p { padding: 0 22px 18px; margin: 0; color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ===== Kontak ===== */
.kontak-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; margin-top: 30px; }
.kontak-lead { color: var(--text-muted); margin-bottom: 22px; }
.kontak-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.kontak-item i { font-size: 1.3rem; color: var(--accent); width: 30px; }
.kontak-item span { display: block; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; }
.kontak-item strong { font-size: 0.95rem; }
.kontak-form { background: var(--surface); border: 1px solid var(--border); padding: 26px; border-radius: var(--radius-glass); display: flex; flex-direction: column; gap: 6px; }
.kontak-form label { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }
.kontak-form input, .kontak-form textarea {
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 14px;
  background: var(--bg); color: var(--text); font-family: inherit; font-size: 0.9rem; resize: vertical;
}
.kontak-form button { margin-top: 16px; }
@media (max-width: 860px) { .kontak-grid { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.footer { background: var(--navy-dark); color: #a9c3ca; padding: 60px 24px 20px; }
.footer-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; }
.footer a { display: block; color: #a9c3ca; padding: 4px 0; font-size: 0.85rem; }
.footer a:hover { color: var(--accent); }
.footer p { font-size: 0.85rem; color: #7c99a1; }
.social-icons { display: flex; gap: 12px; }
.social-icons a { width: 36px; height: 36px; border: 1px solid #1c3d49; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; }
.social-icons a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom { max-width: 1220px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #1c3d49; font-size: 0.78rem; text-align: center; color: #63808a; }
.footer-bottom a { display: inline; color: var(--accent); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Floating WhatsApp button ===== */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 30;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: var(--shadow);
  transition: transform var(--transition-fast);
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 30;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: #04211d; border: none;
  cursor: pointer; box-shadow: var(--shadow); font-size: 1rem;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.back-to-top:hover { transform: translateY(-4px); }

/* ===== Overlay backdrop ===== */
.overlay-backdrop {
  position: fixed; inset: 0; background: rgba(6, 11, 13, 0.6);
  z-index: 49; opacity: 0; transition: opacity var(--transition-fast);
}
.overlay-backdrop.show { opacity: 1; }

/* ===== Modal (popup modern glass, custom — bukan alert/confirm) ===== */
.modal {
  position: fixed; top: 50%; left: 50%; z-index: 60;
  background: var(--surface); color: var(--text);
  width: min(460px, 90vw); max-height: 85vh; overflow: auto;
  border-radius: var(--radius-glass); box-shadow: var(--shadow);
  padding: 34px 28px 28px;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0; pointer-events: none;
  transition: transform 240ms ease, opacity 240ms ease;
}
.modal.show { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.modal-close {
  position: absolute; top: 14px; right: 14px; background: var(--bg-alt); border: none;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--text);
}
.promo-modal { text-align: center; }
.promo-icon { font-size: 2.2rem; color: var(--accent); margin-bottom: 10px; }
.promo-modal h3 { margin-bottom: 10px; }
.promo-modal p { color: var(--text-muted); font-size: 0.9rem; }
.promo-note { font-size: 0.72rem; margin-top: 14px !important; }

.quickview-modal { width: min(640px, 92vw); }
.quickview-body { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quickview-body img { border-radius: 14px; }
.qv-cat { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; }
.qv-name { font-size: 1.15rem; margin: 8px 0; font-family: "Poppins", sans-serif; }
.qv-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.qv-price { font-size: 1.3rem; color: var(--accent-dark); font-family: "Poppins", sans-serif; font-weight: 700; }
[data-theme="dark"] .qv-price { color: var(--accent); }
@media (max-width: 560px) { .quickview-body { grid-template-columns: 1fr; } }

/* ===== Off-canvas cart (slide from right) ===== */
.offcanvas {
  position: fixed; top: 0; right: 0; height: 100%; width: min(380px, 92vw);
  background: var(--surface); z-index: 60; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 280ms ease;
}
.offcanvas.show { transform: translateX(0); }
.offcanvas-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.offcanvas-header h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.offcanvas-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.offcanvas-footer { padding: 20px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 14px; font-family: "Poppins", sans-serif; }
.offcanvas-note { font-size: 0.72rem; color: var(--text-muted); text-align: center; margin-top: 10px; }
.cart-empty { text-align: center; color: var(--text-muted); padding: 40px 0; font-size: 0.88rem; }
.cart-line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-line img { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; }
.cart-line-info { flex: 1; }
.cart-line-name { font-size: 0.82rem; margin-bottom: 4px; }
.cart-line-price { font-size: 0.78rem; color: var(--text-muted); }
.qty-control { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-control button { width: 22px; height: 22px; border: 1px solid var(--border); background: var(--bg-alt); cursor: pointer; border-radius: 50%; }
.remove-line { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 0.9rem; }

/* ===== Toast ===== */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--navy-dark); color: #fff; padding: 12px 18px; border-radius: var(--radius-pill);
  border-left: 4px solid var(--accent); font-size: 0.85rem; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow); animation: toast-in 220ms ease;
  max-width: 300px;
}
.toast i { color: var(--accent); }
.toast.leaving { animation: toast-out 220ms ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(30px);} to { opacity: 1; transform: translateX(0);} }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px);} }

/* ===== Utility ===== */
[hidden] { display: none !important; }
