:root {
  color-scheme: dark;
  --bg: #0e0f12;
  --panel: #16181d;
  --panel-2: #171a20;
  --card-surface: #16181d;
  --card-hover: #1e2128;
  --image-surface: #f1f2f4;
  --image-line: #e5e7eb;
  --brand-accent: #4f46e5;
  --brand-accent-hover: #6366f1;
  --field-line: #2a2f3a;
  --text: #ffffff;
  --muted: #a8b0bf;
  --muted-soft: #6b7280;
  --line: #232833;
  --accent: #ffffff;
  --accent-2: #a8b0bf;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --font: "Segoe UI", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

a,
button,
input,
.card,
.dropdown-trigger,
.dropdown-item,
.open-link,
.page-size-button,
.page-button {
  transition:
    background-color 0.3s ease-in-out,
    border-color 0.3s ease-in-out,
    color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out,
    transform 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

.shell {
  width: min(1560px, 100%);
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.hero,
.controls,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: var(--panel-2);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  width: 112px;
  min-width: 112px;
  height: 112px;
  border-radius: 0;
  overflow: hidden;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: none;
}

.brand-mark-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark:hover {
  border: 0;
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-soft);
}

.hero h1 {
  margin: 0;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.02;
  font-weight: 700;
}

.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 620px;
  font-size: 14px;
}

.hero-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.hero-link:hover {
  color: #fff;
}

.stats {
  min-width: 168px;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--field-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px;
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 999px;
  background: #181b22;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.account-trigger:hover {
  background: #1c2027;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.account-trigger.is-avatar {
  min-width: 46px;
  width: 46px;
  padding: 0;
  border-radius: 999px;
  background: var(--brand-accent);
  border-color: rgba(79, 70, 229, 0.55);
}

.account-trigger.is-avatar:hover {
  background: var(--brand-accent-hover);
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 999px;
  background: #181b22;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cart-trigger:hover {
  background: #1c2027;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.cart-trigger.cart-bump {
  animation: cartPulse 0.42s ease-in-out;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--brand-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.cart-badge.cart-bump {
  animation: badgePulse 0.42s ease-in-out;
}

.controls {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  align-items: stretch;
  background: var(--panel-2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.control-label {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 14px;
  background: #14171d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.12);
}

.search-field:focus-within .search-input-wrap {
  border-color: rgba(79, 70, 229, 0.48);
  background: #171a22;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 22px;
  color: var(--muted-soft);
  font-size: 18px;
  line-height: 1;
}

.search-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.search-field input:focus {
  outline: none;
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

input,
select,
.dropdown-trigger {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--field-line);
  background: #14171d;
  color: var(--text);
  font: inherit;
}

.dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.select-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 14px;
  border-color: var(--field-line);
  background: #14171d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.12);
  min-height: 52px;
  padding: 0 16px;
  font-weight: 600;
  text-align: left;
}

.dropdown-trigger:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: #171a22;
  transform: translateY(-1px);
}

.dropdown-trigger[aria-expanded="true"] {
  border-color: rgba(79, 70, 229, 0.45);
  background: #171a22;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dropdown-trigger:active {
  transform: scale(0.985);
}

.dropdown-caret {
  color: #b7b7b7;
  font-size: 13px;
  transition:
    transform 0.22s ease-in-out,
    color 0.22s ease-in-out,
    opacity 0.22s ease-in-out;
}

.dropdown-trigger[aria-expanded="true"] .dropdown-caret {
  transform: rotate(180deg);
  color: #fff;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #121419;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.38);
  max-height: 320px;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transform-origin: top center;
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out,
    visibility 0.18s ease-out;
}

.dropdown-menu.hidden {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.975);
}

.dropdown-item {
  display: block;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #ededed;
  text-align: left;
  font: inherit;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  cursor: pointer;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.dropdown-item.active {
  background: rgba(79, 70, 229, 0.16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.24);
}

.dropdown-group-label {
  display: block;
  padding: 4px 10px 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dropdown-item-text {
  min-width: 0;
}

.dropdown-item-count {
  color: rgba(255, 255, 255, 0.55);
}

.dropdown-item-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.9;
}

.dropdown-item:active {
  transform: scale(0.985);
}

.grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.card {
  overflow: hidden;
  background: var(--card-surface);
  border: 1px solid #232833;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.card:hover {
  background: var(--card-hover);
  border-color: #2a2f3a;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.card-image {
  display: block;
  width: calc(100% - 28px);
  margin: 14px 14px 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  padding: 15px;
  background: var(--image-surface);
  border: 1px solid var(--image-line);
  border-radius: 15px;
  box-shadow: inset 0 0 0 999px rgba(14, 15, 18, 0.05);
}

.card-body {
  padding: 16px;
  background: var(--card-surface);
}

.card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.pill-category {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.pill-brand {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-2);
}

.card-title {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  min-height: 40px;
}

.card-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.price {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex: 0 0 auto;
  color: var(--brand-accent);
}

.open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid rgba(79, 70, 229, 0.38);
  background: var(--brand-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.2);
}

.open-link:hover {
  background: var(--brand-accent-hover);
  border-color: rgba(99, 91, 236, 0.48);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.26);
  text-decoration: none;
  transform: translateY(-1px);
}

.open-link:active {
  transform: scale(0.98);
}

.empty {
  text-align: center;
  color: var(--muted);
  margin-top: 28px;
}

.catalog-footer {
  margin-top: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.catalog-credit {
  margin: 10px 4px 0;
  color: var(--muted-soft);
  font-size: 12px;
  text-align: center;
}

.catalog-credit a {
  color: #fff;
  text-decoration: none;
}

.catalog-credit a:hover {
  text-decoration: underline;
}

.overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(14, 15, 18, 0.7);
  backdrop-filter: blur(7px);
}

.panel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: #1e2128;
  color: #fff;
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.panel-close:hover {
  background: #242933;
  border-color: rgba(79, 70, 229, 0.38);
  transform: translateY(-1px);
}

.product-view {
  position: fixed;
  z-index: 90;
  top: 50%;
  left: 50%;
  width: min(1380px, calc(100% - 40px));
  max-height: min(86vh, 920px);
  padding: 24px;
  border: 1px solid var(--field-line);
  border-radius: 20px;
  background: var(--card-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 28px 64px rgba(0, 0, 0, 0.46),
    0 8px 20px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
  overflow: auto;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(420px, 1fr);
  gap: 24px;
  align-items: start;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: var(--card-inner);
  border: 1px solid var(--field-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.product-carousel {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 16px;
  min-height: 420px;
}

.product-main-frame {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 18px;
  background: #10131a;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.carousel-nav {
  width: 46px;
  height: 46px;
  border: 1px solid var(--field-line);
  border-radius: 999px;
  background: rgba(18, 20, 26, 0.92);
  color: #fff;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out,
    transform 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
}

.carousel-nav:hover:not(:disabled) {
  background: #242933;
  border-color: rgba(79, 70, 229, 0.38);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.carousel-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.product-main-image {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 14px;
  background: #dfe2e7;
  border: 1px solid rgba(229, 231, 235, 0.45);
  box-shadow:
    inset 0 0 0 999px rgba(14, 15, 18, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 14px;
  transition:
    opacity 0.16s ease-in-out,
    transform 0.16s ease-in-out,
    filter 0.16s ease-in-out;
}

.product-main-image.is-switching {
  opacity: 0.35;
  transform: scale(0.96);
  filter: blur(1px);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.thumb-button {
  padding: 0;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--micro-surface);
  cursor: pointer;
  transition:
    transform 0.24s ease-in-out,
    border-color 0.24s ease-in-out,
    box-shadow 0.24s ease-in-out,
    background-color 0.24s ease-in-out;
}

.thumb-button img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #dfe2e7;
  box-shadow: inset 0 0 0 999px rgba(14, 15, 18, 0.05);
  padding: 6px;
}

.thumb-button:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(79, 70, 229, 0.28);
}

.thumb-button.active {
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow:
    0 0 0 3px rgba(79, 70, 229, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.14);
  background: #222732;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.product-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-price {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: 0.25px;
  color: var(--brand-accent);
}

.product-stock-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: var(--card-inner);
  border: 1px solid var(--field-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.product-stock-card.stock-only-note {
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.product-stock-controls {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  width: 100%;
}

.product-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.product-size-dropdown {
  flex: 0 0 64%;
  max-width: 64%;
}

.product-size-trigger {
  width: 100%;
  min-height: 50px;
  background: var(--micro-surface);
}

.product-size-dropdown .dropdown-menu {
  top: calc(100% + 8px);
  max-height: 240px;
}

.product-qty-row {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.qty-label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  background: var(--micro-surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  width: 100%;
  justify-content: space-between;
}

.qty-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.qty-input {
  width: 72px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: #161a21;
  color: #fff;
  font: inherit;
  text-align: center;
}

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

.primary-button,
.secondary-button,
.toggle-button,
.remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--field-line);
  background: var(--card-inner);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  border-color: rgba(79, 70, 229, 0.42);
  background: var(--brand-accent);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 18px rgba(79, 70, 229, 0.2);
}

#add-to-cart.is-success {
  background: #16a34a;
  border-color: rgba(34, 197, 94, 0.55);
  color: #fff;
  animation: addToCartSuccess 0.9s ease-in-out;
}

#add-to-cart.is-error {
  background: #dc2626;
  border-color: rgba(248, 113, 113, 0.55);
  color: #fff;
  animation: addToCartError 0.9s ease-in-out;
}

#checkout-submit.is-success {
  background: #16a34a;
  border-color: rgba(34, 197, 94, 0.55);
  color: #fff;
  animation: addToCartSuccess 0.9s ease-in-out;
}

#checkout-submit.is-error {
  background: #dc2626;
  border-color: rgba(248, 113, 113, 0.55);
  color: #fff;
  animation: addToCartError 0.9s ease-in-out;
}

.primary-button:hover,
.secondary-button:hover,
.toggle-button:hover,
.remove-button:hover,
.qty-button:hover {
  transform: translateY(-1px);
  background: #242933;
}

.primary-button:hover {
  background: var(--brand-accent-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 20px rgba(79, 70, 229, 0.24);
}

.secondary-button {
  background: transparent;
  box-shadow: none;
}

.secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.cart-drawer {
  position: fixed;
  z-index: 95;
  top: 0;
  right: 0;
  width: min(560px, 100%);
  height: 100dvh;
  padding: 24px;
  border-left: 1px solid var(--field-line);
  background: var(--card-surface);
  box-shadow: -24px 0 56px rgba(0, 0, 0, 0.42);
  overflow: auto;
}

.cart-prompt {
  position: fixed;
  z-index: 96;
  top: 50%;
  left: 50%;
  width: min(460px, calc(100% - 24px));
  padding: 24px;
  border: 1px solid var(--field-line);
  border-radius: 18px;
  background: var(--card-surface);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%);
}

.account-drawer {
  width: min(520px, calc(100% - 32px));
}

.account-user-bar,
.account-orders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-user {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.account-user-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-user-meta strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.account-user-extra {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.account-orders-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.account-orders-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--micro-surface);
  border: 1px solid var(--field-line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.account-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-order {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--card-inner);
  border: 1px solid var(--field-line);
}

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

.account-order-head strong {
  font-size: 15px;
  font-weight: 600;
}

.account-order-head span {
  color: var(--brand-accent);
  font-weight: 600;
}

.account-order-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.account-order-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-order-items p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.account-admin {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.admin-stat-card,
.admin-block {
  padding: 14px;
  border-radius: 14px;
  background: var(--card-inner);
  border: 1px solid var(--field-line);
}

.admin-stat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-stat-card span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-stat-card strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

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

.admin-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-block h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--micro-surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.admin-row strong {
  font-size: 13px;
  font-weight: 600;
}

.admin-row span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.admin-order-row {
  gap: 8px;
}

.admin-input,
.admin-select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--field-line);
  background: #14171d;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.admin-select {
  cursor: pointer;
}

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

.admin-save,
.admin-delete {
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}

.cart-prompt-title {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.1;
}

.cart-prompt-text {
  margin: 10px 0 0;
  color: var(--muted);
}

.cart-prompt-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cart-head h2 {
  margin: 6px 0 0;
  font-size: 32px;
}

.cart-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.cart-items {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-clear {
  margin-top: 14px;
}

.cart-total {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #1e2128;
  border: 1px solid var(--field-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-total span {
  color: var(--muted);
  font-size: 14px;
}

.cart-total strong {
  font-size: 24px;
  color: var(--brand-accent);
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #1e2128;
  border: 1px solid var(--field-line);
}

.cart-item-image {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--image-surface);
  border: 1px solid var(--image-line);
  box-shadow: inset 0 0 0 999px rgba(14, 15, 18, 0.05);
  padding: 8px;
}

.cart-item-title,
.cart-item-price,
.cart-item-meta {
  margin: 0;
}

.cart-item-title {
  font-size: 16px;
}

.cart-item-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.cart-item-price {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-accent);
}

.cart-item-controls {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-item-qty {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

.remove-button {
  width: auto;
  min-height: 42px;
  padding: 0 12px;
  margin-left: auto;
}

.checkout-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: #1e2128;
  border: 1px solid var(--field-line);
}

.order-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  background: #12141a;
  border: 1px solid var(--field-line);
}

.toggle-button.active {
  background: var(--brand-accent);
  border-color: rgba(79, 70, 229, 0.42);
  color: #fff;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.22);
}

.toggle-button:not(.active) {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.checkout-fields {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-size: 13px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--field-line);
  background: #12141a;
  color: #fff;
  font: inherit;
}

.checkout-dropdown {
  width: 100%;
}

.checkout-dropdown-trigger {
  width: 100%;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-soft);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(79, 70, 229, 0.42);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 48px;
  line-height: 1.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.78)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}

.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid,
.checkout-dropdown-trigger.is-invalid {
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow:
    0 0 0 1px rgba(248, 113, 113, 0.22),
    0 0 0 6px rgba(248, 113, 113, 0.08);
}

.checkout-panel .primary-button {
  margin-top: 14px;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes addToCartSuccess {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }
  35% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.16);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes addToCartError {
  0% {
    transform: translateX(0);
  }
  18% {
    transform: translateX(-5px);
  }
  36% {
    transform: translateX(5px);
  }
  54% {
    transform: translateX(-3px);
  }
  72% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(0);
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(14, 15, 18, 0.7);
  backdrop-filter: blur(6px);
}

.item-modal {
  position: fixed;
  z-index: 90;
  top: 50%;
  left: 50%;
  width: min(440px, calc(100% - 28px));
  padding: 22px;
  border: 1px solid var(--field-line);
  border-radius: 18px;
  background: var(--card-surface);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%);
}

.item-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: #1e2128;
  color: #fff;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.item-modal-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
}

.item-modal-title {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

.item-modal-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.item-modal-stock {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px;
  min-height: auto;
  height: auto;
  border-radius: 16px;
  background: #1e2128;
  border: 1px solid var(--field-line);
}

.item-modal-stock.stock-only-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px;
  min-height: auto;
  height: auto;
}

.item-modal-stock.stock-only-note .stock-note {
  width: 100%;
}

.stock-summary {
  font-size: 18px;
  font-weight: 800;
}

.stock-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.stock-list:empty {
  display: none;
}

.stock-line {
  padding: 8px 10px;
  border-radius: 12px;
  background: #12141a;
}

.stock-line-empty {
  color: var(--muted);
}

.stock-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.item-modal-actions {
  margin-top: 18px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.item-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--field-line);
  background: #1e2128;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  flex: 1 1 0;
}

.item-modal-link.hidden {
  display: none;
}

.item-modal-link:hover,
.item-modal-close:hover {
  background: #242933;
  transform: translateY(-1px);
}

.page-size {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-size-label {
  color: var(--muted);
  font-size: 14px;
}

.page-size-options,
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-size-options {
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--field-line);
  background: rgba(255, 255, 255, 0.018);
  box-shadow: none;
}

.pagination {
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--field-line);
  background: rgba(255, 255, 255, 0.018);
  box-shadow: none;
}

.page-size-button,
.page-button {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.page-size-button {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

.page-size-button:hover,
.page-button:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.page-size-button.active,
.page-button.active {
  background: var(--brand-accent);
  color: #fff;
}

.page-size-button:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: transparent;
}

.page-size-button.active {
  min-width: 38px;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.24);
}

.page-button {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

.page-button:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: transparent;
}

.page-button.active {
  min-width: 38px;
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.24);
}

.page-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-size-button:active,
.page-button:active {
  transform: scale(0.98);
}

.hidden {
  display: none;
}

/* Keep the search control visually unified with dropdowns after generic input styles. */
.search-field .search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 14px;
  background: #14171d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.12);
}

.search-field input[type="search"] {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.search-field input[type="search"]:focus {
  outline: none;
}

.search-field:focus-within .search-input-wrap {
  border-color: rgba(79, 70, 229, 0.4);
  background: #171a22;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dropdown-menu::-webkit-scrollbar {
  width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

/* Final premium polish layer */
:root {
  --card-inner: #1b1f26;
  --micro-surface: #12141a;
  --shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 12px 30px rgba(0, 0, 0, 0.32),
    0 2px 8px rgba(0, 0, 0, 0.18);
}

.hero,
.controls,
.catalog-footer,
.product-view,
.cart-prompt,
.item-modal {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 12px 30px rgba(0, 0, 0, 0.28),
    0 2px 10px rgba(0, 0, 0, 0.16);
}

.brand-mark,
.stats,
.cart-trigger,
.search-input-wrap,
.dropdown-trigger,
.page-size-options,
.pagination {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.stats,
.cart-trigger,
.page-size-options,
.pagination,
.search-input-wrap,
.dropdown-trigger,
.dropdown-menu,
.product-stock-card,
.cart-total,
.cart-item,
.checkout-panel,
.item-modal-stock {
  background-color: var(--card-inner);
}

.search-input-wrap,
.dropdown-trigger,
.field input,
.field textarea,
.field select,
.qty-input {
  background: var(--micro-surface);
}

.hero h1,
.card-title,
.product-title,
.cart-head h2,
.cart-prompt-title,
.item-modal-title {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.eyebrow,
.product-kicker,
.item-modal-kicker,
.dropdown-group-label {
  letter-spacing: 1px;
  color: var(--muted-soft);
}

.card,
.cart-item,
.product-stock-card,
.checkout-panel,
.cart-total,
.item-modal-stock {
  border-color: var(--line);
}

.card {
  box-shadow: var(--shadow);
}

.card:hover {
  background: var(--card-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 16px 36px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.18);
}

.card-image,
.product-main-image,
.thumb-button img,
.cart-item-image {
  box-shadow:
    inset 0 0 0 999px rgba(14, 15, 18, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

.pill-category,
.pill-brand,
.size-chip,
.qty-button,
.secondary-button,
.toggle-button,
.remove-button,
.stock-line {
  background: var(--micro-surface);
}

.pill-category,
.pill-brand {
  border-color: rgba(255, 255, 255, 0.03);
}

.product-price,
.cart-item-price,
.cart-total strong,
.price {
  color: var(--brand-accent);
}

.primary-button,
.open-link {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 16px rgba(79, 70, 229, 0.2);
}

.primary-button:hover,
.open-link:hover {
  background: var(--brand-accent-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(79, 70, 229, 0.24);
}

.secondary-button:hover,
.toggle-button:hover,
.remove-button:hover,
.qty-button:hover {
  background: #252a33;
}

.toggle-button:not(.active) {
  color: var(--muted);
  border-color: transparent;
}

.toggle-button.active,
.size-chip.active,
.page-size-button.active,
.page-button.active,
.dropdown-item.active {
  background: var(--brand-accent);
  color: #fff;
  border-color: rgba(79, 70, 229, 0.4);
}

.page-size-button.active,
.page-button.active {
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.22);
}

.field input::placeholder,
.field textarea::placeholder,
.search-field input::placeholder {
  color: var(--muted-soft);
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.qty-input:focus {
  outline: none;
  border-color: rgba(79, 70, 229, 0.42);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.overlay-backdrop,
.modal-backdrop {
  background: rgba(14, 15, 18, 0.7);
  backdrop-filter: blur(7px);
}

@media (max-width: 1100px) {
  .shell {
    width: min(1240px, 100%);
    padding: 16px 14px 30px;
  }

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

@media (max-width: 760px) {
  .hero {
    flex-direction: column;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .hero-side {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel-3);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  }

  .account-trigger,
  .cart-trigger,
  .stats {
    min-height: 40px;
    border-radius: 12px;
  }

  .admin-stats,
  .admin-columns {
    grid-template-columns: 1fr;
  }

  .cart-trigger {
    order: 1;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: #181b22;
  }

  .stats {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 12px;
    background: #181b22;
    text-align: center;
  }

  .controls {
    grid-template-columns: 1fr;
  }

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

  .card-footer {
    gap: 12px;
  }

  .catalog-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 10px 8px;
    overflow: hidden;
  }

  .page-size {
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
  }

  .page-size-label {
    display: none;
  }

  .page-size-options {
    flex-wrap: nowrap;
    gap: 4px;
    padding: 4px;
  }

  .pagination {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
    margin-left: 0;
    padding: 4px;
  }

  .page-size-button,
  .page-button {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 14px;
  }

  .page-size-button,
  .page-size-button.active {
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border-radius: 999px;
  }

  .page-button,
  .page-button.active {
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border-radius: 999px;
  }

  .item-modal {
    width: calc(100% - 20px);
    padding: 18px;
  }

  .item-modal-title {
    font-size: 20px;
  }

  .item-modal-actions {
    gap: 10px;
  }

  .product-view {
    top: 50%;
    left: 50%;
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 18px;
    transform: translate(-50%, -50%);
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
    min-height: auto;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 20px;
  }

  .product-main-image {
    max-width: min(320px, 100%);
  }

  .product-qty-row {
    width: 100%;
  }

  .product-stock-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .product-size-dropdown {
    flex: 1 1 auto;
    max-width: none;
  }

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

  .product-title {
    font-size: 28px;
  }

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

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

  .cart-drawer {
    width: 100%;
    padding: 18px;
  }

  .cart-prompt {
    width: calc(100% - 20px);
    padding: 18px;
  }

  .cart-prompt-title {
    font-size: 24px;
  }

  .cart-prompt-actions {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item-image {
    width: 72px;
    height: 72px;
  }
}
