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

:root {
  --bg-gradient: linear-gradient(135deg, #090615 0%, #110c26 50%, #06040d 100%);
  --card-bg: rgba(20, 16, 38, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f3f1f6;
  --text-secondary: #9d98b5;
  --accent-color: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.4);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  --success-color: #10b981;
  --success-glow: rgba(16, 185, 129, 0.3);
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
  background: var(--bg-gradient);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== CARDS (GLASSMORPHISM) ===== */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border) !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.card-body {
  color: var(--text-primary);
}

.text-muted {
  color: var(--text-secondary) !important;
}

/* ===== FORM CONTROLS ===== */
.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-control,
.form-select {
  background-color: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text-primary) !important;
  border-radius: 0.75rem;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-body) !important;
  transition: all 0.2s ease-in-out !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
  outline: none !important;
}

.form-control:disabled,
.form-select:disabled {
  background-color: rgba(0, 0, 0, 0.4) !important;
  color: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  cursor: not-allowed;
}

/* ===== MODE TOGGLE SWITCH ===== */
.mode-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mode-toggle-pill {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.35);
  padding: 5px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  gap: 4px;
}

.mode-toggle-btn {
  background: transparent;
  border: none;
  padding: 8px 24px;
  border-radius: 40px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-toggle-btn:hover {
  color: var(--text-primary);
}

.mode-toggle-btn.active {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* ===== DRINK SELECTION GRID ===== */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.drink-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.drink-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.drink-card.selected {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-color);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.35);
}

.drink-card-icon {
  font-size: 2.25rem;
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

.drink-card:hover .drink-card-icon {
  transform: scale(1.18);
}

.drink-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.drink-card-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.drink-card.selected .drink-card-badge {
  opacity: 1;
  transform: scale(1);
}

/* ===== PRO ONLY LAYOUT SWITCH ===== */
.mode-simple .pro-only {
  display: none !important;
}

/* ===== SLIDERS & MIXERS ===== */
.section-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0.5rem;
}

/* Slider Track and Thumb Custom Styling */
.form-range {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}

.form-range::-webkit-slider-thumb {
  background: var(--accent-color) !important;
  box-shadow: 0 0 8px var(--accent-glow) !important;
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.form-range::-webkit-slider-thumb:active {
  transform: scale(1.25);
}

.form-check-input {
  background-color: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.form-check-input:checked {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
}

.form-switch .form-check-input {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35 20'%3e%3cpath fill='rgba(255, 255, 255, 0.25)' d='M8 5a5 5 0 100 10h19a5 5 0 100-10H8z'/%3e%3ccircle fill='%23fff' cx='10' cy='10' r='7'/%3e%3c/svg%3e") !important;
}

.form-switch .form-check-input:checked {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35 20'%3e%3cpath fill='rgba(255, 255, 255, 0.25)' d='M8 5a5 5 0 100 10h19a5 5 0 100-10H8z'/%3e%3ccircle fill='%23fff' cx='25' cy='10' r='7'/%3e%3c/svg%3e") !important;
}

/* Custom dropdown for mixer selections */
.dropdown-menu {
  background: rgba(18, 14, 38, 0.95) !important;
  border: 1px solid var(--card-border) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  border-radius: 12px !important;
}

.dropdown-item {
  color: var(--text-primary) !important;
  transition: all 0.2s ease !important;
}

.dropdown-item:hover {
  background-color: var(--accent-color) !important;
  color: white !important;
}

/* ===== BUTTONS ===== */
.btn-dark {
  background: linear-gradient(135deg, var(--accent-color) 0%, #4f46e5 100%) !important;
  border: none !important;
  color: white !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  padding: 0.8rem 1.5rem !important;
  border-radius: 0.85rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
}

.btn-dark:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5) !important;
}

.btn-dark:active {
  transform: translateY(0) !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  border-radius: 0.75rem !important;
  transition: all 0.2s ease !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--text-primary) !important;
  border-radius: 0.75rem !important;
}

.btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

/* ===== MODALS ===== */
.modal-content {
  background: rgba(15, 11, 32, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6) !important;
  border-radius: 1.5rem !important;
}

.modal-header {
  background: rgba(0, 0, 0, 0.25) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 1.25rem 1.5rem !important;
}

.modal-footer {
  background: rgba(0, 0, 0, 0.25) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 1.25rem 1.5rem !important;
}

/* ===== STRATEGY CARDS & RESULTS ===== */
.strategy-card {
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 1rem !important;
  padding: 1.25rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.strategy-card:hover {
  border-color: var(--accent-color) !important;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.strategy-card h3 {
  font-size: 1.15rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.mono {
  font-family: 'Courier New', Courier, 'SF Mono', Monaco, monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== CONVENIENCE BADGES ===== */
.convenience-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent;
  font-family: var(--font-body);
}

.convenience-badge.level-easy {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
}

.convenience-badge.level-medium {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.25);
}

.convenience-badge.level-hard {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.25);
}

/* ===== SURVEY BANNER ===== */
.alert-info {
  background: linear-gradient(95deg, #4f46e5 0%, #7c3aed 100%) !important;
  border: none !important;
  color: white !important;
  border-radius: 0 !important;
}

.alert-info .btn-light {
  background: white !important;
  color: #4f46e5 !important;
  border: none !important;
  font-weight: 700 !important;
  border-radius: 0.5rem !important;
  padding: 0.4rem 1rem !important;
  transition: all 0.2s ease !important;
}

.alert-info .btn-light:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* ===== SCROLLBARS ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* ===== BOLETA PAGE (presupuesto.html) ===== */
.boleta-container {
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  padding: 2.25rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.boleta-header {
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.boleta-titulo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.boleta-fecha {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.boleta-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  margin: 0;
}

.boleta-section:last-child {
  border-bottom: none;
}

.boleta-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.boleta-label {
  color: var(--text-secondary);
}

.boleta-value {
  color: var(--text-primary);
  font-weight: 600;
}

.opcion-compra {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.85rem;
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.opcion-compra h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--accent-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ahorro-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15) !important;
  color: #00e676 !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

.bebidas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bebida-badge {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tienda-section {
  margin: 0.75rem 0;
  padding: 0.5rem 0;
  border-left: 2px solid var(--accent-cyan);
  padding-left: 0.75rem;
}

.tienda-section strong {
  color: var(--accent-cyan);
}

.item-detalle {
  margin: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Spinner and loading states */
.spinner {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(255,255,255,0.05);
  border-top: 3px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.success-message {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
}

.error-message {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
}

/* Responsiveness adjustments */
@media (max-width: 576px) {
  .drinks-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 8px;
  }
  .drink-card {
    padding: 12px 6px;
    border-radius: 10px;
  }
  .drink-card-icon {
    font-size: 1.85rem;
    margin-bottom: 4px;
  }
  .drink-card-name {
    font-size: 0.75rem;
  }
  .card {
    border-radius: 1rem !important;
  }
  .boleta-container {
    padding: 1.25rem;
  }
}

/* ===== SLIDER CARD & DYNAMIC CONTROLS (DARK THEME) ===== */
.slider-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.slider-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.slider-card .btn-outline-secondary {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text-primary) !important;
  font-size: 0.85rem !important;
  border-radius: 0.5rem !important;
  padding: 0.5rem 0.75rem !important;
  transition: all 0.2s ease !important;
}

.slider-card .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.dropdown-menu .form-check-label {
  color: var(--text-primary) !important;
  font-size: 0.85rem;
}

.form-select option {
  background-color: #110c26 !important;
  color: var(--text-primary) !important;
}

#msgCompartir.warning-msg {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.store-link {
  color: var(--accent-cyan, #06b6d4) !important;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed rgba(6, 182, 212, 0.4);
  transition: all 0.2s ease;
}

.store-link:hover {
  color: var(--text-primary, #ffffff) !important;
  border-bottom: 1px solid var(--accent-cyan, #06b6d4);
  opacity: 0.95;
}

/* ===== TOPBAR & VIEW SELECTOR (SEAMLESS DARK) ===== */
.app-topbar {
  background: rgba(10, 7, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.view-selector-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
}

.nav-view-tab {
  background: transparent;
  color: var(--text-secondary);
  border: none !important;
  outline: none !important;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-view-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-view-tab.active {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

/* ===== SOLOTODO SEARCH BAR ===== */
.solotodo-search-wrapper {
  position: relative;
  max-width: 580px;
  margin: 0 auto 1.5rem auto;
}

.solotodo-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.15rem;
  opacity: 0.65;
  z-index: 5;
}

.solotodo-search-input {
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 9999px !important;
  padding: 0.8rem 3rem 0.8rem 3.4rem !important;
  color: var(--text-primary) !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
  width: 100%;
}

.solotodo-search-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.75;
}

.solotodo-search-input:focus {
  background: rgba(0, 0, 0, 0.65) !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
}

.solotodo-search-clear {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
  padding: 0.25rem;
  line-height: 1;
}

.solotodo-search-clear:hover {
  color: var(--text-primary);
}

.solotodo-cat-pill {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  font-size: 0.85rem;
  font-weight: 500;
}

.solotodo-cat-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.solotodo-cat-pill.active {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.solotodo-card {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: 1.15rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.solotodo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.15);
}

.solotodo-card-img-wrap {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 0.85rem;
  overflow: hidden;
  padding: 0.6rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.solotodo-product-img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.65));
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.solotodo-title {
  font-size: 0.92rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5em;
}

.solotodo-price {
  font-family: var(--font-title);
  letter-spacing: -0.01em;
}

.solotodo-btn-detail {
  font-size: 0.8rem;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.solotodo-card:hover .solotodo-btn-detail {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.store-row {
  transition: background 0.15s ease, border-color 0.15s ease;
}

.store-row:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.border-white-10 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (min-width: 992px) {
  .border-end-lg {
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
}

/* ===== SITE FOOTER GLOBAL ===== */
.app-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 8, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.app-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.app-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.badge-plus18 {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== LEGAL CONTENT PAGES ===== */
.legal-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem 1rem;
}

.legal-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .legal-card {
    padding: 1.5rem;
  }
}

.legal-card h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-card h2 {
  font-size: 1.25rem;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-card p, .legal-card li {
  color: #c9c5de;
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-card ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
}

.legal-highlight-box {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-warning-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}


