/* ═══════════════════════════════════════════════════════════
   📄 STUDIO BY RUMI — EDITORIAL PAPER THEME
   Clean · Monochrome · Bold Typography · Paper Texture
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Dancing+Script:wght@600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette — White dominant, Red + Orange accent */
  --paper:      #FFFFFF;
  --paper-dark: #F5F5F5;
  --white:      #FFFFFF;
  --black:      #1A1A1A;
  --dark:       #2C2C2C;
  --gray:       #6B6B6B;
  --gray-light: #ABABAB;
  --border:     #E0E0E0;
  --border-light: #EEEEEE;

  /* Accents */
  --red:        #E8280A;
  --red-light:  #FEF0ED;
  --orange:     #F47920;
  --orange-light: #FEF4EC;

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-script:  'Dancing Script', cursive;

  /* Spacing */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 999px;

  /* Transition */
  --trans: all .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }
input, select, textarea, button { font: inherit; outline: none; border: none; background: none; }
button { cursor: pointer; }

/* ── Selection ──────────────────────────────────────────── */
::selection { background: var(--black); color: var(--white); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper-dark); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 99px; }

/* ── Display type ───────────────────────────────────────── */
h1,h2,h3 { font-family: var(--font-display); letter-spacing: .02em; line-height: 1; color: var(--black); }
h1 { font-size: 4rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.6rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.display-xl  { font-family: var(--font-display); font-size: 9rem; line-height: .9; letter-spacing: .02em; color: var(--black); }
.script-text { font-family: var(--font-script); font-size: 1.6rem; color: var(--gray); }
.eyebrow {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em; color: var(--gray);
}
.text-muted  { color: var(--gray); }
.text-sm     { font-size: .82rem; }
.text-center { text-align: center; }
b, strong    { font-weight: 700; }

/* ── Layout ─────────────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 800px;  margin: 0 auto; padding: 0 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.flex         { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-40  { margin-top: 40px; }
.mb-24  { margin-bottom: 24px; }
.py-40  { padding: 40px 0; }
.py-60  { padding: 60px 0; }
.py-80  { padding: 80px 0; }

/* ═══════════════════════════════════════════════════════════
   🔘 BUTTONS — Pill style
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 700; font-size: .85rem;
  letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--trans);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary  { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: #c52008; }
.btn-outline  { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-ghost    { color: var(--gray); border-color: var(--border); }
.btn-ghost:hover { color: var(--black); border-color: var(--black); }
.btn-orange   { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: #da6a10; }
.btn-red      { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: #c52008; }
.btn-sm  { padding: 7px 18px; font-size: .78rem; }
.btn-lg  { padding: 14px 36px; font-size: .9rem; }
.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   ✏️ FORMS
═══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gray); margin-bottom: 7px;
}
.form-control {
  width: 100%; padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white); color: var(--dark);
  font-size: .9rem; transition: border-color .2s;
}
.form-control:focus { border-color: var(--black); }
textarea.form-control { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ═══════════════════════════════════════════════════════════
   💬 ALERTS
═══════════════════════════════════════════════════════════ */
.alert {
  padding: 13px 18px; border-radius: var(--radius);
  margin-bottom: 16px; font-size: .88rem; font-weight: 600;
  border-left: 3px solid; display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #F0FAF5; color: #1A6B40; border-color: #2ECC71; }
.alert-error   { background: var(--red-light); color: var(--red); border-color: var(--red); }
.alert-info    { background: #F0F4FA; color: #1A40A0; border-color: #3B82F6; }

/* ═══════════════════════════════════════════════════════════
   🏷 BADGES — Sale / Promo
═══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 10px;
  font-family: var(--font-body); font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  border-radius: 3px;
}

/* SALE — bold red sticker */
.badge-sale {
  background: var(--red); color: var(--white);
  font-size: .72rem; padding: 4px 10px;
}
/* SALE dengan persen */
.badge-sale-pct {
  background: var(--red); color: var(--white);
  font-size: .72rem; padding: 5px 10px;
  border-radius: 3px;
  display: flex; flex-direction: column; align-items: center;
  line-height: 1.1; gap: 0; width: 42px; height: 42px;
  justify-content: center;
}
.badge-sale-pct .pct-num { font-size: 1.05rem; font-weight: 900; }
.badge-sale-pct .pct-off { font-size: .55rem; letter-spacing: .06em; }

/* NEW */
.badge-new {
  background: var(--black); color: var(--white);
  padding: 4px 10px;
}
/* HOT / TERLARIS */
.badge-hot {
  background: #FF6B00; color: var(--white);
  padding: 4px 10px;
}
/* LIMITED */
.badge-limited {
  background: transparent; color: var(--black);
  border: 1.5px solid var(--black); padding: 3px 8px;
}
/* STOK HABIS */
.badge-empty {
  background: var(--paper-dark); color: var(--gray);
  padding: 4px 10px;
}
.badge-black { background: var(--black); color: #fff; padding: 4px 10px; }
.badge-gray  { background: var(--paper-dark); color: var(--gray); padding: 4px 10px; }

/* ═══════════════════════════════════════════════════════════
   📢 PROMO BAR
═══════════════════════════════════════════════════════════ */
.promo-bar {
  background: linear-gradient(90deg, var(--red) 0%, var(--orange) 100%); color: rgba(255,255,255,.95);
  padding: 9px 0; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; overflow: hidden;
}
.marquee-inner {
  display: flex; gap: 60px; white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-inner span { flex-shrink: 0; }
.marquee-inner span::before { content: '—  '; opacity: .4; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════════════════
   🧭 HEADER / NAV — Pill active, clean horizontal
═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   🧭 NAVBAR — Unified modern pill design
═══════════════════════════════════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.navbar { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.nav-logo {
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .06em;
  color: var(--black); white-space: nowrap; flex-shrink: 0;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .75; }

/* ── Menu links — same pill shape as icons ── */
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  height: 38px; padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--gray);
  transition: all .22s cubic-bezier(.34,1.4,.64,1);
  white-space: nowrap; cursor: pointer;
  overflow: hidden;
}
/* Shimmer ripple on hover */
.nav-menu a::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(232,40,10,.12) 0%, transparent 70%);
  opacity: 0; transition: opacity .22s;
}
.nav-menu a:hover { color: var(--red); border-color: rgba(232,40,10,.18); background: var(--red-light); transform: translateY(-1px); }
.nav-menu a:hover::before { opacity: 1; }
.nav-menu a:active { transform: translateY(0) scale(.97); }
.nav-menu a.active {
  background: var(--red); color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(232,40,10,.35);
}
.nav-menu a.active:hover { background: #c52008; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(232,40,10,.4); }
/* ── Actions row ── */
.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* ── Icon buttons — unified pill ── */
.nav-icon {
  position: relative;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1.5px solid rgba(0,0,0,.1);
  background: rgba(255,255,255,.8);
  transition: all .22s cubic-bezier(.34,1.4,.64,1);
  cursor: pointer;
}
.nav-icon:hover {
  background: var(--red); border-color: var(--red);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 16px rgba(232,40,10,.3);
}
.nav-icon:hover iconify-icon { color: #fff !important; }
.nav-icon:active { transform: translateY(0) scale(.97); }

/* Wishlist — lighter red hover */
.nav-icon--wish:hover {
  background: var(--red-light); border-color: var(--red);
  box-shadow: 0 4px 14px rgba(232,40,10,.2);
}
.nav-icon--wish:hover iconify-icon { color: var(--red) !important; }

/* Cart — orange accent */
.nav-icon--cart:hover {
  background: var(--orange); border-color: var(--orange);
  box-shadow: 0 6px 16px rgba(244,121,32,.35);
}
.nav-icon--cart:hover iconify-icon { color: #fff !important; }

.cart-count {
  position: absolute; top: -5px; right: -5px;
  background: linear-gradient(135deg,var(--red),var(--orange));
  color: #fff; font-size: .58rem; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; font-family: var(--font-body);
  animation: popIn .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }

/* ═══════════════════════════════════════════════════════════
   🖼 HERO — Full-bleed background image, text overlay
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-slide {
  position: relative;
  min-height: 480px; /* fallback jika tidak ada setting */
}

/* Background image — fills slide, behind everything */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  display: block;
}
/* Overlay dikontrol dari PHP via div inline */
/* Dark tint fallback when no image */
.hero-bg.no-img { background: var(--paper-dark); }

/* Watermark text — z-index 1, between bg and text */
.hero-watermark {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 4%;
  pointer-events: none; user-select: none; overflow: hidden;
}
.hero-watermark span {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 14rem);
  letter-spacing: .04em;
  color: var(--black); opacity: .045;
  white-space: nowrap; line-height: 1;
}

/* Text content — absolut kiri, z-index 2 */
.hero-inner {
  position: absolute;
  top: 50%; left: 5%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50%; max-width: 560px;
}
.hero-text { text-align: left; }
.hero-text .eyebrow {
  margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.hero-text .eyebrow::after { content: ''; width: 50px; height: 1px; background: var(--gray-light); }
.hero-text h1 {
  font-size: clamp(2.6rem, 5.5vw, 5.5rem);
  line-height: .92; margin-bottom: 18px;
}
.hero-text h1 em { font-style: italic; color: var(--orange); }
.hero-desc {
  color: var(--gray); font-size: .95rem;
  margin-bottom: 26px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-script { font-family: var(--font-script); font-size: 1.7rem; color: var(--gray); margin-top: 22px; }
.slider-dots { display: flex; gap: 8px; margin-top: 28px; }
.hero-placeholder {
  font-family: var(--font-display); font-size: clamp(5rem,14vw,10rem);
  opacity: .08; position: absolute; right: 5%; bottom: 0; z-index: 1;
  pointer-events: none; user-select: none; line-height: 1;
}

/* Slider dots */
.slider-dots { display: flex; gap: 8px; margin-top: 32px; }
.slider-dots span {
  width: 20px; height: 3px; border-radius: 99px;
  background: var(--border); cursor: pointer; transition: var(--trans);
}
.slider-dots span.active { background: var(--red); width: 36px; }

/* Vertical dots */
.hero-dots-v {
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); z-index: 10;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-dots-v span {
  display: block; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(0,0,0,.2); transition: var(--trans); cursor: pointer;
}
.hero-dots-v span.active { background: var(--red); height: 18px; border-radius: 99px; }

/* ═══════════════════════════════════════════════════════════
   🏷 SECTION HEADERS
═══════════════════════════════════════════════════════════ */
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px; border-bottom: 1px solid var(--border); padding-bottom: 14px;
}
.section-header h2 { font-size: 2rem; }
.section-header a {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--orange); transition: color .2s;
}
.section-header a:hover { color: var(--red); }

/* Watermark section label */
.section-wm {
  position: relative; padding: 60px 0;
  overflow: hidden;
}
.section-wm__bg {
  position: absolute; top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 11rem);
  color: var(--black); opacity: .035;
  white-space: nowrap; text-align: center;
  pointer-events: none; user-select: none; line-height: 1;
  letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════════════════
   🛍 PRODUCT CARD — Clean editorial
═══════════════════════════════════════════════════════════ */
.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 40px rgba(244,121,32,.12);
  transform: translateY(-4px);
}

.product-card__img {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-dark);
  overflow: hidden;
}
/* Slide images */
.product-card__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  box-sizing: border-box;
  display: block;
  opacity: 0;
  transition: opacity .45s ease;
}
.product-card__img img.active { opacity: 1; }
/* Slide indicator dots */
.product-card__img-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 4px; z-index: 4;
  opacity: 0; transition: opacity .2s;
}
.product-card:hover .product-card__img-dots { opacity: 1; }
.product-card__img-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: background .2s, transform .2s;
}
.product-card__img-dots span.active {
  background: #fff; transform: scale(1.3);
}
.product-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #f4f4f2; color: #c4c4c0;
}

/* ── SALE BADGE — Prominent sticker ── */
.product-card__badges {
  position: absolute; top: 0; left: 0; z-index: 3;
}
/* Ribbon-style sale badge */
.sale-ribbon {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem; letter-spacing: .04em;
  padding: 4px 14px 4px 10px;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%);
  display: flex; align-items: center; gap: 4px;
  line-height: 1.6;
}
.sale-ribbon .pct { font-size: .65rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .06em; margin-top: 1px; }

/* Corner badge (top-right) */
.corner-badge {
  position: absolute; top: 10px; right: 10px; z-index: 3;
}
.corner-badge .badge { border-radius: 4px; }

/* Bottom-left stacked badges */
.bottom-badges {
  position: absolute; bottom: 10px; left: 10px; z-index: 3;
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
}

.product-card__actions {
  position: absolute; bottom: 12px; right: 12px; z-index: 3;
  display: flex; gap: 6px; opacity: 0; transition: opacity .2s;
}
.product-card:hover .product-card__actions { opacity: 1; }
.product-card__action-btn {
  width: 34px; height: 34px; background: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); transition: var(--trans);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.product-card__action-btn:hover { background: var(--red); border-color: var(--red); }
.product-card__action-btn:hover svg { stroke: var(--white); }
.product-card__action-btn svg { width: 14px; height: 14px; stroke: var(--dark); fill: none; stroke-width: 2; }

.product-card__body { padding: 14px 16px 18px; }
.product-card__cat {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gray-light); margin-bottom: 5px;
}
.product-card__name {
  font-family: var(--font-body); font-size: .92rem; font-weight: 700;
  color: var(--black); line-height: 1.35; margin-bottom: 10px;
}
.product-card__price { display: flex; align-items: baseline; gap: 8px; }
.product-card__price-main {
  font-family: var(--font-body); font-weight: 800; font-size: .95rem; color: var(--black);
}
.product-card__price-main.is-sale { color: var(--red); }
.product-card__price-orig { font-size: .78rem; color: var(--gray-light); text-decoration: line-through; }
/* Savings label */
.product-card__save {
  font-size: .68rem; font-weight: 800; color: var(--red);
  text-transform: uppercase; letter-spacing: .06em;
  margin-top: 3px;
}

/* ── Product list view (shop page sidebar) ── */
.product-list-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; gap: 0; transition: var(--trans);
}
.product-list-card:hover { border-color: var(--dark); }

/* ═══════════════════════════════════════════════════════════
   🏷 CATEGORY CHIPS
═══════════════════════════════════════════════════════════ */
.cat-grid { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-grid::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0; padding: 7px 18px;
  border: 1.5px solid var(--border); border-radius: var(--radius-xl);
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gray); background: var(--white);
  cursor: pointer; transition: var(--trans); white-space: nowrap;
}
.cat-chip:hover { color: var(--red); border-color: var(--red); }
.cat-chip.active { background: var(--red); color: var(--white); border-color: var(--red); }

/* ═══════════════════════════════════════════════════════════
   🎠 CATEGORY CAROUSEL (homepage)
═══════════════════════════════════════════════════════════ */
.cat-carousel-section { padding: 0 0 56px; }

/* Layout: label vertikal kiri + carousel kanan */
.cat-carousel-layout {
  display: flex; align-items: stretch; gap: 0;
}
.cat-vertical-label {
  flex-shrink: 0; width: 52px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  border-right: 1px solid var(--border);
  padding: 24px 0;
}
.cat-vertical-label span {
  font-family: var(--font-display);
  font-size: 1.05rem; letter-spacing: .22em;
  color: var(--black); text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}
.cat-vertical-link {
  font-family: var(--font-body); font-size: .6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--gray); writing-mode: vertical-rl;
  text-orientation: mixed; transform: rotate(180deg);
  transition: color .2s; white-space: nowrap;
}
.cat-vertical-link:hover { color: var(--red); }

.cat-carousel-wrap {
  flex: 1; overflow: hidden; position: relative;
  padding: 8px 0 4px;
  user-select: none;
}
.cat-carousel-track {
  display: flex; gap: 16px; padding: 0 32px;
  width: max-content;
  animation: catScroll 18s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
/* play/pause dikendalikan JS via mouseenter/mouseleave */
@keyframes catScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3)); }
}
.cat-card {
  flex-shrink: 0; width: 200px;
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none;
}
.cat-card__img {
  position: relative; width: 200px; height: 260px;
  border-radius: 14px; overflow: hidden;
  background: var(--paper-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: box-shadow .3s;
}
.cat-card:hover .cat-card__img { box-shadow: 0 10px 32px rgba(0,0,0,.18); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.cat-card:hover .cat-card__img img { transform: scale(1.09); }
.cat-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 55%);
  border-radius: 14px;
}
.cat-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-dark);
}
.cat-card__placeholder svg { width: 44px; height: 44px; color: var(--gray-light); }
.cat-card__label {
  font-family: var(--font-body); font-weight: 800; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--black); text-align: center;
  transition: color .2s;
}
.cat-card:hover .cat-card__label { color: var(--red); }

/* ═══════════════════════════════════════════════════════════
   🛒 CART / CHECKOUT / AUTH
═══════════════════════════════════════════════════════════ */
.page-hero {
  border-bottom: 1px solid var(--border);
  padding: 48px 0; margin-bottom: 40px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: attr(data-wm);
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 7rem;
  color: var(--black); opacity: .04; pointer-events: none; user-select: none;
  white-space: nowrap;
}
.page-hero h1 { font-size: 3.5rem; }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--gray);
  border-bottom: 1.5px solid var(--border); padding: 0 0 12px;
}
.cart-table td { padding: 18px 0; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 16px; }
.cart-product-img {
  width: 72px; height: 90px; object-fit: cover;
  border-radius: var(--radius); background: var(--paper-dark);
  border: 1px solid var(--border); flex-shrink: 0;
}
.qty-control {
  display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.qty-control button { width: 34px; height: 34px; font-size: 1rem; color: var(--dark); transition: background .2s; }
.qty-control button:hover { background: var(--paper-dark); }
.qty-control input {
  width: 44px; text-align: center; height: 34px;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  font-weight: 700; font-size: .9rem;
}

/* Order Summary */
.order-summary {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  position: sticky; top: 80px;
}
.order-summary h3 { font-size: 1.1rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light); }
.summary-row { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 10px; color: var(--gray); }
.summary-row.total {
  font-weight: 800; font-size: 1rem; color: var(--black);
  border-top: 1.5px solid var(--border); padding-top: 12px; margin-top: 6px;
}

/* Checkout grid */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.checkout-section {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px;
}
.checkout-section h3 {
  font-size: 1rem; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

/* Auth card */
.auth-card {
  max-width: 380px; margin: 20px auto;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 28px;
}
.auth-card h2 { font-size: 1.4rem; margin-bottom: 2px; }
.auth-card .sub { color: var(--gray); font-size: .82rem; margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════
   🔍 PRODUCT DETAIL
═══════════════════════════════════════════════════════════ */
.product-detail { display: grid; grid-template-columns: 340px 1fr; gap: 24px; padding: 0 0 24px; align-items: start; }
.product-gallery { width: 340px; max-width: 100%; }
.product-gallery .main-img {
  width: 340px; height: 340px; max-width: 100%;
  background: var(--paper-dark);
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.product-thumbs img {
  width: 70px; height: 88px; object-fit: cover; border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid var(--border-light); transition: var(--trans);
}
.product-thumbs img:hover, .product-thumbs img.active { border-color: var(--black); }

.product-info .cat-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--gray); margin-bottom: 10px;
}
.product-info h1 { font-size: 3rem; margin-bottom: 14px; }
/* Sale price display */
.product-info .price-box { margin: 18px 0; display: flex; align-items: center; gap: 12px; }
.product-info .price-main { font-size: 2rem; font-weight: 800; font-family: var(--font-body); }
.product-info .price-main.is-sale { color: var(--red); }
.product-info .price-orig { font-size: 1rem; color: var(--gray-light); text-decoration: line-through; }
.product-info .price-save {
  display: inline-flex; align-items: center;
  background: var(--red-light); color: var(--red);
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; padding: 3px 10px; border-radius: 3px;
}

.size-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.size-btn {
  padding: 6px 18px; border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); font-size: .82rem; font-weight: 700;
  cursor: pointer; transition: var(--trans); background: var(--white);
}
.size-btn:hover { border-color: var(--black); }
.size-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.stock-badge { font-size: .8rem; font-weight: 700; margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════
   🧩 FEATURES STRIP
═══════════════════════════════════════════════════════════ */
.feature-strip {
  border-top: 3px solid var(--orange); border-bottom: 1px solid var(--border);
  background: var(--white); padding: 28px 0;
}
.feature-item {
  text-align: center; padding: 0 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.feat-icon {
  width: 48px; height: 48px;
  background: var(--orange-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feat-icon svg {
  width: 22px; height: 22px;
  stroke: var(--orange); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feature-item h4 { font-family: var(--font-body); font-size: .88rem; font-weight: 800; color: var(--black); }
.feature-item p  { font-size: .75rem; color: var(--gray); }

/* ═══════════════════════════════════════════════════════════
   📌 MISC
═══════════════════════════════════════════════════════════ */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; display: block; opacity: .3; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p  { color: var(--gray); margin-bottom: 24px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: .75rem;
  color: var(--gray); margin-bottom: 24px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.breadcrumb a { color: var(--gray); transition: color .2s; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb span { color: var(--border); }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .82rem; font-weight: 700; transition: var(--trans); background: var(--white);
}
.pagination a:hover { border-color: var(--black); }
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .active { background: var(--red); color: var(--white); border-color: var(--red); }

/* ═══════════════════════════════════════════════════════════
   🦶 FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--black); color: rgba(255,255,255,.7);
  margin-top: 80px; border-top: 4px solid var(--red);
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px; padding: 64px 0 48px;
}
.footer-brand .logo {
  font-family: var(--font-display); font-size: 2rem; letter-spacing: .06em;
  color: var(--white); margin-bottom: 14px;
}
.footer-brand p { font-size: .82rem; line-height: 1.8; opacity: .55; max-width: 260px; }
.footer-brand .script { font-family: var(--font-script); font-size: 1.2rem; color: rgba(255,255,255,.3); margin-top: 16px; }
.footer-col h4 {
  font-si
/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE — Mobile nav
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-menu        { display: none; }
  .nav-mobile-btn  { display: flex !important; }
  .nav-icon--wish  { display: none; }
  .navbar          { gap: 8px; }
  .container       { padding: 0 12px; }
  .header          { width: 100%; box-sizing: border-box; }

  /* User button — foto profil saja, tanpa teks & border */
  .nav-user-info   { display: none; }
  .nav-user-btn    {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    gap: 0;
  }
  .nav-user-btn:hover {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .nav-user-btn iconify-icon { display: none; } /* sembunyikan chevron */
  .nav-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
}
.06em;
}
.social-links { display: flex; gap: 8px; margin-top: 18px; }
.social-links a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; transition: var(--trans);
  color: rgba(255,255,255,.5);
}
.social-links a:hover { border-color: rgba(255,255,255,.6); color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-text h1 { font-size: 4rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .hero-slide { min-height: 460px; }
  .hero-inner { left: 4%; width: 88%; top: 50%; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-bg::after {
    background: linear-gradient(
      to right,
      rgba(255,255,255,1)   0%,
      rgba(255,255,255,.97) 35%,
      rgba(255,255,255,.70) 60%,
      rgba(255,255,255,.15) 85%,
      rgba(255,255,255,0)   100%
    );
  }
  .grid-2,.grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-page-grid { grid-template-columns: 1fr !important; }
  .product-page-sidebar { display: none; }
  .nav-menu { display: none; }
  .container { padding: 0 18px; }
  .hero-dots-v { display: none; }
}
@media (max-width: 480px) {
  .grid-2,.grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); }
  h1 { font-size: 2rem; }
  .hero-text h1 { font-size: 2.4rem; }
}
