:root {
  --nav: #131921;
  --nav-hover: #232f3e;
  --subnav: #232f3e;
  --subnav-hover: #37475a;
  --search-btn: #febd69;
  --search-btn-hover: #f3a847;
  --cta: #ffd814;
  --cta-hover: #f7ca00;
  --cta2: #ffa41c;
  --cta2-hover: #fa8900;
  --page: #eaeded;
  --surface: #ffffff;
  --border: #d5d9d9;
  --ink: #0f1111;
  --ink-soft: #565959;
  --link: #007185;
  --link-hover: #c7511f;
  --badge: #f08804;
  --error: #b12704;
  --error-bg: #fff3f3;
  --error-border: #e7b3ac;
  --success: #067d62;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--link-hover);
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #e77c1e;
  outline-offset: 1px;
}

.nav-top :focus-visible,
.nav-sub :focus-visible,
.drawer :focus-visible,
footer :focus-visible {
  outline: 3px solid #ffffff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -52px;
  z-index: 30;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

.nav-top {
  background: var(--nav);
}

.nav-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
}

.logo:hover {
  background: rgba(255, 255, 255, 0.12);
}

.logo-text {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.1;
}

.logo-swoosh {
  width: 82%;
  height: 8px;
  margin-top: 3px;
  background: var(--cta2);
  border-radius: 0 0 999px 999px;
}

.nav-deliver {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cccccc;
  padding: 6px 8px;
  border-radius: 4px;
}

.deliver-icon {
  width: 22px;
  height: 22px;
  color: #cccccc;
  flex: none;
}

.deliver-lines {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.deliver-line1 {
  font-size: 0.75rem;
  color: #cccccc;
}

.deliver-line2 {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 700;
}

.search-form {
  flex: 1 1 380px;
  display: flex;
  max-width: 720px;
  min-width: 240px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #767676;
}

.search-form:focus-within {
  border-color: #e77c1e;
  box-shadow: 0 0 0 2px rgba(231, 124, 30, 0.55);
}

.search-select {
  border: 0;
  border-right: 1px solid #cdcdcd;
  background: #e6e6e6;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  padding: 0 6px;
  max-width: 130px;
  min-width: 64px;
  cursor: pointer;
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
}

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

.search-button {
  width: 48px;
  border: 0;
  background: var(--search-btn);
  color: #111111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button svg {
  width: 24px;
  height: 24px;
}

.search-button:hover {
  background: var(--search-btn-hover);
}

.nav-cart {
  background: transparent;
  border: 0;
  color: #cccccc;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  min-height: 44px;
}

.nav-cart:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cart-icon-wrap {
  position: relative;
  display: inline-flex;
  color: #cccccc;
}

.cart-icon {
  width: 34px;
  height: 34px;
}

.cart-count {
  position: absolute;
  top: -4px;
  left: 22px;
  background: var(--badge);
  color: #131921;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 2px 7px;
  border-radius: 999px;
}

.cart-label {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-sub {
  background: var(--subnav);
}

.nav-sub-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nav-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid transparent;
  color: #dddddd;
  font: inherit;
  font-weight: 700;
  padding: 9px 11px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}

.nav-all svg {
  width: 20px;
  height: 20px;
}

.nav-all:hover,
.nav-links button:hover {
  border-color: #ffffff;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
}

.nav-links button {
  background: transparent;
  border: 1px solid transparent;
  color: #eaeded;
  font: inherit;
  padding: 9px 10px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}

.nav-links button[aria-current="true"] {
  font-weight: 700;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-sub-note {
  margin-left: auto;
  color: #eaeded;
  font-size: 0.8rem;
  white-space: nowrap;
  padding-left: 12px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 17, 0.65);
  z-index: 20;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(88vw, 340px);
  background: var(--surface);
  z-index: 21;
  overflow-y: auto;
  box-shadow: 4px 0 18px rgba(0, 0, 0, 0.3);
}

.drawer-head {
  background: var(--subnav);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 12px;
  position: sticky;
  top: 0;
}

.drawer-title {
  margin: 0;
  font-size: 1.1rem;
  color: #ffffff;
}

.drawer-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  color: #ffffff;
  font: inherit;
  padding: 8px 12px;
  cursor: pointer;
  min-height: 44px;
}

.drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-list button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e7e7e7;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 18px;
  cursor: pointer;
  min-height: 44px;
}

.drawer-list button:hover {
  background: #f7fafa;
}

.drawer-list button[aria-current="true"] {
  font-weight: 700;
  background: #f0f8fa;
}

main {
  max-width: 1250px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.view[hidden] {
  display: none;
}

.promo-strip {
  text-align: center;
  padding: 0 8px 14px;
  margin: 0;
}

.promo-link {
  background: transparent;
  border: 0;
  color: var(--link);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 6px 4px;
  text-decoration: underline;
  min-height: 44px;
}

.promo-link:hover {
  color: var(--link-hover);
}

.status-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  padding: 28px 8px;
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
}

.retry-button {
  justify-self: center;
  margin: 12px auto 20px;
  display: block;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.grid-sentinel {
  grid-column: 1 / -1;
  height: 24px;
}

.item-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease;
}

.item-card:hover,
.item-card:focus-within {
  box-shadow: 0 3px 10px rgba(15, 17, 17, 0.18);
}

.item-thumb {
  height: 380px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0f2f2;
}

.item-image {
  width: 100%;
  max-width: 360px;
  max-height: 360px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.item-fallback {
  width: 300px;
  height: 300px;
  border-radius: 6px;
  background-color: var(--cat-color, #5b6e8c);
  background-image: repeating-conic-gradient(rgba(0, 0, 0, 0.12) 0% 25%, transparent 0% 50%);
  background-size: 46px 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 6rem;
  font-weight: 700;
}

.item-body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.item-name {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 400;
  min-height: 2.7em;
}

.item-name button {
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: underline transparent;
  transition: text-decoration-color 0.1s ease;
}

.item-name button:hover {
  text-decoration-color: var(--link);
  color: var(--link);
}

.item-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  flex: 1;
}

.item-delivery {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.cta-button {
  background: var(--cta);
  color: #0f1111;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  min-height: 44px;
  box-shadow: 0 2px 5px rgba(15, 17, 17, 0.15);
}

.cta-button:hover {
  background: var(--cta-hover);
}

.cta-buy {
  background: var(--cta2);
}

.cta-buy:hover {
  background: var(--cta2-hover);
}

.cta-button:disabled {
  background: #e6e6e6;
  color: #767676;
  cursor: wait;
  box-shadow: none;
}

.buy-button {
  margin-top: 4px;
}

.page-heading {
  font-size: 1.5rem;
  margin: 6px 0 14px;
  font-weight: 400;
}

.product-view {
  display: flex;
  flex-direction: column;
}

.product-breadcrumb {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.product-breadcrumb button {
  background: transparent;
  border: 0;
  color: var(--link);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.product-breadcrumb button:hover {
  color: var(--link-hover);
}

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.product-image-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}

.product-image {
  width: 100%;
  max-width: 760px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.product-fallback-large {
  width: 560px;
  height: 560px;
  border-radius: 8px;
  background-color: var(--cat-color, #5b6e8c);
  background-image: repeating-conic-gradient(rgba(0, 0, 0, 0.12) 0% 25%, transparent 0% 50%);
  background-size: 74px 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 10rem;
  font-weight: 700;
}

.product-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.product-title {
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0 0 14px;
  line-height: 1.3;
}

.product-delivery {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.product-desc {
  margin: 0;
  font-size: 0.95rem;
  border-top: 1px solid #e7e7e7;
  padding-top: 14px;
}

.product-buybox {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buybox-label {
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 2px;
}

.buybox-qty {
  display: flex;
  align-items: center;
  border: 1px solid #d5d9d9;
  border-radius: 999px;
  overflow: hidden;
  width: fit-content;
  box-shadow: 0 2px 5px rgba(15, 17, 17, 0.12);
}

.buybox-qty button {
  width: 44px;
  height: 40px;
  border: 0;
  background: #f0f2f2;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.buybox-qty button:hover {
  background: #e3e6e6;
}

.buybox-qty .qty-value {
  min-width: 48px;
}

.buybox-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.related-heading {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 30px 0 14px;
}

.cart-page {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.cart-box {
  flex: 1 1 480px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.cart-summary-box {
  flex: 0 1 320px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-subtotal {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.cart-rows {
  display: flex;
  flex-direction: column;
}

.cart-row {
  display: grid;
  grid-template-columns: 380px 1fr auto;
  gap: 10px 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #e7e7e7;
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-thumb {
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #f0f2f2;
  border-radius: 6px;
}

.cart-thumb img {
  width: 100%;
  max-width: 360px;
  max-height: 360px;
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.cart-thumb .item-fallback {
  width: 300px;
  height: 300px;
  font-size: 6rem;
  background-size: 46px 46px;
}

.cart-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-name {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5d9d9;
  border-radius: 999px;
  overflow: hidden;
  width: fit-content;
  margin-top: 6px;
  box-shadow: 0 2px 5px rgba(15, 17, 17, 0.12);
}

.qty-stepper button {
  width: 44px;
  height: 40px;
  border: 0;
  background: #f0f2f2;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.qty-stepper button:hover {
  background: #e3e6e6;
}

.qty-value {
  min-width: 44px;
  text-align: center;
  font-weight: 700;
  padding: 0 4px;
}

.cart-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.remove-button {
  background: transparent;
  border: 0;
  color: var(--link);
  text-decoration: underline;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 44px;
}

.remove-button:hover {
  color: var(--link-hover);
}

.back-link {
  font-weight: 400;
  display: inline-block;
  margin-bottom: 8px;
}

.checkout-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.checkout-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  padding: 7px 14px;
}

.step-active {
  background: #131921;
  border-color: #131921;
  color: #ffffff;
  font-weight: 700;
}

.checkout-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: grid;
  gap: 18px;
}

.pay-choice {
  border-top: 1px solid #e7e7e7;
  padding-top: 16px;
  display: grid;
  gap: 10px;
}

.pay-choice-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.pay-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
}

.pay-option:hover {
  background: #f7fafa;
}

.pay-option:has(input:checked) {
  border-color: #131921;
  box-shadow: 0 0 0 1px #131921;
}

.pay-option input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #131921;
}

.pay-option-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pay-option-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.pay-option-desc {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.pay-note {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.summary-total-count {
  margin: 0;
  font-weight: 700;
  border-top: 1px solid #e7e7e7;
  padding-top: 10px;
}

.checkout-success-only {
  display: flex;
  justify-content: center;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.req {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #888888;
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.field input:focus,
.field textarea:focus {
  border-color: #e77c1e;
  box-shadow: 0 0 0 2px rgba(231, 124, 30, 0.45);
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #767676;
}

.field-error {
  color: var(--error);
  margin: 6px 0 0;
  font-size: 0.85rem;
}

.checkout-summary {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-head {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.checkout-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.checkout-list li {
  margin-bottom: 3px;
}

.summary-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.form-error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: #7a1a08;
  padding: 12px 14px;
  border-radius: 6px;
  margin: 0;
}

.success-box {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.success-title {
  margin: 0;
  color: var(--success);
  font-size: 1.35rem;
}

.success-box p {
  margin: 0;
}

.shop-footer {
  margin-top: 24px;
}

.back-to-top {
  display: block;
  width: 100%;
  background: var(--subnav);
  border: 0;
  color: #dddddd;
  font: inherit;
  padding: 16px;
  cursor: pointer;
  min-height: 44px;
}

.back-to-top:hover {
  background: var(--subnav-hover);
}

.footer-main {
  background: var(--subnav);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 30px 24px 36px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 0.95rem;
  margin: 0 0 12px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a,
.footer-col button {
  color: #dddddd;
  font: inherit;
  font-size: 0.85rem;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.footer-col a:hover,
.footer-col button:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-bottom {
  background: var(--nav);
  text-align: center;
  padding: 16px;
}

.footer-bottom p {
  margin: 0;
  color: #dddddd;
  font-size: 0.78rem;
}

@media (max-width: 1100px) {
  .product-page {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .product-image-box {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (max-width: 1000px) {
  .checkout-wrap {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 768px) {
  .nav-inner {
    padding: 8px 12px;
  }

  .nav-deliver {
    display: none;
  }

  .search-form {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .cart-label {
    display: none;
  }

  .nav-sub-note {
    display: none;
  }

  .item-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
  }

  .item-thumb {
    height: 260px;
  }

  .item-image {
    max-width: 235px;
    max-height: 235px;
  }

  .cart-row {
    grid-template-columns: 280px 1fr;
  }

  .cart-thumb {
    width: 280px;
    height: 280px;
  }

  .cart-thumb img {
    width: 100%;
    max-width: 265px;
    max-height: 265px;
    height: auto;
    object-fit: contain;
  }

  .cart-thumb .item-fallback {
    width: 230px;
    height: 230px;
    font-size: 4.8rem;
    background-size: 36px 36px;
  }

  .item-name {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .cart-row {
    grid-template-columns: 190px 1fr;
  }

  .cart-thumb {
    width: 190px;
    height: 190px;
  }

  .cart-thumb img {
    width: 100%;
    max-width: 178px;
    max-height: 178px;
    height: auto;
    object-fit: contain;
  }

  .cart-thumb .item-fallback {
    width: 150px;
    height: 150px;
    font-size: 3.2rem;
    background-size: 24px 24px;
  }

  .cart-meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none;
  }
}

/* Discord-Login */
.nav-auth {
  display: flex;
  align-items: center;
}

.login-button {
  display: inline-block;
  background: #5865f2;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

.login-button:hover {
  background: #4752c4;
}

.login-button-large {
  padding: 10px 18px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.user-name {
  font-weight: 600;
  white-space: nowrap;
}

.logout-link {
  color: #d7dce2;
  font-size: 0.85rem;
  text-decoration: underline;
  white-space: nowrap;
}

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

.discord-status .discord-ok {
  margin: 0;
  padding: 10px 12px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  color: #1b5e20;
}
