/* =============================================
   Kings Bajan Pride Foods — Main Stylesheet
   Colors: Barbados Blue #003F87, Gold #F6C100, White #FFFFFF
   ============================================= */

:root {
  --blue: #003F87;
  --blue-dark: #002a5c;
  --blue-light: #1a5fad;
  --gold: #F6C100;
  --gold-dark: #d4a800;
  --gold-light: #ffe44d;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --dark: #111827;
  --shadow: 0 4px 24px rgba(0,63,135,0.12);
  --shadow-lg: 0 12px 48px rgba(0,63,135,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--gray); }

a { text-decoration: none; color: inherit; }

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

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold-dark); }
.text-blue { color: var(--blue); }
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--blue-dark);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246,193,0,0.4);
}
.btn-secondary {
  background: var(--blue);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,63,135,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Section Header ── */
.section-header { margin-bottom: 48px; }
.section-header .badge { margin-bottom: 12px; }
.section-header h2 { color: var(--blue); margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 4px;
  margin: 16px auto 0;
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--gold); }

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 60px;
  width: 60px;
  object-fit: contain;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text .name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}
.nav-logo-text .tagline {
  font-size: 0.72rem;
  color: var(--gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--blue);
  transition: var(--transition);
  font-size: 0.92rem;
}
.nav-menu a:hover, .nav-menu a.active {
  background: var(--blue);
  color: var(--white);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--blue);
  font-size: 1.3rem;
  transition: var(--transition);
}
.nav-icon-btn:hover { background: var(--gray-light); }
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold);
  color: var(--blue-dark);
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F6C100' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}
.hero-content { color: var(--white); }
.hero-content .badge { background: rgba(246,193,0,0.2); color: var(--gold); border: 1px solid var(--gold); margin-bottom: 20px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat .num { font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.hero-stat .label { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img-main {
  width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.hero-img-badge {
  position: absolute;
  bottom: 30px;
  right: 10px;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-img-badge .icon { font-size: 1.8rem; }
.hero-img-badge .text .label { font-size: 0.75rem; color: var(--gray); }
.hero-img-badge .text .value { font-weight: 700; color: var(--blue); font-size: 0.95rem; }
.floating-logo {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── ANNOUNCEMENT STRIP ── */
.announcement {
  background: var(--gold);
  padding: 12px 0;
  overflow: hidden;
}
.marquee {
  display: flex;
  gap: 60px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.marquee span {
  font-weight: 600;
  color: var(--blue-dark);
  font-size: 0.9rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── FEATURES STRIP ── */
.features-strip {
  background: var(--off-white);
  padding: 40px 0;
  border-bottom: 1px solid #e5e7eb;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.feature-text .title { font-weight: 700; color: var(--blue); font-size: 0.95rem; }
.feature-text .desc { font-size: 0.8rem; color: var(--gray); }

/* ── PRODUCTS SECTION ── */
.products-section { background: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #e5e7eb;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.product-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--gray-light);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}
.product-tag.sale { background: #dc2626; }
.product-tag.new { background: #059669; }
.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: var(--transition);
}
.product-wishlist:hover { background: #fee2e2; }
.product-info { padding: 18px; }
.product-category { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.product-name { font-weight: 700; color: var(--dark); margin-bottom: 8px; font-size: 1rem; }
.product-desc { font-size: 0.85rem; color: var(--gray); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-price { font-size: 1.25rem; font-weight: 800; color: var(--blue); }
.product-price .old { font-size: 0.85rem; color: var(--gray); text-decoration: line-through; font-weight: 400; margin-right: 4px; }
.add-to-cart-btn {
  background: var(--gold);
  color: var(--blue-dark);
  border: none;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.add-to-cart-btn:hover {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.05);
}

/* ── CATEGORIES ── */
.categories-section { background: var(--off-white); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.category-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.category-icon { font-size: 2.5rem; margin-bottom: 12px; }
.category-name { font-weight: 700; color: var(--blue); font-size: 1rem; margin-bottom: 4px; }
.category-count { font-size: 0.8rem; color: var(--gray); }

/* ── ABOUT SECTION ── */
.about-section { background: var(--blue-dark); color: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-imgs {
  position: relative;
  height: 460px;
}
.about-img-main {
  width: 70%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: absolute;
  top: 0;
  left: 0;
  border: 4px solid var(--gold);
}
.about-img-sec {
  width: 55%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: absolute;
  bottom: 0;
  right: 0;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about-content .badge { background: rgba(246,193,0,0.2); color: var(--gold); border: 1px solid var(--gold); margin-bottom: 16px; }
.about-content h2 { color: var(--white); margin-bottom: 20px; }
.about-content p { color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.about-list { list-style: none; margin-bottom: 32px; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.about-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--blue-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── BANNER ── */
.promo-banner {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 60px 0;
}
.promo-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.promo-text h2 { color: var(--blue-dark); font-size: 2rem; }
.promo-text p { color: var(--blue); font-size: 1.05rem; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--gold);
}
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text { color: var(--dark); margin-bottom: 20px; font-style: italic; line-height: 1.7; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.author-name { font-weight: 700; color: var(--blue); font-size: 0.95rem; }
.author-loc { font-size: 0.8rem; color: var(--gray); }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--blue);
  padding: 60px 0;
  text-align: center;
}
.newsletter h2 { color: var(--white); margin-bottom: 10px; }
.newsletter p { color: rgba(255,255,255,0.75); margin-bottom: 30px; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  outline: none;
}
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(246,193,0,0.4); }

/* ── FOOTER ── */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 70px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; margin-bottom: 20px; }
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  font-size: 1rem;
}
.social-links a:hover { background: var(--gold); color: var(--blue-dark); border-color: var(--gold); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--gold); }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icons img { height: 28px; border-radius: 4px; }

/* ── CART SIDEBAR ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 2px solid var(--gold);
  background: var(--blue);
  color: var(--white);
}
.cart-header h3 { font-size: 1.1rem; }
.cart-close { background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}
.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; color: var(--dark); font-size: 0.9rem; margin-bottom: 4px; }
.cart-item-price { font-weight: 700; color: var(--blue); }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #d1d5db;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.cart-item-remove { color: #dc2626; background: none; border: none; cursor: pointer; font-size: 0.8rem; padding: 4px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid #e5e7eb; }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--dark);
}
.cart-note { font-size: 0.78rem; color: var(--gray); margin-bottom: 16px; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.cart-empty .icon { font-size: 3rem; margin-bottom: 12px; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s ease;
  border-left: 4px solid var(--gold);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── SHOP PAGE ── */
.shop-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.shop-hero h1 { margin-bottom: 10px; }
.shop-hero p { color: rgba(255,255,255,0.75); }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 48px 0; }
.shop-filters { position: sticky; top: 90px; align-self: start; }
.filter-block { background: var(--white); border-radius: var(--radius); border: 1px solid #e5e7eb; padding: 20px; margin-bottom: 20px; }
.filter-block h4 { color: var(--blue); margin-bottom: 14px; font-size: 0.95rem; }
.filter-option { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; cursor: pointer; font-size: 0.9rem; }
.filter-option input[type="checkbox"] { accent-color: var(--blue); }
.price-range { width: 100%; accent-color: var(--blue); }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-toolbar select {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
}

/* ── LOGIN / AUTH ── */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { height: 80px; margin: 0 auto 12px; }
.auth-logo h2 { color: var(--blue); }
.auth-logo p { font-size: 0.9rem; }
.auth-tabs {
  display: flex;
  background: var(--gray-light);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  color: var(--gray);
}
.auth-tab.active { background: var(--blue); color: var(--white); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--blue); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  color: var(--dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,63,135,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.divider-text {
  text-align: center;
  position: relative;
  margin: 20px 0;
  color: var(--gray);
  font-size: 0.85rem;
}
.divider-text::before, .divider-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: #e5e7eb;
}
.divider-text::before { left: 0; }
.divider-text::after { right: 0; }
.google-btn {
  width: 100%;
  padding: 12px;
  border: 1.5px solid #d1d5db;
  background: var(--white);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}
.google-btn:hover { background: var(--gray-light); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--gray); }
.auth-footer a { color: var(--blue); font-weight: 600; }

/* ── ADMIN DASHBOARD ── */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 260px;
  background: var(--blue-dark);
  color: var(--white);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar-header img { height: 50px; margin-bottom: 10px; }
.admin-sidebar-header .title { font-weight: 700; color: var(--gold); font-size: 0.9rem; }
.admin-sidebar-header .subtitle { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  margin-bottom: 4px;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(246,193,0,0.15);
  color: var(--gold);
}
.admin-nav-item .icon { font-size: 1.1rem; width: 22px; }
.admin-nav-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.3); padding: 16px 14px 6px; }
.admin-content { flex: 1; background: #f1f5f9; overflow-y: auto; }
.admin-topbar {
  background: var(--white);
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-topbar h1 { font-size: 1.3rem; color: var(--blue); }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user .avatar {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--blue-dark);
}
.admin-main { padding: 28px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border-left: 4px solid var(--blue);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.stat-card.gold { border-color: var(--gold); }
.stat-card.green { border-color: #10b981; }
.stat-card.red { border-color: #ef4444; }
.stat-card .label { font-size: 0.8rem; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.stat-card .value { font-size: 1.8rem; font-weight: 800; color: var(--dark); }
.stat-card .change { font-size: 0.8rem; margin-top: 4px; }
.stat-card .change.up { color: #10b981; }
.stat-card .change.down { color: #ef4444; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}
.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.admin-card h3 { color: var(--blue); font-size: 1rem; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  background: var(--gray-light);
  border-bottom: 1px solid #e5e7eb;
}
td {
  padding: 14px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
  color: var(--dark);
}
tr:hover td { background: #fafafa; }
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-badge.pending { background: #fef3c7; color: #92400e; }
.status-badge.processing { background: #dbeafe; color: #1e40af; }
.status-badge.shipped { background: #d1fae5; color: #065f46; }
.status-badge.delivered { background: #dcfce7; color: #166534; }
.status-badge.cancelled { background: #fee2e2; color: #991b1b; }

/* ── CHECKOUT ── */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 48px 0;
}
.checkout-section { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid #e5e7eb; margin-bottom: 20px; }
.checkout-section h3 { color: var(--blue); margin-bottom: 20px; font-size: 1.05rem; border-bottom: 1px solid #e5e7eb; padding-bottom: 12px; }
.order-summary { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid #e5e7eb; position: sticky; top: 90px; }
.order-summary h3 { color: var(--blue); margin-bottom: 20px; }
.order-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.order-line.total {
  font-weight: 800;
  font-size: 1.1rem;
  border-top: 2px solid var(--gold);
  padding-top: 12px;
  margin-top: 12px;
}
#paypal-button-container { margin-top: 20px; }

/* ── PRODUCT DETAIL ── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 0;
  align-items: start;
}
.product-images .main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}
.product-thumbs { display: flex; gap: 10px; }
.product-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.product-thumb.active, .product-thumb:hover { border-color: var(--gold); }
.product-detail-info .category { color: var(--gray); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.product-detail-info h1 { color: var(--blue); margin-bottom: 16px; font-size: 2rem; }
.rating { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.rating .stars { color: var(--gold); }
.rating .count { color: var(--gray); font-size: 0.85rem; }
.product-detail-price { font-size: 2.2rem; font-weight: 800; color: var(--blue); margin-bottom: 20px; }
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid #d1d5db;
  border-radius: 50px;
  overflow: hidden;
}
.qty-control button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--gray-light);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  transition: var(--transition);
}
.qty-control button:hover { background: var(--blue); color: var(--white); }
.qty-control span {
  width: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray);
  padding: 16px 0;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb span { color: var(--gray); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { display: none; }
  .admin-sidebar.mobile-open { display: flex; position: fixed; z-index: 1000; }
}
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-image { display: none; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-imgs { display: none; }
  .nav-menu { display: none; }
  .nav-menu.mobile-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; border-top: 1px solid #e5e7eb; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { display: none; }
  .checkout-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .promo-banner .container { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
}
