:root {
  --bg: #040612;
  --bg-alt: #0b1024;
  --surface: rgba(13, 18, 38, 0.8);
  --surface-strong: #111733;
  --text: #f3f5ff;
  --muted: #a5afcf;
  --primary: #7f4dff;
  --primary-soft: #9f74ff;
  --secondary: #2db4ff;
  --line: rgba(151, 172, 255, 0.22);
  --success: #4fd88d;
  --danger: #ff6e6e;
  --shadow: 0 16px 45px rgba(3, 6, 18, 0.55);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(127, 77, 255, 0.4), transparent 30%),
    radial-gradient(circle at 10% 72%, rgba(45, 180, 255, 0.18), transparent 34%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 65%, var(--bg-alt) 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(10px);
  background: rgba(5, 8, 20, 0.72);
  border-bottom: 1px solid rgba(144, 160, 255, 0.16);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 0 0 18px rgba(127, 77, 255, 0.36);
}

.brand-mark {
  font-size: 1.25rem;
  color: var(--primary-soft);
}

.brand-mark-svg {
  display: inline-block;
  background: var(--logo-color, #f3f5ff);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.brand strong {
  color: var(--primary-soft);
}

.menu-toggle {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 1.2rem;
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  color: #c9d2ef;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.45px;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(15, 22, 46, 0.5);
  color: #eef2ff;
}

.icon-btn:hover {
  background: rgba(127, 77, 255, 0.18);
}

.icon-cart {
  width: 42px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
}

body[data-theme-preset="claro"] .header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
}

body[data-theme-preset="claro"] .brand {
  color: #0f172a;
  text-shadow: none;
}

body[data-theme-preset="claro"] .brand strong,
body[data-theme-preset="claro"] .brand-mark {
  color: #2563eb;
}

body[data-theme-preset="claro"] .nav-link {
  color: #334155;
}

body[data-theme-preset="claro"] .nav-link:hover,
body[data-theme-preset="claro"] .nav-link.active {
  color: #0f172a;
}

body[data-theme-preset="claro"] .icon-btn,
body[data-theme-preset="claro"] .menu-toggle,
body[data-theme-preset="claro"] .header .icon-cart {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: none;
}

body[data-theme-preset="claro"] .icon-btn:hover,
body[data-theme-preset="claro"] .menu-toggle:hover,
body[data-theme-preset="claro"] .header .icon-cart:hover {
  background: #e2e8f0;
}

body[data-theme-preset="claro"] .filters,
body[data-theme-preset="claro"] .form-wrap,
body[data-theme-preset="claro"] .admin-tools,
body[data-theme-preset="claro"] .admin-panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

body[data-theme-preset="claro"] .card,
body[data-theme-preset="claro"] .item-row,
body[data-theme-preset="claro"] .cart-item {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body[data-theme-preset="claro"] .product-image {
  background: #e2e8f0;
}

body[data-theme-preset="claro"] .field label,
body[data-theme-preset="claro"] .filters h3,
body[data-theme-preset="claro"] .product-title,
body[data-theme-preset="claro"] .price,
body[data-theme-preset="claro"] .inline strong,
body[data-theme-preset="claro"] .cart-head strong,
body[data-theme-preset="claro"] .cart-foot strong {
  color: #0f172a;
}

body[data-theme-preset="claro"] .meta,
body[data-theme-preset="claro"] .section-sub {
  color: #475569;
}

body[data-theme-preset="claro"] .price {
  color: #1d4ed8;
}

body[data-theme-preset="claro"] .field input,
body[data-theme-preset="claro"] .field select,
body[data-theme-preset="claro"] .field textarea,
body[data-theme-preset="claro"] .admin-search {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

body[data-theme-preset="claro"] .field input:focus,
body[data-theme-preset="claro"] .field select:focus,
body[data-theme-preset="claro"] .field textarea:focus,
body[data-theme-preset="claro"] .admin-search:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

body[data-theme-preset="claro"] .btn.ghost,
body[data-theme-preset="claro"] .pagination .btn {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

body[data-theme-preset="claro"] .btn.ghost:hover,
body[data-theme-preset="claro"] .pagination .btn:hover {
  background: #e2e8f0;
}

body[data-theme-preset="claro"] .badge {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.28);
  color: #1e3a8a;
}

body[data-theme-preset="claro"] .cart-drawer {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  border-left-color: #cbd5e1;
}

body[data-theme-preset="claro"] .cart-head,
body[data-theme-preset="claro"] .cart-foot {
  border-color: #cbd5e1;
}

body[data-theme-preset="claro"] .transfer-info {
  border-color: #cbd5e1;
  background: #f8fafc;
}

body[data-theme-preset="claro"] .transfer-info strong {
  color: #0f172a;
}

body[data-theme-preset="claro"] .transfer-info p {
  color: #334155;
}

body[data-theme-preset="claro"] .transfer-info p span {
  color: #0f172a;
  font-weight: 600;
}

body[data-theme-preset="claro"] #checkoutNotice {
  color: #334155;
}

body[data-theme-preset="claro"] .cart-foot hr {
  border-top-color: #cbd5e1 !important;
}

body[data-theme-preset="claro"] .cart-foot .btn.primary {
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

body[data-theme-preset="claro"] .cart-item-price,
body[data-theme-preset="claro"] .cart-item label {
  color: #0f172a;
}

body[data-theme-preset="claro"] .cta-ribbon {
  background: linear-gradient(95deg, #eef4ff, #e6eefb);
  border-color: #cbd5e1;
}

body[data-theme-preset="claro"] .cta-ribbon strong,
body[data-theme-preset="claro"] .cta-ribbon p {
  color: #0f172a;
}

body[data-theme-preset="claro"] .trust-strip {
  background: rgba(255, 255, 255, 0.92);
  border-color: #cbd5e1;
}

body[data-theme-preset="claro"] .trust-item {
  border-right-color: #dbe4f0;
}

body[data-theme-preset="claro"] .trust-item strong {
  color: #0f172a;
}

body[data-theme-preset="claro"] .trust-item span,
body[data-theme-preset="claro"] .hero-micro-features span {
  color: #475569;
}

.btn,
button,
input,
select,
textarea {
  font: inherit;
}

.btn {
  border: 1px solid transparent;
  background: #121937;
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  color: #edf1ff;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(125deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 10px 24px rgba(91, 98, 255, 0.35);
}

.btn.primary:hover {
  box-shadow: 0 14px 30px rgba(91, 98, 255, 0.42);
}

.btn.ghost {
  border-color: var(--line);
  background: rgba(15, 22, 46, 0.5);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(127, 77, 255, 0.14);
  border: 1px solid rgba(153, 170, 255, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  color: #d8e0ff;
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  right: -6px;
  top: -8px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(140deg, #f354ff, #6f7bff);
  color: #fff;
  font-size: 0.72rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.hero {
  padding: 2.2rem 0 0.85rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.08fr;
  gap: 1rem;
  align-items: stretch;
}

.landing-main {
  padding-bottom: 2rem;
}

.hero-copy.clean {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.hero-copy .kicker,
.kicker {
  margin: 0;
  color: #9f74ff;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(16, 23, 50, 0.84), rgba(9, 14, 34, 0.84));
  box-shadow: var(--shadow);
  padding: 1.7rem;
  animation: fadeInUp 0.7s ease;
}

.hero-card h2 {
  margin: 0.5rem 0 0.85rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.7px;
  font-size: 1.9rem;
}

.hero h1 {
  margin: 0.45rem 0 0.7rem;
  line-height: 0.94;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.9px;
  font-size: clamp(3.1rem, 7vw, 5.75rem);
}

.hero h1 .neon {
  color: var(--secondary);
}

.hero p {
  color: var(--muted);
  margin: 0 0 1.2rem;
  line-height: 1.6;
}

.hero-lead {
  max-width: 580px;
  font-size: 1.18rem;
  color: #c7d3fa;
}

.hero-buttons {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
}

.hero-buttons .btn {
  min-width: 195px;
  text-align: center;
}

.hero-micro-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-micro-features div {
  border-top: 1px solid rgba(154, 172, 255, 0.2);
  padding-top: 0.6rem;
}

.hero-micro-features strong {
  display: block;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.55px;
}

.hero-micro-features span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-image {
  height: 100%;
  min-height: 340px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(4, 7, 18, 0.04), rgba(4, 7, 18, 0.56)),
    url("https://images.unsplash.com/photo-1560972550-aba3456b5564?auto=format&fit=crop&w=1400&q=80") center / cover no-repeat;
  border: 1px solid rgba(154, 123, 255, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(239, 239, 255, 0.06),
    0 24px 55px rgba(12, 15, 35, 0.7);
}

.exact-visual {
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(3, 6, 14, 0.08), rgba(3, 6, 14, 0.64)),
    url("../../uploads/portada-goku.png") center right / cover no-repeat;
  overflow: hidden;
}

.hero-visual.exact-visual.hero-mask-soft-rounded {
  border-radius: 30px;
}

.hero-visual.exact-visual.hero-mask-vignette-fade {
  border-radius: 28px;
  -webkit-mask-image: radial-gradient(140% 120% at 50% 50%, #000 60%, rgba(0, 0, 0, 0.6) 78%, rgba(0, 0, 0, 0.15) 92%, transparent 100%);
  mask-image: radial-gradient(140% 120% at 50% 50%, #000 60%, rgba(0, 0, 0, 0.6) 78%, rgba(0, 0, 0, 0.15) 92%, transparent 100%);
}

.hero-visual.exact-visual.hero-mask-diagonal-fade {
  border-radius: 26px;
  -webkit-mask-image: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.3) 14%, #000 34%, #000 86%, rgba(0, 0, 0, 0.3) 96%, transparent 100%);
  mask-image: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.3) 14%, #000 34%, #000 86%, rgba(0, 0, 0, 0.3) 96%, transparent 100%);
}

.hero-visual.exact-visual.hero-mask-cinematic-fade {
  border-radius: 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 12%, #000 24%, #000 76%, rgba(0, 0, 0, 0.45) 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 12%, #000 24%, #000 76%, rgba(0, 0, 0, 0.45) 88%, transparent 100%);
}

.hero-visual.exact-visual.hero-mask-organic-blob {
  border-radius: 39% 61% 58% 42% / 46% 35% 65% 54%;
  -webkit-mask-image: radial-gradient(120% 120% at 52% 48%, #000 68%, rgba(0, 0, 0, 0.45) 84%, transparent 100%);
  mask-image: radial-gradient(120% 120% at 52% 48%, #000 68%, rgba(0, 0, 0, 0.45) 84%, transparent 100%);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.highlight {
  border: 1px solid rgba(168, 186, 255, 0.22);
  border-radius: 12px;
  background: rgba(20, 30, 64, 0.66);
  padding: 0.75rem;
}

.highlight small {
  color: var(--muted);
}

.trust-strip {
  margin-top: -1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 14, 33, 0.92);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.compact-strip {
  padding: 0;
}

.trust-item {
  padding: 1rem;
  border-right: 1px solid rgba(160, 177, 255, 0.12);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item strong {
  display: block;
  margin-bottom: 0.2rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.showcase-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.85rem;
}

.four-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-card {
  height: 180px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.showcase-1 {
  background-image: linear-gradient(180deg, rgba(7, 10, 22, 0.05), rgba(7, 10, 22, 0.42)), url("https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1000&q=80");
}

.showcase-2 {
  background-image: linear-gradient(180deg, rgba(7, 10, 22, 0.05), rgba(7, 10, 22, 0.42)), url("https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1000&q=80");
}

.showcase-3 {
  background-image: linear-gradient(180deg, rgba(7, 10, 22, 0.05), rgba(7, 10, 22, 0.42)), url("https://images.unsplash.com/photo-1552820728-8b83bb6b773f?auto=format&fit=crop&w=1000&q=80");
}

.showcase-4 {
  background-image: linear-gradient(180deg, rgba(7, 10, 22, 0.05), rgba(7, 10, 22, 0.42)), url("https://images.unsplash.com/photo-1603481546579-65d935ba9cdd?auto=format&fit=crop&w=1000&q=80");
}

.cta-ribbon {
  margin-top: 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(95deg, rgba(32, 20, 78, 0.92), rgba(16, 33, 80, 0.9));
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.exact-ribbon {
  margin-top: 0.6rem;
}

.exact-ribbon strong {
  font-size: 1.1rem;
}

.work-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.cta-ribbon p {
  margin: 0;
  color: #ced7fb;
}

.section {
  padding: 2.3rem 0;
}

.section h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.7px;
  margin: 0 0 0.65rem;
  font-size: 2.08rem;
}

.section p.section-sub {
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: var(--radius);
  background: rgba(15, 22, 47, 0.78);
  border: 1px solid rgba(151, 172, 255, 0.24);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 1rem;
}

.product-image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  background: #0d142f;
}

.product-title {
  margin: 0.4rem 0;
  font-size: 1.05rem;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.price {
  color: #a3dcff;
  font-weight: 700;
  margin: 0.55rem 0;
}

.form-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(11, 16, 36, 0.85);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: span 2;
}

.field label {
  font-size: 0.86rem;
  color: #d3dcff;
}

.field input,
.field select,
.field textarea {
  border: 1px solid rgba(162, 179, 255, 0.3);
  color: #edf2ff;
  background: rgba(14, 20, 46, 0.9);
  border-radius: 10px;
  min-height: 42px;
  padding: 0.58rem 0.7rem;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #7f4dff;
  box-shadow: 0 0 0 3px rgba(127, 77, 255, 0.2);
}

.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
}

.filters {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 14, 33, 0.9);
  padding: 1rem;
  height: fit-content;
  position: sticky;
  top: 92px;
}

.filters h3 {
  margin-top: 0;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.products-toolbar .field {
  flex: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.admin-tools {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 14, 33, 0.78);
  padding: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.admin-tools-left {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.admin-tools-right {
  display: flex;
  align-items: center;
}

.admin-page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.admin-content-grid {
  display: grid;
  gap: 1rem;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 14, 33, 0.62);
  padding: 0.85rem;
}

.admin-panel {
  display: none;
}

.admin-panel.is-visible {
  display: block;
}

.admin-nav-panel {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 14, 33, 0.76);
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

.admin-nav-panel h3 {
  margin: 0 0 0.35rem;
}

.admin-nav-link {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #d9e3ff;
  font-size: 0.9rem;
}

.admin-nav-link:hover {
  background: rgba(127, 77, 255, 0.16);
  border-color: rgba(165, 140, 255, 0.35);
}

.admin-nav-link.active {
  background: rgba(127, 77, 255, 0.2);
  border-color: rgba(165, 140, 255, 0.45);
  color: #ffffff;
}

.admin-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.55rem;
}

.admin-list-head h3 {
  margin: 0;
}

.admin-search {
  width: min(360px, 100%);
  border: 1px solid rgba(162, 179, 255, 0.3);
  color: #edf2ff;
  background: rgba(14, 20, 46, 0.9);
  border-radius: 10px;
  min-height: 40px;
  padding: 0.55rem 0.7rem;
}

.admin-search:focus {
  outline: none;
  border-color: #7f4dff;
  box-shadow: 0 0 0 3px rgba(127, 77, 255, 0.2);
}

.admin-gate-wrap {
  min-height: 60vh;
  display: grid;
  align-items: center;
}

.admin-gate-card {
  max-width: 580px;
  margin: 0 auto;
}

.auth-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.auth-card {
  min-height: 100%;
}

.auth-card.full-width {
  grid-column: span 2;
}

.admin-list {
  display: grid;
  gap: 0.8rem;
  max-height: 70vh;
  overflow: auto;
  padding-right: 0.2rem;
}

#adminProductList,
#orderList,
#clientList {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.item-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
}

.item-head h4,
.item-head strong {
  margin: 0;
}

.order-items {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.28rem;
}

.item-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(16, 22, 48, 0.82);
  transition: border-color 0.2s, transform 0.18s;
}

.item-row:hover {
  border-color: rgba(165, 140, 255, 0.5);
  transform: translateY(-1px);
}

.item-row h4 {
  margin: 0.2rem 0;
}

.item-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.notice {
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.notice.ok {
  background: rgba(79, 216, 141, 0.15);
  border: 1px solid rgba(79, 216, 141, 0.4);
  color: #7ee2aa;
}

.notice.error {
  background: rgba(255, 110, 110, 0.14);
  border: 1px solid rgba(255, 110, 110, 0.34);
  color: #ff9a9a;
}

.footer {
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 12, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 90;
}

.cart-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(430px, 94%);
  background: linear-gradient(180deg, #0c122c, #0a1026);
  border-left: 1px solid var(--line);
  transform: translateX(110%);
  transition: transform 0.25s;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.cart-drawer.show {
  transform: translateX(0);
}

.cart-head,
.cart-foot {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-foot {
  border-top: 1px solid var(--line);
  border-bottom: none;
}

.cart-items {
  overflow: auto;
  padding: 0.8rem 1rem;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(14, 20, 45, 0.7);
}

.cart-item-price {
  color: #dbe7ff;
  font-weight: 700;
}

.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 12, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 120;
}

.auth-modal-overlay.show {
  display: flex;
}

.auth-modal {
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 15, 35, 0.98);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.auth-modal h3 {
  margin: 0 0 0.35rem;
}

.auth-modal .meta {
  margin: 0 0 0.9rem;
}

.auth-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.transfer-info {
  border: 1px solid rgba(160, 177, 255, 0.24);
  border-radius: 12px;
  background: rgba(12, 18, 40, 0.88);
  padding: 0.7rem;
  margin-bottom: 0.2rem;
}

.transfer-info strong {
  display: block;
  margin-bottom: 0.35rem;
}

.transfer-info p {
  margin: 0.2rem 0;
  color: #ced8ff;
  font-size: 0.88rem;
}

.transfer-info p span {
  color: #9fb0e7;
}

.inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pulse {
  animation: pulse 1.4s infinite ease-in-out;
}

ul.meta {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .products-layout,
  .product-grid,
  .admin-layout,
  .admin-page-layout,
  .trust-strip,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-micro-features,
  .four-cards {
    grid-template-columns: 1fr;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-card.full-width {
    grid-column: span 1;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .hero-image {
    min-height: 280px;
  }

  .exact-visual {
    min-height: 320px;
    background-position: center;
  }

  .trust-strip {
    margin-top: 0.8rem;
  }

  .work-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .products-layout {
    gap: 1.2rem;
  }

  .admin-tools,
  .admin-list-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-search {
    width: 100%;
  }

  .admin-nav-panel {
    position: static;
  }

  .filters {
    position: static;
  }

  .cta-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-modal-actions {
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 1rem;
    right: 1rem;
    background: #0d1431;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: span 1;
  }
}

/* Admin: estructura limpia, blanca y minimalista */
body.admin-white {
  background: #ffffff;
  color: #111827;
  min-height: 100vh;
}

.admin-white * {
  box-shadow: none !important;
}

.admin-white .admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: #ffffff;
}

.admin-white .admin-nav-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  border: none;
  border-right: 1px solid #e5e7eb;
  border-radius: 0;
  background: #ffffff;
  padding: 1.2rem 0.9rem;
  gap: 0.35rem;
  align-content: start;
}

.admin-white .admin-nav-panel h3 {
  margin: 0 0 0.5rem;
  color: #111827;
  font-size: 1.1rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.5px;
}

.admin-white .admin-nav-link {
  display: block;
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
}

.admin-white .admin-nav-link:hover,
.admin-white .admin-nav-link.active {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

.admin-white .admin-main {
  padding: 1.25rem;
  background: #ffffff;
}

.admin-white .admin-title-row h1 {
  margin: 0;
  color: #111827;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.6px;
  font-size: 2rem;
}

.admin-white .section-sub,
.admin-white .meta,
.admin-white p,
.admin-white label,
.admin-white span,
.admin-white li,
.admin-white h2,
.admin-white h3,
.admin-white h4,
.admin-white strong {
  color: #374151;
}

.admin-white .admin-tools,
.admin-white .admin-panel,
.admin-white .form-wrap,
.admin-white .item-row,
.admin-white .transfer-info,
.admin-white .inner-form-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
}

.admin-white .admin-tools {
  margin: 1rem 0;
}

.admin-white .product-options-admin {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.8rem;
  margin-bottom: 0.75rem;
}

.admin-white .product-options-admin h4 {
  margin: 0 0 0.6rem;
  color: #111827;
}

.admin-white .product-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-white .product-option-box {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.65rem;
  display: grid;
  gap: 0.45rem;
}

.admin-white .option-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.admin-white .option-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-white .option-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.83rem;
  color: #111827;
  background: #ffffff;
}

.admin-white .chip-remove {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0;
}

.admin-white .admin-content-grid {
  display: grid;
  gap: 0.85rem;
}

.admin-white .admin-panel {
  padding: 0.8rem;
}

.admin-white .gallery-editor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.admin-white .gallery-editor-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 150px;
  grid-template-rows: auto auto;
  column-gap: 0.6rem;
  row-gap: 0.35rem;
  align-items: center;
}

.admin-white .gallery-editor-item h4 {
  margin: 0;
  color: #111827;
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

.admin-white .gallery-editor-preview {
  width: 170px;
  height: 88px;
  max-height: 88px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  grid-column: 1;
  grid-row: 2;
}

.admin-white .gallery-editor-item input[type="file"] {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  max-width: 100%;
  font-size: 0.82rem;
}

.admin-white .gallery-editor-item [data-gallery-clear] {
  grid-column: 3;
  grid-row: 2;
  width: 100%;
  padding: 0.4rem 0.55rem;
}

@media (max-width: 980px) {
  .admin-white .gallery-editor-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .admin-white .gallery-editor-item h4,
  .admin-white .gallery-editor-preview,
  .admin-white .gallery-editor-item input[type="file"],
  .admin-white .gallery-editor-item [data-gallery-clear] {
    grid-column: 1;
  }

  .admin-white .gallery-editor-preview {
    width: 100%;
    height: 110px;
    max-height: 110px;
  }
}

.admin-white .admin-list-head {
  margin-bottom: 0.65rem;
}

.admin-white .admin-list {
  max-height: 64vh;
  display: grid;
  gap: 0.65rem;
  overflow: auto;
}

.admin-white #orderList,
.admin-white #clientList {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-white #adminProductList {
  display: block;
  overflow: auto;
}

.admin-white .table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-white .admin-product-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #ffffff;
}

.admin-white .admin-product-table th,
.admin-white .admin-product-table td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem;
  text-align: left;
  font-size: 0.9rem;
  color: #111827;
  vertical-align: middle;
}

.admin-white .admin-product-table thead th {
  background: #f9fafb;
  font-weight: 700;
}

.admin-white .admin-product-table tbody tr:hover {
  background: #fcfcfd;
}

.admin-white .table-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.admin-white .order-items-table {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.25rem;
}

.admin-white .builder-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.admin-white .builder-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.admin-white .builder-controls {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.7rem;
  max-height: 72vh;
  overflow: auto;
  display: grid;
  gap: 0.6rem;
}

.admin-white .builder-group {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.65rem;
  display: grid;
  gap: 0.5rem;
}

.admin-white .builder-group h4 {
  margin: 0;
  color: #111827;
}

.admin-white .builder-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #374151;
  font-size: 0.92rem;
}

.admin-white .builder-featured-list {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem;
  max-height: 180px;
  overflow: auto;
  display: grid;
  gap: 0.35rem;
}

.admin-white .builder-featured-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #374151;
  font-size: 0.88rem;
}

.admin-white .builder-preview-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.admin-white .builder-preview-frame {
  width: 100%;
  min-height: 72vh;
  border: none;
  background: #ffffff;
}

body.builder-fullscreen {
  margin: 0;
  min-height: 100vh;
  color: #e5ebff;
  background:
    radial-gradient(circle at 80% 12%, rgba(127, 77, 255, 0.24), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(45, 180, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #070b1c 0%, #090f22 55%, #0b1228 100%);
}

.builder-page {
  min-height: 100vh;
}

.builder-page.builder-page-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0.5rem;
  padding: 0.4rem;
  height: 100vh;
  overflow: hidden;
}

.builder-sidebar {
  border: 1px solid rgba(126, 146, 221, 0.3);
  border-radius: 12px;
  background: rgba(10, 15, 34, 0.9);
  padding: 0.55rem;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.42rem;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(3, 7, 20, 0.5);
}

.builder-sidebar-head h1 {
  margin: 0;
  color: #f3f6ff;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.6px;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
}

.builder-sidebar-head p {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: #97a7d8;
}

.builder-side-nav {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  min-width: 0;
}

.builder-side-nav .btn {
  flex: 1 1 calc(50% - 0.45rem);
  min-width: 0;
  min-height: 32px;
  padding: 0.38rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 9px;
}

.builder-sidebar-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 38px;
  gap: 0.3rem;
  min-width: 0;
  align-content: start;
  margin-top: auto;
}

.builder-sidebar-actions .btn {
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0.35rem 0.45rem;
  border-radius: 9px;
  font-size: 0.82rem;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.builder-side-nav {
  padding-top: 0.15rem;
  border-top: 1px solid rgba(126, 146, 221, 0.2);
  border-bottom: 1px solid rgba(126, 146, 221, 0.2);
  padding-bottom: 0.35rem;
}

.builder-save-notice {
  margin: 0;
  padding: 0.28rem 0.45rem;
  border-radius: 8px;
  border: 1px solid rgba(126, 146, 221, 0.3);
  background: rgba(11, 16, 34, 0.88);
  color: #cbd7ff;
  font-size: 0.78rem;
}

.builder-canvas {
  min-height: 0;
}

.builder-layout.builder-layout-fullscreen {
  min-height: 0;
  height: 100%;
}

.builder-fullscreen .builder-controls {
  border: 1px solid rgba(126, 146, 221, 0.3);
  border-radius: 12px;
  padding: 0.42rem;
  background: rgba(10, 14, 31, 0.88);
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  align-content: start;
  gap: 0.38rem;
  box-shadow: inset 0 0 0 1px rgba(220, 228, 255, 0.03);
}

.builder-fullscreen .builder-group {
  border: 1px solid rgba(126, 146, 221, 0.24);
  border-radius: 10px;
  padding: 0;
  background: rgba(14, 20, 43, 0.9);
  overflow: hidden;
}

.builder-fullscreen .builder-group-toggle {
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: rgba(22, 30, 59, 0.92);
  color: #f1f5ff;
  padding: 0.42rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.builder-fullscreen .builder-group-toggle .builder-group-icon {
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.builder-fullscreen .builder-group-toggle[aria-expanded="true"] .builder-group-icon {
  transform: rotate(0deg);
}

.builder-fullscreen .builder-group-toggle[aria-expanded="false"] .builder-group-icon {
  transform: rotate(-90deg);
}

.builder-fullscreen .builder-group-body {
  padding: 0.42rem 0.46rem 0.46rem;
  display: grid;
  gap: 0.34rem;
  min-width: 0;
  overflow-x: hidden;
}

.builder-fullscreen .builder-group-body[hidden] {
  display: none !important;
}

.builder-fullscreen .builder-toggle,
.builder-fullscreen .builder-featured-item {
  color: #d0d9f6;
  font-size: 0.85rem;
}

.builder-fullscreen .builder-featured-list {
  border: 1px solid rgba(126, 146, 221, 0.24);
  border-radius: 8px;
  padding: 0.42rem;
  max-height: 180px;
  overflow: auto;
  display: grid;
  gap: 0.35rem;
  background: rgba(10, 14, 30, 0.92);
}

.builder-fullscreen .builder-theme-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
}

.builder-fullscreen .builder-theme-btn {
  min-height: 32px;
  padding: 0.35rem 0.45rem;
  font-size: 0.78rem;
  border: 1px solid rgba(126, 146, 221, 0.3);
  background: rgba(18, 26, 52, 0.92);
  color: #dbe5ff;
  border-radius: 8px;
}

.builder-fullscreen .builder-theme-btn:hover {
  transform: none;
  border-color: rgba(159, 185, 255, 0.6);
  background: rgba(26, 37, 72, 0.95);
}

.builder-fullscreen .builder-theme-btn.is-active {
  border-color: rgba(137, 194, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(137, 194, 255, 0.4);
  background: linear-gradient(125deg, rgba(53, 79, 148, 0.95), rgba(36, 140, 192, 0.95));
  color: #f6fbff;
}

.builder-fullscreen .builder-text-picker-field textarea {
  min-height: 72px;
}

#builder-texts .builder-group-body {
  max-height: 34vh;
  overflow-y: auto;
  padding-right: 0.22rem;
}

#builder-texts .field textarea {
  min-height: 62px;
}

#builder-texts .builder-text-picker-field {
  border-top: 1px solid rgba(126, 146, 221, 0.22);
  padding-top: 0.35rem;
  margin-top: 0.15rem;
}

#builder-texts .builder-group-body::-webkit-scrollbar {
  width: 8px;
}

#builder-texts .builder-group-body::-webkit-scrollbar-thumb {
  background: rgba(137, 194, 255, 0.35);
  border-radius: 999px;
}

.builder-fullscreen .builder-text-picker-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
}

.builder-fullscreen #builderPickTextBtn.is-active {
  border-color: rgba(137, 194, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(137, 194, 255, 0.4);
}

.builder-fullscreen .builder-preview-wrap {
  border: 1px solid rgba(126, 146, 221, 0.24);
  border-radius: 12px;
  overflow: hidden;
  background: #060b1a;
  height: 100%;
  box-shadow: 0 18px 38px rgba(2, 6, 18, 0.55);
}

.builder-fullscreen .builder-preview-frame {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

.builder-fullscreen .field {
  gap: 0.22rem;
  min-width: 0;
}

.builder-fullscreen .field label {
  font-size: 0.8rem;
}

.builder-fullscreen .field input,
.builder-fullscreen .field select,
.builder-fullscreen .field textarea {
  min-height: 34px;
  padding: 0.38rem 0.5rem;
  border-radius: 8px;
  font-size: 0.86rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.builder-fullscreen .field input[type="file"] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
}

.builder-fullscreen .field input[type="file"]::file-selector-button {
  margin-right: 0.35rem;
  padding: 0.26rem 0.45rem;
  border-radius: 7px;
  border: 1px solid #4e5f9f;
  background: #141e40;
  color: #e8edff;
}

.builder-fullscreen .field textarea {
  min-height: 72px;
}

.admin-white .item-row {
  padding: 0.7rem;
}

.admin-white .badge {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1f2937;
}

.admin-white .btn {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.admin-white .btn:hover {
  transform: none;
  background: #f9fafb;
}

.admin-white .btn.primary,
.admin-white .btn.ghost {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.admin-white .field label {
  color: #4b5563;
}

.admin-white .field input,
.admin-white .field select,
.admin-white .field textarea,
.admin-white .admin-search {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.admin-white .field input:focus,
.admin-white .field select:focus,
.admin-white .field textarea:focus,
.admin-white .admin-search:focus {
  border-color: #9ca3af;
  box-shadow: none;
}

.admin-white .item-head h4,
.admin-white .item-head strong {
  color: #111827;
}

.admin-white .order-items {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
}

.admin-white .admin-nav-panel #adminLogout {
  margin-top: auto;
}

.admin-white .admin-nav-panel #themeToggle {
  width: 100%;
}

.admin-white .product-editor-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
  z-index: 120;
}

.admin-white .product-editor-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(620px, 100vw);
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  padding: 1rem;
  overflow: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 130;
}

.admin-white .product-editor-drawer.is-open {
  transform: translateX(0);
}

.admin-white .product-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.admin-white .product-editor-head h3 {
  margin: 0;
  color: #111827;
}

.admin-white .product-preview-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
}

.admin-white .product-preview-wrap h4 {
  margin: 0 0 0.55rem;
  color: #111827;
}

.admin-white .product-preview-image {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: none;
  background: #ffffff;
}

.admin-white .product-editor-drawer .inner-form-wrap {
  margin: 0;
}

.admin-white .admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.38);
  display: grid;
  place-items: center;
  z-index: 220;
  padding: 1rem;
}

.admin-white .admin-modal[hidden] {
  display: none !important;
}

.admin-white .admin-modal-card {
  width: min(460px, 100%);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.95rem;
}

.admin-white .admin-modal-card h4 {
  margin: 0 0 0.45rem;
  color: #111827;
}

.admin-white .admin-modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

body.admin-white.dark-mode {
  background: #0b1020;
  color: #e5e7eb;
}

.admin-white.dark-mode .admin-shell {
  background: #0b1020;
}

.admin-white.dark-mode .admin-nav-panel {
  background: #10172a;
  border-right: 1px solid #1f2937;
}

.admin-white.dark-mode .admin-nav-panel h3,
.admin-white.dark-mode .admin-title-row h1,
.admin-white.dark-mode .item-head h4,
.admin-white.dark-mode .item-head strong {
  color: #f9fafb;
}

.admin-white.dark-mode .section-sub,
.admin-white.dark-mode .meta,
.admin-white.dark-mode p,
.admin-white.dark-mode label,
.admin-white.dark-mode span,
.admin-white.dark-mode li,
.admin-white.dark-mode h2,
.admin-white.dark-mode h3,
.admin-white.dark-mode h4,
.admin-white.dark-mode strong {
  color: #cbd5e1;
}

.admin-white.dark-mode .admin-main {
  background: #0b1020;
}

.admin-white.dark-mode .product-editor-overlay {
  background: rgba(2, 6, 23, 0.58);
}

.admin-white.dark-mode .product-editor-drawer {
  background: #0f172a;
  border-left-color: #1f2937;
}

.admin-white.dark-mode .product-preview-wrap {
  background: #111827;
  border-color: #1f2937;
}

.admin-white.dark-mode .product-preview-wrap h4 {
  color: #f9fafb;
}

.admin-white.dark-mode .product-preview-image {
  background: #111827;
  border-color: #1f2937;
}

.admin-white.dark-mode .admin-modal {
  background: rgba(2, 6, 23, 0.65);
}

.admin-white.dark-mode .admin-modal-card {
  background: #111827;
  border-color: #1f2937;
}

.admin-white.dark-mode .admin-modal-card h4 {
  color: #f9fafb;
}

.admin-white.dark-mode .product-options-admin,
.admin-white.dark-mode .product-option-box {
  background: #111827;
  border-color: #1f2937;
}

.admin-white.dark-mode .gallery-editor-item {
  background: #111827;
  border-color: #1f2937;
}

.admin-white.dark-mode .gallery-editor-item h4 {
  color: #f9fafb;
}

.admin-white.dark-mode .gallery-editor-preview {
  border-color: #374151;
}

.admin-white.dark-mode .product-options-admin h4,
.admin-white.dark-mode .option-chip {
  color: #f9fafb;
}

.admin-white.dark-mode .option-chip {
  background: #0f172a;
  border-color: #374151;
}

.admin-white.dark-mode .builder-controls,
.admin-white.dark-mode .builder-group,
.admin-white.dark-mode .builder-featured-list,
.admin-white.dark-mode .builder-preview-wrap {
  background: #111827;
  border-color: #1f2937;
}

.admin-white.dark-mode .builder-group h4,
.admin-white.dark-mode .builder-toggle,
.admin-white.dark-mode .builder-featured-item {
  color: #e5e7eb;
}

.admin-white.dark-mode .chip-remove {
  color: #94a3b8;
}

.admin-white.dark-mode .admin-tools,
.admin-white.dark-mode .admin-panel,
.admin-white.dark-mode .form-wrap,
.admin-white.dark-mode .item-row,
.admin-white.dark-mode .transfer-info,
.admin-white.dark-mode .inner-form-wrap,
.admin-white.dark-mode .admin-product-table,
.admin-white.dark-mode .admin-product-table th,
.admin-white.dark-mode .admin-product-table td {
  background: #111827;
  border-color: #1f2937;
}

.admin-white.dark-mode .admin-product-table th,
.admin-white.dark-mode .admin-product-table td {
  color: #e5e7eb;
}

.admin-white.dark-mode .admin-product-table thead th {
  background: #0f172a;
}

.admin-white.dark-mode .admin-product-table tbody tr:hover {
  background: #172033;
}

.admin-white.dark-mode .product-editor-head h3 {
  color: #f9fafb;
}

.admin-white.dark-mode .badge {
  background: #111827;
  border-color: #374151;
  color: #e5e7eb;
}

.admin-white.dark-mode .btn,
.admin-white.dark-mode .btn.primary,
.admin-white.dark-mode .btn.ghost,
.admin-white.dark-mode .admin-nav-link {
  background: #111827;
  color: #e5e7eb;
  border-color: #374151;
}

.admin-white.dark-mode .btn:hover,
.admin-white.dark-mode .admin-nav-link:hover,
.admin-white.dark-mode .admin-nav-link.active {
  background: #1f2937;
  color: #f9fafb;
}

.admin-white.dark-mode .field input,
.admin-white.dark-mode .field select,
.admin-white.dark-mode .field textarea,
.admin-white.dark-mode .admin-search {
  background: #0f172a;
  color: #e5e7eb;
  border-color: #374151;
}

.admin-white.dark-mode .field input:focus,
.admin-white.dark-mode .field select:focus,
.admin-white.dark-mode .field textarea:focus,
.admin-white.dark-mode .admin-search:focus {
  border-color: #64748b;
}

@media (max-width: 980px) {
  .admin-white .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-white .admin-nav-panel {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .admin-white .admin-main {
    padding: 0.85rem;
  }

  .admin-white #orderList,
  .admin-white #clientList {
    grid-template-columns: 1fr;
  }

  .admin-white .admin-product-table {
    min-width: 720px;
  }

  .admin-white .product-options-grid {
    grid-template-columns: 1fr;
  }

  .admin-white .builder-layout {
    grid-template-columns: 1fr;
  }

  .admin-white .builder-controls {
    max-height: none;
  }

  .builder-page.builder-page-split {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
    padding: 0.3rem;
  }

  .builder-sidebar {
    grid-template-rows: auto auto auto 1fr auto;
    padding: 0.42rem;
  }

  .builder-sidebar-actions .btn,
  .builder-side-nav .btn {
    font-size: 0.78rem;
    min-height: 0;
    height: 100%;
  }

  .builder-sidebar-actions {
    grid-auto-rows: 32px;
  }

  .builder-fullscreen .builder-controls {
    max-height: 46vh;
  }

  #builder-texts .builder-group-body {
    max-height: 42vh;
  }

  .builder-layout.builder-layout-fullscreen {
    height: auto;
  }

  .builder-fullscreen .builder-preview-frame {
    min-height: 68vh;
  }

  .admin-white .product-editor-drawer {
    width: 100vw;
    padding: 0.85rem;
  }
}

.bp-page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.bp-page-loader.is-visible {
  opacity: 1;
  pointer-events: all;
}

.bp-page-loader-content {
  width: min(360px, calc(100vw - 40px));
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}

.bp-loader-logo-wrap {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
}

.bp-loader-mark-fallback {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: #0b0f19;
  background: #f8fafc;
}

.bp-loader-mark-img {
  object-fit: contain;
}

.bp-loader-mark-svg {
  display: inline-block;
  background: var(--logo-color, #f8fafc);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.bp-loader-brand {
  color: #f8fafc;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
}

.bp-loader-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.bp-loader-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffffff, #cbd5e1);
}

.bp-page-loader.is-animating .bp-loader-progress-bar {
  animation: bpLoaderFill 0.5s linear forwards;
}

@keyframes bpLoaderFill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
