/* ============================================
   MSFSTORE STYLE - Komentar untuk tim lain
   Struktur: 1.Navbar 2.Hero 3.Katalog 4.Keunggulan 5.Modal 6.Cart 7.Footer
   Warna utama: --primary merah, --wa hijau WA, --dark hitam
   Edit warna, spacing, dan radius di :root
   ============================================ */
:root {
  --primary: #ff3b30;
  --primary-dark: #d42a21;
  --dark: #0f0f12;
  --dark2: #1a1a1e;
  --gray: #6b7280;
  --border: #e5e7eb;
  --wa: #25d366;
  --orange: #ff6a00;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: var(--dark);
  line-height: 1.6;
}
h1,
h2,
h3,
.logo {
  font-family: "Outfit", sans-serif;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
a {
  text-decoration: none;
  color: inherit;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
}
.logo span {
  color: var(--primary);
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  color: #4b5563;
  position: relative;
  padding: 4px 0;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--dark);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: 0.2s;
}
.cart-btn:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: #fff;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.nav-cta {
  background: var(--dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.nav-cta:hover {
  background: var(--primary);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}
.hero {
  background: linear-gradient(180deg, #fff 0%, #fff6f5 100%);
  padding: 40px 0 60px;
  overflow: hidden;
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.hero-text h1 {
  font-size: 56px;
  line-height: 0.95;
  margin: 18px 0;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.gradient {
  background: linear-gradient(90deg, #ff3b30, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--dark);
}
.hero-text p {
  color: var(--gray);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 18px;
}
.hero-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 6px 6px 6px 14px;
  max-width: 520px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.hero-search i {
  color: var(--gray);
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
}
.hero-search button {
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-search button:hover {
  background: var(--primary);
}
.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-tags span {
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-tags span i {
  color: var(--wa);
}
.hero-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
  box-shadow: 0 8px 20px rgba(255, 59, 48, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-dark {
  background: var(--dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-size: 20px;
}
.hero-stats span {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transform: rotate(1deg);
}
.hero-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-badge.top {
  top: 28px;
  left: -14px;
}
.floating-badge.bottom {
  bottom: 28px;
  right: -14px;
}
.floating-badge i {
  color: var(--primary);
}
.katalog {
  padding: 70px 0;
  background: #fff;
}
.best-section {
  background: #f9fafb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
/* BEST SELLER auto-scroll — berjalan otomatis, pause saat hover */
.best-section #bestGrid{
  display: flex;
  overflow: hidden;
  gap: 0;
  padding: 4px 0 8px;
}
.best-track{
  display: flex;
  gap: 22px;
  width: max-content;
  animation: bestScroll 28s linear infinite;
  will-change: transform;
}
.best-track:hover{
  animation-play-state: paused;
}
.best-section #bestGrid .product-card{
  flex: 0 0 300px;
  min-width: 300px;
}
@media (max-width: 600px){
  .best-section #bestGrid .product-card{ flex:0 0 260px; min-width:260px; }
  .best-track{ gap:14px; animation-duration: 20s; }
}
@keyframes bestScroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 30px;
}
.subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
}
.section-header h2 {
  font-size: 36px;
  margin: 8px 0 6px;
  letter-spacing: -0.5px;
}
.section-header p {
  color: var(--gray);
}
.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.25s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}
.product-card:hover img {
  scale: 1.03;
}
.card-body {
  padding: 14px 16px;
}
.card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--primary);
  text-transform: uppercase;
}
.card-body h3 {
  font-size: 16px;
  margin: 4px 0;
  line-height: 1.3;
}
.card-body p {
  font-size: 12px;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.price-msf-card {
  margin-top: 10px;
}
.price-old-card {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
}
.price-now-card {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.discount-badge-card {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffe600;
  color: #d42a21;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}
.promo-badge-card {
  position: absolute;
  bottom: 92px;
  left: 12px;
  background: var(--wa);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.card-price-col {
  display: flex;
  flex-direction: column;
}
.card-btn {
  background: var(--dark);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.product-card:hover .card-btn {
  background: var(--primary);
}
.badge-best {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 1;
}
.cat-quick {
  padding: 30px 0 50px;
  background: #fff;
}
.cat-quick h3 {
  font-size: 18px;
  margin-bottom: 14px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cat-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 120px;
  display: block;
  border: 1px solid var(--border);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.cat-card:hover img {
  scale: 1.05;
}
.cat-card span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.katalog-page {
  padding: 30px 0 60px;
  background: #fff;
  min-height: 70vh;
}
.katalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.katalog-header h1 {
  font-size: 32px;
  letter-spacing: -0.5px;
}
.katalog-header p {
  color: var(--gray);
  font-size: 14px;
}
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0 14px;
  min-width: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.search-wrap i {
  color: var(--gray);
}
.search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 10px;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
}
.clear-btn {
  border: none;
  background: var(--dark);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.clear-btn.hidden {
  display: none;
}
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-size: 13px;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.result-info {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
}
.empty {
  text-align: center;
  padding: 60px 20px;
  border: 1.5px dashed var(--border);
  border-radius: 18px;
  background: #f9fafb;
}
.empty.hidden {
  display: none;
}
.keunggulan {
  background: var(--dark);
  padding: 50px 0;
}
.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.k-card {
  background: var(--dark2);
  border: 1px solid #2a2a2e;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}
.k-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: #fff;
  font-size: 18px;
}
.k-card h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
}
.k-card p {
  color: #9ca3af;
  font-size: 13px;
}
/* Keunggulan standalone premium - tidak nempel footer */
.keunggulan-standalone {
  background: linear-gradient(180deg, #fff 0%, #fef2f2 60%, #fff 100%);
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.keunggulan-standalone .section-header h2 {
  font-size: 34px;
}
.keunggulan-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}
.kp-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  position: relative;
  transition: 0.25s;
  overflow: hidden;
}
.kp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: #fecaca;
}
.kp-card.highlight {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(255, 59, 48, 0.15);
  background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}
.kp-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
}
.kp-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.kp-badge.green {
  background: var(--wa);
}
.kp-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.kp-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}
/* keunggulan tanpa icon - profesional minimalis */
.kp-icon { display: none; }
.kp-card { padding-top: 26px; }
.kp-card h3 { margin-top: 4px; }
.kp-card small {
  font-size: 11px;
  color: #6b7280;
  display: block;
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-top: 1px dashed #e5e7eb;
  padding-top: 8px;
}
.loyalty-banner {
  background: var(--dark);
  border-radius: 20px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 26px 0;
  flex-wrap: wrap;
}
.loyalty-text h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 4px;
}
.loyalty-text p {
  color: #9ca3af;
  font-size: 13px;
  max-width: 640px;
}
.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}
.testi-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  transition: 0.2s;
}
.testi-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}
.testi-stars {
  color: #ffb400;
  font-size: 12px;
  margin-bottom: 8px;
  display: flex;
  gap: 2px;
}
.testi-card p {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 12px;
}
.testi-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi-user img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.testi-user strong {
  font-size: 13px;
  display: block;
}
.testi-user span {
  font-size: 11px;
  color: var(--gray);
}
/* ============ MODAL PRODUK — PROFESIONAL & RAPIH ============ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200;
}
.modal.open {
  display: block;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-content {
  position: relative;
  background: #fff;
  max-width: 980px;
  margin: 24px auto;
  max-height: 90vh;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0,0,0,0.06);
  animation: slideUp 0.28s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
}
@keyframes slideUp {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #eef0f3;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
  color: #374151;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.modal-close:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: rotate(90deg);
}
.modal-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.modal-left {
  background: #f8f9fb;
  padding: 20px;
  border-right: 1px solid #eef0f3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
}
.modal-left::-webkit-scrollbar,
.modal-right::-webkit-scrollbar{ width:5px; }
.modal-left::-webkit-scrollbar-thumb,
.modal-right::-webkit-scrollbar-thumb{ background:#d1d5db; border-radius:999px; }
.main-image-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eef0f3;
  cursor: zoom-in;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 360px;
  max-height: 420px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.main-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  padding: 16px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  background: #fff;
}
.main-image-wrap:hover img{
  transform: scale(1.02);
}
.view-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15,15,18,0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  white-space: nowrap;
}
.zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: auto;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  color: var(--dark);
  border: 1px solid #eef0f3;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: 0.2s;
}
.zoom-btn:hover{ background: var(--dark); color:#fff; border-color: var(--dark); }
.cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}
.discount-badge {
  position: absolute;
  top: 46px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(255,59,48,0.3);
  letter-spacing: 0.3px;
}

.zoom-hint {
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #eef0f3;
}
/* Dual preview side-by-side — rapih profesional */
.dual-preview{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.dual-preview.hidden{ display:none; }
.dual-pane{ position:relative; background:#fff; border:1px solid #eef0f3; border-radius:12px; overflow:hidden; cursor:zoom-in; box-shadow: 0 2px 10px rgba(0,0,0,0.04); transition: 0.2s; }
.dual-pane:hover{ border-color:#d1d5db; box-shadow: 0 8px 20px rgba(0,0,0,0.07); transform: translateY(-1px); }
.dual-pane img{ width:100%; height: 300px; object-fit:contain; display:block; padding:14px; background:#fff; transition:0.25s; }
.dual-pane:hover img{ transform:scale(1.025); }
.pane-label{ position:absolute; bottom:10px; left:50%; transform:translateX(-50%); padding:4px 10px; border-radius:999px; font-size:10px; font-weight:800; letter-spacing:0.6px; box-shadow: 0 3px 10px rgba(0,0,0,0.14); white-space: nowrap; }
.pane-label.depan{ background: var(--primary); color:#fff; }
.pane-label.belakang{ background: var(--dark); color:#fff; }
.zoom-mini{ position:absolute; top:10px; right:10px; background:rgba(255,255,255,0.96); width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-size:11px; border:1px solid #eef0f3; color:#374151; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.modal-right {
  padding: 22px 22px 20px;
  overflow: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.modal-right::-webkit-scrollbar{ width:5px; }
.modal-right h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.modal-desc {
  color: var(--gray);
  font-size: 14px;
  margin: 6px 0 12px;
}
.price-msf {
  background: #fff7f7;
  border: 1px solid #ffe4e4;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 16px;
}
.price-row-msf {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.price-old {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}
.discount-text {
  background: var(--primary);
  color: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}
.price-now-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-now {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}
.price-note {
  font-size: 12px;
  color: var(--gray);
}
.promo-badge {
  background: var(--wa);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.promo-badge.hidden {
  display: none;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.form-group label i {
  color: var(--primary);
}
.req {
  color: var(--primary);
}
.size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.size-btn {
  min-width: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.size-btn.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.color-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.color-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}
.color-btn .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
}
.color-btn.active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  width: fit-content;
  overflow: hidden;
}
.qty-control button {
  width: 42px;
  height: 42px;
  border: none;
  background: #f9fafb;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.qty-control button:hover {
  background: var(--dark);
  color: #fff;
}
.qty-control input {
  width: 64px;
  height: 42px;
  border: none;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  outline: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.pcs {
  padding: 0 12px;
  font-weight: 700;
  font-size: 13px;
  color: var(--gray);
}
.promo-hint {
  font-size: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.promo-hint.hidden {
  display: none;
}

textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-size: 13px;
  resize: vertical;
  outline: none;
  transition: 0.2s;
}
textarea:focus {
  border-color: var(--dark);
}
.order-summary {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e7eb;
}
.summary-row:last-child {
  border: none;
}
.summary-row.total strong {
  color: var(--primary);
  font-size: 16px;
}
.promo-row {
  color: var(--wa);
}
.saving {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 6px;
  display: block;
}
.saving.hidden {
  display: none;
}
.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.btn-cart {
  background: #fff;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  padding: 14px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s;
}
.btn-cart:hover {
  background: var(--dark);
  color: #fff;
}
.btn-wa {
  width: 100%;
  background: var(--wa);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover {
  background: #1da851;
  transform: translateY(-1px);
}
.wa-helper {
  font-size: 11px;
  color: var(--gray);
  text-align: center;
  margin-top: 8px;
}
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 250;
  display: none;
}
.cart-overlay.open {
  display: block;
}
/* ===== KERANJANG - Diperbaiki agar semua terlihat & nyaman dipakai ===== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 96vw;
  height: 100dvh;
  height: 100vh;
  background: #fff;
  z-index: 260;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}
.cart-head h3 {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}
.cart-head h3 i { color: var(--primary); }
.cart-head button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.cart-head button:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}
.cart-items::-webkit-scrollbar { width: 6px; }
.cart-items::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 999px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-empty {
  text-align: center;
  padding: 32px 20px;
  color: var(--gray);
  flex: 1;
  display: grid;
  place-items: center;
  place-content: center;
  min-height: 260px;
}
.cart-empty i {
  font-size: 42px;
  margin-bottom: 12px;
  color: #d1d5db;
}
.cart-empty p { font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.cart-empty small { font-size: 12px; }
.cart-empty.hidden {
  display: none;
}
.cart-item {
  display: flex;
  gap: 12px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  align-items: flex-start;
  transition: 0.15s;
}
.cart-item:hover { border-color: #d1d5db; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: #f9fafb;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-item-info h4 {
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.cart-item-meta {
  font-size: 11.5px;
  color: var(--gray);
  line-height: 1.4;
}
.cart-item-notes {
  font-size: 11px;
  color: #6b7280;
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
  border-radius: 8px;
  padding: 6px 8px;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.cart-item-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
}
.cart-item-price span { font-weight: 600; }
.cart-item-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.cart-item-ctrl button {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 12px;
  transition: 0.15s;
  flex-shrink: 0;
}
.cart-item-ctrl button:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.cart-item-ctrl button:active { scale: 0.96; }
.cart-item-ctrl input {
  width: 42px;
  height: 32px;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  background: #fff;
  color: var(--dark);
}
.cart-item-remove {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f9fafb;
  color: var(--gray);
  cursor: pointer;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: 0.15s;
}
.cart-item-remove:hover { background: #fef2f2; border-color: #fecaca; color: var(--primary); }
.cart-footer {
  flex-shrink: 0;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 52vh;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.cart-footer::-webkit-scrollbar { width: 6px; }
.cart-footer::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 999px; }
.cart-footer.hidden {
  display: none;
}
.cart-summary {
  background: #f9fafb;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.cart-summary .summary-row { font-size: 13px; }
.cart-summary .summary-row.total strong { font-size: 15px; }
/* payment inside cart - dibuat lega & mudah tap */
.cart-pay.payment-section {
  background: #f9fafb;
  border: 1.5px solid var(--border);
  margin: 10px 0;
  padding: 12px;
}
.cart-pay .payment-grid.small { gap: 8px; }
.cart-pay .pay-btn { min-height: 66px; padding: 10px 6px; background: #fff; }
.cart-pay .pay-logo { min-width: 58px; height: 26px; font-size: 10px; }
.cart-footer .btn-wa {
  width: 100%;
  margin-top: 10px;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(37,211,102,0.25);
}
.cart-footer .btn-wa.disabled { box-shadow: none; }
@media (max-height: 700px) {
  .cart-footer { max-height: 48vh; }
  .cart-items { padding-bottom: 4px; }
}
@media (max-width: 380px) {
  .cart-drawer { width: 100vw; max-width: 100vw; }
  .cart-item img { width: 64px; height: 64px; }
}
.btn-clear {
  width: 100%;
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}
.confirm-modal.open {
  display: block;
}
.confirm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 18, 0.6);
  backdrop-filter: blur(4px);
}
.confirm-content {
  position: relative;
  background: #fff;
  max-width: 500px;
  margin: 60px auto;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: slideUp 0.3s ease;
}
.confirm-icon {
  width: 56px;
  height: 56px;
  background: #fef2f2;
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 24px;
}
.confirm-content h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.confirm-content p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 14px;
}
.confirm-detail {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  font-size: 13px;
  line-height: 1.7;
}
.confirm-detail strong {
  color: var(--dark);
}
.confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.btn-cancel {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}
.btn-ok {
  flex: 1;
  padding: 12px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-ok.wa {
  background: var(--wa);
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 400;
  place-items: center;
  padding: 40px;
}
.lightbox.open {
  display: grid;
}
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
}
#lightboxCaption {
  color: #fff;
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 500;
  transition: 0.3s;
}
.toast.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error {
  background: var(--primary);
}
.footer {
  background: #0f0f12;
  color: #9ca3af;
  padding: 40px 0 0;
}
/* ===== PAYMENT SELECTOR - Profesional dengan logo bank ===== */
.payment-section {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0;
}
.payment-section label {
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.payment-section label i { color: var(--primary); }
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.payment-grid.small { grid-template-columns: repeat(2, 1fr); }
.pay-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
  position: relative;
}
.pay-logo {
  min-width: 68px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(0,0,0,0.08);
  line-height: 1;
}
.pay-label { font-weight: 700; font-size: 12px; color: var(--dark); }
.pay-btn small { font-weight: 600; color: var(--gray); font-size: 10px; }
.pay-btn:hover { border-color: var(--pay, var(--dark)); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.07); }
.pay-btn.active {
  background: #f8fafc;
  border-color: var(--dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.pay-btn.active .pay-label { color: var(--dark); }
.pay-btn.active::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--wa);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.pay-logo-detail {
  min-width: 64px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
  border: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.pay-detail { margin-top: 10px; }
.pay-detail.hidden { display: none; }
.pay-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.pay-hint.hidden { display: none; }
.btn-wa.disabled, .btn-wa:disabled {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.3);
}
.shake { animation: shake 0.4s ease; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
}
.cart-pay { margin-bottom: 12px; background: #f9fafb; }

/* ===== FOOTER BARU - Informatif, teks biasa ===== */
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
.footer-text { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-text li { font-size: 13px; color: #9ca3af; line-height: 1.5; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.15s;
}
.footer-links a i { font-size: 8px; opacity: 0.6; }
.footer-links a:hover { color: #fff; transform: translateX(2px); }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-contact li { font-size: 13px; color: #9ca3af; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.footer-contact li i { margin-top: 3px; color: #9ca3af; min-width: 14px; }
.footer-contact li a { color: #e5e7eb; }
.footer-contact li a:hover { color: #fff; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 6px; }
.pay-icon {
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
  color: #111;
  border: 1px solid #e5e7eb;
  letter-spacing: 0.3px;
}
.pay-icon.bca { background: #0060AF; color: #fff; border-color: #0060AF; }
.pay-icon.seabank { background: #EE3B2F; color: #fff; border-color: #EE3B2F; }
.pay-icon.jago { background: #FFCC00; color: #111; border-color: #E6B800; }
.pay-icon.jago-syariah { background: #1A7F37; color: #fff; border-color: #1A7F37; }
.pay-note { font-size: 11px; color: #6b7280; display: flex; align-items: center; gap: 6px; line-height: 1.5; }
.footer-bottom { border-top: 1px solid #1f1f23; padding: 16px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #6b7280; }
.footer-legal a { color: #9ca3af; }
.footer-legal a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 30px;
}
.footer h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}
.footer h3 span {
  color: var(--primary);
}
.footer h4 {
  color: #fff;
  margin-bottom: 10px;
}
.sosmed {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.sosmed a {
  width: 36px;
  height: 36px;
  background: #1f1f23;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: 0.2s;
}
.sosmed a:hover {
  background: var(--primary);
}
.copyright {
  text-align: center;
  border-top: 1px solid #1f1f23;
  padding: 16px;
  font-size: 12px;
}
.img-placeholder{height:260px;background:#f3f4f6;border:1px dashed #d1d5db;border-radius:12px;display:grid;place-items:center;place-content:center;color:var(--gray);text-align:center;padding:20px}
.img-placeholder i{font-size:28px;margin-bottom:8px;color:#9ca3af}
.img-placeholder span{font-size:13px;font-weight:600}
.img-placeholder.large{height:420px;background:#f9fafb}
.img-placeholder.large small{font-size:11px;color:var(--gray)}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-card img {
    height: 360px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .keunggulan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .keunggulan-premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimoni-grid {
    grid-template-columns: 1fr;
  }
  .loyalty-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .modal-content{ margin: 12px; max-height: 92vh; border-radius: 16px; }
  .modal-body {
    grid-template-columns: 1fr;
    overflow: auto;
    max-height: 92vh;
  }
  .modal-left {
    border-right: none;
    border-bottom: 1px solid #eef0f3;
    padding: 16px;
  }
  .main-image-wrap{ min-height: 320px; aspect-ratio: 1 / 1; }
  .main-image-wrap img{ max-height: 340px; }
  .dual-pane img{ height: 220px; padding: 10px; }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 14px;
  }
  .katalog-header {
    flex-direction: column;
    align-items: stretch;
  }
  .search-wrap {
    min-width: unset;
    width: 100%;
  }
  .modal-actions {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 40px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
