@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --ink: #49313a;
  --muted: #927b83;
  --cream: #fff9fa;
  --paper: #ffffff;
  --line: #f1dfe5;
  --accent: #c66f8b;
  --accent-dark: #98516a;
  --soft: #fbeaf0;
  --soft-2: #f7dce6;
  --green: #718779;
  --shadow: 0 12px 32px rgba(116, 65, 84, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 15px 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

header {
  min-height: 78px; padding: 12px max(5vw, 24px); display: flex; align-items: center;
  justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,249,250,.94); backdrop-filter: blur(12px); z-index: 5;
}
.brand { font: 600 27px 'Playfair Display', serif; letter-spacing: 4px; color: var(--accent-dark); white-space: nowrap; }
.brand span { display: block; font: 9px 'DM Sans', sans-serif; letter-spacing: 2px; color: var(--muted); text-align: center; margin-top: 2px; }
nav { display: flex; gap: 25px; align-items: center; }
nav a, .text-btn { font-size: 13px; color: var(--muted); transition: color .2s; }
nav a:hover, .text-btn:hover { color: var(--accent-dark); }
.primary { display: inline-flex; justify-content: center; align-items: center; gap: 7px; border: 0; background: var(--accent); color: white; border-radius: 30px; padding: 12px 20px; cursor: pointer; font-weight: 600; box-shadow: 0 5px 14px rgba(198,111,139,.18); transition: transform .2s, background .2s; }
.primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.primary b { margin-left: 2px; }
.text-btn { border: 0; background: transparent; cursor: pointer; }
.inline { display: inline-flex; margin-top: 17px; }

.hero { max-width: 1160px; margin: 56px auto 82px; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.kicker { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--accent); }
h1 { font: clamp(46px, 6vw, 76px)/1.06 'Playfair Display', serif; margin: 17px 0; letter-spacing: -.8px; }
h1 em { color: var(--accent); }
.lead { max-width: 450px; color: var(--muted); line-height: 1.9; }
.hero-image { min-height: 390px; border-radius: 22px; background: radial-gradient(circle at 50% 45%, #fff 0 18%, transparent 18.5%), linear-gradient(135deg, #f9dfe8, #fceef2 58%, #edc4d2); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.hero-image:before, .hero-image:after { content: ''; position: absolute; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; }
.hero-image:after { width: 225px; height: 225px; }
.hero-circle { width: 118px; height: 118px; border: 12px solid rgba(255,255,255,.72); border-radius: 50%; position: absolute; top: 24%; left: 50%; transform: translateX(-50%); box-shadow: 0 8px 22px rgba(150,81,106,.08); }
.hero-image span { font: italic 34px 'Playfair Display', serif; color: var(--accent-dark); z-index: 1; margin-top: 150px; }

section[id='kategori'], section[id='produk'] { scroll-margin-top: 100px; }
.section-title { max-width: 1160px; margin: 0 auto 24px; padding: 0 24px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.section-title h2 { font: 32px 'Playfair Display', serif; margin: 4px 0; }
.category-list { max-width: 1160px; margin: 0 auto 76px; padding: 0 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.category { background: white; border: 1px solid var(--line); border-radius: 30px; padding: 11px 19px; cursor: pointer; color: var(--muted); transition: .2s; }
.category:hover { border-color: var(--accent); color: var(--accent-dark); }
.category.active { background: var(--accent); color: white; border-color: var(--accent); }
.search { padding: 12px 17px; border: 1px solid var(--line); background: white; border-radius: 30px; min-width: 230px; outline: none; }
.search:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(198,111,139,.12); }

.product-grid { max-width: 1160px; margin: 0 auto; padding: 0 24px 82px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .22s, box-shadow .22s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-photo { width: 100%; aspect-ratio: 1 / 1; height: auto; background: linear-gradient(145deg, #fff0f4, #f4dce5); display: grid; place-items: center; overflow: hidden; }
.product-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product:hover .product-photo img { transform: scale(1.035); }
.product-photo span { font: italic 27px 'Playfair Display', serif; color: var(--accent-dark); }
.product-info { padding: 17px 18px 19px; }
.product-info small { color: var(--accent); text-transform: uppercase; letter-spacing: 1.2px; font-size: 10px; font-weight: 700; }
.product-info h3 { font: 21px 'Playfair Display', serif; margin: 7px 0; }
.desc { font-size: 12px; color: var(--muted); line-height: 1.65; min-height: 38px; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.price { font-weight: 700; color: var(--ink); }
.add { flex: 0 0 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--accent-dark); width: 40px; height: 40px; font-size: 23px; cursor: pointer; transition: .2s; }
.add:hover { background: var(--accent); color: white; }

.promise { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 42px 8%; display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; text-align: center; background: #fff4f7; }
.promise b { color: var(--accent); font-size: 25px; }
.promise h3 { font: 20px 'Playfair Display', serif; }
.promise p { font-size: 12px; color: var(--muted); line-height: 1.7; }
footer { padding: 35px 6%; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 12px; }

.overlay { position: fixed; inset: 0; background: rgba(48,30,38,.55); z-index: 10; display: grid; place-items: center; padding: 16px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 27px; width: min(560px,100%); max-height: 92vh; overflow: auto; box-shadow: 0 20px 60px rgba(65,35,48,.18); }
.panel h2 { font: 30px 'Playfair Display', serif; margin: 5px 0 15px; }
.close { float: right; border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--muted); }
.field { display: grid; gap: 6px; margin: 13px 0; }
.field label { font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 8px; padding: 12px; width: 100%; background: white; outline: none; }
.full { width: 100%; margin-top: 12px; }
.muted { color: var(--muted); }
.lineitem { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.qty { display: flex; align-items: center; gap: 9px; }
.qty button { border: 0; border-radius: 50%; width: 27px; height: 27px; background: var(--soft); color: var(--accent-dark); cursor: pointer; }
.sum { display: flex; justify-content: space-between; font-weight: 700; padding: 16px 0; }
.notice { padding: 12px; background: var(--soft); color: var(--accent-dark); border-radius: 9px; font-size: 12px; margin: 12px 0; }
.hidden { display: none !important; }
.empty { padding: 35px; text-align: center; color: var(--muted); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.tabs button { border: 1px solid var(--line); background: white; border-radius: 30px; padding: 8px 13px; cursor: pointer; }
.tabs button.active { background: var(--accent); color: white; border-color: var(--accent); }

@media (max-width: 760px) {
  header { padding: 12px 15px; min-height: 70px; }
  nav { gap: 12px; }
  nav > a { display: none; }
  .hero { grid-template-columns: 1fr; margin: 35px auto 58px; gap: 25px; }
  .hero-image { min-height: 250px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .product-info { padding: 13px; }
  .product-info h3 { font-size: 18px; }
  .promise { grid-template-columns: 1fr; gap: 15px; padding: 35px 8%; }
  .section-title { align-items: start; flex-direction: column; }
  .search { width: 100%; min-width: 0; }
  footer { flex-wrap: wrap; }
}
@media (max-width: 450px) {
  .brand { font-size: 22px; letter-spacing: 3px; }
  .brand span { font-size: 8px; letter-spacing: 1.5px; }
  header .primary { padding: 10px 13px; font-size: 12px; }
  .hero { padding: 0 18px; }
  h1 { font-size: 48px; }
  .section-title { padding: 0 18px; }
  .section-title h2 { font-size: 28px; }
  .category-list { padding: 0 18px; margin-bottom: 55px; }
  .product-grid { padding: 0 12px 55px; gap: 10px; }
  .product-info { padding: 11px; }
  .product-info h3 { font-size: 16px; }
  .product-photo { aspect-ratio: 1 / 1; }
  .desc { font-size: 11px; min-height: 34px; }
  .add { flex-basis: 35px; width: 35px; height: 35px; }
}
