/* Backup-store additions on top of the Dawn theme: WhatsApp ordering and static review widget. */
.vib-wa-float { position: fixed; right: 2rem; bottom: 2rem; z-index: 90; width: 5.6rem; height: 5.6rem; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.25); transition: transform var(--duration-short, 100ms) ease; }
.vib-wa-float:hover { transform: scale(1.06); }
.vib-wa-float svg { width: 3.2rem; height: 3.2rem; }
body.overflow-hidden .vib-wa-float, body.template-cart .vib-wa-float { display: none; }

.product-form__buttons .vib-wa-button { margin-top: 1rem; background: #25d366; color: #fff; gap: 0.8rem; text-decoration: none; }
.product-form__buttons .vib-wa-button:after, .product-form__buttons .vib-wa-button:before { box-shadow: none; }
.product-form__buttons .vib-wa-button:hover { background: #1ebe5b; }
.product-form__buttons .vib-wa-button .svg-wrapper { width: 2rem; height: 2rem; display: inline-flex; }
.vib-wa-button.vib-disabled { opacity: 0.5; pointer-events: none; }
.shopify-payment-button__button[disabled] { opacity: 0.6; cursor: not-allowed; }

.slideshow__slide { position: relative; }
.vib-slide-link { position: absolute; inset: 0; z-index: 2; }

.vib-image-section img { display: block; width: 100%; height: auto; }

/* cart: delivery details + WhatsApp checkout */
.vib-cart-details { display: flex; flex-direction: column; gap: 1.2rem; }
.vib-cart-details__title { margin: 0; }
.vib-cart-details__help { margin: 0; color: rgba(var(--color-foreground), 0.75); }
.vib-cart-details .field { margin: 0; }
.vib-cart-details .text-area { min-height: 9rem; resize: vertical; }
.vib-field-error { box-shadow: 0 0 0 0.2rem rgb(var(--color-error, 203 43 43)) !important; }
.vib-cart-error { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; color: rgb(203, 43, 43); font-size: 1.4rem; justify-content: flex-end; }
.vib-cart-error[hidden] { display: none; }
.vib-cart-error .svg-wrapper { width: 1.6rem; height: 1.6rem; }
.cart__ctas .vib-wa-checkout { background: #25d366; color: #fff; }
.cart__ctas .vib-wa-checkout:hover { background: #1ebe5b; }
.cart__ctas .vib-wa-checkout.loading { opacity: 0.7; pointer-events: none; }
@media screen and (min-width: 750px) { .cart__footer { align-items: flex-start; } .vib-cart-details { max-width: 40rem; } }

/* search sort row */
.vib-search-sort { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.5rem; }
.vib-search-sort .product-count { margin: 0; }

/* Judge.me widgets copied as static HTML (the app's script is not loaded on the backup) */
.jdgm-write-rev-link, .jdgm-rev-widg__sort-wrapper, .jdgm-paginate, .jdgm-rev-widg__paginate-spinner-wrapper, .jdgm-rev__votes, .jdgm-histogram__clear-filter { display: none !important; }
.jdgm-rev-widg__summary-text, .jdgm-all-reviews-text__text { font-size: 1.4rem; }
.vib-reviews-text { text-align: center; padding: 2rem 0; }
.vib-reviews-text .jdgm-star { color: #108474; }
.vib-reviews-text .jdgm-star.jdgm--on:before { content: '★'; }
.vib-reviews-text .jdgm-star.jdgm--off:before { content: '☆'; }
.vib-reviews-text .jdgm-star.jdgm--half:before { content: '★'; opacity: 0.6; }

/* keep the header search icon on phones (as on the live theme version) */
@media screen and (max-width: 989px) { .header .header__icons > .header__search { display: inline-flex !important; } }

/* Judge.me verified badge (shown by the app's script on the live store) */
.shopify-app-block .jdgm-widget.jdgm-verified-badge.jdgm-verified-badge--style-branded { display: flex; }
.jdgm-verified-count-badget, .jdgm-widget.jdgm-verified-badge { color: #108474; }
.jdgm-widget.jdgm-verified-badge .jdgm-verified-badge__image svg circle { stroke: #108474; }
.jdgm-widget.jdgm-verified-badge .jdgm-verified-badge__image svg path { fill: #108474; }
/* product reviews: the app's server-rendered (legacy) widget is shown, as the app's script is not loaded here */
.jdgm-review-widget .jdgm-legacy-widget-content { display: block !important; }
.jdgm-legacy-widget-content { font-size: 1.4rem; }
.jdgm-legacy-widget-content .jdgm-star { color: var(--jdgm-primary-color, #108474); }
.jdgm-legacy-widget-content .jdgm-rev-widg__header { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; padding: 0 0 2rem; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.jdgm-legacy-widget-content .jdgm-rev-widg__title { grid-column: 1 / -1; text-align: center; font-size: 2.4rem; margin: 0 0 2rem; }
.jdgm-legacy-widget-content .jdgm-rev-widg__summary { text-align: center; border-right: 1px solid rgba(0, 0, 0, 0.1); padding: 0 2rem; }
.jdgm-legacy-widget-content .jdgm-rev-widg__summary-stars { display: inline-flex; align-items: center; gap: 0.6rem; }
.jdgm-legacy-widget-content .jdgm-rev-widg__summary-average { font-size: 1.6rem; }
.jdgm-legacy-widget-content .jdgm-histogram { padding: 0 2.4rem; display: block; }
.jdgm-legacy-widget-content .jdgm-histogram__row { display: flex; align-items: center; gap: 1.2rem; font-size: 1.2rem; line-height: 2.4rem; }
.jdgm-legacy-widget-content .jdgm-histogram__bar { flex: 0 0 14rem; height: 1.2rem; background: rgba(0, 0, 0, 0.08); }
.jdgm-legacy-widget-content .jdgm-histogram__bar-content { height: 100%; background: var(--jdgm-primary-color, #108474); }
.jdgm-legacy-widget-content .jdgm-histogram__percentage { display: none; }
.jdgm-legacy-widget-content .jdgm-histogram__frequency { color: rgba(0, 0, 0, 0.6); }
.jdgm-legacy-widget-content .jdgm-rev { position: relative; padding: 2.4rem 0; border-top: 1px solid rgba(0, 0, 0, 0.1); margin: 0; }
.jdgm-legacy-widget-content .jdgm-rev:first-child { border-top: 0; }
.jdgm-legacy-widget-content .jdgm-rev__icon { display: none; }
.jdgm-legacy-widget-content .jdgm-rev__header { display: block; }
.jdgm-legacy-widget-content .jdgm-rev__rating { display: block; margin-bottom: 0.8rem; }
.jdgm-legacy-widget-content .jdgm-rev__timestamp { position: absolute; right: 0; top: 2.4rem; font-size: 1.2rem; color: rgba(0, 0, 0, 0.6); }
.jdgm-legacy-widget-content .jdgm-rev__author { color: var(--jdgm-primary-color, #108474); font-weight: 400; }
.jdgm-legacy-widget-content .jdgm-rev__author-wrapper::before { content: ''; display: inline-block; width: 2.2rem; height: 2.2rem; margin-right: 0.8rem; vertical-align: middle; background: rgba(0, 0, 0, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23108474' stroke-width='1.6'%3E%3Ccircle cx='12' cy='9' r='4'/%3E%3Cpath d='M4 21c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E") center / 70% no-repeat; }
.jdgm-legacy-widget-content .jdgm-rev[data-verified-buyer="true"] .jdgm-rev__author::after { content: 'Verified'; margin-left: 0.6rem; padding: 0 0.4rem; font-size: 1rem; line-height: 1.6rem; color: #fff; background: var(--jdgm-primary-color, #108474); display: inline-block; vertical-align: middle; }
.jdgm-legacy-widget-content .jdgm-rev__title { display: block; margin: 1.6rem 0 0.6rem; font-weight: 700; }
.jdgm-legacy-widget-content .jdgm-rev__body p { margin: 0; }
@media screen and (max-width: 749px) {
  .jdgm-legacy-widget-content .jdgm-rev-widg__header { grid-template-columns: 1fr; }
  .jdgm-legacy-widget-content .jdgm-rev-widg__summary { border-right: 0; margin-bottom: 1.6rem; }
  .jdgm-legacy-widget-content .jdgm-histogram { margin: 0 auto; }
}
.jdgm-legacy-widget-content, .jdgm-legacy-widget-content * { visibility: visible !important; }
.jdgm-legacy-widget-content .jdgm-rev-widg { border: 0 !important; padding: 0 !important; }
.jdgm-legacy-widget-content .jdgm-rev-widg__summary-text { display: block; margin-top: 0.4rem; }

/* contact page (the live store uses a form app; here the message goes to WhatsApp) */
.vib-contact { display: flex; justify-content: center; padding: 2rem 1.5rem 6rem; }
.vib-contact__form { width: 100%; max-width: 59rem; }
.vib-contact__title { text-align: center; font-size: 1.8rem; margin: 0 0 1rem; }
.vib-contact__sub { text-align: center; margin: 0 0 2.4rem; font-size: 1.5rem; color: rgba(var(--color-foreground), 0.75); }
.vib-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.vib-contact__field { display: flex; flex-direction: column; background: #eee; border: 1px solid #ddd; border-radius: 0.4rem; padding: 0.8rem 1.2rem; }
.vib-contact__field--full { grid-column: 1 / -1; }
.vib-contact__field span { font-size: 1.2rem; color: #333; }
.vib-contact__field em { color: #d0021b; font-style: normal; }
.vib-contact__field input, .vib-contact__field textarea { border: 0; background: transparent; font: inherit; font-size: 1.5rem; padding: 0.4rem 0; outline: none; resize: vertical; }
.vib-contact__field.vib-field-error { border-color: #d0021b; }
.vib-contact__error { color: #d0021b; margin: 1rem 0 0; font-size: 1.4rem; }
.vib-contact__submit { display: block; width: 100%; margin-top: 2rem; padding: 1.2rem; border: 0; border-radius: 0.4rem; background: #2f5249; color: #fff; font: inherit; font-size: 1.5rem; cursor: pointer; }
.vib-contact__submit:hover { background: #25433b; }
@media screen and (max-width: 749px) { .vib-contact__grid { grid-template-columns: 1fr; } }

/* homepage collection cards: same picture box for every card, picture fitted inside (no cropping) so the row lines up */
.vib-even-cards .card__media .media img { object-fit: contain; }

/* "Buy it now" sized and styled like the live store's dynamic checkout button (same as Add to cart) */
.product-form__buttons .shopify-payment-button { width: 100%; }
.product-form__buttons .shopify-payment-button__button { width: 100%; min-height: calc(4.5rem + var(--buttons-border-width, 1px) * 2); border-radius: var(--buttons-radius-outset, 4.1rem); font-size: 1.5rem; font-weight: 500; letter-spacing: 0.1rem; border: 0; box-shadow: none; }
.product-form__buttons .shopify-payment-button__button:hover:not([disabled]) { text-decoration: none; }
.product-form__buttons .vib-wa-button { min-height: calc(4.5rem + var(--buttons-border-width, 1px) * 2); margin-top: 1rem; }
