/*
 * Ghost Kicks storefront + administration UI
 * Dependency-free, responsive, LTR/RTL aware, Hostinger-safe fallback build.
 */
:root {
  --ink: #090c0e;
  --ink-2: #131817;
  --ink-3: #202725;
  --cream: #f4f0e7;
  --cream-2: #e8e1d4;
  --paper: #fffdf8;
  --white: #ffffff;
  --lime: #dfff25;
  --lime-2: #bfff00;
  --green: #45e45a;
  --green-deep: #167b2a;
  --orange: #ff4c19;
  --red: #e51a32;
  --yellow: #ffdc24;
  --muted: #68716e;
  --muted-2: #909895;
  --line: #d8d3c8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --surface: #f8f5ee;
  --danger: #c9252d;
  --success: #187d35;
  --warning: #a35b00;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-sm: 0 1px 2px rgba(9, 12, 14, 0.06), 0 6px 18px rgba(9, 12, 14, 0.04);
  --shadow: 0 20px 55px rgba(9, 12, 14, 0.12);
  --shadow-lg: 0 35px 100px rgba(0, 0, 0, 0.26);
  --container: 1280px;
  --admin-sidebar: 278px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.store-body {
  overflow-x: hidden;
}

body.admin-body {
  background: #f1eee7;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 6.6rem);
}

h2 {
  font-size: clamp(1.9rem, 3.7vw, 3.8rem);
}

h3 {
  font-size: 1.16rem;
}

p {
  color: var(--muted);
}

ul,
ol {
  margin-top: 0;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(68px, 9vw, 126px);
}

.section--tight {
  padding-block: clamp(54px, 7vw, 86px);
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 0%, rgba(223, 255, 37, 0.16), transparent 33%),
    radial-gradient(circle at 90% 90%, rgba(255, 76, 25, 0.18), transparent 32%),
    var(--ink);
}

.section--catalog {
  background: var(--paper);
}

.section-heading {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading > div {
  max-width: 760px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  max-width: 630px;
  margin-bottom: 0;
  font-size: 1.02rem;
}

.section-heading--dark h2,
.section-heading--dark p {
  color: var(--cream);
}

.section-heading--dark p {
  color: rgba(244, 240, 231, 0.68);
}

.eyebrow,
.admin-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: uppercase;
}

.eyebrow::before,
.admin-kicker::before {
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
  content: "";
}

.eyebrow--dark {
  color: var(--lime);
}

.eyebrow--dark::before {
  background: var(--lime);
}

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

.text-right {
  text-align: right !important;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--orange);
}

.table-primary {
  color: var(--ink);
  font-weight: 700;
}

.table-primary:hover,
.table-primary:focus-visible {
  color: var(--green-deep);
}

.mono-text,
.mono-title,
.input--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.hidden {
  display: none !important;
}

.sr-only,
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--cream);
  background: var(--ink);
  box-shadow: none;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 9px 25px rgba(191, 255, 0, 0.22);
  transform: translateY(-2px);
}

.btn--brand {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.btn--brand:hover,
.btn--brand:focus-visible {
  color: var(--cream);
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 9px 25px rgba(255, 76, 25, 0.24);
}

.btn--secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  color: var(--ink);
  background: var(--cream-2);
  border-color: var(--ink);
  box-shadow: none;
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: rgba(9, 12, 14, 0.26);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: none;
}

.btn--dark-ghost {
  color: var(--cream);
  background: transparent;
  border-color: rgba(244, 240, 231, 0.35);
}

.btn--dark-ghost:hover,
.btn--dark-ghost:focus-visible {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: none;
}

.btn--danger {
  color: var(--white);
  background: var(--danger);
  border-color: var(--danger);
}

.btn--danger:hover,
.btn--danger:focus-visible {
  color: var(--white);
  background: #971a21;
  border-color: #971a21;
  box-shadow: none;
}

.btn--danger-ghost {
  color: var(--danger);
  background: transparent;
  border-color: rgba(201, 37, 45, 0.4);
}

.btn--danger-ghost:hover,
.btn--danger-ghost:focus-visible {
  color: var(--white);
  background: var(--danger);
  border-color: var(--danger);
  box-shadow: none;
}

.btn--sm {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 0.75rem;
}

.btn--block {
  width: 100%;
}

.btn[aria-disabled="true"] {
  opacity: 0.42;
  pointer-events: none;
}

.btn:focus-visible,
.input:focus,
.select:focus,
.textarea:focus,
.gallery-thumb:focus-visible,
.size-option input:focus-visible + span,
.radio-card input:focus-visible + span,
.language-switch__button:focus-visible,
.icon-button:focus-visible {
  outline: 3px solid rgba(69, 228, 90, 0.35);
  outline-offset: 2px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

/* Forms */
.field {
  min-width: 0;
}

.field label,
.field__label,
.field legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #c7c4ba;
  border-radius: var(--radius-xs);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: #8f9692;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--green-deep);
  outline: none;
  box-shadow: 0 0 0 4px rgba(69, 228, 90, 0.12);
}

.input::placeholder,
.textarea::placeholder {
  color: #a1a6a2;
}

.input--file {
  padding: 9px;
  line-height: 1.4;
}

.input--file::file-selector-button {
  margin-inline-end: 10px;
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 700;
  cursor: pointer;
}

.textarea {
  min-height: 136px;
  resize: vertical;
}

.textarea--short {
  min-height: 94px;
}

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

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

.form-stack {
  display: grid;
  gap: 18px;
}

.field__hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.field-error {
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 0.77rem;
  font-weight: 600;
}

.field-error--block {
  margin-bottom: 16px;
  padding: 11px 13px;
  border-radius: var(--radius-xs);
  background: rgba(201, 37, 45, 0.08);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
}

.checkbox input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--green-deep);
}

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

.radio-card {
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-card > span {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: 150ms ease;
}

.radio-card strong,
.radio-card small {
  display: block;
}

.radio-card small {
  color: var(--muted);
}

.radio-card input:checked + span {
  border-color: var(--ink);
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--ink);
}

.alert {
  width: min(calc(100% - 40px), var(--container));
  margin: 18px auto;
  padding: 14px 17px;
  border: 1px solid;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  box-shadow: var(--shadow-sm);
}

.admin-content > .alert {
  width: 100%;
  margin: 0 0 20px;
}

.alert ul {
  margin: 8px 0 0;
  padding-inline-start: 19px;
}

.alert--success {
  color: #0b5424;
  border-color: rgba(24, 125, 53, 0.28);
  background: #e9f8ed;
}

.alert--danger {
  color: #7c151a;
  border-color: rgba(201, 37, 45, 0.28);
  background: #fff0f0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.pagination__meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Storefront header */
.announcement-bar {
  position: relative;
  z-index: 60;
  color: var(--ink);
  background: var(--lime);
  border-bottom: 1px solid var(--ink);
}

.announcement-bar__inner {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(9, 12, 14, 0.16);
  background: rgba(244, 240, 231, 0.93);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand__logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
}

.brand__copy {
  display: grid;
  line-height: 1;
}

.brand__copy strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.brand__copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  position: relative;
  padding: 9px 12px;
  color: var(--ink-3);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transition: 150ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.instagram-link {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(9, 12, 14, 0.2);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  color: var(--cream);
  background: var(--ink);
}

.instagram-link__icon {
  font-size: 1.08rem;
  line-height: 1;
}

.language-switch {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(9, 12, 14, 0.2);
  border-radius: 999px;
  background: var(--paper);
}

.language-switch > span {
  color: var(--muted-2);
  font-size: 0.65rem;
}

.language-switch__button {
  min-width: 30px;
  min-height: 29px;
  padding: 5px 7px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.69rem;
  font-weight: 700;
}

.language-switch__button.is-active,
.language-switch__button:hover {
  color: var(--ink);
  background: var(--lime);
}

.store-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 9px;
  border: 1px solid rgba(9, 12, 14, 0.2);
  border-radius: 50%;
  background: transparent;
}

.store-menu-button span,
.admin-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  border-radius: 99px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__inner {
  display: grid;
  padding-block: 13px 18px;
}

.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 700;
}

.mobile-nav a:last-child {
  color: var(--green-deep);
  border-bottom: 0;
}

/* Homepage hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding-block: clamp(64px, 8vw, 114px);
  color: var(--cream);
  background:
    radial-gradient(circle at 80% 18%, rgba(223, 255, 37, 0.23), transparent 28%),
    radial-gradient(circle at 90% 72%, rgba(255, 76, 25, 0.24), transparent 31%),
    radial-gradient(circle at 15% 80%, rgba(55, 203, 76, 0.13), transparent 26%),
    var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero::after {
  position: absolute;
  top: -160px;
  right: -130px;
  width: 460px;
  height: 460px;
  border: 72px solid rgba(255, 76, 25, 0.08);
  border-radius: 50%;
  content: "";
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.82fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}

.hero__content h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--cream);
  font-weight: 700;
  text-wrap: balance;
}

.hero__content h1::first-line {
  color: var(--lime);
}

.hero__copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(244, 240, 231, 0.68);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero__proof {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 240, 231, 0.15);
}

.hero__proof > div {
  display: grid;
}

.hero__proof strong {
  color: var(--cream);
  font-size: 1.25rem;
  line-height: 1;
}

.hero__proof span {
  margin-top: 7px;
  color: rgba(244, 240, 231, 0.48);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-product {
  position: relative;
  isolation: isolate;
  min-height: 560px;
}

.hero-product__glow {
  position: absolute;
  z-index: -2;
  inset: 9% 2% 4%;
  border-radius: 48% 52% 45% 55%;
  background:
    radial-gradient(circle at 45% 35%, var(--lime), transparent 52%),
    radial-gradient(circle at 74% 73%, var(--orange), transparent 44%);
  filter: blur(20px);
  opacity: 0.68;
  transform: rotate(-8deg);
}

.hero-product::before {
  position: absolute;
  z-index: -1;
  inset: 5% 4% 10%;
  border: 1px solid rgba(244, 240, 231, 0.3);
  border-radius: 45% 55% 52% 48%;
  content: "";
  transform: rotate(10deg);
}

.hero-product__image {
  position: absolute;
  inset: 4% 5% 12%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 42px 120px 42px 120px;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}

.hero-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.hero-product:hover .hero-product__image img {
  transform: scale(1.035);
}

.hero-product__info {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 8%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--cream);
  box-shadow: 10px 10px 0 var(--lime);
}

.hero-product__info span,
.hero-product__info strong {
  display: block;
}

.hero-product__info span {
  margin-bottom: 4px;
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-product__info strong {
  max-width: 280px;
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero-product__price {
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-product__stamp {
  position: absolute;
  z-index: 4;
  top: 2%;
  left: -3%;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--orange);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-align: center;
  transform: rotate(-13deg);
}

.brand-ribbon {
  overflow: hidden;
  color: var(--ink);
  background: var(--lime);
  border-block: 2px solid var(--ink);
  transform: rotate(-1deg) scale(1.02);
  transform-origin: center;
}

.brand-ribbon__track {
  display: flex;
  width: max-content;
  min-height: 54px;
  align-items: center;
  gap: 24px;
  padding-inline: 24px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: ribbon 26s linear infinite;
}

.brand-ribbon__track i {
  color: var(--orange);
  font-style: normal;
}

@keyframes ribbon {
  to { transform: translateX(-50%); }
}

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

.process-card {
  min-height: 270px;
  padding: 22px;
  border: 1px solid rgba(244, 240, 231, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: 170ms ease;
}

.process-card:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-5px) rotate(-1deg);
}

.process-card__number {
  display: block;
  margin-bottom: 70px;
  color: var(--lime);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.process-card:hover .process-card__number {
  color: var(--orange);
}

.process-card h3 {
  color: inherit;
  font-size: 1.18rem;
}

.process-card p {
  margin-bottom: 0;
  color: rgba(244, 240, 231, 0.55);
  font-size: 0.87rem;
}

.process-card:hover p {
  color: rgba(9, 12, 14, 0.66);
}

.catalog-count {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(155px, 0.55fr)) auto;
  gap: 10px;
  margin-bottom: 32px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.filter-bar .input,
.filter-bar .select {
  border-color: transparent;
}

.filter-bar__search {
  position: relative;
}

.social-banner {
  color: var(--cream);
  background:
    linear-gradient(105deg, rgba(0,0,0,.08), transparent 55%),
    var(--orange);
  border-top: 2px solid var(--ink);
}

.social-banner__inner {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding-block: 56px;
}

.social-banner h2,
.social-banner p {
  max-width: 800px;
  color: var(--cream);
}

.social-banner p {
  margin-bottom: 0;
  color: rgba(244, 240, 231, 0.72);
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state__mark {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-weight: 700;
}

.empty-state h3 {
  margin-bottom: 7px;
  font-size: 1.35rem;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.product-card:hover {
  border-color: var(--ink);
  box-shadow: 8px 8px 0 var(--lime);
  transform: translate(-4px, -4px);
}

.product-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 60% 35%, rgba(223, 255, 37, 0.28), transparent 37%),
    var(--cream);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.045);
}

.product-card__badges {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 7px;
  pointer-events: none;
}

.product-card__badge {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__badge--fire {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.product-card__badge--dark {
  margin-inline-start: auto;
  color: var(--cream);
  background: var(--ink);
  border-color: var(--ink);
}

.product-card__quick {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--ink);
  font-size: 0.67rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: 180ms ease;
}

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

.product-card__body {
  padding: 17px;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 2.35em;
  margin-bottom: 6px;
  font-size: 1.04rem;
  line-height: 1.17;
  letter-spacing: -0.035em;
}

.product-card h3 a:hover {
  color: var(--green-deep);
}

.product-card__colorway {
  min-height: 1.4em;
  margin-bottom: 13px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.77rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.product-card__sizes span {
  display: grid;
  min-width: 28px;
  min-height: 25px;
  place-items: center;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--cream);
  font-size: 0.65rem;
  font-weight: 700;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.price {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price-old {
  margin-inline-start: 7px;
  color: var(--muted-2);
  font-size: 0.72rem;
  text-decoration: line-through;
}

.product-card__arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: 1.1rem;
  transition: 150ms ease;
}

.product-card__arrow:hover,
.product-card__arrow:focus-visible {
  color: var(--white);
  background: var(--orange);
  transform: rotate(-20deg);
}

/* Product detail */
.product-page {
  padding-block: 28px clamp(68px, 9vw, 118px);
  background:
    radial-gradient(circle at 5% 12%, rgba(223, 255, 37, 0.18), transparent 18%),
    var(--paper);
}

.breadcrumbs {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.73rem;
  white-space: nowrap;
}

.breadcrumbs a:hover {
  color: var(--green-deep);
}

.breadcrumbs span:last-child {
  overflow: hidden;
  color: var(--ink);
  font-weight: 600;
  text-overflow: ellipsis;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.65fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.product-main-column {
  min-width: 0;
}

.product-gallery {
  margin-bottom: 28px;
}

.product-gallery__main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 55% 35%, rgba(223, 255, 37, 0.28), transparent 36%),
    var(--cream);
  box-shadow: 10px 10px 0 var(--lime);
}

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

.product-gallery__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.gallery-thumb {
  overflow: hidden;
  padding: 0;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--cream);
  opacity: 0.68;
  transition: 150ms ease;
}

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

.gallery-thumb:hover,
.gallery-thumb[aria-pressed="true"] {
  border-color: var(--ink);
  opacity: 1;
  box-shadow: 4px 4px 0 var(--lime);
}

.product-summary {
  position: sticky;
  top: 124px;
}

.product-summary__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.product-summary__brand-row .eyebrow {
  margin-bottom: 0;
}

.product-summary__stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 700;
}

.product-summary__stock i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(69, 228, 90, 0.15);
}

.product-summary h1 {
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 4.3vw, 4.8rem);
  text-wrap: balance;
}

.product-summary__colorway {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-summary__price {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.product-summary__description {
  margin-bottom: 23px;
  font-size: 1rem;
}

.available-sizes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 0.78rem;
}

.available-sizes span {
  color: var(--muted);
}

.product-meta {
  display: grid;
  margin-top: 22px;
  border-block: 1px solid var(--line);
}

.product-meta__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
}

.product-meta__row:last-child {
  border-bottom: 0;
}

.product-meta__row span {
  color: var(--muted);
}

.product-meta__row strong {
  text-align: right;
}

.product-description {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.88rem;
  white-space: normal;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--ink-3);
  font-size: 0.79rem;
  font-weight: 600;
}

.feature-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
  content: "";
}

.order-panel {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: 10px 10px 0 var(--ink);
}

.order-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 38px);
  color: var(--cream);
  background:
    radial-gradient(circle at 90% 10%, rgba(223,255,37,.18), transparent 30%),
    var(--ink);
}

.order-panel__head h2 {
  margin-bottom: 8px;
  color: var(--cream);
  font-size: clamp(1.75rem, 3vw, 3rem);
}

.order-panel__head p {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(244, 240, 231, 0.62);
}

.cod-badge {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  transform: rotate(8deg);
}

.order-panel form {
  padding: clamp(24px, 4vw, 38px);
}

.size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-option {
  cursor: pointer;
}

.size-option input {
  position: absolute;
  opacity: 0;
}

.size-option span {
  display: grid;
  min-width: 50px;
  min-height: 46px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--ink);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  transition: 140ms ease;
}

.size-option span:hover,
.size-option input:checked + span {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.order-total {
  display: grid;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.order-total__row,
.summary-list__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.order-total__row:last-child,
.summary-list__row:last-child {
  border-bottom: 0;
}

.order-total__row span,
.summary-list__row span {
  color: var(--muted);
}

.order-total__row--grand,
.summary-list__row--total {
  margin-top: 4px;
  padding-top: 14px;
  font-size: 1.05rem;
}

.order-total__row--grand strong,
.summary-list__row--total strong {
  color: var(--orange);
  font-size: 1.22rem;
}

/* Order confirmation */
.thank-you-page {
  min-height: calc(100vh - 190px);
  padding-block: clamp(50px, 9vw, 120px);
  background:
    radial-gradient(circle at 10% 15%, rgba(223, 255, 37, 0.22), transparent 25%),
    var(--cream);
}

.thank-you {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.88fr);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--lime);
}

.thank-you__visual {
  display: grid;
  min-height: 580px;
  place-items: center;
  align-content: center;
  gap: 28px;
  padding: 40px;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 76, 25, 0.32), transparent 38%),
    var(--ink);
  text-align: center;
}

.thank-you__visual img {
  width: 130px;
  height: 130px;
}

.thank-you__visual span {
  color: var(--lime);
  font-size: clamp(2.3rem, 4vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.78;
  transform: rotate(-5deg);
}

.thank-you__content {
  display: grid;
  align-content: center;
  padding: clamp(30px, 6vw, 78px);
}

.thank-you__content h1 {
  margin-bottom: 17px;
  font-size: clamp(2.3rem, 4.4vw, 5rem);
}

.thank-you__content > p {
  max-width: 660px;
  margin-bottom: 24px;
}

.thank-you__content .summary-list {
  margin-bottom: 26px;
}

/* Footer */
.site-footer {
  color: var(--cream);
  background: var(--ink);
  border-top: 2px solid var(--lime);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(160px, 0.45fr));
  gap: 48px;
  padding-block: 64px 48px;
}

.brand--footer .brand__copy strong {
  color: var(--cream);
}

.brand--footer .brand__copy small {
  color: var(--lime);
}

.site-footer__brand p {
  max-width: 480px;
  margin: 19px 0 0;
  color: rgba(244, 240, 231, 0.53);
  font-size: 0.88rem;
}

.site-footer__links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer__links strong {
  margin-bottom: 8px;
  color: var(--lime);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__links a,
.site-footer__links span {
  color: rgba(244, 240, 231, 0.65);
  font-size: 0.83rem;
}

.site-footer__links a:hover {
  color: var(--orange);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 20px;
  border-top: 1px solid rgba(244, 240, 231, 0.13);
  color: rgba(244, 240, 231, 0.42);
  font-size: 0.7rem;
}

/* Administration shell */
.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--admin-sidebar) minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  height: 100vh;
  min-height: 640px;
  flex-direction: column;
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 10%, rgba(223, 255, 37, 0.12), transparent 24%),
    radial-gradient(circle at 100% 90%, rgba(255, 76, 25, 0.12), transparent 28%),
    var(--ink);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar__head {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 19px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.admin-sidebar__brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.admin-sidebar__brand span {
  display: grid;
  line-height: 1;
}

.admin-sidebar__brand strong {
  font-size: 0.95rem;
  letter-spacing: -0.04em;
}

.admin-sidebar__brand small {
  margin-top: 6px;
  color: var(--lime);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-sidebar__close {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--cream);
  background: transparent;
  font-size: 1.35rem;
}

.admin-nav {
  display: grid;
  gap: 4px;
  overflow-y: auto;
  padding: 20px 13px;
}

.admin-nav__label {
  margin: 17px 10px 5px;
  color: rgba(244, 240, 231, 0.34);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-nav__label:first-child {
  margin-top: 0;
}

.admin-nav a {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: rgba(244, 240, 231, 0.68);
  font-size: 0.82rem;
  font-weight: 600;
  transition: 150ms ease;
}

.admin-nav a:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav a.is-active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 4px 4px 0 rgba(255, 76, 25, 0.8);
}

.admin-nav__icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.admin-nav a.is-active .admin-nav__icon {
  color: var(--cream);
  background: var(--ink);
}

.admin-sidebar__footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-store-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xs);
  color: var(--lime);
  font-size: 0.73rem;
  font-weight: 700;
}

.admin-store-link:hover {
  color: var(--ink);
  background: var(--lime);
}

.admin-user-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 4px 2px;
}

.admin-user-card__avatar,
.admin-person__avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-user-card > span:last-child,
.admin-person > span:last-child {
  display: grid;
  min-width: 0;
}

.admin-user-card strong {
  overflow: hidden;
  color: var(--cream);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-card small {
  overflow: hidden;
  margin-top: 3px;
  color: rgba(244, 240, 231, 0.39);
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-backdrop {
  display: none;
}

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

.admin-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 3vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(241, 238, 231, 0.93);
  backdrop-filter: blur(16px);
}

.admin-topbar__left,
.admin-topbar__right {
  display: flex;
  align-items: center;
  gap: 13px;
}

.admin-topbar__left > div {
  display: grid;
}

.admin-topbar__eyebrow {
  color: var(--green-deep);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.admin-topbar__left strong {
  font-size: 0.91rem;
}

.admin-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.admin-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.admin-live-dot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(69, 228, 90, 0.14);
}

.admin-content {
  width: min(100%, 1660px);
  padding: clamp(24px, 4vw, 48px);
}

.admin-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.admin-page-head h1 {
  margin-bottom: 7px;
  font-size: clamp(2rem, 3.4vw, 3.55rem);
  letter-spacing: -0.06em;
}

.admin-page-head p {
  max-width: 760px;
  margin: 0;
  font-size: 0.88rem;
}

.admin-page-head__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.admin-kicker {
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 0.6rem;
}

.admin-kicker::before {
  background: var(--green);
}

/* Admin metrics */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

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

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

.metric-card {
  display: flex;
  min-height: 150px;
  min-width: 0;
  flex-direction: column;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.metric-card--brand {
  border-color: var(--ink);
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--ink);
}

.metric-card--dark {
  color: var(--cream);
  border-color: var(--ink);
  background: var(--ink);
}

.metric-card--alert {
  color: #61140f;
  border-color: rgba(255, 76, 25, 0.45);
  background: #fff0e9;
}

.metric-card__label {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-card--brand .metric-card__label,
.metric-card--alert .metric-card__label {
  color: currentColor;
  opacity: 0.68;
}

.metric-card--dark .metric-card__label {
  color: rgba(244, 240, 231, 0.5);
}

.metric-card > strong {
  display: block;
  margin-top: 14px;
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.metric-card > strong small {
  font-size: 0.47em;
  letter-spacing: 0;
}

.metric-card__date {
  font-size: 1.35rem !important;
}

.metric-card a,
.metric-card__note {
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
}

.metric-card--brand a,
.metric-card--brand .metric-card__note {
  color: rgba(9, 12, 14, 0.7);
}

.metric-card--dark a,
.metric-card--dark .metric-card__note {
  color: rgba(244, 240, 231, 0.48);
}

.metric-card a:hover {
  color: var(--orange);
}

.status-board {
  overflow: hidden;
  margin-bottom: 22px;
}

.status-board__grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.status-board__item {
  display: grid;
  min-height: 104px;
  align-content: space-between;
  padding: 16px;
  border-inline-end: 1px solid var(--line);
  transition: 150ms ease;
}

.status-board__item:last-child {
  border-inline-end: 0;
}

.status-board__item span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-board__item strong {
  font-size: 1.65rem;
  line-height: 1;
}

.status-board__item:hover {
  color: var(--ink);
  background: var(--lime);
}

.status-board__item--canceled:hover,
.status-board__item--refused:hover,
.status-board__item--returned:hover {
  color: var(--white);
  background: var(--orange);
}

/* Admin cards, panels, tables */
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 20px;
}

.admin-grid--dashboard {
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
}

.admin-grid__wide {
  grid-row: span 2;
}

.panel {
  overflow: hidden;
}

.panel__head {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.panel__head > div {
  min-width: 0;
}

.panel__head h2 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.035em;
}

.panel__head p {
  margin: 4px 0 0;
  font-size: 0.72rem;
}

.panel__body {
  padding: 20px;
}

.compact-list,
.ranked-list {
  display: grid;
  gap: 3px;
}

.compact-list__item,
.ranked-list__item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: var(--radius-xs);
}

.compact-list__item:hover,
.ranked-list__item:hover {
  background: var(--cream);
}

.compact-list__item img {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--cream);
}

.compact-list__item > span,
.ranked-list__item > span:nth-child(2) {
  display: grid;
  min-width: 0;
  flex: 1;
}

.compact-list__item strong,
.ranked-list__item strong {
  overflow: hidden;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-list__item small,
.ranked-list__item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.62rem;
}

.ranked-list__item {
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.ranked-list__item:last-child {
  border-bottom: 0;
}

.ranked-list__rank {
  color: var(--orange);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.ranked-list__item > b {
  font-size: 0.68rem;
  white-space: nowrap;
}

.empty-mini {
  display: grid;
  gap: 5px;
  padding: 22px 6px;
  text-align: center;
}

.empty-mini strong {
  font-size: 0.82rem;
}

.empty-mini span {
  color: var(--muted);
  font-size: 0.7rem;
}

.table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.table th,
.table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.table th {
  color: var(--muted);
  background: #f6f3ec;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover {
  background: #fbf8f1;
}

.table tr.is-archived {
  opacity: 0.65;
  background: #f0ede6;
}

.table td.wrap {
  min-width: 210px;
  max-width: 330px;
  white-space: normal;
}

.table__product {
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 11px;
}

.table__product > span:last-child {
  display: grid;
  min-width: 0;
}

.table__thumb {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
}

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

.table-subline {
  display: block;
  max-width: 300px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.table-actions form {
  margin: 0;
}

.table-empty {
  display: grid;
  gap: 4px;
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.table-empty strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.table-empty span {
  font-size: 0.72rem;
}

.badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid #bfc4c0;
  border-radius: 999px;
  color: #555f5b;
  background: #f3f4f1;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--active,
.badge--delivered {
  color: #0b5a24;
  border-color: rgba(24, 125, 53, 0.3);
  background: #e5f6e9;
}

.badge--pending {
  color: #735300;
  border-color: rgba(163, 91, 0, 0.28);
  background: #fff4ce;
}

.badge--confirmed,
.badge--preparing {
  color: #315e00;
  border-color: rgba(76, 132, 0, 0.3);
  background: #eef8d8;
}

.badge--shipped {
  color: #155a73;
  border-color: rgba(28, 119, 154, 0.28);
  background: #e5f5fb;
}

.badge--canceled,
.badge--refused,
.badge--returned,
.badge--blocked,
.badge--deleted {
  color: #8d151c;
  border-color: rgba(201, 37, 45, 0.28);
  background: #ffebec;
}

.badge--brand,
.badge--new {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--lime);
}

.stock-pill {
  display: inline-flex;
  min-width: 35px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 8px;
  color: #0b5a24;
  background: #e5f6e9;
  font-size: 0.7rem;
  font-weight: 700;
}

.stock-pill--low {
  color: #754d00;
  background: #fff1c4;
}

.stock-pill--out {
  color: #8d151c;
  background: #ffebec;
}

.delivery-label {
  font-weight: 700;
}

.admin-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Admin filters and forms */
.admin-filters {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.admin-filters--products {
  grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(145px, 0.5fr)) auto auto;
}

.admin-filters--orders {
  grid-template-columns: minmax(230px, 1fr) repeat(3, minmax(140px, 0.48fr)) repeat(2, minmax(130px, 0.4fr)) auto auto;
}

.admin-filters--customers {
  grid-template-columns: minmax(250px, 1fr) minmax(170px, 0.34fr) auto auto;
}

.admin-filters--simple {
  grid-template-columns: minmax(260px, 1fr) auto auto;
}

.admin-filters .field > label:not(.sr-only) {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.admin-filters .input,
.admin-filters .select {
  min-height: 43px;
  font-size: 0.76rem;
}

.admin-filters .btn {
  min-height: 43px;
}

.admin-form {
  max-width: 980px;
}

.admin-form--wide {
  max-width: none;
}

.admin-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}

.admin-form-layout--narrow {
  max-width: 1120px;
}

.admin-form-layout__main,
.admin-form-layout__side {
  min-width: 0;
}

.admin-form__section {
  margin-bottom: 20px;
  padding: clamp(19px, 2.8vw, 28px);
}

.admin-form__section--sticky {
  position: sticky;
  top: 100px;
}

.admin-form__section h2 {
  margin-bottom: 18px;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
}

.form-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.form-section-head h2 {
  margin: 0;
}

.form-section-head p {
  max-width: 660px;
  margin: 6px 0 0;
  font-size: 0.78rem;
}

.form-section-head__number {
  color: var(--orange);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.admin-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.switch-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.switch-row:last-of-type {
  border-bottom: 0;
}

.switch-row > span {
  display: grid;
  min-width: 0;
}

.switch-row strong {
  font-size: 0.79rem;
}

.switch-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.4;
}

.switch-row input {
  position: absolute;
  opacity: 0;
}

.switch-row i {
  position: relative;
  width: 44px;
  height: 25px;
  flex: 0 0 44px;
  border: 1px solid #adb3af;
  border-radius: 999px;
  background: #dfe2df;
  transition: 150ms ease;
}

.switch-row i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  content: "";
  transition: 150ms ease;
}

.switch-row input:checked + i {
  border-color: var(--ink);
  background: var(--lime);
}

.switch-row input:checked + i::after {
  background: var(--ink);
  transform: translateX(19px);
}

.existing-media-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.existing-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  cursor: pointer;
}

.existing-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.existing-media span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  color: var(--muted);
  background: var(--paper);
  font-size: 0.62rem;
  font-weight: 600;
}

.existing-media input {
  accent-color: var(--danger);
}

.danger-zone {
  border-color: rgba(201, 37, 45, 0.28);
  background: #fff9f8;
}

.danger-zone h2 {
  color: #84191f;
}

.danger-zone p {
  font-size: 0.8rem;
}

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

.permission-list li {
  position: relative;
  padding-inline-start: 19px;
  color: var(--muted);
  font-size: 0.74rem;
}

.permission-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 3px;
  border-radius: 99px;
  background: var(--green);
  content: "";
}

/* Dynamic order editor */
.order-items {
  display: grid;
  gap: 12px;
  margin-bottom: 15px;
}

.order-item-row {
  display: grid;
  grid-template-columns: 38px minmax(230px, 1.6fr) minmax(95px, 0.5fr) 80px minmax(115px, 0.55fr) minmax(110px, 0.5fr) 36px;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #faf8f2;
}

.order-item-row__number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.66rem;
  font-weight: 700;
}

.order-item-row .field label {
  font-size: 0.63rem;
}

.order-item-row .input,
.order-item-row .select {
  min-height: 42px;
  font-size: 0.72rem;
}

.order-item-row__total {
  display: grid;
  align-self: center;
}

.order-item-row__total span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
}

.order-item-row__total strong {
  margin-top: 4px;
  font-size: 0.78rem;
}

.order-item-row__total small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.56rem;
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  align-self: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-size: 1.1rem;
}

.icon-button--danger {
  color: var(--danger);
}

.icon-button--danger:hover {
  color: var(--white);
  border-color: var(--danger);
  background: var(--danger);
}

.order-editor-summary {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--cream);
  background:
    radial-gradient(circle at 100% 0%, rgba(223, 255, 37, 0.18), transparent 34%),
    var(--ink);
  box-shadow: 7px 7px 0 var(--lime);
}

.order-editor-summary .admin-kicker {
  color: var(--lime);
}

.order-editor-summary .admin-kicker::before {
  background: var(--orange);
}

.order-editor-summary h2 {
  color: var(--cream);
}

.order-editor-summary .summary-list__row {
  border-color: rgba(244, 240, 231, 0.13);
}

.order-editor-summary .summary-list__row span {
  color: rgba(244, 240, 231, 0.52);
}

.order-editor-summary__note {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid rgba(244, 240, 231, 0.14);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
}

.order-editor-summary__note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--lime);
  font-size: 0.7rem;
}

.order-editor-summary__note p {
  margin: 0;
  color: rgba(244, 240, 231, 0.53);
  font-size: 0.67rem;
}

/* Detail pages */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.detail-grid--product {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.55fr);
  margin-bottom: 20px;
}

.detail-grid--order {
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
}

.detail-grid__main,
.detail-grid__side {
  display: grid;
  min-width: 0;
  gap: 20px;
}

.definition-list {
  display: grid;
  margin: 0;
}

.definition-list__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.definition-list__row:last-child {
  border-bottom: 0;
}

.definition-list__row dt {
  color: var(--muted);
  font-size: 0.7rem;
}

.definition-list__row dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.76rem;
  font-weight: 600;
}

.definition-list--stacked .definition-list__row {
  grid-template-columns: 1fr;
  gap: 4px;
}

.lead-copy {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
}

.rich-copy {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.75;
}

.product-admin-gallery {
  overflow: hidden;
}

.product-admin-gallery__main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.15 / 1;
  background: var(--cream);
}

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

.product-admin-gallery__badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-size: 0.65rem;
  font-weight: 700;
}

.product-admin-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.product-admin-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.order-detail-hero {
  display: grid;
  grid-template-columns: 0.8fr 0.7fr 1fr;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--lime);
}

.order-detail-hero > section {
  display: grid;
  min-height: 140px;
  align-content: center;
  padding: 22px;
  border-inline-end: 1px solid var(--line);
}

.order-detail-hero > section:last-child {
  border-inline-end: 0;
}

.order-detail-hero__total {
  color: var(--cream);
  background: var(--ink);
}

.order-detail-hero span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-detail-hero__total span {
  color: rgba(244, 240, 231, 0.48);
}

.order-detail-hero strong {
  margin-top: 8px;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.order-detail-hero__total strong {
  color: var(--lime);
  font-size: 1.8rem;
}

.order-detail-hero small,
.order-detail-hero a {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.69rem;
}

.order-detail-hero__total small {
  color: rgba(244, 240, 231, 0.46);
}

.order-totals {
  display: grid;
  justify-content: end;
  gap: 9px;
}

.order-totals > div {
  display: grid;
  min-width: 280px;
  grid-template-columns: 1fr auto;
  gap: 20px;
  font-size: 0.76rem;
}

.order-totals span {
  color: var(--muted);
}

.order-totals__grand {
  margin-top: 5px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.93rem !important;
}

.order-totals__grand strong {
  color: var(--orange);
}

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

.note-grid > div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--cream);
}

.note-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
}

.note-grid p {
  margin: 0;
  font-size: 0.73rem;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: flex;
  gap: 11px;
  min-height: 56px;
}

.timeline li::before {
  position: absolute;
  top: 17px;
  bottom: -1px;
  left: 6px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline li:last-child::before {
  display: none;
}

.timeline li > span {
  position: relative;
  z-index: 2;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  margin-top: 3px;
  border: 2px solid #adb3af;
  border-radius: 50%;
  background: var(--paper);
}

.timeline li.is-complete > span {
  border-color: var(--green-deep);
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(69, 228, 90, 0.15);
}

.timeline li > div {
  display: grid;
}

.timeline strong {
  font-size: 0.72rem;
}

.timeline small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.64rem;
}

.admin-profile-card {
  display: grid;
  min-height: 470px;
  align-content: center;
  justify-items: center;
  padding: 38px;
  text-align: center;
}

.admin-profile-card__avatar {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  margin-bottom: 21px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 8px 8px 0 var(--orange);
  font-size: 2rem;
  font-weight: 700;
}

.admin-profile-card h2 {
  margin-bottom: 6px;
  font-size: 1.8rem;
}

.admin-profile-card > a {
  margin-bottom: 26px;
  color: var(--green-deep);
  font-size: 0.82rem;
}

.admin-profile-card .definition-list {
  width: 100%;
  text-align: left;
}

/* Admin login */
.login-body {
  background: var(--ink);
}

.login-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.7fr);
}

.login-brand-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 5vw, 72px);
  color: var(--cream);
  background:
    radial-gradient(circle at 18% 12%, rgba(223,255,37,.24), transparent 27%),
    radial-gradient(circle at 92% 86%, rgba(255,76,25,.3), transparent 29%),
    var(--ink);
}

.login-brand-panel__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom right, black, transparent 72%);
  pointer-events: none;
}

.login-brand,
.login-brand-panel__copy,
.login-brand-panel__footer {
  position: relative;
  z-index: 2;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-brand img {
  width: 60px;
  height: 60px;
}

.login-brand span {
  display: grid;
  line-height: 1;
}

.login-brand strong {
  font-size: 1.15rem;
}

.login-brand small {
  margin-top: 7px;
  color: var(--lime);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.login-brand-panel__copy {
  max-width: 860px;
}

.login-brand-panel__copy h1 {
  margin-bottom: 22px;
  color: var(--cream);
  font-size: clamp(3.1rem, 6vw, 7.5rem);
  line-height: 0.88;
}

.login-brand-panel__copy h1::first-line {
  color: var(--lime);
}

.login-brand-panel__copy p {
  max-width: 650px;
  color: rgba(244,240,231,.58);
  font-size: 1rem;
}

.login-brand-panel__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.login-brand-panel__footer span {
  padding: 7px 10px;
  border: 1px solid rgba(244,240,231,.17);
  border-radius: 999px;
  color: rgba(244,240,231,.62);
  font-size: 0.64rem;
  font-weight: 600;
}

.login-form-panel {
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 70px);
  background: var(--cream);
}

.login-card {
  width: min(100%, 460px);
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--lime);
}

.login-card__mobile-brand {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.login-card h2 {
  margin-bottom: 8px;
  font-size: 2.1rem;
}

.login-card > p {
  margin-bottom: 25px;
  font-size: 0.85rem;
}

.login-demo {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  padding: 13px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-xs);
  color: var(--muted);
  background: var(--cream);
  font-size: 0.69rem;
}

.login-demo strong {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 1500px) {
  .stat-grid--dashboard {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-filters--orders {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }

  .admin-filter-search {
    grid-column: span 2;
  }
}

@media (max-width: 1260px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .status-board__item:nth-child(4n) {
    border-inline-end: 0;
  }

  .status-board__item:nth-child(-n+4) {
    border-bottom: 1px solid var(--line);
  }

  .admin-filters--products {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }

  .admin-filters--products > :first-child {
    grid-column: span 2;
  }

  .order-item-row {
    grid-template-columns: 36px minmax(210px, 1.4fr) minmax(90px, .5fr) 74px minmax(105px, .55fr) 36px;
  }

  .order-item-row__total {
    grid-column: 2 / 6;
    grid-row: 2;
    display: flex;
    gap: 10px;
    align-items: center;
  }
}

@media (max-width: 1080px) {
  .site-nav,
  .instagram-link__text {
    display: none;
  }

  .store-menu-button {
    display: grid;
  }

  .hero__grid,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    max-width: 850px;
  }

  .hero-product {
    width: min(100%, 650px);
    min-height: 600px;
    margin-inline: auto;
  }

  .product-summary {
    position: static;
  }

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

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--admin-sidebar);
    transform: translateX(-105%);
    transition: transform 190ms ease;
    box-shadow: var(--shadow-lg);
  }

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

  .admin-sidebar__close,
  .admin-menu-button {
    display: grid;
  }

  .admin-backdrop {
    position: fixed;
    z-index: 70;
    inset: 0;
    border: 0;
    background: rgba(9, 12, 14, 0.58);
    backdrop-filter: blur(3px);
  }

  .admin-backdrop.is-open {
    display: block;
  }

  .admin-form-layout,
  .detail-grid,
  .detail-grid--product,
  .detail-grid--order,
  .admin-grid,
  .admin-grid--dashboard {
    grid-template-columns: 1fr;
  }

  .admin-form__section--sticky {
    position: static;
  }

  .admin-grid__wide {
    grid-row: auto;
  }

  .login-page {
    grid-template-columns: 1fr;
  }

  .login-brand-panel {
    display: none;
  }

  .login-form-panel {
    min-height: 100vh;
  }

  .login-card__mobile-brand {
    display: flex;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .announcement-bar__inner span:nth-of-type(2),
  .announcement-bar__inner span:nth-of-type(3),
  .announcement-bar__inner span:nth-of-type(4),
  .announcement-bar__inner span:nth-of-type(5) {
    display: none;
  }

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

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

  .filter-bar__search {
    grid-column: 1 / -1;
  }

  .filter-bar .btn {
    grid-column: 1 / -1;
  }

  .thank-you {
    grid-template-columns: 1fr;
  }

  .thank-you__visual {
    min-height: 280px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

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

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

  .admin-filters--products > :first-child,
  .admin-filter-search,
  .admin-filters--customers > :first-child,
  .admin-filters--simple > :first-child {
    grid-column: 1 / -1;
  }

  .order-item-row {
    grid-template-columns: 34px repeat(2, minmax(0, 1fr)) 34px;
    align-items: end;
  }

  .order-item-row__product {
    grid-column: 2 / 4;
  }

  .order-item-row .icon-button {
    grid-column: 4;
    grid-row: 1;
  }

  .order-item-row__total {
    grid-column: 2 / 4;
    grid-row: auto;
  }

  .order-detail-hero {
    grid-template-columns: 1fr;
  }

  .order-detail-hero > section {
    min-height: 110px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .order-detail-hero > section:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.45rem, 13vw, 4.35rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .brand__copy small,
  .instagram-link {
    display: none;
  }

  .site-header__actions {
    gap: 7px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero__proof {
    gap: 16px;
    justify-content: space-between;
  }

  .hero__proof span {
    font-size: 0.55rem;
  }

  .hero-product {
    min-height: 450px;
  }

  .hero-product__image {
    border-radius: 28px 78px 28px 78px;
  }

  .hero-product__stamp {
    width: 82px;
    height: 82px;
    font-size: 0.67rem;
  }

  .hero-product__info {
    left: 3%;
    padding: 14px;
  }

  .hero-product__info strong {
    max-width: 180px;
    font-size: 0.78rem;
  }

  .hero-product__price {
    font-size: 0.86rem;
  }

  .hero__actions,
  .hero__actions .btn,
  .social-banner .btn {
    width: 100%;
  }

  .section-heading,
  .social-banner__inner,
  .admin-page-head,
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid,
  .process-grid,
  .filter-bar,
  .form-grid,
  .form-grid--3,
  .radio-grid,
  .stat-grid,
  .stat-grid--dashboard,
  .stat-grid--compact,
  .admin-filters--products,
  .admin-filters--orders,
  .admin-filters--customers,
  .admin-filters--simple,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .admin-filters > *,
  .admin-filters--products > :first-child,
  .admin-filter-search,
  .admin-filters--customers > :first-child,
  .admin-filters--simple > :first-child {
    grid-column: 1;
  }

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

  .product-gallery__main {
    border-radius: var(--radius);
    box-shadow: 6px 6px 0 var(--lime);
  }

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

  .order-panel {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .order-panel__head {
    flex-direction: column;
  }

  .cod-badge {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .thank-you {
    box-shadow: 7px 7px 0 var(--lime);
  }

  .thank-you__content {
    padding: 28px 20px;
  }

  .summary-list__row,
  .order-total__row {
    flex-direction: column;
    gap: 4px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .admin-topbar__right .admin-live-dot,
  .admin-topbar__right .btn {
    display: none;
  }

  .admin-content,
  .admin-topbar {
    padding-inline: 14px;
  }

  .admin-page-head__actions,
  .admin-page-head__actions .btn,
  .admin-page-head > .btn,
  .admin-form__actions,
  .admin-form__actions .btn {
    width: 100%;
  }

  .admin-form__section {
    padding: 17px;
  }

  .form-section-head__number {
    font-size: 1.2rem;
  }

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

  .status-board__item:nth-child(n) {
    border-inline-end: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .status-board__item:nth-child(2n) {
    border-inline-end: 0;
  }

  .status-board__item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .order-item-row {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
  }

  .order-item-row__product,
  .order-item-row .field:not(.order-item-row__product),
  .order-item-row__total {
    grid-column: 2 / 3;
  }

  .order-item-row .icon-button {
    grid-column: 3;
    grid-row: 1;
  }

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

  .definition-list__row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .order-totals {
    justify-content: stretch;
  }

  .order-totals > div {
    min-width: 0;
  }

  .login-form-panel {
    padding: 18px;
  }

  .login-card {
    padding: 24px 19px;
    box-shadow: 6px 6px 0 var(--lime);
  }
}

/* Arabic storefront RTL */
html[dir="rtl"] body.store-body {
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .brand__copy small,
html[dir="rtl"] .announcement-bar__inner,
html[dir="rtl"] .product-card__meta,
html[dir="rtl"] .product-card__badge {
  letter-spacing: 0;
}

html[dir="rtl"] .eyebrow::before,
html[dir="rtl"] .feature-list li::before,
html[dir="rtl"] .permission-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .feature-list li,
html[dir="rtl"] .permission-list li {
  padding-left: 0;
  padding-right: 22px;
}

html[dir="rtl"] .product-meta__row strong {
  text-align: left;
}

html[dir="rtl"] .product-gallery__badge {
  right: 18px;
  left: auto;
}

html[dir="rtl"] .product-card__quick {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .hero-product__stamp {
  right: -3%;
  left: auto;
}

html[dir="rtl"] .timeline li::before {
  right: 6px;
  left: auto;
}

html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="number"],
html[dir="rtl"] .price,
html[dir="rtl"] .price-old,
html[dir="rtl"] [data-order-subtotal],
html[dir="rtl"] [data-order-delivery],
html[dir="rtl"] [data-order-total],
html[dir="rtl"] .product-summary__price {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] .product-card h3,
html[dir="rtl"] .product-card__colorway,
html[dir="rtl"] .product-summary h1,
html[dir="rtl"] .product-summary__description {
  unicode-bidi: plaintext;
}

@media (max-width: 1080px) {
  html[dir="rtl"] .admin-sidebar {
    right: 0;
    left: auto;
    transform: translateX(105%);
  }

  html[dir="rtl"] .admin-sidebar.is-open {
    transform: translateX(0);
  }
}

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