/* ========== Google Fonts Import ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ========== CSS Variables ========== */
:root {
  --primary: #00D847;
  --filter-green: #00D847;
  --primary-dark: #5A52D5;
  --primary-light: #8B85FF;
  --secondary: #2D3748;
  --success: #48BB78;
  --danger: #F56565;
  --warning: #ED8936;
  --info: #4299E1;
  --bg: #F7FAFC;
  --bg-card: #FFFFFF;
  --text: #2D3748;
  --text-light: #718096;
  --text-muted: #A0AEC0;
  --border: #E2E8F0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
}

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

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== Container ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ========== Header ========== */
.main-header {
  background: linear-gradient(90deg, #79d333, #009531, #79d333);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  position: relative;
}

.main-header::before {
  display: none;
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 0;
}

.main-nav a {
  color: #CBD5E0;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #fff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  overflow: hidden;
  z-index: 50;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.dropdown-menu a:last-child { border-bottom: none; }

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--primary);
}

/* ========== Footer ========== */
.main-footer {
  background: linear-gradient(90deg, #79d333, #009531, #79d333);
  color: #fff;
  padding: 60px 0 50px;
  margin-top: auto;
  font-size: 0.95rem;
  position: relative;
}

.main-footer::before {
  display: none;
}

.main-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: url('/public/images/RODAP%C3%89.webp') repeat-x left bottom;
  background-size: auto 100%;
  pointer-events: none;
  z-index: 2;
}

.main-footer > .container {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

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

.footer-support-text {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* ========== Hero ========== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ========== Alerts ========== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.alert-success {
  background: #F0FFF4;
  color: #276749;
  border: 1px solid #C6F6D5;
}

.alert-danger {
  background: #FFF5F5;
  color: #9B2C2C;
  border: 1px solid #FED7D7;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1.4;
}

.btn-primary {
  background: var(--filter-green);
  color: #fff;
}

.btn-primary:hover {
  background: #00b83a;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--filter-green);
  border: 1px solid var(--filter-green);
}

.btn-outline:hover {
  background: var(--filter-green);
  color: #fff;
  background: var(--filter-green);
  border: 1px solid var(--filter-green);
  color: #fff;
}

.filters-form button:hover, .filters-form .btn:hover {
  background: #00b83a;
  border-color: #00b83a;
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  background: #E53E3E;
  color: #fff;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ========== Forms ========== */
.form-group {
  margin-bottom: 16px;
  flex: 1;
}

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

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color 0.2s;
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--filter-green);
  box-shadow: 0 0 0 3px rgba(0,216,71,0.1);
}

textarea.form-control {
  resize: vertical;
}

.form-check {
  width: 18px;
  height: 18px;
  margin-top: 6px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-row .form-group {
  min-width: 150px;
}

.flex-2 { flex: 2; }

.form-inline {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.form-section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}

.form-section h3 {
  margin-bottom: 8px;
  color: var(--secondary);
}

.form-card {
  padding: 24px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-height: 200px;
  overflow-y: auto;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px;
}

.checkbox-label:hover {
  background: var(--bg);
  border-radius: 4px;
}

.info-row, .field-row {
  background: var(--bg);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.preview-thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

/* ========== Cards ========== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

/* ========== Tables ========== */
.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.table tr:hover {
  background: #FAFAFA;
}

.table .actions {
  display: flex;
  gap: 6px;
}

.table-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.table-thumb-placeholder {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* ========== Badges ========== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.badge-success { background: #F0FFF4; color: #276749; }
.badge-danger { background: #FFF5F5; color: #9B2C2C; }
.badge-warning { background: #FFFAF0; color: #9C4221; }
.badge-info { background: #EBF8FF; color: #2A4365; }
.badge-primary { background: #EBF4FF; color: #434190; }

/* ========== Filters ========== */
.filters-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.filters-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
  min-width: 180px;
}

/* ========== Products Grid ========== */
.products-section {
  padding: 30px 0 50px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i {
  color: var(--primary);
}

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

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  display: block;
}

.product-image {
  width: 100%;
  aspect-ratio: 1080 / 1350;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EDF2F7 0%, #E2E8F0 100%);
  color: var(--text-muted);
}

.product-image-placeholder.large {
  /* Herdará o aspect-ratio do container pai */
}

.product-image-placeholder.small {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
}

.product-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  display: none;
}

.product-type-badge.evento { background: var(--primary); }
.product-type-badge.produto { background: var(--primary); }

.free-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #76D233;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.product-type-badge.inline { position: static; display: inline-block; }

.product-info {
  padding: 16px;
}

.product-category {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.product-category.inline {
  display: inline-block;
  margin-left: 8px;
}

.product-name {
  font-size: 1.1rem;
  margin: 6px 0;
}

.product-date, .product-location {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 4px 0;
}

.product-date i, .product-location i {
  width: 16px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 10px;
}

/* ========== Product Detail ========== */
.product-detail-page {
  padding: 30px 0 50px;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--text); font-weight: 500; }

.product-detail {
  max-width: 1100px;
  margin: 0 auto 40px;
  width: 100%;
}

/* Layout de duas colunas no desktop */
.product-detail-layout {
  display: grid;
  grid-template-columns: 45% 1fr;
  grid-template-rows: auto auto auto;
  gap: 0 40px;
  margin-bottom: 32px;
}

.product-detail-left {
  grid-column: 1;
  grid-row: 1 / 4;
}

.product-detail-top-info {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.product-detail-schedule {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.product-detail-desc {
  grid-column: 2;
  grid-row: 3;
  min-width: 0;
}

.product-detail-top-info h1 {
  font-size: 1.8rem;
  margin: 14px 0 16px;
  line-height: 1.3;
  color: var(--secondary);
}

.product-detail-image {
  position: relative;
  width: 100%;
  padding: 0;
  border-radius: 4px;
  box-shadow: none;
  margin-bottom: 0;
  background: url('/public/images/fundo-produto.webp') no-repeat center center;
  background-size: 100% 100%;
  aspect-ratio: 780 / 830;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-image img {
  width: 68%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  margin-top: 10%;
}

.product-detail-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-category-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg);
  color: var(--text-light);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.product-detail-info h1,
.product-detail-top-info h1 {
  font-size: 1.8rem;
  margin: 14px 0 16px;
  line-height: 1.3;
  color: var(--secondary);
}

.product-meta {
  margin-bottom: 16px;
}

.product-meta p {
  margin: 8px 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.product-meta i {
  width: 20px;
  color: var(--primary);
  margin-right: 4px;
}

/* ── Event Schedule Cards ────────────────────── */
.event-schedule {
  margin: 14px 0 18px;
}

.event-schedule-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-schedule-label i {
  color: var(--primary);
  font-size: 0.85rem;
}

.event-sessions-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-session-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.event-session-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(0, 216, 71, 0.18);
}

.session-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--secondary) 0%, #4A5568 100%);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 58px;
  line-height: 1.15;
  flex-shrink: 0;
  text-align: center;
}

.session-weekday {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.82;
}

.session-day {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
}

.session-month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.session-year {
  font-size: 0.62rem;
  opacity: 0.75;
  margin-top: 1px;
}

.session-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.session-time {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.session-time i {
  color: var(--primary);
  font-size: 0.82rem;
}

.session-location {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.session-location i {
  color: var(--primary);
  font-size: 0.78rem;
  margin-top: 2px;
  flex-shrink: 0;
}
/* ─────────────────────────────────────────────── */

.product-description {
  margin: 20px 0;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  line-height: 1.7;
  font-size: 0.95rem;
  color: var(--text);
}

.product-price-section {
  margin: 24px 0;
}

.price-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

/* Product Actions (quantity + add to cart) */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.action-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.action-group label {
  margin: 0;
  min-width: 90px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 38px;
  height: 38px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--bg);
  border-color: var(--primary);
  color: var(--primary);
}

.qty-input {
  width: 56px;
  height: 38px;
  padding: 6px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--text);
}

.qty-input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Product Variations */
.product-variations-section {
  width: 100%;
  box-sizing: border-box;
  margin-top: 20px;
}

.variation-categories {
  width: 100%;
  box-sizing: border-box;
}

.category-group {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.category-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.category-header:hover {
  background: var(--bg);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.category-header.open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.category-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.category-header h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.category-hint {
  color: var(--text-muted);
  font-size: 0.72rem;
  margin: 0;
}

.category-toggle-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.category-toggle-icon i {
  font-size: 12px;
  color: var(--text-light);
  transition: transform 0.3s;
}

.category-header:hover .category-toggle-icon {
  background: var(--primary);
}

.category-header:hover .category-toggle-icon i {
  color: #fff;
}

.category-variations {
  border: 1px solid var(--border);
  border-top: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  padding: 12px;
  box-sizing: border-box;
  max-width: 100%;
}

.product-additional-info {
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.product-additional-info h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.info-modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.info-module {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  font-size: 1.4rem;
  color: #fff;
}

.info-module h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.info-module p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ========== Auth ========== */
.auth-card {
  max-width: 440px;
  margin: 50px auto;
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--secondary);
}

.auth-link {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ========== Admin Layout ========== */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 64px);
}

.admin-sidebar {
  width: 260px;
  background: var(--secondary);
  color: #fff;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h3 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-nav {
  padding: 12px 0;
}

.sidebar-nav hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 8px 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  color: #CBD5E0;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.sidebar-link i {
  width: 20px;
  text-align: center;
}

.admin-content {
  flex: 1;
  padding: 30px;
  overflow-x: auto;
}

.admin-content h1 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.page-header h1 {
  margin-bottom: 0;
}

/* ========== Stats ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}

.stat-info h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.stat-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== Detail Grid ========== */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.detail-item label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.detail-item p {
  font-size: 1rem;
  margin-top: 4px;
}

.text-bold { font-weight: 700; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ========== Checkout ========== */
.checkout-page {
  padding: 30px 0 50px;
}

.checkout-page h1 {
  margin-bottom: 24px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.checkout-product-info {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.checkout-thumb {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.checkout-product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.checkout-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 6px;
}

.checkout-summary {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
}

.summary-row.total {
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.coupon-input-group {
  display: flex;
  gap: 8px;
}

.coupon-input-group .form-control {
  flex: 1;
}

.coupon-message {
  font-size: 0.85rem;
  margin-top: 6px;
}

.coupon-message.success { color: var(--success); }
.coupon-message.error { color: var(--danger); }

/* ========== Checkout Variations ========== */
.checkout-variations {
  padding: 16px;
  background: #f9f9f9;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  border: 1px solid var(--border);
}

.checkout-variations label {
  display: block;
  margin-bottom: 12px;
}

.variations-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.variation-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.variation-option:hover {
  background: #f5f5f5;
  border-color: var(--primary);
}

.variation-option input[type="radio"] {
  cursor: pointer;
}

.variation-option input[type="radio"]:checked + span {
  color: var(--primary);
  font-weight: 600;
}

.variation-option span {
  flex: 1;
}

/* ========== Participant Forms (Eventos) ========== */
.participant-form {
  padding: 20px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin: 16px 0;
}

.participant-form h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

.participant-form .form-group {
  margin-bottom: 12px;
}

.participant-form .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.participant-form .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.participant-form .form-row .flex-2 {
  flex: 2;
}

.participant-selector {
  background-color: #f0f9ff;
  border: 2px solid #00D847;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

/* ========== Product Variations ========== */
.product-variations-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.product-variations-section h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text);
}

.variations-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}

.variation-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.variation-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 216, 71, 0.1);
}

.variation-card.selected {
  border-color: var(--primary);
  background-color: rgba(0, 216, 71, 0.06);
  box-shadow: 0 0 0 1px var(--primary);
}

.variation-card-content {
  flex: 1;
  min-width: 0;
}

.variation-card-name {
  font-size: 0.95rem;
  color: var(--text);
}

.variation-card-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 4px 0 0;
  line-height: 1.4;
}

.variation-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.product-detail-info .variation-card {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* Stock badges */
.stock-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 4px;
}
.stock-badge.stock-ok {
  background: #e8f5e9;
  color: #2e7d32;
}
.stock-badge.stock-low {
  background: #fff3e0;
  color: #e65100;
}
.stock-badge.stock-out {
  background: #ffebee;
  color: #c62828;
}
.stock-badge.product-stock {
  margin-left: 12px;
  font-size: 0.85rem;
}
.variation-card.out-of-stock {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.out-of-stock-option {
  opacity: 0.5;
}
.text-danger {
  color: #c62828;
}
.text-warning {
  color: #e65100;
}

.btn-add-cart {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 14px 24px;
}

.btn-add-cart.btn-success {
  background: var(--primary);
  border-color: var(--primary);
}

.variation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.variation-header h3,
.variation-header h4 {
  font-size: 1rem;
  margin: 0;
  flex: 1;
  font-weight: 600;
}

.variation-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.variation-description {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* ========== Organizer Products Page ========== */
.org-products-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.org-products-header h1 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.org-products-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.org-products-filters {
  display: flex;
  gap: 8px;
  background: var(--bg);
  padding: 4px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.org-filter-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.org-filter-btn:hover {
  color: var(--text);
  background: rgba(0,0,0,0.04);
}

.org-filter-btn.active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.org-empty-state {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.org-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-muted);
}

.org-empty-state h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text);
}

.org-empty-state p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.org-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.org-product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.org-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.org-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}

.org-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.org-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EDF2F7 0%, #E2E8F0 100%);
  color: var(--text-muted);
  font-size: 2.5rem;
}

.org-product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.org-badge-success {
  background: rgba(72, 187, 120, 0.9);
  color: #fff;
}

.org-badge-warning {
  background: rgba(237, 137, 54, 0.9);
  color: #fff;
}

.org-badge-info {
  background: rgba(66, 153, 225, 0.9);
  color: #fff;
}

.org-badge-primary {
  background: rgba(90, 82, 213, 0.85);
  color: #fff;
}

.org-product-body {
  padding: 16px;
}

.org-product-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.org-product-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.org-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.org-meta-item i {
  width: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.org-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.org-product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.org-price-free {
  color: var(--success);
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

@media (max-width: 768px) {
  .org-products-header {
    flex-direction: column;
  }

  .org-products-filters {
    width: 100%;
    justify-content: center;
  }

  .org-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .org-products-grid {
    grid-template-columns: 1fr;
  }

  .org-filter-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ========== Status Pages ========== */
.status-page {
  text-align: center;
  padding: 60px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.status-page i {
  margin-bottom: 20px;
}

.success-page i { color: var(--success); }
.failure-page i { color: var(--danger); }
.pending-page i { color: var(--warning); }

.status-page h1 {
  margin-bottom: 12px;
}

.status-page p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.status-page .card {
  text-align: left;
  margin-bottom: 24px;
}

.status-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ========== Client Page ========== */
.client-page {
  padding: 30px 0 50px;
}

.client-page h1 {
  margin-bottom: 24px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ========== Participants Section ========== */
.participants-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.participants-header h2 {
  margin: 0;
}

.participants-table-wrapper {
  overflow-x: auto;
}

.participants-section .data-table {
  width: 100%;
  border-collapse: collapse;
}

.participants-section .data-table th,
.participants-section .data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.participants-section .data-table th {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.actions-cell {
  display: flex;
  gap: 6px;
}

.empty-message {
  color: var(--text-light);
  text-align: center;
  padding: 24px 0;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}

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

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* ========== Purchases ========== */
.purchases-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.purchase-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.purchase-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.purchase-info {
  flex: 1;
}

.purchase-info h3 {
  margin-bottom: 4px;
}

.purchase-date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.purchase-price {
  text-align: right;
}

.price-tag {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

/* ========== Empty State ========== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i {
  margin-bottom: 16px;
}

.empty-state h3 {
  color: var(--text-light);
  margin-bottom: 8px;
}

.empty-state .btn {
  margin-top: 16px;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .main-header {
    position: fixed;
    left: 0;
    right: 0;
  }

  .header-inner {
    justify-content: center;
  }

  .mobile-toggle {
    display: block;
    position: absolute;
    right: 20px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--secondary);
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    display: flex;
  }

  .hero h1 { font-size: 1.8rem; }

  .filters-form {
    flex-direction: column;
    align-items: center;
  }

  .filter-group {
    width: 100%;
  }

  .product-detail-page {
    padding: 30px 16px 50px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-detail {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .product-detail-info {
    order: unset;
  }

  .product-detail-top-info {
    order: unset;
    margin-bottom: 16px;
  }

  .product-detail-left {
    order: unset;
    margin-bottom: 16px;
  }

  .product-detail-schedule {
    order: unset;
    margin-bottom: 16px;
  }

  .product-detail-desc {
    order: unset;
  }

  .product-detail-image {
    margin-bottom: 0;
  }

  .product-detail-info h1,
  .product-detail-top-info h1 {
    font-size: 1.5rem;
  }

  .info-modules {
    grid-template-columns: 1fr;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
  }

  .sidebar-nav {
    display: flex;
    overflow-x: auto;
    padding: 8px;
    gap: 4px;
  }

  .sidebar-link {
    padding: 8px 12px;
    white-space: nowrap;
    font-size: 0.8rem;
  }

  .admin-content {
    padding: 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

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

  .page-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

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

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  h4, h5, h6 {
    font-size: 1rem;
  }

  p, .product-card, .filter-group {
    font-size: 0.9rem;
  }

  .product-name {
    font-size: 0.95rem;
  }

  .product-price {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

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

  .product-detail-page {
    padding: 20px 12px 50px;
  }

  .info-modules {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .purchase-card {
    flex-direction: column;
    text-align: center;
  }

  .purchase-price {
    text-align: center;
  }
}

/* ========== Banner Carousel ========== */
.banner-carousel-section {
  width: 100%;
}

.banner-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 1rem auto;
  overflow: hidden;
  line-height: 0;
  border-radius: 16px;
}

.banner-carousel {
  position: relative;
  width: 100%;
}

.banner-slide {
  display: none;
  width: 100%;
}

.banner-slide.active {
  display: block;
}

.banner-slide picture,
.banner-slide a {
  display: block;
  width: 100%;
  line-height: 0;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  object-position: center;
}

/* Arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.banner-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.banner-arrow-prev { left: 14px; }
.banner-arrow-next { right: 14px; }

/* Dots */
.banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.banner-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* Admin banner styles */
.banner-form .banner-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.banner-preview-small {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.banner-preview-small img {
  height: 60px;
  border-radius: 6px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.banner-preview-small span {
  font-size: 0.8rem;
  color: var(--text-muted, #888);
}

.banner-thumb {
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--border);
  max-width: 120px;
}

.banner-thumb-mobile {
  max-width: 50px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted, #888);
  display: block;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .banner-carousel-section {
    padding: 0 12px;
  }
  .banner-img {
    max-height: none;
  }
  .banner-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  .banner-form .banner-upload-grid {
    grid-template-columns: 1fr;
  }
}
