/* =====================
   TYPOGRAPHY & BASE
===================== */
html, body { 
  background: #000; 
  color: #fff; 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

img { 
  max-width: 100%; 
  height: auto;
  background: linear-gradient(90deg, #1f1f1f 25%, #333 50%, #1f1f1f 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

img[src] {
  animation: none;
  background: none;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* =====================
   LAYOUT
===================== */
.container { 
  width: min(1100px, 92vw); 
  margin-inline: auto; 
}

.section { 
  padding: 3rem 0; 
  background: transparent; 
}

.section__title { 
  text-align: center; 
  margin-bottom: 1rem;
  color: #fff;
}

.section__lead { 
  font-size: 1.125rem; 
  color: #ccc; 
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.section__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* =====================
   NAVIGATION
===================== */
.logo-wrapper {
  text-align: center;
  margin-bottom: 1rem;
}

.logo-img {
  max-height: 60px;
  width: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-bottom: 1px solid #1f1f1f;
}

.nav-item, .nav-cart {
  position: relative;
  color: #f5d742;
  text-decoration: none;
  padding: 0.5rem 0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-item:hover, .nav-cart:hover {
  color: #fff;
  text-shadow: 0 0 10px #f5d742;
}

.nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #f5d742;
  transition: width 0.4s ease-in-out;
  opacity: 0;
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
  opacity: 1;
}

.nav-cart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-badge {
  background: #f5d742;
  color: #000;
  border-radius: 50%;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: bold;
  min-width: 1.2rem;
  text-align: center;
  transition: all 0.2s ease;
}

.nav-cart:hover .cart-badge {
  background: #fff;
  transform: scale(1.1);
}

/* =====================
   HERO SECTION
===================== */
.hero { 
  background: #000; 
}

.hero__inner {
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 1.2rem; 
  align-items: center;
}

.hero__media img {
  width: 100%;
  height: clamp(220px, 45vw, 520px);
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.hero .brand { 
  font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem); 
  margin: 0 0 0.35rem; 
}

.hero .tagline { 
  font-size: clamp(1rem, 1.1vw + 0.6rem, 1.25rem); 
  color: #ddd; 
}

.cta-row { 
  display: flex; 
  gap: 0.6rem; 
  flex-wrap: wrap; 
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1.2fr;
  }
  .hero__media { order: 2; }
  .hero__copy { order: 1; }
}

/* =====================
   PAGE HERO
===================== */
.page-hero {
  background: linear-gradient(135deg, #111 0%, #000 100%);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid #1f1f1f;
}

.page-title {
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #f5d742 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  color: #ccc;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =====================
   BUTTONS
===================== */
.btn {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn--gold {
  background: linear-gradient(135deg, #f5d742 0%, #e6c533 100%);
  color: #111;
  box-shadow: 0 4px 12px rgba(245, 215, 66, 0.3);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 215, 66, 0.4);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #333;
}

.btn--ghost:hover {
  background: #1f1f1f;
  border-color: #f5d742;
  color: #f5d742;
}

.btn--full {
  width: 100%;
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  transform: translate(-50%, -50%);
  animation: spin 0.8s linear infinite;
}

.btn--gold.loading::after {
  border-color: #111;
  border-top-color: transparent;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =====================
   CARDS & GRIDS
===================== */
.grid {
  display: grid; 
  gap: 1rem; 
  grid-template-columns: 1fr;
}

.vsop-grid { 
  grid-template-columns: 1fr;
}

@media (min-width: 700px) { 
  .vsop-grid { 
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
  } 
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.card, .product-card {
  background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  padding: 1rem;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover, .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: #333;
}

.card__media, .product-card .thumb {
  position: relative;
  overflow: hidden;
}

.card img, .product-card img,
.card__media img, .product-card .thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover img, .product-card:hover img,
.card:hover .card__media img, .product-card:hover .thumb img {
  transform: scale(1.02);
}

.card__content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card h3, .product-card h3,
.card__content h3 {
  margin: 0.25rem 0.15rem 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.card__description {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  flex: 1;
}

.card .price, .product-card .price,
.card__content .price {
  color: #f5d742;
  font-weight: 800;
  font-size: 1.125rem;
  margin: 0.15rem 0.15rem 0;
}

.card__actions {
  padding: 0 1rem 1rem;
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

.product-card .meta {
  padding: 0 1rem 1rem;
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  margin-top: auto;
}

.btn--primary {
  order: 1;
}

.btn--secondary {
  order: 2;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
}

@media (min-width: 768px) {
  .card__actions {
    flex-direction: row;
  }
  
  .btn--primary {
    flex: 2;
  }
  
  .btn--secondary {
    flex: 1;
  }
}

/* =====================
   BADGES
===================== */
.badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.badge--available {
  background: rgba(34, 197, 94, 0.9);
  color: white;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge--low-stock {
  background: rgba(245, 158, 11, 0.9);
  color: white;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge--sold-out {
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge--preorder {
  background: rgba(99, 102, 241, 0.9);
  color: white;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.status-badge--warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* =====================
   SHOP FILTERS
===================== */
.shop-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #111;
  border-radius: 12px;
  border: 1px solid #1f1f1f;
}

.chip {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid #333;
  border-radius: 20px;
  color: #ccc;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: #f5d742;
  color: #f5d742;
}

.chip.is-active {
  background: #f5d742;
  color: #111;
  border-color: #f5d742;
  font-weight: 600;
}

/* =====================
   CART STYLING
===================== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.cart-table th,
.cart-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #1f1f1f;
}

.cart-table th {
  background: #1f1f1f;
  font-weight: 600;
  color: #f5d742;
}

.cart-table img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 0.75rem;
  vertical-align: middle;
}

.cart-summary {
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 400px;
  margin-left: auto;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #1f1f1f;
}

.summary-line:last-child {
  border-bottom: none;
}

.summary-line--total {
  font-weight: 700;
  font-size: 1.125rem;
  color: #f5d742;
  padding-top: 1rem;
  border-top: 2px solid #1f1f1f;
}

/* =====================
   FORMS
===================== */
.product-form {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}

.form-select,
.form-input {
  padding: 0.75rem;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-select:focus,
.form-input:focus {
  border-color: #f5d742;
  background: #2a2a2a;
}

.form-error {
  color: #ff6b6b;
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}

.form-error[style*="block"] {
  display: block;
  margin-top: 0.25rem;
}

.product-form__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =====================
   PRESS STRIP
===================== */
.press__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.press__label {
  opacity: 0.85;
}

.press__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.press__logos li {
  display: flex;
}

.press__logos li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.press__logos img {
  height: 24px;
  width: auto;
  display: block;
}

/* =====================
   FOOTER
===================== */
.site-footer {
  background: #111;
  border-top: 1px solid #1f1f1f;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__left {
  flex: 1;
}

.footer__left p {
  margin: 0.5rem 0;
  color: #ccc;
  font-size: 0.9rem;
}

.footer__left a {
  color: #f5d742;
  text-decoration: none;
}

.footer__left a:hover {
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.socials li {
  display: flex;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #1f1f1f;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.socials a:hover {
  background: #f5d742;
  transform: translateY(-2px);
}

.socials img {
  width: 20px;
  height: 20px;
  filter: brightness(0.8);
}

.socials a:hover img {
  filter: brightness(0.2);
}

/* =====================
   CONNECT PAGE
===================== */
.connect-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .connect-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.connect-info,
.connect-qr {
  background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  padding: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-card {
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.contact-card:hover {
  border-color: #f5d742;
  transform: translateY(-2px);
}

.contact-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5d742;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-link {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #f5d742;
}

.contact-label {
  font-size: 0.85rem;
  color: #ccc;
  opacity: 0.8;
}

.social-section {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
}

.social-section h3 {
  margin-bottom: 1rem;
  color: #fff;
}

.connect-qr {
  text-align: center;
}

.qr-container {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}

.qr-image {
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  object-fit: contain;
}

/* =====================
   TOAST NOTIFICATIONS
===================== */
.addtoast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 9999;
}

.addtoast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.addtoast img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

.addtoast__txt {
  flex: 1;
  line-height: 1.3;
}

.addtoast__txt strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.addtoast__close {
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 1.2rem;
  cursor: pointer;
}

.addtoast__close:hover {
  color: #fff;
}

/* =====================
   UTILITIES
===================== */
.muted {
  color: #d1d6dd;
  opacity: 0.9;
}

.right {
  text-align: right;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #ccc;
}

.empty-state h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.empty-state p {
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.security-notice {
  text-align: center;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  color: #22c55e;
  font-size: 0.875rem;
  margin-top: 2rem;
}

/* =====================
   FOCUS STATES
===================== */
*:focus {
  outline: 2px solid #f5d742;
  outline-offset: 2px;
}

.btn:focus,
.nav-item:focus,
.nav-cart:focus {
  outline: 2px solid #f5d742;
  outline-offset: 4px;
}

/* =====================
   RESPONSIVE DESIGN
===================== */
@media (max-width: 768px) {
  .main-nav {
    gap: 1rem;
  }
  
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  
  .hero__inner {
    gap: 2rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .cart-table {
    font-size: 0.875rem;
  }
  
  .cart-table img {
    width: 48px;
    height: 48px;
  }
  
  .product-form__actions {
    flex-direction: column;
  }
  
  .shop-filters {
    padding: 0.75rem;
  }
  
  .chip {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .connect-info,
  .connect-qr {
    padding: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .contact-card {
    padding: 1rem;
  }
  
  .qr-image {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .main-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cart-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .card, .product-card {
    border-radius: 12px;
  }
  
  .card__media img, .product-card .thumb img {
    height: 200px;
  }
}
/* =====================
   FESTIVAL BANNERS
===================== */
.sb-banner {
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  color: #fff;
  text-align: center;
  padding: .85rem 1rem;
  margin: 0 0 1rem 0;
  font-weight: 700;
  letter-spacing: .2px;
}
.sb-banner a { color: #f5d742; text-decoration: none; }
.sb-banner a:hover { text-decoration: underline; }

.sb-banner--live {
  box-shadow: 0 0 0 2px rgba(245,215,66,.12) inset;
}
.sb-banner--thanks {
  box-shadow: 0 0 0 2px rgba(0, 206, 140, .18) inset;
}
/* Holiday */
.sb-banner--holiday {
  background: linear-gradient(135deg, #900 0%, #d33 100%);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .15) inset;
}

/* Exclusive Drop */
.sb-banner--drop {
  background: linear-gradient(135deg, #111 0%, #222 100%);
  color: #f5d742;
  box-shadow: 0 0 0 2px rgba(245, 215, 66, .25) inset;
}

/* Sale */
.sb-banner--sale {
  background: linear-gradient(135deg, #084 0%, #0b5 100%);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .2) inset;
}
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.quick-link {
  display: block;
  padding: 1rem;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #fff;
}

.quick-link:hover {
  border-color: #f5d742;
  background: #2a2a2a;
}

.quick-link__title {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #f5d742;
}

.quick-link__desc {
  display: block;
  font-size: 0.9rem;
  color: #ccc;
}
