/* ==========================================================================
   TOMÉA PERFUMES - Admin Dashboard & CMS Master Stylesheet
   Fully Responsive • 100% Poppins Typography • Large, Crisp, High-Contrast UI
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --admin-sidebar-width: 270px;
  --admin-header-height: 74px;
  --admin-bg: #F3F0EE;
  --admin-card-bg: #FFFFFF;
  --admin-border: #DDD7D3;
  --admin-border-focus: #6B2E35;
  --admin-primary: #6B2E35;
  --admin-primary-hover: #541E25;
  --admin-primary-dark: #38060F;
  --admin-gold: #B8922F;
  --admin-gold-light: #F5E8CB;
  --admin-amber: #B45309;
  --admin-amber-light: #FEF3C7;
  --admin-green: #065F46;
  --admin-green-light: #D1FAE5;
  --admin-blue: #1E40AF;
  --admin-blue-light: #DBEAFE;
  --admin-purple: #5B21B6;
  --admin-purple-light: #EDE9FE;
  /* Sharp, high-contrast text */
  --admin-text: #0D0708;
  --admin-text-secondary: #3A2E30;
  --admin-text-muted: #5E5052;
  --admin-font: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --admin-radius: 4px;
  --admin-shadow: 0 1px 8px rgba(22, 15, 17, 0.07);
  --admin-shadow-lg: 0 8px 28px rgba(22, 15, 17, 0.13);
}

/* Global Reset & Box Sizing for Admin */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body, button, input, select, textarea {
  margin: 0;
  padding: 0;
  font-family: var(--admin-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--admin-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  background-color: var(--admin-bg);
}

body.admin-body {
  display: flex;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.admin-sidebar-locked {
  overflow: hidden;
}

/* ==========================================================================
   1. Admin Sidebar (Desktop & Mobile Drawer)
   ========================================================================== */
.admin-sidebar {
  width: var(--admin-sidebar-width);
  background-color: var(--admin-primary-dark);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.admin-sidebar-brand {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-sidebar-logo {
  height: 32px;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.admin-badge-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--admin-gold);
  color: #0E0A0B;
  padding: 3px 8px;
  font-weight: 700;
  border-radius: 2px;
}

.admin-sidebar-nav {
  flex: 1;
  padding: 1.5rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  color: #E2D3D5;
  font-size: 0.975rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--admin-radius);
  transition: all 0.2s ease;
  min-height: 48px;
}

.admin-nav-item .admin-nav-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.admin-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transform: translateX(3px);
}

.admin-nav-item.is-active {
  background-color: var(--admin-primary);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border-left: 4px solid var(--admin-gold);
}

.admin-sidebar-footer {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.15);
}

.admin-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-user-label {
  font-size: 0.725rem;
  color: #B59B9F;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.admin-user-email {
  font-size: 0.85rem;
  color: #FFFFFF;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.btn-logout {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-radius: 4px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 36px;
  min-height: 36px;
}

.btn-logout:hover {
  background: #E53E3E;
  border-color: #E53E3E;
}

/* Sidebar Backdrop for Mobile */
.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 6, 9, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-sidebar-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   2. Main Layout & Topbar
   ========================================================================== */
.admin-main,
.admin-main-wrapper {
  margin-left: var(--admin-sidebar-width);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

.admin-topbar {
  height: var(--admin-header-height);
  background-color: #FFFFFF;
  border-bottom: 1.5px solid var(--admin-border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.admin-sidebar-toggle {
  display: none;
  background: #FAF7F5;
  border: 1.5px solid var(--admin-border);
  border-radius: 4px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.admin-sidebar-toggle:hover {
  background: #EFE9E7;
  border-color: var(--admin-primary);
}

.admin-sidebar-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--admin-primary);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.topbar-title,
.admin-topbar-title {
  font-family: var(--admin-font);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--admin-text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.topbar-subtitle {
  font-size: 0.78rem;
  color: var(--admin-text-muted);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.01em;
}

.topbar-right,
.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.admin-pill-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #EBF8F2;
  color: #10663C;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  border: 1px solid #C7EED8;
}

.status-indicator-dot {
  width: 9px;
  height: 9px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.topbar-admin-badge {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--admin-primary);
  background-color: rgba(107, 46, 53, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  border: 1px solid rgba(107, 46, 53, 0.15);
}

.admin-content-container,
.admin-content-body {
  padding: 2.25rem;
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* ==========================================================================
   3. Cards, Banners & Metrics
   ========================================================================== */
.admin-card {
  background-color: var(--admin-card-bg);
  border: 1.5px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 1.85rem;
  margin-bottom: 2rem;
  box-shadow: var(--admin-shadow);
}

.admin-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--admin-border);
}

.card-heading,
.admin-card-title {
  font-family: var(--admin-font);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--admin-text);
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.card-subtext {
  font-size: 0.9rem;
  color: var(--admin-text-muted);
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

/* Welcome Banner */
.admin-banner-card {
  background: linear-gradient(135deg, #4A0714 0%, #2A040B 50%, #1A020A 100%);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 12px 32px rgba(74, 7, 20, 0.3);
  border-left: 5px solid var(--admin-gold);
  position: relative;
  overflow: hidden;
}

.admin-banner-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.banner-pretitle {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--admin-gold);
  margin-bottom: 0.5rem;
}

.admin-banner-card .banner-text h2 {
  font-family: var(--admin-font);
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.admin-banner-card .banner-text p {
  font-size: 0.975rem;
  color: #D4C0C3;
  margin: 0;
  max-width: 620px;
  line-height: 1.65;
  font-weight: 400;
}

.admin-banner-card .banner-actions {
  display: flex;
  gap: 0.85rem;
  flex-shrink: 0;
  align-items: center;
}

.btn-banner-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-family: var(--admin-font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-banner-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Metrics Grid */
.admin-metrics-grid,
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.metric-card {
  background-color: var(--admin-card-bg);
  border: 1.5px solid var(--admin-border);
  border-radius: 8px;
  padding: 1.65rem 1.65rem 1.35rem;
  position: relative;
  box-shadow: var(--admin-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--admin-shadow-lg);
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.metric-title,
.metric-label {
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--admin-text-secondary);
  line-height: 1.3;
}

/* Metric icon boxes */
.metric-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon-box--dark  { background: rgba(56, 6, 15, 0.1); color: var(--admin-primary-dark); }
.metric-icon-box--green { background: var(--admin-green-light); color: var(--admin-green); }
.metric-icon-box--gold  { background: var(--admin-gold-light); color: var(--admin-gold); }
.metric-icon-box--amber { background: var(--admin-amber-light); color: var(--admin-amber); }

.metric-value {
  font-family: var(--admin-font);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--admin-text);
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.03em;
}

.metric-subtext {
  font-size: 0.82rem;
  color: var(--admin-text-muted);
  font-weight: 500;
}

.metric-trend {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.metric-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--admin-primary);
  text-decoration: none;
}

.metric-link:hover { text-decoration: underline; }

.metric-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-badge--green { background: var(--admin-green-light); color: var(--admin-green); }

.text-success { color: var(--admin-green) !important; }
.text-gold    { color: var(--admin-gold) !important; }
.text-amber   { color: var(--admin-amber) !important; }
.text-burgundy { color: var(--admin-primary) !important; }

/* WhatsApp Routing Status Box */
.wa-status-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background-color: #F0FAF5;
  border: 1.5px solid #B7E4CA;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.wa-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-info {
  flex: 1;
  min-width: 0;
}

.wa-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--admin-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.15rem;
}

.wa-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: #065F46;
  font-family: 'Poppins', monospace;
  letter-spacing: -0.01em;
}

/* Connection Status Row */
.connection-status-row {
  display: flex;
  gap: 0.85rem;
}

.connection-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--admin-bg);
  border: 1.5px solid var(--admin-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.connection-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.connection-dot--ok       { background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.connection-dot--warn     { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }
.connection-dot--checking { background: #94A3B8; animation: pulseGray 1.5s ease infinite; }

@keyframes pulseGray {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.connection-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-muted);
}

.connection-state {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--admin-text);
}

/* Dashboard Two-Column Layout */
.dash-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Quick Actions Grid */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.quick-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.15rem 0.75rem;
  border: 1.5px solid var(--admin-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--admin-text);
  background: var(--admin-bg);
  transition: all 0.2s ease;
  text-align: center;
}

.quick-action-item:hover {
  border-color: var(--admin-primary);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--admin-shadow-lg);
}

.qa-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qa-icon--burgundy { background: rgba(107, 46, 53, 0.1); color: var(--admin-primary); }
.qa-icon--dark     { background: rgba(13, 7, 8, 0.08);  color: var(--admin-text); }
.qa-icon--blue     { background: var(--admin-blue-light); color: var(--admin-blue); }
.qa-icon--green    { background: var(--admin-green-light); color: var(--admin-green); }
.qa-icon--purple   { background: var(--admin-purple-light); color: var(--admin-purple); }
.qa-icon--amber    { background: var(--admin-amber-light); color: var(--admin-amber); }

.qa-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--admin-text-secondary);
  letter-spacing: 0.01em;
}

/* Sidebar Nav Divider */
.sidebar-nav-divider {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Badge Gold */
.badge-gold { background: var(--admin-gold-light); color: #7A5A0A; border: 1px solid #DFC57A; }



/* ==========================================================================
   4. Tables & Catalogs
   ========================================================================== */
.table-responsive,
.admin-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--admin-radius);
}

.admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: 1.1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--admin-text-secondary);
  border-bottom: 2px solid var(--admin-border);
  background-color: #F8F5F3;
  white-space: nowrap;
}

.admin-table td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--admin-border);
  font-size: 0.975rem;
  vertical-align: middle;
  color: var(--admin-text);
}

.admin-table tr:hover td {
  background-color: #FAF8F7;
}

.table-product-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.table-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  background-color: #FFFFFF;
  border: 1.5px solid var(--admin-border);
  border-radius: 4px;
  flex-shrink: 0;
}

.table-product-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--admin-text);
  display: block;
}

.table-product-cell .subtext {
  font-size: 0.85rem;
  color: var(--admin-text-muted);
}

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

.family-tag {
  background: #F3ECE9;
  color: var(--admin-primary-dark);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-success { background: #DEF7EC; color: #03543F; border: 1px solid #B6EBD5; }
.badge-danger { background: #FDE8E8; color: #9B1C1C; border: 1px solid #F8C3C3; }
.badge-neutral { background: #F3F4F6; color: #4B5563; border: 1px solid #E5E7EB; }

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.775rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  white-space: nowrap;
}

.status-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge--active,
.status-badge--green {
  background: #DEF7EC;
  color: #03543F;
  border: 1px solid #B6EBD5;
}

.status-badge--amber {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.status-badge--draft {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

.status-badge--danger {
  background: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #F8C3C3;
}

/* Product & Affiliate cell */
.product-cell {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.product-cell-name {
  font-weight: 600;
  color: var(--admin-text);
}

.product-cell-sub {
  font-size: 0.8rem;
  color: var(--admin-text-muted);
}

.tomea-field-hint {
  display: block;
  font-size: 0.785rem;
  color: var(--admin-text-muted);
  margin-top: 0.3rem;
}

.btn-xs {
  font-size: 0.785rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  min-height: 28px;
  border-radius: 3px;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.display-order-pill {
  display: inline-block;
  font-size: 0.785rem;
  font-weight: 700;
  color: var(--admin-text-secondary);
  background-color: #EAE6E3;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  border: 1px solid #DDD7D3;
}

.status-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--admin-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  border: 1.5px solid #D1D5DB;
  background-color: #F3F4F6;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.status-toggle-btn:hover {
  border-color: #9CA3AF;
  transform: translateY(-1px);
}

.status-toggle-btn.is-active {
  background-color: var(--admin-green-light);
  border-color: #A7F3D0;
  color: var(--admin-green);
}

.status-toggle-btn.is-active:hover {
  background-color: #A7F3D0;
  border-color: var(--admin-green);
}

.featured-star-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.featured-star-btn:hover {
  background-color: rgba(184, 146, 47, 0.12);
  color: var(--admin-gold);
  transform: scale(1.15);
}

.featured-star-btn.is-featured {
  color: var(--admin-gold);
}

.badge-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--admin-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.badge-toggle-btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.badge-toggle-btn.badge-success {
  background-color: var(--admin-green-light);
  color: var(--admin-green);
  border-color: #A7F3D0;
}

.badge-toggle-btn.badge-danger {
  background-color: #FEE2E2;
  color: #DC2626;
  border-color: #FCA5A5;
}

.admin-modal-container.modal-sm {
  max-width: 440px;
}

/* ==========================================================================
   5. Buttons & Action Elements
   ========================================================================== */
.btn {
  font-family: var(--admin-font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--admin-primary);
  color: #FFFFFF;
  border-color: var(--admin-primary);
}

.btn-primary:hover {
  background-color: var(--admin-primary-hover);
  border-color: var(--admin-primary-hover);
  box-shadow: 0 4px 12px rgba(107, 46, 53, 0.25);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--admin-primary);
  border-color: var(--admin-border);
}

.btn-secondary:hover {
  background-color: #FAF4F4;
  border-color: var(--admin-primary);
}

.btn-outline {
  background: transparent;
  color: var(--admin-text-secondary);
  border-color: var(--admin-border);
}

.btn-outline:hover {
  background: #FFFFFF;
  border-color: var(--admin-primary);
  color: var(--admin-primary);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 38px;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  min-height: 50px;
}

.text-danger {
  color: #C53030 !important;
}

.btn-danger-outline {
  background: transparent;
  color: #C53030;
  border: 1.5px solid #FEB2B2;
}

.btn-danger-outline:hover {
  background: #FFF5F5;
  border-color: #E53E3E;
}

/* ==========================================================================
   6. Search & Filter Toolbars
   ========================================================================== */
.admin-toolbar-row {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.toolbar-search {
  flex: 1;
  max-width: 480px;
}

.toolbar-filter {
  min-width: 220px;
}

/* ==========================================================================
   7. Form Inputs & Controls
   ========================================================================== */
.tomea-form-group {
  margin-bottom: 1.5rem;
}

.tomea-label {
  display: block;
  font-family: var(--admin-font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--admin-text);
  margin-bottom: 0.5rem;
}

.tomea-input,
.tomea-select,
.tomea-textarea {
  width: 100%;
  font-family: var(--admin-font);
  font-size: 1rem;
  color: var(--admin-text);
  background-color: #FFFFFF;
  border: 1.5px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 0.85rem 1.15rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tomea-textarea {
  min-height: 100px;
  line-height: 1.6;
}

.tomea-input:focus,
.tomea-select:focus,
.tomea-textarea:focus {
  outline: none;
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3.5px rgba(107, 46, 53, 0.15);
}

.input-with-button {
  display: flex;
  gap: 0.5rem;
}

.input-with-button .tomea-input {
  flex: 1;
}

.input-with-button .btn {
  flex-shrink: 0;
}

.font-mono {
  font-family: monospace;
}

.form-grid-two,
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-grid-three,
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Custom Checkboxes */
.form-checkboxes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding: 1.25rem;
  background-color: #FAF8F6;
  border: 1.5px solid var(--admin-border);
  border-radius: var(--admin-radius);
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--admin-text);
}

.custom-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--admin-primary);
  cursor: pointer;
}

.admin-section-divider {
  margin: 2rem 0 1.25rem 0;
  padding-bottom: 0.65rem;
  border-bottom: 1.5px solid var(--admin-border);
}

.divider-title {
  font-size: 0.925rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--admin-primary);
  margin: 0;
}

/* Notes Builder */
.notes-builder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.notes-tag-container,
.notes-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem;
  margin-top: 0.65rem;
  background: #FAF8F6;
  border: 1.5px dashed var(--admin-border);
  border-radius: var(--admin-radius);
}

.note-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--admin-border);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 30px;
  color: var(--admin-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.remove-tag-btn {
  background: none;
  border: none;
  color: #C53030;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* Cloudinary Drag & Drop Box */
.cloudinary-dropzone,
.cloudinary-upload-box {
  border: 2px dashed #CFC5C2;
  border-radius: 6px;
  padding: 2rem 1.25rem;
  text-align: center;
  background: #FAF8F7;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  margin-bottom: 1.25rem;
  display: block;
  -webkit-tap-highlight-color: transparent;
}

.cloudinary-dropzone:hover,
.cloudinary-dropzone.is-dragover {
  border-color: var(--admin-primary);
  background: #F8ECEE;
}

.dropzone-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.dropzone-content p {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--admin-text);
  margin: 0.5rem 0 0.5rem 0;
}

.dropzone-action-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  background-color: var(--admin-primary);
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  margin: 0.25rem 0;
  box-shadow: 0 2px 6px rgba(107, 46, 53, 0.25);
  pointer-events: none;
}

.upload-progress-wrapper {
  margin-top: 1rem;
}

.progress-bar-track {
  width: 100%;
  height: 8px;
  background: #E5DFDC;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.progress-bar-fill {
  height: 100%;
  background: var(--admin-primary);
  transition: width 0.25s ease;
}

.image-previews-grid,
.images-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.image-preview-item {
  position: relative;
  aspect-ratio: 1;
  border: 1.5px solid var(--admin-border);
  border-radius: 4px;
  overflow: hidden;
  background: #FAF8F7;
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-item.is-primary {
  border: 2.5px solid var(--admin-primary);
}

.image-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 15, 17, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.image-preview-item:hover .image-preview-overlay,
.image-preview-item:focus-within .image-preview-overlay {
  opacity: 1;
}

/* Touch devices: Keep control buttons visible so mobile users can manage gallery */
@media (hover: none) and (pointer: coarse) {
  .image-preview-overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(22, 15, 17, 0.6) 0%, transparent 40%, rgba(22, 15, 17, 0.8) 100%);
  }
}

.primary-tag {
  background: var(--admin-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  align-self: flex-start;
}

.btn-make-primary {
  background: #FFFFFF;
  color: var(--admin-text);
  border: none;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  align-self: flex-start;
  min-height: 28px;
}

.btn-remove-image {
  background: rgba(197, 48, 48, 0.9);
  border: none;
  color: #FFFFFF;
  font-size: 1.2rem;
  cursor: pointer;
  align-self: flex-end;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Modal Dialogs & Drawers — Fully Responsive & Scroll Enabled
   ========================================================================== */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 8, 11, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.admin-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.admin-modal-container,
.admin-modal-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  max-height: 90dvh;
  border-radius: 8px;
  border-top: 5px solid var(--admin-primary);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  margin: auto;
  min-height: 0; /* REQUIRED for nested flex child scrolling */
}

.admin-modal-container.modal-lg {
  max-width: 900px;
}

.admin-modal-container.modal-md {
  max-width: 660px;
}

.admin-modal-container.modal-sm {
  max-width: 460px;
}

/* Modal Form Wrapper — CRITICAL: enables child body to scroll */
.admin-modal-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.admin-modal-header {
  padding: 1.25rem 2rem;
  border-bottom: 1.5px solid var(--admin-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-title {
  font-family: var(--admin-font);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--admin-text);
  margin: 0;
  line-height: 1.25;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--admin-text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--admin-primary);
  background-color: rgba(107, 46, 53, 0.08);
}

.admin-modal-body {
  padding: 1.75rem 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  min-height: 0; /* CRITICAL */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Custom scrollbar for modal body */
.admin-modal-body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.admin-modal-body::-webkit-scrollbar-track {
  background: #FAF8F6;
}

.admin-modal-body::-webkit-scrollbar-thumb {
  background: #D8D1CC;
  border-radius: 3px;
}

.admin-modal-body::-webkit-scrollbar-thumb:hover {
  background: #BAADA6;
}

.admin-modal-footer {
  padding: 1.15rem 2rem;
  border-top: 1.5px solid var(--admin-border);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
  background: #FAF8F6;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.brand-library-grid,
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}

.brand-lib-item,
.library-item {
  border: 1.5px solid var(--admin-border);
  border-radius: 4px;
  background: #FAF8F6;
  padding: 0.5rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.brand-lib-item:hover,
.library-item:hover {
  border-color: var(--admin-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand-lib-item img,
.library-item img {
  width: 100%;
  height: 90px;
  object-fit: contain;
}

.brand-lib-item span,
.library-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-submit-bar {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--admin-border);
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   8. Full Responsiveness Across Devices
   ========================================================================== */

/* Laptops & Tablets Landscape (under 1200px) */
@media (max-width: 1199px) {
  .admin-metrics-grid,
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (under 992px) */
@media (max-width: 991px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-main,
  .admin-main-wrapper {
    margin-left: 0 !important;
    width: 100%;
  }

  .admin-sidebar-toggle {
    display: flex !important;
  }

  .admin-topbar {
    padding: 0 1.25rem;
  }

  .admin-content-container,
  .admin-content-body {
    padding: 1.5rem 1.25rem;
  }

  .admin-banner-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
  }

  .admin-banner-card .banner-actions {
    width: 100%;
  }

  .notes-builder-grid {
    grid-template-columns: 1fr;
  }

  .dash-two-col {
    grid-template-columns: 1fr;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Devices (under 768px) */
@media (max-width: 767px) {
  .admin-sidebar {
    width: min(300px, 86vw);
  }

  .admin-sidebar-nav {
    padding: 1rem 0.65rem;
    gap: 0.35rem;
  }

  .admin-nav-item {
    padding: 0.8rem 1rem;
    font-size: 0.925rem;
    min-height: 44px;
  }

  .admin-topbar {
    height: auto;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .topbar-left {
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .topbar-right,
  .admin-topbar-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .admin-pill-status {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
  }

  .topbar-admin-badge {
    display: none;
  }

  .admin-toolbar-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .toolbar-search,
  .toolbar-filter {
    max-width: 100%;
    width: 100%;
  }

  .form-grid-two,
  .form-grid-three,
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .admin-metrics-grid,
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .metric-card {
    padding: 1.25rem 1rem;
    min-width: 0;
  }

  .metric-value {
    font-size: 2rem;
    word-break: break-word;
  }

  .admin-card {
    padding: 1.25rem 1rem;
    margin-bottom: 1.25rem;
  }

  /* Responsive Table styling on Mobile */
  .table-responsive,
  .admin-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .admin-table {
    min-width: 640px;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.75rem 0.65rem;
    font-size: 0.875rem;
  }

  .table-thumb {
    width: 44px;
    height: 44px;
  }

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

  /* Responsive Modals in Tablet / Mobile (under 768px) */
  .admin-modal-backdrop {
    padding: 0.5rem;
    align-items: flex-start;
  }

  .admin-modal-container,
  .admin-modal-card {
    max-height: calc(100dvh - 1rem);
    height: calc(100dvh - 1rem);
    border-radius: 8px;
    margin: 0.5rem auto;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .admin-modal-header {
    padding: 0.85rem 1rem;
    flex-shrink: 0;
  }

  .modal-title {
    font-size: 1.15rem;
    white-space: normal;
    word-break: break-word;
    padding-right: 0.5rem;
  }

  .modal-close-btn {
    font-size: 1.6rem;
    padding: 0.2rem 0.5rem;
    min-width: 36px;
    min-height: 36px;
  }

  .admin-modal-body {
    padding: 1.15rem 1rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-modal-footer {
    padding: 0.85rem 1rem;
    flex-direction: column-reverse;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .admin-modal-footer .d-flex {
    width: 100%;
    flex-direction: column-reverse;
    gap: 0.5rem;
  }

  .admin-modal-footer .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .admin-submit-bar .btn {
    width: 100%;
    min-height: 46px;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .connection-status-row {
    flex-direction: column;
  }

  .input-with-button {
    flex-direction: row;
    align-items: stretch;
  }

  .input-with-button .tomea-input {
    flex: 1;
    min-width: 0;
  }

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

  .detail-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
}

/* Extra Small Phones (under 480px down to 320px) */
@media (max-width: 479px) {
  .admin-topbar {
    padding: 0.65rem 0.75rem;
  }

  .topbar-title,
  .admin-topbar-title {
    font-size: 1.05rem;
  }

  .admin-content-container,
  .admin-content-body {
    padding: 1rem 0.75rem;
  }

  .form-checkboxes-row {
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 0.75rem;
  }

  .admin-metrics-grid,
  .metrics-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .quick-actions-grid {
    grid-template-columns: 1fr;
  }

  .admin-banner-card {
    padding: 1.25rem 1rem;
    margin-bottom: 1.25rem;
  }

  .admin-banner-card .banner-text h2 {
    font-size: 1.35rem;
  }

  .admin-banner-card .banner-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .admin-banner-card .banner-actions .btn,
  .admin-banner-card .banner-actions .btn-banner-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Modal on extra small phones */
  .admin-modal-backdrop {
    padding: 0.25rem;
  }

  .admin-modal-container,
  .admin-modal-card {
    max-height: calc(100dvh - 0.5rem);
    height: calc(100dvh - 0.5rem);
    border-radius: 6px;
    margin: 0.25rem auto;
  }

  .admin-modal-header {
    padding: 0.75rem 0.85rem;
  }

  .modal-title {
    font-size: 1rem;
  }

  .admin-modal-body {
    padding: 0.85rem 0.75rem;
  }

  .admin-modal-footer {
    padding: 0.65rem 0.75rem;
    gap: 0.4rem;
  }

  .admin-modal-footer .btn {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .input-with-button {
    flex-direction: column;
    gap: 0.4rem;
  }

  .input-with-button .btn {
    width: 100%;
    min-height: 42px;
  }

  .brand-library-grid,
  .library-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
}
