/* =============================================================
   THE FATHER'S LOVE — Global Stylesheet
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --gold:         #C8860B;
  --gold-light:   #E5A020;
  --gold-bright:  #F0C040;
  --gold-pale:    #FAE9B0;
  --gold-dark:    #8B5E08;

  --navy:         #0D1B35;
  --navy-mid:     #152B52;
  --navy-light:   #1E3D6E;
  --navy-bright:  #2A5594;

  --cream:        #FEF9F0;
  --cream-warm:   #FDF3E0;
  --cream-mid:    #F5E8CE;
  --white:        #FFFFFF;
  --off-white:    #FAFAF8;

  --text-dark:    #0D1208;
  --text-medium:  #3D3020;
  --text-light:   #8B7A5E;

  --grad-gold:    linear-gradient(135deg, #C8860B, #E5A020, #F0C040);
  --grad-navy:    linear-gradient(135deg, #050B17 0%, #0D1B35 50%, #152B52 100%);
  --grad-hero:    linear-gradient(160deg, #050B17 0%, #0D1B35 40%, #1B3460 100%);
  --grad-warm:    linear-gradient(135deg, #FDF3E0 0%, #FEF9F0 100%);

  --shadow-sm:    0 2px 10px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.18);
  --shadow-gold:  0 8px 30px rgba(200,134,11,0.35);
  --shadow-goldlg:0 20px 60px rgba(200,134,11,0.4);

  --border-gold:  1px solid rgba(200,134,11,0.3);
  --border-light: 1px solid rgba(200,134,11,0.15);

  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-full:100px;

  --ease-out:     cubic-bezier(0.25,0.46,0.45,0.94);
  --ease-in-out:  cubic-bezier(0.645,0.045,0.355,1.0);
  --t-fast:       0.2s cubic-bezier(0.25,0.46,0.45,0.94);
  --t-med:        0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  --t-slow:       0.6s cubic-bezier(0.25,0.46,0.45,0.94);

  --nav-h:        80px;
  --container:    1200px;
  --z-nav:        1000;
  --z-cart:       1500;
  --z-modal:      2000;
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--cream);
  color:var(--text-dark);
  line-height:1.7;
  overflow-x:hidden;
}
img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; }
ul,ol { list-style:none; }
button { cursor:pointer; font-family:'Inter',sans-serif; border:none; outline:none; }
input,textarea,select { font-family:'Inter',sans-serif; outline:none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-family:'Playfair Display',Georgia,serif; line-height:1.2; font-weight:700; }

.section-tag {
  display:inline-block;
  font-family:'Inter',sans-serif;
  font-size:0.73rem;
  font-weight:600;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--gold);
  padding:6px 16px;
  background:rgba(200,134,11,0.08);
  border:1px solid rgba(200,134,11,0.25);
  border-radius:var(--radius-full);
  margin-bottom:16px;
}

.section-title {
  font-size:clamp(2rem,4vw,3rem);
  color:var(--navy);
  margin-bottom:20px;
}
.section-title span { color:var(--gold); font-style:italic; }

.section-subtitle {
  font-size:1.05rem;
  color:var(--text-light);
  max-width:600px;
  margin:0 auto;
  line-height:1.85;
}

/* ---- Container ---- */
.container {
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* ---- Navigation ---- */
.navbar {
  position:fixed;
  top:0; left:0; right:0;
  height:var(--nav-h);
  z-index:var(--z-nav);
  transition:all var(--t-med);
}
.navbar.transparent { background:transparent; }
.navbar.scrolled {
  background:rgba(13,27,53,0.97);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  box-shadow:0 4px 30px rgba(0,0,0,0.3);
}
.navbar.solid { background:var(--navy); box-shadow:0 4px 30px rgba(0,0,0,0.3); }

.nav-container {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.nav-logo { display:flex; align-items:center; gap:12px; }
.nav-logo img {
  height:48px; width:48px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(200,134,11,0.5);
}
.nav-logo-text { display:flex; flex-direction:column; }
.nav-logo-name { font-family:'Playfair Display',serif; font-size:1.15rem; font-weight:700; color:var(--white); line-height:1.1; }
.nav-logo-tagline { font-size:0.62rem; font-weight:500; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold-light); line-height:1; }

.nav-links { display:flex; align-items:center; gap:4px; }
.nav-links a {
  font-size:0.84rem; font-weight:500;
  color:rgba(255,255,255,0.82);
  padding:8px 13px;
  border-radius:var(--radius-sm);
  transition:all var(--t-fast);
  position:relative;
}
.nav-links a::after {
  content:'';
  position:absolute;
  bottom:4px; left:50%;
  transform:translateX(-50%);
  width:0; height:2px;
  background:var(--gold);
  border-radius:2px;
  transition:width var(--t-fast);
}
.nav-links a:hover { color:var(--white); background:rgba(255,255,255,0.08); }
.nav-links a:hover::after,.nav-links a.active::after { width:calc(100% - 26px); }
.nav-links a.active { color:var(--gold-light); }

.btn-nav-donate {
  font-size:0.84rem !important;
  font-weight:600 !important;
  color:var(--navy) !important;
  background:var(--grad-gold) !important;
  padding:10px 22px !important;
  border-radius:var(--radius-full) !important;
  box-shadow:var(--shadow-gold) !important;
  transition:all var(--t-fast) !important;
}
.btn-nav-donate:hover { transform:translateY(-2px) !important; box-shadow:var(--shadow-goldlg) !important; }
.btn-nav-donate::after { display:none !important; }

.cart-nav-btn {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px; height:40px;
  color:white;
  font-size:1.1rem;
  cursor:pointer;
  border-radius:var(--radius-sm);
  transition:all var(--t-fast);
  background:none;
  border:none;
}
.cart-nav-btn:hover { background:rgba(255,255,255,0.1); color:var(--gold-light); }

.cart-badge {
  position:absolute;
  top:3px; right:3px;
  width:17px; height:17px;
  background:var(--gold);
  color:var(--navy);
  font-size:0.6rem;
  font-weight:700;
  border-radius:50%;
  display:none;
  align-items:center;
  justify-content:center;
}
.cart-badge.show { display:flex; }

.mobile-toggle {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:8px;
  border-radius:var(--radius-sm);
  background:none;
  border:none;
}
.mobile-toggle span { display:block; width:24px; height:2px; background:white; border-radius:2px; transition:all var(--t-med); }
.mobile-toggle.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity:0; }
.mobile-toggle.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ---- Buttons ---- */
.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 30px;
  font-size:0.9rem;
  font-weight:600;
  border-radius:var(--radius-full);
  transition:all var(--t-fast);
  cursor:pointer;
  text-decoration:none;
  border:2px solid transparent;
  letter-spacing:0.02em;
  font-family:'Inter',sans-serif;
}
.btn-primary { background:var(--grad-gold); color:var(--navy); box-shadow:var(--shadow-gold); }
.btn-primary:hover { transform:translateY(-3px); box-shadow:var(--shadow-goldlg); }
.btn-secondary { background:transparent; color:var(--white); border-color:rgba(255,255,255,0.4); }
.btn-secondary:hover { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.7); transform:translateY(-2px); }
.btn-outline-gold { background:transparent; color:var(--gold); border-color:var(--gold); }
.btn-outline-gold:hover { background:var(--gold); color:var(--navy); box-shadow:var(--shadow-gold); transform:translateY(-2px); }
.btn-dark { background:var(--navy); color:var(--white); border-color:var(--navy); }
.btn-dark:hover { background:var(--navy-light); transform:translateY(-2px); }
.btn-sm { padding:10px 22px; font-size:0.85rem; }
.btn-lg { padding:18px 40px; font-size:1rem; }
.btn-full { width:100%; justify-content:center; }

/* ---- Page Hero ---- */
.page-hero {
  min-height:420px;
  background:var(--grad-hero);
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  padding-top:var(--nav-h);
}
.page-hero::before {
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 30% 50%,rgba(200,134,11,0.12) 0%,transparent 60%),
    radial-gradient(ellipse at 70% 30%,rgba(42,85,148,0.15) 0%,transparent 50%);
}
.page-hero-pattern {
  position:absolute; inset:0;
  background-image:
    linear-gradient(45deg,rgba(200,134,11,0.04) 25%,transparent 25%),
    linear-gradient(-45deg,rgba(200,134,11,0.04) 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,rgba(200,134,11,0.04) 75%),
    linear-gradient(-45deg,transparent 75%,rgba(200,134,11,0.04) 75%);
  background-size:60px 60px;
}
.page-hero-content { position:relative; z-index:1; padding:80px 0 60px; }
.page-hero-content h1 { font-size:clamp(2.5rem,5vw,4rem); color:var(--white); margin-bottom:16px; }
.page-hero-content h1 span { color:var(--gold-light); font-style:italic; }
.page-hero-content p { font-size:1.1rem; color:rgba(255,255,255,0.72); max-width:560px; }

.breadcrumb { display:flex; align-items:center; gap:8px; margin-bottom:20px; font-size:0.85rem; color:rgba(255,255,255,0.55); }
.breadcrumb a { color:var(--gold-light); transition:color var(--t-fast); }
.breadcrumb a:hover { color:var(--gold-bright); }

/* ---- Sections ---- */
.section { padding:100px 0; }
.section-sm { padding:60px 0; }
.section-lg { padding:140px 0; }
.section-dark { background:var(--navy); color:var(--white); }
.section-dark .section-title { color:var(--white); }
.section-dark .section-subtitle { color:rgba(255,255,255,0.65); }
.section-cream { background:var(--cream-warm); }
.section-header { text-align:center; margin-bottom:64px; }

/* ---- Grids ---- */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:32px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }

/* ---- Cards ---- */
.card {
  background:var(--white);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
  transition:all var(--t-med);
}
.card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); }

/* ---- Divider ---- */
.divider-gold { width:60px; height:3px; background:var(--grad-gold); border-radius:3px; margin:16px auto; }
.divider-gold-left { margin-left:0; }

/* ---- Icon Box ---- */
.icon-box {
  width:64px; height:64px;
  border-radius:var(--radius-md);
  background:rgba(200,134,11,0.1);
  border:1px solid rgba(200,134,11,0.2);
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; color:var(--gold);
  margin-bottom:20px;
  transition:all var(--t-med);
}
.card:hover .icon-box { background:var(--gold); color:var(--white); box-shadow:var(--shadow-gold); }

/* ---- Quote ---- */
.quote-section {
  background:var(--grad-navy);
  padding:80px 0;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.quote-section::before {
  content:'"';
  position:absolute;
  top:-60px; left:50%;
  transform:translateX(-50%);
  font-family:'Playfair Display',serif;
  font-size:18rem;
  color:rgba(200,134,11,0.06);
  line-height:1;
  pointer-events:none;
}
.quote-text {
  font-family:'Playfair Display',serif;
  font-size:clamp(1.3rem,2.5vw,1.9rem);
  font-style:italic;
  color:var(--white);
  max-width:780px;
  margin:0 auto 24px;
  line-height:1.65;
  position:relative;
}
.quote-author { font-size:0.88rem; font-weight:600; color:var(--gold-light); letter-spacing:0.12em; text-transform:uppercase; }

/* ---- Stats ---- */
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:40px; }
.stat-item { text-align:center; }
.stat-number { font-family:'Playfair Display',serif; font-size:clamp(2.5rem,5vw,4rem); font-weight:800; color:var(--gold); line-height:1; margin-bottom:8px; }
.stat-label { font-size:0.85rem; font-weight:500; color:var(--text-light); text-transform:uppercase; letter-spacing:0.1em; }

/* ---- Forms ---- */
.form-group { margin-bottom:20px; }
.form-label { display:block; font-size:0.84rem; font-weight:600; color:var(--text-medium); margin-bottom:8px; letter-spacing:0.02em; }
.form-control {
  width:100%; padding:14px 18px; font-size:0.95rem;
  color:var(--text-dark); background:var(--white);
  border:1.5px solid rgba(0,0,0,0.12);
  border-radius:var(--radius-md);
  transition:all var(--t-fast);
  appearance:none;
  font-family:'Inter',sans-serif;
}
.form-control:focus { border-color:var(--gold); box-shadow:0 0 0 4px rgba(200,134,11,0.1); }
.form-control::placeholder { color:var(--text-light); opacity:0.7; }
textarea.form-control { resize:vertical; min-height:120px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* ---- Cart Sidebar ---- */
.cart-sidebar {
  position:fixed;
  top:0; right:-500px;
  width:460px; max-width:100vw; height:100%;
  background:var(--white);
  z-index:var(--z-cart);
  box-shadow:-4px 0 40px rgba(0,0,0,0.15);
  transition:right var(--t-med);
  display:flex; flex-direction:column;
}
.cart-sidebar.open { right:0; }

.cart-sidebar-header {
  padding:24px 28px;
  border-bottom:1px solid rgba(0,0,0,0.08);
  display:flex; align-items:center; justify-content:space-between;
}
.cart-sidebar-title { font-size:1.25rem; color:var(--navy); }
.cart-close-btn {
  width:36px; height:36px;
  border-radius:var(--radius-sm);
  background:var(--cream);
  color:var(--text-medium);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; border:none; font-size:1rem;
  transition:all var(--t-fast);
}
.cart-close-btn:hover { background:var(--navy); color:var(--white); }

.cart-sidebar-body { flex:1; overflow-y:auto; padding:24px 28px; }
.cart-empty { text-align:center; padding:60px 0; color:var(--text-light); }
.cart-empty i { font-size:3rem; margin-bottom:16px; color:var(--gold-pale); display:block; }
.cart-empty p { font-size:0.9rem; }

.cart-item {
  display:flex; align-items:center; gap:16px;
  padding:16px 0;
  border-bottom:1px solid rgba(0,0,0,0.06);
}
.cart-item-image {
  width:68px; height:68px;
  border-radius:var(--radius-md);
  background:linear-gradient(135deg,#FEF3DC,#FDE8B0);
  display:flex; align-items:center; justify-content:center;
  font-size:2rem; flex-shrink:0;
}
.cart-item-info { flex:1; }
.cart-item-name { font-weight:600; color:var(--navy); font-size:0.92rem; margin-bottom:4px; }
.cart-item-unit { font-size:0.8rem; color:var(--text-light); }
.cart-item-controls { display:flex; align-items:center; gap:10px; margin-top:8px; }
.qty-btn {
  width:26px; height:26px; border-radius:var(--radius-xs);
  background:var(--cream); color:var(--navy);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; border:none; font-size:0.85rem; font-weight:700;
  transition:all var(--t-fast);
}
.qty-btn:hover { background:var(--navy); color:var(--white); }
.qty-num { font-weight:700; color:var(--navy); min-width:20px; text-align:center; font-size:0.9rem; }
.cart-item-remove { background:none; border:none; color:var(--text-light); cursor:pointer; padding:4px; transition:color var(--t-fast); font-size:0.95rem; }
.cart-item-remove:hover { color:#e53e3e; }
.cart-item-price { font-weight:700; color:var(--gold); font-size:0.95rem; white-space:nowrap; }

.cart-sidebar-footer {
  padding:24px 28px;
  border-top:1px solid rgba(0,0,0,0.08);
  background:var(--off-white);
}
.cart-line { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; font-size:0.88rem; color:var(--text-light); }
.cart-total-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; padding-top:12px; border-top:1px solid rgba(0,0,0,0.08); }
.cart-total-label { font-size:1rem; font-weight:700; color:var(--navy); }
.cart-total-amt { font-family:'Playfair Display',serif; font-size:1.4rem; font-weight:800; color:var(--gold); }

/* ---- Modal Overlay ---- */
.overlay {
  position:fixed; inset:0;
  background:rgba(5,11,23,0.72);
  backdrop-filter:blur(4px);
  z-index:var(--z-modal);
  display:none; align-items:center; justify-content:center;
  padding:24px;
}
.overlay.active { display:flex; }

.modal {
  background:var(--white);
  border-radius:var(--radius-lg);
  width:100%; max-width:560px;
  max-height:90vh; overflow-y:auto;
  box-shadow:var(--shadow-lg);
  position:relative;
}
.modal-header { padding:28px 32px 0; display:flex; align-items:flex-start; justify-content:space-between; }
.modal-title { font-size:1.5rem; color:var(--navy); }
.modal-close {
  width:36px; height:36px;
  border-radius:var(--radius-sm);
  background:var(--cream); color:var(--text-light);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; border:none; font-size:1rem; flex-shrink:0;
  transition:all var(--t-fast);
}
.modal-close:hover { background:var(--navy); color:var(--white); }
.modal-body { padding:24px 32px 32px; }

/* ---- Cart Backdrop ---- */
.cart-backdrop {
  position:fixed; inset:0;
  background:rgba(5,11,23,0.5);
  z-index:calc(var(--z-cart) - 1);
  display:none;
  backdrop-filter:blur(2px);
}
.cart-backdrop.show { display:block; }

/* ---- Footer ---- */
.footer { background:var(--navy); padding-top:80px; }
.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.5fr;
  gap:56px;
  padding-bottom:56px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-logo-wrap { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.footer-logo-wrap img { height:48px; width:48px; border-radius:50%; object-fit:cover; border:2px solid rgba(200,134,11,0.4); }
.footer-brand { font-family:'Playfair Display',serif; font-size:1.25rem; font-weight:700; color:var(--white); }
.footer-desc { font-size:0.88rem; line-height:1.85; color:rgba(255,255,255,0.52); margin-bottom:28px; }
.footer-social { display:flex; gap:10px; }
.social-link {
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.07); color:rgba(255,255,255,0.65);
  font-size:0.9rem; transition:all var(--t-fast);
  border:1px solid rgba(255,255,255,0.1);
}
.social-link:hover { background:var(--gold); color:var(--navy); border-color:var(--gold); transform:translateY(-3px); }
.footer-col-title { font-family:'Inter',sans-serif; font-size:0.72rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold-light); margin-bottom:20px; }
.footer-col-links { display:flex; flex-direction:column; gap:10px; }
.footer-col-links a { font-size:0.88rem; color:rgba(255,255,255,0.52); transition:color var(--t-fast); display:flex; align-items:center; gap:6px; }
.footer-col-links a::before { content:'›'; font-size:1rem; transition:transform var(--t-fast); }
.footer-col-links a:hover { color:var(--gold-light); }
.footer-col-links a:hover::before { transform:translateX(3px); }
.footer-contact-row { display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; font-size:0.88rem; color:rgba(255,255,255,0.52); }
.footer-contact-row i { color:var(--gold); font-size:0.95rem; margin-top:2px; min-width:16px; }
.footer-bottom {
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 0; font-size:0.8rem; color:rgba(255,255,255,0.32);
}
.footer-bottom a { color:rgba(255,255,255,0.42); transition:color var(--t-fast); }
.footer-bottom a:hover { color:var(--gold-light); }
.footer-bottom-links { display:flex; gap:20px; }

/* ---- Scroll Reveal ---- */
.reveal { opacity:0; transform:translateY(28px); transition:opacity 0.7s var(--ease-out),transform 0.7s var(--ease-out); }
.reveal.revealed { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }
.reveal-delay-4 { transition-delay:0.4s; }

/* ---- Stripe Element ---- */
#stripe-element-container {
  padding:14px 18px;
  border:1.5px solid rgba(0,0,0,0.12);
  border-radius:var(--radius-md);
  background:var(--white);
  transition:border-color var(--t-fast);
  min-height:48px;
}
#stripe-element-container.focused { border-color:var(--gold); box-shadow:0 0 0 4px rgba(200,134,11,0.1); }

/* ---- Animations ---- */
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn   { from{opacity:0} to{opacity:1} }
@keyframes float    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes shimmer  { 0%{background-position:-200% center} 100%{background-position:200% center} }
@keyframes spin     { to{transform:rotate(360deg)} }

/* ---- Utility ---- */
.text-center{text-align:center} .text-left{text-align:left}
.text-gold{color:var(--gold)} .text-navy{color:var(--navy)} .text-white{color:var(--white)} .text-light{color:var(--text-light)}
.mt-8{margin-top:8px} .mt-16{margin-top:16px} .mt-24{margin-top:24px} .mt-32{margin-top:32px} .mt-48{margin-top:48px}
.mb-8{margin-bottom:8px} .mb-16{margin-bottom:16px} .mb-24{margin-bottom:24px} .mb-32{margin-bottom:32px}
.fw-600{font-weight:600} .fw-700{font-weight:700} .italic{font-style:italic}
.d-flex{display:flex} .align-center{align-items:center} .justify-center{justify-content:center} .gap-16{gap:16px}

/* ---- Product Cards ---- */
.product-card {
  background:var(--cream);
  border-radius:var(--radius-lg);
  overflow:hidden;
  transition:all var(--t-med);
  border:1px solid rgba(200,134,11,0.12);
}
.product-card:hover { transform:translateY(-10px); box-shadow:var(--shadow-gold); }
.product-card-img {
  width:100%; height:200px;
  background:linear-gradient(135deg,#FEF3DC,#FDE8B0,#F5D470);
  display:flex; align-items:center; justify-content:center;
  font-size:4.5rem; position:relative; overflow:hidden;
}
.product-card-img::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 70% 70%,rgba(200,134,11,0.15) 0%,transparent 60%);
}
.product-badge {
  position:absolute; top:14px; right:14px;
  background:var(--grad-gold);
  color:var(--navy); padding:4px 12px;
  border-radius:var(--radius-full);
  font-size:0.72rem; font-weight:700;
}
.product-card-body { padding:24px; }
.product-name { font-size:1.1rem; color:var(--navy); margin-bottom:8px; }
.product-desc { font-size:0.85rem; color:var(--text-light); margin-bottom:16px; line-height:1.65; }
.product-price { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:800; color:var(--gold); margin-bottom:16px; }
.product-price small { font-family:'Inter',sans-serif; font-size:0.8rem; font-weight:400; color:var(--text-light); }

/* ---- Success/Error States ---- */
.alert { padding:14px 20px; border-radius:var(--radius-md); margin-bottom:20px; font-size:0.9rem; font-weight:500; }
.alert-success { background:rgba(72,187,120,0.12); color:#276749; border:1px solid rgba(72,187,120,0.3); }
.alert-error { background:rgba(229,62,62,0.1); color:#9b2c2c; border:1px solid rgba(229,62,62,0.25); }

/* ---- Loading Spinner ---- */
.spinner { width:20px; height:20px; border:2px solid rgba(255,255,255,0.3); border-top-color:white; border-radius:50%; animation:spin 0.6s linear infinite; }

/* ---- Responsive ---- */
@media (max-width:1024px) {
  .footer-grid { grid-template-columns:1fr 1fr; gap:40px; }
  .grid-4 { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:768px) {
  .nav-links {
    display:none;
    position:fixed;
    top:var(--nav-h); left:0; right:0;
    background:rgba(13,27,53,0.98);
    backdrop-filter:blur(20px);
    flex-direction:column;
    padding:20px 24px;
    gap:4px;
    border-top:1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display:flex; }
  .nav-links a { width:100%; padding:12px 16px; }
  .mobile-toggle { display:flex; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
  .section { padding:70px 0; }
  .section-header { margin-bottom:48px; }
  .cart-sidebar { width:100vw; }
  .form-row { grid-template-columns:1fr; }
}

@media (max-width:480px) {
  .btn { padding:12px 22px; font-size:0.875rem; }
  .modal-body,.modal-header { padding-left:20px; padding-right:20px; }
  .cart-sidebar-header,.cart-sidebar-body,.cart-sidebar-footer { padding-left:20px; padding-right:20px; }
}
