/* ===========================
   PERADAH MERCHANDISE STORE
   style.css
   =========================== */

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

:root {
  --dark:       #0e1117;
  --dark-card:  #161b25;
  --dark-border:#222c3c;
  --gold:       #c9a84c;
  --gold-light: #e2c06a;
  --gold-dark:  #9a7a30;
  --red:        #c0392b;
  --red-light:  #e74c3c;
  --cream:      #f5f0e8;
  --white:      #ffffff;
  --text-main:  #e8e1d5;
  --text-muted: #8a9ab0;
  --wa-green:   #25d366;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 8px 40px rgba(0,0,0,0.45);
  --shadow-card:0 4px 20px rgba(0,0,0,0.3);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ---------- Typography ---------- */
.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: var(--wa-green);
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}
.btn-full { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; margin-top: 10px; }

/* ---------- Section Headings ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 12px;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(14, 17, 23, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--dark-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--gold-dark);
}
/* Full-width horizontal logo in header */
.logo-img-full {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Logo has white bg — show with rounded bg pill */
  border-radius: 6px;
  background: rgba(255,255,255,0.92);
  padding: 4px 10px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.logo-sub { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }
.header-nav { display: flex; gap: 28px; }
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--gold); }
/* WA shortcut in header — desktop hidden, mobile visible */
.header-wa-btn {
  display: none;
  padding: 7px 12px;
  font-size: 0.78rem;
  margin-top: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background:
    url('https://peradahsulut.or.id/wp-content/uploads/2023/01/cropped-logobulat-peradah.png') center/cover no-repeat,
    linear-gradient(135deg, #0e1117 0%, #1a1f2e 50%, #0d1520 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.08), transparent),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(192,57,43,0.06), transparent);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,17,23,0.92) 0%, rgba(14,17,23,0.70) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 24px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}
/* Feature strip inside hero */
.hero-features {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hero-feat-pill strong { color: var(--gold); font-weight: 700; }
.hero-feat-dot {
  width: 4px; height: 4px;
  background: var(--dark-border);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- PRODUCTS SECTION ---------- */
.products-section {
  padding: 80px 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dark);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.2);
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.07);
}
.product-img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #1a1f2e;
  position: relative;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.product-info { padding: 20px; }
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}
.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}
.product-sizes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.size-chip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--dark-border);
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--dark-border);
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}
.product-cta-icon { font-size: 1.1rem; }

/* ---------- CART FLOAT ---------- */
.cart-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 190;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  border: none;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(201,168,76,0.4);
  transition: all var(--transition);
  position: fixed;
}
.cart-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.5);
}
.cart-float .cart-icon { font-size: 1.2rem; }
.cart-badge {
  background: var(--red);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
}

/* ---------- MODAL BASE ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  position: relative;
  box-shadow: var(--shadow);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(255,255,255,0.07);
  border: none;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--red); color: #fff; }

/* Product Modal */
.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.modal-gallery {
  padding: 28px;
  border-right: 1px solid var(--dark-border);
}
.gallery-main {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1f2e;
  margin-bottom: 14px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.thumb-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  opacity: 0.6;
}
.thumb-img:hover, .thumb-img.active {
  border-color: var(--gold);
  opacity: 1;
}

.modal-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
}
.modal-desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.modal-price { font-size: 1.5rem; font-weight: 700; color: var(--gold); }

.size-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: 2px solid var(--dark-border);
  background: transparent;
  color: var(--text-main);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.size-btn:hover { border-color: var(--gold); color: var(--gold); }
.size-btn.selected { border-color: var(--gold); background: rgba(201,168,76,0.15); color: var(--gold); }
.size-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.modal-qty { display: flex; flex-direction: column; gap: 10px; }
.qty-control { display: flex; align-items: center; gap: 16px; }
.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 2px solid var(--dark-border);
  background: transparent;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.qty-btn:hover { border-color: var(--gold); background: rgba(201,168,76,0.1); }
.qty-val { font-size: 1.1rem; font-weight: 700; min-width: 30px; text-align: center; }

/* Cart Modal */
.cart-modal-box {
  max-width: 560px;
  padding: 36px;
}
.cart-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 24px;
}
.cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 14px;
}
.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #1a1f2e;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; color: var(--cream); }
.cart-item-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.cart-item-price { font-weight: 700; color: var(--gold); font-size: 0.95rem; }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--red-light); }
.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.cart-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.cart-summary {
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 8px; }
.summary-row:last-child { margin-bottom: 0; font-weight: 700; font-size: 1rem; color: var(--gold); border-top: 1px solid var(--dark-border); padding-top: 10px; margin-top: 10px; }
.cart-actions { display: flex; gap: 12px; }

/* Checkout Modal */
.checkout-modal-box { max-width: 540px; padding: 36px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  padding: 12px 16px;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.form-input option { background: var(--dark-card); }
.form-textarea { resize: vertical; min-height: 80px; }
.order-summary-mini {
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.order-summary-mini strong { color: var(--gold); }

/* Payment Modal */
.payment-modal-box { max-width: 520px; padding: 36px; }
.payment-content { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.payment-amount {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  padding: 14px 28px;
  text-align: center;
  width: 100%;
}
.payment-amount .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.payment-amount .amount { font-size: 1.8rem; font-weight: 700; color: var(--gold); font-family: 'Playfair Display', serif; }
.qris-container { text-align: center; }
.qris-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 4px solid var(--gold);
  background: #fff;
  padding: 6px;
  margin: 0 auto 10px;
}
.qris-name { font-size: 0.82rem; color: var(--text-muted); }
.payment-steps { width: 100%; }
.steps-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 12px;
}
.steps-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.steps-list li { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.steps-list li strong { color: var(--text-main); }

/* ---------- CONTACT SECTION (new design) ---------- */
.contact-section {
  padding: 90px 0 100px;
  background: var(--dark);
  text-align: center;
}
.contact-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.contact-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}
.contact-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.contact-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
/* WA button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.cta-btn--wa {
  background: #25d366;
  color: #fff;
}
.cta-btn--wa:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
}
/* Instagram gradient button */
.cta-btn--ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}
.cta-btn--ig:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(220,39,67,0.4);
  filter: brightness(1.1);
}

/* ---------- FOOTER (new design) ---------- */
.site-footer {
  background: #0a0c12;
  border-top: 3px solid var(--gold-dark);
  padding: 52px 24px 36px;
}
.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.footer-logo-img {
  height: 72px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  /* White-background logo on dark footer — show with a rounded card */
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  padding: 10px 20px;
  margin-bottom: 8px;
}
.footer-org {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cream);
  letter-spacing: 0.3px;
}
.footer-addr {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 500px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-link {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--gold-light); text-decoration: underline; }
.footer-dot { color: var(--dark-border); }
.footer-shanti {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(138,154,176,0.45);
  margin-top: 4px;
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 500;
  background: var(--dark-card);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---------- RESPONSIVE ---------- */

/* --- Tablet (≤768px) --- */
@media (max-width: 768px) {
  /* Header */
  .header-nav { display: none; }
  .header-inner { height: 58px; }
  .logo-img { height: 36px; width: 36px; }
  .logo-title { font-size: 0.95rem; }
  .header-wa-btn { display: inline-flex; }

  /* Hero — fix the big empty space */
  .hero { min-height: auto; align-items: flex-start; }
  .hero-content { padding: 48px 20px 40px; }
  .hero-badge { font-size: 0.68rem; padding: 5px 12px; margin-bottom: 16px; }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.4rem); margin-bottom: 12px; }
  .hero-subtitle { font-size: 0.92rem; margin-bottom: 24px; }
  .hero-features { gap: 6px; margin-top: 16px; }
  .hero-feat-pill { font-size: 0.72rem; padding: 5px 10px; }

  /* Sections */
  .products-section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .contact-section { padding: 56px 0; }
  .contact-header { margin-bottom: 36px; }

  /* Product grid */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-info { padding: 14px; }
  .product-name { font-size: 0.95rem; }
  .product-price { font-size: 0.9rem; margin-bottom: 8px; }
  .product-sizes { gap: 4px; }
  .size-chip { font-size: 0.62rem; padding: 2px 6px; }
  .product-cta { margin-top: 10px; padding-top: 10px; font-size: 0.75rem; }

  /* Cart float */
  .cart-float .cart-label { display: none; }
  .cart-float { padding: 13px 15px; bottom: 20px; right: 16px; }

  /* Modals */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 92dvh;
    overflow-y: auto;
  }
  .modal-content { grid-template-columns: 1fr; }
  .modal-gallery {
    border-right: none;
    border-bottom: 1px solid var(--dark-border);
    padding: 20px;
  }
  .gallery-main { aspect-ratio: 4/3; }
  .thumb-img { width: 50px; height: 50px; }
  .modal-info { padding: 20px; gap: 12px; }
  .modal-title { font-size: 1.25rem; }
  .modal-price { font-size: 1.2rem; }
  .modal-desc { font-size: 0.85rem; }

  /* Cart/Checkout/Payment modals */
  .cart-modal-box,
  .checkout-modal-box,
  .payment-modal-box { padding: 22px 18px; }
  .cart-title { font-size: 1.2rem; margin-bottom: 16px; }
  .cart-actions { flex-direction: column; gap: 8px; }
  .cart-actions .btn { padding: 12px; }

  /* Payment */
  .qris-img { width: 180px; height: 180px; }
  .payment-content { gap: 16px; }

  /* Contact new */
  .contact-section { padding: 60px 0 70px; }
  .contact-heading { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .contact-sub { font-size: 0.9rem; margin-bottom: 32px; }
  .cta-btn { padding: 14px 22px; font-size: 0.9rem; width: 100%; justify-content: center; max-width: 340px; }

  /* Footer new */
  .footer-logo-img { height: 44px; }
  .footer-addr { font-size: 0.8rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .contact-card { padding: 24px 16px; }
  .contact-icon { font-size: 1.8rem; margin-bottom: 10px; }

  /* Toast */
  .toast { bottom: 80px; right: 16px; left: 16px; font-size: 0.82rem; }
}

/* --- Mobile (≤480px) --- */
@media (max-width: 480px) {
  .container { padding: 0 14px; }

  /* Hero — ultra-compact */
  .hero { min-height: auto; }
  .hero-content { padding: 36px 14px 32px; }
  .hero-title { font-size: clamp(1.5rem, 8vw, 2rem); }
  .hero-subtitle { font-size: 0.85rem; max-width: 100%; }
  .hero-feat-pill { font-size: 0.68rem; padding: 4px 9px; }
  .btn { font-size: 0.85rem; padding: 11px 22px; }

  /* Header WA button — icon only on very small */
  .header-wa-text { display: none; }
  .header-wa-btn { padding: 8px 10px; }

  /* Products */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-img-wrap { aspect-ratio: 3/4; }
  .product-info { padding: 10px 12px; }
  .product-name { font-size: 0.88rem; }
  .product-price { font-size: 0.82rem; }
  .size-chip { display: none; }
  .product-cta { font-size: 0.72rem; }

  /* Section titles */
  .section-title { font-size: 1.4rem; }
  .section-subtitle { font-size: 0.85rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Cart modal — taller on small screens */
  .modal-box { max-height: 95dvh; }
  .modal-close { top: 12px; right: 12px; }
}
