:root {
  --ink: #101010;
  --muted: #666666;
  --soft: #f7f7f7;
  --line: #e6e6e6;
  --panel: #ffffff;
  --brand: #d71920;
  --brand-dark: #a90f15;
  --accent: #d71920;
  --black: #050505;
  --success: #101010;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0, #ffffff 70%, #fafafa 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

::selection {
  color: #fff;
  background: var(--brand);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
.btn,
.product-card,
.service-card,
.benefit,
.content-panel {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.34);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(230, 230, 230, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-nav a,
.cart-link {
  padding: 10px 12px;
  border-radius: 8px;
  color: #344054;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
  background: #fff1f1;
}

.main-nav a:hover,
.cart-link:hover {
  transform: translateY(-1px);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  color: #fff;
  background: var(--black);
}

.cart-link span {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  font-size: 0.78rem;
}

.cart-link span.cart-badge-pulse {
  animation: cart-badge-pulse 0.42s ease;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.nav-toggle.open,
.nav-toggle:hover {
  border-color: rgba(215, 25, 32, 0.38);
  background: #fff1f1;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 640px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #050505;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18)),
    linear-gradient(120deg, rgba(215, 25, 32, 0.26), transparent 34%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, auto, 100% 44px;
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 110px;
  background: linear-gradient(0deg, #fff, rgba(255, 255, 255, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
  padding: 96px 0 150px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffdddd;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.7rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.15rem;
}

.hero p {
  max-width: 580px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.hero-actions,
.button-row,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button-row {
  row-gap: 12px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics span {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  color: #fff;
  font-size: 1.18rem;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active,
.nav-toggle:active,
.cart-link:active,
.main-nav a:active,
.admin-menu-toggle:active,
.admin-sidebar a:active,
.admin-sidebar button:active {
  transform: scale(0.98);
}

.btn.is-loading {
  position: relative;
  color: transparent !important;
}

.btn.is-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  inset: 50% auto auto 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin 0.7s linear infinite;
}

.btn-ghost.is-loading::after,
.btn-light.is-loading::after {
  border-color: rgba(16, 16, 16, 0.2);
  border-top-color: var(--brand);
}

.btn.is-success {
  transform: translateY(-1px) scale(1.01);
}

.btn + .btn,
.btn + a.btn,
a.btn + .btn {
  margin-left: 10px;
}

.hero-actions .btn + .btn,
.hero-actions .btn + a.btn,
.hero-actions a.btn + .btn,
.button-row .btn + .btn,
.button-row .btn + a.btn,
.button-row a.btn + .btn,
.card-actions .btn + .btn,
.card-actions .btn + a.btn,
.card-actions a.btn + .btn,
.filter-submit .btn + .btn,
.filter-submit .btn + a.btn,
.filter-submit a.btn + .btn,
.actions-cell .btn + .btn,
.actions-cell .btn + a.btn,
.actions-cell a.btn + .btn,
.inline-form .btn + .btn,
.inline-form .btn + a.btn,
.inline-form a.btn + .btn,
.store-filter-actions .btn + .btn,
.store-filter-actions .btn + a.btn,
.store-filter-actions a.btn + .btn {
  margin-left: 0;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 20px rgba(215, 25, 32, 0.18);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-dark {
  color: #fff;
  background: var(--black);
}

.btn-accent {
  color: #fff;
  background: var(--accent);
}

.btn-light {
  color: var(--ink);
  background: #fff;
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.btn-ghost:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.btn-danger {
  color: #fff;
  background: #b42318;
}

.section {
  padding: 78px 0;
}

.section-muted {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.content-panel,
.benefit,
.admin-card,
.stat-card,
.account-card,
.map-placeholder {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.service-card,
.benefit,
.account-card {
  padding: 26px;
}

.service-card,
.benefit,
.content-panel {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.benefit:hover,
.content-panel:hover {
  border-color: rgba(215, 25, 32, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card .icon,
.benefit .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(215, 25, 32, 0.2);
}

.service-card p,
.benefit p,
.content-panel p,
.account-card p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.product-card {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(215, 25, 32, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.product-card:hover {
  border-color: rgba(215, 25, 32, 0.28);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card:hover::before {
  opacity: 1;
}

.product-media {
  --product-media-pad: 18px;
  position: relative;
  display: grid;
  flex: 0 0 clamp(260px, 22vw, 330px);
  place-items: center;
  height: clamp(260px, 22vw, 330px);
  overflow: hidden;
  border: 0;
  padding: var(--product-media-pad);
  cursor: zoom-in;
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 25, 32, 0.09), transparent 34%),
    linear-gradient(90deg, rgba(16, 16, 16, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(16, 16, 16, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(215, 25, 32, 0.055), transparent 48%),
    #f9fafb;
  background-size: auto, 26px 26px, 26px 26px, auto, auto;
}

.media-skeleton,
.image-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.72) 44%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(135deg, rgba(215, 25, 32, 0.08), rgba(16, 16, 16, 0.035));
  background-size: 220% 100%, auto;
  animation: skeleton-shimmer 1.15s linear infinite;
}

.media-skeleton {
  z-index: 0;
}

.image-shell {
  position: relative;
}

.image-shell::before {
  content: "";
  z-index: 0;
}

.async-image {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.js .async-image.image-loaded,
.js .image-shell.image-loaded > .async-image {
  opacity: 1;
}

.image-shell.image-loaded::before,
.product-media.image-loaded .media-skeleton,
.detail-media-stage.image-loaded .media-skeleton {
  opacity: 0;
  animation: none;
}

.product-media img {
  position: absolute;
  inset: var(--product-media-pad);
  z-index: 1;
  width: calc(100% - (var(--product-media-pad) * 2));
  height: calc(100% - (var(--product-media-pad) * 2));
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 20px rgba(17, 24, 39, 0.14));
  transition: transform 0.24s ease, filter 0.24s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
  filter: drop-shadow(0 22px 26px rgba(17, 24, 39, 0.18));
}

.image-zoom-cue {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 25, 32, 0.22);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.12);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.product-image-open:hover .image-zoom-cue,
.product-image-open:focus-visible .image-zoom-cue {
  opacity: 1;
  transform: translateY(0);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 330px;
  padding: 20px;
}

.product-body .eyebrow {
  min-height: 1.15em;
  margin-bottom: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-body h3 {
  min-height: 2.9em;
  margin-bottom: 8px;
  line-height: 1.42;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-body h3 a:hover {
  color: var(--brand);
}

.product-body p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-sku {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  margin: 4px 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--brand) !important;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-description {
  min-height: 4.15em;
  margin-top: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-english-name {
  min-height: 1.25em;
  margin-top: -4px;
  color: var(--brand) !important;
  font-weight: 800;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-meta {
  display: flex;
  min-height: 34px;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: auto 0 16px;
}

.price {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 900;
}

.promo-price {
  color: var(--brand);
}

.price-request {
  color: var(--black);
  font-size: 1rem;
}

.old-price {
  color: var(--brand);
  font-weight: 900;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--brand);
}

.discount-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  color: #fff;
  background: var(--black);
  font-size: 0.78rem;
  font-weight: 900;
}

.card-add-form {
  display: contents;
}

.product-card .card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(78px, auto);
  gap: 10px;
  align-items: stretch;
}

.product-card .card-actions .btn {
  min-height: 46px;
  justify-content: center;
}

.cart-toast {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 32px));
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(215, 25, 32, 0.26), transparent),
    rgba(0, 0, 0, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  font-weight: 800;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-toast.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cart-toast.error {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.22), transparent),
    var(--brand);
}

.content-note {
  margin: 16px 0;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 14px 16px;
  color: #3b0a0d;
  background: #fff5f5;
}

.retail-showcase-section {
  padding-top: 0;
}

.retail-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.retail-showcase-main,
.retail-showcase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.retail-showcase-main {
  min-height: 500px;
  position: relative;
  color: #fff;
}

.retail-showcase-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.08));
}

.retail-showcase-main img,
.retail-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.34s ease;
}

.retail-showcase-main > img {
  position: absolute;
  inset: 0;
}

.retail-showcase-main:hover img,
.retail-showcase-card:hover img {
  transform: scale(1.045);
}

.retail-showcase-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  max-width: 620px;
  padding: 42px;
}

.retail-showcase-overlay p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.retail-showcase-grid {
  display: grid;
  gap: 18px;
}

.retail-showcase-card {
  min-height: 154px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.retail-showcase-card:hover {
  border-color: rgba(215, 25, 32, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.retail-showcase-card img {
  aspect-ratio: 1 / 1;
  padding: 12px;
  object-fit: contain;
  background: #f9fafb;
}

.retail-showcase-card div {
  padding: 18px;
}

.retail-showcase-card span {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 44px;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  transition: transform 0.34s ease;
}

.image-panel:hover img {
  transform: scale(1.035);
}

.trust-band {
  color: #fff;
  background: var(--black);
}

.trust-band p {
  color: rgba(255, 255, 255, 0.76);
}

.process-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.map-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 32px;
  color: var(--muted);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(215, 25, 32, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(215, 25, 32, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 28px 28px;
}

.map-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.map-embed iframe {
  width: 100%;
  min-height: 360px;
  display: block;
  border: 0;
}

.newsletter {
  border-radius: 8px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, #050505, #1a1a1a 62%, #d71920);
}

.newsletter form,
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}

.newsletter input,
.inline-form input,
.inline-form select {
  min-height: 48px;
  flex: 1;
  min-width: 180px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 14px;
}

.notice {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
}

.notice.error {
  border-color: #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

.notice.success {
  border-color: #d9d9d9;
  color: var(--ink);
  background: #f7f7f7;
}

.site-footer {
  padding: 56px 0 36px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--black);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 36px;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a,
.social-links a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.86);
}

.footer-links a:hover,
.social-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 78px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(5, 5, 5, 0.98), rgba(17, 17, 17, 0.92) 58%, rgba(127, 17, 22, 0.96)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(215, 25, 32, 0.22), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%);
  opacity: 0.72;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.store-hero {
  padding: 52px 0 86px;
}

.store-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
  gap: 36px;
  align-items: center;
}

.store-hero-inner h1 {
  max-width: 720px;
}

.store-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 10px;
  justify-self: end;
}

.store-hero-metrics span {
  min-height: 86px;
  min-width: 96px;
  display: grid;
  align-content: center;
  justify-items: end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.store-hero-metrics strong {
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
}

.store-hero-metrics small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 4.3vw, 4rem);
  max-width: 780px;
}

.store-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero .btn {
  margin-top: 18px;
}

.page-hero + .section:not(.store-section) {
  padding-top: 0;
}

.page-hero + .section:not(.store-section) > .container {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.page-hero + .section:not(.store-section) .content-panel,
.page-hero + .section:not(.store-section) .account-card,
.page-hero + .section:not(.store-section) .detail-media,
.page-hero + .section:not(.store-section) .detail-summary,
.page-hero + .section:not(.store-section) .table-wrap,
.flow-surface {
  position: relative;
  overflow: hidden;
  border-color: rgba(215, 25, 32, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.95)),
    linear-gradient(90deg, rgba(215, 25, 32, 0.055) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.1);
}

.page-hero + .section:not(.store-section) .content-panel::before,
.page-hero + .section:not(.store-section) .account-card::before,
.page-hero + .section:not(.store-section) .detail-summary::before,
.page-hero + .section:not(.store-section) .table-wrap::before,
.flow-surface::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--black), var(--brand), transparent);
}

.flow-copy-panel h2,
.page-hero + .section:not(.store-section) .content-panel h2,
.page-hero + .section:not(.store-section) .account-card h3 {
  margin-bottom: 14px;
}

.store-section {
  padding-top: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.store-filter-panel {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: -42px 0 20px;
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.94)),
    linear-gradient(90deg, rgba(215, 25, 32, 0.08) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
  backdrop-filter: blur(14px);
}

.store-filter-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--black), var(--brand), var(--black));
}

.store-filter-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(210px, 0.92fr) minmax(126px, 0.5fr) minmax(126px, 0.5fr) minmax(152px, auto);
  gap: 12px;
  align-items: end;
}

.store-filter-panel label {
  color: #2f3a4b;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-filter-panel input,
.store-filter-panel select {
  min-height: 48px;
  border-color: #d8dde6;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.store-filter-panel input:focus,
.store-filter-panel select:focus {
  border-color: rgba(215, 25, 32, 0.7);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
  outline: 0;
}

.store-filter-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.store-filter-actions .btn {
  min-height: 46px;
  min-width: 146px;
}

.category-quick-links {
  justify-content: flex-end;
  max-height: 104px;
  overflow: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.filters a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px 8px 14px;
  color: var(--muted);
  background: #fff;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.filters a span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 0;
  padding: 0 7px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--ink);
  font-size: 0.78rem;
}

.filters a.active,
.filters a:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.filters a.active span,
.filters a:hover span {
  background: #fff;
  color: var(--brand);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.detail-media {
  --detail-media-pad: 24px;
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(360px, 43vw, 620px);
  max-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  cursor: zoom-in;
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 25, 32, 0.1), transparent 34%),
    linear-gradient(90deg, rgba(16, 16, 16, 0.032) 1px, transparent 1px),
    linear-gradient(rgba(16, 16, 16, 0.032) 1px, transparent 1px),
    #f9fafb;
  background-size: auto, 30px 30px, 30px 30px, auto;
}

.detail-media-stage {
  position: absolute;
  inset: var(--detail-media-pad);
  display: block;
  overflow: hidden;
}

.detail-media-stage img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(17, 24, 39, 0.16));
}

.product-lightbox[hidden] {
  display: none;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.product-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(73, 10, 14, 0.82)),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.product-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: calc(100vh - 44px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.product-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 25, 32, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
}

.product-lightbox-stage {
  --lightbox-pad-x: 30px;
  --lightbox-pad-top: 30px;
  --lightbox-pad-bottom: 30px;
  --lightbox-pad-x-total: 60px;
  --lightbox-pad-y-total: 60px;
  position: relative;
  min-height: 360px;
  height: min(72vh, 740px);
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(215, 25, 32, 0.1), transparent 30%),
    linear-gradient(90deg, rgba(16, 16, 16, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(16, 16, 16, 0.035) 1px, transparent 1px),
    #f8fafc;
  background-size: auto, 30px 30px, 30px 30px, auto;
}

.product-lightbox-stage img {
  position: absolute;
  top: var(--lightbox-pad-top);
  right: var(--lightbox-pad-x);
  bottom: var(--lightbox-pad-bottom);
  left: var(--lightbox-pad-x);
  width: calc(100% - var(--lightbox-pad-x-total));
  height: calc(100% - var(--lightbox-pad-y-total));
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(17, 24, 39, 0.2));
}

.product-lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.96);
}

.product-lightbox-caption strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.product-lightbox-caption span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

body.lightbox-open {
  overflow: hidden;
}

.detail-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background: #fff;
}

.qty-input {
  width: 96px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

th {
  color: #344054;
  background: #f9fafb;
  font-size: 0.88rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.cart-product {
  display: flex;
  min-width: 220px;
  align-items: center;
  gap: 12px;
}

.cart-product img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid + .btn,
.form-grid + .button-row,
.field + .btn,
.content-panel > p + .btn,
.account-card > p + .btn {
  margin-top: 18px;
}

.full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #344054;
  font-weight: 800;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fff;
}

.check-row input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--brand);
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(215, 25, 32, 0.68);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
  outline: 0;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.content-panel {
  padding: 28px;
}

.section-image {
  width: 100%;
  max-height: 320px;
  margin: 0 0 22px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.panel-image,
.trust-image {
  width: 100%;
  height: 170px;
  margin-bottom: 18px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.trust-image {
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-shell {
  background:
    linear-gradient(90deg, rgba(215, 25, 32, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(16, 16, 16, 0.035) 1px, transparent 1px),
    #f5f7fb;
  background-size: 34px 34px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(215, 25, 32, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--black);
  background-size: auto, 30px 30px, 30px 30px;
  box-shadow: 18px 0 45px rgba(16, 24, 40, 0.12);
}

.admin-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 18px;
}

.admin-brand-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.admin-brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #050505);
  font-size: 0.84rem;
  font-weight: 900;
}

.admin-sidebar h1 {
  margin: 0;
  font-size: 1.08rem;
}

.admin-sidebar-head p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-sidebar-close {
  display: none;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav form {
  margin: 0;
}

.admin-sidebar a,
.admin-sidebar button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.active,
.admin-sidebar button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, rgba(215, 25, 32, 0.42), rgba(255, 255, 255, 0.06));
  transform: translateX(2px);
}

.admin-overlay {
  display: none;
}

.admin-main {
  min-width: 0;
  padding: 30px;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -30px -30px 24px;
  border-bottom: 1px solid rgba(230, 230, 230, 0.88);
  padding: 22px 30px;
  background: rgba(245, 247, 251, 0.9);
  backdrop-filter: blur(16px);
}

.admin-topbar h1 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  max-width: none;
}

.admin-menu-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.admin-menu-icon {
  display: grid;
  gap: 3px;
}

.admin-menu-icon span {
  width: 16px;
  height: 2px;
  display: block;
  background: var(--ink);
}

.admin-card,
.stat-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-color: rgba(215, 25, 32, 0.12);
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.96)),
    linear-gradient(90deg, rgba(215, 25, 32, 0.045) 1px, transparent 1px);
  background-size: auto, 30px 30px;
}

.admin-card::before,
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #050505, #1a1a1a 58%, #d71920);
}

.login-card {
  width: min(420px, 100%);
  border-radius: 8px;
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.actions-cell form {
  display: contents;
}

.actions-cell .btn {
  min-height: 38px;
  padding: 8px 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  color: #fff;
  background: var(--black);
  font-size: 0.78rem;
  font-weight: 800;
}

.badge-danger {
  background: var(--brand);
}

.badge-success {
  background: #101828;
}

.badge-muted {
  color: #344054;
  background: #f2f4f7;
}

.settings-preview {
  width: 100%;
  max-width: 220px;
  height: 120px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-card textarea {
  min-height: 92px;
}

.table-wrap textarea {
  min-height: 70px;
}

.settings-group {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.settings-group:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.settings-group > p,
.import-help {
  color: var(--muted);
}

.discount-category-field[hidden] {
  display: none !important;
}

.discount-preview {
  align-self: start;
}

.discount-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.discount-preview-grid div {
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.discount-preview-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.discount-preview-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--black);
  font-size: 1.35rem;
}

.discount-preview-grid div:nth-child(1) strong {
  color: var(--brand);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.discount-preview-grid div:nth-child(2) strong {
  color: var(--brand);
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin: 0 0 22px;
}

.admin-filters.admin-card {
  margin-bottom: 24px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.admin-tabs a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.admin-tabs a:hover,
.admin-tabs a.active {
  border-color: rgba(215, 25, 32, 0.34);
  color: var(--brand);
  background: #fff5f5;
}

.admin-tabs strong {
  min-width: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--ink);
  background: #fff;
  font-size: 0.78rem;
}

.filter-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-submit .btn {
  min-width: 102px;
}

.order-input {
  width: 82px;
}

.table-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.table-check input {
  width: auto;
  accent-color: var(--brand);
}

.order-show-cancelled {
  align-self: end;
  min-height: 52px;
}

.order-show-cancelled small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.order-bulk-card,
.order-bulk-actions,
.order-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.order-bulk-card {
  margin-bottom: 24px;
}

.order-bulk-card h2 {
  margin-bottom: 4px;
}

.order-bulk-card p {
  margin: 0;
  color: var(--muted);
}

.order-bulk-actions {
  justify-content: flex-start;
  margin: 0 0 14px;
}

.order-detail-actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.order-detail-actions form {
  margin: 0;
}

.order-status-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.selected-row {
  background: #fff5f5;
}

.orders-table span,
.order-detail-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.order-detail-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f9fafb;
}

.status-form {
  margin-top: 18px;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 1.1rem;
}

.import-help {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f9fafb;
}

.import-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.import-summary-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f9fafb;
}

.import-summary-grid span {
  display: block;
  color: var(--brand);
  font-size: 1.65rem;
  font-weight: 900;
}

.import-summary-grid strong {
  color: var(--muted);
  font-size: 0.88rem;
}

.compact-list {
  margin: 0;
  padding-left: 20px;
}

.compact-list li + li {
  margin-top: 6px;
}

.result-count {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 28px;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.pagination a:hover,
.pagination a.active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.pagination span {
  color: var(--muted);
  background: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.grid > .reveal:nth-child(2),
.product-grid > .reveal:nth-child(2),
.retail-showcase-grid > .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.grid > .reveal:nth-child(3),
.product-grid > .reveal:nth-child(3),
.retail-showcase-grid > .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.grid > .reveal:nth-child(4),
.product-grid > .reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--black);
  transform: translateY(-2px);
}

.back-to-top span {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

@keyframes cart-badge-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(215, 25, 32, 0.28);
  }

  48% {
    transform: scale(1.16);
    box-shadow: 0 0 0 8px rgba(215, 25, 32, 0.1);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(215, 25, 32, 0);
  }
}

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

@keyframes skeleton-shimmer {
  0% {
    background-position: 180% 0, 0 0;
  }

  100% {
    background-position: -80% 0, 0 0;
  }
}

@media (hover: none) {
  .btn:hover,
  .main-nav a:hover,
  .cart-link:hover,
  .service-card:hover,
  .benefit:hover,
  .content-panel:hover,
  .product-card:hover,
  .back-to-top:hover {
    transform: none;
  }

  .product-card:hover {
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  }

  .product-card:active,
  .service-card:active,
  .benefit:active,
  .content-panel:active {
    transform: scale(0.995);
  }
}

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

  .cart-link span.cart-badge-pulse,
  .btn.is-loading::after,
  .media-skeleton,
  .image-shell::before {
    animation: none !important;
  }

  .async-image {
    transition: none !important;
  }
}

@media (max-width: 1180px) {
  .product-grid,
  .grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .store-hero-metrics {
    justify-self: stretch;
    max-width: 520px;
  }

  .store-filter-grid {
    grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 0.9fr) repeat(2, minmax(110px, 0.55fr));
  }

  .store-filter-actions {
    grid-column: 1 / -1;
  }

  .store-filter-actions .btn {
    min-width: 160px;
  }

  .hero {
    min-height: 600px;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: auto minmax(44px, 1fr) auto;
  }

  .nav-toggle {
    display: block;
    justify-self: center;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
  }

  .cart-link {
    justify-self: end;
  }

  .product-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .process-block,
  .product-detail,
  .footer-grid,
  .order-detail-grid,
  .retail-showcase {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    display: block;
  }

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    width: min(330px, calc(100vw - 48px));
    height: 100vh;
    padding-top: calc(22px + env(safe-area-inset-top));
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
    padding-left: calc(22px + env(safe-area-inset-left));
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }

  body.admin-sidebar-open {
    overflow: hidden;
  }

  body.admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-sidebar .admin-sidebar-close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
  }

  .admin-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: block;
    pointer-events: none;
    opacity: 0;
    background: rgba(5, 5, 5, 0.55);
    backdrop-filter: blur(3px);
    transition: opacity 0.2s ease;
  }

  body.admin-sidebar-open .admin-overlay {
    pointer-events: auto;
    opacity: 1;
  }

  .admin-menu-toggle {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  }

  .actions-cell .btn {
    min-height: 44px;
  }

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

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

  .store-hero {
    padding-bottom: 78px;
  }

  .detail-media {
    height: clamp(320px, 70vw, 560px);
    max-height: 560px;
  }

}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand span {
    display: none;
  }

  .cart-link {
    padding: 9px 10px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-bg {
    object-position: center;
  }

  .page-hero {
    padding: 42px 0 70px;
  }

  .page-hero + .section:not(.store-section) > .container {
    margin-top: -34px;
  }

  .store-hero {
    padding: 42px 0 70px;
  }

  .store-hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .store-hero-metrics span {
    min-width: 0;
    min-height: 74px;
    padding: 11px;
  }

  .store-hero-metrics strong {
    font-size: 1.14rem;
  }

  .store-hero-metrics small {
    font-size: 0.62rem;
  }

  .hero-content {
    padding: 64px 0 118px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .hero h1 {
    font-size: clamp(2.08rem, 10vw, 2.95rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-actions .btn,
  .card-actions .btn,
  .newsletter .btn,
  .content-panel > .btn,
  form.content-panel > .btn,
  .account-card > .btn,
  .login-card .btn {
    width: 100%;
  }

  .btn + .btn,
  .btn + a.btn,
  a.btn + .btn {
    margin-top: 10px;
    margin-left: 10px;
  }

  .hero-actions .btn + .btn,
  .hero-actions .btn + a.btn,
  .hero-actions a.btn + .btn,
  .button-row .btn + .btn,
  .button-row .btn + a.btn,
  .button-row a.btn + .btn,
  .card-actions .btn + .btn,
  .card-actions .btn + a.btn,
  .card-actions a.btn + .btn,
  .filter-submit .btn + .btn,
  .filter-submit .btn + a.btn,
  .filter-submit a.btn + .btn,
  .actions-cell .btn + .btn,
  .actions-cell .btn + a.btn,
  .actions-cell a.btn + .btn,
  .inline-form .btn + .btn,
  .inline-form .btn + a.btn,
  .inline-form a.btn + .btn,
  .store-filter-actions .btn + .btn,
  .store-filter-actions .btn + a.btn,
  .store-filter-actions a.btn + .btn {
    margin-top: 0;
  }

  .button-row {
    width: 100%;
    gap: 10px;
  }

  .button-row .btn {
    flex: 1 1 180px;
  }

  .section-head .button-row {
    margin-top: 16px;
  }

  .product-card .card-actions {
    grid-template-columns: minmax(0, 1fr) minmax(88px, auto);
    gap: 12px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    display: block;
  }

  .product-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .store-filter-panel {
    margin: -34px 0 16px;
    padding: 14px;
  }

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

  .store-search-field,
  .store-filter-grid .field:nth-child(2),
  .store-filter-actions {
    grid-column: 1 / -1;
  }

  .store-filter-actions .btn {
    flex: 1 1 140px;
  }

  .category-quick-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    max-height: none;
    overflow-x: auto;
    margin-bottom: 18px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .category-quick-links a {
    flex: 0 0 auto;
  }

  .product-grid {
    gap: 16px;
    grid-auto-rows: auto;
  }

  .product-card {
    height: auto;
    min-height: 0;
  }

  .product-media {
    --product-media-pad: 14px;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: min(82vw, 360px);
    max-height: 380px;
    aspect-ratio: 1 / 1;
    padding: var(--product-media-pad);
  }

  .product-media img {
    object-fit: contain;
    object-position: center;
  }

  .detail-media {
    width: 100%;
    height: auto;
    min-height: min(88vw, 420px);
    max-height: none;
    aspect-ratio: 1 / 1;
  }

  .detail-media-stage {
    inset: 14px;
  }

  .image-zoom-cue {
    right: 10px;
    bottom: 10px;
    width: 32px;
    height: 32px;
    opacity: 1;
    transform: none;
  }

  .product-body {
    min-height: auto;
    padding: 18px;
  }

  .product-body .eyebrow,
  .product-body h3,
  .product-description,
  .product-english-name {
    min-height: auto;
  }

  .product-description {
    -webkit-line-clamp: 2;
  }

  .product-meta {
    min-height: auto;
    margin-top: 8px;
  }

  .result-count {
    text-align: center;
  }

  .detail-media {
    --detail-media-pad: 16px;
    height: clamp(260px, 86vw, 460px);
    max-height: 460px;
  }

  .newsletter,
  .detail-summary,
  .content-panel,
  .retail-showcase-overlay {
    padding: 22px;
  }

  .product-lightbox {
    padding: 10px;
  }

  .product-lightbox-panel {
    max-height: calc(100vh - 20px);
  }

  .product-lightbox-stage {
    --lightbox-pad-x: 14px;
    --lightbox-pad-top: 54px;
    --lightbox-pad-bottom: 18px;
    --lightbox-pad-x-total: 28px;
    --lightbox-pad-y-total: 72px;
    min-height: 0;
    height: 56vh;
  }

  .product-lightbox-caption {
    display: grid;
    gap: 12px;
    padding: 14px;
  }

  .product-lightbox-caption .btn {
    width: 100%;
  }

  .retail-showcase-main {
    min-height: 440px;
  }

  .retail-showcase-card {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 132px;
  }

  .image-panel img {
    height: 300px;
  }

  .newsletter form,
  .inline-form {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-main {
    padding: 16px 12px 22px;
  }

  .admin-topbar {
    align-items: center;
    flex-direction: row;
    margin: -16px -12px 18px;
    padding: calc(12px + env(safe-area-inset-top)) 12px 12px;
  }

  .admin-topbar > div {
    min-width: 0;
  }

  .admin-topbar h1 {
    font-size: clamp(1.45rem, 8vw, 2.1rem);
  }

  .admin-topbar .badge {
    display: none;
  }

  .admin-sidebar {
    width: min(340px, calc(100vw - 24px));
    padding: calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));
  }

  .admin-card,
  .stat-card {
    padding: 18px;
  }

  .discount-preview-grid {
    grid-template-columns: 1fr;
  }

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

  .order-filters .field {
    grid-column: 1 / -1 !important;
  }

  .filter-submit .btn {
    width: 100%;
  }

  .filter-submit {
    gap: 10px;
  }

  th,
  td {
    padding: 11px;
  }

  .table-wrap.has-data-labels {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .table-wrap.has-data-labels table,
  .table-wrap.has-data-labels thead,
  .table-wrap.has-data-labels tbody,
  .table-wrap.has-data-labels tr,
  .table-wrap.has-data-labels td {
    display: block;
    width: 100%;
  }

  .table-wrap.has-data-labels thead {
    display: none;
  }

  .table-wrap.has-data-labels tr {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
  }

  .table-wrap.has-data-labels td {
    display: grid;
    grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
    text-align: right;
  }

  .table-wrap.has-data-labels td::before {
    content: attr(data-label);
    color: #667085;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
  }

  .table-wrap.has-data-labels td:last-child {
    border-bottom: 0;
  }

  .table-wrap.has-data-labels .cart-product {
    min-width: 0;
    justify-content: flex-end;
  }

  .table-wrap.has-data-labels .actions-cell {
    display: grid;
    grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
    align-items: start;
    justify-content: stretch;
    gap: 10px;
  }

  .table-wrap.has-data-labels .actions-cell > .btn,
  .table-wrap.has-data-labels .actions-cell form > .btn {
    grid-column: 2;
    width: 100%;
    min-height: 44px;
    justify-self: stretch;
  }

  .back-to-top {
    right: calc(14px + env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 18px, 1180px);
  }

  .retail-showcase-card {
    grid-template-columns: 1fr;
  }

  .retail-showcase-card img {
    aspect-ratio: 16 / 9;
  }

  .service-card,
  .benefit,
  .account-card,
  .product-body {
    padding: 20px;
  }

  .admin-menu-toggle span:last-child {
    display: none;
  }

  .admin-menu-toggle {
    min-width: 44px;
    justify-content: center;
    padding: 10px;
  }
}

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

  .product-card .card-actions .btn,
  .button-row .btn,
  .section-head .button-row .btn {
    width: 100%;
    flex-basis: 100%;
  }
}
