/* ============================================================
   100 Icons — Master Stylesheet
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --gold: linear-gradient(135deg, #b8860b 0%, #daa520 50%, #b8860b 100%);
  --gold-solid: #b8860b;
  --stone-50:  #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --red-500:   #ef4444;
  --blue-500:  #3b82f6;
  --blue-600:  #2563eb;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Outfit', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-serif);
  background: var(--stone-50);
  color: var(--stone-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

/* ---------- Utilities ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.font-sans { font-family: var(--font-sans); }
.font-serif { font-family: var(--font-serif); }
.gold-text  {
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Animations ---------- */
@keyframes fadeIn  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin    { to { transform: rotate(360deg); } }
.animate-fade     { animation: fadeIn 0.4s ease-out; }
.animate-slide    { animation: slideIn 0.3s ease-out; }
.animate-slide-up { animation: slideUp 0.3s ease-out; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  background: white;
  border-bottom: 1px solid var(--stone-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: bold; font-size: 16px;
  flex-shrink: 0;
}
.nav-logo-text { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.nav-logo-sub  { font-family: var(--font-sans); font-size: 9px; letter-spacing: 0.2em; color: var(--stone-400); text-transform: uppercase; margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-family: var(--font-sans); font-size: 0.875rem;
  color: var(--stone-600); text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: var(--stone-100); }
.nav-link.active { background: var(--stone-900); color: white; }
.nav-link svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-cart {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  text-decoration: none; color: inherit;
  transition: background 0.2s;
}
.nav-cart:hover { background: var(--stone-100); }
.nav-cart-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--gold-solid);
  border-radius: 50%; color: white;
  font-size: 11px; font-family: var(--font-sans); font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500;
  border-radius: 0.5rem; border: 1px solid transparent;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
  line-height: 1.4;
}
.btn-primary   { background: var(--stone-900); color: white; }
.btn-primary:hover { background: var(--stone-800); }
.btn-secondary { background: var(--stone-100); color: var(--stone-900); }
.btn-secondary:hover { background: var(--stone-200); }
.btn-outline   { background: transparent; border-color: var(--stone-300); color: var(--stone-900); }
.btn-outline:hover { border-color: var(--stone-900); }
.btn-vyne      { background: var(--blue-600); color: white; }
.btn-vyne:hover { background: var(--blue-500); }
.btn-block { width: 100%; }
.btn-lg    { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm    { padding: 0.5rem 1rem; font-size: 0.8125rem; }

/* ============================================================
   CARDS / FORMS / BADGES
   ============================================================ */
.card      { background: white; border-radius: 0.75rem; box-shadow: 0 1px 3px rgba(0,0,0,0.08); overflow: hidden; }
.card-body { padding: 1.25rem; }

.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-family: var(--font-sans); font-size: 0.875rem; color: var(--stone-500);
  margin-bottom: 0.5rem;
}
.form-input,
.form-select {
  width: 100%; padding: 0.75rem 1rem;
  font-family: var(--font-sans); font-size: 0.875rem;
  border: 1px solid var(--stone-200); border-radius: 0.5rem;
  background: white; color: var(--stone-900);
  transition: border-color 0.2s;
}
.form-input:focus,
.form-select:focus { outline: none; border-color: var(--stone-900); }

.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500;
  border-radius: 9999px;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.badge-purple  { background: #f3e8ff; color: #7c3aed; }
.badge-gold    { background: #fef3c7; color: #b8860b; }

/* ============================================================
   GRID
   ============================================================ */
.grid   { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card { background: white; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); transition: box-shadow 0.3s, transform 0.3s; }
.product-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-2px); }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--stone-100); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-wishlist {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 32px; height: 32px;
  background: white; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}
.product-wishlist:hover { transform: scale(1.1); }
.product-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--amber-500); color: white;
  padding: 0.25rem 0.5rem;
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500;
  border-radius: 0.25rem;
}
.product-info   { padding: 1rem; }
.product-brand  { font-family: var(--font-sans); font-size: 0.75rem; color: var(--stone-500); text-transform: uppercase; letter-spacing: 0.03em; }
.product-name   { font-size: 1rem; font-weight: 500; margin-top: 0.25rem; }
.product-name a { color: inherit; text-decoration: none; }
.product-price  { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.5rem; }
.product-price-current  { font-size: 1.125rem; font-weight: 600; }
.product-price-original { font-family: var(--font-sans); font-size: 0.875rem; color: var(--stone-400); text-decoration: line-through; }
.product-stock     { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; font-family: var(--font-sans); font-size: 0.75rem; color: var(--stone-500); }
.product-stock-dot { width: 8px; height: 8px; border-radius: 50%; }
.product-stock-dot.in-stock  { background: var(--green-500); }
.product-stock-dot.low-stock { background: var(--amber-500); }

/* ============================================================
   VYNE PAY BY BANK
   ============================================================ */
.vyne-payment-box {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  border-radius: 1rem; padding: 1.5rem; color: white;
}
.vyne-logo     { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.vyne-logo svg { width: 24px; height: 24px; }
.vyne-logo span { font-family: var(--font-sans); font-weight: 600; font-size: 1.125rem; }
.vyne-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.vyne-desc  { font-family: var(--font-sans); font-size: 0.875rem; opacity: 0.9; margin-bottom: 1rem; }
.vyne-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.vyne-benefit  { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-sans); font-size: 0.8125rem; }
.vyne-benefit svg { width: 16px; height: 16px; color: #4ade80; flex-shrink: 0; }
.vyne-banks { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.vyne-bank  { background: rgba(255,255,255,0.15); padding: 0.375rem 0.75rem; border-radius: 0.375rem; font-family: var(--font-sans); font-size: 0.75rem; }

.btn-vyne-pay {
  width: 100%; background: white; color: #1e3a5f;
  padding: 1rem; font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  border: none; border-radius: 0.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  margin-top: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-vyne-pay:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

/* Vyne Modal */
.vyne-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 10000; }
.vyne-modal-content { background: white; border-radius: 16px; width: 100%; max-width: 440px; max-height: 90vh; overflow: auto; margin: 20px; }
.vyne-modal-header  { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--stone-200); }
.vyne-modal-logo    { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-weight: 600; font-size: 18px; color: #1e3a5f; }
.vyne-modal-close   { background: none; border: none; cursor: pointer; padding: 4px; color: var(--stone-500); }
.vyne-modal-close:hover { color: var(--stone-900); }
.vyne-modal-body    { padding: 20px; }
.vyne-modal-amount  { text-align: center; font-size: 18px; margin-bottom: 8px; font-family: var(--font-sans); }
.vyne-modal-amount strong { font-size: 24px; color: #1e3a5f; }
.vyne-modal-subtitle { text-align: center; font-family: var(--font-sans); font-size: 14px; color: var(--stone-500); margin-bottom: 20px; }
.vyne-banks-grid    { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.vyne-bank-btn      {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px; border: 2px solid var(--stone-200); border-radius: 12px;
  background: white; cursor: pointer; transition: all 0.2s; font-family: var(--font-sans);
}
.vyne-bank-btn:hover { border-color: var(--blue-600); background: #eff6ff; }
.vyne-bank-btn span  { font-size: 13px; color: var(--stone-700); }
.vyne-modal-footer  { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--stone-200); }
.vyne-security      { display: flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 12px; color: var(--stone-500); margin-bottom: 12px; }
.vyne-powered       { text-align: center; font-family: var(--font-sans); font-size: 12px; color: var(--stone-400); }
.vyne-powered strong { color: var(--blue-600); }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast-notification {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
  background: var(--green-600); color: white;
  padding: 12px 20px; border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: slideUp 0.3s ease-out;
}

/* ============================================================
   ACCOUNT / ADMIN SIDEBAR TABS
   ============================================================ */
.account-tab,
.admin-tab {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  background: none; border: none; border-radius: 8px;
  font-family: var(--font-sans); font-size: 14px;
  cursor: pointer; transition: all 0.2s; text-align: left;
  margin-bottom: 4px;
}
.account-tab       { color: var(--stone-600); }
.account-tab:hover { background: var(--stone-100); }
.account-tab.active { background: var(--stone-900); color: white; }

.admin-tab       { color: var(--stone-400); }
.admin-tab:hover { background: var(--stone-800); color: white; }
.admin-tab.active { background: var(--stone-800); color: white; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--stone-200); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px; background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; text-align: left;
  transition: background 0.2s; color: var(--stone-900);
}
.faq-question:hover { background: var(--stone-50); }
.faq-question svg   { transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-question.open svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
}
.faq-answer.open { max-height: 300px; padding: 0 20px 20px; }
.faq-answer p    { font-family: var(--font-sans); font-size: 14px; color: var(--stone-600); line-height: 1.7; }

/* ============================================================
   LOADING OVERLAY
   ============================================================ */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.95);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 10001;
}
.spinner {
  width: 48px; height: 48px;
  border: 3px solid var(--stone-200);
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--stone-900); color: white; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-desc { font-family: var(--font-sans); font-size: 0.875rem; color: var(--stone-400); line-height: 1.6; }
.footer-title { font-family: var(--font-sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; color: var(--stone-300); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a  { font-family: var(--font-sans); font-size: 0.875rem; color: var(--stone-400); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--stone-800); text-align: center; }
.footer-bottom p { font-family: var(--font-sans); font-size: 0.75rem; color: var(--stone-500); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .vyne-benefits { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-link span { display: none; }
  .nav-logo-text, .nav-logo-sub { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vyne-banks-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
