/**
 * Single product. Inherits the tokens defined on .eqb in eqb.css.
 */

/* -------------------------------------------------------------------- Hero */

.eqb-pdp-hero {
	display: grid;
	grid-template-columns: 522px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	padding-block: 24px 56px;
}

.eqb-gallery__stage {
	position: relative;
	aspect-ratio: 522 / 520;
	background: var(--eqb-media);
	border-radius: 12px;
	overflow: hidden;
}
/* The design runs the photo edge to edge rather than floating it on a panel. */
.eqb-gallery__stage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Opt-out for tall product shots that would otherwise be cropped. */
.eqb-gallery--contain .eqb-gallery__stage img { object-fit: contain; padding: 24px; }
.eqb-gallery__empty { width: 100%; height: 100%; background: var(--eqb-media); }

/* Caption and lot tag sit over the photo, top left (Figma 22:8817 / 22:8820). */
.eqb-gallery__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 25px 42px 34px;
	/* Not in the design, but product shots here are often light: without a scrim
	   the white caption disappears on a pale photo. */
	background: linear-gradient(180deg, rgba(3, 59, 76, .55) 0%, rgba(3, 59, 76, .18) 55%, rgba(3, 59, 76, 0) 100%);
	pointer-events: none;
}
.eqb-gallery__caption {
	margin: 0;
	color: #fff;
	font-size: 18px;
	line-height: 30.6px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.eqb-gallery__caption:empty { display: none; }
.eqb-gallery__lot {
	display: inline-block;
	margin: 6px 0 0;
	padding: 4px 9px;
	background: var(--eqb-teal);
	border-radius: 2px;
	color: #fff;
	font-size: 10.2px;
	font-weight: 700;
	line-height: 17.3px;
}

.eqb-gallery__zoom {
	position: absolute;
	top: 17px;
	right: 17px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: rgba(255, 255, 255, .94);
	border: 0;
	border-radius: 23px;
	box-shadow: 0 4px 24px rgba(3, 59, 76, .1);
	color: var(--eqb-ink);
	transition: background-color .15s ease;
}
.eqb-gallery__zoom:hover { background: #fff; }

.eqb-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 13px 0 0;
	padding: 0;
	list-style: none;
}
.eqb-gallery__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	padding: 2px;
	background: var(--eqb-media);
	border: 2px solid var(--eqb-line);
	border-radius: 8px;
	cursor: pointer;
	overflow: hidden;
	transition: border-color .15s ease;
}
.eqb-gallery__thumb:hover { border-color: #c9c4ad; }
.eqb-gallery__thumb.is-active { border-color: var(--eqb-teal); }
.eqb-gallery__thumb img { width: 82.6%; height: 82.6%; object-fit: contain; }
.eqb-gallery__note { margin: 13px 0 0; color: var(--eqb-muted); font-size: 18px; line-height: 30.6px; }

/* Buy box */

.eqb-buybox__title { margin: 0 0 6px; color: var(--eqb-ink); font-size: 36px; font-weight: 700; line-height: 44px; }
.eqb-buybox__rating { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 18px; line-height: 31px; }
.eqb-buybox__avg { color: var(--eqb-ink); font-weight: 700; }
.eqb-buybox__reviews { color: var(--eqb-teal); font-weight: 700; text-decoration: underline; }

.eqb-specs {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	margin: 0 0 20px;
	padding-top: 11px;
	border-top: 1px solid var(--eqb-line);
}
.eqb-specs dt,
.eqb-specs dd {
	margin: 0;
	padding: 13px 0 14px;
	border-bottom: 1px solid var(--eqb-line);
	font-size: 18px;
	line-height: 27px;
}
.eqb-specs dt { color: var(--eqb-ink); font-weight: 700; padding-right: 12px; }
.eqb-specs dd { color: var(--eqb-muted); }
.eqb-specs dd a { color: var(--eqb-teal); font-weight: 700; text-decoration: underline; }

.eqb-buy__label { margin: 0 0 10px; color: var(--eqb-ink); font-size: 18px; font-weight: 700; line-height: 30.6px; }
/* Figma 22:8898 keeps "Size" bold ink and drops the hint to regular muted. */
.eqb-buy__label span { color: var(--eqb-muted); font-weight: 400; }
.eqb-packs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.eqb-pack {
	min-width: 96px;
	padding: 16px 22px;
	background: #fff;
	border: 2px solid var(--eqb-line);
	border-radius: 8px;
	color: var(--eqb-ink);
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
}
.eqb-pack[aria-pressed="true"] { background: var(--eqb-teal); border-color: var(--eqb-teal); color: #fff; }
.eqb-pack[disabled] { opacity: .4; cursor: not-allowed; }

/* WooCommerce's own add-to-cart form, restyled in place. */
.eqb-buy form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin: 0; padding-top: 14px; }
.eqb-buy form.cart .variations { display: none; }
.eqb-buy .woocommerce-variation-price { flex: 1 0 100%; margin: 0; color: var(--eqb-ink); font-size: 22px; font-weight: 700; }
.eqb-buy .woocommerce-variation-availability { flex: 1 0 100%; margin: 0; color: var(--eqb-muted); font-size: 17px; }
.eqb-buy .woocommerce-variation-description { flex: 1 0 100%; color: var(--eqb-muted); font-size: 17px; }
/*
 * Quantity stepper (Figma 22:8909): 172x60 outer, 2px #e3e0d2 border, radius 8,
 * 2px inner padding; 52x56 buttons either side of a 64x56 field with 2px
 * dividers. The theme injects its own .minus/.plus inputs, so both those and our
 * fallback .eqb-qty-btn are styled identically and the theme's own rules are
 * overridden inside the buy box only.
 */
.eqb-buy .quantity,
.eqb-buy form.cart .quantity {
	display: inline-flex !important;
	align-items: center;
	height: 60px;
	padding: 2px;
	background: #fff;
	border: 2px solid var(--eqb-line);
	border-radius: 8px;
	overflow: hidden;
	float: none;
}

.eqb-buy .quantity input.minus,
.eqb-buy .quantity input.plus,
.eqb-buy .quantity .minus,
.eqb-buy .quantity .plus,
.eqb-buy .eqb-qty-btn {
	flex: none;
	width: 52px;
	height: 56px;
	min-height: 56px;
	padding: 0;
	background: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--eqb-ink) !important;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-indent: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .12s ease;
}
.eqb-buy .quantity input.minus:hover,
.eqb-buy .quantity input.plus:hover,
.eqb-buy .eqb-qty-btn:hover { background: #f6f6f4 !important; }

.eqb-buy .quantity input.qty,
.eqb-buy .quantity input[type="number"],
.eqb-buy form.cart .quantity input.qty {
	flex: none;
	width: 64px !important;
	height: 56px;
	min-height: 56px;
	margin: 0;
	padding: 0 4px;
	background: #fff !important;
	border: 0 !important;
	border-left: 2px solid var(--eqb-line) !important;
	border-right: 2px solid var(--eqb-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--eqb-ink) !important;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 56px;
	text-align: center;
	-moz-appearance: textfield;
}
.eqb-buy .quantity input::-webkit-outer-spin-button,
.eqb-buy .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.eqb-buy button.single_add_to_cart_button,
.eqb-buy .single_add_to_cart_button {
	flex: 1 0 230px;
	min-height: 60px;
	padding: 17px 28px;
	background: var(--eqb-teal);
	border: 0;
	border-radius: 3px;
	color: #fff;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 18px;
	cursor: pointer;
}
.eqb-buy button.single_add_to_cart_button:hover { filter: brightness(.92); }

/*
 * The request-for-quote plugin hides .single_add_to_cart_button site-wide and
 * expects to swap in its own button, which it never renders (the same is true on
 * the production site). Without this the product page has no call to action at
 * all, so the real WooCommerce submit button — already labelled "Add To Quote"
 * by that plugin — is made visible again inside the buy box only.
 */
.eqb-buy .single_add_to_cart_button,
.eqb-buy button.single_add_to_cart_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	visibility: visible !important;
}
.eqb-buy .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }

/*
 * The theme and the quote plugin both style this button, so the buy-box rules
 * are made specific enough to win inside .eqb-buy only.
 */
.eqb-buy .addcart-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 14px;
	width: 100%;
}
/*
 * Bootstrap's clearfix draws ::before/::after with display:table. Inside a flex
 * container those become real flex items, so each one consumed a 14px gap and
 * pushed the quantity stepper in from the left (and padded the CTA on the
 * right). The float clearing they exist for is meaningless in flex layout.
 */
.eqb-buy form.cart::before,
.eqb-buy form.cart::after,
.eqb-buy .addcart-wrapper::before,
.eqb-buy .addcart-wrapper::after { display: none !important; }

/* The quote plugin's "Quantity:" caption is not part of the design. */
.eqb-buy .addcart-wrapper .qty-text { display: none; }
.eqb-buy form.cart .addcart-wrapper button.single_add_to_cart_button,
.eqb-buy form.cart button.single_add_to_cart_button,
.eqb-buy .single_add_to_cart_button.button.alt {
	flex: 1 1 230px;
	min-width: 230px;
	background-color: var(--eqb-teal) !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 3px !important;
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 700;
	line-height: 18px;
	text-transform: none;
	letter-spacing: 0;
}
.eqb-buy form.cart .addcart-wrapper button.single_add_to_cart_button:hover {
	background-color: #006b6b !important;
}
.eqb-buy .stock { flex: 1 0 100%; margin: 0; color: var(--eqb-muted); font-size: 17px; }
.eqb-buy .stock.out-of-stock { color: #b3261e; font-weight: 700; }

.eqb-quicklinks { display: flex; flex-wrap: wrap; gap: 22px; margin: 18px 0 0; }
.eqb-quicklinks a { display: inline-flex; align-items: center; gap: 7px; color: var(--eqb-teal); font-size: 18px; font-weight: 700; text-decoration: none; }
.eqb-quicklinks a:hover { text-decoration: underline; }

.eqb-trust {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 24px 0 0;
	padding: 36px 24px 22px;
	background: var(--eqb-cream);
	border-radius: 12px;
	list-style: none;
}
.eqb-trust li { display: flex; align-items: flex-start; gap: 12px; padding: 0; color: var(--eqb-ink); font-size: 18px; line-height: 27px; }
.eqb-trust li strong { font-weight: 700; }
.eqb-trust svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--eqb-teal); }

/* --------------------------------------------------------------- Details */

.eqb-details { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; padding-block: 20px 60px; }

.eqb-details__nav { position: sticky; top: 24px; background: #fff; border: 1px solid var(--eqb-line); border-radius: 12px; padding-block: 11px; }
.eqb-details__nav ul { margin: 0; padding: 0; list-style: none; }
.eqb-details__nav a {
	display: block;
	padding: 13px 22px 13px 26px;
	border-left: 4px solid transparent;
	color: var(--eqb-ink);
	font-size: 18px;
	line-height: 30.6px;
	text-decoration: none;
}
.eqb-details__nav a:hover { color: var(--eqb-teal); }
.eqb-details__nav a.is-active { background: var(--eqb-cream); border-left-color: var(--eqb-teal); color: var(--eqb-teal); font-weight: 700; }

.eqb-acc { margin-bottom: 18px; border-radius: 12px; overflow: hidden; }
.eqb-acc__heading { margin: 0; font-size: inherit; }
.eqb-acc__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 22px 26px;
	background: #143c4c;
	border: 0;
	color: #fff;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 34px;
	text-align: left;
	cursor: pointer;
}
.eqb-acc__chev { flex: none; transition: transform .18s ease; }
.eqb-acc__summary[aria-expanded="true"] .eqb-acc__chev { transform: rotate(180deg); }
.eqb-acc__panel { padding: 26px; background: #fff; border: 1px solid var(--eqb-line); border-top: 0; border-radius: 0 0 12px 12px; }
.eqb-acc__kicker { margin: 0 0 10px; color: var(--eqb-teal); font-size: 15px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; }

.eqb-prose { color: var(--eqb-muted); font-size: 18px; line-height: 29.7px; }
.eqb-prose p { margin: 0 0 14px; }
.eqb-prose h2, .eqb-prose h3, .eqb-prose h4 { margin: 22px 0 8px; color: var(--eqb-ink); font-weight: 700; }
.eqb-prose h2 { font-size: 22px; }
.eqb-prose h3 { font-size: 20px; }
.eqb-prose a { color: var(--eqb-teal); font-weight: 700; }
.eqb-prose img { max-width: 100%; height: auto; }
/*
 * Product descriptions are legacy editor content carrying inline font sizes and
 * colours from the old page builder. Normalise typography inside the panel so
 * the copy reads as one block; bold, italics and links are left alone.
 */
.eqb-prose [style*="font-size"],
.eqb-prose [style*="color"],
.eqb-prose [style*="font-family"] {
	font-size: inherit !important;
	font-family: inherit !important;
	color: inherit !important;
	line-height: inherit !important;
}
.eqb-prose [style*="text-align"] { text-align: left !important; }
.eqb-prose a { color: var(--eqb-teal) !important; }

.eqb-deflist { display: grid; grid-template-columns: 230px minmax(0, 1fr); margin: 18px 0 0; }
.eqb-deflist dt, .eqb-deflist dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--eqb-line); font-size: 18px; line-height: 27px; }
.eqb-deflist dt { color: var(--eqb-ink); font-weight: 700; padding-right: 14px; }
.eqb-deflist dd { color: var(--eqb-muted); }
.eqb-deflist dd a { color: var(--eqb-teal); font-weight: 700; }

.eqb-uses { margin: 0; padding: 0; list-style: none; }
.eqb-uses li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--eqb-line); color: var(--eqb-muted); font-size: 18px; line-height: 27px; }
.eqb-uses li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 6px; height: 6px; background: var(--eqb-teal); border-radius: 50%; }

.eqb-warning {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 18px 0 0;
	padding: 14px 16px;
	background: #fdf1f1;
	border-left: 4px solid #b3261e;
	border-radius: 4px;
	color: #7a1c17;
	font-size: 17px;
	line-height: 26px;
}
.eqb-warning svg { flex: none; margin-top: 4px; }

.eqb-docs { margin: 0; padding: 0; list-style: none; }
.eqb-docs li { border-bottom: 1px solid var(--eqb-line); }
.eqb-docs a { display: flex; align-items: center; gap: 10px; padding: 14px 0; color: var(--eqb-teal); font-size: 18px; font-weight: 700; text-decoration: none; }
.eqb-docs a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- Reviews */

.eqb-reviews { padding-block: 20px 60px; }
.eqb-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.eqb-eyebrow { margin: 0 0 4px; color: var(--eqb-muted); font-size: 15px; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase; }
.eqb-reviews__title { margin: 0; color: var(--eqb-ink); font-size: 34px; font-weight: 700; line-height: 39px; }

.eqb .eqb-btn--outline {
	background: transparent;
	border: 2px solid var(--eqb-teal);
	color: var(--eqb-teal);
	font-weight: 700;
	padding: 12px 26px;
	border-radius:30px;
}

#eqb-reviews .eqb-btn--outline{
	border-radius:0px !important;
}
.eqb .eqb-btn--outline:hover { background: var(--eqb-teal); color: #fff; filter: none; }

.eqb-rsummary { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; padding: 32px 34px; background: #fafafa; border-radius: 12px; }
.eqb-rsummary__score { display: flex; flex-direction: column; align-items: center; gap: 7.5px; width: 250px; text-align: center; }
.eqb-rsummary__avg { margin: 0; color: var(--eqb-ink); font-size: 56px; font-weight: 700; line-height: 56px; }
.eqb-rsummary__based { margin: 0; color: var(--eqb-muted); font-size: 18px; line-height: 30.6px; }
.eqb-rsummary__bars { flex: 1 1 380px; min-width: 0; padding-bottom: 18px; }
.eqb-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 9px; }
.eqb-bar__label { width: 66px; color: var(--eqb-ink); font-size: 18px; line-height: 30.6px; }
.eqb-bar__track { flex: 1; height: 12px; background: #e4e0cf; border-radius: 8px; overflow: hidden; }
.eqb-bar__fill { display: block; height: 100%; background: var(--eqb-teal); border-radius: 8px; }
.eqb-bar__count { width: 42px; color: var(--eqb-muted); font-size: 18px; line-height: 30.6px; text-align: right; }
.eqb-rsummary__reorder { margin: 16px 0 0; color: var(--eqb-ink); font-size: 18px; line-height: 30.6px; }
.eqb-rsummary__reorder strong { font-weight: 700; }

.eqb-reviews__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-bottom: 12px; }
.eqb-reviews__count { margin: 0; color: var(--eqb-muted); font-size: 18px; }

.eqb-review { display: flex; flex-wrap: wrap; gap: 32px; padding: 29px 0 28px; border-top: 1px solid var(--eqb-line); }
.eqb-review__who { width: 230px; }
.eqb-review__author { margin: 0; color: var(--eqb-ink); font-size: 18px; font-weight: 700; line-height: 30.6px; }
.eqb-review__meta { margin: 0; color: var(--eqb-muted); font-size: 18px; line-height: 30.6px; }
.eqb-review__verified { display: flex; align-items: center; gap: 7px; margin: 8px 0 0; color: var(--eqb-teal); font-size: 18px; font-weight: 700; line-height: 30.6px; }
.eqb-review__body { flex: 1 1 360px; min-width: 0; }
.eqb-review__top { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; }
.eqb-review__date { color: var(--eqb-muted); font-size: 18px; line-height: 30.6px; }
.eqb-review__title { margin: 0 0 4px; color: var(--eqb-ink); font-size: 20px; font-weight: 700; line-height: 21.6px; }
.eqb-review__text { color: var(--eqb-muted); font-size: 18px; line-height: 29.7px; }
.eqb-review__text p { margin: 0 0 8px; }
.eqb-review__tag { display: inline-block; margin: 6px 0 0; padding: 5px 15px; background: var(--eqb-cream); border-radius: 3px; color: var(--eqb-ink); font-size: 18px; line-height: 30.6px; }

.eqb-reviews__more { padding-top: 22px; text-align: center; }
.eqb-reviews__empty { margin: 0; padding: 30px 0; color: var(--eqb-muted); font-size: 18px; }
/* ----------------------------------------------------------- Review modal */

.eqb-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.eqb-modal[hidden] { display: none; }
.eqb-modal__overlay { position: absolute; inset: 0; background: rgba(3, 59, 76, .55); }
.eqb-modal__panel {
	position: relative;
	width: min(620px, 100%);
	max-height: calc(100vh - 40px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 70px rgba(3, 59, 76, .28);
	overflow: hidden;
}
.eqb-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 26px;
	background: #143c4c;
	color: #fff;
}
.eqb-modal__title { margin: 0; color: #fff; font-size: 20px; font-weight: 700; line-height: 34px; }
.eqb-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: rgba(255, 255, 255, .12);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
}
.eqb-modal__close:hover { background: rgba(255, 255, 255, .22); }
.eqb-modal__body { padding: 24px 26px 26px; overflow-y: auto; }
.eqb-modal__note { margin: 0; color: var(--eqb-muted); font-size: 18px; line-height: 29px; }
.eqb-modal__note a { color: var(--eqb-teal); font-weight: 700; }

.eqb-rform__row { margin-bottom: 16px; }
.eqb-rform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.eqb-rform__label { display: block; margin-bottom: 6px; color: var(--eqb-ink); font-size: 17px; font-weight: 700; }
.eqb-rform .eqb-optional { color: var(--eqb-muted); font-weight: 400; }
.eqb-rform .eqb-req { color: #b3261e; font-style: normal; }
.eqb-rform input[type="text"],
.eqb-rform input[type="email"],
.eqb-rform textarea {
	width: 100%;
	padding: 11px 14px;
	background: #fff;
	border: 2px solid var(--eqb-line);
	border-radius: 6px;
	color: var(--eqb-ink);
	font-family: inherit;
	font-size: 17px;
	line-height: 26px;
}
.eqb-rform textarea { resize: vertical; min-height: 120px; }
.eqb-rform input:focus, .eqb-rform textarea:focus { border-color: var(--eqb-teal); outline: none; }
.eqb-rform__check label { display: inline-flex; align-items: center; gap: 10px; color: var(--eqb-ink); font-size: 17px; cursor: pointer; }
.eqb-rform__check input { width: 20px; height: 20px; accent-color: var(--eqb-teal); }

.eqb-rate { display: inline-flex; align-items: center; gap: 6px; }
.eqb-rate__star {
	width: 34px;
	height: 34px;
	padding: 0;
	background: none;
	border: 0;
	color: #e4e0cf;
	cursor: pointer;
	transition: color .12s ease, transform .12s ease;
}
.eqb-rate__star svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.eqb-rate__star:hover { transform: scale(1.08); }
.eqb-rate.is-set .eqb-rate__star.is-on,
.eqb-rate .eqb-rate__star.is-hover { color: #f0a500; }

.eqb-rform__msg { margin: 0 0 14px; padding: 12px 14px; border-radius: 6px; font-size: 17px; line-height: 26px; }
.eqb-rform__msg[hidden] { display: none; }
.eqb-rform__msg.is-error { background: #fdf1f1; border-left: 4px solid #b3261e; color: #7a1c17; }
.eqb-rform__msg.is-ok { background: #eef7f4; border-left: 4px solid var(--eqb-teal); color: #0b4f4a; }

.eqb-rform__actions { display: flex; justify-content: flex-end; }
.eqb-rform__actions .eqb-btn[disabled] { opacity: .6; cursor: wait; }

body.eqb-modal-open { overflow: hidden; }

@media (max-width: 560px) {
	.eqb-modal { padding: 0; align-items: stretch; }
	.eqb-modal__panel { width: 100%; max-height: 100vh; border-radius: 0; }
	.eqb-rform__grid { grid-template-columns: minmax(0, 1fr); }
	.eqb-rate__star { width: 40px; height: 40px; }
}

/* --------------------------------------------------------------- Similar */

.eqb-similar { background: var(--eqb-cream, #f7f3e4); padding-block: 64px 72px; }
.eqb-similar__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.eqb-similar__title { margin: 0; color: #033b4c; font-size: 34px; font-weight: 700; line-height: 39px; }
.eqb-similar__sub { margin: 6px 0 0; color: #7d7d7d; font-size: 18px; line-height: 28px; }
.eqb-similar__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.eqb-scard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--eqb-line, #e3e0d2); border-radius: 12px; overflow: hidden; }
.eqb-scard__media { display: block; background: var(--eqb-media, #f6f6f4); }
.eqb-scard__media img { display: block; width: 86%; height: 210px; margin: 0 auto; padding-block: 14px; object-fit: contain; }
.eqb-scard__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 18px 20px 20px; }
.eqb-scard__cat { color: var(--eqb-teal, #008181); font-size: 17px; font-weight: 700; }
.eqb-scard__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 25px; }
.eqb-scard__title a { color: #033b4c; text-decoration: none; }
.eqb-scard__title a:hover { color: var(--eqb-teal, #008181); }
.eqb-scard__rating { display: flex; align-items: center; gap: 6px; margin: 0; color: #7d7d7d; font-size: 15px; }
.eqb-scard__price { margin: 0; color: #033b4c; font-size: 18px; font-weight: 700; }
.eqb-scard .eqb-btn { margin-top: auto; }

/* ------------------------------------------------------------ Responsive */

@media (max-width: 1100px) {
	.eqb-pdp-hero { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 36px; }
	.eqb-details { grid-template-columns: 230px minmax(0, 1fr); gap: 28px; }
	.eqb-similar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eqb-buybox__title { font-size: 30px; line-height: 38px; }
}

@media (max-width: 880px) {
	.eqb-pdp-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 16px 36px; }
	.eqb-specs { grid-template-columns: minmax(0, 1fr); }
	.eqb-specs dt { padding-bottom: 0; border-bottom: 0; }
	.eqb-specs dd { padding-top: 2px; }
	.eqb-deflist { grid-template-columns: minmax(0, 1fr); }
	.eqb-deflist dt { padding-bottom: 0; border-bottom: 0; }
	.eqb-deflist dd { padding-top: 2px; }

	.eqb-details { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.eqb-details__nav { display: none; }
	.eqb-acc__summary { padding: 18px 20px; font-size: 18px; }
	.eqb-acc__panel { padding: 20px; }

	.eqb-rsummary { gap: 24px; padding: 24px 20px; }
	.eqb-rsummary__score { width: 100%; }
	.eqb-review { gap: 14px; }
	.eqb-review__who { width: 100%; }
	.eqb-reviews__title, .eqb-similar__title { font-size: 26px; line-height: 32px; }
}

@media (max-width: 560px) {
	.eqb-buybox__title { font-size: 24px; line-height: 31px; }
	.eqb-gallery__thumb { width: 72px; height: 72px; }
	.eqb-gallery__overlay { padding: 16px 20px 26px; }
	.eqb-gallery__caption { font-size: 15px; line-height: 24px; }
	.eqb-gallery__zoom { top: 12px; right: 12px; width: 38px; height: 38px; }
	.eqb-gallery__note { font-size: 16px; line-height: 26px; }
	.eqb-similar__grid { grid-template-columns: minmax(0, 1fr); }
	.eqb-buy form.cart { gap: 10px; }
	.eqb-buy button.single_add_to_cart_button { flex: 1 0 100%; }
	.eqb-rsummary__avg { font-size: 44px; line-height: 46px; }
}

/* WooCommerce always prints .woocommerce-variation with a 15px bottom margin,
   even while it is empty, which added dead space above the quantity row. */
.eqb-buy .woocommerce-variation { margin-bottom: 0; }
.eqb-buy .woocommerce-variation-price:not(:empty) { margin-bottom: 12px; }
