/* ═══════════════════════════════════════════════════════
   YourMineMuneca — Store Styles
   Sacred. Neon. Yours.
   ═══════════════════════════════════════════════════════ */

:root {
  --neon-pink: #ff2d95;
  --neon-purple: #b44aff;
  --neon-blue: #00d4ff;
  --gold: #d4a853;
  --deep-black: #0a0a0f;
  --soft-white: #f0e6ff;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --card-hover: rgba(255, 255, 255, 0.06);
  --text-muted: rgba(240, 230, 255, 0.45);
  --text-dim: rgba(240, 230, 255, 0.3);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--deep-black);
  color: var(--soft-white);
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* Neon glow background */
.bg-glow {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.bg-glow::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse, rgba(180, 74, 255, 0.10) 0%, transparent 70%);
  animation: floatGlow 12s ease-in-out infinite;
}
.bg-glow::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 50%; height: 50%;
  background: radial-gradient(ellipse, rgba(255, 45, 149, 0.08) 0%, transparent 70%);
  animation: floatGlow 15s ease-in-out infinite reverse;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

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

/* ─── NAVIGATION ─────────────────────────────────────── */

nav {
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.3s ease;
}
.logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--soft-white);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--neon-pink), transparent);
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--neon-pink);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--soft-white);
  transition: all 0.3s ease;
}

/* ─── SECTION LABELS ─────────────────────────────────── */

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--neon-purple);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--soft-white);
}

/* ─── SHOP HERO ──────────────────────────────────────── */

.shop-hero {
  padding: 80px 48px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-hero-inner {
  max-width: 700px;
}

.shop-tagline {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 16px;
}

/* ─── COLLECTION FILTERS ─────────────────────────────── */

.collection-filters {
  padding: 0 48px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.filters-inner {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 10px 24px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--glass-bg);
  transition: all 0.3s ease;
  cursor: pointer;
}
.filter-chip:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--soft-white);
  background: var(--card-hover);
}
.filter-chip.active {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  background: rgba(255, 45, 149, 0.08);
}

/* ─── PRODUCT GRID ───────────────────────────────────── */

.product-grid-section {
  padding: 0 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  display: block;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(180, 74, 255, 0.08);
}

.product-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-icon {
  font-size: 4rem;
  opacity: 0.3;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  transition: all 0.5s ease;
}
.product-card:hover .product-icon {
  opacity: 0.5;
  transform: scale(1.1);
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

.sale-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--neon-pink);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.product-info {
  padding: 20px 24px 24px;
}

.product-collection {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-purple);
  font-weight: 500;
}

.product-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 8px 0 6px;
  color: var(--soft-white);
  letter-spacing: 0.01em;
}

.product-short-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 12px;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.compare-price {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-decoration: line-through;
  font-weight: 300;
}

/* ─── PRODUCT DETAIL ─────────────────────────────────── */

.product-detail {
  padding: 60px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.product-detail-image {
  aspect-ratio: 1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 120px;
}

.product-detail-icon {
  font-size: 8rem;
  opacity: 0.25;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
}

.product-detail-collection {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon-purple);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}
.product-detail-collection:hover { color: var(--neon-pink); }

.product-detail-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.product-detail-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.product-detail-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.product-detail-compare {
  font-size: 1.1rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.product-detail-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240, 230, 255, 0.6);
  font-weight: 300;
  margin-bottom: 32px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 45, 149, 0.3);
}
.add-to-cart-btn:active {
  transform: translateY(0);
}
.add-to-cart-btn.added {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Buy Now + Add to Cart row */
.product-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buy-now-btn {
  display: block;
  width: 100%;
  padding: 16px 32px;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.buy-now-btn:hover {
  background: var(--gold);
  color: var(--deep-black);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.25);
  transform: translateY(-2px);
}

.product-detail-meta {
  margin-top: 32px;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meta-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

.meta-value {
  font-size: 0.85rem;
  font-weight: 500;
}

/* ─── RELATED PRODUCTS ───────────────────────────────── */

.related-section {
  padding: 60px 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--glass-border);
}

.related-inner { padding-top: 20px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

/* ─── CART ────────────────────────────────────────────── */

.cart-page {
  padding: 60px 48px 100px;
  max-width: 900px;
  margin: 0 auto;
}

.cart-inner { margin-top: 40px; }

.cart-empty {
  text-align: center;
  padding: 80px 24px;
}

.cart-empty-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 20px;
  opacity: 0.2;
}

.cart-empty p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.shop-now-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.shop-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 45, 149, 0.3);
}

.cart-items { }

.cart-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--glass-border);
  align-items: center;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-icon {
  font-size: 2rem;
  opacity: 0.3;
}

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

.cart-item-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--gold);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--soft-white);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.qty-btn:hover {
  border-color: var(--neon-pink);
  background: rgba(255, 45, 149, 0.1);
}

.qty-value {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px 8px;
  transition: color 0.2s ease;
}
.remove-btn:hover { color: var(--neon-pink); }

.cart-summary {
  margin-top: 32px;
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cart-total-row {
  border-top: 1px solid var(--glass-border);
  margin-top: 8px;
  padding-top: 16px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--soft-white);
}

.free-shipping {
  color: var(--neon-blue);
  font-weight: 500;
}

.checkout-btn {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}
.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 45, 149, 0.3);
}
.checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.secure-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ─── SUCCESS PAGE ───────────────────────────────────── */

.success-page {
  padding: 120px 48px 140px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.success-inner { }

.success-icon {
  font-size: 5rem;
  display: block;
  margin-bottom: 24px;
}

.success-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 24px 0 32px;
}

/* ─── CLOSING ────────────────────────────────────────── */

.closing {
  padding: 100px 48px 120px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(to right, var(--neon-pink), var(--neon-purple), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ─── FOOTER ─────────────────────────────────────────── */

footer {
  padding: 48px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.footer-right {
  font-size: 0.75rem;
  color: rgba(240, 230, 255, 0.2);
  font-weight: 300;
}

/* ─── TOAST NOTIFICATION ─────────────────────────────── */

.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid var(--neon-pink);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(255, 45, 149, 0.2);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-icon { font-size: 1.2rem; }
.toast-text {
  font-size: 0.85rem;
  font-weight: 500;
}
.toast-link {
  color: var(--neon-pink);
  font-weight: 600;
  margin-left: 4px;
}

/* ─── MOBILE MENU ────────────────────────────────────── */

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(10, 10, 15, 0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  backdrop-filter: blur(30px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--soft-white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.mobile-nav a:hover { color: var(--neon-pink); }

/* ─── CHECKOUT MODAL ─────────────────────────────────── */

.checkout-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.checkout-modal-content {
  background: #12121a;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
}

.checkout-modal-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.checkout-modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}

.checkout-item-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.checkout-item-qty {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: block;
  margin-top: 2px;
}

.checkout-item-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.checkout-item-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 45, 149, 0.3);
}

.checkout-modal-close {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.checkout-modal-close:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--soft-white);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 768px) {
  nav {
    padding: 18px 24px;
  }

  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  .shop-hero { padding: 50px 24px 30px; }
  .collection-filters { padding: 0 24px 30px; }
  .filters-inner { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .filter-chip { white-space: nowrap; flex-shrink: 0; }

  .product-grid-section { padding: 0 24px 60px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-short-desc { display: none; }
  .product-info { padding: 14px 16px 18px; }

  .product-detail { padding: 30px 24px 60px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-image { position: static; }

  .related-section { padding: 40px 24px 80px; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .cart-page { padding: 40px 24px 80px; }
  .cart-item-image { width: 64px; height: 64px; }

  .closing { padding: 60px 24px 80px; }

  footer { padding: 32px 24px; flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }

  .section-title { font-size: 1.8rem; }
  .product-detail-name { font-size: 1.5rem; }

  .cart-item { flex-wrap: wrap; }
  .cart-item-actions { margin-left: auto; }
}
