:root {
  --bg: #f3f4f6;
  --paper: #ffffff;
  --ink: #111318;
  --muted: #747b88;
  --line: #e6e8ed;
  --accent: #c01822;
  --accent-dark: #8f1118;
  --gold: #d8b977;
  --soft: #f9fafb;
  --shadow: 0 18px 50px rgba(19, 22, 30, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
}

body.overlay-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 12px;
  color: #fff;
  background: #111318;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-140%);
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(192, 24, 34, 0.36);
  outline-offset: 2px;
}

button:disabled {
  cursor: default;
  opacity: 0.58;
}

select {
  font: inherit;
}

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

.phone-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 92px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), var(--shadow);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 45px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  color: #1b1f27;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}

.top-action span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-action svg,
.icon-button svg,
.contact-strip svg,
.cart-fab svg,
.primary-button svg,
.secondary-button svg,
.search-box svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.category-menu {
  position: sticky;
  top: 45px;
  z-index: 19;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 24px rgba(17, 19, 24, 0.08);
  backdrop-filter: blur(12px);
}

.category-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}

.category-menu-head.compact {
  margin-top: 11px;
}

.text-button {
  color: var(--accent);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.brand-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  max-height: 174px;
  overflow: auto;
  padding-right: 2px;
}

.brand-choice,
.tag-choice {
  min-width: 0;
  overflow: hidden;
  color: #303541;
  background: #f3f4f7;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-choice {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 8px;
}

.brand-choice img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.brand-choice.active,
.tag-choice.active {
  color: var(--accent);
  background: #fff8f7;
  border-color: rgba(192, 24, 34, 0.22);
}

.tag-menu {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.tag-menu::-webkit-scrollbar {
  display: none;
}

.tag-choice {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
}

.store-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 12px 11px;
  border-bottom: 1px solid var(--line);
}

.store-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.store-copy {
  min-width: 0;
  flex: 1;
}

.store-copy h1 {
  margin: 0 0 6px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-stats {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.store-stats b {
  color: var(--accent);
}

.icon-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.contact-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 31px;
  padding: 0 12px;
  color: #fff;
  background: #101216;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.hero {
  min-height: 108px;
  background: #f5f5f5;
}

.hero img {
  width: 100%;
  aspect-ratio: 1081 / 374;
  object-fit: cover;
}

.brand-slides {
  display: grid;
  grid-auto-columns: 45%;
  grid-auto-flow: column;
  gap: 7px;
  overflow-x: auto;
  padding: 8px 9px 2px;
  scrollbar-width: none;
}

.brand-slides::-webkit-scrollbar,
.brand-grid::-webkit-scrollbar,
.tabs::-webkit-scrollbar {
  display: none;
}

.brand-banner {
  min-height: 68px;
  overflow: hidden;
  border-radius: 6px;
}

.brand-banner img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 4px;
  padding: 12px 7px 10px;
  border-bottom: 1px solid var(--line);
}

.brand-item {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 4px;
  color: var(--muted);
  background: transparent;
}

.brand-item.active {
  color: var(--accent);
}

.brand-item img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.brand-item span {
  width: 100%;
  min-height: 26px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
}

.tabs {
  position: sticky;
  top: 45px;
  z-index: 15;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.active-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  color: #343a45;
  background: #fff8f7;
  border-bottom: 1px solid rgba(192, 24, 34, 0.16);
  font-size: 12px;
  font-weight: 800;
}

.active-filter span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-filter .icon-button {
  width: 28px;
  height: 28px;
  background: #fff;
}

.tab {
  min-width: 62px;
  height: 30px;
  color: #3d4350;
  background: #f1f2f5;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.tab.active {
  color: #fff;
  background: #151922;
}

.sort-select {
  min-width: 88px;
  height: 30px;
  margin-left: auto;
  padding: 0 8px;
  color: #3d4350;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  height: 38px;
  padding: 0 11px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 10px 9px 16px;
  background: #f7f8fa;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(52px, auto) 30px;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #eef0f4;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(17, 19, 24, 0.04);
}

.product-card button {
  text-align: left;
}

.product-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eef0f2;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: rgba(16, 18, 22, 0.74);
  border-radius: 50%;
}

.video-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.product-title {
  display: -webkit-box;
  min-height: 52px;
  margin: 0;
  overflow: hidden;
  padding: 8px 8px 0;
  color: #20242d;
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 0 7px 7px 8px;
}

.price {
  min-width: 0;
  overflow: hidden;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-cart {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: #111318;
  border-radius: 50%;
}

.mini-cart svg {
  width: 14px;
  height: 14px;
}

.load-state {
  min-height: 48px;
  padding: 14px;
  color: var(--muted);
  background: #f7f8fa;
  font-size: 13px;
  text-align: center;
}

.cart-fab {
  position: fixed;
  right: max(14px, calc((100vw - 430px) / 2 + 14px));
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 58px;
  height: 46px;
  color: #fff;
  background: #111318;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.cart-fab span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  color: #111318;
  background: var(--gold);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.product-dialog {
  width: min(100% - 18px, 430px);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.signin-dialog {
  width: min(100% - 22px, 390px);
  max-height: 92vh;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 8px;
}

.signin-dialog::backdrop,
.tracking-dialog::backdrop {
  background: rgba(8, 10, 14, 0.52);
}

.signin-card,
.tracking-card {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
  background: #fff;
}

.tracking-dialog {
  width: min(100% - 22px, 390px);
  max-height: 92vh;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 8px;
}

.signin-head,
.tracking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
}

.signin-head h2,
.tracking-head h2 {
  margin: 0;
  font-size: 17px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 3px;
  background: #f3f4f7;
  border-radius: 8px;
}

.auth-tabs.single {
  grid-template-columns: 1fr;
}

.auth-tabs button {
  min-height: 34px;
  color: #4b5360;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.auth-tabs button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 4px rgba(17, 19, 24, 0.09);
}

.google-login {
  display: grid;
  min-height: 40px;
  justify-content: center;
}

.google-login[hidden] {
  display: none;
}

.auth-account {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.auth-account span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.auth-account strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-orders {
  display: grid;
  gap: 8px;
  padding: 11px;
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-orders > header,
.account-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-orders > header > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

#accountOrderList {
  display: grid;
  gap: 7px;
}

.account-order-row {
  padding-top: 7px;
  border-top: 1px solid var(--line);
}

.account-order-row > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.account-order-row strong,
.account-order-row span,
.account-order-empty {
  overflow-wrap: anywhere;
}

.account-order-row strong {
  color: var(--ink);
  font-size: 12px;
}

.account-order-row span,
.account-order-empty {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.auth-reset-button {
  justify-self: start;
  min-height: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.signin-card label,
.tracking-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.signin-card input,
.tracking-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 10px;
}

.signin-card input:read-only {
  color: var(--muted);
  background: #f8f9fb;
}

.auth-profile-fields {
  display: grid;
  gap: 9px;
  padding: 11px;
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.auth-profile-fields[hidden] {
  display: none;
}

.auth-profile-fields h3 {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
}

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

.auth-profile-grid .wide-field,
.checkout-grid .wide-field {
  grid-column: 1 / -1;
}

.auth-message {
  min-height: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.auth-message[data-tone="error"],
.tracking-message[data-tone="error"] {
  color: var(--accent);
}

.auth-message[data-tone="success"],
.tracking-message[data-tone="success"] {
  color: #146c43;
}

.tracking-message {
  min-height: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tracking-result {
  display: grid;
  gap: 10px;
  padding: 11px;
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tracking-summary {
  display: grid;
  gap: 3px;
}

.tracking-summary span,
.tracking-summary small,
.tracking-fields dt,
.tracking-timeline small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.tracking-summary strong {
  color: var(--ink);
  font-size: 16px;
}

.tracking-fields {
  display: grid;
  gap: 7px;
  margin: 0;
}

.tracking-fields div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
}

.tracking-fields dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.tracking-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  color: #fff;
  background: #151922;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.tracking-timeline {
  display: grid;
  gap: 9px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 8px;
}

.timeline-item > span {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  background: var(--accent);
  border-radius: 999px;
}

.timeline-item strong {
  display: block;
  font-size: 12px;
}

.timeline-item p {
  margin: 2px 0;
  color: #303541;
  font-size: 12px;
  line-height: 1.35;
}

.tracking-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.auth-debug {
  padding: 9px 10px;
  color: #151922;
  background: #fff7e2;
  border: 1px solid #efd38c;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.signin-dialog.account-mode {
  width: min(100% - 22px, 760px);
}

.signin-dialog.account-mode .signin-card {
  padding: 0 18px 18px;
}

.auth-account {
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
}

.auth-account > div:not(.account-avatar) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.auth-account small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: #171b23;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
}

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

.account-summary > div {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 2px 6px;
  align-items: center;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-summary svg {
  width: 16px;
  height: 16px;
  grid-row: 1 / 3;
  color: var(--accent);
}

.account-summary span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-summary strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
}

.account-orders {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.account-orders > header {
  padding: 11px 12px;
  background: #f8f9fb;
  border-bottom: 1px solid var(--line);
}

.account-orders > header > div {
  display: grid;
  gap: 2px;
}

.account-orders > header strong {
  font-size: 13px;
}

.account-orders > header span {
  color: var(--muted);
  font-size: 10px;
}

#accountOrderList {
  max-height: 500px;
  overflow: auto;
}

.account-order-card {
  border-bottom: 1px solid var(--line);
}

.account-order-card:last-child {
  border-bottom: 0;
}

.account-order-card > header,
.account-order-card > footer,
.account-order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
}

.account-order-card > header > div,
.account-order-status {
  display: grid;
  gap: 2px;
}

.account-order-card > header span,
.account-order-status span,
.account-order-total span {
  color: var(--muted);
  font-size: 10px;
}

.account-order-status {
  text-align: right;
}

.account-order-status strong {
  color: #146c43;
  font-size: 12px;
}

.account-order-items {
  display: grid;
  gap: 6px;
  padding: 0 12px;
}

.account-order-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px;
  background: #f8f9fb;
  border-radius: 7px;
}

.account-order-item img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  background: #eef0f3;
  border-radius: 5px;
}

.account-order-item > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.account-order-item strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-order-item span,
.account-order-item b {
  color: var(--muted);
  font-size: 10px;
}

.account-order-total {
  border-bottom: 1px solid #edf0f4;
}

.account-order-total strong {
  color: var(--accent);
  font-size: 15px;
}

.account-order-card details {
  padding: 0 12px;
}

.account-order-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  list-style: none;
}

.account-order-card summary::-webkit-details-marker {
  display: none;
}

.account-order-card summary svg {
  width: 14px;
  height: 14px;
}

.account-order-card details[open] summary svg {
  transform: rotate(180deg);
}

.account-order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.account-order-detail-grid > div {
  display: grid;
  gap: 3px;
  padding: 8px;
  background: #f8f9fb;
  border-radius: 6px;
}

.account-order-detail-grid span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.account-order-detail-grid strong {
  overflow-wrap: anywhere;
  font-size: 10px;
  line-height: 1.4;
}

.account-order-timeline {
  display: grid;
  gap: 7px;
  margin: 9px 0;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.account-order-timeline > div {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 7px;
}

.account-order-timeline > div > span {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.account-order-timeline p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.account-order-timeline strong,
.account-order-timeline small {
  font-size: 10px;
}

.account-order-timeline small {
  color: var(--muted);
  line-height: 1.35;
}

.account-order-card > footer {
  padding-top: 8px;
  border-top: 1px solid #edf0f4;
}

.account-order-card > footer .secondary-button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 10px;
}

.account-order-card > footer .text-button {
  min-height: 30px;
  color: var(--accent);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.account-order-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px 12px;
  text-align: center;
}

.account-order-empty svg {
  width: 25px;
  height: 25px;
  color: #9ca5b2;
}

.account-order-empty span {
  max-width: 280px;
  line-height: 1.4;
}

.account-loader {
  width: 20px;
  height: 20px;
  border: 2px solid #d6dae1;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.account-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.account-section-title > div {
  display: grid;
  gap: 3px;
}

.account-section-title span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.account-section-title svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 620px) {
  .account-summary,
  .account-order-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-summary > div {
    min-width: 0;
  }
}

.product-dialog::backdrop {
  background: rgba(8, 10, 14, 0.58);
}

.dialog-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.88);
}

.detail-media {
  display: grid;
  grid-auto-columns: 86%;
  grid-auto-flow: column;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 8px;
  background: #f0f1f3;
  scroll-snap-type: x mandatory;
}

.detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  scroll-snap-align: start;
}

.detail-media video {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #111318;
  object-fit: contain;
  scroll-snap-align: start;
}

.detail-body {
  padding: 13px;
}

.detail-brand {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.detail-body h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.detail-body pre {
  max-height: 164px;
  margin: 0;
  overflow: auto;
  color: #373d49;
  font: 13px/1.55 Arial, Helvetica, sans-serif;
  white-space: pre-wrap;
}

.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.detail-actions strong {
  color: var(--accent);
  font-size: 20px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 800;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: #151922;
  background: #f3f4f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.primary-button:active {
  background: var(--accent-dark);
}

.detail-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 9px;
}

.wide {
  width: 100%;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.cart-drawer.open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.5);
}

.drawer-panel {
  position: absolute;
  right: max(0px, calc((100vw - 430px) / 2));
  bottom: 0;
  width: min(100%, 430px);
  max-height: 88vh;
  overflow: auto;
  background: var(--paper);
  border-radius: 8px 8px 0 0;
}

.drawer-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  margin: 0;
  font-size: 17px;
}

.cart-items {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.cart-line img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-line h3 {
  display: -webkit-box;
  margin: 0 0 5px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-line p {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.qty-control {
  display: grid;
  grid-template-columns: 24px 24px 24px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.qty-control button {
  height: 26px;
  background: var(--soft);
  color: var(--ink);
}

.qty-control span {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.checkout-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.checkout-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.checkout-address {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-address legend {
  padding: 0 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 9px 10px;
  color: var(--ink);
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: #111318;
}

.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 0 0;
}

.checkout-total strong {
  color: var(--accent);
  font-size: 18px;
}

.checkout-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.order-guide {
  display: grid;
  gap: 16px;
  padding: 25px 18px;
  color: #fff;
  background: #151922;
}

.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-guide h2 {
  margin: 5px 0 8px;
  font-size: 21px;
}

.order-guide p {
  margin: 0;
  color: #c9cdd5;
  font-size: 13px;
  line-height: 1.55;
}

.order-guide ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-guide li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #eef0f4;
  font-size: 12px;
  line-height: 1.4;
}

.order-guide li b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #111318;
  background: var(--gold);
  border-radius: 50%;
  font-size: 12px;
}

.order-guide-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.order-guide .secondary-button {
  color: #fff;
  background: #242a35;
  border-color: #363d4b;
}

.store-footer {
  display: grid;
  gap: 5px;
  padding: 20px 18px 28px;
  color: var(--muted);
  background: #0f1218;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.store-footer strong {
  color: #fff;
  font-size: 14px;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 7px;
}

.policy-links a {
  color: #d8dbe2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.noscript {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 100;
  padding: 12px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 76px;
  z-index: 70;
  max-width: min(360px, calc(100vw - 32px));
  padding: 9px 13px;
  color: #fff;
  background: rgba(17, 19, 24, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  font-size: 13px;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 340px) {
  .auth-profile-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .auth-profile-grid .wide-field,
  .checkout-grid .wide-field {
    grid-column: auto;
  }

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

  .order-guide-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 760px) {
  .phone-shell {
    width: min(calc(100% - 48px), 1120px);
  }

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

  .store-head {
    padding-inline: 22px;
  }

  .contact-strip {
    padding-inline: 22px;
  }

  .brand-slides {
    grid-auto-columns: calc((100% - 16px) / 3);
    gap: 8px;
    padding: 12px 14px 4px;
  }

  .brand-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px 8px;
    padding: 18px 16px 14px;
  }

  .brand-item img {
    width: 48px;
    height: 48px;
  }

  .brand-item span {
    font-size: 11px;
  }

  .tabs {
    padding-inline: 16px;
  }

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

  .product-title {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .cart-fab {
    right: max(24px, calc((100vw - 1120px) / 2 + 24px));
  }

  .drawer-panel {
    right: max(24px, calc((100vw - 1120px) / 2 + 24px));
    bottom: 18px;
    width: min(calc(100% - 48px), 430px);
    border-radius: 10px;
  }

  .product-dialog {
    width: min(100% - 48px, 880px);
  }

  .dialog-card {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    max-height: 92vh;
  }

  .detail-media {
    grid-auto-columns: 100%;
    min-height: 520px;
    max-height: 92vh;
    padding: 0;
  }

  .detail-media img,
  .detail-media video {
    min-height: 520px;
    object-fit: contain;
  }

  .detail-body {
    align-self: center;
    max-height: 92vh;
    overflow: auto;
    padding: 32px 26px;
  }

  .order-guide {
    grid-template-columns: 1.1fr 1fr;
    gap: 24px 48px;
    padding: 38px 36px;
  }

  .order-guide-actions {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 390px;
  }

  .store-footer {
    padding: 24px 36px 32px;
  }
}

@media (max-width: 759px) {
  .mini-cart,
  .icon-button {
    min-width: 44px;
    min-height: 44px;
  }

  .qty-control {
    grid-template-columns: repeat(3, 36px);
  }

  .qty-control button {
    min-width: 36px;
    height: 36px;
  }

  .sort-select,
  .checkout-form input,
  .checkout-form select,
  .signin-card input,
  .tracking-card input {
    min-height: 44px;
  }
}

/* Catalog controls, crawlable product links, and category discovery */
.topbar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-menu-head > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.category-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin-bottom: 9px;
  padding: 0 11px;
  color: var(--muted);
  background: #f6f6f2;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.category-search svg {
  width: 15px;
  height: 15px;
}

.category-search input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 11px;
}

.tabs {
  scrollbar-width: thin;
}

.result-count {
  min-width: max-content;
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.product-thumb,
.product-title {
  text-decoration: none;
}

.product-thumb {
  display: block;
}

.product-title {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  text-align: left;
  -webkit-box-orient: vertical;
}

.product-noscript {
  margin: 24px auto;
  max-width: 720px;
}

.product-noscript img {
  max-height: 520px;
  margin: 16px auto;
  object-fit: contain;
}

@media (max-width: 520px) {
  .tabs .sort-select {
    min-width: 116px;
  }

  .result-count {
    padding-right: 6px;
  }
}

@media (min-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* 2026 storefront trust and conversion system */
:root {
  --bg: #eeeee9;
  --paper: #fbfaf7;
  --ink: #17201d;
  --muted: #68716d;
  --line: #dcddd7;
  --accent: #9f7132;
  --accent-dark: #76501f;
  --gold: #d7b36a;
  --forest: #173129;
  --forest-deep: #10251f;
  --sand: #eee7d9;
  --soft: #f4f3ef;
  --shadow: 0 24px 70px rgba(25, 34, 31, 0.11);
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(circle at 8% 10%, rgba(215, 179, 106, 0.11), transparent 28rem),
    linear-gradient(180deg, #f6f5f1 0, var(--bg) 45rem);
}

button,
a,
select,
.product-card,
.brand-banner,
.brand-item {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.phone-shell {
  width: min(100%, 480px);
  padding-bottom: 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(23, 32, 29, 0.05), var(--shadow);
}

.assurance-bar {
  display: flex;
  min-height: 35px;
  overflow-x: auto;
  color: #e9eee9;
  background: var(--forest-deep);
  scrollbar-width: none;
}

.assurance-bar::-webkit-scrollbar {
  display: none;
}

.assurance-bar > span {
  display: inline-flex;
  min-width: max-content;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.assurance-bar svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(23, 32, 29, 0.1);
  backdrop-filter: blur(18px);
}

.store-head {
  min-width: 0;
  flex: 1;
  gap: 9px;
  padding: 9px 8px 9px 14px;
  border: 0;
}

.store-avatar {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border: 1px solid rgba(23, 32, 29, 0.1);
  box-shadow: 0 3px 12px rgba(23, 32, 29, 0.09);
}

.store-kicker {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.store-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.store-stats {
  display: none;
}

.store-stats b {
  color: var(--ink);
}

.topbar {
  position: static;
  display: grid;
  width: auto;
  height: auto;
  grid-template-columns: repeat(4, 44px);
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.top-action {
  flex-direction: column;
  min-height: 52px;
  gap: 3px;
  color: #3c4743;
  font-size: 8px;
}

.top-action span {
  display: block;
  max-width: 42px;
}

.top-action svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.top-action:hover {
  color: var(--accent-dark);
  background: rgba(159, 113, 50, 0.07);
}

.category-menu {
  top: 66px;
  z-index: 24;
  padding: 16px;
  background: rgba(251, 250, 247, 0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px rgba(23, 32, 29, 0.12);
}

.brand-choice,
.tag-choice {
  background: #f0efea;
  border-radius: 999px;
}

.brand-choice {
  height: 44px;
}

.contact-strip {
  width: calc(100% - 28px);
  min-height: 58px;
  margin: 14px;
  padding: 7px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(23, 32, 29, 0.06);
}

.contact-strip:hover {
  border-color: rgba(159, 113, 50, 0.45);
  transform: translateY(-1px);
}

.contact-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #fff;
  background: var(--forest);
  border-radius: 50%;
}

.contact-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
  text-align: left;
}

.contact-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 600;
}

.contact-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-strip > svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  min-height: 0;
  margin: 0 14px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(215, 179, 106, 0.18), transparent 18rem),
    var(--forest);
  border-radius: 22px;
}

.hero > .hero-banner-source {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 34px 24px 24px;
}

.hero-kicker,
.eyebrow {
  color: var(--accent);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #e8cf9c;
}

.hero h2,
.section-heading h2,
.catalog-intro h2,
.service-standard h2,
.order-guide h2,
.faq-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero h2 {
  max-width: 430px;
  margin: 12px 0 15px;
  font-size: 39px;
  line-height: 0.98;
}

.hero h2 em {
  color: var(--gold);
  font-weight: 500;
}

.hero-copy > p {
  max-width: 450px;
  margin: 0;
  color: #cdd8d3;
  font-size: 13px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.primary-button {
  min-height: 44px;
  padding: 0 17px;
  background: var(--accent);
  border-radius: 999px;
  font-size: 12px;
}

.primary-button:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(8, 20, 16, 0.2);
  transform: translateY(-1px);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.hero-link svg {
  width: 15px;
  height: 15px;
}

.hero-footnote {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 22px;
  color: #aebdb7;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.45;
}

.hero-footnote svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--gold);
}

.hero-media {
  position: relative;
  min-height: 220px;
  margin: 0 16px 16px;
}

.hero-image {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: #e7e3dc;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(6, 15, 12, 0.28);
  background-position: center;
  background-size: cover;
}

.hero-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.hero-image-primary {
  inset: 0 28px 0 0;
}

.hero-image-secondary {
  display: none;
}

.hero-media-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  min-width: 88px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(251, 250, 247, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(6, 15, 12, 0.2);
  backdrop-filter: blur(8px);
  font-size: 9px;
  text-transform: uppercase;
}

.hero-media-note b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.hero-loading-link {
  text-decoration: none;
}

.hero[aria-busy="true"] .hero-image {
  background:
    linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%) 0 0 / 220% 100%,
    linear-gradient(145deg, #c9b68f, #5f6f67 48%, #243e35);
  animation: catalog-sheen 1.6s ease-in-out infinite;
}

.trust-ribbon {
  display: grid;
  gap: 0;
  margin: 22px 14px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.trust-ribbon article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid var(--line);
}

.trust-ribbon article:last-child {
  border-bottom: 0;
}

.trust-ribbon article > svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.trust-ribbon article > span {
  display: grid;
  gap: 3px;
}

.trust-ribbon strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
}

.trust-ribbon small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.collection-section,
.brand-section,
.faq-section {
  padding: 42px 14px 0;
}

.section-heading,
.catalog-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2,
.catalog-intro h2,
.faq-section h2 {
  margin: 5px 0 0;
  font-size: 28px;
  line-height: 1.05;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.text-link svg {
  width: 13px;
  height: 13px;
}

.brand-slides {
  display: grid;
  grid-auto-columns: 84%;
  gap: 10px;
  padding: 20px 0 2px;
  scroll-snap-type: x mandatory;
}

.brand-banner {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border-radius: 16px;
  scroll-snap-align: start;
}

.brand-banner::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 12, 10, 0.75));
  content: "";
}

.brand-banner img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.brand-banner > span {
  position: absolute;
  right: 15px;
  bottom: 14px;
  left: 15px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  color: #fff;
  text-align: left;
}

.brand-banner small {
  grid-column: 1;
  color: #d8e1dd;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-banner strong {
  grid-column: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
}

.brand-banner svg {
  width: 20px;
  height: 20px;
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: end;
}

.brand-banner:hover,
.brand-item:hover,
.product-card:hover {
  transform: translateY(-3px);
}

.brand-banner:hover img,
.product-card:hover .product-thumb img {
  transform: scale(1.025);
}

.brand-banner img,
.product-thumb img {
  transition: transform 450ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.compact-heading {
  align-items: flex-start;
}

.brand-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 18px 0 0;
  border: 0;
}

.brand-item {
  display: grid;
  min-height: 104px;
  align-content: center;
  gap: 5px;
  padding: 11px 7px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.brand-item img {
  width: 42px;
  height: 32px;
  filter: saturate(0.72) contrast(1.05);
}

.brand-item span {
  min-height: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 600;
}

.brand-item small {
  color: var(--muted);
  font-size: 8px;
}

.brand-item.active {
  color: var(--accent-dark);
  background: #faf5eb;
  border-color: #c8a66b;
  box-shadow: 0 6px 20px rgba(159, 113, 50, 0.12);
}

.catalog-section {
  margin-top: 48px;
  padding-top: 38px;
  background: #f1f1ed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-intro {
  display: grid;
  padding: 0 14px 20px;
}

.catalog-intro > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.tabs {
  top: 66px;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(241, 241, 237, 0.93);
  border-block: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.tab {
  min-width: max-content;
  height: 34px;
  padding: 0 13px;
  color: #4b5551;
  background: #e6e6e1;
  border-radius: 999px;
  font-size: 10px;
}

.tab.active {
  color: #fff;
  background: var(--forest);
  box-shadow: 0 5px 12px rgba(23, 49, 41, 0.16);
}

.sort-select {
  min-width: 126px;
  height: 34px;
  padding-inline: 11px;
  color: var(--ink);
  background: #fbfaf7;
  border-color: var(--line);
  font-size: 9px;
}

.search-panel {
  margin: 12px 14px 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.search-box {
  height: 44px;
  background: #fff;
  border-radius: 999px;
}

.active-filter {
  margin: 12px 14px 0;
  padding: 9px 12px;
  color: var(--forest);
  background: #eee6d7;
  border: 1px solid #ddcba7;
  border-radius: 10px;
}

.product-grid {
  gap: 10px;
  padding: 16px 10px 20px;
  background: transparent;
}

.product-card {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dedfd9;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(23, 32, 29, 0.035);
  cursor: pointer;
}

.product-card:hover {
  border-color: #cfd0ca;
  box-shadow: 0 14px 30px rgba(23, 32, 29, 0.09);
}

.product-skeleton {
  min-height: 284px;
  cursor: default;
}

.skeleton-thumb,
.skeleton-copy i {
  display: block;
  background:
    linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.72) 50%, transparent 65%) 0 0 / 220% 100%,
    #e5e6e2;
  animation: catalog-sheen 1.6s ease-in-out infinite;
}

.skeleton-thumb {
  aspect-ratio: 0.96 / 1;
}

.skeleton-copy {
  display: grid;
  gap: 9px;
  padding: 13px;
}

.skeleton-copy i {
  width: 42%;
  height: 8px;
  border-radius: 999px;
}

.skeleton-copy i:nth-child(2) {
  width: 92%;
  height: 11px;
}

.skeleton-copy i:nth-child(3) {
  width: 58%;
}

.product-thumb {
  aspect-ratio: 0.96 / 1;
  background: #e8e9e6;
}

.product-thumb::after {
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  background: linear-gradient(transparent, rgba(8, 15, 13, 0.16));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-card:hover .product-thumb::after {
  opacity: 1;
}

.video-badge {
  top: 9px;
  left: 9px;
  width: auto;
  height: 24px;
  padding: 0 7px;
  background: rgba(16, 37, 31, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.quick-view {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(16, 37, 31, 0.86);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.quick-view svg {
  width: 12px;
  height: 12px;
}

.product-copy {
  display: grid;
  padding: 11px 10px 10px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.product-brand {
  overflow: hidden;
  color: var(--accent-dark);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #3e6a58;
  font-size: 8px;
  font-weight: 750;
}

.availability::before {
  width: 5px;
  height: 5px;
  background: #5b8f75;
  border-radius: 50%;
  content: "";
}

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

.availability.unavailable::before {
  background: #9aa09d;
}

.product-title {
  min-height: 52px;
  padding: 7px 0 5px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.32;
  -webkit-line-clamp: 3;
}

.product-foot {
  padding: 3px 0 0;
}

.price-wrap {
  display: grid;
  gap: 1px;
}

.price-wrap small {
  color: var(--muted);
  font-size: 8px;
}

.price {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
}

.mini-cart {
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--forest);
  border-radius: 50%;
}

.mini-cart:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.load-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 16px;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  text-align: center;
}

.load-state button {
  min-height: 30px;
  padding: 0 11px;
  color: #fff;
  background: var(--forest);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 42px 12px;
}

.empty-state svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.empty-state strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.empty-state span {
  max-width: 240px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.empty-state button {
  margin-top: 5px;
  padding: 8px 12px;
  color: #fff;
  background: var(--forest);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
}

.service-standard {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 48px 20px;
  background: var(--sand);
}

.service-standard h2 {
  max-width: 420px;
  margin: 8px 0 13px;
  color: var(--forest);
  font-size: 34px;
  line-height: 1;
}

.service-standard-copy > p {
  max-width: 490px;
  margin: 0 0 20px;
  color: #5f645f;
  font-size: 12px;
  line-height: 1.65;
}

.secondary-button {
  min-height: 42px;
  border-radius: 999px;
  font-size: 11px;
}

.service-standard .secondary-button {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.service-points {
  display: grid;
}

.service-points article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  padding: 18px 0;
  border-top: 1px solid rgba(23, 49, 41, 0.18);
}

.service-points article > span {
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
}

.service-points strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.service-points p {
  margin: 5px 0 0;
  color: #686a65;
  font-size: 10px;
  line-height: 1.55;
}

.order-guide {
  gap: 28px;
  padding: 48px 20px;
  background:
    radial-gradient(circle at 85% 10%, rgba(215, 179, 106, 0.13), transparent 20rem),
    var(--forest-deep);
}

.order-guide h2 {
  margin: 8px 0 12px;
  font-size: 32px;
  line-height: 1;
}

.order-guide p {
  font-size: 11px;
}

.order-guide ol {
  gap: 0;
}

.order-guide li {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.order-guide li b {
  width: 30px;
  height: 30px;
  background: transparent;
  border: 1px solid rgba(215, 179, 106, 0.6);
  color: var(--gold);
}

.order-guide li span {
  display: grid;
  gap: 3px;
}

.order-guide li strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
}

.order-guide li small {
  color: #9fafa8;
  font-size: 9px;
  line-height: 1.45;
}

.order-guide .primary-button {
  background: var(--gold);
  color: var(--forest-deep);
}

.order-guide .secondary-button {
  border-radius: 999px;
}

.faq-section {
  padding-bottom: 48px;
  background: #fff;
}

.faq-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 22px;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  color: var(--ink);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  transition: transform 180ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list p {
  max-width: 760px;
  margin: -4px 32px 18px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.store-footer {
  display: grid;
  gap: 30px;
  padding: 42px 20px 28px;
  color: #aebbb5;
  background: #0c1c17;
  text-align: left;
}

.footer-brand > strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.footer-brand p {
  max-width: 330px;
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 1.6;
}

.footer-column {
  display: grid;
  justify-items: start;
  gap: 9px;
  margin: 0;
}

.footer-column > strong {
  margin-bottom: 3px;
  color: #fff;
  font-family: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column button {
  padding: 0;
  color: #b8c3be;
  background: transparent;
  border: 0;
  font-size: 10px;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column button:hover {
  color: #fff;
}

.footer-disclaimer {
  margin: 0;
  padding-top: 20px;
  color: #73827b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 8px;
  line-height: 1.65;
}

.cart-fab {
  right: max(14px, calc((100vw - 480px) / 2 + 14px));
  bottom: 16px;
  min-width: 64px;
  height: 48px;
  background: var(--forest);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px rgba(16, 37, 31, 0.3);
}

.cart-fab:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.cart-fab span {
  color: var(--forest-deep);
  background: var(--gold);
}

.product-dialog,
.signin-dialog,
.tracking-dialog {
  border-radius: 18px;
}

.product-dialog::backdrop,
.signin-dialog::backdrop,
.tracking-dialog::backdrop {
  background: rgba(7, 18, 14, 0.68);
  backdrop-filter: blur(4px);
}

.dialog-card {
  background: var(--paper);
}

.dialog-close {
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: rgba(251, 250, 247, 0.9);
  border-color: rgba(23, 32, 29, 0.12);
  box-shadow: 0 5px 18px rgba(16, 37, 31, 0.13);
}

.detail-media {
  background: #e8e8e4;
}

.detail-body {
  padding: 20px;
}

.detail-brand {
  color: var(--accent-dark);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.detail-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.detail-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.detail-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  color: #355c4b;
  background: #edf3ef;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
}

.detail-assurance svg {
  width: 12px;
  height: 12px;
}

.detail-body pre {
  color: #4d5652;
  font: 11px/1.65 Inter, ui-sans-serif, sans-serif;
}

.detail-actions strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
}

.detail-disclaimer {
  margin: 14px 0 0;
  padding-top: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 8px;
  line-height: 1.55;
}

.drawer-panel {
  background: var(--paper);
  border-radius: 20px 20px 0 0;
}

.drawer-header {
  padding: 16px;
  background: rgba(251, 250, 247, 0.95);
  backdrop-filter: blur(14px);
}

.drawer-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 600;
}

.cart-empty {
  min-height: 180px;
}

.checkout-form {
  padding: 16px;
}

.checkout-form input,
.checkout-form textarea {
  min-height: 42px;
  background: #fff;
  border-radius: 10px;
}

.checkout-total strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.toast {
  bottom: 80px;
  background: rgba(16, 37, 31, 0.94);
  box-shadow: 0 10px 30px rgba(16, 37, 31, 0.25);
  backdrop-filter: blur(10px);
}

@media (min-width: 760px) {
  .phone-shell {
    width: min(calc(100% - 48px), 1200px);
  }

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

  .assurance-bar > span {
    min-width: 0;
  }

  .site-header {
    min-height: 82px;
    padding-inline: 22px;
  }

  .store-head {
    flex: 0 1 430px;
    padding: 10px 0;
  }

  .store-avatar {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .store-copy h1 {
    font-size: 21px;
  }

  .store-stats {
    display: flex;
    gap: 14px;
    margin-top: 4px;
    font-size: 9px;
  }

  .topbar {
    grid-template-columns: repeat(4, minmax(74px, auto));
  }

  .top-action {
    flex-direction: row;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
  }

  .category-menu {
    top: 82px;
    padding: 18px 24px;
  }

  .brand-menu {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-height: 154px;
  }

  .contact-strip {
    width: auto;
    max-width: 390px;
    margin: 18px 24px 0 auto;
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    min-height: 510px;
    margin: 18px 24px 0;
    border-radius: 28px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 58px 28px 48px 52px;
  }

  .hero h2 {
    font-size: clamp(48px, 5vw, 68px);
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-media {
    min-height: 100%;
    margin: 0;
  }

  .hero-image-primary {
    inset: 34px 50px 52px 18px;
  }

  .hero-image-secondary {
    right: 18px;
    bottom: 24px;
    display: block;
    width: 43%;
    height: 35%;
  }

  .hero-media-note {
    right: auto;
    bottom: 34px;
    left: 0;
  }

  .trust-ribbon {
    grid-template-columns: repeat(3, 1fr);
    margin: 24px 24px 0;
  }

  .trust-ribbon article {
    min-height: 86px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .trust-ribbon article:last-child {
    border-right: 0;
  }

  .collection-section,
  .brand-section,
  .faq-section {
    padding-inline: 24px;
    padding-top: 68px;
  }

  .section-heading h2,
  .catalog-intro h2,
  .faq-section h2 {
    font-size: 38px;
  }

  .brand-slides {
    grid-auto-columns: calc((100% - 24px) / 3);
    gap: 12px;
    padding: 24px 0 2px;
  }

  .brand-banner {
    min-height: 220px;
  }

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

  .brand-item {
    min-height: 120px;
  }

  .catalog-section {
    margin-top: 72px;
    padding-top: 52px;
  }

  .catalog-intro {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    align-items: end;
    padding: 0 24px 28px;
  }

  .tabs {
    top: 82px;
    padding-inline: 24px;
  }

  .search-panel,
  .active-filter {
    margin-inline: 24px;
  }

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

  .product-title {
    min-height: 54px;
    font-size: 15px;
    -webkit-line-clamp: 2;
  }

  .quick-view {
    display: inline-flex;
    opacity: 0;
    transform: translateY(5px);
  }

  .product-card:hover .quick-view {
    opacity: 1;
    transform: translateY(0);
  }

  .service-standard,
  .order-guide {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 72px;
    padding: 72px 58px;
  }

  .service-standard h2,
  .order-guide h2 {
    font-size: 47px;
  }

  .order-guide-actions {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 420px;
  }

  .faq-section {
    padding-bottom: 72px;
  }

  .faq-list summary {
    padding: 22px 0;
    font-size: 17px;
  }

  .store-footer {
    grid-template-columns: minmax(280px, 1.3fr) minmax(150px, 0.6fr) minmax(170px, 0.7fr);
    gap: 52px;
    padding: 58px 52px 34px;
  }

  .footer-disclaimer {
    grid-column: 1 / -1;
  }

  .cart-fab {
    right: max(24px, calc((100vw - 1200px) / 2 + 24px));
  }

  .drawer-panel {
    right: max(24px, calc((100vw - 1200px) / 2 + 24px));
    border-radius: 20px;
  }

  .product-dialog {
    width: min(100% - 48px, 1000px);
  }

  .dialog-card {
    grid-template-columns: minmax(0, 1.12fr) minmax(370px, 0.88fr);
  }

  .detail-body {
    padding: 38px 34px;
  }

  .detail-body h2 {
    font-size: 34px;
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 370px) {
  .topbar {
    grid-template-columns: repeat(4, 38px);
  }

  .store-head {
    padding-left: 10px;
  }

  .store-avatar {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }

  .store-kicker {
    display: none;
  }

  .hero h2 {
    font-size: 34px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@keyframes catalog-sheen {
  to {
    background-position: -220% 0, 0 0;
  }
}

/* Guided checkout and order confirmation */
.checkout-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 3px 0 12px;
}

.checkout-progress > i {
  height: 1px;
  background: var(--line);
}

.checkout-progress-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.checkout-progress-step span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
}

.checkout-progress-step.active {
  color: var(--ink);
}

.checkout-progress-step.active span {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.checkout-progress-step:disabled {
  opacity: 1;
  cursor: default;
}

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

.checkout-step-intro {
  display: grid;
  gap: 4px;
  margin: 0 0 2px;
}

.checkout-step-intro strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 600;
}

.checkout-step-intro span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.checkout-assurance {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 11px;
  color: #36594d;
  border: 1px solid rgba(52, 96, 82, 0.18);
  border-radius: 10px;
  background: rgba(52, 96, 82, 0.06);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.checkout-assurance svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
}

.checkout-actions {
  display: grid;
  grid-template-columns: minmax(92px, 0.36fr) minmax(0, 1fr);
  gap: 9px;
}

.checkout-actions button {
  width: 100%;
}

.order-success {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(52, 96, 82, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(52, 96, 82, 0.1), rgba(190, 149, 66, 0.08));
}

.order-success-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #346052;
}

.order-success-icon svg {
  width: 18px;
  height: 18px;
}

.order-success .eyebrow {
  color: #6d876d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-success h3 {
  margin: 4px 0 5px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.25;
}

.order-success p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.order-success ol {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.order-success li {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.order-success li strong {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: #346052;
  border: 1px solid rgba(52, 96, 82, 0.25);
  border-radius: 50%;
  background: #fff;
}

@media (min-width: 760px) {
  .tracking-dialog {
    width: min(100% - 48px, 470px);
  }

  .signin-card,
  .tracking-card {
    padding-inline: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 759px) {
  .mini-cart,
  .icon-button {
    min-width: 44px;
    min-height: 44px;
  }

  .qty-control {
    grid-template-columns: repeat(3, 36px);
  }

  .qty-control button {
    min-width: 36px;
    height: 36px;
  }

  .sort-select,
  .checkout-form input,
  .checkout-form select,
  .signin-card input,
  .tracking-card input {
    min-height: 44px;
  }
}
