/* ============================================================
   BRICK-ANEW HOMEPAGE — Pixel-perfect CSS from Figma API specs
   Font: Manrope (body/UI), Lato (section headings)
   Primary: #b01733 | Text: #030303 | Muted: #6c6c6c
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; font-size: 14px; color: #030303; background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* CONTAINER */
.container { max-width: 1236px; margin: 0 auto; padding: 0 16px; }

/* SECTION PREHEADER PILL */
.section-preheader {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(176,23,51,0.08); border-radius: 6px;
  padding: 6px 8px; font-size: 12px; font-weight: 600;
  color: #b01733; line-height: 22px; letter-spacing: 0.48px;
  margin-bottom: 12px;
}
.section-preheader i { color: #b01733; font-size: 12px; }
.section-preheader.center { display: flex; justify-content: center; }

/* SECTION ACCENT LINE */
.section-accent { width: 40px; height: 3px; background: #b01733; border-radius: 2px; margin-bottom: 12px; }
.section-accent.center { margin-left: auto; margin-right: auto; }

/* SECTION TITLE */
.section-title {
  font-family: 'Lato', sans-serif; font-size: 40px; font-weight: 700;
  color: #030303; line-height: 48px; letter-spacing: 0;
}
.section-title.center { text-align: center; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: #b01733; color: #fff; font-family: 'Manrope', sans-serif;
  font-size: 16px; font-weight: 600; line-height: 26px;
  padding: 10px 16px; border-radius: 8px; border: none;
  cursor: pointer; gap: 10px; transition: background 0.2s; width: fit-content;
}
.btn-primary:hover { background: #8f1228; }

/* ============================================================ TOP BAR */
.topbar { background: #fff; border-bottom: 1px solid #f0f0f0; height: 44px; display: flex; align-items: center; }
.topbar-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 72px; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar-left { display: flex; align-items: center; }
.topbar-stars { display: flex; align-items: center; gap: 3px; font-size: 11px; color: #ffc750; text-decoration: none; }
.topbar-stars span { color: #6c6c6c; font-size: 12px; font-weight: 400; line-height: 20px; letter-spacing: 0.48px; margin-left: 4px; transition: color 0.2s; }
.topbar-stars:hover span { color: #b01733; }
.topbar-center { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 12px; font-weight: 500; color: #030303; line-height: 20px; letter-spacing: 0.48px; }
.topbar-usp-arrow { display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: #a6a6a6; font-size: 9px; padding: 2px; transition: color 0.2s; }
.topbar-usp-arrow:hover { color: #b01733; }
.topbar-usp-rotator { position: relative; height: 20px; overflow: hidden; min-width: 260px; text-align: center; }
.topbar-usp { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transition: opacity 0.4s ease; white-space: nowrap; }
.topbar-usp.active { opacity: 1; }
.topbar-right { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #6c6c6c; }
.topbar-right > span { font-size: 12px; font-weight: 400; color: #6c6c6c; letter-spacing: 0.48px; }
.topbar-socials { display: flex; align-items: center; gap: 10px; }
.topbar-divider { width: 1px; height: 16px; background: #d8d8d8; display: inline-block; margin: 0 4px; }
.topbar-socials a { color: #6c6c6c; font-size: 13px; transition: color 0.2s; }
.topbar-socials a:hover { color: #b01733; }
.topbar-contact { display: flex; align-items: center; gap: 6px; color: #6c6c6c; font-size: 12px; font-weight: 400; line-height: 20px; letter-spacing: 0.48px; }
.topbar-contact i { color: #6c6c6c; font-size: 11px; }
.topbar-contact:hover { color: #b01733; }

/* ============================================================ NAVBAR */
.navbar { background: #fff; border-bottom: 1px solid #f0f0f0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.navbar-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 72px;
  display: flex; align-items: center; height: 72px; gap: 0;
}
.navbar-logo { flex-shrink: 0; }
.navbar-logo img { height: 28px; width: auto; display: block; }
.navbar-search { margin-left: 24px; width: 267px; flex-shrink: 0; }
.navbar .search-input,
.mobile-search-bar .search-input {
  display: flex !important; align-items: center; gap: 4px;
  background: #ededed !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 8px !important;
  height: 40px !important;
  box-shadow: none !important;
}
.navbar .search-input i,
.mobile-search-bar .search-input i { color: #a6a6a6; font-size: 13px; flex-shrink: 0; }
.navbar .search-input input,
.mobile-search-bar .search-input input {
  border: none !important;
  background: transparent !important;
  outline: none !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #030303 !important;
  line-height: 20px !important;
  letter-spacing: 0.48px !important;
  width: 100% !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}
.navbar .search-input input::placeholder,
.mobile-search-bar .search-input input::placeholder { color: #a6a6a6 !important; }

/* Make form a relative container for the dropdown */
.navbar .search-input,
.mobile-search-bar .search-input { position: relative; }

/* ============================================================
   LIVE SEARCH DROPDOWN
   ============================================================ */
.brickanew-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
  z-index: 1100;
  max-height: 520px;
  overflow-y: auto;
  font-family: 'Manrope', sans-serif;
}
.brickanew-search-results.active { display: block; }

.brickanew-search-results .bas-header {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}
.brickanew-search-results .bas-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.brickanew-search-results .bas-list li { margin: 0; }
.brickanew-search-results .bas-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.brickanew-search-results .bas-item:hover { background: #fafafa; }
.brickanew-search-results .bas-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
  flex-shrink: 0;
  border: 1px solid #f0f0f0;
}
.brickanew-search-results .bas-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
}
.brickanew-search-results .bas-info {
  flex: 1;
  min-width: 0;
}
.brickanew-search-results .bas-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.brickanew-search-results .bas-sku {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}
.brickanew-search-results .bas-price {
  font-size: 14px;
  font-weight: 800;
  color: #1a6b5a;
  white-space: nowrap;
  padding-left: 8px;
  flex-shrink: 0;
}
.brickanew-search-results .bas-empty {
  padding: 30px 16px;
  text-align: center;
  color: #888;
}
.brickanew-search-results .bas-empty i {
  font-size: 22px;
  color: #ccc;
  display: block;
  margin-bottom: 10px;
}
.brickanew-search-results .bas-empty p { margin: 0; font-size: 13px; }
.brickanew-search-results .bas-empty strong { color: #555; }
.brickanew-search-results .bas-loading {
  padding: 20px;
  text-align: center;
  color: #888;
  font-size: 13px;
}
.brickanew-search-results .bas-loading i { margin-right: 6px; color: #b01733; }
.brickanew-search-results .bas-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #b01733;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1.5px solid #e8e8e8;
  background: #fafafa;
  transition: background 0.15s, color 0.15s;
}
.brickanew-search-results .bas-view-all:hover {
  background: #b01733;
  color: #fff;
}
.brickanew-search-results .bas-view-all i { font-size: 11px; }

/* Mobile: dropdown goes full-width of search bar */
@media (max-width: 768px) {
  .mobile-search-bar .brickanew-search-results {
    position: fixed;
    top: auto;
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 200px);
  }
}

/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */
.search-results-section {
  padding: 32px 0 64px;
  background: #fff;
  min-height: 60vh;
}
.search-results-header { margin-bottom: 24px; }
.search-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
}
.search-breadcrumb a { color: #888; text-decoration: none; }
.search-breadcrumb a:hover { color: #b01733; }
.search-breadcrumb i { font-size: 10px; color: #bbb; }
.search-breadcrumb span { color: #222; font-weight: 600; }

.search-results-title {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #111;
  margin: 0 0 6px;
  line-height: 1.2;
}
.search-results-title span { color: #b01733; }
.search-results-count {
  font-size: 14px;
  color: #888;
  margin: 0 0 24px;
}

/* Refine search bar */
.search-refine {
  margin-bottom: 32px;
  max-width: 640px;
}
.search-refine .search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  height: 52px;
  position: relative;
}
.search-refine .search-input i.fa-search { color: #888; font-size: 14px; }
.search-refine .search-input input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #111;
}
.search-submit-btn {
  background: #b01733;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.search-submit-btn:hover { background: #8f0f24; }

/* Results grid */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.search-result-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.search-result-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  border-color: #b01733;
}
.src-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #fafafa;
  overflow: hidden;
}
.src-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
}
.src-sale {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #b01733;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.src-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.src-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
}
.src-stars i { color: #f5a623; }
.src-stars .far { color: #e0e0e0; }
.src-stars span { color: #888; margin-left: 4px; font-size: 11px; }
.src-title {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.src-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.src-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.src-price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.src-price {
  font-size: 18px;
  font-weight: 800;
  color: #1a6b5a;
}
.src-price-old {
  font-size: 13px;
  color: #aaa;
  text-decoration: line-through;
}
.src-view {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #b01733;
  transition: gap 0.2s;
}
.src-view i { font-size: 10px; }
.search-result-card:hover .src-view { gap: 10px; }

/* Pagination */
.search-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.search-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s;
}
.search-pagination .page-numbers:hover:not(.current) {
  border-color: #b01733;
  color: #b01733;
}
.search-pagination .page-numbers.current {
  background: #b01733;
  border-color: #b01733;
  color: #fff;
}
.search-pagination .page-numbers.dots {
  border: none;
  color: #aaa;
}
.search-pagination .page-numbers i { font-size: 10px; }

/* Empty state */
.search-empty {
  max-width: 520px;
  margin: 40px auto;
  text-align: center;
  padding: 48px 24px;
  background: #fafafa;
  border: 1.5px solid #e8e8e8;
  border-radius: 16px;
}
.search-empty > i {
  font-size: 40px;
  color: #ccc;
  margin-bottom: 16px;
  display: block;
}
.search-empty h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin: 0 0 10px;
}
.search-empty p {
  font-size: 15px;
  color: #666;
  margin: 0 0 20px;
  line-height: 1.5;
}
.search-empty p strong { color: #b01733; }
.search-tips {
  text-align: left;
  max-width: 320px;
  margin: 0 auto 24px;
  padding: 0 0 0 20px;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}
.search-tips li { margin-bottom: 4px; }

/* Responsive */
@media (max-width: 1024px) {
  .search-results-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .search-results-title { font-size: 24px; }
  .search-results-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .src-body { padding: 12px; }
  .src-title { font-size: 13px; }
  .src-desc { display: none; }
  .src-price { font-size: 16px; }
  .search-refine .search-input { padding: 6px 6px 6px 12px; height: 48px; }
  .search-submit-btn { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
  .search-results-grid { grid-template-columns: 1fr 1fr; }
}
.navbar-menu { display: flex; align-items: center; margin-left: auto; gap: 0; }
.navbar-menu li a {
  display: flex; align-items: center; gap: 4px; padding: 6px 12px;
  font-size: 14px; font-weight: 400; color: #6c6c6c; line-height: 24px;
  letter-spacing: 0.56px; white-space: nowrap; transition: color 0.2s; height: 36px;
}
.navbar-menu li a:hover { color: #b01733; }
.navbar-menu li a i { font-size: 9px; }
.navbar-menu li.menu-active a { font-weight: 500; color: #030303; }
.navbar-actions { display: flex; align-items: center; margin-left: 16px; flex-shrink: 0; }
.navbar-cart { display: flex; align-items: center; gap: 4px; padding: 4px 8px; font-size: 14px; font-weight: 500; color: #030303; line-height: 24px; letter-spacing: 0.56px; }
.navbar-cart i { color: #292d32; font-size: 16px; }
.navbar-login, .navbar-register { padding: 4px 8px; font-size: 14px; font-weight: 500; color: #b01733; line-height: 24px; letter-spacing: 0.56px; transition: opacity 0.2s; }
.navbar-login:hover, .navbar-register:hover { opacity: 0.8; }
.navbar-divider { color: #cecece; font-size: 14px; font-weight: 500; line-height: 24px; }
.navbar-toggle { display: none; }
.navbar-blog-btn { display: none; }
/* Mobile menu hidden on desktop */
.mobile-menu { display: none; }

/* ============================================================ HERO */
/* ── HERO (Variant H — Trust-Led) ── */
.hero { background: #fff; padding: 80px 0; border-bottom: 1px solid #f0f0f0; }
.hero-inner { display: flex; align-items: center; gap: 80px; }
.hero-content { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.hero-stamp {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  background: #f0faf7; color: #1a6b5a; border-radius: 6px;
  font-size: 13px; font-weight: 700; width: fit-content; letter-spacing: 0.3px;
}
.hero-stamp i { font-size: 12px; }
.hero-title { font-family: 'Manrope', sans-serif; font-size: 58px; font-weight: 900; color: #111; line-height: 64px; letter-spacing: -2px; }
.hero-title strong { color: #b01733; font-weight: 900; }
.hero-feature-list { display: flex; flex-direction: column; gap: 16px; }
.hero-feat-item { display: flex; align-items: flex-start; gap: 14px; }
.hero-feat-icon {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(176,23,51,0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.hero-feat-icon i { color: #b01733; font-size: 14px; }
.hero-feat-title { font-size: 15px; font-weight: 700; color: #111; line-height: 22px; }
.hero-feat-sub { font-size: 13px; color: #888; line-height: 20px; }
.hero-cta-row { display: flex; align-items: center; gap: 16px; padding-top: 4px; }
.hero-ghost-btn {
  font-size: 15px; font-weight: 600; color: #111; text-decoration: none;
  display: flex; align-items: center; gap: 8px; transition: gap 0.2s;
}
.hero-ghost-btn:hover { gap: 12px; }
.hero-ghost-btn i { font-size: 12px; }
/* Image stack */
.hero-image-stack { flex: 0 0 480px; display: flex; flex-direction: column; gap: 16px; }
.hero-img-main { border-radius: 16px; overflow: hidden; height: 360px; background: #f0f0f0; }
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-row { display: flex; gap: 16px; }
.hero-img-small { flex: 1; height: 130px; border-radius: 12px; overflow: hidden; background: #f0f0f0; }
.hero-img-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-rating-bar {
  background: #f7f7f7; border-radius: 12px; padding: 14px 20px;
  display: flex; align-items: center; gap: 16px;
}
.hero-rating-score { font-size: 32px; font-weight: 900; color: #111; line-height: 1; }
.hero-rating-stars { display: flex; gap: 3px; color: #f5a623; font-size: 16px; }
.hero-rating-label { font-size: 13px; color: #888; margin-top: 2px; }

/* ============================================================ TRUSTED BRANDS */
.brands-section { padding: 32px 0; background: #fff; }
.brands-section .container { display: flex; flex-direction: column; align-items: center; gap: 0; }
.brands-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
.brands-track { display: flex; align-items: center; width: max-content; animation: marquee-scroll 35s linear infinite; will-change: transform; }
.brands-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-logo { height: 63px; padding-right: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; text-decoration: none; color: inherit; }
.brand-logo img { height: 40px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(100%); opacity: 0.7; display: block; transition: filter 0.3s, opacity 0.3s; }
.brand-logo:hover img { filter: grayscale(0%); opacity: 1; }

/* ============================================================ CATEGORIES */
.categories-section { padding: 80px 0; background: #fff; }
.categories-section .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
/* Hero duo — two large image cards */
.cat-hero-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
.cat-hero-card {
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  height: 380px; text-decoration: none; color: #fff;
}
.cat-hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.cat-hero-card:hover img { transform: scale(1.05); }
.cat-hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 32px;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}
.cat-hero-label { font-family: 'Manrope', sans-serif; font-size: 28px; font-weight: 800; line-height: 36px; letter-spacing: -0.3px; }
.cat-hero-tagline { font-size: 14px; font-weight: 400; opacity: 0.85; margin-top: 4px; line-height: 22px; }
.cat-hero-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600;
  color: #fff; transition: gap 0.2s;
}
.cat-hero-card:hover .cat-hero-cta { gap: 12px; }
.cat-hero-cta i { font-size: 12px; }
/* Accessories bar */
.cat-accessory-bar {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px 24px; background: #f7f7f7; border-radius: 14px;
  text-decoration: none; color: inherit; transition: background 0.2s, box-shadow 0.2s;
}
.cat-accessory-bar:hover { background: #f0f0f0; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.cat-acc-left { display: flex; align-items: center; gap: 16px; }
.cat-acc-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.cat-acc-text { display: flex; flex-direction: column; gap: 2px; }
.cat-acc-name { font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700; color: #030303; }
.cat-acc-desc { font-size: 13px; font-weight: 400; color: #6c6c6c; }
.cat-acc-cta {
  display: flex; align-items: center; gap: 8px; font-family: 'Manrope', sans-serif;
  font-size: 14px; font-weight: 600; color: #b01733; transition: gap 0.2s; white-space: nowrap;
}
.cat-accessory-bar:hover .cat-acc-cta { gap: 12px; }
.cat-acc-cta i { font-size: 12px; }

/* ============================================================ FEATURED PRODUCTS */
.featured-section { background: #f7f7f7; padding: 80px 0; }
.featured-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 16px; }
.featured-header-left { display: flex; flex-direction: column; gap: 4px; }
.featured-tabs {
  display: flex; align-items: center; align-self: center;
  background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
  padding: 4px; gap: 4px;
}
.ftab {
  padding: 8px 20px; border-radius: 10px; font-family: 'Manrope', sans-serif;
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: none; background: transparent; color: #6c6c6c;
  transition: all 0.2s; line-height: 24px; white-space: nowrap;
}
.ftab.active {
  background: #b01733; color: #fff; font-weight: 600;
  box-shadow: 0 2px 8px rgba(176,23,51,0.25);
}
.ftab:hover:not(.active) { background: #f0f0f0; color: #030303; }
.products-grid { display: flex; gap: 20px; }
.product-card {
  flex: 1; background: #fff; border: 1px solid #ebebeb; border-radius: 16px;
  padding: 16px; display: flex; flex-direction: column; position: relative;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  border-top: 3px solid #ebebeb;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-4px); border-top-color: #b01733; }
.product-img-wrap { width: 100%; height: 180px; border-radius: 12px; overflow: hidden; background: #fafafa; position: relative; flex-shrink: 0; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.sale-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: #b01733; color: #fff; font-size: 11px; font-weight: 700;
  line-height: 1; padding: 6px 10px; border-radius: 6px;
  letter-spacing: 0.3px;
}
.sale-arrow { display: none; }
.product-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; margin-top: 12px; }
.product-name { font-size: 16px; font-weight: 700; color: #030303; line-height: 24px; letter-spacing: 0.2px; min-height: 48px; }
.product-price-spacer { flex: 1; }
.product-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 4px; border-top: 1px solid #f0f0f0; }
.price-label { font-size: 12px; font-weight: 500; color: #a6a6a6; line-height: 20px; letter-spacing: 0.4px; text-transform: uppercase; }
.price-value { font-size: 24px; font-weight: 800; color: #1a6b5a; line-height: 32px; letter-spacing: -0.5px; }
.price-value del { font-size: 15px; font-weight: 500; color: #c0c0c0; text-decoration: line-through; margin-left: 6px; }
/* Stacked price variants */
.price-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.price-stack .price-value { line-height: 1.2; }
.price-old { font-size: 13px; font-weight: 500; color: #c0c0c0; text-decoration: line-through; line-height: 1.4; }
/* Old-left variant: strikethrough left, new price right */
.price-old-left { display: flex; align-items: baseline; gap: 8px; }
.price-old-left .price-old { font-size: 14px; }
.btn-view-details { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 16px; background: #030303; color: #fff; border: none; border-radius: 8px; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.2s; }
.btn-view-details i { font-size: 11px; transition: transform 0.2s; }
.btn-view-details:hover { background: #1a6b5a; }
.btn-view-details:hover i { transform: translateX(3px); }
/* ---- Button A/B variants — all gradients go to right (dark → light = arrow direction) ---- */
/* Block A */
.btn-vd-grey  { background: linear-gradient(to right, #1f1f1f 0%, #606060 100%); color: #fff; }
.btn-vd-grey:hover  { background: linear-gradient(to right, #111 0%, #484848 100%); }
.btn-vd-red   { background: #b01733; color: #fff; }
.btn-vd-red:hover   { background: #8f1129; }
.btn-vd-ghost { background: transparent; color: #1a6b5a; border: 2px solid #1a6b5a; padding: 8px 16px; }
.btn-vd-ghost:hover { background: #1a6b5a; color: #fff; }
/* Block B — dark → light-colour gradients */
.btn-vd-navy  { background: linear-gradient(to right, #0c1f3d 0%, #2a5fa8 100%); color: #fff; }
.btn-vd-navy:hover  { background: linear-gradient(to right, #091629 0%, #1e4b87 100%); }
.btn-vd-teal  { background: linear-gradient(to right, #071f18 0%, #1a6b5a 100%); color: #fff; }
.btn-vd-teal:hover  { background: linear-gradient(to right, #040f0c 0%, #124d41 100%); }
.btn-vd-rgrad { background: linear-gradient(to right, #5a0516 0%, #c9253b 100%); color: #fff; }
.btn-vd-rgrad:hover { background: linear-gradient(to right, #3d030f 0%, #a01d2f 100%); }
.btn-vd-warm  { background: linear-gradient(to right, #1e1008 0%, #7a4f2a 100%); color: #fff; }
.btn-vd-warm:hover  { background: linear-gradient(to right, #110900 0%, #5c3a1c 100%); }
/* Block C — pale colour tint → soft colour, white text */
.btn-vd-c-red   { background: linear-gradient(to right, #e8a8b5 0%, #c85672 100%); color: #fff; border: none; }
.btn-vd-c-red:hover   { background: linear-gradient(to right, #d4899a 0%, #b01733 100%); color: #fff; }
.btn-vd-c-teal  { background: linear-gradient(to right, #8ecdc4 0%, #2e9880 100%); color: #fff; border: none; }
.btn-vd-c-teal:hover  { background: linear-gradient(to right, #72b8ae 0%, #1a6b5a 100%); color: #fff; }
.btn-vd-c-navy  { background: linear-gradient(to right, #96b8dc 0%, #4a7ec0 100%); color: #fff; border: none; }
.btn-vd-c-navy:hover  { background: linear-gradient(to right, #7aa4d0 0%, #2a5fa8 100%); color: #fff; }
.btn-vd-c-dark  { background: linear-gradient(to right, #a8a8a8 0%, #3a3a3a 100%); color: #fff; border: none; }
.btn-vd-c-dark:hover  { background: linear-gradient(to right, #909090 0%, #1a1a1a 100%); color: #fff; }
/* Block D — grey → same soft colours, white text */
.btn-vd-d-red   { background: linear-gradient(to right, #888 0%, #c85672 100%); color: #fff; border: none; }
.btn-vd-d-red:hover   { background: linear-gradient(to right, #707070 0%, #b01733 100%); color: #fff; }
.btn-vd-d-teal  { background: linear-gradient(to right, #888 0%, #2e9880 100%); color: #fff; border: none; }
.btn-vd-d-teal:hover  { background: linear-gradient(to right, #707070 0%, #1a6b5a 100%); color: #fff; }
.btn-vd-d-navy  { background: linear-gradient(to right, #888 0%, #4a7ec0 100%); color: #fff; border: none; }
.btn-vd-d-navy:hover  { background: linear-gradient(to right, #707070 0%, #2a5fa8 100%); color: #fff; }
.btn-vd-d-dark  { background: linear-gradient(to right, #888 0%, #3a3a3a 100%); color: #fff; border: none; }
.btn-vd-d-dark:hover  { background: linear-gradient(to right, #707070 0%, #1a1a1a 100%); color: #fff; }
.product-stars-pill { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 2px; background: #fff; border-radius: 6px; padding: 4px 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.product-stars-pill i { color: #ffc750; font-size: 12px; }
.product-stars-pill .far { color: #e0e0e0; }

/* ============================================================ SHOP BY BRAND */
.shopbrand-section { padding: 80px 0; background: #f7f7f7; }
.shopbrand-section .container { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.shopbrand-carousel-wrap { display: flex; align-items: center; gap: 16px; width: 100%; }
.carousel-arrow {
  width: 44px; height: 44px; background: #fff; border: 1px solid #e0e0e0;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: all 0.2s; color: #b01733; font-size: 14px;
}
.carousel-arrow:hover { background: #b01733; color: #fff; border-color: #b01733; }
/* Viewport clips the track */
.shopbrand-viewport { flex: 1; overflow: hidden; }
.shopbrand-track {
  display: flex; gap: 24px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px); background: #fff; border: 1px solid #e8e8e8;
  border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.tc-header { display: flex; align-items: flex-start; gap: 12px; }
.tc-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #f4f4f4; }
.tc-avatar.tc-avatar-initial { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #b01733 0%, #8f0f24 100%); color: #fff; font-weight: 700; font-size: 16px; font-family: 'Manrope', sans-serif; }
.tc-meta { flex: 1; }
.tc-name { font-size: 14px; font-weight: 700; color: #030303; line-height: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tc-verified { font-size: 11px; font-weight: 600; color: #1a6b5a; display: inline-flex; align-items: center; gap: 3px; }
.tc-verified i { font-size: 11px; }
.tc-product { font-size: 12px; font-weight: 500; color: #b01733; margin-top: 3px; }
.tc-color { font-size: 11px; font-weight: 500; color: #888; margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.tc-quote { font-size: 32px; color: #b01733; font-family: Georgia, serif; line-height: 0.8; flex-shrink: 0; margin-top: -4px; }
.tc-text-wrap { position: relative; flex: 1; }
.tc-text {
  font-size: 14px; font-weight: 400; color: #6c6c6c; line-height: 24px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tc-text-wrap.is-expanded .tc-text {
  -webkit-line-clamp: unset;
  display: block;
}
.tc-readmore {
  background: none; border: 0; padding: 0; margin-top: 8px;
  font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 600;
  color: #b01733; cursor: pointer;
}
.tc-readmore:hover { text-decoration: underline; }
.tc-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.tc-photo-thumb {
  border-radius: 8px; width: 120px; height: 84px; object-fit: cover;
  cursor: zoom-in; transition: opacity 0.2s, transform 0.2s;
}
.tc-photo-thumb:hover { opacity: 0.9; transform: scale(1.03); }
.tc-stars { display: flex; gap: 2px; margin-top: auto; }
.tc-stars i { color: #ffc750; font-size: 15px; }
.tc-stars .far { color: #e0e0e0; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d8d8d8; cursor: pointer; transition: all 0.2s; }
.dot.active { background: #b01733; width: 24px; border-radius: 4px; }
/* Lightbox */
.tc-lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
}
.tc-lightbox.open { display: flex; }
.tc-lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; object-fit: contain; }
.tc-lightbox-close {
  position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,0.15);
  border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%;
  font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.tc-lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ============================================================ OUR BLOG */
.blog-section { padding: 80px 0; background: #f7f7f7; }
.blog-section .container { display: flex; flex-direction: column; gap: 32px; }
.blog-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.blog-view-all {
  display: flex; align-items: center; gap: 8px; font-family: 'Manrope', sans-serif;
  font-size: 15px; font-weight: 600; color: #b01733; text-decoration: none; transition: gap 0.2s;
}
.blog-view-all:hover { gap: 12px; }
.blog-view-all i { font-size: 12px; }
/* Editorial layout */
.blog-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* Featured card */
.blog-featured {
  display: flex; flex-direction: column; background: #fff; border-radius: 14px;
  overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.3s;
}
.blog-featured:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.blog-featured-img { width: 100%; height: 280px; overflow: hidden; background: #e8e8e8; flex-shrink: 0; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-tag {
  display: inline-block; width: fit-content; padding: 3px 12px; border-radius: 20px;
  font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 600;
  color: #b01733; background: rgba(176,23,51,0.08); letter-spacing: 0.3px; text-transform: uppercase;
}
.blog-featured-title { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 700; color: #030303; line-height: 30px; }
.blog-featured-excerpt { font-size: 14px; font-weight: 400; color: #6c6c6c; line-height: 24px; }
.blog-featured-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #a6a6a6; font-weight: 500; }
.blog-meta-dot { font-size: 16px; line-height: 1; }
.blog-read-link {
  display: flex; align-items: center; gap: 8px; font-family: 'Manrope', sans-serif;
  font-size: 14px; font-weight: 600; color: #b01733; margin-top: auto; transition: gap 0.2s;
}
.blog-featured:hover .blog-read-link { gap: 12px; }
.blog-read-link i { font-size: 11px; }
/* Side stack */
.blog-side { display: flex; flex-direction: column; gap: 24px; }
.blog-side-card {
  display: flex; gap: 0; background: #fff; border-radius: 14px;
  overflow: hidden; text-decoration: none; color: inherit; flex: 1;
  transition: box-shadow 0.3s;
}
.blog-side-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.blog-side-img { width: 200px; min-height: 100%; flex-shrink: 0; overflow: hidden; background: #e8e8e8; }
.blog-side-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-side-card:hover .blog-side-img img { transform: scale(1.04); }
.blog-side-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.blog-side-title { font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700; color: #030303; line-height: 24px; }
.blog-side-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #a6a6a6; font-weight: 500; }

/* ============================================================ PHOTO GALLERY */
.gallery-section { padding: 80px 0; background: #fff; }
.gallery-section .container { display: flex; flex-direction: column; gap: 28px; }
.gallery-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.gallery-filters { display: flex; align-items: center; background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 4px; gap: 4px; }
.gallery-filter {
  padding: 8px 20px; border-radius: 10px; font-family: 'Manrope', sans-serif;
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: none; background: transparent; color: #6c6c6c;
  transition: all 0.2s; line-height: 24px; white-space: nowrap;
}
.gallery-filter.active { background: #b01733; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(176,23,51,0.25); }
.gallery-filter:hover:not(.active) { background: #f0f0f0; color: #030303; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-img { height: 320px; border-radius: 12px; overflow: hidden; background: #e8e8e8; transition: opacity 0.3s, transform 0.3s; }
.gallery-img.hidden { display: none; }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-img:hover img { transform: scale(1.04); }

/* ============================================================ FIREPLACE PAINT KIT */
.paintkit-section { padding: 80px 0; background: #f7f7f7; }
.paintkit-body { display: flex; gap: 48px; align-items: center; }
.paintkit-image { flex: 1; border-radius: 16px; overflow: hidden; background: #e8e8e8; aspect-ratio: 4/3; }
.paintkit-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease; }
.paintkit-details { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.paintkit-title { font-family: 'Manrope', sans-serif; font-size: 32px; font-weight: 800; color: #030303; line-height: 40px; letter-spacing: -0.3px; }
.paintkit-desc { font-size: 15px; font-weight: 400; color: #6c6c6c; line-height: 26px; }
.paintkit-price-row { display: flex; align-items: baseline; gap: 10px; }
.paintkit-price { font-size: 32px; font-weight: 800; color: #1a6b5a; line-height: 1; letter-spacing: -0.5px; }
.paintkit-price-note { font-size: 13px; font-weight: 500; color: #a6a6a6; letter-spacing: 0.3px; }
.paintkit-colors { display: flex; flex-direction: column; gap: 8px; }
.color-scheme-label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: #6c6c6c; line-height: 24px; }
.color-scheme-label strong { font-size: 15px; font-weight: 600; color: #030303; line-height: 24px; }
.color-swatches { display: flex; gap: 12px; align-items: center; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid #e0e0e0;
  cursor: pointer; position: relative; transition: border-color 0.2s, box-shadow 0.2s; display: flex; align-items: center; justify-content: center;
}
.swatch:hover { border-color: #a6a6a6; }
.swatch.active { border-color: #b01733; box-shadow: 0 0 0 3px rgba(176,23,51,0.12); }
.swatch.active::after { content: '\2713'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #b01733; font-size: 14px; font-weight: 700; }
.paintkit-details .btn-primary { width: fit-content; display: flex; align-items: center; gap: 8px; }
.paintkit-details .btn-primary i { font-size: 12px; transition: transform 0.2s; }
.paintkit-details .btn-primary:hover i { transform: translateX(3px); }

/* ============================================================ NEWSLETTER */
.newsletter-section { background: #f1f1f1; padding: 64px 0; }
.newsletter-inner { display: flex; flex-direction: column; align-items: center; }
.newsletter-inner .section-preheader { margin-bottom: 12px; }
.newsletter-inner .section-title { margin-bottom: 32px; }
.newsletter-form {
  display: flex; align-items: center; background: #fff;
  border-radius: 12px; padding: 8px 8px 8px 16px; gap: 10px;
  width: 816px; max-width: 100%; height: 62px;
}
.newsletter-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 500;
  color: #030303; line-height: 20px; letter-spacing: 0.56px;
}
.newsletter-input::placeholder { color: #a6a6a6; }
.newsletter-btn {
  background: #b01733; color: #fff; font-family: 'Manrope', sans-serif;
  font-size: 16px; font-weight: 600; line-height: 26px; padding: 10px 16px;
  border-radius: 8px; border: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s; height: 46px;
}
.newsletter-btn:hover { background: #8f1228; }

/* ============================================================ SCROLL TO TOP */
.scroll-top-bar {
  background: #f5f5f5; border-top: 1px solid #e8e8e8;
  display: flex; justify-content: flex-end; padding: 8px 72px;
}
.scroll-top-btn {
  width: 44px; height: 44px; background: #fff; border: 1px solid #cecece;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #b01733; font-size: 14px; transition: background 0.2s;
}
.scroll-top-btn:hover { background: #f5f5f5; }

/* ============================================================ FOOTER */
.footer { background: #fff; padding: 64px 0 0; position: relative; overflow: hidden; }
.footer-watermark {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-family: 'Lato', sans-serif; font-size: 140px; font-weight: 900;
  color: rgba(0,0,0,0.04); white-space: nowrap; pointer-events: none;
  user-select: none; z-index: 0; letter-spacing: -4px;
}
.footer .container { position: relative; z-index: 1; }
.footer-grid { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 48px; }
.footer-col { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.footer-col-brand { gap: 16px; }
.footer-logo { height: 28px; width: auto; max-width: 160px; display: block; object-fit: contain; flex-shrink: 0; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; font-weight: 400; color: #6c6c6c; line-height: 20px; letter-spacing: 0.48px; }
.footer-contact-item i { color: #b01733; font-size: 11px; margin-top: 2px; flex-shrink: 0; }
.footer-socials { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.footer-socials a { color: #6c6c6c; font-size: 16px; transition: color 0.2s; }
.footer-socials a:hover { color: #b01733; }
.footer-heading { font-size: 16px; font-weight: 600; color: #030303; line-height: 26px; letter-spacing: 0.64px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { font-size: 14px; font-weight: 500; color: #6c6c6c; line-height: 24px; letter-spacing: 0.56px; transition: color 0.2s; }
.footer-links li a:hover { color: #b01733; }
.footer-newsletter-text { font-size: 14px; font-weight: 500; color: #6c6c6c; line-height: 24px; letter-spacing: 0.56px; }
.footer-payment-icons { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.footer-payment-icons img { height: 22px; width: auto; border-radius: 3px; }
.footer-pci { font-size: 12px; font-weight: 400; color: #a6a6a6; line-height: 22px; letter-spacing: 0.48px; }
.footer-bottom { background: #ebebeb; padding: 12px 0; text-align: center; position: relative; z-index: 1; }
.footer-bottom p { font-size: 12px; font-weight: 500; color: #6c6c6c; line-height: 16px; letter-spacing: 0.48px; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1280px) {
  .topbar-inner, .navbar-inner { padding: 0 32px; }
  .navbar-inner { height: 72px; }
}
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .hero-image-stack { flex: 1; }
  .paintkit-body { gap: 32px; }
}
/* Mobile-only controls hidden on desktop */
.navbar-mobile-actions { display: none; }
.mobile-search-bar { display: none; }
.mobile-menu-overlay { display: none; }
.mobile-cart-bar { display: none; }

/* Tablet/iPad: the full three-block top bar needs ~1200px to sit on one line;
   below that, collapse to just the centred USP so it can't wrap to a second row. */
@media (max-width: 1200px) {
  .topbar-left, .topbar-right { display: none; }
  .topbar-inner { justify-content: center; }
}

/* Tablet/iPad: the desktop nav can't fit at these widths (the logo was getting
   squished to make room), so switch to the compact mobile header (hamburger). */
@media (max-width: 1024px) {
  html, body { overflow-x: hidden; }
  .topbar-left, .topbar-right { display: none; }
  .topbar-inner { justify-content: center; padding: 0 16px; }
  .navbar-menu, .navbar-actions, .navbar-search, .navbar-blog-btn { display: none; }
  .navbar-inner { justify-content: space-between; padding: 0 16px; height: 64px; gap: 0; }
  .navbar-logo img { height: 26px; }

  /* Mobile action icons (search, cart, hamburger) */
  .navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
  }
  .nav-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #030303;
    cursor: pointer;
    position: relative;
    padding: 0;
    border-radius: 8px;
    transition: background 0.15s;
  }
  .nav-icon-btn:hover,
  .nav-icon-btn:active { background: #f5f5f5; }
  .nav-icon-btn i { font-size: 18px; }
  .nav-icon-badge {
    position: absolute;
    top: 4px;
    right: 2px;
    background: #b01733;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .nav-icon-badge:empty { display: none; }

  /* Mobile search bar (expandable) */
  .mobile-search-bar {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
    background: #fff;
    border-top: 1px solid #f0f0f0;
  }
  .mobile-search-bar.active {
    max-height: 80px;
  }
  .mobile-search-bar .search-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f5f5f5;
    margin: 12px 16px;
    border-radius: 10px;
  }
  .mobile-search-bar .search-input i.fa-search {
    color: #a6a6a6;
    font-size: 14px;
  }
  .mobile-search-bar .search-input input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #030303;
  }
  .mobile-search-close {
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 14px;
  }

  /* Mobile menu overlay */
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1500;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile menu — slide-in panel from the right */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 1501;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    padding: 0;
    border: none;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }

  /* Header bar inside menu */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1.5px solid #e8e8e8;
    flex-shrink: 0;
  }
  .mobile-menu-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .mobile-menu-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .mobile-menu-close:hover { background: #b01733; color: #fff; }

  /* Scrollable menu body */
  .mobile-menu-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
  }

  /* Menu list */
  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mobile-menu-list > li {
    border-bottom: 1px solid #f0f0f0;
  }
  .mobile-menu-list > li > a,
  .mobile-menu-list .mobile-menu-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
  }
  .mobile-menu-list .mobile-menu-toggle-btn a {
    flex: 1;
    color: #111;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
  }
  .mobile-menu-list .mobile-menu-toggle-btn .expand-icon {
    color: #aaa;
    font-size: 12px;
    transition: transform 0.2s;
    padding: 4px 8px;
    margin-right: -8px;
  }
  .mobile-menu-expandable.expanded .expand-icon {
    transform: rotate(180deg);
    color: #b01733;
  }

  /* Submenu */
  .mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: max-height 0.3s ease-out;
  }
  .mobile-menu-expandable.expanded .mobile-submenu {
    max-height: 500px;
  }
  .mobile-submenu li a {
    display: block;
    padding: 11px 20px 11px 36px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    border-top: 1px solid #f0f0f0;
  }
  .mobile-submenu li a:hover { color: #b01733; }

  /* Account section */
  .mobile-menu-account {
    padding: 16px 20px;
    background: #fafafa;
    border-top: 1.5px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-account-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s;
  }
  .mobile-account-link:hover {
    background: #fff;
    color: #b01733;
  }
  .mobile-account-link i { color: #b01733; font-size: 15px; width: 20px; }

  /* Contact info */
  .mobile-menu-contact {
    padding: 14px 20px 20px;
    border-top: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-menu-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
  }
  .mobile-menu-contact a i { color: #b01733; font-size: 13px; width: 20px; }
  .mobile-menu-contact a:hover { color: #b01733; }
}

/* Below here stays phone-only (≤768px): the sticky cart bar and the
   content/section layout changes are not wanted on iPad. */
@media (max-width: 768px) {
  /* ========== STICKY MOBILE CART BAR ========== */
  .mobile-cart-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-top: 1.5px solid #e8e8e8;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-cart-bar[data-count]:not([data-count="0"]) {
    display: block;
  }
  .mobile-cart-bar-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #b01733;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    gap: 12px;
    transition: background 0.15s;
  }
  .mobile-cart-bar-btn:hover,
  .mobile-cart-bar-btn:active { background: #8f0f24; }
  .mobile-cart-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-cart-bar-left i { font-size: 15px; }
  .mobile-cart-bar-text strong { font-weight: 800; }
  .mobile-cart-bar-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
  }
  .mobile-cart-bar-cta i { font-size: 11px; }

  /* Give body bottom padding so sticky bar doesn't cover content */
  body:has(.mobile-cart-bar[data-count]:not([data-count="0"])) {
    padding-bottom: 70px;
  }
  .testimonial-card { flex: 0 0 100%; }
  .shopbrand-carousel-wrap .carousel-arrow { display: none; }
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-content { flex: none; width: 100%; }
  .hero-image-stack { flex: none; width: 100%; }
  .hero-img-main { height: 220px; }
  .hero-title { font-size: 40px; line-height: 46px; }
  .cat-hero-duo { grid-template-columns: 1fr; }
  .cat-hero-card { height: 260px; }
  .cat-hero-label { font-size: 22px; line-height: 28px; }
  .cat-hero-overlay { padding: 24px; }
  .products-grid { flex-direction: column; }
  .blog-editorial { grid-template-columns: 1fr; }
  .blog-side-card { flex-direction: column; }
  .blog-side-img { width: 100%; height: 180px; min-height: auto; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-img { height: 220px; }
  .gallery-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .paintkit-body { flex-direction: column; gap: 24px; }
  .paintkit-image { aspect-ratio: 16/10; }
  .paintkit-title { font-size: 24px; line-height: 32px; }
  .featured-header { flex-direction: column; align-items: flex-start; }
  .featured-tabs { align-self: flex-start; }
  .footer-grid { flex-direction: column; }
  .brands-track { animation-duration: 25s; }
  .brand-logo { height: 48px; padding-right: 32px; }
  .brand-logo img { height: 30px; }
  .brand-slide { flex-direction: column; }
  .newsletter-form { width: 100%; }
  .section-title { font-size: 28px; line-height: 36px; }
  .scroll-top-bar { padding: 8px 24px; }
}

/* ============================================================
   NAVBAR CART BUTTON
   ============================================================ */
.navbar-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #030303;
  letter-spacing: 0.56px;
  transition: color 0.15s;
  position: relative;
}
.navbar-cart:hover { color: #b01733; }
.navbar-cart i { color: #292d32; font-size: 16px; transition: color 0.15s; }
.navbar-cart:hover i { color: #b01733; }
.navbar-cart-count {
  position: absolute;
  top: 2px;
  left: 22px;
  background: #b01733;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.navbar-cart-count:empty,
.navbar-cart-count[data-count="0"] { display: none; }

/* ============================================================
   MINI CART DRAWER
   ============================================================ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 2000;
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  font-family: 'Manrope', sans-serif;
}
.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1.5px solid #e8e8e8;
  flex-shrink: 0;
}
.cart-drawer-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-drawer-header h3 i { color: #b01733; font-size: 16px; }

.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #555;
  transition: background 0.15s, color 0.15s;
}
.cart-drawer-close:hover {
  background: #b01733;
  color: #fff;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

/* Style WooCommerce's mini cart output */
.cart-drawer .woocommerce-mini-cart {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.cart-drawer .woocommerce-mini-cart__empty-message {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 40px 20px;
  margin: 0;
}
/* Mini-cart item — theme mini-cart.php override: thumb | info | remove. */
.cart-drawer li.mini_cart_item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px 32px 16px 0;   /* right gutter keeps text clear of the remove button */
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.cart-drawer li.mini_cart_item:last-child { border-bottom: none; }

.cart-drawer .mcart-thumb { flex-shrink: 0; display: block; line-height: 0; }
.cart-drawer .mcart-thumb img {
  width: 66px; height: 66px; object-fit: contain;
  background: #faf7f2; border: 1px solid #efe8df; border-radius: 8px;
  margin: 0; display: block;
}

.cart-drawer .mcart-info { flex: 1; min-width: 0; }
.cart-drawer .mcart-name {
  display: block; font-size: 14px; font-weight: 600; color: #1c1611;
  text-decoration: none; line-height: 1.35; margin: 0 0 7px;
}
.cart-drawer .mcart-name:hover { color: #b01733; }

/* Option meta (measurements, mesh) — one clear label/value line per option. */
.cart-drawer .mcart-meta { font-size: 12px; }
.cart-drawer .mcart-meta .variation { margin: 0; line-height: 1.45; }
.cart-drawer .mcart-meta .variation dt {
  display: inline; margin: 0; font-weight: 600; color: #8a8178;
}
.cart-drawer .mcart-meta .variation dt::after { content: " "; }
.cart-drawer .mcart-meta .variation dd { display: inline; margin: 0; color: #4d463d; }
.cart-drawer .mcart-meta .variation dd p { display: inline; margin: 0; }
.cart-drawer .mcart-meta .variation dd::after { content: ""; display: block; margin-bottom: 3px; }

.cart-drawer .mcart-priceline {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin-top: 9px;
}
.cart-drawer .mcart-qty { font-size: 12.5px; color: #8a8178; }
.cart-drawer .mcart-price,
.cart-drawer .mcart-price .woocommerce-Price-amount {
  font-size: 15px; font-weight: 700; color: #1c1611;
}

/* Remove — pinned to the top corner, clear of the price line below. */
.cart-drawer li.mini_cart_item a.mcart-remove {
  position: absolute; top: 16px; right: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1px solid #e2dcd2;
  color: #a2988a !important; font-size: 13px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.15s;
}
.cart-drawer li.mini_cart_item a.mcart-remove:hover {
  background: #b01733; color: #fff !important; border-color: #b01733;
}

/* Subtotal + buttons container */
.cart-drawer .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 2px solid #e8e8e8;
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.cart-drawer .woocommerce-mini-cart__total strong { font-weight: 700; }
.cart-drawer .woocommerce-mini-cart__total .amount,
.cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount {
  color: #1a6b5a;
  font-size: 18px;
}

/* Drawer action buttons */
.cart-drawer .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 20px;
}
.cart-drawer .woocommerce-mini-cart__buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border: 1.5px solid transparent;
}
.cart-drawer .woocommerce-mini-cart__buttons a.button.wc-forward {
  background: transparent;
  color: #b01733;
  border-color: #b01733;
  order: 1;
}
.cart-drawer .woocommerce-mini-cart__buttons a.button.wc-forward:hover {
  background: #fdf0f2;
}
.cart-drawer .woocommerce-mini-cart__buttons a.checkout {
  background: #b01733;
  color: #fff;
  order: 2;
}
.cart-drawer .woocommerce-mini-cart__buttons a.checkout:hover {
  background: #8f0f24;
}

@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
}

/* ============================================================
   CART PAGE (woocommerce/cart/cart.php rebuild)
   ============================================================ */
/* Neutralise the legacy default-cart wrapper grid (woocommerce.css sets
   .woocommerce-cart .woocommerce { display:grid; 1fr 380px } and pins the form /
   totals to grid columns). Our .bacart template owns the two-column layout, so
   the outer wrapper must be a plain block or the summary card overlaps the items.
   body-prefixed to out-specify the !important rules regardless of load order. */
body.woocommerce-cart .woocommerce {
  display: block !important;
}

/* Cart & checkout use the header's wider frame (1440 / ~72px gutters) rather than
   the narrower 1236 content container, so the layout lines up with the nav above
   it instead of looking squished in the middle of the page. */
body.woocommerce-cart .brickanew-page > .container,
body.woocommerce-checkout .brickanew-page > .container {
  max-width: 1440px;
  padding-left: clamp(16px, 5vw, 72px);
  padding-right: clamp(16px, 5vw, 72px);
}
/* The article wrapper is capped at 820px for readable prose — the cart needs the
   full frame, so lift the cap (and the prose line-height) on the checkout flow. */
body.woocommerce-cart .brickanew-page-content,
body.woocommerce-checkout .brickanew-page-content {
  max-width: none;
  line-height: 1.5;
}

.bacart {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  max-width: none;
  margin: 0 auto;
  font-family: 'Manrope', sans-serif;
}
.bacart-main { min-width: 0; }

/* Free-shipping progress */
.bacart-freeship {
  border: 1px solid #ece4d9;
  background: #faf7f2;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
}
.bacart-freeship.is-unlocked { background: #eaf5ee; border-color: #cfe7d6; }
.bacart-freeship-msg { margin: 0 0 10px; font-size: 14px; color: #5c554d; }
.bacart-freeship-msg i { color: #b01733; margin-right: 6px; }
.bacart-freeship.is-unlocked .bacart-freeship-msg i { color: #2f7d4f; }
.bacart-freeship-msg strong { color: #1c1611; }
.bacart-freeship-bar { height: 7px; border-radius: 999px; background: #ece4d9; overflow: hidden; }
.bacart-freeship-bar span { display: block; height: 100%; border-radius: 999px; background: #b01733; transition: width 0.4s ease; }
.bacart-freeship.is-unlocked .bacart-freeship-bar span { background: #2f7d4f; }

/* Item cards */
.bacart-items { border-top: 1px solid #ece4d9; }
.bacart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #ece4d9;
}
.bacart-item-thumb { display: block; line-height: 0; }
.bacart-item-thumb img {
  width: 92px; height: 92px; object-fit: contain;
  background: #faf7f2; border: 1px solid #efe8df; border-radius: 10px; margin: 0;
}
.bacart-item-info { min-width: 0; }
.bacart-item-name {
  display: inline-block; font-size: 15.5px; font-weight: 700; color: #1c1611;
  text-decoration: none; line-height: 1.3; margin: 0 0 8px;
}
.bacart-item-name:hover { color: #b01733; }

.bacart-item-meta { font-size: 12.5px; }
.bacart-item-meta .variation { margin: 0; line-height: 1.5; }
.bacart-item-meta .variation dt { display: inline; margin: 0; font-weight: 600; color: #8a8178; }
.bacart-item-meta .variation dt::after { content: " "; }
.bacart-item-meta .variation dd { display: inline; margin: 0; color: #4d463d; }
.bacart-item-meta .variation dd p { display: inline; margin: 0; }
.bacart-item-meta .variation dd::after { content: ""; display: block; margin-bottom: 3px; }

.bacart-item-lead { margin: 8px 0 0; font-size: 12.5px; color: #8a8178; }
.bacart-item-lead i { color: #b01733; margin-right: 5px; }

.bacart-item-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.bacart-item-actions .quantity { margin: 0; }
.bacart-item-actions .quantity input.qty {
  width: 58px; height: 38px; text-align: center; border: 1px solid #ddd4c8;
  border-radius: 8px; font-size: 14px; background: #fff;
}
/* Override WooCommerce core a.remove (a round 1em × button) for the cart line. */
.bacart-item-actions a.bacart-item-remove {
  display: inline-flex; align-items: center; width: auto; height: auto;
  font-size: 13px; line-height: 1.4; font-weight: 400; border-radius: 0;
  color: #6b6257 !important; text-decoration: underline; text-underline-offset: 2px;
  border: 0; background: none; padding: 0;
}
.bacart-item-actions a.bacart-item-remove:hover { color: #b01733 !important; background: none !important; }

.bacart-item-price { text-align: right; white-space: nowrap; }
.bacart-item-linetotal { display: block; font-size: 16px; font-weight: 700; color: #1c1611; }
.bacart-item-unit { display: block; font-size: 12px; color: #8a8178; margin-top: 3px; }

/* Coupon + update */
.bacart-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.bacart-coupon { display: flex; gap: 8px; flex: 1; min-width: 240px; }
.bacart-coupon input.input-text {
  flex: 1; height: 42px; padding: 0 14px; border: 1px solid #ddd4c8; border-radius: 9px;
  font-size: 14px; background: #fff;
}
.bacart-actions .button.bacart-apply,
.bacart-actions .button.bacart-update {
  height: 42px; padding: 0 20px; border-radius: 9px; font-size: 13px; font-weight: 700;
  cursor: pointer; border: 1px solid #d6cabb; background: #fff; color: #1c1611;
  text-transform: none; letter-spacing: 0;
}
.bacart-actions .button.bacart-apply:hover,
.bacart-actions .button.bacart-update:hover { border-color: #b01733; color: #b01733; }

/* Complete-your-order upsell */
.bacart-upsell { margin-top: 34px; padding-top: 26px; border-top: 1px solid #ece4d9; }
.bacart-upsell-title { font-size: 17px; font-weight: 800; color: #1c1611; margin: 0 0 3px; letter-spacing: -0.01em; }
.bacart-upsell-sub { font-size: 13px; color: #6b6257; margin: 0 0 16px; }
.bacart-upsell-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.bacart-upsell-card {
  display: flex; align-items: center; gap: 13px;
  border: 1px solid #ece4d9; border-radius: 13px; padding: 13px 14px; background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bacart-upsell-card:hover { border-color: #ddd0be; box-shadow: 0 4px 14px rgba(28, 22, 17, 0.06); }
.bacart-upsell-thumb { flex: none; line-height: 0; }
.bacart-upsell-thumb img { width: 54px; height: 54px; object-fit: contain; border-radius: 8px; background: #faf7f2; margin: 0; }
.bacart-upsell-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bacart-upsell-name { font-size: 13.5px; font-weight: 700; color: #1c1611; text-decoration: none; line-height: 1.25; }
.bacart-upsell-name:hover { color: #b01733; }
.bacart-upsell-price { font-size: 13px; color: #6b6257; font-weight: 700; }
.bacart-upsell-priceline { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bacart-upsell-was { font-size: 12px; color: #a2988a; text-decoration: line-through; }
.bacart-upsell-now { font-size: 14px; font-weight: 800; color: #1c1611; }
.bacart-upsell-save {
  font-size: 10.5px; font-weight: 800; color: #2f7d4f; background: #eaf5ee;
  padding: 2px 7px; border-radius: 5px; letter-spacing: 0.02em; text-transform: uppercase;
}
.bacart-upsell-add {
  flex: none; font-size: 12.5px; font-weight: 800; text-decoration: none !important; letter-spacing: 0.02em;
  color: #fff !important; border: 1px solid #b01733; border-radius: 9px; padding: 9px 18px; background: #b01733;
  transition: background 0.15s, border-color 0.15s; white-space: nowrap; line-height: 1;
}
.bacart-upsell-add:hover { background: #8f1228 !important; border-color: #8f1228; color: #fff !important; }
.bacart-upsell-add.bacart-upsell-choose { color: #b01733 !important; background: #fff; }
.bacart-upsell-add.bacart-upsell-choose:hover { background: #b01733; color: #fff !important; }

/* ============================================================
   CHECKOUT PAGE (woocommerce/checkout/form-checkout.php rebuild)
   ============================================================ */
.bacheckout {
  display: grid;
  grid-template-columns: 1fr 400px;
  column-gap: 48px;
  row-gap: 0;
  align-items: start;
  font-family: 'Manrope', sans-serif;
}
/* Match the summary card's top padding so "Billing details" lines up with the
   "Your Order" heading across the two columns (zero the h3's own top margin so
   it doesn't stack on the padding). */
.bacheckout-main { min-width: 0; padding-top: 27px; }
/* Match "Billing details" to the "Your Order" heading (size, line-height and
   divider spacing) so the two underlines line up across the columns. */
body.woocommerce-checkout .bacheckout-main .woocommerce-billing-fields > h3,
body.woocommerce-checkout .bacheckout-main #customer_details > .col-1 > .woocommerce-billing-fields > h3 {
  margin-top: 0 !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  padding-bottom: 16px !important;
}

/* "Back to cart" under the step indicator — subtle, top-left where people look
   for back-navigation. */
.bacheckout-back {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-size: 13px; font-weight: 600; color: #6b6257; text-decoration: none;
}
.bacheckout-back:hover { color: #b01733; text-decoration: underline; }
.bacheckout-back i { font-size: 11px; }
body.woocommerce-cart .brickanew-page,
body.woocommerce-checkout .brickanew-page { padding-top: 18px !important; }
.bacheckout-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* Left column stacks billing then shipping/notes — no side-by-side sub-columns. */
.woocommerce-checkout #customer_details.col2-set { display: block; margin: 0 !important; }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { width: 100%; max-width: none; float: none; padding: 0; }
.woocommerce-checkout #customer_details .col-2:empty { display: none; }

/* First / last name share a row; every other field stays full width. */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row { grid-column: 1 / -1; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first { grid-column: 1 / 2; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last  { grid-column: 2 / 3; }

/* One cohesive summary card: flatten the nested review + payment boxes into it.
   Subtle warm tint sets it apart from the white billing form on the left. */
.bacheckout-summary {
  background: #faf8f5; border: 1.5px solid #ece7e0; border-radius: 12px; padding: 26px 26px 34px;
}
/* All amount cells align on the same right edge; labels stay left. */
body.woocommerce-checkout .bacheckout-summary table.shop_table th,
body.woocommerce-checkout .bacheckout-summary table.shop_table td { text-align: right !important; }
body.woocommerce-checkout .bacheckout-summary table.shop_table tr > th:first-child,
body.woocommerce-checkout .bacheckout-summary table.shop_table tr > td:first-child { text-align: left !important; }
.bacheckout-summary #order_review_heading {
  margin: 0 0 18px !important; padding: 0 0 16px !important;
  border-bottom: 1.5px solid #e8e8e8 !important;
  font-size: 18px; line-height: 1.3; font-weight: 800; color: #111; text-transform: uppercase; letter-spacing: 0.5px;
}
/* Flatten every nested box into the single summary card (body-prefixed so these
   beat woocommerce.css, which loads after style.css at equal specificity). */
body.woocommerce-checkout .bacheckout-summary .woocommerce-checkout-review-order {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important;
}
body.woocommerce-checkout .bacheckout-summary table.shop_table {
  border: 0 !important; border-radius: 0 !important; overflow: visible !important;
}
body.woocommerce-checkout .bacheckout-summary table.shop_table thead {
  background: transparent !important;
}
body.woocommerce-checkout .bacheckout-summary table.shop_table th {
  padding-left: 0 !important; padding-right: 0 !important;
}
body.woocommerce-checkout .bacheckout-summary table.shop_table td {
  padding-left: 0 !important; padding-right: 0 !important;
}
body.woocommerce-checkout .bacheckout-summary #payment {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  padding: 18px 0 0 !important; margin: 18px 0 0 !important; border-top: 1.5px solid #e8e8e8 !important;
}
body.woocommerce-checkout .bacheckout-summary #payment ul.payment_methods { padding: 0 0 14px !important; }
body.woocommerce-checkout .bacheckout-summary #place_order { margin: 8px 0 0 !important; }

/* Payment-method rows: radio + label + card icons all on one line. Using
   inline-flex (not flex) keeps the label beside its radio instead of wrapping
   underneath it, which was causing the indented, unprofessional look. */
body.woocommerce-checkout .bacheckout-summary #payment ul.payment_methods {
  list-style: none !important; margin: 0 !important; padding: 0 0 14px !important;
}
body.woocommerce-checkout .bacheckout-summary #payment ul.payment_methods li {
  margin: 0 0 6px !important; padding: 0 !important; list-style: none !important;
}
body.woocommerce-checkout .bacheckout-summary #payment ul.payment_methods li::before { display: none !important; }
body.woocommerce-checkout .bacheckout-summary #payment ul.payment_methods li input[type="radio"] {
  width: auto !important; margin: 0 8px 0 0 !important; vertical-align: middle; position: static !important;
}
body.woocommerce-checkout .bacheckout-summary #payment .payment_methods li label {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 700; color: #1c1611;
  margin: 0 !important; vertical-align: middle;
}
body.woocommerce-checkout .bacheckout-summary #payment .payment_methods li label img {
  display: inline-block !important; vertical-align: middle; width: 30px !important; height: auto !important; margin: 0 !important;
}
/* Description / info boxes under a method — tidy, readable, no stray arrow. */
body.woocommerce-checkout .bacheckout-summary #payment .payment_box {
  background: #fff !important; border: 1px solid #ece7e0 !important; border-radius: 8px !important;
  padding: 12px 14px !important; margin: 10px 0 0 !important;
  font-size: 13px !important; color: #6b6257 !important; line-height: 1.5 !important;
}
body.woocommerce-checkout .bacheckout-summary #payment .payment_box > p { margin: 0 0 10px !important; }
body.woocommerce-checkout .bacheckout-summary #payment .payment_box > p:last-child { margin: 0 !important; }
/* Authorize.Net card fields: expiry + CVC share a row, inputs match the theme. */
body.woocommerce-checkout .bacheckout-summary #wc-authnet-cc-form {
  margin: 12px 0 0 !important; padding: 0 !important; border: 0 !important; display: flow-root;
}
body.woocommerce-checkout .bacheckout-summary #wc-authnet-cc-form .form-row { margin: 0 0 10px !important; padding: 0 !important; }
body.woocommerce-checkout .bacheckout-summary #wc-authnet-cc-form .form-row-first { width: 48%; float: left; }
body.woocommerce-checkout .bacheckout-summary #wc-authnet-cc-form .form-row-last { width: 48%; float: right; }
body.woocommerce-checkout .bacheckout-summary #wc-authnet-cc-form label { font-size: 12.5px !important; font-weight: 600 !important; }

/* Trust strip — its own centered row spanning both columns, above billing and
   the order summary, so the two columns start aligned beneath it. */
.bacheckout-trust {
  grid-column: 1 / -1; list-style: none; margin: 0; padding: 0 0 16px;
  border-bottom: 1px solid #ece7e0;
  display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: center;
}
.bacheckout-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #6b6257; font-weight: 600; }
.bacheckout-trust li i { color: #2f7d4f; }

/* Minimal checkout header (template-parts/checkout-header.php). */
.checkout-header { border-bottom: 1px solid #ece7e0; background: #fff; }
.checkout-header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.checkout-header-logo img { height: 38px; width: auto; display: block; margin: 0; }
.checkout-header-meta { display: flex; align-items: center; gap: 22px; }
.checkout-header-secure { font-size: 13px; font-weight: 700; color: #2f7d4f; display: inline-flex; align-items: center; gap: 7px; }
.checkout-header-phone { font-size: 14px; font-weight: 700; color: #1c1611; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.checkout-header-phone:hover { color: #b01733; }

/* Order-summary heading row with an "Edit" link back to the cart. The divider
   moves to the wrapper so it still spans the full card width. */
.bacheckout-summary-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-bottom: 1.5px solid #e8e8e8; margin: 0 0 18px; padding: 0 0 16px;
}
body.woocommerce-checkout .bacheckout-summary-head #order_review_heading {
  border: 0 !important; margin: 0 !important; padding: 0 !important;
}
.bacheckout-edit {
  flex: none; font-size: 13px; font-weight: 700; color: #b01733; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.bacheckout-edit:hover { text-decoration: underline; }
.bacheckout-edit i { font-size: 11px; }

/* Completed "Shopping Cart" step is a link back to the cart from checkout. */
a.checkout-step.is-link { text-decoration: none; cursor: pointer; }
a.checkout-step.is-link:hover .step-label { color: #b01733; text-decoration: underline; }

/* Free-shipping nudge inside the summary card. */
.bacheckout-freeship {
  background: #fff; border: 1px solid #ece7e0; border-radius: 8px; padding: 11px 14px; margin: 0 0 18px;
  font-size: 13px; color: #6b6257; line-height: 1.45;
}
.bacheckout-freeship i { color: #b01733; margin-right: 6px; }
.bacheckout-freeship strong { color: #1c1611; }
.bacheckout-freeship.is-unlocked { background: #eaf5ee; border-color: #cfe7d6; color: #2f7d4f; }
.bacheckout-freeship.is-unlocked i,
.bacheckout-freeship.is-unlocked strong { color: #2f7d4f; }

/* Order-review lines: thumbnail + name + made-to-order note. */
.bacheckout-line { display: flex; align-items: flex-start; gap: 11px; }
.bacheckout-line-thumb {
  width: 46px !important; height: 46px !important; object-fit: contain; border-radius: 7px;
  flex: none; margin: 0 !important; background: #fff; border: 1px solid #ece7e0; padding: 2px;
}
.bacheckout-line-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bacheckout-line-name { font-weight: 700; color: #1c1611; line-height: 1.3; }
.bacheckout-line-qty { color: #8a8178; font-weight: 600; }
.bacheckout-line-lead { font-size: 12px; color: #9a7d3c; font-weight: 600; }
.bacheckout-line-lead i { margin-right: 4px; }
/* Item option meta (measurements, bundle note) indents under the line text. */
body.woocommerce-checkout .bacheckout-summary .cart_item .product-name dl.variation {
  margin: 5px 0 0 57px !important; font-size: 12px !important;
}

/* Reassurance under the pay button. */
.bacheckout-reassure {
  margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid #ece7e0;
  display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; color: #6b6257;
}
.bacheckout-reassure span { display: inline-flex; align-items: center; gap: 9px; }
.bacheckout-reassure i { color: #2f7d4f; width: 15px; text-align: center; }
.bacheckout-reassure a { color: #b01733; font-weight: 700; text-decoration: none; }
.bacheckout-reassure a:hover { text-decoration: underline; }

/* Mobile-only "N items" toggle that collapses the item list (desktop always
   shows everything). Totals (tfoot) and payment stay visible when collapsed. */
.bacheckout-items-toggle { display: none; }

@media (max-width: 900px) {
  .bacheckout { grid-template-columns: 1fr; row-gap: 0; column-gap: 0; }
  .bacheckout-main { padding-top: 20px; }
  .bacheckout-aside { position: static; margin-top: 26px; }
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last { grid-column: 1 / -1; }

  .bacheckout-items-toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    background: #fff; border: 1px solid #ece7e0; border-radius: 8px; padding: 12px 14px; margin: 0 0 4px;
    font-size: 13.5px; font-weight: 700; color: #1c1611; cursor: pointer; font-family: inherit;
  }
  .bacheckout-items-toggle-caret { color: #8a8178; transition: transform 0.2s; }
  .bacheckout-summary.is-open .bacheckout-items-toggle-caret { transform: rotate(180deg); }
  /* Collapsed: hide the product header + item rows, keep the totals (tfoot). */
  .bacheckout-summary:not(.is-open) #order_review table.shop_table thead,
  .bacheckout-summary:not(.is-open) #order_review table.shop_table tbody { display: none; }
}

@media (max-width: 560px) {
  /* Declutter the compact header: the trust strip below already says "Secure
     checkout", so keep just the logo + phone here. */
  .checkout-header-secure { display: none; }
  .checkout-header-phone { font-size: 13px; white-space: nowrap; }
  .checkout-header-logo img { height: 32px; }
}

/* Continue shopping */
.bacart-continue {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  font-size: 14px; font-weight: 600; color: #6c6256; text-decoration: none;
}
.bacart-continue:hover { color: #b01733; }
.bacart-continue i { font-size: 12px; }

/* Sticky order summary */
.bacart-aside { position: sticky; top: 96px; }
.bacart-summary .cart_totals {
  border: 1px solid #ece4d9; border-radius: 14px; padding: 22px; background: #fff;
}
.bacart-summary .cart_totals h2 {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #8a8178;
  margin: 0 0 16px; font-weight: 700;
}
.bacart-summary .cart_totals table { width: 100%; margin: 0 0 16px; border: 0; }
.bacart-summary .cart_totals table th,
.bacart-summary .cart_totals table td {
  border: 0; padding: 7px 0; font-size: 14px; text-align: left; background: none;
}
.bacart-summary .cart_totals table td { text-align: right; color: #1c1611; font-weight: 600; }
.bacart-summary .cart_totals table th { color: #6c6256; font-weight: 500; }
.bacart-summary .cart_totals .order-total th,
.bacart-summary .cart_totals .order-total td {
  border-top: 1px solid #ece4d9; padding-top: 14px; font-size: 17px; font-weight: 800; color: #1c1611;
}
.bacart-summary .shipping-note { font-size: 12.5px; color: #8a8178; }
.bacart-summary .wc-proceed-to-checkout { margin-top: 4px; }
.bacart-summary .wc-proceed-to-checkout a.checkout-button {
  display: block; width: 100%; text-align: center; box-sizing: border-box;
  background: #b01733; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: 0.02em;
  padding: 15px; border-radius: 10px; text-decoration: none; text-transform: uppercase;
}
.bacart-summary .wc-proceed-to-checkout a.checkout-button:hover { background: #8f0f24; }

.bacart-trust { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.bacart-trust li { font-size: 13px; color: #6c6256; display: flex; align-items: center; gap: 9px; }
.bacart-trust li i { color: #2f7d4f; width: 15px; text-align: center; }

/* Empty cart */
.cart-empty.woocommerce-info { text-align: center; font-size: 16px; color: #6c6256; }

@media (max-width: 900px) {
  .bacart { grid-template-columns: 1fr; gap: 26px; }
  .bacart-aside { position: static; }
}
@media (max-width: 560px) {
  .bacart-item { grid-template-columns: 72px 1fr; }
  .bacart-item-thumb img { width: 72px; height: 72px; }
  .bacart-item-price { grid-column: 2; text-align: left; margin-top: 4px; }
  .bacart-item-linetotal { font-size: 15px; }
}

/* ============================================================
   DEFAULT PAGE TEMPLATE
   ============================================================ */
.brickanew-page {
  padding: 32px 0 64px;
  background: #fff;
}
.brickanew-page-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid #e8e8e8;
}
.brickanew-page-title {
  font-family: 'Manrope', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #111;
  margin: 0;
  line-height: 1.2;
}
.brickanew-page-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  color: #333;
  line-height: 1.7;
}
.brickanew-page-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111;
  margin: 32px 0 14px;
  line-height: 1.3;
}
.brickanew-page-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 24px 0 12px;
}
.brickanew-page-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 20px 0 10px;
}
.brickanew-page-content p {
  margin: 0 0 16px;
}
.brickanew-page-content ul,
.brickanew-page-content ol {
  margin: 16px 0 16px 20px;
  padding: 0;
}
.brickanew-page-content li {
  margin-bottom: 8px;
}
.brickanew-page-content a {
  color: #b01733;
  text-decoration: underline;
}
.brickanew-page-content a:hover {
  color: #8f0f24;
}
.brickanew-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
}
.brickanew-page-content blockquote {
  border-left: 4px solid #b01733;
  padding: 12px 24px;
  background: #fafafa;
  margin: 20px 0;
  font-style: italic;
  color: #555;
  border-radius: 8px;
}
.brickanew-page-content strong { color: #111; }
.brickanew-page-content hr {
  border: none;
  border-top: 1.5px solid #e8e8e8;
  margin: 32px 0;
}
.brickanew-page-content iframe,
.brickanew-page-content video {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .brickanew-page { padding: 16px 0 40px; }
  .brickanew-page-title { font-size: 26px; }
  .brickanew-page-content { font-size: 15px; }
  .brickanew-page-content h2 { font-size: 22px; }
  .brickanew-page-content h3 { font-size: 18px; }
}

/* Paint-kit section: the hero renders are much wider than the 4:3 image box;
   bias the crop toward the fireplace (right of centre in those renders). */
.paintkit-image img { object-position: 68% center; }

/* Paint-kit crossfade: scheme images stacked in the box, opacity-toggled. */
.paintkit-image { position: relative; }
.paintkit-image .paintkit-img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.paintkit-image .paintkit-img.is-active { opacity: 1; }

/* ---- Why buy from Brick-Anew? (trust strip, new-style redesign) ---- */
.whybuy-section { padding: 80px 0; background: #fff; }
.whybuy-section .container { display: flex; flex-direction: column; align-items: center; }
.whybuy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 40px;
}
.whybuy-card {
  background: #faf8f5;
  border: 1px solid #eee7de;
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whybuy-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(28,22,17,0.08); }
.whybuy-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: rgba(176,23,51,0.08);
  color: #b01733;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}
.whybuy-card-title { font-size: 16.5px; font-weight: 800; color: #1c1611; line-height: 1.3; margin: 0 0 8px; }
.whybuy-card-desc { font-size: 14.5px; line-height: 1.55; color: #6b5f54; margin: 0; }

@media (max-width: 992px) { .whybuy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .whybuy-section { padding: 56px 0; }
  .whybuy-grid { grid-template-columns: 1fr; gap: 14px; }
  .whybuy-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; text-align: left; padding: 20px; }
  .whybuy-icon { grid-row: 1 / span 2; margin: 0; }
  .whybuy-card-title { align-self: end; }
}

/* ---- Shop by category CONCEPT V2 (mock; see categories-v2.php) ---- */
.catsv2-section { padding: 80px 0; background: #f7f3ee; }
.catsv2-mocktag {
  width: fit-content; margin: 0 auto 34px; padding: 6px 14px;
  border: 1px dashed #c4b6a6; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a7d70;
}
.catsv2-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.catsv2-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: #b01733; margin-bottom: 12px;
}
.catsv2-title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; color: #1c1611; line-height: 1.15; margin: 0 0 12px; }
.catsv2-sub { font-size: 16.5px; color: #6b5f54; line-height: 1.55; margin: 0; }

.catsv2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.catsv2-card {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
  text-decoration: none; background: #1c1611;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.catsv2-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(28,22,17,0.18); }
.catsv2-card .catsv2-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center;
  opacity: 0; transition: opacity 0.5s ease, transform 0.4s ease;
}
.catsv2-card .catsv2-img.is-active { opacity: 1; }
.catsv2-card:hover .catsv2-img.is-active { transform: scale(1.03); }
.catsv2-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 7px; padding: 24px;
  background: linear-gradient(180deg, rgba(18,13,10,0) 38%, rgba(18,13,10,0.42) 62%, rgba(18,13,10,0.88) 100%);
}
.catsv2-label { font-size: 24px; font-weight: 800; color: #fff; line-height: 1.15; }
.catsv2-tagline { font-size: 13.5px; color: rgba(255,255,255,0.82); line-height: 1.45; }
.catsv2-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-size: 14px; font-weight: 700; color: #fff; text-decoration: none;
}
.catsv2-cta i { transition: transform 0.15s ease; font-size: 12px; }
.catsv2-card:hover .catsv2-cta i, .catsv2-cta:hover i { transform: translateX(3px); }

.catsv2-chips { display: flex; gap: 8px; margin-top: 2px; }
.catsv2-chip {
  display: flex; flex-direction: column; width: 26px; height: 32px; padding: 0;
  border-radius: 5px; overflow: hidden; border: 2px solid rgba(255,255,255,0.45);
  cursor: pointer; background: none; transition: border-color 0.15s ease, transform 0.15s ease;
}
.catsv2-chip i { flex: 1; display: block; }
.catsv2-chip:hover { border-color: #fff; transform: translateY(-1px); }
.catsv2-chip.is-active { border-color: #fff; box-shadow: 0 0 0 2px rgba(176,23,51,0.75); }

.catsv2-helper { text-align: center; font-size: 14.5px; color: #6b5f54; margin: 26px 0 0; }
.catsv2-helper a { color: #b01733; font-weight: 700; text-decoration: none; }
.catsv2-helper a:hover { text-decoration: underline; }
.catsv2-helper a i { font-size: 12px; }

.catsv2-acc {
  display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 14px 22px 14px 14px;
  background: #fff; border: 1px solid #eee7de; border-radius: 14px; text-decoration: none;
  transition: box-shadow 0.15s ease;
}
.catsv2-acc:hover { box-shadow: 0 8px 20px rgba(28,22,17,0.08); }
.catsv2-acc img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.catsv2-acc-text { display: flex; flex-direction: column; gap: 2px; }
.catsv2-acc-text strong { font-size: 16px; font-weight: 800; color: #1c1611; }
.catsv2-acc-text span { font-size: 13.5px; color: #6b5f54; }
.catsv2-acc-cta { margin-left: auto; font-size: 14px; font-weight: 700; color: #b01733; white-space: nowrap; }
.catsv2-acc-cta i { font-size: 12px; }

@media (max-width: 992px) {
  .catsv2-grid { grid-template-columns: 1fr; gap: 14px; }
  .catsv2-card { aspect-ratio: 16 / 10; }
  .catsv2-acc { flex-wrap: wrap; }
}

/* Concept V2 helper row: second, quieter link to the full doors category. */
.catsv2-helper-sep { margin: 0 12px; color: #c4b6a6; }
.catsv2-helper-quiet { font-weight: 600 !important; color: #6b5f54 !important; }
.catsv2-helper-quiet:hover { color: #b01733 !important; }
@media (max-width: 560px) {
  .catsv2-helper { display: flex; flex-direction: column; gap: 8px; align-items: center; }
  .catsv2-helper-sep { display: none; }
}

/* Categories v2 accessories strip, mobile: thumb spans two rows, title+sub
   beside it, Browse all tucked under the text (the flex row was wrapping
   the link to a stray right-aligned line). */
@media (max-width: 560px) {
  .catsv2-acc { display: grid; grid-template-columns: 56px 1fr; align-items: center; column-gap: 14px; row-gap: 4px; padding: 14px; }
  .catsv2-acc img { width: 56px; height: 56px; grid-row: 1 / span 2; }
  .catsv2-acc-cta { grid-column: 2; margin-left: 0; justify-self: start; }
}

/* Crossfade follow-up: with the images absolutely stacked, the box has no
   intrinsic width, so in the stacked mobile layout (centered column flex)
   it collapsed to 0x0 and the photos "didn't load". Explicit width fixes
   it; the aspect-ratio then supplies the height as before. */
.paintkit-image { width: 100%; }

/* ---- Featured products restyle (2026-07-10): calmer cards, live data ----
   Scoped to .featured-section: .product-card is shared with category grids. */
.featured-section .products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.featured-section .product-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: #fff; border: 1px solid #eee7de; border-radius: 14px; padding: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.featured-section .product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(28,22,17,0.10); border-top-color: #eee7de; }
.featured-section .product-img-wrap { background: #faf8f5; }
.featured-section .product-name { font-size: 16.5px; font-weight: 800; color: #1c1611; line-height: 1.3; }
.product-rating-line { display: flex; align-items: center; gap: 6px; }
.product-rating-stars i { color: #f5a623; font-size: 12px; }
.product-rating-stars .far { color: #ddd3c7; }
.product-rating-count { font-size: 12.5px; color: #8a7d70; }
.product-price-line { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 10px; }
.product-price-line s { font-size: 14px; color: #b3a698; text-decoration: line-through; }
.product-price-line b { font-size: 21px; font-weight: 800; color: #1c1611; letter-spacing: -0.3px; }
.product-view-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 14px; font-weight: 700; color: #b01733; }
.product-view-link i { font-size: 11px; transition: transform 0.15s ease; }
.featured-section .product-card:hover .product-view-link i { transform: translateX(3px); }

@media (max-width: 992px) { .featured-section .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .featured-section .products-grid { grid-template-columns: 1fr; gap: 14px; } }

/* display:grid above beats the [hidden] UA default; restore it. */
.featured-section .products-grid[hidden] { display: none; }

/* ---- Homepage guides section ("Not sure where to start?") ---- */
.hguides-section { padding: 80px 0; background: #fff; }
.hguides-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.hguides-sub { font-size: 16px; color: #6b5f54; margin: 10px 0 0; }
.hguides-all { font-size: 14.5px; font-weight: 700; color: #b01733; text-decoration: none; white-space: nowrap; }
.hguides-all:hover { text-decoration: underline; }
.hguides-all i { font-size: 12px; }
.hguides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hguides-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid #eee7de; border-radius: 14px; overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hguides-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(28,22,17,0.10); }
.hguides-img { aspect-ratio: 16 / 9; overflow: hidden; background: #faf8f5; }
.hguides-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transition: transform 0.35s ease; }
.hguides-card:hover .hguides-img img { transform: scale(1.04); }
.hguides-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.hguides-q { font-size: 18.5px; font-weight: 800; color: #1c1611; line-height: 1.3; margin: 0; }
.hguides-promise { font-size: 14.5px; line-height: 1.55; color: #6b5f54; margin: 0; }
.hguides-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.hguides-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: #8a7d70;
  background: #faf8f5; border: 1px solid #eee7de; border-radius: 999px; padding: 5px 11px;
}
.hguides-go { font-size: 13.5px; font-weight: 700; color: #b01733; }
.hguides-go i { font-size: 11px; transition: transform 0.15s ease; }
.hguides-card:hover .hguides-go i { transform: translateX(3px); }

@media (max-width: 992px) { .hguides-grid { grid-template-columns: 1fr; gap: 14px; } .hguides-header { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* Guides section: curated inspiration strip (replaces the homepage blog block). */
.hguides-ideas { margin-top: 28px; border-top: 1px solid #eee7de; padding-top: 22px; }
.hguides-ideas-label {
  display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: #8a7d70; margin-bottom: 14px;
}
.hguides-ideas-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hguides-idea {
  display: flex; align-items: center; gap: 12px;
  background: #faf8f5; border: 1px solid #eee7de; border-radius: 12px; padding: 10px 14px 10px 10px;
  text-decoration: none; transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.hguides-idea:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(28,22,17,0.08); }
.hguides-idea img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.hguides-idea span { font-size: 13.5px; font-weight: 700; color: #1c1611; line-height: 1.35; }
.hguides-idea i { margin-left: auto; font-size: 11px; color: #b01733; flex: 0 0 auto; transition: transform 0.15s ease; }
.hguides-idea:hover i { transform: translateX(3px); }

@media (max-width: 992px) { .hguides-ideas-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hguides-ideas-row { grid-template-columns: 1fr; } }

/* ---- Paint landing page (template-paint-landing.php) ---- */
.pl-intro { padding: 72px 0; background: #fff; }
.pl-intro-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.pl-lead { font-size: 19px; line-height: 1.65; color: #241c17; margin: 0 0 22px; }
.pl-lead a { color: #b01733; font-weight: 700; }
.pl-order-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.pl-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 30px rgba(28,22,17,0.14); }
.pl-video iframe { width: 100%; height: 100%; display: block; }
.pl-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pl-benefits .whybuy-card { text-align: left; }
.pl-benefits .whybuy-icon { margin: 0 0 14px; }
.pl-benefits .whybuy-card-desc a { color: #b01733; font-weight: 700; }

.pl-colors { padding: 72px 0; background: #faf8f5; text-align: center; }
.pl-colors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; text-align: left; }
.pl-color-card { background: #fff; border: 1px solid #eee7de; border-radius: 14px; overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.pl-color-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(28,22,17,0.10); }
.pl-color-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pl-color-body { padding: 18px 20px 22px; }
.pl-color-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pl-color-head h3 { font-size: 19px; font-weight: 800; color: #1c1611; margin: 0; }
.pl-color-body p { font-size: 14.5px; line-height: 1.6; color: #6b5f54; margin: 0; }
.pl-center-link { text-align: center; margin: 30px 0 0; }
.pl-center-link a { color: #b01733; font-weight: 700; font-size: 15px; text-decoration: none; }
.pl-center-link a:hover { text-decoration: underline; }

.pl-kit { padding: 72px 0; background: #fff; }
.pl-kit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pl-h2 { font-size: 24px; font-weight: 800; color: #1c1611; margin: 0 0 18px; }
.pl-h2-center { text-align: center; }
.pl-included { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pl-included li { display: flex; align-items: center; gap: 14px; background: #faf8f5; border: 1px solid #eee7de; border-radius: 12px; padding: 14px 16px; }
.pl-included img { width: 40px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.pl-included span { font-size: 15px; color: #4a3f36; line-height: 1.5; }
.pl-kit-note { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8a7d70; margin: 0 0 14px; }
.pl-tiers { display: flex; flex-direction: column; gap: 10px; }
.pl-tier { display: grid; grid-template-columns: 110px 110px 1fr; align-items: center; gap: 12px; background: #faf8f5; border: 1px solid #eee7de; border-radius: 12px; padding: 13px 16px; }
.pl-tier b { font-size: 17px; color: #b01733; }
.pl-tier span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #8a7d70; }
.pl-tier em { font-style: normal; font-size: 14.5px; color: #4a3f36; }

.pl-quotes { padding: 72px 0; background: #faf8f5; }
.pl-quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.pl-quote { background: #fff; border: 1px solid #eee7de; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.pl-quote img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.pl-quote p { font-size: 15px; line-height: 1.6; color: #4a3f36; margin: 0 0 14px; }
.pl-quote b { font-size: 14.5px; color: #1c1611; margin-top: auto; }
.pl-quote span { font-size: 13px; color: #8a7d70; }

.pl-stone { padding: 72px 0; background: #fff; }
.pl-stone-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 44px; align-items: center; }
.pl-stone p { font-size: 16px; line-height: 1.65; color: #4a3f36; }
.pl-stone p a { color: #b01733; font-weight: 700; }
.pl-stone-ctas { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.pl-ghost-btn { display: inline-flex; align-items: center; padding: 13px 26px; border-radius: 8px; border: 1px solid #d8cdc0; color: #1c1611; font-weight: 700; font-size: 14.5px; text-decoration: none; transition: border-color 0.15s ease; }
.pl-ghost-btn:hover { border-color: #b01733; color: #b01733; }
.pl-stone-img img { width: 100%; border-radius: 14px; box-shadow: 0 12px 30px rgba(28,22,17,0.14); display: block; }

.pl-featured { padding: 56px 0; background: #faf8f5; text-align: center; }
.pl-featured-caption { font-size: 14px; color: #8a7d70; margin: 6px 0 22px; }
.pl-featured-logos { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.pl-featured-logos img { width: 130px; height: 130px; object-fit: cover; border-radius: 12px; }

.pl-bottom { padding: 72px 0 84px; background: #fff; text-align: center; }
.pl-bottom-copy { max-width: 760px; margin: 0 auto 16px; font-size: 16.5px; line-height: 1.65; color: #4a3f36; }
.pl-bottom-copy a { color: #b01733; font-weight: 700; }
.pl-bottom-cta { margin-top: 26px; }
.pl-faq-line { margin: 16px 0 0; font-size: 14.5px; color: #6b5f54; }
.pl-faq-line a { color: #b01733; font-weight: 700; }

@media (max-width: 900px) {
  .pl-intro-grid, .pl-kit-cols, .pl-stone-grid { grid-template-columns: 1fr; gap: 28px; }
  .pl-benefits, .pl-colors-grid, .pl-quotes-grid { grid-template-columns: 1fr; gap: 14px; }
  .pl-tier { grid-template-columns: 90px 1fr; }
  .pl-tier em { grid-column: 1 / -1; }
}

/* Paint landing v2 (Richard's notes): own hero, more air, episode band. */
.pl-hero { background: linear-gradient(180deg, #faf8f5 0%, #efe9e2 100%); padding: 84px 0 76px; }
.pl-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.pl-hero-title { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; color: #1c1611; line-height: 1.08; margin: 14px 0 12px; }
.pl-hero-title em { font-style: normal; box-shadow: inset 0 -0.16em 0 rgba(224, 74, 99, 0.55); }
.pl-hero-sub { font-size: 19px; color: #4a3f36; margin: 0 0 26px; }
.pl-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.pl-hero-chips { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.pl-hero-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #4a3f36; }
.pl-hero-trust { font-size: 14px; color: #6b5f54; text-decoration: none; }
.pl-hero-trust:hover span:last-child { text-decoration: underline; }
.pl-hero-trust span:last-child { color: #8a7d70; }
.pl-hero-visual { position: relative; text-align: center; }
.pl-hero-visual img { max-width: 100%; width: 420px; filter: drop-shadow(0 24px 34px rgba(28,22,17,0.22)); }
.pl-hero-badge {
  position: absolute; top: 6px; right: 10%;
  background: #b01733; color: #fff; font-weight: 800; font-size: 15px;
  padding: 10px 16px; border-radius: 999px; transform: rotate(6deg);
}

/* More air between sections (they read clumped at 72px) */
.pl-intro, .pl-colors, .pl-kit, .pl-quotes, .pl-stone, .pl-bottom { padding-top: 96px; padding-bottom: 96px; }
.pl-intro-grid { margin-bottom: 64px; }
.pl-colors-grid, .pl-quotes-grid { margin-top: 48px; }
.pl-kit-cols { gap: 64px; }
.pl-center-link { margin-top: 40px; }

/* "As featured on": dark episode band with stills, not a fake logo strip */
.pl-featured { background: #1c1611; padding: 88px 0; text-align: center; }
.pl-featured-kicker {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 10px;
}
.pl-featured-title { font-size: 30px; font-weight: 800; color: #fff; margin: 0 0 6px; }
.pl-featured .pl-featured-caption { color: rgba(255,255,255,0.65); margin: 0 0 34px; font-size: 15px; }
.pl-featured-stills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.pl-featured-stills figure { margin: 0; border-radius: 12px; overflow: hidden; }
.pl-featured-stills img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform 0.3s ease; }
.pl-featured-stills figure:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .pl-hero { padding: 56px 0; }
  .pl-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .pl-hero-visual img { width: 300px; }
  .pl-hero-badge { right: 4%; }
  .pl-intro, .pl-colors, .pl-kit, .pl-quotes, .pl-stone, .pl-bottom { padding-top: 64px; padding-bottom: 64px; }
  .pl-featured { padding: 64px 0; }
  .pl-featured-stills { grid-template-columns: repeat(2, 1fr); }
}

/* Paint landing hero: natural-width CTAs (cfg-btn-next stretches full width). */
.pl-hero-ctas .pl-order-btn, .pl-intro .pl-order-btn, .pl-stone .pl-order-btn, .pl-bottom .pl-order-btn { width: auto; padding: 13px 30px; font-size: 15px; }

/* cfg-btn-next has flex:1; stop it stretching inside the landing's flex rows. */
.pl-order-btn { flex: 0 0 auto; }

/* ---- Breadcrumb bar (GLOBAL, 2026-07-14). Was duplicated across faq/
   resource-center/buying-guide/product CSS with drift, leaving templates
   that loaded none of them (color-guide, static-page, guide-article) with
   unstyled crumbs. Single canonical copy; the FAQ variant is the standard. */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 12px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
}
.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: #b01733; }
.breadcrumb .fas, .breadcrumb i { font-size: 10px; color: #ccc; }
.breadcrumb span { color: #333; font-weight: 500; }

/* Search results: date stamp on blog-post result cards. */
.src-date { font-size: 12.5px; color: #8a7d70; }

/* ---- Resource Directory template (rd-) ---- */
.rd-body { padding: 56px 0 88px; background: #fff; }
.rd-body .container { max-width: 1000px; }
.rd-group { margin-bottom: 52px; }
.rd-group-title { font-size: 21px; font-weight: 800; color: #1c1611; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid #b01733; display: inline-block; }
.rd-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rd-link {
  display: flex; align-items: center; gap: 12px;
  background: #faf8f5; border: 1px solid #eee7de; border-radius: 10px;
  padding: 12px 16px; text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.rd-link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(28,22,17,0.08); }
.rd-link > i:first-child { color: #b01733; font-size: 13px; flex: 0 0 auto; }
.rd-link span { font-size: 14.5px; font-weight: 600; color: #1c1611; line-height: 1.4; }
.rd-link-arrow { margin-left: auto; font-size: 11px; color: #b01733; flex: 0 0 auto; transition: transform 0.12s ease; }
.rd-link:hover .rd-link-arrow { transform: translateX(3px); }
.rd-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.rd-video { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #1c1611; }
.rd-video iframe { width: 100%; height: 100%; display: block; }
@media (max-width: 700px) { .rd-links, .rd-videos { grid-template-columns: 1fr; } }

/* ---- E-book Guide template (eb-) ---- */
.eb-hero { background: linear-gradient(180deg, #1c1611 0%, #2b211a 100%); padding: 72px 0 64px; text-align: center; }
.eb-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(176,23,51,0.22); color: #f6b9c4; border: 1px solid rgba(176,23,51,0.5);
  border-radius: 999px; padding: 6px 16px; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}
.eb-title { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; color: #fff; line-height: 1.1; margin: 0 0 14px; }
.eb-tagline { font-size: 18px; color: rgba(255,255,255,0.78); margin: 0 0 16px; }
.eb-meta { font-size: 13.5px; color: rgba(255,255,255,0.5); margin: 0; }

.eb-lead { background: #faf8f5; padding: 56px 0; border-bottom: 1px solid #eee7de; }
.eb-lead .container { max-width: 760px; }
.eb-lead-heading { font-size: 24px; font-weight: 800; color: #1c1611; margin: 0 0 16px; }
.eb-lead p { font-size: 16.5px; line-height: 1.7; color: #4a3f36; margin: 0 0 14px; }

.eb-layout { background: #fff; padding: 56px 0 88px; }
.eb-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }

.eb-toc-inner { background: #faf8f5; border: 1px solid #eee7de; border-radius: 14px; padding: 20px; }
.eb-toc-title { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #8a7d70; margin-bottom: 14px; }
.eb-toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.eb-toc-list a {
  display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 8px;
  font-size: 13.5px; line-height: 1.4; color: #4a3f36; text-decoration: none; transition: background 0.12s, color 0.12s;
}
.eb-toc-list a span { font-weight: 800; color: #b01733; flex: 0 0 auto; }
.eb-toc-list a:hover { background: #fff; color: #b01733; }

.eb-chapter { scroll-margin-top: 90px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid #f0e9e0; }
.eb-chapter:last-child { border-bottom: none; margin-bottom: 0; }
.eb-chapter-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.eb-chapter-num {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: 50%; background: #b01733; color: #fff; font-size: 18px; font-weight: 800;
}
.eb-chapter-label { font-size: 26px; font-weight: 800; color: #1c1611; line-height: 1.2; }

/* Normalised legacy body */
.eb-chapter-body { font-size: 16px; line-height: 1.75; color: #4a3f36; }
.eb-chapter-body p { margin: 0 0 18px; }
.eb-chapter-body h3 { font-size: 19px; font-weight: 800; color: #1c1611; line-height: 1.35; margin: 30px 0 12px; }
.eb-chapter-body h3:first-child { margin-top: 0; }
.eb-chapter-body a { color: #b01733; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.eb-chapter-body a:hover { color: #8a1229; }
.eb-chapter-body strong { color: #1c1611; }
.eb-chapter-body img { max-width: 100%; height: auto; border-radius: 10px; }
.eb-chapter-body .eb-figure { margin: 20px 0; }
.eb-chapter-body ul, .eb-chapter-body ol { margin: 0 0 18px; padding-left: 22px; }
.eb-chapter-body li { margin-bottom: 7px; }
.eb-chapter-body iframe { max-width: 100%; border-radius: 10px; }
.eb-chapter-body .btn {
  display: inline-flex; align-items: center; background: #b01733; color: #fff !important;
  padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 700;
  text-decoration: none !important; margin: 6px 0 18px; transition: background 0.15s;
}
.eb-chapter-body .btn:hover { background: #8a1229; }
.eb-chapter-body #contentsbox { display: none; }

/* Legacy comparison table (also used on the buying-guide template) */
.eb-chapter-body .halves { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 20px; }
.eb-chapter-body .halves table { border-collapse: collapse; min-width: 900px; width: 100%; }
.eb-chapter-body .halves table td { border: 1px solid #e8dfd4; padding: 10px 12px; font-size: 13px; line-height: 1.45; vertical-align: top; background: #fff; }
.eb-chapter-body .halves table tr:first-child td { background: #b01733 !important; color: #fff !important; font-size: 15px; font-weight: 800; }
.eb-chapter-body .halves table tr:nth-child(2) td { font-weight: 700; color: #1c1611; }
.eb-chapter-body .halves table img { border-radius: 4px; }

@media (max-width: 900px) {
  .eb-grid { grid-template-columns: 1fr; gap: 28px; }
  .eb-toc-inner { position: static; }
  .eb-chapter-label { font-size: 21px; }
  .eb-chapter-num { width: 34px; height: 34px; font-size: 15px; }
}

/* E-book: Elementor icon-lists (<ul id="wd-…"> with an empty icon span). */
.eb-chapter-body ul[id^="wd-"] { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 8px; }
.eb-chapter-body ul[id^="wd-"] li { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.eb-chapter-body ul[id^="wd-"] li span:first-child { flex: 0 0 auto; width: 16px; }
.eb-chapter-body ul[id^="wd-"] li span:first-child::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; color: #b01733; }
.eb-chapter-body ul[id^="wd-"] li span:last-child { font-size: 15px; line-height: 1.5; }

/* E-book contents: stick the grid ITEM (the aside collapses to content height
   under align-items:start, leaving the inner box nowhere to travel). */
.eb-toc { position: sticky; top: 90px; align-self: start; }

/* ---- Prefab door comparison chart (shortcode, replaces the old JPEG) ---- */
.dcmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0 24px; border-radius: 10px; border: 1px solid #e8dfd4; }
.dcmp { border-collapse: collapse; width: 100%; min-width: 940px; table-layout: fixed; }
.dcmp td { border-right: 1px solid #eee7de; border-bottom: 1px solid #eee7de; padding: 10px 12px; vertical-align: top; font-size: 12.5px; line-height: 1.45; color: #4a3f36; background: #fff; }
.dcmp tr td:last-child { border-right: none; }
.dcmp tr:last-child td { border-bottom: none; }
.dcmp-price-row td { background: #b01733; border-right-color: rgba(255,255,255,0.25); border-bottom: none; padding: 12px; }
.dcmp-from { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); }
.dcmp-price { font-size: 20px; font-weight: 800; color: #fff; line-height: 1.2; }
.dcmp-name-row td { padding-top: 12px; padding-bottom: 12px; }
.dcmp-name-row a { text-decoration: none; }
.dcmp-name-row td, .dcmp-name-row a { font-size: 17px; font-weight: 700; color: #1c1611; line-height: 1.25; }
.dcmp-name-row a:hover { color: #b01733; }
.dcmp-name-row strong { font-weight: 800; }
.dcmp-name-row span { color: #9c9188; }
.dcmp-material-row td { font-size: 14px; font-weight: 600; color: #1c1611; }
.dcmp-material-row span { display: block; font-weight: 400; color: #6b5f54; }
.dcmp-img-row td { padding: 0; }
.dcmp-img-row img { width: 100%; height: 118px; object-fit: cover; display: block; }
.dcmp-warranty-row td { position: relative; background: #faf8f5; font-size: 12px; padding-top: 26px; }
.dcmp-warranty-label {
  position: absolute; top: 0; left: 0; background: #b01733; color: #fff;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px;
}

/* Safety net for the above: if anything ever leaves a lazy image without a
   ratio again, don't let WordPress's sizes="auto" placeholder
   (contain-intrinsic-size: 3000px 1500px) become the rendered height. */
img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: none; }

/* ---- Why Buy page (template-why-buy.php) ---- */
.wb-hero { background: linear-gradient(180deg, #faf8f5 0%, #efe9e2 100%); padding: 72px 0 64px; }
.wb-hero .container { max-width: 900px; }
.wb-hero-title { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; color: #1c1611; line-height: 1.1; margin: 14px 0 14px; }
.wb-hero-title em { font-style: normal; box-shadow: inset 0 -0.16em 0 rgba(224, 74, 99, 0.5); }
.wb-hero-sub { font-size: 18.5px; color: #4a3f36; margin: 0 0 26px; }
.wb-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* Self-contained: this page doesn't load configurator-test.css, so wb-btn
   cannot rely on .cfg-btn-next (that was why the masonry "Shop Now" rendered
   as dark text with no background). */
.wb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px; border: 1px solid transparent;
  background: #b01733; color: #fff; font-family: 'Manrope', sans-serif;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.wb-btn:hover { background: #8f122a; color: #fff; }
.wb-btn--ghost { background: #fff; color: #1c1611; border-color: #d8cdc0; }
.wb-btn--ghost:hover { background: #fff; color: #b01733; border-color: #b01733; }
/* On the dark masonry band, the ghost/solid pair inverts. */
.wb-btn--onDark { background: #fff; color: #1c1611; }
.wb-btn--onDark:hover { background: #f1e9e1; color: #1c1611; }

.wb-reasons { padding: 80px 0; background: #fff; }
.wb-reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.wb-reason { display: flex; gap: 18px; background: #faf8f5; border: 1px solid #eee7de; border-radius: 14px; padding: 24px; }
.wb-reason-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px; background: rgba(176,23,51,0.08); color: #b01733; display: flex; align-items: center; justify-content: center; font-size: 21px; }
.wb-reason-body h3 { font-size: 17px; font-weight: 800; color: #1c1611; line-height: 1.35; margin: 4px 0 6px; }
.wb-reason-body p { font-size: 14.5px; line-height: 1.6; color: #6b5f54; margin: 0; }

.wb-masonry { padding: 0 0 80px; background: #fff; }
.wb-masonry-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: #1c1611; border-radius: 16px; padding: 40px 44px; }
.wb-masonry-kicker { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.wb-masonry-inner h2 { font-size: 23px; font-weight: 800; color: #fff; line-height: 1.3; margin: 0; max-width: 640px; }
.wb-masonry-inner .wb-btn { white-space: nowrap; }

.wb-fit { padding: 80px 0 88px; background: #faf8f5; text-align: center; }
.wb-fit .container { max-width: 820px; }
.wb-fit-body { margin-top: 32px; text-align: left; }
.wb-fit-body p { font-size: 16.5px; line-height: 1.7; color: #4a3f36; margin: 0 0 18px; }
.wb-fit-cta { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .wb-reasons-grid { grid-template-columns: 1fr; }
  .wb-masonry-inner { flex-direction: column; align-items: flex-start; padding: 28px; }
}

/* ================= Order received / thank-you (theme rebuild 2026-08-23) ================= */
.bathankyou { max-width: 760px; margin: 0 auto; padding: 8px 16px 44px; font-family: 'Manrope', sans-serif; color: #1c1712; }
.bathankyou-hero { text-align: center; padding: 8px 0 26px; }
.bathankyou-check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #eaf5ee; color: #2f7d54; display: flex; align-items: center; justify-content: center; font-size: 27px; }
.bathankyou-check--fail { background: #fbeaec; color: #b01733; }
.bathankyou-hero h1 { font-size: 26px; font-weight: 800; margin: 0 0 8px; line-height: 1.25; }
.bathankyou-sub { color: #6b6257; font-size: 15px; margin: 0; }
.bathankyou-overview { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e8e3dd; border: 1px solid #e8e3dd; border-radius: 12px; overflow: hidden; margin: 0 0 20px; padding: 0; }
.bathankyou-overview li { background: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; margin: 0; }
.bathankyou-overview span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8b8378; font-weight: 700; }
.bathankyou-overview strong { font-size: 15px; font-weight: 700; word-break: break-word; }
.bathankyou-next { display: flex; gap: 14px; align-items: flex-start; background: #faf6f0; border: 1px solid #efe6da; border-radius: 12px; padding: 16px 18px; margin: 0 0 28px; }
.bathankyou-next-icon { color: #b01733; font-size: 20px; margin-top: 2px; flex: 0 0 auto; }
.bathankyou-next strong { display: block; font-size: 15px; margin-bottom: 4px; }
.bathankyou-next p { margin: 0; font-size: 14px; line-height: 1.55; color: #6b6257; }
.bathankyou-next a { color: #b01733; font-weight: 700; }
.bathankyou .woocommerce-order-details, .bathankyou .woocommerce-customer-details { margin-bottom: 26px; }
.bathankyou .woocommerce-order-details__title, .bathankyou .woocommerce-column__title { font-size: 17px; font-weight: 800; margin: 0 0 14px; }
.bathankyou table.order_details, .bathankyou table.woocommerce-table--order-details { width: 100%; border-collapse: collapse; border: 1px solid #e8e3dd; border-radius: 12px; overflow: hidden; }
.bathankyou table.order_details th, .bathankyou table.order_details td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #efe9e2; font-size: 14px; vertical-align: top; }
.bathankyou table.order_details thead th { background: #faf8f6; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8b8378; font-weight: 700; }
.bathankyou table.order_details td.product-total, .bathankyou table.order_details th.product-total, .bathankyou table.order_details tfoot td { text-align: right; white-space: nowrap; }
.bathankyou table.order_details tfoot th { background: #faf8f6; font-weight: 700; text-align: left; }
.bathankyou table.order_details tfoot tr:last-child th, .bathankyou table.order_details tfoot tr:last-child td { font-size: 16px; color: #1c1712; }
.bathankyou-item { display: flex; gap: 14px; align-items: flex-start; }
.bathankyou-item-img img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid #e8e3dd; display: block; }
.bathankyou-item-name a { color: #1c1712; font-weight: 700; text-decoration: none; }
.bathankyou-item-name a:hover { color: #b01733; }
.bathankyou .wc-item-meta { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12.5px; color: #6b6257; }
.bathankyou .wc-item-meta li { margin: 3px 0; }
.bathankyou .wc-item-meta li p { display: inline; margin: 0; }
.bathankyou .wc-item-meta strong { font-weight: 700; color: #4a443c; }
.bathankyou .woocommerce-customer-details .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; }
.bathankyou .woocommerce-customer-details .col-1, .bathankyou .woocommerce-customer-details .col-2 { width: 100%; float: none; padding: 0; }
.bathankyou address { font-style: normal; font-size: 14px; line-height: 1.6; color: #4a443c; background: #faf8f6; border: 1px solid #efe9e2; border-radius: 10px; padding: 14px 16px; }
.bathankyou-trust { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; padding: 22px 0 0; margin: 4px 0 0; border-top: 1px solid #efe9e2; font-size: 13px; color: #6b6257; font-weight: 600; }
.bathankyou-trust li { margin: 0; }
.bathankyou-trust i { color: #2f7d54; margin-right: 6px; }
.bathankyou-btn { display: inline-block; background: #b01733; color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; margin-right: 12px; }
.bathankyou-btn:hover { background: #8f1229; color: #fff; }
.bathankyou-actions { margin-top: 18px; }
.bathankyou-link { color: #6b6257; font-weight: 600; }
@media (max-width: 640px) {
  .bathankyou-overview { grid-template-columns: 1fr 1fr; }
  .bathankyou .woocommerce-customer-details .col2-set { grid-template-columns: 1fr; }
  .bathankyou-hero h1 { font-size: 22px; }
}

/* ===== Out of stock: product banner + card badges (2026-08-24) ===== */
.bn-oos-banner { border: 1px solid #e4ddd2; border-left: 4px solid #b01733; background: #fbf7f3; border-radius: 12px; padding: 16px 18px; margin: 0 0 20px; }
.bn-oos-flag { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: #b01733; }
.bn-oos-flag i { font-size: 15px; }
.bn-oos-text { margin: 8px 0 14px; color: #4a4238; font-size: 14.5px; line-height: 1.5; }
.bn-oos-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bn-oos-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; background: #b01733; color: #fff; border: 1.5px solid #b01733; }
.bn-oos-btn--ghost { background: #fff; color: #b01733; }
.bn-oos-btn:hover { opacity: .92; }
.bn-oos-alt-lead { margin: 2px 0 12px; color: #1c1611; font-size: 14.5px; font-weight: 700; }

/* When the whole product is out of stock, hide the configurator buy area
   (WooCommerce already blocks purchase; this stops the dead-end journey). */
.product-hero.is-oos #brickanewCfg,
.product-hero.is-oos .cfg-price-block { display: none !important; }

/* Card badges (category, homepage featured, related) */
.cat-oos-badge, .oos-badge, .related-oos-badge { position: absolute; top: 10px; left: 10px; z-index: 3; background: #3d3730; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.related-card { position: relative; }
.cat-product-card.is-oos .cat-card-img-wrap img,
.related-card.is-oos img { opacity: .72; }
