/* Arena Tobogã - Modern Bio & Delivery App Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --bg-primary: #0a0f18;
  --bg-secondary: #121927;
  --bg-card: rgba(22, 31, 48, 0.75);
  --bg-card-hover: rgba(30, 43, 67, 0.9);
  --bg-glass: rgba(18, 25, 39, 0.65);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.5);

  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  --accent-blue: #0ea5e9;
  --accent-whatsapp: #25d366;
  --accent-whatsapp-hover: #1eb857;
  --accent-danger: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(14, 165, 233, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #070a10 0%, #0a0f18 100%);
  background-attachment: fixed;
}

/* App Container */
.app-container {
  max-width: 620px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 90px; /* Space for fixed bottom navigation */
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
}

/* Top App Header / Bar */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 15, 24, 0.85);
  backdrop-filter: blur(12px);
}

.brand-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-pill-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: white;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

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

.brand-pill-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand-pill-status {
  font-size: 11px;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

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

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.icon-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.cart-counter-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-gold);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Tabs Navigation Bar (Floating Bottom Bar) */
.bottom-nav {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 580px;
  height: 64px;
  border-radius: var(--radius-full);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  background: rgba(15, 22, 36, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-body);
  gap: 3px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  position: relative;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.nav-item:hover {
  color: var(--text-main);
}

.nav-item.active {
  color: #000;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.nav-item.active svg {
  transform: translateY(-1px);
}

.nav-badge-dot {
  position: absolute;
  top: 6px;
  right: 14px;
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
}

/* Main Content Views */
.tab-view {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 0 16px;
}

.tab-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   TAB 1: BIO & ARENA PROFILE
   ========================================= */

/* Hero Cover & Avatar */
.bio-hero {
  position: relative;
  margin-top: 10px;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: #111827;
}

.bio-cover {
  height: 160px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.bio-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.bio-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,24,0.1) 0%, rgba(10,15,24,0.95) 100%);
}

.bio-profile-wrapper {
  padding: 0 18px 20px 18px;
  position: relative;
  margin-top: -50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar-container {
  position: relative;
  margin-bottom: 12px;
}

.bio-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3.5px solid #0a0f18;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  background: #1e293b;
}

.verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: #0284c7;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #0a0f18;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arena-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.arena-tagline {
  color: var(--text-muted);
  font-size: 13.5px;
  max-width: 380px;
  margin-bottom: 12px;
}

.arena-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}

.tag-chip {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Social Icon Quick Links */
.social-links-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 6px;
}

.social-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.social-circle-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}
.social-circle-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-circle-btn.maps {
  background: linear-gradient(135deg, #4285f4, #34a853);
}
.social-circle-btn.phone {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.social-circle-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}

/* Stories / Highlights Carousel */
.stories-section {
  margin-bottom: 22px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stories-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.stories-carousel::-webkit-scrollbar {
  display: none;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
}

.story-ring {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #f59e0b, #10b981, #0ea5e9);
  transition: transform 0.25s ease;
}

.story-item:hover .story-ring {
  transform: scale(1.06);
}

.story-thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #0a0f18;
  object-fit: cover;
  display: block;
}

.story-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  max-width: 68px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bio Action Links (Bento / Link-In-Bio Style) */
.bio-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.bio-card-link {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.bio-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.bio-card-link.featured-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(18, 25, 39, 0.9));
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: var(--shadow-glow);
}

.bio-card-link.featured-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gold);
}

.bio-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 14px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}

.bio-card-link.featured-gold .bio-card-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
}

.bio-card-content {
  flex: 1;
}

.bio-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-pulse {
  background: #10b981;
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bio-card-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.bio-card-arrow {
  color: var(--text-dim);
  font-size: 18px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.bio-card-link:hover .bio-card-arrow {
  color: var(--accent-gold);
  transform: translateX(4px);
}

/* Quick Info Bento Box */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.bento-box {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.bento-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
}

.bento-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =========================================
   TAB 2: DELIVERY & CARDÁPIO
   ========================================= */

.delivery-header-banner {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(18, 25, 39, 0.85));
  border: 1px solid rgba(37, 211, 102, 0.3);
  margin-top: 10px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.delivery-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #25d366;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.delivery-banner-text h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 2px;
  color: #fff;
}

.delivery-banner-text p {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

/* Delivery Search & Filter */
.search-bar-wrapper {
  margin-bottom: 16px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Category Pills */
.category-filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.category-filter-scroll::-webkit-scrollbar {
  display: none;
}

.category-chip {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.category-chip:hover {
  color: var(--text-main);
  background: var(--bg-card-hover);
}

.category-chip.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

/* Product Cards Grid */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.product-card {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  position: relative;
  background: #1e293b;
  overflow: hidden;
}

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

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

.product-info {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.product-badge-cat {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold);
  font-weight: 700;
  white-space: nowrap;
}

.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 4px 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--accent-gold);
}

.add-cart-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #000;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.add-cart-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.qty-counter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.qty-btn {
  width: 24px;
  height: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
}

.qty-btn:hover {
  background: var(--accent-gold);
  color: #000;
}

.qty-number {
  font-size: 12.5px;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

/* Floating Cart Sticky Bar */
.floating-cart-bar {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: calc(100% - 32px);
  max-width: 580px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  z-index: 95;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cart-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.floating-cart-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-cart-badge {
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 13px;
}

.floating-cart-total {
  font-weight: 800;
  font-size: 16px;
}

.floating-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* =========================================
   TAB 3: ARENA GALLERY & STRUCTURE
   ========================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 24px;
}

.gallery-grid .gallery-item:first-child {
  grid-column: span 2;
  height: 220px;
}

.gallery-item {
  position: relative;
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 12px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.facility-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.facility-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.facility-info h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.facility-info p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* =========================================
   TAB 4: ADMIN PANEL
   ========================================= */

.admin-login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  margin-top: 14px;
  text-align: center;
}

.admin-lock-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 18px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.admin-actions-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #000;
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Admin Table / List */
.admin-products-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.admin-product-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.admin-row-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #1e293b;
  flex-shrink: 0;
}

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

.admin-row-title {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-row-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-row-price {
  color: var(--accent-gold);
  font-weight: 700;
}

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

.admin-mini-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.admin-mini-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.admin-mini-btn.delete:hover {
  background: rgba(239, 68, 68, 0.2);
  color: var(--accent-danger);
  border-color: var(--accent-danger);
}

/* =========================================
   CART DRAWER & CHECKOUT MODAL
   ========================================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

/* Bottom Sheet / Drawer */
.cart-drawer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  background: #111827;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  z-index: 210;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.cart-drawer.open {
  transform: translateX(-50%) translateY(0);
}

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

.drawer-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
}

.drawer-close:hover {
  color: white;
}

.drawer-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

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

.cart-empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.6;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.cart-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #1e293b;
}

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

.cart-item-name {
  font-size: 13.5px;
  font-weight: 700;
}

.cart-item-unit-price {
  font-size: 12px;
  color: var(--text-muted);
}

/* Shipping Notice Banner */
.shipping-notice-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: #fde68a;
  line-height: 1.4;
}

.shipping-notice-box svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-gold);
}

/* Form Styles */
.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
}

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

/* Delivery Type Selector (Tabs) */
.delivery-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}

.type-pill {
  padding: 8px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.type-pill.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 15, 24, 0.95);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.summary-row.total-row {
  font-size: 16px;
  font-weight: 800;
  color: white;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
}

.whatsapp-checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border: none;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.whatsapp-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
}

/* Modal Popup (for Product Add/Edit & Stories) */
.center-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: calc(100% - 32px);
  max-width: 480px;
  max-height: 90vh;
  background: #111827;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 250;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.25s ease;
}

.center-modal.open {
  display: flex;
  transform: translate(-50%, -50%) scale(1);
}

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

.center-modal-body {
  padding: 18px 20px;
  overflow-y: auto;
}

/* Image Preview in Modal */
.image-upload-preview {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  border: 2px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-dim);
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}

.image-upload-preview.has-image {
  border-style: solid;
  border-color: var(--accent-gold);
}

.image-upload-preview.has-image span,
.image-upload-preview.has-image svg {
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  color: white;
}

/* Story Viewer Modal */
.story-viewer-modal {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 300;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.story-viewer-modal.open {
  display: flex;
}

.story-viewer-content {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 90vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.story-viewer-progress {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  z-index: 10;
  overflow: hidden;
}

.story-viewer-progress-bar {
  height: 100%;
  width: 0%;
  background: white;
  transition: width 0.1s linear;
}

.story-viewer-header {
  position: absolute;
  top: 24px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  color: white;
}

.story-viewer-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
}

.story-viewer-caption {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  color: white;
  text-align: center;
  z-index: 10;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--accent-gold);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: slideToast 0.3s ease;
}

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

/* Lightbox Modal for gallery */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 310;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-img {
  max-width: 95%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utilities */
.text-gold { color: var(--accent-gold); }
.text-green { color: var(--accent-green); }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }

@media (max-width: 480px) {
  .bio-cover {
    height: 140px;
  }
  .bio-avatar {
    width: 86px;
    height: 86px;
  }
  .product-img-wrapper {
    width: 95px;
    height: 95px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
}
