:root {
  /* Premium Palette */
  --primary: #1a4a2e;
  --primary-light: #2a6a3e;
  --primary-dark: #0f2f1e;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-dark: #a8873a;
  --cream: #fbf6ed;
  --cream-dark: #f0e8d8;
  --walnut-brown: #2c1e16;
  --silent-beige: #f5f0e6;
  
  /* Text & UI */
  --white: #ffffff;
  --black: #111111;
  --gray: #555555;
  --gray-light: #e2d9c8;
  
  /* Modern Shadows & Curves */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px rgba(15, 47, 30, 0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1280px; /* Slightly wider for better desktop viewing */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  display: flex; flex-direction: column; min-height: 100vh;
  font-family: var(--font); background: var(--cream);
  color: var(--black); line-height: 1.6; -webkit-font-smoothing: antialiased;
}

.main-content { flex: 1; }
.footer { flex-shrink: 0; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; transition: var(--transition); }
input, textarea { font-family: var(--font); outline: none; border: none; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ----- ANIMATIONS ----- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}
.floating-animation { animation: float 6s ease-in-out infinite; }
.animate-fade-in-up { animation: fadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ----- PRE-NAV ----- */
.pre-nav {
  background: var(--primary-dark); color: var(--gold-light);
  font-size: 0.85rem; font-weight: 500; padding: 10px 0;
  text-align: center; letter-spacing: 0.5px;
}

/* ----- HEADER ----- */
.header {
  background: rgba(245, 240, 230, 0.95); backdrop-filter: blur(10px);
  padding: 16px 0; position: sticky; top: 0; z-index: 1000;
  box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--gray-light);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 6px; font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); letter-spacing: -0.5px; }
.logo .logo-img { height: 44px; width: auto;  }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--gray); font-size: 1.05rem; font-weight: 600; position: relative; padding-bottom: 4px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-dark); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%;
  height: 2px; background: var(--gold); border-radius: 2px;
}

.mobile-menu-actions { display: none; }
.nav-actions { display: flex; align-items: center; gap: 20px; }

.btn-outline {
  border: 2px solid var(--gray-light); color: var(--primary-dark);
  padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
}
.btn-outline:hover { border-color: var(--primary-dark); background: var(--primary-dark); color: var(--white); }

.btn-primary {
  background: var(--gold); color: var(--primary-dark);
  padding: 10px 28px; border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201, 168, 76, 0.4); }

.cart-icon { font-size: 1.6rem; color: var(--primary-dark); position: relative; }
.cart-icon:hover { color: var(--gold); transform: scale(1.05); }
.cart-badge {
  position: absolute; top: -6px; right: -10px; background: var(--gold); color: var(--primary-dark);
  font-size: 0.75rem; font-weight: 800; width: 22px; height: 22px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.nav-toggle { display: none; font-size: 1.8rem; color: var(--primary-dark); }

/* ----- PAGE SECTIONS ----- */
.page-section { display: none; }
.page-section.active { display: block; animation: fadeUp 0.6s ease-out forwards; }

/* ----- HERO ----- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0a1f14 100%);
  padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 60%); pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content h1 { font-size: 4.5rem; font-weight: 800; color: var(--white); line-height: 1.1; letter-spacing: -1px; margin-bottom: 24px; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { color: rgba(255, 255, 255, 0.85); font-size: 1.2rem; margin-bottom: 40px; max-width: 540px; line-height: 1.8; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-gold { background: var(--gold); color: var(--primary-dark); padding: 16px 40px; border-radius: 50px; font-weight: 700; font-size: 1.05rem; box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3); }
.btn-gold:hover { transform: translateY(-3px); background: var(--gold-light); box-shadow: 0 12px 30px rgba(201, 168, 76, 0.4); }
.btn-outline-gold { border: 2px solid var(--gold); color: var(--gold); padding: 16px 40px; border-radius: 50px; font-weight: 700; font-size: 1.05rem; }
.btn-outline-gold:hover { background: var(--gold); color: var(--primary-dark); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.hero-stats .stat-number { font-size: 2.2rem; font-weight: 800; color: var(--gold); display: block; line-height: 1; margin-bottom: 8px; }
.hero-stats .stat-label { font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); font-weight: 600; letter-spacing: 1px; }

.hero-image .hero-img { 
  width: 100%; 
  max-width: 600px; 
  aspect-ratio: 1/1; 
  object-fit: cover; 
  
  /* The Almond/Nut Shape */
  border-radius: 80% 50% 80% 50%; 
  
  border: 6px solid rgba(201, 168, 76, 0.2); 
  margin: 0 auto; 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); 
}

/* ----- FEATURES BAND ----- */
.features-band { background: var(--white); padding: 32px 0; border-bottom: 1px solid var(--gray-light); position: relative; z-index: 10; }
.features-band .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.feature-item { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 1rem; font-weight: 700; color: var(--primary-dark); }
.feature-item i { color: var(--gold); font-size: 1.8rem; }
.feature-item span { font-weight: 500; color: var(--gray); font-size: 0.85rem; display: block; margin-top: 4px; }

/* ----- GLOBAL TYPOGRAPHY FOR SECTIONS ----- */
.section-label { text-align: center; color: var(--gold-dark); font-weight: 800; font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 12px; text-transform: uppercase; }
h2 { font-size: 3rem; font-weight: 800; color: var(--primary-dark); text-align: center; margin-bottom: 16px; letter-spacing: -1px; }
.subtitle { text-align: center; color: var(--gray); font-size: 1.15rem; max-width: 680px; margin: 0 auto 50px; line-height: 1.8; }

/* ----- CATEGORIES ----- */
.categories { padding: 100px 0; background: var(--silent-beige); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.category-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--white);
}
.category-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--gold); }
.cat-img-wrap { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 0 auto 24px; border: 4px solid var(--cream); box-shadow: var(--shadow-sm); }
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.category-card:hover .cat-img-wrap img { transform: scale(1.1); }
.category-card h3 { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; }
.category-card p { font-size: 1rem; color: var(--gray); font-weight: 500; }

/* ----- 70/30 PREMIUM PRODUCT CARDS ----- */
.shop-section { padding: 100px 0; background: var(--cream); }
.shop-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.shop-header h2 { text-align: left; margin-bottom: 0; }
.result-count { font-size: 1.05rem; color: var(--gray); font-weight: 600; }

/* Fluid Grid for Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }

.product-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: var(--transition);
  display: flex; flex-direction: column; overflow: hidden;
  position: relative; border: 1px solid var(--gray-light);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--gold); }

/* The 70% Image Section */
.product-img-wrap { width: 100%; aspect-ratio: 4/4; overflow: hidden; background: var(--silent-beige); margin: 0; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: fill; transition: 0.7s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

/* Floating Badge */
.product-card .badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255, 255, 255, 0.95); color: var(--primary-dark);
  font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
}

/* The 30% Content Section */
.product-card h3 { padding: 24px 24px 4px; font-size: 1.4rem; font-weight: 800; color: var(--primary-dark); text-align: left; margin: 0; }
.product-card .sub { padding: 0 24px 16px; font-size: 0.95rem; color: var(--gray); font-weight: 500; }

.product-card .price-row { padding: 0 24px 12px; display: flex; align-items: baseline; gap: 8px; }
.product-card .price-row .kg-price { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); background: var(--cream); padding: 4px 12px; border-radius: 6px; }

.product-card .weight-options { padding: 0 24px 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.product-card .weight-options button {
  padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  border: 2px solid var(--gray-light); color: var(--gray); background: var(--white);
}
.product-card .weight-options button.active, 
.product-card .weight-options button:hover {
  background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark);
}

.product-card .actions { padding: 0 24px 24px; display: flex; gap: 12px; margin-top: auto; }
.btn-add {
  flex: 1.5; background: var(--primary-dark); color: var(--gold-light);
  padding: 14px 0; border-radius: 50px; font-weight: 700; font-size: 1rem;
}
.btn-add:hover { background: var(--gold); color: var(--primary-dark); }
.btn-detail {
  flex: 1; padding: 14px 0; border: 2px solid var(--gray-light);
  border-radius: 50px; font-weight: 700; font-size: 1rem; color: var(--primary-dark);
}
.btn-detail:hover { border-color: var(--primary-dark); }

/* Filter Tabs */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tabs button {
  padding: 10px 24px; border-radius: 50px; font-size: 0.95rem; font-weight: 600;
  background: var(--white); color: var(--gray); border: 2px solid var(--gray-light);
}
.filter-tabs button.active, .filter-tabs button:hover {
  background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark);
}

/* ----- ORIGIN ----- */
.origin { padding: 100px 0; background: var(--white); }
.origin .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.origin .origin-label { text-align: left; color: var(--gold-dark); font-weight: 800; font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 12px; }
.origin h2 { text-align: left; font-size: 3.5rem; margin-bottom: 24px; line-height: 1.1; }
.origin p { color: var(--gray); font-size: 1.15rem; line-height: 1.8; margin-bottom: 32px; }
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.og-item { display: flex; align-items: center; gap: 16px; font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); }
.og-item i { color: var(--gold); font-size: 1.5rem; background: var(--cream); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.origin-img { border-radius: 24px; box-shadow: var(--shadow); height: 100%; object-fit: cover; }

/* ----- TESTIMONIALS ----- */
.testimonials { padding: 100px 0; background: var(--silent-beige); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 40px 32px;
  box-shadow: var(--shadow-sm); transition: var(--transition); border-top: 4px solid var(--gold);
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 1.1rem; color: var(--primary-dark); line-height: 1.8; font-style: italic; font-weight: 500; }
.author { margin-top: 24px; font-weight: 800; color: var(--primary-dark); font-size: 1.05rem; }
.author-loc { font-weight: 500; color: var(--gray); font-size: 0.9rem; display: block; margin-top: 4px; }

/* ----- FAQ, REVIEWS & DETAIL PAGES ----- */
.faq-page,
.reviews-page,
.product-detail-section,
.order-confirmation-page {
  padding: 90px 0;
  background: var(--cream);
}

.faq-page h1,
.reviews-page h1,
.product-detail-content h1,
.confirmation-card h1 {
  color: var(--primary-dark);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 16px;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1rem;
  text-align: left;
}

.faq-question i {
  color: var(--gold-dark);
  transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--gray);
  line-height: 1.8;
}

.review-summary {
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 18px 24px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--primary-dark);
}

.review-summary span {
  color: var(--gray);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.product-detail-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.product-detail-content h1 {
  text-align: left;
}

.product-detail-desc {
  color: var(--gray);
  line-height: 1.9;
  font-size: 1.05rem;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.product-detail-meta span {
  background: var(--cream);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

.product-detail-price {
  color: var(--primary-dark);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.detail-weight-options {
  padding: 0;
  margin-bottom: 22px;
}

.detail-add {
  width: min(260px, 100%);
  padding: 14px 28px;
}

.back-to-shop {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 24px;
}

.confirmation-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 32px;
}

.confirmation-card p {
  color: var(--gray);
  margin-bottom: 18px;
}

.trade-name {
  font-weight: 700;
  color: var(--gold-light) !important;
}

/* ----- FOOTER ----- */
.footer { background: var(--walnut-brown); color: rgba(255,255,255,0.9); padding: 80px 0 0; }
.footer .container {
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.5fr; gap: 50px;
  align-items: start; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 { color: var(--white); font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.footer h4::after { content: ''; display: block; width: 40px; height: 3px; background: var(--gold); margin-top: 12px; border-radius: 2px; }
.footer p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.8; max-width: 320px; margin-top: 16px; }
.footer ul li { margin-bottom: 16px; }
.footer ul li a { color: rgba(255,255,255,0.7); font-size: 1.05rem; font-weight: 500; position: relative; padding-bottom: 2px; }
.footer ul li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.3s ease; }
.footer ul li a:hover { color: var(--white); }
.footer ul li a:hover::after { width: 100%; }
.contact-info li { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,0.7); font-size: 1.05rem; }
.contact-info i { color: var(--gold); font-size: 1.2rem; }

.footer-bottom { background: #1f140e; padding: 24px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; border: none; padding-bottom: 0; }
.footer-bottom span { font-size: 0.95rem; color: rgba(255,255,255,0.5); }
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a { font-size: 0.95rem; color: rgba(255,255,255,0.5); }
.footer-bottom .legal a:hover { color: var(--gold); }

/* ----- TOAST ----- */
.toast {
  position: fixed; bottom: 40px; right: 40px; background: var(--primary-dark); color: var(--white);
  padding: 20px 32px; border-radius: var(--radius); border-left: 6px solid var(--gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3); transform: translateY(150px); opacity: 0;
  transition: var(--transition); z-index: 9999; font-size: 1.05rem; font-weight: 600;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-close { margin-left: 24px; color: rgba(255,255,255,0.5); font-size: 1.4rem; transition: 0.3s; }
.toast-close:hover { color: var(--white); transform: scale(1.2); }

/* ----- RESPONSIVENESS (FLUID & BULLETPROOF) ----- */

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 3.8rem; }
  .hero-content p { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .origin .container { grid-template-columns: 1fr; text-align: center; }
  .origin .origin-label, .origin h2 { text-align: center; }
  .origin-grid { justify-items: center; text-align: left; }
  .footer .container { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* Dynamic Header Fixes */
  .hide-mobile { display: none !important; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 0; gap: 0; box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform-origin: top; transform: scaleY(0); opacity: 0; transition: var(--transition); pointer-events: none;
  }
  .nav-links.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 20px 24px; border-bottom: 1px solid var(--gray-light); width: 100%; font-size: 1.1rem; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--cream); color: var(--gold-dark); }
  
  .mobile-menu-actions { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--silent-beige); }
  .mobile-menu-actions a { text-align: center; border-radius: 50px; padding: 14px; font-weight: 700; width: 100%; font-size: 1.05rem; }
  .mobile-menu-actions .btn-outline { border: 2px solid var(--primary-dark); color: var(--primary-dark); }
  .mobile-menu-actions .btn-primary { background: var(--gold); color: var(--primary-dark); }

  /* Adjustments */
  .hero h1 { font-size: 3rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  h2 { font-size: 2.5rem; }
  .origin h2 { font-size: 2.5rem; }
  .footer .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .footer h4::after { margin: 12px auto; }
  .footer p { margin: 16px auto 0; }
  .contact-info li { justify-content: center; }
  .footer-bottom .container { flex-direction: column; gap: 20px; }
  .footer-bottom .legal { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-gold, .btn-outline-gold { width: 100%; text-align: center; }
  .shop-header { flex-direction: column; align-items: flex-start; }
  .filter-tabs { width: 100%; }
  .filter-tabs button { flex: 1; text-align: center; padding: 10px 12px; font-size: 0.85rem; }
  #footer-logo {margin-left: 170px; margin-bottom: 20px;}
  /* The auto-fill product grid naturally drops to 1 column here. Let's make sure the image maintains the 70/30 feel */
  .product-img-wrap { aspect-ratio: 1/1; } 
  .product-card h3 { font-size: 1.3rem; }
  .product-card .actions { flex-direction: column; }
  
  .toast { left: 20px; right: 20px; bottom: 20px; padding: 16px 24px; font-size: 0.95rem; }
}


/* Sign-In Page Styling */
.signin-page {
  padding: 100px 20px;
  background: var(--cream);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signin-page .container {
  max-width: 450px;
  width: 100%;
  background: var(--white);
  padding: 50px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  text-align: center;
}

.signin-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.signin-page .sub {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 35px;
}

.signin-page .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.signin-page .form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.signin-page .form-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-light);
  background: var(--cream);
  font-size: 1rem;
  transition: var(--transition);
}

.signin-page .form-group input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
}

.signin-page .btn-signin {
  width: 100%;
  padding: 16px;
  border-radius: 50px;
  background: var(--primary-dark);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  margin-top: 10px;
}

.signin-page .btn-signin:hover {
  background: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.signin-page .signup-link {
  margin-top: 25px;
  font-size: 0.95rem;
  color: var(--gray);
}

.signin-page .signup-link a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* Checkout Form */
.checkout-proceed {
  margin-top: 22px;
  background: var(--gold);
  color: var(--primary-dark);
  padding: 12px 42px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
}

.checkout-proceed:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.checkout-form {
  max-width: 560px;
  margin: 28px auto 0;
  gap: 14px;
}

.checkout-business {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 4px;
}

.checkout-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--primary-dark);
  font-size: 0.98rem;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}

.checkout-form button {
  justify-self: center;
  background: var(--gold);
  color: var(--primary-dark);
  padding: 12px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
}

.checkout-form button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.checkout-form button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

@media (max-width: 600px) {
  .checkout-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .faq-page h1,
  .reviews-page h1,
  .product-detail-content h1,
  .confirmation-card h1 {
    font-size: 2.2rem;
  }

  .review-summary,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .review-summary {
    flex-direction: column;
    text-align: center;
  }

  .product-detail-layout {
    padding: 22px;
  }
}
