/* ===== GOATBD - COMPLETE STYLES ===== */

/* ===== FONT UPGRADE ===== */
/* Inter replaces Barlow for body text — sharper, more legible, modern */
/* Syne for accent headings — bold, editorial, premium */
/* Bebas Neue stays for display/hero text */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Syne:wght@600;700;800&family=Bebas+Neue&display=swap');

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

body {
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  background: #080808;
  color: #d8d8d8;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2rem;
  background: linear-gradient(135deg, rgba(18,4,4,0.97) 0%, rgba(10,10,18,0.97) 50%, rgba(4,14,4,0.97) 100%);
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,107,107,0.12);
  box-shadow: 0 1px 40px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255,107,107,0.4));
  transition: transform 0.2s ease;
  display: block;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.08);
}

/* Centered GOATBD text in navbar */
.nav-logo-center {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.logo-goat { color: #FF6B6B; }
.logo-10 { color: #fff; }

/* Search icon button in navbar */
.search-icon-btn {
  background: #111;
  color: #999;
  border: 1px solid #222;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.25s ease;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}
.search-icon-btn:hover {
  background: #1a1a1a;
  color: #FF6B6B;
  border-color: rgba(255,107,107,0.5);
}

/* LIVE button in navbar */
.live-nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff3b3b 0%, #c0392b 100%);
  color: #fff;
  border: 1px solid rgba(255,120,120,0.6);
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2.5px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(255,60,60,0.55), 0 4px 14px rgba(255,40,40,0.25);
  animation: liveGlow 2.2s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.live-nav-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: liveShine 2.6s ease-in-out infinite;
}
.live-nav-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.12);
  box-shadow: 0 0 0 4px rgba(255,60,60,0.18), 0 6px 18px rgba(255,40,40,0.35);
}
@keyframes liveGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,60,60,0.55), 0 4px 14px rgba(255,40,40,0.25); }
  50% { box-shadow: 0 0 0 6px rgba(255,60,60,0), 0 4px 18px rgba(255,40,40,0.4); }
}
@keyframes liveShine {
  0% { left: -75%; }
  60% { left: 130%; }
  100% { left: 130%; }
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  50% { opacity: 0.6; box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
}
.search-overlay.active { display: block; }

/* Search panel drops from top */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.97);
  z-index: 201;
  padding: 1.5rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #1a1a1a;
}
.search-panel.active { transform: translateY(0); }

.search-panel-inner { max-width: 700px; margin: 0 auto; }

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #141414;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  border: 1px solid #2a2a2a;
  gap: 0.75rem;
  transition: border-color 0.2s;
}
.search-input-wrap:focus-within {
  border-color: rgba(255,107,107,0.4);
}
.search-input-wrap i { color: #555; font-size: 1rem; }
.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  outline: none;
}
.search-input-wrap input::placeholder { color: #444; }
.search-close-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
}
.search-close-btn:hover { color: #fff; }

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-btn, .admin-btn {
  position: relative;
  background: #111;
  color: #999;
  border: 1px solid #222;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.cart-btn:hover, .admin-btn:hover {
  background: #1a1a1a;
  color: #FF6B6B;
  border-color: rgba(255,107,107,0.5);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #FF6B6B;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* ===== SEARCH RESULTS (inside panel) ===== */
.search-results {
  margin-top: 1rem;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  max-height: 400px;
  overflow-y: auto;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: none;
}

.search-results:not(:empty) {
  display: block;
}

.search-result-item {
  display: flex;
  padding: 0.75rem;
  border-bottom: 1px solid #2a2a2a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-result-item:hover {
  background: #2a2a2a;
}

.search-result-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center top;
  border-radius: 5px;
  margin-right: 0.75rem;
  flex-shrink: 0;
  display: block;
  border: 1px solid #2a2a2a;
}

.search-result-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.search-result-cat {
  color: #888;
  font-size: 0.8rem;
}

/* ===== CAROUSEL ===== */
.carousel-section {
  position: relative;
  /* Responsive height: tall on desktop, shorter on mobile */
  height: clamp(300px, 88vh, 95vh);
  min-height: 300px;
  margin-bottom: 0;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Each slide: stacking context */
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* The actual image/video — fills slide via absolute positioning */
.slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Top-center: keeps subjects visible on all screen sizes */
  object-position: center top;
  display: block;
  transform: scale(1.06);
  transition: transform 9s ease;
}

.carousel-slide.active .slide-media {
  transform: scale(1.0);
}

/* Gradient overlay — separate div so image stays crisp */
.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.90) 0%,
    rgba(0,0,0,0.52) 35%,
    rgba(0,0,0,0.18) 65%,
    rgba(0,0,0,0.05) 100%
  );
}

/* Text layer — above overlay */
.slide-info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  color: #fff;
  padding: 0 2rem 5.5rem;
}

/* Subtitle/category label with decorative lines */
.slide-category {
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #FF6B6B;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.slide-category::before,
.slide-category::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1.5px;
  background: rgba(255,107,107,0.7);
  flex-shrink: 0;
}

/* Big title */
.slide-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: 3px;
  margin-bottom: 1.8rem;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0,0,0,0.6);
}

/* CTA button */
.slide-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #FF6B6B;
  color: #fff;
  border: none;
  padding: 1rem 2.8rem 1rem 2.2rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  overflow: hidden;
  transition: padding 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease;
  box-shadow: 0 4px 24px rgba(255,107,107,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Shine sweep on hover */
.slide-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.slide-cta:hover::before {
  left: 130%;
}

/* Arrow icon inside button */
.slide-cta i {
  font-size: 0.85rem;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.slide-cta:hover {
  padding-right: 3.2rem;
  box-shadow: 0 12px 40px rgba(255,107,107,0.55), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

.slide-cta:hover i {
  transform: translateX(5px);
}

.slide-cta:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

/* Arrow buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.25s;
}

.carousel-btn:hover {
  background: #FF6B6B;
  border-color: #FF6B6B;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 1.8rem; }
.carousel-btn.next { right: 1.8rem; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 5;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.dot.active {
  background: #FF6B6B;
  width: 28px;
  border-radius: 4px;
  border-color: #FF6B6B;
  box-shadow: 0 0 8px rgba(255,107,107,0.5);
}

/* ===== CATEGORY SECTION ===== */
.category-section {
  padding: 1.75rem 2rem 2rem;
  text-align: center;
  background: #080808;
  border-bottom: 1px solid #161616;
}

.category-label {
  font-size: 0.68rem;
  letter-spacing: 4px;
  color: #333;
  margin-bottom: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

/* ---- 3 main tabs: ALL / COUNTRY / CLUB / OTHERS ---- */
.cat-tabs {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.cat-tab {
  background: #0f0f0f;
  border: 1px solid #1e1e1e;
  color: #555;
  padding: 0.5rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.cat-tab:hover {
  border-color: rgba(255,107,107,0.4);
  color: #FF6B6B;
  background: rgba(255,107,107,0.04);
}

.cat-tab.active {
  background: #FF6B6B;
  color: #fff;
  border-color: #FF6B6B;
  box-shadow: 0 0 16px rgba(255,107,107,0.3);
}

/* ---- sub-category pill row ---- */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  min-height: 36px;
  transition: opacity 0.2s;
}

.cat-empty {
  color: #333;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 0.4rem 0;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

.cat-btn {
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  color: #666;
  padding: 0.5rem 1.4rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.cat-btn:hover {
  border-color: rgba(255,107,107,0.4);
  color: #FF6B6B;
}

.cat-btn.active {
  background: #FF6B6B;
  color: white;
  border-color: #FF6B6B;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: 3rem 2rem 4rem;
  max-width: 1440px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #161616;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #FF6B6B;
}

.section-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 3px;
  color: #fff;
}

.section-header span {
  font-size: 0.72rem;
  color: #333;
  font-weight: 700;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem 1.25rem;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  cursor: pointer;
  transition: transform 0.35s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-7px);
}

/* Image wrapper — 3:4 portrait ratio */
.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  background: #0d0d0d;
  border: 1px solid #161616;
  min-height: 160px;
}

/* Fallback for old browsers */
@supports not (aspect-ratio: 3/4) {
  .product-img-wrap::before {
    content: '';
    display: block;
    padding-top: 133.33%;
  }
}

/* Image fills wrapper, zoom on hover */
.product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

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

/* Badge — top left */
.product-badge-tag {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 3;
  background: #FF6B6B;
  color: #fff;
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Overlay — bottom gradient + VIEW button slides up */
.product-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

/* VIEW button */
.overlay-btn {
  background: #fff;
  color: #111;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
}

.product-card:hover .overlay-btn {
  transform: translateY(0);
  opacity: 1;
}

.overlay-btn:hover {
  background: #FF6B6B;
  color: #fff;
}

/* Info below card */
.product-info {
  padding: 0.85rem 0.15rem 0.4rem;
}

.product-name-small {
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 500;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #999;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  color: #FF6B6B;
  letter-spacing: 1.5px;
}

/* ===== MODALS ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 400;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 1rem;
}

.modal-content {
  background: #111;
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  border: 1px solid #1e1e1e;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(20,20,20,0.85);
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  color: #888;
  z-index: 10;
  line-height: 1;
}

.close-btn:hover {
  color: #FF6B6B;
  border-color: #FF6B6B;
}

/* ===== PRODUCT MODAL ===== */
.product-modal {
  max-width: 900px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.product-detail-left {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.main-image-container {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #141414;
  margin-bottom: 1rem;
}

/* Ensure image always fills container */
.main-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #141414;
  transition: opacity 0.25s ease;
  vertical-align: top;
}

.image-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.75rem;
  pointer-events: none;
}

.img-nav-btn {
  pointer-events: all;
}

.img-nav-btn {
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.img-nav-btn:hover {
  background: rgba(255,107,107,0.8);
}

/* ===== PRODUCT MODAL CLOSE BUTTON ===== */
.product-close-btn {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #666;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.product-close-btn:hover {
  background: #FF6B6B;
  border-color: #FF6B6B;
  color: #fff;
}

/* ===== MODAL THUMBNAIL STRIP ===== */
.modal-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.modal-thumb {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #2a2a2a;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-thumb:hover {
  border-color: #888;
}

.modal-thumb.active {
  border-color: #FF6B6B;
  box-shadow: 0 0 0 1px #FF6B6B;
}

.product-detail-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-detail-header {
  margin-bottom: 1.5rem;
}

.detail-category {
  display: inline-block;
  background: #141414;
  padding: 0.28rem 0.8rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  color: #666;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.detail-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  margin: 0.5rem 0;
  letter-spacing: 1px;
  color: #fff;
}

.detail-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: #FF6B6B;
  letter-spacing: 2px;
}

.detail-description {
  color: #555;
  margin: 1.5rem 0;
  line-height: 1.85;
  font-size: 0.9rem;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 400;
}

.detail-section {
  margin-bottom: 1.5rem;
}

.detail-section label {
  display: block;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.size-btn {
  padding: 0.7rem 0;
  border: 1px solid #2a2a2a;
  background: #141414;
  color: #aaa;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.size-btn:hover {
  border-color: #FF6B6B;
  color: #FF6B6B;
}

.size-btn.active {
  background: #FF6B6B;
  color: white;
  border-color: #FF6B6B;
}

.qty-selector {
  display: flex;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  width: fit-content;
  overflow: hidden;
  background: #141414;
}

.qty-selector button {
  background: #1a1a1a;
  border: none;
  color: #aaa;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
}

.qty-selector button:hover {
  background: #222;
  color: #fff;
}

.qty-selector input {
  border: none;
  background: #141414;
  color: #fff;
  width: 50px;
  text-align: center;
  font-weight: bold;
}

.add-to-cart-btn {
  width: 100%;
  padding: 1rem;
  background: #FF6B6B;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 2rem;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
  background: #FF5252;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
}

.cart-sidebar {
  display: none;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 450px;
  background: #0d0d0d;
  z-index: 151;
  flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,0.8);
  border-left: 1px solid #1e1e1e;
}

@media (max-width: 600px) {
  .cart-sidebar {
    width: 100%;
  }
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #1e1e1e;
}

.cart-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 3px;
  color: #fff;
}

.cart-header button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
  transition: color 0.2s;
}

.cart-header button:hover { color: #FF6B6B; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 0.5rem;
  border-bottom: 1px solid #1a1a1a;
  align-items: center;
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  flex-shrink: 0;
  display: block;
}

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

.cart-item-name {
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  color: #ccc;
  letter-spacing: -0.01em;
}

.cart-item-size {
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  color: #444;
  font-size: 0.76rem;
  margin-top: 0.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cart-item-qty {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: #141414;
}

.cart-item-qty button {
  background: none;
  border: none;
  color: #aaa;
  width: 30px;
  cursor: pointer;
  font-weight: bold;
}

.cart-item-qty button:hover { color: #FF6B6B; }

.cart-item-qty span {
  width: 30px;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  color: #fff;
}

.cart-item-price {
  font-weight: bold;
  color: #FF6B6B;
  min-width: 80px;
  text-align: right;
}

.cart-item-delete {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-item-delete:hover {
  color: #FF6B6B;
}

.cart-footer {
  border-top: 1px solid #1e1e1e;
  padding: 1.5rem;
}

.cart-total {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  color: #fff;
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  background: #FF6B6B;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-btn:hover {
  background: #FF5252;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

/* ===== CHECKOUT MODAL ===== */
.checkout-modal {
  max-width: 600px;
}

.checkout-container h2 {
  margin-bottom: 2rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: #fff;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-section h3 {
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin-bottom: 0.5rem;
  color: #555;
  text-transform: uppercase;
}

.form-section input,
.form-section select,
.form-section textarea {
  padding: 0.85rem 1rem;
  border: 1px solid #1e1e1e;
  background: #0f0f0f;
  color: #d0d0d0;
  border-radius: 8px;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.2s ease;
}

.form-section input::placeholder,
.form-section textarea::placeholder { color: #444; }

.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus {
  outline: none;
  border-color: #FF6B6B;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.order-summary {
  background: #0d0d0d;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #1e1e1e;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: #666;
}

.summary-row.total {
  border-top: 1px solid #2a2a2a;
  padding-top: 0.75rem;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
}

.place-order-btn {
  width: 100%;
  padding: 1.2rem;
  background: #FF6B6B;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

.place-order-btn:hover {
  background: #FF5252;
  box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

.place-order-btn:disabled {
  background: #222;
  color: #555;
  cursor: not-allowed;
}

/* ===== ADMIN PANEL ===== */
.admin-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 300;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 1rem;
}

.admin-container {
  background: #0d0d0d;
  border-radius: 14px;
  border: 1px solid #1e1e1e;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.9);
}

/* ADMIN LOGIN */
.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
}

.login-box {
  background: #111;
  border: 1px solid #1e1e1e;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  position: relative;
}

.login-box h2 {
  margin-bottom: 1.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #fff;
}

.login-box input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #1e1e1e;
  background: #0f0f0f;
  color: #d0d0d0;
  border-radius: 8px;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 0.9rem;
}

.login-box input::placeholder { color: #333; }

.login-box input:focus {
  outline: none;
  border-color: #FF6B6B;
}

.login-box button {
  width: 100%;
  padding: 0.8rem;
  background: #FF6B6B;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-box button:hover {
  background: #FF5252;
}

.close-admin-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
  transition: color 0.2s;
}
.close-admin-btn:hover { color: #FF6B6B; }

/* ADMIN CONTENT */
.admin-content {
  padding: 2rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid #1e1e1e;
  padding-bottom: 1rem;
}

.admin-header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 3px;
  color: #fff;
}

.logout-btn {
  background: #FF6B6B;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: #FF5252;
}

/* STATS */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.stat-content { flex: 1; }

.stat-label {
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  color: #444;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  color: #fff;
  margin-top: 0.25rem;
}

/* TABS */
.admin-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #1e1e1e;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: #444;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tab-btn:hover { color: #888; }

.tab-btn.active {
  color: #FF6B6B;
  border-bottom-color: #FF6B6B;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* TABLES */
.add-btn {
  background: #FF6B6B;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.add-btn:hover { background: #FF5252; }

.table-responsive {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #1e1e1e;
}

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

table thead { background: #111; }

table th {
  padding: 1rem;
  text-align: left;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 700;
  color: #444;
  border-bottom: 1px solid #1a1a1a;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid #111;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  color: #bbb;
  font-size: 0.88rem;
}

table tbody tr:hover { background: #0f0f0f; }

/* ACTION BUTTONS */
.action-btn {
  background: none;
  border: 1px solid #2a2a2a;
  color: #888;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
}

.action-btn:hover { border-color: #444; color: #ccc; }

.action-btn.edit { color: #4CAF50; border-color: #4CAF50; }
.action-btn.edit:hover { background: rgba(76,175,80,0.1); }

.action-btn.delete { color: #FF6B6B; border-color: #FF6B6B; }
.action-btn.delete:hover { background: rgba(255,107,107,0.1); }

.action-btn.view { color: #2196F3; border-color: #2196F3; }
.action-btn.view:hover { background: rgba(33,150,243,0.1); }

.status-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.status-badge.pending { background: #2a2000; color: #f0a500; }
.status-badge.shipped { background: #001a2a; color: #4eb8d8; }
.status-badge.completed { background: #002a0e; color: #4CAF50; }

/* FORM MODAL */
.form-modal { max-width: 500px; }

.form-modal h2 {
  margin-bottom: 1.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #fff;
}

.form-modal input,
.form-modal select,
.form-modal textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #1e1e1e;
  background: #0f0f0f;
  color: #d0d0d0;
  border-radius: 8px;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.form-modal input::placeholder,
.form-modal textarea::placeholder { color: #333; }

.form-modal input:focus,
.form-modal select:focus,
.form-modal textarea:focus {
  outline: none;
  border-color: #FF6B6B;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-modal button {
  width: 100%;
  padding: 0.8rem;
  background: #FF6B6B;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-modal button:hover { background: #FF5252; }

/* ===== FOOTER ===== */
.footer {
  background: #080808;
  color: #444;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid #141414;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

.footer p {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #444;
}

.footer-logo {
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255,107,107,0.4));
}

.footer-links { margin: 1rem 0; }

.footer-links a {
  color: #333;
  text-decoration: none;
  margin: 0 1rem;
  transition: all 0.2s ease;
  font-size: 0.82rem;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links a:hover { color: #FF6B6B; }

.footer-copy {
  color: #2a2a2a;
  font-size: 0.78rem;
  margin-top: 1rem;
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem;
    flex-wrap: wrap;
  }
    
    .nav-logo-img {
        margin:0px 2px;
    }

  .carousel-section {
    height: clamp(320px, 65vw, 520px);
    min-height: 320px;
  }

  .slide-title { font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: 2px; }
  .slide-info { padding: 0 1.5rem 3.5rem; }
  .slide-cta { padding: 0.72rem 2rem; font-size: 0.8rem; letter-spacing: 2px; }
  .slide-category { font-size: 0.66rem; }

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

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

  .section-header h2 { font-size: 2rem; }

  /* Admin: 2-col stats */
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Admin container full screen on tablet */
  .admin-container {
    max-height: 95vh;
    border-radius: 10px;
  }

  .admin-content { padding: 1.25rem; }

  .admin-header {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .admin-header h1 { font-size: 1.4rem; }

  .admin-tabs {
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .admin-tabs::-webkit-scrollbar { display: none; }

  .tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  table th, table td {
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
  }

  .stat-card { padding: 1rem; }
  .stat-icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .stat-value { font-size: 1.4rem; }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 480px) {
  .navbar { padding: 0.6rem 0.8rem; }
  .nav-logo-img { width: 40px; height: 40px; }
  
  /* Hide GOATBD center text on mobile */
  .nav-logo-center { display: none; }

  /* Hide product modal close button on mobile */
  .product-close-btn { display: none; }

  .carousel-section {
    height: clamp(260px, 56vw, 420px);
    min-height: 260px;
  }

  .slide-title { font-size: clamp(1.5rem, 7vw, 2.4rem); letter-spacing: 2px; line-height: 1.0; }
  .slide-info { padding: 0 1rem 3rem; }
  .slide-category { font-size: 0.56rem; letter-spacing: 2.5px; gap: 0.4rem; }
  .slide-category::before, .slide-category::after { width: 14px; }
  .slide-cta { padding: 0.55rem 1.2rem; font-size: 0.68rem; letter-spacing: 1.5px; }
  .carousel-btn { width: 38px; height: 38px; font-size: 0.85rem; }
  .carousel-btn.prev { left: 0.6rem; }
  .carousel-btn.next { right: 0.6rem; }

  /* 2 products side by side on mobile */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.7rem 0.55rem;
    padding: 0 0.2rem;
  }

  .product-card .product-name-small { font-size: 0.74rem; }
  .product-card .product-price { font-size: 1rem; }

  .section-header h2 { font-size: 1.6rem; }
  .section-header { padding: 0 0.2rem; }

  /* Compact category filter buttons */
  .category-section {
    padding: 1rem 0.5rem;
  }

  .cat-tabs {
    gap: 0.35rem;
  }

  .cat-tab {
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }

  .category-filters {
    gap: 0.35rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 0.25rem;
  }

  .cat-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    border-radius: 20px;
    letter-spacing: 0;
  }

  .category-label {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .modal-content { padding: 1.2rem; border-radius: 10px; }
  .cart-sidebar { width: 100%; }

  /* Admin panel full screen on mobile */
  .admin-panel {
    padding: 0;
    align-items: flex-end;
  }

  .admin-container {
    border-radius: 16px 16px 0 0;
    max-height: 95vh;
    max-width: 100%;
    width: 100%;
  }

  .admin-content { padding: 1rem; }

  /* Stats: 2x2 grid */
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }

  .stat-card {
    padding: 0.85rem;
    gap: 0.6rem;
    border-radius: 8px;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .stat-label { font-size: 0.7rem; }
  .stat-value { font-size: 1.2rem; margin-top: 0.1rem; }

  /* Tabs scrollable */
  .admin-tabs {
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid #1e1e1e;
    margin-bottom: 1rem;
  }
  .admin-tabs::-webkit-scrollbar { display: none; }

  .tab-btn {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Admin header */
  .admin-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .admin-header h1 { font-size: 1.2rem; }

  .logout-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  /* Table: hide less important cols, compact */
  .table-responsive {
    border-radius: 6px;
  }

  table th, table td {
    padding: 0.55rem 0.4rem;
    font-size: 0.78rem;
  }

  /* Hide image col on mobile tables */
  table th:nth-child(2),
  table td:nth-child(2) {
    display: none;
  }

  .action-btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.72rem;
    margin-right: 0.3rem;
  }

  .add-btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  /* Login box */
  .login-box {
    padding: 1.5rem;
    border-radius: 10px;
  }

  .login-box h2 { font-size: 1.3rem; }

  /* Form modals */
  .form-modal { max-width: 100%; }

  .form-modal input,
  .form-modal select,
  .form-modal textarea {
    padding: 0.7rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .status-badge {
    padding: 0.3rem 0.55rem;
    font-size: 0.7rem;
  }
}

/* ===== MATCH CARDS ===== */
.match-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}
.match-card.match-live {
    border-color: #e74c3c;
    box-shadow: 0 0 12px rgba(231,76,60,0.25);
}
.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.match-competition { color: #888; font-size: 13px; }
.badge-live     { color: #e74c3c; font-weight: bold; font-size: 13px; }
.badge-finished { color: #888;    font-size: 13px; }
.badge-upcoming { color: #27ae60; font-size: 13px; }
.match-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.team { display: flex; align-items: center; gap: 8px; flex: 1; }
.home-team { justify-content: flex-end; }
.away-team { justify-content: flex-start; }
.team-logo { width: 36px; height: 36px; object-fit: contain; }
.team-name  { color: #fff; font-weight: 600; font-size: 15px; text-align: center; }
.match-score {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #111;
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 90px;
    justify-content: center;
}
.score-num  { color: #fff; font-size: 22px; font-weight: bold; }
.score-sep  { color: #555; font-size: 18px; }
.live-min   { color: #e74c3c; font-size: 11px; margin-left: 4px; }
.match-time-display { color: #27ae60; font-size: 18px; font-weight: bold; min-width: 70px; text-align: center; }
.match-venue { color: #666; font-size: 12px; margin-top: 10px; text-align: center; }
/* ===== GLOBAL IMAGE FIX — every image on the site ===== */

/* Admin table thumbnail images */
table td img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  display: block;
}

/* Admin uploaded-image preview grid */
.images-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.uploaded-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
}

.uploaded-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Category image preview in admin form */
#catImagePreview img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  display: block;
}

/* Nav logo */
.nav-logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .nav-logo-img {
    width: 36px !important;
    height: 36px !important;
  }
}

/* Footer logo */
.footer-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 8px rgba(255,107,107,0.4));
}

/* Match team logos */
.team-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Carousel slide admin list preview images */
.carousel-slide-preview-img {
  width: 80px;
  height: 52px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  display: block;
  border: 1px solid #2a2a2a;
}

/* ===== MATCH TEAM LOGOS — white circle background ===== */
.mob-team-logo {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  background: #ffffff !important;
  padding: 8px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.7) !important;
  display: inline-block !important;
  border: none !important;
}

.nav-team-logo {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  background: #ffffff !important;
  padding: 4px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
  display: inline-block !important;
  border: none !important;
}