:root {
  --bg: #f7efe6;
  --bg-soft: #fffaf5;
  --panel: #ffffff;
  --line: #dfcbb6;
  --line-soft: #eadcca;
  --text: #2f241c;
  --muted: #725b48;
  --brand: #7a5533;
  --brand-dark: #5f3f23;
  --accent: #b88a57;
  --success: #3f7a3d;
  --warning: #b96f1b;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shadow: 0 18px 45px rgba(88, 56, 27, 0.10);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(247, 239, 230, 0.94);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #f0dfca;
  padding: 6px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover { color: var(--text); }

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.lang-switch {
  display: flex;
  gap: 8px;
  margin-right: 8px;
}

.lang-btn {
  border: 1px solid var(--line);
  background: white;
  color: var(--brand);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
}

.lang-btn.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  padding: 13px 18px;
  transition: 0.2s ease;
  font-weight: 600;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--brand);
  border: 1px solid var(--line);
}

.btn-soft {
  background: #f2e3d1;
  color: var(--brand);
  border: 1px solid #e1c7a7;
}

.btn-success {
  background: #476c36;
  color: white;
}

.btn-cart {
  min-width: 132px;
  white-space: nowrap;
  flex-shrink: 0;
}

.account-menu {
  position: relative;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: #fffaf5;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(88, 56, 27, 0.10);
  padding: 10px;
  z-index: 300;
}

.account-link {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--brand-dark);
  font-weight: 600;
  transition: 0.2s ease;
}

.account-link:hover {
  background: #f2e3d1;
  color: var(--brand);
}

.hero { padding: 42px 0 24px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.login-card,
.panel,
.product-card,
.banner-card,
.feature-card,
.cart-card {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 38px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(184,138,87,0.16), transparent 28%),
    linear-gradient(180deg, #fffaf5 0%, #f8efe5 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dec3a0;
  background: #f6e6d4;
  color: var(--brand);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  width: fit-content;
}

h1, h2, h3, h4, p { margin: 0; }

.hero-title {
  margin-top: 18px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.hero-title span { color: var(--brand); }

.hero-text {
  margin-top: 18px;
  max-width: 740px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
}

.hero-points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.point {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  border-radius: 18px;
  padding: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.point strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.login-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.badge {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-soft {
  background: #f1e1cf;
  color: var(--brand);
}

.form-group { margin-bottom: 12px; }

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 14px 15px;
  color: var(--text);
  outline: none;
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: #c29767;
  box-shadow: 0 0 0 4px rgba(184,138,87,0.12);
}

.helper-box {
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid #ecd6b0;
  border-radius: 18px;
  background: #fff5e3;
  color: #6b4b2a;
  line-height: 1.75;
  font-size: 0.94rem;
}

.section { padding: 18px 0 14px; }

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #8c6a51;
  margin-bottom: 8px;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.2;
}

.section-text {
  max-width: 780px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 12px;
}

.banner-grid,
.feature-grid,
.product-grid,
.category-grid,
.profile-grid,
.checkout-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.banner-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.category-grid { grid-template-columns: repeat(6, 1fr); }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.profile-grid { grid-template-columns: 0.95fr 1.05fr; }
.checkout-grid { grid-template-columns: 1.1fr 0.9fr; }
.footer-grid { grid-template-columns: 1.1fr 0.9fr 0.8fr; }

.banner-card,
.feature-card,
.panel,
.product-card,
.cart-card {
  padding: 22px;
}

.banner-card h3,
.feature-card h3,
.product-card h3 {
  margin-bottom: 10px;
}

.muted {
  color: var(--muted);
  line-height: 1.8;
}

.category-card {
  border: 1px solid var(--line-soft);
  background: var(--bg-soft);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px 16px;
  text-align: center;
}

.category-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2e3d1;
  font-size: 1.4rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-media {
  height: 200px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f3e2ce 0%, #efe1d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-meta {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #f3e3d0;
  color: var(--brand);
}

.stock-ok {
  color: var(--success);
  font-weight: 700;
  font-size: 0.82rem;
}

.stock-low {
  color: var(--warning);
  font-weight: 700;
  font-size: 0.82rem;
}

.stock-out {
  color: #a54632;
  font-weight: 700;
  font-size: 0.82rem;
}

.price-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.panel-dark {
  background: linear-gradient(180deg, #7a5533 0%, #654222 100%);
  color: white;
  border-color: transparent;
}

.panel-dark .muted,
.panel-dark .section-text {
  color: rgba(255,255,255,0.86);
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.info-item,
.step {
  display: flex;
  align-items: start;
  gap: 12px;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 15px;
}

.panel-dark .info-item {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.12);
}

.step-num,
.info-num {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0decb;
  color: var(--brand);
  font-weight: 700;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.footer {
  margin-top: 28px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line-soft);
}

.footer-block {
  border-radius: 24px;
  background: #fffaf5;
  border: 1px solid var(--line-soft);
  padding: 22px;
}

.tiny {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(25, 17, 10, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 999;
}

.modal.show { display: flex; }

.modal-box {
  width: min(780px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fffaf5;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  box-shadow: 0 20px 70px rgba(20,10,0,0.24);
  padding: 22px;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.notice {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f7ecda;
  border: 1px solid #e7cfaa;
  color: #6b4b2a;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-line:last-child { border-bottom: 0; }

.table-note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
}

/* CARE TIPS SLIDER */
.care-tips-slider {
  position: relative;
  overflow: hidden;
}

.care-tips-track {
  display: grid;
  grid-template-columns: 1fr;
}

.care-tip-card {
  display: none;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: stretch;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 22px;
}

.care-tip-card.active {
  display: grid;
}

.care-tip-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: #efe1d0;
}

.care-tip-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-tip-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.care-tip-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f3e3d0;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.care-tip-body h3 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.care-tip-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.care-tips-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.care-tips-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.care-tip-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d6c0ab;
  cursor: pointer;
}

.care-tip-dot.active {
  background: var(--brand);
}

/* ABOUT MODAL BACKGROUND IMAGE */
.about-modal-bg {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    rgba(255,250,245,0.94),
    rgba(255,250,245,0.94)
  );
}

.about-modal-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('umay transparan.png') center center no-repeat;
  background-size: 60%;
  opacity: 0.12;
  z-index: 0;
}

.about-modal-bg > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) {
  .hero-grid,
  .profile-grid,
  .checkout-grid,
  .footer-grid,
  .banner-grid,
  .feature-grid,
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .profile-grid,
  .checkout-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav { display: none; }
  .actions { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 20px)); }
  .topbar-inner { flex-wrap: wrap; }
  .actions { width: 100%; flex-wrap: wrap; }
  .actions .btn { flex: 1; }

  .account-menu {
    width: 100%;
  }

  .account-menu > .btn {
    width: 100%;
  }

  .account-dropdown {
    left: 0;
    right: 0;
    min-width: unset;
  }

  .hero-card,
  .login-card,
  .panel,
  .banner-card,
  .feature-card,
  .product-card,
  .cart-card {
    padding: 18px;
  }

  .banner-grid,
  .feature-grid,
  .product-grid,
  .category-grid,
  .hero-points,
  .field-grid,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: start;
  }

  .hero-title { font-size: 2.3rem; }
  .brand-title { font-size: 1rem; }
  .brand-subtitle { letter-spacing: 0.18em; }
  .lang-switch { width: 100%; }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .btn-cart {
    min-width: 120px;
  }

  .care-tip-card,
  .care-tip-card.active {
    grid-template-columns: 1fr;
  }

  .about-modal-bg::before {
    background-size: 85%;
  }
}