/* ==========================================================================
   RBA ENTERPRISES & SPORTSWEAR — RETAIL SHOP DESIGN SYSTEM
   Dark Luxury Navy & Gold Edition (Matching rbasportswear.com)
   ========================================================================== */

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

:root {
  /* Brand Theme from rbasportswear.com */
  --bg: #0d1e2d;
  --bg-card: #163552;
  --bg-card-hover: #1c425d;
  --panel: #113d5b;
  --panel-alt: #163552;
  --border: rgba(201, 162, 39, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --gold: #c9a227;
  --gold-light: #e8c874;
  --gold-glow: rgba(201, 162, 39, 0.35);
  
  --text-main: #f8fafc;
  --text-muted: #e2d9bc;
  --text-dim: #94a3b8;
  --accent-neon: #10b981;
  --accent-danger: #ef4444;
  --accent-whatsapp: #25d366;

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Jost', Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* ---------- MARQUEE BAR ---------- */
.shop-marquee {
  background: #08121c;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  padding: 8px 0;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-weight: 600;
}

.shop-marquee span {
  color: var(--gold-light);
  font-weight: 700;
}

/* ---------- NAVIGATION ---------- */
nav.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  background: #163552;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo,
nav h2.logo,
nav h2.logo a,
nav .logo,
nav .logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--gold-light, #e8c874) !important;
  font-weight: 700;
  text-decoration: none;
}

.nav-logo-badge {
  background: var(--gold);
  color: #0b0b0c;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

nav ul.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav a.nav-item {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.25s ease;
}

nav a.nav-item:hover, nav a.nav-item.active {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-cart-nav {
  background: var(--gold);
  color: #0b0b0c;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-cart-nav:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.cart-count-pill {
  background: #0b0b0c;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- HERO / COVER HEADER ---------- */
.shop-hero {
  padding: 60px 40px 40px;
  text-align: center;
  background: linear-gradient(180deg, #163552 0%, #113d5b 60%, #0d1e2d 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.shop-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: #ffffff;
  margin-bottom: 12px;
  font-style: italic;
}

.shop-hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.shop-hero p {
  color: var(--text-muted);
  font-size: 15px;
  letter-spacing: 1px;
  max-width: 650px;
  margin: 0 auto 24px;
  text-transform: uppercase;
}

.shop-pills-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-feature-pill {
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ---------- RETAIL DEPARTMENT TABS ---------- */
.shop-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  width: 100%;
}

.department-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.dept-tab {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dept-tab:hover, .dept-tab.active {
  background: var(--gold);
  color: #0b0b0c;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- HOODIES PRODUCT GRID ---------- */
.section-headline {
  text-align: center;
  margin-bottom: 36px;
}

.section-headline h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-headline h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.section-headline p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 6px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.product-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 8px;
  overflow: hidden;
  background: #0d1e2d;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
}

/* Force 100% fill and override any inherited 250px height from style.css */
.product-card-img-wrap img,
.product-card-img-wrap .product-card-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  display: block !important;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card-img-wrap .product-card-img.front-view {
  z-index: 1;
  opacity: 1;
}

.product-card-img-wrap .product-card-img.back-view {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

/* Flip front/back view via class or desktop hover */
.product-card-img-wrap.show-back .product-card-img.front-view {
  opacity: 0 !important;
}

.product-card-img-wrap.show-back .product-card-img.back-view {
  opacity: 1 !important;
  transform: scale(1.03) !important;
}

@media (hover: hover) {
  .product-card-img-wrap:hover:not(.show-back) .product-card-img.front-view {
    opacity: 0 !important;
  }
  .product-card-img-wrap:hover:not(.show-back) .product-card-img.back-view {
    opacity: 1 !important;
    transform: scale(1.03) !important;
  }
}

/* Sleek tap/swipe indicator dots on product card */
.card-dots-wrap {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 5;
  cursor: pointer;
  padding: 6px 12px;
  background: rgba(8, 18, 28, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.card-dots-wrap:hover {
  background: rgba(8, 18, 28, 0.9);
  border-color: var(--gold);
}

.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.card-dot.active {
  background: var(--gold, #c89d3c);
  width: 18px;
  border-radius: 4px;
}

.product-badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11, 11, 12, 0.85);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-transform: uppercase;
}

.product-stock-top {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-neon);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Rating Pill */
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fbbf24;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Color Swatches Overlay on Card */
.card-color-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 18, 28, 0.85);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  border: 1px solid var(--border-subtle);
  gap: 12px;
}

.card-color-picker span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.swatches-list {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.swatch-btn {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  cursor: pointer;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  aspect-ratio: 1 / 1 !important;
  outline: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.swatch-btn:hover, .swatch-btn.active {
  transform: scale(1.2);
  border-color: var(--gold) !important;
  box-shadow: 0 0 8px var(--gold-glow);
}

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 6px;
  cursor: pointer;
}

.product-card h3:hover {
  color: var(--gold-light);
}

.product-spec-line {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  gap: 8px;
  flex-wrap: wrap;
}

.price-tag {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold-light);
  font-family: var(--font-sans);
}

.price-tag del {
  font-size: 14px;
  color: var(--text-dim);
  margin-left: 6px;
  font-weight: normal;
}

.card-action-btns {
  display: flex;
  gap: 8px;
}

.btn-buy-card {
  background: var(--gold);
  color: #0b0b0c;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-buy-card:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-card-wa {
  background: var(--accent-whatsapp);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-card-wa:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

/* ---------- PRODUCT QUICK VIEW & SIZE GUIDE MODAL ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: var(--accent-danger);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
}

/* Quick View Image Slider with Arrows & Swipe */
.modal-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-img-box {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: #0d1e2d;
  user-select: none;
  touch-action: pan-y;
  cursor: grab;
}

.modal-img-box:active {
  cursor: grabbing;
}

.modal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Elegant Circular Nav Arrows (< and >) */
.modal-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(8, 18, 28, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.modal-gallery-arrow:hover {
  background: var(--gold);
  color: #0b0b0c;
  border-color: var(--gold-light);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 16px var(--gold-glow);
}

.modal-gallery-arrow.prev {
  left: 12px;
}

.modal-gallery-arrow.next {
  right: 12px;
}

/* Minimal Counter Pill */
.modal-gallery-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(8, 18, 28, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  z-index: 8;
  pointer-events: none;
}

/* Clean Photo Thumbnails (No Wordings) */
.modal-gallery-thumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.modal-mini-thumb {
  width: 60px;
  height: 66px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: #000;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: all 0.22s ease;
  opacity: 0.55;
}

.modal-mini-thumb:hover {
  opacity: 1;
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.modal-mini-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
  transform: scale(1.06);
}

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

/* Dot Indicators */
.modal-gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.gallery-dot.active {
  width: 24px;
  border-radius: 12px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
}

.modal-info h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.size-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.btn-size-chart-link {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.size-picker-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.size-btn {
  min-width: 44px;
  height: 42px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-btn:hover, .size-btn.active {
  background: var(--gold);
  color: #0b0b0c;
  border-color: var(--gold);
}

/* Delivery Pincode Box */
.delivery-check-box {
  background: rgba(8, 18, 28, 0.8);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.delivery-input-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.delivery-input {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  width: 140px;
}

/* Size Chart Table */
.size-chart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
}

.size-chart-table th {
  background: var(--bg);
  color: var(--gold-light);
  padding: 10px;
  border: 1px solid var(--border);
}

.size-chart-table td {
  padding: 10px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* ---------- CART DRAWER ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border-left: 1px solid var(--border);
  z-index: 401;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-overlay.open .cart-drawer {
  transform: translateX(0);
}

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

.cart-header h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold-light);
}

.cart-items-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-footer-box {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: #0a1824;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.btn-whatsapp-order {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  padding: 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  transition: all 0.25s ease;
}

.btn-whatsapp-order:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

/* ---------- ADMIN LOCK & PORTAL ---------- */
.admin-lock-screen {
  position: fixed;
  inset: 0;
  background: rgba(13, 30, 45, 0.98);
  backdrop-filter: blur(16px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-lock-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.passcode-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  letter-spacing: 3px;
  margin: 16px 0;
  outline: none;
}

/* Quick Stock Stepper Buttons */
.stock-stepper-btn {
  background: var(--panel);
  border: 1px solid var(--border);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

/* ---------- FOOTER (MATCHING rbasportswear.com) ---------- */
.shop-footer {
  background: #000000;
  color: var(--text-muted);
  padding: 50px 40px 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-inner h3 {
  color: var(--gold-light);
  font-size: 18px;
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.footer-bottom-bar {
  text-align: center;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  margin-top: 30px;
  padding-top: 16px;
  font-size: 12px;
  letter-spacing: 1px;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #112d46;
  border: 1px solid var(--gold);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 600;
}

/* Low Stock Badge */
.product-stock-top.low-stock {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.6) !important;
  animation: pulseLowStock 2s infinite ease-in-out;
}

@keyframes pulseLowStock {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Order Status Badges */
.status-pill {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.status-dispatched {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.status-delivered {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

/* ---------- LIVE SEARCH BAR ---------- */
.search-bar-wrap {
  max-width: 480px;
  margin: 0 auto 28px;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.search-bar-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}

.search-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  outline: none;
  padding: 8px 10px;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-icon-btn {
  background: var(--gold) !important;
  color: #0b0b0c !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  border-radius: 50% !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(200, 157, 60, 0.35);
  transition: all 0.2s ease;
}

.search-icon-btn:hover {
  background: var(--gold-light) !important;
  transform: scale(1.08);
}

.search-icon-btn svg {
  display: block;
  stroke: #0b0b0c;
}

/* ---------- CUSTOMER SHIPPING FORM IN CART ---------- */
.cart-customer-form {
  background: rgba(8, 18, 28, 0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-customer-form h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.cart-customer-form input,
.cart-customer-form textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  padding: 8px 10px;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  outline: none;
  font-family: inherit;
}

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

/* ---------- MOBILE STICKY CART BAR ---------- */
.mobile-sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #112d46;
  border-top: 1px solid var(--gold);
  padding: 12px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 250;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-sticky-cart-bar.visible {
    display: flex;
  }
}

/* Buttons */
.btn-secondary {
  background: #000000 !important;
  color: #e8c874 !important;
  border: 1px solid #c9a227 !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: #161616 !important;
  color: #ffffff !important;
  border-color: #e8c874 !important;
  transform: translateY(-2px);
}

/* ---------- RESPONSIVE & MOBILE PHONE OPTIMIZATION ---------- */
@media (max-width: 768px) {
  nav {
    padding: 12px 14px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: space-between !important;
  }

  nav ul {
    gap: 10px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
  }

  nav ul li a {
    font-size: 11px !important;
    padding: 4px 6px !important;
  }

  .shop-hero {
    padding: 32px 16px 24px !important;
  }

  .shop-hero h1 {
    font-size: 24px !important;
  }

  .shop-hero p {
    font-size: 13px !important;
  }

  .shop-pills-row {
    gap: 6px !important;
  }

  .hero-feature-pill {
    font-size: 10px !important;
    padding: 4px 10px !important;
  }

  .shop-container {
    padding: 20px 12px 90px !important;
  }

  .department-tabs {
    gap: 8px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
  }

  .dept-tab {
    padding: 8px 14px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)) !important;
    gap: 12px !important;
  }

  .product-card {
    padding: 12px !important;
    border-radius: 8px !important;
  }

  .product-card h3 {
    font-size: 15px !important;
  }

  .product-spec-line {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }

  .price-tag {
    font-size: 17px !important;
  }

  .card-action-btns {
    width: 100% !important;
    margin-top: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .btn-card-wa, .btn-buy-card {
    width: 100% !important;
    justify-content: center !important;
    padding: 8px !important;
    font-size: 11px !important;
  }

  .modal-card {
    padding: 20px 14px !important;
    max-height: 94vh !important;
  }

  .modal-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .cart-drawer {
    max-width: 100% !important;
  }
}
