@charset "UTF-8";
/* ============ TOKEN WARNA & TIPOGRAFI (runtime custom properties) ============ */
:root {
  --ink:#14161b;
  --ink-2:#434860;
  --ink-3:#787e93;
  --paper:#ecedf1;
  --surface:#ffffff;
  --line:#dcdee6;
  --blue:#2f45c5;
  --blue-2:#1f2f96;
  --blue-soft:#e7eafc;
  --r-xl:26px;
  --r-lg:18px;
  --r-md:12px;
  --r-sm:8px;
  --shadow-1:0 1px 2px rgba(20,22,27,.05), 0 10px 26px -14px rgba(20,22,27,.30);
  --shadow-2:0 2px 6px rgba(20,22,27,.06), 0 28px 60px -26px rgba(20,22,27,.42);
  --f-display:"Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body:"Instrument Sans", system-ui, -apple-system, sans-serif;
  --f-mono:"IBM Plex Mono", ui-monospace, monospace;
}

/* ============ TOKEN GERAKAN (dipakai saat compile, khusus Sass) ============ */
/* Reveal satu elemen: fade + geser dari arah tertentu, aktif lewat class .in */
/* Reveal beranak: induk cuma penanda observer, anak-anaknya yang fade + tersusun
   bertahap (stagger) begitu induk kena class .in */
/* ============ KEYFRAMES ============ */
@keyframes float {
  0%, 100% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(5px);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* ============ REVEAL SAAT SCROLL ============ */
.rev {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: translateY(22px);
}
.rev.in {
  opacity: 1;
  transform: none;
}

.rev-left {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: translateX(-34px);
}
.rev-left.in {
  opacity: 1;
  transform: none;
}

.rev-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: translateX(34px);
}
.rev-right.in {
  opacity: 1;
  transform: none;
}

.rev-scale {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: scale(0.92);
}
.rev-scale.in {
  opacity: 1;
  transform: none;
}

/* utilitas jeda bertahap, bisa dipasang di elemen mana pun (d1..d8) */
.d1 {
  transition-delay: 70ms;
}

.d2 {
  transition-delay: 140ms;
}

.d3 {
  transition-delay: 210ms;
}

.d4 {
  transition-delay: 280ms;
}

.d5 {
  transition-delay: 350ms;
}

.d6 {
  transition-delay: 420ms;
}

.d7 {
  transition-delay: 490ms;
}

.d8 {
  transition-delay: 560ms;
}

/* ============ INTRO HERO (langsung jalan saat halaman dimuat) ============ */
.hero-intro > * {
  opacity: 0;
}

.hero-intro > *:nth-child(1) {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: 140ms;
}

.hero-intro > *:nth-child(2) {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: 210ms;
}

.hero-intro > *:nth-child(3) {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: 280ms;
}

.hero-intro > *:nth-child(4) {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: 350ms;
}

.hero-intro > *:nth-child(5) {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: 420ms;
}

.hero-intro > *:nth-child(6) {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: 490ms;
}

.hero-intro > *:nth-child(7) {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: 560ms;
}

/* ============ BILAH PROGRES SCROLL ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 70;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-2), var(--blue));
  transition: width 0.12s linear;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto;
  }
  .rev, .rev-left, .rev-right, .rev-scale {
    opacity: 1;
    transform: none;
  }
  .hero-intro > * {
    opacity: 1;
    animation: none;
  }
}
/* ============ DASAR ============ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  background: radial-gradient(1200px 800px at 6% -12%, rgba(47, 69, 197, 0.09), transparent 60%), radial-gradient(1000px 760px at 100% 105%, rgba(47, 69, 197, 0.07), transparent 58%), var(--paper);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

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

:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.h-sec {
  font-family: var(--f-display);
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-top: 10px;
}

.lead {
  color: var(--ink-2);
  max-width: 52ch;
  margin-top: 12px;
}

.sec-head {
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue);
}

.btn-ghost {
  border: 1.5px solid var(--line);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* ============ NAVBAR ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(236, 237, 241, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 0 0 rgba(20, 22, 27, 0);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(236, 237, 241, 0.94);
  box-shadow: 0 12px 24px -18px rgba(20, 22, 27, 0.28);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 16px;
}

.logo-txt {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 17px;
}
.logo-txt span {
  color: var(--ink-3);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 6px;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-links a:hover {
  background: rgba(20, 22, 27, 0.06);
  color: var(--ink);
}

.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  width: 270px;
  max-width: 100%;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav-search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(47, 69, 197, 0.1);
}
.nav-search input {
  border: 0;
  outline: 0;
  background: none;
  width: 100%;
  min-width: 0;
  font-size: 14px;
}
.nav-search input::placeholder {
  color: var(--ink-3);
}

.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cart-btn:hover {
  border-color: var(--ink);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-count.on {
  transform: scale(1);
}

.google-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.18s ease;
}
.google-btn:hover {
  border-color: var(--ink-3);
}

.customer-menu {
  position: relative;
  flex-shrink: 0;
}

.customer-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.18s ease;
}
.customer-menu summary::-webkit-details-marker {
  display: none;
}
.customer-menu summary:hover {
  border-color: var(--ink-3);
}

.customer-menu[open] summary {
  border-color: var(--ink);
}

.customer-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--f-mono);
  overflow: hidden;
}
.customer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-name {
  font-size: 13px;
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  width: max-content;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  padding: 10px;
  min-width: 170px;
}
.customer-dropdown .ce {
  font-size: 12px;
  color: var(--ink-3);
  padding: 4px 8px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.customer-dropdown button,
.customer-dropdown a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease;
}
.customer-dropdown button:hover,
.customer-dropdown a:hover {
  background: var(--paper);
}

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  place-items: center;
  position: relative;
  z-index: 61;
}
.nav-burger .bar {
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-burger.is-open .bar1 {
  transform: translateY(5px) rotate(45deg);
}
.nav-burger.is-open .bar2 {
  opacity: 0;
}
.nav-burger.is-open .bar3 {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 59;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.mobile-nav a, .mobile-nav button {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-align: left;
  transition: background 0.18s ease;
}
.mobile-nav a:hover, .mobile-nav button:hover {
  background: var(--paper);
}
.mobile-nav.on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* ============ HERO ============ */
.hero {
  padding: 28px 0 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 40px;
  align-items: center;
}
.hero-grid > * {
  min-width: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--ink-2);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 69, 197, 0.16);
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6.6vw, 74px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 20px 0 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero p.sub {
  color: var(--ink-2);
  font-size: 17px;
  margin-top: 18px;
  max-width: 44ch;
}

.config {
  margin-top: 28px;
}

.config-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.config-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  width: 72px;
  flex-shrink: 0;
}

.swatches {
  display: flex;
  gap: 9px;
}

.swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 22, 27, 0.14);
  position: relative;
  transition: transform 0.18s ease;
}
.swatch:hover {
  transform: scale(1.1);
}
.swatch[aria-pressed=true] {
  box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 4.5px var(--ink);
}

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

.cap {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.18s ease;
}
.cap:hover {
  border-color: var(--ink-3);
}
.cap[aria-pressed=true] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.price-block {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 26px 0 8px;
  flex-wrap: wrap;
}

.price-now {
  font-family: var(--f-display);
  font-size: clamp(30px, 4.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.price-was {
  color: var(--ink-3);
  text-decoration: line-through;
  font-size: 16px;
  padding-bottom: 4px;
}

.price-cut {
  background: var(--blue-soft);
  color: var(--blue-2);
  border: 1px solid #d4dbf5;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 3px;
}

.installment {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink-3);
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* panggung produk */
.stage {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 34px 24px 54px;
  display: grid;
  place-items: center;
  min-height: 560px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.stage-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.42;
  transition: background 0.55s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
}

.stage-device {
  position: relative;
  z-index: 1;
  width: 210px;
  height: 420px;
  animation: float 7s ease-in-out infinite;
}

.stage-device svg {
  width: 100%;
  height: 100%;
}

.stage-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: 2;
  background: linear-gradient(180deg, transparent, var(--surface) 60%);
  pointer-events: none;
}

.stage-meta {
  position: absolute;
  left: 22px;
  bottom: 20px;
  right: 22px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.stage-meta > * {
  min-width: 0;
}

.stage-color {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0;
  font-family: var(--f-body);
  font-size: 14px;
}

/* ============ STRIP JAMINAN ============ */
.assure {
  margin-top: 36px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.assure .assure-item {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: translateY(14px);
}
.assure .assure-item:nth-child(1) {
  transition-delay: 70ms;
}
.assure .assure-item:nth-child(2) {
  transition-delay: 140ms;
}
.assure .assure-item:nth-child(3) {
  transition-delay: 210ms;
}
.assure .assure-item:nth-child(4) {
  transition-delay: 280ms;
}
.assure.in .assure-item {
  opacity: 1;
  transform: none;
}

.assure-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.assure-item b {
  font-size: 15px;
  font-weight: 600;
}
.assure-item span {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
}

/* ============ SECTION ============ */
.sec {
  padding: 34px 0;
}

.sec-tight {
  padding: 26px 0;
}

/* chip kategori + kontrol */
.controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

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

.chip {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.18s ease;
}
.chip:hover {
  border-color: var(--ink-3);
}
.chip[aria-pressed=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip b {
  font-family: var(--f-mono);
  font-size: 11px;
  opacity: 0.5;
  margin-left: 5px;
  font-weight: 500;
}

.sortbox {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.sortbox label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sortbox select {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}

/* ============ KARTU PRODUK ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.7s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(20, 22, 27, 0.18);
}

.card-media {
  position: relative;
  height: 210px;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: hidden;
}
.card-media .dev {
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

img.dev {
  object-fit: cover;
  border-radius: 12px;
}

.card:hover .card-media .dev {
  transform: scale(1.06) rotate(-2deg);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.badge.sand {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.badge.blue {
  background: var(--blue);
}

.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--line);
}

.card-cat {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.card-name {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 6px;
  line-height: 1.2;
}
.card:hover .card-name {
  color: var(--blue);
}

.card-spec {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 7px;
  line-height: 1.5;
}

.card-rate {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.star {
  color: var(--blue);
}

.card-price {
  margin-top: auto;
  padding-top: 14px;
}

.cp-now {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cp-was {
  font-size: 12.5px;
  color: var(--ink-3);
  text-decoration: line-through;
  margin-left: 7px;
}

.empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 64px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.empty b {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.empty p {
  color: var(--ink-2);
  font-size: 15px;
}

/* ============ TOKO ============ */
.store {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.store-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
}

.store-left {
  padding: 38px;
}

.store-id {
  display: flex;
  align-items: center;
  gap: 16px;
}

.store-ava {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  flex-shrink: 0;
  background: linear-gradient(140deg, var(--ink), #3b4258);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 25px;
}

.store-name {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.verif {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.store-desc {
  color: var(--ink-2);
  margin-top: 20px;
  font-size: 15px;
  max-width: 46ch;
}

.store-meta {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.meta-row {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  align-items: baseline;
}
.meta-row .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  width: 96px;
  flex-shrink: 0;
}

.store-actions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.store-stats {
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.store-stats .stat {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: translateY(14px);
}
.store-stats .stat:nth-child(1) {
  transition-delay: 70ms;
}
.store-stats .stat:nth-child(2) {
  transition-delay: 140ms;
}
.store-stats .stat:nth-child(3) {
  transition-delay: 210ms;
}
.store-stats .stat:nth-child(4) {
  transition-delay: 280ms;
}
.store-stats.in .stat {
  opacity: 1;
  transform: none;
}

.stat {
  padding: 30px 26px;
  border-bottom: 1px solid var(--line);
}
.stat:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.stat:nth-last-child(-n+2) {
  border-bottom: 0;
}

.stat-num {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-lab {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 8px;
}

.stat-sub {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
}

/* ============ ULASAN ============ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.reviews .review:nth-child(1) {
  transition-delay: 70ms;
}
.reviews .review:nth-child(2) {
  transition-delay: 140ms;
}
.reviews .review:nth-child(3) {
  transition-delay: 210ms;
}

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--blue);
  letter-spacing: 2px;
  font-size: 14px;
}

.review p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-2);
  flex: 1;
}

.review-by {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.rv-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
}

.rv-name {
  font-weight: 600;
  font-size: 14px;
}

.rv-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* ============ PROMO / NEWSLETTER ============ */
.promo {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.promo-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(110px);
  opacity: 0.4;
  right: -90px;
  top: -140px;
}

.promo-in {
  position: relative;
  z-index: 1;
}

.promo h2 {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.promo p {
  color: rgba(255, 255, 255, 0.66);
  margin-top: 14px;
  max-width: 40ch;
}

.form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.form input {
  flex: 1;
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  outline: 0;
  font-size: 15px;
}
.form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}
.form input:focus {
  border-color: rgba(255, 255, 255, 0.55);
}
.form button {
  background: #fff;
  color: var(--ink);
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
}

.form-note {
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 12px;
  letter-spacing: 0.05em;
  width: 100%;
}

/* ============ FOOTER ============ */
.foot {
  border-top: 1px solid var(--line);
  padding: 56px 0 34px;
  margin-top: 20px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
}
.foot-grid > div {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: translateY(14px);
}
.foot-grid > div:nth-child(1) {
  transition-delay: 70ms;
}
.foot-grid > div:nth-child(2) {
  transition-delay: 140ms;
}
.foot-grid > div:nth-child(3) {
  transition-delay: 210ms;
}
.foot-grid > div:nth-child(4) {
  transition-delay: 280ms;
}
.foot-grid.in > div {
  opacity: 1;
  transform: none;
}

.foot h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.foot ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.foot li a {
  font-size: 14.5px;
  color: var(--ink-2);
}
.foot li a:hover {
  color: var(--ink);
}

.foot-about p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 14px;
  max-width: 34ch;
}

.foot-bot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

/* ============ KERANJANG ============ */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 27, 0.42);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.scrim.on {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 92vw;
  z-index: 100;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.38s cubic-bezier(0.5, 0, 0.2, 1);
  box-shadow: var(--shadow-2);
}
.drawer.on {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.x-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}
.x-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
}

.ci {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ci-media {
  width: 56px;
  height: 70px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 6px;
  overflow: hidden;
}
.ci-media .dev {
  width: 100%;
  height: 100%;
}

.ci-name {
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.25;
}

.ci-var {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 3px;
}

.ci-price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14.5px;
  margin-top: 6px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
}
.qty button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 15px;
  color: var(--ink-2);
}
.qty button:hover {
  color: var(--ink);
}
.qty span {
  font-family: var(--f-mono);
  font-size: 13px;
  min-width: 22px;
  text-align: center;
}

.ci-del {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  align-self: flex-start;
  text-decoration: underline;
}
.ci-del:hover {
  color: #b4342a;
}

.cart-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--ink-2);
}
.cart-empty b {
  display: block;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.drawer-foot {
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.drawer-foot .btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.tot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.tot .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tot .v {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.drawer-note {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ============ MODAL PRODUK ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.modal.on {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  width: min(880px, 100%);
  max-height: 88vh;
  overflow: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
  box-shadow: var(--shadow-2);
}

.modal.on .modal-card {
  transform: none;
}

.modal-media {
  display: grid;
  place-items: center;
  padding: 44px;
  position: relative;
  min-height: 340px;
  gap: 16px;
}
.modal-media .dev {
  width: 180px;
  height: 250px;
}
.modal-media img.dev {
  width: 220px;
  height: 280px;
}
.modal-media .gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.modal-media .gallery-nav {
  width: 32px;
  height: 32px;
  font-size: 16px;
}
.modal-media .gallery-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-media .gallery-dots .gdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.modal-media .gallery-dots .gdot.on {
  background: var(--ink);
}

.modal-info {
  background: var(--surface);
  padding: 36px;
  border-left: 1px solid var(--line);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.modal-info h3 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-top: 8px;
}

.specs {
  list-style: none;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.specs li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.specs .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  width: 104px;
  flex-shrink: 0;
  padding-top: 2px;
}

/* ============ CHECKOUT ============ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 34px;
  align-items: start;
}

.checkout-empty {
  text-align: center;
  padding: 60px 20px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 13px 16px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: var(--f-body);
  color: var(--ink);
  outline: 0;
  transition: border-color 0.18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder, .field select::placeholder {
  color: var(--ink-3);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field input[readonly] {
  background: var(--paper);
  color: var(--ink-2);
  cursor: not-allowed;
}

.field select:disabled {
  background: var(--paper);
  color: var(--ink-3);
  cursor: not-allowed;
}

/* Select2 di-skin ulang supaya kelihatan sama seperti <select> polos di atas */
.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 13px 40px 13px 16px;
  transition: border-color 0.18s ease;
}
.select2-container--default .select2-selection__rendered {
  padding: 0;
  line-height: 1.3;
  font-size: 15px;
  font-family: var(--f-body);
  color: var(--ink);
}
.select2-container--default .select2-selection__placeholder {
  color: var(--ink-3);
}
.select2-container--default .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 14px;
  width: 14px;
}
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--ink);
}
.select2-container--default.select2-container--disabled .select2-selection--single {
  background: var(--paper);
  cursor: not-allowed;
}
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered {
  color: var(--ink-3);
}

.select2-dropdown {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  font-family: var(--f-body);
  font-size: 14.5px;
}

.select2-search--dropdown {
  padding: 8px;
}

.select2-search__field {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  outline: 0;
}

.select2-results__option {
  padding: 9px 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--ink);
  color: #fff;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background: var(--paper);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.18s ease;
}
.pay-option:hover {
  border-color: var(--ink-3);
}
.pay-option[aria-pressed=true] {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.pay-option .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
  position: relative;
  box-shadow: none;
  background: none;
}
.pay-option[aria-pressed=true] .dot {
  border-color: var(--ink);
}
.pay-option[aria-pressed=true] .dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ink);
}

.checkout-summary {
  position: sticky;
  top: 96px;
}

.summary-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-item .si-media {
  width: 52px;
  height: 64px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 6px;
}

.summary-item .si-media .dev {
  width: 100%;
  height: 100%;
}

.summary-item .si-info {
  flex: 1;
  min-width: 0;
}

.summary-item .si-name {
  font-weight: 600;
  font-size: 13.5px;
}

.summary-item .si-var {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.summary-item .si-price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13.5px;
  margin-top: 4px;
}

.summary-totals {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.summary-row.total {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 10px;
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 130;
  transform: translate(-50%, 140%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: var(--shadow-2);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
}
.toast.on {
  transform: translate(-50%, 0);
}

/* ============ PANEL — bungkus tiap section jadi kartu ============
   Minimalis: cuma dua nada netral yang berselang-seling, tanpa warna baru */
.panel {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  padding: 52px 44px;
  box-shadow: var(--shadow-1);
}

.panel-surface {
  background: var(--surface);
}

.panel-paper {
  background: var(--paper);
}

/* ============ AUTH ADMIN (login, dsb.) ============ */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(1000px 700px at 8% -10%, rgba(47, 69, 197, 0.09), transparent 60%), radial-gradient(800px 600px at 100% 105%, rgba(47, 69, 197, 0.06), transparent 58%), var(--paper);
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px 34px;
  box-shadow: var(--shadow-2);
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.auth-head {
  text-align: center;
}

.auth-head .eyebrow {
  display: block;
}

.auth-head h1 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.auth-head p {
  color: var(--ink-3);
  font-size: 14px;
  margin-top: 8px;
}

.auth-status {
  background: var(--blue-soft);
  color: var(--blue-2);
  border: 1px solid #d4dbf5;
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: 13.5px;
  margin-top: 20px;
}

.auth-form {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(47, 69, 197, 0.1);
}
.field input.has-error {
  border-color: #c0392b;
}

.field-error {
  color: #b4342a;
  font-size: 12.5px;
}

.field-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}

.auth-forgot {
  display: block;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.auth-forgot:hover {
  color: var(--blue);
}

/* ============ RESPONSIF ============ */
@media (max-width: 1080px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-links {
    display: none;
  }
}
@media (max-width: 900px) {
  .panel {
    padding: 40px 32px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stage {
    min-height: 490px;
    order: -1;
  }
  .stage-device {
    width: 170px;
    height: 340px;
  }
  .store-top {
    grid-template-columns: 1fr;
  }
  .store-stats {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .promo {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px;
  }
  .reviews {
    grid-template-columns: 1fr;
  }
  .assure {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-card {
    grid-template-columns: 1fr;
    max-height: 86vh;
  }
  .modal-info {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px;
  }
  .modal-media {
    min-height: 230px;
    padding: 30px;
  }
  .modal-media .dev {
    width: 132px;
    height: 190px;
  }
  #modalAdd {
    position: sticky;
    bottom: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .wrap {
    padding: 0 18px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .nav-in {
    gap: 14px;
  }
  .logo-txt span {
    display: none;
  }
  .nav-search {
    display: none;
  }
  .nav-burger {
    display: grid;
  }
  .cart-btn {
    margin-left: auto;
  }
  .sec {
    padding: 20px 0;
  }
  .sec-tight {
    padding: 16px 0;
  }
  .panel {
    padding: 28px 16px;
  }
  .card-media {
    height: 172px;
    padding: 16px;
  }
  .card-body {
    padding: 13px 14px 15px;
  }
  .card-name {
    font-size: 14.5px;
  }
  .card-spec {
    font-size: 10.5px;
  }
  .card-rate {
    font-size: 11px;
    margin-top: 7px;
  }
  .card-price {
    padding-top: 10px;
  }
  .cp-now {
    font-size: 15px;
  }
  .cp-was {
    font-size: 10.5px;
    margin-left: 5px;
  }
  .store-left {
    padding: 26px;
  }
  .stat {
    padding: 22px 20px;
  }
  .sortbox {
    margin-left: 0;
    width: 100%;
  }
  .sortbox select {
    flex: 1;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .assure {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .mobile-search {
    display: flex !important;
  }
}
.mobile-search {
  display: none;
  padding: 0 0 14px;
}
