
:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --accent: #C8FF00;
  --gray: #1a1a1a;
  --gray2: #2a2a2a;
  --gray3: #888;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
}

/* NAVEGAÇÃO */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #222;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 3px;
  color: var(--accent);
}

.logo span {
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--gray3);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--white);
}

.cart-btn {
  background: var(--accent);
  color: var(--black);
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity .2s;
}

.cart-btn:hover {
  opacity: .85;
}

/* WHATSAPP */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  background: #25D366;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .2s;
}

.wa-float:hover {
  transform: scale(1.1);
}

.wa-tooltip {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 150;
  background: var(--gray);
  color: var(--white);
  border: 1px solid #333;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}

.wa-float:hover ~ .wa-tooltip {
  opacity: 1;
}

/* CARREGAMENTO */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.loading-screen.hidden {
  display: none;
}

.loading-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  letter-spacing: 4px;
  color: var(--accent);
}

.loading-bar {
  width: 200px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar-inner {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: loadbar 1.5s ease-in-out infinite;
}

@keyframes loadbar {
  0% { width: 0; margin-left: 0; }
  50% { width: 100%; margin-left: 0; }
  100% { width: 0; margin-left: 100%; }
}

.loading-text {
  font-size: 13px;
  color: var(--gray3);
}

/* ===== SECÇÃO INICIAL ===== */

.hero {
    background: #ffffff;
    padding: 32px 24px;
    text-align: center;
}

/* Quadro preto centralizado */
.hero-card {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 25px;
    background: #050505;
    border-radius: 12px;
    text-align: center;
}

/* Remover decoração antiga */
.hero::before {
    display: none;
}

/* Etiqueta de entrega */
.hero-tag {
    display: inline-block;
    background: #292929;
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Título numa única linha */
.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    color: #ffffff;
    font-size: clamp(1.5rem, 5.2vw, 4.5rem);
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
    margin-bottom: 18px;
}

/* Palavra ténis a verde */
.hero h1 em {
    color: var(--accent);
    font-style: normal;
}

/* Descrição */
.hero p {
    color: #aaaaaa;
    font-size: 14px;
    max-width: 380px;
    margin: 0 auto 22px;
    line-height: 1.6;
}

/* Botão branco */
.hero-cta {
    display: inline-block;
    background: #ffffff;
    color: #050505;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 12px 34px;
    border-radius: 7px;
    text-decoration: none;
    transition: background 0.2s;
}

.hero-cta:hover {
    background: #dddddd;
}

/* Telemóveis */
@media (max-width: 600px) {

    .hero {
        padding: 20px 12px;
    }

    .hero-card {
        padding: 40px 10px;
    }

    .hero h1 {
        font-size: clamp(1.15rem, 5.2vw, 2rem);
        letter-spacing: 0;
    }

    .hero p {
        font-size: 12px;
        max-width: 280px;
    }

    .hero-cta {
        font-size: 16px;
        padding: 10px 28px;
    }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-align: left;
    padding-left: 50px;
}

.section-title span {
  color: var(--accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--gray);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #222;
  transition: transform .25s,border-color .25s,box-shadow .25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: #444;
  box-shadow: 0 12px 40px rgba(200,255,0,0.08);
}

.product-img {
  width: 100%;
  aspect-ratio: 1/1;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-img .placeholder {
  font-size: 5rem;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-brand {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  line-height: 1.3;
}

.product-desc {
  font-size: 12px;
  color: var(--gray3);
  margin-bottom: .75rem;
  line-height: 1.5;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--accent);
}

.btn-buy {
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
  font-family: 'Outfit', sans-serif;
}

.btn-buy:hover {
  background: var(--accent);
}

/* MODAL DE PRODUTO */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--gray);
  border-radius: 16px;
  border: 1px solid #333;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp .3s ease;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-close {
  background: #333;
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-body {
  padding: 1.5rem;
}

.modal-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  background: #222;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 1.25rem;
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s;
}

.modal-brand {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modal-name {
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0 8px;
}

.modal-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.field-label {
  font-size: 12px;
  color: var(--gray3);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.field-group {
  margin-bottom: 1.25rem;
}

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #222;
  border: 1px solid #333;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  font-family: 'Outfit', sans-serif;
}

.size-btn:hover {
  border-color: #666;
}

.size-btn.active {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

.color-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .15s;
}

.color-swatch.active {
  border-color: var(--accent);
  transform: scale(1.15);
}

.color-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray3);
  margin-top: 8px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #222;
  border: 1px solid #333;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.qty-btn:hover {
  background: #333;
}

.qty-val {
  font-size: 18px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.btn-add-cart {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: var(--black);
  border: none;
  border-radius: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity .2s;
  margin-top: .5rem;
}

.btn-add-cart:hover {
  opacity: .85;
}

/* CHECKOUT */
.checkout-section {
  padding: 3rem 2rem;
  max-width: 640px;
  margin: 0 auto;
  display: none;
}

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

.checkout-card {
  background: var(--gray);
  border-radius: 16px;
  border: 1px solid #333;
  overflow: hidden;
}

.checkout-top {
  background: var(--black);
  padding: 1.5rem;
  border-bottom: 1px solid #222;
}

.checkout-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  margin-bottom: .25rem;
}

.checkout-subtitle {
  font-size: 13px;
  color: var(--gray3);
}

.checkout-body {
  padding: 1.5rem;
}

.order-summary {
  background: #111;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #222;
}

.order-item:last-child {
  border: none;
}

.order-item-name {
  font-size: 14px;
  font-weight: 500;
}

.order-item-detail {
  font-size: 12px;
  color: var(--gray3);
  margin-top: 2px;
}

.order-item-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--accent);
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #333;
}

.order-total-label {
  font-weight: 600;
  font-size: 15px;
}

.order-total-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--accent);
}

.bank-box {
  background: #111;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
}

.bank-title {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid #222;
}

.bank-row:last-child {
  border: none;
}

.bank-k {
  color: var(--gray3);
}

.bank-v {
  font-weight: 600;
}

.upload-area {
  border: 2px dashed #333;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s;
  margin-bottom: 1.5rem;
}

.upload-area:hover {
  border-color: var(--accent);
}

.upload-area.has-file {
  border-color: var(--accent);
  background: rgba(200,255,0,0.05);
}

.upload-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}

.upload-text {
  font-size: 14px;
  color: var(--gray3);
  line-height: 1.6;
}

.upload-filename {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-top: .5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 12px;
  color: var(--gray3);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: var(--white);
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  transition: border-color .2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input::placeholder {
  color: #555;
}

.btn-confirm {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--black);
  border: none;
  border-radius: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity .2s;
}

.btn-confirm:hover {
  opacity: .85;
}

.btn-confirm:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* SUCESSO */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 300;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}

.success-overlay.active {
  display: flex;
}

.success-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: bounce .6s ease;
}

@keyframes bounce {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.success-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.success-msg {
  font-size: 16px;
  color: var(--gray3);
  max-width: 400px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.success-ref {
  background: var(--gray2);
  border-radius: 8px;
  padding: 12px 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.btn-back {
  background: var(--accent);
  color: var(--black);
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--accent);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}

.empty-msg {
  text-align: center;
  padding: 3rem;
  color: var(--gray3);
}

.empty-msg span {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

/* ADMINISTRAÇÃO */
.admin-pw-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 500;
  align-items: center;
  justify-content: center;
}

.admin-pw-overlay.active {
  display: flex;
}

.admin-pw-box {
  background: var(--gray);
  border: 1px solid #333;
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 360px;
  text-align: center;
  animation: slideUp .25s ease;
}

.admin-pw-box h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: .5rem;
}

.admin-pw-box p {
  font-size: 13px;
  color: var(--gray3);
  margin-bottom: 1.5rem;
}

.admin-pw-box input {
  width: 100%;
  padding: 12px 16px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: var(--white);
  font-size: 18px;
  font-family: 'Outfit', sans-serif;
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  transition: border-color .2s;
}

.admin-pw-box input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-enter {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-bottom: .75rem;
}

.btn-cancel {
  background: none;
  border: none;
  color: var(--gray3);
  font-size: 13px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

.pw-error {
  color: #f09595;
  font-size: 13px;
  margin-top: .75rem;
  display: none;
}

.admin-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 400;
  overflow-y: auto;
  padding: 2rem;
}

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

.admin-inner {
  max-width: 860px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.admin-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
}

.admin-close {
  background: #333;
  border: none;
  color: var(--white);
  padding: 8px 20px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 2rem;
  background: #111;
  border-radius: 10px;
  padding: 4px;
}

.admin-tab {
  flex: 1;
  padding: 10px 16px;
  background: none;
  border: none;
  color: var(--gray3);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all .2s;
  text-align: center;
}

.admin-tab.active {
  background: var(--gray);
  color: var(--white);
}

.admin-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--black);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-form {
  background: var(--gray);
  border-radius: 12px;
  border: 1px solid #333;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-form h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-field {
  margin-bottom: 1rem;
}

.admin-field label {
  display: block;
  font-size: 12px;
  color: var(--gray3);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  padding: 10px 14px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
}

.admin-field input:focus,
.admin-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.admin-field textarea {
  resize: vertical;
  min-height: 80px;
}

.photo-upload-area {
  border: 2px dashed #444;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s;
  background: #111;
}

.photo-upload-area:hover {
  border-color: var(--accent);
}

.photo-upload-area.has-photo {
  border-color: var(--accent);
  background: rgba(200,255,0,0.04);
}

.photo-preview {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 10px;
  display: none;
}

.photo-preview.visible {
  display: block;
}

.photo-upload-text {
  font-size: 13px;
  color: var(--gray3);
  margin-top: 6px;
}

.btn-add-product {
  background: var(--accent);
  color: var(--black);
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: .5rem;
}

.btn-add-product:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.products-list {
  margin-top: 1.5rem;
}

.products-list h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.admin-product-item {
  background: var(--gray);
  border-radius: 8px;
  border: 1px solid #333;
  padding: 1rem;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-product-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  overflow: hidden;
}

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

.admin-product-info {
  flex: 1;
}

.admin-product-info strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.admin-product-info span {
  color: var(--gray3);
  font-size: 13px;
}

.btn-delete {
  background: #3a1010;
  color: #f09595;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  flex-shrink: 0;
}

.btn-edit {
  background: #1a2a3a;
  color: #64b5f6;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  flex-shrink: 0;
}

/* PEDIDOS */
.orders-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.orders-search {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
}

.orders-search:focus {
  outline: none;
  border-color: var(--accent);
}

.orders-filter {
  padding: 10px 14px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
}

.orders-filter:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-refresh {
  padding: 10px 16px;
  background: var(--gray2);
  border: 1px solid #333;
  border-radius: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: border-color .2s;
}

.btn-refresh:hover {
  border-color: #666;
}

.orders-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--gray);
  border: 1px solid #222;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--gray3);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.order-card {
  background: var(--gray);
  border: 1px solid #333;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color .2s;
}

.order-card:hover {
  border-color: #444;
}

.order-card-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.order-ref {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--accent);
}

.order-meta {
  font-size: 13px;
  color: var(--gray3);
}

.order-meta strong {
  color: var(--white);
}

.order-right {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.order-total-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--white);
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pendente {
  background: rgba(255,200,0,0.15);
  color: #ffc800;
  border: 1px solid rgba(255,200,0,0.3);
}

.status-confirmado {
  background: rgba(200,255,0,0.12);
  color: var(--accent);
  border: 1px solid rgba(200,255,0,0.3);
}

.status-enviado {
  background: rgba(0,180,255,0.12);
  color: #00b4ff;
  border: 1px solid rgba(0,180,255,0.3);
}

.status-entregue {
  background: rgba(0,220,100,0.12);
  color: #00dc64;
  border: 1px solid rgba(0,220,100,0.3);
}

.status-cancelado {
  background: rgba(255,80,80,0.12);
  color: #ff5050;
  border: 1px solid rgba(255,80,80,0.3);
}

.order-chevron {
  color: var(--gray3);
  font-size: 12px;
  transition: transform .2s;
}

.order-card.expanded .order-chevron {
  transform: rotate(180deg);
}

.order-card-body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid #222;
}

.order-card.expanded .order-card-body {
  display: block;
}

.order-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.order-section-title {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.order-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid #1d1d1d;
}

.order-info-row:last-child {
  border: none;
}

.order-info-k {
  color: var(--gray3);
}

.order-info-v {
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}

.order-items-list {
  background: #111;
  border-radius: 8px;
  padding: .75rem;
}

.order-product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #1d1d1d;
  font-size: 13px;
}

.order-product-row:last-child {
  border: none;
}

.order-product-name {
  font-weight: 500;
}

.order-product-detail {
  color: var(--gray3);
  font-size: 11px;
  margin-top: 2px;
}

.order-product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.order-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.order-status-select {
  flex: 1;
  min-width: 160px;
  padding: 8px 12px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
}

.order-status-select:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-save-status {
  padding: 8px 20px;
  background: var(--accent);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity .2s;
}

.btn-save-status:hover {
  opacity: .85;
}

.btn-delete-order {
  padding: 8px 16px;
  background: #3a1010;
  color: #f09595;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

.btn-wa-order {
  padding: 8px 16px;
  background: #1a3a1a;
  color: #25D366;
  border: 1px solid #25D36633;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.orders-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray3);
}

.orders-empty span {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.orders-loading {
  text-align: center;
  padding: 3rem;
  color: var(--gray3);
  font-size: 14px;
}

/* CONSTRUTOR DE CORES */
.color-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* NOTIFICAÇÕES */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray);
  border: 1px solid #333;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 600;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
}

/* RODAPÉ */
footer {
  border-top: 1px solid #222;
  padding: 2rem;
  text-align: center;
  color: var(--gray3);
  font-size: 13px;
  margin-top: 4rem;
}

footer strong {
  color: var(--accent);
}

/* RESPONSIVIDADE */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2,1fr);
    gap: .75rem;
  }

  nav {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 3rem 1rem 2rem;
  }

  .catalog {
    width: 100%;
    max-width: 1500px;
    padding: 3rem 50px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

  .order-body-grid {
    grid-template-columns: 1fr;
  }

  .orders-stats {
    grid-template-columns: repeat(2,1fr);
  }
}
/* ===== AJUSTE FINAL DO QUADRO INICIAL ===== */

/* Fundo branco à volta do quadro */
.hero {
    background: #ffffff !important;
    padding: 18px 32px 32px !important;
    width: 100%;
}

/* Quadro preto mais estreito e centrado */
.hero-card {
    background: #050505;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 50px 25px;
}

/* Garantir espaço branco dos dois lados */
@media (min-width: 700px) {
    .hero {
        padding-left: 45px !important;
        padding-right: 45px !important;
    }
}

/* Ajuste para telemóveis */
@media (max-width: 600px) {

    .hero {
        padding: 14px 12px 24px !important;
    }

    .hero-card {
        padding: 38px 10px;
    }

    /* Alinhamento do catálogo */
    .catalog {
        padding: 2rem 20px;
    }

    .section-header {
        justify-content: flex-start;
        width: 100%;
    }

    .section-title {
        text-align: left;
    }
}