/* ==========================================================================
   ANNA PEPTÍDEOS - LUXURY ROSE & MAGENTA DESIGN SYSTEM
   Colors: Rose Obsidian (#190412), Brand Magenta (#E10075), Hot Pink (#FF4081), Light Rose (#FCE4EC)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #190412;
  --bg-card: rgba(38, 8, 27, 0.88);
  --bg-card-hover: rgba(56, 12, 38, 0.95);
  --bg-input: #12020D;
  --border-color: rgba(225, 0, 117, 0.22);
  --border-color-glow: rgba(225, 0, 117, 0.65);
  
  --primary-pink: #E10075;
  --primary-pink-hover: #FF1493;
  --pink-accent: #FF4081;
  --pink-light: #FCE4EC;
  
  --primary-blue: #E10075;
  --primary-silver: #FCE4EC;
  --cyan-accent: #FF4081;
  --text-main: #FFFFFF;
  --text-muted: #E2A7C8;
  --text-dark: #8C5374;
  
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 30px rgba(225, 0, 117, 0.35);
  --shadow-card: 0 12px 35px -5px rgba(0, 0, 0, 0.7);
  --glass-backdrop: blur(18px);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(225, 0, 117, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255, 64, 129, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(25, 4, 18, 0.98) 0%, #15020F 100%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #05080E;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-accent);
}

/* Layout Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 14, 0.9);
  backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-svg {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-admin-login {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-admin-login:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  border-color: var(--primary-silver);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.cart-trigger-btn {
  position: relative;
  background: linear-gradient(135deg, var(--primary-blue), #0036B3);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(0, 82, 255, 0.45);
  transition: all 0.3s ease;
}

.cart-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.6);
  background: linear-gradient(135deg, #0060FF, var(--primary-blue));
}

.cart-count-badge {
  background: var(--cyan-accent);
  color: #05080E;
  font-weight: 800;
  font-size: 0.75rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 45px 0 25px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--primary-silver);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #FFFFFF 40%, #94A3B8 80%, var(--cyan-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 30px;
}

/* CONTROLS BAR */
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  background: var(--bg-card);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--glass-backdrop);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-box input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 12px 20px 12px 45px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: var(--cyan-accent);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: var(--primary-silver);
}

/* ==========================================================================
   PRODUCT CATALOG GRID
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-backdrop);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-glow);
    box-shadow: var(--shadow-glow), var(--shadow-card);
  }
}

.product-card.out-of-stock {
  opacity: 0.65;
  filter: grayscale(0.4);
}

.stock-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.stock-badge.in-stock {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stock-badge.no-stock {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* AMPOULE DISPLAY */
.ampoule-wrapper {
  height: 165px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  margin-bottom: 15px !important;
  margin-top: 10px !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%) !important;
  border-radius: var(--radius-md) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.ampoule-render {
  height: 150px !important;
  max-height: 150px !important;
  width: 150px !important;
  max-width: 150px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 15px rgba(0,0,0,0.6)) !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.product-card:hover .ampoule-render {
  transform: scale(1.05) translateY(-3px) !important;
}

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

.product-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  flex: 1;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 15px;
}

.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan-accent);
  font-family: var(--font-heading);
}

.product-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* QUANTITY + ADD TO CART CONTROLS */
.card-action-box {
  display: flex;
  gap: 10px;
  align-items: center;
}

.qty-control {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 32px;
  height: 36px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cyan-accent);
}

.qty-input {
  width: 36px;
  text-align: center;
  background: transparent;
  border: none;
  color: #FFF;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-add-cart {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-blue), #003FB3);
  border: none;
  color: #FFF;
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-add-cart:hover:not(:disabled) {
  background: linear-gradient(135deg, #0060FF, var(--primary-blue));
  box-shadow: 0 0 15px rgba(0, 82, 255, 0.5);
  transform: translateY(-1px);
}

.btn-add-cart:disabled {
  background: #334155;
  color: #94A3B8;
  cursor: not-allowed;
}

/* ==========================================================================
   CART DRAWER (SIDEBAR)
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #190412;
  border-left: 2px solid var(--primary-pink);
  z-index: 3001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(225, 0, 117, 0.3);
}

.cart-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.cart-empty-state svg {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.2);
}

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
}

.cart-item-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFF;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--cyan-accent);
  font-weight: 700;
}

.cart-item-delete {
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.cart-item-delete:hover {
  color: var(--danger);
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.3);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.cart-total-price {
  color: var(--cyan-accent);
}

.btn-checkout-start {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-blue), #0040CC);
  border: none;
  color: #FFF;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 82, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-checkout-start:hover {
  background: linear-gradient(135deg, #0060FF, var(--primary-blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 82, 255, 0.6);
}

/* ==========================================================================
   MULTI-STEP CHECKOUT WIZARD MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.wizard-modal {
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  background: #0B101B;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), var(--shadow-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-backdrop.open .wizard-modal {
  transform: scale(1);
}

.wizard-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wizard-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF;
}

/* STEP PROGRESS BAR */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  padding: 15px 25px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  z-index: 2;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1E293B;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.progress-step.active {
  color: var(--cyan-accent);
}

.progress-step.active .step-num {
  background: var(--primary-blue);
  color: #FFF;
  box-shadow: 0 0 10px rgba(0, 82, 255, 0.6);
}

.progress-step.completed {
  color: var(--success);
}

.progress-step.completed .step-num {
  background: var(--success);
  color: #FFF;
}

.wizard-body {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
}

.wizard-step-content {
  display: none;
}

.wizard-step-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* FORM FIELDS & CARDS */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #FFF;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-control:focus {
  border-color: var(--cyan-accent);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* NOTICE / ALERT BOXES */
.alert-box {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FCD34D;
}

.alert-info {
  background: rgba(0, 82, 255, 0.1);
  border: 1px solid rgba(0, 82, 255, 0.3);
  color: #93C5FD;
}

.alert-box strong {
  color: #FFF;
  font-weight: 700;
}

/* PIX SPECIFIC STYLES */
.pix-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color-glow);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.qr-code-wrapper {
  background: #FFF;
  padding: 12px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.qr-code-wrapper canvas, .qr-code-wrapper img {
  display: block;
  width: 170px;
  height: 170px;
}

.pix-key-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  max-width: 360px;
  margin: 0 auto 10px;
}

.pix-key-text {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan-accent);
  letter-spacing: 1px;
}

.btn-copy-pix {
  background: var(--primary-blue);
  border: none;
  color: #FFF;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-copy-pix:hover {
  background: #0060FF;
}

/* FILE UPLOAD DROPZONE */
.file-upload-zone {
  border: 2px dashed rgba(0, 150, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  background: rgba(0, 82, 255, 0.04);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.file-upload-zone:hover {
  border-color: var(--cyan-accent);
  background: rgba(0, 200, 255, 0.08);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 2rem;
  color: var(--cyan-accent);
  margin-bottom: 8px;
}

.upload-filename {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--success);
  font-weight: 600;
  word-break: break-all;
}

/* SHOPEE LINK BUTTON */
.btn-shopee-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #EE4D2D, #FF6433);
  color: #FFF;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(238, 77, 45, 0.3);
  transition: all 0.3s ease;
}

.btn-shopee-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 77, 45, 0.5);
}

.btn-whatsapp-lindsey {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFF;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 8px;
  transition: background 0.2s;
}

.btn-whatsapp-lindsey:hover {
  background: #20BA5A;
}

/* SUMMARY ORDER TABLE */
.summary-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  color: var(--text-muted);
}

.summary-val {
  color: #FFF;
  font-weight: 600;
}

/* WIZARD FOOTER NAVIGATION */
.wizard-footer {
  padding: 18px 25px;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
}

.btn-wizard-prev {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}

.btn-wizard-prev:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}

.btn-wizard-next {
  background: linear-gradient(135deg, var(--primary-blue), #0040CC);
  border: none;
  color: #FFF;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-wizard-next:hover {
  background: linear-gradient(135deg, #0060FF, var(--primary-blue));
  box-shadow: 0 0 15px rgba(0, 82, 255, 0.5);
}

.btn-submit-system-order {
  background: linear-gradient(135deg, #10B981, #059669);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-submit-system-order:hover {
  background: linear-gradient(135deg, #34D399, #10B981);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* ==========================================================================
   ADMIN SYSTEM PANEL STYLES (TABS & SPREADSHEET & LIGHTBOX)
   ========================================================================== */
#admin-panel-modal {
  padding: 0 !important;
  z-index: 3500 !important;
}

#admin-panel-modal.open {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #080C16 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

/* Barra de rolagem contínua da página inteira para o Admin */
#admin-panel-modal::-webkit-scrollbar {
  width: 10px;
}
#admin-panel-modal::-webkit-scrollbar-track {
  background: #080C16;
}
#admin-panel-modal::-webkit-scrollbar-thumb {
  background: #E10075;
  border-radius: 5px;
}
#admin-panel-modal::-webkit-scrollbar-thumb:hover {
  background: #FF2E93;
}

.admin-modal-large,
#admin-panel-modal .admin-modal-large {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  transform: none !important;
  overflow: visible !important;
}

.admin-modal-large .wizard-header,
#admin-panel-modal .wizard-header {
  flex-shrink: 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
  background: rgba(7, 11, 20, 0.98) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25) !important;
  padding: 8px 24px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.admin-modal-large .admin-tab-content.wizard-body,
#admin-panel-modal .admin-tab-content.wizard-body {
  flex: 1 1 auto !important;
  min-height: calc(100vh - 100px) !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 24px 30px 80px !important;
  background: #060911 !important;
  position: relative !important;
  display: none;
}

.admin-modal-large .admin-tab-content.wizard-body.active,
#admin-panel-modal .admin-tab-content.wizard-body.active {
  display: block !important;
  animation: fadeIn 0.2s ease;
}

#admin-panel-modal .table-responsive {
  max-height: none !important;
  overflow-y: visible !important;
  overflow-x: auto !important;
}

#admin-panel-modal .admin-grid,
#admin-panel-modal .rateio-grid {
  max-height: none !important;
  overflow-y: visible !important;
}

/* SPREADSHEET TABLE STYLING */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.spreadsheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.spreadsheet-table th {
  background: #0B101D;
  color: var(--cyan-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.spreadsheet-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #E2E8F0;
  vertical-align: middle;
}

.spreadsheet-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* ACTION BUTTONS IN TABLE */
.btn-action-sm {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFF;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.btn-action-sm:hover {
  background: var(--primary-blue);
  border-color: var(--cyan-accent);
}

.btn-action-view-img {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--cyan-accent);
}

.btn-action-view-img:hover {
  background: var(--cyan-accent);
  color: #05080E;
}

/* RATEIO GRID CONTROL (01 TO 1000) */
.rateio-control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.rateio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 5px;
}

.rateio-badge-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 12px 8px;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s;
}

.rateio-badge-btn:hover {
  border-color: var(--cyan-accent);
  color: #FFF;
}

.rateio-badge-btn.active-released {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFF;
  border-color: #34D399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

/* ONLINE LIGHTBOX MODAL FOR PROOF IMAGES */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  z-index: 3500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-box {
  max-width: 850px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0A0F1B;
  border: 1px solid var(--cyan-accent);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.lightbox-img-preview {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.8);
}

/* ADMIN PRODUCT FORM & TOGGLE SWITCH */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 5px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.admin-ampoule-img {
  height: 80px;
  width: auto;
  margin-bottom: 8px;
}

.admin-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 4px;
}

.admin-item-price {
  font-size: 0.8rem;
  color: var(--cyan-accent);
  margin-bottom: 10px;
}

.admin-product-price-input:focus {
  border-color: #10B981 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4) !important;
  outline: none;
}

.stock-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #334155;
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--success);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.toast {
  background: rgba(10, 15, 27, 0.95);
  border: 1px solid var(--cyan-accent);
  color: #FFF;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
}

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

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

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
  color: var(--text-dark);
  font-size: 0.85rem;
  background: rgba(5, 8, 14, 0.95);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .cart-drawer { max-width: 100%; }
  .wizard-progress { padding: 10px 15px; }
  .progress-step span { display: none; }
  .admin-modal-large { max-width: 95% !important; }
}

/* PAY FREIGHT BUTTON STYLES */
.btn-pay-freight {
  background: linear-gradient(135deg, #0284C7 0%, #0052FF 100%);
  color: #FFF;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  transition: all 0.25s ease;
}

.btn-pay-freight:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
  border-color: #FFF;
}

/* MODE SWITCHER BUTTONS */
.mode-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.mode-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  border-color: var(--cyan-accent);
}

.mode-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-pink), #C20063);
  color: #FFF;
  border-color: var(--pink-accent);
  box-shadow: 0 0 20px rgba(225, 0, 117, 0.5);
}

/* RAFFLE NUMBER TILES (00-99) */
.raffle-number-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  padding: 8px 4px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.raffle-number-tile:hover:not(.reserved):not(.sold) {
  background: rgba(225, 0, 117, 0.25);
  border-color: var(--pink-accent);
  color: #FFF;
  transform: scale(1.06);
}

/* Selected by current user in modal */
.raffle-number-tile.selected {
  background: linear-gradient(135deg, var(--primary-pink) 0%, #C20063 100%);
  border-color: var(--pink-accent);
  color: #FFF;
  box-shadow: 0 0 10px rgba(225, 0, 117, 0.6);
  transform: scale(1.05);
}

/* RESERVED - Someone selected & sent proof, pending admin confirm */
.raffle-number-tile.reserved {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  border-color: #EF4444 !important;
  color: #FFF !important;
  cursor: not-allowed !important;
  opacity: 0.95;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

/* SOLD / CONFIRMED BY ADMIN */
.raffle-number-tile.sold {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  border-color: #34D399 !important;
  color: #FFF !important;
  cursor: not-allowed !important;
  opacity: 0.95;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* RAFFLE CARDS */
.raffle-card {
  background: var(--bg-card);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: var(--glass-backdrop);
}

.raffle-card:hover {
  transform: translateY(-5px);
  border-color: #FBBF24;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25);
}

.raffle-img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin-bottom: 15px;
}

.raffle-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 6px;
}

.raffle-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  min-height: 40px;
}

.raffle-price-tag {
  font-size: 1.3rem;
  font-weight: 900;
  color: #FBBF24;
  margin-bottom: 12px;
}

.btn-buy-raffle {
  width: 100%;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFF;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-buy-raffle:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

@keyframes popIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* --- ADMIN MENU COMPACT TOOLBAR (BOTÕES PEQUENOS PARA COMPUTADOR & SEM TELA DIVIDIDA) --- */
.admin-menu-container {
  flex-shrink: 0 !important;
  position: sticky !important;
  top: 48px !important;
  z-index: 110 !important;
  background: rgba(9, 14, 26, 0.98) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
  padding: 6px 20px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  max-height: none !important;
  overflow: visible !important;
}

.admin-toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.admin-toolbar-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-right: 3px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-toolbar-label .text-pink {
  color: var(--pink-accent);
}

.admin-toolbar-label .text-gold {
  color: #FBBF24;
}

.admin-toolbar-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 4px;
  flex-shrink: 0;
}

/* BOTÕES PEQUENOS E COMPACTOS PARA COMPUTADOR */
.admin-tab-btn,
.admin-menu-action-btn {
  height: 29px !important;
  min-height: 29px !important;
  padding: 4px 10px !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
}

.admin-tab-btn:hover,
.admin-menu-action-btn:hover {
  background: rgba(225, 0, 117, 0.18) !important;
  border-color: rgba(225, 0, 117, 0.45) !important;
  color: #FFF !important;
  transform: translateY(-1px);
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, #E10075 0%, #BE185D 100%) !important;
  border-color: #F472B6 !important;
  color: #FFF !important;
  box-shadow: 0 0 10px rgba(225, 0, 117, 0.4) !important;
}

.admin-tab-btn.tab-btn-gold {
  border-color: rgba(245, 158, 11, 0.28);
  color: #FDE68A;
}

.admin-tab-btn.tab-btn-gold:hover,
.admin-menu-action-btn.btn-action-gold:hover {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: #F59E0B !important;
  color: #FFF !important;
}

.admin-tab-btn.tab-btn-gold.active {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  border-color: #FBBF24 !important;
  color: #FFF !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4) !important;
}

.admin-menu-action-btn.btn-action-gold {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #FBBF24 !important;
}

.admin-tab-btn.tab-btn-subtle,
.admin-menu-action-btn.btn-action-subtle {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #94A3B8 !important;
}

.admin-tab-btn.tab-btn-subtle:hover,
.admin-menu-action-btn.btn-action-subtle:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #FFF !important;
}

/* Fallback for legacy section styles if used anywhere */
.admin-menu-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-menu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* --- MOBILE HEADER MENU -------------------------------------------------- */
/* --- BRAND LOGO STYLES ---------------------------------------------------- */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 54px;
  width: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary-pink);
  box-shadow: 0 0 16px rgba(225, 0, 117, 0.45);
  background: #190412;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(225, 0, 117, 0.7);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-logo-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.45rem;
  color: #FFFFFF;
  letter-spacing: 1.2px;
  line-height: 1.1;
}

.brand-logo-title span {
  color: var(--primary-pink);
}

.brand-logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--pink-accent);
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

/* --- PRODUCT CARD UNIT SELECTOR (VIAL VS BOX) ---------------------------- */
.unit-selector {
  display: flex;
  background: rgba(18, 2, 13, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 4px;
  margin: 10px 0 12px;
}

.unit-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.unit-btn:hover {
  color: #FFF;
  background: rgba(225, 0, 117, 0.15);
}

.unit-btn.active {
  background: linear-gradient(135deg, var(--primary-pink) 0%, #C20063 100%);
  color: #FFF;
  box-shadow: 0 2px 10px rgba(225, 0, 117, 0.45);
}

.product-unit-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(225, 0, 117, 0.18);
  color: var(--pink-accent);
  margin-top: 4px;
}

/* --- DOLLAR RATE ADMIN CARD ----------------------------------------------- */
.dollar-rate-card {
  background: rgba(225, 0, 117, 0.08);
  border: 2px solid rgba(225, 0, 117, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* --- SOUND NOTIFICATION BUTTON -------------------------------------------- */
.btn-sound-toggle {
  background: rgba(225, 0, 117, 0.15);
  border: 1px solid var(--primary-pink);
  color: #FFF;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-sound-toggle:hover {
  background: var(--primary-pink);
  box-shadow: 0 0 15px rgba(225, 0, 117, 0.5);
}

/* --- MOBILE HEADER & FIXED PERMANENT BAR (NO SANDWICH MENU) --------------- */
.mobile-menu-toggle {
  display: none !important;
}

.mobile-menu-backdrop {
  display: none !important;
}

@media (max-width: 860px) {
  .header {
    padding: 8px 0 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(25, 4, 18, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(225, 0, 117, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  }

  .nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 8px !important;
    width: 100%;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-align: center;
    padding: 2px 0;
  }

  .brand-logo-img {
    height: 38px;
    width: 38px;
    flex-shrink: 0;
  }

  .brand-logo-title {
    font-size: 1.18rem;
    white-space: nowrap;
  }

  .brand-logo-sub {
    font-size: 0.55rem;
    letter-spacing: 2px;
    white-space: nowrap;
  }

  /* Menu posicionado permanentemente ABAIXO da logo */
  .header-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    gap: 6px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Se o cabeçalho tiver apenas 2 botões (ex: rifas.html) */
  .header-actions:has(> :last-child:nth-child(2)) {
    grid-template-columns: 1fr 1fr !important;
  }

  .header-actions > a,
  .header-actions > button {
    width: 100%;
    min-height: 42px;
    max-height: 44px;
    justify-content: center;
    align-items: center;
    padding: 6px 8px;
    text-align: center;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    touch-action: manipulation !important;
    box-sizing: border-box;
    gap: 5px;
  }

  .header-actions > a i,
  .header-actions > button i {
    font-size: 0.85rem;
  }

  .header-actions > a span,
  .header-actions > button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 380px) {
  .header-actions > a,
  .header-actions > button {
    font-size: 0.72rem;
    padding: 5px 6px;
    gap: 4px;
  }

  .brand-logo-title {
    font-size: 1.05rem;
  }
}

  /* Admin Modal on Mobile - Expansivo e sem divisão de tela */
  #admin-panel-modal.open {
    padding: 0 !important;
    overflow-y: auto !important;
  }

  #admin-panel-modal .admin-menu-container {
    top: 48px !important;
    padding: 6px 10px !important;
    gap: 6px !important;
  }

  #admin-panel-modal .admin-toolbar-divider {
    display: none;
  }

  #admin-panel-modal .admin-toolbar-group {
    width: 100%;
    gap: 4px;
  }

  #admin-panel-modal .admin-tab-btn,
  #admin-panel-modal .admin-menu-action-btn {
    min-height: 32px !important;
    height: 32px !important;
    font-size: 0.78rem !important;
    padding: 4px 8px !important;
  }

  .dollar-rate-card {
    flex-direction: column;
    align-items: stretch;
  }
}

@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- FLOATING STICKY CART BUTTON (ACOMPANHA ROLAGEM) --------------------- */
.floating-cart-container {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 999;
  pointer-events: auto;
}

.btn-floating-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-pink) 0%, #C20063 100%);
  color: #FFF;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(225, 0, 117, 0.55), 0 0 16px rgba(225, 0, 117, 0.35);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-floating-cart:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 32px rgba(225, 0, 117, 0.75), 0 0 24px rgba(225, 0, 117, 0.5);
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFF;
}

.btn-floating-cart:active {
  transform: translateY(-1px) scale(0.98);
}

.floating-cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.floating-cart-badge {
  position: absolute;
  top: -9px;
  right: -12px;
  background: #FFF;
  color: var(--primary-pink);
  font-size: 0.72rem;
  font-weight: 900;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 999px;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-cart-badge.has-items {
  background: #38BDF8;
  color: #04101A;
  animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-floating-cart.pulse {
  animation: floatingGlow 2.5s infinite alternate ease-in-out;
}

@keyframes floatingGlow {
  0% {
    box-shadow: 0 8px 25px rgba(225, 0, 117, 0.55), 0 0 12px rgba(225, 0, 117, 0.3);
  }
  100% {
    box-shadow: 0 10px 32px rgba(225, 0, 117, 0.8), 0 0 22px rgba(56, 189, 248, 0.6);
  }
}

@keyframes badgePop {
  0% { transform: scale(0.6); }
  70% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

@media (max-width: 768px) {
  .floating-cart-container {
    right: 14px;
    bottom: 20px;
  }

  .btn-floating-cart {
    padding: 10px 16px;
    font-size: 0.85rem;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(225, 0, 117, 0.5);
  }

  .floating-cart-icon-wrapper {
    font-size: 1.05rem;
  }
}

/* --- RATEIO VIAL CLOSING PROGRESS BAR (VITRINE / HOMEPAGE) --------------- */
.rateio-vial-progress-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(225, 0, 117, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin: 10px 0;
  text-align: left;
}

.rateio-vial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.rateio-vial-label {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.rateio-vial-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rateio-vial-badge.badge-empty {
  background: rgba(148, 163, 184, 0.15);
  color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.rateio-vial-badge.badge-active {
  background: rgba(245, 158, 11, 0.18);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.rateio-vial-badge.badge-closed {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.rateio-progress-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 5px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rateio-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B 0%, var(--primary-pink) 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(225, 0, 117, 0.5);
}

.rateio-progress-fill.fill-complete {
  background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}

.rateio-vial-status-text {
  font-size: 0.72rem;
  line-height: 1.25;
  margin-top: 4px;
}

.rateio-hint-empty {
  color: #94A3B8;
}

.rateio-hint-progress {
  color: #E2E8F0;
}

.rateio-hint-complete {
  color: #34D399;
}

/* --- ADMIN RATEIO BOX CLOSING & PURCHASE CONTROL ------------------------- */
.rateio-boxes-summary-card {
  background: rgba(25, 4, 18, 0.85);
  border: 1px solid rgba(225, 0, 117, 0.4);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.rateio-boxes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rateio-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.rateio-kpi-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(225, 0, 117, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rateio-kpi-card.kpi-highlight {
  background: linear-gradient(135deg, rgba(225, 0, 117, 0.25) 0%, rgba(56, 189, 248, 0.15) 100%);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.rateio-kpi-label {
  font-size: 0.76rem;
  color: #94A3B8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rateio-kpi-val {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-heading);
}

.rateio-kpi-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* TOUCH & TAP INTERACTION OPTIMIZATIONS */
.btn-add-cart,
.btn-floating-cart,
.mobile-menu-toggle,
.qty-btn,
.unit-btn,
.cart-trigger-btn,
.btn-admin-login,
.mode-tab-btn,
.btn-checkout-start,
.filter-btn {
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none;
}



