/* Home page, Elementor Pro pass (build/pro/home.php): the "Customer Reviews" widget (inc/pro/home-reviews.php) and the
   "From Our Blog" section. The two product rows are Elementor Pro "Products" widgets carrying the old classes
   (bj-shelf, bj-shelf--best / --new), so site.css still draws their cards. */

/* ================================================================== the product rows (Products widgets) */
/* 1100-1279px (also the Elementor editor's canvas on a 1440 screen): five narrow cards, so a price range such as
   "$33.95 – $34.95" may break onto two lines instead of running under the round cart button (as on phones) */
@media (min-width: 1100px) and (max-width: 1279.98px) {
	.bj-shelf ul.products li.product > .price:not(:has(del)) { min-width: 0; white-space: normal; line-height: 1.3; }
}

/* ================================================================== What Our Customers Say */
.bj-reviews { --bj-rv-cols: 3; --bj-rv-gap: 24px; --bj-rv-star: var(--bj-gold); }
.bj-reviews__track { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--bj-rv-gap); }
.bj-review { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 16px; flex: 0 0 calc((100% - (var(--bj-rv-cols) - 1) * var(--bj-rv-gap)) / var(--bj-rv-cols)); min-width: 0; margin: 0; padding: 30px 30px 26px;
	background: #fff; border: 1px solid #efe7db; border-radius: var(--bj-radius); box-shadow: 0 12px 30px -24px rgba(26, 26, 26, .45); }
/* a quiet gold quotation mark in the corner */
.bj-review::before { content: "\201C"; position: absolute; top: 4px; right: 22px; z-index: -1; font-family: var(--bj-serif); font-size: 92px; line-height: 1; color: var(--bj-gold); opacity: .32; pointer-events: none; }
.bj-review__stars { display: flex; gap: 3px; }
.bj-review__star svg { display: block; width: 17px; height: 17px; fill: #e4dfd7; }
.bj-review__star.is-on svg { fill: var(--bj-rv-star); }
.bj-review blockquote.bj-review__text { flex: 1 1 auto; margin: 0 !important; padding: 0 !important; border: 0 !important; font-family: var(--bj-serif); font-size: 1.3rem; font-style: normal; font-weight: 500; line-height: 1.5; color: var(--bj-charcoal); quotes: none; }
.bj-review blockquote.bj-review__text::before, .bj-review blockquote.bj-review__text::after { content: none !important; display: none !important; }
.bj-review__text p { margin: 0; overflow-wrap: anywhere; }
.bj-review__by { display: flex; flex-direction: column; gap: 5px; padding-top: 16px; border-top: 1px solid var(--bj-line); font-style: normal; }
.bj-review__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.bj-review__name { font-family: var(--bj-sans); font-size: 15px; font-weight: 600; color: var(--bj-charcoal); }
.bj-review__verified { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--bj-gold-text); }
.bj-review__verified::before { content: ""; width: 14px; height: 14px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m8 12.4 2.7 2.6L16 9.6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m8 12.4 2.7 2.6L16 9.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.bj-review__meta { display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; line-height: 1.5; color: var(--bj-muted); }
.bj-review__piece, .bj-review__date { display: block; }
.bj-review__piece a { font-weight: 600; color: var(--bj-gold-text); text-decoration: none; transition: color .25s var(--bj-ease); }
.bj-review__piece a:hover { color: var(--bj-charcoal); text-decoration: underline; text-underline-offset: 3px; }

/* carousel: one row that swipes, with round arrows under it */
.bj-reviews--carousel .bj-reviews__track { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
	margin: -6px -4px -34px; padding: 6px 4px 34px; scroll-padding-inline: 4px; }
.bj-reviews--carousel .bj-reviews__track::-webkit-scrollbar { display: none; }
.bj-reviews--carousel .bj-review { scroll-snap-align: start; }
.bj-reviews__nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.bj-reviews.is-static .bj-reviews__nav { display: none; }
/* (the kit's Theme Style paints every <button> gold, with :focus too: the arrows keep their own round outline look) */
.bj-reviews .bj-reviews__nav .bj-reviews__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50% !important; color: var(--bj-charcoal) !important; background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--bj-charcoal); cursor: pointer; transition: background-color .25s var(--bj-ease), box-shadow .25s var(--bj-ease), opacity .25s; }
.bj-reviews__btn--prev svg { transform: scaleX(-1); }
.bj-reviews .bj-reviews__nav .bj-reviews__btn:hover:not(:disabled), .bj-reviews .bj-reviews__nav .bj-reviews__btn:focus-visible { background: var(--bj-gold) !important; box-shadow: none; }
.bj-reviews .bj-reviews__nav .bj-reviews__btn:disabled { opacity: .3; cursor: default; }

/* the editor's note while there is no review yet (never printed on the site) */
.bj-reviews-empty { padding: 22px 26px; border: 1px dashed var(--bj-gold); border-radius: var(--bj-radius); background: #fff; font-size: 15px; line-height: 1.6; text-align: center; color: var(--bj-muted); }
.bj-reviews-empty strong { color: var(--bj-charcoal); }

@media (max-width: 767px) {
	.bj-reviews { --bj-rv-gap: 16px; }
	.bj-review { gap: 14px; padding: 24px 22px 22px; }
	.bj-review::before { font-size: 78px; right: 16px; }
	.bj-review blockquote.bj-review__text { font-size: 1.2rem; }
}

/* ================================================================== From Our Blog */
/* between tablet and phone, three cards are too narrow: two, and the third waits on the blog page */
@media (min-width: 768px) and (max-width: 899.98px) {
	.bj-home-blog__grid .elementor-loop-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.bj-home-blog__grid .elementor-loop-container > div.e-loop-item:nth-of-type(n+3) { display: none; } /* (the grid starts with two <style> tags) */
}
