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

/* ---------- 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; }
}
