/* =============================================
   RAW HONEY — style.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700&family=Allura&family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  --bg: #FAF9F6;
  --text: #111111;
  --gold: #C89532;
  --border: #E8E6E1;
  --surface-white: #FFFFFF;
  --surface-low: #F4F3F1;
  --surface-med: #EFEEEB;
  --surface-high: #E9E8E5;
  --green-wa: #25D366;

  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 0 4px 20px rgba(17,17,17,0.03);

  --font-body: 'Inter', sans-serif;
  --font-title: 'Bodoni Moda', serif;
  --font-brand: 'Allura', cursive;

  --nav-h: 64px;
  --sticky-bar-h: 60px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: max(14px, 1em);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

/* Ensure all text is at minimum 12px */
* {
  font-size: max(12px, 1em);
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: max(14px, 1em);
}

input, select, textarea {
  font-family: inherit;
  font-size: max(14px, 1em);
}

/* =============================================
   Typography Helpers
   ============================================= */
.font-title {
  font-family: var(--font-title);
}

.font-brand {
  font-family: var(--font-brand);
  font-style: normal;
}

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-sm { font-size: max(12px, 0.875rem); }

/* =============================================
   Buttons
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text);
  color: var(--surface-white);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  min-height: 44px;
  font-size: max(14px, 1em);
  font-weight: 500;
  font-family: var(--font-body);
  border: 1px solid var(--text);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary:hover:not(:disabled),
.btn-primary:focus-visible:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--surface-white);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  min-height: 44px;
  font-size: max(14px, 1em);
  font-weight: 500;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn-outline:hover:not(:disabled),
.btn-outline:focus-visible:not(:disabled) {
  background: var(--text);
  color: var(--surface-white);
}

.btn-outline:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--surface-white);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  min-height: 44px;
  font-size: max(14px, 1em);
  font-weight: 500;
  font-family: var(--font-body);
  transition: opacity 0.2s;
  cursor: pointer;
}

.btn-gold:hover { opacity: 0.88; }

.btn-sm {
  padding: 10px 16px;
  min-height: 44px;
  font-size: max(12px, 0.85rem);
}

.btn-full { width: 100%; }

/* =============================================
   Badge
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 99px;
  padding: 4px 12px;
  font-size: max(12px, 0.8rem);
  font-weight: 500;
  white-space: nowrap;
}

.badge-dark {
  background: var(--text);
  color: var(--surface-white);
  border-color: var(--text);
}

.badge-gold {
  background: var(--gold);
  color: var(--surface-white);
  border-color: var(--gold);
}

/* =============================================
   Card
   ============================================= */
.card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* =============================================
   Skeleton / Shimmer
   ============================================= */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-high) 25%,
    var(--surface-med) 50%,
    var(--surface-high) 75%
  );
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius-sm);
}

.skeleton-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 4/3;
}

.skeleton-line {
  height: 16px;
  margin: 8px 16px;
}

.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }
.skeleton-line.long { width: 100%; }

/* =============================================
   Placeholder Image
   ============================================= */
.placeholder-img {
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-family: var(--font-body);
  font-size: max(12px, 0.8rem);
  font-style: normal;
  width: 100%;
  aspect-ratio: 4/3;
}

/* =============================================
   Bottom Navigation
   ============================================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(250,249,246,0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  z-index: 100;
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #888;
  font-size: max(12px, 0.7rem);
  font-weight: 500;
  transition: color 0.15s;
  text-decoration: none;
  padding: 4px 0;
}

.bottom-nav a .material-symbols-outlined {
  font-size: max(22px, 1.4rem);
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: var(--gold);
}

.bottom-nav a.active .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =============================================
   Sticky Bar (above bottom nav)
   ============================================= */
.sticky-bar {
  position: fixed;
  bottom: var(--nav-h);
  left: 0;
  right: 0;
  height: var(--sticky-bar-h);
  background: var(--text);
  color: var(--surface-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 99;
  gap: 12px;
}

.sticky-bar.hidden { display: none; }

.sticky-bar-info {
  font-size: max(14px, 0.9rem);
  font-weight: 500;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-bar .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--surface-white);
  padding: 10px 20px;
  min-height: 44px;
  flex-shrink: 0;
}

.sticky-bar .btn-primary:hover {
  background: #b0841a;
  border-color: #b0841a;
}

/* =============================================
   Floating WhatsApp Button
   ============================================= */
.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 52px;
  height: 52px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 110;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  color: white;
}

.floating-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.floating-wa svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Position variant for pages with sticky bar */
.floating-wa.above-sticky {
  bottom: 148px;
}

/* =============================================
   Toast Notification
   ============================================= */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  background: var(--text);
  color: var(--surface-white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: max(14px, 0.9rem);
  font-weight: 500;
  z-index: 999;
  transition: transform 0.3s ease;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* =============================================
   Error Box
   ============================================= */
.error-box {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: max(14px, 0.9rem);
  margin: 12px 0;
}

.error-box p {
  font-size: max(14px, 0.9rem);
  color: var(--text);
}

/* =============================================
   Padding-bottom Helpers
   ============================================= */

/* Only bottom nav */
.pb-nav { padding-bottom: calc(var(--nav-h) + 16px); }

/* Bottom nav + sticky bar */
.pb-nav-sticky { padding-bottom: calc(var(--nav-h) + var(--sticky-bar-h) + 16px); }

/* For katalog and keranjang with extra floating */
.pb-katalog { padding-bottom: 220px; }
.pb-checkout { padding-bottom: calc(var(--nav-h) + 48px); }

/* =============================================
   Page Header
   ============================================= */
.page-header {
  position: sticky;
  top: 0;
  background: rgba(250,249,246,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
  z-index: 90;
}

.page-header-title {
  font-family: var(--font-title);
  font-size: max(16px, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text);
}

.cart-icon-wrap .material-symbols-outlined {
  font-size: max(22px, 1.4rem);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--gold);
  color: white;
  border-radius: 99px;
  font-size: max(12px, 0.7rem);
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.cart-badge[data-count="0"],
.cart-badge:empty {
  display: none;
}

/* =============================================
   Form Elements
   ============================================= */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: max(12px, 0.85rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-white);
  color: var(--text);
  font-size: max(14px, 1em);
  font-family: var(--font-body);
  transition: border-color 0.15s;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--text);
}

.form-control::placeholder {
  color: #aaa;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23111111'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

textarea.form-control {
  resize: vertical;
  min-height: 88px;
}

/* =============================================
   Stepper
   ============================================= */
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 44px;
}

.stepper button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-low);
  color: var(--text);
  border: none;
  font-size: max(18px, 1.2em);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}

.stepper button:hover:not(:disabled) { background: var(--surface-med); }
.stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper-val {
  min-width: 40px;
  text-align: center;
  font-size: max(14px, 1em);
  font-weight: 600;
  padding: 0 8px;
  color: var(--text);
  line-height: 44px;
}

/* =============================================
   Divider
   ============================================= */
.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* =============================================
   Section
   ============================================= */
.section {
  padding: 28px 16px;
}

.section-title {
  font-family: var(--font-title);
  font-size: max(20px, 1.25rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

/* =============================================
   Chip
   ============================================= */
.chip {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--surface-white);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: max(13px, 0.85rem);
  color: var(--text);
}

/* =============================================
   Accordion
   ============================================= */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--surface-white);
  font-size: max(14px, 0.9rem);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  border: none;
  text-align: left;
  transition: background 0.15s;
}

.accordion-header:hover { background: var(--surface-low); }

.accordion-header .acc-icon {
  font-size: max(20px, 1.2rem);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.accordion-item.open .acc-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--surface-low);
}

.accordion-item.open .accordion-body {
  max-height: 600px;
}

.accordion-body-inner {
  padding: 16px;
  font-size: max(14px, 0.9rem);
  color: var(--text);
  line-height: 1.7;
}

.accordion-body-inner ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accordion-body-inner li {
  font-size: max(14px, 0.9rem);
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 360px;
  overflow: hidden;
  background: var(--border);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px;
  gap: 8px;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-content {
  padding: 24px 16px 16px;
  background: var(--bg);
}

.hero-title {
  font-family: var(--font-title);
  font-size: max(28px, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}

/* =============================================
   Trust Grid
   ============================================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 16px 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}

.trust-item .material-symbols-outlined {
  font-size: max(28px, 1.8rem);
  color: var(--gold);
}

.trust-item span:not(.material-symbols-outlined) {
  font-size: max(12px, 0.78rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* =============================================
   Khasiat Grid
   ============================================= */
.khasiat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.khasiat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.khasiat-item .material-symbols-outlined {
  font-size: max(18px, 1.1rem);
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.khasiat-item p {
  font-size: max(12px, 0.8rem);
  color: var(--text);
  line-height: 1.4;
}

/* =============================================
   Delivery / Chips
   ============================================= */
.delivery-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

/* =============================================
   Footer (dark)
   ============================================= */
.footer-dark {
  background: var(--text);
  color: var(--surface-white);
  padding: 32px 16px 24px;
}

.footer-dark a {
  color: rgba(255,255,255,0.75);
}

.footer-dark a:hover {
  color: var(--surface-white);
}

.footer-brand {
  font-family: var(--font-title);
  font-size: max(18px, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-sub {
  font-size: max(12px, 0.8rem);
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-copy {
  font-size: max(12px, 0.78rem);
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
}

/* =============================================
   Product Card (katalog)
   ============================================= */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.product-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card.out-of-stock {
  opacity: 0.70;
}

.product-card.out-of-stock .product-card-img img {
  filter: grayscale(100%);
}

.product-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--border);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.out-of-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(250,249,246,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: max(12px, 0.78rem);
  font-weight: 600;
  color: var(--text);
}

.product-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.product-name {
  font-family: var(--font-brand);
  font-style: normal;
  font-size: max(24px, 1.5rem);
  color: var(--text);
  line-height: 1.2;
}

.ukuran-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.ukuran-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  border-radius: var(--radius-sm);
  background: var(--surface-white);
  color: var(--text);
  padding: 8px 6px;
  font-size: max(12px, 0.75rem);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  min-height: 44px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
}

.ukuran-pill.selected {
  background: var(--text);
  color: var(--surface-white);
}

.ukuran-pill.disabled-pill {
  background: var(--surface-high);
  color: #999;
  border-color: var(--surface-high);
  cursor: not-allowed;
}

.stok-info {
  font-size: max(12px, 0.75rem);
  color: #888;
}

.stok-warning {
  font-size: max(12px, 0.75rem);
  color: #C89532;
  font-weight: 500;
}

.product-harga {
  font-size: max(14px, 0.9rem);
  font-weight: 600;
  color: var(--text);
}

.product-card-footer {
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.product-card-footer .stepper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-low);
  border-radius: var(--radius-sm);
  padding: 2px 4px;
  min-height: 44px;
  box-sizing: border-box;
}

.product-card-footer .stepper button {
  width: 38px;
  height: 38px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: max(16px, 1.1rem);
  font-weight: 600;
  color: var(--text);
  background: var(--surface-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: background 0.15s;
}

.product-card-footer .stepper .stepper-val {
  font-weight: 600;
  font-size: max(14px, 0.9rem);
  color: var(--text);
  min-width: 28px;
  text-align: center;
}

.product-card-footer .btn-primary,
.product-card-footer .btn-tambah {
  width: 100%;
  padding: 10px 4px;
  min-height: 44px;
  font-size: max(12px, 0.75rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  line-height: 1.2;
}

/* =============================================
   Cart Item (keranjang)
   ============================================= */
.cart-item {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.cart-item-name {
  font-weight: 600;
  font-size: max(14px, 0.9rem);
  color: var(--text);
  flex: 1;
}

.cart-item-ukuran {
  font-size: max(12px, 0.78rem);
  color: #888;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-item-subtotal {
  font-weight: 600;
  font-size: max(14px, 0.9rem);
  color: var(--text);
}

.btn-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  color: #888;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}

.btn-remove:hover {
  color: var(--text);
  border-color: var(--text);
}

.btn-remove .material-symbols-outlined {
  font-size: max(18px, 1.1rem);
}

/* =============================================
   Order / Pesanan Page
   ============================================= */
.order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--gold);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: max(13px, 0.85rem);
  font-weight: 600;
  color: var(--gold);
  background: rgba(200,149,50,0.06);
}

.order-section {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.order-section-title {
  font-size: max(12px, 0.78rem);
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  gap: 8px;
}

.order-item-row:last-child { border-bottom: none; }

.order-item-desc {
  flex: 1;
  min-width: 0;
}

.order-item-desc p {
  font-size: max(14px, 0.9rem);
  font-weight: 500;
}

.order-item-desc span {
  font-size: max(12px, 0.78rem);
  color: #888;
}

.order-item-price {
  font-size: max(14px, 0.9rem);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: max(14px, 0.9rem);
}

.summary-row.total {
  font-weight: 700;
  font-size: max(16px, 1rem);
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 10px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: max(12px, 0.78rem);
  font-weight: 500;
  color: var(--gold);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.copy-btn:hover { background: rgba(200,149,50,0.1); }

.qris-img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 12px;
  display: block;
  border-radius: var(--radius-md);
}

/* =============================================
   Empty State
   ============================================= */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}

.empty-state .material-symbols-outlined {
  font-size: max(48px, 3rem);
  color: var(--border);
}

.empty-state p {
  font-size: max(14px, 0.9rem);
  color: #888;
  max-width: 260px;
}

/* =============================================
   Info page
   ============================================= */
.info-section {
  padding: 24px 16px;
  border-bottom: 1px solid var(--border);
}

.info-section:last-child { border-bottom: none; }

.info-section-title {
  font-family: var(--font-title);
  font-size: max(18px, 1.1rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.info-section p,
.info-section li {
  font-size: max(14px, 0.9rem);
  color: var(--text);
  line-height: 1.7;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.info-list li .material-symbols-outlined {
  font-size: max(18px, 1.1rem);
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.label-card {
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 10px;
  font-size: max(14px, 0.88rem);
  color: var(--text);
  line-height: 1.6;
}

/* =============================================
   Checkout Summary
   ============================================= */
.checkout-section {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.checkout-section-title {
  font-size: max(12px, 0.78rem);
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* =============================================
   Overlay / Loading
   ============================================= */
.page-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

/* =============================================
   Responsive
   ============================================= */
@media (min-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .hero-img-wrap {
    max-height: 400px;
  }
}


/* Logo, lokasi footer */
.brand-wrap { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.footer-logo { display: block; width: 96px; height: 96px; object-fit: contain; margin-bottom: 12px; }
.footer-lokasi { margin: 4px 0 20px; }
.footer-lokasi-title { font-family: var(--font-title); font-size: max(14px, 0.9rem); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.footer-alamat { font-size: max(13px, 0.85rem); line-height: 1.6; color: rgba(255,255,255,0.75); margin-bottom: 12px; }
.footer-map { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }
.footer-map iframe { display: block; width: 100%; height: 220px; }
.footer-map-link { display: inline-flex; align-items: center; min-height: 44px; font-size: max(14px, 0.9rem); font-weight: 500; text-decoration: underline; }

/* Menu header (disembunyikan di HP) */
.header-brand, .top-nav { display: none; }

/* =============================================
   DESKTOP (tablet landscape dan layar lebar)
   ============================================= */
@media (min-width: 768px) {
  :root { --gutter: max(24px, calc((100vw - 1100px) / 2)); }

  /* Header + menu horizontal */
  .bottom-nav { display: none; }
  .page-header { height: 68px; padding: 0 var(--gutter); justify-content: flex-start; gap: 24px; }
  .header-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-title); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; min-height: 44px; }
  .header-brand img { width: 56px; height: 56px; object-fit: contain; }
  .brand-wrap, .header-cart, .back-link, .header-spacer, .title-mobile { display: none !important; }
  .page-header-title.title-keep { flex: 0 1 auto !important; text-align: left !important; padding-left: 24px; border-left: 1px solid var(--border); color: #666; }
  .top-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
  .top-nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px; color: var(--text); font-size: max(14px, 0.9rem); font-weight: 500; border-bottom: 2px solid transparent; }
  .top-nav a:hover, .top-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }
  .top-nav-cart .cart-badge { top: 2px; right: 0; }

  /* Bar bawah dan tombol WA */
  .toast { max-width: 360px; }
  .sticky-bar { bottom: 0; left: 0; right: 0; max-width: none; transform: none; padding: 0 var(--gutter); }
  .floating-wa { right: 24px; bottom: 24px; }
  .floating-wa.above-sticky { bottom: 100px; }
  .pb-katalog { padding-bottom: 140px; }

  /* Lebar isi */
  .section, .info-section { padding-left: var(--gutter); padding-right: var(--gutter); }
  .divider { margin-left: var(--gutter) !important; margin-right: var(--gutter) !important; }
  .trust-grid { padding-left: var(--gutter); padding-right: var(--gutter); }
  .section > p, .info-section > p, .info-section > .label-card { max-width: 760px; }

  /* Beranda */
  .hero { display: block; padding: 32px var(--gutter) 40px; }
  .hero-img-wrap { max-height: 460px; border-radius: var(--radius-md); }
  .hero-content { background: transparent; padding: 28px 0 0; }
  .hero-title { font-size: max(44px, 2.75rem); }
  .khasiat-grid { grid-template-columns: repeat(3, 1fr); }
  .khasiat-item[style*="grid-column"] { grid-column: auto !important; }
  .footer-dark { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-content: start; padding: 48px var(--gutter) 32px !important; }
  .footer-dark > * { grid-column: 1; }
  .footer-dark > .footer-lokasi { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; }
  .footer-dark > .footer-copy { grid-column: 1 / -1; }
  .footer-map iframe { height: 260px; }

  /* Katalog */
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 24px var(--gutter); }
  #acc-khasiat, #acc-anjuran, #acc-catatan { max-width: 760px; }

  /* Info */
  .info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }

  /* Keranjang: daftar kiri, ringkasan sticky kanan */
  #cart-main { padding: 32px var(--gutter) 80px !important; }
  .page-keranjang #cart-main { padding-right: calc(var(--gutter) + 372px) !important; }
  .page-keranjang .sticky-bar { top: 100px; bottom: auto; left: auto; right: var(--gutter); width: 340px; height: auto; flex-direction: column; align-items: stretch; padding: 20px; border-radius: var(--radius-md); gap: 14px; }
  .page-keranjang .sticky-bar .sticky-bar-info { white-space: normal; font-size: max(16px, 1rem); }
  .page-keranjang .sticky-bar .btn-primary { width: 100%; }

  /* Checkout: form kiri, ringkasan sticky kanan */
  #checkout-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 32px; align-items: start; padding: 32px var(--gutter) 80px !important; }
  #checkout-error { grid-column: 1 / -1; }
  #checkout-form { grid-column: 1; grid-row: 2; }
  #checkout-page > .checkout-section { grid-column: 2; grid-row: 2; position: sticky; top: 92px; }

  /* Pesanan */
  #pesanan-page { max-width: 760px; margin: 0 auto; padding-top: 16px; }
}

@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Foto hero */
.hero-img-wrap .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }

/* Halaman kecamatan */
.kec-info { padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); max-width: 760px; }
.kec-info p { margin: 0 0 6px; font-size: max(14px, 0.9rem); line-height: 1.7; }
.kec-faq > h2, .kec-faq > details { max-width: 760px; }
.kec-faq details { border-bottom: 1px solid var(--border); }
.kec-faq summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; font-size: max(14px, 0.95rem); list-style: none; }
.kec-faq summary::-webkit-details-marker { display: none; }
.kec-faq details p { margin: 0 0 14px; font-size: max(14px, 0.9rem); line-height: 1.7; }
.kec-links { display: flex; flex-wrap: wrap; gap: 8px; }
.kec-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 4px; background: #fff; font-size: max(14px, 0.9rem); }
.kec-links a:hover { border-color: var(--gold); color: var(--gold); }

/* Popup setelah tambah ke keranjang */
.sheet-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; background: rgba(17,17,17,0.45); }
.sheet { width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 16px 16px 0 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); animation: sheet-up 0.25s ease; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.sheet-title { font-family: var(--font-title); font-size: max(18px, 1.15rem); font-weight: 700; margin: 0; }
.sheet-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; color: var(--text); }
.sheet-added { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sheet-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: var(--border); }
.sheet-thumb img, .sheet-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sheet-added-info { flex: 1; min-width: 0; }
.sheet-added-name { font-weight: 600; font-size: max(14px, 0.95rem); }
.sheet-added-sub { font-size: max(13px, 0.85rem); color: #666; margin-top: 2px; }
.sheet-ok { display: flex; align-items: center; gap: 4px; color: #2e7d32; font-size: max(13px, 0.85rem); font-weight: 600; text-align: right; max-width: 120px; }
.sheet-ok-icon { color: #2e7d32; font-size: 24px; flex-shrink: 0; }
.sheet-sub { font-size: max(14px, 0.95rem); font-weight: 600; margin: 16px 0 10px; }
.sheet-slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; -webkit-overflow-scrolling: touch; }
.sheet-card { flex: 0 0 160px; scroll-snap-align: start; border: 1px solid var(--border); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.sheet-card-img { width: 100%; aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; background: var(--border); }
.sheet-card-name { font-weight: 600; font-size: max(13px, 0.85rem); }
.sheet-chips { display: flex; gap: 6px; }
.sheet-chip { flex: 1; min-height: 44px; border: 1px solid var(--border); border-radius: 4px; background: #fff; font-size: max(13px, 0.85rem); cursor: pointer; }
.sheet-chip.selected { border-color: var(--text); background: var(--text); color: #fff; }
.sheet-chip:disabled { opacity: 0.4; cursor: not-allowed; }
.sheet-card-price { font-size: max(13px, 0.85rem); color: #444; }
.sheet-add { width: 100%; min-height: 44px; }
.sheet-cta { margin-top: 12px; display: flex; align-items: center; justify-content: center; min-height: 48px; }
.sheet-continue { display: block; width: 100%; min-height: 44px; margin-top: 4px; background: transparent; border: 0; color: #555; font-size: max(14px, 0.9rem); text-decoration: underline; cursor: pointer; }
@media (min-width: 768px) {
  .sheet-overlay { align-items: center; }
  .sheet { border-radius: 12px; }
}
.sheet-add { padding: 0 8px; white-space: nowrap; }
.sheet-ok-icon { width: 24px; height: 24px; overflow: hidden; line-height: 24px; }
.sheet-close .material-symbols-outlined { width: 24px; height: 24px; overflow: hidden; line-height: 24px; }

/* Deskripsi katalog */
.katalog-intro { padding: 20px 16px 4px; }
.katalog-intro-title { font-family: var(--font-title); font-size: max(18px, 1.15rem); font-weight: 700; margin: 0 0 8px; }
.katalog-intro p { font-size: max(14px, 0.9rem); line-height: 1.7; margin: 0 0 8px; }
.katalog-intro .katalog-intro-note { font-size: max(13px, 0.85rem); color: #666; }
.product-desc { font-size: max(13px, 0.85rem); line-height: 1.5; color: #555; margin: 4px 0 10px; }
@media (min-width: 768px) {
  .katalog-intro { padding: 32px var(--gutter) 0; }
  .katalog-intro p { max-width: 760px; }
}

/* Poin Madu Ternak + kartu habis di popup */
.katalog-points { list-style: none; margin: 0 0 10px; padding: 0; }
.katalog-points li { position: relative; padding: 4px 0 4px 22px; font-size: max(14px, 0.9rem); line-height: 1.5; }
.katalog-points li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.sheet-card.habis { opacity: 0.6; }
.sheet-card.habis .sheet-add { cursor: not-allowed; }

/* Pilihan ukuran dibedakan dari tombol Tambah */
.ukuran-pill.selected { background: #FBF3E0; color: var(--text); border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.ukuran-pill.selected::before { content: "\2713"; margin-right: 6px; color: var(--gold); font-weight: 700; }
.sheet-chip.selected { background: #FBF3E0; color: var(--text); border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

/* =============================================
   FOOTER BARU (rhf-)
   ============================================= */
.rhf { background: #111; color: rgba(255,255,255,0.72); padding-bottom: calc(var(--nav-h) + 96px); }
.rhf a { text-decoration: none; }
.rhf-inner { max-width: 1100px; margin: 0 auto; padding: 40px 16px 0; }
.rhf-top { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.rhf-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rhf-logo { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; padding: 4px; background: #fff; border-radius: 12px; flex-shrink: 0; }
.rhf-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rhf-wordmark { font-family: var(--font-title); font-size: max(20px, 1.3rem); font-weight: 700; letter-spacing: 0.14em; color: #fff; }
.rhf-tagline { font-size: max(14px, 0.9rem); line-height: 1.7; max-width: 340px; margin-bottom: 14px; }
.rhf-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.rhf-badge { font-size: max(12px, 0.75rem); font-weight: 600; padding: 6px 12px; border-radius: 100px; border: 1px solid rgba(200,149,50,0.5); color: var(--gold); }
.rhf-col { display: flex; flex-direction: column; }
.rhf-title { font-family: var(--font-body); font-size: max(12px, 0.75rem); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.rhf-link { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; font-size: max(14px, 0.9rem); font-weight: 500; color: rgba(255,255,255,0.72); transition: color 0.18s; }
.rhf-link:hover { color: var(--gold); }
.rhf-areas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }

.rhf-mid { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.rhf-contact { display: flex; flex-direction: column; gap: 12px; }
.rhf-sub { font-size: max(14px, 0.9rem); line-height: 1.65; margin-bottom: 4px; }
.rhf-pill { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 44px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; transition: background 0.2s, border-color 0.2s; }
a.rhf-pill:hover { background: rgba(200,149,50,0.12); border-color: rgba(200,149,50,0.5); }
.rhf-pill-ic { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.rhf-pill-ic svg { width: 18px; height: 18px; }
.rhf-pill-wa { background: rgba(37,211,102,0.16); color: #25d366; }
.rhf-pill-loc { background: rgba(200,149,50,0.16); color: var(--gold); }
.rhf-pill-t { display: flex; flex-direction: column; min-width: 0; }
.rhf-pill-l { font-size: max(12px, 0.75rem); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); line-height: 1.2; }
.rhf-pill-v { font-size: max(14px, 0.9rem); font-weight: 600; color: #fff; margin-top: 3px; line-height: 1.4; }
.rhf-pill-addr { font-weight: 500; font-size: max(13px, 0.85rem); }
.rhf-maplink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; width: fit-content; font-size: max(14px, 0.9rem); font-weight: 600; color: var(--gold); transition: gap 0.2s; }
.rhf-maplink:hover { gap: 10px; }
.rhf-map { position: relative; height: 220px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: #1b1b1b; }
.rhf-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.6) brightness(0.9); transition: filter 0.4s; }
.rhf-map:hover iframe, .rhf-map:focus-within iframe { filter: none; }

.rhf-bottom { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 0 24px; text-align: center; }
.rhf-copy { font-size: max(13px, 0.8rem); color: rgba(255,255,255,0.55); }
.rhf-slogan { font-family: var(--font-title); font-size: max(13px, 0.85rem); letter-spacing: 0.1em; color: var(--gold); }

@media (min-width: 768px) {
  .rhf { padding-bottom: 0; }
  .rhf-inner { padding: 56px var(--gutter) 0; max-width: none; }
  .rhf-top { grid-template-columns: 1.4fr 0.7fr 1.2fr; gap: 48px; padding-bottom: 40px; }
  .rhf-mid { grid-template-columns: 1fr minmax(300px, 420px); gap: 48px; align-items: center; padding: 40px 0; }
  .rhf-map { height: 240px; }
  .rhf-bottom { flex-direction: row; justify-content: space-between; text-align: left; padding: 24px 0 32px; }
}

/* Ikon garis hitam (Beranda dan Info) */
.trust-item .material-symbols-outlined,
.khasiat-item .material-symbols-outlined,
.info-list .material-symbols-outlined { color: var(--text); }

/* Galeri video */
.video-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.video-tile { position: relative; aspect-ratio: 9 / 13; border-radius: 10px; overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.video-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-tile.playing { background: #000; }
.video-tile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; padding: 0; color: var(--text); }
.video-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--text); color: #fff; font-size: 30px; }
.video-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: #fff; border-top: 1px solid var(--border); font-size: max(12px, 0.78rem); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) { .video-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* =============================================
   WIDGET WHATSAPP (wa-)
   ============================================= */
.wa-widget { position: fixed; right: 16px; bottom: 80px; z-index: 110; }
.wa-widget.above-sticky { bottom: 148px; }
.wa-widget *, .wa-widget *::before, .wa-widget *::after { box-sizing: border-box; }
.wa-fab { position: relative; display: inline-flex; }
.wa-pulse { position: absolute; inset: 0; border-radius: 28px; background: var(--gold); opacity: 0.4; animation: wa-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.4; } 70%, 100% { transform: scale(1.3); opacity: 0; } }
.wa-btn { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; width: 56px; height: 56px; padding: 0; border: 0; border-bottom: 4px solid var(--gold); border-radius: 28px; background: #111; color: #fff; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,0.28); transition: transform 0.2s, box-shadow 0.2s; }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.36); }
.wa-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wa-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-label { display: none; font-size: max(13px, 0.85rem); font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.wa-badge { position: absolute; top: -4px; right: -4px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: #ef4444; color: #fff; border: 2px solid #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wa-badge.hidden { display: none; }
.wa-box { position: absolute; right: 0; bottom: 70px; width: 300px; max-width: calc(100vw - 32px); background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 44px rgba(0,0,0,0.32); animation: wa-up 0.22s ease; }
.wa-box[hidden] { display: none; }
@keyframes wa-up { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 8px 14px 16px; background: #111; border-bottom: 4px solid var(--gold); }
.wa-avatar { width: 40px; height: 40px; border-radius: 8px; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa-avatar svg { width: 22px; height: 22px; }
.wa-title { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.wa-name { font-family: var(--font-title); font-weight: 700; letter-spacing: 0.08em; color: #fff; font-size: max(15px, 0.95rem); }
.wa-status { font-size: max(12px, 0.75rem); color: #bdbdbd; line-height: 1.3; }
.wa-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; color: #fff; cursor: pointer; flex-shrink: 0; }
.wa-close svg { width: 16px; height: 16px; }
.wa-body { padding: 14px; background: #f4f2ee; }
.wa-bubble { background: #fff; border-left: 4px solid var(--gold); padding: 12px 14px; margin-bottom: 12px; font-size: max(13px, 0.85rem); line-height: 1.65; color: #333; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.wa-bubble strong { color: #111; }
.wa-number { display: block; margin-top: 8px; font-size: max(12px, 0.75rem); color: #777; }
.wa-cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; background: #111; color: var(--gold); border: 2px solid #111; border-radius: 6px; font-size: max(14px, 0.9rem); font-weight: 600; letter-spacing: 0.04em; text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.wa-cta:hover { background: var(--gold); color: #111; border-color: var(--gold); }
.wa-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (min-width: 768px) {
  .wa-widget { right: 24px; bottom: 24px; }
  .wa-widget.above-sticky { bottom: 100px; }
  .wa-btn { width: auto; padding: 0 22px; }
  .wa-label { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .wa-pulse { animation: none; display: none; } .wa-box { animation: none; } .wa-btn, .wa-cta { transition: none; } }

/* Mini katalog Beranda */
.mk-slider { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch; }
.mk-card { flex: 0 0 152px; scroll-snap-align: start; display: block; border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: hidden; color: var(--text); text-decoration: none; transition: border-color 0.15s; }
.mk-card:hover { border-color: #bbb; }
.mk-img { position: relative; aspect-ratio: 1 / 1; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: max(12px, 0.75rem); color: #777; }
.mk-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-body { padding: 8px 10px 12px; }
.mk-name { font-size: max(13px, 0.85rem); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.mk-price { margin-top: 6px; font-size: max(15px, 0.95rem); font-weight: 700; }
.mk-uk { margin-top: 2px; font-size: max(12px, 0.75rem); color: #777; }
.mk-stok { margin-top: 6px; font-size: max(12px, 0.75rem); color: var(--gold); }
.mk-btn { margin-top: 14px; display: flex; align-items: center; justify-content: center; min-height: 48px; }
@media (min-width: 768px) {
  .mk-slider { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; overflow: visible; }
  .mk-card { flex: none; }
  .mk-name { font-size: max(15px, 0.95rem); }
  .mk-price { font-size: max(18px, 1.1rem); }
  .mk-btn { max-width: 360px; margin-left: auto; margin-right: auto; }
}

/* Tautan "Lihat Produk Lain..." (tablet dan desktop) */
.mk-more { display: none; }
@media (min-width: 768px) {
  .mk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
  .mk-head .section-title { margin-bottom: 0; }
  .mk-more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--text); font-size: max(15px, 0.95rem); font-weight: 600; text-decoration: none; transition: color 0.15s; }
  .mk-more-t { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .mk-dots { color: var(--gold); letter-spacing: 1px; }
  .mk-arrow { margin-left: 4px; flex-shrink: 0; transition: transform 0.15s; }
  .mk-more:hover { color: var(--gold); }
  .mk-more:hover .mk-arrow { transform: translateX(3px); }
  .mk-btn { display: none; }
}

/* Tautan "Lihat Produk Lain..." di kanan bawah (tablet dan desktop) */
.mk-foot { display: none; }
@media (min-width: 768px) {
  .mk-head { display: block; margin-bottom: 14px; }
  .mk-foot { display: flex; justify-content: flex-end; margin-top: 6px; }
}
