/* =========================================
   HOUSE OF WOOF — Custom Theme CSS v2.0
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --how-cream: #f5f0dc;
  --how-navy: #1a2744;
  --how-gold: #c9a84c;
  --how-white: #ffffff;
  --how-border: #d4c68a;
  --how-max-width: 1200px;
  --how-pad-x: max(5%, calc((100% - var(--how-max-width)) / 2));
}

/* ============================================
   BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
body { background: var(--how-cream); color: var(--how-navy); font-family: 'DM Sans', sans-serif; margin: 0; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; color: var(--how-navy); }
img { max-width: 100%; height: auto; }

/* ============================================
   FULL-WIDTH LAYOUT — strip ALL Astra constraints
   ============================================ */
.ast-container,
.ast-container.container,
.site-content > .ast-container { max-width: 100% !important; padding: 0 !important; width: 100% !important; }

.entry-content,
.home .entry-content,
.page-template-default .entry-content,
.ast-page-builder-template .entry-content,
.page .entry-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }

.site-content { padding-top: 0 !important; }

/* KEY FIX: Astra's block-layout rule constrains every direct child to 1200px.
   Override so our full-bleed sections can span 100% viewport width. */
.entry-content[data-ast-blocks-layout] > * {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Woo shop/category/product pages — remove extra padding */
.woocommerce-page .entry-content,
.woocommerce .entry-content { padding: 0 !important; }

/* Astra's WooCommerce wrapper — center content, keep backgrounds full-bleed */
.ast-woocommerce-container {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 40px var(--how-pad-x) !important;
}

/* Astra article wrapper */
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single { background: transparent; box-shadow: none; padding: 0; }

body, .site { background-color: var(--how-cream) !important; }

/* ============================================
   HEADER / NAV
   ============================================ */
.main-header-bar,
.ast-masthead-custom-menu-items,
.site-header {
  background: var(--how-cream) !important;
  border-bottom: 2px solid var(--how-border);
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  box-shadow: 0 2px 12px rgba(26,39,68,.08);
}

/* ---- LOGO IMAGE ---- */
.ast-site-identity .custom-logo-link,
.site-branding .custom-logo-link { display: flex; align-items: center; }

.custom-logo,
.ast-site-identity img.custom-logo { height: 52px; width: auto; max-width: 220px; display: block; }

/* Hide text title when custom logo is active */
.custom-logo ~ .ast-site-title,
.custom-logo-link ~ .ast-site-title-wrap { display: none !important; }
.site-title { display: none !important; }
.ast-site-title-wrap:has(.custom-logo-link) .ast-site-title { display: none !important; }

/* Fallback: text title style (shown when no logo set) */
.ast-site-title a { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1.35rem; letter-spacing: .15em; color: var(--how-navy) !important; text-decoration: none; text-transform: uppercase; }

/* Nav links */
.main-navigation a, .ast-builder-menu-1 a, .menu-item a {
  font-family: 'DM Sans', sans-serif; font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--how-navy) !important; font-weight: 600;
}
.main-navigation a:hover, .menu-item a:hover { color: var(--how-gold) !important; }

/* ============================================
   NAV CART ICON
   ============================================ */
.how-nav-cart > a.how-cart-link {
  display: flex !important; align-items: center; gap: .35rem; position: relative;
  padding: 0 .5rem !important; text-decoration: none !important;
  color: var(--how-navy) !important; line-height: 1;
}
.how-nav-cart > a.how-cart-link:hover { color: var(--how-gold) !important; }
.how-nav-cart > a.how-cart-link svg { display: block; }
.how-cart-count {
  position: absolute; top: -8px; right: -6px;
  background: var(--how-gold); color: var(--how-navy);
  font-size: .6rem; font-weight: 700; font-family: 'DM Sans', sans-serif;
  min-width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; pointer-events: none;
}

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */
.how-eyebrow { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--how-gold); font-family: 'DM Sans', sans-serif; font-weight: 600; margin-bottom: .4rem; display: block; }
.how-gold { color: var(--how-gold); font-style: italic; }

/* ============================================
   BUTTONS
   ============================================ */
.how-btn { display: inline-block; padding: .75rem 1.6rem; font-size: .75rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; border: 2px solid var(--how-navy); transition: all .2s; cursor: pointer; }
.how-btn-dark { background: var(--how-navy); color: var(--how-white) !important; }
.how-btn-dark:hover { background: var(--how-gold); border-color: var(--how-gold); color: var(--how-navy) !important; }
.how-btn-outline { background: transparent; color: var(--how-navy) !important; }
.how-btn-outline:hover { background: var(--how-navy); color: var(--how-white) !important; }

/* ============================================
   PAGE NAME BANNER (inner pages)
   ============================================ */
.how-page-banner {
  background: var(--how-navy);
  width: 100%; padding: 64px var(--how-pad-x) 56px;
  text-align: center; position: relative; overflow: hidden;
}
.how-page-banner-sunburst {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: .08;
}
.how-page-banner-sunburst svg { width: 100%; max-width: 600px; height: auto; }
.how-page-banner-inner { position: relative; z-index: 1; }
.how-page-banner .how-eyebrow { color: var(--how-gold); margin-bottom: .5rem; }
.how-page-banner-title {
  font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--how-cream) !important; margin: 0 0 .4rem; line-height: 1.1;
}
.how-page-banner-rule { width: 48px; height: 2px; background: var(--how-gold); margin: .8rem auto 0; }
.how-page-banner-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.how-page-banner-wave svg { width: 100%; display: block; }
.how-banner-spacer { height: 12px; }

/* Hide Astra/WooCommerce default titles on inner pages */
.how-has-banner .entry-title,
.how-has-banner .ast-page-title-wrap,
.how-has-banner .woocommerce-products-header { display: none !important; }

/* Hide page title on home page */
.home .entry-title, .home .ast-page-title-wrap,
.page-id-18 .entry-title, .page-id-18 .ast-page-title-wrap { display: none !important; }

/* ============================================
   WAVE DIVIDERS
   ============================================ */
.how-wave-divider { line-height: 0; overflow: hidden; width: 100%; }
.how-wave-divider svg { width: 100%; display: block; }
.how-wave-divider--flip { transform: scaleX(-1); }

/* ============================================
   SECTIONS — common
   ============================================ */
.how-section { padding: 80px var(--how-pad-x); width: 100%; }
.how-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.how-intro { text-align: center; max-width: 580px; margin: 0 auto 3rem; font-size: 1rem; line-height: 1.75; color: #3a4a64; }

/* ============================================
   HERO
   ============================================ */
.how-hero {
  background: var(--how-cream); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; padding: 80px var(--how-pad-x); min-height: 560px; width: 100%;
}
.how-sunburst { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 0; }
.how-sunburst svg { width: 100%; height: 100%; max-width: 700px; }
.how-hero-text { position: relative; z-index: 1; }
.how-hero-img-wrap { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-start; }
.how-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; margin-bottom: 1.2rem; }
.how-hero-sub { max-width: 500px; font-size: 1rem; line-height: 1.75; margin-bottom: 2rem; color: #3a4a64; }
.how-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.how-badges { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--how-gold); }

.how-hero-photo-frame {
  position: relative; border: 3px solid var(--how-navy); padding: 8px;
  background: var(--how-white); box-shadow: 14px 14px 0 var(--how-gold);
  max-width: 420px; width: 100%;
}
.how-hero-photo { width: 100%; height: 420px; object-fit: cover; display: block; }
.how-hero-badge {
  position: absolute; bottom: -1.6rem; left: 1.8rem;
  background: var(--how-navy); color: var(--how-cream);
  padding: .55rem 1.2rem .6rem; font-family: 'DM Sans', sans-serif; min-width: 160px;
}
.how-hero-badge-label { display: block; font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--how-gold); margin-bottom: .15rem; }
.how-hero-badge strong { font-size: .82rem; font-weight: 600; }
.how-starburst-corner { position: absolute; bottom: -2.5rem; left: -2rem; width: 72px; height: 72px; pointer-events: none; z-index: 2; }

/* ============================================
   PICK YOUR AISLE
   ============================================ */
.how-pick { text-align: center; border-top: 3px solid var(--how-gold); border-bottom: 3px solid var(--how-gold); background: var(--how-cream); }
.how-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.how-aisle-card { border: 2px solid var(--how-navy); text-decoration: none !important; display: block; overflow: hidden; transition: box-shadow .2s; background: var(--how-white); }
.how-aisle-card:hover { box-shadow: 0 8px 24px rgba(26,39,68,.15); }
.how-aisle-img-wrap { overflow: hidden; }
.how-aisle-img, .how-aisle-img-wrap img { width: 100%; height: 280px; object-fit: cover; display: block; }
.how-aisle-label { padding: 1.5rem; }
.how-aisle-label h3 { font-size: 1.35rem; color: var(--how-navy); margin: .3rem 0; font-family: 'Playfair Display', serif; }
.how-aisle-label p { color: #5a6a84; font-size: .9rem; margin: 0; }

/* ============================================
   FAVOURITES — white band, full-width
   ============================================ */
.how-favourites {
  background: var(--how-white);
  width: 100%; padding: 80px var(--how-pad-x);
}
.how-fav-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }

/* ============================================
   STORY STRIP
   ============================================ */
.how-story-strip { background: var(--how-cream); width: 100%; }
.how-story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.how-story-img-wrap { position: relative; }
.how-story-frame { border: 3px solid var(--how-navy); padding: 8px; background: var(--how-white); box-shadow: 14px 14px 0 var(--how-gold); }
.how-story-img { width: 100%; height: 360px; object-fit: cover; display: block; }
.how-story-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.how-story-text p { font-size: 1rem; line-height: 1.8; max-width: 520px; color: #3a4a64; margin-bottom: 2rem; }

/* ============================================
   TESTIMONIALS — navy band, full-width
   ============================================ */
.how-testimonials { background: var(--how-navy); width: 100%; padding: 80px var(--how-pad-x); }
.how-testimonials .how-eyebrow { color: var(--how-gold); }
.how-testimonials h2 { color: var(--how-cream) !important; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .5rem; }
.how-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.how-testimonial { border: 1px solid rgba(201,168,76,.35); padding: 2rem; background: rgba(255,255,255,.04); text-align: center; }
.how-testimonial-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid var(--how-gold); display: block; margin: 0 auto 1.4rem; }
.how-testimonial-quote { color: var(--how-cream) !important; font-size: .95rem; line-height: 1.75; margin-bottom: 1.2rem; font-style: italic; text-align: left; }
.how-testimonial-attr { color: rgba(245,240,220,.6); font-size: .82rem; margin: 0; text-align: left; }
.how-testimonial-attr em { color: var(--how-gold); font-style: normal; }

/* ============================================
   OUR STORY PAGE
   ============================================ */
.how-story-page .how-eyebrow { text-align: center; }
.how-cta-strip { text-align: center; padding: 3rem 0 0; }
.how-cta-strip h2 { margin-bottom: 1.5rem; }

/* Chapter — 2-col image + text layout */
.how-chapter { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.how-chapter--img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--how-border);
}
.how-chapter--img:last-of-type { border-bottom: none; }
/* Flip: image on right */
.how-chapter--flip .how-chapter-img { order: 2; }
.how-chapter--flip .how-chapter-text { order: 1; }

.how-chapter-img { overflow: hidden; }
.how-chapter-photo {
  width: 100%; height: 380px; object-fit: cover; display: block;
  border: 3px solid var(--how-navy);
  box-shadow: 10px 10px 0 var(--how-gold);
}
.how-chapter-text .how-eyebrow { text-align: left; }
.how-chapter-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .5rem 0 1rem; }
.how-chapter-text p { line-height: 1.8; color: #3a4a64; max-width: 520px; }

@media (max-width: 900px) {
  .how-chapter--img { grid-template-columns: 1fr; gap: 2rem; }
  .how-chapter--flip .how-chapter-img { order: 0; }
  .how-chapter--flip .how-chapter-text { order: 0; }
  .how-chapter-photo { height: 280px; box-shadow: 6px 6px 0 var(--how-gold); }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.how-contact-page { max-width: 680px; margin: 0 auto; }
.how-contact-info { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--how-border); line-height: 2.2; }

/* ============================================
   WOOCOMMERCE — SHOP / CATEGORY GRID
   ============================================ */

/* Breadcrumbs + sorting toolbar */
.woocommerce-breadcrumb,
.woocommerce-result-count,
.woocommerce-ordering { color: #5a6a84; font-size: .82rem; font-family: 'DM Sans', sans-serif; }

/* Force 3-column grid regardless of Astra defaults */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  margin: 2rem 0 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 2px solid var(--how-navy); padding: 0 !important; overflow: hidden;
  background: var(--how-white); transition: box-shadow .2s;
  margin: 0 !important; float: none !important; width: auto !important;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover { box-shadow: 0 8px 24px rgba(26,39,68,.15); }

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img { width: 100%; height: 240px; object-fit: cover; display: block; }

.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--how-navy); padding: 1rem 1rem .2rem; margin: 0; }
.woocommerce ul.products li.product .price { color: var(--how-navy); font-weight: 700; padding: 0 1rem .5rem; display: block; }
.woocommerce ul.products li.product .button {
  background: var(--how-navy) !important; color: var(--how-white) !important;
  border: 2px solid var(--how-navy) !important; border-radius: 0 !important;
  font-size: .72rem !important; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; margin: .5rem 1rem 1rem !important; display: inline-block !important;
  padding: .6rem 1.2rem !important; transition: all .2s !important; font-family: 'DM Sans', sans-serif !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--how-gold) !important; border-color: var(--how-gold) !important; color: var(--how-navy) !important; }

/* ============================================
   WOOCOMMERCE — SINGLE PRODUCT
   ============================================ */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.woocommerce div.product .woocommerce-product-gallery { margin: 0; }
.woocommerce div.product .woocommerce-product-gallery__image img { width: 100%; height: 480px; object-fit: cover; display: block; border: 2px solid var(--how-navy); }
.woocommerce div.product h1.product_title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.woocommerce div.product .price { color: var(--how-navy); font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; display: block; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #3a4a64; line-height: 1.8; margin-bottom: 1.5rem; }
.woocommerce div.product .single_add_to_cart_button {
  background: var(--how-navy) !important; color: var(--how-white) !important;
  border-radius: 0 !important; font-size: .82rem !important; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 600; padding: .9rem 2.4rem !important;
  transition: all .2s !important; font-family: 'DM Sans', sans-serif !important;
  border: 2px solid var(--how-navy) !important;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--how-gold) !important; border-color: var(--how-gold) !important; color: var(--how-navy) !important; }
/* Tabs below the product */
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; }
/* Related products */
.woocommerce .related.products { padding: 0; }
.woocommerce .related.products > h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }

/* ============================================
   FOOTER — force everything navy, scoped to footer only
   ============================================ */
.site-footer { background: var(--how-navy) !important; color: var(--how-cream) !important; padding: 3rem var(--how-pad-x); width: 100%; }
.site-footer a { color: var(--how-gold) !important; }
.site-footer a:hover { color: var(--how-white) !important; }
/* Footer builder inner containers — scoped so header is not affected */
.site-footer .site-below-footer-wrap,
.site-footer .ast-builder-grid-row-container,
.site-footer .ast-builder-grid-row-container-inner,
.site-footer .site-footer-below-section-1,
.site-footer .ast-builder-layout-element,
.site-footer .ast-flex,
.site-footer .ast-footer-copyright,
.ast-small-footer { background: var(--how-navy) !important; }
.site-footer .site-below-footer-wrap,
.ast-small-footer { border-top: 1px solid rgba(201,168,76,.3) !important; padding: 1rem var(--how-pad-x) !important; color: rgba(245,240,220,.6) !important; }
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright * { color: rgba(245,240,220,.6) !important; }

/* Remove cream gap between last section and footer */
.site-content,
.hfeed.site-content { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.ast-article-single,
.ast-article-post { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.entry-content { margin-bottom: 0 !important; }
#primary.content-area,
.content-area.primary { margin-bottom: 0 !important; }

/* Page title fallbacks */
.ast-archive-description h1, .woocommerce-products-header__title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); }

/* ============================================
   JOURNAL / BLOG GRID
   ============================================ */
.how-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.how-journal-card {
  border: 2px solid var(--how-navy);
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--how-white);
  transition: box-shadow .2s;
}
.how-journal-card:hover { box-shadow: 0 8px 24px rgba(26,39,68,.15); }
.how-journal-thumb { overflow: hidden; flex-shrink: 0; }
.how-journal-img,
.how-journal-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; }
.how-journal-img--placeholder { background: var(--how-border); height: 200px; }
.how-journal-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.how-journal-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--how-navy); margin: .4rem 0 .8rem; line-height: 1.35; }
.how-journal-excerpt { color: #5a6a84; font-size: .9rem; line-height: 1.7; flex: 1; margin-bottom: 1.2rem; }
.how-journal-read { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--how-gold); font-family: 'DM Sans', sans-serif; }

/* ============================================
   RESPONSIVE — 1100px (wide tablet / small desktop)
   ============================================ */
@media (max-width: 1100px) {
  .how-hero { gap: 2.5rem; }
  .how-hero-photo { height: 360px; }
  .how-story-inner { gap: 2.5rem; }
  .how-story-img { height: 300px; }
}

/* ============================================
   RESPONSIVE — 900px (tablet)
   ============================================ */
@media (max-width: 900px) {
  /* Hero stacks vertically */
  .how-hero { grid-template-columns: 1fr; gap: 2.5rem; padding: 50px 5%; min-height: unset; }
  .how-hero-img-wrap { justify-content: center; }
  .how-hero-photo-frame { max-width: 100%; }
  .how-hero-photo { height: 300px; }

  /* Story stacks */
  .how-story-inner { grid-template-columns: 1fr; gap: 2rem; }
  .how-story-img { height: 280px; }

  /* Testimonials: 1 col */
  .how-testimonial-grid { grid-template-columns: 1fr; }

  /* Aisle cards: stack */
  .how-two-col { grid-template-columns: 1fr; }

  /* Fav header */
  .how-fav-header { flex-direction: column; align-items: flex-start; }

  /* Shop: 2 cols on tablet */
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; }

  /* Journal: 2 cols on tablet */
  .how-journal-grid { grid-template-columns: repeat(2, 1fr); }

  /* Single product: stack */
  .woocommerce div.product { grid-template-columns: 1fr; gap: 2rem; }
  .woocommerce div.product .woocommerce-product-gallery__image img { height: 340px; }

  /* Logo size on tablet */
  .custom-logo, .ast-site-identity img.custom-logo { height: 42px; }
}

/* ============================================
   RESPONSIVE — 640px (large phone)
   ============================================ */
@media (max-width: 640px) {
  .how-section { padding: 50px var(--how-pad-x); }
  .how-favourites { padding: 50px var(--how-pad-x); }
  .how-testimonials { padding: 50px var(--how-pad-x); }
  .how-hero { padding: 40px var(--how-pad-x); }

  .how-hero-btns { flex-direction: column; }
  .how-btn { text-align: center; }

  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }

  .how-page-banner { padding: 44px var(--how-pad-x) 40px; }
  .how-aisle-img, .how-aisle-img-wrap img { height: 200px; }

  .custom-logo, .ast-site-identity img.custom-logo { height: 36px; }
}

/* ============================================
   RESPONSIVE — 480px (small phone)
   ============================================ */
@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr !important; }
  .how-journal-grid { grid-template-columns: 1fr; }

  .how-hero-photo { height: 240px; }
  .how-story-img { height: 220px; }
  .woocommerce div.product .woocommerce-product-gallery__image img { height: 260px; }

  .how-testimonial-grid { gap: 1.2rem; }
  .how-testimonial { padding: 1.4rem; }
}

/* ============================================
   ART DECO ENHANCEMENTS
   ============================================ */

/* --- Four-corner gold bracket ornaments ---
   Uses 8 stacked gradients on ::before to paint L-shaped
   corner accents at all four corners without extra markup. */
.how-aisle-card,
.how-testimonial,
.how-journal-card { position: relative; }

.how-aisle-card::before,
.how-testimonial::before,
.how-journal-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  background:
    linear-gradient(var(--how-gold), var(--how-gold)) top    left  / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) top    left  / 2px 18px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) top    right / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) top    right / 2px 18px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom left  / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom left  / 2px 18px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom right / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom right / 2px 18px no-repeat;
  pointer-events: none;
  z-index: 10;
}

/* Corner brackets on WooCommerce product cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { position: relative; }

.woocommerce ul.products li.product::after,
.woocommerce-page ul.products li.product::after {
  content: '';
  position: absolute;
  inset: 10px;
  background:
    linear-gradient(var(--how-gold), var(--how-gold)) top    left  / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) top    left  / 2px 18px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) top    right / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) top    right / 2px 18px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom left  / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom left  / 2px 18px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom right / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom right / 2px 18px no-repeat;
  pointer-events: none;
  z-index: 10;
}

/* --- Double-rule gold ornament below key headings --- */
.how-testimonials h2::after,
.how-favourites .how-fav-header h2::after,
.how-chapter-text h2::after,
.how-story-page > h1::after,
.woocommerce div.product h1.product_title::after,
.woocommerce-tabs .panel h2::after,
.how-cta-strip h2::after,
.how-section > h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 7px;
  margin: 0.9rem 0 0;
  background:
    linear-gradient(var(--how-gold), var(--how-gold)) top    / 100% 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom / 100% 2px no-repeat;
}

/* Center the rule on centered headings */
.how-testimonials h2::after,
.how-favourites .how-fav-header h2::after,
.how-story-page > h1::after,
.how-cta-strip h2::after { margin-left: auto; margin-right: auto; }

/* --- Corner brackets on single product gallery --- */
.woocommerce div.product .woocommerce-product-gallery { position: relative; }
.woocommerce div.product .woocommerce-product-gallery::before {
  content: '';
  position: absolute;
  inset: 10px;
  background:
    linear-gradient(var(--how-gold), var(--how-gold)) top    left  / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) top    left  / 2px 18px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) top    right / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) top    right / 2px 18px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom left  / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom left  / 2px 18px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom right / 18px 2px no-repeat,
    linear-gradient(var(--how-gold), var(--how-gold)) bottom right / 2px 18px no-repeat;
  pointer-events: none;
  z-index: 10;
}

/* --- Decorative gold divider on Our Story CTA strip --- */
.how-cta-strip {
  position: relative;
  border-top: 1px solid var(--how-gold);
}
.how-cta-strip::before {
  content: '◆';
  position: absolute;
  top: -0.65em;
  left: 50%;
  transform: translateX(-50%);
  color: var(--how-gold);
  background: var(--how-cream);
  padding: 0 0.8rem;
  font-size: 0.75rem;
  line-height: 1;
}

/* --- Gold top border on each story chapter --- */
.how-chapter--img {
  border-top: 1px solid rgba(201,168,76,.3);
}
.how-chapter--img:first-of-type { border-top: none; }

/* --- Repeating diamond strip at navy band edges --- */
.how-testimonials {
  border-top: 1px solid rgba(201,168,76,.5);
  border-bottom: 1px solid rgba(201,168,76,.5);
  box-shadow: 0 -5px 0 rgba(201,168,76,.15), 0 5px 0 rgba(201,168,76,.15);
}

/* --- Hamburger menu icon — navy --- */
.ast-mobile-menu-buttons .ast-button-wrap .mobile-menu-wrap,
.ast-mobile-header-wrap .ast-button-wrap button,
.menu-toggle,
.ast-mobile-menu-buttons button,
.ast-mobile-menu-buttons .ast-button-wrap {
  color: var(--how-navy) !important;
  background: transparent !important;
}
.menu-toggle .menu-toggle-icon,
.menu-toggle .menu-toggle-icon::before,
.menu-toggle .menu-toggle-icon::after,
.ast-mobile-menu-buttons svg,
.ast-mobile-menu-buttons path,
.ast-mobile-menu-buttons span { background: var(--how-navy) !important; color: var(--how-navy) !important; fill: var(--how-navy) !important; stroke: var(--how-navy) !important; }

/* --- Scroll to top button — navy --- */
#ast-scroll-top,
.ast-scroll-top {
  background: var(--how-navy) !important;
  color: var(--how-cream) !important;
  border-color: var(--how-navy) !important;
}
#ast-scroll-top:hover,
.ast-scroll-top:hover { background: var(--how-gold) !important; border-color: var(--how-gold) !important; }

/* --- Art deco diamond border on header bottom --- */
.main-header-bar,
.site-header { border-bottom: none !important; }

.site-header::after {
  content: '';
  display: block;
  height: 4px;
  background:
    linear-gradient(var(--how-border), var(--how-border)) top    / 100% 1px no-repeat,
    linear-gradient(var(--how-border), var(--how-border)) bottom / 100% 1px no-repeat,
    repeating-linear-gradient(
      90deg,
      transparent 0, transparent 6px,
      var(--how-gold) 6px, var(--how-gold) 7px,
      transparent 7px, transparent 14px
    );
  opacity: 0.7;
}

/* ============================================
   BLOG - REMOVE WHITE CARD BACKGROUNDS
   Astra injects background-color on .ast-separate-container
   and its inner containers; force them all to inherit cream.
   ============================================ */

/* Single post page containers */
.single-post .ast-container,
.single-post #primary.content-area,
.single-post .site-main,
.single-post .single-layout-1,
.single-post .ast-post-format-,
.ast-blog-single-style-1 .ast-article-single,
.ast-blog-single-style-1 .entry-content,
.ast-blog-single-style-1 #primary,
.ast-blog-single-style-1 .site-main {
  background: transparent !important;
  box-shadow: none !important;
}

/* Blog listing cards - match cream so they don't float as white boxes */
.how-journal-card {
  background: var(--how-cream) !important;
}

/* ============================================
   BLOG SINGLE POST - FIX WHITE BACKGROUNDS
   ============================================ */

/* Main content container Astra narrow layout */
.ast-narrow-container .ast-container,
.ast-narrow-container #primary,
.ast-narrow-container .site-main,
.ast-narrow-container .ast-article-single,
.ast-narrow-container .single-layout-1 {
  background: transparent !important;
  box-shadow: none !important;
}

/* Comment section and post navigation */
.comment-respond,
#respond,
.comments-area,
.comment-list li,
.comment-list .comment-body,
.post-navigation,
.ast-post-navigation,
.nav-previous, .nav-next {
  background: transparent !important;
}

/* Post Comment button - match site theme */
input#submit,
.comment-form input[type=submit] {
  background: var(--how-navy) !important;
  color: var(--how-cream) !important;
  border: 2px solid var(--how-navy) !important;
  border-radius: 0 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: .75rem !important;
  font-weight: 600 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  padding: .75rem 1.6rem !important;
  cursor: pointer !important;
  transition: all .2s !important;
}
input#submit:hover,
.comment-form input[type=submit]:hover {
  background: var(--how-gold) !important;
  border-color: var(--how-gold) !important;
  color: var(--how-navy) !important;
}

/* Comment form inputs - match theme */
.comment-form textarea,
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url] {
  border: 1px solid var(--how-border) !important;
  border-radius: 0 !important;
  background: var(--how-white) !important;
  font-family: 'DM Sans', sans-serif !important;
}
.comment-form textarea:focus,
.comment-form input:focus {
  border-color: var(--how-gold) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ============================================
   BLOG SINGLE POST - CENTERED LAYOUT
   Match site's standard 80% centered padding
   ============================================ */
.single-post #primary.content-area,
.ast-blog-single-style-1 #primary.content-area {
  padding: 60px var(--how-pad-x) 80px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Cap content width for readability, centered */
.single-post .ast-article-single,
.single-post .comment-respond,
.single-post .post-navigation,
.single-post .ast-post-navigation {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BLOG SINGLE POST - FEATURED IMAGE
   ============================================ */
.how-post-hero-img {
  margin: 0 0 2.5rem;
  padding: 0;
  display: block;
}
.how-post-hero-img .how-post-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 3px solid var(--how-navy);
  box-shadow: 10px 10px 0 var(--how-gold);
}
@media (max-width: 600px) {
  .how-post-hero-img .how-post-featured-img { height: 240px; box-shadow: 6px 6px 0 var(--how-gold); }
}

/* ============================================
   HERO - FANCY FONDREN BAKERY LOGO (no frame)
   ============================================ */
.how-hero-logo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none !important;
  box-shadow: none !important;
}
