/*
Theme Name: HITents
Theme URI: https://hitents.com
Author: HITents
Author URI: https://hitents.com
Description: Custom theme for HITents rooftop tents since 2012.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: hitents
*/

/* ─── DESIGN TOKENS ─── */
:root {
  --hi-dark:    #1a1a18;
  --hi-olive:   #3d4a2e;
  --hi-tan:     #c8b98a;
  --hi-sand:    #f0ebe0;
  --hi-white:   #fafaf7;
  --hi-rust:    #8b4a2b;
  --hi-muted:   #6b6b5e;
  --hi-border:  #d6d0c0;
  --hi-accent:  #4a6741;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm:  2px;
  --radius-md:  4px;
  --transition: 0.2s ease;
  --max-width:  1200px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--hi-white);
  color: var(--hi-dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.1; color: var(--hi-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── LAYOUT ─── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--sand  { background: var(--hi-sand); }
.section--dark  { background: var(--hi-dark); color: #fff; }
.section--olive { background: var(--hi-olive); color: #fff; }

/* ─── EYEBROW ─── */
.eyebrow { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--hi-muted); margin-bottom: 10px; display: block; }
.eyebrow--light { color: var(--hi-tan); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--radius-sm); border: none;
  transition: opacity var(--transition), background var(--transition);
  cursor: pointer; white-space: nowrap;
}
.btn--primary  { background: var(--hi-tan);  color: var(--hi-dark); }
.btn--primary:hover { opacity: 0.85; }
.btn--dark     { background: var(--hi-dark); color: #fff; }
.btn--dark:hover { background: var(--hi-olive); }
.btn--olive    { background: var(--hi-olive); color: #fff; }
.btn--olive:hover { opacity: 0.85; }
.btn--ghost    { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn--ghost:hover { border-color: #fff; }
.btn--outline  { background: transparent; color: var(--hi-dark); border: 1.5px solid var(--hi-dark); }
.btn--outline:hover { background: var(--hi-dark); color: #fff; }
.btn--full     { width: 100%; justify-content: center; }

/* ─── NAV ─── */
.site-header {
  background: var(--hi-dark);
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#comparison { scroll-margin-top: 80px; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.site-logo { font-size: 20px; font-weight: 800; letter-spacing: 3px; color: #fff; flex-shrink: 0; }
.site-logo span { color: var(--hi-tan); }
.site-logo img { height: 40px; width: auto; display: block; }

/* Nav + cart/toggle grouped together so .site-header__inner's
   space-between only splits logo vs. this group (keeping nav and cart
   tight against the right edge) rather than spreading nav, cart, and
   toggle apart as three separate flex items. */
.site-header__right { display: flex; align-items: center; gap: 24px; }

/* Cart + hamburger toggle — grouped so the cart stays visible on mobile
   even while the collapsible nav menu itself is closed. */
.site-header__actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.site-nav { display: flex; align-items: center; position: relative; }
.site-nav > ul,
.site-nav > .site-nav__list {
  display: flex !important; flex-direction: row !important;
  align-items: center; gap: 20px;
  list-style: none; margin: 0; padding: 0; flex-wrap: nowrap;
}
.site-nav > ul > li,
.site-nav > .site-nav__list > li { position: relative; list-style: none; }
.site-nav a {
  font-size: 11px; letter-spacing: .5px; text-transform: uppercase;
  color: rgba(255,255,255,0.7); transition: color var(--transition);
  white-space: nowrap; display: block; padding: 4px 0;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-page-ancestor > a { color: #fff; }
.site-nav .menu-item-has-children > a::after { content: ' ▾'; font-size: 10px; }

/* Sub-menus */
.site-nav .sub-menu {
  display: none !important; position: absolute; top: 100%; left: 0;
  background: var(--hi-dark); border-top: 2px solid var(--hi-tan);
  min-width: 200px; z-index: 300; padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  list-style: none; margin: 0; flex-direction: column; gap: 0;
}
.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu { display: flex !important; }
.site-nav .sub-menu > li { display: block; width: 100%; list-style: none; }
.site-nav .sub-menu a {
  display: block; padding: 10px 20px;
  color: rgba(255,255,255,0.7); white-space: nowrap; font-size: 11px;
  transition: all var(--transition);
}
.site-nav .sub-menu a:hover { color: var(--hi-tan); background: rgba(255,255,255,0.05); padding-left: 24px; }

/* Cart icon */
.nav-cart {
  position: relative; color: rgba(255,255,255,0.7);
  display: flex; align-items: center;
  transition: color var(--transition); flex-shrink: 0;
}
.nav-cart:hover { color: var(--hi-tan); }
.nav-cart__count {
  position: absolute; top: -6px; right: -8px;
  background: var(--hi-rust); color: #fff;
  font-size: 10px; font-weight: 700; width: 16px; height: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1;
}

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* ─── HERO ─── */
.hero {
  background: var(--hi-dark);
  padding: 96px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(61,74,46,0.3) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 0; }
.hero .container, .hero__inner { position: relative; z-index: 1; }
.hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero__content { max-width: 580px; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.0; color: #fff; margin-bottom: 20px; }
.hero__title em { color: var(--hi-tan); font-style: normal; }
.hero__sub { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 440px; line-height: 1.65; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero__badge {
  background: var(--hi-olive); border: 2px solid var(--hi-tan); border-radius: 50%;
  width: 148px; height: 148px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; flex-shrink: 0; padding: 16px;
}
.hero__badge-year { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--hi-tan); }
.hero__badge-num  { font-size: 36px; font-weight: 800; color: #fff; line-height: 1; }
.hero__badge-lab  { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); }

/* ─── BRAND BAR ─── */
.brand-bar { background: var(--hi-olive); padding: 14px 24px; overflow: hidden; }
.brand-bar__inner { display: flex; align-items: center; gap: 40px; white-space: nowrap; }
.brand-bar__label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.brand-bar__name  { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.85); font-weight: 600; }

/* ─── SECTION HEADER ─── */
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header__title { margin-bottom: 12px; }
.section-header__sub { font-size: 15px; color: var(--hi-muted); max-width: 520px; line-height: 1.65; }
.section-header--center .section-header__sub { margin: 0 auto; }

/* ─── TENT MODEL GRID (homepage) ───
   Image on top, solid sand-colored info panel below — text never sits on
   top of the photo, so legibility doesn't depend on what's in the shot. */
.model-trio { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--hi-border); }
.model-trio-card {
  background: var(--hi-sand);
  display: flex; flex-direction: column;
  text-decoration: none; cursor: pointer;
}
.model-trio-card__image {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
}
.model-trio-card__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.model-trio-card:hover .model-trio-card__bg { transform: scale(1.04); }
.model-trio-card__tag {
  position: absolute; top: 0; left: 0;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--hi-tan); border: 1px solid var(--hi-tan);
  padding: 6px 12px; border-radius: 0 0 var(--radius-sm) 0; z-index: 3;
}
.model-trio-card__info {
  flex: 1; display: flex; flex-direction: column;
  padding: 32px; background: var(--hi-sand);
}
.model-trio-card__name  { font-size: 28px; font-weight: 800; color: var(--hi-dark); margin-bottom: 8px; }
.model-trio-card__desc  { font-size: 13px; color: var(--hi-muted); line-height: 1.5; margin-bottom: 16px; }
.model-trio-card__price { font-size: 12px; font-weight: 700; color: var(--hi-olive); letter-spacing: .5px; margin-bottom: 16px; }
.model-trio-card__cta   { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--hi-dark); margin-top: auto; transition: color var(--transition); }
.model-trio-card:hover .model-trio-card__cta { color: var(--hi-olive); }

/* ─── FEATURES STRIP ─── */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.feat-item { text-align: center; }
.feat-item__icon { width: 48px; height: 48px; background: var(--hi-olive); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: #fff; font-size: 20px; }
.feat-item__title { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--hi-dark); }
.feat-item__text  { font-size: 13px; color: var(--hi-muted); line-height: 1.6; }

/* ─── WHY SECTION ─── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-visual { background: var(--hi-dark); border-radius: var(--radius-md); aspect-ratio: 4/3; overflow: hidden; position: relative; }
.why-visual img { width: 100%; height: 100%; object-fit: cover; }
.why-visual__badge { position: absolute; bottom: 16px; right: 16px; background: var(--hi-tan); color: var(--hi-dark); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 8px 14px; border-radius: var(--radius-sm); }
.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-item__num   { font-size: 10px; font-weight: 700; color: var(--hi-tan); letter-spacing: 1px; padding-top: 3px; min-width: 28px; }
.why-item__title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.why-item__text  { font-size: 13px; color: var(--hi-muted); line-height: 1.6; }

/* ─── PROOF STRIP ─── */
.proof-strip { padding: 48px 0; text-align: center; border-top: 1px solid var(--hi-border); border-bottom: 1px solid var(--hi-border); }
.proof-stats { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.proof-stat__num { font-size: 36px; font-weight: 800; color: var(--hi-olive); line-height: 1; margin-bottom: 4px; }
.proof-stat__lab { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hi-muted); }

/* ─── TENTS LANDING ─── */
.page-hero { background: var(--hi-dark); padding: 64px 0 48px; color: #fff; }
.page-hero__title { color: #fff; margin-bottom: 12px; }
.page-hero__sub   { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 480px; line-height: 1.65; }
.tents-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding: 56px 0; }
.tent-card {
  border: 1px solid var(--hi-border); border-radius: var(--radius-md); overflow: hidden;
  background: var(--hi-white); transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none; display: flex; flex-direction: column;
}
.tent-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.1); transform: translateY(-3px); }
.tent-card--featured { border-color: var(--hi-olive); box-shadow: 0 0 0 1px var(--hi-olive); }
.tent-card__img { background: var(--hi-dark); aspect-ratio: 4/3; position: relative; overflow: hidden; }
.tent-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tent-card__badge { position: absolute; top: 0; left: 0; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 10px; border-radius: 0 0 var(--radius-sm) 0; z-index: 3; }
.tent-card__badge--tan  { background: rgba(200,185,138,0.85); color: var(--hi-dark); border: 1px solid rgba(200,185,138,0.4); backdrop-filter: blur(4px); }
.tent-card__badge--olive{ background: rgba(61,74,46,0.85);    color: #fff;           border: 1px solid rgba(61,74,46,0.4);   backdrop-filter: blur(4px); }
.tent-card__badge--rust { background: rgba(139,74,43,0.85);   color: #fff;           border: 1px solid rgba(139,74,43,0.4);  backdrop-filter: blur(4px); }
.tent-card__body  { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.tent-card__name  { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.tent-card__desc  { font-size: 13px; color: var(--hi-muted); line-height: 1.6; margin-bottom: 16px; }
.tent-card__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tent-card__pill  { background: var(--hi-sand); color: var(--hi-olive); font-size: 11px; font-weight: 600; letter-spacing: .3px; padding: 4px 10px; border-radius: var(--radius-sm); }
.tent-card__price { font-size: 13px; color: var(--hi-muted); margin-bottom: 20px; margin-top: auto; }
.tent-card__price strong { font-size: 20px; font-weight: 800; color: var(--hi-dark); }
.tent-card__cta   { display: block; width: 100%; text-align: center; padding: 13px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: var(--radius-sm); background: var(--hi-dark); color: #fff; border: none; transition: background var(--transition); }
.tent-card:hover .tent-card__cta  { background: var(--hi-olive); }
.tent-card--featured .tent-card__cta { background: var(--hi-olive); }

/* ─── UNIFIED BADGE ─── */
.model-trio-card__tag,
.tent-card__badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; backdrop-filter: blur(4px); }
.model-trio-card__tag { color: var(--hi-tan); background: rgba(0,0,0,0.45); border: 1px solid rgba(200,185,138,0.6); text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.tent-card__img .model-trio-card__tag,
.model-trio-card__image .model-trio-card__tag { position: absolute; top: 0; left: 0; z-index: 3; border-radius: 0 0 var(--radius-sm) 0; }

/* ═══════════════════════════════════════════════════════
   NATIVE WOOCOMMERCE PRODUCT PAGE
   ═══════════════════════════════════════════════════════ */

/* Two-column layout */
.woocommerce div.product {
  display: grid !important;
  grid-template-columns: 1fr 420px !important;
  gap: 56px !important;
  align-items: start !important;
  padding: 48px 0 !important;
}

/* ── PRODUCT GALLERY (right column) — gallery + under-image actions stack
   together as a single grid item so their combined height doesn't stretch
   the row shared with the (much taller) left column.
   NOTE: not position:sticky — the tabs (Description/Specs/Reviews) and
   Related Products sections are grid-column:1/-1 items further down in
   this same grid, so a sticky column here keeps floating and overlapping
   them while scrolling instead of releasing at the end of row 1. ── */
.woocommerce div.product .pdp-gallery-col {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
}
.woocommerce div.product .pdp-gallery-col .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
}

/* Main image — large.
   NOTE: the `> .woocommerce-product-gallery__wrapper >` direct-child chain
   below is deliberate — it scopes the :first-child width rule to products
   with a single image (no flexslider, wrapper is a direct child of the
   gallery). On multi-image products flexslider wraps slides in a
   .flex-viewport with its own inline per-slide widths (sized to the
   viewport); without this scoping, :first-child also matched the first
   flexslider slide and forced it to 100% of the slider track (which is
   400%+ wide to hold all slides side by side), blowing the image up far
   past the visible frame. */
.woocommerce div.product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child,
.woocommerce div.product .woocommerce-product-gallery .flex-viewport {
  width: 100% !important;
  margin-bottom: 12px !important;
}
.woocommerce div.product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
.woocommerce div.product .woocommerce-product-gallery .flex-viewport img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: cover !important;
  border-radius: var(--radius-md) !important;
  display: block !important;
}

/* Thumbnail strip — horizontal row below main image */
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav li {
  width: calc(25% - 6px) !important;
  cursor: pointer !important;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav li img {
  width: 100% !important;
  height: 80px !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm) !important;
  border: 2px solid transparent !important;
  transition: border-color var(--transition) !important;
  display: block !important;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav li img:hover,
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav li img.flex-active {
  border-color: var(--hi-olive) !important;
}

/* Zoom icon */
.woocommerce div.product .woocommerce-product-gallery__trigger {
  top: 12px !important; right: 12px !important;
  background: rgba(255,255,255,0.9) !important;
  border-radius: 50% !important; width: 36px !important; height: 36px !important;
}

/* ── SUMMARY (left column) ── */
.woocommerce div.product .summary.entry-summary {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

/* Product title */
.woocommerce div.product .product_title {
  font-size: 32px !important; font-weight: 800 !important;
  color: var(--hi-dark) !important; margin-bottom: 8px !important; line-height: 1.1 !important;
}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 14px !important; color: var(--hi-muted) !important;
  line-height: 1.65 !important; margin-bottom: 28px !important;
}

/* Hide base price — variation price shows after selection */
.woocommerce div.product p.price,
.woocommerce div.product span.price { display: none !important; }

/* Variation price — hidden in the left column; all pricing/totals live in
   the right-hand column under the product image instead. */
.woocommerce div.product .woocommerce-variation-price { display: none !important; }

/* Variations table */
.woocommerce div.product table.variations { width: 100% !important; border: none !important; margin-bottom: 24px !important; }
.woocommerce div.product table.variations td,
.woocommerce div.product table.variations th { padding: 0 0 12px 0 !important; border: none !important; vertical-align: top !important; }
.woocommerce div.product .variations th.label label {
  font-size: 10px !important; letter-spacing: 2.5px !important; text-transform: uppercase !important;
  color: var(--hi-muted) !important; font-weight: 700 !important;
  padding-bottom: 8px !important; border-bottom: 1px solid var(--hi-border) !important;
  display: block !important; margin-bottom: 12px !important;
}
.woocommerce div.product .variations select {
  width: 100% !important; border: 1.5px solid var(--hi-border) !important;
  border-radius: var(--radius-md) !important; padding: 12px 16px !important;
  font-size: 14px !important; font-weight: 600 !important; color: var(--hi-dark) !important;
  background: #fff !important; cursor: pointer !important; font-family: var(--font-sans) !important;
}
.woocommerce div.product .variations select:focus { border-color: var(--hi-olive) !important; outline: none !important; }
.woocommerce div.product .reset_variations { display: none !important; }

/* ── PRODUCT ADD-ONS ── */
.wc-pao-addon-container { margin-bottom: 20px !important; }
.wc-pao-addon-name {
  font-size: 10px !important; letter-spacing: 2.5px !important; text-transform: uppercase !important;
  color: var(--hi-muted) !important; font-weight: 700 !important; display: block !important;
  padding-bottom: 8px !important; border-bottom: 1px solid var(--hi-border) !important; margin-bottom: 12px !important;
}
.wc-pao-addon-wrap { display: flex !important; flex-direction: column !important; gap: 8px !important; }

/* Each option: div wraps input + label as siblings */
.wc-pao-addon-wrap > div {
  display: flex !important; align-items: center !important; gap: 12px !important;
  padding: 12px 16px !important; border: 1.5px solid var(--hi-border) !important;
  border-radius: var(--radius-md) !important; background: #fff !important;
  cursor: pointer !important; transition: all 0.15s !important; margin: 0 !important;
}
.wc-pao-addon-wrap > div:hover { border-color: var(--hi-olive) !important; background: #f8faf6 !important; }
.wc-pao-addon-wrap > div:has(input:checked) { border-color: var(--hi-olive) !important; background: #f1f4ee !important; }

/* Hide auto-generated "None" radio */
.wc-pao-addon-wrap > div:has(input[value=""]) { display: none !important; }

/* Combo nudge — highlights an add-on option (e.g. the Awning) when a grade
   selection qualifies it for combo pricing, whether or not it's checked yet. */
.wc-pao-addon-wrap > div.pdp-combo-highlight {
  flex-wrap: wrap !important;
  border-color: var(--hi-olive) !important;
  background: #eaf1e1 !important;
  box-shadow: inset 0 0 0 1px var(--hi-olive);
}
.pdp-combo-note {
  width: 100%; order: 3; font-size: 11px; font-weight: 700;
  color: var(--hi-olive); letter-spacing: 0.3px;
}

/* Add-ons are priced modifiers on the tent's own variation, not
   standalone products — disable them until a Grade is picked so a
   shopper can't submit "just an add-on" with no tent selected. */
.wc-pao-addon-wrap > div.pdp-addon-disabled {
  opacity: 0.5 !important; cursor: not-allowed !important; background: var(--hi-sand) !important;
}
.wc-pao-addon-wrap > div.pdp-addon-disabled label,
.wc-pao-addon-wrap > div.pdp-addon-disabled input {
  cursor: not-allowed !important;
}

.wc-pao-addon-wrap > div input[type="radio"],
.wc-pao-addon-wrap > div input[type="checkbox"] {
  margin: 0 !important; flex-shrink: 0 !important;
  width: 16px !important; height: 16px !important;
  accent-color: var(--hi-olive) !important; cursor: pointer !important;
}
.wc-pao-addon-wrap > div label {
  border: none !important; padding: 0 !important; background: none !important;
  margin: 0 !important; flex: 1 !important; cursor: pointer !important;
  font-size: 14px !important; color: var(--hi-dark) !important;
  display: flex !important; justify-content: space-between !important; align-items: center !important;
  border-radius: 0 !important; transition: none !important;
}
.wc-pao-addon-wrap > div label:hover { border: none !important; background: none !important; }
.wc-pao-addon-price { margin-left: auto !important; font-weight: 700 !important; color: var(--hi-dark) !important; font-size: 13px !important; white-space: nowrap !important; }
.wc-pao-sub-total-wrap { margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid var(--hi-border) !important; font-size: 14px !important; font-weight: 600 !important; }

/* Quantity hidden */
.woocommerce div.product .quantity { display: none !important; }

/* Add to Cart button */
.woocommerce div.product .single_add_to_cart_button {
  width: 100% !important; background: var(--hi-dark) !important; color: #fff !important;
  font-size: 13px !important; font-weight: 700 !important; letter-spacing: 1px !important;
  text-transform: uppercase !important; padding: 16px !important;
  border-radius: var(--radius-sm) !important; border: none !important;
  cursor: pointer !important; transition: background var(--transition) !important;
  margin-top: 24px !important; display: block !important;
  font-family: var(--font-sans) !important; opacity: 1 !important;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--hi-olive) !important; color: #fff !important; }

/* ── PDP: running total + Add to Cart, positioned under the product image ── */
.woocommerce div.product .pdp-image-actions {
  margin-top: 20px !important;
}
.pdp-image-actions .pdp-running-total {
  display: flex !important; justify-content: space-between !important; align-items: baseline !important;
  padding: 16px 0 !important; border-top: 2px solid var(--hi-dark) !important; border-bottom: 1px solid var(--hi-border) !important;
  margin-bottom: 16px !important;
}
.pdp-running-total .pdp-running-total__label {
  font-size: 11px !important; letter-spacing: 2px !important; text-transform: uppercase !important;
  color: var(--hi-muted) !important; font-weight: 700 !important;
}
.pdp-running-total .pdp-running-total__amount {
  font-size: 28px !important; font-weight: 800 !important; color: var(--hi-dark) !important;
}
.pdp-image-actions .single_add_to_cart_button { margin-top: 0 !important; }

.pdp-running-total__savings {
  display: none; margin-top: -10px; margin-bottom: 16px;
  font-size: 12px; font-weight: 700; color: var(--hi-olive);
}

/* Line-item breakdown (tent price + accessories) mirrored from the addons
   plugin under the image; the original stays in the form (untouched, so the
   plugin's own JS keeps working) but is hidden from view here. */
.summary.entry-summary #product-addons-total { display: none !important; }
.pdp-addons-breakdown:empty { display: none !important; }
.pdp-addons-breakdown div.product-addon-totals {
  margin: 0 0 16px 0 !important; padding: 0 !important; border: none !important;
}
.pdp-addons-breakdown div.product-addon-totals ul li {
  display: flex !important; justify-content: space-between !important; align-items: baseline !important;
  padding: 8px 0 !important; border-bottom: 1px solid var(--hi-border) !important;
  font-size: 14px !important; color: var(--hi-dark) !important;
}
.pdp-addons-breakdown .wc-pao-col1 strong { font-weight: 700 !important; }
.pdp-addons-breakdown .wc-pao-addon-name { color: var(--hi-muted) !important; text-transform: uppercase !important; font-size: 11px !important; letter-spacing: 1px !important; }
/* Our bold total row above already shows the grand total. */
.pdp-addons-breakdown div.product-addon-totals .wc-pao-subtotal-line { display: none !important; }

.pdp-scout-headline { font-size: 22px; font-weight: 700; color: var(--hi-dark); margin: 0 0 16px; line-height: 1.25; }

/* Button linking to the full Shop, relocated (via JS) under the Add to
   Cart button so it's still visible once a tent's been added to the cart. */
.pdp-image-actions .pdp-accessories-link { display: block; text-align: center; margin: 12px 0 0; }

/* Each grade's whole section block is the actual grid item now (sections
   render nested inside it) — this is what needs to span full width; only
   one block is visible at a time, toggled by product-page.js. */
.woocommerce div.product .pdp-grade-sections { grid-column: 1 / -1 !important; }

/* ── JALAMA SCOUT: custom PDP sections (grid-column: 1/-1, full width) ── */
.woocommerce div.product .pdp-glance,
.woocommerce div.product .pdp-sell-band,
.woocommerce div.product section[aria-label="Why you'll love it"],
.woocommerce div.product section[aria-label="Perfect for"],
.woocommerce div.product section[aria-label="Technical specifications"],
.woocommerce div.product section[aria-label="What's included"],
.woocommerce div.product section[aria-label="Why choose HITents"] {
  grid-column: 1 / -1 !important;
}

/* These custom sections reuse .section (sitewide, 72px/48px padding) — cut
   the padding in half here only, scoped to the product page, so the gap
   between blocks tightens up without touching spacing anywhere else on the site. */
.woocommerce div.product .section { padding: 36px 0 !important; }
@media (max-width: 768px) {
  .woocommerce div.product .section { padding: 24px 0 !important; }
}

.pdp-sell-band { padding: 28px 0 !important; text-align: center; }
.pdp-sell-band h2 { margin-bottom: 16px; }
.pdp-sell-band p { font-size: 15px; line-height: 1.75; color: var(--hi-dark); max-width: 760px; margin-left: auto; margin-right: auto; }
.pdp-sell-band p + p { margin-top: 16px; }

/* Mirrors .brand-bar (front-page.php) — plain uppercase text, no pill boxes,
   a dim label on the left followed by brighter items, all on an olive backdrop.
   The background/radius live on this full-width wrapper (same width as
   .pdp-sell-band) — the nested .container just insets the text, so the bar
   itself isn't narrowed by the container's own side padding. */
.pdp-perfect-band { background: var(--hi-olive); border-radius: var(--radius-md); padding: 20px 0; }
.pdp-perfect-band .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.pdp-perfect-band__label {
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); white-space: nowrap;
}
.pdp-perfect-band__tag {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.85); font-weight: 600; white-space: nowrap;
}

/* Centers the checklist as a block (via the section's text-align:center,
   since the grid is shrink-wrapped with inline-grid) while each column's
   items stay left-aligned internally, so the bullets line up in a straight
   column instead of drifting with each item's text length. */
.woocommerce div.product section[aria-label="What's included"] { text-align: center; }
.woocommerce div.product section[aria-label="What's included"] .pdp-checklist {
  display: inline-grid; grid-template-columns: repeat(2, auto);
  justify-items: start; text-align: left; gap: 14px 56px;
}

.pdp-specs { border-top: 1px solid var(--hi-border); }
.pdp-specs__row {
  display: grid; grid-template-columns: 240px 1fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--hi-border);
}
.pdp-specs__row dt { font-weight: 700; font-size: 14px; color: var(--hi-dark); }
.pdp-specs__row dd { margin: 0; font-size: 14px; color: var(--hi-muted); line-height: 1.65; }

.pdp-checklist {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px;
}
.pdp-checklist li {
  font-size: 14px; font-weight: 600; color: var(--hi-dark);
  display: flex; align-items: center; gap: 10px;
}
.pdp-checklist li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--hi-olive); flex-shrink: 0;
}

@media (max-width: 900px) {
  .pdp-specs__row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 700px) {
  .pdp-checklist { grid-template-columns: 1fr; }
  .woocommerce div.product section[aria-label="What's included"] .pdp-checklist {
    grid-template-columns: auto;
  }
}

/* Compact page hero for cart */
.page-hero--compact {
    padding: 28px 0 !important;
}

/* Cart page layout — items table + totals sidebar */
.hitents-cart-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

/* Cart totals alignment */
.woocommerce-cart .cart-collaterals {
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce-cart .cart_totals {
    float: none !important;
    width: 100% !important;
}
.woocommerce-cart .cart_totals .hitents-cart-totals-heading {
    text-align: center !important;
}

/* Cart actions — coupon field on its own row above the buttons, sized to
   span exactly Apply + Update Cart. Using a grid with two auto-width
   columns means the coupon field (spanning both) automatically lines up
   with the two buttons' combined width — no hardcoded pixels. */
.woocommerce-cart .cart-actions-block {
    display: grid !important;
    grid-template-columns: max-content max-content !important;
    column-gap: 8px !important;
    row-gap: 12px !important;
    align-items: center !important;
}
.woocommerce-cart .cart-actions-block .cart-actions-coupon {
    grid-column: 1 / 3 !important;
    grid-row: 1 !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
.woocommerce-cart .cart-actions-block .cart-actions-apply { grid-column: 1 !important; grid-row: 2 !important; }
.woocommerce-cart .cart-actions-block .cart-actions-update { grid-column: 2 !important; grid-row: 2 !important; }
.woocommerce-cart .cart-actions-block .cart-actions-apply,
.woocommerce-cart .cart-actions-block .cart-actions-update {
    margin: 0 !important;
    padding: 14px 18px !important;
    white-space: nowrap !important;
}

/* Product meta */
.woocommerce div.product .product_meta { font-size: 12px !important; color: var(--hi-muted) !important; margin-top: 16px !important; }

/* Tabs — span full width */
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1 !important; margin-top: 48px !important;
  border-top: 1px solid var(--hi-border) !important; padding-top: 32px !important;
}
/* Tabs moved above the gallery/summary (tent products only — see functions.php
   woocommerce_before_single_product hook) — sits outside div.product, so the
   descendant-based rule above doesn't match; give it its own top-of-page spacing. */
.single-product .woocommerce-tabs:not( div.product .woocommerce-tabs ) {
  margin-bottom: 40px !important;
  border-bottom: 1px solid var(--hi-border) !important; padding-bottom: 32px !important;
}
.woocommerce-tabs ul.tabs {
  display: flex !important; gap: 0 !important;
  border-bottom: 1px solid var(--hi-border) !important;
  margin-bottom: 32px !important; padding: 0 !important; list-style: none !important;
}
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce-tabs ul.tabs li {
  border: none !important; border-bottom: 2px solid transparent !important;
  margin: 0 !important; background: none !important; border-radius: 0 !important; list-style: none !important;
}
.woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--hi-olive) !important; }
.woocommerce-tabs ul.tabs li a {
  font-size: 12px !important; letter-spacing: 1px !important; text-transform: uppercase !important;
  font-weight: 700 !important; color: var(--hi-muted) !important; padding: 12px 20px !important; display: block !important;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--hi-dark) !important; }

/* Related products */
.related.products { grid-column: 1 / -1 !important; margin-top: 48px !important; padding-top: 48px !important; border-top: 1px solid var(--hi-border) !important; }
.related.products > h2 { font-size: 24px !important; margin-bottom: 32px !important; }
.related.products ul.products {
  display: grid !important; grid-template-columns: repeat(3,1fr) !important;
  gap: 24px !important; margin: 0 !important; padding: 0 !important; align-items: start !important;
}
.related.products ul.products li.product {
  margin: 0 !important; width: 100% !important; float: none !important;
  display: flex !important; flex-direction: column !important;
}
.related.products ul.products li.product:first-child { grid-column: 1 !important; }
.related.products ul.products li.product img {
  width: 100% !important; height: 200px !important;
  object-fit: cover !important; border-radius: var(--radius-md) !important;
}

/* ═══════════════════════════════════════════════════════
   STANDARD WOOCOMMERCE OVERRIDES
   ═══════════════════════════════════════════════════════ */

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 0 !important; padding: 0 !important; }
.woocommerce ul.products li.product { margin: 0 !important; }
.woocommerce ul.products li.product a img { border-radius: var(--radius-md); }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 28px; font-size: 13px; }
.woocommerce .woocommerce-ordering select { border: 1px solid var(--hi-border); border-radius: var(--radius-sm); padding: 6px 12px; font-size: 13px; }

.woocommerce ul.products.columns-3 { display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 24px !important; align-items: start !important; float: none !important; }
.woocommerce ul.products.columns-3::before,
.woocommerce ul.products.columns-3::after { content: none !important; display: none !important; }
.woocommerce ul.products.columns-3 li.product { margin: 0 !important; width: 100% !important; float: none !important; clear: none !important; }
.woocommerce ul.products.columns-3 li.product a img { width: 100% !important; height: 220px !important; object-fit: cover !important; border-radius: var(--radius-md) !important; }

/* Cart */
.woocommerce table.shop_table { border: 1px solid var(--hi-border) !important; border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th { background: var(--hi-sand); padding: 12px 16px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; border-bottom: 1px solid var(--hi-border) !important; }
.woocommerce table.shop_table td { padding: 16px !important; border-bottom: 1px solid var(--hi-border) !important; vertical-align: middle; }
.woocommerce a.remove { color: var(--hi-rust) !important; font-size: 18px; }

/* Checkout */
.woocommerce .checkout #customer_details .col-1,
.woocommerce .checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 600; margin-bottom: 4px; display: block; }
.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border: 1.5px solid var(--hi-border) !important; border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important; font-size: 14px; width: 100%; transition: border-color var(--transition);
}
.woocommerce form .form-row input:focus,
.woocommerce form .form-row select:focus { border-color: var(--hi-olive) !important; outline: none; }
.woocommerce #payment { background: var(--hi-sand) !important; border-radius: var(--radius-md) !important; }

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--hi-dark) !important; color: #fff !important;
  font-size: 12px !important; font-weight: 700 !important; letter-spacing: 1px !important;
  text-transform: uppercase !important; border-radius: var(--radius-sm) !important;
  padding: 14px 28px !important; border: none !important; transition: background var(--transition) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #payment #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--hi-olive) !important; color: #fff !important; }
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: var(--hi-olive) !important; }

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a { color: var(--hi-muted) !important; font-size: 12px !important; }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--hi-olive) !important; }

/* ═══════════════════════════════════════════════════════
   CHECKOUT PAGE LAYOUT
   ═══════════════════════════════════════════════════════ */
.hitents-checkout-container {
  max-width: 1600px !important;
}
.hitents-checkout-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--hi-dark);
  padding-bottom: 20px;
  border-bottom: 2px solid var(--hi-dark);
  margin-bottom: 32px;
}
.hitents-checkout-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.hitents-checkout-col { }
.hitents-checkout-heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--hi-dark);
  margin-bottom: 20px;
}
.hitents-checkout-summary {
  background: var(--hi-sand);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 84px;
}
.hitents-checkout-summary table.shop_table { background: #fff; }
.hitents-secure-badge {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hi-border);
  font-size: 11px; color: var(--hi-muted); line-height: 1.5;
}
.hitents-secure-badge svg { flex-shrink: 0; margin-top: 1px; color: var(--hi-olive); }

/* Checkout form fields */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3 { font-size: 20px; font-weight: 800; color: var(--hi-dark); margin-bottom: 20px; }
.hitents-checkout-col .form-row { margin-bottom: 14px !important; }

/* ─── ABOUT PAGE ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; background: var(--hi-dark); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hi-border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; background: none; border: none; text-align: left; font-size: 15px; font-weight: 600; color: var(--hi-dark); cursor: pointer; gap: 16px; }
.faq-icon { font-size: 20px; color: var(--hi-olive); flex-shrink: 0; transition: transform 0.25s; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { font-size: 14px; color: var(--hi-muted); line-height: 1.7; padding-bottom: 20px; display: none; }
.faq-item.is-open .faq-answer { display: block; }
.faq-answer p { margin-bottom: 1em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { padding-left: 1.5em; margin-bottom: 1em; }
.faq-answer ul { list-style: disc; }
.faq-answer ol { list-style: decimal; }
.faq-answer li { margin-bottom: .5em; }
.faq-answer img { max-width: 100%; border-radius: var(--radius-md); }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item__label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--hi-muted); margin-bottom: 6px; }
.contact-info-item__val { font-size: 16px; font-weight: 600; }
.contact-info-item__val a { color: var(--hi-olive); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }

/* Gravity Forms submit buttons (e.g. the Contact Us form) — match the
   sitewide .btn--dark treatment (black, olive on hover) instead of the
   plugin's own default button style. */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"],
.gform_wrapper button[type="submit"] {
  display: inline-flex !important; align-items: center !important; gap: 8px !important;
  font-size: 12px !important; font-weight: 700 !important; letter-spacing: 1px !important; text-transform: uppercase !important;
  padding: 14px 28px !important; border-radius: var(--radius-sm) !important; border: none !important;
  background: var(--hi-dark) !important; color: #fff !important;
  font-family: var(--font-sans) !important;
  transition: background var(--transition) !important;
  cursor: pointer !important;
}
.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper button[type="submit"]:hover {
  background: var(--hi-olive) !important;
  color: #fff !important;
}
.form-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--hi-muted); margin-bottom: 6px; }
.form-field input,
.form-field textarea,
.form-field select { width: 100%; border: 1.5px solid var(--hi-border); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 14px; font-family: inherit; background: #fff; color: var(--hi-dark); transition: border-color var(--transition); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--hi-olive); outline: none; }
.form-field textarea { min-height: 140px; resize: vertical; }

/* ─── BLOG ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.post-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--hi-border); background: #fff; text-decoration: none; display: block; transition: box-shadow var(--transition), transform var(--transition); }
.post-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); transform: translateY(-2px); }
.post-card__img { aspect-ratio: 3/2; background: var(--hi-sand); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px; }
.post-card__date    { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--hi-muted); margin-bottom: 8px; }
.post-card__title   { font-size: 16px; font-weight: 700; color: var(--hi-dark); line-height: 1.3; margin-bottom: 10px; }
.post-card__excerpt { font-size: 13px; color: var(--hi-muted); line-height: 1.6; }
.post-content { max-width: 720px; margin: 0 auto; font-size: 16px; line-height: 1.8; }
.post-content h2 { margin: 2em 0 .75em; font-size: 1.5em; }
.post-content h3 { margin: 1.5em 0 .5em; }
.post-content p  { margin-bottom: 1.25em; }
.post-content img { border-radius: var(--radius-md); margin: 2em 0; }
.post-content ul, .post-content ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: .5em; }
.post-content blockquote { border-left: 4px solid var(--hi-olive); padding-left: 24px; color: var(--hi-muted); font-style: italic; margin: 2em 0; }

/* ─── FOOTER ─── */
.site-footer { background: var(--hi-dark); color: rgba(255,255,255,0.6); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-size: 22px; font-weight: 800; letter-spacing: 3px; color: #fff; margin-bottom: 12px; }
.footer-logo span { color: var(--hi-tan); }
.footer-brand p { font-size: 13px; line-height: 1.65; max-width: 260px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(255,255,255,0.6); transition: all var(--transition); }
.footer-social a:hover { border-color: var(--hi-tan); color: var(--hi-tan); }
.footer-col__title { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.9); font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col a:hover { color: var(--hi-tan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ─── UTILITY ─── */
.text-center { text-align: center; }
.text-olive { color: var(--hi-olive); }
.text-tan   { color: var(--hi-tan); }
.text-muted { color: var(--hi-muted); }
.mt-8  { margin-top: 8px; }  .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.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; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .hitents-checkout-grid { grid-template-columns: 1fr; }
  .hitents-checkout-summary { position: static; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce div.product {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .woocommerce div.product .pdp-gallery-col {
    grid-column: 1 !important; grid-row: 1 !important; position: static !important;
  }
  .woocommerce div.product .summary.entry-summary {
    grid-column: 1 !important; grid-row: 2 !important;
  }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
  .model-trio { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .tents-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .proof-stats { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* Shop/category archives (loop_shop_columns filters to 3, so this must
     out-specificity .columns-3's own 3-column rule, not just plain
     ul.products) — smaller, uniform 2-up thumbnails instead of a stretched
     3-column grid squeezed into a phone width. */
  .woocommerce ul.products,
  .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .woocommerce ul.products.columns-3 li.product a img { height: 140px !important; }
  .related.products ul.products { grid-template-columns: 1fr !important; }
  .woocommerce div.product .woocommerce-tabs,
  .related.products { grid-column: 1 !important; }
  .hitents-checkout-grid { grid-template-columns: 1fr; }
  .hitents-cart-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Cart items table — WooCommerce's built-in responsive behavior stacks
     each cell as a "Label: value" row (driven by the data-title attributes
     already in cart.php); this just makes that readable instead of cramped. */
  .woocommerce-cart table.shop_table_responsive,
  .woocommerce-cart table.shop_table_responsive tbody,
  .woocommerce-cart table.shop_table_responsive tr,
  .woocommerce-cart table.shop_table_responsive td { display: block !important; width: 100% !important; }
  .woocommerce-cart table.shop_table_responsive thead { display: none !important; }
  .woocommerce-cart table.shop_table_responsive tr { border-bottom: 1px solid var(--hi-border) !important; padding-bottom: 12px !important; margin-bottom: 12px !important; }
  .woocommerce-cart table.shop_table_responsive tr.actions,
  .woocommerce-cart table.shop_table_responsive tr:has(td.actions) { border-bottom: none !important; }
  .woocommerce-cart table.shop_table_responsive td { border-bottom: none !important; padding: 4px 16px !important; text-align: left !important; }
  .woocommerce-cart table.shop_table_responsive td.product-remove { padding-top: 12px !important; }
  .woocommerce-cart table.shop_table_responsive td::before {
    content: attr(data-title) ": "; font-weight: 700; color: var(--hi-dark);
  }
  .woocommerce-cart table.shop_table_responsive td.product-remove::before,
  .woocommerce-cart table.shop_table_responsive td.product-thumbnail::before,
  .woocommerce-cart table.shop_table_responsive td.actions::before { content: none; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; flex-direction: column; align-items: flex-start;
    position: fixed; inset: 64px 0 0 0;
    background: var(--hi-dark); padding: 32px 24px;
    z-index: 199; overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul,
  .site-nav > .site-nav__list { flex-direction: column !important; align-items: flex-start; gap: 24px; width: 100%; }
  .site-nav a { font-size: 16px; }
  .site-nav .sub-menu { position: static !important; border-top: none !important; border-left: 2px solid var(--hi-tan); margin-left: 16px; box-shadow: none; padding: 4px 0; width: 100%; min-width: 0; }
  .site-nav .menu-item-has-children:hover > .sub-menu { display: none !important; }
  .site-nav .menu-item-has-children.is-open > .sub-menu { display: flex !important; }
  .site-nav .sub-menu a { font-size: 14px; padding: 8px 16px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 48px 0; }
  .related.products ul.products { grid-template-columns: 1fr !important; }
  .woocommerce div.product .woocommerce-product-gallery .flex-control-nav li { width: calc(33.33% - 6px) !important; }
}

/* Floating "Cookie preferences" button (SEOPress) — replaced by a link in
   the footer; keep the plugin's own element in the DOM (footer-cookie-
   preferences reuses its click handler) but hide its floating UI. */
.seopress-user-consent.seopress-edit-choice { display: none !important; }
