/* ==========================================================================
   1. DESIGN TOKENS & SYSTEM VARIABLES (Warm Luxury Cream Theme)
   ========================================================================== */
:root {
  --bg-cream: #F4EBE1;         /* Main soft vanilla layout background */
  --card-bg: #EFE4D8;          /* Container background variant for structural separation */
  --accent-line: #D9C3B0;      /* Warm taupe for clean border lines and frame divides */
  --text-espresso: #3A2312;    /* Deep chocolate espresso color for maximum text legibility */
  --text-muted-gold: #AC7A43;  /* Subdued warm amber gold for section headings */
  --gold-metallic: #946B38;    /* Darker luxury gold variant for actionable link hover profiles */
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
}

/* ==========================================================================
   2. GLOBAL SETTINGS & UTILITIES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-espresso);
  line-height: 1.6;
  position: relative; /* Allows the watermarked letters to layer up underneath safely */
  min-height: 100vh;
}

/* ==========================================================================
   3. STRUCTURAL GLOBAL HEADER NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--bg-cream);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--accent-line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-espresso);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-espresso);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-muted-gold);
}

/* ==========================================================================
   4. INTRODUCTORY HERO SECTIONS
   ========================================================================== */
.hero {
  text-align: center;
  padding: 8rem 2rem;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--accent-line);
}

.hero-sub {
  text-align: center;
  padding: 4rem 2rem 2rem 2rem;
  background: transparent;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.hero h1, .hero-sub h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 3rem;
  color: var(--text-muted-gold);
  margin-bottom: 1rem;
}

.hero p, .hero-sub p {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-espresso);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   5. GENERAL ACTION ELEMENT BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  background-color: var(--text-espresso);
  color: var(--bg-cream);
  padding: 0.9rem 2rem;
  border: 1px solid var(--text-espresso);
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn:hover {
  background-color: transparent;
  color: var(--text-espresso);
}

.btn-gold {
  background-color: var(--text-muted-gold);
  color: #ffffff;
  border-color: var(--text-muted-gold);
}

.btn-gold:hover {
  background-color: var(--gold-metallic);
  border-color: var(--gold-metallic);
}

/* ==========================================================================
   6. TWO-COLUMN GRID ARCHITECTURE SHOP REGION
   ========================================================================== */
.shop-layout-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .shop-layout-container {
    grid-template-columns: 1fr;
  }
}

.shop-sidebar {
  padding-top: 1rem;
}

.filter-group {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 1.5rem;
}

.filter-group h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--text-espresso);
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.filter-item input[type="checkbox"] {
  accent-color: var(--text-espresso);
  cursor: pointer;
}

.shop-section, .featured {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: var(--card-bg);
  padding: 1rem;
  border: none;
  text-align: center;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(58, 35, 18, 0.08);
}

.product-img-wrapper {
  background-color: transparent;
  margin-bottom: 1rem;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-espresso);
}

.price {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted-gold);
  margin-bottom: 1rem;
}

.btn-card {
  width: 100%;
  background-color: var(--text-espresso);
  color: var(--bg-cream);
  border: none;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card:hover {
  background-color: #241408;
}

.load-more-container {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.btn-load-more {
  background-color: transparent;
  color: var(--text-espresso);
  border: 1px solid var(--text-espresso);
  padding: 0.75rem 3rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-load-more:hover {
  background-color: var(--text-espresso);
  color: var(--bg-cream);
}

/* ==========================================================================
   7. EDITORIAL ACCENT DIVISION BLOCKS
   ========================================================================== */
.story-divider {
  background-color: var(--card-bg);
  text-align: center;
  padding: 6rem 2rem;
  border-top: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
}

.story-quote {
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-espresso);
}

.editorial-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.brand-story {
  margin-bottom: 4rem;
}

.editorial-container h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted-gold);
}

.editorial-container p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.cta-banner {
  text-align: center;
  padding: 5rem 2rem;
}

/* ==========================================================================
   8. BRAND FOUNDER SHOWCASE BLOCK
   ========================================================================== */
.founder-note {
  background-color: var(--bg-cream);
  padding: 5rem 2rem;
}

.founder-layout {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .founder-layout {
    flex-direction: row;
    text-align: left;
  }
  .founder-img-wrapper,
  .founder-text {
    flex: 1;
  }
}

.founder-img-wrapper {
  width: 100%;
  max-width: 400px;
}

.founder-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid var(--accent-line);
}

.founder-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.signature {
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-muted-gold);
}

/* ==========================================================================
   9. STRUCTURAL UTILITY FORMS & FIELD SETS
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 1.2rem 0;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--accent-line);
  color: var(--text-espresso);
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 1px;
  border-radius: 0;
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-bottom-color: var(--text-muted-gold);
}

/* ==========================================================================
   10. MODULAR LAYOUT ENHANCEMENTS (CONTACT / NEWSLETTER)
   ========================================================================== */
.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 768px) {
  .contact-container {
    flex-direction: row;
  }
  .contact-form-section {
    flex: 1.5;
  }
  .contact-info {
    flex: 1;
 padding-left: 2rem;
border-left: 1px solid var(--accent-line);
}
}
.contact-container h2 {
font-family: var(--font-serif);
font-size: 1.8rem;
margin-bottom: 2rem;
color: var(--text-muted-gold);
}
.contact-form .btn {
min-width: 180px;
}
.info-block {
margin-bottom: 2rem;
}
.info-label {
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--text-muted-gold);
margin-bottom: 0.25rem;
font-weight: 600;
}
.contact-info a {
color: inherit;
text-decoration: none;
transition: var(--transition);
}
.contact-info a:hover {
color: var(--text-muted-gold);
}
.contact-info address {
font-style: normal;
}
.newsletter {
background-color: var(--card-bg);
padding: 5rem 2rem;
text-align: center;
border-top: 1px solid var(--accent-line);
border-bottom: 1px solid var(--accent-line);
}
.newsletter-content {
max-width: 550px;
margin: 0 auto;
}
.newsletter h2 {
font-family: var(--font-serif);
font-size: 2rem;
margin-bottom: 0.5rem;
color: var(--text-muted-gold);
}
.newsletter p {
margin-bottom: 2rem;
font-size: 0.95rem;
}
.newsletter-form {
display: flex;
flex-direction: column;
gap: 1rem;
}
@media (min-width: 480px) {
.newsletter-form {
flex-direction: row;
}
.newsletter-form input {
flex: 1;
}
}
/* ==========================================================================
11. SITE ROOT FOOTER CODA
========================================================================== */
.site-footer {
background-color: var(--card-bg);
color: var(--text-espresso);
text-align: center;
padding: 4rem 2rem;
border-top: 1px solid var(--accent-line);
}
.footer-logo {
font-family: var(--font-serif);
font-size: 2rem;
margin-bottom: 1.5rem;
letter-spacing: 1px;
color: var(--text-espresso);
}
.footer-links {
list-style: none;
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 2rem;
flex-wrap: wrap;
}
.footer-links a {
text-decoration: none;
color: var(--text-espresso);
font-size: 0.9rem;
opacity: 0.8;
transition: var(--transition);
}
.footer-links a:hover {
color: var(--text-muted-gold);
opacity: 1;
}
.copyright {
font-size: 0.8rem;
opacity: 0.5;
letter-spacing: 0.5px;
}

/* ==========================================================================
   12. EDITORIAL WATERMARK & BRAND FLOURISH SECTION
   ========================================================================== */
.editorial-watermark-section {
  position: relative;
  background-color: var(--bg-cream); /* Smoothly flows into the site canvas background */
  padding: 8rem 2rem;
  text-align: center;
  overflow: hidden; /* Keeps the massive floating letters from spilling offscreen */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The giant translucent cursive logo accent floating behind text */
.watermark-flourish-backdrop {
  position: absolute;
  right: 5%; /* Aligned beautifully to the right side just like the mockup layout */
  bottom: -10%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28rem; /* Extremely massive visual weight scale look */
  font-weight: 700;
  color: var(--text-muted-gold);
  opacity: 0.07; /* Barely visible, translucent luxury watermark tracing */
  pointer-events: none; /* Prevents users from accidentally selecting it as text */
  user-select: none;
  line-height: 1;
}

/* Adjust size down nicely for smaller desktop viewports or mobile viewports */
@media (max-width: 768px) {
  .watermark-flourish-backdrop {
    font-size: 16rem;
    right: -10%;
    bottom: 0;
  }
}

.editorial-quote-content {
  position: relative;
  z-index: 2; /* Forces the quote text to always stay layered safely above the watermark */
  max-width: 700px;
  margin: 0 auto;
}

.sensory-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--text-espresso);
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

/* Decorative vintage center divider */
.flourish-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 250px;
  margin: 0 auto;
  opacity: 0.5;
}

.flourish-divider .line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--text-espresso);
}

.flourish-divider .diamond {
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--text-espresso);
  transform: rotate(45deg); /* Turns a simple block into an elegant diamond accent */
}

/* ==========================================================================
   13. FIXED CANVAS WATERMARK SIGNATURE (Restored Text Monogram)
   ========================================================================== */
body::before {
  content: 'LE';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 40vw;
  
  color: var(--text-muted-gold);
  opacity: 0.05;
  
  letter-spacing: -10px;
  line-height: 1;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}
