/* Hijab Cantik — style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #4a148c;
  --primary-dark: #38006b;
  --primary-light: #7b1fa2;
  --accent: #ce93d8;
  --accent-light: #f3e5f5;
  --bg: #fdf5ff;
  --surface: #fff;
  --text: #1a0030;
  --text-muted: #6d4c9e;
  --border: #e1bee7;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(74,20,140,0.10);
  --shadow-hover: 0 8px 30px rgba(74,20,140,0.18);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body { background: var(--bg); color: var(--text); line-height: 1.6; }

/* DEMO BAR */
.demo-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.demo-bar a { color: var(--accent); text-decoration: none; margin: 0 4px; }
.demo-bar a:hover { text-decoration: underline; }

/* NAV */
nav {
  background: var(--surface);
  box-shadow: 0 2px 12px rgba(74,20,140,0.08);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 60px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 800; color: var(--primary); text-decoration: none;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
}
/* hamburger checkbox hack */
#nav-toggle { display: none; }
.nav-toggle-label {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.nav-toggle-label span {
  display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px;
  transition: all 0.3s;
}
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: var(--text); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 4px 0; border-bottom: 2px solid transparent; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-bottom-color: var(--accent); }
.nav-cta {
  background: var(--primary); color: #fff !important; padding: 8px 18px !important;
  border-radius: 50px; border-bottom: none !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

@media (max-width: 768px) {
  .nav-toggle-label { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(74,20,140,0.12);
    padding: 12px 0;
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 12px 24px !important; }
  #nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle-label { position: relative; z-index: 101; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #9c27b0 100%);
  color: #fff; text-align: center; padding: 70px 20px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(206,147,216,0.15);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(206,147,216,0.25);
  border: 1px solid rgba(206,147,216,0.5);
  color: #f3e5f5; font-size: 0.82rem; font-weight: 600;
  padding: 5px 16px; border-radius: 50px; margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; line-height: 1.2; margin-bottom: 14px; }
.hero p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff; color: var(--primary);
  padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-white:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 1rem;
  text-decoration: none; transition: all 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ORNAMENT SVG */
.hero-ornament { margin: 28px auto 0; opacity: 0.5; }

/* SECTION */
.section { padding: 60px 20px; max-width: 1100px; margin: 0 auto; }
.section-sm { padding: 40px 20px; max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center; font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800; color: var(--primary); margin-bottom: 8px;
}
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 36px; font-size: 0.97rem; }

/* CATEGORY CHIPS */
.cat-grid {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px;
}
.cat-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 2px solid var(--border);
  padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
  color: var(--primary); text-decoration: none; transition: all 0.2s;
}
.cat-chip:hover, .cat-chip.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.cat-chip svg { width: 18px; height: 18px; }

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: all 0.25s; text-decoration: none; color: inherit; display: block;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-thumb {
  width: 100%; aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-info { padding: 14px; }
.product-name { font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.product-cat { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.product-price { font-size: 1.05rem; font-weight: 800; color: var(--primary); }
.product-price-old { font-size: 0.82rem; color: #999; text-decoration: line-through; margin-left: 6px; }
.badge-new {
  position: absolute; top: 10px; left: 10px;
  background: var(--primary); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 50px;
}
.badge-sale {
  position: absolute; top: 10px; right: 10px;
  background: #e91e63; color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 50px;
}

/* BUTTONS */
.btn-primary {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-accent {
  display: inline-block; background: var(--accent); color: var(--primary);
  padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.2s;
}
.btn-accent:hover { background: #ba68c8; color: #fff; }
.btn-outline {
  display: inline-block; background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.87rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* PROMO BANNER */
.promo-banner {
  background: linear-gradient(135deg, #7b1fa2, #4a148c);
  border-radius: var(--radius); color: #fff; padding: 36px 28px; text-align: center;
  margin: 0 20px 48px; max-width: 1060px; margin-left: auto; margin-right: auto;
}
.promo-banner h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.promo-banner p { opacity: 0.88; margin-bottom: 18px; }

/* TESTIMONIALS */
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px;
}
.testi-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); border-left: 4px solid var(--accent);
}
.testi-stars { color: #f9a825; font-size: 1.1rem; margin-bottom: 8px; }
.testi-text { font-size: 0.93rem; color: var(--text); margin-bottom: 12px; font-style: italic; }
.testi-author { font-weight: 700; font-size: 0.88rem; color: var(--primary); }
.testi-loc { font-size: 0.8rem; color: var(--text-muted); }

/* FEATURES */
.feature-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px;
}
.feature-item { text-align: center; padding: 24px 16px; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-light); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-item h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.feature-item p { font-size: 0.88rem; color: var(--text-muted); }

/* KATALOG PAGE */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; align-items: center;
}
.filter-bar label { font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.filter-select {
  padding: 8px 14px; border: 2px solid var(--border); border-radius: 50px;
  background: var(--surface); color: var(--text); font-size: 0.9rem;
  outline: none; cursor: pointer;
}
.filter-select:focus { border-color: var(--accent); }

/* PRODUK DETAIL PAGE */
.produk-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
@media (max-width: 680px) { .produk-layout { grid-template-columns: 1fr; } }
.produk-thumb-main {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.produk-thumbs {
  display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap;
}
.produk-thumb-mini {
  width: 64px; height: 72px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--border); cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}
.produk-thumb-mini.active { border-color: var(--primary); }
.produk-title { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.produk-price-main { font-size: 1.8rem; font-weight: 900; color: var(--primary); margin: 12px 0; }
.produk-price-main .old { font-size: 1rem; color: #999; text-decoration: line-through; margin-left: 10px; font-weight: 400; }
.produk-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.produk-rating .stars { color: #f9a825; }
.produk-rating .count { font-size: 0.88rem; color: var(--text-muted); }
.produk-desc { color: var(--text); font-size: 0.97rem; line-height: 1.7; margin-bottom: 20px; }
.variasi-label { font-weight: 700; color: var(--primary); margin-bottom: 8px; font-size: 0.9rem; }
.variasi-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.variasi-chip {
  padding: 7px 16px; border: 2px solid var(--border); border-radius: 50px;
  font-size: 0.87rem; cursor: pointer; transition: all 0.2s; background: var(--surface);
  color: var(--text); font-weight: 500;
}
.variasi-chip:hover, .variasi-chip.active {
  border-color: var(--primary); background: var(--primary); color: #fff;
}
.warna-chip {
  width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--border);
  cursor: pointer; transition: all 0.2s;
}
.warna-chip.active { border-color: var(--primary); transform: scale(1.15); }
.produk-meta { margin: 16px 0; padding: 16px; background: var(--accent-light); border-radius: 10px; }
.produk-meta li { font-size: 0.9rem; color: var(--text); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.produk-meta li:last-child { margin-bottom: 0; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.qty-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border);
  background: var(--surface); font-size: 1.1rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center; color: var(--primary); font-weight: 700;
}
.qty-input {
  width: 50px; text-align: center; border: 2px solid var(--border); border-radius: 8px;
  padding: 6px; font-size: 1rem; font-weight: 700;
}
.produk-btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* BREADCRUMB */
.breadcrumb {
  padding: 14px 20px; font-size: 0.88rem; color: var(--text-muted);
  max-width: 1100px; margin: 0 auto;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ORDER PAGE */
.order-layout {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start;
}
@media (max-width: 768px) { .order-layout { grid-template-columns: 1fr; } }
.order-form-card, .order-summary {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; color: var(--primary); margin-bottom: 6px; font-size: 0.9rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; border: 2px solid var(--border);
  border-radius: 10px; font-size: 0.97rem; background: var(--bg);
  color: var(--text); outline: none; transition: border-color 0.2s;
  font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); background: #fff; }
.form-textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border: 2px solid var(--border); border-radius: 10px; cursor: pointer;
  transition: all 0.2s; font-size: 0.93rem;
}
.radio-item:hover { border-color: var(--accent); background: var(--accent-light); }
.radio-item input[type="radio"] { accent-color: var(--primary); }
.order-item-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.order-item-row:last-of-type { border-bottom: none; }
.order-item-thumb { width: 52px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.order-item-name { font-weight: 600; font-size: 0.9rem; }
.order-item-price { font-weight: 700; color: var(--primary); font-size: 0.9rem; margin-top: 3px; }
.order-total-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.93rem; }
.order-total-row.big { font-size: 1.1rem; font-weight: 800; color: var(--primary); border-top: 2px solid var(--border); padding-top: 14px; margin-top: 6px; }

/* KONTAK PAGE */
.kontak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 680px) { .kontak-grid { grid-template-columns: 1fr; } }
.kontak-info { display: flex; flex-direction: column; gap: 18px; }
.kontak-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); padding: 18px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.kontak-icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kontak-icon-wrap svg { width: 22px; height: 22px; }
.kontak-item h4 { font-weight: 700; font-size: 0.95rem; color: var(--primary); margin-bottom: 3px; }
.kontak-item p, .kontak-item a { font-size: 0.9rem; color: var(--text); text-decoration: none; }
.kontak-item a:hover { color: var(--primary); }
.kontak-form-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.wa-btn {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  background: #25d366; color: #fff; padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 1rem; text-decoration: none; transition: all 0.2s; width: fit-content;
}
.wa-btn:hover { background: #128c7e; transform: translateY(-2px); }
.jam-buka { background: var(--accent-light); border-radius: 10px; padding: 16px; margin-top: 12px; }
.jam-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 4px 0; border-bottom: 1px solid var(--border); }
.jam-row:last-child { border-bottom: none; }

/* FOOTER */
footer {
  background: var(--primary); color: #e9d5f5;
  padding: 40px 20px 24px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px;
}
.footer-brand .logo-text { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 0.88rem; opacity: 0.75; line-height: 1.6; }
footer h4 { color: var(--accent); font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul a { color: #e9d5f5; text-decoration: none; font-size: 0.88rem; opacity: 0.8; }
footer ul a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  max-width: 1100px; margin: 28px auto 0;
  border-top: 1px solid rgba(206,147,216,0.25);
  padding-top: 16px; text-align: center;
  font-size: 0.82rem; opacity: 0.6;
}
.sosmed-row { display: flex; gap: 10px; margin-top: 12px; }
.sosmed-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background 0.2s;
}
.sosmed-btn:hover { background: var(--accent); }
.sosmed-btn svg { width: 18px; height: 18px; fill: #fff; }

/* MISC */
.divider { height: 1px; background: var(--border); margin: 0 auto; max-width: 1100px; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.success-box {
  background: #e8f5e9; border: 2px solid #4caf50; border-radius: 12px;
  padding: 20px; text-align: center; display: none; margin-top: 16px;
}
.tag {
  display: inline-block; background: var(--accent-light); color: var(--primary);
  padding: 3px 10px; border-radius: 50px; font-size: 0.78rem; font-weight: 600;
}

/* CSS THUMBS — gradient placeholder illustrations */
.thumb-hijab-1 { background: linear-gradient(160deg, #ce93d8 0%, #9c27b0 40%, #4a148c 100%); }
.thumb-hijab-2 { background: linear-gradient(160deg, #f8bbd0 0%, #e91e63 40%, #880e4f 100%); }
.thumb-hijab-3 { background: linear-gradient(160deg, #b3e5fc 0%, #0288d1 40%, #01579b 100%); }
.thumb-hijab-4 { background: linear-gradient(160deg, #c8e6c9 0%, #388e3c 40%, #1b5e20 100%); }
.thumb-hijab-5 { background: linear-gradient(160deg, #fff9c4 0%, #f9a825 40%, #e65100 100%); }
.thumb-hijab-6 { background: linear-gradient(160deg, #ffe0b2 0%, #fb8c00 40%, #bf360c 100%); }
.thumb-hijab-7 { background: linear-gradient(160deg, #e8eaf6 0%, #5c6bc0 40%, #283593 100%); }
.thumb-hijab-8 { background: linear-gradient(160deg, #fce4ec 0%, #e91e63 40%, #880e4f 100%); }
.thumb-hijab-9 { background: linear-gradient(160deg, #e0f7fa 0%, #00838f 40%, #004d40 100%); }
.thumb-hijab-10 { background: linear-gradient(160deg, #f3e5f5 0%, #7b1fa2 40%, #4a148c 100%); }
.thumb-hijab-11 { background: linear-gradient(160deg, #f1f8e9 0%, #689f38 40%, #33691e 100%); }
.thumb-hijab-12 { background: linear-gradient(160deg, #e8eaf6 0%, #3949ab 40%, #1a237e 100%); }

.thumb-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.thumb-overlay svg { width: 56px; height: 56px; opacity: 0.35; }

@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 16px; }
  .hero { padding: 48px 16px 56px; }
}
