/* =========================================================================
   Plumleys theme — main stylesheet
   Bold high-street character. Built to the redesign spec.
   ========================================================================= */

/* ---- Design tokens (spec §2) ------------------------------------------ */
:root {
  --navy:          #312A75;
  --navy-dark:     #1F1B4E;
  --purple:        #8C3D8F;
  --purple-light:  #D9A0DB;
  --purple-lighter:#C77BC9;
  --gold:          #FFC24B;
  --gold-text:     #3A2E12;
  --lilac-bg:      #F1EDF7;
  --warm-bg:       #F7F3EC;
  --lavender-bg:   #F7F5FB;
  --ink:           #26243A;
  --ink-soft:      #5A5770;
  --muted:         #8A87A0;
  --on-navy-muted: #C9C5E3;
  --on-navy-dim:   #B9B4D8;
  --success:       #1F7A3D;
  --success-navy:  #8FE3A9;
  --white:         #FFFFFF;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Karla", "Segoe UI", system-ui, sans-serif;

  --wrap:      1180px;
  --wrap-wide: 1440px;
  --pad-x:     44px;

  --r-card: 14px;
  --r-tile: 16px;
  --r-btn:  8px;
  --r-badge: 8px;
}

/* ---- Reset / base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.container--wide { max-width: var(--wrap-wide); }
/* Vertical only — so `.container.section` elements keep the container's horizontal padding. */
.section { padding-top: 48px; padding-bottom: 48px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 6px; z-index: 1000; }

/* ---- Buttons (spec §6) ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  padding: 14px 26px; border-radius: var(--r-btn); border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1; transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-white   { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: #f2f0fb; }
.btn-navy    { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: #3b3391; }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: rgba(49,42,117,.06); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.phone-cta { font-family: var(--font-display); font-weight: 800; }

/* ---- Announcement bar (spec §5) --------------------------------------- */
.announcement-bar {
  background: var(--purple); color: var(--white);
  font-size: 13.5px; font-weight: 600; text-align: center;
  padding: 9px 16px; overflow: hidden;
}
.announcement-bar .announcement-track { display: block; }
.announcement-bar a { color: #fff; text-decoration: underline; }

/* ---- Header (spec §5) ------------------------------------------------- */
.site-header { background: var(--navy); color: var(--white); position: relative; }
.site-header .header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding-top: 20px; padding-bottom: 20px; /* keep .container's horizontal padding so header aligns with the page */
}
.site-brand { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #fff; letter-spacing: -.5px; line-height: 1; }
.site-brand:hover { text-decoration: none; }
.site-brand .brand-dot { color: var(--purple-lighter); }
.site-brand img { max-height: 40px; width: auto; }
.site-logo { display: block; height: 40px; width: auto; }

.primary-nav { flex: 1 1 auto; }
.primary-nav .nav-menu { display: flex; align-items: center; justify-content: center; gap: 26px; }
.primary-nav a { color: var(--on-navy-muted); font-size: 14.5px; font-weight: 600; }
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: #fff; text-decoration: none; }

/* ---- Mega menu (Shop) ------------------------------------------------- */
.primary-nav .menu-item-has-mega { position: static; } /* full-width panel relative to header */
.primary-nav .menu-item-has-mega > a { display: inline-flex; align-items: center; gap: 6px; position: relative; }
/* Invisible hover bridge from the link down to the panel, so crossing the header
   padding gap doesn't drop the hover and flicker the menu. */
.primary-nav .menu-item-has-mega > a::after {
  content: ''; position: absolute; top: 100%; left: -12px; right: -12px; height: 34px;
}
.primary-nav .mega-caret { font-size: 10px; opacity: .85; transition: transform .18s ease; }
.menu-item-has-mega:hover .mega-caret,
.menu-item-has-dropdown:hover .mega-caret { transform: rotate(180deg); }

/* Simple dropdown (About Us). */
.primary-nav .menu-item-has-dropdown { position: relative; }
.primary-nav .menu-item-has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.primary-nav .menu-item-has-dropdown > a::after { content: ''; position: absolute; top: 100%; left: -12px; right: -12px; height: 26px; }
.primary-nav .sub-menu {
  position: absolute; left: 0; top: 100%; min-width: 210px; list-style: none; margin: 0; padding: 8px; z-index: 70;
  background: #fff; border: 1px solid #eceaf3; border-radius: 12px; box-shadow: 0 20px 40px rgba(31,27,78,.16);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s; transition-delay: .12s;
}
.menu-item-has-dropdown:hover > .sub-menu,
.menu-item-has-dropdown:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.primary-nav .sub-menu li { margin: 0; }
.primary-nav .sub-menu a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink) !important; font-size: 14px; font-weight: 600; }
.primary-nav .sub-menu a:hover { background: var(--lavender-bg); color: var(--purple) !important; }
.mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; color: var(--ink);
  border-top: 1px solid #eceaf3; box-shadow: 0 24px 48px rgba(31,27,78,.16);
  padding: 34px 0; z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  transition-delay: .12s; /* brief delay before hiding, so a slow cursor can reach the panel */
}
.menu-item-has-mega:hover > .mega-panel,
.menu-item-has-mega:focus-within > .mega-panel,
.menu-item-has-mega.open > .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.mega-panel .mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 32px; }
.mega-panel .mega-col__head { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--navy); margin-bottom: 12px; }
.mega-panel .mega-col__head:hover { color: var(--purple); text-decoration: none; }
.mega-panel .mega-col__list { list-style: none; margin: 0 0 10px; padding: 0; }
.mega-panel .mega-col__list li { margin: 0 0 7px; }
.mega-panel .mega-col__list a { color: var(--ink-soft); font-size: 14px; font-weight: 500; }
.mega-panel .mega-col__list a:hover { color: var(--purple); text-decoration: none; }
.mega-panel .mega-col__all { font-size: 13px; font-weight: 700; color: var(--purple); }
.mega-panel .mega-col__all:hover { text-decoration: underline; }
.mega-panel .mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #eceaf3; }
.mega-panel .mega-feature { display: flex; align-items: center; gap: 16px; }
.mega-panel .mega-feature:hover { text-decoration: none; }
.mega-panel .mega-feature__media img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; background: var(--lilac-bg); display: block; }
.mega-panel .mega-feature__body { display: flex; flex-direction: column; gap: 3px; }
.mega-panel .mega-feature__tag { align-self: flex-start; background: var(--gold); color: var(--gold-text); font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .5px; }
.mega-panel .mega-feature__name { color: var(--ink); font-weight: 700; font-size: 14px; }
.mega-panel .mega-feature__price { color: var(--navy); font-weight: 700; font-size: 14px; }
.mega-panel .mega-feature__price del { color: var(--muted); font-weight: 600; font-size: 12px; margin-right: 4px; }
.mega-panel .mega-feature__price ins { text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .phone-cta { color: #fff; font-size: 17px; }
.basket-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--navy); font-family: var(--font-display); font-weight: 800;
  padding: 10px 16px; border-radius: 6px;
}
.basket-btn:hover { text-decoration: none; background: #f2f0fb; }
.basket-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px;
  padding: 0 6px; border-radius: 999px; background: var(--purple); color: #fff; font-size: 12px; font-weight: 700;
}
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 6px; }

/* ---- Hero (spec §5 homepage) ------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding: 84px 0 92px;
}
.hero-decor { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-decor--purple { width: 620px; height: 620px; background: var(--purple); opacity: .35; right: -160px; top: -220px; }
.hero-decor--white  { width: 420px; height: 420px; background: #fff; opacity: .06; left: -120px; bottom: -180px; }
.hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0; text-align: left; }
.hero h1 {
  font-size: 62px; line-height: 1.0; font-weight: 800; letter-spacing: -.5px; color: #fff; margin-bottom: 18px;
}
.hero h1 .payoff { display: block; color: var(--purple-light); }
.hero .hero-sub { font-size: 18px; color: var(--on-navy-muted); max-width: 54ch; margin-bottom: 28px; }
.hero .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Review ticker (spec §5) ------------------------------------------ */
.review-ticker { background: var(--gold); color: var(--gold-text); overflow: hidden; }
.review-ticker .ticker-viewport { display: flex; overflow: hidden; }
.review-ticker .ticker-track {
  display: flex; align-items: center; gap: 48px; white-space: nowrap;
  padding: 12px 0; animation: plumleys-marquee 60s linear infinite; flex-shrink: 0; min-width: 100%;
}
.review-ticker:hover .ticker-track { animation-play-state: paused; }
.review-ticker .ticker-item { font-size: 14.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.review-ticker .ticker-item .stars { letter-spacing: 1px; }
.review-ticker .ticker-item .who { font-weight: 600; opacity: .8; }
@keyframes plumleys-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .review-ticker .ticker-track { animation: none; }
}

/* ---- Section heading -------------------------------------------------- */
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: 30px; }
.section-head .sub { color: var(--ink-soft); font-size: 16px; }

/* ---- Category tiles (spec §4/§5) -------------------------------------- */
.category-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; gap: 14px;
}
.cat-tile {
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  border-radius: var(--r-tile); padding: 18px; background: var(--warm-bg); color: var(--ink);
  position: relative; overflow: hidden; transition: transform .15s ease;
}
.cat-tile:hover { text-decoration: none; transform: translateY(-2px); }
.cat-tile:hover .cat-photo { transform: scale(1.05); }
/* Photo fills the whole tile. */
.cat-tile .cat-photo {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--lilac-bg); background-size: cover; background-position: center;
  transition: transform .5s ease;
}
/* White label pill — keeps the photo fully visible. Flips to navy on hover. */
.cat-tile .cat-head {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 999px; padding: 10px 16px;
  box-shadow: 0 4px 16px rgba(31,27,78,.16);
  transition: background .15s ease;
}
.cat-tile .cat-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--navy); transition: color .15s ease; }
.cat-tile .cat-arrow { color: var(--purple); font-size: 18px; font-weight: 800; line-height: 1; transition: color .15s ease; }
.cat-tile:hover .cat-head { background: var(--navy); }
.cat-tile:hover .cat-name { color: #fff; }
.cat-tile:hover .cat-arrow { color: var(--gold); }
.cat-tile__feature { grid-row: span 2; }
.cat-tile__feature .cat-name { font-size: 17px; }
.cat-tile__wide { grid-column: 1 / -1; grid-row: span 1; }

/* ---- Trade / Renovating split (spec §5) ------------------------------- */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split-card {
  border: 2px solid var(--navy); border-radius: var(--r-card); padding: 32px;
}
.split-card--fill { background: var(--lavender-bg); }
.split-card h3 { font-size: 24px; }
.split-card h3 .answer { color: var(--purple); }
.split-card p { color: var(--ink-soft); }

/* ---- Section variants ------------------------------------------------- */
.section--tint { background: var(--lavender-bg); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-flag {
  display: inline-block; background: var(--gold); color: var(--gold-text); font-family: var(--font-display);
  font-weight: 800; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}

/* ---- Catalogues (from previous homepage) ------------------------------ */
.catalogue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.catalogue-card {
  background: #fff; border: 1px solid #eceaf3; border-radius: var(--r-tile); overflow: hidden;
  display: flex; min-height: 200px;
}
.catalogue-card__body { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.catalogue-tag {
  font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--purple); margin-bottom: 10px;
}
.catalogue-card h3 { font-size: 24px; margin-bottom: 8px; }
.catalogue-card p { color: var(--ink-soft); margin-bottom: 20px; }
.catalogue-card .btn { margin-top: auto; }

/* ---- Blog strip ------------------------------------------------------- */
.blog-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: #fff; border: 1px solid #eceaf3; border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.blog-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--lilac-bg); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__ph { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, var(--lilac-bg), var(--lilac-bg) 12px, #eae4f3 12px, #eae4f3 24px); }
.blog-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.blog-card__title { font-size: 19px; line-height: 1.2; margin-bottom: 8px; }
.blog-card__title a { color: var(--ink); }
.blog-card__title a:hover { color: var(--purple); text-decoration: none; }
.blog-card__excerpt { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 14px; }
.blog-card__link { font-weight: 700; margin-top: auto; }

/* ---- Reviews cards (homepage, design-system) -------------------------- */
.reviews-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.review-card {
  margin: 0; /* blockquote default margin (1em 40px) would inset the cards from the container */
  background: #fff; border: 1px solid #eceaf3; border-radius: var(--r-card); padding: 28px;
  display: flex; flex-direction: column; box-shadow: 0 2px 14px rgba(49,42,117,.05);
}
.review-card__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 15px; }
.review-card__text { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.55; margin: 0 0 20px; }
.review-card__by { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.review-card__by cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: 14px; }
.review-card__src { color: var(--muted); font-size: 12px; white-space: nowrap; }
@media (max-width: 860px) { .reviews-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .reviews-cards { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .catalogue-grid { grid-template-columns: 1fr; }
  .blog-strip { grid-template-columns: 1fr; }
}

/* ---- Footer (spec §5) ------------------------------------------------- */
.site-footer { background: var(--navy-dark); color: var(--on-navy-dim); padding: 52px 0 40px; }
.site-footer a { color: var(--on-navy-dim); }
.site-footer a:hover { color: #fff; }
.site-footer .site-brand { font-size: 24px; }
.site-footer .site-logo--footer { height: 46px; margin-left: -8px; } /* offset the logo's baked-in transparent padding */
.site-footer address { font-style: normal; margin-top: 12px; line-height: 1.7; }
.site-footer .footer-phone { color: #fff; font-size: 20px; display: inline-block; margin-top: 12px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social__link {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,.1); color: #fff !important;
  transition: background .15s ease, transform .15s ease;
}
.footer-social__link:hover { background: var(--purple); color: #fff !important; transform: translateY(-2px); }

/* Top: brand + link columns. */
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 32px; }
.footer-heading { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15px; margin: 0 0 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 9px; }
.footer-links a { font-size: 14.5px; }
.footer-flag { display: inline-block; background: var(--gold); color: var(--gold-text); font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 5px; margin-left: 4px; text-transform: uppercase; letter-spacing: .4px; }
.footer-hours { margin: 0; }
.footer-hours dt { font-weight: 700; color: #fff; font-size: 14px; }
.footer-hours dd { margin: 0 0 8px; font-size: 14px; }

/* Memberships / sponsor badges. */
.footer-memberships { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-badges { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-badge { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; padding: 10px 14px; height: 78px; box-sizing: border-box; transition: transform .2s ease, box-shadow .2s ease; }
.footer-badge:hover { transform: scale(1.22); box-shadow: 0 12px 30px rgba(0,0,0,.3); position: relative; z-index: 3; }
.footer-badge img { max-height: 58px; width: auto; display: block; }
.footer-badge--sponsor { flex-direction: column; gap: 4px; height: auto; padding: 12px 16px; text-align: center; background: rgba(255,255,255,.06); }
.footer-badge--sponsor img { max-height: 60px; }
.footer-badge__caption { color: #fff; font-size: 11.5px; font-weight: 600; max-width: 150px; line-height: 1.3; }
.footer-returns { font-family: var(--font-display); font-weight: 700; color: #fff !important; font-size: 14px; white-space: nowrap; }
.footer-returns:hover { color: var(--purple-lighter) !important; }

/* Legal. */
.footer-legal { margin-top: 28px; }
.footer-legal small { color: var(--on-navy-dim); font-size: 13px; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-memberships { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---- Generic content (pages / posts) ---------------------------------- */
.page-hero { background: var(--navy); color: #fff; padding: 54px 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: 44px; }
/* Breadcrumb sits on the navy hero here — light colours for legibility. */
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: var(--on-navy-muted); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .crumb-current { color: #fff; }
.page-hero .breadcrumb .crumb-sep { color: var(--on-navy-dim); }
.entry-content { max-width: 760px; margin-left: auto; margin-right: auto; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 20px; }
.entry-content h2 { font-size: 30px; line-height: 1.2; margin: 44px 0 14px; }
.entry-content h3 { font-size: 21px; line-height: 1.25; margin: 34px 0 10px; }
.entry-content h4 { font-size: 18px; line-height: 1.3; margin: 28px 0 8px; }
.entry-content ul, .entry-content ol { margin: 0 0 22px; padding-left: 1.5em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 10px; line-height: 1.6; }
.entry-content li::marker { color: var(--purple); }
.entry-content img { border-radius: 12px; height: auto; margin: 10px 0 24px; }
.entry-content blockquote { border-left: 3px solid var(--purple); padding-left: 18px; margin: 26px 0; color: var(--ink); font-style: italic; }
.entry-content a { text-decoration: underline; }
.entry-content a:hover { color: var(--purple); }
/* Customer Installation Photos — wider than the reading column for the gallery feed. */
.page-id-37043 .entry-content { max-width: 1080px; }
.page-id-37043 .entry-content .sbi_photo, .page-id-37043 .entry-content img { border-radius: 10px; }

/* ---- Comments (blog posts) — WordPress outputs #comments / #respond, no .comments-area wrapper.
   Constrain to the post reading width (760px) and centre to match the article. -------------- */
.single-post .site-main #comments,
.single-post .site-main #respond.comment-respond,
.comments-area { max-width: 760px; margin-left: auto; margin-right: auto; }
.single-post .site-main #comments,
.single-post .site-main > .container > #respond.comment-respond,
.comments-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid #eceaf3; }
.comments-title,
.comment-reply-title { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 24px; margin: 0 0 18px; }
.comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.comment-list li { margin: 0 0 18px; }
.comment-list .comment-body { background: var(--lavender-bg); border-radius: var(--r-card); padding: 20px 22px; }
.comment-list .comment-author { font-weight: 700; color: var(--ink); }
.comment-list .comment-author .fn { font-style: normal; }
.comment-list .comment-metadata, .comment-list .comment-meta { font-size: 12.5px; color: var(--muted); }
.comment-list .comment-metadata a, .comment-list .comment-meta a { color: var(--muted); }
.comment-list .comment-content { margin-top: 8px; color: var(--ink-soft); line-height: 1.6; }
.comment-list .reply a { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--purple); }
.comment-list .children { list-style: none; margin: 18px 0 0; padding-left: 24px; }
/* Comment form */
.comment-form .logged-in-as,
.comment-form .comment-notes { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.comment-form .comment-notes .required { color: var(--purple); }
.comment-form label { display: block; font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; }
.comment-form .comment-form-comment,
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url { margin-bottom: 16px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; border: 1px solid #d9d5e6; border-radius: 10px; padding: 12px 14px;
  font-family: var(--font-body); font-size: 15px; background: #fff; box-sizing: border-box; color: var(--ink);
}
.comment-form textarea { min-height: 130px; }
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-light); }
.comment-form .form-submit .submit {
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; border-radius: var(--r-btn);
  padding: 13px 28px; transition: background .15s ease;
}
.comment-form .form-submit .submit:hover { background: var(--navy-dark); }

/* ---- Blog list -------------------------------------------------------- */
.post-list { display: grid; gap: 22px; max-width: 760px; }
.post-card { border-bottom: 1px solid #eceaf3; padding-bottom: 20px; }
.post-card__title { font-size: 24px; margin-bottom: 4px; }
.post-card__meta { color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }

/* ---- Contact page (spec §5) ------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.contact-map { border-radius: var(--r-tile); overflow: hidden; min-height: 360px; background: var(--lilac-bg); }
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.contact-map--wide { margin-top: 24px; }

/* Contact form card. */
.contact-form-card { background: #fff; border: 1px solid #eceaf3; border-radius: var(--r-tile); padding: 32px; box-shadow: 0 2px 14px rgba(49,42,117,.05); }
.contact-form-card h2 { font-size: 26px; margin: 0 0 6px; }
.contact-form-intro { color: var(--ink-soft); margin: 0 0 20px; font-size: 15px; }
/* WPForms fields → themed. */
.contact-form-card .wpforms-field-label { font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.contact-form-card .wpforms-required-label { color: var(--purple); }
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea,
.contact-form-card select {
  width: 100%; border: 1px solid #d9d5e6 !important; border-radius: 10px !important; padding: 12px 14px !important;
  font-family: var(--font-body); font-size: 15px; background: #fff; box-sizing: border-box; color: var(--ink); box-shadow: none !important;
}
.contact-form-card textarea { min-height: 130px; }
.contact-form-card input:focus,
.contact-form-card textarea:focus { outline: none; border-color: var(--purple) !important; box-shadow: 0 0 0 3px var(--purple-light) !important; }
.contact-form-card .wpforms-field-row-block,
.contact-form-card .wpforms-field { margin-bottom: 16px; }
.contact-form-card .wpforms-field-sublabel { color: var(--muted); font-size: 12.5px; }
.contact-form-card .wpforms-submit {
  background: var(--navy) !important; color: #fff !important; border: 0 !important;
  font-family: var(--font-display); font-weight: 800; font-size: 16px; border-radius: var(--r-btn);
  padding: 14px 30px !important; cursor: pointer; transition: background .15s ease;
}
.contact-form-card .wpforms-submit:hover { background: var(--navy-dark) !important; }
.contact-card { background: var(--lavender-bg); border-radius: var(--r-tile); padding: 32px; }
.contact-card h2 { font-size: 28px; }
.contact-card address { font-style: normal; color: var(--ink-soft); line-height: 1.7; margin-bottom: 18px; }
.contact-hours { margin: 0 0 18px; }
.contact-hours dt { color: var(--ink); font-weight: 700; }
.contact-hours dd { color: var(--ink-soft); margin: 0 0 4px; }
.contact-phone { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--navy); display: inline-block; }
.contact-phone:hover { text-decoration: none; }

/* ---- Reviews block (spec §5 contact) ---------------------------------- */
.reviews-block {
  margin-top: 40px; background: var(--navy); color: #fff; border-radius: var(--r-tile); padding: 40px; text-align: center;
}
.reviews-block__stars { color: var(--gold); font-size: 26px; letter-spacing: 3px; }
.reviews-block h2 { color: #fff; font-size: 28px; margin: 6px 0 26px; }
.reviews-block__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.review-quote { background: rgba(255,255,255,.06); border-radius: 12px; padding: 20px; margin: 0; }
.review-quote .stars { color: var(--gold); display: block; margin-bottom: 8px; }
.review-quote p { color: #fff; font-weight: 700; margin-bottom: 8px; }
.review-quote cite { color: var(--on-navy-muted); font-style: normal; font-size: 13.5px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .reviews-block__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .reviews-block__grid { grid-template-columns: 1fr; }
}

/* ---- Responsive (spec §8) --------------------------------------------- */
@media (max-width: 1024px) {
  :root { --pad-x: 24px; }
  .hero h1 { font-size: 48px; }
}
@media (max-width: 860px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .primary-nav {
    display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 50;
    background: var(--navy); padding: 12px var(--pad-x) 20px;
  }
  .site-header { position: relative; }
  .site-header.nav-open .primary-nav .nav-menu { flex-direction: column; align-items: flex-start; gap: 14px; }
  .header-actions .phone-cta { display: none; }
  /* Mega menu becomes an inline accordion under "Shop". */
  .primary-nav .menu-item-has-mega > a { justify-content: space-between; width: 100%; color: #fff; }
  .primary-nav .menu-item-has-mega > a::after { display: none; } /* no hover bridge on touch/accordion */
  /* About Us dropdown → static indented list on mobile. */
  .primary-nav .menu-item-has-dropdown { position: static; }
  .primary-nav .menu-item-has-dropdown > a { justify-content: space-between; width: 100%; color: #fff; }
  .primary-nav .menu-item-has-dropdown > a::after { display: none; }
  .primary-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; padding: 4px 0 0 14px;
  }
  .primary-nav .sub-menu a { color: var(--on-navy-muted) !important; padding: 6px 0; font-size: 13.5px; }
  .primary-nav .sub-menu a:hover { background: transparent; color: #fff !important; }
  .mega-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; color: #fff; box-shadow: none; border-top: 0; padding: 6px 0 0; display: none;
  }
  .menu-item-has-mega.open > .mega-panel { display: block; }
  .mega-panel .container { padding-left: 0; padding-right: 0; }
  .mega-panel .mega-grid { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .mega-panel .mega-col__head { color: #fff; font-size: 14px; margin-bottom: 6px; }
  .mega-panel .mega-col__list a { color: var(--on-navy-muted); font-size: 13px; }
  .mega-panel .mega-col__all { color: var(--purple-light); }
  .mega-panel .mega-foot { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 16px; border-top-color: rgba(255,255,255,.15); }
  .mega-panel .mega-feature__name { color: #fff; }
  .mega-panel .mega-feature__price { color: var(--purple-light); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .split-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .site-footer .footer-inner { flex-direction: column; }
  .site-footer .footer-right { text-align: left; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 33px; }
  .category-grid { grid-auto-rows: 130px; }
}
