/**
 * Giltech Mizpah - Single Product Page Stylesheet
 *
 * Exact visual and structural reproduction of the premium single product design:
 * - Fraunces and Manrope typography
 * - Two-column responsive product hero (sticky gallery left, dynamic details right)
 * - Stage zoom, sale badge, 4-column interactive thumbnail strip
 * - Verified buyer ratings, star distributions, dynamic pricing
 * - High-converting lead enquiry card with two-tone header underline
 * - Tabbed navigation (Description, Specifications, Reviews)
 * - Animated FAQ accordion with plus-to-close rotation
 * - Related products card grid
 * - Mobile fixed bottom quotation bar
 *
 * @package GiltechMizpah
 * @version 1.8.0
 */

/* ==========================================================================
   1. Design Variables & Font Definitions
   ========================================================================== */

:root {
	--red: #E30613;
	--blue: #155FBA;
	--garnet: #090A0C;
	--blush: #f3f4f6;
	--ink: #17191D;
	--stone: #73777E;
	--line: #e3e5e9;
	--gold: #E30613;
}

/* Scoped Single Product Page Scope */
body.single-product {
	background: #f6f7f9;
	color: var(--ink);
	font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.65;
}

body.single-product main#giltech-primary,
body.single-product main#giltech-main-content .giltech-catalogue-page {
	padding: 0;
}

body.single-product main#giltech-primary > .giltech-container,
body.single-product main#giltech-main-content .giltech-catalogue-page > .giltech-container {
	max-width: 100%;
	padding: 0;
}

body.single-product main#giltech-primary .giltech-woocommerce-layout,
body.single-product main#giltech-main-content .giltech-woocommerce-layout {
	max-width: 100%;
	padding: 0;
}

/* ==========================================================================
   2. Main Container & Product Page Wrap
   ========================================================================== */

.wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

main.wrap {
	padding-bottom: 34px;
}

.giltech-single-wrap {
	padding-top: 24px;
	padding-bottom: 40px;
}

.crumb {
	display: none !important;
}

/* ==========================================================================
   3. Two-Column Product Hero Section
   ========================================================================== */

.product {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 40px;
	align-items: start;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 28px;
	box-shadow: 0 22px 46px -36px rgba(20, 22, 26, 0.35);
}

/* --- Left Column: Gallery --- */
.gallery {
	position: sticky;
	top: 90px;
}

.stage {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--line);
	aspect-ratio: 1;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
}

.stage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage:hover img {
	transform: scale(1.06);
}

.sale {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--red);
	color: #fff;
	font-weight: 550;
	font-size: 13px;
	padding: 5px 12px;
	border-radius: 99px;
	z-index: 2;
	box-shadow: 0 4px 10px rgba(227, 6, 19, 0.25);
}

.thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 10px;
}

.thumbs button {
	border: 2px solid transparent;
	border-radius: 12px;
	overflow: hidden;
	background: none;
	cursor: pointer;
	aspect-ratio: 1;
	padding: 0;
	transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.thumbs button:hover {
	border-color: #f2b4bb;
	transform: translateY(-2px);
}

.thumbs button.on {
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15);
}

.thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --- Gallery Trust & Assurance Badges (Balances Desktop Column Height) --- */
.gallery-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 14px;
	margin-top: 14px;
	padding: 14px 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
}

.gt-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	line-height: 1.3;
}

.gt-item svg {
	flex-shrink: 0;
	color: var(--blue);
	width: 16px;
	height: 16px;
}

/* --- Right Column: Details --- */
.cat {
	color: var(--red);
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.product h1,
h1.product_title {
	font-family: var(--giltech-font-heading, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	font-size: clamp(26px, 3.2vw, 36px);
	font-weight: 500;
	line-height: 1.25;
	margin: 6px 0 10px;
	letter-spacing: -0.015em;
	color: var(--ink, #17191D);
}

.rate {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	color: var(--stone);
}

.rate b {
	color: var(--ink);
}

.stars {
	color: var(--gold);
	letter-spacing: 2px;
	font-size: 16px;
}

.rl {
	color: var(--blue);
	text-decoration: none;
	font-weight: 600;
	transition: text-decoration 0.15s;
}

.rl:hover {
	text-decoration: underline;
}

.rate-sep {
	color: #c4c8d0;
	font-size: 11px;
	user-select: none;
}

.write-review-link {
	color: var(--stone);
	text-decoration: underline;
	font-weight: 600;
	font-size: 13px;
	transition: color 0.15s ease;
	cursor: pointer;
}

.write-review-link:hover {
	color: var(--red);
}

.stock {
	margin-left: auto;
	background: #e7effb;
	color: var(--blue);
	font-weight: 600;
	font-size: 12.5px;
	padding: 3px 12px 3px 24px;
	border-radius: 99px;
	position: relative;
	white-space: nowrap;
}

.stock:before {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -3.5px;
	border-radius: 50%;
	background: var(--blue);
}

.stock.out-of-stock {
	background: #fee2e2;
	color: var(--red);
}

.stock.out-of-stock:before {
	background: var(--red);
}

.price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	padding: 10px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	margin: 10px 0;
}

.price ins {
	font: 600 36px 'Fraunces', Georgia, serif;
	color: var(--red);
	text-decoration: none;
}

.price del {
	color: var(--stone);
	font-size: 18px;
}

.price span.save-tag {
	background: #e7effb;
	color: var(--blue);
	font-weight: 600;
	font-size: 13px;
	padding: 3px 10px;
	border-radius: 99px;
}

.short {
	color: #3d4148;
	font-size: 15px;
	line-height: 1.55;
}

.feat {
	list-style: none;
	margin: 10px 0 12px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 12px;
	padding: 0;
}

.feat li {
	padding: 7px 10px 7px 36px;
	background: #f6f8fb;
	border: 1px solid #e6ebf3;
	border-radius: 9px;
	font-weight: 500;
	font-size: 13px;
	position: relative;
	color: #2b2e34;
}

.feat li:before {
	content: "✓";
	position: absolute;
	left: 11px;
	top: 50%;
	margin-top: -9px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	font-size: 11px;
	text-align: center;
	line-height: 18px;
}

/* ==========================================================================
   4. Lead Enquiry Card
   ========================================================================== */

.lead {
	background: linear-gradient(165deg, #fff, #f4f8fd);
	color: var(--ink);
	border: 1px solid #dce6f3;
	border-top: 4px solid var(--red);
	border-radius: 16px;
	padding: 16px 18px;
	box-shadow: 0 16px 36px -28px rgba(18, 94, 184, 0.45);
	margin-top: 12px;
}

.lead h2,
#lead h2,
.lead-title {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.015em !important;
	color: var(--ink, #151619) !important;
	margin: 0 !important;
}

.lead h2:after,
#lead h2:after,
.lead-title:after {
	content: "";
	display: block;
	width: 36px;
	height: 2.5px;
	margin-top: 7px;
	border-radius: 2px;
	background: var(--red, #e30613);
}

.lead > p,
#lead > p,
.lead-desc {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: #61666e !important;
	margin: 6px 0 12px !important;
}

.fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.f {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #3d4148;
}

.f.full {
	grid-column: 1 / -1;
}

.f input,
.f textarea {
	border: 1px solid #d9dfe8;
	border-radius: 9px;
	padding: 9px 12px;
	font-size: 14px;
	color: var(--ink);
	background: #fff;
	width: 100%;
	font-family: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.f input:focus,
.f textarea:focus {
	outline: 0;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(21, 95, 186, 0.15);
}

.f input.has-error,
.f textarea.has-error {
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15);
}

.f-err {
	color: var(--red);
	font-size: 11px;
	font-weight: 600;
	display: none;
	margin-top: 2px;
}

.f textarea {
	resize: vertical;
	min-height: 64px;
}

.qty {
	display: flex;
	background: #fff;
	border: 1px solid #d9dfe8;
	border-radius: 9px;
	overflow: hidden;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.qty:focus-within {
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(21, 95, 186, 0.15);
}

.qty button {
	width: 36px;
	border: 0;
	background: var(--blush);
	color: var(--garnet);
	font-size: 18px;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background-color 0.15s;
}

.qty button:hover {
	background: #e5e9f0;
}

.qty input {
	border: 0;
	border-radius: 0;
	text-align: center;
	padding: 9px 0;
	width: 100%;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	-moz-appearance: textfield;
}

.qty input:focus {
	box-shadow: none;
	outline: none;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.send {
	width: 100%;
	margin-top: 10px;
	border: 0;
	border-radius: 9px;
	padding: 12px 16px;
	background: linear-gradient(180deg, #e8404f, var(--red));
	color: #fff;
	font-weight: 550;
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 10px 20px -10px rgba(227, 6, 19, 0.7);
	transition: transform 0.15s, background 0.15s, opacity 0.15s;
	font-family: inherit;
}

.send:hover {
	background: #f03a4a;
	transform: translateY(-1px);
}

.send.is-loading {
	opacity: 0.75;
	pointer-events: none;
}

.lead > p.fine {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--stone);
	text-align: center;
}

.ok {
	display: none;
	margin-top: 12px;
	background: #e7effb;
	color: var(--blue);
	font-weight: 500;
	border-radius: 9px;
	padding: 12px 14px;
	font-size: 13.5px;
	line-height: 1.45;
	border: 1px solid rgba(21, 95, 186, 0.15);
}

.ok.is-success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.ok.is-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.giltech-btn-wa-direct:hover {
	background: #20ba5a !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45) !important;
}

.lead-anchor-target {
	scroll-margin-top: 100px;
}

.meta {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 12px;
	font-size: 13px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
}

.meta dt {
	color: var(--stone);
	font-weight: 600;
}

.meta dd {
	margin: 0;
	color: var(--ink);
}

.meta dd a {
	color: var(--blue);
	text-decoration: none;
}

.meta dd a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   5. Tabbed Sections (Description, Specifications, Reviews)
   ========================================================================== */

.tabs {
	margin-top: 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 6px 28px 28px;
	box-shadow: 0 22px 46px -36px rgba(20, 22, 26, 0.35);
}

.tabnav {
	display: flex;
	gap: 4px;
	border-bottom: 1px solid var(--line);
	overflow-x: auto;
}

.tabnav button {
	border: 0;
	background: none;
	padding: 12px 18px;
	font-weight: 600;
	font-size: 15px;
	color: var(--stone);
	cursor: pointer;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	transition: color 0.15s;
	font-family: inherit;
}

.tabnav button:hover {
	color: var(--ink);
}

.tabnav button.on {
	color: var(--red);
	border-color: var(--red);
}

.panel {
	display: none;
	padding-top: 24px;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.panel.on {
	display: block;
	width: 100% !important;
}

.panel-content,
.panel-content.entry-content {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.panel h3 {
	font: 600 22px 'Fraunces', Georgia, serif;
	margin-bottom: 14px;
	color: var(--ink);
	width: 100%;
	max-width: 100%;
}

.panel-content > *,
.panel-content p,
.panel-content ul,
.panel-content ol,
.panel-content div,
.panel-content table,
.panel-content blockquote,
.panel p {
	margin-bottom: 16px;
	max-width: 100% !important;
	width: 100%;
	color: #3d4148;
	display: block;
	line-height: 1.75;
	font-size: 15px;
	box-sizing: border-box;
}

.panel p:last-child,
.panel-content p:last-child {
	margin-bottom: 0;
}

/* Specifications Table */
.panel table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}

.panel th,
.panel td {
	text-align: left;
	padding: 11px 16px;
	border-bottom: 1px solid var(--line);
}

.panel th {
	width: 34%;
	background: var(--blush);
	color: var(--garnet);
	font-weight: 600;
}

.panel tr:last-child th,
.panel tr:last-child td {
	border-bottom: 0;
}

.panel tr:nth-child(even) td {
	background: #fafbfc;
}

/* Reviews Panel */
.rv {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 32px;
}

.sum {
	background: var(--blush);
	border-radius: 16px;
	padding: 20px;
	align-self: start;
}

.sum big {
	font: 600 48px / 1 'Fraunces', Georgia, serif;
	color: var(--red);
	display: block;
}

.sum .stars {
	margin: 6px 0 2px;
}

.sum small {
	font-size: 12.5px;
	color: var(--stone);
	display: block;
}

.bars {
	margin-top: 14px;
	display: grid;
	gap: 6px;
	font-size: 13px;
}

.bars div {
	display: grid;
	grid-template-columns: 22px 1fr 32px;
	gap: 8px;
	align-items: center;
	color: var(--ink);
}

.bars i {
	height: 7px;
	background: #fff;
	border-radius: 9px;
	overflow: hidden;
	display: block;
}

.bars i b {
	display: block;
	height: 100%;
	background: var(--red);
	border-radius: 9px;
}

.btn-write-review {
	margin-top: 18px;
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #ffffff;
	border: 1px solid #d5d9e0;
	border-radius: 11px;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-write-review:hover {
	background: var(--garnet, #090a0c);
	color: #ffffff;
	border-color: var(--garnet, #090a0c);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-write-review svg {
	color: var(--red);
	transition: transform 0.2s ease, stroke 0.2s ease;
}

.btn-write-review:hover svg {
	stroke: #ffb8bd;
	transform: scale(1.1);
}

.rv-main {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

/* Review Submission Form Card */
.review-form-card {
	background: #fbfcfd;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 24px 26px;
	box-shadow: 0 8px 24px -16px rgba(20, 22, 26, 0.12);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-form-card:focus-within {
	border-color: #cbd3df;
	box-shadow: 0 12px 30px -16px rgba(21, 95, 186, 0.15);
}

.comment-reply-title {
	font: 600 20px 'Fraunces', Georgia, serif;
	color: var(--ink);
	margin: 0 0 6px;
	letter-spacing: -0.01em;
}

.comment-notes {
	font-size: 12.5px;
	color: var(--stone);
	margin: 0 0 18px;
	line-height: 1.5;
}

.comment-notes .required {
	color: var(--red);
}

/* Star Rating Selector */
.comment-form-rating {
	margin-bottom: 18px;
}

.comment-form-rating > label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 8px;
}

.comment-form-rating .required {
	color: var(--red);
}

.giltech-star-picker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	border: 1px solid #d9dfe8;
	border-radius: 12px;
	padding: 8px 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.giltech-star-picker:focus-within {
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(21, 95, 186, 0.12);
}

.giltech-star-picker .star-btn {
	background: none;
	border: none;
	padding: 2px 4px;
	font-size: 26px;
	line-height: 1;
	color: #d1d5db;
	cursor: pointer;
	transition: transform 0.15s ease, color 0.15s ease;
	user-select: none;
}

.giltech-star-picker .star-btn:hover {
	transform: scale(1.2);
}

.giltech-star-picker .star-btn.active {
	color: #f59e0b; /* Vibrant amber star */
}

.star-rating-hint {
	margin-left: 12px;
	font-size: 13px;
	font-weight: 600;
	color: #4b5563;
	white-space: nowrap;
}

/* Review Textarea */
.comment-form-comment {
	margin-bottom: 16px;
}

.comment-form-comment label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 6px;
}

.comment-form-comment label .required {
	color: var(--red);
}

.comment-form-comment textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d9dfe8;
	border-radius: 11px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 14px;
	color: var(--ink);
	background: #ffffff;
	min-height: 105px;
	resize: vertical;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.comment-form-comment textarea:focus {
	outline: 0;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(21, 95, 186, 0.15);
}

/* Author & Email Fields */
.form-fields-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
}

.comment-form-author,
.comment-form-email {
	margin: 0;
}

.comment-form-author label,
.comment-form-email label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: #3d4148;
	margin-bottom: 5px;
}

.comment-form-author label .required,
.comment-form-email label .required {
	color: var(--red);
}

.comment-form-author input,
.comment-form-email input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d9dfe8;
	border-radius: 9px;
	padding: 10px 13px;
	font-size: 14px;
	color: var(--ink);
	background: #ffffff;
	font-family: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.comment-form-author input:focus,
.comment-form-email input:focus {
	outline: 0;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(21, 95, 186, 0.15);
}

/* Cookies Consent */
.comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 12.5px;
	color: var(--stone);
}

.comment-form-cookies-consent input[type="checkbox"] {
	accent-color: var(--red);
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.comment-form-cookies-consent label {
	cursor: pointer;
	line-height: 1.4;
}

/* Submit Review Button */
.giltech-review-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 10px;
	padding: 12px 24px;
	background: linear-gradient(180deg, #e8404f, var(--red));
	color: #fff;
	font-weight: 600;
	font-size: 14.5px;
	cursor: pointer;
	box-shadow: 0 8px 18px -6px rgba(227, 6, 19, 0.6);
	transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
	font-family: inherit;
}

.giltech-review-submit-btn:hover {
	background: #f03a4a;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -6px rgba(227, 6, 19, 0.7);
}

.giltech-review-submit-btn svg {
	transition: transform 0.2s ease;
}

.giltech-review-submit-btn:hover svg {
	transform: translateX(3px);
}

.revs-title {
	font: 600 18px 'Fraunces', Georgia, serif;
	color: var(--ink);
	margin: 12px 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.rev-closed-notice {
	padding: 16px 20px;
	background: var(--blush);
	border-radius: 12px;
	color: var(--stone);
	font-size: 13.5px;
}

.rev {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 14px;
	margin-bottom: 12px;
	background: #fff;
}

.rev:last-child {
	border: 1px solid var(--line);
	margin: 0;
	padding: 16px;
}

.av {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--red), #f06a76);
	color: #fff;
	font-weight: 550;
	font-size: 17px;
	display: grid;
	place-items: center;
	text-transform: uppercase;
}

.rev:nth-child(2n) .av {
	background: linear-gradient(135deg, var(--blue), #4c8fe0);
}

.rev:nth-child(3n) .av {
	background: linear-gradient(135deg, #8b9094, #b9bec2);
}

.rev header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin-bottom: 3px;
}

.rev header strong {
	color: var(--ink);
	font-size: 14.5px;
}

.rev em {
	font-style: normal;
	font-size: 12px;
	color: var(--blue);
	background: #e7effb;
	padding: 2px 9px;
	border-radius: 99px;
	font-weight: 600;
}

.rev time {
	font-size: 12.5px;
	color: var(--stone);
	margin-left: auto;
}

.rev .stars {
	margin-bottom: 6px;
}

.rev p {
	font-size: 14px;
	color: #3d4148;
	margin: 0;
	line-height: 1.6;
}

.rev-empty {
	padding: 30px 20px;
	text-align: center;
	background: var(--blush);
	border-radius: 14px;
	color: var(--stone);
	font-size: 14px;
}

/* ==========================================================================
   6. Premium FAQ Accordion Section
   ========================================================================== */

.faq-section {
	margin-top: 34px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 6px 28px 18px;
	box-shadow: 0 22px 46px -36px rgba(20, 22, 26, 0.35);
}

.faq-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 20px;
	padding: 20px 0 17px;
	border-bottom: 1px solid var(--line);
}

.faq-kicker {
	color: var(--red);
	font-size: 9px;
	font-weight: 550;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin-bottom: 5px;
}

.faq-head h2 {
	font: 600 26px / 1.1 'Fraunces', Georgia, serif;
	color: var(--ink);
	margin: 0;
}

.faq-head p {
	font-size: 12px;
	color: var(--stone);
	max-width: 380px;
	text-align: right;
	margin: 0;
}

.faq-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 34px;
}

.faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-item:last-child,
.faq-item:nth-last-child(2) {
	border-bottom: 0;
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border: 0;
	background: none;
	padding: 17px 0;
	text-align: left;
	color: var(--ink);
	font-size: 14px;
	font-weight: 550;
	cursor: pointer;
	font-family: inherit;
	transition: color 0.15s;
}

.faq-question:hover {
	color: var(--red);
}

.faq-icon {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border: 1px solid var(--line);
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--blue);
	font-size: 18px;
	font-weight: 500;
	transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.faq-item.open .faq-icon {
	transform: rotate(45deg);
	background: #e7effb;
	border-color: #c8d8ed;
	color: var(--red);
}

.faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.25s ease;
}

.faq-answer > div {
	overflow: hidden;
}

.faq-answer p {
	padding: 0 42px 0 0;
	color: #666a70;
	font-size: 12.5px;
	line-height: 1.7;
	margin: 0;
}

.faq-item.open .faq-answer {
	grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
	padding-bottom: 16px;
}

/* ==========================================================================
   7. Related Products Grid Section
   ========================================================================== */

.related {
	margin-top: 34px;
}

.related h2 {
	font: 600 26px 'Fraunces', Georgia, serif;
	margin-bottom: 14px;
	color: var(--ink);
}

.related h2:after {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	margin-top: 8px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%);
}

.grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.card {
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
	box-shadow: 0 18px 30px -22px var(--garnet);
	transform: translateY(-4px);
}

.card img {
	aspect-ratio: 1;
	width: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s;
}

.card:hover img {
	transform: scale(1.05);
}

.card div {
	padding: 13px 14px 15px;
}

.card h4 {
	font-size: 15px;
	font-weight: 600;
	margin: 0;
	color: var(--ink);
	line-height: 1.35;
}

.card p {
	color: var(--red);
	font-weight: 600;
	margin: 4px 0 10px;
	font-size: 14.5px;
}

.card a {
	display: block;
	text-align: center;
	border: 1.5px solid var(--red);
	color: var(--red);
	border-radius: 9px;
	padding: 8px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.card a:hover {
	background: var(--red);
	color: #fff;
}

/* ==========================================================================
   8. Mobile Bottom Sticky Bar
   ========================================================================== */

.mbar {
	display: none;
}

.mbar small {
	display: block;
	font-size: 11.5px;
	color: var(--stone);
	line-height: 1.2;
}

.mbar strong {
	font: 600 20px 'Fraunces', Georgia, serif;
	color: var(--red);
}

.mbar a {
	background: var(--red);
	color: #fff;
	text-decoration: none;
	font-weight: 550;
	padding: 12px 22px;
	border-radius: 11px;
	font-size: 14.5px;
	box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
	transition: background 0.15s;
}

.mbar a:hover {
	background: #f03a4a;
}

/* ==========================================================================
   9. Responsive Breakpoints
   ========================================================================== */

@media (max-width: 900px) {
	main.wrap {
		padding-bottom: 96px;
	}

	.product {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.gallery {
		position: static;
	}

	.stage {
		max-width: 480px;
		margin: 0 auto;
	}

	.thumbs {
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}

	.gallery-trust {
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}

	/* Prevent iOS Safari viewport auto-zoom when tapping form inputs */
	.f input,
	.f textarea,
	.qty input {
		font-size: 16px;
	}

	.rv {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mbar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(8px);
		border-top: 1px solid var(--line);
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
		transition: transform 0.3s;
	}

	.mbar.hide {
		transform: translateY(110%);
	}
}

@media (max-width: 700px) {
	.faq-section {
		padding: 4px 18px 13px;
		border-radius: 17px;
	}

	.faq-head {
		display: block;
		padding: 17px 0 13px;
	}

	.faq-head h2 {
		font-size: 23px;
	}

	.faq-head p {
		text-align: left;
		font-size: 11px;
		margin-top: 5px;
	}

	.faq-list {
		grid-template-columns: 1fr;
	}

	.faq-item:nth-last-child(2) {
		border-bottom: 1px solid var(--line);
	}

	.faq-item:last-child {
		border-bottom: 0;
	}

	.faq-question {
		font-size: 12px;
		padding: 14px 0;
	}

	.faq-answer p {
		font-size: 11px;
		padding-right: 0;
	}

	.panel table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

@media (max-width: 640px) {
	.feat,
	.fields {
		grid-template-columns: 1fr;
	}

	.rev {
		grid-template-columns: 38px 1fr;
		gap: 10px;
		padding: 12px;
	}

	.av {
		width: 38px;
		height: 38px;
		font-size: 15px;
	}

	.form-fields-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.giltech-star-picker {
		flex-wrap: wrap;
		padding: 8px 12px;
	}

	.star-rating-hint {
		margin-left: 0;
		width: 100%;
		margin-top: 4px;
		font-size: 12px;
	}

	.review-form-card {
		padding: 18px 16px;
	}

	.comment-form-comment textarea,
	.comment-form-author input,
	.comment-form-email input {
		font-size: 16px; /* Prevents auto-zoom on iOS */
	}
}

@media (max-width: 520px) {
	.wrap {
		padding: 0 14px;
	}

	.giltech-single-wrap {
		padding-top: 16px;
		padding-bottom: 24px;
	}

	.product {
		padding: 16px 14px;
	}

	.tabs {
		padding: 4px 14px 20px;
	}

	.feat,
	.fields {
		grid-template-columns: 1fr;
	}

	.lead {
		padding: 16px 14px;
	}

	.gallery-trust {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 10px 12px;
	}

	.gt-item {
		font-size: 11px;
	}

	.gt-item svg {
		width: 14px;
		height: 14px;
	}

	.panel th {
		width: 40%;
	}

	.panel th,
	.panel td {
		padding: 10px 12px;
	}

	.tabnav button {
		padding: 10px 12px;
		font-size: 13px;
	}

	.grid {
		grid-template-columns: 1fr;
	}

	.mbar strong {
		font-size: 18px;
	}

	.mbar a {
		padding: 10px 16px;
		font-size: 13.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}
