/* Tetran Electro — tampilan toko hitam-putih.
   Dimuat setelah application.css. Bagian pertama memetakan ulang warna lama
   (oranye) ke monokrom supaya halaman yang belum didesain ulang (keranjang,
   checkout, pesanan, admin) ikut seragam. Komponen baru memakai awalan tx-. */

:root {
  --primary: #0a0a0a;
  --primary-light: #2a2a2a;
  --accent: #0a0a0a;
  --accent-light: #3a3a3a;
  --accent-dark: #000000;
  --accent-soft: #f4f4f3;
  --accent-text: #0a0a0a;
  --text: #0a0a0a;
  --text-light: #6a6a66;
  --text-muted: #9a9a95;
  --bg: #f4f4f3;
  --bg-white: #ffffff;
  --border: #e2e2df;
  --border-dark: #c9c9c4;
  --surface-alt: #f4f4f3;
  --radius: 4px;
  --radius-sm: 2px;
  --shadow: none;
  --shadow-md: 0 2px 8px rgba(0,0,0,.06);

  --tx-ink: #0a0a0a;
  --tx-paper: #ffffff;
  --tx-mist: #f4f4f3;
  --tx-line: #e2e2df;
  --tx-mute: #6a6a66;
  --tx-soft: #9a9a95;
  --tx-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --tx-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --tx-wrap: 1280px;
  --tx-r: 2px;
}

body.tx { background: var(--tx-paper); color: var(--tx-ink); font: 15px/1.55 var(--tx-body); -webkit-font-smoothing: antialiased; }
body.tx h1, body.tx h2, body.tx h3 { font-family: var(--tx-display); letter-spacing: -.02em; text-wrap: balance; }
body.tx :focus-visible { outline: 2px solid var(--tx-ink); outline-offset: 2px; }
.tx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Komponen lama yang masih dipakai di keranjang, checkout, dan pesanan */
body.tx .btn { border-radius: var(--tx-r); font-family: var(--tx-display); font-weight: 700; letter-spacing: .01em; }
body.tx .btn-primary:hover { background: #2a2a2a; transform: none; box-shadow: none; }
body.tx .btn-outline:hover { border-color: var(--tx-ink); color: var(--tx-paper); background: var(--tx-ink); }
body.tx .page-breadcrumb { background: transparent; border: 0; }
body.tx .section-title span { color: inherit; }
body.tx .flash { border-radius: var(--tx-r); }
body.tx .flash-notice { background: var(--tx-ink); color: var(--tx-paper); border-color: var(--tx-ink); }
body.tx .cart-toast { border-radius: var(--tx-r); }
body.tx .video-frame { border-radius: var(--tx-r); }

.tx-wrap { max-width: var(--tx-wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .tx-wrap { padding-left: 32px; padding-right: 32px; } }
.tx-eyebrow { font: 600 11px/1 var(--tx-display); letter-spacing: .16em; text-transform: uppercase; }
.tx-dim { color: #9f9f9a; }

/* Pengumuman + header */
.tx-annc { background: var(--tx-ink); color: var(--tx-paper); font-size: 12.5px; letter-spacing: .02em; }
.tx-annc .tx-wrap { display: flex; justify-content: center; gap: 28px; padding-block: 9px; flex-wrap: wrap; text-align: center; }
.tx-annc span + span { opacity: .75; }
@media (max-width: 700px) { .tx-annc span + span { display: none; } }
.tx-top { position: sticky; top: 0; z-index: 50; background: var(--tx-paper); border-bottom: 1px solid var(--tx-line); }
.tx-bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.tx-logo { font: 900 19px/1 var(--tx-display); letter-spacing: .08em; white-space: nowrap; display: flex; align-items: baseline; gap: 6px; color: var(--tx-ink); }
.tx-logo small { font-weight: 500; font-size: 11px; letter-spacing: .32em; }
.tx-nav { display: flex; gap: 22px; flex: 1; justify-content: center; }
.tx-nav a { font: 600 13.5px/1 var(--tx-display); padding-block: 24px; border-bottom: 2px solid transparent; white-space: nowrap; }
.tx-nav a:hover, .tx-nav a[aria-current] { border-color: var(--tx-ink); }
.tx-nav a.tx-sale { text-decoration: underline; text-underline-offset: 4px; }
.tx-tools { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.tx-ico { width: 40px; height: 40px; display: grid; place-items: center; position: relative; border-radius: 50%; color: var(--tx-ink); background: none; border: 0; cursor: pointer; }
.tx-ico:hover { background: var(--tx-mist); }
.tx-ico svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.tx-count { position: absolute; top: 4px; right: 2px; background: var(--tx-ink); color: var(--tx-paper); font: 700 10px/16px var(--tx-display); min-width: 16px; height: 16px; border-radius: 8px; text-align: center; padding-inline: 4px; }
.tx-count[hidden] { display: none; }
.tx-burger { display: none; }
@media (max-width: 1080px) { .tx-nav { display: none; } .tx-burger { display: grid; } .tx-bar { gap: 8px; } }
.tx-user { position: relative; }
.tx-menu { display: none; position: absolute; right: 0; top: 46px; background: var(--tx-paper); border: 1px solid var(--tx-line); min-width: 200px; padding: 8px; z-index: 60; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.tx-user.open .tx-menu { display: grid; }
.tx-menu a, .tx-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; font: 600 14px var(--tx-display); background: none; border: 0; cursor: pointer; color: var(--tx-ink); }
.tx-menu a:hover, .tx-menu button:hover { background: var(--tx-mist); }
.tx-menu-name { padding: 8px 12px; font-size: 12px; color: var(--tx-mute); border-bottom: 1px solid var(--tx-line); margin-bottom: 4px; }

.tx-drawer { position: fixed; inset: 0; z-index: 70; background: rgba(10,10,10,.4); }
.tx-drawer[hidden], .tx-search[hidden] { display: none; }
.tx-drawer-panel { background: var(--tx-paper); width: min(360px, 88vw); height: 100%; padding: 20px 24px; display: flex; flex-direction: column; overflow: auto; }
.tx-drawer-panel > a { font: 700 21px/1.2 var(--tx-display); padding-block: 11px; border-bottom: 1px solid var(--tx-line); }
.tx-drawer-panel .tx-x { align-self: flex-end; }
.tx-drawer-sub { display: grid; gap: 4px; margin-top: 20px; }
.tx-drawer-sub a, .tx-drawer-sub button { font: 600 15px var(--tx-display); padding: 8px 0; text-align: left; background: none; border: 0; color: var(--tx-ink); cursor: pointer; }

.tx-search { position: fixed; inset: 0; z-index: 80; background: var(--tx-paper); overflow: auto; }
.tx-search .tx-wrap { padding-block: 24px; }
.tx-search-row { display: flex; gap: 12px; align-items: center; border-bottom: 2px solid var(--tx-ink); padding-bottom: 8px; }
.tx-search-row input { flex: 1; min-width: 0; font: 700 clamp(22px, 4vw, 36px)/1.2 var(--tx-display); border: 0; padding-block: 10px; outline: 0; background: transparent; color: var(--tx-ink); }
.tx-search-hint { color: var(--tx-mute); margin: 16px 0; font-size: 13px; }
.tx-search-cats { display: flex; gap: 8px; flex-wrap: wrap; }

/* Tombol */
.tx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding-inline: 26px; font: 700 14px/1 var(--tx-display); letter-spacing: .02em; border: 1.5px solid var(--tx-ink); border-radius: var(--tx-r); background: transparent; color: var(--tx-ink); cursor: pointer; transition: background .15s, color .15s; text-align: center; }
.tx-btn.tx-solid { background: var(--tx-ink); color: var(--tx-paper); }
.tx-btn.tx-solid:hover { background: #2a2a2a; }
.tx-btn.tx-line:hover { background: var(--tx-ink); color: var(--tx-paper); }
.tx-btn.tx-inv { border-color: var(--tx-paper); color: var(--tx-paper); }
.tx-btn.tx-inv.tx-solid { background: var(--tx-paper); color: var(--tx-ink); }
.tx-btn.tx-inv.tx-solid:hover { background: #e8e8e6; }
.tx-btn.tx-inv.tx-line:hover { background: var(--tx-paper); color: var(--tx-ink); }
.tx-more { font: 700 13px/1 var(--tx-display); border-bottom: 1.5px solid currentColor; padding-bottom: 3px; white-space: nowrap; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; color: inherit; }
.tx-chip { display: inline-block; height: 36px; padding-inline: 16px; border: 1px solid var(--tx-line); border-radius: 18px; font: 600 13px/34px var(--tx-display); white-space: nowrap; color: var(--tx-ink); }
.tx-chip:hover { border-color: var(--tx-ink); }
.tx-chip[aria-pressed="true"] { background: var(--tx-ink); color: var(--tx-paper); border-color: var(--tx-ink); }

/* Hero */
.tx-hero { background: var(--tx-ink); color: var(--tx-paper); }
.tx-slides { display: grid; }
.tx-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s; }
.tx-slide.on { opacity: 1; visibility: visible; }
.tx-slide-split { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 480px; }
.tx-copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 56px 32px 40px max(32px, calc((100vw - var(--tx-wrap)) / 2 + 32px)); min-width: 0; }
.tx-hero p { font-size: 16px; color: #cfcfcb; margin: 0; max-width: 52ch; }
.tx-hero-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; line-height: 1; letter-spacing: -.03em; margin: 0; color: var(--tx-paper); }
.tx-hero-title.tx-big { font-size: clamp(40px, 6vw, 84px); line-height: .92; letter-spacing: -.04em; }
.tx-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.tx-pic { position: relative; min-height: 320px; background: #161616; }
.tx-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tx-light .tx-pic { background: var(--tx-paper); }
.tx-light .tx-pic img { object-fit: contain; padding: 6%; }
.tx-slide-banner { display: flex; flex-direction: column; }
.tx-bimg { width: 100%; background: #000; display: flex; justify-content: center; }
.tx-bimg img { display: block; width: 100%; height: auto; max-width: calc(78vh * 2000 / 1031); aspect-ratio: 2000 / 1031; object-fit: contain; }
.tx-cap { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; padding-block: 24px; flex-wrap: wrap; width: 100%; }
.tx-cap > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tx-dots { display: flex; gap: 8px; align-items: center; padding-block: 4px 22px; }
.tx-dots button { width: 28px; height: 3px; background: rgba(255,255,255,.3); padding: 0; border: 0; cursor: pointer; }
.tx-dots button[aria-current] { background: var(--tx-paper); }
.tx-dots .tx-pause { width: auto; height: auto; background: none; font: 600 11px/1 var(--tx-display); letter-spacing: .12em; color: #bdbdb8; margin-left: 10px; }
@media (max-width: 800px) {
  .tx-slide-split { grid-template-columns: 1fr; min-height: 0; }
  .tx-pic { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .tx-copy { padding: 28px 16px 24px; }
  .tx-cap { padding-block: 20px 8px; }
}

/* Bagian halaman */
.tx-blk { padding-block: 64px; }
.tx-blk-tight { padding-top: 0; }
.tx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.tx-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin: 0; }
.tx-head p { margin: 6px 0 0; color: var(--tx-mute); }

.tx-cats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.tx-cat { display: flex; flex-direction: column; gap: 10px; }
.tx-cat-ph { aspect-ratio: 1; background: var(--tx-mist); overflow: hidden; border-radius: var(--tx-r); }
.tx-cat-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tx-cat:hover .tx-cat-ph img { transform: scale(1.04); }
.tx-cat b { font: 700 14px/1.2 var(--tx-display); }
.tx-cat span { font-size: 12.5px; color: var(--tx-mute); margin-top: -6px; }
@media (max-width: 1000px) { .tx-cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) {
  .tx-cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .tx-cat { flex: 0 0 38%; scroll-snap-align: start; }
}

/* Grid + kartu produk */
.tx-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 32px 20px; }
.tx-grid.tx-six { --cols: 6; }
.tx-grid.tx-four { --cols: 4; }
.tx-grid.tx-three { --cols: 3; }
@media (max-width: 1100px) { .tx-grid.tx-six { --cols: 3; } .tx-grid.tx-four { --cols: 2; } }
@media (max-width: 700px) { .tx-grid, .tx-grid.tx-six, .tx-grid.tx-four, .tx-grid.tx-three { --cols: 2; gap: 24px 12px; } }
.tx-card { display: flex; flex-direction: column; gap: 9px; min-width: 0; color: var(--tx-ink); }
.tx-ph { position: relative; aspect-ratio: 1; background: var(--tx-mist); overflow: hidden; border-radius: var(--tx-r); }
.tx-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.tx-ph img.tx-ph-b { opacity: 0; }
@media (hover: hover) { .tx-card:hover .tx-ph img.tx-ph-b { opacity: 1; } }
.tx-badge { position: absolute; top: 10px; left: 10px; background: var(--tx-paper); color: var(--tx-ink); font: 800 10.5px/1 var(--tx-display); letter-spacing: .12em; padding: 6px 8px; border-radius: var(--tx-r); }
.tx-badge-dark { background: var(--tx-ink); color: var(--tx-paper); }
.tx-badge-muted { background: var(--tx-mute); color: var(--tx-paper); }
.tx-brand { font: 600 11px/1 var(--tx-display); letter-spacing: .16em; color: var(--tx-mute); }
.tx-card h3 { font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin: 0; overflow-wrap: anywhere; }
.tx-sub { font-size: 13px; color: var(--tx-mute); margin-top: -3px; line-height: 1.35; }
.tx-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-family: var(--tx-display); font-variant-numeric: tabular-nums; }
.tx-price b { font-size: 16px; font-weight: 800; }
.tx-price s { color: var(--tx-soft); font-size: 13px; }
.tx-off { font-size: 12px; font-weight: 800; border: 1px solid var(--tx-ink); padding: 2px 5px; border-radius: var(--tx-r); }
.tx-price-lg b { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.tx-price-lg s { font-size: 16px; }
.tx-stockline { font-size: 12px; color: var(--tx-mute); }

/* Strip kepercayaan */
.tx-trust { border-block: 1px solid var(--tx-line); }
.tx-trust .tx-wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.tx-it { display: flex; gap: 16px; align-items: flex-start; padding: 32px 28px; }
.tx-it + .tx-it { border-left: 1px solid var(--tx-line); }
.tx-it svg { width: 30px; height: 30px; flex: none; stroke: var(--tx-ink); fill: none; stroke-width: 1.4; }
.tx-it b { display: block; font: 700 16px/1.2 var(--tx-display); margin-bottom: 4px; }
.tx-it p { margin: 0; color: var(--tx-mute); font-size: 13.5px; }
@media (max-width: 800px) { .tx-trust .tx-wrap { grid-template-columns: 1fr; } .tx-it { padding: 22px 0; } .tx-it + .tx-it { border-left: 0; border-top: 1px solid var(--tx-line); } }

/* Banner fitur */
.tx-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tx-fb { position: relative; min-height: 440px; overflow: hidden; border-radius: var(--tx-r); background: var(--tx-ink); color: var(--tx-paper); display: flex; align-items: flex-end; }
.tx-fb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .8s; }
.tx-fb:hover img { transform: scale(1.03); }
.tx-fb-t { position: relative; padding: 32px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(transparent, rgba(0,0,0,.75) 40%); width: 100%; }
.tx-fb h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1; letter-spacing: -.03em; margin: 0; color: var(--tx-paper); }
.tx-fb p { margin: 0; color: #d6d6d2; max-width: 38ch; }
.tx-fb .tx-more { align-self: flex-start; margin-top: 6px; }
@media (max-width: 800px) { .tx-feature { grid-template-columns: 1fr; } .tx-fb { min-height: 340px; } }

/* Video */
.tx-videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tx-video { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tx-video-name { font: 700 15px/1.25 var(--tx-display); }
.tx-video-price { font: 800 14px var(--tx-display); }
@media (max-width: 1000px) { .tx-videos { grid-template-columns: repeat(2, 1fr); } }

/* Konsultasi */
.tx-consult { background: var(--tx-ink); color: var(--tx-paper); }
.tx-consult .tx-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-block: 64px; align-items: center; }
.tx-consult h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 900; line-height: .98; letter-spacing: -.035em; margin: 14px 0 0; color: var(--tx-paper); }
.tx-consult p { color: #cfcfcb; max-width: 46ch; }
.tx-wa { display: grid; gap: 12px; }
.tx-wa a { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #3a3a3a; padding: 18px 20px; border-radius: var(--tx-r); transition: border-color .15s; color: var(--tx-paper); }
.tx-wa a:hover { border-color: var(--tx-paper); }
.tx-wa small { display: block; color: #9f9f9a; font: 600 12px var(--tx-display); letter-spacing: .12em; text-transform: uppercase; }
.tx-wa b { font: 700 19px/1.3 var(--tx-display); font-variant-numeric: tabular-nums; }
@media (max-width: 800px) { .tx-consult .tx-wrap { grid-template-columns: 1fr; gap: 24px; padding-block: 48px; } }

/* Footer */
.tx-footer { background: var(--tx-ink); color: #bdbdb8; border-top: 1px solid #222; font-size: 13.5px; }
.tx-fcols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-block: 56px 40px; }
.tx-footer h4 { margin: 0 0 14px; color: var(--tx-paper); font: 700 12px/1 var(--tx-display); letter-spacing: .14em; text-transform: uppercase; }
.tx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tx-footer a:hover { color: var(--tx-paper); }
.tx-footer b { color: var(--tx-paper); font-weight: 600; font-variant-numeric: tabular-nums; }
.tx-footer .tx-logo { color: var(--tx-paper); margin-bottom: 14px; }
.tx-footer p { margin: 0 0 12px; max-width: 36ch; }
.tx-faddr { font-size: 12.5px; color: #8a8a85; }
.tx-legal { border-top: 1px solid #222; padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #8a8a85; }
.tx-soc { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.tx-soc a { border: 1px solid #3a3a3a; padding: 8px 12px; font: 600 12px/1 var(--tx-display); border-radius: var(--tx-r); }
@media (max-width: 900px) { .tx-fcols { grid-template-columns: 1fr 1fr; } .tx-fcols > div:first-child { grid-column: 1 / -1; } }

/* Halaman kategori */
.tx-crumbs { font-size: 12.5px; color: var(--tx-mute); padding-block: 20px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tx-crumbs a:hover { color: var(--tx-ink); text-decoration: underline; }
.tx-cathead { padding-block: 16px 28px; border-bottom: 1px solid var(--tx-line); }
.tx-cathead h1 { font-size: clamp(34px, 5vw, 64px); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin: 0; }
.tx-cathead p { color: var(--tx-mute); margin: 10px 0 0; max-width: 60ch; }
.tx-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.tx-shop { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding-block: 28px 72px; }
.tx-filters { display: flex; flex-direction: column; gap: 28px; align-self: start; position: sticky; top: 84px; }
.tx-filters h4, .tx-filters legend { margin: 0 0 12px; padding: 0; font: 700 12px/1 var(--tx-display); letter-spacing: .14em; text-transform: uppercase; }
.tx-filters fieldset { border: 0; padding: 0; margin: 0; }
.tx-filters > div > a { display: block; font-size: 14px; padding-block: 5px; color: var(--tx-mute); }
.tx-filters > div > a:hover, .tx-filters > div > a.is-on { color: var(--tx-ink); font-weight: 600; }
.tx-filters label { display: flex; gap: 10px; align-items: center; font-size: 14px; padding-block: 5px; cursor: pointer; }
.tx-filters input { accent-color: var(--tx-ink); width: 16px; height: 16px; margin: 0; }
.tx-filters label span { margin-left: auto; color: var(--tx-soft); font-size: 12px; }
.tx-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.tx-toolbar-r { display: flex; gap: 8px; align-items: center; }
.tx-n { font-size: 13.5px; color: var(--tx-mute); }
.tx-select { height: 40px; border: 1px solid var(--tx-line); border-radius: var(--tx-r); padding-inline: 12px; font: 600 13px var(--tx-display); background: var(--tx-paper); color: var(--tx-ink); }
.tx-ftoggle { display: none; height: 40px; padding-inline: 16px; border: 1px solid var(--tx-line); border-radius: var(--tx-r); align-items: center; font: 600 13px var(--tx-display); background: var(--tx-paper); cursor: pointer; }
.tx-empty { padding: 48px 0; color: var(--tx-mute); display: grid; gap: 12px; justify-items: start; }
.tx-empty h3 { color: var(--tx-ink); font-size: 20px; margin: 0; }
@media (max-width: 900px) {
  .tx-shop { grid-template-columns: 1fr; gap: 0; }
  .tx-filters { display: none; position: static; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--tx-line); }
  .tx-filters.open { display: flex; }
  .tx-ftoggle { display: inline-flex; }
}

/* Halaman produk */
.tx-pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-block: 24px 64px; }
.tx-gal { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-self: start; position: sticky; top: 84px; }
.tx-gal:not(:has(.tx-thumbs)) { grid-template-columns: 1fr; }
.tx-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow: auto; }
.tx-thumbs button { aspect-ratio: 1; background: var(--tx-mist); border: 1.5px solid transparent; border-radius: var(--tx-r); overflow: hidden; padding: 0; cursor: pointer; flex: none; }
.tx-thumbs button[aria-current] { border-color: var(--tx-ink); }
.tx-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tx-mainimg { position: relative; aspect-ratio: 1; background: var(--tx-mist); border-radius: var(--tx-r); overflow: hidden; }
.tx-mainimg img { width: 100%; height: 100%; object-fit: cover; }
.tx-ctr { position: absolute; right: 12px; bottom: 12px; background: var(--tx-paper); font: 700 12px/1 var(--tx-display); padding: 6px 9px; border-radius: 12px; }
.tx-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tx-info h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; line-height: 1; letter-spacing: -.035em; margin: -6px 0 0; }
.tx-info-sub { color: var(--tx-mute); margin: -8px 0 0; font-size: 16px; }
.tx-fullname { color: var(--tx-soft); font-size: 12.5px; margin: -10px 0 0; }
.tx-rating { font-size: 13px; color: var(--tx-mute); }
.tx-promo-end { font-size: 12.5px; color: var(--tx-mute); margin: -10px 0 0; }
.tx-assure { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--tx-line); border-radius: var(--tx-r); }
.tx-assure div { padding: 14px 12px; font-size: 12.5px; color: var(--tx-mute); line-height: 1.35; }
.tx-assure div + div { border-left: 1px solid var(--tx-line); }
.tx-assure b { display: block; color: var(--tx-ink); font: 700 13px/1.2 var(--tx-display); margin-bottom: 3px; }
.tx-qty { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.tx-stepper { display: flex; border: 1px solid var(--tx-line); border-radius: var(--tx-r); height: 48px; }
.tx-stepper button { width: 44px; font-size: 20px; background: none; border: 0; cursor: pointer; color: var(--tx-ink); }
.tx-stepper input { width: 52px; border: 0; text-align: center; font: 700 15px var(--tx-display); background: transparent; color: var(--tx-ink); -moz-appearance: textfield; }
.tx-stepper input::-webkit-inner-spin-button, .tx-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tx-ask { font-size: 13.5px; color: var(--tx-mute); }
.tx-ask a, .tx-ship a, .tx-tabpanel a { color: var(--tx-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tx-buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tx-ship { font-size: 13px; color: var(--tx-mute); border-top: 1px solid var(--tx-line); padding-top: 16px; display: grid; gap: 6px; }
.tx-tabs { border-top: 1px solid var(--tx-line); }
.tx-tablist { display: flex; gap: 24px; border-bottom: 1px solid var(--tx-line); overflow-x: auto; }
.tx-tablist button { font: 700 14px/1 var(--tx-display); padding-block: 18px; border: 0; border-bottom: 2px solid transparent; white-space: nowrap; color: var(--tx-mute); background: none; cursor: pointer; }
.tx-tablist button[aria-selected="true"] { border-color: var(--tx-ink); color: var(--tx-ink); }
.tx-tabpanel { padding-block: 20px; font-size: 14.5px; line-height: 1.65; }
.tx-tabpanel p { margin: 0 0 10px; }
.tx-desc { color: #2b2b2b; overflow-wrap: anywhere; }
.tx-tabpanel.tx-clamp .tx-desc { max-height: 320px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.tx-tabpanel .tx-more { margin-top: 14px; }
.tx-spec { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.tx-spec td { padding: 11px 0; border-bottom: 1px solid var(--tx-line); vertical-align: top; font-variant-numeric: tabular-nums; }
.tx-spec td:first-child { color: var(--tx-mute); width: 45%; padding-right: 12px; }
.tx-pvideo h4 { font: 700 14px var(--tx-display); margin: 0 0 10px; }
.tx-reviews { border-top: 1px solid var(--tx-line); padding-top: 40px; }
.tx-reviews h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 24px; }
.tx-stickybuy { display: none; }
@media (max-width: 900px) {
  .tx-pdp { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .tx-gal, .tx-gal:not(:has(.tx-thumbs)) { position: static; grid-template-columns: 1fr; }
  .tx-thumbs { flex-direction: row; order: 2; max-height: none; }
  .tx-thumbs button { width: 64px; }
  .tx-buy { grid-template-columns: 1fr; }
  .tx-stickybuy { display: flex; justify-content: space-between; gap: 12px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--tx-paper); border-top: 1px solid var(--tx-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .tx-stickybuy .tx-price b { font-size: 17px; }
  body.tx:has(.tx-stickybuy) .tx-footer { padding-bottom: 76px; }
}
@media (max-width: 480px) { .tx-assure { grid-template-columns: 1fr; } .tx-assure div + div { border-left: 0; border-top: 1px solid var(--tx-line); } }

@media (prefers-reduced-motion: reduce) { .tx-slide, .tx-ph img, .tx-cat-ph img, .tx-fb img { transition: none; } }

/* Halaman link-in-bio (/links) */
.tx-links { background: var(--tx-paper); min-height: 100vh; display: flex; flex-direction: column; }
.tx-lk-wrap { width: 100%; max-width: 520px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.tx-lk-head { background: var(--tx-ink); color: var(--tx-paper); padding-block: calc(env(safe-area-inset-top, 0px) + 44px) 32px; }
.tx-lk-logo { color: var(--tx-paper); font-size: 30px; flex-direction: column; align-items: flex-start; gap: 6px; }
.tx-lk-logo small { font-size: 13px; letter-spacing: .5em; }
.tx-lk-head p { color: #cfcfcb; margin: 16px 0 24px; font-size: 15px; max-width: 40ch; }
.tx-lk-cta { width: 100%; justify-content: space-between; min-height: 56px; font-size: 15px; }
.tx-lk-main { flex: 1; padding-block: 24px 32px; display: flex; flex-direction: column; gap: 28px; }
.tx-lk-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
.tx-lk-cats .tx-chip { flex: none; }
@media (min-width: 560px) { .tx-lk-cats { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.tx-lk-city h2 { font: 700 12px/1 var(--tx-display); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; color: var(--tx-mute); }
.tx-lk-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--tx-line); border-radius: var(--tx-r); color: var(--tx-ink); transition: border-color .15s, background .15s; }
.tx-lk-row + .tx-lk-row { margin-top: 8px; }
.tx-lk-row:hover { border-color: var(--tx-ink); }
.tx-lk-row svg { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tx-lk-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.tx-lk-text b { font: 700 15.5px/1.2 var(--tx-display); }
.tx-lk-text small { font-size: 12.5px; color: var(--tx-mute); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.tx-lk-arrow { font-size: 18px; }
.tx-lk-row.tx-lk-wa { background: var(--tx-ink); color: var(--tx-paper); border-color: var(--tx-ink); }
.tx-lk-row.tx-lk-wa small { color: #bdbdb8; }
.tx-lk-row.tx-lk-wa:hover { background: #2a2a2a; }
.tx-lk-soc { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tx-lk-soc a { border: 1px solid var(--tx-line); padding: 10px 16px; font: 600 13px/1 var(--tx-display); border-radius: 20px; color: var(--tx-ink); }
.tx-lk-soc a:hover { border-color: var(--tx-ink); }
.tx-lk-foot { border-top: 1px solid var(--tx-line); padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px)); font-size: 12px; color: var(--tx-mute); text-align: center; }
.tx-lk-foot a { color: var(--tx-ink); text-decoration: underline; text-underline-offset: 2px; }
