/*
Theme Name: Studio Theme V4
Theme URI: https://clockworkstudio.shop
Author: Clockwork Studio
Description: Alternate premium Clockwork Studio WooCommerce theme, version 4, with homepage CTA routing and refined product/detail cleanup.
Version: 4.0.1
Text Domain: studio-theme-v4
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Primary */
  --color-sienna: #a3573a;
  --color-sienna-dark: #8a4831;
  --color-sienna-light: #c4785c;
  /* Neutrals */
  --color-cream: #fff4f1;
  --color-warm-white: #fefbf9;
  --color-sand: #f0e4da;
  --color-stone: #e0d0c5;
  /* Text */
  --color-text-dark: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-text-on-sienna: #ffffff;
  /* Status */
  --color-success: #4a7c59;
  --color-warning: #d4a037;
  --color-error: #c0392b;
  --color-info: #3a7ca5;
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  /* Layout */
  --max-width: 1200px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0,0,0,0.05);
  --shadow-hover: 0 15px 40px rgba(0,0,0,0.08);
  /* Fonts */
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  /* Transitions */
  --ease: 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-text-dark);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: var(--color-sienna); text-decoration: none; transition: opacity var(--ease); }
a:hover { opacity: 0.8; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-sienna);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin-bottom: var(--space-sm); }

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--space-xl) 0; }

/* Section Themes */
.section-cream { background-color: var(--color-cream); color: var(--color-text-dark); }
.section-sand { background-color: var(--color-sand); color: var(--color-text-dark); }
.section-sienna { background-color: var(--color-sienna); color: #ffffff; }
.section-sienna h2, .section-sienna p { color: #ffffff; }
.section-sienna .section-header::after { background: #ffffff; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block; padding: 14px 32px;
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: all var(--ease); text-align: center;
}
.btn-primary { background: var(--color-sienna); color: var(--color-text-on-sienna); }
.btn-primary:hover { background: var(--color-sienna-dark); color: #fff; opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--color-sienna); border: 2px solid var(--color-sienna); }
.btn-outline:hover { background: var(--color-sienna); color: #fff; opacity: 1; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,244,241,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(163,87,58,0.2);
  padding: 1rem 0;
}
.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  gap: var(--space-md);
}
.site-brand { 
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem; 
  font-weight: 800; 
  color: var(--color-sienna); 
  letter-spacing: -0.5px;
}
.site-brand .brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}
.site-brand span { font-weight: 800; }

.primary-nav { 
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
.primary-nav ul { display: flex; gap: var(--space-lg); }
.primary-nav a {
  font-size: 0.85rem; font-weight: 600; color: var(--color-text-dark);
  letter-spacing: 0.5px; padding: 8px 0;
  position: relative;
  transition: color var(--ease);
}
.primary-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--color-sienna); transition: width var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.active::after { width: 100%; }
.primary-nav a:hover { opacity: 1; color: var(--color-sienna); }

/* Header Actions */
.header-actions { 
  display: flex; 
  align-items: center; 
  gap: var(--space-md); 
}

.header-search-toggle {
  background: none; border: none; padding: 0.5rem; cursor: pointer;
  color: var(--color-text-dark); display: flex; align-items: center;
  border-radius: 50%;
  transition: background var(--ease), color var(--ease);
}

.header-search-toggle:hover { background: rgba(0,0,0,0.05); color: var(--color-text-dark); }

.header-search-toggle .material-symbols-outlined { font-size: 24px; }

.header-cart { 
  position: relative; 
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-sienna);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--ease);
  box-shadow: 0 4px 6px -1px rgba(163,87,58,0.2);
}
.header-cart:hover {
  background: var(--color-sienna-dark);
  color: var(--color-text-on-sienna);
}
.header-cart .material-symbols-outlined { font-size: 20px; }
.cart-label { margin-right: -2px; }
.cart-count { margin-left: 0; }

/* Search Overlay */
.search-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--color-cream); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.4s var(--ease);
  backdrop-filter: blur(15px);
  padding: 2rem;
}
.search-overlay.active { opacity: 1; visibility: visible; }

.search-overlay .search-form { width: 100%; position: relative; }
.search-overlay .search-field {
  width: 100%; background: none; border: none; border-bottom: 2px solid var(--color-stone);
  padding: 1rem 3rem 1rem 0; font-family: var(--font-heading); font-size: 1.5rem;
  font-weight: 600; color: var(--color-text-dark); outline: none; transition: border-color var(--ease);
}
.search-overlay .search-field:focus { border-color: var(--color-sienna); }

.search-overlay .search-submit {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--color-text-light); transition: color var(--ease);
}
.search-overlay .search-submit:hover { color: var(--color-sienna); }
.search-overlay .search-submit svg { width: 30px; height: 30px; }

.search-close {
  position: absolute; top: var(--space-lg); right: var(--space-lg);
  background: none; border: none; font-size: 2.5rem; color: var(--color-text-light);
  cursor: pointer; transition: color var(--ease); line-height: 1;
}
.search-close:hover { color: var(--color-sienna); }

/* Mobile Menu */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--color-text-dark);
  margin: 5px 0; transition: all var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero-section {
  position: relative; height: 85vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background-color: var(--color-stone);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  margin-top: -85px; /* Offset for sticky header if needed, but header is sticky. Let's keep it simple. */
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.15); /* Subtler overlay for gallery wall */
  z-index: 2;
}
.hero-content {
  position: relative; z-index: 3; text-align: center;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  padding: clamp(3rem, 5vw, 5rem);
  width: 90%; max-width: 700px; border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1); animation: fadeInUp 1s ease;
}
.hero-logo { width: 120px; margin: 0 auto var(--space-md); }
.hero-title {
  font-family: var(--font-heading); font-weight: 700; font-size: 3.5rem;
  color: #2c2c2c; letter-spacing: -1px; margin-bottom: 0.25rem;
  line-height: 1.1;
}
.hero-tagline {
  font-family: var(--font-heading); font-weight: 400; font-size: 1.1rem;
  color: var(--color-text-light); margin-bottom: var(--space-lg);
  max-width: 600px; margin-left: auto; margin-right: auto;
  line-height: 1.6;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-header { text-align: center; margin-bottom: var(--space-lg); }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--color-text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-header::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--color-sienna); margin: var(--space-sm) auto 0; border-radius: 2px;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
/* Global WooCommerce Product List */
.woocommerce ul.products {
  display: grid !important; 
  grid-template-columns: repeat(4, 1fr) !important;
  gap: var(--space-md) !important; 
  list-style: none !important; 
  margin: 0 auto !important; 
  padding: 0 !important;
  max-width: 1200px !important; /* Cap width for better balance */
  width: 100% !important;
}

@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}

.woocommerce ul.products li.product {
  width: 100% !important; margin: 0 !important; float: none !important;
  transition: transform var(--ease); background: #fff; padding: 1.5rem; border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid rgba(163,87,58,0.05);
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }

/* Global Gallery Frame for all Product Images */
.product-card img,
.product-card-img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.woocommerce ul.products li.product a img {
  width: 100% !important;
  display: block;
  aspect-ratio: 4/5 !important;
  object-fit: cover !important;
  border-radius: 2px !important;
  background: #fdfdfd;
  padding: 0;
  border: none;
  box-shadow: none;
  margin-bottom: 0 !important;
  transition: all var(--ease) !important;
}

/* Advanced Orientation Framing */
.woocommerce ul.products li.product.is-landscape .product-card-img,
.product-card.is-landscape .product-card-img {
  aspect-ratio: 1.4 / 1 !important;
  object-fit: contain !important;
  background: #fff;
}

.woocommerce ul.products li.product.is-portrait .product-card-img,
.product-card.is-portrait .product-card-img {
  aspect-ratio: 1 / 1.4 !important;
  object-fit: contain !important;
  background: #fff;
}

.product-card:hover img,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link img {
  border-color: var(--color-stone) !important;
  box-shadow: inset 0 0 15px rgba(163,87,58,0.05) !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}
.product-card, .woocommerce ul.products li.product {
  background: var(--color-warm-white) !important; border-radius: 0 !important;
  overflow: hidden !important; transition: all var(--ease) !important; border: none !important;
  width: 100% !important; margin: 0 !important; /* Fixed: Changed from auto to 100% to fill grid cell */
  float: none !important; clear: none !important; box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
  display: flex !important; flex-direction: column !important; /* Ensure content stacks correctly */
  position: relative !important; text-align: center !important;
  opacity: 1 !important; /* Guarantee product cards are always visible */
}
a.product-card {
  opacity: 1 !important;
  color: inherit;
}
.product-card.fade-in {
  opacity: 1 !important;
  transform: none !important;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block !important; width: 100% !important; height: 100% !important;
}
.product-card:hover, .woocommerce ul.products li.product:hover, a.product-card:hover {
  transform: translateY(-5px) !important; box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important; border-color: transparent !important;
  opacity: 1 !important; /* Override general a:hover opacity */
}
.product-card-body { padding: 1.2rem; }
.product-card-title, .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.9rem !important; 
  font-weight: 600 !important; 
  color: var(--color-text-dark) !important; 
  margin: 1rem auto 0.3rem !important;
  padding: 0 !important; 
  text-align: center !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  width: 100% !important;
}
.woocommerce-loop-product__title img.emoji, .product-card-title img.emoji {
  height: 1.1em !important;
  width: 1.1em !important;
  margin: 0 0.2em !important;
  vertical-align: middle !important;
  display: inline-block !important;
}
.product-card-price, .woocommerce ul.products li.product .price {
  color: var(--color-sienna) !important; 
  font-weight: 500 !important; 
  font-size: 0.9rem !important; 
  padding: 0 !important; 
  margin: 0 auto 1.5rem !important;
  text-align: center !important;
  width: 100% !important;
}
.product-card-price del, .woocommerce ul.products li.product .price del { color: var(--color-text-light) !important; font-weight: 400 !important; font-size: 0.85rem !important; display: inline-block !important; }
.woocommerce ul.products li.product .button { display: none !important; }
.woocommerce span.onsale {
  top: 10px !important; right: 10px !important; left: auto !important; border-radius: 4px !important;
  background: var(--color-sienna) !important; color: white !important; font-weight: 600 !important;
  font-size: 0.8rem !important; padding: 6px 12px !important; min-height: auto !important; min-width: auto !important;
  line-height: 1 !important; z-index: 10 !important; position: absolute !important;
}

/* Category Pills */
.category-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-md); justify-content: center; }
.category-pill {
  padding: 8px 20px; border: 1px solid var(--color-stone); border-radius: 50px;
  font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
  color: var(--color-text-dark); background: var(--color-warm-white);
  transition: all var(--ease); cursor: pointer;
}
.category-pill:hover, .category-pill.active {
  background: var(--color-sienna); color: #fff; border-color: var(--color-sienna); opacity: 1;
}

/* ============================================
   HOW IT WORKS (DUAL PATH)
   ============================================ */
.how-it-works { background: var(--color-warm-white); }

.dual-path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Improved for mobile (320px devices) */
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 4rem;
}

.path-column {
  background: #ffffff;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform var(--ease);
  display: flex;
  flex-direction: column;
  padding-bottom: 3.5rem; /* Reduced padding for tighter feel */
}

.path-column:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.path-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.path-icon { font-size: 1.2rem; margin-bottom: var(--space-xs); color: var(--color-sienna); }
.path-column h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #2c2c2c; }
.path-subtitle {
  color: var(--color-text-light);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 600;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  padding: 8px 12px;
  background: var(--color-sand);
  color: var(--color-sienna);
  border-radius: 50px;
  font-weight: 700;
  line-height: 1;
}

.step-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
  color: #2c2c2c;
  font-weight: 700;
}

.step-info p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   JOIN THE SANCTUARY (NEWSLETTER)
   ============================================ */
.newsletter-section {
  background-color: var(--color-sienna);
  color: #ffffff;
  padding: var(--space-xl) 0;
  text-align: center;
}
.newsletter-section h2 { color: #ffffff; margin-bottom: 1rem; }
.newsletter-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2.5rem auto; font-size: 1rem; }
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.newsletter-form input[type="email"] {
  flex-grow: 1;
  padding: 18px 25px;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { outline: none; background: rgba(255,255,255,0.2); }
.newsletter-form button {
  padding: 0 35px;
  background: #ffffff;
  color: var(--color-sienna);
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--ease);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.newsletter-form button:hover { background: var(--color-sand); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-md); }
.testimonial-card {
  background: var(--color-warm-white); padding: var(--space-md);
  border-radius: var(--radius); border-left: 3px solid var(--color-sienna);
  position: relative;
}
.testimonial-card blockquote { font-style: italic; color: var(--color-text-dark); font-size: 1rem; line-height: 1.8; margin-bottom: var(--space-sm); }
.testimonial-card blockquote::before { content: '"'; font-size: 3rem; color: var(--color-sienna-light); position: absolute; top: 10px; left: 15px; opacity: 0.3; }
.testimonial-author { font-weight: 600; color: var(--color-sienna); font-size: 0.9rem; }

/* ============================================
   ABOUT PAGE — TEAM
   ============================================ */
.brand-story-content { max-width: 900px; margin: 0 auto; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
  padding: var(--space-md);
}
.team-card-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-md);
  border: 3px solid var(--color-sienna);
  box-shadow: 0 4px 15px rgba(163,87,58,0.15);
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-sienna);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
.team-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text);
}

/* ============================================
   SINGLE PRODUCT
   ============================================*/
.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: start; }
/* Product Gallery */
.product-gallery { display: flex; flex-direction: column; gap: var(--space-md); }
.product-gallery > img, #product-main-image { 
  border-radius: 2px; 
  overflow: hidden; 
  width: 100%; 
  display: block; 
  object-fit: contain;
  background: #fff;
  padding: 20px;
  border: 1px solid var(--color-stone);
  box-shadow: inset 0 0 15px rgba(0,0,0,0.02), 0 5px 15px rgba(0,0,0,0.03);
  max-height: 700px;
}
.product-thumbnails { display: flex; gap: var(--space-sm); overflow-x: auto; padding-bottom: 5px; }
.product-thumbnails img {
  width: 80px; height: 80px; flex-shrink: 0; border-radius: var(--radius);
  overflow: hidden; border: 2px solid transparent; opacity: 0.6;
  transition: all var(--ease); cursor: pointer; object-fit: cover;
}
.product-thumbnails img:hover, .product-thumbnails img.active { opacity: 1; border-color: var(--color-sienna); }
.product-info .price { font-size: 1.8rem; color: var(--color-sienna); font-weight: 700; margin-bottom: var(--space-md); }
.product-info .price del { color: var(--color-text-light); font-size: 1.2rem; font-weight: 400; }
.product-info .price ins { text-decoration: none; }
.product-meta-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: var(--color-text-light); margin-bottom: 0.3rem; }

/* Image Upload Field */
.image-upload-field {
  background: linear-gradient(135deg, var(--color-sand), var(--color-cream));
  border: 2px solid var(--color-sienna);
  border-radius: calc(var(--radius) * 1.5);
  padding: calc(var(--space-md) * 1.2) var(--space-md);
  margin: var(--space-md) 0;
  position: relative;
  overflow: hidden;
}
.image-upload-field::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--color-sienna);
}
.image-upload-field .field-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-sienna);
  margin: 0 0 0.3rem 0;
}
.image-upload-field .helper-text {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.5;
}
.image-upload-field .field-input-group {
  position: relative;
}
.image-upload-field input[type="url"],
.image-upload-field input[type="text"] {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid var(--color-stone);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem;
  transition: all var(--ease); background: #fff;
  box-shadow: 0 2px 8px rgba(163,87,58,0.08);
}
.image-upload-field input:focus {
  outline: none;
  border-color: var(--color-sienna);
  box-shadow: 0 0 0 4px rgba(163,87,58,0.12);
}

/* WooCommerce Product Addons & Custom Product Fields */
.single-product .cart input[type="text"],
.single-product .cart textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-stone);
  border-radius: var(--radius);
  background: #fff;
  margin-top: 6px;
  margin-bottom: 14px;
  transition: all var(--ease);
}

.single-product .cart input[type="text"]:focus,
.single-product .cart textarea:focus {
  outline: none;
  border-color: var(--color-sienna);
  box-shadow: 0 0 0 3px rgba(163,87,58,0.12);
}

.single-product .cart input[type="file"] {
  display: block;
  margin: 8px 0 16px 0;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.single-product .cart input[type="file"]::file-selector-button {
  background: var(--color-sienna);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  margin-right: 12px;
  transition: background var(--ease);
}

.single-product .cart input[type="file"]::file-selector-button:hover {
  background: var(--color-sienna-dark);
}

/* Quantity Selector */
.quantity-selector { display: flex; align-items: center; gap: 0; border: 1px solid var(--color-stone); border-radius: var(--radius); overflow: hidden; width: fit-content; margin-bottom: var(--space-md); }
.quantity-selector button {
  width: 40px; height: 40px; border: none; background: var(--color-sand);
  font-size: 1.2rem; cursor: pointer; transition: background var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.quantity-selector button:hover { background: var(--color-stone); }
.quantity-selector input {
  width: 50px; height: 40px; text-align: center; border: none;
  border-left: 1px solid var(--color-stone); border-right: 1px solid var(--color-stone);
  font-family: var(--font); font-size: 1rem; font-weight: 600;
}
.quantity-selector input:focus { outline: none; }

/* Pet Type Select — Button Swatches */
.pet-type-select { margin-bottom: var(--space-md); }
.pet-type-select > label {
  display: block;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
  font-weight: 600; color: var(--color-text-light); margin-bottom: 0.5rem;
}
/* Hide native select on desktop where we use JS swatches */
.pet-type-buttons {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.pet-type-btn {
  padding: 10px 20px;
  border: 1.5px solid var(--color-stone);
  border-radius: 50px;
  background: #fff;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer; transition: all var(--ease);
  line-height: 1;
}
.pet-type-btn:hover {
  border-color: var(--color-sienna);
  color: var(--color-sienna);
}
.pet-type-btn.active {
  background: var(--color-sienna);
  border-color: var(--color-sienna);
  color: #fff;
}
/* Keep native select for mobile / form submission */
.pet-type-select select {
  display: none; /* hidden; value is synced by JS */
}

/* Related Products */
.related-products { margin-top: 0; }

/* Products Grid — 4-column layout for related products only.
   On the homepage, .products-grid wraps WooCommerce's own ul.products grid,
   so we must NOT apply grid here or it creates a nested grid conflict. */
.related-products .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Product Description Section (Sand band) */
.product-description-section {
  padding: var(--space-lg) 0;
}
.product-details-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.product-details-accordion .faq-item {
  border-bottom: 1px solid var(--color-stone);
}
.product-details-accordion .faq-item:first-child {
  border-top: 1px solid var(--color-stone);
}
.product-details-accordion .faq-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.product-details-accordion .faq-answer-inner {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-dark);
}
.product-details-accordion .faq-answer-inner > *:last-child {
  margin-bottom: 0;
}
.product-size-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin: var(--space-sm) 0;
}
.product-size-grid h4,
.product-faq-entry h4 {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  margin-bottom: 0.45rem;
}
.product-detail-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.75rem 0 1rem;
}
.product-detail-list li {
  margin-bottom: 0.4rem;
  color: var(--color-text-light);
}
.product-detail-steps {
  padding-left: 1.2rem;
  margin: 0.75rem 0 1rem;
}
.product-detail-steps li {
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
}
.product-faq-entry + .product-faq-entry {
  margin-top: 1.15rem;
}

/* Product Meta (inside accordion) */
.product-meta {
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.product-meta p {
  margin: 0.4rem 0;
}

/* ============================================
   CART
   ============================================ */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left; padding: var(--space-sm); border-bottom: 2px solid var(--color-stone);
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-light);
}
.cart-table td { padding: var(--space-sm); border-bottom: 1px solid var(--color-sand); vertical-align: middle; }
.cart-item-image { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); }
.cart-item-name { font-weight: 600; }
.cart-item-remove {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--color-stone);
  background: none; cursor: pointer; font-size: 1rem; color: var(--color-text-light);
  display: flex; align-items: center; justify-content: center; transition: all var(--ease);
}
.cart-item-remove:hover { background: var(--color-error); color: #fff; border-color: var(--color-error); }

/* Cart Layout */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-lg); align-items: start; }
.cart-summary {
  background: var(--color-warm-white); padding: var(--space-md); border-radius: var(--radius);
  border: 1px solid var(--color-stone); position: sticky; top: 100px;
}
.cart-summary h3 { margin-bottom: var(--space-md); }
.cart-summary-row { display: flex; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid var(--color-sand); font-size: 0.95rem; }
.cart-summary-row.total { font-weight: 700; font-size: 1.2rem; color: var(--color-sienna); border-top: 2px solid var(--color-stone); border-bottom: none; margin-top: var(--space-sm); padding-top: var(--space-sm); }
.coupon-input { display: flex; gap: 0.5rem; margin: var(--space-md) 0; }
.coupon-input input { flex: 1; padding: 10px 14px; border: 1px solid var(--color-stone); border-radius: var(--radius); font-family: var(--font); }
.coupon-input input:focus { outline: none; border-color: var(--color-sienna); }

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: var(--space-lg); align-items: start; }
.checkout-section { background: var(--color-warm-white); padding: var(--space-md); border-radius: var(--radius); margin-bottom: var(--space-md); }
.checkout-section h3 { margin-bottom: var(--space-md); color: var(--color-text-dark); }
.form-row { margin-bottom: var(--space-sm); }
.form-row label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--color-text-dark); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--color-stone); border-radius: var(--radius);
  font-family: var(--font); font-size: 0.95rem; background: #fff; transition: border-color var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--color-sienna); box-shadow: 0 0 0 3px rgba(163,87,58,0.1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

/* Order Review */
.order-review { background: var(--color-warm-white); padding: var(--space-md); border-radius: var(--radius); border: 1px solid var(--color-stone); position: sticky; top: 100px; }
.order-review-item { display: flex; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid var(--color-sand); }

/* ============================================
   MY ACCOUNT / DASHBOARD
   ============================================ */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-lg); }
.dashboard-nav { background: var(--color-warm-white); border-radius: var(--radius); padding: var(--space-sm); }
.dashboard-nav a {
  display: block; padding: 12px 16px; border-radius: var(--radius);
  font-weight: 500; color: var(--color-text-dark); transition: all var(--ease);
}
.dashboard-nav a:hover, .dashboard-nav a.active { background: var(--color-sand); color: var(--color-sienna); opacity: 1; }

/* Order Status Badges */
.status-badge {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.status-processing { background: #e8f0fe; color: var(--color-info); }
.status-completed { background: #e8f5e9; color: var(--color-success); }
.status-on-hold { background: #fff8e1; color: var(--color-warning); }
.status-cancelled, .status-failed { background: #fde8e8; color: var(--color-error); }
.status-pending { background: var(--color-sand); color: var(--color-text-light); }

/* Orders Table */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { text-align: left; padding: var(--space-sm); border-bottom: 2px solid var(--color-stone); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-light); }
.orders-table td { padding: var(--space-sm); border-bottom: 1px solid var(--color-sand); }
.orders-table tr:hover { background: var(--color-sand); }

/* ============================================
   ABOUT / CONTACT / FAQ
   ============================================ */
.about-hero { text-align: center; padding: var(--space-xl) 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; margin-bottom: var(--space-xl); }
.about-grid img { border-radius: var(--radius); }
.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }

.contact-form { max-width: 600px; margin: 0 auto; }
.contact-form .btn { width: 100%; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--color-stone); }
.faq-question {
  width: 100%; padding: var(--space-md) 0; background: none; border: none;
  font-family: var(--font); font-size: 1.05rem; font-weight: 600;
  color: var(--color-text-dark); text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--color-sienna); transition: transform var(--ease); }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 0 var(--space-md); color: var(--color-text-light); line-height: 1.8; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--color-sand); padding: var(--space-xl) 0 var(--space-md); margin-top: var(--space-xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.footer-brand { font-size: 1.3rem; font-weight: 700; color: var(--color-sienna); margin-bottom: var(--space-sm); }
.footer-desc { color: var(--color-text-light); font-size: 0.9rem; line-height: 1.7; }
.footer-contact-block { margin-top: 1.25rem; font-size: 0.85rem; line-height: 1.6; color: var(--color-text-light); }
.footer-contact-block strong { color: var(--color-text-dark); font-weight: 600; }
.footer-contact-block a { color: var(--color-sienna); text-decoration: underline; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--color-text-dark); margin-bottom: var(--space-sm); }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--color-text-light); font-size: 0.9rem; }
.footer-col a:hover { color: var(--color-sienna); opacity: 1; }
/* Contact Info Card on Contact Page */
.contact-info-card { background: #ffffff; border: 1px solid var(--color-stone); border-radius: 12px; box-shadow: var(--shadow); }
.contact-info-card a { color: var(--color-sienna); text-decoration: underline; }
/* Shop Filters (Pills) */
.shop-filters { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-lg); padding-bottom: var(--space-xs); }
.shop-filters a {
  padding: 8px 16px; border-radius: 50px; background: #fff; border: 1px solid var(--color-stone);
  font-size: 0.9rem; font-weight: 500; color: var(--color-text-dark); transition: all var(--ease); white-space: nowrap;
}
.footer-social { display: flex; gap: var(--space-sm); margin-top: var(--space-sm); }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; background: var(--color-stone);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-dark); transition: all var(--ease);
}
.footer-social a:hover { background: var(--color-sienna); color: #fff; opacity: 1; }
.footer-bottom { text-align: center; padding-top: var(--space-md); border-top: 1px solid var(--color-stone); color: var(--color-text-light); font-size: 0.85rem; }
.footer-bottom a { color: var(--color-text-light); text-decoration: none; }
.footer-bottom a:hover { color: var(--color-sienna); text-decoration: underline; }
.footer-legal-sep { margin: 0 0.5rem; color: var(--color-text-light); }

/* ============================================
   404 PAGE
   ============================================ */
.page-404 { text-align: center; padding: var(--space-xl) 0; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page-404 h1 { font-size: 8rem; margin-bottom: 0; line-height: 1; }
.page-404 p { font-size: 1.2rem; color: var(--color-text-light); margin-bottom: var(--space-md); }

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs { padding: var(--space-sm) 0; font-size: 0.85rem; color: var(--color-text-light); }
.breadcrumbs a { color: var(--color-text-light); }
.breadcrumbs a:hover { color: var(--color-sienna); }
.breadcrumbs .separator { margin: 0 0.5rem; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: var(--space-lg); }
.pagination a, .pagination span {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-stone); border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; transition: all var(--ease);
}
.pagination a:hover, .pagination .current { background: var(--color-sienna); color: #fff; border-color: var(--color-sienna); opacity: 1; }

/* ============================================
   ALERTS / NOTICES
   ============================================ */
.woocommerce-message, .alert-success { background: #e8f5e9; border-left: 4px solid var(--color-success); padding: var(--space-sm) var(--space-md); border-radius: var(--radius); margin-bottom: var(--space-md); color: var(--color-success); }
.woocommerce-error, .alert-error { background: #fde8e8; border-left: 4px solid var(--color-error); padding: var(--space-sm) var(--space-md); border-radius: var(--radius); margin-bottom: var(--space-md); color: var(--color-error); }
.woocommerce-info, .alert-info { background: #e8f0fe; border-left: 4px solid var(--color-info); padding: var(--space-sm) var(--space-md); border-radius: var(--radius); margin-bottom: var(--space-md); color: var(--color-info); }

/* ============================================
   ADD-TO-CART CONFIRMATION
   ============================================ */
.cart-confirm {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  background: var(--color-success); color: #fff; padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius); box-shadow: var(--shadow-hover);
  transform: translateX(120%); transition: transform 0.4s ease;
}
.cart-confirm.show { transform: translateX(0); }

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-page { padding: var(--space-xl) 0; }

.page-hero { padding: var(--space-xl) 0 var(--space-lg); }
.page-hero h1 { font-size: 2.8rem; margin-bottom: 0.75rem; }
.page-hero .hero-subtitle {
  font-size: 1.1rem; color: var(--color-text-light);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

.faq-layout { display: flex; flex-direction: column; gap: var(--space-xl); max-width: 780px; margin: 0 auto; }

.faq-category { border-top: 2px solid var(--color-sienna); padding-top: var(--space-md); }

.faq-cat-title {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700;
  color: var(--color-sienna);
  margin-bottom: var(--space-md);
}

.faq-item { border-bottom: 1px solid var(--color-sand); }

.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md) 0;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  color: var(--color-text-dark); text-align: left;
  transition: color var(--ease);
}
.faq-question:hover { color: var(--color-sienna); }

.faq-icon {
  font-size: 1.5rem; font-weight: 300;
  color: var(--color-sienna); flex-shrink: 0;
  transition: transform var(--ease);
  line-height: 1;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: var(--space-md); }

.faq-answer p {
  font-size: 0.95rem; color: var(--color-text-light); line-height: 1.8;
  margin: 0;
}
.faq-answer a { color: var(--color-sienna); text-decoration: underline; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .product-single { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-size-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .primary-nav { 
    position: fixed; 
    top: 0; 
    right: 0; 
    width: 280px; 
    height: 100vh; 
    background: var(--color-cream); 
    padding: 5rem var(--space-md) var(--space-md); 
    transform: translateX(100%);
    transition: transform var(--ease); 
    z-index: 999; 
    box-shadow: -5px 0 20px rgba(0,0,0,0.1); 
  }
  .primary-nav.active { 
    transform: translateX(0); 
  }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: var(--space-sm) 0; font-size: 1rem; display: block; border-bottom: 1px solid var(--color-sand); }
  .menu-toggle { display: block; z-index: 1001; }
  .header-inner { gap: var(--space-sm); }
  .header-actions { gap: var(--space-sm); }
  .hero-section { height: 70vh; min-height: 450px; }
  .hero-content { padding: 2rem; margin: 0 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card:not(:last-child)::after { display: none; }
  .about-grid, .about-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .products-grid, ul.products { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
}
@media (max-width: 480px) {
  .header-inner { gap: 0.35rem; }
  .header-actions { gap: 0.25rem; }
  .site-brand { font-size: 1.05rem; gap: 0.35rem; }
  .site-brand .brand-logo { height: 26px; }
  .header-cart { padding: 0.4rem 0.65rem; font-size: 0.75rem; gap: 0.25rem; }
  .header-cart .cart-label { display: none; }
  .header-search-toggle { padding: 0.35rem; }
  .menu-toggle { padding: 4px; }
  .products-grid, ul.products { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table tr { display: flex; flex-wrap: wrap; padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-sand); }
  .cart-table td { border: none; padding: 4px var(--space-xs); }
  h1 { font-size: 2rem; }
  
  /* Mobile Spacing for How It Works */
  .dual-path-grid { gap: 2rem; margin-top: 2rem; }
  .path-column { padding: var(--space-lg) var(--space-md); }
  .steps-list { gap: 1.5rem; }
}

/* ============================================
   WC UTILITY OVERRIDES
   ============================================ */
.woocommerce-breadcrumb { font-size: 0.85rem; color: var(--color-text-light); padding: var(--space-sm) 0; }
.woocommerce-result-count, .woocommerce-ordering { font-size: 0.85rem; color: var(--color-text-light); }
.woocommerce .quantity .qty { width: 60px; padding: 8px; text-align: center; border: 1px solid var(--color-stone); border-radius: var(--radius); }
.woocommerce a.added_to_cart { display: none; }
.woocommerce-pagination { margin-top: var(--space-lg); }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 0.5rem; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-stone); border-radius: var(--radius); font-weight: 600;
}
.woocommerce-pagination ul li span.current { background: var(--color-sienna); color: #fff; border-color: var(--color-sienna); }

/* ============================================
   SINGLE POST / BLOG
   ============================================ */
.single-post .entry-header {
  margin-bottom: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.single-post .meta-cat {
  color: var(--color-sienna);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.single-post .entry-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-text-dark);
}

.single-post .entry-meta {
  color: var(--color-text-light);
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.8;
}

.single-post .entry-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 1.1rem;
  color: var(--color-text-dark);
}

.single-post .entry-content p {
  margin-bottom: 2rem;
}

.single-post .featured-image {
  margin-bottom: 4rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 15px; /* Framing effect */
  border: 1px solid var(--color-stone);
}

.single-post .featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post .entry-footer {
  max-width: 800px;
  margin: 6rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--color-sand);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-navigation a {
  color: var(--color-sienna);
  transition: all var(--ease);
}

.post-navigation a:hover {
  opacity: 0.7;
  letter-spacing: 1.5px;
}

/* ============================================
   STUDIO THEME V1 OVERRIDES
   ============================================ */
:root {
  --studio-ink: #231815;
  --studio-clay: #8f5b44;
  --studio-gold: #d6b486;
  --studio-rose: #f5e6dd;
  --studio-paper: #fffdf9;
}

body {
  background:
    radial-gradient(circle at top left, rgba(214, 180, 134, 0.12), transparent 30%),
    linear-gradient(180deg, #fffdf9 0%, #fff7f2 100%);
}

.announcement-bar {
  background: var(--studio-ink);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.announcement-bar__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announcement-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.announcement-bar a {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.site-header {
  background: rgba(255, 251, 247, 0.92);
  border-bottom: 1px solid rgba(35, 24, 21, 0.08);
  box-shadow: 0 14px 40px rgba(35, 24, 21, 0.05);
}

.site-brand {
  color: var(--studio-ink);
  gap: 0.8rem;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.primary-nav a,
.header-search-toggle,
.header-cart {
  color: var(--studio-ink);
}

.hero-section--studio {
  min-height: 760px;
  margin-top: 0;
  padding: 7rem 0 5rem;
}

.hero-section--studio .hero-overlay {
  background:
    linear-gradient(90deg, rgba(35, 24, 21, 0.76) 0%, rgba(35, 24, 21, 0.34) 52%, rgba(35, 24, 21, 0.15) 100%);
}

.hero-content--split {
  width: min(1180px, 92%);
  max-width: none;
  display: block;
  align-items: end;
  background: none;
  box-shadow: none;
  padding: 0;
}

.hero-copy {
  text-align: left;
  color: #fff;
  max-width: 760px;
}

.hero-section--studio .hero-title {
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 1;
  max-width: 10ch;
  margin-bottom: 1.4rem;
}

.hero-section--studio .hero-tagline {
  font-size: 1.12rem;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--studio-clay), #6e4533);
}

.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.hero-actions .btn-outline:hover {
  background: #fff;
  color: var(--studio-ink);
  border-color: #fff;
}

.studio-intent-grid,
.studio-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.studio-intent-card,
.studio-proof-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(35, 24, 21, 0.08);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(35, 24, 21, 0.05);
}

.studio-intent-card__eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--studio-clay);
}

.studio-intent-card h3,
.studio-proof-card h3 {
  color: var(--studio-ink);
}

.studio-intent-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--studio-clay);
  font-weight: 700;
}

.products-grid--studio {
  margin-top: 2rem;
}

.products-grid--studio .product-card,
.products-grid--studio .woocommerce ul.products li.product {
  background: rgba(255, 255, 255, 0.9);
}

.path-column {
  border: 1px solid rgba(35, 24, 21, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(35, 24, 21, 0.06);
}

.path-header {
  margin-bottom: 2rem;
}

.path-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--studio-rose);
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.studio-proof-section {
  background: linear-gradient(180deg, rgba(245, 230, 221, 0.45) 0%, rgba(255, 253, 249, 0.95) 100%);
}

.testimonial-card {
  border-left: none;
  border-top: 4px solid var(--studio-gold);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(35, 24, 21, 0.05);
}

.newsletter-section--studio {
  background:
    linear-gradient(135deg, rgba(35, 24, 21, 0.96), rgba(77, 49, 36, 0.94)),
    var(--studio-ink);
}

.newsletter-section--studio .newsletter-form {
  max-width: 620px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.newsletter-section--studio button {
  background: linear-gradient(135deg, var(--studio-gold), #c19057);
  color: var(--studio-ink);
  font-weight: 800;
}

[id^="omnisend-embedded-v2"] {
  max-width: 620px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .studio-intent-grid,
  .studio-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .announcement-bar__inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 0;
  }

  .hero-section--studio {
    min-height: auto;
    padding: 6rem 0 3.5rem;
  }

  .hero-section--studio .hero-title {
    max-width: none;
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .studio-intent-card,
  .studio-proof-card,
  .path-column {
    padding: 1.5rem;
  }
}
