/* =============================================================
   QUICK ACCOMMODATIONS THEME — theme.css
   ============================================================= */

/* ---- BASE VARIABLES ----------------------------------------- */
:root {
  /* Match Lovable / shadcn HSL theme (light) */
  --color-primary:       #2d6a4f;
  --color-accent:        #b8762e;
  --color-bg:            #f5f0e8;
  --color-foreground:    #111f17;
  /* secondary = hsl(30 18% 90%) */
  --color-surface:       #ede8e1;
  --color-secondary:     #e8e3dd;
  --color-secondary-foreground: #1f2a22;
  /* muted-foreground = hsl(30 8% 45%) */
  --color-muted:         #6f675c;
  --color-border:        #d0c8be;
  /* muted = hsl(30 12% 82%) — chip hover, subtle fills */
  --color-muted-surface: #d1c9c0;
  --color-button-text:   #ffffff;
  --logo-height:         60px;

  --font-display: 'Spectral', serif;
  --font-body:    'Inter', sans-serif;

  --radius:         0.5rem;
  --radius-lg:      0.5rem;
  --radius-xl:      1rem;
  /* Lovable: rounded-lg on product/rental cards, services */
  --card-radius:    0.5rem;

  /* Lovable / shadcn Button size="lg" + px-10 */
  --btn-height:           2.75rem;
  --btn-padding:          0.625rem 2.5rem;
  --btn-font-size:        1rem;
  --btn-font-weight:      500;
  --btn-letter-spacing:   0;
  --btn-text-transform:   none;
  --btn-radius:           0.375rem;
  --btn-icon-padding:     0.5rem;

  --shadow-soft:     0 4px 20px -4px rgba(17, 31, 23, 0.08);
  --shadow-elevated: 0 8px 40px -8px rgba(17, 31, 23, 0.15);
  --transition:      cubic-bezier(0.25, 0.4, 0.25, 1);

  --header-height:   80px;
  --section-padding: 2rem;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

button { cursor: pointer; font-family: inherit; border: none; background: none; }

ul { list-style: none; }

/* ---- UTILITY ----------------------------------------------- */
.container-wide {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }

.theme-text-primary { color: var(--color-primary); }
.opacity-60 { opacity: 0.6; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- BUTTONS ----------------------------------------------- */
.theme-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: var(--color-button-text);
  border: none;
  border-radius: var(--btn-radius);
  min-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);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}
.theme-btn-primary:hover { opacity: 0.88; color: var(--color-button-text); }
.theme-btn-primary:active { transform: scale(0.97); }
.theme-btn-primary:disabled,
.theme-btn-primary.disabled {
  opacity: 0.45; cursor: not-allowed; pointer-events: none;
}

.theme-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--btn-radius);
  min-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);
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}
.theme-btn-ghost:hover { background-color: rgba(255,255,255,0.2); color: #fff; }

.theme-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  min-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);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.theme-btn-outline:hover { background-color: var(--color-surface); }

/* ---- SECTION SHARED ---------------------------------------- */
.theme-section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.theme-section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.theme-section-heading--light { color: #fff; }

.theme-section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.theme-section-label--light { color: rgba(255,255,255,0.5); }

.theme-section-label-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.theme-section-label-row--services { justify-content: center; }

.theme-divider-line {
  width: 2rem;
  height: 1px;
  background-color: rgba(45,106,79,0.35);
  flex-shrink: 0;
}
.theme-divider-line--light { background-color: rgba(45,106,79,0.4); }

.theme-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.theme-section-header .theme-section-eyebrow { margin-bottom: 0.5rem; }

.theme-section-header-centered { text-align: center; margin-bottom: 4rem; }

.theme-icon-treepine { color: rgba(45,106,79,0.6); }

/* WordPress admin bar: keep fixed header below the bar in Customizer and logged-in view */
body.admin-bar .site-header { top: 32px; }
@media screen and ( max-width: 782px ) {
  body.admin-bar .site-header { top: 46px; }
}

/* ---- HEADER ----------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background-color: rgba(0,0,0,0.95);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(255,255,255,0.08);
  color: #fff;
}

.theme-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 1024px) { .theme-nav { height: var(--header-height); } }

/* Logo */
.theme-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.theme-header-logo {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(45,106,79,0.3);
  transition: all 0.3s ease;
}
.site-header:not(.is-solid) .theme-header-logo { width: 0 !important; height: 0 !important; opacity: 0; }
.site-header.is-solid .theme-header-logo { height: 44px !important; width: 44px !important; opacity: 1; }

/* Lovable: text-primary-foreground — blanco en barra y sobre hero (header transparente) */
.site-header .site-logo-text,
.site-header .theme-brand-name {
  color: #fff;
}
.site-header .site-logo-text { font-family: var(--font-display); font-size: 1.125rem; }
@media (min-width: 1024px) {
  .site-header .site-logo-text { font-size: 1.25rem; }
}
.site-header .theme-brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
@media (min-width: 1024px) {
  .site-header .theme-brand-name { font-size: 1.25rem; }
}

/* Desktop nav */
.theme-nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) { .theme-nav-desktop { display: flex; } }

.theme-nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.theme-nav-link, .theme-nav-list a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s;
  color: inherit;
  text-decoration: none;
  position: relative;
}
.theme-nav-link::after, .theme-nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--transition);
}
.theme-nav-link:hover::after, .theme-nav-list a:hover::after { transform: scaleX(1); }
.site-header:not(.is-solid) .theme-nav-link,
.site-header:not(.is-solid) .theme-nav-list a { color: rgba(255,255,255,0.9); }
.site-header:not(.is-solid) .theme-nav-link:hover,
.site-header:not(.is-solid) .theme-nav-list a:hover { color: #fff; }
.site-header.is-solid .theme-nav-link,
.site-header.is-solid .theme-nav-list a { color: #fff; }

.theme-nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: opacity 0.2s;
  position: relative;
  color: inherit;
}
.theme-nav-icon-btn:hover { opacity: 0.6; }
.site-header:not(.is-solid) .theme-nav-icon-btn { color: #fff; }
.site-header.is-solid .theme-nav-icon-btn { color: #fff; }

/* Mobile nav actions */
.theme-nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) { .theme-nav-mobile-actions { display: none; } }

/* Mobile menu */
.theme-mobile-menu {
  border-top: 1px solid var(--color-border);
  padding-block: 1rem;
  background-color: rgba(0,0,0,0.95);
}
.theme-mobile-nav-list { display: flex; flex-direction: column; gap: 0; list-style: none; }
.theme-mobile-nav-link, .theme-mobile-nav-list a {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  text-decoration: none;
}
.theme-mobile-nav-link:hover, .theme-mobile-nav-list a:hover { color: #fff; }

/* Cart badge */
.theme-cart-count {
  position: absolute;
  top: -2px; right: -2px;
  width: 20px; height: 20px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}
.theme-cart-count:empty { display: none; }

/* ---- HERO -------------------------------------------------- */
.theme-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.theme-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroScale 8s ease-out forwards;
}
@keyframes heroScale { from { transform: scale(1.15); } to { transform: scale(1); } }

.theme-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(17,31,23,0.55);
}

.theme-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-block: 5rem;
}

.theme-hero-h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(80px);
  animation: heroSlideUp 1s 0.6s var(--transition) forwards;
}
@media (min-width: 768px) {
  .theme-hero-h1 { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .theme-hero-h1 { font-size: 4.5rem; }
}
.theme-hero-h1--line2 { animation-delay: 0.75s; margin-bottom: 1rem; }

@keyframes heroSlideUp { to { opacity: 1; transform: translateY(0); } }

.theme-hero-tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 1rem;
  opacity: 0;
  animation: heroFade 0.8s 0.9s ease forwards;
}
@media (min-width: 768px) {
  .theme-hero-tagline { font-size: 1.875rem; }
}

.theme-hero-subtext {
  color: rgba(255,255,255,0.7);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  line-height: 1.625;
  opacity: 0;
  animation: heroFade 0.8s 1s ease forwards;
}

@keyframes heroFade { to { opacity: 1; } }

.theme-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  opacity: 0;
  animation: heroFade 0.7s 1.2s ease forwards;
}
@media (min-width: 480px) {
  .theme-hero-ctas { flex-direction: row; justify-content: center; }
}

/* ---- ABOUT ------------------------------------------------- */
.theme-about {
  position: relative;
  scroll-margin-top: var(--header-height);
  overflow: hidden;
}
.theme-about-bg-gradient {
  position: absolute;
  inset: 0;
  /* Lovable: from-secondary via-background to-secondary */
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-bg) 50%, var(--color-secondary) 100%);
}
.theme-about-content {
  position: relative;
  z-index: 1;
  padding-block: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .theme-about-content { padding-block: 8rem; }
}
/* Lovable: text-4xl md:text-5xl, mb-8 */
.theme-about .theme-section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  max-width: 100%;
}
@media (min-width: 768px) {
  .theme-about .theme-section-heading { font-size: 3rem; }
}
.theme-about-text { max-width: 100%; }
.theme-about-text p { color: var(--color-foreground); margin-bottom: 0; line-height: 1.75; }
.theme-about-text p + p { margin-top: 1.25rem; }
.theme-about-text .theme-about-p1 { font-size: 1rem; color: rgba(17, 31, 23, 0.8); }
@media (min-width: 768px) {
  .theme-about-text .theme-about-p1 { font-size: 1.125rem; }
}
.theme-about-text .theme-about-p2,
.theme-about-text .theme-about-p3 { color: var(--color-muted); font-size: 1rem; }

/* ---- SERVICES --------------------------------------------- */
.theme-services {
  position: relative;
  overflow: hidden;
  color: #fff;
  scroll-margin-top: var(--header-height);
}
.theme-services-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.theme-services-overlay {
  position: absolute;
  inset: 0;
  /* Lovable: bg-foreground/80 */
  background-color: rgba(17, 31, 23, 0.8);
}
.theme-services-content {
  position: relative;
  z-index: 1;
  padding-block: 5rem 7rem;
}
@media (min-width: 768px) {
  .theme-services-content { padding-block: 7rem; }
}
/* Lovable: text-4xl md:5xl lg:6xl */
.theme-services .theme-section-heading--light {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .theme-services .theme-section-heading--light { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .theme-services .theme-section-heading--light { font-size: 3.75rem; }
}
.theme-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .theme-services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .theme-services-grid { grid-template-columns: repeat(3, 1fr); } }

.theme-service-card {
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s var(--transition);
}
.theme-service-card:hover { background-color: rgba(255, 255, 255, 0.1); }
.theme-service-icon { color: var(--color-primary); margin-bottom: 1rem; }
.theme-service-icon svg { width: 2rem; height: 2rem; }
.theme-service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.theme-service-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.625;
}
.theme-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-primary);
  font-size: 0.875rem;
  margin-top: 1rem;
}
.theme-service-link:hover { text-decoration: underline; }

/* ---- RENTALS ---------------------------------------------- */
.theme-rentals {
  scroll-margin-top: var(--header-height);
  /* Lovable: py-16 md:py-20 */
  padding-block: 4rem 5rem;
}
@media (min-width: 768px) {
  .theme-rentals { padding-block: 5rem; }
}
/* Lovable: text-3xl md:text-5xl, mt-2 mb-8 */
#rentals .theme-section-eyebrow { margin-bottom: 0.5rem; }
#rentals .theme-section-heading,
#shop .theme-section-heading {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  #rentals .theme-section-heading,
  #shop .theme-section-heading { font-size: 3rem; }
}

.theme-filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Lovable: gap-2, mb-4; chips inline with title block */
  gap: 0.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.theme-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* Lovable: px-5 py-2.5 rounded-lg */
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--transition), color 0.25s ease, transform 0.2s ease;
}
.theme-filter-chip:hover { background-color: var(--color-muted-surface); }
.theme-filter-chip.is-active {
  background-color: var(--color-primary);
  color: #fff;
}

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

.theme-rental-card-wrap { display: flex; flex-direction: column; }
.theme-rental-card-wrap.is-hidden { display: none; }

.theme-rental-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.theme-rental-card__image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--card-radius);
  margin-bottom: 1rem;
  background-color: var(--color-secondary);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}
.theme-rental-card:hover .theme-rental-card__image-wrapper {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 40px -12px rgba(17, 31, 23, 0.15);
}
.theme-rental-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.theme-rental-card:hover .theme-rental-card__image { transform: scale(1.08); }
.theme-rental-type-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  /* Lovable: text-xs, px-3 py-1.5, tracking-wider */
  padding: 0.375rem 0.75rem;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0.375rem;
  font-family: var(--font-body);
}
.theme-rental-card__info { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-rental-card__name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.25s;
}
.theme-rental-card:hover .theme-rental-card__name { color: var(--color-primary); }
.theme-rental-card__location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}
.theme-rental-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.theme-rental-card__price {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
}
.theme-rental-card__price-unit {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-muted);
}
.theme-rental-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.theme-rental-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* ---- OWNER ----------------------------------------------- */
.theme-owner {
  position: relative;
  scroll-margin-top: var(--header-height);
  overflow: hidden;
}
.theme-owner-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-bg) 50%, var(--color-secondary) 100%);
}
.theme-owner-content {
  position: relative;
  z-index: 1;
  padding-block: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .theme-owner-content {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding-block: 7rem;
  }
}
.theme-owner .theme-section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .theme-owner .theme-section-heading { font-size: 3rem; }
}

.theme-owner-photo-col { display: flex; justify-content: center; }
.theme-owner-photo-wrap { position: relative; }
.theme-owner-photo-border {
  position: absolute;
  inset: -0.75rem;
  border: 2px solid rgba(45,106,79,0.2);
  border-radius: var(--radius-xl);
}
.theme-owner-photo {
  width: 260px; height: 260px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(17,31,23,0.2);
}
@media (min-width: 768px) { .theme-owner-photo { width: 320px; height: 320px; } }
.theme-owner-logo-badge {
  position: absolute;
  bottom: -1.25rem; right: -1.25rem;
  z-index: 2;
  width: 6rem; height: 6rem;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(45,106,79,0.25);
  box-shadow: 0 8px 20px rgba(17,31,23,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem;
}
.theme-owner-logo-badge-img { width: 100%; height: 100%; border-radius: 0.5rem; object-fit: cover; }

.theme-owner-name { margin-bottom: 2rem; }
.theme-owner-text p { color: rgba(17, 31, 23, 0.8); line-height: 1.75; margin-bottom: 0; }
.theme-owner-text p + p { margin-top: 1.25rem; }
.theme-owner-text #theme-owner-p1 { font-size: 1rem; }
@media (min-width: 768px) {
  .theme-owner-text #theme-owner-p1 { font-size: 1.125rem; }
}
.theme-owner-text #theme-owner-p2 { color: var(--color-muted); font-size: 1rem; }
.theme-owner-quote-row { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.5rem; }
.theme-owner-star { color: var(--color-accent); flex-shrink: 0; }
.theme-owner-quote { font-style: italic; font-size: 0.875rem; color: var(--color-muted); }

/* ---- SHOP ------------------------------------------------- */
.theme-shop {
  scroll-margin-top: var(--header-height);
  padding-block: 4rem 5rem;
}
@media (min-width: 768px) {
  .theme-shop { padding-block: 5rem; }
}

.theme-shop-products-grid,
.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  align-items: stretch;
}
@media (min-width: 640px)  { .theme-shop-products-grid, .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-shop-products-grid, .theme-product-grid { grid-template-columns: repeat(4, 1fr); } }
.theme-product-grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .theme-product-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.theme-product-card-wrap { display: flex; flex-direction: column; }
.theme-product-card-wrap.is-hidden { display: none; }
.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
}
/* Allow overlay link to receive clicks (universal * rule would otherwise block it) */
.theme-product-card a.theme-card-link { pointer-events: auto; }
.theme-product-card * { pointer-events: none; }
.add_to_cart_button { position: relative; z-index: 3; pointer-events: auto; }

.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--card-radius);
  margin-bottom: 1rem;
  background-color: var(--color-secondary);
  transition: box-shadow 0.4s var(--transition), transform 0.4s var(--transition);
}
.theme-product-card:hover .theme-product-card__image-wrapper {
  box-shadow: 0 20px 40px -12px rgba(17, 31, 23, 0.15);
  transform: translateY(-0.5rem);
}
.theme-product-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.08); }

.theme-sold-out-badge {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  padding: 0.375rem 0.75rem;
  background-color: var(--color-foreground);
  color: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0.375rem;
  font-family: var(--font-body);
}

.theme-product-card__info { flex: 1; }
.theme-product-card__name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.125rem;
  line-height: 1.4;
  transition: color 0.25s;
}
.theme-product-card:hover .theme-product-card__name { color: var(--color-primary); }
.theme-product-card__price {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 600;
}
.theme-product-card__price .woocommerce-Price-amount { color: var(--color-muted); }

/* ---- CONTACT ---------------------------------------------- */
.theme-contact {
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--header-height);
}
.theme-contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-foreground) 0%, rgba(17,31,23,0.97) 50%, var(--color-foreground) 100%);
}
.theme-contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.theme-contact-orb--1 {
  top: 0; left: 25%;
  width: 24rem; height: 24rem;
  background-color: rgba(45,106,79,0.06);
}
.theme-contact-orb--2 {
  bottom: 0; right: 25%;
  width: 20rem; height: 20rem;
  background-color: rgba(192,122,42,0.05);
}
.theme-contact-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,106,79,0.3), transparent);
}
.theme-contact-content {
  position: relative;
  z-index: 1;
  /* Lovable: py-24 md:py-32 */
  padding-block: 6rem;
}
@media (min-width: 768px) {
  .theme-contact-content { padding-block: 8rem; }
}
/* Lovable: mb-16 on header block; heading text-4xl md:5xl lg:6xl */
.theme-contact-header { text-align: center; margin-bottom: 4rem; }
#contact .theme-section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  #contact .theme-section-heading { font-size: 3rem; }
}
@media (min-width: 1024px) {
  #contact .theme-section-heading { font-size: 3.75rem; }
}
.theme-contact-subtext {
  color: rgba(255, 255, 255, 0.6);
  max-width: 32rem;
  margin-inline: auto;
  font-size: 1rem;
  margin-top: 0;
  line-height: 1.625;
}
@media (min-width: 768px) {
  .theme-contact-subtext { font-size: 1.125rem; }
}
.theme-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 56rem;
  margin-inline: auto;
  align-items: stretch;
}
@media (min-width: 1024px) { .theme-contact-grid { grid-template-columns: 1fr 1fr; } }

.theme-contact-info { display: flex; flex-direction: column; justify-content: space-between; }
.theme-contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; flex: 1; }

.theme-contact-item { display: flex; align-items: center; gap: 1rem; }
.theme-contact-icon-wrap {
  width: 3.5rem; height: 3.5rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  background-color: rgba(45,106,79,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}
.theme-contact-item-label {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.125rem;
}
.theme-contact-item-value {
  font-size: 1.25rem;
  color: #fff;
  transition: color 0.2s;
  text-decoration: none;
  font-weight: 400;
}
.theme-contact-item-value:hover { color: var(--color-primary); }

.theme-contact-locations { margin-top: 2rem; }
.theme-contact-locations-label {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.theme-contact-location-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.theme-contact-location-item svg { flex-shrink: 0; margin-top: 0.125rem; }
.theme-contact-loc-name { font-size: 1rem; font-weight: 500; color: #fff; }
.theme-contact-loc-addr { font-size: 1rem; color: rgba(255,255,255,0.5); }

.theme-contact-form-wrap { position: relative; height: 100%; }
.theme-contact-form-border {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  background: linear-gradient(180deg, rgba(45,106,79,0.2), transparent, rgba(192,122,42,0.1));
  pointer-events: none;
}
.theme-contact-form {
  position: relative;
  background-color: rgba(17,31,23,0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.theme-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .theme-form-row { grid-template-columns: 1fr 1fr; } }

.theme-form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.theme-form-required { color: var(--color-primary); }

.theme-form-input,
.theme-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.2s, ring 0.2s;
}
.theme-form-input::placeholder,
.theme-form-textarea::placeholder { color: rgba(255,255,255,0.3); }
.theme-form-input:focus,
.theme-form-textarea:focus {
  outline: none;
  border-color: rgba(45,106,79,0.5);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.15);
}
.theme-form-textarea { resize: none; }

.theme-contact-submit { width: 100%; }

.theme-contact-success { text-align: center; padding-block: 4rem; }
.theme-contact-success-icon {
  width: 5rem; height: 5rem;
  border-radius: 50%;
  background-color: rgba(45,106,79,0.2);
  border: 1px solid rgba(45,106,79,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto;
  margin-bottom: 2rem;
  color: var(--color-primary);
}
.theme-contact-success-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.theme-contact-success-text { color: rgba(255,255,255,0.6); }

/* ---- FOOTER (match Lovable: container-wide py-12 lg:py-16) -------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg);
}
/* Vertical padding on the outer container, not the grid (Lovable) */
.site-footer .theme-footer-container {
  padding-block: 3rem;
}
@media (min-width: 1024px) {
  .site-footer .theme-footer-container {
    padding-block: 4rem;
  }
}
/* Lovable: grid grid-cols-1 md:grid-cols-4 gap-8 lg:gap-12 — four equal 1fr tracks, brand md:col-span-2 */
.theme-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem; /* gap-8 */
  align-items: start;
}
@media (min-width: 768px) {
  .theme-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .theme-footer-grid {
    column-gap: 3rem; /* lg:gap-12 */
    row-gap: 3rem;
  }
}
.theme-footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .theme-footer-brand { grid-column: 1 / span 2; }
  .theme-footer-nav,
  .theme-footer-contact {
    min-width: 0;
  }
}

.theme-footer-logo-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.theme-footer-logo-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(45,106,79,0.3); }
.theme-footer-brand-text { display: flex; flex-direction: column; }
.theme-footer-brand-line { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1.2; }
/* Lovable: mt-4, text-sm, max-w-sm, leading-relaxed */
.theme-footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  max-width: 24rem;
  line-height: 1.625;
  font-family: var(--font-body);
}
/* Lovable: inline-flex items-center gap-2 mt-4 text-sm */
.theme-footer-fb-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem; color: var(--color-muted);
  transition: color 0.2s;
  text-decoration: none;
}
.theme-footer-fb-link:hover { color: var(--color-foreground); }

/* Lovable: text-sm font-semibold mb-4 */
.theme-footer-section-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; } /* space-y-3 */
.theme-footer-nav-link, .theme-footer-nav-list a {
  font-size: 0.875rem;
  color: var(--color-muted);
  text-transform: capitalize;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.theme-footer-nav-link:hover, .theme-footer-nav-list a:hover { color: var(--color-foreground); }

.theme-footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }
.theme-footer-contact-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted); }
.theme-footer-contact-list li svg { flex-shrink: 0; }
.theme-footer-contact-link { color: inherit; transition: color 0.2s; text-decoration: none; }
.theme-footer-contact-link:hover { color: var(--color-foreground); }

/* Lovable: mt-10 pt-6 border-t (bottom padding comes from .theme-footer-container) */
.theme-footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .theme-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.theme-footer-copyright { font-size: 0.75rem; color: var(--color-muted); }
.theme-footer-credit { font-size: 0.75rem; color: var(--color-muted); transition: color 0.2s; text-decoration: none; }
.theme-footer-credit:hover { color: var(--color-foreground); }

/* ---- CART DRAWER ------------------------------------------ */
body.cart-open { overflow: hidden; }

#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(17,31,23,0.25);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s 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-bg);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--transition);
  box-shadow: var(--shadow-elevated);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.theme-cart-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-close { padding: 0.25rem; transition: opacity 0.2s; }
.theme-cart-close:hover { opacity: 0.6; }

.theme-cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  gap: 1rem;
  color: var(--color-muted);
}
.theme-cart-empty svg { color: var(--color-muted); }
.theme-cart-empty-text { margin-bottom: 0.5rem; }

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

.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image-link {
  width: 5rem; height: 6rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--color-surface);
  display: block;
}
.theme-cart-item-image { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-details { flex: 1; min-width: 0; }
.theme-cart-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.2s;
  text-decoration: none;
}
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted); }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted); margin-top: 0.125rem; }
.theme-cart-item-qty-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background-color: var(--color-surface);
  transition: background-color 0.2s;
}
.theme-cart-qty-btn:hover { background-color: var(--color-border); }
.theme-cart-qty-value { font-size: 0.875rem; min-width: 1.5rem; text-align: center; }
.theme-cart-remove-btn {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-muted);
  transition: color 0.2s;
}
.theme-cart-remove-btn:hover { color: var(--color-foreground); }

.theme-cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.theme-cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}
.theme-cart-shipping-note { font-size: 0.75rem; color: var(--color-muted); }
.theme-cart-checkout-btn { display: block; text-align: center; }

/* ---- WOOCOMMERCE ADD-TO-CART BUTTONS ----------------------- */
.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-button-text) !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-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}

/* Hide "View cart" after AJAX add */
.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; }

/* ---- SINGLE PRODUCT PAGE ---------------------------------- */
.theme-single-product { padding-block: 2rem 5rem; }
.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.theme-product-gallery,
.theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-main-image-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--card-radius);
  background-color: var(--color-surface);
  margin-bottom: 1rem;
}
.theme-product-main-image { width: 100%; height: 100%; object-fit: cover; }

.theme-product-thumbnails {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.theme-product-thumb {
  width: 64px; height: 64px;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.6;
  flex-shrink: 0;
  cursor: pointer;
  background: var(--color-surface);
}
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.theme-product-categories { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.5rem; }
.theme-product-categories a { color: inherit; transition: color 0.2s; }
.theme-product-categories a:hover { color: var(--color-primary); }

.theme-product-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.theme-product-price { font-size: 1.5rem; font-weight: 700; color: var(--color-primary); margin-bottom: 1.5rem; }
.theme-product-price .woocommerce-Price-amount { color: var(--color-primary); }
.theme-product-sold-out-label { font-size: 0.875rem; color: #c0392b; margin-bottom: 1rem; font-weight: 600; }

.theme-product-long-desc { color: var(--color-muted); line-height: 1.75; margin-bottom: 2rem; overflow-wrap: break-word; }
.theme-product-long-desc p { margin-bottom: 0.75rem; }

.theme-add-to-cart-area { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.theme-qty-minus, .theme-qty-plus {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 48px;
  font-size: 1.25rem;
  font-weight: 300;
  transition: background-color 0.2s;
  color: var(--color-foreground);
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-surface); }
.theme-qty-input {
  width: 56px;
  height: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.theme-qty-input:focus { outline: none; }

.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; margin-top: 2rem; }
.theme-product-details-title { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-product-details ul, .woocommerce-product-details__short-description ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details ul li, .woocommerce-product-details__short-description ul li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; color: var(--color-muted);
}
.theme-product-details ul li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-top: 0.4375rem;
  flex-shrink: 0;
}
.woocommerce-product-details__short-description { overflow-wrap: break-word; word-break: break-word; }

/* Variable product variations table */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-size: 0.875rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations select,
.woocommerce-variation-add-to-cart select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.single-product .reset_variations { font-size: 0.8125rem; color: var(--color-muted); display: inline-block; margin-bottom: 1rem; }

.theme-related-products { border-top: 1px solid var(--color-border); padding-block: 5rem; }
.theme-related-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }

/* ---- BACK LINK --------------------------------------------- */
.theme-back-link-row { padding-block: 1.5rem; }
.theme-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.theme-back-link:hover { color: var(--color-foreground); }

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

.theme-rental-gallery .theme-rental-main-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--card-radius);
  background-color: var(--color-surface);
  margin-bottom: 1rem;
}
.theme-rental-main-image { width: 100%; height: 100%; object-fit: cover; }
.theme-rental-thumbnails { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.theme-rental-thumb {
  width: 64px; height: 64px;
  overflow: hidden;
  border-radius: 0.375rem;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s;
  background: var(--color-surface);
  cursor: pointer;
}
.theme-rental-thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.theme-rental-thumb:hover { opacity: 1; }
.theme-rental-thumb img { width: 100%; height: 100%; object-fit: cover; }

.theme-rental-type-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: rgba(45,106,79,0.1);
  color: var(--color-primary);
  border-radius: 0.375rem;
  margin-bottom: 0.75rem;
}
.theme-rental-detail-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.theme-rental-detail-location { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted); margin-bottom: 1rem; }
.theme-rental-detail-price { font-size: 1.875rem; font-weight: 700; color: var(--color-primary); margin-bottom: 1.5rem; }
.theme-rental-detail-price-unit { font-size: 1rem; font-weight: 400; color: var(--color-muted); }
.theme-rental-detail-desc { color: var(--color-muted); line-height: 1.75; margin-bottom: 2rem; }
.theme-rental-detail-meta { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.theme-rental-meta-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.theme-rental-meta-badge svg { color: var(--color-primary); }
.theme-rental-inquire-btn { display: flex; width: 100%; margin-bottom: 0.75rem; justify-content: center; }
.theme-rental-book-note { font-size: 0.75rem; text-align: center; color: var(--color-muted); margin-bottom: 2rem; }
.theme-rental-features { border-top: 1px solid var(--color-border); padding-top: 2rem; margin-top: 2rem; }
.theme-rental-features-title { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-rental-features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.theme-rental-features-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted); }
.theme-rental-features-list li svg { color: var(--color-primary); flex-shrink: 0; margin-top: 0.125rem; }

.theme-similar-rentals { border-top: 1px solid var(--color-border); padding-block: 5rem; }
.theme-similar-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }

/* ---- CHECKOUT & PAGE -------------------------------------- */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-block: 2rem 1rem;
  padding-top: calc(var(--header-height) + 1rem);
}
.entry-content { padding-bottom: 4rem; }

body.woocommerce-checkout .site-main,
body.woocommerce-checkout main { padding-top: var(--header-height); padding-bottom: 4rem; }

body.woocommerce-checkout .entry-content { max-width: 100%; }

/* Checkout block layout */
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout {
    display: block;
  }
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-surface);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-text-input input {
  font-family: var(--font-body);
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  color: var(--color-foreground);
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.15);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  width: 100% !important;
}

/* Thank you page */
body.theme-thankyou-page .woocommerce-order { padding: 2rem 0; }
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 1rem;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  background-color: var(--color-surface);
  margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview strong { color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order-details { margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); padding: 0 0 1rem; font-size: 1.5rem; }
body.theme-thankyou-page { overflow-x: hidden; }

/* ---- WC Notices ------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

.woocommerce-message, .woocommerce-error, .woocommerce-info {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  list-style: none;
}
.woocommerce-message { background-color: rgba(45,106,79,0.1); border-left: 3px solid var(--color-primary); }
.woocommerce-error { background-color: rgba(192,57,43,0.1); border-left: 3px solid #c0392b; }
.woocommerce-info { background-color: rgba(52,152,219,0.1); border-left: 3px solid #3498db; }

/* ---- EMPTY STATE ------------------------------------------ */
.theme-empty-state { text-align: center; padding-block: 5rem; color: var(--color-muted); font-size: 0.9375rem; }

/* ---- 404 -------------------------------------------------- */
.theme-404 { text-align: center; padding-block: 8rem; }
.theme-404 h1 { font-family: var(--font-display); font-size: 5rem; font-weight: 700; color: var(--color-primary); margin-bottom: 1rem; }
.theme-404 p { font-size: 1.125rem; color: var(--color-muted); margin-bottom: 2rem; }

/* ---- WOO PAGINATION --------------------------------------- */
.theme-woo-pagination { margin-top: 3rem; display: flex; justify-content: center; }
.woocommerce-pagination ul { display: flex; gap: 0.5rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  transition: all 0.2s;
  text-decoration: none;
  color: var(--color-foreground);
}
.woocommerce-pagination ul li a:hover { background-color: var(--color-surface); }
.woocommerce-pagination ul li span.current { background-color: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---- INNER PAGE (non-hero) padding ----------------------- */
body.theme-no-hero #main-content { padding-top: var(--header-height); }

/* ---- SCROLL ANIMATE --------------------------------------- */
.theme-animate-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.theme-animate-visible { opacity: 1; transform: translateY(0); }

/* ---- ADDING TO CART BUTTON LOCK --------------------------- */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}
