/*
Theme Name: Anchor Yoga
Description: Storefront child theme for the Anchor Yoga studio demo.
Author: Dominick Navarro
Template: storefront
Version: 1.0.0
*/

:root {
  --ink:      #1b221f;
  --muted:    #5f6b66;
  --ground:   #f6f4f0;
  --surface:  #ffffff;
  --line:     #dfdbd2;
  --moss:     #3f5a4c;
  --clay:     #a9674e;
}

body,
.site {
  background: var(--ground);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, h4,
.site-title, .site-branding h1 a,
.storefront-breadcrumb, .price, .button, .added_to_cart,
.woocommerce-loop-product__title {
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.015em;
}

h1, h2, h3 { color: var(--ink); text-wrap: balance; }

/* ---- header ---- */

.site-header {
  background: var(--ground);
  border-bottom: 1px solid var(--line);
  padding-top: 1.75em;
  padding-bottom: 1.25em;
}

.site-header .site-branding h1 a,
.site-header .site-title a { color: var(--ink); font-weight: 700; }

.site-header .site-description { color: var(--muted); font-style: italic; }

.main-navigation ul li a { color: var(--ink); font-family: "Bricolage Grotesque", sans-serif; font-size: 0.95em; }
.main-navigation ul li a:hover { color: var(--moss); }

/* ---- hero ---- */

.anchor-hero {
  position: relative;
  clear: both;
  width: 100%;
  margin-bottom: 3rem;
  margin-top: 0;
  border-radius: 3px;
  overflow: hidden;
  min-height: 22rem;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center 60%;
}

.anchor-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,24,21,0.82) 0%, rgba(18,24,21,0.25) 55%, rgba(18,24,21,0.05) 100%);
}

.anchor-hero__inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  color: #fff;
  max-width: 34rem;
}

.anchor-hero__inner h2 {
  color: #fff;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.anchor-hero__inner p { color: rgba(255,255,255,0.88); margin: 0 0 1.25rem; }

.anchor-hero__inner .button { background: #fff; color: var(--ink); }
.anchor-hero__inner .button:hover { background: rgba(255,255,255,0.88); color: var(--ink); }

/* ---- products ---- */

ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem;
  padding-bottom: 0.25em;
}

ul.products li.product img {
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

ul.products li.product .price { color: var(--muted); font-size: 0.95rem; }

.woocommerce-loop-product__link { text-decoration: none; }

.button, button.button, input.button, .added_to_cart,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button {
  background: var(--moss);
  color: #fff;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
  background: #33493e;
  color: #fff;
}

.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit.alt {
  background: var(--clay);
}

.button.alt:hover, .woocommerce button.button.alt:hover { background: #8f563f; }

/* ---- Calentra booking fields ---- */

#calentra-booking-fields,
.calentra-booking-wrapper {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

#calentra-booking-fields label,
.calentra-booking-wrapper label {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

#calentra-booking-fields input,
#calentra-booking-fields select,
.calentra-booking-wrapper input,
.calentra-booking-wrapper select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  font: inherit;
  margin-bottom: 1rem;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover { background: var(--moss); border-color: var(--moss); }

/* ---- footer ---- */

.site-footer {
  background: #1b221f;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}

.site-footer a { color: #fff; }

/* ---- misc ---- */

.storefront-product-section { padding-top: 1rem; }
.site-main { padding-bottom: 3rem; }
hr.is-style-wide { border-color: var(--line); }
