

/* ==========================================================
   1. VARIABILI GLOBALI E SETTING DI BASE
   ========================================================== */
:root {
  color-scheme: dark;
  --bg-main: #000000;
  --bg-card: rgba(18, 18, 18, 0.8);
  --bg-input: #121212;
  --border-glow: rgba(255, 215, 0, 0.15);
  --gold: #FFD700;
  --gold-muted: #c9aa02;
  --text-main: #f6f0dc;
  --text-muted: rgba(246, 240, 220, 0.6);
  --error-color: #ff4d4d;
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(255, 215, 0, 0.05), transparent 45%), var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button, a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

body, button, input, textarea {
  letter-spacing: 0.03em;
}

.hidden {
  display: none !important;
}

/* ==========================================================
   2. INTERFACCIA PUBBLICA (TIGER LUXE MARKET)
   ========================================================== */

/* BARRA SUPERIORE (TOPBAR) */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 3rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
  z-index: 100;
}

.topbar .brand {
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.35em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-item {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s ease, color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-item:hover,
.nav-item.active {
  color: var(--gold);
  opacity: 1;
}

/* STRUTTURA CONTENUTI SITO PUBBLICO */
.content {
  padding: 10rem 2rem 6rem;
  max-width: 1240px;
  margin: 0 auto;
}

.page-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* INTESTAZIONI SEZIONI PUBBLICHE */
.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  color: var(--gold);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

/* SEZIONE HERO (HOME) */
.hero {
  min-height: calc(100vh - 16rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  text-align: center;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
}

.hero-actions {
  display: grid;
  width: min(1000px, 100%);
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hero-card {
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 215, 0, 0.04);
  border-color: var(--gold);
}

.hero-icon {
  font-size: 1.8rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.hero-card:hover .hero-icon {
  transform: scale(1.1);
}

.hero-label {
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

/* PANNELLO SPEDIZIONI */
.shipping-panel {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.shipping-card {
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.01);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shipping-title {
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.shipping-subtitle {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

/* GRIGLIE PRODOTTI & VIDEO (MENU / VIDEO) */
.menu-grid, .video-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.product-card, .video-card {
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  background: var(--bg-card);
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* STRUTTURA DELLE CARD SITO */
.product-card {
  display: grid;
  gap: 1.5rem;
}

.product-title {
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.variants-grid {
  display: grid;
  gap: 1rem;
}

.variant-row {
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 16px;
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.4);
}

.variant-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.variant-weight {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

.variant-price {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
}

/* CONTROLLI QUANTITÀ */
.quantity-control {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}

.quantity-control button {
  border: none;
  background: transparent;
  color: var(--gold);
  font-size: 1.4rem;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.quantity-control span {
  font-weight: 700;
  color: #ffffff;
}

/* SEZIONE SOCIAL (ELENCO CANALI) */
.social-list {
  display: grid;
  gap: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.social-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  background: rgba(15, 15, 15, 0.5);
  border-left: 4px solid var(--gold);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}

.social-row:hover {
  transform: translateX(8px);
  background: rgba(255, 215, 0, 0.03);
}

.social-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
}

.social-subtitle {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.social-icon {
  font-size: 1.6rem;
  color: var(--gold);
}

/* PLAYER VIDEO GALLERIA */
.video-card {
  padding: 0.5rem;
  background: #0c0c0c;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

/* WIDGET FLOATING CARRELLO */
.cart-button {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: #000000;
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 150;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.15);
  transition: transform 0.3s ease;
}

.cart-button:hover {
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* OVERLAY SCHERMATE (CARRELLO) */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 2rem;
  z-index: 200;
}

.cart-panel {
  width: min(540px, 100%);
  max-height: 80vh;
  overflow-y: auto;
  background: #0d0d0d;
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.cart-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.cart-close:hover {
  opacity: 1;
  color: var(--gold);
}

/* ELEMENTI INTERNI CARRELLO */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.cart-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: 16px;
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-info {
  display: grid;
  gap: 0.25rem;
}

.cart-item label {
  color: #ffffff;
  font-weight: 600;
}

.cart-item-price {
  color: var(--gold);
  font-weight: 700;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 16px;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.01);
}

.cart-total span:last-child {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 800;
}


/* ==========================================================
   3. INTERFACCIA DI AMMINISTRAZIONE (PANNELLO ADMIN)
   ========================================================== */

.admin-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
  z-index: 100;
}

.admin-header .brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: #ffffff;
}

.admin-status {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 30px;
  background: rgba(255, 215, 0, 0.02);
}

.admin-content {
  flex: 1;
  padding: 120px 2rem 4rem;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

/* CENTRAGGIO LOGIN SCHERMO PROTETTO */
#login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 220px);
}

.login-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* BLOCCHI STRUTTURALI DASHBOARD */
.admin-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 2rem;
}

.admin-title-block h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.admin-title-block p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-header {
  margin-bottom: 2rem;
}

.card-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.card-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
}

/* COMPONENTI MODULO & CAMPI (FORM ARCHITECTURE) */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label,
.admin-form label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.admin-form input[type="text"],
.admin-form input[type="url"],
.admin-form input[type="password"],
.admin-form input[type="number"],
.order-step textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-input);
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.admin-form input:focus,
.order-step textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

/* COMPARTIMENTO VARIANTI DINAMICHE */
.variants-box {
  border: 1px solid rgba(255, 215, 0, 0.08);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
}

.variants-box-header {
  margin-bottom: 1.2rem;
}

.variants-box-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.variants-box-header p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dynamic-fields-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

/* Riga creata da admin.js */
.admin-variant-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--bg-input);
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.05);
}

/* ELENCO PRODOTTI ATTIVI (ADMIN) */
.admin-products-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 215, 0, 0.06);
  border-radius: 14px;
  gap: 1rem;
}

.admin-product-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;                      /* occupa tutto lo spazio disponibile a sinistra */
}

.admin-product-item-info h4 {
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
}

.admin-product-item-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.admin-product-item-actions {
  display: flex;
  flex-direction: column;       /* bottoni uno sopra l'altro se vuoi, o row per affiancati */
  gap: 0.5rem;
  flex-shrink: 0;               /* non si restringe mai */
  align-self: center;           /* centrati verticalmente */
}

.admin-error {
  color: var(--error-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
  min-height: 1.2rem;
}


/* ==========================================================
   4. SISTEMA PULSANTI UNIFICATO (BUTTONS)
   ========================================================== */
.primary-button {
  width: 100%;
  padding: 1.1rem;
  border: none;
  border-radius: 12px;
  background: var(--gold);
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
  transition: background 0.25s ease, transform 0.25s ease;
}

.primary-button:hover {
  background: var(--gold-muted);
  transform: translateY(-2px);
}

.secondary-button {
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.secondary-button:hover {
  background: rgba(255, 215, 0, 0.05);
  border-color: var(--gold);
}

.logout-btn {
  border-color: rgba(255, 77, 77, 0.3);
  color: #ff6666;
}

.logout-btn:hover {
  background: rgba(255, 77, 77, 0.05);
  border-color: #ff4d4d;
}


/* ==========================================================
   5. RESPONSIVE DESIGN (OTTIMIZZAZIONE MOBILE GLOBALE)
   ========================================================== */

/* DISPOSITIVI MEDI / TABLET (MAX 992px) */
@media (max-width: 992px) {
  .admin-panel-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* SMARTPHONE (MAX 768px) */
@media (max-width: 768px) {
  /* Layout Sito Pubblico Mobile */
  .topbar {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    gap: 1.2rem;
  }
  .nav-item {
    font-size: 0.75rem;
  }
  .content {
    padding-top: 8rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .hero {
    gap: 2.5rem;
  }
  .hero-actions {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-card {
    padding: 1.8rem 1.2rem;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.5rem;
  }
  .shipping-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .overlay {
    padding: 1rem;
  }
  .cart-panel {
    padding: 1.5rem;
  }

  /* Layout Admin Mobile */
  .admin-header {
    padding: 0 1.5rem;
  }
  .admin-actions-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .logout-btn {
    width: 100%;
    justify-content: center;
  }
  .admin-content {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 11rem;
  }
  .admin-card {
    padding: 1.5rem;
  }
  .admin-product-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .admin-product-item-actions {
    width: 100%;
  }
  .admin-product-item-actions button {
    flex: 1;
    justify-content: center;
  }

}
/* ==========================================================
   FORZATURA TABELLA A RIGHE ALTERNATE (ANTI-CONFLITTO)
   ========================================================== */

/* --- 1. TABELLA ADMIN (Lista Prodotti) --- */
#products-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important; /* Unisce le righe */
  border: 1px solid rgba(255, 215, 0, 0.15) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #121212 !important;
  padding: 0 !important; /* Rimuove spazi interni al contenitore */
}

/* Selettore universale per i figli diretti dentro la lista admin */
#products-list > * {
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(255, 215, 0, 0.05) !important;
}

/* Colori alternati righe (Dispari / Pari) */
#products-list > *:nth-child(odd) {
  background: #161616 !important;
}

#products-list > *:nth-child(even) {
  background: #222222 !important;
}

/* Effetto al passaggio del mouse */
#products-list > *:hover {
  background: rgba(255, 215, 0, 0.06) !important;
}


/* --- 2. TABELLA PUBBLICA (Varianti nel Menu) --- */
.variants-grid, 
[id^="variants-fields"] {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  border: 1px solid rgba(255, 215, 0, 0.1) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #0a0a0a !important;
  padding: 0 !important;
}

/* Selettore universale per le righe delle varianti generate */
.variants-grid > *, 
[id^="variants-fields"] > * {
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(255, 215, 0, 0.03) !important;
}

/* Colori alternati varianti (Dispari / Pari) */
.variants-grid > *:nth-child(odd), 
[id^="variants-fields"] > *:nth-child(odd) {
  background: #121212 !important;
}

.variants-grid > *:nth-child(even), 
[id^="variants-fields"] > *:nth-child(even) {
  background: #1c1c1c !important;
}

/* Effetto al passaggio del mouse */
.variants-grid > *:hover, 
[id^="variants-fields"] > *:hover {
  background: rgba(255, 215, 0, 0.04) !important;
}
/* ==========================================================
   LISTA PRODOTTI ADMIN (classi reali generate dal JS)
   ========================================================== */

.admin-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 215, 0, 0.06);
  border-radius: 14px;
}

.admin-product-title {
  display: flex;
  justify-content: space-between;  /* nome a sinistra, bottoni a destra */
  align-items: center;
  gap: 1rem;
}

.admin-product-title strong {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.admin-product-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;                  /* i bottoni non si stringono mai */
}

.admin-product-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 0.25rem;
}

.quantity-control button.plus {
  background: #4caf50;
  color: #ffffff;
  border-radius: 8px;
}

.quantity-control button.minus {
  background: #ff4d4d;
  color: #ffffff;
  border-radius: 8px;
}

.variant-row {
  padding: 0.4rem 0.7rem;
  background: rgba(0, 0, 0, 0.4);
}

.variant-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.variant-weight {
  font-size: 1rem;        /* uguale al prezzo */
  font-weight: 700;
  color: var(--gold);
  min-width: 50px;        /* larghezza fissa così si allineano */
}

.variant-price {
  font-size: 1rem;
  font-weight: 700;
  min-width: 60px;        /* larghezza fissa a destra */
  text-align: right;
}

.quantity-control {
  flex: 1;                /* occupa lo spazio centrale */
  justify-content: center;
}

.quantity-control {
  padding: 0.2rem 0.5rem;
  width: auto;
  gap: 1rem;                /* ← aggiungi questo */
  display: inline-flex;
  align-items: center;
}

.quantity-control button {
  font-size: 1.1rem;      /* era 1.4rem */
  width: 1.6rem;          /* era 2rem */
  height: 1.6rem;         /* era 2rem */
}

/* Titolo principale TIGER */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  letter-spacing: 0.15em;
  font-style: italic;
}

/* Titoli sezioni (MENU, SOCIAL, ecc.) */
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.05em;
  text-transform: none;        /* rimuove il maiuscolo forzato */
}

/* Label delle hero card (MENU VETRINA, SOCIAL) */
.hero-label {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.08em;
}

/* Titoli prodotti nel menu */
.product-title span:first-child {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Titoli social */
.social-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.1rem;
}

/* Brand nella topbar */
.topbar .brand {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  letter-spacing: 0.2em;
}

.product-title-top {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.product-nome {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.offerta-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  width: fit-content;
  text-transform: uppercase;
}

.offerta-giorno {
  background: rgba(255, 100, 0, 0.15);
  color: #ff6600;
  border: 1px solid rgba(255, 100, 0, 0.4);
}

.offerta-settimana {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.admin-select {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-input);
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.admin-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.admin-offerta-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.admin-offerta-giorno {
  background: rgba(255, 100, 0, 0.15);
  color: #ff6600;
  border: 1px solid rgba(255, 100, 0, 0.4);
}

.admin-offerta-settimana {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
}