/* ─── SHOP PAGE BASE ──────────────────────────────────────────── */
.shop-page {
  background: #06000a;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Active nav link */
.nav-active {
  color: var(--white) !important;
  border-bottom: 2px solid #e8102e;
  padding-bottom: 2px;
}

/* ─── SHOP HERO ───────────────────────────────────────────────── */
.shop-hero {
  position: relative;
  padding: 160px 54px 80px;
  text-align: center;
  overflow: hidden;
}

.shop-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(232,16,46,0.12) 0%, transparent 70%),
    linear-gradient(180deg, #0d0010 0%, #06000a 100%);
  z-index: 0;
}

.shop-hero-content {
  position: relative;
  z-index: 1;
}

.shop-hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.92;
  letter-spacing: 2px;
  color: var(--white);
  margin: 16px 0 20px;
}

.shop-hero-sub {
  font-size: 15px;
  color: var(--white-40);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ─── SHOP MAIN ───────────────────────────────────────────────── */
.shop-main {
  padding: 0 54px 100px;
}

.shop-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── FILTER BAR ──────────────────────────────────────────────── */
.shop-filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white-70);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 9px 22px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.filter-btn.active {
  background: #e8102e;
  border-color: #e8102e;
  color: var(--white);
  box-shadow: 0 0 20px rgba(232,16,46,0.3);
}

/* ─── LOADING ─────────────────────────────────────────────────── */
.shop-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 0;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
}
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: #e8102e;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── PRODUCT GRID ────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ─── PRODUCT CARD ────────────────────────────────────────────── */
.product-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

.product-card.hidden { display: none; }

/* Photo */
.product-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #100018;
  overflow: hidden;
}

.product-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

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

.product-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a0028 0%, #0a0012 100%);
}

/* Badge */
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #e8102e;
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 3px;
}

.product-badge.sold-out {
  background: rgba(255,255,255,0.15);
  color: var(--white-70);
}

/* Info */
.product-info {
  padding: 20px 22px 22px;
}

.product-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--white-40);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Sizes */
.product-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.size {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white-70);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.size:hover {
  border-color: var(--white);
  color: var(--white);
}

.size.selected {
  background: var(--white);
  color: #06000a;
  border-color: var(--white);
}

.size.out {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Footer row */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--white);
}

.btn-add-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e8102e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-add-cart:hover {
  background: #ff1a3a;
  box-shadow: 0 0 20px rgba(232,16,46,0.4);
  transform: translateY(-1px);
}

.btn-add-cart:active { transform: translateY(0); }

.btn-add-cart.disabled {
  background: rgba(255,255,255,0.1);
  color: var(--white-40);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ─── CART TOAST ──────────────────────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 22px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.cart-toast-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4caf50;
  flex-shrink: 0;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.shop-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 54px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-note {
  font-size: 12px;
  color: var(--white-40);
  font-weight: 500;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

/* ─── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .shop-hero {
    padding: 100px 22px 50px;
  }
  .shop-main {
    padding: 0 16px 60px;
  }
  .shop-filter-bar {
    gap: 8px;
    margin-bottom: 28px;
  }
  .filter-btn {
    font-size: 11px;
    padding: 8px 16px;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .shop-footer {
    padding: 28px 20px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
