/*
Theme Name: hotsmoke

WooCommerce styles override
*/

/**
 * Shop tables
 */
table.shop_table_responsive thead {
	display: none;
}

table.shop_table_responsive tbody th {
	display: none;
}

table.shop_table_responsive tr td {
	display: block;
	text-align: right;
	clear: both;
}

table.shop_table_responsive tr td::before {
	content: attr(data-title) ": ";
	float: left;
}

table.shop_table_responsive tr td.product-remove a {
	text-align: left;
}

table.shop_table_responsive tr td.product-remove::before {
	display: none;
}

table.shop_table_responsive tr td.actions::before,
table.shop_table_responsive tr td.download-actions::before {
	display: none;
}

table.shop_table_responsive tr td.download-actions .button {
	display: block;
	text-align: center;
}

@media screen and (min-width: 48em) {

	table.shop_table_responsive thead {
		display: table-header-group;
	}

	table.shop_table_responsive tbody th {
		display: table-cell;
	}

	table.shop_table_responsive tr th,
	table.shop_table_responsive tr td {
		text-align: left;
	}

	table.shop_table_responsive tr td {
		display: table-cell;
	}

	table.shop_table_responsive tr td::before {
		display: none;
	}
}

/**
 * Products
 */
ul.products {
	margin: 0;
	padding: 0;
}

ul.products li.product {
	list-style: none;
	position: relative;
	margin-bottom: 2em;
}

ul.products li.product img {
	display: block;
}

ul.products li.product .button {
	display: block;
}

@media screen and (min-width: 48em) {

	ul.products li.product {
		width: 30.79667%;
		float: left;
		margin-right: 3.8%;
	}

	ul.products li.product.first {
		clear: both;
	}

	ul.products li.product.last {
		margin-right: 0;
	}

	ul.products.columns-1 li.product {
		float: none;
		width: 100%;
	}

	ul.products.columns-2 li.product {
		width: 48.1%;
	}

	ul.products.columns-3 li.product {
		width: 30.79667%;
	}

	ul.products.columns-4 li.product {
		width: 22.15%;
	}

	ul.products.columns-5 li.product {
		width: 16.96%;
	}

	ul.products.columns-6 li.product {
		width: 13.49333%;
	}
}

/**
 * Single product
 */
.single-product div.product {
	position: relative;
}

.single-product div.product .woocommerce-product-gallery {
	position: relative;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 2em;
	right: 1em;
	display: block;
	z-index: 99;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
	margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	margin: 0;
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	list-style: none;
	cursor: pointer;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	opacity: 0.5;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
	width: 48.1%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
	width: 30.79667%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: 22.15%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
	width: 16.96%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
	clear: both;
}

.stock:empty::before {
	display: none;
}

.stock.in-stock {
	color: #0f834d;
}

.stock.out-of-stock {
	color: #e2401c;
}

/**
 * Checkout
 */
@media screen and (min-width: 768px) {

	.col2-set .form-row-first {
		float: left;
		margin-right: 3.8%;
	}

	.col2-set .form-row-last {
		float: right;
		margin-right: 0;
	}

	.col2-set .form-row-first,
	.col2-set .form-row-last {
		width: 48.1%;
	}
}

/**
 * General WooCommerce components
 */

/**
 * Header cart
 */
.site-header-cart {
	position: relative;
	margin: 0;
	padding: 0;
}

.site-header-cart .cart-contents {
	text-decoration: none;
}

.site-header-cart .widget_shopping_cart {
	display: none;
}

.site-header-cart .product_list_widget {
	margin: 0;
	padding: 0;
}

/**
 * Star rating
 */
.star-rating {
	overflow: hidden;
	position: relative;
	height: 1.618em;
	line-height: 1.618;
	width: 5.3em;
	font-family: star;
	font-weight: 400;
}

.star-rating::before {
	content: "\53\53\53\53\53";
	opacity: 0.25;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
}

.star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
}

.star-rating span::before {
	content: "\53\53\53\53\53";
	top: 0;
	position: absolute;
	left: 0;
	color: #4169e1;
}

p.stars a {
	position: relative;
	height: 1em;
	width: 1em;
	text-indent: -999em;
	display: inline-block;
	text-decoration: none;
	margin-right: 1px;
	font-weight: 400;
}

p.stars a::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-family: star;
	content: "\53";
	color: var(--color-text-primary);
	text-indent: 0;
	opacity: 0.25;
}

p.stars a:hover~a::before {
	content: "\53";
	color: var(--color-text-primary);
	opacity: 0.25;
}

p.stars:hover a::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

p.stars.selected a.active::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

p.stars.selected a.active~a::before {
	content: "\53";
	color: var(--color-text-primary);
	opacity: 0.25;
}

p.stars.selected a:not(.active)::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

/**
 * Tabs
 */
.woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.woocommerce-tabs ul.tabs li {
	display: block;
	margin: 0;
	position: relative;
}

.woocommerce-tabs ul.tabs li a {
	padding: 1em 0;
	display: block;
}

.woocommerce-tabs .panel h2:first-of-type {
	margin-bottom: 1em;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
	text-align: right;
}

.woocommerce-password-strength.strong {
	color: #0f834d;
}

.woocommerce-password-strength.short {
	color: #e2401c;
}

.woocommerce-password-strength.bad {
	color: #e2401c;
}

.woocommerce-password-strength.good {
	color: #3d9cd2;
}

/**
 * Password field show/hide toggle (mirrors woocommerce-layout.css; required because
 * default WooCommerce styles are disabled via woocommerce_enqueue_styles).
 */
.woocommerce form .password-input,
.woocommerce-page form .password-input {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

.woocommerce form .password-input input[type="password"],
.woocommerce-page form .password-input input[type="password"] {
	padding-right: 2.5rem;
}

.woocommerce form .password-input input::-ms-reveal,
.woocommerce-page form .password-input input::-ms-reveal {
	display: none;
}

.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
	position: absolute;
	right: 0.7em;
	top: 0.7em;
	cursor: pointer;
}

.woocommerce form button.show-password-input,
.woocommerce-page form button.show-password-input {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
	min-width: 1.25em;
	min-height: 1.25em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font: inherit;
	color: inherit;
	line-height: 1;
}

.woocommerce form .show-password-input::after,
.woocommerce-page form .show-password-input::after {
	font-family: WooCommerce;
	speak: never;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	margin-left: 0.618em;
	content: "\e010";
	text-decoration: none;
}

.woocommerce form .show-password-input.display-password::after,
.woocommerce-page form .show-password-input.display-password::after {
	color: #585858;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
	box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
	box-shadow: inset 2px 0 0 #e2401c;
}

.required {
	color: #f00;
}

/**
 * Notices — site-styled
 */
.woocommerce-notices-wrapper {
	margin-bottom: 24px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	clear: both;
	list-style: none;
	margin: 0 0 16px;
	padding: 16px 20px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--site-text-color);
}

.woocommerce-message li,
.woocommerce-info li,
.woocommerce-error li {
	margin: 0;
	padding: 0;
}

.woocommerce-message {
	background: var(--color-white);
	border-left: 4px solid var(--color-green);
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
	background: var(--color-white);
	border-left: 4px solid var(--color-separator);
}

.woocommerce-error {
	background: #FDF5F5;
	border-left: 4px solid var(--color-error);
}

.demo_store {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 1em;
	background-color: #3d9cd2;
	z-index: 9999;
}

@media screen and (min-width: 48em) {

	/**
	 * Header cart
	 */
	.site-header-cart .widget_shopping_cart {
		position: absolute;
		top: 100%;
		width: 100%;
		z-index: 999999;
		left: -999em;
		display: block;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}

	.site-header-cart:hover .widget_shopping_cart,
	.site-header-cart.focus .widget_shopping_cart {
		left: 0;
		display: block;
	}
}

/**
 * WooCommerce widgets
 */

/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
	margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
	text-align: right;
	line-height: 2.4;
}

.widget_price_filter .price_slider_amount .button {
	float: left;
}

.widget_price_filter .ui-slider {
	position: relative;
	text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 1em;
	height: 1em;
	cursor: ew-resize;
	outline: none;
	background: #4169e1;
	box-sizing: border-box;
	margin-top: -0.25em;
	opacity: 1;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
	margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
	box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	background: #4169e1;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider-horizontal {
	height: 0.5em;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
	height: 100%;
}

/* =========================================================
   CUSTOM PRODUCT LOOP STYLES (HOTSMOKE CATEGORY REDESIGN)
   ========================================================= */

body.archive.woocommerce ul.products {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Break out of container to make full viewport width bands */
body.archive.woocommerce ul.products li.product {
	width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
	float: none !important;
	margin-bottom: 0 !important;
	padding: 40px 15px !important;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	clear: both;
}

body.archive.woocommerce {
	background-color: var(--color-bg-light);
}

body.archive.woocommerce ul.products li.product:nth-child(odd) {
	background-color: var(--color-bg-light);
	/* Light beige */
}

body.archive.woocommerce ul.products li.product:nth-child(even) {
	background-color: var(--color-border);
	/* Slightly darker beige */
}

/* Product Card Layout */
.product-card-wrap {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	position: relative;
	box-sizing: border-box;
}

/* Left Visual Side */
.product-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 20px;
}

.product-bg-leaf {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 250px;
	height: 250px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 0;
	opacity: 0.15;
	/* Watermark effect */
}




.product-image-link {
	position: relative;
	display: block;
	z-index: 1;
	text-align: center;
}



.product-image-link img.attachment-woocommerce_single {
	position: relative;
	z-index: 2;
	height: 250px;
	width: auto;
	object-fit: contain;
	margin: 0 auto;
}

/* Right Info Side */
.product-info {
	z-index: 2;
	padding: 0;
}

.product-header {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}

h2.woocommerce-loop-product__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 24px;
	color: var(--color-green);
	margin: 0 0 10px 0;
	line-height: 1.2;
}

h2.woocommerce-loop-product__title a {
	color: inherit;
	text-decoration: none;
	box-shadow: none;
}

.product-price-desktop {
	display: none;
	/* Hidden on mobile */
}

.product-spectrum-badge {
	display: inline-block;
	color: var(--color-white);
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.product-description-label {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 12px;
	color: var(--color-green);
	margin-bottom: 5px;
}

.product-short-description {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	color: #666;
	/* Keeping a softer color for excerpt, but matches font spec */
	line-height: 1.5;
	margin-bottom: 15px;
}

.product-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
}

.product-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.product-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	border: 1px solid #ddd;
	background-color: transparent;
	transition: all 0.3s ease;
	text-decoration: none;
}

.product-btn img {
	width: 20px;
	height: 20px;
	transition: filter 0.3s ease;
}

.product-btn:hover,
.product-btn:focus-visible {
	background-color: var(--color-white);
	border-color: var(--color-white);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-btn:hover img,
.product-btn:focus-visible img {
	filter: none;
}

body.archive.woocommerce ul.products li.product .product-actions .button.add_to_cart_button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background-color: var(--color-green);
	color: transparent;
	font-size: 0;
	/* Ensures "Į krepšelį" text is hidden */
	position: relative;
	padding: 0;
	transition: all 0.3s ease;
	margin: 0;
	min-height: auto;
}

body.archive.woocommerce ul.products li.product .product-actions .button.add_to_cart_button::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	background-image: url('../images/cart-plus-white.svg');
	/* Path relative to this file (assets/css/) */
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

body.archive.woocommerce ul.products li.product .product-actions .button.add_to_cart_button:hover,
body.archive.woocommerce ul.products li.product .product-actions .button.add_to_cart_button:focus-visible {
	background-color: #4a633c;
}

body.archive.woocommerce ul.products li.product .product-actions .button.add_to_cart_button:active {
	background-color: #2a3824;
}

body.archive.woocommerce ul.products li.product .product-actions .button.add_to_cart_button.error {
	background-color: #8b2e2e;
}

body.archive.woocommerce ul.products li.product .product-actions .button.added_to_cart {
	display: none;
	/* Hide standard added to cart text */
}

/* Hide "View cart" / "Krepšelis" link after add-to-cart on category */
body.archive.woocommerce .product-actions .added_to_cart.wc-forward {
	display: none !important;
}

.product-price-mobile {
	display: block;
	text-align: right;
	border-left: 1px solid var(--color-separator);
	padding-left: 20px;
}

.product-card-footer .price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
}

body.archive.woocommerce .product-card-footer .price del,
body.archive.woocommerce .product-card-footer .price del .amount {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 20px;
	color: var(--color-separator);
	text-decoration: line-through;
	margin-bottom: 2px;
	opacity: 1;
}

body.archive.woocommerce .product-card-footer .price ins,
body.archive.woocommerce .product-card-footer .price ins .amount,
body.archive.woocommerce .product-card-footer .price .amount {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 32px;
	color: var(--color-green);
	text-decoration: none;
}


body.archive.woocommerce ul.products li.product:last-child .product-timeline .timeline-line {
	bottom: 50%;
}

body.archive.woocommerce ul.products li.product:first-child .product-timeline .timeline-line {
	top: 50%;
}
.product-timeline {
	display: flex;
	position: absolute;
	left: 15px;
	/* Pushed further left from bottle */
	top: 0;
	height: 100%;
	flex-direction: row;
	align-items: center;
}
.timeline-line {
	position: absolute;
	left: -15px;
	top: -100px;
	bottom: -100px;
	width: 1px;
	background-color: rgba(0, 0, 0, 0.1);
	z-index: 1;
}



.timeline-dot {
	width: 7px;
	height: 7px;
	background-color: #848E80;
	border-radius: 50%;
	position: relative;
	z-index: 2;
	left: -18px;
}

.timeline-label {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 12px;
	color: #848E80;
}



/* TABLET STYLES — stacked layout, better padding */
@media screen and (min-width: 768px) {
	body.archive.woocommerce ul.products li.product {
		padding: 60px 15px !important;
	}
}
@media screen and (max-width: 1024px) {
	.product-timeline {
		display: none;
	}
}
/* DESKTOP STYLES — horizontal layout */
@media screen and (min-width: 1024px) {
	body.archive.woocommerce ul.products li.product {
		padding: 80px 15px !important;
	}

	.product-card-wrap {
		flex-direction: row;
		align-items: center;
	}

	/* Left Visual Side (approx 35% width to match design) */
	.product-visual {
		flex: 0 0 35%;
		padding-bottom: 0;
		justify-content: flex-end;
		padding-right: 30px;
	}

	.product-bg-leaf {
		width: 450px;
		height: 450px;
		left: unset;
		right: 30px;
		transform: translateY(-50%);
	}



	.product-image-link img {
		height: 350px;
	}


	/* Right Info Side (approx 65% width) */
	.product-info {
		flex: 0 0 65%;
		padding-left: 30px;
		max-width: 600px;
	}

	.product-header {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 15px;
	}

	.product-header h2.woocommerce-loop-product__title {
		font-size: 32px;
		margin: 0;
		padding-right: 20px;
		flex: 1;
	}

	.product-price-desktop {
		display: block;
		text-align: right;
	}

	.product-price-mobile {
		display: none;
	}

	.product-price-desktop .price {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-left: 30px;
		border-left: 1px solid rgba(0, 0, 0, 0.1);
		min-width: 120px;
	}

	body.archive.woocommerce .product-price-desktop .price del,
	body.archive.woocommerce .product-price-desktop .price del .amount {
		font-family: 'Poppins', sans-serif;
		font-weight: 400;
		font-style: normal;
		font-size: 20px;
		color: var(--color-separator);
		text-decoration: line-through;
		margin-bottom: 5px;
	}

	body.archive.woocommerce .product-price-desktop .price ins,
	body.archive.woocommerce .product-price-desktop .price ins .amount,
	body.archive.woocommerce .product-price-desktop .price .amount {
		font-family: 'Poppins', sans-serif;
		font-weight: 600;
		font-style: normal;
		font-size: 32px;
		color: var(--color-green);
		text-decoration: none;
	}

	.product-short-description {
		font-size: 14px;
		color: #4a4a4a;
	}

	.product-card-footer {
		justify-content: flex-end;
		border-top: none;
		padding-top: 0;
	}
}

/* =========================================================
   CATEGORY BOTTOM TEXT (single column, full width)
   ========================================================= */
.category-bottom-columns {
	background-color: #EAECE2;
}

.category-bottom-content {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 60px 15px;
	box-sizing: border-box;
}

@media screen and (min-width: 768px) {
	.category-bottom-content {
		padding: 80px 40px;
	}
}

.category-bottom-columns h3 {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-green);
	margin-bottom: 20px;
	font-family: var(--font-heading, "Poppins", sans-serif);
}

.category-bottom-columns p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* =========================================================
   CATEGORY/ARCHIVE PAGE FIXES (2025-03-10)
   - Issue 1: Hide breadcrumbs (Yoast WooCommerce outputs them)
   - Issue 2: Top spacing below header
   - Issue 3: Fix horizontal scroll from 100vw breakout elements
   ========================================================= */

/* Issue 1 — Hide breadcrumbs on category/archive pages */
body.tax-product_cat .breadcrumb.breadcrumbs.woo-breadcrumbs,
body.archive.woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs {
	display: none !important;
}

/* Issue 2 — Top padding is handled globally in style.css (.site-main { padding-top: 100px }) */

/* Category archive — H1 title spacing (restored via woocommerce_show_page_title) */
body.tax-product_cat .woocommerce-products-header {
	max-width: 1440px;
	padding: 0 15px;
	margin: 0 auto 1.5rem;
	box-sizing: border-box;
}

body.tax-product_cat .woocommerce-products-header__title {
	margin-bottom: 0;
}

.woocommerce-no-products-found {
	max-width: 1440px;
	padding: 0 15px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* Issue 3 — Fix horizontal scroll: 100vw includes scrollbar width and causes overflow.
   Scoped overflow-x to category/archive pages only (not blanket on body). */
body.tax-product_cat,
body.archive.woocommerce {
	overflow-x: hidden;
}

/* =========================================================
   SINGLE PRODUCT PAGE (design match)
   ========================================================= */
.hotsmoke-single-product {
	position: relative;
	padding-bottom: 60px;
}

.hotsmoke-single-product__back {
	margin-bottom: 24px;
}

.hotsmoke-single-product__back a {
	color: var(--color-green);
	text-decoration: none;
	font-size: 14px;
}

.hotsmoke-single-product__back a:hover {
	text-decoration: underline;
}

.hotsmoke-single-product__layout {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.hotsmoke-single-product__gallery-wrap {
	position: relative;
}

.hotsmoke-single-product__gallery-bg {
	position: absolute;
	inset: -20px;
	background-image: url('../images/big-cannabis-leaf-white.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.08;
	pointer-events: none;
	z-index: 0;
}

.hotsmoke-single-product__gallery-wrap .woocommerce-product-gallery {
	position: relative;
	z-index: 1;
}

.hotsmoke-single-product__badge {
	display: inline-block;
	background-color: var(--color-green);
	color: #A6B097;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 6px;
	margin-bottom: 12px;
}

.hotsmoke-single-product__summary-wrap .summary.entry-summary {
	padding: 0;
	margin: 0 0 24px 0;
}

/* Summary: title, rating, price, add to cart */
.hotsmoke-single-product .product_title {
	font-family: var(--font-heading, "Poppins", sans-serif);
	font-size: 28px;
	font-weight: 700;
	color: var(--color-green);
	margin: 0 0 12px 0;
	line-height: 1.2;
}

.hotsmoke-single-product .woocommerce-product-rating {
	margin-bottom: 16px;
}

.hotsmoke-single-product .price {
	margin-bottom: 20px;
}

.hotsmoke-single-product .price .amount,
.hotsmoke-single-product .price ins .amount {
	font-size: 28px;
	font-weight: 700;
	color: var(--color-green);
}

.hotsmoke-single-product .price del .amount {
	font-size: 16px;
	color: #999;
}

/* Variations: selectable boxes (pakuotė) */
.hotsmoke-single-product .variations {
	border: none;
	margin-bottom: 20px;
}

.hotsmoke-single-product .variations tr {
	display: block;
	border: none;
}

.hotsmoke-single-product .variations td {
	display: block;
	padding: 0;
	border: none;
}

.hotsmoke-single-product .variations .label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
	color: var(--color-green);
}

.hotsmoke-single-product .value {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hotsmoke-single-product .variations select {
	display: none;
}

/* Variation list as boxes: we keep default select; for custom boxes you'd need JS. Styling the form. */
.hotsmoke-single-product .single_variation_wrap {
	margin-top: 16px;
}

.hotsmoke-single-product .quantity {
	margin-bottom: 16px;
}

.hotsmoke-single-product .single_add_to_cart_button {
	display: inline-block;
	background-color: var(--color-green);
	color: var(--color-white);
	border: none;
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	margin-right: 12px;
	margin-top: 8px;
}

.hotsmoke-single-product .single_add_to_cart_button:hover {
	background-color: #2a3824;
}

/* Accordion */
.hotsmoke-single-product__accordion {
	border-top: 1px solid #e5e5e5;
	margin-top: 24px;
}

.hotsmoke-accordion-item {
	border-bottom: 1px solid #e5e5e5;
}

.hotsmoke-accordion-item__head {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	border: none;
	padding: 16px 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--color-green);
	cursor: pointer;
	text-align: left;
	font-family: inherit;
}

.hotsmoke-accordion-item__head:hover {
	color: #2a3824;
}

.hotsmoke-accordion-item__icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	position: relative;
}

.hotsmoke-accordion-item__icon::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 12px;
	height: 2px;
	background: var(--color-green);
	margin-top: -1px;
}

.hotsmoke-accordion-item__icon::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 50%;
	width: 2px;
	height: 12px;
	background: var(--color-green);
	margin-top: -6px;
	margin-left: 0;
	transition: transform 0.2s ease;
}

.hotsmoke-accordion-item.is-open .hotsmoke-accordion-item__icon::after {
	transform: rotate(90deg);
}

.hotsmoke-accordion-item__body {
	padding: 0 0 20px 0;
	font-size: 14px;
	line-height: 1.6;
	color: #666;
}

.hotsmoke-accordion-item__body p:last-child {
	margin-bottom: 0;
}

/* Leaf points row */
.hotsmoke-single-product__leaf-points {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 32px;
	margin-top: 32px;
	justify-content: flex-start;
}

.hotsmoke-leaf-point {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 120px;
}

.hotsmoke-leaf-point__icon {
	width: 48px;
	height: 48px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: 8px;
	flex-shrink: 0;
}

.hotsmoke-leaf-point__label {
	font-size: 12px;
	color: #666;
	line-height: 1.3;
}

/* Guarantees strip */
.hotsmoke-single-product__guarantees {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	font-size: 13px;
	color: #666;
}

/* Desktop: two columns */
@media screen and (min-width: 768px) {
	.hotsmoke-single-product__layout {
		flex-direction: row;
		align-items: flex-start;
		gap: 60px;
	}

	.hotsmoke-single-product__gallery-wrap {
		flex: 0 0 42%;
		max-width: 500px;
	}

	.hotsmoke-single-product__summary-wrap {
		flex: 1;
		min-width: 0;
	}

	.hotsmoke-single-product .product_title {
		font-size: 32px;
	}

	/* Hide sticky add to cart on desktop */
	.hotsmoke-sticky-add-to-cart {
		display: none !important;
	}
}

/* Mobile sticky add to cart bar */
.hotsmoke-sticky-add-to-cart {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: var(--color-white);
	border-top: 1px solid #e5e5e5;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	padding: 12px 16px;
	padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
}

.hotsmoke-sticky-add-to-cart.is-visible {
	display: block;
}

.hotsmoke-sticky-add-to-cart__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: 600px;
	margin: 0 auto;
}

.hotsmoke-sticky-add-to-cart__summary {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	flex: 1;
}

.hotsmoke-sticky-add-to-cart__label {
	font-size: 12px;
	color: #666;
	margin-bottom: 2px;
}

.hotsmoke-sticky-add-to-cart__value {
	font-size: 16px;
	font-weight: 600;
	color: var(--color-green);
}

.hotsmoke-sticky-add-to-cart__value .amount {
	font-weight: 600;
	color: var(--color-green);
}

.hotsmoke-sticky-add-to-cart__value del {
	color: #999;
	font-weight: 400;
}

.hotsmoke-sticky-add-to-cart__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: var(--color-green);
	color: var(--color-white);
	border: none;
	padding: 14px 20px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
}

.hotsmoke-sticky-add-to-cart__btn:hover {
	background-color: #2a3824;
}

.hotsmoke-sticky-add-to-cart__btn svg {
	flex-shrink: 0;
}

/* Sticky bar: mobile only, visible when scrolled past add-to-cart */
@media screen and (min-width: 768px) {
	.hotsmoke-sticky-add-to-cart {
		display: none !important;
	}
}

@media screen and (max-width: 767px) {
	.hotsmoke-sticky-add-to-cart {
		display: block;
		transform: translateY(100%);
		transition: transform 0.25s ease;
	}

	.hotsmoke-sticky-add-to-cart.is-visible {
		transform: translateY(0);
	}
}