@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap");

:root {
  --font-main: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #faf7eb;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --text: #20232a;
  --muted: #717681;
  --line: rgba(32, 35, 42, 0.12);
  --accent: #ed2b6c;
  --accent-2: #176d78;
  --accent-3: #f8b515;
  --danger: #d31f3c;
  --shadow: 0 16px 48px rgba(34, 39, 50, 0.14);
  --hero-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=1600&q=80");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 22.05px;
  letter-spacing: 0;
}

body.theme-variant {
  --font-main: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #f5f6f7;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.86);
  --text: #1f2228;
  --muted: #69707b;
  --accent: #0539ed;
  --accent-2: #101728;
  --accent-3: #15c6c8;
}

body.theme-dark {
  --font-main: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #212121;
  --surface: #2b2b2b;
  --surface-soft: rgba(43, 43, 43, 0.86);
  --text: #ffffff;
  --muted: #c8cbd1;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #08bbb7;
  --accent-2: #141414;
  --accent-3: #f0c94a;
  --shadow: 0 20px 54px rgba(0, 0, 0, 0.32);
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr minmax(220px, 330px) auto;
  gap: 18px;
  align-items: center;
  min-height: 70px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand strong {
  display: block;
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1;
  font-weight: 800;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 25px;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  left: 0;
  display: block;
  width: 30px;
  height: 6px;
  background: currentColor;
  border-radius: 6px;
  content: "";
}

.brand-mark::before {
  top: 3px;
  box-shadow: 9px 8px 0 currentColor;
}

.brand-mark::after {
  bottom: 0;
  width: 24px;
}

.brand-mark.large {
  width: 48px;
  height: 40px;
}

.brand-mark.large::before,
.brand-mark.large::after {
  width: 44px;
  height: 8px;
}

.brand-mark.large::before {
  top: 6px;
  box-shadow: 13px 13px 0 currentColor;
}

.brand-mark.large::after {
  width: 36px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
}

.main-nav a:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px;
  background: color-mix(in srgb, var(--surface) 82%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-bar input,
.drawer input,
.drawer select,
.checkout-form input,
.checkout-form textarea,
.admin-field {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.search-bar input {
  border: 0;
  background: transparent;
}

.search-bar input:focus,
.drawer input:focus,
.drawer select:focus,
.checkout-form input:focus,
.checkout-form textarea:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
}

.icon-btn svg,
[data-icon] svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.icon-btn:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.icon-btn.solid {
  color: #ffffff;
  background: var(--accent-2);
}

.hero-band {
  position: relative;
  min-height: clamp(430px, 58vw, 560px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 8vw, 116px) 120px;
  overflow: hidden;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 95%, transparent) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 48%, color-mix(in srgb, var(--bg) 15%, transparent) 100%),
    var(--hero-image) center right / cover no-repeat;
}

.hero-band::before {
  position: absolute;
  top: 0;
  right: -18vw;
  z-index: 0;
  width: 54vw;
  height: 68%;
  background: #ff7a1a;
  border-radius: 0 0 0 100%;
  content: "";
}

.hero-band::after {
  position: absolute;
  right: -12vw;
  bottom: -14vw;
  width: 82vw;
  height: 28vw;
  min-height: 210px;
  background: color-mix(in srgb, var(--accent-2) 86%, #0a8c43);
  border-radius: 50% 0 0 0;
  content: "";
  transform: rotate(-4deg);
  transform-origin: right bottom;
  z-index: 0;
}

body.theme-dark .hero-band {
  background:
    linear-gradient(90deg, rgba(33, 33, 33, 0.98) 0%, rgba(33, 33, 33, 0.84) 54%, rgba(33, 33, 33, 0.25) 100%),
    var(--hero-image) center right / cover no-repeat;
}

.seller-panel,
.marketplace-wrap {
  position: relative;
  z-index: 1;
}

.seller-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 420px);
  gap: 18px;
  align-items: center;
  max-width: 620px;
}

.seller-avatar {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  color: var(--accent-2);
  background: var(--surface-soft);
  border: 4px solid var(--accent-2);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.verified-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.verified-line h1 {
  margin: 0;
  font-size: clamp(25px, 3.2vw, 34px);
  line-height: 1.1;
  font-weight: 800;
}

.verified-badge {
  color: #2563eb;
}

.seller-panel p {
  max-width: 520px;
  margin: 10px 0 18px;
  color: color-mix(in srgb, var(--text) 84%, var(--muted));
  font-weight: 400;
}

.wa-pill,
.primary-btn,
.checkout-btn,
.product-action,
.theme-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  color: #ffffff;
  font-weight: 700;
  background: var(--accent-2);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent-2) 25%, transparent);
}

.wa-pill svg,
.primary-btn svg,
.checkout-btn svg,
.product-action svg {
  width: 18px;
  height: 18px;
}

.marketplace-wrap {
  margin-top: clamp(38px, 6vw, 80px);
}

.marketplace-wrap h2 {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
}

.marketplaces {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 12px;
  max-width: 1040px;
}

.marketplace-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  overflow: hidden;
  color: var(--text);
  font-weight: 700;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.marketplace-link:hover {
  transform: translateY(-2px);
}

.banner-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(1040px, calc(100% - 36px));
  margin: -86px auto 28px;
}

.mobile-promo-heading {
  display: none;
}

.banner-card {
  min-height: clamp(210px, 34vw, 350px);
  overflow: hidden;
  color: #ffffff;
  background: #0b624f;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.banner-card > .banner-inner:not(.is-active) {
  display: none;
}

.banner-inner {
  display: grid;
  align-content: end;
  min-height: inherit;
  padding: clamp(24px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(7, 35, 38, 0.88), rgba(7, 35, 38, 0.34)),
    var(--banner-image) center / cover no-repeat;
}

.banner-inner h2 {
  max-width: 560px;
  margin: 0 0 8px;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.02;
  font-weight: 900;
}

.banner-inner p {
  max-width: 520px;
  margin: 0 0 18px;
  font-size: clamp(15px, 1.9vw, 20px);
}

.banner-inner a {
  justify-self: start;
  min-height: 40px;
  padding: 10px 15px;
  color: #111827;
  font-weight: 800;
  background: var(--accent-3);
  border-radius: 8px;
}

.banner-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.category-strip,
.product-section,
.article-strip {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(86px, 1fr));
  gap: 12px;
  padding: 6px 0 20px;
}

.category-btn {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 68px;
  padding: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-btn.is-active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.product-section {
  margin-top: 18px;
}

.section-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 8px 8px 0 0;
}

.section-heading.alt {
  background: var(--accent-2);
}

.section-heading h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 0 24px;
  border-top: 2px solid var(--accent);
}

.product-grid.compact {
  border-color: var(--accent-2);
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(27, 31, 43, 0.08);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 70%, var(--bg));
  border-radius: 10px 10px 0 0;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.02);
}

.product-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  background: #ff0b14;
  border-radius: 0 10px 0 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.product-badge.neutral {
  background: var(--accent-2);
}

.product-bottom-badges {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 100%;
}

.product-bottom-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 0 10px;
  overflow: hidden;
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  background: #f9285c;
  border-radius: 0;
}

.product-bottom-badges .status {
  gap: 5px;
  background: #666a70;
}

.product-bottom-badges .status svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
  flex: 0 0 auto;
}

.product-bottom-badges .status.soldout {
  background: #666a70;
}

.product-bottom-badges .status.featured {
  background: #1fd24f;
}

.product-bottom-badges .status.new {
  color: #ffffff;
  background: #7c2cff;
}

.product-bottom-badges span:last-child {
  padding-right: 14px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
}

.product-body {
  display: grid;
  gap: 7px;
  padding: 12px 12px 0;
}

.product-body h3 {
  min-height: 0;
  margin: 0;
  font-size: 17px;
  line-height: 23px;
  font-weight: 700;
}

.product-body .product-meta {
  display: none;
}

.product-modal-panel .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.rating {
  color: var(--accent-3);
  font-weight: 700;
}

.price-row {
  display: grid;
  gap: 4px;
  align-items: start;
  min-height: 52px;
}

.price {
  color: var(--accent);
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.compare-price {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 22px;
  padding: 2px 9px;
  color: #ffffff;
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  background: #176d78;
  border-radius: 999px;
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  grid-template-columns: 0.82fr 1.28fr;
  gap: 8px;
  margin: 7px -12px 0;
  padding: 12px 12px 14px;
  border-top: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
}

.product-action {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 18px;
  border-radius: 6px;
}

.product-action.secondary {
  color: #5d5549;
  background: #eee9de;
  border: 0;
  box-shadow: none;
}

.plus-mini {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-left: 2px;
  color: currentColor;
  font-size: 11px;
  line-height: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.product-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.article-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 24px 0 48px;
  border-top: 1px solid var(--line);
}

.article-strip h2,
.article-strip p {
  margin: 0;
}

.article-strip a {
  font-weight: 800;
  color: var(--accent);
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-bar {
  position: fixed;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 12px clamp(14px, 4vw, 34px);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cart-mini {
  position: relative;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  color: var(--text);
  background: transparent;
  border: 0;
}

.cart-mini small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.cart-mini strong {
  color: var(--accent);
  font-size: 16px;
}

.cart-icon {
  color: var(--text);
}

.cart-count {
  position: absolute;
  top: 1px;
  left: 20px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: red;
  border-radius: 999px;
}

.checkout-btn {
  min-width: min(240px, 45vw);
  min-height: 48px;
  font-size: 16px;
  background: var(--accent-2);
  white-space: nowrap;
}

.floating-wa {
  position: fixed;
  right: 30px;
  bottom: 112px;
  z-index: 36;
}

.floating-wa a {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #ffffff;
  background: #25d366;
  border: 10px solid rgba(37, 211, 102, 0.22);
  border-radius: 50%;
  background-clip: padding-box;
  box-shadow: var(--shadow);
}

.drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  background: rgba(10, 12, 18, 0.58);
}

.drawer.is-open,
.modal.is-open {
  display: block;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  gap: 16px;
  width: min(390px, 100%);
  min-height: 100%;
  padding: 22px;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.drawer-head h2,
.modal-panel h2 {
  margin: 0;
}

.drawer label,
.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

fieldset {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.theme-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.theme-switcher button {
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 72%, var(--bg));
  border: 1px solid var(--line);
  box-shadow: none;
}

.theme-switcher button.is-active {
  color: #ffffff;
  background: var(--accent);
}

.primary-btn.full {
  width: 100%;
}

.modal {
  place-items: center;
  padding: 18px;
  overflow: auto;
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(820px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  color: var(--text);
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--surface);
  border-color: var(--line);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1fr);
  gap: 20px;
  align-items: start;
}

.detail-layout img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.detail-content h2 {
  margin: 0 44px 10px 0;
  font-size: clamp(24px, 4vw, 38px);
}

.detail-content p {
  color: var(--muted);
}

.variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.variant-chip {
  min-height: 36px;
  padding: 8px 12px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 78%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.variant-chip.is-active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

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

.qty-row button,
.qty-row input {
  height: 38px;
  text-align: center;
  color: var(--text);
  background: var(--surface);
  border: 0;
}

.checkout-panel {
  width: min(620px, 100%);
}

.cart-lines {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: color-mix(in srgb, var(--surface) 72%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-line small {
  display: block;
  color: var(--muted);
}

.cart-line button {
  color: var(--danger);
  background: transparent;
  border: 0;
}

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

.checkout-result {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: color-mix(in srgb, #25d366 12%, var(--surface));
  border: 1px solid color-mix(in srgb, #25d366 38%, transparent);
  border-radius: 8px;
}

.checkout-result.is-visible {
  display: block;
}

.checkout-result a {
  display: inline-flex;
  margin-top: 10px;
  color: #067a32;
  font-weight: 850;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.empty-state h3 {
  margin: 10px 0 4px;
  color: var(--text);
}

.empty-state p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 80;
  max-width: min(360px, calc(100% - 48px));
  padding: 12px 14px;
  color: #ffffff;
  font-weight: 780;
  background: var(--accent-2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  transition: 0.18s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.skeleton-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.skeleton {
  min-height: 260px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent),
    color-mix(in srgb, var(--surface) 80%, var(--bg));
  background-size: 180% 100%;
  border-radius: 8px;
  animation: shimmer 1.2s infinite linear;
}

@keyframes shimmer {
  to {
    background-position: -180% 0;
  }
}

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

  .main-nav,
  .search-bar {
    grid-column: 1 / -1;
  }

  .main-nav {
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
  }

  .search-bar {
    order: 4;
  }

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

  .category-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  body {
    font-size: 13px;
    line-height: 20px;
  }

  .app-shell {
    padding-bottom: 84px;
  }

  .site-header {
    grid-template-columns: minmax(132px, 0.85fr) minmax(0, 1fr) 46px;
    gap: 8px;
    min-height: 70px;
    padding: 8px 14px;
    background: #ffffff;
    backdrop-filter: none;
  }

  .brand {
    gap: 7px;
    min-width: 0;
    overflow: hidden;
  }

  .brand strong {
    font-size: 18px;
    line-height: 18px;
  }

  .brand small {
    display: block;
    overflow: hidden;
    color: #4c4f56;
    font-size: 7.5px;
    line-height: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    flex: 0 0 auto;
    width: 30px;
    height: 24px;
  }

  .main-nav {
    display: none;
  }

  .search-bar {
    grid-column: auto;
    order: 0;
    min-height: 42px;
    padding: 4px;
    background: #ece9df;
    border: 0;
    border-radius: 999px;
  }

  .search-bar input {
    min-height: 34px;
    padding: 0 11px;
    font-size: 13px;
  }

  .search-bar .icon-btn {
    width: 48px;
    min-height: 34px;
    border-radius: 999px;
  }

  #filterButton {
    width: 42px;
    height: 42px;
    color: #111827;
    background: transparent;
    border: 0;
  }

  #filterButton svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.6;
  }

  .hero-band {
    min-height: 500px;
    padding: 32px 18px 38px;
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--bg) 99%, transparent) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 48%, color-mix(in srgb, var(--bg) 8%, transparent) 100%),
      var(--hero-image) 78% center / auto 100% no-repeat;
  }

  .hero-band::before {
    right: -42vw;
    width: 90vw;
    height: 58%;
  }

  .hero-band::after {
    right: -42vw;
    bottom: -122px;
    width: 150vw;
    height: 230px;
    background: #2faf37;
    transform: rotate(-3deg);
  }

  .seller-panel {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    max-width: none;
  }

  .seller-avatar {
    width: 92px;
    height: 92px;
    border-width: 4px;
  }

  .seller-avatar .brand-mark.large {
    transform: scale(0.66);
  }

  .verified-line {
    gap: 6px;
  }

  .verified-line h1 {
    font-size: 24px;
    line-height: 28px;
  }

  .verified-badge svg {
    width: 22px;
    height: 22px;
  }

  .seller-panel p {
    margin: 7px 0 16px;
    font-size: 15px;
    line-height: 22px;
  }

  .wa-pill {
    min-width: 172px;
    min-height: 44px;
    border-radius: 999px;
    font-size: 15px;
  }

  .marketplace-wrap {
    margin-top: 38px;
  }

  .marketplace-wrap h2 {
    margin-bottom: 18px;
    color: var(--accent-2);
    font-size: 23px;
    line-height: 29px;
  }

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

  .marketplace-link {
    min-height: 58px;
    padding: 8px 6px;
    gap: 6px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(28, 31, 37, 0.08);
  }

  .mobile-promo-heading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    margin: 0 0 18px;
    padding: 0 28px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    background: #101c22;
    border-radius: 0 28px 28px 0;
  }

  .banner-stage {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding: 0 10px;
    overflow: hidden;
  }

  .banner-arrow {
    display: none;
  }

  .banner-card {
    display: flex;
    gap: 10px;
    min-height: auto;
    overflow-x: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    scroll-snap-type: x proximity;
  }

  .banner-card > .banner-inner,
  .banner-card > .banner-inner:not(.is-active) {
    display: grid;
  }

  .banner-inner {
    flex: 0 0 72%;
    min-height: 118px;
    align-content: end;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(31, 35, 45, 0.12);
    scroll-snap-align: start;
  }

  .banner-inner h2 {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 18px;
  }

  .banner-inner p {
    margin-bottom: 8px;
    font-size: 10px;
    line-height: 15px;
  }

  .banner-inner a {
    min-height: 28px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .category-strip,
  .product-section,
  .article-strip {
    width: 100%;
  }

  .category-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 10px 14px;
    scrollbar-color: rgba(32, 35, 42, 0.25) transparent;
  }

  .category-list::-webkit-scrollbar {
    height: 5px;
  }

  .category-list::-webkit-scrollbar-thumb {
    background: rgba(32, 35, 42, 0.28);
    border-radius: 999px;
  }

  .category-btn {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 92px;
    min-height: 36px;
    justify-content: center;
    padding: 0 18px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    background: var(--accent-2);
    border: 0;
    border-radius: 4px;
  }

  .category-btn [data-icon] {
    display: none;
  }

  .category-btn.is-active {
    background: linear-gradient(135deg, #176d78 0%, #9b6d57 100%);
  }

  .product-section {
    margin-top: 4px;
  }

  .product-section + .product-section {
    margin-top: 18px;
  }

  .section-heading {
    min-height: 42px;
    margin-left: 10px;
    padding: 0 18px;
    background: var(--accent-2);
    border-radius: 0 22px 22px 0;
  }

  .section-heading h2 {
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
  }

  .product-grid,
  .skeleton-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 10px 24px;
    border-top: 0;
  }

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

  .product-media {
    border-radius: 8px 8px 0 0;
  }

  .product-badge {
    min-height: 25px;
    padding: 0 10px;
    font-size: 10.5px;
    border-radius: 0 8px 0 10px;
  }

  .product-bottom-badges {
    width: 100%;
    flex-wrap: nowrap;
  }

  .product-bottom-badges span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 8.5px;
  }

  .product-body {
    gap: 6px;
    padding: 10px 10px 0;
  }

  .product-body h3 {
    overflow: hidden;
    font-size: 14px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .price-row {
    min-height: 45px;
  }

  .product-actions {
    grid-template-columns: 0.52fr 1.48fr;
    gap: 7px;
    margin: 5px -10px 0;
    padding: 10px 8px 12px;
  }

  .product-action {
    min-height: 34px;
    padding: 6px 7px;
    font-size: 12px;
    white-space: nowrap;
  }

  .price {
    font-size: 17px;
    line-height: 21px;
  }

  .article-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-bar {
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 58px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.9);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: 0 -10px 26px rgba(31, 35, 45, 0.14);
  }

  .cart-mini {
    min-height: 42px;
    gap: 13px;
  }

  .cart-icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 2.4;
  }

  .cart-count {
    top: -3px;
    left: 14px;
    min-width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .cart-mini small {
    font-size: 12px;
    line-height: 14px;
  }

  .cart-mini strong {
    font-size: 15px;
    line-height: 17px;
  }

  .checkout-btn {
    min-width: 146px;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 15px;
    border-radius: 8px;
  }

  .checkout-btn svg {
    width: 18px;
    height: 18px;
  }

  .floating-wa {
    right: 24px;
    bottom: 78px;
  }

  .floating-wa a {
    width: 56px;
    height: 56px;
    border-width: 8px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .product-grid,
  .skeleton-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-header {
    grid-template-columns: minmax(118px, 0.78fr) minmax(0, 1fr) 42px;
    gap: 6px;
    padding-inline: 10px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 7px;
  }

  .search-bar input {
    padding-inline: 9px;
    font-size: 12.5px;
  }

  .search-bar .icon-btn {
    width: 46px;
  }

  .marketplace-link {
    min-height: 54px;
    font-size: 12px;
  }

  .category-btn {
    min-width: 92px;
    font-size: 13px;
  }

  .product-bottom-badges span {
    padding: 0 6px;
    font-size: 8px;
  }

  .cart-mini strong {
    font-size: 15px;
  }

  .checkout-btn {
    min-width: 144px;
    font-size: 15px;
  }
}
