/* ─── SHARED CSS — SLAYsly ─────────────────────────────────────────────────── */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dim: #8B6914;
  --cream: #F5EDD8;
  --cream-dim: #E8D9B8;
  --black: #0A0A0A;
  --charcoal: #111111;
  --dark: #1A1A1A;
  --mid: #2A2A2A;
  --text-muted: #888;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* CURSOR */
.cursor { width: 10px; height: 10px; background: var(--gold); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transition: transform 0.15s ease; transform: translate(-50%, -50%); }
.cursor-ring { width: 36px; height: 36px; border: 1px solid var(--gold); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: all 0.12s ease; opacity: 0.6; }

/* NOISE */
body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E"); opacity: 0.028; pointer-events: none; z-index: 9997; }

/* HEADER */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px 48px; background: linear-gradient(to bottom, rgba(10,10,10,0.98), rgba(10,10,10,0)); backdrop-filter: blur(2px); }
.logo-wrap img { height: 52px; filter: drop-shadow(0 0 12px rgba(201,168,76,0.3)); }
.logo-wrap { text-decoration: none; }
nav { display: flex; gap: 36px; align-items: center; }
nav a { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
nav a:hover { color: var(--gold); }
.cart-btn { position: relative; background: none; border: 1px solid rgba(201,168,76,0.3); color: var(--gold); padding: 10px 24px; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; cursor: none; transition: all 0.3s; }
.cart-btn:hover { background: var(--gold); color: var(--black); }
.cart-count { position: absolute; top: -8px; right: -8px; background: var(--gold); color: var(--black); width: 18px; height: 18px; border-radius: 50%; font-size: 10px; font-weight: 700; display: none; align-items: center; justify-content: center; }

/* PRODUCT GRID */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2px; }
.product-card { position: relative; background: var(--charcoal); overflow: hidden; cursor: none; }
.card-image-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--dark); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); display: block; }
.card-img-model { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.product-card:hover .card-img { transform: scale(1.04); opacity: 0; }
.product-card:hover .card-img-model { opacity: 1; transform: scale(1.04); }
.card-tag { position: absolute; top: 20px; left: 20px; background: var(--gold); color: var(--black); font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 12px; }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,0.85) 0%,transparent 50%); opacity: 0; transition: opacity 0.4s; display: flex; align-items: flex-end; padding: 32px; }
.product-card:hover .card-overlay { opacity: 1; }
.quick-add { width: 100%; background: var(--gold); color: var(--black); border: none; padding: 14px; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; cursor: none; transform: translateY(8px); transition: transform 0.3s; }
.product-card:hover .quick-add { transform: translateY(0); }
.quick-add:hover { background: var(--cream); }
.card-body { padding: 24px 28px 28px; border-top: 1px solid rgba(255,255,255,0.04); }
.card-category { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; opacity: 0.8; }
.card-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--cream); margin-bottom: 4px; letter-spacing: 0.02em; }
.card-subtitle { font-size: 12px; color: var(--text-muted); margin-bottom: 18px; letter-spacing: 0.05em; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--gold-light); letter-spacing: 0.02em; }
.card-price span { font-size: 14px; font-family: 'DM Sans', sans-serif; font-weight: 300; color: var(--text-muted); margin-right: 2px; }
.card-wishlist { width: 36px; height: 36px; border: 1px solid rgba(201,168,76,0.2); background: none; color: var(--gold-dim); display: flex; align-items: center; justify-content: center; cursor: none; font-size: 16px; transition: all 0.3s; }
.card-wishlist:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }
.card-wishlist.wishlisted { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.12); }

/* CART DRAWER */
.cart-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.4s; backdrop-filter: blur(4px); }
.cart-backdrop.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: 0; width: min(480px,100vw); height: 100vh; background: var(--charcoal); z-index: 201; transform: translateX(100%); transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94); display: flex; flex-direction: column; border-left: 1px solid rgba(201,168,76,0.1); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { padding: 32px 36px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; }
.cart-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 0.1em; color: var(--cream); }
.cart-title span { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold); font-size: 0.85em; font-weight: 300; }
.cart-close { background: none; border: 1px solid rgba(201,168,76,0.2); color: var(--cream); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: none; font-size: 18px; transition: all 0.3s; }
.cart-close:hover { border-color: var(--gold); color: var(--gold); }
.cart-items { flex: 1; overflow-y: auto; padding: 24px 36px; }
.cart-items::-webkit-scrollbar { width: 2px; }
.cart-items::-webkit-scrollbar-thumb { background: var(--gold-dim); }
.cart-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); gap: 12px; text-align: center; }
.cart-empty-icon { font-size: 48px; opacity: 0.3; }
.cart-empty p { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-style: italic; }
.cart-empty small { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cart-item-thumb { aspect-ratio: 1; background: var(--dark); overflow: hidden; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--cream); margin-bottom: 4px; }
.cart-item-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; margin-bottom: 10px; }
.cart-item-price { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--gold-light); }
.cart-item-remove { background: none; border: none; color: var(--text-muted); cursor: none; font-size: 18px; padding: 4px; transition: color 0.3s; align-self: flex-start; }
.cart-item-remove:hover { color: #e74c3c; }
.cart-foot { padding: 28px 36px 36px; border-top: 1px solid rgba(255,255,255,0.06); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.cart-subtotal-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.cart-subtotal-amount { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; color: var(--gold-light); }
.checkout-btn { width: 100%; background: var(--gold); border: none; color: var(--black); padding: 18px; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; cursor: none; transition: all 0.3s; margin-bottom: 12px; }
.checkout-btn:hover { background: var(--cream); transform: translateY(-1px); }
.checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.secure-note { text-align: center; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* FOOTER */
footer { background: var(--charcoal); border-top: 1px solid rgba(201,168,76,0.1); padding: 64px 48px 40px; }
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 40px; }
.footer-brand img { height: 40px; margin-bottom: 20px; filter: brightness(0.8); }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 16px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-muted); text-decoration: none; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; }
.footer-razorpay { display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* TOAST */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--gold); color: var(--black); padding: 14px 28px; font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; z-index: 300; transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); white-space: nowrap; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* MODAL */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 250; opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal { background: var(--charcoal); border: 1px solid rgba(201,168,76,0.15); max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; transform: scale(0.95); transition: transform 0.3s; }
.modal-backdrop.open .modal { transform: scale(1); }
.modal-images { position: relative; }
.modal-img-main { width: 100%; aspect-ratio: 1; object-fit: cover; }
.modal-img-thumbs { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 6px; }
.modal-thumb { width: 48px; height: 48px; object-fit: cover; border: 1px solid transparent; cursor: none; transition: border-color 0.2s; opacity: 0.7; }
.modal-thumb.active { border-color: var(--gold); opacity: 1; }
.modal-content { padding: 48px 40px; }
.modal-cat { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.modal-name { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 400; color: var(--cream); margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; letter-spacing: 0.05em; }
.modal-price { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 600; color: var(--gold-light); margin-bottom: 28px; }
.modal-price span { font-size: 18px; color: var(--text-muted); font-family: 'DM Sans'; font-weight: 300; }
.modal-desc { font-size: 14px; color: rgba(245,237,216,0.7); line-height: 1.8; margin-bottom: 32px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; }
.modal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.modal-tag { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; padding: 5px 12px; border: 1px solid rgba(201,168,76,0.2); color: var(--text-muted); }
.modal-add { width: 100%; background: var(--gold); border: none; color: var(--black); padding: 18px; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; cursor: none; transition: all 0.3s; margin-bottom: 12px; }
.modal-add:hover { background: var(--cream); }
.modal-close-btn { position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,0.5); border: 1px solid rgba(201,168,76,0.2); color: var(--cream); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: none; font-size: 18px; z-index: 5; transition: all 0.3s; }
.modal-close-btn:hover { border-color: var(--gold); color: var(--gold); }

/* PROMISE STRIP */
.promise-strip { background: var(--charcoal); border-top: 1px solid rgba(201,168,76,0.1); border-bottom: 1px solid rgba(201,168,76,0.1); padding: 48px; }
.promise-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 0; text-align: center; }
.promise-item { padding: 8px 24px; border-right: 1px solid rgba(201,168,76,0.1); }
.promise-item:last-child { border-right: none; }
.promise-icon { font-size: 24px; margin-bottom: 12px; display: block; }
.promise-title { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; color: var(--cream); margin-bottom: 6px; }
.promise-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; line-height: 1.5; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); }
::selection { background: rgba(201,168,76,0.25); }

/* RESPONSIVE */
@media (max-width: 900px) {
  header { padding: 16px 24px; }
  nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .modal { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .promise-strip { padding: 40px 24px; }
  footer { padding: 48px 24px 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}
