/* ==========================================
   SAAJ | Premium Style Sheet
   Colors: Beige, Skin tone, Soft Gold, Taupe
   ========================================== */

/* Variables & Theme Setup */
:root {
  --bg-primary: #FAF6F0;       /* Soft warm ivory / Light Beige */
  --bg-secondary: #F5EDE3;     /* Warm skin tone sand */
  --accent-blush: #EADCD3;     /* Soft peach skin tone */
  --accent-gold: #C89D7C;      /* Soft Rose Gold / Champagne Gold */
  --accent-gold-bright: #D4AF37; /* Bright gold for icons */
  --text-main: #4A3E3D;        /* Deep warm charcoal-taupe */
  --text-muted: #8A7A78;       /* Muted bronze grey */
  --white: #FFFFFF;
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(74, 62, 61, 0.05);
  --shadow-md: 0 8px 24px rgba(74, 62, 61, 0.08);
  --shadow-lg: 0 16px 40px rgba(74, 62, 61, 0.12);
  --radius: 12px;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, .logo {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--text-main);
  border-color: var(--accent-gold);
}

.btn-secondary:hover {
  background-color: var(--accent-blush);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.75rem;
}

.btn-outline {
  border-color: var(--text-main);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--text-main);
  color: var(--bg-primary);
}

.btn-text {
  background: transparent;
  color: var(--text-muted);
  text-decoration: underline;
  padding: 4px 8px;
  border: none;
}

.btn-text:hover {
  color: var(--text-main);
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 62, 61, 0.05);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--text-main);
}

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

.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(250, 246, 240, 0.95) 30%, rgba(250, 246, 240, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hero-content .sub-title {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

/* Section Header Styles */
.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.underline {
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
  margin: 12px auto 20px;
}

.section-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--accent-blush);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* Value Propositions / Features */
.features-section {
  padding: 8rem 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px 24px;
  background-color: var(--bg-primary);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background-color: var(--white);
  border: 1px solid var(--accent-blush);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--accent-gold);
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
}

/* Collections Catalog Grid */
.collections-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.catalog-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.catalog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.catalog-img-wrapper {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.catalog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.catalog-card:hover .catalog-img-wrapper img {
  transform: scale(1.05);
}

.catalog-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--white);
  color: var(--text-main);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.catalog-info {
  padding: 32px;
}

.catalog-info h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.catalog-info p {
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.catalog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--bg-secondary);
  padding-top: 20px;
}

.price-indicator {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-main);
  font-size: 1rem;
}

.inquiry-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.inquiry-link:hover {
  color: var(--text-main);
  gap: 12px;
}

/* Style Quiz Section */
.quiz-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
}

.quiz-box {
  background-color: var(--white);
  padding: 60px 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--accent-blush);
}

.quiz-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.quiz-step.active {
  display: block;
}

.quiz-step h3 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto;
}

.quiz-opt {
  background-color: var(--bg-primary);
  border: 1px solid transparent;
  color: var(--text-main);
  padding: 18px 24px;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: var(--transition);
}

.quiz-opt:hover {
  background-color: var(--accent-blush);
  transform: translateX(4px);
}

.quiz-opt i {
  font-size: 1.25rem;
}

.text-gold {
  color: #D4AF37;
}

.text-silver {
  color: #C0C0C0;
}

/* Quiz Result styles */
.result-card {
  padding: 20px;
}

.result-icon {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.result-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.result-card p {
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.result-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Store Section & Visits */
.store-section {
  padding: 8rem 0;
  background-color: var(--white);
}

.store-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.store-details-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.store-details-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.store-details-list li i {
  font-size: 1.5rem;
  color: var(--accent-gold);
  width: 32px;
  margin-top: 4px;
}

.store-details-list li strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.store-details-list li span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.store-map-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius);
  height: 400px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.map-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(245, 237, 227, 0.9), rgba(245, 237, 227, 0.95)), url('assets/hero.webp');
  background-size: cover;
  text-align: center;
  padding: 32px;
}

.map-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.map-placeholder h3 {
  margin-bottom: 8px;
}

.map-placeholder p {
  margin-bottom: 2rem;
}

/* Footer */
.main-footer {
  background-color: var(--text-main);
  color: var(--bg-primary);
  padding: 6rem 0 2rem;
}

.main-footer h2, .main-footer h3 {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  border-bottom: 1px solid rgba(250, 246, 240, 0.1);
  padding-bottom: 4rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: rgba(250, 246, 240, 0.7);
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(250, 246, 240, 0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--accent-gold);
  color: var(--text-main);
}

.footer-links h3, .footer-contact h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(250, 246, 240, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact p {
  color: rgba(250, 246, 240, 0.7);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent-gold);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.5);
}

/* Floating Elements */
.floating-whatsapp {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  background-color: #20BA5A;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Queries */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .nav-links {
    display: none; /* Mobile menu collapsed */
  }
  .hero-section {
    height: 80vh;
  }
  .hero-content {
    text-align: center;
    padding: 0 10px;
  }
  .hero-btns {
    justify-content: center;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .catalog-img-wrapper {
    height: 300px;
  }
  .store-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.3rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================
   SAAJ | Premium Multi-Page Additions
   ========================================== */

/* Active Nav Links styling */
.nav-links a.active-nav {
  color: var(--accent-gold) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 2px;
}

/* Products Grid & Premium Cards */
.products-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
}
.products-section.alt-bg {
  background-color: var(--bg-secondary);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 3rem;
}
.product-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(74, 62, 61, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blush);
}
.product-img-wrapper {
  position: relative;
  height: 340px;
  overflow: hidden;
}
.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #FAF6F0; /* Merges with image background */
  transition: var(--transition);
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}
.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--text-main);
  color: var(--bg-primary);
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}
.product-badge.loved {
  background-color: var(--accent-gold);
  color: var(--white);
}
.product-content {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-rating {
  color: var(--accent-gold-bright);
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.product-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-main);
}
.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 48px;
  line-height: 1.5;
}
.product-price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  margin-top: auto;
}
.product-price {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-main);
}
.product-price-old {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 300;
}
.product-action {
  margin-top: auto;
}
.product-action .btn {
  width: 100%;
}

/* Filter Tabs Styling (collections.html) */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.filter-tab {
  background-color: var(--white);
  border: 1px solid var(--accent-blush);
  color: var(--text-main);
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
}
.filter-tab:hover, .filter-tab.active {
  background-color: var(--text-main);
  color: var(--bg-primary);
  border-color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* Our Story Page details */
.story-hero {
  position: relative;
  height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-secondary);
  padding-top: 80px;
  overflow: hidden;
}
.story-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}
.story-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 24px;
}
.story-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.story-grid-section {
  padding: 8rem 0;
  background-color: var(--white);
}
.story-grid-two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 6rem;
}
.story-grid-two.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}
.story-grid-two:last-child {
  margin-bottom: 0;
}
.story-image-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--accent-blush);
  height: 450px;
}
.story-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.story-text p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.founder-quote-box {
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--accent-gold);
  padding: 32px 40px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 2.5rem;
}
.founder-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.6;
}
.founder-name {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.story-values {
  padding: 8rem 0;
  background-color: var(--bg-primary);
  text-align: center;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 3.5rem;
}
.value-item {
  background-color: var(--white);
  padding: 48px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(74, 62, 61, 0.03);
  transition: var(--transition);
}
.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blush);
}
.value-item i {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
}
.value-item h4 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-main);
}
.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive updates for new elements */
@media (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-grid-two, .story-grid-two.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-image-card {
    height: 350px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .story-hero {
    height: 35vh;
  }
  .story-hero h1 {
    font-size: 2.4rem;
  }
  .story-grid-section {
    padding: 5rem 0;
  }
  .story-values {
    padding: 5rem 0;
  }
}

/* ==========================================
   SAAJ | Premium Shopping Bag Drawer
   ========================================== */

/* Shopping Bag Header Button */
.bag-btn {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--transition);
  border-radius: 50%;
  border: 1px solid rgba(74, 62, 61, 0.08);
}
.bag-btn:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background-color: var(--white);
}
.bag-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--text-main);
  color: var(--bg-primary);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.bag-btn:hover .bag-badge {
  background-color: var(--accent-gold);
  color: var(--white);
}

/* Bag Drawer Panel */
.bag-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}
.bag-drawer.open {
  right: 0;
}
.bag-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(74, 62, 61, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1900;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.bag-overlay.open {
  display: block;
  opacity: 1;
}

.bag-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--bg-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bag-drawer-header h3 {
  font-size: 1.5rem;
  font-family: var(--font-serif);
}
.close-bag-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.close-bag-btn:hover {
  color: var(--text-main);
  background-color: var(--bg-secondary);
}

.bag-drawer-items {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.empty-bag-message {
  text-align: center;
  color: var(--text-muted);
  margin-top: 60px;
  font-size: 0.95rem;
}

.bag-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(74, 62, 61, 0.05);
}
.bag-item-img {
  width: 74px;
  height: 74px;
  border-radius: 6px;
  overflow: hidden;
  object-fit: cover;
  border: 1px solid var(--bg-secondary);
}
.bag-item-info {
  flex-grow: 1;
}
.bag-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text-main);
}
.bag-item-code {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}
.bag-item-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}
.bag-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.qty-btn {
  background-color: var(--bg-secondary);
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-main);
  transition: var(--transition);
}
.qty-btn:hover {
  background-color: var(--accent-blush);
}
.qty-val {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}
.remove-item-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  margin-left: auto;
  transition: var(--transition);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.remove-item-btn:hover {
  color: #c9302c;
  background-color: #fdf2f2;
}

.bag-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--bg-secondary);
  background-color: var(--bg-primary);
}
.bag-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-main);
}
.btn-checkout {
  width: 100%;
}

/* Add to Bag Notification Bubble */
.add-notify {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--text-main);
  color: var(--bg-primary);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 2500;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.05em;
}
.add-notify.show {
  transform: translateX(-50%) translateY(0);
}
.add-notify i {
  color: var(--accent-gold);
}

@media (max-width: 480px) {
  .bag-drawer {
    width: 100%;
    right: -100%;
  }
}

/* Mobile Hamburger Menu Styles */
.menu-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--text-main);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(74, 62, 61, 0.08);
  transition: var(--transition);
  margin-left: 8px;
}
.menu-toggle-btn:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background-color: var(--white);
}

@media (max-width: 768px) {
  .menu-toggle-btn {
    display: flex;
    margin-left: 0; /* Reset margin-left since .header-actions has gap: 8px */
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    flex-direction: column;
    gap: 0;
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 1px solid rgba(74, 62, 61, 0.05);
    padding: 24px;
    display: flex !important; /* Force flex override */
  }
  
  .nav-links.open {
    left: 0;
  }
  
  .nav-links a {
    font-size: 1.25rem;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid rgba(74, 62, 61, 0.05);
    width: 100%;
    color: var(--text-main);
    display: block;
  }
  
  .nav-links a.active-nav {
    border-bottom: 1px solid var(--accent-gold);
    color: var(--accent-gold) !important;
  }
}

/* ==========================================
   SAAJ | Policy Page Styles
   ========================================== */
.policy-section {
  padding: 8rem 0;
  background-color: var(--white);
}
.policy-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.policy-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 120px;
}
.policy-tab {
  background: var(--bg-primary);
  border: 1px solid var(--accent-blush);
  color: var(--text-main);
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  font-family: var(--font-sans);
  width: 100%;
}
.policy-tab i {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.policy-tab:hover, .policy-tab.active {
  background-color: var(--text-main);
  color: var(--bg-primary);
  border-color: var(--text-main);
  box-shadow: var(--shadow-sm);
}
.policy-tab:hover i, .policy-tab.active i {
  color: var(--accent-gold);
}
.policy-content {
  background-color: var(--bg-primary);
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid rgba(74, 62, 61, 0.04);
  box-shadow: var(--shadow-sm);
  min-height: 500px;
}
.policy-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}
.policy-pane.active {
  display: block;
}
.policy-pane h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  font-family: var(--font-serif);
}
.policy-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.policy-pane h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 12px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 600;
}
.policy-pane p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.policy-pane ul {
  margin-bottom: 1.5rem;
  padding-left: 20px;
  color: var(--text-muted);
}
.policy-pane li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.alert-box-warning {
  background-color: #fff9f0;
  border-left: 4px solid #f0ad4e;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 2rem;
  color: #8a6d3b;
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.5;
}
.alert-box-warning i {
  font-size: 1.25rem;
  margin-top: 2px;
}
.active-footer-link {
  color: var(--accent-gold) !important;
  font-weight: 500;
}

@media (max-width: 991px) {
  .policy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .policy-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .policy-tab {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }
  .policy-content {
    padding: 32px 24px;
  }
}
@media (max-width: 576px) {
  .policy-tab {
    flex: 1 1 100%;
  }
}

/* ==========================================
   SAAJ | Authentication & Profile Styles
   ========================================== */

.auth-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
}

.auth-box {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--accent-blush);
  overflow: hidden;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--accent-blush);
}

.auth-tab-btn {
  flex: 1;
  padding: 20px;
  background-color: var(--bg-secondary);
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab-btn:hover {
  color: var(--text-main);
  background-color: var(--accent-blush);
}

.auth-tab-btn.active {
  background-color: var(--white);
  color: var(--text-main);
  border-bottom: 2px solid var(--accent-gold);
}

.auth-card-body {
  padding: 48px;
}

.auth-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.auth-pane.active {
  display: block;
}

.auth-pane h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-primary);
  border: 1px solid var(--accent-blush);
  border-radius: 6px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 157, 124, 0.15);
}

.auth-submit-btn {
  width: 100%;
  margin-top: 12px;
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.form-error {
  color: #c9302c;
  background-color: #fdf2f2;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.88rem;
  margin-bottom: 20px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-error:not(:empty) {
  display: block;
}

.form-success {
  color: #2b7a4b;
  background-color: #f0fdf4;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.88rem;
  margin-bottom: 20px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-success:not(:empty) {
  display: block;
}

/* Spinner Animation */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
  display: none;
}

.spinner.active {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Header User Profile Dropdown Overlay */
.profile-dropdown {
  position: absolute;
  background-color: var(--white);
  border: 1px solid var(--accent-blush);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 240px;
  z-index: 2100;
  display: none;
  animation: dropdownFadeIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-header {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.dropdown-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.dropdown-email {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-divider {
  height: 1px;
  background-color: var(--bg-secondary);
}

.dropdown-item {
  width: 100%;
  padding: 14px 20px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--bg-primary);
  color: var(--accent-gold);
  padding-left: 24px;
}

.dropdown-item i {
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.dropdown-item:hover i {
  color: var(--accent-gold);
}

/* Responsive auth adjustments */
@media (max-width: 576px) {
  .auth-card-body {
    padding: 32px 20px;
  }
  .auth-section {
    padding: 6rem 0;
  }
}

.forgot-password-link:hover {
  color: var(--text-main) !important;
}










