:root {
  --bg: #fff7f8;
  --surface: #ffffff;
  --surface-soft: #fff0f3;
  --surface-glow: rgba(255, 255, 255, 0.78);
  --ink: #14090d;
  --muted: #79636a;
  --line: #ead5db;
  --brand: #b11234;
  --brand-dark: #610a1c;
  --brand-deep: #28040d;
  --accent: #d8aa45;
  --accent-soft: #fff3c9;
  --danger: #d92d20;
  --shadow: 0 24px 60px rgba(40, 4, 13, 0.18);
  --shadow-soft: 0 14px 34px rgba(40, 4, 13, 0.10);
  --button-shadow: 0 14px 28px rgba(97, 10, 28, 0.20);
  --button-shadow-strong: 0 18px 34px rgba(97, 10, 28, 0.28);
  --premium-border: rgba(216, 170, 69, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -8%, rgba(216, 170, 69, 0.20), transparent 28%),
    radial-gradient(circle at 92% 4%, rgba(177, 18, 52, 0.18), transparent 26%),
    linear-gradient(180deg, #fff 0%, var(--bg) 42%, #fff0f3 100%);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
.primary-button,
.secondary-button,
.admin-link {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

button:active,
.primary-button:active,
.secondary-button:active,
.admin-link:active {
  transform: translateY(1px) scale(0.99);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(177, 18, 52, 0.22);
  outline-offset: 2px;
}

.app-shell {
  width: min(100%, 460px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 16px 92px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 248, 0.96)),
    var(--bg);
}

.topbar,
.section-heading,
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: -6px -8px 12px;
  padding: 12px 8px 14px;
  border-bottom: 1px solid rgba(216, 170, 69, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 248, 0.78));
  backdrop-filter: blur(20px) saturate(1.2);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--premium-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 248, 0.88));
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.admin-link:hover {
  border-color: rgba(177, 18, 52, 0.30);
  box-shadow: var(--button-shadow);
}

button.admin-link {
  cursor: pointer;
}

body.web-store .app-shell {
  width: min(calc(100% - 20px), 1480px);
  padding-bottom: 42px;
}

body.web-store .bottom-nav {
  display: none;
}

body.web-store .topbar {
  margin-bottom: 18px;
}

body.web-store .install-panel {
  display: grid;
}

body.web-store .install-panel[hidden] {
  display: none;
}

.install-shortcut {
  color: #fff;
  border-color: rgba(216, 170, 69, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 233, 168, 0.18), transparent),
    linear-gradient(135deg, var(--brand-deep), var(--brand-dark) 58%, var(--brand));
}

.install-shortcut[hidden] {
  display: none;
}

.store-layout {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.store-main {
  min-width: 0;
}

.category-sidebar {
  display: grid;
  gap: 14px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 1.65rem;
}

.brand-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--brand-deep);
}

.brand-title img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(216, 170, 69, 0.34);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(40, 4, 13, 0.18);
}

h2 {
  margin-bottom: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.icon-button,
.close-button {
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(135deg, var(--brand-deep), var(--brand-dark) 58%, var(--brand));
  color: #fff;
  cursor: pointer;
  box-shadow: var(--button-shadow);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  min-height: 44px;
}

.icon-button strong {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe9a8, var(--accent));
  color: var(--ink);
  font-size: 0.8rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border: 1px solid rgba(216, 170, 69, 0.30);
  border-radius: 28px;
  background: var(--brand-deep);
  box-shadow: var(--shadow);
}

.hero img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(10, 3, 6, 0.78)),
    linear-gradient(90deg, rgba(40, 4, 13, 0.82), rgba(97, 10, 28, 0.24) 54%, transparent 72%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 233, 168, 0.28);
  border-radius: 22px;
}

.hero-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}

.hero-copy p {
  margin-bottom: 8px;
  color: #ffe9a8;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h2 {
  max-width: 330px;
  margin-bottom: 16px;
  font-size: 1.65rem;
}

.hero-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 233, 168, 0.38);
  background:
    linear-gradient(135deg, #fff, #fff5d6);
  color: var(--brand-deep);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0 14px;
}

.compact-heading {
  margin: 0 0 10px;
}

.catalog-actions {
  margin: 8px 0 16px;
}

.catalog-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.catalog-pills::-webkit-scrollbar {
  display: none;
}

.action-pill {
  min-height: 42px;
  border: 1px solid var(--premium-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 248, 0.9));
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.action-pill.active {
  border-color: rgba(216, 170, 69, 0.38);
  background:
    linear-gradient(135deg, var(--brand-deep), var(--brand-dark) 54%, var(--brand));
  color: #fff;
  box-shadow: var(--button-shadow);
}

.action-pill:hover,
.catalog-pill:hover {
  border-color: rgba(177, 18, 52, 0.30);
  color: var(--brand-dark);
}

.catalog-pill {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--premium-border);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #fff8fa);
  color: var(--muted);
  padding: 0 13px;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(143, 13, 45, 0.08);
}

.catalog-pill.active {
  border-color: rgba(216, 170, 69, 0.42);
  background:
    linear-gradient(135deg, var(--brand-deep), var(--brand-dark) 54%, var(--brand));
  color: #fff;
  box-shadow: var(--button-shadow);
}

.search-panel {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(216, 170, 69, 0.20);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 248, 0.9));
  box-shadow: var(--shadow-soft);
}

.search-panel label {
  color: var(--ink);
}

.search-panel input {
  border-color: rgba(216, 170, 69, 0.18);
  background: #fff;
  color: var(--ink);
}

.search-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.secondary-button {
  display: inline-grid;
  min-height: 44px;
  padding: 0 14px;
  place-items: center;
  border: 1px solid var(--premium-border);
  border-radius: 15px;
  background:
    linear-gradient(180deg, #fff, #fff8fa);
  color: var(--brand-deep);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 9px 18px rgba(143, 13, 45, 0.09);
}

.secondary-button:hover {
  border-color: rgba(177, 18, 52, 0.34);
  box-shadow: var(--button-shadow);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.summary-strip div {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid rgba(216, 170, 69, 0.20);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fff, rgba(255, 248, 250, 0.94));
  box-shadow: var(--shadow-soft);
}

.summary-strip strong,
.summary-strip span {
  display: block;
}

.summary-strip strong {
  font-size: 0.95rem;
}

.summary-strip span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.install-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid rgba(216, 170, 69, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(135deg, #fff, var(--surface-soft));
  box-shadow: var(--shadow-soft);
}

.install-panel[hidden] {
  display: none;
}

.install-panel h2 {
  margin-bottom: 6px;
}

.install-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.account-panel,
.recommendation-panel,
.orders-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid rgba(216, 170, 69, 0.20);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 250, 0.92));
  box-shadow: var(--shadow-soft);
}

.auth-page-panel {
  margin-top: 18px;
}

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

.account-head h2 {
  max-width: 300px;
}

.account-panel h3 {
  margin: 0;
  font-size: 0.98rem;
}

.account-panel .helper-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.auth-grid,
.verify-form,
.auth-form,
.auth-actions {
  display: grid;
  gap: 12px;
}

.auth-grid[hidden],
.verify-form[hidden],
.auth-form[hidden],
.auth-actions[hidden] {
  display: none;
}

.auth-grid form,
.verify-form,
.auth-form {
  padding: 12px;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.account-panel label,
.orders-panel label {
  color: var(--ink);
}

.account-panel input,
.orders-panel input {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.password-field input {
  min-width: 0;
}

.password-field button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--premium-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fff8fa);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(143, 13, 45, 0.08);
}

.account-summary {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, var(--accent-soft), #fff 48%, var(--surface-soft));
  box-shadow: inset 0 0 0 1px rgba(216, 170, 69, 0.20);
}

.account-summary strong,
.account-summary span {
  display: block;
}

.account-summary span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.recommendation-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(216, 170, 69, 0.16);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.recommendation-card span {
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recommendation-card strong {
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.25;
}

.recommendation-card em {
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 900;
}

.payment-shell {
  display: grid;
  align-content: start;
  gap: 18px;
}

.payment-panel,
.payment-note-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(216, 170, 69, 0.20);
  border-radius: 24px;
  background:
    linear-gradient(135deg, #fff, rgba(255, 248, 250, 0.92));
  box-shadow: var(--shadow-soft);
}

.payment-panel {
  margin-top: 18px;
}

.payment-status-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(135deg, var(--brand-deep), var(--brand-dark));
  color: #fff;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.payment-panel h2,
.payment-note-panel h2 {
  margin: 0;
}

.payment-panel p:not(.eyebrow),
.payment-note-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.payment-summary div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(216, 170, 69, 0.16);
  border-radius: 18px;
  background: #fff;
}

.payment-summary span,
.payment-summary strong {
  display: block;
}

.payment-summary span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.payment-summary strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.payment-button,
.payment-link {
  display: grid;
  place-items: center;
  min-height: 46px;
  text-align: center;
  text-decoration: none;
}

.account-empty {
  display: grid;
  gap: 10px;
}

.section-heading {
  margin: 22px 0 12px;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.pagination-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.pagination-bar[hidden] {
  display: none;
}

.pagination-bar button {
  min-height: 40px;
  border: 1px solid var(--premium-border);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #fff8fa);
  color: var(--brand-deep);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(143, 13, 45, 0.08);
}

.pagination-bar button:disabled {
  color: var(--muted);
  box-shadow: none;
  opacity: 0.62;
}

.pagination-bar span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.load-more-sentinel {
  margin: 14px 0 4px;
  padding: 12px;
  border: 1px dashed rgba(216, 170, 69, 0.42);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
}

.load-more-sentinel[hidden] {
  display: none;
}

.product-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 250, 0.92));
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: rgba(216, 170, 69, 0.36);
  box-shadow: 0 20px 42px rgba(40, 4, 13, 0.14);
}

.product-link-card {
  color: inherit;
  text-decoration: none;
}

.product-card:active {
  transform: translateY(1px) scale(0.995);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.70), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), transparent),
    var(--card-color);
  box-shadow: inset 0 -24px 38px rgba(40, 4, 13, 0.10);
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 12px 18px 18px;
  border-radius: 26px 26px 14px 14px;
  background:
    linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, 0.72) 42% 58%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.18)),
    var(--shirt-color);
  clip-path: polygon(22% 0, 38% 0, 42% 9%, 58% 9%, 62% 0, 78% 0, 100% 22%, 82% 42%, 82% 100%, 18% 100%, 18% 42%, 0 22%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34);
}

.product-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:active .product-media img {
  transform: scale(1.03);
}

.product-media:has(img)::before {
  display: none;
}

.badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(216, 170, 69, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(24, 17, 20, 0.14);
}

.product-info {
  min-width: 0;
}

.product-title-row {
  display: grid;
  gap: 5px;
}

.product-info h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.price {
  color: var(--brand-deep);
  font-weight: 900;
  font-size: 0.92rem;
}

.category-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid rgba(216, 170, 69, 0.24);
  background: var(--accent-soft);
  color: var(--brand-deep);
  font-size: 0.68rem;
  font-weight: 900;
}

.product-info p {
  margin: 7px 0 9px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.35;
}

.product-info .stock-line {
  margin-top: -3px;
  color: var(--brand-dark);
  font-weight: 800;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.sizes span {
  min-width: 28px;
  padding: 5px 7px;
  border-radius: 999px;
  border: 1px solid rgba(216, 170, 69, 0.15);
  background: #fff8fa;
  color: var(--brand-deep);
  text-align: center;
  font-size: 0.73rem;
  font-weight: 800;
}

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

.card-actions button,
.primary-button {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  border: 0;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 233, 168, 0.22), transparent),
    linear-gradient(135deg, var(--brand-deep), var(--brand-dark) 54%, var(--brand));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--button-shadow);
}

.card-actions button:hover,
.primary-button:hover {
  box-shadow: var(--button-shadow-strong);
}

.card-actions button {
  font-size: 0.82rem;
}

.card-actions button.request-button {
  background: linear-gradient(135deg, var(--ink), #3a2430);
}

.card-actions button:disabled {
  background: #ded6da;
  color: var(--muted);
  box-shadow: none;
}

.size-choice {
  grid-template-columns: 1fr;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.76rem;
}

.size-choice select {
  min-height: 38px;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
}

.status-unavailable {
  color: var(--danger);
}

.request-panel,
.track-panel {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(216, 170, 69, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 18%, rgba(216, 170, 69, 0.16), transparent 28%),
    linear-gradient(135deg, var(--brand-deep), #3a1422);
  color: #fff;
  box-shadow: var(--shadow);
}

.request-panel .eyebrow,
.track-panel .eyebrow {
  color: #ffe9a8;
}

.request-panel p:not(.eyebrow),
.track-panel p:not(.eyebrow) {
  margin: 8px 0 16px;
  color: #d1d5db;
  font-size: 0.92rem;
  line-height: 1.45;
}

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

label {
  display: grid;
  gap: 6px;
  color: #f9fafb;
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(177, 18, 52, 0.48);
  box-shadow: 0 0 0 3px rgba(177, 18, 52, 0.12);
}

input[type="file"] {
  padding: 10px;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.request-panel .primary-button,
.track-panel .primary-button {
  background: linear-gradient(135deg, #fff, #fff0bd);
  color: var(--brand-deep);
}

.progress-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.progress-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}

.progress-card h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.progress-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.progress-card span,
.progress-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

.pay-now-button {
  width: 100%;
  margin-top: 8px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: min(calc(100% - 24px), 430px);
  padding: 8px;
  border: 1px solid rgba(216, 170, 69, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 248, 0.92));
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.bottom-nav a,
.bottom-nav button {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.bottom-nav .active {
  background:
    linear-gradient(135deg, var(--brand-deep), var(--brand-dark));
  color: #fff;
  box-shadow: 0 10px 20px rgba(40, 4, 13, 0.18);
}

.cart-dialog {
  width: min(calc(100% - 24px), 430px);
  max-height: min(92vh, 820px);
  border: 0;
  border: 1px solid rgba(216, 170, 69, 0.22);
  border-radius: 28px;
  padding: 18px;
  color: var(--ink);
  overflow: auto;
  background:
    linear-gradient(180deg, #fff, #fff8fa);
  box-shadow: var(--shadow);
}

.cart-dialog::backdrop {
  background: rgba(20, 9, 13, 0.62);
  backdrop-filter: blur(4px);
}

.close-button {
  width: 38px;
  height: 38px;
}

.cart-items {
  display: grid;
  gap: 10px;
  max-height: 320px;
  margin: 16px 0;
  overflow: auto;
}

.cart-item,
.empty-cart {
  padding: 12px;
  border: 1px solid rgba(216, 170, 69, 0.16);
  border-radius: 18px;
  background: #fff;
}

.no-match {
  display: grid;
  gap: 10px;
}

.no-match strong {
  color: var(--ink);
}

.no-match p {
  margin: 0;
  line-height: 1.4;
}

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

.cart-item p {
  margin: 0;
  font-weight: 800;
}

.cart-item span,
.empty-cart {
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(216, 170, 69, 0.22);
}

.cart-total-line {
  color: #54313c;
  font-size: 0.92rem;
}

.grand-total {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.02rem;
}

.checkout-form {
  gap: 14px;
}

.checkout-form.is-disabled {
  opacity: 0.58;
}

.checkout-auth-prompt {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(216, 170, 69, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(135deg, #fff, var(--surface-soft));
  box-shadow: var(--shadow-soft);
}

.checkout-auth-prompt[hidden],
.checkout-form[hidden] {
  display: none;
}

.checkout-auth-prompt strong {
  color: var(--ink);
  font-size: 1rem;
}

.checkout-auth-prompt p {
  margin: 0;
  color: #4d2c36;
  line-height: 1.45;
}

.checkout-auth-prompt .primary-button {
  text-decoration: none;
}

.checkout-choice-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.checkout-choice-actions .primary-button,
.checkout-choice-actions .secondary-button {
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.guest-contact-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, #fff8fa);
}

.guest-contact-panel .helper-text,
.checkout-step-panel .helper-text,
.cart-dialog .helper-text {
  color: #4d2c36;
  font-weight: 700;
}

.guest-contact-panel[hidden] {
  display: none;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(216, 170, 69, 0.20);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 243, 0.78)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.checkout-step-tab {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  gap: 6px;
  min-width: 0;
  min-height: 42px;
  padding: 0 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #5b3440;
  cursor: pointer;
}

.checkout-step-tab span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #fff8fa;
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 900;
}

.checkout-step-tab strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-step-tab.active {
  background:
    linear-gradient(135deg, var(--brand-deep), var(--brand-dark) 58%, var(--brand));
  color: #fff;
  box-shadow: 0 10px 20px rgba(40, 4, 13, 0.20);
}

.checkout-step-tab.active span {
  background: #fff;
  color: var(--brand-dark);
}

.checkout-step-panel {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 250, 0.92));
  box-shadow: 0 14px 28px rgba(40, 4, 13, 0.08);
}

.checkout-step-panel[hidden] {
  display: none;
}

.saved-address-panel,
.address-book-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(135deg, #fff, #fff8fa);
}

.saved-address-panel[hidden],
.address-book-panel[hidden] {
  display: none;
}

.saved-address-list,
.address-book-list {
  display: grid;
  gap: 10px;
}

.saved-address-card,
.address-book-card {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.saved-address-card {
  cursor: pointer;
}

.saved-address-card.active,
.saved-address-card:hover {
  border-color: rgba(216, 170, 69, 0.48);
  box-shadow: 0 12px 24px rgba(40, 4, 13, 0.12);
}

.saved-address-card span,
.address-book-card span {
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.saved-address-card strong,
.address-book-card strong {
  font-size: 0.95rem;
}

.saved-address-card small,
.address-book-card small {
  color: #54313c;
  font-size: 0.82rem;
  line-height: 1.35;
}

.address-book-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.address-book-card > div {
  display: grid;
  gap: 4px;
}

.checkout-step-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.split-actions {
  grid-template-columns: auto minmax(0, 1fr);
}

.split-actions .secondary-button {
  min-width: 96px;
}

.cart-dialog label,
.admin-shell label {
  color: var(--ink);
}

.cart-dialog input,
.cart-dialog select,
.cart-dialog textarea,
.admin-shell input,
.admin-shell select,
.admin-shell textarea {
  border-color: rgba(216, 170, 69, 0.18);
  background: #fff;
  color: var(--ink);
}

.cart-dialog input::placeholder,
.cart-dialog textarea::placeholder {
  color: #6b4b55;
  opacity: 1;
}

.checkout-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-bottom: 2px;
}

.checkout-section-heading h3 {
  margin: 0;
  color: var(--brand-deep);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.checkout-section-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--premium-border);
  border-radius: 999px;
  background: #fff8fa;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

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

.select-field,
.field-with-icon {
  position: relative;
  display: grid;
  gap: 2px;
}

.select-field span {
  position: absolute;
  left: 13px;
  top: 7px;
  z-index: 1;
  color: #56323d;
  font-size: 0.68rem;
  font-weight: 900;
}

.select-field select {
  min-height: 58px;
  padding-top: 22px;
}

.field-with-icon {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 15px;
  background: #fff;
}

.field-with-icon input {
  border: 0;
  background: transparent;
}

.field-with-icon span {
  display: inline-grid;
  min-width: 30px;
  min-height: 30px;
  margin-right: 8px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 800;
}

.checkout-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.checkout-checkbox input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--brand);
}

.checkout-checkbox span {
  padding-top: 1px;
  color: #2a1219;
  overflow-wrap: anywhere;
}

.delivery-method-options,
.billing-choice-group,
.billing-address-fields {
  display: grid;
  gap: 10px;
}

.billing-address-fields[hidden] {
  display: none;
}

.billing-address-fields.is-open {
  margin-top: 2px;
  padding: 12px;
  border: 1px dashed rgba(216, 170, 69, 0.38);
  border-radius: 18px;
  background: #fff;
}

.delivery-method-card,
.billing-choice-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.billing-choice-card {
  grid-template-columns: auto minmax(0, 1fr);
}

.delivery-method-card:has(input:checked),
.billing-choice-card:has(input:checked) {
  border-color: rgba(216, 170, 69, 0.48);
  background: linear-gradient(135deg, #fff, var(--accent-soft));
  box-shadow: 0 0 0 3px rgba(216, 170, 69, 0.12);
}

.delivery-method-card input,
.billing-choice-card input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

.delivery-method-card span,
.delivery-method-card strong,
.delivery-method-card small,
.billing-choice-card span,
.billing-choice-card strong,
.billing-choice-card small {
  display: block;
  min-width: 0;
}

.delivery-method-card small,
.billing-choice-card small {
  margin-top: 2px;
  color: #56323d;
  font-weight: 700;
}

.delivery-method-card em {
  color: var(--brand-deep);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 900;
}

.payment-note {
  margin: -2px 0 0;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.admin-shell {
  padding-bottom: 28px;
}

.auth-panel,
.admin-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(216, 170, 69, 0.20);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, rgba(255, 248, 250, 0.92));
  box-shadow: var(--shadow-soft);
}

.compact-admin-form {
  margin: 0 0 12px;
}

.auth-panel h2 {
  margin-bottom: 0;
}

.helper-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.warning-panel {
  border-color: rgba(216, 170, 69, 0.50);
  background: var(--accent-soft);
}

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

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

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fff8fa);
  box-shadow: var(--shadow-soft);
}

.editable-product {
  display: grid;
}

.editable-order {
  display: grid;
}

.admin-thumb {
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(216, 170, 69, 0.20);
}

.stock-form,
.fulfillment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.stock-form label:nth-child(5),
.stock-form label:nth-child(6),
.stock-form label:nth-child(7),
.stock-form .primary-button,
.delete-product-button,
.fulfillment-form .primary-button,
.fulfillment-form label:nth-child(3),
.fulfillment-form small {
  grid-column: 1 / -1;
}

.danger-button {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(217, 45, 32, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffafa, #fff0f0);
  color: var(--danger);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 9px 18px rgba(217, 45, 32, 0.08);
}

.danger-button:hover {
  border-color: rgba(217, 45, 32, 0.40);
  box-shadow: 0 12px 24px rgba(217, 45, 32, 0.12);
}

.admin-card h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.admin-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  white-space: pre-line;
}

.admin-card span,
.admin-card small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.admin-card strong {
  white-space: nowrap;
  color: var(--brand-deep);
}

.offline-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 6;
  width: min(calc(100% - 32px), 380px);
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ink), #3a1422);
  color: #fff;
  text-align: center;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.detail-shell {
  padding-bottom: 30px;
}

.detail-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
}

.compact-brand {
  justify-content: center;
  font-size: 1.15rem;
}

.compact-brand img {
  width: 32px;
  height: 32px;
}

.bag-link {
  text-decoration: none;
}

.detail-card {
  display: grid;
  gap: 16px;
}

.detail-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(216, 170, 69, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.70), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), transparent),
    var(--card-color);
  box-shadow: var(--shadow);
}

.detail-media::before {
  content: "";
  position: absolute;
  inset: 44px 62px 58px;
  border-radius: 42px 42px 18px 18px;
  background:
    linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, 0.72) 42% 58%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.18)),
    var(--shirt-color);
  clip-path: polygon(22% 0, 38% 0, 42% 9%, 58% 9%, 62% 0, 78% 0, 100% 22%, 82% 42%, 82% 100%, 18% 100%, 18% 42%, 0 22%);
}

.detail-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-media:has(img)::before {
  display: none;
}

.detail-copy {
  display: grid;
  gap: 9px;
}

.detail-copy h2 {
  font-size: 1.65rem;
}

.detail-price {
  color: var(--brand-deep);
  font-size: 1.25rem;
}

.detail-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.detail-form {
  padding: 16px;
  border: 1px solid rgba(216, 170, 69, 0.20);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #fff8fa);
  box-shadow: var(--shadow-soft);
}

.detail-form label {
  color: var(--ink);
}

.detail-form select {
  border-color: rgba(216, 170, 69, 0.18);
  background: #fff;
  color: var(--ink);
}

.detail-form input {
  border-color: rgba(216, 170, 69, 0.18);
  background: #fff;
  color: var(--ink);
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-row span {
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(216, 170, 69, 0.28), var(--shadow-soft);
}

.detail-section {
  margin-top: 24px;
}

.similar-list,
.reviews-list {
  display: grid;
  gap: 10px;
}

.similar-card,
.review-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(216, 170, 69, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fff8fa);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.similar-card strong {
  color: var(--brand-deep);
}

.review-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-card span {
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 360px) {
  .product-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 760px) {
  body {
    background:
      radial-gradient(circle at 28% 0%, rgba(216, 170, 69, 0.16), transparent 30%),
      radial-gradient(circle at 82% 8%, rgba(177, 18, 52, 0.12), transparent 28%),
      linear-gradient(120deg, #ffffff, #fff7f8);
  }

  .app-shell {
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(24, 17, 20, 0.16);
  }
}

@media (min-width: 760px) {
  body.web-store .app-shell {
    width: min(calc(100% - 44px), 1480px);
    padding: 24px 28px 56px;
  }

  body.web-store .topbar {
    margin: -8px -12px 24px;
    padding: 16px 12px 18px;
  }

  body.web-store .brand-title {
    font-size: 2rem;
  }

  body.web-store .brand-title img {
    width: 48px;
    height: 48px;
  }

  body.web-store .hero {
    min-height: 440px;
    border-radius: 34px;
  }

  body.web-store .hero img {
    height: 440px;
  }

  body.web-store .hero::before {
    inset: 18px;
    border-radius: 27px;
  }

  body.web-store .hero-copy {
    left: 44px;
    right: 44px;
    bottom: 44px;
  }

  body.web-store .hero-copy h2 {
    max-width: 660px;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.02;
  }

  body.web-store .quick-actions {
    grid-template-columns: repeat(2, minmax(150px, 220px));
    justify-content: start;
  }

  body.web-store .catalog-pills {
    flex-wrap: wrap;
    overflow: visible;
  }

  body.web-store .search-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding: 18px;
  }

  body.web-store .search-actions {
    min-width: 250px;
  }

  body.web-store .summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.web-store .summary-strip div,
  body.web-store .install-panel,
  body.web-store .recommendation-panel {
    padding: 18px;
  }

  body.web-store .install-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  body.web-store .recommendation-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.web-store .product-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  body.web-store .product-card {
    border-radius: 24px;
    padding: 11px;
  }

  body.web-store .product-info h3 {
    font-size: 1.04rem;
  }

  body.web-store .bottom-nav {
    display: none;
  }

  body.web-store .cart-dialog {
    width: min(calc(100% - 40px), 760px);
  }

  body.web-store .checkout-choice-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  body.web-store .store-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
  }

  body.web-store .category-sidebar {
    position: sticky;
    top: 94px;
    max-height: calc(100vh - 116px);
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(216, 170, 69, 0.22);
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 250, 0.94));
    box-shadow: var(--shadow-soft);
  }

  body.web-store .category-sidebar .quick-actions {
    grid-template-columns: 1fr;
    margin: 0;
  }

  body.web-store .category-sidebar .catalog-actions {
    margin: 0;
  }

  body.web-store .category-sidebar .catalog-pills {
    display: grid;
    gap: 9px;
    overflow: visible;
  }

  body.web-store .category-sidebar .catalog-pill {
    justify-content: start;
    width: 100%;
    min-height: 46px;
    padding: 0 15px;
    text-align: left;
  }

  body.web-store .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  body.web-store .product-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1380px) {
  body.web-store .store-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 30px;
  }

  body.web-store .product-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (display-mode: standalone) {
  body.web-store .app-shell,
  .app-shell {
    width: min(100%, 460px);
    padding: 18px 16px 92px;
  }

  body.web-store .bottom-nav,
  .bottom-nav {
    display: grid;
  }
}

