:root {
  --red: #e50914;
  --red-dark: #b80008;
  --black: #090909;
  --ink: #191919;
  --muted: #6a6a6a;
  --line: #e9e9e9;
  --soft: #f6f6f6;
  --white: #ffffff;
  --green: #148a43;
  --yellow: #f5a400;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
}

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

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

.app-shell {
  min-height: 100vh;
  padding-bottom: 78px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  max-width: var(--content);
  margin: 0 auto;
  padding: 12px 18px;
}

.brand-link {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: clamp(128px, 14vw, 158px);
  height: auto;
}

.brand-mark-small {
  width: 70px;
  height: auto;
}

.search-wrap {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.search-wrap::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid var(--black);
  border-radius: 50%;
  content: "";
  transform: translateY(-58%);
}

.search-wrap::after {
  position: absolute;
  left: 27px;
  top: 50%;
  width: 9px;
  height: 2px;
  background: var(--black);
  content: "";
  transform: rotate(45deg) translate(2px, 5px);
}

.search-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0 44px;
  color: var(--ink);
  outline: none;
}

.search-input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.11);
}

.header-actions,
.desktop-nav,
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  padding: 9px 10px;
}

.desktop-nav {
  grid-column: 3;
  grid-row: 1;
}

.header-actions {
  grid-column: 4;
  grid-row: 1;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background: var(--soft);
  color: var(--black);
}

.icon-btn,
.text-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
}

.text-icon-btn {
  gap: 8px;
  padding: 0 12px;
}

.icon-btn:hover,
.text-icon-btn:hover {
  border-color: var(--black);
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.main {
  max-width: var(--content);
  margin: 0 auto;
  padding: 18px;
}

.mobile-only {
  display: none;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 14px;
}

.section-head h2,
.page-title h1,
.detail-title,
.checkout-title,
.admin-title {
  margin: 0;
  color: var(--black);
  font-size: clamp(24px, 5vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-head p,
.page-title p,
.muted {
  color: var(--muted);
}

.hero-store {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(135deg, #f2f2f2 0 1px, transparent 1px 14px);
}

.hero-copy {
  padding: clamp(22px, 4vw, 46px);
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--red);
  border-radius: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.hero-title {
  max-width: 720px;
  margin: 16px 0 12px;
  color: var(--black);
  font-size: clamp(34px, 6vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title .red {
  color: var(--red);
}

.hero-copy p {
  max-width: 610px;
  margin: 0 0 18px;
  color: #393939;
  font-size: clamp(15px, 2vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-media {
  position: relative;
  min-height: 330px;
  border-left: 1px solid var(--line);
  background: var(--white);
}

.hero-product {
  position: absolute;
  inset: 20px 24px 18px;
  display: grid;
  place-items: center;
}

.hero-product .shirt {
  width: min(76%, 340px);
}

.hero-stamp-logo {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 145px;
  opacity: 0.96;
}

.red-spark {
  position: absolute;
  left: 22px;
  bottom: 26px;
  width: 76px;
  height: 76px;
  color: var(--red);
}

.red-spark::before,
.red-spark::after {
  position: absolute;
  background: currentColor;
  content: "";
  clip-path: polygon(0 42%, 48% 42%, 36% 0, 100% 58%, 52% 58%, 64% 100%);
}

.red-spark::before {
  inset: 0 22px 32px 0;
}

.red-spark::after {
  inset: 34px 0 0 24px;
  transform: rotate(-8deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 950;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(229, 9, 20, 0.22);
}

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

.btn-secondary {
  border-color: var(--black);
  background: var(--white);
  color: var(--black);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--black);
}

.btn-full {
  width: 100%;
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.benefit-row,
.category-row,
.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.benefit {
  display: grid;
  grid-template-columns: 38px minmax(130px, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
}

.benefit b,
.category-tile b,
.product-info b,
.checkout-card b {
  color: var(--black);
}

.benefit span,
.category-tile span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.benefit-icon,
.category-icon,
.admin-metric-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  font-weight: 950;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(128px, 1fr));
  gap: 12px;
  overflow: visible;
}

.category-tile {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.category-tile:hover,
.product-card:hover,
.checkout-card:hover {
  border-color: var(--black);
}

.category-icon {
  margin-bottom: 10px;
  background: var(--soft);
  color: var(--black);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 20%, rgba(229, 9, 20, 0.08), transparent 24%),
    repeating-linear-gradient(135deg, #f8f8f8 0 1px, #ffffff 1px 13px);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.discount-badge,
.mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
  padding: 5px 8px;
}

.discount-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
}

.wishlist-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  font-weight: 950;
}

.wishlist-btn.active {
  border-color: var(--red);
  color: var(--red);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.product-name {
  min-height: 42px;
  color: var(--black);
  font-weight: 900;
  line-height: 1.22;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: baseline;
}

.price {
  color: var(--red);
  font-size: 20px;
  font-weight: 950;
}

.old-price {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
}

.star {
  color: var(--yellow);
  font-weight: 950;
}

.shirt {
  position: relative;
  aspect-ratio: 1 / 0.88;
  width: min(82%, 230px);
  color: var(--white);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.18));
}

.shirt::before {
  position: absolute;
  inset: 12% 12% 0;
  background: var(--shirt, #070707);
  content: "";
  clip-path: polygon(
    22% 0,
    38% 0,
    43% 8%,
    57% 8%,
    62% 0,
    78% 0,
    100% 18%,
    88% 39%,
    78% 34%,
    78% 100%,
    22% 100%,
    22% 34%,
    12% 39%,
    0 18%
  );
}

.shirt.white {
  color: var(--black);
  --shirt: #f5f5f5;
}

.shirt-design {
  position: absolute;
  left: 28%;
  top: 30%;
  width: 44%;
  color: currentColor;
  font-size: clamp(12px, 2.4vw, 22px);
  font-weight: 950;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.shirt-design .red-block {
  display: inline-block;
  margin: 2px 0;
  background: var(--red);
  color: var(--white);
  padding: 1px 3px;
}

.bundle-band,
.newsletter-band {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 8px;
}

.bundle-band {
  border: 1px solid #f3cf74;
  background:
    linear-gradient(90deg, #ffbe2d, #fff0b8),
    #ffbe2d;
}

.bundle-copy,
.newsletter-copy {
  padding: 22px;
}

.bundle-copy h3,
.newsletter-copy h3 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: clamp(24px, 5vw, 38px);
  line-height: 1;
  text-transform: uppercase;
}

.bundle-shirts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
}

.bundle-shirts .shirt {
  width: 34%;
  max-width: 150px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.testimonial {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.avatar {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-weight: 950;
}

.testimonial-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.newsletter-band {
  background: var(--black);
  color: var(--white);
}

.newsletter-band h3,
.newsletter-band p {
  color: var(--white);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  padding: 22px;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0 14px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 850;
  padding: 0 14px;
}

.chip.active,
.chip:hover {
  border-color: var(--red);
  background: #fff4f4;
  color: var(--red);
}

.select,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  min-height: 44px;
  padding: 0 12px;
  outline: none;
}

.field textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.select:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.11);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 24px;
  align-items: start;
}

.detail-gallery {
  position: sticky;
  top: 88px;
}

.detail-main-image {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 520px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    repeating-linear-gradient(135deg, #eeeeee 0 1px, transparent 1px 16px);
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.thumb {
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.thumb.active {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.14);
}

.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0 14px;
  color: var(--muted);
}

.option-group {
  margin-top: 18px;
}

.option-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--black);
  font-weight: 900;
}

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

.option {
  min-width: 64px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-weight: 850;
  padding: 0 12px;
}

.option.active {
  border-color: var(--red);
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--swatch, #111);
}

.qty-stepper {
  display: inline-grid;
  grid-template-columns: 40px 52px 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qty-stepper button,
.qty-stepper span {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 0;
  background: var(--white);
  color: var(--black);
  font-weight: 950;
}

.qty-stepper span {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.detail-facts {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 12px 0 0;
}

.sticky-buy {
  position: sticky;
  bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 12px 0 0;
  margin-top: 18px;
}

.cart-layout,
.checkout-layout,
.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.cart-items,
.checkout-stack,
.admin-stack {
  display: grid;
  gap: 12px;
}

.cart-item,
.checkout-card,
.order-card,
.admin-panel,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.backend-access-card {
  display: grid;
  gap: 12px;
}

.backend-url {
  width: fit-content;
  color: var(--black);
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  text-decoration: none;
}

.backend-url:hover {
  color: var(--red);
}

.admin-credential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-credential-grid span {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 12px;
  color: var(--muted);
}

.admin-credential-grid b {
  color: var(--black);
}

.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
}

.cart-item-img {
  display: grid;
  min-height: 120px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.summary-card {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0;
}

.summary-total {
  border-top: 1px dashed var(--line);
  margin-top: 14px;
  padding-top: 14px;
  color: var(--black);
  font-size: 20px;
  font-weight: 950;
}

.promo-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 14px 0;
}

.checkout-header {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: center;
}

.step {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.step::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin: 0 auto 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  content: attr(data-step);
}

.step.done::before {
  border-color: var(--black);
  content: "OK";
  font-size: 10px;
}

.step.active {
  color: var(--red);
}

.step.active::before {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.check-row {
  color: var(--black);
  font-weight: 850;
}

.field.full {
  grid-column: 1 / -1;
}

.error-text {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.shipping-list,
.payment-list {
  display: grid;
  gap: 10px;
}

.choice-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
  text-align: left;
}

.choice-card.active {
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.choice-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--black);
  font-weight: 950;
}

.radio-dot {
  width: 20px;
  height: 20px;
  border: 2px solid #bdbdbd;
  border-radius: 50%;
}

.choice-card.active .radio-dot {
  border: 6px solid var(--red);
}

.check-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.check-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--red);
}

.payment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.qris-box {
  display: grid;
  gap: 18px;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.fake-qr {
  display: grid;
  width: min(100%, 280px);
  aspect-ratio: 1;
  grid-template-columns: repeat(9, 1fr);
  gap: 5px;
  border: 10px solid var(--white);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}

.qr-cell {
  background: var(--black);
}

.qr-cell.light {
  background: var(--white);
}

.countdown {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff3f3;
  color: var(--red);
  font-weight: 950;
  padding: 8px 12px;
}

.success-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 34px;
  font-weight: 950;
}

.tracking-timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  min-height: 64px;
}

.timeline-item::before {
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: var(--line);
  content: "";
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--line);
  color: var(--white);
  font-size: 10px;
  font-weight: 950;
}

.timeline-item.done .timeline-dot {
  background: var(--green);
}

.timeline-item.current .timeline-dot {
  background: var(--red);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.auth-card {
  gap: 14px;
}

.google-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-weight: 950;
}

.google-btn span,
.profile-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 950;
}

.divider-text {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.divider-text::before,
.divider-text::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.profile-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
  margin-bottom: 14px;
}

.profile-strip div {
  display: grid;
  flex: 1;
  min-width: 0;
}

.settings-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 20px;
}

.admin-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.admin-sidebar a {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 850;
  padding: 10px 12px;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: var(--black);
  color: var(--white);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.metric b {
  display: block;
  margin-top: 10px;
  color: var(--black);
  font-size: 24px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

th {
  background: var(--soft);
  color: var(--black);
  font-size: 13px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.status {
  display: inline-flex;
  border-radius: 999px;
  background: var(--soft);
  color: var(--black);
  font-size: 12px;
  font-weight: 950;
  padding: 5px 9px;
}

.status.green {
  background: #eaf8ef;
  color: var(--green);
}

.status.red {
  background: #fff0f0;
  color: var(--red);
}

.site-footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 28px 18px 34px;
}

.footer-inner h3,
.footer-inner h4 {
  margin: 0 0 10px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
}

.bottom-nav a {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 68px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding-top: 8px;
}

.bottom-nav a.active {
  color: var(--red);
}

.bottom-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 7px;
  border: 1px solid currentColor;
  font-weight: 950;
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 24px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 92px;
  z-index: 80;
  max-width: 360px;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  font-weight: 850;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.hide {
  display: none !important;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand-link {
    grid-column: 1;
  }

  .header-actions {
    grid-column: 2;
  }

  .search-wrap {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero-store,
  .detail-layout,
  .cart-layout,
  .checkout-layout,
  .payment-hero,
  .admin-layout,
  .footer-inner,
  .newsletter-band,
  .bundle-band,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .detail-gallery,
  .summary-card,
  .admin-sidebar {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-row,
  .metric-grid,
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .app-shell {
    padding-bottom: 76px;
  }

  .main {
    padding: 14px;
  }

  .header-actions .text-icon-btn,
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .header-inner {
    gap: 10px;
    padding: 10px 14px;
  }

  .brand-logo {
    width: 142px;
  }

  .hero-store {
    gap: 0;
  }

  .hero-media {
    min-height: 140px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-copy {
    padding: 16px;
  }

  .hero-title {
    font-size: clamp(30px, 9.6vw, 40px);
  }

  .hero-product .shirt {
    width: min(54%, 190px);
  }

  .hero-stamp-logo {
    width: 78px;
  }

  .red-spark {
    width: 42px;
    height: 42px;
  }

  .benefit-row {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .category-row {
    display: flex;
    margin-right: -14px;
    margin-left: -14px;
    overflow-x: auto;
    padding-right: 14px;
    padding-left: 14px;
  }

  .category-tile {
    min-width: 138px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-media {
    min-height: 154px;
  }

  .product-info {
    padding: 10px;
  }

  .product-name {
    min-height: 38px;
    font-size: 13px;
  }

  .price {
    font-size: 17px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-toolbar .search-wrap {
    grid-column: 1 / -1;
  }

  .detail-layout,
  .detail-gallery,
  .detail-main-image,
  .detail-panel,
  .detail-title,
  .detail-meta,
  .price-row,
  .option-group,
  .option-head,
  .option-list,
  .detail-facts,
  .fact-row {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .detail-main-image {
    min-height: 360px;
  }

  .detail-panel {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 16px 0;
  }

  .detail-thumbs {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(5, minmax(64px, 1fr));
    overflow-x: auto;
  }

  .sticky-buy {
    position: fixed;
    right: 0;
    bottom: 68px;
    left: 0;
    z-index: 58;
    border-top: 1px solid var(--line);
    padding: 10px 12px;
    margin: 0;
    box-shadow: 0 -16px 38px rgba(0, 0, 0, 0.08);
  }

  .cart-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .cart-item-img {
    min-height: 96px;
  }

  .form-grid,
  .testimonials,
  .metric-grid,
  .account-grid,
  .settings-toggle-grid {
    grid-template-columns: 1fr;
  }

  .profile-strip {
    align-items: flex-start;
  }

  .admin-credential-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
  }

  .newsletter-form,
  .bundle-shirts {
    padding-top: 0;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .bottom-nav {
    display: grid;
  }

  .footer-inner {
    padding-bottom: 96px;
  }

  .toast {
    right: 12px;
    bottom: 146px;
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 390px) {
  .brand-logo {
    width: 124px;
  }

  .header-actions {
    gap: 5px;
  }

  .icon-btn {
    min-width: 38px;
    height: 38px;
  }

  .hero-actions .btn {
    flex: 1 1 145px;
  }
}

/* Aspirasi Kecil UI refresh */
body {
  background: #fafafa;
}

.site-header {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.search-wrap::before,
.search-wrap::after {
  display: none;
}

.search-icon-img {
  position: absolute;
  left: 10px;
  top: 50%;
  z-index: 1;
  width: 28px;
  height: 28px;
  object-fit: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input {
  border-color: #dedede;
  border-radius: 10px;
  padding-left: 48px;
}

.ui-icon,
.btn-icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.btn-icon {
  width: 24px;
  height: 24px;
}

.icon-btn,
.text-icon-btn {
  overflow: hidden;
  border-radius: 10px;
}

.icon-btn {
  min-width: 44px;
  width: 44px;
  height: 44px;
}

.text-icon-btn {
  min-width: auto;
}

.hero-store {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  border: 2px solid var(--black);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.4) 100%),
    var(--hero-bg) center / cover no-repeat,
    #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 680px;
}

.hero-title {
  max-width: 620px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.96;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px 4px 6px;
}

.hero-proof-row img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.hero-media {
  display: grid;
  min-height: 430px;
  place-items: center;
  border-left: 0;
  background: transparent;
}

.hero-illustration {
  width: min(72%, 360px);
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.15));
}

.hero-mini-card {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: grid;
  gap: 2px;
  border: 2px solid var(--black);
  border-radius: 10px;
  background: var(--white);
  padding: 10px 12px;
  box-shadow: 8px 8px 0 var(--black);
}

.hero-mini-card b {
  color: var(--red);
  font-size: 13px;
  text-transform: uppercase;
}

.hero-mini-card span {
  color: var(--black);
  font-size: 12px;
  font-weight: 850;
}

.benefit {
  min-width: 230px;
  border-radius: 10px;
}

.benefit-icon,
.category-icon,
.choice-icon {
  overflow: hidden;
  background: #fff5f5;
}

.benefit-icon img,
.category-icon img,
.choice-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-tile {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 132px;
  border-radius: 10px;
}

.category-icon {
  width: 64px;
  height: 58px;
  margin-bottom: 2px;
}

.category-icon img {
  padding: 2px;
}

.wishlist-btn {
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.wishlist-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.product-card {
  border-radius: 10px;
}

.product-media {
  background:
    radial-gradient(circle at 80% 18%, rgba(229, 9, 20, 0.1), transparent 24%),
    linear-gradient(180deg, #fff, #f7f7f7);
}

.choice-icon {
  width: 46px;
  height: 46px;
  padding: 4px;
}

.bottom-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-reset {
  gap: 6px;
}

@media (max-width: 700px) {
  .app-shell {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .site-header {
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  }

  .header-inner {
    gap: 8px;
    padding: 8px 12px 10px;
  }

  .brand-logo {
    width: 112px;
    max-height: 64px;
    object-fit: contain;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-btn {
    min-width: 38px;
    width: 38px;
    height: 38px;
    border-color: #ededed;
  }

  .ui-icon {
    width: 27px;
    height: 27px;
  }

  .search-input {
    height: 42px;
    border-radius: 10px;
    font-size: 13px;
  }

  .search-icon-img {
    width: 26px;
    height: 26px;
  }

  .main {
    padding: 10px 12px;
  }

  .hero-store {
    display: block;
    min-height: 338px;
    overflow: hidden;
    border-width: 1px;
    border-radius: 12px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 52%, rgba(255, 255, 255, 0.68) 100%),
      var(--hero-bg) center / cover no-repeat,
      #fff;
  }

  .hero-copy {
    max-width: 100%;
    padding: 16px;
  }

  .stamp {
    border-radius: 8px;
    font-size: 10px;
    padding: 6px 8px;
  }

  .hero-title {
    max-width: 295px;
    margin: 12px 0 8px;
    font-size: clamp(31px, 9vw, 38px);
    line-height: 0.98;
  }

  .hero-copy p {
    max-width: 270px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-proof-row {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    margin-top: 12px;
    padding-bottom: 2px;
  }

  .hero-proof-row span {
    flex: 0 0 auto;
    min-height: 28px;
    font-size: 11px;
    padding: 3px 9px 3px 4px;
  }

  .hero-proof-row img {
    width: 22px;
    height: 22px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .hero-actions .btn {
    min-height: 42px;
    border-radius: 9px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-media {
    position: absolute;
    right: -18px;
    bottom: -4px;
    width: 150px;
    min-height: 140px;
    height: 140px;
    pointer-events: none;
  }

  .hero-illustration {
    width: 144px;
    max-height: 132px;
  }

  .hero-mini-card {
    display: none;
  }

  .section-head {
    align-items: center;
    margin: 18px 0 10px;
  }

  .section-head h2,
  .page-title h1,
  .detail-title,
  .checkout-title,
  .admin-title {
    font-size: 22px;
    line-height: 1.08;
  }

  .section-head p,
  .page-title p {
    margin: 5px 0 0;
    font-size: 13px;
  }

  .benefit-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    overflow: visible;
    padding: 0;
  }

  .benefit {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
    border-radius: 10px;
    padding: 9px;
  }

  .benefit-icon {
    width: 42px;
    height: 42px;
  }

  .benefit b {
    display: block;
    font-size: 12px;
    line-height: 1.2;
  }

  .benefit span span {
    font-size: 10.5px;
    line-height: 1.15;
  }

  .category-row {
    gap: 9px;
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .category-tile {
    min-width: 116px;
    min-height: 122px;
    padding: 10px;
  }

  .category-icon {
    width: 62px;
    height: 56px;
  }

  .category-tile b {
    font-size: 12.5px;
    line-height: 1.15;
  }

  .category-tile span:last-child {
    font-size: 10.5px;
  }

  .product-grid {
    gap: 9px;
  }

  .product-card {
    border-radius: 10px;
  }

  .product-media {
    min-height: 132px;
  }

  .discount-badge {
    left: 7px;
    top: 7px;
    border-radius: 7px;
    font-size: 10px;
    padding: 4px 6px;
  }

  .wishlist-btn {
    right: 7px;
    top: 7px;
    width: 30px;
    height: 30px;
  }

  .wishlist-btn img {
    width: 20px;
    height: 20px;
  }

  .product-info {
    gap: 6px;
    padding: 9px;
  }

  .product-name {
    min-height: 32px;
    font-size: 12.5px;
    line-height: 1.25;
  }

  .price {
    font-size: 15.5px;
  }

  .old-price,
  .rating-row {
    font-size: 11px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr 104px;
    gap: 8px;
  }

  .catalog-toolbar .btn {
    min-height: 42px;
    padding: 0 10px;
  }

  .choice-icon {
    width: 40px;
    height: 40px;
  }

  .choice-card {
    border-radius: 10px;
    padding: 10px;
  }

  .bottom-nav {
    height: calc(72px + env(safe-area-inset-bottom));
    align-items: start;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .bottom-nav a {
    min-height: 70px;
    gap: 2px;
    font-size: 10.5px;
    padding-top: 6px;
  }

  .bottom-icon {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 0;
  }

  .bottom-nav a.active .bottom-icon {
    filter: drop-shadow(0 4px 7px rgba(229, 9, 20, 0.24));
  }
}

@media (max-width: 390px) {
  .brand-logo {
    width: 106px;
  }

  .hero-title {
    max-width: 270px;
    font-size: 32px;
  }

  .hero-copy p {
    max-width: 250px;
  }

  .hero-actions .btn {
    flex: 1 1 128px;
  }
}

.hero-proof-row,
.category-row {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hero-proof-row::-webkit-scrollbar,
.category-row::-webkit-scrollbar {
  display: none;
}

@media (max-width: 700px) {
  .hero-proof-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .hero-proof-row span {
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 4px;
    text-align: center;
    white-space: normal;
  }

  .hero-proof-row img {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }
}

/* Editable storefront and UMKM backend */
.promo-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--black);
  border-radius: 8px;
  background: var(--black);
  margin-inline: calc(50% - 50vw);
}

.promo-slider-track {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.promo-slider-track::-webkit-scrollbar {
  display: none;
}

.promo-slide {
  position: relative;
  min-height: clamp(410px, 52vw, 620px);
  scroll-snap-align: start;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 36%, rgba(255, 255, 255, 0.2) 72%),
    var(--banner) center / cover no-repeat,
    #fff;
}

.promo-slide.image-banner {
  background: var(--banner) center / cover no-repeat, #fff;
}

.promo-slide-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.slider-count {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
  font-size: 12px;
  font-weight: 950;
  padding: 6px 10px;
}

.promo-slide-overlay {
  display: flex;
  width: min(650px, 58%);
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 5vw, 56px);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  font-size: 22px;
  font-weight: 950;
  transform: translateY(-50%);
}

.slider-arrow.prev {
  left: 12px;
}

.slider-arrow.next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  gap: 7px;
}

.slider-dots span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 950;
}

.product-empty img,
.empty-state img {
  width: min(220px, 55vw);
  margin: 0 auto 10px;
}

.promo-strip-icon {
  width: min(28vw, 180px);
  max-height: 180px;
  object-fit: contain;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  padding: 10px 12px;
  outline: none;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.11);
}

.file-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.table-thumb {
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.table-thumb.icon {
  padding: 5px;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-checklist {
  display: grid;
  gap: 10px;
}

.check-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.check-item span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 950;
}

.check-item.done span {
  background: var(--black);
}

.admin-app-shell {
  min-height: 100vh;
  background: #fafafa;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  padding: 10px clamp(14px, 4vw, 28px);
  backdrop-filter: blur(16px);
}

.admin-topbar .brand-link {
  flex: 0 1 auto;
}

.admin-topbar .brand-logo {
  width: clamp(116px, 14vw, 150px);
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-main {
  padding-top: 20px;
  padding-bottom: 34px;
}

.admin-login-screen {
  display: grid;
  min-height: calc(100vh - 118px);
  place-items: center;
  padding: 20px 0;
}

.admin-login-card {
  display: grid;
  width: min(100%, 430px);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(18px, 5vw, 28px);
}

.admin-login-card h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(28px, 8vw, 44px);
  line-height: 1.02;
}

.admin-login-card .brand-mark-small {
  width: min(48vw, 150px);
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.banner-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.banner-preview {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.banner-preview img {
  width: 150px;
  aspect-ratio: 16 / 7.2;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.banner-preview span {
  display: block;
}

.bank-box,
.payment-placeholder {
  display: grid;
  gap: 8px;
  width: min(100%, 360px);
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fffafa;
  padding: 16px;
  text-align: center;
}

.payment-placeholder.full,
.qris-preview.full {
  width: 100%;
}

.qris-preview {
  display: grid;
  justify-items: start;
  gap: 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.qris-image {
  width: min(100%, 420px);
  max-height: min(70vh, 640px);
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  padding: 10px;
}

.payment-placeholder img {
  width: 92px;
  height: 92px;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .promo-slide {
    min-height: 430px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.25) 100%),
      var(--mobile-banner, var(--banner)) center bottom / cover no-repeat,
      #fff;
  }

  .promo-slide.image-banner {
    min-height: clamp(560px, 170vw, 760px);
    background: var(--mobile-banner, var(--banner)) center top / cover no-repeat, #fff;
  }

  .promo-slide-overlay {
    width: 100%;
    min-height: 430px;
    justify-content: start;
    padding: 16px;
  }

  .promo-slide .hero-title {
    max-width: 310px;
    font-size: 34px;
  }

  .promo-slide-overlay p {
    max-width: 310px;
    font-size: 13px;
  }

  .slider-arrow {
    display: none;
  }

  .slider-dots {
    right: 12px;
    bottom: 10px;
  }

  .slider-count {
    right: 10px;
    top: 10px;
    font-size: 11px;
    padding: 5px 8px;
  }

  .banner-preview {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .banner-preview img {
    width: 86px;
  }

  .banner-preview .btn {
    grid-column: 1 / -1;
  }

  .table-thumb {
    width: 46px;
    height: 46px;
  }

  .field input,
  .field textarea,
  .field select {
    min-height: 42px;
    font-size: 13px;
  }

  .admin-topbar {
    align-items: flex-start;
    padding: 8px 12px;
  }

  .admin-topbar-actions .btn {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

  .admin-main {
    padding: 12px;
  }

  .admin-login-screen {
    min-height: calc(100vh - 94px);
    align-items: start;
    padding-top: 12px;
  }

  .admin-login-card {
    box-shadow: none;
  }

  .admin-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
  }

  .admin-sidebar a {
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 8px;
    text-align: center;
    font-size: 13px;
  }

  .admin-app-shell,
  .admin-main,
  .admin-shell,
  .admin-stack,
  .admin-panel,
  .admin-form,
  .admin-layout,
  .form-grid,
  .banner-list,
  .banner-preview,
  .metric-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .admin-shell,
  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .admin-main {
    overflow-x: hidden;
  }

  .admin-stack,
  .admin-panel {
    overflow: hidden;
  }

  .admin-sidebar {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }
}

/* Storefront UI polish - clean mobile app style */
body {
  background: #fff;
}

.app-shell {
  background:
    radial-gradient(circle at 50% -120px, rgba(229, 9, 20, 0.035), transparent 380px),
    #fff;
  padding-bottom: 108px;
}

.app-shell .main {
  display: grid;
  gap: 28px;
  max-width: 1180px;
  padding: 22px clamp(18px, 4vw, 34px) 40px;
}

.site-header {
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.header-inner {
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  gap: 18px;
  max-width: 1180px;
  padding: 18px clamp(18px, 4vw, 34px) 14px;
}

.brand-logo {
  width: clamp(138px, 16vw, 190px);
}

.desktop-nav {
  justify-content: center;
  gap: 18px;
}

.desktop-nav a {
  background: transparent;
  color: #121212;
  font-weight: 900;
  padding: 10px 6px;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  background: transparent;
  color: var(--red);
}

.header-actions {
  gap: 12px;
}

.icon-btn,
.text-icon-btn {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-color: #dedede;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.text-icon-btn {
  width: auto;
  min-width: auto;
  padding: 0 16px;
}

.ui-icon,
.icon-btn img,
.bottom-icon img,
.btn-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.cart-badge {
  top: 9px;
  right: 9px;
  min-width: 10px;
  width: 10px;
  height: 10px;
  color: transparent;
  font-size: 0;
  border: 2px solid #fff;
}

.search-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-wrap::before,
.search-wrap::after {
  display: none;
}

.search-icon-img {
  position: absolute;
  left: 22px;
  z-index: 1;
  width: 30px;
  height: 30px;
  opacity: 0.7;
  object-fit: contain;
}

.search-input {
  height: 66px;
  border-color: #dedede;
  border-radius: 22px;
  padding: 0 22px 0 68px;
  color: #171717;
  font-size: 18px;
  font-weight: 600;
}

.search-input::placeholder {
  color: #999;
  font-weight: 500;
}

.search-input:focus {
  border-color: rgba(229, 9, 20, 0.55);
  box-shadow: 0 0 0 5px rgba(229, 9, 20, 0.08);
}

.promo-slider {
  position: relative;
  margin: 2px 0 0;
}

.promo-slider-track {
  gap: 18px;
  scroll-snap-type: x mandatory;
}

.promo-slide {
  min-height: 420px;
  border: 1px solid #ececec;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.16)),
    var(--banner) center / cover no-repeat,
    #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  scroll-snap-align: start;
}

.promo-slide.image-banner {
  aspect-ratio: 16 / 7.8;
  min-height: 0;
  background: var(--banner) center / cover no-repeat, #fff;
}

.promo-slide-overlay {
  min-height: 420px;
  padding: clamp(26px, 5vw, 58px);
}

.promo-slide .hero-title {
  max-width: 520px;
  color: #090909;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 0.95;
}

.promo-slide-overlay p {
  max-width: 440px;
  color: #191919;
  font-size: 20px;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
}

.slider-dots {
  right: 50%;
  bottom: 16px;
  transform: translateX(50%);
}

.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cfcfcf;
  color: transparent;
  overflow: hidden;
}

.slider-dots span:first-child {
  background: var(--red);
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #ededed;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.benefit {
  display: grid;
  min-height: 104px;
  grid-template-columns: 1fr;
  gap: 8px;
  justify-items: center;
  border: 0;
  border-right: 1px solid #ececec;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  justify-content: center;
  padding: 18px;
  text-align: center;
}

.benefit > span:not(.benefit-icon) {
  display: grid;
  gap: 2px;
  min-width: 0;
  justify-items: center;
}

.benefit:last-child {
  border-right: 0;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.benefit b {
  display: block;
  color: #111;
  font-size: 15px;
  line-height: 1.15;
}

.benefit span span,
.category-tile span,
.section-head p,
.page-title p {
  color: #777;
}

.section-head {
  align-items: end;
  margin: 4px 0 -8px;
}

.section-head h2,
.page-title h1 {
  color: #070707;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.04;
}

.section-head h2 {
  font-size: clamp(24px, 3.5vw, 36px);
}

.section-link {
  color: #222;
  font-weight: 800;
}

.page-title {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 12px 0 0;
}

.page-title .stamp,
.stamp {
  width: fit-content;
  border: 2px solid var(--red);
  border-radius: 12px;
  background: #fff;
  color: var(--red);
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 11px 15px;
  text-transform: uppercase;
}

.chips {
  display: flex;
  gap: 14px;
  margin: -2px 0 -4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  min-height: 54px;
  border: 1px solid #dddddd;
  border-radius: 999px;
  background: #fff;
  color: #151515;
  font-weight: 900;
  padding: 14px 28px;
  white-space: nowrap;
}

.chip.active,
.chip:hover {
  border-color: var(--red);
  background: #fff;
  color: var(--red);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) minmax(140px, 190px);
  gap: 14px;
  align-items: center;
}

.catalog-toolbar .search-wrap {
  grid-column: auto;
}

.select,
.catalog-toolbar select,
.catalog-reset {
  min-height: 66px;
  border: 1px solid #dedede;
  border-radius: 18px;
  background-color: #fff;
  color: #151515;
  font-size: 18px;
  font-weight: 800;
}

.catalog-reset {
  display: inline-flex;
  justify-content: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.product-card .wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

.product-card .wishlist-btn img {
  width: 26px;
  height: 26px;
}

.product-card .wishlist-btn.active {
  border-color: rgba(229, 9, 20, 0.3);
  background: #fff1f2;
}

.product-media {
  display: grid;
  min-height: 0;
  aspect-ratio: 1 / 1;
  place-items: center;
  background: #fff;
  padding: 20px 14px 6px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.discount-badge {
  top: 14px;
  left: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  box-shadow: 0 8px 18px rgba(229, 9, 20, 0.18);
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  padding: 8px 12px;
}

.product-info {
  display: grid;
  gap: 8px;
  padding: 14px 18px 20px;
}

.product-name {
  min-height: 0;
  color: #111;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.18;
}

.price-row {
  align-items: baseline;
  gap: 10px;
}

.price {
  color: #070707;
  font-size: 21px;
  font-weight: 950;
}

.old-price {
  color: #9b9b9b;
  font-size: 15px;
}

.rating-row {
  display: none;
}

.bundle-band,
.promo-hero-card {
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.22), transparent 90px),
    linear-gradient(135deg, #ef0712, #d70008);
  color: #fff;
  box-shadow: 0 18px 44px rgba(229, 9, 20, 0.16);
  overflow: hidden;
}

.bundle-band {
  align-items: center;
}

.bundle-copy h3,
.promo-hero-card h2 {
  color: #fff;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05;
}

.bundle-copy p,
.promo-hero-card p {
  color: rgba(255, 255, 255, 0.92);
}

.bundle-band .btn-secondary,
.promo-hero-card .btn-secondary {
  border-color: #fff;
  background: #fff;
  color: var(--red);
}

.promo-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: center;
  min-height: 260px;
  padding: clamp(28px, 5vw, 56px);
}

.promo-hero-icon {
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(-9deg);
}

.promo-hero-icon img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.22));
}

.voucher-list {
  display: grid;
  gap: 16px;
}

.voucher-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid #e7e7e7;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.voucher-value {
  display: grid;
  min-height: 106px;
  place-items: center;
  background: #fff2f2;
  color: var(--red);
  font-size: 42px;
  font-weight: 950;
}

.voucher-card div:nth-child(2) {
  display: grid;
  gap: 4px;
  padding: 18px 22px;
}

.voucher-card b {
  color: #111;
  font-size: 21px;
}

.voucher-card span,
.voucher-card small {
  color: #777;
  font-size: 16px;
}

.copy-voucher {
  width: 58px;
  height: 58px;
  margin-right: 18px;
  border: 1px solid #e1e1e1;
  border-radius: 16px;
  background: #fff;
  color: #111;
  font-size: 0;
}

.copy-voucher::before {
  content: "Copy";
  font-size: 12px;
  font-weight: 900;
}

.empty-cart-panel {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: 28px 0 8px;
  text-align: center;
}

.empty-cart-visual {
  position: relative;
  display: grid;
  width: min(48vw, 280px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #f4f4f4;
}

.empty-cart-visual > img {
  width: 52%;
  opacity: 0.32;
}

.empty-cart-visual span {
  position: absolute;
  display: grid;
  width: 34%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.empty-cart-visual span img {
  width: 82%;
}

.quick-category-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 12px;
}

.quick-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 74px;
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  background: #fff;
  color: #111;
  font-size: 18px;
  font-weight: 900;
}

.quick-category img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.cart-layout {
  align-items: start;
}

.cart-item {
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  border-color: #e8e8e8;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.035);
}

.cart-item-img {
  min-height: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item h3 {
  margin: 0 0 8px;
  color: #111;
  font-size: 20px;
  line-height: 1.18;
}

.cart-actions {
  justify-content: start;
  gap: 10px;
  margin-top: 12px;
}

.qty-stepper {
  border-color: #e8e8e8;
  border-radius: 13px;
}

.qty-stepper button,
.qty-stepper span {
  min-width: 44px;
  height: 42px;
}

.summary-card {
  border-color: #e8e8e8;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.045);
}

.account-login-layout {
  display: grid;
  gap: 28px;
  max-width: 900px;
}

.account-auth-card {
  display: grid;
  gap: 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.google-btn {
  min-height: 78px;
  border: 1px solid #e3e3e3;
  border-radius: 18px;
  background: #fff;
  color: #111;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.04);
}

.google-btn span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: transparent;
  color: #4285f4;
  font-size: 32px;
  font-weight: 950;
}

.divider-text {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  color: #777;
  font-size: 20px;
  font-weight: 800;
}

.divider-text::before,
.divider-text::after {
  height: 1px;
  background: #dedede;
  content: "";
}

.account-auth-card .field span {
  display: none;
}

.account-auth-card .field input {
  min-height: 74px;
  border-color: #dedede;
  border-radius: 18px;
  padding-inline: 26px;
  color: #111;
  font-size: 20px;
}

.account-auth-card .btn-primary {
  min-height: 78px;
  border-radius: 18px;
  font-size: 22px;
}

.account-benefit-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.account-benefit {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 172px;
  border: 1px solid #e7e7e7;
  border-radius: 20px;
  background: #fff;
  padding: 26px 16px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.035);
}

.account-benefit img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.account-benefit b {
  color: #111;
  font-size: 20px;
}

.account-benefit span {
  color: #222;
  font-size: 18px;
}

.bottom-nav {
  border-top: 0;
}

.site-footer {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    grid-column: 3;
  }

  .search-wrap {
    grid-column: 1 / -1;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 220px) minmax(130px, 170px);
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .app-shell .main {
    gap: 26px;
    padding: 16px 20px 26px;
  }

  .site-header {
    position: static;
    background: #fff;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 12px;
    padding: 26px 20px 10px;
  }

  .brand-logo {
    width: 166px;
  }

  .header-actions {
    grid-column: 2;
    gap: 12px;
  }

  .icon-btn {
    width: 58px;
    min-width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .header-actions .text-icon-btn,
  .desktop-only {
    display: none;
  }

  .search-wrap {
    grid-column: 1 / -1;
    width: 100%;
  }

  .search-input {
    height: 62px;
    border-radius: 18px;
    font-size: 18px;
  }

  .promo-slide,
  .promo-slide.image-banner {
    min-width: 100%;
    aspect-ratio: 1.78 / 1;
    min-height: 0;
    border-radius: 18px;
    background: var(--banner) center / cover no-repeat, #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  }

  .promo-slide-overlay {
    min-height: 0;
    aspect-ratio: 1.78 / 1;
    padding: 20px;
  }

  .promo-slide .hero-title {
    max-width: 260px;
    font-size: 33px;
  }

  .promo-slide-overlay p,
  .hero-proof-row,
  .hero-actions .btn-secondary,
  .slider-count {
    display: none;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-actions .btn-primary {
    min-height: 48px;
    border-radius: 10px;
    padding: 0 22px;
    font-size: 14px;
  }

  .slider-arrow {
    display: none;
  }

  .slider-dots {
    bottom: -20px;
  }

  .slider-dots span {
    width: 8px;
    height: 8px;
  }

  .benefit-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 8px 0 0;
    border-radius: 18px;
  }

  .benefit {
    min-height: 94px;
    gap: 6px;
    padding: 12px 6px;
  }

  .benefit-icon {
    width: 36px;
    height: 36px;
  }

  .benefit b {
    max-width: 78px;
    font-size: 11.5px;
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .benefit span span {
    display: none;
  }

  .page-title {
    gap: 12px;
    margin-top: 18px;
  }

  .page-title .stamp,
  .stamp {
    border-radius: 9px;
    font-size: 14px;
    letter-spacing: 0.16em;
    padding: 9px 12px;
  }

  .page-title h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .page-title p {
    font-size: 19px;
  }

  .section-head {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .section-head p {
    display: none;
  }

  .chips {
    gap: 12px;
    margin-right: -20px;
    margin-left: -20px;
    padding: 0 20px 4px;
  }

  .chip {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 16px;
  }

  .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 12px;
  }

  .catalog-toolbar .search-wrap {
    display: none;
  }

  .catalog-toolbar .select {
    min-height: 56px;
    border-radius: 14px;
    padding: 0 18px;
    font-size: 16px;
  }

  .catalog-reset {
    min-height: 56px;
    border-radius: 14px;
    padding: 0 12px;
    font-size: 15px;
  }

  .catalog-reset .btn-icon {
    width: 24px;
    height: 24px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .product-card {
    border-radius: 16px;
  }

  .product-media {
    padding: 18px 10px 4px;
  }

  .discount-badge {
    top: 12px;
    left: 12px;
    border-radius: 9px;
    font-size: 15px;
    padding: 6px 9px;
  }

  .product-card .wishlist-btn {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .product-info {
    gap: 6px;
    padding: 10px 12px 14px;
  }

  .product-name {
    font-size: 16px;
  }

  .price {
    font-size: 18px;
  }

  .old-price {
    font-size: 13px;
  }

  .bundle-band,
  .promo-hero-card {
    border-radius: 18px;
  }

  .promo-hero-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    min-height: 206px;
    padding: 24px;
  }

  .promo-hero-card h2 {
    font-size: 36px;
  }

  .promo-hero-icon {
    width: 106px;
    height: 106px;
    border-radius: 24px;
  }

  .promo-hero-icon img {
    width: 78px;
    height: 78px;
  }

  .voucher-card {
    grid-template-columns: 112px minmax(0, 1fr) 54px;
    border-radius: 16px;
  }

  .voucher-value {
    min-height: 92px;
    font-size: 35px;
  }

  .voucher-card div:nth-child(2) {
    padding: 14px;
  }

  .voucher-card b {
    font-size: 18px;
  }

  .voucher-card span,
  .voucher-card small {
    font-size: 14px;
  }

  .copy-voucher {
    width: 44px;
    height: 44px;
    margin-right: 10px;
    border-radius: 13px;
  }

  .quick-category-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .quick-category {
    min-height: 72px;
    flex-direction: column;
    gap: 6px;
    border-radius: 15px;
    font-size: 14px;
    text-align: center;
  }

  .quick-category img {
    width: 30px;
    height: 30px;
  }

  .cart-layout {
    gap: 18px;
  }

  .cart-item {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 14px;
    border-radius: 16px;
    padding: 14px;
  }

  .cart-item h3 {
    font-size: 16px;
  }

  .cart-item-img {
    border-radius: 14px;
    padding: 6px;
  }

  .qty-stepper button,
  .qty-stepper span {
    min-width: 38px;
    height: 38px;
  }

  .account-login-layout {
    max-width: none;
  }

  .google-btn,
  .account-auth-card .btn-primary {
    min-height: 70px;
    border-radius: 16px;
    font-size: 20px;
  }

  .account-auth-card .field input {
    min-height: 66px;
    border-radius: 16px;
    font-size: 18px;
  }

  .account-benefit-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .account-benefit {
    min-height: 140px;
    border-radius: 16px;
    padding: 18px 8px;
  }

  .account-benefit img {
    width: 40px;
    height: 40px;
  }

  .account-benefit b {
    font-size: 17px;
  }

  .account-benefit span {
    font-size: 15px;
  }

  .bottom-nav {
    right: 20px;
    bottom: 18px;
    left: 20px;
    display: grid;
    height: calc(80px + env(safe-area-inset-bottom));
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(18px);
    padding: 6px 8px env(safe-area-inset-bottom);
  }

  .bottom-nav a {
    min-height: 66px;
    color: #555;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 0 0;
  }

  .bottom-nav a.active {
    color: var(--red);
  }

  .bottom-icon {
    width: 30px;
    height: 30px;
    border: 0;
  }

  .bottom-nav .cart-badge {
    top: 8px;
    right: 18px;
  }

  .site-footer {
    display: none;
  }
}

@media (max-width: 420px) {
  .app-shell .main {
    padding-inline: 14px;
  }

  .header-inner {
    padding-inline: 14px;
  }

  .brand-logo {
    width: 140px;
  }

  .icon-btn {
    width: 52px;
    min-width: 52px;
    height: 52px;
  }

  .product-grid {
    gap: 10px;
  }

  .product-name {
    font-size: 14px;
  }

  .price {
    font-size: 16px;
  }

  .old-price {
    display: none;
  }

  .promo-hero-card {
    grid-template-columns: 1fr;
  }

  .promo-hero-icon {
    display: none;
  }

  .voucher-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .copy-voucher {
    display: none;
  }

  .account-benefit-row {
    gap: 8px;
  }

  .account-benefit span {
    display: none;
  }
}

/* Header, page title, and checkout refinements */
.site-header .header-inner {
  grid-template-columns: clamp(96px, 11vw, 132px) minmax(280px, 1fr) auto;
  gap: 16px;
  padding-block: 14px;
}

.site-header .brand-link,
.site-header .search-wrap,
.site-header .desktop-nav {
  grid-column: auto;
  grid-row: auto;
}

.site-header .brand-logo {
  width: clamp(96px, 11vw, 132px);
}

.site-header .search-input {
  height: 54px;
  border-radius: 18px;
  font-size: 16px;
  padding-left: 60px;
}

.site-header .search-icon-img {
  left: 18px;
  width: 26px;
  height: 26px;
}

.site-header .desktop-nav {
  justify-content: flex-end;
  gap: 14px;
  white-space: nowrap;
}

.site-header .desktop-nav a {
  font-size: 14px;
}

.site-header .header-account {
  height: 46px;
  min-width: 0;
  border-radius: 16px;
  padding: 0 14px;
}

.page-title {
  gap: 7px;
  max-width: 580px;
  margin-top: 6px;
}

.page-title .stamp,
.stamp {
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 8px 11px;
}

.page-title h1 {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.08;
}

.page-title p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.45;
}

.checkout-shell {
  padding-bottom: 0;
  background: #fff;
}

.checkout-shell .main {
  gap: 16px;
  max-width: 1120px;
  padding: 24px clamp(16px, 4vw, 32px) 42px;
}

.checkout-header {
  gap: 12px;
  max-width: none;
  margin: 0;
}

.checkout-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.checkout-back,
.checkout-progress {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.checkout-back {
  border: 1px solid var(--line);
  background: #fff;
  color: #222;
  padding: 0 12px;
}

.checkout-progress {
  background: #fff4f4;
  color: var(--red);
  padding: 0 13px;
}

.checkout-header .page-title {
  gap: 3px;
  margin: 0;
}

.checkout-header .checkout-title {
  font-size: clamp(28px, 4vw, 38px);
}

.checkout-header .stepper {
  gap: 6px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fafafa;
  padding: 8px;
}

.checkout-header .step {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border-radius: 12px;
  font-size: 12px;
}

.checkout-header .step.active {
  background: #fff;
}

.checkout-header .step::before {
  width: 22px;
  height: 22px;
  margin: 0;
  font-size: 11px;
  font-weight: 950;
}

.checkout-shell .checkout-layout {
  gap: 16px;
}

.checkout-shell .checkout-card,
.checkout-shell .summary-card {
  border-radius: 16px;
  padding: 16px;
}

.checkout-shell .checkout-card h2,
.checkout-shell .summary-card h3 {
  margin-top: 0;
  font-size: 20px;
}

.checkout-shell .form-grid {
  gap: 10px 12px;
}

.checkout-shell .field {
  gap: 6px;
}

.checkout-shell .field > span,
.checkout-shell .check-row {
  font-size: 13px;
  font-weight: 850;
}

.checkout-shell .field input,
.checkout-shell .field select {
  min-height: 46px;
  border-radius: 12px;
  padding-inline: 14px;
  font-size: 14px;
}

.checkout-shell .field textarea {
  min-height: 68px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}

.checkout-shell .btn-full {
  min-height: 52px;
  border-radius: 12px;
}

.checkout-shell .choice-card {
  border-radius: 14px;
  padding: 12px;
}

.checkout-shell .summary-line {
  margin: 8px 0;
  font-size: 14px;
}

.checkout-shell .summary-total {
  font-size: 18px;
}

@media (max-width: 980px) {
  .site-header .header-inner {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    padding: 18px 20px 12px;
  }

  .site-header .desktop-nav {
    display: none;
  }

  .site-header .brand-logo {
    width: 104px;
  }

  .site-header .search-wrap {
    grid-column: 2;
    width: 100%;
  }

  .site-header .search-input {
    height: 54px;
    border-radius: 18px;
    font-size: 15px;
    padding-left: 54px;
  }

  .site-header .search-icon-img {
    left: 17px;
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 760px) {
  .app-shell .main {
    padding-top: 14px;
  }

  .page-title {
    gap: 6px;
    margin-top: 4px;
  }

  .page-title .stamp,
  .stamp {
    border-radius: 8px;
    font-size: 11px;
    padding: 7px 10px;
  }

  .page-title h1 {
    font-size: 30px;
  }

  .page-title p {
    font-size: 15px;
    line-height: 1.4;
  }

  .checkout-shell .main {
    gap: 14px;
    padding: 16px 12px 22px;
  }

  .checkout-header {
    gap: 10px;
  }

  .checkout-header .checkout-title {
    font-size: 32px;
  }

  .checkout-header .stepper {
    padding: 6px;
  }

  .checkout-header .step {
    min-height: 30px;
    gap: 5px;
    font-size: 11px;
  }

  .checkout-header .step::before {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .checkout-shell .checkout-card,
  .checkout-shell .summary-card {
    border-radius: 14px;
    padding: 14px;
  }

  .checkout-shell .summary-card-passive {
    display: none;
  }

  .checkout-shell .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .checkout-shell .field input,
  .checkout-shell .field select {
    min-height: 44px;
  }

  .checkout-shell .field textarea {
    min-height: 60px;
  }
}

@media (max-width: 420px) {
  .site-header .header-inner {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 9px;
    padding-inline: 12px;
  }

  .site-header .brand-logo {
    width: 88px;
  }

  .site-header .search-input {
    height: 50px;
    border-radius: 16px;
    font-size: 14px;
    padding-left: 47px;
  }

  .site-header .search-icon-img {
    left: 14px;
    width: 22px;
    height: 22px;
  }

  .checkout-header .step {
    font-size: 0;
  }

  .checkout-header .step::before {
    font-size: 10px;
  }
}
