/* ASSAFWA v3.3 */

/* ── Variables ── */
:root {
  --black:   #111111;
  --white:   #ffffff;
  --gray-bg: #f9f8f6;
  --gray-lt: #f2f1ef;
  --gray-bd: #e6e4e0;
  --gray-tx: #6b6963;
  --brown:   #8b6530;
  --gold:    #c9a84c;
  --gold-lt: #f0e4c0;
  --wa:      #25D366;
  --font-h:  'Cormorant Garamond', Georgia, serif;
  --font-b:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:  10px;
  --shadow:  0 2px 16px rgba(0,0,0,.07);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-b); font-size: 1rem; line-height: 1.6; color: var(--black); background: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: var(--font-b); }

/* WC screen-reader-only text (WC styles disabled, re-add hiding) */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ─────────────────── HEADER ─────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gray-bd);
  transition: box-shadow .3s ease, background .3s ease;
  backdrop-filter: blur(8px);
}
#site-header.scrolled { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.08); }

/* Admin bar offset — WP adds html{margin-top:32px} when logged in */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px; max-width: 1280px; margin: 0 auto; padding: 0 40px;
}

.logo-wrap { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.logo-img { height: 54px; width: auto; display: block; }
.logo-name {
  font-family: var(--font-h); font-size: 30px; font-weight: 700;
  letter-spacing: 6px; text-transform: uppercase; color: var(--black); line-height: 1;
}
.logo-sub {
  font-size: 9px; letter-spacing: 3.5px; color: var(--gold);
  text-transform: uppercase; font-weight: 400; font-family: var(--font-b);
}

.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
  font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
  color: var(--black); position: relative; padding-bottom: 4px;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.main-nav a:hover::after { width: 100%; }

/* Dropdown — bridge trick prevents gap from closing it */
.has-dropdown { position: relative; }
.has-dropdown::after {
  content: ''; position: absolute;
  bottom: -10px; left: -12px; right: -12px; height: 10px;
}
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 210px; background: #fff; border: 1px solid var(--gray-bd);
  border-top: 3px solid var(--gold);
  padding: 6px 0; opacity: 0; visibility: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.12); z-index: 100;
  transition: opacity .2s, visibility 0s .2s, top .2s;
  border-radius: 0 0 var(--radius) var(--radius);
}
.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible; top: calc(100% + 10px);
  transition: opacity .2s, visibility 0s 0s, top .2s;
}
.dropdown li a {
  display: block; padding: 12px 20px;
  font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0;
  color: var(--black); transition: color .15s, background .15s;
}
.dropdown li a::after { display: none; }
.dropdown li a:hover { color: var(--gold); background: var(--gray-bg); padding-left: 24px; }

.header-right { display: flex; align-items: center; gap: 16px; }
.nav-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; color: var(--black);
  transition: color .2s, background .2s; position: relative;
  border-radius: 50%;
}
.nav-icon:hover { color: var(--gold); background: var(--gray-bg); }
.nav-icon svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: 1px; right: 1px;
  background: var(--gold); color: var(--black);
  font-size: 10px; font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-btn span { width: 24px; height: 2px; background: var(--black); display: block; border-radius: 2px; }

/* ─────────────────── HERO SLIDESHOW ─────────────────── */
#hero,
.hero-slideshow {
  position: relative;
  height: 100vh; min-height: 640px;
  margin-top: 0;
  overflow: hidden; background: #111;
}

/* Track wraps all slides */
.hs-track {
  position: absolute; inset: 0;
}

/* Each slide */
.hs-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  display: flex; align-items: center; justify-content: center;
  padding-top: 82px; /* shift content center below fixed header */
  pointer-events: none;
}
.hs-slide.hs-active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide background image */
.hs-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  opacity: .5;
  transform: scale(1.04);
  transition: transform 8s ease-out, opacity .9s ease;
}
.hs-slide.hs-active .hs-img {
  transform: scale(1);
}

/* Gradient overlay */
.hs-dim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.52);
}

/* ── Navigation Arrows ── */
.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 48px; height: 48px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .2s;
}
.hs-arrow:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) scale(1.08); }
.hs-prev { left: 28px; }
.hs-next { right: 28px; }

/* ── Dots ── */
.hs-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px; align-items: center;
}
.hs-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: background .2s, width .3s, border-radius .3s;
  padding: 0;
}
.hs-dot--active {
  width: 24px; border-radius: 4px;
  background: #fff;
}

/* Hero body — centered */
.hero-body {
  position: relative; z-index: 2;
  width: 100%; max-width: 680px;
  padding: 0 clamp(20px, 5vw, 48px);
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-b); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}

.hero-body h1 {
  font-family: var(--font-h); font-size: clamp(44px, 6vw, 76px);
  font-weight: 600; color: #fff; line-height: 1.0; margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero-body h1 em {
  font-style: italic; font-weight: 300; color: var(--gold);
  display: block;
}

.hero-sub {
  font-family: var(--font-b); font-size: 16px;
  color: rgba(255,255,255,.7); margin-bottom: 36px;
  font-weight: 400; line-height: 1.7;
  max-width: 520px; margin-left: auto; margin-right: auto;
}

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn-shop {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 40px;
  background: #fff; color: var(--black);
  font-family: var(--font-b); font-size: 14px; font-weight: 700;
  letter-spacing: .5px; border-radius: var(--radius);
  transition: background .25s, transform .15s;
}
.btn-shop:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}


/* ─────────────────── SHARED SECTION ─────────────────── */
.section-pad { padding: 80px 0; }

.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px; flex-wrap: wrap; gap: 12px;
}
.section-head h2 { font-family: var(--font-h); font-size: 36px; font-weight: 600; letter-spacing: -.5px; }

.view-all {
  font-size: 13px; font-weight: 500;
  color: var(--black); border: 1.5px solid var(--gray-bd); padding: 9px 22px;
  border-radius: 100px; transition: background .2s, border-color .2s, color .2s; white-space: nowrap;
}
.view-all:hover { background: var(--black); border-color: var(--black); color: #fff; }

/* ─────────────────── CATEGORIES ─────────────────── */
#categories { padding: 80px 0; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  display: block; position: relative; overflow: hidden;
  border-radius: 4px; background: #111; text-decoration: none;
}

/* Padding-top ratio trick — works in ALL browsers */
.cat-card::before {
  content: ''; display: block; padding-top: 133.33%; /* 4:3 ratio */
}

.cat-card img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .82;
  transition: transform .5s ease, opacity .4s;
}
.cat-card:hover img { transform: scale(1.06); opacity: .65; }

.cat-dim {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.75) 100%);
}

.cat-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px; }
.cat-info h3 { font-family: var(--font-h); font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 4px; line-height: 1.2; }
.cat-info span { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: 1px; text-transform: uppercase; }

/* ─────────────────── PRODUCTS ─────────────────── */
#products { padding: 80px 0; background: var(--gray-bg); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.prod-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-bd);
  display: flex; flex-direction: column;
  transition: box-shadow .3s, transform .3s;
}
.prod-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-4px); }

.prod-img {
  position: relative; overflow: hidden; background: var(--gray-lt);
}

/* Padding-top ratio trick for 3:4 portrait */
.prod-img::before {
  content: ''; display: block; padding-top: 133.33%;
}

.prod-img a {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: block;
}

.prod-img img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.04); }

.prod-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--black); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 9px;
}
.prod-badge.sale { background: #c0392b; }
.prod-badge.baru { background: var(--gold); color: var(--black); }

.prod-img {
  position: relative; overflow: hidden; background: var(--gray-lt);
  display: block; text-decoration: none;
}
.prod-img::before { content: ''; display: block; padding-top: 125%; }
.prod-img img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform .5s;
}
.prod-card:hover .prod-img img { transform: scale(1.04); }

.prod-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 16px 18px 20px; gap: 0;
}
.prod-cat { font-size: 11px; font-weight: 600; letter-spacing: .8px; color: var(--gray-tx); text-transform: uppercase; margin-bottom: 4px; }
.prod-name { font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 8px; line-height: 1.3; flex: 1; }
.prod-name a { color: inherit; }
.prod-name a:hover { color: var(--brown); }
.prod-price { font-size: 18px; font-weight: 800; color: var(--black); margin-bottom: 14px; }
.prod-price del { font-size: 13px; color: var(--gray-tx); font-weight: 400; margin-left: 6px; text-decoration: line-through; }
.prod-action { margin-top: auto; }
.prod-view-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 48px;
  background: var(--black); color: #fff;
  border-radius: 8px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: background .2s, transform .1s;
}
.prod-view-btn:hover { background: #333; transform: translateY(-1px); }

.prod-sizes { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; }
.sz {
  width: 30px; height: 30px; border: 1px solid var(--gray-bd);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--gray-tx); border-radius: 2px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.sz:hover { border-color: var(--black); color: var(--black); }

/* ─────────────────── CAT PRODUCTS SECTION (dark) ─────────────────── */
.cat-products-section {
  padding: 40px 0 64px;
  background: #111;
}
.cat-products-section .prod-card {
  background: #1c1c1c; border-color: rgba(255,255,255,.08);
}
.cat-products-section .prod-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.5); }
.cat-products-section .prod-name { color: #f0ede8; }
.cat-products-section .prod-name a:hover { color: var(--gold); }
.cat-products-section .prod-cat { color: rgba(255,255,255,.4); }
.cat-products-section .prod-price { color: var(--gold); }
.cat-products-section .prod-view-btn {
  background: rgba(255,255,255,.08); color: #f0ede8;
  border: 1.5px solid rgba(255,255,255,.15);
}
.cat-products-section .prod-view-btn:hover { background: #fff; color: var(--black); }
.cat-products-section .view-all {
  color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2);
  font-size: 14px; font-weight: 600;
}
.cat-products-section .view-all:hover { background: #fff; border-color: #fff; color: #111; }

/* ─────────────────── PROMO STRIP ─────────────────── */
/* ─────────────────── CATEGORY FEATURE SECTIONS (dark) ─────────────────── */
.cat-feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.cat-feature-section.cat-feature--reversed { direction: rtl; }
.cat-feature-section.cat-feature--reversed > * { direction: ltr; }

.cat-feature-img {
  position: relative; overflow: hidden; background: #111;
}
.cat-feature-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease; opacity: .85;
}
.cat-feature-section:hover .cat-feature-img img { transform: scale(1.04); opacity: .92; }

.cat-feature-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 72px;
  background: #111;
}
.cat-feature-section:nth-child(even) .cat-feature-body { background: #161616; }

.cat-feature-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; display: block;
}
.cat-feature-title {
  font-family: var(--font-h); font-size: clamp(26px, 3vw, 40px);
  font-weight: 600; color: #fff; line-height: 1.15;
  margin-bottom: 18px; letter-spacing: -.3px;
}
.cat-feature-text {
  font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.6);
  margin-bottom: 28px; max-width: 480px;
}
.cat-feature-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px; background: #fff; color: #111;
  font-size: 15px; font-weight: 700; letter-spacing: .3px;
  border-radius: var(--radius); text-decoration: none;
  transition: background .2s, transform .15s;
  align-self: flex-start; margin-bottom: 0;
}
.cat-feature-btn:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* cat thumbs removed */

/* Responsive category sections */
@media (max-width: 900px) {
  .cat-feature-section { grid-template-columns: 1fr; min-height: auto; }
  .cat-feature-section.cat-feature--reversed { direction: ltr; }
  .cat-feature-img { height: 300px; order: -1; }
  .cat-feature-body { padding: 40px 28px; }
  .cat-feature-text { max-width: 100%; }
}
@media (max-width: 480px) {
  .cat-feature-img { height: 240px; }
  .cat-feature-body { padding: 32px 20px; }
  .cat-feature-title { font-size: 24px; }
}

#promo-strip { background: var(--black); padding: 56px 0; text-align: center; }
#promo-strip h2 { font-family: var(--font-h); font-size: 36px; font-weight: 600; color: #fff; margin-bottom: 10px; }
#promo-strip h2 em { color: var(--gold); font-style: italic; }
#promo-strip p { color: rgba(255,255,255,.5); font-size: 14px; margin-bottom: 28px; }

.btn-gold {
  display: inline-block; padding: 13px 36px;
  background: var(--gold); color: var(--black);
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  transition: background .25s;
}
.btn-gold:hover { background: #b8962e; }

/* ─────────────────── TRUST BAR ─────────────────── */
#trust { border-top: 1px solid var(--gray-bd); border-bottom: 1px solid var(--gray-bd); padding: 18px 0; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; color: var(--black); white-space: nowrap; }
.trust-item svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ─────────────────── FOOTER ─────────────────── */
#site-footer { background: #222; }
.footer-main { padding: 56px 0 40px; }

.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }

.footer-about .logo-name { color: #fff; font-size: 18px; }
.footer-about .logo-sub { display: block; margin-bottom: 14px; }
.footer-about p { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; margin-bottom: 20px; font-weight: 300; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); transition: border-color .25s, color .25s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.socials svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,.35); text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 300; transition: color .2s; }
.footer-col a:hover { color: #fff; }

.footer-bot { border-top: 1px solid rgba(255,255,255,.07); padding: 16px 0; }
.footer-bot-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bot p { font-size: 12px; color: rgba(255,255,255,.28); }

.footer-pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-chip { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.12); padding: 3px 8px; border-radius: 3px; }

/* ─────────────────── MOBILE MENU ─────────────────── */
.mob-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); z-index: 400; }
.mob-overlay.open { display: block; }

#mob-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: 270px;
  background: #fff; z-index: 401; padding: 20px 0;
  transform: translateX(-100%); transition: transform .35s ease; overflow-y: auto;
}
#mob-nav.open { transform: translateX(0); }

.mob-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px 18px; border-bottom: 1px solid var(--gray-bd); margin-bottom: 8px;
}
.mob-close { font-size: 24px; color: var(--gray-tx); cursor: pointer; line-height: 1; }
#mob-nav a { display: block; padding: 12px 20px; font-size: 14px; color: var(--black); border-bottom: 1px solid var(--gray-lt); }
#mob-nav a:hover { color: var(--gold); }

/* ─────────────────── BACK TO TOP ─────────────────── */
#btt {
  position: fixed; bottom: 28px; right: 28px; width: 40px; height: 40px;
  background: var(--black); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .25s;
  z-index: 99; cursor: pointer; border: none;
}
#btt.show { opacity: 1; visibility: visible; }
#btt:hover { background: var(--gold); color: var(--black); }
#btt svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ─────────────────── WOO SHOP PAGE ─────────────────── */
.woo-wrap { max-width: 1200px; margin: 96px auto 0; padding: 40px 24px; }
.woo-wrap .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 20px !important; }
.woo-wrap .woocommerce ul.products li.product { margin: 0 !important; float: none !important; width: auto !important; }

/* ─────────────────── RESPONSIVE ─────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-body { padding: 0 40px; }
  .hero-body h1 { font-size: 42px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-btn { display: flex; }
  .header-inner { padding: 0 16px; height: 68px; }
  .logo-img { height: 44px; }
  .logo-name { font-size: 24px; letter-spacing: 4px; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 24px; }
  .section-head h2 { font-size: 26px; }
  .view-all { font-size: 12px; padding: 8px 16px; }

  #hero, .hero-slideshow { min-height: 520px; }
  .hs-slide { padding-top: 68px; } /* mobile header is 68px */
  .hero-body { padding: 0 20px; }
  .hero-body h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-actions { gap: 10px; }
  .hs-arrow { display: none; }
  .btn-shop { padding: 13px 28px; font-size: 13px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-info { padding: 12px 12px 14px; }
  .prod-name { font-size: 14px; }
  .prod-price { font-size: 16px; }
  .prod-view-btn { height: 40px; font-size: 12px; }

  /* WC shop grid on mobile */
  .shop-grid ul.shop-products, .shop-products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .wc-prod-body { padding: 12px 12px 14px; }
  .wc-prod-name { font-size: 13px; }
  .wc-atc-btn { height: 40px; font-size: 12px; border-radius: 6px; }

  .trust-row { padding: 0 16px; gap: 14px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bot-inner { flex-direction: column; align-items: flex-start; }
  #promo-strip { padding: 48px 0; }
  #promo-strip h2 { font-size: 24px; }
  .woo-wrap .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
  .prod-grid { gap: 8px; }
  .cat-grid { gap: 8px; }
  .hero-body h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-shop { width: 100%; max-width: 280px; }
  .footer-cols { grid-template-columns: 1fr; }
  .trust-row { flex-direction: column; gap: 12px; }
}

/* ═══════════════════════════════════════════════
   SHOP / ARCHIVE PAGE
   ═══════════════════════════════════════════════ */
.shop-wrap { padding-top: 76px; }

.shop-hero {
  background: var(--black);
  padding: 48px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.shop-hero .woocommerce-breadcrumb { color: rgba(255,255,255,.4); font-size: 12px; margin-bottom: 14px; }
.shop-hero .woocommerce-breadcrumb a { color: var(--gold); }
.shop-hero .woocommerce-breadcrumb a:hover { text-decoration: underline; }
.shop-title { font-family: var(--font-h); font-size: 32px; color: #fff; font-weight: 600; }
.shop-desc  { color: rgba(255,255,255,.5); font-size: 14px; margin-top: 8px; }

.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0 20px; flex-wrap: wrap; gap: 14px;
  border-bottom: 1px solid var(--gray-bd); margin-bottom: 32px;
}

.shop-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-chip {
  padding: 7px 16px; border: 1px solid var(--gray-bd);
  font-size: 12px; font-weight: 500; border-radius: 100px;
  color: var(--gray-tx); transition: all .25s; white-space: nowrap;
}
.cat-chip:hover, .cat-chip.active {
  background: var(--black); border-color: var(--black); color: #fff;
}

.shop-sort { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.shop-count { font-size: 13px; color: var(--gray-tx); white-space: nowrap; }

/* WooCommerce sort select */
.woocommerce-ordering select {
  border: 1px solid var(--gray-bd); padding: 8px 12px;
  font-size: 13px; font-family: var(--font-b);
  background: #fff; border-radius: 3px; color: var(--black);
  cursor: pointer;
}

/* Product grid in shop page */
.shop-grid ul.shop-products,
.shop-products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important; margin: 0 !important;
}

/* ── WC Product Card ── */
li.wc-prod-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-bd);
  display: flex; flex-direction: column;
  transition: box-shadow .3s, transform .3s;
  list-style: none;
}
li.wc-prod-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }

/* Image area */
.wc-prod-img {
  position: relative; overflow: hidden; background: var(--gray-lt);
  display: block; text-decoration: none;
}
.wc-prod-img::before { content: ''; display: block; padding-top: 125%; }
.wc-prod-img img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform .5s;
}
li.wc-prod-card:hover .wc-prod-img img { transform: scale(1.04); }

/* Body */
.wc-prod-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 16px 18px 18px; gap: 4px;
}
.wc-prod-cat {
  font-size: 11px; font-weight: 500; letter-spacing: .8px;
  text-transform: uppercase; color: var(--gray-tx); margin-bottom: 2px;
}
.wc-prod-name {
  font-size: 15px; font-weight: 600; line-height: 1.35;
  color: var(--black); flex: 1; margin-bottom: 6px;
}
.wc-prod-name a { color: inherit; }
.wc-prod-name a:hover { color: var(--brown); }
.wc-prod-price { margin-bottom: 14px; }
.wc-prod-price .woocommerce-Price-amount { font-size: 16px; font-weight: 700; color: var(--black); }
.wc-prod-price del { margin-right: 4px; }
.wc-prod-price del .woocommerce-Price-amount { font-size: 13px; font-weight: 400; color: var(--gray-tx); }
.wc-prod-price ins { text-decoration: none; }

/* Action button */
.wc-prod-action { margin-top: auto; }

.wc-atc-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 12px 16px;
  background: var(--black); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  border-radius: 8px; border: none; cursor: pointer;
  text-decoration: none; text-align: center;
  transition: background .2s, box-shadow .2s;
  font-family: var(--font-b);
}
.wc-atc-btn:hover { background: #333; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.wc-atc-btn.loading {
  opacity: .7; pointer-events: none; cursor: wait;
  position: relative; overflow: hidden;
}
.wc-atc-btn.loading::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.15) 50%, transparent 100%);
  animation: atc-shimmer .8s infinite;
}
@keyframes atc-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Suppress WC default notices on shop/cart (replaced by our popup) */
.woocommerce-message[class*="added"] { display: none !important; }
.wc-btn-oos {
  background: var(--gray-lt) !important; color: var(--gray-tx) !important;
  cursor: not-allowed !important; box-shadow: none !important;
}
.wc-btn-variant {
  background: #fff !important; color: var(--black) !important;
  border: 1.5px solid var(--gray-bd) !important;
}
.wc-btn-variant:hover { border-color: var(--black) !important; background: var(--gray-bg) !important; box-shadow: none !important; }

/* Pagination */
.woocommerce-pagination { margin-top: 48px; text-align: center; padding-bottom: 64px; }
.woocommerce-pagination ul { display: inline-flex; gap: 6px; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--gray-bd);
  font-size: 13px; font-weight: 500; color: var(--black);
  transition: all .25s; border-radius: 3px;
}
.woocommerce-pagination ul li .current,
.woocommerce-pagination ul li a:hover {
  background: var(--black); border-color: var(--black); color: #fff;
}

/* ═══════════════════════════════════════════════
   WOO WRAPPER (Cart / Checkout / My Account)
   ═══════════════════════════════════════════════ */
.woo-page-wrap { padding-top: 88px; padding-bottom: 80px; }

.woo-page-wrap .woocommerce-breadcrumb { font-size: 12px; color: var(--gray-tx); margin-bottom: 24px; }
.woo-page-wrap .woocommerce-breadcrumb a { color: var(--black); }

/* Cart & Checkout base */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
  background: var(--black) !important; color: var(--gold) !important;
  font-weight: 700 !important; letter-spacing: 1.5px !important;
  text-transform: uppercase !important; font-size: 13px !important;
  padding: 16px 36px !important; border-radius: 3px !important;
  transition: background .25s, color .25s !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
  background: var(--gold) !important; color: var(--black) !important;
}

.woocommerce input[type=text],
.woocommerce input[type=email],
.woocommerce input[type=tel],
.woocommerce input[type=password],
.woocommerce textarea,
.woocommerce select {
  border: 1px solid var(--gray-bd) !important; padding: 10px 14px !important;
  font-size: 14px !important; border-radius: 3px !important;
  font-family: var(--font-b) !important; width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color .25s !important;
}
.woocommerce input[type=text]:focus,
.woocommerce input[type=email]:focus {
  border-color: var(--black) !important; outline: none !important;
}

.woocommerce button.button {
  background: var(--black) !important; color: #fff !important;
  font-family: var(--font-b) !important; font-size: 13px !important;
  font-weight: 600 !important; padding: 12px 24px !important;
  border-radius: 3px !important; transition: background .25s !important;
}
.woocommerce button.button:hover { background: #333 !important; }

/* ═══════════════════════════════════════════════
   TENTANG KAMI
   ═══════════════════════════════════════════════ */
.page-label {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}

.about-hero {
  position: relative; padding: 100px 0 64px; background: var(--black);
  overflow: hidden; margin-top: 68px;
}
.about-hero-img {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1542060748-10c28b62716f?w=1800&q=80') center/cover;
  opacity: .2;
}
.about-hero-dim { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.6); }
.about-hero-body { position: relative; z-index: 1; max-width: 600px; }
.about-hero-body h1 { font-family: var(--font-h); font-size: clamp(28px,4vw,44px); font-weight: 600; color: #fff; margin-bottom: 12px; }
.about-hero-body h1 em { color: var(--gold); font-style: italic; }
.about-hero-body p { color: rgba(255,255,255,.6); font-size: 16px; }

.about-story { padding: 80px 0; }
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-story-img { border-radius: 6px; overflow: hidden; }
.about-story-img img { width: 100%; height: 500px; object-fit: cover; display: block; }
.about-story-text h2 { font-family: var(--font-h); font-size: clamp(24px,3vw,36px); font-weight: 600; margin-bottom: 20px; }
.about-story-text h2 em { color: var(--gold); font-style: italic; }
.about-story-text p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 16px; }

.about-values { padding: 80px 0; background: var(--gray-bg); }
.about-values-head { text-align: center; margin-bottom: 48px; }
.about-values-head h2 { font-family: var(--font-h); font-size: 32px; font-weight: 600; margin-top: 8px; }
.about-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.about-value-card { background: #fff; padding: 36px 24px; border-radius: 6px; text-align: center; border: 1px solid var(--gray-bd); transition: box-shadow .3s, transform .3s; }
.about-value-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-4px); }
.about-value-icon { width: 56px; height: 56px; background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.about-value-icon svg { width: 22px; height: 22px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.about-value-card h3 { font-family: var(--font-h); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.about-value-card p { font-size: 14px; color: var(--gray-tx); line-height: 1.65; }

.about-stats { background: var(--black); padding: 64px 0; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.about-stat { text-align: center; padding: 32px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; }
.about-stat-num { display: block; font-family: var(--font-h); font-size: 42px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.about-stat-label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.45); }

.about-cta { background: var(--gray-bg); padding: 80px 0; text-align: center; }
.about-cta h2 { font-family: var(--font-h); font-size: clamp(24px,3vw,38px); font-weight: 600; margin-bottom: 12px; }
.about-cta h2 em { color: var(--gold); font-style: italic; }
.about-cta p { color: var(--gray-tx); font-size: 15px; margin-bottom: 28px; }

/* ═══════════════════════════════════════════════
   KONTAK
   ═══════════════════════════════════════════════ */
.contact-wrap { padding-top: 88px; padding-bottom: 80px; }
.contact-header { text-align: center; max-width: 540px; margin: 0 auto 56px; }
.contact-header h1 { font-family: var(--font-h); font-size: clamp(26px,3.5vw,40px); font-weight: 600; margin-bottom: 10px; }
.contact-header h1 em { color: var(--gold); font-style: italic; }
.contact-header p { color: var(--gray-tx); font-size: 15px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }

.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 20px; border: 1px solid var(--gray-bd); border-radius: 6px;
  margin-bottom: 14px; transition: border-color .25s, box-shadow .25s;
  text-decoration: none;
}
.contact-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.contact-icon { width: 44px; height: 44px; background: rgba(201,168,76,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 3px; }
.contact-card p  { font-size: 13px; color: var(--gray-tx); }

.contact-hours { background: var(--gray-bg); padding: 20px; border-radius: 6px; margin-top: 8px; }
.contact-hours h3 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.contact-hours table { width: 100%; border-collapse: collapse; }
.contact-hours td { padding: 6px 0; font-size: 13px; color: #555; }
.contact-hours td:last-child { text-align: right; font-weight: 500; }

.contact-form-wrap h2 { font-family: var(--font-h); font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.contact-success { background: #f0fff4; border: 1px solid #38a169; color: #276749; padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--black); }
.form-group input,
.form-group textarea {
  border: 1px solid var(--gray-bd); padding: 11px 14px;
  font-size: 14px; font-family: var(--font-b); border-radius: 3px;
  transition: border-color .25s; color: var(--black);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--black); outline: none; }
.form-group textarea { resize: vertical; }

/* ═══════════════════════════════════════════════
   PROMO PAGE
   ═══════════════════════════════════════════════ */
.promo-page-wrap { padding-top: 68px; }
.promo-page-hero {
  background: var(--black); padding: 64px 0;
  border-bottom: 1px solid rgba(255,255,255,.07); text-align: center;
}
.promo-page-hero h1 { font-family: var(--font-h); font-size: clamp(28px,4vw,48px); color: #fff; font-weight: 600; margin-bottom: 10px; }
.promo-page-hero h1 em { color: var(--gold); font-style: italic; }
.promo-page-hero p { color: rgba(255,255,255,.5); font-size: 15px; }

.promo-section { padding: 56px 0; }

.promo-newsletter {
  background: var(--gray-bg); border-radius: 8px;
  padding: 48px 40px; text-align: center; margin-bottom: 64px;
  border: 1px solid var(--gray-bd);
}
.promo-newsletter h3 { font-family: var(--font-h); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.promo-newsletter p { color: var(--gray-tx); font-size: 14px; margin-bottom: 24px; }
.newsletter-form-promo { display: flex; max-width: 420px; margin: 0 auto; gap: 0; border: 1px solid var(--gray-bd); border-radius: 3px; overflow: hidden; }
.newsletter-form-promo input { flex: 1; border: none; padding: 12px 16px; font-size: 14px; font-family: var(--font-b); outline: none; }
.newsletter-form-promo button { white-space: nowrap; }

/* ═══════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════ */
.error-404-wrap { padding-top: 88px; padding-bottom: 80px; }
.error-404-body { text-align: center; max-width: 520px; margin: 0 auto; padding: 60px 0; }
.error-404-num { font-family: var(--font-h); font-size: 120px; font-weight: 700; color: var(--gray-lt); line-height: 1; margin-bottom: 16px; }
.error-404-body h1 { font-family: var(--font-h); font-size: 28px; font-weight: 600; margin-bottom: 14px; }
.error-404-body p  { color: var(--gray-tx); font-size: 15px; line-height: 1.7; margin-bottom: 36px; }
.error-404-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════
   RESPONSIVE ADDITIONS
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .shop-grid ul.shop-products, .shop-products { grid-template-columns: repeat(3, 1fr) !important; }
  .sp-main { grid-template-columns: 1fr; gap: 40px; }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .about-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-story-img img { height: 360px; }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .shop-grid ul.shop-products, .shop-products { grid-template-columns: repeat(2, 1fr) !important; }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .shop-grid ul.shop-products, .shop-products { grid-template-columns: repeat(2, 1fr) !important; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-related-grid { grid-template-columns: 1fr 1fr; }
  .promo-newsletter { padding: 32px 20px; }
  .newsletter-form-promo { flex-direction: column; }
}

/* ═══════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ═══════════════════════════════════════════════ */

/* Page wrapper */
.sp-page {
  padding-top: 104px;
  padding-bottom: 96px;
}

.sp-page .woocommerce-breadcrumb {
  display: none; /* Sembunyikan breadcrumb pada halaman produk */
}

/* ── Two-column main layout ── */
.sp-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}

/* ── Gallery (left col) ── */
.sp-gallery { position: sticky; top: 88px; }

.sp-main-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-lt);
  width: 100%;
}
.sp-main-img::before {
  content: '';
  display: block;
  padding-top: 120%; /* portrait ratio */
}
.sp-main-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.sp-main-img:hover img { transform: scale(1.03); }

.sp-sale-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: #c0392b; color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px;
  z-index: 1;
}

/* Thumbnail strip */
.sp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.sp-thumb {
  width: 72px; height: 72px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
  flex-shrink: 0;
}
.sp-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.sp-thumb-active,
.sp-thumb:hover { border-color: var(--gold); }

/* ── Product info (right col) ── */
.sp-info {}

.sp-breadcat {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.sp-breadcat a { color: var(--gold); }
.sp-breadcat a:hover { text-decoration: underline; }

.sp-title {
  font-family: var(--font-h);
  font-size: 38px; font-weight: 600;
  color: var(--black); line-height: 1.15;
  margin-bottom: 16px; letter-spacing: -.3px;
}

/* Price */
.sp-price-row {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-bd);
}
.sp-price-row .woocommerce-Price-amount {
  font-size: 28px; font-weight: 700; color: var(--black);
}
.sp-price-row ins {
  text-decoration: none;
}
.sp-price-row ins .woocommerce-Price-amount {
  font-size: 28px; font-weight: 700; color: var(--black);
}
.sp-price-row del .woocommerce-Price-amount {
  font-size: 18px; font-weight: 400; color: var(--gray-tx);
}
.sp-price-row del { margin-right: 8px; }

/* Short description */
.sp-short-desc {
  font-size: 15px; color: #555; line-height: 1.75;
  margin-bottom: 24px;
}
.sp-short-desc p { margin-bottom: 8px; }

/* ── Or label (marketplace separator) ── */
.sp-or-label {
  text-align: center; position: relative; margin: 8px 0 16px;
  font-size: 12px; color: var(--gray-tx);
}
.sp-or-label::before, .sp-or-label::after {
  content: ''; position: absolute; top: 50%;
  width: 34%; height: 1px; background: var(--gray-bd);
}
.sp-or-label::before { left: 0; }
.sp-or-label::after  { right: 0; }

/* ── Variation Swatches (size + color) ── */
.sp-var-swatches {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 4px;
}

/* ── Size Swatches ── */
.sp-var-swatches--size .sp-sw {
  min-width: 48px; height: 44px; padding: 0 14px;
  border: 1.5px solid var(--gray-bd);
  border-radius: 8px;
  background: #fff; color: var(--black);
  font-family: var(--font-b); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: border-color .18s, background .18s, color .18s;
  display: flex; align-items: center; justify-content: center;
}
.sp-var-swatches--size .sp-sw:hover {
  border-color: var(--black);
}
.sp-var-swatches--size .sp-sw.sp-sw--active {
  background: var(--black); color: #fff; border-color: var(--black);
}
.sp-var-swatches--size .sp-sw:disabled {
  opacity: .35; cursor: not-allowed; text-decoration: line-through;
}

/* ── Color Swatches ── */
.sp-var-swatches--color .sp-sw {
  height: 40px; padding: 0 14px;
  border: 1.5px solid var(--gray-bd);
  border-radius: 100px;
  background: #fff; color: var(--black);
  font-family: var(--font-b); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: border-color .18s, background .18s, color .18s;
  display: flex; align-items: center; gap: 7px;
}
.sp-var-swatches--color .sp-sw:hover {
  border-color: var(--black);
}
.sp-var-swatches--color .sp-sw.sp-sw--active {
  background: var(--black); color: #fff; border-color: var(--black);
}
.sp-sw-dot {
  width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0;
}
.sp-sw--active .sp-sw-dot { border-color: rgba(255,255,255,.35) !important; }

/* ════════════════════════════════════════
   VARIATIONS TABLE (Ukuran / Warna)
   ════════════════════════════════════════ */

/* Force stacked/block layout — override native table display */
.sp-cart-wrap .variations,
.sp-cart-wrap .variations tbody,
.sp-cart-wrap .variations tr,
.sp-cart-wrap .variations td {
  display: block !important;
  width: 100% !important;
}
.sp-cart-wrap .variations {
  margin-bottom: 4px;
}
/* Label row: attribute name (UKURAN / WARNA) */
.sp-cart-wrap .variations .label {
  padding: 20px 0 8px !important;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--gray-tx); text-transform: uppercase;
}
.sp-cart-wrap .variations .label label { display: block; }
/* Value row: swatches */
.sp-cart-wrap .variations .value {
  padding-bottom: 4px !important;
}
/* Hide native select (replaced by JS swatches) */
.sp-cart-wrap .variations select { display: none !important; }
.sp-cart-wrap .reset_variations {
  display: inline-block; margin-top: 10px;
  font-size: 11px; color: var(--gray-tx); text-decoration: underline;
}

/* ════════════════════════════════════════
   ADD TO CART FORM LAYOUT
   ════════════════════════════════════════ */
.sp-cart-wrap { margin-bottom: 20px; }

/* Simple product form: qty + button side by side */
.sp-cart-wrap .cart:not(.variations_form) {
  display: flex; align-items: stretch; gap: 10px;
}

/* Variable product form: everything stacked */
.sp-cart-wrap form.variations_form,
.sp-cart-wrap form.variations_form.cart {
  display: block !important;
}

/* Variable: variation info (price/description) */
.sp-cart-wrap .single_variation_wrap { margin-top: 16px; }
.sp-cart-wrap .woocommerce-variation-price { margin-bottom: 12px; }

/* Variable: qty + button row */
.sp-cart-wrap .woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
}
.sp-cart-wrap .woocommerce-variation-add-to-cart .quantity,
.sp-cart-wrap .cart:not(.variations_form) .quantity {
  flex-shrink: 0;
}

/* ── Qty input with +/- buttons ── */
.sp-cart-wrap .quantity {
  display: flex; align-items: center; height: 54px;
  border: 1.5px solid var(--gray-bd); border-radius: var(--radius);
  overflow: hidden;
}
.sp-qty-btn {
  width: 42px; height: 100%; flex-shrink: 0;
  border: none; background: var(--gray-lt);
  font-size: 20px; font-weight: 300; color: var(--black);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s; user-select: none;
}
.sp-qty-btn:hover { background: var(--gray-bd); }
.sp-cart-wrap .qty {
  width: 52px; height: 100%;
  border: none;
  border-left: 1.5px solid var(--gray-bd);
  border-right: 1.5px solid var(--gray-bd);
  text-align: center; font-size: 16px; font-weight: 600;
  font-family: var(--font-b); color: var(--black);
  background: #fff; -moz-appearance: textfield;
}
.sp-cart-wrap .qty::-webkit-inner-spin-button,
.sp-cart-wrap .qty::-webkit-outer-spin-button { appearance: none; }
.sp-cart-wrap .qty:focus { outline: none; }

/* ── Add to Cart button ── */
.sp-cart-wrap .single_add_to_cart_button,
.sp-cart-wrap button.button.alt,
.sp-cart-wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex: 1;
  height: 54px !important;
  background: var(--black) !important; color: #fff !important;
  border: none !important; border-radius: var(--radius) !important;
  font-family: var(--font-b) !important;
  font-size: 15px !important; font-weight: 600 !important;
  letter-spacing: .3px !important; cursor: pointer !important;
  transition: background .2s !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  padding: 0 24px !important; white-space: nowrap;
}
.sp-cart-wrap .single_add_to_cart_button:hover,
.sp-cart-wrap button.button.alt:hover {
  background: #333 !important;
}

/* ── Marketplace buttons ── */
.sp-marketplace { margin-bottom: 20px; }
.sp-marketplace-btns { display: flex; gap: 10px; }
.sp-market-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  height: 54px; border-radius: 8px; padding: 0 16px;
  font-size: 14px; font-weight: 700; letter-spacing: .2px;
  text-decoration: none; transition: opacity .2s, transform .15s;
  white-space: nowrap; min-width: 0;
}
.sp-market-btn:hover { opacity: .88; transform: translateY(-1px); }
.sp-market-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.sp-market-btn span { overflow: hidden; text-overflow: ellipsis; }

.sp-shopee-btn {
  background: #EE4D2D; color: #fff !important;
}
.sp-shopee-btn:hover { background: #d63d20; }

.sp-tiktok-btn {
  background: #010101; color: #fff !important;
}
.sp-tiktok-btn:hover { background: #222; }

/* Stock + SKU */
.sp-stock-meta {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 20px;
  font-size: 13px;
}
.sp-stock-info {
  display: flex; align-items: center; gap: 6px;
  color: #27ae60; font-weight: 500;
}
.sp-stock-info.out { color: #c0392b; }
.sp-stock-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}
.sp-sku { color: var(--gray-tx); }

/* Trust strip */
.sp-trust-strip {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid var(--gray-bd);
  margin-bottom: 20px;
}
.sp-trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; color: #555;
}
.sp-trust-item svg {
  width: 14px; height: 14px; flex-shrink: 0;
  fill: none; stroke: var(--gold);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* Share */
.sp-share {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--gray-tx); font-weight: 500;
}
.sp-share a {
  width: 32px; height: 32px; border: 1px solid var(--gray-bd);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--black);
  transition: border-color .2s, color .2s;
}
.sp-share a:hover { border-color: var(--gold); color: var(--gold); }
.sp-share svg { width: 14px; height: 14px; }

/* ── Tabs ── */
/* ═══════════════════════════════════════════════
   TABS — DESKRIPSI & ULASAN
   ═══════════════════════════════════════════════ */
.sp-tabs-section {
  border-top: 2px solid var(--gray-bd);
  margin-bottom: 64px;
}

/* ── Tab nav ── */
.sp-tab-nav {
  display: flex;
  border-bottom: 1px solid var(--gray-bd);
  gap: 0;
}
.sp-tab-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 18px 28px;
  font-size: 13px; font-weight: 600; letter-spacing: .2px;
  color: var(--gray-tx);
  background: none; border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.sp-tab-btn:hover { color: var(--black); }
.sp-tab-icon { width: 16px; height: 16px; flex-shrink: 0; transition: stroke .2s; }
.sp-tab-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px;
  background: var(--gray-lt); color: var(--gray-tx);
  font-size: 11px; font-weight: 700; border-radius: 20px;
  padding: 0 6px; transition: background .2s, color .2s;
}
.sp-tab-active {
  color: var(--black) !important;
  border-bottom-color: var(--gold) !important;
}
.sp-tab-active .sp-tab-badge {
  background: var(--gold-lt);
  color: var(--brown);
}

/* ── Tab panels ── */
.sp-tab-panel { display: none; padding: 36px 0 20px; }
.sp-tab-panel-active { display: block; }

/* ── Deskripsi typography ── */
.sp-desc-body {
  font-size: 15px; line-height: 1.9; color: #3a3a3a;
  max-width: 72ch;
}
.sp-desc-body > * + * { margin-top: 14px; }
.sp-desc-body h2, .sp-desc-body h3, .sp-desc-body h4 {
  font-family: var(--font-h); font-weight: 600;
  color: var(--black); line-height: 1.3; margin-top: 28px;
}
.sp-desc-body h2 { font-size: 22px; }
.sp-desc-body h3 { font-size: 18px; }
.sp-desc-body h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .5px; }
.sp-desc-body ul, .sp-desc-body ol {
  padding-left: 22px; margin: 14px 0;
}
.sp-desc-body ul { list-style: disc; }
.sp-desc-body ol { list-style: decimal; }
.sp-desc-body li + li { margin-top: 6px; }
.sp-desc-body strong { font-weight: 700; color: var(--black); }
.sp-desc-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 10px 20px; margin: 20px 0;
  background: var(--gray-bg); border-radius: 0 6px 6px 0;
  font-style: italic; color: #555;
}
.sp-desc-body table {
  width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0;
}
.sp-desc-body th, .sp-desc-body td {
  border: 1px solid var(--gray-bd); padding: 10px 14px; text-align: left;
}
.sp-desc-body th { background: var(--gray-lt); font-weight: 600; }

/* ── Empty state ── */
.sp-empty-state {
  display: flex; flex-direction: column; align-items: center;
  padding: 48px 24px; text-align: center; color: var(--gray-tx);
}
.sp-empty-state svg {
  width: 48px; height: 48px; margin-bottom: 14px;
  stroke: var(--gray-bd);
}
.sp-empty-state p { font-size: 14px; }

/* ═══════════════════════════════════════════════
   ULASAN — SUMMARY + KARTU + FORM
   ═══════════════════════════════════════════════ */

/* ── Review summary box ── */
.rv-summary {
  display: flex; align-items: center; gap: 20px;
  background: var(--gray-bg); border: 1px solid var(--gray-bd);
  border-radius: 12px; padding: 20px 24px; margin-bottom: 28px;
}
.rv-summary-score {
  font-family: var(--font-h); font-size: 52px; font-weight: 600;
  color: var(--black); line-height: 1; flex-shrink: 0;
}
.rv-summary-stars {
  display: flex; gap: 3px; margin-bottom: 6px;
}
.rv-summary-star {
  display: inline-block;
  width: 24px; height: 24px;
  font-size: 22px; line-height: 1;
  color: #e0dbd2;
}
.rv-summary-star.on { color: var(--gold); }
.rv-summary-count { font-size: 13px; color: var(--gray-tx); }

/* ── Review list ── */
.commentlist {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.rv-card { list-style: none; }
.rv-card-inner {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--gray-bd);
  border-radius: 12px; padding: 20px;
  transition: box-shadow .2s;
}
.rv-card-inner:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }

/* Avatar */
.rv-avatar {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-lt); color: var(--brown);
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Body */
.rv-body { flex: 1; min-width: 0; }
.rv-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 10px; margin-bottom: 8px;
}
.rv-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.rv-author { font-size: 14px; font-weight: 700; color: var(--black); }
.rv-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: #2a8a4a;
  background: #e6f5ec; border-radius: 20px;
  padding: 2px 8px;
}
.rv-verified svg { width: 11px; height: 11px; }
.rv-date { font-size: 12px; color: var(--gray-tx); white-space: nowrap; flex-shrink: 0; }

/* Stars */
.rv-stars {
  display: flex; gap: 2px; margin-bottom: 10px;
}
.rv-star { width: 16px; height: 16px; }
.rv-star path { fill: #e0dbd2; }
.rv-star--on path { fill: var(--gold); }

/* Review text */
.rv-text { font-size: 14px; line-height: 1.75; color: #444; }
.rv-text p + p { margin-top: 8px; }
.rv-pending {
  font-size: 13px; color: var(--gray-tx); font-style: italic;
}

/* ── WooCommerce reviews wrapper ── */
#reviews { font-size: 15px; }
#reviews .woocommerce-Reviews-title {
  font-family: var(--font-h); font-size: 20px; font-weight: 600;
  color: var(--black); margin-bottom: 20px;
}
#reviews .woocommerce-noreviews {
  font-size: 14px; color: var(--gray-tx); margin-bottom: 24px;
}
#comments { margin-bottom: 8px; }

/* ── Review form ── */
#review_form_wrapper {
  border-top: 1px solid var(--gray-bd);
  padding-top: 32px; margin-top: 8px;
}
#review_form h3 {
  font-family: var(--font-h); font-size: 20px; font-weight: 600;
  color: var(--black); margin-bottom: 6px;
}
.comment-notes {
  font-size: 13px; color: var(--gray-tx); margin-bottom: 20px;
}
.comment-notes .required { color: #c0392b; }

/* Stars interactive — dikendalikan JS (.rv-hl hover, .rv-sel selected) */
.comment-form-rating { margin-bottom: 24px; }
.comment-form-rating label {
  font-size: 14px; font-weight: 700; color: var(--black);
  display: block; margin-bottom: 10px;
}
.comment-form-rating .stars { display: block; line-height: 1; }
.comment-form-rating .stars span { display: inline-flex; gap: 6px; }
.comment-form-rating .stars a {
  display: block; width: 48px; height: 48px;
  font-size: 0; color: transparent;
  text-decoration: none; cursor: pointer;
  position: relative; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.comment-form-rating .stars a::before {
  content: '★';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; line-height: 1;
  color: #d5cfc6;
  transition: color .1s, transform .1s;
}
/* CSS hover fallback — works even without JS */
.comment-form-rating .stars a:hover::before {
  color: var(--gold) !important; transform: scale(1.18) !important;
}
/* JS-controlled: hover paints all stars up to N */
.comment-form-rating .stars a.rv-hl::before {
  color: var(--gold) !important; transform: scale(1.15) !important;
}
.comment-form-rating .stars a.rv-sel::before { color: var(--gold) !important; }

/* Form fields */
.comment-form p { margin-bottom: 16px; }
.comment-form label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--black); margin-bottom: 6px;
}
.comment-form .required { color: #c0392b; }
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form textarea {
  display: block; width: 100%;
  border: 1.5px solid var(--gray-bd); border-radius: 8px;
  padding: 12px 16px; font-size: 14px;
  font-family: var(--font-b); color: var(--black);
  background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.comment-form input[type=text]:focus,
.comment-form input[type=email]:focus,
.comment-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form-cookies-consent { display: none; }

.comment-form .comment-form-author,
.comment-form .comment-form-email {
  display: inline-block; width: calc(50% - 8px);
}
.comment-form .comment-form-author { margin-right: 16px; }

.comment-form input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 32px;
  background: var(--black); color: #fff;
  border: none; border-radius: 8px;
  font-family: var(--font-b); font-size: 14px; font-weight: 700;
  letter-spacing: .3px; cursor: pointer;
  transition: background .2s, transform .1s;
}
.comment-form input[type=submit]:hover {
  background: #333; transform: translateY(-1px);
}

/* ── Related products ── */
.sp-related-section { margin-bottom: 80px; }
.sp-related-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.sp-related-head h2 { font-family: var(--font-h); font-size: 24px; font-weight: 600; }

/* ═══════════════════════════════════════════════
   MINI-CART DRAWER
   ═══════════════════════════════════════════════ */
.mc-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 900; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mc-overlay.open { opacity: 1; visibility: visible; }

.mc-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 100vw;
  background: #fff; z-index: 901;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.12);
}
.mc-drawer.open { transform: translateX(0); }

.mc-inner {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column;
  padding: 24px;
}

/* Header */
.mc-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-bd);
}
.mc-check {
  width: 36px; height: 36px; border-radius: 50%;
  background: #d4f0de; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mc-check svg { stroke: #27ae60; }
.mc-head-title { font-size: 16px; font-weight: 700; flex: 1; }
.mc-close {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-tx); cursor: pointer; flex-shrink: 0;
  transition: background .2s;
}
.mc-close:hover { background: var(--gray-bg); color: var(--black); }

/* Product preview */
.mc-product {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--gray-bg); border-radius: 10px;
  padding: 14px; margin-bottom: 16px;
}
.mc-product-img {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: 8px; flex-shrink: 0;
  border: 1px solid var(--gray-bd);
}
.mc-product-info { flex: 1; min-width: 0; }
.mc-product-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; line-height: 1.35; }
.mc-product-price { font-size: 15px; font-weight: 700; color: var(--black); }
.mc-product-qty { font-size: 12px; color: var(--gray-tx); margin-top: 3px; }

/* Total */
.mc-cart-total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--gray-bd);
  margin-bottom: 20px; font-size: 14px; color: var(--gray-tx);
}
.mc-total-val { font-size: 18px; font-weight: 700; color: var(--black); }
.mc-total-val .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

/* Drawer action buttons */
.mc-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; margin-top: auto; }
.mc-btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; height: 56px; background: var(--wa); color: #fff;
  border-radius: var(--radius); font-size: 15px; font-weight: 700;
  text-decoration: none; transition: background .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(37,211,102,.3); order: 1;
}
.mc-btn-checkout:hover { background: #1fba58; box-shadow: 0 6px 22px rgba(37,211,102,.4); }
.mc-btn-continue {
  width: 100%; height: 46px; border: 1.5px solid var(--gray-bd);
  border-radius: var(--radius); font-size: 14px; font-weight: 500;
  color: var(--gray-tx); background: #fff; cursor: pointer;
  transition: border-color .2s, color .2s; order: 2;
}
.mc-btn-continue:hover { border-color: var(--black); color: var(--black); }

/* ═══════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════ */

/* Hero banner cart */
.wc-cart-hero {
  background: #111; margin-top: 82px;
  padding: 56px 24px 52px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  width: 100%;
}
.wc-cart-hero-inner { max-width: 560px; margin: 0 auto; }
.wc-cart-hero-title {
  font-family: var(--font-h); font-size: clamp(28px, 4vw, 44px);
  font-weight: 600; color: #fff; margin-bottom: 8px; letter-spacing: -.3px;
}
.wc-cart-hero-sub {
  font-size: 15px; color: rgba(255,255,255,.5); font-weight: 400;
}

.wc-cart-page {
  max-width: 680px; margin: 0 auto;
  padding: 40px 24px 80px;
}

.wc-cart-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.wc-cart-title { font-family: var(--font-h); font-size: 30px; font-weight: 700; }
.wc-cart-count-badge {
  background: var(--gold-lt); color: var(--brown);
  font-size: 12px; font-weight: 600; padding: 3px 11px; border-radius: 100px;
}

.wc-cart-items { display: flex; flex-direction: column; }
.wc-cart-item {
  display: grid; grid-template-columns: 76px 1fr auto;
  gap: 16px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--gray-bd);
}

.wc-ci-img a { display: block; }
.wc-ci-img img {
  width: 76px; height: 96px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--gray-bd);
}

.wc-ci-info { padding-top: 2px; }
.wc-ci-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; line-height: 1.35; }
.wc-ci-name a { color: var(--black); }
.wc-ci-name a:hover { color: var(--brown); }
.wc-ci-meta { font-size: 12px; color: var(--gray-tx); margin-bottom: 10px; }
.wc-ci-unit-price { font-size: 13px; color: var(--gray-tx); }

.wc-ci-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 10px; padding-top: 2px;
}
.wc-ci-qty {
  display: flex; align-items: center;
  border: 1.5px solid var(--gray-bd); border-radius: 8px;
  overflow: hidden; height: 36px;
}
.wc-qty-btn {
  width: 34px; height: 100%;
  background: var(--gray-bg); color: var(--black);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; border: none;
  transition: background .15s;
}
.wc-qty-btn:hover { background: var(--gray-bd); }
.wc-qty-input {
  width: 40px; height: 100%; border: none;
  border-left: 1.5px solid var(--gray-bd);
  border-right: 1.5px solid var(--gray-bd);
  text-align: center; font-size: 14px; font-weight: 600;
  font-family: var(--font-b); color: var(--black);
  -moz-appearance: textfield; background: #fff;
}
.wc-qty-input::-webkit-outer-spin-button,
.wc-qty-input::-webkit-inner-spin-button { appearance: none; }
.wc-qty-input:focus { outline: none; }

.wc-ci-subtotal {
  font-size: 15px; font-weight: 700; color: var(--black); white-space: nowrap;
}
.wc-ci-subtotal .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.wc-ci-remove {
  color: var(--gray-tx); transition: color .2s; border-radius: 4px;
  display: flex; align-items: center;
}
.wc-ci-remove:hover { color: #e53e3e; }

.wc-cart-summary {
  background: var(--gray-bg); border-radius: var(--radius);
  padding: 20px 22px; margin-top: 24px;
}
.wc-cart-summary-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; padding: 11px 0;
  border-bottom: 1px solid var(--gray-bd);
}
.wc-cart-summary-row:last-of-type { border-bottom: none; }
.wc-cart-summary-val .woocommerce-Price-amount { font-size: 15px; font-weight: 600; color: var(--black); }
.wc-cart-shipping-note { font-size: 13px; color: var(--gray-tx); }
.wc-cart-total-row { font-size: 16px; font-weight: 700; }
.wc-cart-total-val .woocommerce-Price-amount { font-size: 18px; font-weight: 700; color: var(--black); }

.wc-cart-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.wc-cart-btn-back {
  display: flex; align-items: center; justify-content: center;
  height: 46px; border: 1.5px solid var(--gray-bd); border-radius: var(--radius);
  font-size: 14px; font-weight: 500; color: var(--gray-tx);
  transition: border-color .2s, color .2s;
}
.wc-cart-btn-back:hover { border-color: var(--black); color: var(--black); }
.wc-cart-btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; background: var(--wa); color: #fff;
  border-radius: var(--radius); font-size: 16px; font-weight: 700;
  text-decoration: none; transition: background .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
}
.wc-cart-btn-checkout:hover { background: #1fba58; box-shadow: 0 6px 20px rgba(37,211,102,.4); }

.wc-cart-empty {
  text-align: center; padding: 72px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.wc-cart-empty h2 { font-family: var(--font-h); font-size: 26px; font-weight: 600; }
.wc-cart-empty p { font-size: 15px; color: var(--gray-tx); }
.wc-cart-btn-shop {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 32px; background: var(--black); color: #fff;
  border-radius: var(--radius); font-size: 15px; font-weight: 600;
  transition: background .2s; text-decoration: none;
}
.wc-cart-btn-shop:hover { background: #333; }

/* ═══════════════════════════════════════════════
   WA CHECKOUT PAGE
   ═══════════════════════════════════════════════ */

/* Hero banner checkout */
.wco-hero {
  background: #111; margin-top: 82px;
  padding: 56px 24px 52px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  width: 100%;
}
.wco-hero-inner { max-width: 560px; margin: 0 auto; }
.wco-hero-title {
  font-family: var(--font-h); font-size: clamp(28px, 4vw, 44px);
  font-weight: 600; color: #fff; margin-bottom: 8px; letter-spacing: -.3px;
}
.wco-hero-sub {
  font-size: 15px; color: rgba(255,255,255,.5); font-weight: 400;
}

.wco-page {
  padding: 40px 24px 80px;
  min-height: calc(100vh - 82px);
}
.wco-container {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 28px; align-items: start;
}

/* Card */
.wco-card {
  background: #fff; border: 1px solid var(--gray-bd);
  border-radius: var(--radius); padding: 28px 28px 32px;
}
.wco-card-title {
  font-size: 17px; font-weight: 700; color: var(--black);
  margin-bottom: 22px; padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-bd);
}

/* Form */
.wco-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.wco-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.wco-field:last-of-type { margin-bottom: 0; }
.wco-field label { font-size: 13px; font-weight: 600; color: var(--black); }
.wco-req { color: #e53e3e; margin-left: 1px; }

.wco-field input,
.wco-field select,
.wco-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--gray-bd); border-radius: 8px;
  font-size: 15px; font-family: var(--font-b); color: var(--black);
  background: #fff; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.wco-field input:focus,
.wco-field select:focus,
.wco-field textarea:focus {
  border-color: var(--black); outline: none;
  box-shadow: 0 0 0 3px rgba(17,17,17,.07);
}
.wco-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px; cursor: pointer;
}
.wco-field textarea { resize: vertical; min-height: 76px; }
.wco-field input.is-invalid, .wco-field input.wco-error,
.wco-field select.is-invalid, .wco-field select.wco-error,
.wco-field textarea.is-invalid, .wco-field textarea.wco-error {
  border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,.1);
}
.wco-field .field-error { font-size: 12px; color: #e53e3e; display: none; }
.wco-field.has-error .field-error { display: block; }

/* WA button */
.wco-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 58px; margin-top: 22px;
  background: var(--wa); color: #fff;
  font-family: var(--font-b); font-size: 16px; font-weight: 700;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 4px 18px rgba(37,211,102,.3);
}
.wco-wa-btn:hover { background: #1fba58; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(37,211,102,.4); }
.wco-wa-btn:active { transform: translateY(0); }
.wco-note { text-align: center; font-size: 12px; color: var(--gray-tx); margin-top: 10px; }

/* Summary card */
.wco-summary-card { position: sticky; top: 90px; }
.wco-items-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.wco-item {
  display: flex; align-items: center; gap: 12px;
}
.wco-item-img-wrap { position: relative; flex-shrink: 0; }
.wco-item-img {
  width: 60px; height: 72px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--gray-bd); display: block;
}
.wco-item-qty-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--black); color: #fff;
  font-size: 11px; font-weight: 700; min-width: 20px; height: 20px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.wco-item-info { flex: 1; min-width: 0; }
.wco-item-name { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.wco-item-name a { color: var(--black); }
.wco-item-meta { font-size: 12px; color: var(--gray-tx); }
.wco-item-price {
  font-size: 14px; font-weight: 700; color: var(--black);
  white-space: nowrap; flex-shrink: 0;
}
.wco-item-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

.wco-summary-rows { border-top: 1.5px solid var(--gray-bd); padding-top: 14px; }
.wco-summary-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; padding: 7px 0;
}
.wco-summary-row .woocommerce-Price-amount { font-size: 14px; font-weight: 500; color: var(--black); }
.wco-shipping-note { font-size: 12px; color: var(--gray-tx); font-style: italic; }
.wco-summary-total {
  font-size: 16px; font-weight: 700;
  border-top: 1px solid var(--gray-bd); padding-top: 12px; margin-top: 6px;
}
.wco-total-price { font-size: 20px; font-weight: 700; color: var(--black); }
.wco-total-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

.wco-edit-cart {
  display: block; text-align: center; margin-top: 14px;
  font-size: 13px; color: var(--gray-tx); transition: color .2s;
}
.wco-edit-cart:hover { color: var(--black); }

@media (max-width: 860px) {
  .wco-container { grid-template-columns: 1fr; }
  .wco-right { order: -1; } /* Summary di atas form di mobile */
  .wco-summary-card { position: static; }
}
@media (max-width: 768px) {
  .wc-cart-hero { margin-top: 68px; padding: 36px 16px 32px; }
  .wco-hero { margin-top: 68px; padding: 36px 16px 32px; }
  .wc-cart-hero-title, .wco-hero-title { font-size: 28px; }
  .cat-feature-section { grid-template-columns: 1fr; min-height: auto; }
  .cat-feature-section.cat-feature--reversed { direction: ltr; }
  .cat-feature-img { height: 300px; order: -1; }
  .cat-feature-body { padding: 40px 24px; }
}
@media (max-width: 560px) {
  .wco-page { padding: 32px 16px 60px; }
  .wco-card { padding: 20px; }
  .wco-row-2 { grid-template-columns: 1fr; gap: 0; }
  .wc-cart-page { padding: 28px 16px 60px; }
}

/* ── WOO GENERIC (cart/checkout/myaccount) ── */
.woo-generic-page {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 60vh;
}
.woo-generic-page .woocommerce-notices-wrapper { margin-bottom: 16px; }

/* Cart, checkout, my account buttons */
.woo-generic-page .button,
.woo-generic-page button[type=submit] {
  background: var(--black) !important; color: #fff !important;
  border: none !important; padding: 12px 24px !important;
  font-size: 13px !important; font-weight: 600 !important;
  font-family: var(--font-b) !important; border-radius: 3px !important;
  cursor: pointer !important; transition: background .25s !important;
  text-decoration: none !important; display: inline-block !important;
}
.woo-generic-page .button:hover,
.woo-generic-page button[type=submit]:hover { background: #333 !important; }

.woo-generic-page .checkout-button {
  background: var(--black) !important; color: var(--gold) !important;
  padding: 16px 36px !important; font-size: 13px !important;
  font-weight: 700 !important; letter-spacing: 2px !important;
  text-transform: uppercase !important;
}
.woo-generic-page .checkout-button:hover { background: var(--gold) !important; color: var(--black) !important; }

.woo-generic-page input[type=text],
.woo-generic-page input[type=email],
.woo-generic-page input[type=tel],
.woo-generic-page input[type=password],
.woo-generic-page input[type=number],
.woo-generic-page select,
.woo-generic-page textarea {
  border: 1px solid var(--gray-bd) !important;
  padding: 11px 14px !important;
  font-size: 14px !important; font-family: var(--font-b) !important;
  border-radius: 3px !important; color: var(--black) !important;
  width: 100% !important; transition: border-color .2s !important;
}
.woo-generic-page input:focus,
.woo-generic-page textarea:focus { border-color: var(--black) !important; outline: none !important; }

.woo-generic-page table.cart td,
.woo-generic-page table.cart th { padding: 12px 8px; font-size: 14px; }
.woo-generic-page table.shop_table th { font-weight: 600; text-align: left; border-bottom: 2px solid var(--gray-bd); padding-bottom: 12px; }
.woo-generic-page .cart_item img { border-radius: 4px; }

/* ── SP RESPONSIVE ── */
@media (max-width: 1024px) {
  .sp-main { grid-template-columns: 1fr; gap: 40px; }
  .sp-gallery { position: static; }
  .sp-main-img::before { padding-top: 80%; }
  .sp-title { font-size: 26px; }
}

/* ── Single product mobile ── */
@media (max-width: 768px) {
  .sp-page { padding-top: 80px; padding-bottom: 60px; }
  .sp-main { gap: 24px; }
  .sp-title { font-size: 26px; }
  .sp-price-row { margin-bottom: 16px; padding-bottom: 16px; }
  .sp-price-row .woocommerce-Price-amount,
  .sp-price-row ins .woocommerce-Price-amount { font-size: 24px; }
  .sp-trust-strip { gap: 12px; padding: 14px 0; }
  .sp-trust-item { font-size: 11px; }
  .sp-tab-btn { padding: 14px 16px; font-size: 12px; flex: 1; justify-content: center; }
  .sp-tab-icon { display: none; }
  .rv-summary { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; }
  .rv-summary-score { font-size: 42px; }
  .rv-card-inner { padding: 16px; gap: 12px; }
  .rv-avatar { width: 36px; height: 36px; font-size: 15px; }
  .rv-header { flex-direction: column; gap: 4px; }
  .rv-date { align-self: flex-start; }
  .comment-form .comment-form-author,
  .comment-form .comment-form-email { display: block; width: 100%; margin-right: 0; }

  /* Marketplace buttons — full width stack, same size as add-to-cart */
  .sp-marketplace { margin-bottom: 20px; }
  .sp-marketplace-btns { display: block; }
  .sp-market-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 54px !important;
    margin-bottom: 10px !important;
    padding: 0 20px !important;
    border-radius: var(--radius) !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    flex: none !important;
  }
  .sp-market-btn:last-child { margin-bottom: 0 !important; }
  .sp-market-btn svg { width: 20px !important; height: 20px !important; flex-shrink: 0 !important; }

  /* Variation swatches on mobile */
  .sp-var-swatches--size .sp-sw { min-width: 44px; height: 46px; font-size: 14px; }
  .sp-var-swatches--color .sp-sw { height: 42px; padding: 0 14px; font-size: 13px; }

  /* Cart qty + button */
  .sp-cart-wrap .quantity { height: 54px; }
  .sp-qty-btn { width: 44px; }
  .sp-cart-wrap .single_add_to_cart_button,
  .sp-cart-wrap button.button.alt { height: 54px !important; font-size: 14px !important; }
}

@media (max-width: 480px) {
  .sp-title { font-size: 23px; }
  .sp-trust-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .sp-trust-item { font-size: 11px; }
  .sp-tab-btn { padding: 12px 10px; font-size: 11px; }
  .sp-main-img::before { padding-top: 100%; }
}

/* ── LOGIN FORM ── */
.asf-login-wrap {
  max-width: 480px;
  margin: 0 auto;
}
.asf-login-wrap--split {
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.asf-login-card {
  background: #fff;
  border: 1px solid var(--gray-bd, #e5e5e5);
  border-radius: 8px;
  padding: 36px 32px;
}
.asf-login-card--alt { background: #fafafa; }

.asf-login-card__head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-bd, #e5e5e5);
}
.asf-login-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
  margin: 0 0 4px;
  color: var(--black, #111);
}
.asf-login-card__sub {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.asf-field {
  margin-bottom: 20px;
  width: 100%;
}
.asf-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--black, #111);
  margin-bottom: 7px;
  letter-spacing: .2px;
}
.asf-required {
  color: #c0392b;
  margin-left: 2px;
}

/* All inputs — consistent full-width */
.asf-login-card .asf-input,
.asf-login-card input[type=text],
.asf-login-card input[type=email],
.asf-login-card input[type=password] {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 6px !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  font-family: var(--font-b, inherit) !important;
  color: var(--black, #111) !important;
  background: #fff !important;
  transition: border-color .2s, box-shadow .2s !important;
  margin: 0 !important;
  max-width: none !important;
  height: auto !important;
  line-height: 1.5 !important;
}
.asf-login-card .asf-input:focus,
.asf-login-card input[type=text]:focus,
.asf-login-card input[type=email]:focus,
.asf-login-card input[type=password]:focus {
  border-color: var(--black, #111) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.07) !important;
}

/* Password field wrapper — block, not flex */
.asf-input-wrap {
  position: relative;
  display: block;
  width: 100%;
}
.asf-input-wrap input[type=password],
.asf-input-wrap input[type=text] {
  padding-right: 46px !important;
}
.asf-toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #999;
  display: flex;
  align-items: center;
  line-height: 1;
  transition: color .2s;
}
.asf-toggle-pw:hover { color: var(--black, #111); }

/* Footer row — remember me left, lost password right */
.asf-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin-bottom: 24px;
  gap: 16px;
}
.asf-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.asf-remember input[type=checkbox] {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  accent-color: var(--black, #111);
  cursor: pointer;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
}
.asf-lost-pw {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.asf-lost-pw:hover { color: var(--black, #111); text-decoration: underline; }

.asf-btn-submit {
  width: 100%;
  display: block;
  padding: 13px 24px !important;
  background: var(--black, #111) !important;
  color: #fff !important;
  border: 2px solid var(--black, #111) !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: var(--font-b, inherit) !important;
  letter-spacing: .5px;
  cursor: pointer !important;
  transition: background .25s, color .25s !important;
  text-align: center;
}
.asf-btn-submit:hover {
  background: #333 !important;
  border-color: #333 !important;
}
.asf-btn-submit--outline {
  background: transparent !important;
  color: var(--black, #111) !important;
}
.asf-btn-submit--outline:hover {
  background: var(--black, #111) !important;
  color: #fff !important;
}

.asf-info-text {
  font-size: 13px;
  color: #666;
  background: #f4f4f4;
  border-radius: 5px;
  padding: 12px 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .asf-login-wrap--split {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .asf-login-card {
    padding: 28px 20px;
  }
}
