/*


 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&family=Josefin+Sans:wght@400;700&display=swap');

:root {
  --color-orange:    #f85e00;
  --color-dark:      #0b111a;
  --color-dark-alt:  #04070d;
  --color-body:      #2f3140;
  --color-muted:     #acabb3;
  --color-border:    #dadee3;
  --color-bg:        #f9f9f9;
  --color-bg-card:   #eff1f5;
  --color-white:     #ffffff;
  --color-off-white: #fffefe;
  --color-black:     #000000;
  --color-divider:   #bdbbb7;

  --font-sans:     'DM Sans', sans-serif;
  --font-heading:  'Space Grotesk', sans-serif;
  --font-logo:     'Josefin Sans', sans-serif;

  --radius-sm:  10px;
  --radius-md:  12px;
  --radius-lg:  24px;
  --radius-full: 9999px;

  --container-max: 1352px;
  --container-px:  80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ─── Container ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--container-px) * 2);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: opacity .15s, background .15s;
}
.btn:hover { opacity: .88; }

.btn-primary   { background: var(--color-orange); color: #fff; }
.btn-outline   { background: transparent; color: var(--color-orange); border: 1.5px solid var(--color-orange); }
.btn-ghost     { background: transparent; color: var(--color-body); border: 1.5px solid var(--color-border); }
.btn-dark      { background: var(--color-dark); color: #fff; }
.btn-sm        { padding: 9px 20px; font-size: 12px; }
.btn-xs        { padding: 6px 16px; font-size: 10px; }

/* ─── Badge ─────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  background: var(--color-orange);
  color: var(--color-orange);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(248,94,0,.12);
}
.badge-solid { background: var(--color-orange); color: #fff; }
.badge-dark  { background: rgba(0,0,0,.08); color: var(--color-body); }

/* ─── Section label ─────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--color-orange);
  flex-shrink: 0;
}

/* ─── Typography ─────────────────────────────────── */
.h1 {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: clamp(48px, 6.3vw, 95px);
  line-height: 1.05;
  color: var(--color-off-white);
}
.h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.1;
  color: var(--color-dark);
}
.h2-light { color: var(--color-off-white); font-weight: 400; }
.h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 27px;
  color: var(--color-orange);
  line-height: 1.2;
}
.page-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 2.8vw, 42px);
  color: var(--color-dark);
}

/* ─── Header ─────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 80px;
  border-bottom: 2px solid #bdbbb7;
  transition: background .25s;
}
.header.scrolled {
  background: #000000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  color: #fff;
  text-transform: uppercase;
}
.header-logo-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255,255,255,0.55);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: rgba(255,255,255,0.5);
  position: relative;
  padding-bottom: 4px;
  text-decoration: none;
  transition: color .15s;
}
.header-nav a.active {
  font-weight: 700;
  color: #ffffff;
}
.header-nav a.active::after,
.header-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2f3140;
  border-radius: 2px;
}
.header-nav a:hover { color: #ffffff; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-icon-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: #fff;
  transition: background .15s;
  cursor: pointer;
  position: relative;
  background: none;
  border: none;
}
.header-icon-btn:hover { background: rgba(255,255,255,.1); }
.header-icon-btn.active { background: var(--color-orange); }
.header-icon-btn.cart-has-items { background: var(--color-orange); }

/* ── Toasts ──────────────────────────────────────────────────── */
.toast {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #2f3140;
  color: #fff;
  border-left: 4px solid var(--color-orange);
  border-radius: 8px;
  padding: 12px 14px 12px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  max-width: 360px;
}
.toast--alert {
  background: #fff;
  color: #dc2626;
  border-left-color: #dc2626;
}
.toast-message { flex: 1; }
.toast-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  border-radius: 4px;
  color: inherit;
  opacity: .6;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: opacity .15s, background .15s;
}
.toast-close:hover { opacity: 1; background: rgba(0,0,0,.08); }

/* ── Header search ───────────────────────────────────────────── */
.header-search { position: relative; }
.header-search-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 44px rgba(0,0,0,.20);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
}
.header-search.open .header-search-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
}
.header-search-form:focus-within { border-color: var(--color-orange); }
.header-search-form-icon { color: var(--color-muted); flex-shrink: 0; }
.header-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  height: 46px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-body);
}
.header-search-results { margin-top: 8px; max-height: 360px; overflow-y: auto; }
.header-search-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .12s;
}
.header-search-result:hover { background: var(--color-bg-card); }
.header-search-result-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-dark);
}
.header-search-result-meta {
  font-size: 12px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.header-search-empty {
  padding: 14px 12px;
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
}
.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px; height: 16px;
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  padding: 0 3px;
}

/* Header user button (logged-in state) */
.header-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: #fff;
  position: relative;
  transition: background .15s;
  user-select: none;
}
.header-user-btn:hover { background: rgba(255,255,255,.1); }
.header-user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: .03em;
}
.header-user-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.header-user-chevron {
  transition: transform .2s;
  flex-shrink: 0;
}
.header-user-btn[aria-expanded="true"] .header-user-chevron {
  transform: rotate(180deg);
}
.header-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(189,187,183,0.5);
  box-shadow: 0 0 20px rgba(0,0,0,.10);
  overflow: hidden;
  z-index: 200;
}
.header-user-btn[aria-expanded="true"] .header-user-dropdown {
  display: block;
}
.header-user-dropdown-profile {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.header-user-dropdown-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #2F3140;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-user-dropdown-email {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: #ACABB3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-user-dropdown-divider {
  height: 1px;
  background: rgba(189,187,183,0.5);
  margin: 0;
}
.header-user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #ACABB3;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: background .12s;
  text-decoration: none;
}
.header-user-dropdown-item:hover { background: rgba(0,0,0,.03); color: var(--color-orange); }
.header-user-dropdown-item--logout { color: #ACABB3; }

/* Mobile nav toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
}
.mobile-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #000;
  padding: 0 24px 24px;
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* Full-screen overlay menu on mobile */
@media (max-width: 768px) {
  .mobile-nav.open {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 95;            /* below the fixed header (z-index 100) so logo/close stay tappable */
    padding: 104px 24px 32px;
    overflow-y: auto;
    justify-content: flex-start;
  }
  .mobile-nav.open a { font-size: 20px; padding: 18px 0; }
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 806px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 120px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom-left, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 76%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  width: 100%;
}
.hero-top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}
.hero-dot {
  width: 12px; height: 12px;
  background: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-top-bar span {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-off-white);
}
.hero-top-bar .sep { color: var(--color-off-white); opacity: .5; }

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ─── Brands ticker ─────────────────────────────── */
.brands-bar {
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px);
  padding: 16px 0;
  overflow: hidden;
}
.brands-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: ticker 22s linear infinite;
  width: max-content;
}
.brands-track:hover { animation-play-state: paused; }
.brand-item {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.brand-item span {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-off-white);
}
.brand-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-orange);
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Features bar ─────────────────────────────── */
.features-bar {
  background: var(--color-bg);
  padding: 40px var(--container-px);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.features-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-divider);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { color: var(--color-white); }
.feature-text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-body);
}
.feature-text span {
  font-size: 12px;
  color: var(--color-muted);
}

/* ─── Section ────────────────────────────────────── */
.section {
  padding: 80px 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-header-left { display: flex; flex-direction: column; gap: 12px; }

/* ─── Category cards ─────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-dark-alt);
  cursor: pointer;
  transition: transform .2s;
  display: block;
}
.category-card:hover { transform: translateY(-4px); }
.category-card-image {
  position: relative;
  height: 292px;
  overflow: hidden;
}
.category-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.category-card:hover .category-card-image img { transform: scale(1.04); }
.category-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
}
.category-card-badge {
  position: absolute;
  top: 22px; left: 20px;
}
.category-card-arrow {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: rgba(255,254,254,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.category-card-body {
  padding: 30px;
  background: #fff;
}
.category-card-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 27px;
  color: var(--color-orange);
  margin-bottom: 12px;
}
.category-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.category-card-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: var(--color-body);
}
.category-card-list li::before {
  content: '';
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}

/* ─── Product card ───────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(189,187,183,0.50);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); border-color: #f85e00; }
.product-card-image {
  position: relative;
  height: 287px;
  background: var(--color-bg-card);
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
  transition: transform .3s;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-badge {
  position: absolute;
  top: 20px; left: 20px;
}
.product-card-discount {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(248,94,0,.12);
  color: var(--color-orange);
  font-weight: 600;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.product-card-wish {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.product-card-category {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-orange);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-body);
  line-height: 1.35;
}
.product-card-spec {
  font-size: 12px;
  color: var(--color-muted);
}
.product-card-price {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-body);
}
.product-card-price-row {
  padding: 5px 0;
}
.product-card-login-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #2f3140;
  line-height: 1.4;
}
.product-card-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 24px;
  background: rgba(248,94,0,0.1);
  color: #f85e00;
  border: none;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
  margin-top: 4px;
}
.product-card-login-btn:hover { background: rgba(248,94,0,0.18); }

/* ─── CTA section ────────────────────────────────── */
.cta-section {
  background: var(--color-dark);
  padding: 80px var(--container-px);
  text-align: center;
}
.cta-section .h2 { color: var(--color-off-white); font-weight: 500; }
.cta-section p {
  font-size: 20px;
  color: #fff;
  margin: 24px auto;
  max-width: 720px;
}

/* ─── Page hero (inner pages) ────────────────────── */
.page-hero {
  position: relative;
  height: 328px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.75));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  width: 100%;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.28;
  color: #f9f9f9;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: left;
}
.page-hero p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  max-width: 560px;
  text-align: left;
}

/* ─── Footer ─────────────────────────────────────── */
.footer {
  position: relative;
  background-color: #0b111a;
  background-size: cover;
  background-position: center;
  padding: 70px var(--container-px) 40px;
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Headline block */
.footer-headline-wrap {
  padding-bottom: 60px;
  border-bottom: 2px solid #bdbbb7;
  margin-bottom: 48px;
}
.footer-headline {
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.footer-headline-brand {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 60px);
  line-height: 60px;
  color: #f85e00;
  letter-spacing: -0.03em;
}
.footer-headline-sub {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(20px, 4vw, 60px);
  line-height: 60px;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.03em;
}

/* Columns */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 331px);
  gap: 90px;
  margin-bottom: 48px;
}
.footer-col-title {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: .05em;
  color: #fffefe;
  text-transform: uppercase;
  margin-bottom: 19px;
}
.footer-col address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact-row--schedule {
  margin-top: 4px;
}
.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-col address span,
.footer-col address a {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  color: rgba(255,254,254,0.70);
  text-decoration: none;
}
.footer-col address a:hover { color: rgba(255,254,254,1.0); }
.footer-schedule-label {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: rgba(255,254,254,1.0);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 2px solid #bdbbb7;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  color: rgba(255,254,254,1.0);
}
.footer-bottom a {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  color: rgba(255,254,254,0.70);
  text-decoration: none;
}
.footer-bottom a:hover { color: rgba(255,254,254,1.0); }
.footer-links { display: flex; gap: 20px; }

/* ─── About page ─────────────────────────────────── */
.about-hero-section {
  background: var(--color-divider);
  position: relative;
  overflow: hidden;
}
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 50px 0;
}
.about-intro-left { display: flex; flex-direction: column; gap: 20px; }
.about-intro-right { display: flex; flex-direction: column; gap: 16px; }
.about-intro-right p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-body);
}
.about-intro-right p:first-child { color: var(--color-orange); font-weight: 500; }

.stats-bar {
  background: #fff;
  border-top: 1px solid var(--color-border);
}
.stats-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 25px;
  padding-bottom: 25px;
}
.stat-item { display: flex; flex-direction: column; gap: 8px; }
.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 60px);
  color: var(--color-body);
  line-height: 1;
}
.stat-label { font-size: 16px; color: var(--color-muted); }

.values-section { padding: 60px 0; }
.values-header { margin-bottom: 40px; }
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.mission-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mission-card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-orange);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mission-card p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-body);
  line-height: 1.6;
}
.values-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.value-tag {
  padding: 14px 32px;
  background: rgba(248,94,0,.1);
  color: var(--color-orange);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid rgba(248,94,0,.2);
}

/* ─── Products / Loja page ───────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
  padding: 60px 0;
}
.shop-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.filter-group { display: flex; flex-direction: column; gap: 12px; }
.filter-group-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-body);
}
.filter-input-wrap {
  position: relative;
}
.filter-input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  padding: 9px 12px 9px 36px;
  font-size: 14px;
  color: var(--color-body);
  outline: none;
}
.filter-input:focus { border-color: var(--color-orange); }
.filter-input-icon {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
}
.filter-search-btn {
  position: absolute;
  left: 8px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s;
}
.filter-search-btn:hover { color: var(--color-orange); }
.filter-categories { display: flex; flex-direction: column; gap: 4px; }
.filter-cat-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-body);
  transition: background .15s, color .15s;
}
.filter-cat-btn:hover, .filter-cat-btn.active {
  background: var(--color-body);
  color: #fff;
}
.price-range {
  width: 100%;
  accent-color: var(--color-orange);
}
.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 8px;
}

.shop-main { display: flex; flex-direction: column; gap: 24px; }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-count { font-size: 14px; color: var(--color-muted); }
.sort-dropdown {
  position: relative;
}
.sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid rgba(248,94,0,0.50);
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #f85e00;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.sort-trigger:hover,
.sort-trigger--active {
  background: rgba(248,94,0,0.06);
}
.sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid rgba(189,187,183,0.50);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  z-index: 200;
  overflow: hidden;
}
.sort-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-body);
  text-decoration: none;
  transition: background .12s, color .12s;
}
.sort-menu-item:hover {
  background: rgba(248,94,0,0.06);
  color: #f85e00;
}
.sort-menu-item--active {
  color: #f85e00;
  font-weight: 600;
}
.products-grid-shop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ─── Contact page ───────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
  align-items: start;
}
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-location {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-location-name {
  font-family: var(--font-logo);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--color-orange);
  text-transform: uppercase;
}
.contact-location address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--color-body);
}
.contact-location-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  background: #e9e9ec;
}
.contact-location-img img,
.contact-location-img iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}
/* Keep the map hidden behind the placeholder until its iframe has fully loaded */
.contact-location-img iframe {
  opacity: 0;
  transition: opacity .35s ease;
}
.contact-location-img:not(.map-loading) iframe {
  opacity: 1;
}
.contact-location-img.map-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 3px solid #cfcfd6;
  border-top-color: var(--color-orange);
  border-radius: 50%;
  animation: map-spin .7s linear infinite;
}
@keyframes map-spin { to { transform: rotate(360deg); } }

.contact-submit {
  width: 100%;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.contact-form-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-dark);
  margin-bottom: 16px;
}
.contact-form-subtitle {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 24px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: #2F2F2F;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-body);
  background: var(--color-bg);
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-orange);
}
.form-textarea { resize: vertical; min-height: 120px; }
/* Auth-specific input style matching Figma */
.auth-form .form-input {
  height: 50px;
  background: #F1F1F0;
  border: 1px solid #BDBBB7;
  border-radius: 10px;
  padding: 0 14px;
}
.auth-form .form-input:focus { border-color: var(--color-orange); }
.auth-input-wrap .form-input { padding-right: 44px; }
/* Auth submit button */
.auth-form .btn {
  border-radius: 10px;
  font-weight: 500;
  height: 50px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  justify-content: center;
}
/* Orange required asterisk */
.req { color: #F85E00; }

/* ─── Auth pages ─────────────────────────────────── */
.auth-wrap {
  padding-top: 94px;
  background: var(--color-bg);
}
.auth-layout {
  display: grid;
  grid-template-columns: 3fr 4fr;
  align-items: start;
  gap: 0;
  padding: 70px 0 90px;
}
.auth-left {
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 60px;
}
.auth-left-inner { display: flex; flex-direction: column; gap: 20px; }
.auth-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-badge__line {
  display: block;
  width: 32px;
  height: 3px;
  background: #F85E00;
  border-radius: 2px;
  flex-shrink: 0;
}
.auth-badge__text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  color: #F85E00;
}
.auth-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 60px);
  font-weight: 400;
  color: #0C121A;
  line-height: 1.15;
  margin: 0;
}
.auth-left__sub {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: #2F3140;
  line-height: 1.6;
  margin: 0;
}
.auth-left__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-left__bullets li {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #ACABB3;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-left__bullets li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ACABB3;
  flex-shrink: 0;
}
.auth-right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 24px;
  background: var(--color-bg);
}
.auth-card {
  width: 100%;
  max-width: 700px;
  background: #fff;
  border-radius: 10px;
  padding: 32px;
  border: 1px solid rgba(189,187,183,0.5);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.auth-card__header { display: flex; flex-direction: column; gap: 6px; }
.auth-card h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #2F2F2F;
  margin: 0;
}
.auth-card p.subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #2F3140;
  margin: 0;
}
.auth-card p.subtitle a { color: var(--color-orange); }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-form .form-group { margin-bottom: 0; }
.auth-hint {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #5E646C;
  margin: -12px 0 0;
}
.auth-forgot {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #5E646C;
}
.auth-forgot a {
  color: #F85E00;
  text-decoration: none;
}
.auth-forgot a:hover { text-decoration: underline; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-body);
  cursor: pointer;
}
.form-check input { accent-color: var(--color-orange); cursor: pointer; }
.auth-alt {
  text-align: center;
  font-size: 14px;
  color: var(--color-muted);
}
.auth-alt a { color: var(--color-orange); font-weight: 600; }
.auth-input-wrap { position: relative; }
.auth-input-wrap .form-input { padding-right: 44px; }
.auth-eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #5E646C;
  display: flex;
  align-items: center;
  border-radius: 4px;
}

/* ─── Cart page ──────────────────────────────────── */
/* ── Cart label title ─────────────────────────────────── */
.cart-title-row {
  padding: 40px 0 24px;
}
.cart-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-label__line {
  width: 24px;
  height: 2px;
  background: #f85e00;
  flex-shrink: 0;
}
.cart-label__text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f85e00;
}

/* ── Cart layout ──────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding-bottom: 60px;
  align-items: start;
}

/* Cart items wrapper */
.cart-items-wrap {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.50);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-bottom: 1px solid rgba(189,187,183,0.50);
}
.cart-item--last {
  border-bottom: none;
  padding-bottom: 0;
}
.cart-item-img {
  width: 80px; height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-bg-card);
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.cart-item-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #f85e00;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cart-item-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: #2f3140;
  line-height: 1.3;
}
.cart-item-spec { font-size: 12px; color: var(--color-muted); }
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #2f3140;
  white-space: nowrap;
}
.cart-item-login { font-size: 13px; color: var(--color-muted); }
.cart-item-login a { color: #f85e00; font-weight: 600; }
.cart-item-remove { padding-top: 12px; }
.cart-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #acabb3;
  padding: 0;
  display: flex;
  transition: color .15s;
}
.cart-remove-btn:hover { color: #2f3140; }

/* Qty controls */
.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(218,222,227,1);
  border-radius: 6px;
  overflow: hidden;
}
.qty-btn {
  padding: 4px 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s;
}
.qty-btn:hover { background: rgba(0,0,0,0.05); }
.qty-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  min-width: 24px;
  text-align: center;
  color: #2f3140;
  padding: 0 2px;
}

/* Cart summary */
.cart-summary {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.50);
  border-radius: 10px;
  padding: 20px 24px;
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-summary__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #2f3140;
  margin: 0;
}
.cart-summary__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}
.cart-summary__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(218,222,227,1);
  padding-top: 12px;
}
.cart-summary__total-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #2f3140;
}
.cart-summary__total-amount {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #2f3140;
}
.cart-summary__note {
  font-size: 14px;
  font-weight: 400;
  color: #acabb3;
}
.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  background: #f85e00;
  color: #fff;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: opacity .15s;
}
.cart-checkout-btn:hover { opacity: .88; }
.cart-continue-link {
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
  display: block;
  margin-top: 4px;
  text-decoration: none;
}
.cart-continue-link:hover { color: #f85e00; }
.cart-clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  font-size: 12px;
  display: block;
  width: 100%;
  text-align: center;
  padding: 0;
}
.cart-clear-btn:hover { color: #2f3140; }

/* ─── Checkout ───────────────────────────────────── */
/* ─── Checkout & Confirm pages ───────────────────────── */
.checkout-page-title {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 400;
  line-height: 66px;
  color: #0b111a;
  margin-bottom: 32px;
}
.checkout-stepper { margin-bottom: 40px; }
.checkout-stepper__circles {
  display: flex;
  align-items: center;
}
.checkout-step__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
  color: #bdbbb7;
}
.checkout-step__circle--active  { background: #2f3140; }
.checkout-step__circle--inactive { background: #bdbbb7; }
.checkout-step__circle--done    { background: #f85e00; color: #fff; }
.checkout-stepper__line {
  flex: 1;
  height: 2px;
  background: #bdbbb7;
}
.checkout-stepper__line--done { background: #f85e00; }
.checkout-stepper__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.checkout-step__label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
}
.checkout-step__label--active   { color: #2f3140; }
.checkout-step__label--inactive { color: #bdbbb7; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  padding-bottom: 80px;
  align-items: start;
}
.checkout-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #2f3140;
  margin-bottom: 16px;
}
.checkout-contact-card {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.checkout-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.checkout-addr-card {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color .15s;
}
.checkout-addr-card--selected { border-color: #f85e00; }
.checkout-addr-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.checkout-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #eff1f5;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  color: #2f3140;
}
.checkout-addr-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #2f3140;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  transition: border-color .15s;
}
.checkout-addr-radio--selected { border-color: #f85e00; }
.checkout-addr-radio--selected::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #f85e00;
}
.checkout-addr-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.checkout-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.checkout-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid #f85e00;
  border-radius: 10px;
  background: transparent;
  color: #f85e00;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.checkout-btn-back:hover { background: rgba(248,94,0,.06); }
.checkout-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #f85e00;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s;
}
.checkout-btn-primary:hover { opacity: .88; }
.checkout-summary {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px;
  padding: 20px 24px;
  position: sticky;
  top: 110px;
}
.checkout-summary__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #2f3140;
  margin-bottom: 16px;
}
.checkout-summary__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.checkout-summary__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.checkout-summary__name {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #acabb3;
}
.checkout-summary__price {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: #2f3140;
  white-space: nowrap;
}
.checkout-summary__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid #dadee3;
  padding-top: 12px;
  margin-top: 4px;
  margin-bottom: 6px;
}
.checkout-summary__total-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #2f3140;
}
.checkout-summary__total-amount {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #2f3140;
}
.checkout-summary__note {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #acabb3;
  display: block;
}
.co-order-card {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.co-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid #dadee3;
  font-size: 14px;
}
.co-order-item:last-child { border-bottom: none; }
.co-order-item__name { color: #0b111a; }
.co-order-item__price { font-family: var(--font-sans); font-weight: 600; color: #2f3140; white-space: nowrap; }
.co-delivery-card {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.co-delivery-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  color: #5d636b;
  display: block;
  margin-bottom: 4px;
}
.co-delivery-value {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: #0b111a;
}
.co-main-card {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}
.co-success-wrap {
  max-width: 600px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.co-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f85e00;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.co-success-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: #0b111a;
  margin-bottom: 4px;
}
.co-success-sub {
  font-size: 15px;
  color: #acabb3;
  line-height: 1.6;
}
.co-success-card {
  width: 100%;
  background: #fff;
  border: 1px solid #dadee3;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 8px;
  text-align: left;
}

/* ─── Client Area ───────────────────────────────── */
.ca-page {
  padding-top: 94px;
  min-height: 100vh;
  background: #F9F9F9;
  padding-bottom: 80px;
}
.ca-page-header {
  padding: 40px 0 32px;
}
.ca-page-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 400;
  color: #0B111A;
  line-height: 1.1;
  margin: 0;
}
.ca-layout {
  display: grid;
  grid-template-columns: 258px 1fr;
  gap: 35px;
  align-items: start;
}
.ca-sidebar {
  background: rgba(189,187,183,0.15);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 110px;
}
.ca-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  color: #2F3140;
  text-decoration: none;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.ca-sidebar-item:hover {
  background: rgba(248,94,0,0.08);
  color: #F85E00;
}
.ca-sidebar-item--active {
  background: #F85E00;
  color: #F9F9F9;
}
.ca-sidebar-item--active:hover {
  background: #e05500;
  color: #F9F9F9;
}
.ca-main { min-width: 0; }
.ca-card {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px;
  overflow: hidden;
}
.ca-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(189,187,183,0.15);
  padding: 16px 24px;
}
.ca-card-header-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: #2F3140;
}
.ca-card-body { padding: 24px; }
.ca-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: #2F3140;
  margin-bottom: 20px;
}
.ca-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ca-form-grid .form-group { margin-bottom: 0; }
.ca-form-input {
  background: rgba(241,241,240,0.3) !important;
  border-color: rgba(189,187,183,0.5) !important;
  border-radius: 10px !important;
  height: 50px;
}
.ca-last-order {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 24px;
  gap: 24px;
}
.ca-last-order-info { flex: 1; min-width: 0; }
.ca-last-order-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.ca-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.ca-orders-table { display: flex; flex-direction: column; }
.ca-order-row {
  display: grid;
  grid-template-columns: 160px 1fr 130px 130px 96px;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #DADEE3;
}
.ca-order-row:last-child { border-bottom: none; }
.ca-order-row__ref { display: flex; flex-direction: column; gap: 3px; }
.ca-order-row__id {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #2F3140;
}
.ca-order-row__date {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #ACABB3;
}
.ca-order-row__product {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(47,49,64,0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca-order-row__price {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #2F3140;
}
.ca-btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #F85E00;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}
.ca-btn-orange:hover { background: #e05500; color: #fff; }
.ca-btn-sm { padding: 7px 14px; font-size: 12px; }
.ca-btn-outline-orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: transparent;
  color: #F85E00;
  border: 1px solid #F85E00;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}
.ca-btn-outline-orange:hover { background: rgba(248,94,0,0.08); }
.ca-btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: transparent;
  color: #2F3140;
  border: 1px solid #DADEE3;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}
.ca-btn-outline-dark:hover { background: rgba(0,0,0,0.04); }
.ca-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  gap: 12px;
  color: #ACABB3;
}
.ca-empty-state p { margin: 0; font-family: var(--font-sans); font-size: 15px; }
.ca-flash {
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  margin-bottom: 16px;
}
.ca-flash--success { background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.3); color: #16a34a; }
.ca-flash--error   { background: rgba(220,38,38,.10); border: 1px solid rgba(220,38,38,.3); color: #dc2626; }
.ca-address-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.ca-address-card {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px;
  padding: 20px;
}
.ca-address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.ca-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  background: #EFF1F5;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: #2F3140;
}
.ca-tag--dark {
  background: #2F3140;
  color: #fff;
}
.ca-icon-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  border: 1px solid rgba(189,187,183,0.5);
  background: none;
  cursor: pointer;
  color: #2F3140;
  transition: background .12s;
}
.ca-icon-btn:hover { background: #EFF1F5; }
.ca-favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ca-fav-card {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px;
  overflow: hidden;
}
.ca-fav-card-image {
  position: relative;
  height: 200px;
  background: #EFF1F5;
}
.ca-fav-heart {
  position: absolute;
  top: 10px;
  right: 10px;
}
.ca-fav-card-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ca-fav-card-cat {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  color: #F85E00;
  text-transform: uppercase;
}
.ca-fav-card-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #2F3140;
  margin: 0;
}
.ca-fav-card-spec {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #ACABB3;
  margin: 0;
}
.ca-fav-card-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #2F3140;
  margin-top: 4px;
}
.ca-filter-btn {
  padding: 7px 16px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(47,49,64,0.55);
  background: none;
  color: #2F3140;
  cursor: pointer;
  transition: background .12s;
}
.ca-filter-btn--active { background: #2F3140; color: #fff; border-color: #2F3140; }
.ca-filter-btn--orange { color: #F85E00; border-color: #F85E00; display: inline-flex; align-items: center; gap: 6px; }
.ca-filter-btn--orange:hover { background: rgba(248,94,0,0.08); }

/* Notifications list (Área cliente) */
.ca-notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
/* One connected list: single outer border, dividers between items, no gaps */
.ca-notif-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}
.ca-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 20px;
}
.ca-notif-item:last-child { border-bottom: none; }
.ca-notif-item--unread { background: #FFF6F0; }
.ca-notif-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ca-notif-body { flex: 1; min-width: 0; }
.ca-notif-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #2F3140;
  margin-bottom: 4px;
}
.ca-notif-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(47,49,64,0.7);
  line-height: 1.5;
  margin: 0;
}
/* Time + "Marcar lida": both top-aligned, on the same line as the title */
.ca-notif-meta {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ca-notif-time {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #ACABB3;
  white-space: nowrap;
}
.ca-notif-mark {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(47,49,64,0.7);
  cursor: pointer;
  white-space: nowrap;
}
.ca-notif-mark:hover { color: var(--color-orange); }

/* Reorder button (Perfil) — solid orange, uppercase, with reload icon */
.ca-btn-reorder {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;
  font-weight: 500;
}
/* "Ver detalhes" underlined link below the reorder button */
.ca-link-detalhes {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  color: #2F3140;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ca-link-detalhes:hover { color: var(--color-orange); }
/* "Ver" button (Encomendas) — outline orange, uppercase, diagonal arrow */
.ca-btn-ver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 84px;
  padding: 7px 18px;
  background: transparent;
  color: #F85E00;
  border: 1px solid #F85E00;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.ca-btn-ver:hover { background: rgba(248,94,0,0.08); }
/* Drawer */
.ca-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 400;
}
.ca-drawer-backdrop.open { display: block; }
.ca-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 512px;
  height: 100vh;
  background: #fff;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  z-index: 401;
  display: flex;
  flex-direction: column;
  transition: right .3s ease;
  overflow: hidden;
}
.ca-drawer.open { right: 0; }
.ca-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 32px 20px;
  border-bottom: 1px solid rgba(189,187,183,0.5);
  flex-shrink: 0;
}
.ca-drawer-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #2F3140;
  margin: 0;
}
.ca-drawer-date {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #ACABB3;
}
.ca-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #ACABB3;
  padding: 2px;
  display: flex;
  align-items: center;
  transition: color .12s;
}
.ca-drawer-close:hover { color: #2F3140; }
.ca-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}
.ca-drawer-footer {
  display: flex;
  gap: 12px;
  padding: 20px 32px;
  border-top: 1px solid rgba(189,187,183,0.5);
  flex-shrink: 0;
}
/* Modal */
.ca-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 400;
  align-items: center;
  justify-content: center;
}
.ca-modal-backdrop.open { display: flex; }
.ca-modal {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px;
  width: 750px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.ca-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(189,187,183,0.5);
}
.ca-modal-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #2F3140;
  margin: 0;
}
.ca-modal-body { padding: 24px 32px; }
.ca-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 32px;
  border-top: 1px solid rgba(189,187,183,0.5);
}

/* ─── Breadcrumbs ────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.breadcrumb a, .breadcrumb span {
  font-size: 13px;
  color: var(--color-muted);
}
.breadcrumb a:hover { color: var(--color-orange); }
.breadcrumb .sep { color: var(--color-border); }
.breadcrumb .current { color: var(--color-body); font-weight: 500; }

/* ─── Mobile sidebar toggle ──────────────────────── */
.filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-orange);
  background: none;
  cursor: pointer;
}
.shop-aside.open { display: flex !important; }

/* ─── Page-specific header states ───────────────────── */
.inner-page .header { background: rgba(0,0,0,.92) !important; backdrop-filter: blur(8px); }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --container-px: 40px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid-shop { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .header { padding: 10px 32px; }
  .categories-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-intro { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .checkout-contact-grid { grid-template-columns: 1fr; }
  .checkout-addr-fields { grid-template-columns: 1fr; }
  .checkout-page-title { font-size: 36px; line-height: 44px; }
  .ca-layout { grid-template-columns: 1fr; }
  .ca-sidebar { position: static; display: flex; flex-direction: row; flex-wrap: wrap; }
  .ca-form-grid { grid-template-columns: 1fr; }
  .ca-favorites-grid { grid-template-columns: repeat(2, 1fr); }
  .ca-order-row { grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; }
  .ca-order-row__product, .ca-order-row__price { display: none; }
  .ca-order-row__id { white-space: nowrap; }
  /* Last-order card: stack info above the total/buttons so they don't overlap */
  .ca-last-order { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ca-last-order-total { align-items: flex-start; width: 100%; }
  .ca-last-order-total .ca-btn-reorder { width: 100%; justify-content: center; }
  .ca-drawer { width: 100vw; right: -100vw; }
  .cart-summary { position: static; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-aside { position: static; display: none; }
  .filter-toggle { display: flex; }
}

@media (max-width: 768px) {
  :root { --container-px: 20px; }
  .header { padding: 8px 14px; }
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  /* Compact header so logo + actions + menu all fit without cropping */
  .header-inner { height: 64px; }
  .header-logo { gap: 8px; }
  .header-logo-icon { width: 34px; height: 34px; }
  .header-logo-text { font-size: 12px; letter-spacing: .07em; }
  .header-logo-sub { font-size: 8.5px; letter-spacing: .14em; }
  .header-actions { gap: 0; }
  .header-icon-btn { width: 38px; height: 38px; }
  .header-icon-btn svg { width: 21px; height: 21px; }
  .mobile-menu-btn { width: 38px; height: 38px; }
  .hero { height: auto; min-height: 580px; padding-top: 120px; padding-bottom: 80px; }
  .hero-overlay { background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,.8)); }
  .features-inner { flex-direction: column; align-items: flex-start; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid-shop { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-headline-brand, .footer-headline-sub { font-size: 32px; line-height: 1.1; }
  .form-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr auto; }
  .cart-item-bottom { flex-wrap: wrap; gap: 8px; }
  .page-hero { height: 240px; }
  .page-hero p { font-size: 16px; max-width: 90%; }
  .cta-section { padding: 60px 20px; }
  .cta-section p { font-size: 16px; }
  .section { padding: 48px 0; }
  .stats-inner { justify-content: flex-start; gap: 32px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .checkout-actions { flex-direction: column; }
  .checkout-actions .btn { width: 100%; justify-content: center; }
  .auth-right { padding: 40px 20px; }
  .auth-card { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ADMIN AREA
   ═══════════════════════════════════════════════════════════════════════════ */

/* Reset for admin body */
.admin-body { margin: 0; padding: 0; background: #F9F9F9; font-family: 'DM Sans', sans-serif; color: #2F3140; }

/* Layout */
.admin-wrap { display: flex; min-height: 100vh; padding: 30px; gap: 30px; box-sizing: border-box; align-items: flex-start; }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.admin-sidebar {
  width: 265px;
  flex-shrink: 0;
  background: rgba(189,187,183,0.15);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.admin-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(189,187,183,0.3);
  margin-bottom: 12px;
}
.admin-sidebar-logo img { width: 36px; height: 36px; object-fit: contain; }
.admin-sidebar-logo-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #2F3140; }
.admin-sidebar-logo-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; color: rgba(47,49,64,0.5); }
.admin-sidebar-nav { display: flex; flex-direction: column; gap: 4px; padding: 0; }
.admin-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #2F3140;
  text-decoration: none;
  transition: background 0.15s;
}
.admin-sidebar-item:hover { background: rgba(248,94,0,0.06); }
.admin-sidebar-item--active { background: #F85E00 !important; color: #FFFFFF !important; }
.admin-sidebar-item--active svg { stroke: #FFFFFF; }

/* ── Content area ───────────────────────────────────────────────────────── */
.admin-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ── Topbar ──────────────────────────────────────────────────────────────── */
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 26px;
  height: 59px;
  background: rgba(189,187,183,0.15);
  border-radius: 10px;
  flex-shrink: 0;
}
.admin-topbar-title { font-size: 18px; font-weight: 600; color: #0B111A; margin: 0; }
.admin-topbar-subtitle { font-size: 12px; color: #ACABB3; margin: 2px 0 0; }
.admin-topbar-right { display: flex; align-items: center; gap: 16px; }
.admin-notif-wrap { position: relative; }
.admin-notif-btn {
  width: 36px; height: 36px;
  border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; position: relative;
  color: #2F3140;
}
.admin-notif-btn:hover { background: rgba(189,187,183,0.3); }
.admin-notif-badge {
  position: absolute; top: 5px; right: 5px;
  background: #F85E00; color: #fff;
  font-size: 9px; font-weight: 700; line-height: 1;
  min-width: 14px; height: 14px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; pointer-events: none;
}
.admin-notif-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 320px; background: #fff;
  border: 1px solid rgba(189,187,183,0.4);
  border-radius: 12px; box-shadow: 0 8px 32px rgba(11,17,26,0.12);
  z-index: 200; display: none; flex-direction: column;
  overflow: hidden;
}
.admin-notif-wrap.open .admin-notif-dropdown { display: flex; }
.admin-notif-drop-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px; border-bottom: 1px solid rgba(189,187,183,0.3);
}
.admin-notif-drop-title { font-size: 13px; font-weight: 600; color: #0B111A; }
.admin-notif-drop-unread { font-size: 11px; color: #F85E00; font-weight: 600; }
.admin-notif-drop-list { display: flex; flex-direction: column; }
.admin-notif-drop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; text-decoration: none;
  color: #0B111A; transition: background 0.12s;
  border-bottom: 1px solid rgba(189,187,183,0.2); position: relative;
}
.admin-notif-drop-item:last-child { border-bottom: none; }
.admin-notif-drop-item:hover { background: rgba(189,187,183,0.15); }
.admin-notif-drop-item--unread { background: rgba(248,94,0,0.03); }
.admin-notif-drop-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.admin-notif-drop-icon--order  { background: rgba(59,130,246,0.12); color: #3B82F6; }
.admin-notif-drop-icon--user   { background: rgba(34,197,94,0.12);  color: #16A34A; }
.admin-notif-drop-icon--warning{ background: rgba(245,158,11,0.12); color: #D97706; }
.admin-notif-drop-icon--system { background: rgba(172,171,179,0.2); color: #6B7280; }
.admin-notif-drop-body { flex: 1; min-width: 0; }
.admin-notif-drop-name { font-size: 13px; font-weight: 500; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-notif-drop-time { font-size: 11px; color: #ACABB3; margin: 2px 0 0; }
.admin-notif-drop-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #F85E00; flex-shrink: 0;
}
.admin-notif-drop-footer {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 16px; font-size: 12px; font-weight: 600;
  color: #F85E00; text-decoration: none;
  background: rgba(248,94,0,0.04);
  border-top: 1px solid rgba(189,187,183,0.3);
  transition: background 0.12s;
}
.admin-notif-drop-footer:hover { background: rgba(248,94,0,0.09); }

/* ── User button in topbar ───────────────────────────────────────────────── */
.admin-user-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px; border-radius: 10px; cursor: pointer;
  position: relative; user-select: none;
  transition: background 0.15s;
}
.admin-user-btn:hover { background: rgba(189,187,183,0.3); }
.admin-user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #F85E00; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.admin-user-info { display: flex; flex-direction: column; }
.admin-user-name { font-size: 14px; font-weight: 500; color: #2F3140; line-height: 1.2; }
.admin-user-email { font-size: 12px; color: rgba(47,49,64,0.6); line-height: 1.2; }
.admin-user-dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 180px; z-index: 1000; padding: 4px;
}
.admin-user-btn.open .admin-user-dropdown { display: block; }
.admin-user-dropdown-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; font-size: 13px; color: #2F3140;
  text-decoration: none; border-radius: 7px; border: none;
  background: none; cursor: pointer; width: 100%; text-align: left;
  transition: background 0.15s;
}
.admin-user-dropdown-item:hover { background: rgba(189,187,183,0.2); }
.admin-user-dropdown-item--logout { color: #dc2626; }
.admin-user-dropdown-item--logout:hover { background: rgba(220,38,38,0.07); }

/* ── Main content ────────────────────────────────────────────────────────── */
.admin-main { padding: 25px 0 30px; flex: 1; }

/* ── Toasts ──────────────────────────────────────────────────────────────── */
.admin-toasts {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.admin-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 420px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
  pointer-events: all;
  animation: toast-in 0.28s cubic-bezier(0.16,1,0.3,1) both;
}
.admin-toast.toast-out {
  animation: toast-out 0.22s ease-in forwards;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); max-height: 80px; margin-bottom: 0; }
  to   { opacity: 0; transform: translateX(24px); max-height: 0; margin-bottom: -10px; padding: 0; }
}
.admin-toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-toast--notice .admin-toast-icon { background: rgba(51,180,104,0.12); color: #33B468; }
.admin-toast--alert  .admin-toast-icon { background: rgba(220,38,38,0.10);  color: #dc2626; }
.admin-toast-msg {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #2F3140;
}
.admin-toast--notice { border-left: 3px solid #33B468; }
.admin-toast--alert  { border-left: 3px solid #dc2626; }
.admin-toast-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  color: #ACABB3;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background 0.12s, color 0.12s;
}
.admin-toast-close:hover { background: rgba(189,187,183,0.2); color: #2F3140; }

/* ── Stat cards ──────────────────────────────────────────────────────────── */
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.admin-stat-card {
  background: #fff; border-radius: 10px;
  border: 1px solid rgba(189,187,183,0.4);
  padding: 20px 24px;
}
.admin-stat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.admin-stat-label { font-size: 12px; color: #ACABB3; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; }
.admin-stat-icon { display: inline-flex; align-items: center; justify-content: center; color: #ACABB3; }
.admin-stat-value { font-size: 28px; font-weight: 700; color: #2F3140; margin-bottom: 8px; font-family: var(--font-heading); }
.admin-stat-trend { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; }
.admin-stat-trend--up { color: #33B468; }
.admin-stat-trend--down { color: #ec001f; }
.admin-stat-trend--neutral { color: #ACABB3; }

/* ── Charts ──────────────────────────────────────────────────────────────── */
.admin-charts-row { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 20px; }
.admin-chart-card { padding: 24px; }
.admin-chart-wrap { margin-top: 16px; }
/* Fixed-height chart box so the canvas can't grow unbounded */
.admin-chart-box { position: relative; height: 300px; margin-top: 16px; }
.admin-chart-box--donut { height: 260px; display: flex; align-items: center; justify-content: center; }
.admin-donut-wrap { position: relative; width: 240px; height: 240px; }
.admin-chart-box canvas { max-width: 100%; }
.admin-chart-loader {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  transition: opacity .3s ease;
}
.admin-chart-loader.hidden { opacity: 0; pointer-events: none; }
.admin-chart-loader::after {
  content: "";
  width: 34px; height: 34px;
  border: 3px solid rgba(189,187,183,0.4);
  border-top-color: var(--color-orange);
  border-radius: 50%;
  animation: map-spin .7s linear infinite;
}
.admin-cat-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.admin-cat-legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #2F3140; }
.admin-cat-dot { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.admin-card {
  background: #fff; border-radius: 10px;
  border: 1px solid rgba(189,187,183,0.4);
  overflow: hidden;
}
.admin-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.admin-card-header--border { border-bottom: 1px solid rgba(189,187,183,0.2); }
.admin-card-header--grey { background: rgba(189,187,183,0.12); border-bottom: 1px solid rgba(189,187,183,0.2); }
.admin-card-title { font-size: 16px; font-weight: 500; color: #2F3140; }
.admin-muted { color: rgba(47,49,64,0.5); }
.admin-empty { padding: 32px; text-align: center; color: #ACABB3; font-size: 14px; margin: 0; }

/* ── Toolbar ─────────────────────────────────────────────────────────────── */
.admin-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.admin-search-form { display: flex; align-items: center; gap: 8px; flex: 1; }
.admin-search-wrap {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid rgba(189,187,183,0.5);
  border-radius: 10px; padding: 0 14px; height: 44px;
}
.admin-search-input { flex: 1; border: none; background: transparent; font-size: 14px; color: #2F3140; outline: none; }
.admin-search-input::placeholder { color: rgba(11,17,26,0.4); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.admin-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 10px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  border: none; white-space: nowrap; text-decoration: none;
  transition: opacity 0.15s;
}
.admin-btn:hover { opacity: 0.85; }
.admin-btn--primary { background: #F85E00; color: #fff; }
.admin-btn--outline { background: #fff; color: #F85E00; border: 1px solid rgba(248,94,0,0.4); }
.admin-btn--ghost { background: transparent; color: #2F3140; border: 1px solid rgba(189,187,183,0.5); }
.admin-btn-ver {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 16px; border-radius: 8px;
  background: transparent; color: #F85E00; border: 1px solid #F85E00;
  font-size: 12px; font-weight: 600; cursor: pointer;
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  transition: background 0.15s;
}
.admin-btn-ver:hover { background: rgba(248,94,0,0.08); }
.admin-icon-btn {
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; transition: background 0.15s;
  background: transparent; color: rgba(47,49,64,0.6);
}
.admin-icon-btn:hover { background: rgba(189,187,183,0.18); }
.admin-icon-btn--danger { color: #dc2626; }
/* Nova encomenda — product rows */
.admin-prod-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.admin-prod-add { background: none; border: none; color: #F85E00; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.admin-prod-add:hover { text-decoration: underline; }
.admin-prod-row { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.admin-prod-row .admin-select { flex: 1; min-width: 0; }
.admin-prod-qty { width: 72px; flex: none; }
.admin-prod-remove { background: none; border: none; font-size: 22px; line-height: 1; color: #ACABB3; cursor: pointer; padding: 0 4px; }
.admin-prod-remove:hover { color: #dc2626; }
.admin-prod-total { text-align: right; font-size: 15px; color: #2F3140; margin-top: 6px; }
.admin-icon-btn--danger:hover { background: rgba(220,38,38,0.1); }

/* ── Filter tabs ─────────────────────────────────────────────────────────── */
/* ── Filter panel ────────────────────────────────────────────────────────── */
.admin-filter-panel {
  background: #fff;
  border: 1px solid rgba(189,187,183,0.4);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.admin-filter-panel.open { grid-template-rows: 1fr; }
.admin-filter-panel-inner { overflow: hidden; }
.admin-filter-panel-body {
  padding: 20px 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px 32px;
}
.admin-filter-group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ACABB3;
  margin-bottom: 10px;
}
.admin-filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-filter-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(189,187,183,0.5);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: #2F3140;
  cursor: pointer;
  transition: all 0.12s;
  user-select: none;
}
.admin-filter-pill:hover { border-color: rgba(248,94,0,0.3); color: #F85E00; }
.admin-filter-pill--active {
  background: rgba(248,94,0,0.08);
  border-color: rgba(248,94,0,0.35);
  color: #F85E00;
  font-weight: 600;
}
.admin-filter-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.admin-filter-date-input {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 8px;
  font-size: 13px;
  color: #2F3140;
  background: #fff;
  outline: none;
  transition: border-color 0.12s;
}
.admin-filter-date-input:focus { border-color: #F85E00; }
.admin-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  margin-top: 20px;
  border-top: 1px solid rgba(189,187,183,0.2);
}
.admin-filter-clear {
  font-size: 13px;
  font-weight: 500;
  color: #ACABB3;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.12s, background 0.12s;
  border: none;
  background: none;
  cursor: pointer;
}
.admin-filter-clear:hover { color: #dc2626; background: rgba(220,38,38,0.05); }
.admin-btn--outline.active-filters {
  background: rgba(248,94,0,0.06);
  border-color: rgba(248,94,0,0.4);
  color: #F85E00;
}
.admin-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #F85E00;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.admin-filter-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-filter-tab {
  padding: 8px 14px; border-radius: 8px; font-size: 13px;
  color: rgba(47,49,64,0.6); text-decoration: none;
  border: 1px solid transparent; transition: all 0.15s;
}
.admin-filter-tab:hover { background: rgba(189,187,183,0.2); }
.admin-filter-tab--active { background: #fff; color: #F85E00; border-color: rgba(248,94,0,0.3); font-weight: 500; }

/* ── Table ───────────────────────────────────────────────────────────────── */
.admin-table-head {
  display: flex; align-items: center;
  padding: 0 24px; height: 48px;
  background: rgba(189,187,183,0.12);
  border-bottom: 1px solid rgba(189,187,183,0.2);
}
.admin-th { font-size: 13px; color: rgba(47,49,64,0.5); font-weight: 500; padding: 0 8px; text-transform: uppercase; letter-spacing: -0.2px; }
.admin-table-row {
  display: flex; align-items: center;
  padding: 0 24px; min-height: 72px;
  border-bottom: 1px solid rgba(189,187,183,0.15);
  transition: background 0.12s;
}
.admin-table-row:last-child { border-bottom: none; }
.admin-table-row:hover { background: rgba(248,94,0,0.02); }
.admin-table-cell {
  display: flex; align-items: center; flex: 1;
  padding: 12px 8px; font-size: 14px;
}
.admin-table-cell--grow { flex: 2; }
.admin-row-ref { font-weight: 700; font-size: 14px; color: #2F3140; }
.admin-row-date { font-size: 12px; }

/* ── Product cell ────────────────────────────────────────────────────────── */
.admin-produto-data { display: flex; align-items: center; gap: 12px; }
.admin-produto-img {
  width: 40px; height: 40px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0;
  border: 1px solid rgba(189,187,183,0.3);
}
.admin-produto-img--placeholder {
  background: rgba(189,187,183,0.1);
  display: flex; align-items: center; justify-content: center;
}
.admin-produto-nome { font-size: 14px; font-weight: 500; color: #2F3140; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.admin-badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.admin-badge--success  { background: rgba(51,180,104,0.15);  color: #33B468; }
.admin-badge--danger   { background: rgba(236,0,32,0.15);    color: #ec001f; }
.admin-badge--warning  { background: rgba(252,135,2,0.15);   color: #FC8702; }
.admin-badge--info     { background: rgba(38,103,236,0.15);  color: #2667EC; }
.admin-badge--purple   { background: rgba(181,74,199,0.15);  color: #B54AC7; }
.admin-badge--sky      { background: rgba(50,174,232,0.15);  color: #32AEE8; }
.admin-badge--muted    { background: rgba(172,171,179,0.15); color: #ACABB3; }
.admin-desconto-badge {
  display: inline-flex; padding: 4px 10px; border-radius: 6px;
  background: rgba(248,94,0,0.12); color: #F85E00;
  font-size: 11px; font-weight: 700;
}

/* ── Modals ──────────────────────────────────────────────────────────────── */
.admin-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center; justify-content: center;
}
.admin-modal {
  background: #fff; border-radius: 14px;
  padding: 28px 32px;
  width: 100%; max-width: 750px; max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.admin-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px;
}
.admin-modal-title { font-size: 20px; font-weight: 700; color: #2E2E2E; margin: 0; }
.admin-modal-close {
  width: 28px; height: 28px; border: none; background: none;
  cursor: pointer; color: #2F3140; display: flex;
  align-items: center; justify-content: center; border-radius: 6px; flex-shrink: 0;
}
.admin-modal-close:hover { background: rgba(189,187,183,0.3); }
.admin-modal-form { display: flex; flex-direction: column; gap: 16px; }
.admin-modal-footer { display: flex; gap: 12px; justify-content: flex-end; padding-top: 8px; }

/* ── Drawers ─────────────────────────────────────────────────────────────── */
.admin-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1500;
}
.admin-drawer {
  position: fixed; top: 0; right: -520px; width: 512px; height: 100vh;
  background: #fff; z-index: 1600;
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  display: flex; flex-direction: column;
  transition: right 0.25s ease;
  overflow-y: auto;
}
.admin-drawer.open { right: 0; }
.admin-drawer-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(189,187,183,0.2);
  flex-shrink: 0;
}
.admin-drawer-title { font-size: 24px; font-weight: 700; color: #2F3140; margin: 0; }
.admin-drawer-body { display: flex; flex-direction: column; gap: 16px; padding: 24px 32px; flex: 1; }
.admin-drawer-section { padding-top: 16px; border-top: 1px solid rgba(189,187,183,0.2); display: flex; flex-direction: column; gap: 12px; }
.admin-drawer-section-title { font-size: 13px; font-weight: 700; color: #2F3140; margin: 0; display: flex; align-items: center; gap: 6px; }
.admin-drawer-artigo { display: flex; justify-content: space-between; padding: 10px 14px; background: rgba(189,187,183,0.06); border-radius: 6px; font-size: 14px; }
.admin-drawer-total { display: flex; justify-content: space-between; padding: 8px 0; font-size: 18px; color: #2F3140; }
.admin-drawer-footer { display: flex; gap: 12px; flex-shrink: 0; }
.admin-drawer-contact-block { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: rgba(189,187,183,0.08); border-radius: 8px; border: 1px solid rgba(189,187,183,0.2); }
.admin-drawer-contact-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #2F3140; }

/* ── Forms (admin-specific) ───────────────────────────────────────────────── */
.admin-form-group { display: flex; flex-direction: column; gap: 6px; }
.admin-form-row { display: flex; gap: 16px; }
.admin-label { font-size: 14px; font-weight: 500; color: #2E2E2E; }
.admin-input {
  height: 50px; padding: 0 14px;
  background: rgba(241,241,240,0.5);
  border: 1px solid rgba(189,187,183,0.5);
  border-radius: 8px; font-size: 14px; color: #2F3140;
  outline: none; width: 100%; box-sizing: border-box;
  font-family: inherit; transition: border-color 0.15s;
}
.admin-input:focus { border-color: #F85E00; background: #fff; }
.admin-select { cursor: pointer; }
.admin-check-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.admin-check-label input { width: 16px; height: 16px; accent-color: #F85E00; }

@media (max-width: 900px) {
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-charts-row { grid-template-columns: 1fr; }

  /* Stack the sidebar into a scrollable top nav.
     Block (not flex) so a wide scrollable table can't stretch the layout. */
  .admin-wrap { display: block; padding: 16px; }
  .admin-content { width: 100%; }
  .admin-sidebar { width: auto; padding: 14px 16px; margin-bottom: 16px; }
  .admin-sidebar-logo { padding-bottom: 12px; margin-bottom: 12px; }
  .admin-sidebar-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 2px; }
  .admin-sidebar-item { white-space: nowrap; flex-shrink: 0; }

  /* Tables scroll horizontally instead of crushing columns */
  .admin-card { overflow-x: auto; }
  .admin-table-head, .admin-table-row { min-width: 820px; }

  /* Toolbars + filters wrap */
  .admin-toolbar { flex-wrap: wrap; }
  .admin-filter-panel-body { grid-template-columns: 1fr 1fr; }

  /* Full-bleed drawer */
  .admin-drawer { width: 100vw; right: -100vw; }
}

@media (max-width: 600px) {
  .admin-stats-grid { grid-template-columns: 1fr; }
  .admin-wrap { padding: 12px; }
  .admin-topbar { flex-wrap: wrap; gap: 8px; height: auto; align-items: flex-start; padding: 14px 18px; }
  .admin-filter-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .admin-filter-tabs .admin-filter-tab { white-space: nowrap; flex-shrink: 0; }
  .admin-toolbar .admin-btn,
  .admin-toolbar .admin-search-form { flex: 1 1 auto; }
  .admin-filter-panel-body { grid-template-columns: 1fr; }
  .admin-form-row { flex-direction: column; }
  .admin-modal { padding: 22px 18px; border-radius: 12px; }
  .admin-modal-backdrop { padding: 12px; box-sizing: border-box; }
}
