/**
 * GearO styling for the classic WooCommerce cart, checkout and account.
 * Bridges WooCommerce's default markup to the GearO design language
 * (typography, spacing, buttons, inputs) from styles.css.
 */

/* ---------- Shared page wrapper ---------- */
.woocommerce-cart .main-content,
.woocommerce-checkout .main-content,
.woocommerce-account .main-content { padding-top: 40px; padding-bottom: 80px; }

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #111 !important;
	color: #fff !important;
	border: 1px solid #111 !important;
	border-radius: 6px;
	padding: 12px 26px;
	font-weight: 600;
	line-height: 1.2;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
	text-transform: none;
	text-shadow: none;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: #fff !important; color: #111 !important; }

/* ---------- Cart ---------- */
.woocommerce-cart table.cart { border: 0; margin-bottom: 32px; }
.woocommerce-cart table.cart thead th {
	border: 0;
	border-bottom: 1px solid #e5e5e5;
	padding: 0 12px 16px;
	font-weight: 600;
	text-transform: none;
	font-size: 14px;
}
.woocommerce-cart table.cart td {
	border: 0;
	border-bottom: 1px solid #f0f0f0;
	padding: 20px 12px;
	vertical-align: middle;
}
.woocommerce-cart table.cart td.product-thumbnail img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
}
.woocommerce-cart table.cart td.product-name a { color: #111; font-weight: 600; }
.woocommerce-cart table.cart td.product-name a:hover { text-decoration: underline; }
.woocommerce-cart .product-remove a.remove {
	color: #888 !important;
	font-size: 22px;
	width: auto; height: auto;
	line-height: 1;
}
.woocommerce-cart .product-remove a.remove:hover { background: transparent !important; color: #e53935 !important; }

.woocommerce-cart .quantity { display: inline-flex; align-items: center; border: 1px solid #e5e5e5; border-radius: 6px; overflow: hidden; }
.woocommerce-cart .quantity input.qty {
	width: 56px;
	height: 42px;
	border: 0;
	text-align: center;
	background: transparent;
}

.woocommerce-cart table.cart td.actions { border-bottom: 0; padding-top: 24px; }
.woocommerce-cart .coupon { display: inline-flex; gap: 10px; }
.woocommerce-cart .coupon input#coupon_code {
	height: 46px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	padding: 0 16px;
	min-width: 200px;
}

/* Cart totals box */
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart-collaterals .cart_totals {
	width: 100%;
	max-width: 440px;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 28px;
	background: #fafafa;
}
.cart_totals h2 { font-size: 20px; margin-bottom: 20px; }
.cart_totals table { border: 0; }
.cart_totals table th, .cart_totals table td { border: 0; border-bottom: 1px solid #eee; padding: 14px 0; }
.cart_totals .order-total .amount { font-size: 20px; font-weight: 700; }
.cart_totals .wc-proceed-to-checkout { padding: 20px 0 0; }
.cart_totals .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; padding: 15px; font-size: 16px; }

/* Free-shipping progress (gearo-core) inside cart */
.gearo-ship-progress { margin-bottom: 24px; }

/* ---------- Checkout ---------- */
.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details { margin-bottom: 24px; }
.woocommerce-checkout h3 { font-size: 20px; margin-bottom: 20px; }
.woocommerce-checkout .form-row { margin-bottom: 16px; }
.woocommerce form .form-row label { font-weight: 500; margin-bottom: 6px; display: block; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row .select2-container .select2-selection,
.woocommerce-checkout select {
	width: 100%;
	min-height: 48px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	padding: 12px 16px;
	background: #fff;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: #111; outline: 0; }

.woocommerce-checkout #order_review_heading { font-size: 20px; margin: 8px 0 20px; }
.woocommerce-checkout #order_review {
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 28px;
	background: #fafafa;
}
.woocommerce-checkout #order_review table.shop_table { border: 0; }
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td { border: 0; border-bottom: 1px solid #eee; padding: 12px 0; }
.woocommerce-checkout #order_review .order-total .amount { font-size: 20px; font-weight: 700; }
.woocommerce-checkout #payment { background: transparent; border-radius: 8px; }
.woocommerce-checkout #payment ul.payment_methods { border: 0; padding: 0; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border: 1px solid #eee; border-radius: 6px; }
.woocommerce-checkout #payment #place_order { width: 100%; padding: 15px; font-size: 16px; margin-top: 12px; }

/* ---------- Responsive cart (stack table on mobile) ---------- */
@media (max-width: 767px) {
	.woocommerce-cart table.cart thead { display: none; }
	.woocommerce-cart table.cart tr.cart_item { display: grid; grid-template-columns: 80px 1fr; gap: 8px 16px; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
	.woocommerce-cart table.cart td { border: 0; padding: 4px 0; }
	.woocommerce-cart table.cart td.product-thumbnail { grid-row: 1 / span 4; }
	.woocommerce-cart table.cart td::before { content: attr(data-title) ": "; font-weight: 600; margin-right: 6px; }
	.woocommerce-cart table.cart td.product-thumbnail::before,
	.woocommerce-cart table.cart td.product-name::before { content: none; }
	.cart-collaterals .cart_totals { max-width: 100%; }
	.woocommerce-checkout .col2-set .col-1,
	.woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
}

/* =====================================================================
   Single Product - GearO full desktop scale (scoped to .single-product).
   Matches the reference "Double Standing Desk" proportions at real desktop
   size: image ~480px, thumbs 76px, title 38px, price 26px, body 15px,
   buttons 48px, quantity 150x48, swatches 32px, hero container 1200px.
   Real dimensions only (no transform/zoom). Styles existing widgets +
   gearo-core summary extras; no Elementor _elementor_data touched.
   ===================================================================== */

/* Hero container: comfortable centered width; other sections a touch wider. */
.single-product [data-elementor-type="product"] .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1240px;
}
.single-product [data-elementor-type="product"] .elementor-section-wrap > .elementor-section:first-child > .elementor-container {
	max-width: 1200px;
}
.single-product [data-elementor-type="product"] .elementor-section-wrap > .elementor-section:first-child {
	padding-top: 40px;
	padding-bottom: 40px;
}
.single-product [data-elementor-type="product"] .elementor-section-wrap > .elementor-section:first-child .elementor-widget:not(:last-child) {
	margin-bottom: 0;
}
/* Keep the two hero columns side-by-side down to tablet. */
@media (min-width: 768px) {
	.single-product [data-elementor-type="product"] .elementor-section-wrap > .elementor-section:first-child > .elementor-container {
		display: flex;
		flex-wrap: nowrap;
	}
	.single-product [data-elementor-type="product"] .elementor-section-wrap > .elementor-section:first-child > .elementor-container > .elementor-column {
		width: 50% !important;
	}
}

/* --- Gallery: 76px thumbs LEFT + ~480px main image --- */
.single-product .gearo-product-gallery { margin-bottom: 0; }
.single-product .gearo-product-gallery .thumbs-slider.flex-row-reverse {
	flex-direction: row !important;
	gap: 16px;
}
.single-product .gearo-product-gallery .tf-product-media-thumbs {
	width: 76px;
	max-height: 480px;
	margin: 0;
}
.single-product .gearo-product-gallery .tf-product-media-thumbs .swiper-slide {
	width: 76px;
	height: 76px;
	border-radius: 8px;
	border: 1px solid transparent;
	overflow: hidden;
	cursor: pointer;
	opacity: 1;
	transition: border-color .2s;
}
.single-product .gearo-product-gallery .tf-product-media-thumbs .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	background: #f2f2f2;
	padding: 0;
}
.single-product .gearo-product-gallery .tf-product-media-thumbs .swiper-slide-thumb-active { border-color: #111; }
.single-product .gearo-product-gallery .tf-product-media-main {
	width: 480px;
	max-width: 100%;
	height: 480px;
	flex: 1 1 auto;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}
.single-product .gearo-product-gallery .tf-product-media-main .swiper-slide .item { display: block; height: 100%; }
.single-product .gearo-product-gallery .tf-product-media-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	padding: 0;
	mix-blend-mode: normal;
	border-radius: 0;
}
.single-product .gearo-product-gallery .tf-product-media-main .swiper-button-prev,
.single-product .gearo-product-gallery .tf-product-media-main .swiper-button-next {
	width: 42px; height: 42px; border-radius: 50%;
	background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.14);
	color: #111; --swiper-navigation-size: 15px; --swiper-theme-color: #111;
	opacity: 0; transition: opacity .25s;
}
.single-product .gearo-product-gallery:hover .swiper-button-prev,
.single-product .gearo-product-gallery:hover .swiper-button-next { opacity: 1; }
.single-product .gearo-product-gallery .swiper-button-prev::after,
.single-product .gearo-product-gallery .swiper-button-next::after { font-size: 15px; font-weight: 700; }

/* --- Title / sold flash --- */
.single-product .product_title,
.single-product .elementor-widget-woocommerce-product-title .product_title,
.single-product .elementor-widget-woocommerce-product-title .elementor-heading-title {
	font-family: "Heebo", serif !important;
	font-size: 38px !important;
	line-height: 1.15 !important;
	font-weight: 400 !important;
	color: #171717 !important;
	margin: 0;
}
.gearo-sold-flash {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	color: #444;
	margin-top: 12px;
}
.gearo-sold-flash svg { width: 18px; height: 18px; }

/* --- Price + stock pill --- */
.single-product .elementor-widget-woocommerce-product-price { margin-top: 16px; }
.single-product .elementor-widget-woocommerce-product-price .price,
.single-product .elementor-widget-woocommerce-product-price .price .woocommerce-Price-amount,
.single-product .elementor-widget-woocommerce-product-price .price bdi {
	font-family: "Heebo", serif !important;
	font-size: 26px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	color: #171717 !important;
}
.single-product .elementor-widget-woocommerce-product-price .price del,
.single-product .elementor-widget-woocommerce-product-price .price del .woocommerce-Price-amount,
.single-product .elementor-widget-woocommerce-product-price .price del bdi { color: #999 !important; font-size: 20px !important; margin-right: 8px; }
.single-product .price ins { text-decoration: none; }
.gearo-stock-pill {
	display: inline-block;
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .5px;
	padding: 7px 14px;
	border-radius: 20px;
	margin-top: 14px;
}
.gearo-stock-pill.out-of-stock { background: #9a9a9a; }

/* --- Short description / viewing note --- */
.single-product .elementor-widget-woocommerce-product-short-description { margin-top: 16px; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-product-details__short-description p {
	font-size: 15px;
	line-height: 1.7;
	color: #666;
	margin: 0;
}
.gearo-viewing {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #333;
	margin: 14px 0 0;
}
.gearo-viewing i { font-size: 16px; }

/* --- Variations: labels + colour swatches --- */
.single-product form.cart {
	border-top: 1px solid #eee;
	margin-top: 18px;
	padding-top: 20px;
}
.single-product .variations,
.single-product .variations tbody,
.single-product .variations tr,
.single-product .variations th,
.single-product .variations td { display: block; border: 0; padding: 0; margin: 0; line-height: 1.5; }
.single-product .variations tr + tr { margin-top: 14px; }
.single-product .variations td.label label,
.single-product .variations th.label label {
	font-size: 15px;
	font-weight: 500;
	color: #111;
	margin: 0;
	display: inline;
}
.gearo-swatch-current { font-size: 15px; color: #555; }
.gearo-swatches { display: flex; gap: 8px; margin-top: 8px; }
.gearo-swatch {
	width: 32px;
	height: 32px;
	min-width: 32px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #ddd;
	padding: 0;
	cursor: pointer;
}
.gearo-swatch.active { box-shadow: 0 0 0 1px #111; }
.single-product .variations select.gearo-swatch-hidden { display: none; }
.single-product .variations select {
	min-height: 44px;
	font-size: 14px;
	border: 1px solid #e6e6e6;
	border-radius: 24px;
	padding: 6px 18px;
	background: #fff;
	margin-top: 8px;
}
.single-product .reset_variations { font-size: 13px; color: #333; display: inline-block; margin-top: 8px; }
.single-product .woocommerce-variation-availability { display: none; }
.single-product .woocommerce-variation-price .price { font-size: 20px !important; }
.single-product .single_variation_wrap { margin-top: 14px; }

/* --- Quantity + buttons zone --- */
.single-product form.cart:not(.variations_form):not(.grouped_form),
.single-product .woocommerce-variation-add-to-cart {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 48px 48px;
	gap: 12px 10px;
	align-items: center;
}
.gearo-qty-label { grid-column: 1 / -1; font-size: 15px; color: #111; margin: 0; }
.single-product form.cart .quantity {
	grid-column: 1 / -1;
	width: 150px !important;
	height: 48px !important;
	min-height: 48px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: space-between;
	border: 1px solid #e6e6e6;
	border-radius: 30px;
	overflow: hidden;
	background: #fff;
	margin: 0 0 6px;
}
.gearo-qty-btn {
	width: 44px;
	height: 46px;
	border: 0;
	background: transparent;
	font-size: 18px;
	line-height: 1;
	color: #111;
	padding: 0;
	cursor: pointer;
}
.single-product form.cart .quantity input.qty {
	width: 50px;
	height: 46px;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: 16px;
	padding: 0;
	-moz-appearance: textfield;
}
.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
.single-product form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button,
.single-product form.cart button.single_add_to_cart_button {
	grid-column: 1;
	width: 100%;
	height: 48px;
	min-height: 48px !important;
	border-radius: 30px !important;
	font-size: 14px;
	font-weight: 500;
	padding: 0 32px;
	background: #171717 !important;
	color: #fff !important;
	border: 1px solid #171717 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .25s, color .25s;
}
.single-product .single_add_to_cart_button:hover { background: #fff !important; color: #111 !important; }
.gearo-action-circle {
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 50%;
	border: 1px solid #e5e5e5;
	background: #fff;
	color: #111;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color .2s, color .2s;
}
.gearo-action-circle i { font-size: 18px; }
.gearo-action-circle:hover { border-color: #111; color: #111; }
.gearo-action-circle.active { border-color: #111; }
.gearo-action-circle.active i { color: #c0392b; }
.gearo-buy-now {
	grid-column: 1 / -1;
	width: 100%;
	height: 48px;
	min-height: 48px;
	border: 0;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 500;
	background: #8a7a68;
	color: #fff;
	cursor: pointer;
	transition: background .25s;
}
.gearo-buy-now:hover { background: #6f6254; }

/* --- Delivery / question / share + info rows --- */
.gearo-product-info-extra { margin-top: 18px; }
.gearo-info-actions { display: flex; gap: 24px; flex-wrap: wrap; }
.gearo-info-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	color: #111;
}
.gearo-info-action i { font-size: 16px; }
.gearo-info-rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 16px;
	padding-bottom: 18px;
	border-bottom: 1px solid #eee;
}
.gearo-info-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	line-height: 1.6;
	color: #333;
}
.gearo-info-row i { font-size: 16px; margin-top: 1px; }
.gearo-store-link { color: #111; text-decoration: underline; }

/* --- Meta (SKU / category) --- */
.single-product .elementor-widget-woocommerce-product-meta { margin-top: 16px; }
.single-product .product_meta { font-size: 13px; line-height: 2; color: #666; }
.single-product .product_meta a { color: #171717; }

/* --- Tabs: centered, thin underline --- */
.single-product .woocommerce-tabs ul.tabs,
.single-product .elementor-widget-woocommerce-product-data-tabs ul.tabs {
	text-align: center; border-bottom: 1px solid #e8e8e8; padding: 0; margin-bottom: 32px;
}
.single-product .woocommerce-tabs ul.tabs::before { border: 0; }
.single-product .woocommerce-tabs ul.tabs li {
	background: transparent; border: 0; border-radius: 0; margin: 0 20px; padding: 0 0 14px;
}
.single-product .woocommerce-tabs ul.tabs li a { font-family: "Heebo", serif; font-size: 20px; font-weight: 400; color: #666; padding: 0; }
.single-product .woocommerce-tabs ul.tabs li.active { border-bottom: 1px solid #111; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: #111; }
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after { display: none; }
.single-product .woocommerce-Tabs-panel { font-size: 15px; line-height: 1.8; color: #666; }

/* --- Related products --- */
.single-product .related.products > h2,
.single-product .elementor-widget-woocommerce-product-related h2 {
	font-family: "Heebo", serif; font-size: 30px; font-weight: 400; color: #171717; text-align: center; margin-bottom: 32px;
}
.single-product .related.products ul.products,
.single-product .elementor-widget-woocommerce-product-related ul.products {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.single-product .related.products ul.products li.product { width: auto; margin: 0; float: none; }
.single-product .related.products ul.products li.product img { background: #f2f2f2; border-radius: 8px; }
.single-product .related.products ul.products li.product h2,
.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
	font-family: "Heebo", serif; font-size: 17px; font-weight: 400; color: #171717;
}

/* --- Sticky bar text --- */
.single-product .tf-sticky-btn-atc .gearo-sticky-add .text { text-transform: none; }

/* --- Grouped product: clean GearO child table --- */
.single-product form.cart.grouped_form {
	border-top: 1px solid #eee;
	margin-top: 18px;
	padding-top: 10px;
}
.single-product .group_table { width: 100%; border: 0; margin: 0; }
.single-product .group_table tbody { display: block; }
.single-product .group_table tr.woocommerce-grouped-product-list-item {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "label price" "qty qty";
	align-items: center;
	gap: 4px 16px;
	padding: 18px 0;
	border-bottom: 1px solid #f0f0f0;
}
.single-product .group_table td { border: 0; padding: 0; background: none; }
.single-product .woocommerce-grouped-product-list-item__label { grid-area: label; }
.single-product .woocommerce-grouped-product-list-item__label label { margin: 0; font-weight: 400; }
.single-product .woocommerce-grouped-product-list-item__label a {
	font-family: "Heebo", serif;
	font-size: 18px;
	color: #171717;
}
.single-product .woocommerce-grouped-product-list-item__price { grid-area: price; text-align: right; }
.single-product .woocommerce-grouped-product-list-item__price .woocommerce-Price-amount,
.single-product .woocommerce-grouped-product-list-item__price bdi {
	font-family: "Heebo", serif !important;
	font-size: 18px !important;
	color: #171717 !important;
}
.single-product .woocommerce-grouped-product-list-item__price del,
.single-product .woocommerce-grouped-product-list-item__price del .woocommerce-Price-amount,
.single-product .woocommerce-grouped-product-list-item__price del bdi { color: #aaa !important; font-size: 15px !important; margin-right: 6px; }
.single-product .woocommerce-grouped-product-list-item__price ins { text-decoration: none; }
.single-product .woocommerce-grouped-product-list-item__price .stock { display: none; }
.single-product .woocommerce-grouped-product-list-item__quantity { grid-area: qty; }
.single-product .group_table .gearo-qty-label { display: none; }
.single-product .group_table .quantity {
	width: 150px !important;
	height: 48px !important;
	margin: 6px 0 0 !important;
}

/* Grouped controls: table, then [ATC + circles] row, then Buy It Now */
.single-product form.cart.grouped_form { display: block; }
.single-product form.cart.grouped_form .group_table { width: 100%; margin-bottom: 18px; }
.single-product form.cart.grouped_form .single_add_to_cart_button {
	display: inline-flex;
	vertical-align: middle;
	width: calc(100% - 120px);
	margin: 0;
}
.single-product form.cart.grouped_form .gearo-action-circle {
	vertical-align: middle;
	margin: 0 0 0 10px;
}
.single-product form.cart.grouped_form .gearo-buy-now {
	display: block;
	width: 100%;
	margin-top: 12px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
	.single-product .related.products ul.products,
	.single-product .elementor-widget-woocommerce-product-related ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.single-product .gearo-product-gallery .thumbs-slider.flex-row-reverse { flex-direction: column !important; }
	.single-product .gearo-product-gallery .tf-product-media-main { margin: 0 auto; width: 100%; }
	.single-product .gearo-product-gallery .tf-product-media-thumbs { width: 100%; max-height: none; margin-top: 12px; }
	.single-product .gearo-product-gallery .tf-product-media-thumbs .swiper-slide { width: 68px; }
	.single-product .product_title,
	.single-product .elementor-widget-woocommerce-product-title .product_title { font-size: 30px !important; }
	.single-product .woocommerce-tabs ul.tabs li { margin: 0 12px 10px; }
}

/* --- Built-in lightbox --- */
#gearo-lightbox {
	position: fixed; inset: 0; z-index: 99999;
	display: none; align-items: center; justify-content: center;
	background: rgba(17,17,17,.9); cursor: zoom-out; padding: 4vh 4vw;
}
#gearo-lightbox.open { display: flex; }
#gearo-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
#gearo-lightbox .gearo-lb-close {
	position: absolute; top: 24px; right: 32px; font-size: 40px; line-height: 1; color: #fff; cursor: pointer;
}

/* --- Hide WooCommerce's default olive "Sale!" circle on the product image.
   GearO communicates the sale via the strikethrough price (reference has no
   badge on the gallery); the raw .onsale badge used an off-brand #958e09. --- */
.single-product .onsale,
.single-product .woocommerce-product-gallery .onsale,
.single-product span.onsale { display: none !important; }

/* --- Mobile polish for the single product page --- */
@media (max-width: 767px) {
	/* kill the horizontal overflow: everything hard-capped to the viewport */
	.single-product .main-content,
	.single-product [data-elementor-type="product"] { overflow-x: clip; }
	.single-product [data-elementor-type="product"] .elementor-container { max-width: 100% !important; }
	.single-product [data-elementor-type="product"] .elementor-column,
	.single-product [data-elementor-type="product"] .elementor-widget-wrap { width: 100% !important; max-width: 100%; }
	.single-product [data-elementor-type="product"] .elementor-section-wrap > .elementor-section:first-child {
		padding-left: 14px; padding-right: 14px;
	}
	/* gallery: square, full width */
	.single-product .gearo-product-gallery .tf-product-media-main { width: 100%; height: auto; aspect-ratio: 1 / 1; }
	.single-product .gearo-product-gallery { width: 100%; }
	/* summary: clean RTL alignment + breathing room */
	.single-product .woocommerce-product-details__short-description,
	.single-product .gearo-info-rows, .single-product .gearo-info-actions { text-align: right; }
	.single-product form.cart { margin-top: 10px; }
	/* sticky add-to-cart sits ABOVE the bottom toolbar */
	.tf-sticky-btn-atc { bottom: 64px !important; z-index: 70; }
	body.single-product { padding-bottom: 130px; }
}

/* --- Mobile product page: real fixes measured @375 --- */
@media (max-width: 767px) {
	/* side padding for every top section of the product doc (was edge-to-edge) */
	.single-product [data-elementor-type="product"] .elementor-section > .elementor-container {
		padding-left: 16px; padding-right: 16px;
	}
	/* gallery centred inside the padded container */
	.single-product .gearo-product-gallery { width: 100%; margin: 0 auto; }
	/* Buy Now was overhanging 10px past the edge */
	.single-product .gearo-buy-now { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
	/* a little vertical rhythm between the stacked blocks */
	.single-product [data-elementor-type="product"] .elementor-section { padding-top: 6px; padding-bottom: 6px; }
	.single-product .woocommerce-tabs { margin-top: 10px; }
}
@media (max-width: 767px) {
	/* the desktop 30px column-gap padding leaves lopsided space when stacked */
	.single-product [data-elementor-type="product"] .elementor-widget-wrap {
		padding-left: 0 !important; padding-right: 0 !important;
	}
}
@media (max-width: 767px) {
	/* gallery thumbnails start from the RIGHT (RTL) */
	.single-product .gearo-product-gallery .tf-product-media-thumbs .swiper-wrapper { justify-content: flex-end; }
}

/* --- Attribute swatches: colour circles vs. labelled boxes (sizes) --- */
.gearo-swatches { flex-wrap: wrap; }
.gearo-swatches.is-label { gap: 10px; }
.gearo-swatch-label {
	width: auto; height: auto; min-width: 54px; border-radius: 4px;
	padding: 12px 14px; background: #fff; border: 1px solid #e3e3e3;
	font-size: 15px; line-height: 1; color: #171717; text-transform: none;
	cursor: pointer; transition: border-color .2s, color .2s;
}
.gearo-swatch-label:hover { border-color: #171717; }
.gearo-swatch-label.active { border-color: #171717; box-shadow: inset 0 0 0 1px #171717; }
.gearo-swatch-color { border-radius: 50%; }
.gearo-swatch-color.active { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #171717; }
@media (max-width: 767px) {
	.gearo-swatch-label { min-width: 46px; padding: 10px 12px; font-size: 14px; }
}

/* Swatches replace the variation <select> entirely (Elementor Pro's widget CSS
   re-shows it, so this needs !important). */
.single-product .variations select.gearo-swatch-hidden,
.single-product .woocommerce-variation-add-to-cart select.gearo-swatch-hidden,
.single-product .variations td.value select.gearo-swatch-hidden { display: none !important; }
.single-product .variations .gearo-swatches { margin-top: 6px; }
