:root {
  --ink: #071c30;
  --deep: #08223a;
  --deep-2: #041729;
  --paper: #f7f8fa;
  --line: #d9e0e6;
  --muted: #607080;
  --lime: #ff9900;
  --orange: #ffd18b;
  --blue: #dce8f0;
  --pink: #fff0da;
  --shadow: 0 18px 60px rgba(4, 23, 41, .14);
}

.site-header {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: rgba(7, 28, 48, .1);
}

.brand {
  gap: 10px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  display: block;
  transform: none;
  background: transparent;
}

.brand-copy strong {
  color: var(--lime);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: .01em;
}

.brand-copy strong span,
.brand-copy strong i {
  color: var(--deep);
  font-style: normal;
}

.brand-copy small {
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-wrap {
  background: linear-gradient(135deg, #061a2d 0%, #0b2d4a 100%);
}

.hero-wrap::before {
  border-color: rgba(255, 153, 0, .28);
}

.hero-stage {
  background: radial-gradient(circle at 50% 50%, rgba(255, 153, 0, .2), transparent 47%);
}

.hero-center {
  background: #fff;
  color: var(--deep);
  transform: translate(-50%, -50%) rotate(-3deg);
  gap: 3px;
  box-shadow: 0 22px 75px rgba(0, 0, 0, .34), 0 0 0 9px rgba(255, 153, 0, .14);
}

.hero-center img {
  width: 175px;
  height: 165px;
  object-fit: contain;
}

.category-card.lime {
  background: #ff9900;
}

.category-card.orange {
  background: #ffd18b;
}

.category-card.blue {
  background: #dce8f0;
}

.category-card.pink {
  background: #fff0da;
}

.product-art,
.modal-art {
  background: linear-gradient(145deg, #e7edf2, #fffaf2);
}

.filter-note,
.notice.neutral {
  background: #e9eff4;
}

.phone-mock span,
.phone-mock p {
  background: #ffe1ad;
}

.mode-pill {
  background: #e6edf3;
}

.mode-pill.consulta {
  background: #fff0d4;
}

.admin-brand > img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.admin-brand > span {
  display: none;
}

.admin-nav nav button.active {
  background: rgba(255, 153, 0, .14);
}

.switch input:checked + span {
  background: var(--lime);
}

.switch input:checked + span::after {
  background: var(--deep);
}

@media (max-width: 680px) {
  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    max-width: 170px;
    font-size: 7px;
  }

  .hero-center img {
    width: 145px;
    height: 135px;
  }
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-art:has(.product-photo)::before {
  display: none;
}

.product-badge {
  z-index: 2;
}

.modal-art {
  position: relative;
  overflow: hidden;
}

.modal-photo {
  position: absolute;
}

.cart-thumb,
.summary-thumb,
.table-thumb {
  position: relative;
  overflow: hidden;
  background: #eef1ed;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.cart-thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  font-size: 36px;
}

.summary-thumb {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  background: #fff;
  font-size: 24px;
}

.table-thumb {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  font-size: 21px;
}

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

.admin-shell {
  min-height: 100vh;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.sync-state {
  color: var(--muted);
  font-size: 12px;
}

.sync-state.error {
  color: #b64632;
  font-weight: 800;
}

.empty-cell {
  color: var(--muted);
  text-align: center;
  padding: 38px 15px;
}

.status-select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  text-transform: capitalize;
}

.whatsapp-link {
  color: #14843f;
  font-weight: 800;
  text-decoration: none;
}

.upload-field {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 10px 14px;
  align-items: center;
  margin: 14px 0 20px;
}

.image-preview {
  width: 105px;
  height: 105px;
  border-radius: 14px;
  background: #edf1f4;
  overflow: hidden;
  display: grid;
  place-items: center;
  grid-row: span 2;
  font-size: 34px;
}

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

.upload-field label {
  margin: 0 !important;
}

.upload-field small {
  color: var(--muted);
}

.button:disabled {
  opacity: .6;
  cursor: wait;
  transform: none !important;
}

@media (max-width: 980px) {
  .admin-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 30;
  }

  .admin-nav nav {
    flex-direction: row;
    margin: 0;
    overflow-x: auto;
  }

  .admin-user {
    display: none;
  }
}

@media (max-width: 680px) {
  .admin-brand div {
    display: none;
  }

  .admin-nav {
    gap: 4px;
  }

  .admin-nav nav button {
    white-space: nowrap;
    padding: 10px;
  }

  .upload-field {
    grid-template-columns: 90px 1fr;
  }

  .image-preview {
    width: 90px;
    height: 90px;
  }
}
