:root {
  color-scheme: dark;
  --bg: #090708;
  --panel: #151013;
  --muted: #b4a5ab;
  --line: #33262b;
  --lime: #ff5a58;
  --blue: #ff7772;
}

html {
  scroll-padding-top: 104px;
}

body {
  background:
    radial-gradient(ellipse at 84% 7%, #7f142421 0, transparent 34rem),
    radial-gradient(ellipse at 8% 38%, #4b11151c 0, transparent 30rem),
    #090708;
  color: #fff8f7;
  font-family: Inter, Geist, Arial, sans-serif;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #ffffff12;
  border-radius: 0;
  background: #0c090beF;
  box-shadow: 0 12px 34px #0005;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  grid-template-areas: "brand search actions";
  align-items: center;
  gap: 24px;
  width: min(100%, 1360px);
  min-height: 76px;
  margin: 0 auto;
  padding: 10px 28px;
}

.site-header .brand {
  grid-area: brand;
  gap: 9px;
  font-size: 24px;
  letter-spacing: -.6px;
}

.brand > span > .go,
footer .footer-brand .go {
  margin-left: .16em;
}

.site-header .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.site-header .search-shell {
  grid-area: search;
  position: relative;
  z-index: auto;
  width: min(100%, 660px);
  height: 48px;
  margin: 0 auto;
  padding: 0 12px 0 16px;
  gap: 10px;
  border: 1px solid #ffffff1c;
  border-radius: 14px;
  background: #ffffff0a;
  box-shadow: inset 0 1px #ffffff08;
}

.site-header .search-shell:focus-within {
  outline: 0;
  border-color: #fa5b6077;
  box-shadow: 0 0 0 3px #e5393e20;
}

.site-header .search-shell svg {
  width: 19px;
  height: 19px;
  color: #ff7772;
}

.site-header .search-shell input {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.site-header .search-shell input::placeholder {
  color: #b9a9af;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-header .bag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #ffffff1c;
  border-radius: 12px;
  background: #ffffff08;
  color: #f8edef;
  font-size: 12px;
  font-weight: 700;
}

.site-header .bag svg {
  width: 18px;
  height: 18px;
}

.site-header #open-cart {
  border-color: #f35255;
  background: #ed343d;
  box-shadow: 0 7px 20px #e524332e;
}

.site-header .bag span:not(.action-label) {
  min-width: 21px;
  height: 21px;
  margin: 0;
  padding: 1px 5px;
  border-radius: 7px;
  background: #fff;
  color: #c9232c;
  font-size: 11px;
  text-align: center;
}

main {
  width: min(100%, 1360px);
  max-width: none;
  margin: 0 auto;
  padding: 0 28px;
}

.brand-banner {
  position: relative;
  margin: 22px 0 0;
  border: 1px solid #ffffff12;
  border-radius: 24px;
  background: #32080e;
  box-shadow: 0 22px 60px #0007;
}

.brand-banner::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #10070912, transparent 58%, #12050b24);
  content: "";
  pointer-events: none;
}

.brand-banner img {
  height: clamp(220px, 27vw, 350px);
  border-radius: inherit;
  object-fit: cover;
  object-position: center 48%;
}

.bestsellers {
  position: relative;
  margin: 30px 0 0;
  padding: 0;
  overflow: visible;
}

.bestsellers-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 16px;
  padding: 0;
}

.bestsellers-heading .eyebrow {
  margin: 0 0 5px;
  color: #ff7772;
  font-size: 9px;
  letter-spacing: 1.8px;
}

.bestsellers-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -1.1px;
  line-height: 1.08;
}

.bestsellers-track {
  width: 100%;
  overflow: hidden;
  padding: 2px 0 8px;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.bestsellers-track::-webkit-scrollbar {
  display: none;
}

.bestseller-rail {
  display: flex;
  width: max-content;
  animation: blox-go-marquee 48s linear infinite;
  will-change: transform;
}

.bestseller-group {
  display: flex;
  flex: none;
  gap: 14px;
  padding-right: 14px;
}

@keyframes blox-go-marquee {
  to { transform: translateX(-50%); }
}

.bestsellers-track:hover .bestseller-rail,
.bestsellers-track:focus-within .bestseller-rail,
.bestsellers-track:active .bestseller-rail,
body:has(dialog[open]) .bestseller-rail {
  animation-play-state: paused;
}

.bestseller-card {
  flex: 0 0 clamp(240px, 27vw, 330px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ffffff14;
  border-radius: 19px;
  background: linear-gradient(145deg, #201217, #110d10 75%);
  box-shadow: 0 12px 30px #0003;
}

.bestseller-art {
  height: 158px;
  margin: 7px 7px 0;
  border-radius: 14px;
  background: radial-gradient(ellipse, #ee38442b, transparent 70%);
}

.bestseller-art img {
  width: 142px;
  height: 142px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px #0009);
}

.bestseller-label {
  top: 11px;
  left: 11px;
  border: 1px solid #ffffff18;
  border-radius: 999px;
  background: #130d10d9;
  color: #ffe3e3;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.bestseller-content {
  padding: 10px 15px 15px;
}

.bestseller-content h3 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: -.4px;
}

.bestseller-content strong {
  margin-bottom: 10px;
  color: #ff716e;
  font-size: 21px;
}

.bestseller-content button {
  min-height: 40px;
  border-radius: 10px;
  font-size: 12px;
}

.catalog {
  margin-top: 26px;
  padding: 32px 0 0;
  border-top: 1px solid #ffffff12;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
  text-align: left;
}

.section-head .eyebrow {
  margin-bottom: 7px;
  color: #ff7772;
  font-size: 10px;
  letter-spacing: 1.8px;
}

.section-head h1 {
  margin: 0 0 6px;
  font-size: clamp(27px, 3.6vw, 40px);
  font-weight: 850;
  letter-spacing: -1.6px;
  line-height: 1.05;
  text-transform: none;
}

.section-head h1 span,
.bestsellers-heading h2 span {
  color: #ff484d;
}

.catalog-subtitle {
  margin: 0;
  color: #b8a9af;
  font-size: 14px;
}

.how-link {
  flex: none;
  padding: 10px 0 4px;
  color: #ffe5e5;
  font-size: 13px;
  font-weight: 700;
}

.how-link span {
  margin-left: 5px;
  color: #ff7772;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid #ffffff12;
}

.tabs {
  display: flex;
  gap: 8px;
}

.tabs button {
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid #ffffff16;
  border-radius: 999px;
  background: #ffffff06;
  color: #cbbec2;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.tabs button:hover {
  border-color: #ff696855;
  color: #fff;
}

.tabs .active {
  border-color: #ff5756;
  background: #e6323c;
  color: white;
  box-shadow: 0 5px 18px #e6323c2b;
}

#result-count {
  color: #9d8d93;
  font-size: 12px;
  white-space: nowrap;
}

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

.card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #ffffff12;
  border-radius: 18px;
  background: linear-gradient(150deg, #191216, #100d0f 75%);
  box-shadow: 0 10px 28px #0003;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #f45a5a75;
  box-shadow: 0 16px 30px #0005, 0 0 24px #e7333710;
}

.card-top {
  position: relative;
  display: grid;
  flex: none;
  height: 170px;
  margin: 7px 7px 0;
  overflow: hidden;
  place-items: center;
  border-radius: 13px;
  background: radial-gradient(ellipse at 50% 60%, #eb344327, transparent 68%), #ffffff03;
}

.card-top .kind {
  z-index: 1;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  padding: 4px 7px;
  border: 1px solid #ffffff18;
  border-radius: 999px;
  background: #100b0ed9;
  color: #f1cfd3;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-image {
  width: min(142px, 85%);
  height: min(142px, 85%);
  margin: 10px 0 0;
  object-fit: contain;
  filter: drop-shadow(0 12px 15px #0009);
  transition: transform .25s ease;
}

.card:hover .product-image {
  transform: translateY(-2px) scale(1.04);
}

.card-top .initial {
  color: #ffc5c4;
  font-size: 54px;
  font-style: normal;
  letter-spacing: -2px;
  text-shadow: 0 4px 30px #ff444455;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 13px 13px;
}

.card h3 {
  display: -webkit-box;
  min-height: 42px;
  margin: 0 0 2px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.35px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card p {
  min-height: 0;
  margin: 0 0 11px;
  color: #a99aa0;
  font-size: 11px;
  line-height: 1.35;
}

.card-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #ffffff12;
}

.card-bottom .price {
  grid-column: 1;
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.card-bottom small {
  grid-column: 1;
  color: #9d8c93;
  font-size: 10px;
}

.add {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: auto;
  min-width: 92px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #ff777222;
  border-radius: 10px;
  background: #e6323c;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 5px 16px #df313526;
}

.add:hover {
  background: #f1484c;
}

.add.selected {
  border-color: #ffffff22;
  background: #2a1c21;
  color: #ffe1e3;
  box-shadow: none;
}

.how {
  display: block;
  margin: 56px 0 50px;
  padding: 25px;
  border: 1px solid #ffffff13;
  border-radius: 21px;
  background: linear-gradient(130deg, #1b1015, #110d0f 72%);
  box-shadow: 0 20px 45px #0003;
}

.how>div:first-child {
  max-width: 620px;
  margin-bottom: 24px;
}

.how .eyebrow {
  margin-bottom: 6px;
  color: #ff7772;
  font-size: 9px;
  letter-spacing: 1.6px;
}

.how h2 {
  margin: 0 0 7px;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.7px;
}

.how>div:first-child p:last-child {
  margin: 0;
  color: #b9aab0;
  font-size: 13px;
}

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

.steps article {
  min-height: 112px;
  margin: 0;
  padding: 15px;
  gap: 12px;
  border: 1px solid #ffffff12;
  border-radius: 14px;
  background: #ffffff04;
}

.steps b {
  color: #ff6868;
  font-family: Inter, Geist, Arial, sans-serif;
  font-size: 18px;
  font-weight: 850;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 13px;
}

.steps p {
  margin: 0;
  color: #aa9ba1;
  font-size: 11px;
  line-height: 1.45;
}

footer {
  display: flex;
  width: min(calc(100% - 56px), 1304px);
  max-width: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 25px 0 max(30px, env(safe-area-inset-bottom));
  border-top: 1px solid #ffffff12;
}

footer .footer-brand {
  gap: 9px;
  font-size: 22px;
}

footer .footer-brand img {
  width: 40px;
  height: 40px;
}

footer small {
  width: auto;
  max-width: 540px;
  color: #9f9097;
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.account-trigger {
  min-width: 58px;
  min-height: 44px;
  padding: 0 12px;
  border-color: #ffffff24;
  background: #ffffff0b;
  color: #fff8f7;
}

.account-label { font-weight: 750; }

#account-modal {
  width: min(calc(100% - 28px), 520px);
  padding: 0;
  border: 1px solid #4a2831;
  border-radius: 22px;
  background: #140e12;
  color: #fff8f7;
  box-shadow: 0 30px 100px #000b;
}

.account-panel { padding: 24px; }
.account-panel .modal-head { margin-bottom: 20px; }
.account-panel .modal-head h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.account-message { margin: 14px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

#google-signin {
  display: flex;
  justify-content: center;
  min-height: 42px;
  margin: 14px 0 20px;
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  background: #ffffff08;
}

.account-profile img,
.account-profile .account-avatar-fallback {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
}

.account-profile img { object-fit: cover; }
.account-profile .account-avatar-fallback { display: grid; place-items: center; background: #a51c2c; font-weight: 800; }
.account-profile strong { display: block; font-size: 14px; }
.account-profile small { color: var(--muted); overflow-wrap: anywhere; }
.account-orders { margin: 18px 0 12px; }
.account-orders h3 { margin: 0 0 10px; font-size: 15px; }

#account-order-list {
  display: grid;
  gap: 8px;
  max-height: 290px;
  overflow: auto;
}

.account-order {
  display: grid;
  width: 100%;
  gap: 4px;
  padding: 12px;
  border: 1px solid #ffffff14;
  border-radius: 12px;
  background: #ffffff07;
  color: inherit;
  text-align: left;
}

.account-order:hover { border-color: #f3525577; background: #f352550e; }
.account-order strong { font-size: 13px; }
.account-order small { color: var(--muted); font-size: 11px; }
#account-modal::backdrop { background: #050304c9; backdrop-filter: blur(7px); }

dialog {
  max-width: calc(100vw - 24px);
  border: 1px solid #ffffff1a;
  border-radius: 22px;
  background: #130f12;
  box-shadow: 0 28px 90px #000b;
}

dialog::backdrop {
  background: #050304c9;
  backdrop-filter: blur(9px);
}

#checkout {
  position: fixed;
  inset: 0;
  width: min(540px, calc(100% - 28px));
  max-width: 540px;
  max-height: min(90dvh, 820px);
  margin: auto;
  padding: 23px;
  overflow: auto;
  border-radius: 22px;
}

#checkout .modal-head {
  margin-bottom: 17px;
}

#checkout .modal-head h2,
#cart .modal-head h2 {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -.6px;
}

#checkout .order-summary,
#checkout .payment-card {
  border: 1px solid #ffffff12;
  background: linear-gradient(145deg, #21161b, #171115);
}

#checkout .payment-card {
  border-radius: 16px;
}

#checkout .pix-qr-frame {
  box-shadow: 0 9px 25px #0005;
}

#checkout input:not([type=checkbox]),
#checkout textarea,
.chat-messages {
  border-color: #ffffff20;
  background: #0e0b0d;
}

#cart {
  width: min(510px, 100%);
  max-width: 100%;
  border-radius: 23px 0 0 23px;
  background: #130f12;
}

.cart-header {
  border-bottom-color: #ffffff12;
  background: linear-gradient(135deg, #211217, #130f12);
}

.cart-row {
  border-color: #ffffff14;
  background: #1b1317;
}

.cart-footer {
  border-top: 1px solid #ffffff12;
  background: #130f12;
}

@media (max-width: 900px) {
  main {
    padding-right: 20px;
    padding-left: 20px;
  }

  .header-inner {
    gap: 15px;
    padding-right: 20px;
    padding-left: 20px;
  }

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

  .card-top {
    height: 142px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 120px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand . actions" "search search search";
    gap: 9px 8px;
    min-height: 0;
    padding: 9px 14px 11px;
  }

  .site-header .brand {
    font-size: 20px;
  }

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

  .header-actions {
    gap: 6px;
  }

  .site-header .bag {
    position: relative;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }

  .site-header .bag .action-label {
    display: none;
  }

  .site-header .account-trigger {
    width: auto;
    min-width: 52px;
    padding: 0 8px;
    font-size: 10px;
  }

  .site-header .bag span:not(.action-label) {
    position: absolute;
    min-width: 17px;
    height: 17px;
    margin: -25px 0 0 25px;
    padding: 0 4px;
    font-size: 9px;
    line-height: 17px;
  }

  .site-header .search-shell {
    width: 100%;
    max-width: none;
    height: 43px;
    padding: 0 10px 0 13px;
    border-radius: 12px;
  }

  .site-header .search-shell input {
    font-size: 14px;
  }

  main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand-banner {
    margin-top: 12px;
    border-radius: 16px;
  }

  .brand-banner img {
    height: clamp(150px, 44vw, 205px);
    object-position: 65% center;
  }

  .bestsellers {
    margin-top: 24px;
  }

  .bestsellers-heading {
    margin-bottom: 12px;
  }

  .bestsellers-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }

  .bestsellers-heading h2 {
    font-size: 25px;
  }

  .bestseller-group {
    gap: 10px;
    padding-right: 10px;
  }

  .bestseller-card {
    flex-basis: min(66vw, 250px);
    border-radius: 16px;
  }

  .bestseller-art {
    height: 130px;
  }

  .bestseller-art img {
    width: 115px;
    height: 115px;
  }

  .bestseller-content {
    padding: 8px 11px 11px;
  }

  .bestseller-content h3 {
    font-size: 15px;
  }

  .bestseller-content strong {
    font-size: 19px;
  }

  .catalog {
    margin-top: 20px;
    padding-top: 23px;
  }

  .section-head {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .section-head h1 {
    font-size: clamp(25px, 7vw, 32px);
    letter-spacing: -1px;
  }

  .catalog-subtitle {
    max-width: 310px;
    font-size: 12px;
  }

  .how-link {
    margin-top: 22px;
    font-size: 11px;
    white-space: nowrap;
  }

  .catalog-tools {
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    padding-bottom: 10px;
  }

  .tabs {
    min-width: 0;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .tabs button {
    min-height: 37px;
    padding: 7px 10px;
    font-size: 10px;
  }

  #result-count {
    font-size: 10px;
  }

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

  .card {
    border-radius: 14px;
  }

  .card-top {
    height: clamp(80px, 26vw, 105px);
    margin: 5px 5px 0;
    border-radius: 10px;
  }

  .card-top .kind {
    top: 6px;
    left: 5px;
    max-width: calc(100% - 10px);
    padding: 3px 5px;
    font-size: 6px;
    letter-spacing: .35px;
  }

  .product-image {
    width: min(78px, 84%);
    height: min(78px, 84%);
    margin-top: 8px;
  }

  .card-top .initial {
    font-size: 38px;
  }

  .card-body {
    padding: 8px 7px 8px;
  }

  .card h3 {
    min-height: 30px;
    font-size: clamp(10px, 3.2vw, 13px);
    letter-spacing: -.2px;
    line-height: 1.2;
  }

  .card p {
    min-height: 12px;
    margin: 0 0 7px;
    overflow: hidden;
    font-size: clamp(8px, 2.5vw, 10px);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-top: 7px;
  }

  .card-bottom .price {
    grid-column: 1;
    font-size: clamp(10px, 3.1vw, 13px);
    letter-spacing: -.3px;
  }

  .card-bottom small {
    display: none;
  }

  .add {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    min-height: 33px;
    padding: 5px 2px;
    border-radius: 8px;
    font-size: 10px;
  }

  .how {
    margin: 34px 0 30px;
    padding: 17px 13px;
    border-radius: 17px;
  }

  .how>div:first-child {
    margin-bottom: 15px;
  }

  .how h2 {
    font-size: 21px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .steps article {
    min-height: 0;
    padding: 12px;
  }

  .steps p {
    font-size: 11px;
  }

  footer {
    width: calc(100% - 28px);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  footer small {
    max-width: 100%;
    font-size: 10px;
    text-align: left;
  }

  #cart {
    inset: auto 0 0;
    width: 100%;
    height: min(88dvh, 740px);
    max-height: 92dvh;
    border-width: 1px 1px 0;
    border-radius: 23px 23px 0 0;
  }

  #checkout {
    inset: auto 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 94dvh;
    margin: 0;
    padding: 20px 16px max(20px, env(safe-area-inset-bottom));
    border-width: 1px 1px 0;
    border-radius: 23px 23px 0 0;
  }
}

@media (max-width: 360px) {
  .site-header .brand {
    font-size: 18px;
  }

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

  .card-top {
    height: 112px;
  }

  .card h3 {
    font-size: 14px;
  }

  .card p {
    font-size: 10px;
  }

  .card-bottom .price {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bestseller-rail {
    animation: none;
    transform: none;
  }

  .bestsellers-track {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .bestseller-group[aria-hidden="true"] {
    display: none;
  }
}

/* Visual adaptation of the supplied Blox Go storefront theme. */
:root {
  --bg: #060304;
  --panel: #12090c;
  --line: #3a1d25;
  --muted: #b9a4ac;
  --lime: #ff3438;
  --blue: #ff8588;
}

body {
  background:
    radial-gradient(ellipse at 14% 5%, #8d101e35 0, transparent 34rem),
    radial-gradient(ellipse at 92% 28%, #500b1830 0, transparent 38rem),
    linear-gradient(180deg, #080304 0%, #0d0609 56%, #060304 100%);
}

.site-header {
  background: linear-gradient(180deg, #10070af2, #090507ed);
  border-bottom-color: #69232c75;
  box-shadow: 0 12px 34px #0007, 0 1px #ff424210;
}

.site-header .search-shell {
  background: linear-gradient(120deg, #1d0d13, #12090d);
  border-color: #5a2935;
  box-shadow: inset 0 1px #ffffff08, 0 10px 28px #0004;
}

.site-header .search-shell:focus-within {
  border-color: #ff666c;
  box-shadow: 0 0 0 3px #ed303523, 0 10px 28px #0005;
}

.site-header .search-shell svg { color: #ff7479; }
.site-header .search-shell input { color: #fff7f7; }
.site-header .search-shell input::placeholder { color: #c1a9b0; }

.brand-banner {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #ff6a7024;
  box-shadow: 0 22px 55px #0008, 0 0 32px #bc142415;
}

.brand-banner::after {
  background: linear-gradient(90deg, #14050926, transparent 55%, #18050d20);
}

.bestseller-card,
.card {
  border-color: #ff6a701b;
  background: linear-gradient(150deg, #251017, #10090d 76%);
}

.bestseller-card {
  box-shadow: 0 14px 34px #0005, inset 0 1px #ffffff08;
}

.bestseller-art,
.card-top {
  background: radial-gradient(ellipse at 50% 60%, #e6313d32, transparent 69%), #ffffff03;
}

.card:hover,
.bestseller-card:hover {
  border-color: #ff62676e;
  box-shadow: 0 18px 36px #0007, 0 0 25px #e7333715;
}

.tabs .active,
.site-header #open-cart,
.add:not(.selected) {
  background: linear-gradient(135deg, #f13a40, #c91d2b);
}

.tabs .active { border-color: #ff7779; }
.add:not(.selected) { box-shadow: 0 7px 18px #db26332c; }

@media (max-width: 680px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 16px; }
  .card-top { height: 138px; margin: 5px 5px 0; border-radius: 12px; }
  .product-image { width: min(116px, 88%); height: min(116px, 88%); }
  .card-body { padding: 10px 10px 11px; }
  .card h3 { min-height: 38px; font-size: 14px; }
  .card-bottom .price { font-size: 16px; }
  .add { min-width: 0; min-height: 38px; padding: 7px 8px; font-size: 11px; }
}

@media (max-width: 360px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card-top { height: 112px; }
  .product-image { width: 92px; height: 92px; }
  .card-body { padding: 8px; }
  .card-bottom .price { font-size: 14px; }
}
