/* ========== 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;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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;
}

/* ========== Header ========== */
.main-header {
  background: #009531;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.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: #009531;
  color: #fff;
  padding: 60px 0 20px;
  margin-top: auto;
  font-size: 0.95rem;
}

.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;
}

.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;
}

.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;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--text);
  text-decoration: none;
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.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); }
.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); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.product-detail-image {
  aspect-ratio: 1080 / 1350;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius);
}

.product-detail-image img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 2rem;
  margin: 12px 0 16px;
}

.product-meta p {
  margin: 8px 0;
  color: var(--text-light);
}

.product-meta i {
  width: 20px;
  color: var(--primary);
}

.product-description {
  margin: 20px 0;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  line-height: 1.7;
}

.product-price-section {
  margin: 20px 0;
}

.price-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.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: repeat(3, 1fr);
  gap: 20px;
}

.info-module {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.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 auto 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: 16px;
  max-width: 600px;
}

.variation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.variation-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.variation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.variation-header h3 {
  font-size: 1.1rem;
  margin: 0;
  flex: 1;
}

.variation-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.variation-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* ========== 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;
}

/* ========== 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) {
  .mobile-toggle {
    display: block;
  }

  .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);
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .info-modules {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    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) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-page {
    padding: 20px 12px 50px;
  }

  .info-modules {
    grid-template-columns: 1fr;
  }

  .purchase-card {
    flex-direction: column;
    text-align: center;
  }

  .purchase-price {
    text-align: center;
  }
}
