/* Front page refresh (Oct 2026) — feature strip, order process, inline quote,
   review carousel, collapsible SEO copy, chat pill. Brand: #ea5b46 accent, #000 buttons, Jost. */

/* ---------- Hero slider ---------- */
/* Desktop: exactly the live site's height (theme: 60vh = 648px at 1920x1080, 540px at 1440x900). The 2.67:1 wide
   Christmas banners (2400x900) cover it: 16:9 screens trim ~4.7% top+bottom (plain margin), 16:10 trim the
   AI-extended sides. Tablets: exact 2.67:1 fit. Phones: the original 1.86:1 banners + a 40px dots strip. */
.ec-main-slider { --hero-h: 60vh; }
@media (max-width: 991px) { .ec-main-slider { --hero-h: 37.5vw; } }
@media (max-width: 767px) { .ec-main-slider { --hero-h: calc(53.8vw + 40px); } }
.ec-main-slider .ec-slide-item.hero-slide { height: var(--hero-h); overflow: hidden; }

/* Image banners (text baked in) */
.hero-banner { background: #2a2a2a; }
.hero-banner::before { /* only visible in the phone dots strip */
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--hero-img) center / cover no-repeat;
  filter: blur(26px) brightness(.92);
}
.hero-banner-link { position: relative; z-index: 1; display: flex; width: 100%; height: 100%; }
.hero-banner-link picture { display: contents; }
.hero-banner-link img { width: 100%; height: 100%; object-fit: cover; }
.hero-banner-link:focus-visible { outline: 3px solid #ea5b46; outline-offset: -3px; }
@media (max-width: 767px) {
  .hero-banner-link { padding-bottom: 40px; }
  .hero-banner-link img { object-fit: contain; }
}

/* Slide 1: HTML banner. #f5f5f5 = the product photos' own background, so they blend seamlessly */
.hero-provider { background: #f5f5f5; }
.hero-provider-inner {
  display: flex;
  align-items: center;
  gap: 3vw;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-provider-copy { flex: 0 1 52%; }
.hero-provider-title {
  margin: 0 0 18px;
  font-family: "Jost", sans-serif;
  font-size: clamp(24px, min(3.4vw, 5.6vh), 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: #1f3b4d;
}
.hero-provider-sub { margin: 0 0 22px; font-size: clamp(15px, 1.3vw, 20px); line-height: 1.5; color: #4a5a66; }
.hero-provider-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero-provider-pills a {
  padding: 8px 16px;
  border-radius: 6px;
  background: #1f3b4d;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: background .2s;
}
.hero-provider-pills a:hover { background: #ea5b46; color: #fff; }
.hero-provider-cta {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  background: #ea5b46;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(234, 91, 70, .28);
  transition: background .2s, transform .2s;
}
.hero-provider-cta:hover { background: #d4482f; color: #fff; transform: translateY(-1px); }
.hero-provider-trust { margin-top: 30px; }
.hero-provider-trust span { display: block; margin-bottom: 10px; font-size: 15px; color: #4a5a66; }
.hero-provider-trust img { width: min(460px, 100%); height: auto; }
.hero-provider-pills a:focus-visible,
.hero-provider-cta:focus-visible { outline: 3px solid #ea5b46; outline-offset: 3px; }

/* product cluster: 2x2, right column dropped for a staggered look */
.hero-provider-art {
  flex: 1 1 48%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5vw;
  max-width: min(600px, calc(var(--hero-h) * .82)); /* 2 rows + stagger stay inside the slide */
}
.hero-provider-art a { display: block; transition: transform .25s; }
.hero-provider-art a:hover { transform: translateY(-4px); }
.hero-provider-art img { display: block; width: 100%; height: auto; mix-blend-mode: darken; } /* hides the photo edges: compression shifts their #f5f5f5 background by a shade */
.hero-art-2, .hero-art-4 { margin-top: 12%; margin-bottom: -12%; }

@media (max-width: 991px) {
  .hero-provider-trust, .hero-provider-sub { display: none; }
  .hero-provider-title { margin-bottom: 12px; }
  .hero-provider-pills { margin-bottom: 16px; }
  .hero-provider-pills a { padding: 6px 12px; font-size: 13px; }
  .hero-provider-cta { padding: 11px 22px; font-size: 14px; }
}
@media (max-width: 767px) {
  .hero-provider-inner { height: 100%; padding: 0 18px 40px; } /* keep clear of the dots strip */
  .hero-provider-art, .hero-provider-sub { display: none; }
  .hero-provider-copy { flex-basis: 100%; }
  .hero-provider-title { font-size: clamp(20px, 5.6vw, 30px); margin-bottom: 12px; }
  .hero-provider-pills { gap: 6px; margin-bottom: 14px; }
  .hero-provider-pills a { padding: 5px 9px; font-size: 12px; }
  .hero-provider-cta { padding: 9px 18px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-provider-art a, .hero-provider-cta { transition: none; }
}

/* ---------- Feature strip ---------- */
.fp-features { padding-bottom: 20px; }
.fp-features-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.fp-features-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.fp-features-list i {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1.5px solid #444;
  border-radius: 50%;
  font-size: 28px;
  color: #444;
  transition: border-color .2s, color .2s;
}
.fp-features-list li:hover i { border-color: #ea5b46; color: #ea5b46; }
.fp-features-list span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  color: #000;
}

/* ---------- Homepage product carousel (phones/tablets) ---------- */
/* names were one line with ellipsis ("CBD Bath Bomb…"); allow up to three lines, reserve two so cards align */
#collection .product-carousel .ec-pro-title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  line-height: 1.3;
  min-height: 2.6em;
}

/* ---------- Order process + inline quote ---------- */
.fp-order { background: #f8f9fa; }
.fp-heading { font-size: 30px; font-weight: 600; margin-bottom: 26px; color: #000; }
.fp-steps { list-style: none; margin: 0; padding: 0; counter-reset: fp-step; }
.fp-steps li {
  position: relative;
  padding: 0 0 22px 46px;
  counter-increment: fp-step;
}
.fp-steps li::before {
  content: counter(fp-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.fp-steps li::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 32px;
  bottom: 2px;
  width: 2px;
  background: #d5d5d5;
}
.fp-steps li:last-child::after { display: none; }
.fp-steps h3 { font-size: 18px; font-weight: 600; margin: 3px 0 4px; color: #000; }
.fp-steps p { margin: 0; color: #444; font-size: 15px; line-height: 1.55; }

.fp-quote {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}
.fp-quote-form { display: flex; flex-direction: column; gap: 14px; }
.fp-grid { display: grid; gap: 14px; }
.fp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.fp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.fp-grid-4 { grid-template-columns: repeat(3, 1fr) 110px; }
.fp-quote-form input,
.fp-quote-form select,
.fp-quote-form textarea {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 11px 13px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  color: #000;
}
.fp-quote-form textarea { height: auto; }
.fp-quote-form input:focus,
.fp-quote-form select:focus,
.fp-quote-form textarea:focus { outline: none; border-color: #ea5b46; box-shadow: 0 0 0 3px rgba(234, 91, 70, .15); }
.fp-quote-form button { align-self: flex-start; background: #000; border-color: #000; }
.fp-quote-form button:hover { background: #ea5b46; border-color: #ea5b46; }
/* style.css has a global `select { border: 0 !important }` — only a scoped !important beats it */
#get-quote select {
  border: 1px solid #d5d5d5 !important;
  border-radius: 6px;
  padding: 11px 32px 11px 13px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23444' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  appearance: none;
}
.fp-quote-form ::placeholder { color: #777; opacity: 1; }
.fp-quote-form button:disabled { opacity: .6; cursor: wait; }
.fp-quote-errors {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #fdecea;
  color: #b3261e;
  font-size: 14px;
}
.fp-quote-errors p { margin: 0; color: inherit; }

/* ---------- Reviews: single scrolling row ---------- */
/* Track holds the cards twice; sliding it by half (plus half a gap) loops seamlessly */
.fp-reviews {
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.fp-reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: fp-marquee 70s linear infinite;
}
.fp-reviews:hover .fp-reviews-track,
.fp-reviews:focus-within .fp-reviews-track { animation-play-state: paused; }
.fp-reviews .review-wrap { flex: 0 0 320px; margin: 0; }
@keyframes fp-marquee { to { transform: translateX(calc(-50% - 10px)); } }
@media (max-width: 767px) {
  .fp-reviews .review-wrap { flex-basis: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-reviews { overflow-x: auto; }
  .fp-reviews-track { animation: none; }
}
/* style.css un-clamps review text on phones (.review-wrap .review-text:not(.f-review-text) { display: block });
   in a marquee that stretches every card to the longest review, so keep the 4-line clamp everywhere */
.fp-reviews .review-wrap .review-text:not(.f-review-text) {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  max-height: 88px;
  overflow: hidden;
}

/* ---------- Review "Read More" popup ---------- */
/* style.css: 50% wide (≈195px on phones), z-index 1, heavy square close button, card-in-card border */
#modal-review { z-index: 2000000002; padding: 16px; overflow-y: auto; } /* above the chat pill and Tawk layer */
#modal-review .modal-content {
  width: min(640px, 100%);
  margin: 12vh auto 0;
  padding: 32px 28px 26px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
#modal-review .review-wrap { border: 0; box-shadow: none; padding: 0; }
#modal-review .user-info { padding-right: 44px; } /* room for the close button */
#modal-review .review-date { position: static; display: block; margin-top: 14px; text-align: right; }
#modal-review .close {
  top: -16px;
  right: -12px;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f1f1;
  color: #333;
  font-size: 24px;
  line-height: 1;
}
#modal-review .close:hover,
#modal-review .close:focus-visible { background: #ea5b46; color: #fff; }
#modal-review .close:focus-visible { outline: 3px solid rgba(234, 91, 70, .35); outline-offset: 2px; }

/* ---------- SEO copy: collapsed with Read more ---------- */
.fp-collapsible {
  position: relative;
  max-height: 340px;
  overflow: hidden;
}
.fp-collapsible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}
.fp-collapsible.is-open { max-height: none; }
.fp-collapsible.is-open::after { display: none; }
.fp-readmore {
  display: block;
  margin: 18px auto 0;
  padding: 10px 28px;
  border: 1.5px solid #000;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-weight: 600;
}
.fp-readmore:hover { background: #000; color: #fff; }

/* ---------- Chat pill (opens Tawk.to) ---------- */
.fp-chat-pill {
  position: fixed;
  right: 86px;  /* left of the reCAPTCHA badge (70px visible, must stay visible) and #scrollUp (right 15px, 40px wide) */
  bottom: 18px;
  z-index: 2000000001; /* above the Tawk iframe layer */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: #ffc107;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}
.fp-chat-pill:hover { background: #ffb300; }
.fp-chat-pill[data-unread]:not([data-unread=""])::after {
  content: attr(data-unread);
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ea5b46;
  color: #fff;
  font-size: 12px;
}

/* ---------- Focus + motion ---------- */
.fp-readmore:focus-visible,
.fp-chat-pill:focus-visible { outline: 3px solid #ea5b46; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .fp-features-list i { transition: none; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .fp-features-list { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 767px) {
  .fp-features-list { grid-template-columns: repeat(2, 1fr); }
  .fp-features-list i { width: 64px; height: 64px; font-size: 23px; }
  .fp-grid-2, .fp-grid-3 { grid-template-columns: 1fr; }
  .fp-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .fp-grid-4 select { grid-column: 1 / -1; }
  .fp-quote { padding: 22px 18px; }
  .fp-heading { font-size: 24px; }
  .fp-chat-pill { right: 80px; bottom: 16px; padding: 11px 18px; font-size: 15px; }
}
