﻿:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: #08090c;
  --panel-soft: #0c0d11;
  --line: #222329;
  --line-strong: #303139;
  --text: #f3f3f4;
  --muted: #a9a9b2;
  --dim: #777985;
  --white: #ffffff;
  --green: #68e090;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.6);
}

@font-face {
  font-family: "Breathing";
  src: url("fonts/Breathing%20Personal%20Use%20Only.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni FLF";
  src: url("fonts/BodoniFLF-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 52% 18%, rgba(255, 255, 255, 0.06), transparent 28rem),
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.018) 50%, transparent 100%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 6px;
  opacity: 0.32;
}

button,
input,
select {
  font: inherit;
}

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

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

.page-shell {
  width: min(1380px, calc(100% - 48px));
  margin: 28px auto 80px;
}

.site-header,
.hero-card,
.flow-card,
.section-shell,
.contact-section,
.admin-section,
.info-band {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 9, 12, 0.82);
  box-shadow: var(--shadow);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  backdrop-filter: blur(18px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 34px);
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: clamp(88px, 8.8vw, 122px);
  height: clamp(88px, 8.8vw, 122px);
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.brand > span {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.brand small,
.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.brand strong {
  display: block;
  color: var(--white);
  font-family: "Breathing", Georgia, "Palatino Linotype", "Times New Roman", serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.store-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 34px);
  flex-wrap: wrap;
}

.store-nav a,
.store-nav button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #d8d9df;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.16s ease;
}

.store-nav a::after,
.store-nav > .store-menu > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.store-nav a:hover,
.store-nav button:hover {
  color: #ffffff;
}

.store-nav a:hover::after,
.store-nav > .store-menu > button:hover::after {
  transform: scaleX(1);
}

.store-menu {
  position: relative;
}

.store-nav-product span {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.products-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 210px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 10, 13, 0.98);
  padding: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

.products-menu button {
  justify-content: flex-start;
  width: 100%;
  min-height: 38px;
  border-radius: 6px;
  padding: 0 10px;
  color: #d8d9df;
  text-align: left;
}

.products-menu button:hover {
  background: #171920;
  color: #ffffff;
}

.main-nav a,
.primary-button,
.secondary-button,
.ghost-button,
.cart-button,
.filter-button,
.icon-button {
  position: relative;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.main-nav a,
.ghost-button,
.cart-button,
.filter-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-color: #cfd2d8;
  background: #d9dbe1;
  color: #000000 !important;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 8px 20px rgba(0, 0, 0, 0.22);
  font-weight: 900;
}

.main-nav a,
.main-nav .ghost-button,
.main-nav .cart-button {
  min-height: auto;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f4f4f5 !important;
  box-shadow: none;
  overflow: visible;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav .collection-link {
  color: #cfd2d8 !important;
}

.main-nav a::before,
.main-nav .ghost-button::before,
.main-nav .cart-button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: #f4f4f5;
  transition: transform 0.18s ease;
}

.main-nav .collection-link:hover {
  color: #ffffff !important;
  background: transparent;
}

.main-nav a:hover::before,
.main-nav .ghost-button:hover::before,
.main-nav .cart-button:hover::before {
  transform: scaleX(1);
}

.account-button {
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.account-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 20px;
  flex: 0 0 auto;
  color: currentColor;
}

.account-icon::before,
.account-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.7px solid currentColor;
}

.account-icon::before {
  top: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}

.account-icon::after {
  bottom: 0;
  width: 18px;
  height: 9px;
  border-radius: 10px 10px 0 0;
  border-bottom: 0;
}

.primary-button::after,
.secondary-button::after,
.ghost-button::after,
.cart-button::after,
.filter-button::after,
.provider-button::after {
  content: "";
  position: absolute;
  inset: -90% auto -90% -55%;
  width: 34%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  opacity: 0;
  pointer-events: none;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.cart-button:hover,
.filter-button:hover,
.icon-button:hover,
.main-nav a:hover {
  transform: translateY(-1px);
  border-color: #ffffff;
  background: #eef0f4;
}

.main-nav a:hover,
.main-nav .ghost-button:hover,
.main-nav .cart-button:hover {
  border-color: transparent;
  background: transparent;
}

.primary-button:hover::after,
.secondary-button:hover::after,
.ghost-button:hover::after,
.cart-button:hover::after,
.filter-button:hover::after,
.provider-button:hover::after {
  animation: chromeSweep 0.72s ease;
  opacity: 1;
}

.main-nav .ghost-button::after,
.main-nav .cart-button::after {
  display: none;
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-color: #cfd2d8;
  background: #d9dbe1;
  color: #000000 !important;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.24);
  font-weight: 900;
}

@keyframes chromeSweep {
  from {
    left: -55%;
  }
  to {
    left: 125%;
  }
}

.cart-button span {
  display: grid;
  min-width: 30px;
  height: 30px;
  margin-left: 2px;
  place-items: center;
  border-radius: 999px;
  background: #08090c;
  color: #111;
  color: #ffffff;
  font-weight: 900;
}

.main-nav .cart-button span {
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  background: #f4f4f5;
  color: #050506;
  font-size: 13px;
}

.intro {
  display: block;
  margin-top: 28px;
}

.hero-card,
.flow-card {
  min-height: 408px;
  padding: clamp(28px, 4vw, 58px);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  overflow: hidden;
  min-height: 680px;
}

.flow-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--white);
  font-family: "Bodoni FLF", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  max-width: 12ch;
  margin-top: 14px;
  font-size: clamp(58px, 8vw, 118px);
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
}

h3 {
  font-size: 21px;
}

.hero-card p:not(.eyebrow),
.section-heading p,
.flow-card li,
.steps p,
.product-card p,
.cart-row p,
.order-card p,
.shipping-form p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-card p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
}

.featured-copy {
  position: relative;
  z-index: 1;
}

.featured-image {
  width: 100%;
  height: min(700px, 74vh);
  min-height: 500px;
  object-fit: cover;
  object-position: center 58%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #050506;
  filter: saturate(0.9) contrast(1.08);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill-row span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--text);
  font-weight: 800;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.status-dot {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  font-weight: 900;
}

.status-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(104, 224, 144, 0.5);
}

.flow-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.section-shell,
.contact-section,
.admin-section,
.info-band {
  margin-top: 22px;
  padding: clamp(28px, 4vw, 58px);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-copy h2 {
  max-width: 11ch;
}

.contact-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.contact-lines {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
}

.contact-lines a {
  width: fit-content;
  color: var(--white);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #090a0d;
  color: var(--text);
  padding: 0 15px;
  font-size: 16px;
  outline: 0;
}

.contact-form textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.section-heading {
  margin-bottom: 26px;
}

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

.product-heading span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.section-heading p {
  margin: 16px 0 0;
}

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

.filter-button {
  min-height: 44px;
  color: #000000 !important;
}

.filter-button.is-active {
  border-color: #ffffff;
  background: #f0f1f4;
  color: #000000 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.28);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 11, 15, 0.9);
  cursor: pointer;
}

.product-card:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.product-image {
  position: relative;
  display: grid;
  aspect-ratio: 2 / 3;
  place-items: center;
  overflow: hidden;
  background: #050506;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.08);
}

.product-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.product-meta,
.order-head,
.cart-row,
.drawer-head,
.totals p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-meta strong:first-child {
  color: var(--white);
  font-size: 20px;
}

.price {
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.product-card p {
  min-height: 78px;
  margin: 0;
  white-space: pre-line;
}

.variant-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.featured-variant {
  max-width: 340px;
  margin-top: 18px;
}

.variant-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #0e0f13;
  color: var(--text);
  padding: 0 16px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.product-actions .primary-button:only-child {
  grid-column: 1 / -1;
}

.info-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 28px;
}

.info-band h2 {
  max-width: 12ch;
  font-size: clamp(34px, 3.8vw, 56px);
}

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

.steps article,
.admin-stats article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
}

.steps article {
  min-height: 206px;
}

.steps span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  color: #111;
  font-weight: 900;
}

.product-page {
  margin-top: 22px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 9, 12, 0.82);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 58px);
}

.detail-back {
  grid-column: 1 / -1;
  justify-self: start;
}

.detail-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #050506;
  align-self: start;
  aspect-ratio: 2 / 3;
}

.detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.detail-copy {
  display: grid;
  align-content: center;
  gap: 20px;
}

.detail-title-row {
  display: grid;
  gap: 14px;
}

.detail-title-row h1 {
  max-width: 10ch;
  font-size: clamp(52px, 7vw, 104px);
}

.detail-price {
  color: var(--white);
  font-size: 24px;
}

.detail-description {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
  white-space: pre-line;
}

.detail-variant {
  max-width: 380px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-login-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.admin-page .admin-section {
  min-height: 640px;
}

.admin-auth {
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 22px;
}

.admin-auth p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-doc {
  background: #f4f4f5;
}

body.admin-ui {
  min-height: 100vh;
  color-scheme: light;
  background: #f4f4f5;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
}

body.admin-ui::before {
  display: none;
}

.admin-ui .toast {
  background: #111827;
  color: white;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  height: 44px;
  padding: 0 28px;
  border-top: 7px solid #3a334a;
  background: #ffffff;
  color: #111827;
  font-size: 13px;
}

.admin-topbar-links {
  display: flex;
  gap: 18px;
  color: #111827;
  font-size: 13px;
}

.sales-page {
  width: calc(100% - 44px);
  max-width: 1480px;
  margin: 44px auto 0;
}

.sales-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.sales-heading > div:first-child {
  display: flex;
  align-items: end;
  gap: 12px;
}

.sales-heading h1 {
  color: #050505;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}

.sales-heading span {
  color: #374151;
  font-weight: 700;
}

.sales-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9c9cf;
  border-radius: 7px;
  background: #ffffff;
  color: #111827;
  padding: 0 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.admin-button.is-primary {
  border-color: #005bd3;
  background: #005bd3;
  color: #ffffff;
}

.admin-login-card,
.sales-panel {
  border: 1px solid #d0d0d4;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.admin-login-card {
  padding: clamp(28px, 4vw, 48px);
}

.admin-access-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: 440px;
}

.admin-access-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.admin-access-copy h2 {
  max-width: 14ch;
  color: #ffffff;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 0.95;
}

.admin-access-copy p {
  max-width: 58ch;
  margin: 0;
  color: #b8bac4;
  font-size: 17px;
  line-height: 1.6;
}

.admin-access-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: #e5e7eb;
}

.admin-access-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-access-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.9;
}

.admin-login-form {
  max-width: 460px;
  display: grid;
  gap: 14px;
  margin-left: auto;
  border: 1px solid #22242b;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 19, 25, 0.98), rgba(9, 10, 13, 0.98));
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.admin-login-form h2,
.admin-login-form h3 {
  color: #111827;
  font-size: 28px;
}

.admin-login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.admin-login-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.admin-login-logo span {
  color: #b8bac4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-login-form label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-weight: 800;
}

.admin-login-form input,
.sales-search input {
  min-height: 40px;
  border: 1px solid #bfc1c7;
  border-radius: 7px;
  background: #ffffff;
  color: #111827;
  padding: 0 12px;
}

.admin-login-form p {
  margin: 0;
  color: #4b5563;
}

.sales-toolbar {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid #e6e6e8;
}

.sales-search {
  position: relative;
}

.sales-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.sales-search input {
  width: 100%;
  font-size: 14px;
}

.sales-product-filter {
  display: grid;
  gap: 6px;
  min-width: 250px;
}

.sales-product-filter span {
  color: #8f93a0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sales-product-filter select {
  min-height: 46px;
  border: 1px solid #30323b;
  border-radius: 10px;
  background: #0f1015;
  color: #f4f4f5;
  padding: 0 14px;
  cursor: pointer;
}

.sales-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: auto;
}

.sales-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #111827;
  padding: 0 9px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.sales-tabs button.is-active {
  background: #ececef;
}

.sales-tabs span {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  margin-left: 3px;
  place-items: center;
  border-radius: 999px;
  background: #70747c;
  color: white;
  font-size: 12px;
}

.sales-summary {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #e6e6e8;
}

.sales-summary article {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e1e1e5;
  border-radius: 999px;
  background: #fafafa;
  padding: 7px 12px;
}

.sales-summary strong {
  color: #111827;
}

.sales-summary span {
  color: #4b5563;
  font-size: 13px;
}

.sales-table-wrap {
  overflow: auto;
}

.sales-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  color: #111827;
  font-size: 14px;
}

.sales-table th,
.sales-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
}

.sales-table th {
  background: #eeeeef;
  color: #111827;
  font-weight: 700;
  height: 48px;
}

.sales-table th:first-child,
.sales-table td:first-child {
  width: 44px;
  text-align: center;
}

.sales-table tbody tr:nth-child(even) {
  background: #f7f7f8;
}

.sales-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.sales-table tbody tr {
  height: 70px;
}

.sales-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  accent-color: #005bd3;
}

.sale-link,
.customer-link,
.units-button {
  border: 0;
  background: transparent;
  color: #005bd3;
  padding: 0;
  font-weight: 700;
  font-size: 14px;
}

.status-badge,
.status-select {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #94d7b8;
  border-radius: 999px;
  background: #d8f5e6;
  color: #065f46;
  padding: 0 9px;
  font-size: 13px;
  font-weight: 700;
}

.status-select {
  min-height: 26px;
  width: auto;
  max-width: 160px;
  cursor: pointer;
}

.status-select.is-pack {
  border-color: #d1d5db;
  background: #f8fafc;
  color: #111827;
}

.status-select.is-send,
.status-select.is-sent {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.status-select.is-delivered {
  border-color: #86efac;
  background: #dcfce7;
  color: #166534;
}

.sales-table small {
  display: block;
  margin-top: 6px;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
}

.row-menu {
  width: 34px;
  height: 34px;
  border: 1px solid #c9c9cf;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.admin-ui input,
.admin-ui select,
.admin-ui button {
  font-family: Arial, Helvetica, sans-serif;
}

.empty-row {
  padding: 34px !important;
  color: #6b7280;
  text-align: center !important;
}

/* Dark sales dashboard */
.admin-doc {
  background: #050506;
}

body.admin-ui {
  color-scheme: dark;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.06), transparent 34rem),
    #050506;
  color: #f4f4f5;
}

.admin-topbar {
  border-top-color: #2c2638;
  border-bottom: 1px solid #202126;
  background: #090a0d;
  color: #f4f4f5;
}

.admin-topbar-links {
  color: #b8bac4;
}

.sales-heading h1 {
  color: #ffffff;
}

.sales-heading span {
  color: #b8bac4;
}

.admin-button {
  border-color: #2b2d35;
  background: #101116;
  color: #f4f4f5;
}

.admin-button:hover {
  border-color: #4b4e5b;
  background: #151720;
}

.admin-button.is-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #08090c;
}

.admin-login-card,
.sales-panel {
  border-color: #22242b;
  background: rgba(9, 10, 13, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.admin-login-form h2 {
  color: #ffffff;
}

.admin-login-form h3 {
  color: #ffffff;
  font-size: 32px;
}

.admin-login-form label,
.admin-login-form p {
  color: #b8bac4;
}

.admin-login-form input,
.sales-search input {
  border-color: #30323b;
  background: #0f1015;
  color: #f4f4f5;
}

.admin-login-form .admin-button {
  width: 100%;
  margin-top: 4px;
}

.sales-toolbar,
.sales-summary {
  border-bottom-color: #202126;
}

.sales-tabs button {
  color: #d8d9df;
}

.sales-tabs button.is-active {
  background: #23252e;
  color: #ffffff;
}

.sales-tabs span {
  background: #6f737d;
}

.sales-summary article {
  border-color: #2b2d35;
  background: #101116;
}

.sales-summary strong {
  color: #ffffff;
}

.sales-summary span {
  color: #b8bac4;
}

.sales-table {
  color: #f4f4f5;
}

.sales-table th {
  background: #14151b;
  color: #ffffff;
}

.sales-table tbody tr:nth-child(even) {
  background: #0d0e13;
}

.sales-table tbody tr:nth-child(odd) {
  background: #090a0d;
}

.sales-table tbody tr {
  border-top: 1px solid #171920;
  cursor: pointer;
}

.sales-table tbody tr:hover {
  background: #171922;
}

.sales-table input[type="checkbox"] {
  accent-color: #ffffff;
}

.sale-link,
.customer-link,
.units-button {
  color: #9fc5ff;
}

.status-badge {
  border-color: #2d8f64;
  background: #0f3528;
  color: #86efac;
}

.status-badge.is-waiting {
  border-color: #6f737d;
  background: #191b22;
  color: #d8d9df;
}

.status-badge.is-refused {
  border-color: #7f1d1d;
  background: #2a1010;
  color: #fca5a5;
}

.status-select {
  border-color: #3a3d47;
  background: #101116;
  color: #f4f4f5;
}

.status-select.is-pack {
  border-color: #626672;
  background: #14151b;
  color: #f4f4f5;
}

.status-select.is-send,
.status-select.is-sent {
  border-color: #2f65b7;
  background: #0f1e35;
  color: #93c5fd;
}

.status-select.is-delivered {
  border-color: #2d8f64;
  background: #0f3528;
  color: #86efac;
}

.sales-table small {
  color: #c7c9d1;
}

.row-menu {
  border-color: #2b2d35;
  background: #101116;
  color: #f4f4f5;
}

.empty-row {
  color: #b8bac4;
}

.order-detail-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.order-detail-drawer.is-open {
  display: block;
}

.order-detail-panel {
  width: min(520px, 100%);
  height: 100%;
  margin-left: auto;
  overflow: auto;
  border-left: 1px solid #242630;
  background: #090a0d;
  color: #f4f4f5;
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.5);
  padding: 24px;
}

.order-detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-kicker {
  margin: 0 0 8px;
  color: #b8bac4;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.order-detail-head h2 {
  color: #ffffff;
  font-size: 34px;
}

.admin-icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid #2b2d35;
  border-radius: 999px;
  background: #101116;
  color: #f4f4f5;
  cursor: pointer;
}

.order-detail-body {
  display: grid;
  gap: 14px;
}

.detail-block,
.detail-totals {
  border: 1px solid #22242b;
  border-radius: 12px;
  background: #0f1015;
  padding: 16px;
}

.detail-block h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 17px;
}

.detail-block p {
  margin: 6px 0;
  color: #c7c9d1;
  line-height: 1.5;
}

.detail-hint {
  color: #8f929d !important;
  font-size: 13px;
}

.admin-order-form {
  display: grid;
  gap: 12px;
  border: 1px solid #22242b;
  border-radius: 12px;
  background: #0f1015;
  padding: 16px;
}

.admin-order-form h3 {
  color: #ffffff;
  font-size: 17px;
}

.admin-order-form label {
  display: grid;
  gap: 7px;
  color: #c7c9d1;
  font-weight: 700;
}

.admin-order-form input,
.admin-order-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #30323b;
  border-radius: 7px;
  background: #090a0d;
  color: #f4f4f5;
  padding: 0 12px;
  font-size: 14px;
}

.admin-order-form textarea {
  min-height: 90px;
  padding-top: 11px;
  resize: vertical;
}

.detail-items {
  display: grid;
  gap: 10px;
}

.detail-items article,
.detail-totals p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: #d8d9df;
}

.detail-totals {
  display: grid;
  gap: 10px;
}

.detail-totals p:last-child {
  border-top: 1px solid #242630;
  padding-top: 10px;
  color: #ffffff;
  font-size: 18px;
}

.admin-panel {
  display: grid;
  gap: 18px;
}

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

.admin-stats span {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
  font-weight: 900;
}

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

.order-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-actions select,
input {
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #0e0f13;
  color: var(--text);
  padding: 0 16px;
}

input {
  width: 100%;
  font-weight: 400;
}

.drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.drawer.is-open,
.modal.is-open {
  display: block;
}

.drawer-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto auto;
  gap: 16px;
  width: min(460px, 100%);
  height: 100%;
  margin-left: auto;
  border-left: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
  box-shadow: var(--shadow);
}

.icon-button {
  width: 48px;
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding-right: 4px;
}

.cart-row {
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #0e0f13;
  color: var(--text);
  cursor: pointer;
}

.shipping-form {
  display: grid;
  gap: 10px;
}

.shipping-form label,
.checkout-form h3,
.checkout-form label {
  font-weight: 600;
}

.shipping-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.shipping-form p,
.totals p {
  margin: 0;
}

.checkout-form {
  display: grid;
  gap: 12px;
  max-height: 34vh;
  overflow: auto;
  padding-right: 4px;
}

.checkout-form h3 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 20px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 15px;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #090a0d;
  color: var(--text);
  padding: 0 14px;
  font-size: 16px;
  font-weight: 400;
  outline: 0;
}

.checkout-form textarea {
  min-height: 78px;
  padding-top: 12px;
  resize: vertical;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
}

.totals {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.total-line {
  color: var(--white);
  font-size: 22px;
}

.checkout-button,
.full-width {
  width: 100%;
}

.modal {
  place-items: center;
  padding: 16px;
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(480px, 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  background: #0e0f13;
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button.is-active {
  background: var(--white);
  color: #101013;
}

.social-login-grid {
  display: grid;
  gap: 10px;
}

.provider-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  min-height: 48px;
  border: 1px solid #cfd2d8;
  border-radius: 999px;
  background: #d9dbe1;
  color: #000000 !important;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.24);
  font-weight: 900;
  cursor: pointer;
}

.google-mark {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.google-mark {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FFC107' d='M43.611 20.083H42V20H24v8h11.303C33.654 32.657 29.223 36 24 36c-6.627 0-12-5.373-12-12s5.373-12 12-12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 12.955 4 4 12.955 4 24s8.955 20 20 20 20-8.955 20-20c0-1.341-.138-2.65-.389-3.917z'/%3E%3Cpath fill='%23FF3D00' d='M6.306 14.691l6.571 4.819C14.655 15.108 18.961 12 24 12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 16.318 4 9.656 8.337 6.306 14.691z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.166 0 9.86-1.977 13.409-5.192l-6.19-5.238C29.211 35.091 26.715 36 24 36c-5.202 0-9.619-3.317-11.283-7.946l-6.522 5.025C9.505 39.556 16.227 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.611 20.083H42V20H24v8h11.303a12.04 12.04 0 0 1-4.087 5.571l.003-.002 6.19 5.238C36.971 39.205 44 34 44 24c0-1.341-.138-2.65-.389-3.917z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.main-nav a *,
.primary-button *,
.secondary-button *,
.ghost-button *,
.cart-button *,
.filter-button *,
.provider-button * {
  color: inherit;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 900;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.account-orders {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.account-orders h3 {
  font-size: 22px;
}

.account-orders > div {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}

.account-order-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d0e13;
  padding: 12px;
}

.account-order-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.account-order-card span,
.account-order-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.password-rules {
  display: grid;
  gap: 6px;
  margin: -2px 0 0;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font-size: 13px;
}

.password-rules li::before {
  content: "x ";
}

.password-rules li.is-valid {
  color: #86efac;
}

.password-rules li.is-valid::before {
  content: "âœ“ ";
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: min(380px, calc(100vw - 32px));
  transform: translateY(20px);
  opacity: 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #101116;
  color: var(--white);
  padding: 14px 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

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

.stock-row,
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stock-row span,
.detail-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0 12px;
  color: #d5d7de;
  font-size: 13px;
  font-weight: 700;
}

.checkout-review,
.confirmation-summary {
  display: grid;
  gap: 12px;
}

.checkout-review {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  padding: 16px;
}

.checkout-review h3 {
  font-size: 20px;
}

.review-block {
  display: grid;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.review-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.review-block p,
.confirmation-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.review-block strong,
.confirmation-summary strong {
  color: var(--white);
}

.checkout-back {
  min-height: 46px;
}

.confirmation-panel {
  max-width: 560px;
}

.confirmation-summary {
  margin-top: 18px;
}

.confirmation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

/* Admin redesign */
.admin-topbar {
  justify-content: space-between;
  gap: 20px;
  height: auto;
  padding: 14px 24px;
}

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

.admin-topbar-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.admin-topbar-brand div {
  display: grid;
  gap: 4px;
}

.admin-topbar-brand span {
  color: #8c909d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-topbar-brand strong {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.admin-topbar-links {
  align-items: center;
  gap: 18px;
}

.admin-topbar-links a,
.admin-topbar-links span {
  color: #d0d2da;
  font-size: 13px;
  font-weight: 700;
}

.sales-page {
  width: min(1600px, calc(100% - 40px));
  margin: 22px auto 42px;
}

.sales-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 18px;
}

.sales-heading-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.sales-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.sales-heading h1 {
  max-width: none;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.sales-heading [data-active-sales] {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #23252d;
  border-radius: 999px;
  background: transparent;
  padding: 0 10px;
  color: #b3b7c3;
  font-size: 12px;
  font-weight: 700;
}

.sales-heading-text {
  max-width: 62ch;
  margin: 0;
  color: #8f94a1;
  font-size: 14px;
  line-height: 1.6;
}

.sales-actions {
  align-items: center;
  flex-wrap: nowrap;
  margin-left: 20px;
  gap: 10px;
}

.admin-section-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid #1b1d24;
  padding-bottom: 10px;
}

.admin-choice-panel {
  display: grid;
  gap: 24px;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.admin-choice-copy h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.admin-choice-copy p:last-child {
  max-width: 64ch;
  margin: 12px 0 0;
  color: #9b9fab;
  line-height: 1.6;
}

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

.admin-choice-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 180px;
  border: 0;
  border-top: 1px solid #2a2c34;
  border-radius: 0;
  background: transparent;
  color: #f4f4f5;
  padding: 20px 0 0;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.admin-choice-card:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.admin-choice-chip {
  display: inline-block;
  width: fit-content;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #8f93a0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-choice-card strong {
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
}

.admin-choice-card p {
  margin: 0;
  color: #b8bac4;
  font-size: 15px;
  line-height: 1.6;
}

.admin-section-tab {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #7f8490;
  padding: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.16s ease;
}

.admin-section-tab:hover {
  color: #ffffff;
}

.admin-section-tab.is-active {
  color: #ffffff;
  box-shadow: inset 0 -1px 0 #ffffff;
}

.admin-button {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 700;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

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

.admin-login-card,
.sales-panel {
  border-radius: 0;
  overflow: visible;
}

.admin-guest .sales-page {
  max-width: 1280px;
}

.admin-guest .admin-login-card {
  position: relative;
  padding: 0;
}

.admin-access-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 0.78fr);
  min-height: 560px;
  gap: 0;
}

.admin-access-copy {
  align-self: stretch;
  align-content: center;
  gap: 20px;
  padding: clamp(32px, 4.4vw, 54px);
  border-right: 1px solid #1b1d24;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), transparent 24rem),
    linear-gradient(180deg, rgba(13, 14, 18, 0.96), rgba(8, 9, 12, 0.98));
}

.admin-access-copy h2 {
  max-width: 8ch;
  font-size: clamp(42px, 4.8vw, 70px);
  line-height: 0.92;
}

.admin-access-copy p {
  max-width: 46ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.admin-access-list {
  gap: 8px;
  margin: 4px 0 0;
}

.admin-access-list li {
  font-size: 15px;
}

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

.admin-preview-grid article {
  display: grid;
  gap: 8px;
  min-height: 138px;
  border: 1px solid #22242b;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  padding: 16px;
}

.admin-preview-grid span {
  color: #8f93a0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-preview-grid strong {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.admin-preview-grid p {
  margin: 0;
  color: #b8bac4;
  font-size: 13px;
  line-height: 1.55;
}

.admin-login-form {
  position: relative;
  align-self: center;
  width: min(440px, calc(100% - 48px));
  margin: 0 auto;
  z-index: 1;
  border-radius: 20px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(18, 19, 25, 0.98), rgba(9, 10, 13, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.admin-login-card::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
  pointer-events: none;
}

.admin-login-form h3 {
  font-size: 32px;
  line-height: 1;
}

.admin-login-form .admin-button {
  margin-top: 8px;
}

.admin-login-form label {
  gap: 8px;
}

.admin-login-form input {
  min-height: 46px;
  border-radius: 10px;
}

.sales-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sales-toolbar {
  grid-template-columns: minmax(220px, 280px) minmax(250px, 320px) minmax(0, 1fr) auto;
  padding: 0 0 14px;
  border-bottom: 1px solid #1b1d24;
}

.sales-search input {
  min-height: 40px;
  border-radius: 8px;
  padding: 0 12px;
}

.sales-summary {
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid #1b1d24;
}

.sales-summary article {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.sales-table th,
.sales-table td {
  padding: 14px 12px;
}

.sales-table-wrap {
  overflow: auto;
  border-top: 0;
}

.sales-table {
  min-width: 1260px;
  font-size: 13px;
}

.sales-table td strong {
  color: #ffffff;
}

.sales-summary strong {
  font-size: 15px;
}

.sales-summary span {
  color: #8f94a1;
  font-size: 13px;
}

.sales-table th {
  color: #9ea3af;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sales-table small {
  color: #8f94a1;
  font-size: 12px;
  font-weight: 500;
}

.admin-products-panel {
  display: grid;
  gap: 14px;
  padding: 6px 0 0;
}

.admin-products-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

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

.admin-products-heading p:last-child {
  max-width: 60ch;
  margin: 8px 0 0;
  color: #8f94a1;
  font-size: 14px;
  line-height: 1.6;
}

.admin-products-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
}

.admin-products-list {
  display: grid;
  align-content: start;
  gap: 0;
  border-top: 1px solid #1b1d24;
}

.admin-product-card {
  display: grid;
  gap: 6px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #1b1d24;
  border-radius: 0;
  background: transparent;
  color: #f4f4f5;
  padding: 14px 0;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.16s ease;
}

.admin-product-card:hover,
.admin-product-card.is-active {
  opacity: 1;
  background: transparent;
}

.admin-product-card:not(.is-active) {
  opacity: 0.72;
}

.admin-product-card-category,
.admin-product-chip {
  display: inline-block;
  min-height: 0;
  width: fit-content;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #8f93a0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-product-card strong {
  color: #ffffff;
  font-size: 16px;
}

.admin-product-card p {
  margin: 0;
  color: #8f94a1;
  font-size: 13px;
}

.admin-product-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #c9ccd5;
  font-size: 12px;
  font-weight: 600;
}

.admin-product-form {
  display: grid;
  gap: 12px;
  border: 0;
  border-top: 1px solid #1b1d24;
  border-radius: 0;
  background: transparent;
  padding: 14px 0 0;
}

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

.admin-product-header h3 {
  font-size: 20px;
}

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

.admin-form-grid.is-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-product-form label {
  display: grid;
  gap: 6px;
  color: #b5b9c4;
  font-size: 13px;
  font-weight: 600;
}

.admin-product-form input,
.admin-product-form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #242730;
  border-radius: 8px;
  background: #090a0d;
  color: #f4f4f5;
  padding: 0 12px;
  font-size: 14px;
}

.admin-product-form textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}

.sales-table tbody tr {
  height: 78px;
}

.order-detail-panel {
  width: min(620px, 100%);
  padding: 28px;
}

.order-detail-body {
  gap: 16px;
}

.detail-block,
.detail-totals,
.admin-order-form {
  border-radius: 16px;
  padding: 18px;
}

.detail-block h3,
.admin-order-form h3 {
  font-size: 18px;
}

.detail-block p {
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .info-band {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

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

  .admin-access-copy {
    border-right: 0;
    border-bottom: 1px solid #1b1d24;
  }

  .admin-products-layout,
  .admin-choice-grid,
  .admin-form-grid.is-compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1380px);
    margin-top: 12px;
  }

  .site-header {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .header-left {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .store-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .products-menu {
    left: 50%;
    transform: translateX(-50%);
  }

  .main-nav {
    justify-content: space-between;
  }

  .main-nav button {
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand {
    align-items: center;
  }

  .brand strong {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero-card,
  .flow-card,
  .section-shell,
  .contact-section,
  .admin-section,
  .info-band {
    border-radius: 18px;
    padding: 24px;
  }

  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .featured-image {
    order: -1;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(44px, 15vw, 70px);
  }

  .product-heading {
    align-items: start;
    flex-direction: column;
  }

  .product-heading span {
    white-space: normal;
  }

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

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

  .product-detail {
    border-radius: 18px;
    padding: 24px;
  }

  .detail-title-row h1 {
    max-width: 100%;
    font-size: clamp(42px, 13vw, 68px);
  }

  .confirmation-actions,
  .sales-toolbar {
    grid-template-columns: 1fr;
  }

  .sales-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sales-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .sales-page {
    width: min(100% - 20px, 1480px);
    margin-top: 18px;
  }

  .admin-topbar {
    align-items: start;
    flex-direction: column;
    padding: 16px 18px;
  }

  .admin-topbar-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .sales-heading [data-active-sales] {
    width: fit-content;
  }

  .sales-actions {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .admin-section-nav {
    flex-wrap: wrap;
  }

  .admin-login-form {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
  }

  .order-detail-panel {
    width: 100%;
  }

  .admin-form-grid,
  .admin-products-layout {
    grid-template-columns: 1fr;
  }

  .admin-product-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .product-actions,
  .detail-actions,
  .auth-actions,
  .shipping-form div,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    display: grid;
  }

  .drawer-panel {
    width: 100%;
  }
}

/* Admin minimal refresh */
body.admin-ui {
  color-scheme: light;
  background: #f3f4f6;
  color: #111111;
}

body.admin-ui .toast {
  background: #111111;
  color: #ffffff;
}

body.admin-ui .admin-topbar {
  border-top: 0;
  border-bottom: 1px solid #dddddf;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  color: #111111;
}

body.admin-ui .admin-topbar-brand span,
body.admin-ui .admin-kicker,
body.admin-ui .admin-topbar-links span {
  color: #6b7280;
}

body.admin-ui .admin-topbar-brand strong,
body.admin-ui .admin-topbar-links a {
  color: #111111;
}

body.admin-ui .sales-page {
  width: min(1420px, calc(100% - 40px));
  margin: 28px auto 40px;
}

body.admin-ui .sales-heading-text,
body.admin-ui .admin-choice-copy p:last-child,
body.admin-ui .admin-products-heading p:last-child,
body.admin-ui .admin-product-card p,
body.admin-ui .sales-summary span,
body.admin-ui .sales-table small {
  color: #6b7280;
}

body.admin-ui .sales-heading h1,
body.admin-ui .admin-choice-copy h2,
body.admin-ui .admin-products-heading h2,
body.admin-ui .admin-product-header h3,
body.admin-ui .admin-choice-card strong,
body.admin-ui .admin-product-card strong,
body.admin-ui .detail-block h3,
body.admin-ui .admin-order-form h3 {
  color: #111111;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.admin-ui .sales-heading [data-active-sales] {
  border-color: #d1d5db;
  background: #ffffff;
  color: #374151;
}

body.admin-ui .admin-section-nav,
body.admin-ui .sales-toolbar,
body.admin-ui .sales-summary,
body.admin-ui .sales-table-wrap,
body.admin-ui .admin-products-list,
body.admin-ui .admin-product-form {
  border-color: #e5e7eb;
}

body.admin-ui .sales-panel,
body.admin-ui .admin-choice-panel {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

body.admin-ui .admin-login-card {
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

body.admin-ui .admin-login-card::after {
  display: none;
}

body.admin-ui .admin-access-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  min-height: 0;
  gap: 0;
}

body.admin-ui .admin-access-copy {
  border-right: 1px solid #eceef1;
  background:
    radial-gradient(circle at top left, rgba(17, 24, 39, 0.04), transparent 22rem),
    linear-gradient(180deg, #ffffff, #fbfbfc);
  padding: 36px 40px;
}

body.admin-ui .admin-access-copy h2 {
  max-width: 12ch;
  color: #111111;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.92;
}

body.admin-ui .admin-access-copy p,
body.admin-ui .admin-access-list li,
body.admin-ui .admin-preview-grid p {
  color: #4b5563;
}

body.admin-ui .admin-access-list li::before {
  background: #111111;
  opacity: 1;
}

body.admin-ui .admin-preview-grid article {
  min-height: 128px;
  border: 1px solid #eceef1;
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
}

body.admin-ui .admin-preview-grid span {
  color: #6b7280;
}

body.admin-ui .admin-preview-grid strong {
  color: #111111;
  font-size: 20px;
}

body.admin-ui .admin-login-form {
  width: min(420px, calc(100% - 40px));
  border: 0;
  border-left: 1px solid #eceef1;
  border-radius: 0;
  background: #fbfbfc;
  box-shadow: none;
  padding: 36px 32px;
}

body.admin-ui .admin-login-logo span,
body.admin-ui .admin-login-form label,
body.admin-ui .admin-login-form p {
  color: #6b7280;
}

body.admin-ui .admin-login-form h3 {
  color: #111111;
  font-size: 30px;
}

body.admin-ui .admin-login-form input {
  border-color: #d1d5db;
  background: #ffffff;
  color: #111111;
}

body.admin-ui .admin-choice-panel,
body.admin-ui .admin-products-panel {
  padding: 24px;
}

body.admin-ui .admin-choice-grid {
  gap: 14px;
}

body.admin-ui .admin-choice-card {
  min-height: 0;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  padding: 18px;
  color: #111111;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

body.admin-ui .admin-choice-card:hover {
  border-color: #cfd4dc;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  opacity: 1;
}

body.admin-ui .admin-choice-chip,
body.admin-ui .admin-product-card-category,
body.admin-ui .admin-product-chip {
  color: #6b7280;
}

body.admin-ui .admin-section-tab {
  color: #6b7280;
}

body.admin-ui .admin-section-tab:hover {
  color: #111111;
}

body.admin-ui .admin-section-tab.is-active {
  color: #111111;
  box-shadow: inset 0 -1px 0 #111111;
}

body.admin-ui .admin-button {
  border-color: #d1d5db;
  background: #ffffff;
  color: #111111;
}

body.admin-ui .admin-button.is-primary {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

body.admin-ui .admin-button:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

body.admin-ui .admin-button.is-primary:hover {
  border-color: #111111;
  background: #1f2937;
}

body.admin-ui .sales-search input,
body.admin-ui .sales-product-filter select,
body.admin-ui .admin-product-form input,
body.admin-ui .admin-product-form textarea,
body.admin-ui .admin-login-form input,
body.admin-ui .admin-order-form input,
body.admin-ui .admin-order-form textarea,
body.admin-ui .status-select {
  border-color: #d1d5db;
  background: #ffffff;
  color: #111111;
}

body.admin-ui .sales-tabs button {
  color: #4b5563;
}

body.admin-ui .sales-tabs button.is-active {
  background: #111111;
  color: #ffffff;
}

body.admin-ui .sales-tabs span {
  background: #d1d5db;
  color: #111111;
}

body.admin-ui .sales-summary article {
  border: 0;
  background: transparent;
}

body.admin-ui .sales-summary strong,
body.admin-ui .sales-table td strong {
  color: #111111;
}

body.admin-ui .sales-table {
  color: #111111;
}

body.admin-ui .sales-table th {
  background: #f8f8f9;
  color: #6b7280;
}

body.admin-ui .sales-table tbody tr:nth-child(odd),
body.admin-ui .sales-table tbody tr:nth-child(even) {
  background: transparent;
}

body.admin-ui .sales-table tbody tr {
  border-top: 1px solid #eceef1;
}

body.admin-ui .sales-table tbody tr:hover {
  background: #f8fafc;
}

body.admin-ui .sale-link,
body.admin-ui .customer-link,
body.admin-ui .units-button {
  color: #111111;
}

body.admin-ui .status-badge {
  border-color: #d1fae5;
  background: #ecfdf5;
  color: #065f46;
}

body.admin-ui .status-badge.is-waiting {
  border-color: #e5e7eb;
  background: #f9fafb;
  color: #4b5563;
}

body.admin-ui .status-badge.is-refused {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

body.admin-ui .status-select {
  color: #111111;
}

body.admin-ui .status-select.is-pack {
  background: #ffffff;
  color: #111111;
}

body.admin-ui .status-select.is-send,
body.admin-ui .status-select.is-sent {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

body.admin-ui .status-select.is-delivered {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

body.admin-ui .row-menu {
  border-color: #d1d5db;
  background: #ffffff;
  color: #111111;
}

body.admin-ui .admin-products-layout {
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 28px;
}

body.admin-ui .admin-product-card {
  border-bottom-color: #eceef1;
  color: #111111;
}

body.admin-ui .admin-product-card:not(.is-active) {
  opacity: 1;
}

body.admin-ui .admin-product-card.is-active {
  border-bottom-color: #111111;
}

body.admin-ui .admin-product-card div {
  color: #4b5563;
}

body.admin-ui .admin-product-form label {
  color: #374151;
}

body.admin-ui .order-detail-drawer {
  background: rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(8px);
}

body.admin-ui .order-detail-panel {
  border-left: 1px solid #e5e7eb;
  background: #fbfbfc;
  color: #111111;
  box-shadow: -24px 0 48px rgba(15, 23, 42, 0.08);
}

body.admin-ui .order-detail-head h2,
body.admin-ui .detail-block h3,
body.admin-ui .admin-order-form h3 {
  color: #111111;
}

body.admin-ui .detail-block,
body.admin-ui .detail-totals,
body.admin-ui .admin-order-form {
  border-color: #e5e7eb;
  background: #ffffff;
}

body.admin-ui .detail-block p,
body.admin-ui .detail-items article,
body.admin-ui .detail-totals p,
body.admin-ui .admin-order-form label {
  color: #374151;
}

body.admin-ui .admin-icon-button {
  border-color: #d1d5db;
  background: #ffffff;
  color: #111111;
}

body.admin-ui .admin-danger-zone {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

body.admin-ui .admin-danger-zone .admin-button {
  min-width: 180px;
}

body.admin-ui .admin-button.is-danger {
  border-color: #fecaca;
  background: #ffffff;
  color: #b91c1c;
}

body.admin-ui .admin-button.is-danger:hover {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 760px) {
  body.admin-ui .sales-page {
    width: min(100% - 20px, 1420px);
  }

  body.admin-ui .admin-choice-panel,
  body.admin-ui .admin-products-panel {
    padding: 18px;
  }

  body.admin-ui .admin-access-grid {
    grid-template-columns: 1fr;
  }

  body.admin-ui .admin-access-copy {
    border-right: 0;
    border-bottom: 1px solid #eceef1;
    padding: 24px 20px;
  }

  body.admin-ui .admin-login-form {
    width: 100%;
    border-left: 0;
    padding: 24px 20px;
  }

  body.admin-ui .admin-danger-zone .admin-button {
    width: 100%;
  }
}

/* Admin layout redesign */
body.admin-ui {
  background: #f5f3ef;
  color: #171717;
}

body.admin-ui .admin-topbar {
  display: none;
}

body.admin-ui .admin-workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 26%),
    linear-gradient(180deg, #f7f5f1 0%, #f0ece6 100%);
}

body.admin-ui .admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 22px;
  border-right: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

body.admin-ui .admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-align: center;
  margin-inline: auto;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body.admin-ui .admin-sidebar-brand > div {
  display: grid;
  justify-items: center;
}

body.admin-ui .admin-sidebar-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

body.admin-ui .admin-sidebar-brand span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b7355;
}

body.admin-ui .admin-sidebar-brand strong {
  display: block;
  font-size: 1.1rem;
  color: #171717;
}

body.admin-ui .admin-sidebar-nav {
  display: grid;
  gap: 10px;
}

body.admin-ui .admin-sidebar-nav a,
body.admin-ui .admin-sidebar-nav span {
  font-size: 0.92rem;
  color: #5f5f5f;
}

body.admin-ui .admin-sidebar-nav a:hover {
  color: #171717;
}

body.admin-ui .admin-sidebar-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
  justify-items: center;
}

body.admin-ui .admin-sidebar-actions .admin-button {
  width: 112px;
}

body.admin-ui .admin-sidebar .admin-section-nav {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  padding: 16px 0;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

body.admin-ui .admin-sidebar .admin-section-tab {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  box-shadow: none;
  color: #6a6a6a;
}

body.admin-ui .admin-sidebar .admin-section-tab:hover {
  background: rgba(23, 23, 23, 0.05);
}

body.admin-ui .admin-sidebar .admin-section-tab.is-active {
  background: #171717;
  color: #f8f4ee;
  box-shadow: none;
}

body.admin-ui .admin-nav-group {
  display: grid;
  gap: 8px;
}

body.admin-ui .admin-products-subnav {
  padding: 2px 0 0 12px;
  display: none;
  gap: 8px;
}

body.admin-ui .admin-nav-group.is-open .admin-products-subnav {
  display: grid;
}

body.admin-ui .admin-subnav-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 0;
  background: transparent;
  color: #7a7a7a;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 500;
}

body.admin-ui .admin-subnav-link:hover,
body.admin-ui .admin-subnav-link.is-active {
  background: transparent;
  color: #171717;
}

body.admin-ui .admin-subnav-link.is-active {
  border-left-color: #171717;
}

body.admin-ui .admin-products-trash {
  margin-top: 2px;
  padding: 0 0 0 12px;
  border-top: 0;
}

body.admin-ui .admin-trash-head {
  margin-bottom: 10px;
}

body.admin-ui .admin-trash-head strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #5f5f5f;
}

body.admin-ui .admin-trash-list {
  gap: 6px;
}

body.admin-ui .admin-trash-item {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 10px 0;
}

body.admin-ui .admin-trash-item .admin-button {
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
}

body.admin-ui,
body.admin-ui button,
body.admin-ui input,
body.admin-ui select,
body.admin-ui textarea {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

body.admin-ui .sales-title-row h1,
body.admin-ui .admin-choice-copy h2,
body.admin-ui .admin-access-copy h2,
body.admin-ui .admin-products-heading h2,
body.admin-ui .admin-product-header h3,
body.admin-ui .order-detail-head h2,
body.admin-ui .admin-confirm-panel h2 {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  color: #171717;
}

body.admin-ui .admin-confirm-panel h2 {
  font-size: 2rem;
  line-height: 1.05;
}

body.admin-ui .sales-title-row h1 {
  font-size: clamp(3rem, 4.6vw, 4.5rem);
}

body.admin-ui .admin-products-heading h2,
body.admin-ui .admin-product-header h3,
body.admin-ui .order-detail-head h2 {
  font-size: 2rem;
}

body.admin-ui .admin-sidebar-brand strong {
  font-size: 1.2rem;
}

body.admin-ui .admin-sidebar-nav a,
body.admin-ui .admin-sidebar-nav span,
body.admin-ui .admin-sidebar .admin-section-tab,
body.admin-ui .admin-subnav-link,
body.admin-ui .admin-button,
body.admin-ui .sales-heading-text,
body.admin-ui .admin-choice-copy p,
body.admin-ui .admin-access-copy p,
body.admin-ui .admin-products-heading p,
body.admin-ui .detail-block p,
body.admin-ui .detail-totals p {
  font-size: 1rem;
}

body.admin-ui .sales-search span,
body.admin-ui .sales-product-filter span,
body.admin-ui .admin-product-form label,
body.admin-ui .admin-order-form label,
body.admin-ui .admin-kicker {
  font-size: 0.86rem;
}

body.admin-ui .admin-product-card strong,
body.admin-ui .admin-trash-item strong {
  font-size: 1.08rem;
}

body.admin-ui .admin-product-card p,
body.admin-ui .admin-product-card div,
body.admin-ui .admin-trash-item p,
body.admin-ui .admin-trash-head strong,
body.admin-ui .admin-field-hint,
body.admin-ui .sales-table small {
  font-size: 0.92rem;
}

body.admin-ui .admin-confirm-panel,
body.admin-ui .admin-confirm-panel p,
body.admin-ui .admin-confirm-panel strong {
  color: #171717;
}

body.admin-ui .admin-content {
  min-width: 0;
  padding: 34px 40px 56px;
}

body.admin-ui .sales-page {
  width: 100%;
  max-width: 1280px;
  margin: 0;
}

body.admin-ui .sales-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

body.admin-ui .sales-heading-copy {
  max-width: 760px;
}

body.admin-ui .admin-kicker {
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b7355;
}

body.admin-ui .sales-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.admin-ui .sales-title-row h1,
body.admin-ui .admin-choice-copy h2,
body.admin-ui .admin-access-copy h2,
body.admin-ui .admin-products-heading h2,
body.admin-ui .admin-product-header h3,
body.admin-ui .order-detail-head h2 {
  font-family: "Bodoni FLF", Georgia, serif;
  font-weight: 700;
  color: #171717;
}

body.admin-ui .sales-title-row h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
}

body.admin-ui .sales-title-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
  color: #171717;
}

body.admin-ui .sales-heading-text,
body.admin-ui .admin-choice-copy p,
body.admin-ui .admin-access-copy p,
body.admin-ui .admin-products-heading p,
body.admin-ui .detail-block p,
body.admin-ui .detail-totals p {
  color: #5f5f5f;
}

body.admin-ui .sales-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body.admin-ui .admin-section-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

body.admin-ui .admin-section-tab {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #7b7b7b;
  box-shadow: none;
}

body.admin-ui .admin-section-tab:hover,
body.admin-ui .admin-section-tab.is-active {
  color: #171717;
}

body.admin-ui .admin-section-tab.is-active {
  box-shadow: inset 0 -1px 0 #171717;
}

body.admin-ui .admin-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #171717;
  font-size: 0.92rem;
  font-weight: 600;
}

body.admin-ui .admin-button:hover {
  background: #ffffff;
  border-color: rgba(23, 23, 23, 0.22);
}

body.admin-ui .admin-button.is-primary {
  border-color: #171717;
  background: #171717;
  color: #f8f4ee;
}

body.admin-ui .admin-button.is-primary:hover {
  background: #262626;
}

body.admin-ui .sales-panel,
body.admin-ui .admin-choice-panel,
body.admin-ui .admin-login-card,
body.admin-ui .admin-products-panel {
  border: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 45px rgba(41, 31, 18, 0.06);
}

body.admin-ui .admin-choice-panel,
body.admin-ui .admin-login-card,
body.admin-ui .sales-panel,
body.admin-ui .admin-products-panel {
  padding: 26px 28px;
}

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

body.admin-ui .admin-choice-card {
  min-height: 0;
  text-align: left;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 20px;
}

body.admin-ui .admin-choice-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
  color: #171717;
}

body.admin-ui .admin-choice-chip,
body.admin-ui .admin-product-card-category,
body.admin-ui .admin-product-chip {
  color: #8b7355;
}

body.admin-ui .admin-access-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  gap: 30px;
  align-items: center;
}

body.admin-ui .admin-access-copy {
  padding: 0;
  border: 0;
}

body.admin-ui .admin-access-list,
body.admin-ui .admin-preview-grid {
  display: none;
}

body.admin-ui .admin-login-form {
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

body.admin-ui .admin-login-logo {
  margin-bottom: 18px;
}

body.admin-ui .admin-login-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

body.admin-ui .sales-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(220px, 0.85fr) minmax(0, 1.6fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

body.admin-ui .sales-search span,
body.admin-ui .sales-product-filter span,
body.admin-ui .admin-product-form label,
body.admin-ui .admin-order-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5f5f5f;
}

body.admin-ui .sales-search input,
body.admin-ui .sales-product-filter select,
body.admin-ui .admin-product-form input,
body.admin-ui .admin-product-form textarea,
body.admin-ui .admin-login-form input,
body.admin-ui .admin-order-form input,
body.admin-ui .admin-order-form textarea,
body.admin-ui .status-select {
  min-height: 46px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #171717;
  box-shadow: none;
}

body.admin-ui .admin-product-form textarea,
body.admin-ui .admin-order-form textarea {
  min-height: 110px;
  padding-top: 14px;
}

body.admin-ui .sales-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.admin-ui .sales-tabs button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #5f5f5f;
}

body.admin-ui .sales-tabs button.is-active {
  background: #171717;
  color: #f8f4ee;
}

body.admin-ui .sales-tabs span {
  background: rgba(23, 23, 23, 0.08);
  color: inherit;
}

body.admin-ui .sales-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

body.admin-ui .sales-summary article {
  padding: 0;
  background: transparent;
}

body.admin-ui .sales-summary strong {
  font-size: 1.4rem;
  color: #171717;
}

body.admin-ui .sales-summary span {
  color: #6a6a6a;
}

body.admin-ui .sales-table-wrap {
  overflow: auto;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

body.admin-ui .sales-table {
  min-width: 980px;
  color: #171717;
}

body.admin-ui .sales-table th,
body.admin-ui .sales-table td {
  padding: 16px 18px;
  border-top: 1px solid rgba(23, 23, 23, 0.06);
}

body.admin-ui .sales-table th {
  background: rgba(23, 23, 23, 0.03);
  color: #6a6a6a;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.admin-ui .sales-table tbody tr {
  background: transparent;
}

body.admin-ui .sales-table tbody tr:hover {
  background: rgba(23, 23, 23, 0.025);
}

body.admin-ui .sale-link,
body.admin-ui .customer-link,
body.admin-ui .units-button {
  color: #171717;
}

body.admin-ui .sales-table small {
  color: #7b7b7b;
}

body.admin-ui .status-badge {
  border-radius: 999px;
  font-size: 0.78rem;
}

body.admin-ui .admin-products-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
}

body.admin-ui .admin-products-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

body.admin-ui .admin-product-card {
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

body.admin-ui .admin-product-card:hover {
  background: transparent;
}

body.admin-ui .admin-product-card strong {
  display: block;
  margin: 6px 0 8px;
  font-size: 1.05rem;
  color: #171717;
}

body.admin-ui .admin-product-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #6a6a6a;
}

body.admin-ui .admin-product-card.is-active {
  padding-left: 12px;
  border-bottom-color: #171717;
  box-shadow: inset 2px 0 0 #171717;
}

body.admin-ui .admin-product-form {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.admin-ui .admin-product-header {
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

body.admin-ui .admin-form-grid,
body.admin-ui .admin-form-grid.is-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

body.admin-ui .order-detail-drawer {
  background: rgba(23, 23, 23, 0.16);
  backdrop-filter: blur(10px);
}

body.admin-ui .order-detail-panel {
  border-left: 1px solid rgba(23, 23, 23, 0.08);
  background: #fbf9f5;
  color: #171717;
  box-shadow: -20px 0 50px rgba(23, 23, 23, 0.08);
}

body.admin-ui .admin-confirm-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(23, 23, 23, 0.2);
  backdrop-filter: blur(10px);
  z-index: 120;
}

body.admin-ui .admin-confirm-modal.is-open {
  display: grid;
}

body.admin-ui .admin-confirm-panel {
  position: relative;
  width: min(480px, 100%);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(249, 246, 241, 0.96) 100%);
  padding: 28px;
  box-shadow: 0 28px 60px rgba(23, 23, 23, 0.14);
}

body.admin-ui .admin-confirm-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

body.admin-ui .admin-confirm-panel h2 {
  margin-bottom: 12px;
  padding-right: 48px;
}

body.admin-ui .admin-confirm-message {
  margin: 0;
  color: #5f5f5f;
  line-height: 1.6;
}

body.admin-ui .admin-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

body.admin-ui .detail-block,
body.admin-ui .detail-totals,
body.admin-ui .admin-order-form {
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

body.admin-ui .admin-danger-zone {
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

body.admin-ui .admin-button.is-danger {
  border-color: rgba(185, 28, 28, 0.2);
  color: #b91c1c;
}

body.admin-ui .admin-button.is-danger:hover {
  background: #fff7f7;
}

@media (max-width: 1100px) {
  body.admin-ui .admin-workspace {
    grid-template-columns: 1fr;
  }

  body.admin-ui .admin-sidebar {
    position: static;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  }

  body.admin-ui .admin-content {
    padding: 26px 18px 42px;
  }

  body.admin-ui .sales-heading {
    grid-template-columns: 1fr;
  }

  body.admin-ui .sales-toolbar {
    grid-template-columns: 1fr;
  }

  body.admin-ui .admin-access-grid,
  body.admin-ui .admin-products-layout {
    grid-template-columns: 1fr;
  }

  body.admin-ui .admin-confirm-actions {
    flex-direction: column-reverse;
  }
}

body.admin-ui .admin-products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

body.admin-ui .admin-product-form select {
  min-height: 46px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #171717;
}

body.admin-ui .admin-field-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #8a8a8a;
}

body.admin-ui .admin-image-preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 8px 0 6px;
  border: 1px dashed rgba(23, 23, 23, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

body.admin-ui .admin-image-preview img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

body.admin-ui .admin-image-preview span {
  color: #8a8a8a;
}

body.admin-ui .admin-products-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

body.admin-ui .admin-products-trash {
  padding-top: 8px;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

body.admin-ui .admin-trash-head {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.admin-ui .admin-trash-head strong {
  display: block;
  color: #171717;
}

body.admin-ui .admin-trash-list {
  display: grid;
  gap: 10px;
}

body.admin-ui .admin-trash-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

body.admin-ui .admin-trash-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.admin-ui .admin-trash-item strong {
  display: block;
  margin-bottom: 4px;
  color: #171717;
}

body.admin-ui .admin-trash-item p,
body.admin-ui .admin-trash-empty {
  margin: 0;
  color: #7a7a7a;
}

body.admin-ui .admin-product-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

body.admin-ui .admin-product-actions .admin-button {
  min-width: 180px;
}

@media (max-width: 1100px) {
  body.admin-ui .admin-products-heading {
    align-items: start;
    flex-direction: column;
  }

  body.admin-ui .admin-product-actions {
    flex-direction: column-reverse;
  }

  body.admin-ui .admin-product-actions .admin-button {
    width: 100%;
  }
}

/* Admin readability overrides */
body.admin-ui,
body.admin-ui button,
body.admin-ui input,
body.admin-ui select,
body.admin-ui textarea,
body.admin-ui table,
body.admin-ui th,
body.admin-ui td,
body.admin-ui p,
body.admin-ui span,
body.admin-ui label,
body.admin-ui small,
body.admin-ui strong {
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
}

body.admin-ui {
  font-size: 18px !important;
}

body.admin-ui .sales-title-row h1 {
  font-size: clamp(3.4rem, 5vw, 5rem) !important;
  line-height: 0.96 !important;
}

body.admin-ui .admin-products-heading h2,
body.admin-ui .admin-product-header h3,
body.admin-ui .order-detail-head h2,
body.admin-ui .admin-confirm-panel h2 {
  font-size: 2.25rem !important;
  line-height: 1.05 !important;
  color: #171717 !important;
}

body.admin-ui .admin-sidebar-brand strong {
  font-size: 1.36rem !important;
}

body.admin-ui .admin-sidebar-nav a,
body.admin-ui .admin-sidebar-nav span,
body.admin-ui .admin-sidebar .admin-section-tab,
body.admin-ui .admin-subnav-link,
body.admin-ui .admin-button,
body.admin-ui .sales-heading-text,
body.admin-ui .admin-choice-copy p,
body.admin-ui .admin-access-copy p,
body.admin-ui .admin-products-heading p,
body.admin-ui .detail-block p,
body.admin-ui .detail-totals p,
body.admin-ui .sales-table td,
body.admin-ui .sales-table th {
  font-size: 1.06rem !important;
}

body.admin-ui .sales-search span,
body.admin-ui .sales-product-filter span,
body.admin-ui .admin-product-form label,
body.admin-ui .admin-order-form label,
body.admin-ui .admin-kicker {
  font-size: 0.96rem !important;
}

body.admin-ui .admin-product-card strong,
body.admin-ui .admin-trash-item strong,
body.admin-ui .sales-summary strong {
  font-size: 1.2rem !important;
}

body.admin-ui .admin-product-card p,
body.admin-ui .admin-product-card div,
body.admin-ui .admin-trash-item p,
body.admin-ui .admin-trash-head strong,
body.admin-ui .admin-field-hint,
body.admin-ui .sales-table small,
body.admin-ui .admin-trash-empty {
  font-size: 1rem !important;
}

/* Final admin sizing + trash visibility */
body.admin-ui {
  font-size: 20px !important;
}

body.admin-ui .admin-sidebar-brand strong {
  font-size: 1.48rem !important;
}

body.admin-ui .admin-sidebar-nav a,
body.admin-ui .admin-sidebar-nav span,
body.admin-ui .admin-sidebar .admin-section-tab,
body.admin-ui .admin-subnav-link,
body.admin-ui .admin-button,
body.admin-ui .sales-heading-text,
body.admin-ui .admin-products-heading p,
body.admin-ui .sales-table td,
body.admin-ui .sales-table th,
body.admin-ui .admin-product-card p,
body.admin-ui .admin-product-card div,
body.admin-ui .admin-trash-item p,
body.admin-ui .admin-trash-empty {
  font-size: 1.16rem !important;
}

body.admin-ui .sales-search span,
body.admin-ui .sales-product-filter span,
body.admin-ui .admin-product-form label,
body.admin-ui .admin-order-form label,
body.admin-ui .admin-kicker,
body.admin-ui .admin-field-hint {
  font-size: 1.06rem !important;
}

body.admin-ui .admin-product-card strong,
body.admin-ui .admin-trash-item strong,
body.admin-ui .sales-summary strong {
  font-size: 1.36rem !important;
}

body.admin-ui .admin-products-heading h2,
body.admin-ui .admin-product-header h3,
body.admin-ui .order-detail-head h2,
body.admin-ui .admin-confirm-panel h2 {
  font-size: 2.7rem !important;
}

body.admin-ui .sales-title-row h1 {
  font-size: clamp(3.8rem, 5.4vw, 5.4rem) !important;
}

body.admin-ui [data-products-trash-panel][hidden] {
  display: none !important;
}

body.admin-ui [hidden] {
  display: none !important;
}

/* Final trash layout cleanup */
body.admin-ui .admin-products-trash {
  margin: 0 0 28px !important;
  padding: 18px 22px !important;
  border: 1px solid rgba(23, 23, 23, 0.08) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.76) !important;
  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.06) !important;
}

body.admin-ui .admin-trash-head {
  margin-bottom: 14px !important;
}

body.admin-ui .admin-trash-head strong {
  font-size: 1.22rem !important;
  color: #171717 !important;
}

body.admin-ui .admin-trash-list {
  display: grid !important;
  gap: 0 !important;
}

body.admin-ui .admin-trash-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 18px !important;
  align-items: center !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08) !important;
}

body.admin-ui .admin-trash-item > div:first-child {
  min-width: 0;
}

body.admin-ui .admin-trash-item strong {
  font-size: 1.28rem !important;
  line-height: 1.2 !important;
}

body.admin-ui .admin-trash-item p {
  font-size: 1.08rem !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  word-break: normal !important;
}

body.admin-ui .admin-trash-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

body.admin-ui .admin-trash-actions .admin-button {
  min-height: 40px !important;
  padding: 0 16px !important;
}

@media (max-width: 900px) {
  body.admin-ui .admin-trash-item {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  body.admin-ui .admin-trash-actions {
    justify-content: flex-start !important;
  }
}

body.admin-ui .sales-heading-copy {
  max-width: 760px !important;
  gap: 10px !important;
}

body.admin-ui .sales-title-row {
  display: none !important;
}

body.admin-ui .admin-overview-panel {
  display: grid;
  gap: 24px;
}

body.admin-ui .admin-overview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

body.admin-ui .admin-overview-head h2 {
  margin: 0 0 8px;
  color: #171717;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2rem;
}

body.admin-ui .admin-overview-head p:last-child {
  margin: 0;
  color: #5f5f5f;
}

body.admin-ui .admin-overview-updated {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: #6b7280;
  font-size: 0.96rem;
}

body.admin-ui .admin-overview-updated strong {
  color: #171717;
  font-size: 1rem;
}

body.admin-ui .admin-overview-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.admin-ui .admin-overview-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.admin-ui .admin-overview-card,
body.admin-ui .admin-overview-mini-card,
body.admin-ui .admin-overview-chart {
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

body.admin-ui .admin-overview-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

body.admin-ui .admin-overview-card span,
body.admin-ui .admin-overview-chart-head p {
  color: #6b7280;
}

body.admin-ui .admin-overview-card strong {
  color: #171717;
  font-size: 1.7rem;
  line-height: 1;
}

body.admin-ui .admin-overview-card small {
  color: #8b8b8b;
  font-size: 0.92rem;
}

body.admin-ui .admin-overview-mini-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 243, 236, 0.9));
}

body.admin-ui .admin-overview-mini-card span {
  color: #7a6a54;
  font-size: 0.92rem;
  font-weight: 600;
}

body.admin-ui .admin-overview-mini-card strong {
  color: #171717;
  font-size: 1.6rem;
  line-height: 1;
}

body.admin-ui .admin-overview-chart {
  padding: 20px;
}

body.admin-ui .admin-overview-chart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

body.admin-ui .admin-overview-chart-head strong {
  color: #171717;
  font-size: 1.2rem;
}

body.admin-ui .admin-overview-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

body.admin-ui .admin-overview-bar-card {
  display: grid;
  gap: 10px;
}

body.admin-ui .admin-overview-bar-value,
body.admin-ui .admin-overview-bar-card span {
  color: #171717;
  font-size: 0.96rem;
}

body.admin-ui .admin-overview-bar-track {
  display: flex;
  align-items: end;
  min-height: 190px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.04), rgba(23, 23, 23, 0.01));
}

body.admin-ui .admin-overview-bar-fill {
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(180deg, #38bdf8, #0f766e);
}

@media (max-width: 1100px) {
  body.admin-ui .admin-overview-cards,
  body.admin-ui .admin-overview-secondary,
  body.admin-ui .admin-overview-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.admin-ui .admin-overview-head {
    flex-direction: column;
    align-items: start;
  }

  body.admin-ui .admin-overview-updated {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  body.admin-ui .admin-overview-cards,
  body.admin-ui .admin-overview-secondary,
  body.admin-ui .admin-overview-bars {
    grid-template-columns: 1fr;
  }
}

body.admin-ui .sales-toolbar-actions {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  grid-template-columns: none !important;
}

body.admin-ui .sales-filter-panel {
  display: grid;
  gap: 18px;
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

body.admin-ui .sales-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

body.admin-ui .orders-debug {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
  color: #4b5563;
  font-size: 0.98rem;
}

.admin-trash-products {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.04);
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.admin-trash-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: #9ca3af;
}

.admin-trash-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.admin-trash-copy {
  flex: 1;
  min-width: 0;
}

.admin-trash-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.admin-trash-head strong {
  font-size: 20px;
}

.admin-trash-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-trash-customer {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.4;
}

.admin-trash-products {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.035);
  color: #374151;
  line-height: 1.55;
  font-size: 14px;
}

.admin-trash-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1;
}

.admin-trash-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-trash-item {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.pix-result-box {
  margin-top: 12px;
}

/* Trash panels refinement */
body.admin-ui .admin-products-trash,
body.admin-ui .admin-orders-trash {
  margin: 0 0 24px !important;
  padding: 18px 22px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 250, 251, 0.94) 100%) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

body.admin-ui .admin-trash-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

body.admin-ui .admin-trash-heading-copy {
  min-width: 0;
}

body.admin-ui .admin-trash-head strong {
  display: block !important;
  margin: 0 !important;
  font-size: 1.08rem !important;
  color: #111827 !important;
}

body.admin-ui .admin-trash-subtitle {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.45;
}

body.admin-ui .admin-trash-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  font-size: 0.92rem;
  font-weight: 700;
}

body.admin-ui .admin-trash-list {
  display: grid !important;
  gap: 12px !important;
}

body.admin-ui .admin-trash-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 16px !important;
  align-items: center !important;
  padding: 14px 0 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

body.admin-ui .admin-trash-copy {
  min-width: 0;
}

body.admin-ui .admin-trash-item strong {
  font-size: 1.04rem !important;
  line-height: 1.25 !important;
}

body.admin-ui .admin-trash-customer,
body.admin-ui .admin-trash-item p {
  color: #6b7280 !important;
  font-size: 0.96rem !important;
  line-height: 1.5 !important;
}

body.admin-ui .admin-trash-products {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  color: #374151 !important;
  font-size: 0.93rem !important;
}

body.admin-ui .admin-trash-meta {
  margin-top: 10px;
  color: #9ca3af;
  font-size: 0.82rem;
}

body.admin-ui .admin-trash-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

body.admin-ui .admin-trash-actions .admin-button {
  min-height: 38px !important;
  padding: 0 14px !important;
}

body.admin-ui .admin-trash-empty {
  padding: 10px 0 2px;
  color: #6b7280;
}

body.admin-ui .admin-trash-empty strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 1rem;
}

body.admin-ui .admin-trash-empty p {
  margin: 0;
  color: #6b7280;
  font-size: 0.94rem;
  line-height: 1.5;
}

body.admin-ui .admin-products-trash.is-empty,
body.admin-ui .admin-orders-trash.is-empty {
  padding-bottom: 16px !important;
}

@media (max-width: 900px) {
  body.admin-ui .admin-trash-head {
    grid-template-columns: 1fr auto !important;
  }

  body.admin-ui .admin-trash-badge {
    order: 3;
    justify-self: start;
  }

  body.admin-ui .admin-trash-item {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  body.admin-ui .admin-trash-actions {
    justify-content: flex-start !important;
  }
}

#paymentBrick_container {
  min-height: 760px;
}

.payment-brick-shell {
  padding-bottom: 18px;
}

.checkout-page-shell {
  width: min(1440px, calc(100% - 40px));
}

.checkout-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 380px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.checkout-page-main,
.checkout-page-sidebar {
  min-width: 0;
}

.checkout-page-panel,
.checkout-summary-card {
  padding: 24px;
}

.checkout-page-form,
.checkout-page-review,
.checkout-page-brick {
  margin-top: 20px;
}

.checkout-page-review,
.checkout-page-brick {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.checkout-page-totals {
  margin-top: 18px;
}

.checkout-summary-lines {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.checkout-summary-item span:last-child {
  white-space: nowrap;
}

.checkout-page-shipping-label {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

#paymentBrick_container {
  min-height: 420px;
}

.pix-result-box {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .checkout-page-layout {
    grid-template-columns: 1fr;
  }

  .checkout-page-sidebar {
    order: -1;
  }

  #paymentBrick_container {
    min-height: 680px;
  }
}

.checkout-page-panel {
  max-height: calc(100vh - 140px);
  overflow: auto;
}

.checkout-page-form {
  display: grid;
  gap: 14px;
}

.checkout-page-form label {
  display: grid;
  gap: 6px;
}

.checkout-page-review {
  margin-top: 18px;
}

.checkout-page-review .review-block {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  margin-top: 12px;
}

/* ===== CHECKOUT PAYMENT FINAL ===== */

.checkout-page-brick {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  justify-items: start;
}

#paymentBrick_container {
  width: 100%;
  max-width: 480px;
  min-height: 340px;
  border-radius: 20px;
  overflow: hidden;
  background: #08090c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.pix-result-box {
  width: 100%;
  max-width: 480px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  #paymentBrick_container,
  .pix-result-box {
    max-width: 100%;
  }
}

body.admin-ui .admin-trash-panel {
  display: grid;
  gap: 18px;
}

body.admin-ui .admin-trash-page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.admin-ui .admin-trash-page-head h2 {
  margin: 6px 0 0;
  font-size: 2rem;
}

body.admin-ui .admin-trash-page-head p {
  margin: 8px 0 0;
  color: #6b7280;
  line-height: 1.6;
}

body.admin-ui .admin-trash-view-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.admin-ui .admin-trash-view-tab {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #475569;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.admin-ui .admin-trash-view-tab.is-active {
  background: #111111;
  border-color: #111111;
  color: #fff;
}

body.admin-ui .admin-trash-workspace {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  padding: 22px 24px;
}

body.admin-ui .admin-trash-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body.admin-ui .admin-trash-selectall {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-size: 0.98rem;
}

body.admin-ui .admin-trash-selectall input {
  width: 16px;
  height: 16px;
}

body.admin-ui .admin-trash-check {
  display: inline-flex;
  align-items: start;
  justify-content: center;
  padding-top: 2px;
}

body.admin-ui .admin-trash-check input {
  width: 16px;
  height: 16px;
}

body.admin-ui .admin-trash-item {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}

@media (max-width: 900px) {
  body.admin-ui .admin-trash-page-head,
  body.admin-ui .admin-trash-toolbar {
    align-items: start;
    flex-direction: column;
  }

  body.admin-ui .admin-trash-item {
    grid-template-columns: 1fr !important;
  }

  body.admin-ui .admin-trash-check {
    justify-content: flex-start;
  }
}

/* Pix payment page */
.pix-page {
  min-height: 100vh;
  background: #050506;
  color: #f5f5f5;
}

.pix-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.pix-back-link {
  display: inline-flex;
  color: #d8d8d8;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 28px;
}

.pix-hero,
.pix-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.pix-hero {
  margin-bottom: 24px;
}

.pix-copy,
.pix-status-card,
.pix-payment-card,
.pix-order-card,
.pix-empty {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border-radius: 8px;
}

.pix-copy {
  padding: clamp(28px, 5vw, 56px);
}

.pix-copy h1,
.pix-empty h1 {
  margin: 10px 0 16px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.9;
}

.pix-copy p,
.pix-empty p,
.pix-steps,
.pix-item span,
.pix-totals span {
  color: #b9b9c2;
}

.pix-status-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.pix-status-card span,
.pix-code-label {
  color: #a4a4ae;
  font-size: 0.86rem;
  font-weight: 700;
}

.pix-status-card strong {
  font-size: 1.45rem;
}

.pix-payment-card,
.pix-order-card,
.pix-empty {
  padding: clamp(24px, 4vw, 36px);
}

.pix-qr-wrap {
  min-height: 300px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: #111;
  margin-bottom: 22px;
  overflow: hidden;
}

.pix-qr-wrap img {
  width: min(300px, 84vw);
  height: auto;
  display: block;
}

.pix-code-label {
  display: block;
  margin-bottom: 10px;
}

.pix-payment-card textarea {
  width: 100%;
  min-height: 128px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #08090d;
  color: #fff;
  padding: 16px;
  font: 700 0.95rem/1.5 Consolas, monospace;
}

.pix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.pix-order-card h2 {
  margin: 10px 0 24px;
  font-size: clamp(32px, 5vw, 54px);
}

.pix-items {
  display: grid;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pix-item,
.pix-totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.pix-totals {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pix-totals div:last-child strong {
  font-size: 1.5rem;
}

.pix-steps {
  margin: 22px 0 0;
  padding-left: 20px;
  line-height: 1.8;
}

.pix-empty {
  text-align: center;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  background: #f4f4f4;
  color: #111;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 800;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 860px) {
  .pix-hero,
  .pix-layout {
    grid-template-columns: 1fr;
  }

  .pix-shell {
    width: min(100% - 20px, 620px);
    padding-top: 24px;
  }
}

.shipping-options {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.shipping-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
}

.shipping-option:hover,
.shipping-option:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.shipping-option strong,
.shipping-option span {
  display: block;
}

.shipping-option span {
  color: #b9b9c2;
  font-size: 0.92rem;
}

/* Shipping quote cards */
.cart-drawer .shipping-result,
.cart-panel .shipping-result {
  color: #b9b9c2;
  line-height: 1.45;
}

.cart-drawer .shipping-options,
.cart-panel .shipping-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
}

.cart-drawer .shipping-option,
.cart-panel .shipping-option {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #f7f7f8;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  cursor: pointer;
}

.cart-drawer .shipping-option:hover,
.cart-drawer .shipping-option:focus-visible,
.cart-panel .shipping-option:hover,
.cart-panel .shipping-option:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.075);
}

.cart-drawer .shipping-option strong,
.cart-panel .shipping-option strong {
  min-width: 0;
  display: block;
  color: #f7f7f8;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.cart-drawer .shipping-option span,
.cart-panel .shipping-option span {
  display: block;
  color: #c6c6ce;
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
  word-break: normal;
}

/* Shipping choices - cart and checkout */
.drawer-panel .shipping-result,
.checkout-page-shipping-label {
  color: #b9b9c2;
  line-height: 1.45;
}

.drawer-panel .shipping-options,
.checkout-page-shipping-label .shipping-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
}

.drawer-panel .shipping-option,
.checkout-page-shipping-label .shipping-option {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  column-gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #f7f7f8;
  text-align: left;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  cursor: pointer;
}

.drawer-panel .shipping-option:hover,
.drawer-panel .shipping-option:focus-visible,
.checkout-page-shipping-label .shipping-option:hover,
.checkout-page-shipping-label .shipping-option:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.drawer-panel .shipping-option strong,
.checkout-page-shipping-label .shipping-option strong {
  min-width: 0;
  display: block;
  color: #f7f7f8;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.drawer-panel .shipping-option span,
.checkout-page-shipping-label .shipping-option span {
  display: block;
  color: #c6c6ce;
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap !important;
  word-break: normal !important;
}

.checkout-page-shipping-label .shipping-option.is-selected,
.drawer-panel .shipping-option.is-selected {
  border-color: rgba(180, 255, 230, 0.6);
  background: rgba(106, 255, 201, 0.08);
}

/* Mercado Pago Brick visual cleanup */
.checkout-page-brick {
  background: transparent;
}

#paymentBrick_container {
  background: #08090c !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

#paymentBrick_container,
#paymentBrick_container * {
  box-sizing: border-box;
}

#paymentBrick_container [class*="Brick"],
#paymentBrick_container [class*="brick"],
#paymentBrick_container [class*="Container"],
#paymentBrick_container [class*="container"],
#paymentBrick_container [class*="payment-method"],
#paymentBrick_container [class*="PaymentMethod"],
#paymentBrick_container [class*="accordion"],
#paymentBrick_container [class*="Accordion"] {
  background-color: #08090c !important;
}

#paymentBrick_container [class*="Row"],
#paymentBrick_container [class*="row"],
#paymentBrick_container [class*="Item"],
#paymentBrick_container [class*="item"] {
  background-color: #08090c !important;
}
/* Ajustes finais de frete e checkout */
.shipping-options-title {
  display: block;
  margin-bottom: 10px;
  color: #b9b9c2;
}

.drawer-panel .shipping-options,
.cart-drawer .shipping-options,
.cart-panel .shipping-options,
.checkout-page-shipping-label .shipping-options {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  width: 100% !important;
}

.drawer-panel .shipping-option,
.cart-drawer .shipping-option,
.cart-panel .shipping-option,
.checkout-page-shipping-label .shipping-option {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 66px !important;
  padding: 14px 16px !important;
  text-align: left !important;
  overflow: hidden !important;
}

.drawer-panel .shipping-option strong,
.cart-drawer .shipping-option strong,
.cart-panel .shipping-option strong,
.checkout-page-shipping-label .shipping-option strong {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.drawer-panel .shipping-option span,
.cart-drawer .shipping-option span,
.cart-panel .shipping-option span,
.checkout-page-shipping-label .shipping-option span {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  text-align: right !important;
}

.drawer-panel .shipping-option.is-selected,
.cart-drawer .shipping-option.is-selected,
.cart-panel .shipping-option.is-selected,
.checkout-page-shipping-label .shipping-option.is-selected {
  border-color: rgba(220, 224, 232, 0.85) !important;
  background: rgba(220, 224, 232, 0.12) !important;
}

.checkout-page-brick,
.payment-brick-shell,
#paymentBrick_container {
  background: transparent !important;
}

/* Checkout Pix direto */
.checkout-payment-panel {
  display: grid;
  gap: 12px;
  background: transparent !important;
}

.checkout-payment-panel h3 {
  margin: 0;
  color: var(--text);
}

.checkout-payment-copy,
.checkout-payment-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-pix-button {
  width: min(260px, 100%);
  min-height: 48px;
  color: #050507 !important;
  justify-self: start;
}

.checkout-pix-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

/* Pix page polish */
.pix-page {
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.055), transparent 32%),
    #050506;
}

.pix-shell {
  width: min(1040px, calc(100% - 32px));
  padding: 32px 0 56px;
}

.pix-back-link {
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: #f1f1f1;
}

.pix-hero,
.pix-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
}

.pix-copy,
.pix-status-card,
.pix-payment-card,
.pix-order-card,
.pix-empty {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.pix-copy {
  padding: clamp(28px, 4vw, 44px);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pix-copy h1,
.pix-empty h1 {
  max-width: 8.5em;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.95;
}

.pix-copy p {
  max-width: 640px;
  font-size: 1rem;
}

.pix-status-card {
  min-height: 160px;
  justify-content: center;
}

.pix-payment-card,
.pix-order-card {
  padding: clamp(24px, 3vw, 30px);
}

.pix-qr-wrap {
  min-height: auto;
  padding: clamp(18px, 3vw, 28px);
  background: #f7f7f5;
}

.pix-qr-wrap img {
  width: min(280px, 70vw);
}

.pix-payment-card textarea {
  min-height: 104px;
  max-height: 150px;
  overflow: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pix-order-card h2 {
  margin: 8px 0 20px;
  font-family: var(--font-title);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.pix-item strong,
.pix-totals strong {
  white-space: nowrap;
}

.pix-steps {
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .pix-hero,
  .pix-layout {
    grid-template-columns: 1fr;
  }

  .pix-copy h1,
  .pix-empty h1 {
    font-size: clamp(38px, 12vw, 58px);
  }
}

/* Pix page final compact layout */
.pix-hero,
.pix-layout {
  align-items: start;
}

.pix-status-card {
  min-height: 0;
  padding: 28px 30px;
  align-self: start;
}

.pix-status-card span {
  letter-spacing: 0;
  text-transform: none;
}

.pix-status-card strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
}

.pix-status-card strong::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #79f2b0;
  box-shadow: 0 0 18px rgba(121, 242, 176, 0.55);
}

.pix-order-card {
  align-self: start;
}

.pix-order-card h2 {
  font-size: clamp(28px, 2.4vw, 36px);
  margin-bottom: 18px;
}

.pix-steps {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pix-payment-card {
  display: grid;
}

.pix-qr-wrap {
  margin-bottom: 18px;
}

.pix-code-label {
  margin-top: 2px;
}

/* Pix page v2 */
.pix-page-v2 {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.09), transparent 34%),
    linear-gradient(180deg, #080809 0%, #020203 100%);
}

.pix-shell-v2 {
  width: min(1100px, calc(100% - 36px));
  padding: 28px 0 54px;
}

.pix-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.pix-page-v2 .pix-back-link {
  margin: 0;
  color: #f6f6f6;
  font-size: 0.92rem;
}

.pix-mini-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #f7f7f7;
  font-weight: 800;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.pix-mini-status span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #75f0a9;
  box-shadow: 0 0 18px rgba(117, 240, 169, 0.7);
}

.pix-panel {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)),
    #08090b;
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.pix-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: 26px;
  align-items: end;
  padding: clamp(28px, 5vw, 52px) clamp(24px, 5vw, 56px) 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.pix-panel-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

.pix-panel-head h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
}

.pix-panel-head p {
  margin: 0;
  max-width: 430px;
  color: #c4c4cc;
  font-size: 1rem;
  line-height: 1.65;
}

.pix-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  gap: 0;
}

.pix-payment-card-v2,
.pix-order-card-v2 {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pix-payment-card-v2 {
  padding: clamp(24px, 4vw, 42px) clamp(24px, 5vw, 56px) clamp(28px, 5vw, 50px);
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.pix-order-card-v2 {
  padding: clamp(24px, 4vw, 42px);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pix-page-v2 .pix-qr-frame {
  padding: clamp(16px, 3vw, 24px);
  border-radius: 8px;
  background: #f3f3f0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), 0 24px 70px rgba(0, 0, 0, 0.28);
  margin-bottom: 20px;
}

.pix-page-v2 .pix-qr-wrap {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 4px;
}

.pix-page-v2 .pix-qr-wrap img {
  width: min(260px, 58vw);
  padding: 14px;
  background: #fff;
}

.pix-page-v2 .pix-code-label {
  color: #efeff2;
  font-size: 0.9rem;
}

.pix-page-v2 .pix-payment-card textarea {
  min-height: 94px;
  max-height: 112px;
  background: #050609;
  border-color: rgba(255, 255, 255, 0.13);
  color: #f7f7f7;
  font-size: 0.82rem;
  line-height: 1.55;
}

.pix-page-v2 .pix-actions {
  margin-top: 16px;
}

.pix-page-v2 .primary-button,
.pix-page-v2 .secondary-button {
  min-height: 48px;
  border-radius: 999px;
}

.pix-order-card-v2 .eyebrow {
  color: #d7d7dd;
}

.pix-order-card-v2 h2 {
  margin: 10px 0 22px;
  font-family: var(--font-body);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.08;
}

.pix-page-v2 .pix-items {
  gap: 12px;
  padding-bottom: 18px;
}

.pix-page-v2 .pix-item,
.pix-page-v2 .pix-totals div {
  align-items: baseline;
}

.pix-page-v2 .pix-totals {
  padding: 18px 0;
}

.pix-page-v2 .pix-totals div:last-child {
  margin-top: 4px;
}

.pix-page-v2 .pix-totals div:last-child span,
.pix-page-v2 .pix-totals div:last-child strong {
  color: #fff;
  font-size: 1.35rem;
}

.pix-page-v2 .pix-steps {
  margin-top: 16px;
  padding: 16px 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #c7c7cf;
  line-height: 1.75;
}

@media (max-width: 880px) {
  .pix-topbar,
  .pix-panel-head,
  .pix-panel-grid {
    grid-template-columns: 1fr;
  }

  .pix-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .pix-panel-head {
    gap: 18px;
  }

  .pix-panel-head .eyebrow {
    margin-bottom: 0;
  }

  .pix-payment-card-v2 {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }
}

/* Pix page v3 boutique receipt */
.pix-page-v3 {
  min-height: 100vh;
  color: #f6f3ee;
  background:
    radial-gradient(circle at 26% 0%, rgba(202, 188, 156, 0.14), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.055), transparent 26%),
    linear-gradient(180deg, #060607 0%, #010101 100%);
}

.pix-shell-v3 {
  width: min(1120px, calc(100% - 36px));
  padding: 30px 0 60px;
}

.pix-topbar-v3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pix-page-v3 .pix-back-link {
  margin: 0;
  color: #f7f3ec;
  text-decoration: none;
  font-size: 0.95rem;
}

.pix-page-v3 .pix-mini-status {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.pix-receipt {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    #080808;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.pix-receipt-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 34px;
  align-items: end;
  padding: clamp(30px, 5vw, 58px) clamp(26px, 5vw, 62px) 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pix-receipt-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -22px;
  color: #c7b692;
}

.pix-receipt-head h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.9;
  letter-spacing: 0;
}

.pix-receipt-head p {
  margin: 0;
  color: #c8c3bb;
  font-size: 1rem;
  line-height: 1.7;
}

.pix-receipt-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.5fr);
  gap: 0;
}

.pix-qr-section {
  padding: clamp(26px, 5vw, 54px) clamp(26px, 5vw, 62px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pix-qr-stage {
  display: grid;
  place-items: center;
  min-height: 340px;
  margin-bottom: 22px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #f8f7f2, #e9e5dc);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07);
}

.pix-page-v3 .pix-qr-wrap {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 4px;
  min-height: 0;
}

.pix-page-v3 .pix-qr-wrap img {
  width: min(286px, 66vw);
  padding: 14px;
  display: block;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.pix-page-v3 .pix-code-label {
  color: #f2eee7;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.pix-page-v3 .pix-payment-card textarea,
.pix-page-v3 .pix-qr-section textarea {
  width: 100%;
  min-height: 88px;
  max-height: 112px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  padding: 14px;
  font: 700 0.82rem/1.55 Consolas, monospace;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pix-actions-v3 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.pix-page-v3 .primary-button,
.pix-page-v3 .secondary-button {
  min-height: 48px;
  border-radius: 999px;
}

.pix-summary-section {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
}

.pix-summary-card,
.pix-help-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 22px;
}

.pix-summary-card .eyebrow {
  color: #c7b692;
}

.pix-summary-card h2 {
  margin: 10px 0 20px;
  font-family: var(--font-body);
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.05;
}

.pix-page-v3 .pix-items {
  display: grid;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pix-page-v3 .pix-item,
.pix-page-v3 .pix-totals div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.pix-page-v3 .pix-item span,
.pix-page-v3 .pix-totals span {
  color: #c9c4bd;
}

.pix-page-v3 .pix-item strong,
.pix-page-v3 .pix-totals strong {
  color: #fff;
  white-space: nowrap;
}

.pix-page-v3 .pix-totals {
  display: grid;
  gap: 12px;
  padding: 16px 0 0;
  border: 0;
}

.pix-page-v3 .pix-totals div:last-child {
  padding-top: 12px;
  margin-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pix-page-v3 .pix-totals div:last-child span,
.pix-page-v3 .pix-totals div:last-child strong {
  font-size: 1.28rem;
}

.pix-help-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.pix-page-v3 .pix-steps {
  margin: 0;
  padding-left: 18px;
  color: #c9c4bd;
  line-height: 1.8;
  border: 0;
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .pix-topbar-v3,
  .pix-receipt-head,
  .pix-receipt-body {
    grid-template-columns: 1fr;
  }

  .pix-topbar-v3 {
    flex-direction: column;
    align-items: flex-start;
  }

  .pix-receipt-head .eyebrow {
    margin-bottom: 0;
  }

  .pix-qr-section {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .pix-qr-stage {
    min-height: 280px;
  }
}

.maintenance-page {
  min-height: 100vh;
  margin: 0;
  background: #050506;
  color: #f6f6f6;
}

.maintenance-screen-static {
  min-height: 100vh;
}

.maintenance-screen {
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #070708 0%, #020203 100%);
  color: #f6f6f6;
}

.maintenance-card {
  width: min(100%, 560px);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(14, 15, 18, 0.96), rgba(5, 5, 6, 0.98));
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.65);
}

.maintenance-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
  font-family: "Breathing", "Bodoni FLF", serif;
  font-size: 42px;
  line-height: 1;
}

.maintenance-brand img {
  width: 36px;
  height: 56px;
  object-fit: contain;
}

.maintenance-card .eyebrow {
  margin: 0 0 12px;
  color: #b8bfd2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.maintenance-card h1 {
  margin: 0;
  font-family: "Bodoni FLF", Georgia, serif;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.94;
  letter-spacing: 0;
}

.maintenance-copy {
  max-width: 440px;
  margin: 22px 0 28px;
  color: #c6c8d0;
  font-size: 16px;
  line-height: 1.65;
}

.maintenance-form {
  display: grid;
  gap: 16px;
}

.maintenance-form label {
  display: grid;
  gap: 8px;
  color: #d7d8de;
  font-size: 14px;
  font-weight: 800;
}

.maintenance-form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #0a0b0e;
  color: #ffffff;
  font: inherit;
  outline: none;
}

.maintenance-form input:focus {
  border-color: rgba(255, 255, 255, 0.48);
}

.maintenance-error {
  margin: 0;
  color: #ff9aaa;
  font-size: 14px;
  font-weight: 800;
}

.maintenance-form button {
  height: 54px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #bfc3cb 52%, #f7f7f7);
  color: #050506;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(255, 255, 255, 0.12);
}

@media (max-width: 620px) {
  .maintenance-card {
    padding: 30px 22px;
  }

  .maintenance-brand {
    font-size: 34px;
  }
}

/* Mobile hardening - loja, carrinho, checkout e Pix */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-shell,
  .checkout-page-shell,
  .pix-shell-v3,
  .pix-shell-v2 {
    width: min(100% - 20px, 1380px) !important;
  }

  .site-header,
  .hero-card,
  .products-section,
  .contact-section {
    border-radius: 8px !important;
  }

  .site-header {
    padding: 18px !important;
  }

  .header-inner,
  .brand-row,
  .store-nav {
    min-width: 0;
  }

  .brand-logo,
  .brand-wordmark,
  .brand img {
    max-width: 100%;
    height: auto;
  }

  .store-nav {
    gap: 12px !important;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .store-nav a,
  .store-nav button,
  .nav-link,
  .cart-button,
  .account-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero-card,
  .featured-card,
  .product-detail,
  .contact-section,
  .checkout-page-layout,
  .pix-receipt-head,
  .pix-receipt-body {
    grid-template-columns: 1fr !important;
  }

  .hero-copy,
  .featured-copy,
  .product-detail-copy,
  .contact-copy {
    min-width: 0;
  }

  .hero-title,
  .featured-title,
  .product-detail-title {
    overflow-wrap: anywhere;
  }

  .hero-media,
  .featured-media,
  .product-detail-media,
  .product-image,
  .product-photo,
  .image-frame {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-media img,
  .featured-media img,
  .product-detail-media img,
  .product-image img,
  .product-photo img,
  .image-frame img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
  }

  .product-grid,
  .products-grid,
  .collection-grid {
    grid-template-columns: 1fr !important;
  }

  .product-card,
  .product-card * {
    min-width: 0;
  }

  .drawer-panel {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    border-radius: 0 !important;
    padding: 24px 18px !important;
  }

  .drawer-head h2 {
    font-size: clamp(40px, 13vw, 58px) !important;
    line-height: 0.95;
  }

  .cart-line,
  .cart-item,
  .cart-summary-row,
  .checkout-review-card {
    min-width: 0;
  }

  .checkout-grid,
  .checkout-form-grid,
  .customer-grid,
  .address-grid {
    grid-template-columns: 1fr !important;
  }

  .shipping-options,
  .drawer-panel .shipping-options,
  .cart-drawer .shipping-options,
  .cart-panel .shipping-options,
  .checkout-page-shipping-label .shipping-options {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .shipping-option,
  .drawer-panel .shipping-option,
  .cart-drawer .shipping-option,
  .cart-panel .shipping-option,
  .checkout-page-shipping-label .shipping-option {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 68px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .shipping-option strong,
  .drawer-panel .shipping-option strong,
  .cart-drawer .shipping-option strong,
  .cart-panel .shipping-option strong,
  .checkout-page-shipping-label .shipping-option strong {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    display: block !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.25 !important;
  }

  .shipping-option span,
  .drawer-panel .shipping-option span,
  .cart-drawer .shipping-option span,
  .cart-panel .shipping-option span,
  .checkout-page-shipping-label .shipping-option span {
    min-width: max-content !important;
    display: block !important;
    white-space: nowrap !important;
    text-align: right !important;
    line-height: 1.25 !important;
  }

  .checkout-page-main,
  .checkout-page-panel,
  .checkout-page-sidebar,
  .checkout-summary-card,
  .payment-section,
  .checkout-page-brick {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .payment-section {
    background: transparent !important;
  }

  .checkout-page-sidebar {
    position: static !important;
  }
}

@media (max-width: 520px) {
  .page-shell,
  .checkout-page-shell,
  .pix-shell-v3,
  .pix-shell-v2 {
    width: min(100% - 16px, 1380px) !important;
  }

  .site-header,
  .hero-card,
  .products-section,
  .contact-section,
  .checkout-page-panel,
  .checkout-summary-card,
  .payment-section,
  .pix-receipt-head,
  .pix-qr-section,
  .pix-summary-card,
  .pix-help-card {
    padding: 20px !important;
  }

  .section-title,
  .hero-title,
  .featured-title,
  .product-detail-title,
  .checkout-page-title,
  .pix-receipt-title,
  .pix-receipt-head h1 {
    font-size: clamp(38px, 13vw, 58px) !important;
    line-height: 0.98 !important;
  }

  .product-card-title-row,
  .product-meta,
  .summary-row,
  .cart-summary-row {
    gap: 10px !important;
  }

  .shipping-option,
  .drawer-panel .shipping-option,
  .cart-drawer .shipping-option,
  .cart-panel .shipping-option,
  .checkout-page-shipping-label .shipping-option {
    grid-template-columns: 1fr !important;
  }

  .shipping-option span,
  .drawer-panel .shipping-option span,
  .cart-drawer .shipping-option span,
  .cart-panel .shipping-option span,
  .checkout-page-shipping-label .shipping-option span {
    min-width: 0 !important;
    white-space: normal !important;
    text-align: left !important;
  }

  .pix-page-v3 .pix-qr-wrap img,
  .pix-qr-wrap img,
  .pix-qr-image {
    width: min(250px, 74vw) !important;
    height: auto !important;
  }

  .pix-copy-code,
  .pix-page-v3 textarea,
  textarea[data-pix-code] {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 12px !important;
    overflow-wrap: anywhere;
  }

  .admin-sidebar,
  body.admin-ui .admin-sidebar {
    position: static !important;
    width: 100% !important;
  }

  body.admin-ui .admin-layout,
  body.admin-ui .admin-main,
  body.admin-ui .admin-workspace,
  body.admin-ui .admin-products-layout,
  body.admin-ui .admin-trash-layout {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
}
