:root {
  --bg: #f4f6f8;
  --bg-elev: #ffffff;
  --ink: #0c1220;
  --ink-soft: #3d4a63;
  --muted: #6b778c;
  --line: #d7deea;
  --navy: #0b1220;
  --navy-2: #141c2e;
  --navy-3: #1c2740;
  --teal: #14c8a8;
  --teal-deep: #0d9a84;
  --teal-soft: #d8f6f0;
  --amber: #e8a317;
  --red: #c23b3b;
  --shadow: 0 18px 50px rgba(12, 18, 32, 0.08);
  --radius: 14px;
  --max: 1200px;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

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

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 99;
  background: #fff;
  padding: 8px 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  min-width: 0;
}

.brand svg,
.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 15.5px;
  min-width: 0;
}

.brand-name .brand-tag {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  font-weight: 500;
  flex-shrink: 1;
}

.nav-links a {
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 8px;
}

#auth-slot {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
}

.nav-cta .btn {
  white-space: nowrap;
  padding: 8px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.15s ease;
}

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

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

.btn-teal {
  background: var(--teal);
  color: var(--navy);
}

.btn-teal:hover {
  background: #3ad4b8;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

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

.btn-amber {
  background: var(--amber);
  color: var(--navy);
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--teal);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 42px;
  height: 42px;
}

.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(20, 200, 168, 0.18), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, #10192c 100%);
  color: #e8eef7;
  padding: 72px 0 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.hero p.lede {
  color: #b7c2d6;
  font-size: 18px;
  max-width: 52ch;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  gap: 22px;
  color: #93a0b8;
  font-size: 13px;
}

.hero-meta strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.hero-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: transparent;
  margin-bottom: 14px;
}

.hero-panel h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.step-card small {
  font-family: var(--mono);
  color: var(--teal-deep);
  letter-spacing: 0.1em;
}

.step-card h3 {
  margin: 8px 0 8px;
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13.5px;
  color: #9aabc4;
}

.spec-row span:last-child {
  color: #e8eef7;
  font-family: var(--mono);
  font-size: 12.5px;
}

.section {
  padding: 72px 0;
}

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

.section-head h2 {
  margin: 0;
  letter-spacing: -0.03em;
  font-size: 32px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.cat-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  min-height: 118px;
  box-shadow: var(--shadow);
}

.cat-card small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cat-card h3 {
  margin: 10px 0 0;
  font-size: 16px;
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

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

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background:
    linear-gradient(160deg, #152033, #0d1524 55%),
    repeating-linear-gradient(90deg, transparent, transparent 11px, rgba(20, 200, 168, 0.07) 12px);
  position: relative;
  display: grid;
  place-items: center;
}

.thumb .chip {
  position: absolute;
  top: 12px;
  left: 12px;
}

.thumb-mark {
  width: 86px;
  height: 86px;
}

.card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sku {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.card h3 {
  margin: 0;
  font-size: 16.5px;
  letter-spacing: -0.02em;
}

.card .lead {
  color: var(--ink-soft);
  font-size: 13.5px;
  margin: 0;
  flex: 1;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.price {
  font-weight: 700;
  font-size: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.chip-amber {
  background: #fff4d6;
  color: #8a5a00;
}

.chip-navy {
  background: #e8edf7;
  color: var(--navy);
}

.chip-efile {
  background: #e6f7f4;
  color: var(--teal-deep);
}

.banner {
  background: var(--navy-2);
  color: #d7e0ef;
  border-radius: 20px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.banner h2 {
  color: #fff;
  margin: 0 0 10px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter,
.search {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
}

.search {
  min-width: min(100%, 280px);
  flex: 1;
}

.filter.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.product-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.gallery {
  background: var(--navy);
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.muted {
  color: var(--muted);
}

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

.specs th {
  width: 34%;
  color: var(--muted);
  font-weight: 500;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty input {
  width: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.cart-table th,
.cart-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

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

.form label {
  font-size: 13px;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
}

.notice {
  background: #fff8e6;
  border: 1px solid #f0d48a;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
}

.site-footer {
  background: var(--navy);
  color: #a9b6cc;
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 12px;
}

.site-footer a {
  display: block;
  padding: 4px 0;
  color: #a9b6cc;
}

.site-footer a:hover {
  color: var(--teal);
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.empty {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
}

.page-hero {
  padding: 42px 0 10px;
}

.page-hero h1 {
  margin: 0;
  letter-spacing: -0.03em;
  font-size: clamp(30px, 4vw, 42px);
}

.page-prose {
  max-width: 72ch;
}

.page-prose p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.aff-note {
  font-size: 13px;
  color: var(--muted);
}

.announce-bar {
  background: var(--navy);
  color: #e8eef7;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}

.shop-slider {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: var(--navy);
}

.shop-slider .slide {
  display: none;
  position: relative;
  min-height: 240px;
  padding: 36px 56px 48px;
  background: var(--navy);
  color: #e8eef7;
  overflow: hidden;
}

.shop-slider .slide.on {
  display: grid;
  align-items: center;
}

.fit-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}

.slide-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.slide-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.03em;
  color: #fff;
}

.slide-copy p {
  margin: 0 0 18px;
  color: #c5d0e2;
  max-width: 52ch;
}

.slide-nav {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.slide-nav .dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
}

.slide-nav .dot.on {
  background: var(--teal);
  width: 22px;
}

.slide-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.slide-arrow.prev { left: 12px; }
.slide-arrow.next { right: 12px; }

.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-icon,
.cat-card img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cat-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.locale-pick {
  display: flex;
  align-items: center;
  gap: 6px;
}

.locale-pick select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 8px;
  background: #fff;
  font: inherit;
  font-size: 12.5px;
  max-width: 118px;
}

.thumb-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-box {
  width: 100%;
}

.gallery-box #hero-shot {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: var(--navy);
  border-radius: 18px;
}

.thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.thumbs button {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.thumbs button.on {
  border-color: var(--teal);
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--navy);
}

@media (max-width: 1100px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
    min-height: 64px;
    padding: 10px 0;
  }

  .brand {
    order: 1;
    flex: 1;
    margin-right: 0;
  }

  .cart-btn {
    order: 2;
  }

  .menu-toggle {
    order: 3;
    display: grid;
    place-items: center;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.open .nav-links,
  .nav.open .nav-cta {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open .nav-links {
    order: 4;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
  }

  .nav.open .nav-links a {
    display: block;
    padding: 12px 4px;
  }

  .nav.open .nav-cta {
    order: 5;
    padding: 4px 0 8px;
  }

  .nav.open #auth-slot,
  .nav.open .nav-cta .btn,
  .nav.open #auth-slot .btn {
    width: 100%;
    flex-direction: column;
  }

  .nav.open #auth-slot .btn,
  .nav.open .nav-cta .btn {
    min-height: 44px;
  }

  .nav.open .locale-pick {
    flex-direction: column;
    width: 100%;
  }

  .nav.open .locale-pick select {
    max-width: none;
    width: 100%;
    min-height: 44px;
  }

  .brand-name .brand-tag {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .product-layout,
  .banner,
  .footer-grid,
  .grid-4,
  .cats,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .grid-4,
  .cats,
  .banner,
  .footer-grid,
  .product-layout,
  .steps {
    grid-template-columns: 1fr;
  }

  .legal,
  .section-head,
  .hero-meta,
  .hero-actions,
  .price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 36px 0;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-actions,
  .hero-meta {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .section {
    padding: 48px 0;
  }

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

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .filter,
  .search {
    flex-shrink: 0;
  }

  .search {
    min-width: 0;
    width: 100%;
  }

  .cart-table,
  .specs {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cart-table th,
  .cart-table td {
    white-space: nowrap;
  }

  .qty {
    flex-wrap: wrap;
  }

  .banner {
    padding: 22px;
  }

  .page-hero {
    padding-top: 24px;
  }

  .shop-slider .slide {
    min-height: 200px;
    padding: 28px 48px 52px 20px;
  }

  .slide-arrow {
    width: 34px;
    height: 34px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .auth-box.card {
    padding: 20px 16px;
    margin: 0 auto;
  }
}

@media (max-width: 420px) {
  .brand-rest {
    display: none;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .cart-btn {
    padding: 8px 10px;
  }
}

/* Marketplace shop — Shopee-like layout, CraftedTech navy/teal */
.mall-page {
  background: #eef1f5;
}

.mall-page .filters {
  display: none;
}

.mall-header {
  background: var(--navy);
  border-bottom: 0;
  backdrop-filter: none;
}

.mall-top {
  background: var(--navy-2);
  color: #c5d0e2;
  font-size: 12.5px;
}

.mall-top-in {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}

.mall-top-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
}

.mall-top-right,
.mall-top #auth-slot {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  color: #c5d0e2;
}

.mall-top a {
  display: inline;
  color: #c5d0e2;
  white-space: nowrap;
}

.mall-top a:hover,
.mall-top a.active {
  color: #fff;
}

.mall-top .locale-pick select {
  background: transparent;
  color: #e8eef7;
  border-color: rgba(255, 255, 255, 0.18);
  max-width: 108px;
  padding: 3px 6px;
}

.mall-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 0 16px;
}

.mall-header .brand {
  margin-right: 0;
  color: #fff;
  padding-top: 4px;
}

.mall-header .brand-name {
  color: #fff;
  font-size: 17px;
}

.mall-header .brand-logo {
  width: 42px;
  height: 42px;
  filter: brightness(1.05);
}

.mall-search {
  flex: 1;
  position: relative;
  min-width: 0;
}

.mall-search input {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 4px;
  padding: 0 52px 0 14px;
  background: #fff;
}

.mall-search button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 48px;
  height: 36px;
  border: 0;
  border-radius: 3px;
  background: var(--teal);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mall-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0 0 10px;
}

.mall-tags a {
  color: #9eb0c9;
  font-size: 12px;
}

.mall-tags a:hover {
  color: #fff;
}

.mall-cart {
  position: relative;
  color: #fff;
  display: grid;
  place-items: center;
  width: 48px;
  height: 42px;
  margin-top: 2px;
}

.mall-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--teal);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.mall-header .menu-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: transparent;
}

.mall-stage {
  background: linear-gradient(180deg, var(--navy) 0 42px, transparent 42px);
  padding-bottom: 8px;
}

.mall-hero {
  display: grid;
  grid-template-columns: 2.1fr 0.9fr;
  gap: 10px;
}

.mall-carousel {
  min-height: 268px;
  height: 268px;
  border-radius: 4px;
}

.mall-carousel .slide,
.mall-carousel .slide.on {
  min-height: 268px;
  height: 268px;
  border-radius: 4px;
}

.mall-carousel .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.72) 0%, rgba(11, 18, 32, 0.28) 70%, transparent);
  z-index: 0;
}

.mall-sides {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.mall-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  border-radius: 4px;
  color: #e8eef7;
  background: var(--navy-2);
  overflow: hidden;
  min-height: 128px;
}

.mall-side strong,
.mall-side span {
  position: relative;
  z-index: 1;
}

.mall-side strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.mall-side span {
  font-size: 13px;
  color: #c5d0e2;
}

.mall-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mall-shortcuts {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px 8px;
  padding: 18px 0 16px;
}

.mall-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.25;
}

.mall-shortcut:hover {
  color: var(--teal-deep);
}

.mall-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(20, 200, 168, 0.18);
}

.mall-ico svg,
.cat-card svg {
  width: 26px;
  height: 26px;
  display: block;
}

.mall-shortcut img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mall-promo {
  background: #fff;
  margin: 10px 0 0;
  padding: 18px 0 14px;
  border-top: 4px solid var(--teal);
}

.mall-promo-head,
.mall-daily-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.mall-promo-head h2,
.mall-daily-head h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.mall-promo-head a {
  color: var(--teal-deep);
  font-weight: 600;
}

.mall-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 176px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.mall-rail .mall-card {
  min-width: 176px;
  max-width: 176px;
}

.mall-rail .mall-card .btn {
  display: none;
}

.mall-daily {
  padding: 22px 0 48px;
}

.mall-grid {
  margin-top: 8px;
}

.mall-card {
  box-shadow: none;
  border: 0;
  border-radius: 4px;
  background: #fff;
}

.mall-card:hover {
  box-shadow: 0 8px 22px rgba(11, 18, 32, 0.1);
}

.mall-card .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 0;
  background: #fff;
}

.mall-card .thumb-photo,
.mall-card .fit-photo {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.mall-card .lead,
.mall-card .sku {
  display: none;
}

.mall-card .card-body {
  padding: 8px 10px 10px;
  gap: 6px;
}

.mall-card h3 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.mall-card .price-row {
  align-items: flex-end;
}

.mall-card .price {
  color: var(--teal-deep);
  font-size: 16px;
}

.mall-card .btn {
  padding: 5px 9px;
  font-size: 11px;
  border-radius: 4px;
}

.mall-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  background: var(--navy);
  color: #fff;
  border-radius: 99px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.28);
}

@media (max-width: 1100px) {
  .mall-top-links {
    display: none;
  }

  .mall-header.open .mall-top-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 0 12px;
    gap: 0;
  }

  .mall-header.open .mall-top-in {
    flex-wrap: wrap;
  }

  .mall-header.open .mall-top-links a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mall-header .brand {
    order: 1;
    flex: 1;
    margin-right: 0;
  }

  .mall-header .mall-cart {
    order: 2;
    margin-left: auto;
    margin-top: 0;
  }

  .mall-header .menu-toggle {
    display: grid;
    place-items: center;
    order: 3;
    margin-top: 0;
  }

  .mall-main {
    flex-wrap: wrap;
    align-items: center;
  }

  .mall-search {
    order: 4;
    width: 100%;
    flex: 1 0 100%;
  }

  .mall-hero,
  .mall-shortcuts {
    grid-template-columns: 1fr;
  }

  .mall-sides {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .mall-shortcuts {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 700px) {
  .mall-sides {
    grid-template-columns: 1fr;
  }

  .mall-shortcuts {
    grid-template-columns: repeat(4, 1fr);
  }

  .mall-page .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .mall-top-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
