/* ═══════════════════════════════════════════════════════════════
   Texas Ranch House — Theme Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Variables / Design Tokens ─────────────────────────── */
:root {
  --color-background:         hsl(30, 25%, 97%);
  --color-foreground:         hsl(20, 15%, 15%);
  --color-primary:            hsl(10, 28%, 35%);
  --color-primary-foreground: hsl(30, 25%, 97%);
  --color-secondary:          hsl(30, 18%, 90%);
  --color-muted:              hsl(30, 12%, 85%);
  --color-muted-foreground:   hsl(20, 8%, 45%);
  --color-border:             hsl(30, 15%, 85%);
  --color-card:               hsl(30, 20%, 94%);
  --color-accent:             hsl(30, 30%, 50%);
  --color-destructive:        hsl(0, 84%, 60%);
  --color-input:              hsl(30, 15%, 85%);
  --color-ring:               hsl(10, 28%, 35%);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --shadow-soft:     0 4px 20px -4px hsl(20 15% 15% / 0.06);
  --shadow-elevated: 0 8px 40px -8px hsl(20 15% 15% / 0.10);

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --radius:     0.5rem;
  --card-radius: 0.5rem;

  --btn-height:         2.75rem;
  --btn-radius:         0;
  --btn-padding:        0.75rem 2.5rem;
  --btn-font-size:      0.75rem;
  --btn-font-weight:    500;
  --btn-letter-spacing: 0.15em;
  --btn-text-transform: uppercase;

  --section-padding: 2rem;
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 5rem; /* header height */
}

body.admin-bar { padding-top: calc(5rem + 32px); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; background: none; border: none; }

/* ─── Layout Utilities ───────────────────────────────────────── */
.container-wide {
  width: 100%;
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.text-center { text-align: center; }
.text-muted-foreground { color: var(--color-muted-foreground); }
.col-span-full { grid-column: 1 / -1; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem; /* 11px */
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 500;
  margin-top: 0.25rem;
}

.font-display { font-family: var(--font-display); }

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

.image-zoom { transition: transform 700ms ease-out; }
.image-zoom:hover { transform: scale(1.05); }

.card-hover { transition: all 500ms var(--transition-smooth); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }

/* ─── Scrollbar Hide ─────────────────────────────────────────── */
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-background);
  border-bottom: 1px solid transparent;
  transition: all 500ms var(--transition-smooth);
}
.site-header.scrolled,
[data-scrolled="true"] .site-header,
body:not(.home) .site-header,
.theme-no-hero .site-header {
  background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  transition: height 500ms var(--transition-smooth);
}
.scrolled .header-nav,
.theme-no-hero .header-nav {
  height: 4rem;
}

/* Desktop nav */
.header-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1;
}
@media (min-width: 1024px) {
  .header-desktop { display: flex; }
  .header-logo-mobile { display: none; }
}
.header-left-links,
.header-right-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
}
.header-right-links { justify-content: flex-start; }
.header-left-links { justify-content: flex-end; }
.header-logo-desktop { margin: 0 3rem; flex-shrink: 0; }

.nav-link {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  transition: color 300ms;
}
.nav-link:hover { color: var(--color-foreground); }

.header-logo-img {
  height: 3.5rem;
  width: auto;
  transition: height 500ms var(--transition-smooth);
  object-fit: contain;
}
.scrolled .header-logo-img,
.theme-no-hero .header-logo-img { height: 2.75rem; }

/* Mobile logo */
.header-logo-mobile .header-logo-img { height: 3.5rem; }

/* Actions row */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-cart-btn {
  position: relative;
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: opacity 300ms;
}
.header-cart-btn:hover { opacity: 0.6; }

.theme-cart-count {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 1.125rem;
  height: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 600;
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

.header-mobile-toggle {
  display: flex;
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: opacity 300ms;
}
.header-mobile-toggle:hover { opacity: 0.6; }
@media (min-width: 1024px) { .header-mobile-toggle { display: none; } }

.header-mobile-toggle .icon-close { display: none; }
.header-mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.header-mobile-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile Menu */
.mobile-menu {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  animation: fadeIn 0.3s ease;
}
.mobile-menu[hidden] { display: none; }

.mobile-nav-link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  transition: color 300ms;
}
.mobile-nav-link:hover { color: var(--color-foreground); }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-height);
  padding: var(--btn-padding);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:disabled,
.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}
.btn-primary:hover { opacity: 0.85; }

.btn-outline-dark {
  background: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-foreground);
}
.btn-outline-dark:hover {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.btn-ghost {
  background: transparent;
  color: var(--color-foreground);
}
.btn-ghost:hover { background-color: color-mix(in srgb, var(--color-foreground) 8%, transparent); }

.btn-cta-primary {
  background-color: var(--color-background);
  color: var(--color-foreground);
}
.btn-cta-primary:hover { opacity: 0.9; }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 90vh;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero-card {
  background-color: color-mix(in srgb, var(--color-background) 90%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 42rem;
  width: 100%;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .hero-card { padding: 3.5rem 4rem; } }

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.hero-desc {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  font-size: 0.9375rem;
  max-width: 28rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}
.btn-hero { padding: 0 2.5rem; }

/* ═══════════════════════════════════════════════════════════════
   MUST-HAVE FAVORITES
   ═══════════════════════════════════════════════════════════════ */
.favorites-section { padding: 4rem 0; }
@media (min-width: 1024px) { .favorites-section { padding: 5rem 0; } }

.favorites-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.favorites-header .eyebrow { letter-spacing: 0.3em; }
.favorites-header .section-title {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .favorites-header .section-title { font-size: 1.875rem; }
}
.shop-all-link {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  transition: color 200ms;
}
.shop-all-link:hover { color: var(--color-foreground); }
@media (min-width: 640px) { .shop-all-link { display: flex; } }

/* Featured single product layout (1 product) — matches React */
.favorites-featured { margin-top: 0; }
.favorites-featured-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .favorites-featured-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.favorites-featured-img-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.favorites-featured-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
}
@media (min-width: 768px) {
  .favorites-featured-img-wrap { aspect-ratio: 1 / 1; }
}
.favorites-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.favorites-featured-img-link:hover .favorites-featured-img { transform: scale(1.05); }
.favorites-featured-details { display: flex; flex-direction: column; gap: 1rem; }
.favorites-featured-category {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin: 0;
}
.favorites-featured-category a { color: inherit; text-decoration: none; }
.favorites-featured-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.favorites-featured-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  margin: 0;
  transition: opacity 200ms;
}
@media (min-width: 768px) {
  .favorites-featured-title { font-size: 2.25rem; }
}
.favorites-featured-title-link:hover .favorites-featured-title { opacity: 0.7; }
.favorites-featured-desc {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  line-height: 1.6;
  margin: 0;
  max-width: 28rem;
}
.favorites-featured-price {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
}
.favorites-featured-btn,
.favorites-featured-add-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  width: fit-content;
}
.favorites-featured-btn svg { flex-shrink: 0; }

.favorites-scroll-wrap { overflow-x: auto; }
.favorites-scroll-wrap::-webkit-scrollbar { display: none; }
.favorites-scroll-wrap { -ms-overflow-style: none; scrollbar-width: none; }

.favorites-scroll {
  display: flex;
  gap: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  min-width: max-content;
}
@media (min-width: 1024px) {
  .favorites-scroll { padding-left: 2rem; padding-right: 2rem; }
}

.favorites-item { width: 260px; flex-shrink: 0; }
@media (min-width: 1024px) { .favorites-item { width: 300px; } }

/* ═══════════════════════════════════════════════════════════════
   CATEGORY GRID
   ═══════════════════════════════════════════════════════════════ */
.categories-section { padding: 4rem 0 5rem; }
@media (min-width: 1024px) { .categories-section { padding: 5rem 0 6.25rem; } }

.categories-header { margin-bottom: 3rem; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.category-tile { display: block; }
.category-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-secondary);
}
.category-img { width: 100%; height: 100%; object-fit: cover; }

.category-name {
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 200ms;
}
.category-tile:hover .category-name { color: var(--color-primary); }

/* ═══════════════════════════════════════════════════════════════
   STORY SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.story-section { overflow: hidden; }
.story-section--bg { background-color: var(--color-secondary); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 500px;
}
@media (min-width: 1024px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
}

.story-text-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
@media (min-width: 1024px) { .story-text-col { padding: 5rem; } }

.story-text-col--order2 { order: 2; }
@media (min-width: 1024px) { .story-text-col--order2 { order: 1; } }

.story-text-inner { max-width: 28rem; }

.story-title {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.story-para {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.story-img-col {
  min-height: 400px;
  overflow: hidden;
}
.story-img-col--order1 { order: 1; }

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* ═══════════════════════════════════════════════════════════════
   SHOP SECTION (homepage)
   ═══════════════════════════════════════════════════════════════ */
.shop-section { padding: 5rem 0; scroll-margin-top: 6rem; }

.shop-header { margin-bottom: 3rem; }
.shop-header .section-title { margin-bottom: 2rem; }

.shop-search-wrap {
  position: relative;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}
.shop-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-foreground);
  pointer-events: none;
}
.shop-search-input {
  width: 100%;
  height: 2.5rem;
  border: 1px solid var(--color-input);
  background-color: var(--color-background);
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  border-radius: 0;
}
.shop-search-input::placeholder { color: var(--color-muted-foreground); }
.shop-search-input:focus { box-shadow: 0 0 0 1px var(--color-ring); }

.shop-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-foreground);
  transition: color 200ms;
}
.shop-search-clear:hover { color: var(--color-foreground); }

/* Category filters */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}
.shop-filter-btn {
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  transition: all 300ms;
  border: none;
  background: none;
  cursor: pointer;
}
.shop-filter-btn:hover { color: var(--color-foreground); }
.shop-filter-btn.active {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.shop-product-item { opacity: 0; animation-fill-mode: forwards; }

.shop-no-results { text-align: center; padding: 5rem 1rem; }
.shop-no-results[hidden] { display: none; }

.shop-view-all-wrap {
  text-align: center;
  margin-top: 2.5rem;
  grid-column: 1 / -1;
}

.shop-pagination { margin-top: 3rem; text-align: center; }

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD
   ═══════════════════════════════════════════════════════════════ */
.product-card { display: block; }

.product-card-img-wrap {
  display: flex;
  position: relative;
  aspect-ratio: 3 / 4;
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-bottom: 1rem;
}
.product-card-img { width: 100%; height: 100%; object-fit: cover; }

.sold-out-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-radius: 2px;
}
.new-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 2px;
}

.product-card-add-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f6f1;
  color: var(--color-foreground);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08);
  border: none;
  transition: all 200ms;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  text-decoration: none;
}
.product-card-add-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.product-card-add-btn.added {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: transparent;
}
.product-card-add-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 2;
}

.product-card-info { }
.product-card-category {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.25rem;
}
.product-card-category a { color: inherit; text-decoration: none; }
.product-card-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 200ms;
  margin-bottom: 0.25rem;
}
.product-card:hover .product-card-name { opacity: 0.7; }
.product-card-price { font-size: 0.875rem; color: var(--color-muted-foreground); }
.product-card-price del { opacity: 0.6; margin-right: 0.25rem; }
.product-card-price ins { text-decoration: none; }
.product-card-sold-out {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-muted-foreground);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   VISIT CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.visit-cta {
  background-color: var(--color-foreground);
  color: var(--color-background);
  padding: 5rem 1rem;
}
.visit-cta-title {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 1rem;
}
.visit-cta-desc {
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-background) 60%, transparent);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}
.visit-cta-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-background) 70%, transparent);
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .visit-cta-contact { flex-direction: row; justify-content: center; gap: 1.5rem; }
}
.visit-cta-contact-item { display: flex; align-items: center; gap: 0.5rem; }
.visit-cta-contact a { color: inherit; transition: opacity 200ms; }
.visit-cta-contact a:hover { opacity: 0.8; }
.visit-cta-dot { display: none; opacity: 0.3; }
@media (min-width: 640px) { .visit-cta-dot { display: block; } }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer { border-top: 1px solid var(--color-border); }

.footer-newsletter {
  background-color: var(--color-secondary);
  padding: 4rem 1rem;
}
.footer-nl-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-nl-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  max-width: 28rem;
  margin: 0 auto 2rem;
}
.footer-nl-form {
  display: flex;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .footer-nl-form { padding: 0; } }

.footer-nl-input {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  border: 1px solid var(--color-input);
  border-right: none;
  background-color: var(--color-background);
  padding: 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
}
.footer-nl-input::placeholder { color: var(--color-muted-foreground); }
.footer-nl-input:focus { box-shadow: inset 0 0 0 1px var(--color-ring); }

.footer-nl-btn {
  height: 2.75rem;
  padding: 0 1.25rem;
  background-color: var(--color-foreground);
  color: var(--color-background);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 200ms;
}
.footer-nl-btn:hover { opacity: 0.8; }
.footer-nl-success {
  font-family: var(--font-body);
  color: var(--color-primary);
  margin-top: 1rem;
  font-size: 0.875rem;
}
.footer-nl-success[hidden] { display: none; }

.footer-columns { padding-top: 3.5rem; padding-bottom: 3.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
}
@media (min-width: 1024px) { .footer-grid { gap: 4rem; } }

.footer-brand {}
.footer-logo { height: 3rem; width: auto; }
.footer-tagline {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
}

.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  transition: color 200ms;
}
.footer-link:hover { color: var(--color-foreground); }

.footer-contact-list { list-style: none; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 0.125rem; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social-link {
  padding: 0.375rem;
  color: var(--color-foreground);
  transition: opacity 200ms;
}
.footer-social-link:hover { opacity: 0.6; }

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-copy,
.footer-credit {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-muted-foreground);
  letter-spacing: 0.05em;
}
.footer-credit-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 200ms;
}
.footer-credit-link:hover { color: var(--color-foreground); }

/* ═══════════════════════════════════════════════════════════════
   CART OVERLAY & DRAWER
   ═══════════════════════════════════════════════════════════════ */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

#theme-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background-color: var(--color-background);
  z-index: 201;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 350ms var(--transition-smooth);
}
body.cart-open #theme-cart-drawer {
  transform: translateX(0);
}
#theme-cart-drawer.is-updating {
  opacity: 0.6;
  pointer-events: none;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-drawer-title-row { display: flex; align-items: center; gap: 0.75rem; }
.cart-drawer-title {
  font-size: 1.125rem;
  font-weight: 500;
}
.cart-drawer-close {
  padding: 0.25rem;
  transition: opacity 200ms;
  color: var(--color-foreground);
}
.cart-drawer-close:hover { opacity: 0.6; }

.cart-drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  gap: 1rem;
}
.cart-empty-icon { color: var(--color-muted-foreground); }
.cart-empty-msg {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  font-size: 0.9375rem;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
}
.cart-item-img-link {
  display: flex;
  width: 5rem;
  height: 6rem;
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img-link img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 200ms;
}
.cart-item-name:hover { opacity: 0.7; }
.cart-item-price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-top: 0.125rem;
}
.cart-item-variations {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  margin-top: 0.25rem;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.cart-qty-btn {
  padding: 0.25rem;
  border-radius: var(--card-radius);
  transition: background-color 200ms;
  color: var(--color-foreground);
}
.cart-qty-btn:hover { background-color: var(--color-secondary); }
.cart-item-qty {
  font-family: var(--font-body);
  font-size: 0.875rem;
  min-width: 1.5rem;
  text-align: center;
}
.cart-item-remove {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  transition: color 200ms;
}
.cart-item-remove:hover { color: var(--color-foreground); }

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.875rem;
}
.cart-subtotal-label { color: var(--color-muted-foreground); }
.cart-subtotal-value { font-weight: 500; }
.cart-shipping-notice {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}
.cart-checkout-btn { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   INNER PAGES COMMON
   ═══════════════════════════════════════════════════════════════ */
.page-inner { padding-top: 0; }
body.theme-no-hero .page-inner { padding-top: 0; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  transition: color 200ms;
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--color-foreground); }
.back-link--light { color: rgba(255,255,255,0.9); }
.back-link--light:hover { color: #fff; }

/* Forms */
.form-group { margin-bottom: 0; }
.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  transition: box-shadow 200ms;
}
.form-input::placeholder { color: var(--color-muted-foreground); }
.form-input:focus,
.form-select:focus { box-shadow: 0 0 0 1px var(--color-ring); }

.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  resize: none;
  transition: box-shadow 200ms;
}
.form-textarea::placeholder { color: var(--color-muted-foreground); }
.form-textarea:focus { box-shadow: 0 0 0 1px var(--color-ring); }

.form-error {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-destructive);
}
.form-error[hidden] { display: none; }

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════ */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}
@media (min-width: 1024px) {
  .about-hero-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.about-hero-title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.about-paras { display: flex; flex-direction: column; gap: 1rem; }
.about-paras p {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  line-height: 1.7;
}

.about-hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 500px;
}
.about-hero-img { width: 100%; height: 100%; object-fit: cover; }

.about-mission {
  background-color: var(--color-secondary);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 5rem;
}
@media (min-width: 1024px) { .about-mission { padding: 4rem; } }

.about-mission-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.about-mission-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--color-muted-foreground);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.5;
  font-style: italic;
}
.about-mission-desc {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  margin-top: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.about-building-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}
@media (min-width: 1024px) {
  .about-building-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.about-building-img-wrap {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  order: 2;
}
@media (min-width: 1024px) { .about-building-img-wrap { order: 1; } }
.about-building-img { width: 100%; height: 100%; object-fit: cover; }

.about-building-text { order: 1; }
@media (min-width: 1024px) { .about-building-text { order: 2; } }
.about-building-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.about-building-text p {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.mt-8 { margin-top: 2rem; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-hero {
  position: relative;
  height: 40vh;
  overflow: hidden;
}
@media (min-width: 768px) { .contact-hero { height: 50vh; } }

.contact-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}
.contact-hero-back {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
}
@media (min-width: 768px) { .contact-hero-back { left: 2rem; } }

.contact-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2.5rem;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) { .contact-hero-text { padding-bottom: 3.5rem; } }

.contact-hero-eyebrow {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}
.contact-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.contact-hero-subtitle {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.95);
  font-size: 0.9375rem;
  max-width: 40rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.contact-body { padding-top: 0; padding-bottom: 5rem; }

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) {
  .contact-info-cards { grid-template-columns: repeat(3, 1fr); }
}

.contact-card {
  background-color: var(--color-secondary);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.contact-card-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-card-icon { color: var(--color-primary); flex-shrink: 0; }
.contact-card-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.contact-card-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

.contact-info-list { list-style: none; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.contact-info-link { transition: color 200ms; }
.contact-info-link:hover { color: var(--color-foreground); }

.contact-map-wrap {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 3rem;
}

.contact-expect {
  background-color: var(--color-secondary);
  border-radius: 0.75rem;
  padding: 2rem 2.5rem;
  margin-bottom: 4rem;
}
.contact-expect-title {
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5rem;
}
.contact-expect-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 2.5rem;
  list-style: none;
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact-expect-list { grid-template-columns: repeat(2, 1fr); }
}
.contact-expect-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.contact-expect-dot {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.contact-form-wrap { max-width: 48rem; margin: 0 auto 5rem; }
.contact-form-header { margin-bottom: 2.5rem; }
.contact-form-title { font-size: 1.875rem; font-weight: 500; margin-bottom: 0.75rem; }
.contact-form-sub { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .contact-form-row { grid-template-columns: 1fr 1fr; }
}
.contact-submit-btn { width: 100%; }
@media (min-width: 768px) { .contact-submit-btn { width: auto; } }

.contact-success {
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.contact-success[hidden] { display: none; }
.contact-success-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-success h3 { font-size: 1.875rem; font-weight: 500; }
.contact-success p { font-family: var(--font-body); color: var(--color-muted-foreground); }

/* ═══════════════════════════════════════════════════════════════
   FAQ PAGE
   ═══════════════════════════════════════════════════════════════ */
.faq-wrap { max-width: 48rem; margin: 0 auto; }
.faq-header { margin-bottom: 3rem; }
.faq-main-title { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 500; margin-bottom: 1rem; }
.faq-main-sub { font-family: var(--font-body); color: var(--color-muted-foreground); }
.faq-sections { display: flex; flex-direction: column; gap: 2.5rem; }
.faq-section-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.faq-items { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 200ms;
  color: var(--color-foreground);
}
.faq-question:hover { background-color: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.faq-chevron { flex-shrink: 0; color: var(--color-muted-foreground); transition: transform 200ms; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.25rem; animation: fadeIn 0.2s ease; }
.faq-answer[hidden] { display: none; }
.faq-answer p { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; }

.faq-cta {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.faq-cta h2 { font-size: 1.25rem; font-weight: 500; margin-bottom: 1rem; }
.faq-cta p { font-family: var(--font-body); color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ═══════════════════════════════════════════════════════════════ */
.single-product-page { padding-bottom: 0; }

.product-breadcrumb { padding: 1.5rem 0; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.product-main-img-wrap {
  position: relative;
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.product-main-img { width: 100%; height: 100%; object-fit: cover; }

.product-thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.product-thumbnails::-webkit-scrollbar { height: 4px; }
.product-thumbnails::-webkit-scrollbar-track { background: var(--color-secondary); }
.product-thumbnails::-webkit-scrollbar-thumb { background: var(--color-muted); border-radius: 2px; }

.product-thumb-btn {
  width: 4.5rem;
  height: 5.5rem;
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: var(--card-radius);
  overflow: hidden;
  background-color: var(--color-secondary);
  cursor: pointer;
  transition: border-color 200ms;
  padding: 0;
}
.product-thumb-btn:hover { border-color: var(--color-muted); }
.product-thumb-btn.is-active { border-color: var(--color-foreground); }
.product-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.product-info { }
@media (min-width: 1024px) { .product-info { padding-top: 2.5rem; } }

.product-category-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
}
.product-category-label a { color: inherit; text-decoration: none; }

.product-name {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 500;
  margin-bottom: 1rem;
}
.product-price {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.product-price del { color: var(--color-muted-foreground); font-size: 1rem; margin-right: 0.5rem; }
.product-price ins { text-decoration: none; }

.product-sold-out-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-muted);
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.product-description {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Variations */
.variations { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.variations .label { 
  padding: 0 0 0.5rem 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  vertical-align: top;
  padding-right: 1rem;
  width: auto;
  white-space: nowrap;
}
.variations .value { padding-bottom: 1.5rem; }

select[name^="attribute_"] { display: none !important; }
.product-attribute-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.attr-btn {
  min-width: 3rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 200ms;
  background: var(--color-background);
  color: var(--color-foreground);
}
.attr-btn:hover { border-color: var(--color-foreground); }
.attr-btn.selected {
  border-color: var(--color-foreground);
  background-color: var(--color-foreground);
  color: var(--color-background);
}

/* Add to cart area */
.product-add-to-cart-area { margin-bottom: 2rem; }
.theme-add-to-cart-area,
.woocommerce-variation-add-to-cart {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.theme-qty-minus,
.theme-qty-plus {
  padding: 0.75rem;
  font-size: 1.125rem;
  color: var(--color-foreground);
  transition: background-color 200ms;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
  width: 3rem;
  text-align: center;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }

/* Product details */
.product-details-section {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  margin-top: 0.5rem;
}
.product-details-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.product-short-description {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
}
.product-short-description ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-short-description li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.product-short-description li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* Related Products */
.related-products-section {
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}
.related-products-title { font-size: 1.5rem; font-weight: 500; margin-bottom: 2.5rem; }
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .related-products-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.related-product-card { display: block; }
.related-product-img-wrap {
  aspect-ratio: 3 / 4;
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.related-product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms; }
.related-product-card:hover .related-product-img-wrap img { transform: scale(1.05); }
.related-product-category {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}
.related-product-category a { color: inherit; }
.related-product-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0.25rem 0;
  transition: opacity 200ms;
}
.related-product-card:hover .related-product-name { opacity: 0.7; }
.related-product-price { font-size: 0.875rem; color: var(--color-muted-foreground); }
.related-product-price del { opacity: 0.6; }
.related-product-price ins { text-decoration: none; }
.related-sold-out {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   SHOP ARCHIVE PAGE
   ═══════════════════════════════════════════════════════════════ */
.shop-archive-header { margin-bottom: 3rem; }
.shop-archive-header .section-title { font-size: clamp(1.875rem, 4vw, 2.5rem); }

.shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.shop-pagination a.page-numbers,
.shop-pagination .page-numbers.current {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all 200ms;
  color: var(--color-foreground);
}
.shop-pagination a.page-numbers:hover { border-color: var(--color-foreground); }
.shop-pagination .page-numbers.current {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE.PHP (standard page)
   ═══════════════════════════════════════════════════════════════ */
.page-content-wrap { max-width: 48rem; }
.page-article-title { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 500; margin-bottom: 1.5rem; }
.page-article-content {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  line-height: 1.7;
  max-width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE: ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
   ═══════════════════════════════════════════════════════════════ */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
}

/* Single product: Add to Cart rectangular, visible, with price (reference) */
.single-product .theme-add-to-cart-area .single_add_to_cart_button,
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 2.75rem;
  height: 2.75rem;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}
.single-product .theme-add-to-cart-area .single_add_to_cart_button .price,
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button .price {
  margin-left: 0.25em;
}

/* Hide "View cart" injected by WooCommerce (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE: CHECKOUT (Section 13)
   ═══════════════════════════════════════════════════════════════ */
body.woocommerce-checkout .entry-content { max-width: 100%; }

/* Full-width container (~80% viewport, match reference layout); no extra side space */
body.woocommerce-checkout .page-content-wrap {
  max-width: 80rem;
  width: 100%;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .page-article-content {
  width: 100%;
  max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
  font-family: var(--font-body);
  max-width: 100%;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Checkout layout: no grid on .wc-block-checkout; two columns only on inner wrapper */
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
/* Grid on sidebar-layout container (wc-block-components-sidebar-layout wc-block-checkout is-large) */
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large > .wc-block-checkout__sidebar {
    grid-column: 1;
  }
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large > .wc-block-checkout__main {
    grid-column: 2;
  }
}
/* Inner wrapper: grid of 2 columns — col 1 = order summary, col 2 = checkout form */
body.woocommerce-checkout .wc-block-checkout > div {
  display: grid;
  gap: 3rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout__sidebar { order: 2; }
body.woocommerce-checkout .wc-block-checkout__main { order: 1; }
@media (min-width: 1024px) {
  body.woocommerce-checkout .wc-block-checkout > div {
    gap: 4rem;
    align-items: start;
    min-width: 0;
  }
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    order: 1;
    grid-column: 1;
  }
  body.woocommerce-checkout .wc-block-checkout__main {
    order: 2;
    grid-column: 2;
  }
}

/* Inputs */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  color: var(--color-foreground) !important;
  background-color: var(--color-background) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius) !important;
  padding: 0.75rem 1rem !important;
  outline: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  box-shadow: 0 0 0 1px var(--color-ring) !important;
  border-color: var(--color-ring) !important;
}

/* Place Order Button */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  min-height: 2.75rem !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: opacity 200ms !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.85 !important;
}

/* Sidebar (order summary): full width, no left gap; content aligned to column */
body.woocommerce-checkout .wc-block-checkout__sidebar {
  gap: 0;
  background-color: var(--color-secondary) !important;
  border-radius: var(--card-radius) !important;
  padding: var(--section-padding) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar > * {
  max-width: 100% !important;
  margin-left: 0 !important;
}
/* Form column: full width, no right gap */
body.woocommerce-checkout .wc-block-checkout__main {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Notices */
body.woocommerce-checkout .wc-block-components-notice-banner {
  border-left: 3px solid var(--color-primary);
  background-color: var(--color-secondary);
  font-family: var(--font-body);
  border-radius: var(--radius);
  padding: 1rem;
}

/* Section titles */
body.woocommerce-checkout h2,
body.woocommerce-checkout .wc-block-checkout__heading {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  color: var(--color-foreground) !important;
  margin-bottom: 1rem !important;
}

/* Labels */
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-form label {
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--color-foreground) !important;
}

/* Thank You Page */
body.theme-thankyou-page .woocommerce-order { 
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  line-height: 1.7;
}
body.theme-thankyou-page .woocommerce-thankyou-order-details { list-style: none; padding: 0; }

/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE: GENERAL OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-left: 3px solid var(--color-primary);
  background-color: var(--color-secondary);
  font-family: var(--font-body);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  list-style: none;
  margin-bottom: 1rem;
}

.single_variation_wrap .woocommerce-variation-price .price {
  font-size: 1.25rem;
  font-family: var(--font-body);
}

.variations_button { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.single_add_to_cart_button { flex: 1; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  body { padding-top: 4rem; }
  .hero-card { padding: 2rem 1.5rem; }
  .story-text-col { padding: 2rem 1.5rem; }
  .about-mission { padding: 2rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   NO-TRANSITION UTILITY (used during page transitions)
   ═══════════════════════════════════════════════════════════════ */
.no-transition,
.no-transition * { transition: none !important; }
