/* This breaks the header out of the centered 1100px box */
header .container, 
header .container-fluid {
    max-width: 100% !important; 
    width: 100% !important;
    padding: 0 40px !important; /* Adjust this (e.g., 20px) to get even closer to the edge */
    margin: 0 !important;
}

header nav {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* Ensure the left and right groups don't have hidden margins */
.nav-links-left, 
.nav-links-right {
    display: flex;
    gap: 2.5rem;
}

/* --- 1. GLOBAL COLORS (The Warmth) --- */
:root {
  --botanical-green: #4a5d23;
  --soft-cream: #f6f5f0; /* Restored the warm bone/cream color */
  --accent-olive: #8a9a5b;
  --deep-earth: #2d2926;
  --border-light: #dfe6e0;
}

body {
  background-color: var(--soft-cream) !important;
  color: #333;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.7;
}

/* --- 2. HEADER (Grounded Spacing) --- */
/* --- DELETE ALL OTHER HEADER/NAV/CONTAINER-FLUID RULES BEFORE PASTING THIS --- */

/* 1. The Header wrapper remains full width */
header {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* 2. This controls how close to the screen edge they go */
header .container-fluid {
    width: 100% !important;
    max-width: 100% !important; /* Removes the 1400px/1200px "box" constraint */
    padding: 0 40px !important;  /* Controls the exact distance from the glass */
    margin: 0;
    display: flex;
    align-items: center;
}

header nav {
    display: flex !important;
    justify-content: space-between !important; /* Forces the split to the far ends */
    width: 100%;
    align-items: center;
}

/* Ensure these aren't forcing a center alignment */
.nav-links-left, .nav-links-right {
    display: flex;
    gap: 2rem; 
}


header a {
    text-decoration: none;
    color: var(--botanical-green);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}


/* --- 3. MISSION STATEMENT (The Good Card Look) --- */
#mission-statement {
  background: transparent !important; /* Let the cream body show through */
  padding: 100px 0;
}

#mission-statement .container-small {
  background-color: #ffffff; /* The White Card */
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 100px;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03); /* Subtle depth */
}

#mission-statement h2 {
  font-family: Georgia, serif;
  font-style: italic; /* Editorial italic from your 'Good' image */
  font-size: 2.8rem;
  color: var(--botanical-green);
  margin-bottom: 1.5rem;
}

/* Safety lock for headings */
h1, h2 {
    padding-left: 0; /* Aligns with container start */
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--botanical-green);
    font-family: Georgia, serif;
}


#hero-brand {
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* This creates a 50% dark tint over your image */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/hero-lifestyle.jpg');
    background-size: cover;
    background-position: center;
    padding: 0 20px;
}

#hero-brand h1 {
    color: #ffffff !important; /* Pure white for maximum contrast */
    text-shadow: 0 2px 15px rgba(0,0,0,0.6);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

#hero-brand .subtitle {
    color: #f8f6f0 !important; /* Soft botanical cream */
    font-weight: 500;
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}


/* For non-hero titles, use the Deep Earth brown instead of black */
h1, h2, h3 {
  color: #2d2926; 
  font-family: Georgia, serif;
}

.section-subtitle {
  color: #5b534c; /* Warm River Stone grey/brown */
}


/* Ensure the main container behaves on mobile */
main.container {
    padding-top: 20px; /* Space between header and first heading */
    padding-bottom: 40px;
}

/* Feature Grid Refinement */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.feature-item {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #dfe6e0;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}


/* Professional Brand Variables */
:root {
  --botanical-green: #4a5d23;
  --soft-cream: #f8f6f0;
  --accent-olive: #8a9a5b;
  --text-main: #333333;
  --glass-bg: rgba(223, 230, 224, 0.85);
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.7; /* Adds professional white space */
  margin: 0;
  padding: 0;
  background: var(--soft-cream);
  color: var(--text-main);
}

/* Sticky Glass Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px); /* The iOS Frosty Glass look */
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 0.5rem 0;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--botanical-green);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-olive);
}

/* Micro-Animations for Buttons */
button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

button:active {
  transform: scale(0.95); /* Physical feedback on tap */
}


.cart {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
}

/* Premium Add to Cart Button */
.add-to-cart {
  background-color: var(--botanical-green);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 30px; /* Pill shape to match the Home Page CTA */
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 140px; /* Prevents button from jumping size when text changes */
  box-shadow: 0 4px 10px rgba(74, 93, 35, 0.1);
}

.add-to-cart:hover:not(:disabled) {
  background-color: var(--accent-olive);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(74, 93, 35, 0.2);
}

/* The state when the button is clicked/disabled */
.add-to-cart:disabled {
  background-color: #aeb6ad; /* Muted sage gray */
  cursor: default;
  transform: scale(0.98);
  box-shadow: none;
}


/* Cart Page Specific Alignment */
#cart-page {
    padding: 2rem 0;
}

.cart-summary {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #dfe6e0;
    text-align: right; /* Aligns the total and button to the right for a clean look */
}

.total-display {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--botanical-green);
    margin-bottom: 1.5rem;
}

/* Ensure the button stays locked to the right on desktop, centered on mobile */
@media (max-width: 600px) {
    .cart-summary {
        text-align: center;
    }
    #checkout {
        width: 100%; /* Makes button easier to tap on phones */
    }
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #dfe6e0;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.qty-controls input {
  width: 40px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.remove-all-btn {
  background: #c0392b; /* A soft red for removal */
  margin-left: 15px;
}

.remove-all-btn:hover {
  background: #a93226;
}


/* Style for the category links on products.html */
.category-info h3 a {
  text-decoration: none; /* Removes the underline */
  color: #4a5d23;        /* A deeper botanical green */
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.category-info h3 a:hover {
  color: #8a9a5b;        /* Lightens the green when you hover over it */
}

/* Optional: Make the whole category row feel interactive */
.category-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #dfe6e0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.category-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Product Category Banners */
.category-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.category-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #dfe6e0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none; /* In case you use <a> tags */
}

.category-row:hover {
  background-color: #f0f4f1; /* Soft green tint on hover */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Force text to stay Botanical Green */
.category-info h3 {
  color: #4a5d23 !important; /* Deep Green */
  margin: 0 0 0.5rem 0;
  font-family: Georgia, serif;
}

.category-info p {
  color: #555;
  margin: 0;
  font-size: 0.95rem;
}

/* Placeholder for category images */
.category-image {
  width: 100px;
  height: 100px;
  background-color: #dfe6e0;
  border-radius: 8px;
  flex-shrink: 0;
}

.category-row:hover .category-info h3 {
  color: #8a9a5b !important; /* Lighter green on hover */
}


.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This crops the image perfectly into the box */
  display: block;
}

footer {
  background: #dfe6e0;
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
  color: var(--botanical-green);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.footer-section a {
  display: block;
  color: var(--botanical-green);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.8rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1rem;
}


/* Hero Brand Styling */
#hero-brand {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #e9ece6; /* Fallback until you add a lifestyle photo */
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--botanical-green);
  margin-bottom: 1rem;
}

.subtitle {
  font-style: italic;
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Mission Statement Styling */
#mission-statement {
  background: white;
  text-align: center;
  padding: 6rem 2rem;
}

.container-small {
  max-width: 700px;
  margin: 0 auto;
}

.container-small h2 {
  color: var(--botanical-green);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.botanical-divider {
  width: 50px;
  border: none;
  border-top: 2px solid var(--accent-olive);
  margin: 2rem auto;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 6rem;
}

.feature-item h3 {
  color: var(--botanical-green);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Call to Action */
#final-cta {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--soft-cream);
}

.text-link {
  color: var(--botanical-green);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Premium CTA Button */
.cta-button {
  background-color: var(--botanical-green);
  color: white;
  padding: 1.2rem 2.8rem; /* Larger for better tap target on iOS */
  border: none;
  border-radius: 50px; /* Smooth pill shape */
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px; /* Elegant spacing between letters */
  box-shadow: 0 10px 20px rgba(74, 93, 35, 0.15); /* Soft, colored shadow */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  margin-top: 1.5rem;
}

.cta-button:hover {
  background-color: var(--accent-olive);
  transform: translateY(-3px); /* Subtle lift */
  box-shadow: 0 15px 30px rgba(74, 93, 35, 0.25);
}

.cta-button:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(74, 93, 35, 0.2);
}

/* Cart Page Layout */
#cart-items {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid #dfe6e0;
}

/* Quantity Control Styling */
.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-controls input {
  width: 50px;
  padding: 5px;
  border: 1px solid #dfe6e0;
  border-radius: 4px;
  text-align: center;
  font-family: inherit;
}

/* Professional Remove Link */
.remove-all-btn {
  background: none;
  border: none;
  color: #a93226; /* A sophisticated brick red */
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  margin-left: 15px;
  transition: opacity 0.2s ease;
  text-decoration: underline; /* Makes it look like a link */
}

.remove-all-btn:hover {
  opacity: 0.7;
  background: transparent; /* Removes the default button hover we added earlier */
}

/* Professional Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #dfe6e0;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-card h4 {
  color: var(--botanical-green);
  margin: 1rem 0 0.5rem;
  font-family: Georgia, serif;
}

.product-price {
  color: #666;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: block;
}


.purchase-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.qty-input {
  width: 50px;
  padding: 0.8rem 0.5rem;
  border: 1px solid #dfe6e0;
  border-radius: 8px;
  text-align: center;
  font-family: inherit;
  color: var(--botanical-green);
}

/* Remove the little arrows in Chrome/Safari for a cleaner look */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


.purchase-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
}

.qty-btn {
  background: white;
  border: 1px solid #dfe6e0;
  color: var(--botanical-green);
  width: 35px;
  height: 35px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: #f0f2ef;
  border-color: var(--botanical-green);
}

.qty-input {
    width: 50px;
    height: 35px;
    border: 1px solid #dfe6e0;
    border-radius: 6px;
    text-align: center;
    font-family: inherit;
    font-weight: 600;
    /* Clears your editor error and removes arrows */
    -webkit-appearance: none; /* Chrome, Safari, Edge */
    -moz-appearance: textfield; /* Firefox */
    appearance: none; /* Standard property */
}

/* Extra safety for Chrome/Safari arrows */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* The Master Container */
.container {
  max-width: 1100px; /* Limits width on big screens */
  margin: 0 auto;    /* Centers the content */
  padding: 0 2rem;   /* This creates your side margins on mobile */
}

/* Update your Product Row to look better with margins */
.product-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 1px solid #dfe6e0;
  align-items: center;
}

/* Mobile fix: Stack them if the screen is too small */
@media (max-width: 600px) {
  .product-row {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .purchase-controls {
    justify-content: center;
  }
}

/* Natural Variation Disclosure Styling */
.disclosure-banner {
  background-color: #f0f2ef; /* A very soft sage gray-green */
  border-left: 4px solid var(--accent-olive);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  line-height: 1.6;
}

.disclosure-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.disclosure-banner strong {
  color: var(--botanical-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}


.care-instructions {
  background: #fdfdfd;
  border: 1px dashed #dfe6e0;
  padding: 2rem;
  margin-top: 4rem;
  border-radius: 12px;
}

.care-instructions h4 {
  color: var(--botanical-green);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.care-list {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.8;
}


/* Contact Page Specifics */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--botanical-green);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #dfe6e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.submit-btn {
  background-color: var(--botanical-green);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.2s;
}

.submit-btn:hover {
  opacity: 0.9;
}

.info-block {
  margin-bottom: 2.5rem;
}

.info-block h3 {
  font-family: Georgia, serif;
  color: var(--botanical-green);
  margin-bottom: 0.5rem;
}

.info-block p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}


/* 1. Global Margin Control */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* Deep professional margins for all pages */
}

/* 2. Professional Split Header */
header {
    background: rgba(248, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #dfe6e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between; /* Pushes links left and right */
    align-items: center;
}

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

.nav-links-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--botanical-green);
    font-size: 0.85rem; /* Smaller, sophisticated text */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Fix for mobile text cutting off */
@media (max-width: 600px) {
    .container {
        padding: 0 20px; /* Slightly smaller margin on small phones */
    }
    nav a {
        font-size: 0.7rem; /* Shrink text to fit screen */
        letter-spacing: 0.5px;
    }
    .nav-links-left, .nav-links-right {
        gap: 10px;
    }
}


.out-of-stock-btn {
    background-color: #e0e0e0 !important;
    color: #888 !important;
    border-color: #d0d0d0 !important;
    cursor: not-allowed !important;
}

/* Login Page Specifics */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh; /* Centers the card vertically in the viewport */
    padding: 2rem 0;
}

.login-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid #dfe6e0;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.login-card h1 {
    margin-top: 0;
    font-size: 1.8rem;
}

.auth-divider {
    margin: 1.5rem 0;
    position: relative;
    border-bottom: 1px solid #dfe6e0;
}

.auth-divider span {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 10px;
    color: #999;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.social-login-btn {
    width: 100%;
    background: white;
    border: 1px solid #dfe6e0;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #666;
}

.auth-footer a {
    color: var(--botanical-green);
    font-weight: 600;
    text-decoration: none;
}

/* --- 1. THE FOUNDATION LOCK --- */
:root {
  --botanical-green: #4a5d23;
  --soft-cream: #f8f6f0;
  --accent-olive: #8a9a5b;
  --deep-earth: #2d2926;    /* For Titles - High Contrast */
  --river-stone: #5b534c;   /* For Subtitles */
  --glass-bg: rgba(248, 246, 240, 0.95);
  --border-light: #dfe6e0;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    background: var(--soft-cream);
    color: #333;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* Professional side margins */
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
}

/* --- 2. HEADINGS & TEXT --- */
h1, h2, h3 {
    color: var(--deep-earth);
    font-family: Georgia, serif;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--river-stone);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* --- 3. STICKY HEADER --- */
header {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links-left, .nav-links-right {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--botanical-green);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover { color: var(--accent-olive); }

@media (max-width: 600px) {
    nav a { font-size: 0.7rem; letter-spacing: 0.5px; }
    .nav-links-left, .nav-links-right { gap: 10px; }
}

/* --- 4. HERO SECTION --- */
#hero-brand {
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../images/hero-lifestyle.jpg');
    background-size: cover;
    background-position: center;
}

#hero-brand h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.6);
    font-size: 3.5rem;
    margin: 0;
}

#hero-brand .subtitle {
    color: #f8f6f0 !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
    font-style: italic;
    font-size: 1.2rem;
}

/* --- 5. BUTTONS --- */
.cta-button, .add-to-cart {
    background-color: var(--botanical-green);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(74, 93, 35, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover, .add-to-cart:hover {
    background-color: var(--accent-olive);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 93, 35, 0.25);
}

/* --- 6. CARE & FOOTER --- */
.care-instructions {
    background: #fdfdfd;
    border: 1px dashed var(--border-light);
    padding: 2.5rem;
    margin: 4rem 0;
    border-radius: 12px;
}

footer {
    background: var(--border-light);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.8rem;
    opacity: 0.7;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}

#cart-items {
    list-style: none;
    padding: 0;
    max-width: 1000px; /* Keeps the cart from feeling too wide on desktop */
    margin: 2rem auto;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item-info strong {
    font-family: Georgia, serif;
    font-size: 1.2rem;
    color: var(--botanical-green);
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-input {
    width: 50px;
    height: 35px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
}

.cart-item-price {
    font-weight: 600;
    color: var(--text-main);
    min-width: 80px;
    text-align: right;
}

.cart-summary {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem;
    border-top: 2px solid var(--border-light);
    text-align: right; /* Aligns Total and Button to the right */
}

.total-display {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--botanical-green);
    margin-bottom: 1rem;
}

#checkout {
    background-color: var(--botanical-green);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#checkout:hover {
    background-color: var(--accent-olive);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 93, 35, 0.2);
}

/* Container for the buttons and input */
.qty-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Keeps them aligned with the price */
    gap: 0; /* Removes space so they look like one connected unit */
}

/* Style for both + and - buttons */
.qty-btn {
    width: 35px;
    height: 35px;
    background-color: #ffffff;
    border: 1px solid #dfe6e0;
    color: var(--botanical-green);
    font-size: 1.2rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background-color: #f0f2ef;
    color: var(--accent-olive);
}

/* Specific button rounding to "sandwich" the input */
.qty-btn.minus {
    border-radius: 6px 0 0 6px;
}

.qty-btn.plus {
    border-radius: 0 6px 6px 0;
}

/* The Number Input in the middle */
.qty-input {
    width: 45px;
    height: 35px;
    border-top: 1px solid #dfe6e0;
    border-bottom: 1px solid #dfe6e0;
    border-left: none;
    border-right: none;
    text-align: center;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    background: #fff;
    /* Removes the default browser arrows */
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    margin: 0;
}

/* This styles the 'Remove' button next to each item */
/* THE RED ROUNDED REMOVE BUTTON */
.remove-btn {
    all: unset; /* Clears browser defaults */
    display: inline-block;
    background-color: #a93226 !important; /* Deep Botanical Red */
    color: #ffffff !important; /* White Text */
    padding: 8px 16px !important;
    border-radius: 50px !important; /* Fully rounded 'pill' shape */
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(169, 50, 38, 0.2) !important;
}

.remove-btn:hover {
    background-color: #000000 !important; /* Swaps to black on hover */
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Ensure the cart row can fit everything without crowding */
.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Grouping the controls so they stay together on the right */
.cart-controls-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

