/* Visual direction informed by Unslop by Damir Sokolovsky, CC BY 4.0: https://github.com/heydamir/unslop */
body.commerce-site {
  color-scheme: light;
  --bg: #fff;
  --surface: #fff;
  --raised: #f6f6f6;
  --paper: #242424;
  --muted: #858585;
  --line: #ededed;
  --copper: #d83b34;
  --citron: #d83b34;
  color: var(--paper);
  background: var(--bg);
}

body.commerce-site input,
body.commerce-site select,
body.commerce-site textarea {
  color: var(--paper);
  background: #fff;
  border-color: #e5e5e5;
}

body.commerce-site input::placeholder,
body.commerce-site textarea::placeholder { color: #999; }

body.commerce-site button:focus-visible,
body.commerce-site a:focus-visible,
body.commerce-site input:focus-visible,
body.commerce-site select:focus-visible,
body.commerce-site textarea:focus-visible { outline-color: var(--copper); }

body.commerce-site .demo-bar { display: none; }
body.commerce-site .commerce-nav {
  min-height: 64px;
  height: 64px;
  padding: 0 max(20px, calc((100% - 1240px) / 2));
  gap: 32px;
  color: var(--paper);
  background: #fff;
  border-color: #f0f0f0;
}
body.commerce-site .commerce-brand { gap: 9px; }
body.commerce-site .commerce-brand b { color: #242424; font-weight: 700; font-size: 18px; }
body.commerce-site .brand-mark { grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); gap: 2px; }
body.commerce-site .brand-mark i:first-child { background: var(--copper); border-color: var(--copper); }
body.commerce-site .brand-mark i:last-child { background: #fff; border-color: #aaa; }
body.commerce-site .brand-sub { color: #999; border-color: #e5e5e5; padding-left: 11px; font-size: 10px; }
body.commerce-site .commerce-nav nav { gap: 24px; }
body.commerce-site .commerce-nav nav a { color: #666; font-size: 13px; }
body.commerce-site .commerce-nav nav a[aria-current] { color: var(--copper); border-color: var(--copper); }
body.commerce-site .nav-actions { gap: 20px; }
body.commerce-site .account-button,
body.commerce-site .bag-button { color: #555; min-height: 44px; }
body.commerce-site .bag-button b { color: #fff; background: var(--copper); }

body.commerce-site .primary-button { color: #fff; background: var(--copper); border-radius: 5px; }
body.commerce-site .primary-button:hover { background: #c72f29; }
body.commerce-site .outline-button { color: #444; border-color: #ddd; border-radius: 5px; }
body.commerce-site .outline-button:hover,
body.commerce-site .icon-button:hover { color: var(--copper); border-color: var(--copper); }
body.commerce-site .text-button:hover,
body.commerce-site .line-label,
body.commerce-site .payment-details summary,
body.commerce-site .wallet-amount,
body.commerce-site .shop-hero h1 span,
body.commerce-site .orders-title h1 span { color: var(--copper); }

.store-search-wrap {
  position: sticky;
  top: 0;
  z-index: 15;
  padding: 12px 0;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #f4f4f4;
}
.store-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 15px;
  border-radius: 24px;
  background: #f2f2f2;
}
.store-search > span { color: #8a8a8a; display: flex; }
.store-search svg { width: 20px; height: 20px; }
.store-search input {
  flex: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent !important;
  color: #292929 !important;
  font-size: 15px;
}
.store-search input:focus { border: 0; }
.store-search input::placeholder { color: #888; }
.search-clear {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #888;
}
.search-clear svg { width: 17px; }
.store-category-nav {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  height: 54px;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  border-bottom: 1px solid #f2f2f2;
}
.store-category-nav::-webkit-scrollbar { display: none; }
.store-category-nav button {
  flex: 0 0 auto;
  position: relative;
  padding: 0 1px;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 15px;
  font-weight: 500;
}
.store-category-nav button.active { color: var(--copper); font-weight: 700; }
.store-category-nav button.active::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--copper);
}
.market-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff4f1;
}
.market-banner-copy { position: relative; z-index: 1; padding: 16px 22px; }
.market-banner-copy > span { color: #c94337; font-size: 11px; }
.market-banner h1 { margin: 7px 0 5px; color: #292525; font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; }
.market-banner p { margin: 0; color: #776d68; font-size: 12px; }
.market-banner img {
  width: 37%;
  height: 120px;
  object-fit: cover;
  object-position: center 55%;
  mask-image: linear-gradient(90deg, transparent, #000 28%);
}
.market-banner > a { position: absolute; inset: 0; z-index: 2; }
.collection { padding-top: 22px; }
body.commerce-site .section-title { align-items: center; }
body.commerce-site .section-title h2 { margin: 0 0 4px; color: #262626; font-size: 20px; font-weight: 700; letter-spacing: 0; }
body.commerce-site .section-title p { margin: 0; color: #999; font-size: 11px; }
body.commerce-site .collection-count { color: #999; font-size: 11px; }
body.commerce-site .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 14px; padding-top: 16px; }
body.commerce-site .product-card { overflow: hidden; border: 1px solid #f0f0f0; border-radius: 7px; background: #fff; }
body.commerce-site .product-image-button { aspect-ratio: 1.08; background: #f6f6f6; border-radius: 0; }
body.commerce-site .product-image-button img { filter: none; }
body.commerce-site .product-image-button:hover img { transform: scale(1.025); }
body.commerce-site .product-category { top: 9px; left: 9px; padding: 4px 7px; border-radius: 3px; color: #fff; background: rgba(32, 32, 32, .68); font-size: 10px; backdrop-filter: none; }
body.commerce-site .product-top { margin: 10px 10px 0; }
body.commerce-site .product-top h3 { display: -webkit-box; overflow: hidden; color: #282828; font-size: 14px; font-weight: 500; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.commerce-site .product-card > p { display: -webkit-box; min-height: 31px; margin: 4px 10px 7px; overflow: hidden; color: #929292; font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.commerce-site .product-bottom { gap: 4px; margin: 0 8px 9px; }
body.commerce-site .product-price { color: var(--copper); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
body.commerce-site .product-price small { display: block; margin: 2px 0 0; color: #999; font-size: 9px; font-weight: 400; }
body.commerce-site .add-bag {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--copper);
  background: #fff0ef;
}
body.commerce-site .add-bag svg { width: 17px; }
body.commerce-site .add-bag:hover { color: #fff; background: var(--copper); }
body.commerce-site .service-strip { margin-top: 38px; padding: 22px 0; border-color: #eee; gap: 24px; }
body.commerce-site .service-strip > div { padding-left: 28px; }
body.commerce-site .service-strip span { color: var(--copper); }
body.commerce-site .service-strip b { color: #333; font-size: 12px; }
body.commerce-site .service-strip p { color: #888; font-size: 10px; }
body.commerce-site .commerce-footer { padding: 20px 0 28px; border-color: #eee; color: #888; }
body.commerce-site .commerce-footer > a:first-child { color: #444; }
body.commerce-site .commerce-footer > a > span { color: #999; }
.mobile-bottom-nav { display: none; }

/* Orders, account, wallet and checkout stay legible on the same white surface. */
body.commerce-site .commerce-dialog { color: #242424; background: #fff; border-color: #e7e7e7; box-shadow: 0 16px 50px rgba(0,0,0,.18); }
body.commerce-site .commerce-dialog::backdrop { background: rgba(0,0,0,.5); }
body.commerce-site .commerce-dialog p,
body.commerce-site .form-heading > p,
body.commerce-site .wallet-amount small,
body.commerce-site .wallet-payment .payment-account { color: #777; }
body.commerce-site form label { color: #444; }
body.commerce-site .dialog-x,
body.commerce-site .empty-state,
body.commerce-site .checkout-summary,
body.commerce-site .payment-choice-option,
body.commerce-site .wallet-payment .payment-account,
body.commerce-site .payment-check-result,
body.commerce-site .address-block,
body.commerce-site .tracking-box { color: #333; background: #f7f7f7; border-color: #e7e7e7; }
body.commerce-site .empty-state svg { color: var(--copper); }
body.commerce-site .payment-choice-option:has(input:checked) { background: #fff2f0; border-color: var(--copper); }
body.commerce-site .payment-choice-option input { accent-color: var(--copper); }
body.commerce-site .checkout-summary .summary-line.total b,
body.commerce-site .cart-price,
body.commerce-site .summary-line.total b { color: var(--copper); }
body.commerce-site .notice { color: #8e342e; background: #fff4f2; border-left-color: var(--copper); }
body.commerce-site .form-error { color: #c73530 !important; }
body.commerce-site .auth-tabs button.active { color: #242424; border-color: var(--copper); }
body.commerce-site .auth-hint { color: #815a56 !important; }
body.commerce-site .wallet-payment select { color: #242424; background: #fff; border-color: #ddd; }
body.commerce-site .status.payment_review { color: #8a651b; background: #fff7df; }
body.commerce-site .order-card { color: #333; background: #fff; border-color: #ededed; }
body.commerce-site .order-card-head,
body.commerce-site .order-card-foot { border-color: #eee; }
body.commerce-site .order-card-foot { color: #777; background: #fafafa; }
body.commerce-site .order-product .extra-items { color: #888; }
body.commerce-site .timeline li { color: #666; border-color: #eee; }
body.commerce-site .timeline li:first-child,
body.commerce-site .tracking-box .text-button { color: var(--copper); }
body.commerce-site .timeline li::before { background: #ccc; }
body.commerce-site .timeline li:first-child::before { background: var(--copper); }
body.commerce-site .order-steps li.done { color: #666; }
body.commerce-site .order-steps li.done::after { background: #e89c96; }
body.commerce-site .order-steps .step-dot { color: #777; background: #fff; border-color: #ddd; }
body.commerce-site .order-steps li.done .step-dot,
body.commerce-site .order-steps li.current .step-dot { color: #fff; background: var(--copper); border-color: var(--copper); }
body.commerce-site .order-steps li.current { color: var(--copper); }
body.commerce-site .order-step-cancelled { color: #777; background: #f7f7f7; border-color: #eee; }
body.commerce-site #toast { color: #fff; background: var(--copper); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
body.commerce-site .orders-main { padding-top: 28px; padding-bottom: 42px; }
body.commerce-site .orders-title h1 { color: #242424; font-size: 30px; font-weight: 700; letter-spacing: 0; }
body.commerce-site .orders-title p { color: #888; }
body.commerce-site .orders-toolbar .category-tabs button.active::after { background: var(--copper); }
.policy-main { max-width: 820px; padding: 34px 0 70px; }
.back-link { color: var(--copper); font-size: 13px; }
.policy-main h1 { margin: 24px 0 8px; color: #242424; font-size: 34px; }
.policy-lead { margin: 0 0 34px; color: #888; font-size: 14px; }
.policy-section { padding: 23px 0; border-top: 1px solid #eee; }
.policy-section h2 { margin: 0 0 10px; color: #333; font-size: 18px; }
.policy-section p { margin: 8px 0; color: #666; font-size: 13px; line-height: 1.9; }
.policy-placeholder { padding: 12px 14px; color: #975e59 !important; background: #fff4f2; border-left: 3px solid var(--copper); }
.after-sales-help { margin: 0 0 12px !important; }
.after-sales-empty { color: #999 !important; }
.after-sales-row { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 12px; padding: 11px 12px; margin: 8px 0; border: 1px solid #eee; border-radius: 5px; background: #fafafa; }
.after-sales-row b { font-size: 12px; }
.after-sales-row span { display: block; margin-top: 3px; color: #888; font-size: 11px; }
.after-sales-row strong { color: var(--copper); font-size: 11px; }
.after-sales-row small { grid-column: 1 / -1; color: #aaa; font-size: 10px; }
.after-sales-row p { grid-column: 1 / -1; margin: 4px 0 0 !important; color: #777; font-size: 11px !important; }
@media (max-width: 720px) {
  .policy-main { padding: 22px 0 80px; }
  .policy-main h1 { font-size: 27px; }
  .policy-lead { font-size: 12px; margin-bottom: 20px; }
  .policy-section { padding: 18px 0; }
  .policy-section h2 { font-size: 16px; }
  .policy-section p { font-size: 12px; line-height: 1.8; }
}

@media (min-width: 721px) {
  .store-search-wrap { position: static; padding: 15px 0 0; border: 0; }
  .store-search { max-width: 780px; margin-inline: auto; }
  .store-category-nav { justify-content: center; }
}
@media (max-width: 900px) {
  body.commerce-site .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body.commerce-site .wrap { width: calc(100% - 20px); }
  body.commerce-site .commerce-nav { height: 54px; min-height: 54px; padding: 0 12px; display: flex; justify-content: space-between; gap: 8px; }
  body.commerce-site .commerce-brand { gap: 7px; }
  body.commerce-site .commerce-brand b { font-size: 17px; }
  body.commerce-site .brand-sub { display: none; }
  body.commerce-site .commerce-nav nav { display: none; }
  body.commerce-site .commerce-nav .nav-actions { display: none; }
  body.commerce-site .nav-actions { gap: 11px; }
  body.commerce-site .account-button,
  body.commerce-site .bag-button { justify-content: center; width: 38px; min-width: 38px; height: 42px; padding: 0; }
  body.commerce-site .account-button > span,
  body.commerce-site .bag-button > span { display: none; }
  body.commerce-site .nav-actions svg { width: 20px; height: 20px; }
  body.commerce-site .bag-button { position: relative; }
  body.commerce-site .bag-button b { position: absolute; top: 0; right: -2px; min-width: 17px; height: 17px; font-size: 9px; }
  .store-search-wrap { padding: 8px 0; }
  .store-search { width: calc(100% - 24px) !important; height: 42px; padding-inline: 13px; }
  .store-search input { font-size: 14px; }
  .store-category-nav { width: 100% !important; height: 48px; gap: 25px; padding: 0 14px; }
  .store-category-nav button { font-size: 14px; }
  .market-banner { width: calc(100% - 20px) !important; min-height: 94px; margin-top: 10px; border-radius: 6px; }
  .market-banner-copy { padding: 12px 14px; }
  .market-banner-copy > span { font-size: 9px; }
  .market-banner h1 { margin: 6px 0 4px; font-size: 16px; }
  .market-banner p { font-size: 10px; }
  .market-banner img { width: 34%; height: 94px; }
  .collection { padding-top: 18px; }
  body.commerce-site .section-title h2 { font-size: 18px; }
  body.commerce-site .section-title p { font-size: 10px; }
  body.commerce-site .collection-count { font-size: 10px; }
  body.commerce-site .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 12px; }
  body.commerce-site .product-card { border-radius: 6px; }
  body.commerce-site .product-image-button { aspect-ratio: 1; }
  body.commerce-site .product-top { margin: 8px 8px 0; }
  body.commerce-site .product-top h3 { font-size: 12px; line-height: 1.5; }
  body.commerce-site .product-card > p { min-height: 28px; margin: 3px 8px 6px; font-size: 9px; }
  body.commerce-site .product-bottom { margin: 0 7px 7px; }
  body.commerce-site .product-price { font-size: 14px; }
  body.commerce-site .product-price small { font-size: 8px; }
  body.commerce-site .add-bag { flex-basis: 31px; width: 31px; height: 31px; }
  body.commerce-site .service-strip { margin-top: 25px; padding: 18px 0; grid-template-columns: 1fr; gap: 13px; }
  body.commerce-site .service-strip > div { padding-left: 25px; }
  body.commerce-site .service-strip b { font-size: 11px; }
  body.commerce-site .service-strip p { margin-top: 4px; font-size: 9px; }
  body.commerce-site .commerce-footer { padding: 15px 0 92px; font-size: 9px; }
  body.commerce-site .commerce-footer > a > span { display: none; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid #ededed;
    background: rgba(255,255,255,.98);
    box-shadow: 0 -3px 12px rgba(0,0,0,.035);
  }
  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 1px 0;
    border: 0;
    color: #777;
    background: none;
    font-size: 10px;
  }
  .mobile-bottom-nav .is-active { color: var(--copper); }
  .mobile-nav-icon { display: flex; }
  .mobile-nav-icon svg { width: 21px; height: 21px; stroke-width: 1.7; }
  .mobile-bottom-nav b { position: absolute; top: 0; right: calc(50% - 23px); display: grid; min-width: 15px; height: 15px; place-items: center; padding: 0 3px; border-radius: 10px; color: #fff; background: var(--copper); font-size: 8px; font-weight: 500; }
  body.commerce-site .orders-main { padding: 19px 0 94px; }
  body.commerce-site .orders-title { margin-bottom: 17px; }
  body.commerce-site .orders-title h1 { font-size: 24px; }
  body.commerce-site .orders-title h1 br,
  body.commerce-site .orders-title p { display: none; }
  body.commerce-site .orders-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  body.commerce-site .orders-toolbar .category-tabs { width: 100%; gap: 19px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
  body.commerce-site .orders-toolbar .category-tabs::-webkit-scrollbar { display: none; }
  body.commerce-site .orders-toolbar .category-tabs button { flex: 0 0 auto; }
  body.commerce-site .orders-toolbar > .text-button { align-self: flex-end; min-height: 30px; }
}
@media (max-width: 380px) {
  .market-banner h1 { font-size: 14px; }
  body.commerce-site .product-price { font-size: 13px; }
  body.commerce-site .product-grid { gap: 8px; }
}
