/* ==========================================================================
   ARBIT Shop - tampilan toko online (memakai token desain dari style.css)
   ========================================================================== */

.shop-main { padding: 12px 0 80px; min-height: 80vh; }
.shop-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Header: keranjang */
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--bg-secondary); color: var(--text-primary);
  border: 1px solid transparent; cursor: pointer; transition: all var(--transition-fast);
}
.cart-btn:hover { background: rgba(0,0,0,.08); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: none; align-items: center; justify-content: center;
}
.cart-badge.show { display: inline-flex; }
.nav-links .nav-item a.nav-shop { color: var(--accent); font-weight: 600; }

/* Hero & toolbar */
.shop-hero { padding: 26px 0 8px; }
.shop-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.shop-hero p { color: var(--text-secondary); margin-top: 8px; max-width: 560px; }
.shop-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .84rem; color: var(--text-secondary); }
.shop-trust span { display: inline-flex; align-items: center; gap: 6px; }
.shop-trust svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.shop-announce { margin-top: 14px; padding: 10px 16px; border-radius: var(--radius-md); background: var(--accent-subtle); color: var(--accent-dark); font-size: .88rem; }
.shop-closed { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-md); background: #fff4e5; color: #8a4b00; font-size: .9rem; }

.shop-toolbar {
  position: sticky; top: var(--nav-height); z-index: 30; margin: 18px 0 0; padding: 12px 0;
  background: var(--bg-blur); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border-light);
}
.shop-toolbar-row { display: flex; gap: 12px; align-items: center; }
.shop-search { position: relative; flex: 1 1 auto; min-width: 0; }
.shop-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-tertiary); pointer-events: none; }
.shop-search input {
  width: 100%; height: 42px; padding: 0 14px 0 42px; border-radius: var(--radius-full); border: 1px solid var(--border-medium);
  background: #fff; font: inherit; font-size: .95rem; outline: none; transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.shop-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,.12); }
.shop-sort {
  height: 42px; padding: 0 14px; border-radius: var(--radius-full); border: 1px solid var(--border-medium); background: #fff; font: inherit; font-size: .88rem; flex: none; max-width: 190px;
}
.shop-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.shop-chips::-webkit-scrollbar { display: none; }
.shop-chip {
  flex: none; padding: 7px 16px; border-radius: var(--radius-full); border: 1px solid transparent; background: var(--bg-secondary);
  color: var(--text-secondary); font: inherit; font-size: .86rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: all var(--transition-fast);
}
.shop-chip:hover { background: rgba(0,0,0,.07); color: var(--text-primary); }
.shop-chip.active { background: var(--text-primary); color: #fff; }

/* Grid produk */
.shop-count { margin: 20px 0 14px; color: var(--text-secondary); font-size: .88rem; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 20px; }
.s-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--border-card);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}
.s-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.s-card-img { display: block; aspect-ratio: 1 / 1; background: var(--bg-secondary); padding: 18px; cursor: pointer; }
.s-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--transition-medium); }
.s-card:hover .s-card-img img { transform: scale(1.05); }
.s-tag {
  position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: var(--radius-full); font-size: .68rem; font-weight: 700;
  letter-spacing: .03em; background: #fff; color: var(--accent); box-shadow: var(--shadow-sm);
}
.s-tag.sale { background: #ff3b30; color: #fff; left: auto; right: 12px; }
.s-card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.s-cat { font-size: .72rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: .05em; }
.s-name { font-size: .98rem; font-weight: 600; line-height: 1.3; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.s-price-row { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.s-price { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.s-compare { font-size: .82rem; color: var(--text-tertiary); text-decoration: line-through; }
.s-stock { font-size: .76rem; color: var(--text-tertiary); }
.s-stock.low { color: #d97706; font-weight: 600; }
.s-stock.out { color: #ff3b30; font-weight: 600; }
.s-add { margin-top: 10px; width: 100%; }
.s-card.soldout .s-card-img img { opacity: .45; filter: grayscale(1); }

.btn-block { width: 100%; justify-content: center; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }

/* Stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-medium); border-radius: var(--radius-full); background: #fff; overflow: hidden; }
.stepper button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; color: var(--text-primary); }
.stepper button:hover { background: var(--bg-secondary); }
.stepper span { min-width: 30px; text-align: center; font-weight: 600; font-size: .92rem; }

/* Empty / skeleton */
.shop-empty { text-align: center; padding: 70px 20px; color: var(--text-secondary); }
.shop-empty h3 { color: var(--text-primary); font-size: 1.25rem; margin-bottom: 6px; }
.skel { background: linear-gradient(90deg, #eee 25%, #f6f6f6 37%, #eee 63%); background-size: 400% 100%; animation: skel 1.3s infinite; border-radius: var(--radius-lg); height: 330px; }
@keyframes skel { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* Detail produk */
.crumb { font-size: .85rem; color: var(--text-secondary); margin-bottom: 18px; }
.crumb a { color: var(--accent); cursor: pointer; }
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--nav-height) + 20px); }
.pd-main { aspect-ratio: 1/1; background: var(--bg-secondary); border-radius: var(--radius-xl); padding: 28px; display: flex; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.pd-thumbs button { flex: none; width: 68px; height: 68px; border-radius: var(--radius-md); border: 2px solid transparent; background: var(--bg-secondary); padding: 6px; cursor: pointer; }
.pd-thumbs button.active { border-color: var(--accent); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info h1 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; }
.pd-sku { color: var(--text-tertiary); font-size: .82rem; margin-top: 6px; }
.pd-price { margin-top: 16px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price strong { font-size: 1.9rem; letter-spacing: -.02em; }
.pd-desc { margin-top: 16px; color: var(--text-secondary); font-size: .95rem; line-height: 1.65; }
.pd-buy { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pd-perks { margin-top: 24px; display: grid; gap: 10px; padding: 16px; border-radius: var(--radius-lg); background: var(--bg-secondary); font-size: .88rem; }
.pd-perks div { display: flex; gap: 10px; align-items: center; }
.pd-perks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.pd-related { margin-top: 56px; }
.pd-related h2 { font-size: 1.35rem; margin-bottom: 16px; }

/* Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity var(--transition-medium); z-index: 2000; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #fff; z-index: 2001; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--transition-medium), box-shadow var(--transition-medium), visibility 0s linear .35s; box-shadow: none; visibility: hidden;
}
.drawer.open { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.15); visibility: visible; transition-delay: 0s, 0s, 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border-light); }
.drawer-head h3 { font-size: 1.15rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-secondary); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border-light); background: #fff; }
.ship-progress { padding: 12px 0 4px; font-size: .82rem; color: var(--text-secondary); }
.ship-progress .bar { height: 6px; border-radius: 3px; background: var(--bg-secondary); margin-top: 6px; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width var(--transition-medium); }
.ci { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.ci img { width: 64px; height: 64px; object-fit: contain; background: var(--bg-secondary); border-radius: var(--radius-md); padding: 6px; }
.ci-name { font-size: .9rem; font-weight: 600; line-height: 1.3; }
.ci-price { font-size: .85rem; color: var(--text-secondary); margin-top: 2px; }
.ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.ci-del { border: 0; background: none; color: var(--text-tertiary); font-size: .8rem; cursor: pointer; text-decoration: underline; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; padding: 3px 0; color: var(--text-secondary); }
.sum-line.total { color: var(--text-primary); font-weight: 700; font-size: 1.1rem; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--border-light); }
.sum-line .neg { color: #16a34a; }

/* Checkout */
.co { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.co-card { background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 18px; }
.co-card h3 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.co-card h3 i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--text-primary); color: #fff; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-full { grid-column: 1 / -1; }
.f label { display: block; font-size: .78rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; }
.f input, .f select, .f textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border-medium); border-radius: var(--radius-md); font: inherit; font-size: .95rem; background: #fff; outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.f textarea { resize: vertical; min-height: 72px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,.12); }
.f .hint { font-size: .74rem; color: var(--text-tertiary); margin-top: 4px; }
.f.err input, .f.err textarea, .f.err select { border-color: #ff3b30; }
.opt {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--border-medium); border-radius: var(--radius-md); cursor: pointer; margin-bottom: 10px; background: #fff;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.opt:hover { border-color: var(--text-tertiary); }
.opt.sel { border-color: var(--accent); background: var(--accent-subtle); }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.opt .o-main { flex: 1; min-width: 0; }
.opt .o-title { font-weight: 600; font-size: .93rem; }
.opt .o-sub { font-size: .78rem; color: var(--text-secondary); }
.opt .o-price { font-weight: 700; font-size: .93rem; white-space: nowrap; }
.note-box { padding: 12px 14px; border-radius: var(--radius-md); background: var(--bg-secondary); color: var(--text-secondary); font-size: .85rem; }
.note-box.err { background: #fff1f0; color: #b42318; }
.voucher-row { display: flex; gap: 8px; }
.voucher-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.v-msg { font-size: .82rem; margin-top: 8px; }
.v-msg.ok { color: #16a34a; }
.v-msg.bad { color: #b42318; }
.co-sum { position: sticky; top: calc(var(--nav-height) + 20px); }
.co-item { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 8px 0; font-size: .86rem; }
.co-item img { width: 48px; height: 48px; object-fit: contain; background: var(--bg-secondary); border-radius: 10px; padding: 4px; }
.saved-addr { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 8px; }
.saved-addr button { flex: none; text-align: left; border: 1.5px solid var(--border-medium); background: #fff; border-radius: var(--radius-md); padding: 8px 12px; font: inherit; font-size: .8rem; cursor: pointer; max-width: 220px; }
.saved-addr button.sel { border-color: var(--accent); background: var(--accent-subtle); }

/* Halaman pesanan */
.ord-wrap { max-width: 760px; margin: 0 auto; }
.ord-hero { text-align: center; padding: 10px 0 22px; }
.ord-hero .tick { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: #e7f8ee; color: #16a34a; }
.ord-hero .tick.wait { background: #fff4e5; color: #d97706; }
.ord-hero .tick.bad { background: #fff1f0; color: #b42318; }
.ord-hero .tick svg { width: 32px; height: 32px; }
.ord-hero h1 { font-size: 1.6rem; letter-spacing: -.02em; }
.ord-hero p { color: var(--text-secondary); margin-top: 6px; }
.pay-box { border: 1.5px dashed var(--accent); background: #f7fbff; border-radius: var(--radius-lg); padding: 20px; margin-bottom: 18px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.pay-row + .pay-row { border-top: 1px solid var(--border-light); }
.pay-label { font-size: .78rem; color: var(--text-secondary); }
.pay-val { font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; }
.pay-val em { font-style: normal; color: #ff3b30; }
.copy-btn { border: 1px solid var(--border-medium); background: #fff; border-radius: var(--radius-full); padding: 6px 14px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.copy-btn:hover { background: var(--bg-secondary); }
.copy-btn.done { color: #16a34a; border-color: #16a34a; }
.countdown { font-size: .85rem; color: #b45309; margin-top: 10px; text-align: center; }
.proof-drop { display: block; border: 1.5px dashed var(--border-medium); border-radius: var(--radius-md); padding: 22px; text-align: center; cursor: pointer; color: var(--text-secondary); font-size: .9rem; background: #fff; }
.proof-drop:hover { border-color: var(--accent); }
.proof-drop img { max-height: 180px; margin: 0 auto 10px; border-radius: 10px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; font-size: .88rem; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline li::after { content: ''; position: absolute; left: 10px; top: 16px; bottom: -4px; width: 2px; background: var(--border-light); }
.timeline li:last-child::after { display: none; }
.timeline small { display: block; color: var(--text-tertiary); font-size: .75rem; }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: var(--radius-full); font-size: .76rem; font-weight: 700; background: #eef2ff; color: #4338ca; }
.status-pill.s-pending_payment { background: #fff4e5; color: #b45309; }
.status-pill.s-paid, .status-pill.s-processing { background: #e8f2fe; color: #0b5ed7; }
.status-pill.s-shipped { background: #f3e8ff; color: #7e22ce; }
.status-pill.s-completed { background: #e7f8ee; color: #15803d; }
.status-pill.s-cancelled { background: #fff1f0; color: #b42318; }

/* Akun */
.acc-wrap { max-width: 560px; margin: 0 auto; }
.tabs { display: flex; gap: 6px; background: var(--bg-secondary); padding: 4px; border-radius: var(--radius-full); margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: var(--radius-full); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--text-secondary); }
.tabs button.active { background: #fff; color: var(--text-primary); box-shadow: var(--shadow-sm); }
.my-order { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border-light); cursor: pointer; }
.my-order:hover .mo-no { color: var(--accent); }
.mo-no { font-weight: 700; }
.mo-sub { font-size: .8rem; color: var(--text-secondary); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: #1d1d1f; color: #fff; padding: 11px 20px; border-radius: var(--radius-full); font-size: .88rem; opacity: 0; pointer-events: none; transition: all var(--transition-medium); z-index: 3000; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: #b42318; }

/* Sticky mobile checkout bar */
.co-mobile-bar { display: none; }

@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; gap: 22px; }
  .pd-gallery { position: static; }
  .co { grid-template-columns: 1fr; }
  .co-sum { position: static; }
}
@media (max-width: 768px) {
  .shop-container { padding: 0 16px; }
  .shop-toolbar { margin: 14px 0 0; padding: 10px 0; }
  .nav-actions .btn-primary { display: none; }
  .shop-sort { max-width: 120px; padding: 0 10px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .s-card-img { padding: 10px; }
  .s-card-body { padding: 10px 12px 12px; }
  .s-name { font-size: .88rem; }
  .s-price { font-size: 1rem; }
  .s-add { padding: 9px 10px; font-size: .84rem; }
  .f-grid { grid-template-columns: 1fr; }
  .co-card { padding: 16px; }
  .shop-main { padding-bottom: 110px; }
  .co-mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 12px; align-items: center; justify-content: space-between;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border-light); box-shadow: 0 -8px 24px rgba(0,0,0,.06);
  }
  .co-mobile-bar small { display: block; color: var(--text-secondary); font-size: .72rem; }
  .co-mobile-bar strong { font-size: 1.05rem; }
  .toast { bottom: 90px; }
}

/* ==========================================================================
   Penyegaran tampilan (s2): hero, kartu produk, kategori, cara belanja
   ========================================================================== */
.shop-main { padding-top: 0; }
.shop-hero2 {
  position: relative; overflow: hidden; margin: 18px 0 8px; padding: clamp(28px, 5vw, 56px); border-radius: 28px; color: #fff;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(0,153,255,.55), transparent 60%), linear-gradient(135deg, #0b1220 0%, #11284d 55%, #0a5fd0 120%);
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
}
.shop-hero2.has-visual { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hero-eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8cc6ff; background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: 99px; }
.shop-hero2 h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin: 16px 0 12px; color: #fff; }
.shop-hero2 p { color: rgba(255,255,255,.78); max-width: 480px; font-size: 1.02rem; line-height: 1.55; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: rgba(255,255,255,.9); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 7px 13px; border-radius: 99px; }
.hero-trust svg { width: 15px; height: 15px; color: #8cc6ff; flex: none; }
.hero-visual { position: relative; min-height: 450px; }
.hero-pick {
  position: absolute; display: flex; flex-direction: column; gap: 3px; width: 44%; padding: 12px; border-radius: 22px; color: #0b1220;
  background: rgba(255,255,255,.96); box-shadow: 0 24px 50px rgba(0,0,0,.35); transition: transform var(--transition-medium);
}
.hero-pick:hover { transform: translateY(-6px) rotate(0deg) !important; }
.hero-pick.hp0 { top: 24px; left: 1%; transform: rotate(-4deg); z-index: 2; }
.hero-pick.hp1 { top: 0; right: 1%; transform: rotate(3deg); }
.hero-pick.hp2 { bottom: 0; left: 28%; transform: rotate(-1.5deg); z-index: 3; }
.hp-img { display: block; aspect-ratio: 1.15 / 1; background: #f3f5f9; border-radius: 14px; padding: 8px; }
.hp-img img { width: 100%; height: 100%; object-fit: contain; }
.hp-name { font-size: .78rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.hp-price { font-size: .86rem; font-weight: 800; color: var(--accent); }

.shop-toolbar { margin-top: 22px; scroll-margin-top: var(--nav-height); }
.shop-chip { display: inline-flex; align-items: center; gap: 7px; }
.shop-chip em { font-style: normal; font-size: .72rem; opacity: .6; font-weight: 600; }
.shop-chip.active em { opacity: .75; }
.shop-grid { gap: 22px; }
.s-card { border-radius: 22px; border-color: rgba(0,0,0,.06); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.s-card:hover { box-shadow: 0 18px 40px rgba(16,40,77,.14); border-color: rgba(0,113,227,.25); }
.s-card-img { background: linear-gradient(180deg, #f6f8fc, #eef2f8); margin: 8px 8px 0; border-radius: 16px; padding: 16px; }
.s-tag { top: 18px; left: 18px; }
.s-tag.sale { right: 18px; }
.s-cat { color: var(--accent); font-weight: 600; letter-spacing: .06em; font-size: .68rem; }
.s-price { font-size: 1.18rem; font-weight: 800; }
.s-add { border-radius: 14px; }
.empty-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--accent-subtle); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.empty-ico svg { width: 30px; height: 30px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

.shop-how { margin-top: 64px; padding: clamp(22px, 4vw, 38px); border-radius: 26px; background: var(--bg-secondary); }
.shop-how h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: -.02em; margin-bottom: 20px; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how-step { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 18px; border-radius: 18px; }
.how-step i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-style: normal; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.how-step b { display: block; font-size: 1rem; margin-bottom: 3px; }
.how-step span { font-size: .85rem; color: var(--text-secondary); line-height: 1.5; }
.how-help { margin-top: 18px; font-size: .9rem; color: var(--text-secondary); }
.how-help a { color: var(--accent); font-weight: 600; }

@media (max-width: 900px) {
  .shop-hero2.has-visual { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; }
  .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .shop-hero2 { border-radius: 22px; margin-top: 12px; padding: 24px 20px; }
  .hero-cta .btn-lg { flex: 1 1 100%; justify-content: center; padding: 12px 18px; font-size: .95rem; }
  .hero-pick { width: 48%; padding: 9px; border-radius: 18px; }
  .hero-visual { display: none; }
  .shop-hero2 h1 { margin: 12px 0 8px; }
  .shop-hero2 p { font-size: .94rem; }
  .hero-cta { margin-top: 18px; gap: 10px; }
  .hero-trust { margin-top: 18px; gap: 6px; }
  .hero-trust span { font-size: .72rem; padding: 6px 10px; }
  .shop-grid { gap: 12px; }
  .s-card { border-radius: 18px; }
  .s-card-img { margin: 6px 6px 0; padding: 10px; border-radius: 13px; }
  .s-tag { top: 12px; left: 12px; }
  .s-tag.sale { right: 12px; }
}

/* ---------- Halaman produk: poin utama, marketplace, video, deskripsi, informasi tambahan (mengikuti halaman produk WordPress) ---------- */
.pd-short { margin: 16px 0 0; padding: 0 0 0 20px; color: var(--text-secondary); font-size: .95rem; line-height: 1.6; }
.pd-short li { margin: 3px 0; }
.pd-below { margin-top: 48px; display: grid; gap: 40px; }
.pd-sec h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.pd-market { display: flex; flex-wrap: wrap; gap: 12px; }
.mk { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: var(--radius-full); border: 1.5px solid var(--border-medium); font-weight: 700; background: #fff; transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); }
.mk-toped { color: #03812c; }
.mk-toped:hover { background: #03812c; border-color: #03812c; color: #fff; }
.mk-shopee { color: #d03a1a; }
.mk-shopee:hover { background: #ee4d2d; border-color: #ee4d2d; color: #fff; }
.mk-tiktok { color: #111; }
.mk-tiktok:hover { background: #111; border-color: #111; color: #fff; }
.pd-media { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.pd-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.pd-video img { width: 100%; height: 100%; object-fit: cover; }
.pd-video span { position: absolute; inset: auto 0 50% 0; margin: 0 auto; width: max-content; transform: translateY(50%); background: rgba(255,255,255,.95); color: #1d1d1f; border-radius: var(--radius-full); padding: 10px 22px; font-weight: 600; }
.pd-video:hover span { background: #fff; }
.pd-video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); background: #000; }
.pd-note { color: var(--text-secondary); font-size: .92rem; margin: 0 0 12px; line-height: 1.6; }
.pd-description p { color: var(--text-secondary); line-height: 1.7; margin: 0 0 12px; }
.pd-description h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.pd-list { margin: 0 0 8px; padding-left: 20px; color: var(--text-secondary); line-height: 1.65; }
.pd-list li { margin: 4px 0; }
.pd-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.pd-table th, .pd-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--border-light); vertical-align: top; }
.pd-table th { width: 38%; max-width: 240px; padding-right: 16px; color: var(--text-primary); font-weight: 600; }
.pd-table td { color: var(--text-secondary); }
.pd-faq { border: 1px solid var(--border-light); border-radius: 10px; margin: 0 0 10px; background: #fff; }
.pd-faq summary { cursor: pointer; font-weight: 600; min-height: 48px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.pd-faq summary::-webkit-details-marker { display: none; }
.pd-faq summary::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid var(--text-secondary); border-bottom: 2px solid var(--text-secondary); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.pd-faq[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.pd-faq[open] summary { border-bottom: 1px solid var(--border-light); }
.pd-faq summary:active { background: rgba(0,0,0,.04); }
.pd-faq p { margin: 0; padding: 12px 14px; color: var(--text-secondary); }
@media (max-width: 640px) { .pd-table th { width: 42%; } .mk { flex: 1 1 140px; } }

/* Galeri dengan banyak thumbnail tidak boleh melebarkan kolom di layar sempit */
.pd > * { min-width: 0; }
@media (max-width: 900px) { .pd { grid-template-columns: minmax(0, 1fr); } .pd-gallery { position: static; } }

/* Pilihan varian (grup produk) */
.pd-variants { margin-top: 18px; display: grid; gap: 14px; }
.pd-variant-label { font-size: .86rem; color: var(--text-secondary); margin-bottom: 8px; }
.pd-variant-label b { color: var(--text-primary); font-weight: 600; }
.pd-variant-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-variant-opt {
  min-height: 44px; min-width: 44px; padding: 8px 16px; border-radius: var(--radius-md); border: 1px solid var(--border-medium);
  background: #fff; font: inherit; font-size: .9rem; color: var(--text-primary); cursor: pointer; transition: border-color var(--transition-fast), background var(--transition-fast);
}
.pd-variant-opt:hover { border-color: var(--text-primary); }
.pd-variant-opt.active { border: 2px solid var(--accent); padding: 7px 15px; font-weight: 600; }
.pd-variant-opt.out { color: var(--text-tertiary); text-decoration: line-through; }
.pd-variant-opt:focus-visible { outline: 3px solid rgba(0,113,227,.35); outline-offset: 2px; }

/* Deskripsi berformat dari editor CMS */
.pd-rich ul, .pd-rich ol { padding-left: 22px; margin: 8px 0; }
.pd-rich li { margin: 4px 0; }
.pd-rich p { margin: 0 0 10px; }
.pd-rich h3, .pd-rich h4 { margin: 14px 0 6px; }
