:root {
  --accent: #ff0054;
  --accent-rgb: 255, 0, 84;
  --bg: #0b131d;
  --surface: #111c29;
  --surface-2: #182536;
  --surface-3: #223146;
  --text: #f7f9fc;
  --muted: #94a2b5;
  --line: rgba(255, 255, 255, 0.09);
  --danger: #ff4967;
  --success: #37d996;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% -10%, rgba(var(--accent-rgb), 0.18), transparent 33rem),
    linear-gradient(180deg, var(--surface) 0, var(--bg) 28rem);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

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

.app-shell {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: env(safe-area-inset-top) 24px calc(124px + env(safe-area-inset-bottom));
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 80px;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(14, 24, 36, 0.98), rgba(14, 24, 36, 0.82) 75%, transparent);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.28);
  font-size: 22px;
  font-weight: 900;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

#shop-view {
  display: flex;
  flex-direction: column;
}

.brand-copy {
  min-width: 0;
}

.brand-copy h1,
.section-heading h2,
.hero h2,
.drawer h2,
.dialog-copy h2,
.status-panel h2 {
  margin: 0;
  letter-spacing: -0.035em;
}

.brand-copy h1 {
  overflow: hidden;
  font-size: clamp(18px, 3vw, 24px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.icon-button {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  cursor: pointer;
}

.icon-button svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.language-control {
  position: relative;
}

.language-button {
  display: flex;
  min-width: 72px;
  height: 46px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  cursor: pointer;
  font-weight: 850;
}

.language-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  right: 0;
  width: 170px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.language-menu button {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button.active {
  background: var(--surface-3);
  color: var(--accent);
}

.app-view {
  animation: reveal 0.3s ease-out;
}

.page-view {
  min-height: 70vh;
  padding-top: 36px;
}

.page-heading {
  display: flex;
  margin-bottom: 26px;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.page-heading h2 {
  margin: 0;
  font-size: clamp(30px, 6vw, 48px);
  letter-spacing: -0.035em;
}

.secondary-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  cursor: pointer;
  font-weight: 800;
}

.secondary-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.secondary-button.danger {
  border-color: rgba(255, 73, 103, 0.35);
  color: var(--danger);
}

.hero {
  display: flex;
  min-height: 260px;
  margin: 28px 0 52px;
  padding: clamp(28px, 7vw, 64px);
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(var(--accent-rgb), 0.18), transparent 48%),
    linear-gradient(145deg, var(--surface-3), var(--surface));
  box-shadow: var(--shadow);
}

.hero h2 {
  max-width: 700px;
  font-size: clamp(36px, 8vw, 72px);
  line-height: 0.98;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
}

.primary-button {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.22);
  color: white;
  cursor: pointer;
  font-weight: 850;
}

.primary-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: wait;
  filter: grayscale(0.5);
  opacity: 0.65;
  transform: none;
}

.primary-button.wide {
  width: 100%;
}

.catalog-section {
  animation: reveal 0.45s ease-out;
}

.catalog-section:not([hidden]) {
  display: contents;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  font-size: clamp(28px, 5vw, 42px);
}

.search-box {
  display: flex;
  width: min(280px, 45vw);
  height: 48px;
  padding: 0 16px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.search-box svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  overflow: visible;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.category-tabs {
  display: flex;
  margin: 26px -4px 30px;
  padding: 4px;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
}

.category-tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 24px rgba(var(--accent-rgb), 0.2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(var(--product-columns, 3), minmax(0, 1fr));
  grid-auto-rows: 300px;
  grid-auto-flow: dense;
  gap: 18px;
}

.product-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 14px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  border-color: rgba(var(--accent-rgb), 0.42);
  transform: translateY(-3px);
}

.product-card[data-span-columns="2"][data-span-rows="1"],
.product-card[data-span-columns="3"][data-span-rows="1"],
.product-card[data-span-columns="4"][data-span-rows="1"] {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  column-gap: 18px;
}

.product-card[data-span-columns="2"][data-span-rows="1"] .product-image,
.product-card[data-span-columns="3"][data-span-rows="1"] .product-image,
.product-card[data-span-columns="4"][data-span-rows="1"] .product-image {
  height: 100%;
  grid-row: 1 / span 4;
}

.product-card.product-size-wide,
.product-card.product-size-large {
  grid-column: span 2;
}

.product-card.product-size-wide {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  column-gap: 18px;
}

.product-card.product-size-wide .product-image {
  grid-row: 1 / span 4;
  aspect-ratio: 1.3 / 1;
}

.product-card.product-size-small {
  padding: 10px;
}

.product-card.product-size-small .product-description {
  display: none;
}

.design-card-outlined .product-card {
  background: transparent;
  box-shadow: none;
}

.design-card-minimal .product-card {
  padding: 6px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.design-hero-compact .hero {
  min-height: 170px;
  padding: 30px;
}

.design-hero-compact .hero h2 {
  font-size: clamp(30px, 6vw, 52px);
}

.design-hero-editorial .hero {
  align-items: center;
  text-align: center;
}

.design-hero-editorial .hero > div {
  margin: auto;
}

.design-navigation-tabs .bottom-nav {
  border-radius: 18px 18px 0 0;
}

.design-navigation-minimal .bottom-nav {
  border-color: transparent;
  background: color-mix(in srgb, var(--bg), transparent 12%);
  box-shadow: none;
}

.product-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 116px;
  flex: 1 1 auto;
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 25%, rgba(var(--accent-rgb), 0.25), transparent 55%),
    var(--surface-3);
}

.product-card[data-span-rows="2"] .product-image,
.product-card[data-span-rows="3"] .product-image,
.product-card[data-span-rows="4"] .product-image {
  height: auto;
  min-height: 150px;
}

.product-quantity-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  place-items: center;
  border: 2px solid white;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.35);
  font-size: 14px;
  font-weight: 900;
}

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

.image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, 0.18);
  font-size: 56px;
  font-weight: 950;
}

.product-card h3 {
  margin: 17px 2px 7px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-description {
  display: -webkit-box;
  min-height: 42px;
  margin: 0 2px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.product-card[data-span-rows="1"] .product-description {
  min-height: 20px;
  -webkit-line-clamp: 1;
}

.product-footer {
  display: flex;
  margin-top: auto;
  padding: 20px 2px 2px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-size: 17px;
  font-weight: 900;
}

.add-button {
  display: flex;
  min-width: 62px;
  height: 42px;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font-size: 24px;
  font-weight: 400;
}

.add-button span:first-child {
  font-size: 16px;
}

.product-quantity-control {
  display: flex;
  height: 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.08);
}

.product-quantity-control button {
  width: 38px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 22px;
}

.product-quantity-control strong {
  min-width: 26px;
  text-align: center;
  font-size: 15px;
}

.status-panel,
.empty-state {
  display: grid;
  min-height: 340px;
  padding: 40px 24px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.status-panel p,
.empty-state p,
.empty-cart p {
  max-width: 480px;
  margin: 9px 0;
  color: var(--muted);
  line-height: 1.6;
}

.loader {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.empty-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 22px;
  background: var(--surface-2);
  font-size: 28px;
}

.scrim {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(2, 7, 12, 0.68);
  backdrop-filter: blur(5px);
}

.drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  display: flex;
  width: min(520px, 100%);
  height: 100dvh;
  padding: calc(24px + env(safe-area-inset-top)) 26px calc(24px + env(safe-area-inset-bottom));
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: -30px 0 70px rgba(0, 0, 0, 0.45);
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(.2, .8, .2, 1);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.close-button {
  font-size: 30px;
  font-weight: 300;
}

.text-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

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

.cart-lines {
  display: flex;
  padding: 22px 0;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.cart-page .cart-lines {
  min-height: 0;
  padding-top: 0;
  overflow: visible;
}

.cart-page .cart-line {
  grid-template-columns: 100px minmax(0, 1fr) auto;
  min-height: 126px;
  padding: 16px;
}

.cart-page .cart-thumb {
  width: 100px;
  height: 100px;
}

.cart-page .cart-line h3 {
  font-size: 18px;
}

.cart-page .cart-line-price {
  font-size: 16px;
}

.cart-line {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.cart-thumb {
  width: 78px;
  height: 78px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--surface-3);
}

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

.cart-line h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.cart-line-price {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-control button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 11px;
  background: var(--surface-3);
  cursor: pointer;
  font-size: 20px;
}

.quantity-control button:last-child {
  background: var(--accent);
}

.empty-cart {
  display: grid;
  flex: 1;
  place-items: center;
  align-content: center;
  text-align: center;
}

.cart-summary {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cart-page-summary {
  position: sticky;
  z-index: 10;
  bottom: calc(78px + env(safe-area-inset-bottom));
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 28, 41, 0.96);
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.summary-line {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 17px;
}

.summary-line strong {
  color: var(--accent);
  font-size: 22px;
}

.checkout-page {
  width: min(760px, 100%);
  margin: 0 auto;
}

.checkout-page form {
  display: flex;
  padding-bottom: 28px;
  flex-direction: column;
  gap: 14px;
}

.checkout-heading {
  justify-content: flex-start;
}

.checkout-heading h2 {
  font-size: clamp(30px, 6vw, 48px);
}

.fulfilment-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fulfilment-switch button {
  display: flex;
  min-height: 58px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
}

.fulfilment-switch button.active {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.fulfilment-icon {
  width: 31px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.address-picker-button {
  display: grid;
  width: 100%;
  min-height: 78px;
  padding: 14px 15px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px dashed rgba(var(--accent-rgb), 0.55);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
}

.address-picker-button.selected {
  border-style: solid;
  border-color: var(--accent);
}

.add-address-button {
  margin-top: 11px;
}

.saved-addresses {
  display: grid;
  gap: 9px;
}

.saved-addresses-empty {
  margin: 0;
  padding: 13px 15px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
}

.saved-address-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.saved-address-card.selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.saved-address-main {
  display: grid;
  min-width: 0;
  min-height: 76px;
  padding: 13px 10px 13px 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.saved-address-marker {
  color: var(--accent);
  font-size: 25px;
}

.saved-address-check {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.saved-address-card:not(.selected) .saved-address-check {
  border: 1px solid var(--line);
  background: transparent;
}

.saved-address-remove {
  width: 42px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 23px;
}

.saved-address-remove:hover {
  background: rgba(255, 73, 103, 0.08);
  color: var(--danger);
}

.address-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  font-size: 24px;
}

.selection-button {
  display: grid;
  width: 100%;
  min-height: 68px;
  padding: 12px 15px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
}

.selection-button > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.selection-button small {
  color: var(--muted);
}

.selection-icon {
  color: var(--accent);
  font-size: 27px;
}

.address-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.address-copy strong {
  color: var(--text);
  font-size: 15px;
}

.address-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-privacy {
  margin: 9px 2px 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.form-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-2);
}

.form-card h3 {
  margin: 0 0 18px;
}

.form-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-card label + label,
.form-row {
  margin-top: 14px;
}

.form-card input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
}

.form-card textarea {
  width: 100%;
  min-height: 92px;
  padding: 13px 14px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.form-card input:focus {
  border-color: var(--accent);
}

.form-card textarea:focus {
  border-color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-options {
  display: grid;
  gap: 10px;
}

.payment-option {
  display: flex !important;
  min-height: 52px;
  padding: 0 14px;
  align-items: center;
  grid-template-columns: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

.payment-option:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.12);
}

.payment-option input {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  accent-color: var(--accent);
}

.payment-option > span {
  display: grid;
  gap: 3px;
}

.payment-option strong {
  color: var(--text);
  font-size: 14px;
}

.payment-option small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.total-line {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.form-error {
  margin: 0;
  padding: 13px 16px;
  border: 1px solid rgba(255, 73, 103, 0.28);
  border-radius: 14px;
  background: rgba(255, 73, 103, 0.08);
  color: #ff98aa;
  font-size: 14px;
}

.place-order {
  position: sticky;
  bottom: max(8px, env(safe-area-inset-bottom));
  margin-top: 4px;
}

.address-dialog {
  width: min(900px, calc(100% - 24px));
  height: min(820px, calc(100dvh - 24px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  outline: 0;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
}

.address-dialog::backdrop {
  background: rgba(2, 7, 12, 0.78);
  backdrop-filter: blur(7px);
}

.address-dialog-header {
  position: absolute;
  z-index: 1000;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  min-height: 68px;
  padding: 10px 12px 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 28, 41, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.address-dialog-header h2 {
  margin: 0;
  font-size: 20px;
}

.address-map {
  position: absolute;
  inset: 0;
  background: var(--surface-3);
}

.map-center-pin {
  position: absolute;
  z-index: 700;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  pointer-events: none;
  transform: translate(-50%, -100%) rotate(45deg);
  border: 3px solid white;
  border-radius: 50% 50% 0 50%;
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.42);
}

.map-center-pin span {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
}

.map-location-button {
  position: absolute;
  z-index: 750;
  right: 18px;
  bottom: 190px;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--accent);
  cursor: pointer;
  font-size: 29px;
}

.map-location-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.map-loading {
  position: absolute;
  z-index: 650;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: var(--surface-3);
  color: var(--muted);
  text-align: center;
}

.address-confirm-card {
  position: absolute;
  z-index: 800;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  padding: 18px;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 28, 41, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.address-confirm-card small {
  margin-bottom: 8px;
  color: var(--muted);
}

.address-confirm-card button:disabled {
  opacity: 0.55;
}

.sheet-dialog {
  position: fixed;
  inset: 0;
  width: min(620px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  outline: 0;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
}

.sheet-dialog::backdrop {
  background: rgba(2, 7, 12, 0.78);
  backdrop-filter: blur(7px);
}

.sheet-dialog-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 28, 41, 0.96);
  backdrop-filter: blur(16px);
}

.sheet-dialog-header h2 {
  margin: 0;
}

.sheet-dialog form {
  display: grid;
  padding: 20px;
  gap: 15px;
}

.sheet-dialog label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.sheet-dialog input:not([type="radio"]),
.sheet-dialog textarea {
  width: 100%;
  min-height: 49px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.sheet-dialog textarea {
  min-height: 88px;
  padding-top: 13px;
  resize: vertical;
}

.sheet-dialog input:focus,
.sheet-dialog textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.12);
}

.address-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.resolved-address-preview {
  display: grid;
  padding: 14px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 15px;
  background: rgba(var(--accent-rgb), 0.08);
}

.resolved-address-preview[hidden] {
  display: none;
}

.resolved-address-preview > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.resolved-address-preview strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 16px;
}

.resolved-address-preview small {
  color: var(--muted);
  font-size: 12px;
}

.resolved-address-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-size: 22px;
  font-weight: 900;
}

.address-coordinates {
  margin: 0;
  color: var(--success);
  font-size: 12px;
  font-weight: 750;
}

.time-option {
  display: grid !important;
  min-height: 74px;
  padding: 12px 14px;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 13px !important;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--bg);
  cursor: pointer;
}

.time-option:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.time-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.time-option > span:last-child {
  display: grid;
  gap: 4px;
}

.time-option strong {
  color: var(--text);
  font-size: 15px;
}

.time-option small {
  color: var(--muted);
  font-size: 11px;
}

.time-option-icon {
  font-size: 28px;
}

.time-option-icon.asap {
  color: var(--success);
}

.time-option-icon.scheduled {
  color: #4387ff;
}

.leaflet-control-zoom {
  margin-top: 100px !important;
}

.leaflet-control-attribution {
  margin-bottom: 158px !important;
}

/*
 * Leaflet's structural rules live here as a local fallback. They keep map
 * tiles aligned and gestures functional even if the CDN stylesheet is slow
 * or a Telegram webview delays applying it.
 */
.leaflet-container {
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  background: #d8e0e7;
  outline-offset: 1px;
}

.leaflet-container.leaflet-touch-drag,
.leaflet-container.leaflet-touch-zoom {
  touch-action: none;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  top: 0;
  left: 0;
}

.leaflet-map-pane canvas {
  z-index: 100;
}

.leaflet-map-pane svg {
  z-index: 200;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-tile {
  width: 256px;
  height: 256px;
  max-width: none !important;
  max-height: none !important;
  user-select: none;
}

.leaflet-tile-container {
  pointer-events: none;
}

.leaflet-zoom-animated {
  transform-origin: 0 0;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
  transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1);
}

.leaflet-control-container {
  position: absolute;
  z-index: 800;
  inset: 0;
  pointer-events: none;
}

.leaflet-control {
  position: relative;
  z-index: 800;
  float: left;
  clear: both;
  pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 800;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-right .leaflet-control {
  float: right;
}

.leaflet-control-zoom a {
  display: block;
  width: 34px;
  height: 34px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font: 22px/34px Arial, sans-serif;
}

.leaflet-control-zoom a:first-child {
  border-radius: 10px 10px 0 0;
}

.leaflet-control-zoom a:last-child {
  border: 0;
  border-radius: 0 0 10px 10px;
}

.leaflet-control-attribution {
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.82);
  color: #333;
  font-size: 9px;
}

.leaflet-control-attribution a {
  color: #075e9b;
}

.product-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(820px, calc(100dvh - 28px));
  padding: 0;
  overflow: hidden auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  outline: 0;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
}

.product-dialog::backdrop {
  background: rgba(2, 7, 12, 0.72);
  backdrop-filter: blur(6px);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  font-size: 30px;
}

.dialog-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--surface-3);
}

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

.dialog-copy {
  padding: 26px;
}

.dialog-copy h2 {
  font-size: clamp(26px, 5vw, 38px);
}

.dialog-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
  white-space: pre-line;
}

.dialog-footer {
  display: flex;
  margin-top: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dialog-footer strong {
  color: var(--accent);
  font-size: 24px;
}

.toast-region {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: calc(96px + env(safe-area-inset-bottom));
  display: grid;
  width: min(360px, calc(100% - 36px));
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-3);
  box-shadow: var(--shadow);
  animation: toast-in 0.25s ease-out;
  font-size: 14px;
  font-weight: 700;
}

.toast.error {
  border-color: rgba(255, 73, 103, 0.35);
}

.bottom-nav {
  position: fixed;
  z-index: 100;
  right: 50%;
  bottom: 0;
  display: grid;
  width: min(1180px, 100%);
  min-height: 78px;
  padding: 8px max(14px, env(safe-area-inset-right))
    calc(8px + env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(14, 24, 36, 0.97);
  box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
  transform: translateX(50%);
}

.bottom-nav-item {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 5px 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.bottom-nav-item.active {
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
}

.bottom-nav-item.active .nav-icon {
  transform: translateY(-1px) scale(1.08);
}

.checkout-active .bottom-nav {
  display: none;
}

.nav-icon {
  font-size: 22px;
  line-height: 1;
}

.nav-svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-badge {
  position: absolute;
  top: 2px;
  left: calc(50% + 10px);
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  line-height: 15px;
}

.orders-list {
  display: grid;
  gap: 14px;
}

.order-filter-tabs {
  display: flex;
  margin: -4px 0 20px;
  padding-bottom: 2px;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.order-filter-tabs::-webkit-scrollbar {
  display: none;
}

.order-filter-tab {
  display: inline-flex;
  min-height: 43px;
  padding: 0 12px 0 15px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.order-filter-tab.active {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.13);
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.12);
}

.order-filter-count {
  display: grid;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 11px;
}

.order-filter-tab.active .order-filter-count {
  background: var(--accent);
  color: white;
}

.order-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.order-card h3 {
  margin: 0 0 5px;
}

.order-card time {
  color: var(--muted);
  font-size: 12px;
}

.status-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 850;
}

.status-processing {
  background: rgba(255, 189, 46, 0.13);
  color: #ffd369;
}

.status-completed,
.status-delivered {
  background: rgba(55, 217, 150, 0.13);
  color: var(--success);
}

.status-cancelled {
  background: rgba(255, 73, 103, 0.13);
  color: var(--danger);
}

.order-items {
  display: grid;
  margin: 17px 0;
  padding: 14px 0;
  gap: 9px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.order-items > div,
.order-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.order-items span,
.order-card-footer span {
  color: var(--muted);
}

.order-card-footer {
  margin-bottom: 13px;
}

.order-fulfilment {
  margin: -3px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.cancel-reason {
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 73, 103, 0.08);
  color: #ff98aa;
}

.settings-card {
  margin-bottom: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-2);
}

.settings-card h3 {
  margin: 0 0 7px;
}

.settings-card p {
  margin: 7px 0;
  color: var(--muted);
  line-height: 1.55;
}

.settings-languages {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.settings-languages button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 750;
}

.settings-languages button.active {
  border-color: var(--accent);
  color: var(--accent);
}

.profile-settings-card {
  background: var(--surface-2);
}

.settings-profile-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.profile-settings-card.editing .settings-profile-heading {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.settings-profile-copy {
  min-width: 0;
}

.settings-profile-copy h3,
.settings-profile-copy p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-edit-button {
  display: grid;
  width: 48px;
  height: 48px;
  margin-inline-start: auto;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.profile-edit-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.profile-edit-button[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.profile-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.profile-form {
  display: grid;
  gap: 13px;
}

.profile-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
}

.profile-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 700;
}

.profile-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.profile-form input:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.profile-form small,
.profile-phone-note {
  color: var(--muted);
  font-size: 12px;
}

.danger-outline-button {
  min-height: 50px;
  border: 1px solid var(--danger);
  border-radius: 14px;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.support-contact-card {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

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

html[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .language-menu button,
html[dir="rtl"] input,
html[dir="rtl"] textarea {
  text-align: right;
}

html[dir="rtl"] .product-price-row,
html[dir="rtl"] .cart-line-total,
html[dir="rtl"] .summary-line strong {
  direction: ltr;
  unicode-bidi: isolate;
}

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

@keyframes reveal {
  from { opacity: 0; transform: translateY(10px); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
}

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

  .product-card[data-span-columns="3"],
  .product-card[data-span-columns="4"] {
    grid-column: span 2 !important;
  }

  .hero {
    min-height: 240px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .app-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .topbar {
    min-height: 70px;
  }

  .brand-mark,
  .icon-button {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .language-button {
    min-width: 64px;
    height: 42px;
    padding: 0 11px;
  }

  .brand-copy .eyebrow {
    display: none;
  }

  .hero {
    min-height: 210px;
    margin: 16px 0 38px;
    padding: 26px 22px;
    border-radius: 25px;
  }

  .hero h2 {
    font-size: 38px;
  }

  .hero-cart {
    display: none;
  }

  .section-heading {
    align-items: center;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .search-box {
    width: 45px;
    padding: 0 12px;
  }

  .search-box:focus-within {
    position: absolute;
    z-index: 5;
    right: 14px;
    width: calc(100% - 28px);
  }

  .search-box input {
    min-width: 0;
  }

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

  .product-card {
    padding: 9px;
    border-radius: 18px;
  }

  .product-card[data-span-columns="2"][data-span-rows="1"],
  .product-card[data-span-columns="3"][data-span-rows="1"],
  .product-card[data-span-columns="4"][data-span-rows="1"] {
    display: flex;
  }

  .product-image {
    border-radius: 13px;
  }

  .product-card h3 {
    margin-top: 12px;
    font-size: 15px;
  }

  .product-description {
    min-height: 36px;
    font-size: 12px;
  }

  .product-footer {
    padding-top: 13px;
    flex-wrap: wrap;
  }

  .product-price {
    font-size: 14px;
  }

  .add-button {
    min-width: 56px;
    height: 37px;
    border-radius: 12px;
  }

  .product-quantity-control {
    height: 37px;
  }

  .product-quantity-control button {
    width: 31px;
  }

  .product-quantity-control strong {
    min-width: 22px;
  }

  .cart-page .cart-line {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 108px;
    padding: 12px;
  }

  .cart-page .cart-thumb {
    width: 78px;
    height: 78px;
  }

  .cart-page .cart-line .quantity-control {
    grid-column: 2;
    justify-self: end;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .settings-languages {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    min-height: 74px;
  }

  .address-dialog {
    width: calc(100% - 8px);
    height: calc(100dvh - 8px);
    border-radius: 22px;
  }

  .sheet-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    margin: auto;
    border-radius: 24px;
  }

  .sheet-dialog-header,
  .sheet-dialog form {
    padding-right: 16px;
    padding-left: 16px;
  }

  .address-dialog-header {
    top: 8px;
    right: 8px;
    left: 8px;
  }

  .address-confirm-card {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .map-location-button {
    right: 12px;
    bottom: 184px;
  }

  .product-dialog {
    width: calc(100% - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 24px;
  }
}

@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;
  }
}
