/**
 * Erbaa Yaprak - WooCommerce Styles (Premium)
 *
 * Custom styles for WooCommerce: shop, product, cart, checkout, my account.
 * Uses design tokens from main.css.
 *
 * @package Erbaa_Yaprak
 * @since 1.0.0
 */

/* ========================================
   Shop / Archive Page
   ======================================== */

.woocommerce-products-header { margin-bottom: 32px; }

.woocommerce-products-header__title {
	font-family: var(--font-heading);
	color: var(--text-dark);
	font-size: 2rem;
	margin: 0 0 10px;
}

.woocommerce-result-count {
	color: var(--text-muted);
	font-size: 0.88rem;
	margin: 0;
}

.woocommerce-ordering { margin-bottom: 24px; }

.woocommerce-ordering select {
	padding: 10px 16px;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 0.9rem;
	font-family: var(--font-body);
	background-color: var(--bg-white);
	color: var(--text-body);
	transition: border-color var(--transition-base);
}

.woocommerce-ordering select:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Product Grid - base styles in main.css, extensions here */
.woocommerce ul.products li.product {
	margin: 0;
	width: 100% !important;
	float: none;
	position: relative;
	text-align: center;
}

.woocommerce ul.products li.product a img {
	margin: 0;
	border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.woocommerce ul.products li.product .star-rating {
	margin: 8px auto;
	font-size: 0.85rem;
	color: var(--gold);
}

/* Sale Badge */
.woocommerce span.onsale {
	background: var(--error);
	color: var(--bg-white);
	font-weight: 700;
	min-width: auto; min-height: auto;
	line-height: 1;
	padding: 6px 14px;
	border-radius: 4px;
	top: 12px; left: 12px; right: auto;
	font-size: 0.75rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

/* ========================================
   Single Product - Premium 2-Column Layout
   ======================================== */

.woocommerce-single-product .container {
	max-width: 1200px;
}

.single-product div.product {
	display: block !important;
	width: 100%;
}

/* ---- Gallery (Left Column) ---- */
.single-product div.product .woocommerce-product-gallery {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
	padding: 0;
}

/* Main gallery image */
.single-product div.product .woocommerce-product-gallery__image img,
.single-product div.product .woocommerce-product-gallery .wp-post-image {
	border-radius: 12px;
	width: 100%;
	height: auto;
	display: block;
}

/* Flexslider viewport */
.single-product div.product .woocommerce-product-gallery .flex-viewport {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Flexslider thumbnails */
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	padding: 0;
	list-style: none;
	overflow-x: auto;
}

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

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	border-radius: 8px;
	border: 2px solid #e5e0d8;
	transition: all 0.3s ease;
	cursor: pointer;
	opacity: 0.65;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	border-color: var(--accent, #6ba33e);
	opacity: 1;
	box-shadow: 0 2px 8px rgba(107, 163, 62, 0.25);
}

/* WooCommerce photoswipe trigger */
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition: all 0.3s ease;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
	background: #fff;
	transform: scale(1.1);
}

/* ---- Summary (Right Column) ---- */
.single-product div.product .summary {
	width: 100% !important;
	float: none !important;
}

/* Product Title */
.single-product div.product .product_title {
	font-family: var(--font-heading);
	font-size: 2rem;
	color: var(--text-dark);
	margin: 0 0 8px;
	line-height: 1.25;
	font-weight: 700;
}

/* Star Rating */
.single-product div.product .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.single-product div.product .woocommerce-product-rating .star-rating {
	margin: 0;
}

.single-product div.product .woocommerce-review-link {
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* Price - Premium Card */
.single-product div.product .price {
	font-size: 1.6rem;
	color: var(--primary);
	font-weight: 700;
	margin-bottom: 20px;
	padding: 14px 20px;
	background: linear-gradient(135deg, rgba(45, 80, 22, 0.06), rgba(107, 163, 62, 0.04));
	border-radius: 10px;
	border-left: 4px solid var(--accent, #6ba33e);
	display: inline-block;
}

.single-product div.product .price del {
	color: var(--text-muted);
	font-weight: 400;
	font-size: 1rem;
}

.single-product div.product .price ins {
	text-decoration: none;
	font-weight: 700;
	color: var(--error, #dc2626);
}

/* Short Description */
.single-product div.product .woocommerce-product-details__short-description {
	margin-bottom: 20px;
	color: var(--text-body);
	line-height: 1.8;
	font-size: 0.95rem;
}

/* Stock Status - inline */
.single-product div.product .stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.single-product div.product .stock.in-stock {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.single-product div.product .stock.out-of-stock {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* Quantity Input */
.woocommerce .quantity {
	display: inline-flex;
	align-items: center;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: border-color var(--transition-base);
}

.woocommerce .quantity:focus-within {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-glow);
}

.woocommerce .quantity .qty {
	width: 52px; padding: 10px 4px;
	border: none;
	text-align: center;
	font-size: 1rem;
	font-family: var(--font-body);
	background: transparent;
	-moz-appearance: textfield;
}

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

.woocommerce .quantity .qty:focus {
	outline: none;
}

.woocommerce .quantity .erbaa-qty-btn,
.woocommerce .quantity button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 42px;
	border: none;
	background: var(--bg-cream, #faf7f2);
	color: var(--text-dark);
	font-size: 1.1rem;
	cursor: pointer;
	transition: background var(--transition-base);
	line-height: 1;
	padding: 0;
}

.woocommerce .quantity .erbaa-qty-btn:hover,
.woocommerce .quantity button:hover {
	background: var(--accent);
	color: var(--text-dark);
}

/* Add to Cart Form Area */
.single-product form.cart {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	padding: 0;
	background: none;
	border: none;
	margin-top: 16px;
	margin-bottom: 12px;
}

.single-product form.cart .quantity {
	border-width: 2px;
	flex-shrink: 0;
}

/* Add to Cart Button */
.single-product .single_add_to_cart_button {
	flex: 1;
	min-width: 0;
	padding: 14px 32px !important;
	font-size: 1rem !important;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0.02em;
	background: linear-gradient(135deg, var(--primary), var(--primary-light, #2d5a14));
	color: var(--bg-white) !important;
	border: none;
	border-radius: var(--radius-sm);
	box-shadow: 0 4px 16px rgba(45, 80, 22, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.single-product .single_add_to_cart_button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
	transition: left 0.5s ease;
}

.single-product .single_add_to_cart_button:hover::before {
	left: 100%;
}

.single-product .single_add_to_cart_button:hover {
	box-shadow: 0 6px 24px rgba(45, 80, 22, 0.4);
	transform: translateY(-2px);
	filter: brightness(1.05);
}

.single-product .single_add_to_cart_button:active {
	transform: translateY(0);
}

/* Product Meta */
.single-product .product_meta {
	margin-top: 24px;
	padding: 16px 20px;
	background: var(--bg-cream, #faf7f2);
	border-radius: var(--radius-sm);
	font-size: 0.88rem;
	color: var(--text-muted);
}

.single-product .product_meta > span {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.single-product .product_meta > span:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.single-product .product_meta a {
	color: var(--accent-dark, #4a7c2e);
	font-weight: 500;
	transition: color 0.2s ease;
}

.single-product .product_meta a:hover {
	color: var(--primary);
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs {
	margin-top: 48px;
	padding-top: 48px;
	border-top: 1px solid var(--border-light, #eee);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0 0 0;
	padding: 0;
	display: flex;
	gap: 0;
	border-bottom: 2px solid var(--border, #e5e0d8);
	overflow: visible;
	background: var(--bg-cream, #faf7f2);
	border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 16px 28px;
	color: var(--text-muted);
	font-weight: 500;
	font-size: 0.95rem;
	font-family: var(--font-body);
	transition: all 0.3s ease;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--text-dark);
	background: rgba(45, 80, 22, 0.03);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--primary, #2d5016);
	border-bottom-color: var(--accent, #6ba33e);
	font-weight: 600;
	background: var(--bg-white, #fff);
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin: 0;
	padding: 32px;
	background: var(--bg-white, #fff);
	border: 1px solid var(--border-light, #eee);
	border-top: none;
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	line-height: 1.8;
	color: var(--text-body);
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	color: var(--text-dark);
	margin: 0 0 16px;
}

/* Related Products */
.single-product .related.products {
	margin-top: 56px;
	padding-top: 48px;
	border-top: 1px solid var(--border-light, #eee);
}

.single-product .related.products > h2 {
	font-family: var(--font-heading);
	font-size: 1.6rem;
	color: var(--text-dark);
	margin-bottom: 28px;
	position: relative;
	padding-bottom: 12px;
}

.single-product .related.products > h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background: var(--accent, #6ba33e);
	border-radius: 2px;
}

.single-product .related.products ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
}

/* ========================================
   Full-Width WooCommerce Pages (Cart, Checkout, Account)
   ======================================== */

.woocommerce-full-width .container {
	max-width: 1200px;
}

.woocommerce-full-width .woocommerce {
	width: 100%;
}

/* ========================================
   Cart Page - Premium Layout
   ======================================== */

.woocommerce-cart .woocommerce {
	width: 100%;
}

.woocommerce-cart-form {
	margin-bottom: 48px;
	width: 100%;
	overflow-x: auto;
}

.woocommerce-cart-form table {
	width: 100%;
	min-width: 600px;
}

.woocommerce table.shop_table {
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
	box-shadow: var(--shadow-sm);
}

.woocommerce table.shop_table thead {
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.woocommerce table.shop_table thead th {
	color: var(--bg-white);
	font-weight: 600; font-family: var(--font-body);
	padding: 16px 20px; border: none;
	font-size: 0.88rem; letter-spacing: 0.02em;
}

.woocommerce table.shop_table td {
	padding: 20px; border-top: 1px solid var(--border-light);
	vertical-align: middle; font-size: 0.92rem;
}

.woocommerce table.shop_table .product-thumbnail img {
	width: 80px; border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
}

.woocommerce table.shop_table .product-name a {
	color: var(--text-dark); font-weight: 600;
	font-family: var(--font-heading);
	transition: color var(--transition-base);
}

.woocommerce table.shop_table .product-name a:hover { color: var(--accent); }

.woocommerce table.shop_table .product-remove a {
	color: var(--error) !important;
	font-size: 1.2rem;
	transition: opacity var(--transition-base);
}

.woocommerce table.shop_table .product-remove a:hover { opacity: 0.7; }

.woocommerce table.shop_table .actions .coupon .input-text {
	padding: 12px 16px;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 0.9rem; font-family: var(--font-body);
	transition: border-color var(--transition-base);
}

.woocommerce table.shop_table .actions .coupon .input-text:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Cart Totals - Premium */
.woocommerce .cart-collaterals {
	margin-top: 40px;
	width: 100%;
}

.woocommerce .cart_totals {
	background: var(--bg-white);
	border-radius: var(--radius-md);
	padding: 32px;
	box-shadow: var(--shadow-md);
	border: 1px solid var(--border-light);
	max-width: 480px;
	margin-left: auto;
}

.woocommerce .cart_totals h2 {
	font-family: var(--font-heading);
	font-size: 1.4rem;
	color: var(--text-dark);
	margin: 0 0 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--accent, #6ba33e);
}

.woocommerce .cart_totals table {
	font-size: 0.95rem;
	width: 100%;
}

.woocommerce .cart_totals table th {
	color: var(--text-muted);
	font-weight: 500;
	padding: 14px 0;
	text-align: left;
}

.woocommerce .cart_totals table td {
	padding: 14px 0;
	text-align: right;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
	padding-top: 18px;
	border-top: 2px solid var(--border-light, #eee);
}

.woocommerce .cart_totals .order-total .amount {
	color: var(--primary);
	font-size: 1.5rem;
	font-weight: 700;
	font-family: var(--font-heading);
}

.woocommerce .wc-proceed-to-checkout {
	padding-top: 20px;
}

.woocommerce .wc-proceed-to-checkout .checkout-button {
	display: block;
	text-align: center;
	width: 100%;
	padding: 18px 28px;
	font-size: 1.1rem;
	font-weight: 700;
	background: linear-gradient(135deg, var(--primary), var(--primary-light, #2d5a14));
	color: var(--bg-white) !important;
	box-shadow: 0 4px 16px rgba(45, 80, 22, 0.3);
	border-radius: var(--radius-sm);
	border: none;
	transition: all 0.3s ease;
	text-transform: none;
	letter-spacing: 0.02em;
}

.woocommerce .wc-proceed-to-checkout .checkout-button:hover {
	box-shadow: 0 6px 24px rgba(45, 80, 22, 0.4);
	transform: translateY(-2px);
	filter: brightness(1.05);
}

/* Cart Coupon Area */
.woocommerce table.shop_table .actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding: 20px;
	background: var(--bg-cream, #faf7f2);
}

.woocommerce table.shop_table .actions .coupon {
	display: flex;
	gap: 10px;
	align-items: center;
}

.woocommerce table.shop_table .actions > .button {
	margin-left: auto;
}

/* ========================================
   Checkout Page - Premium Layout
   ======================================== */

.woocommerce-checkout .woocommerce {
	width: 100%;
}

.woocommerce-checkout .col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-bottom: 32px;
	width: 100%;
}

.woocommerce-checkout .col2-set h3 {
	font-family: var(--font-heading);
	font-size: 1.25rem; color: var(--text-dark);
	margin: 0 0 20px; padding-bottom: 12px;
	border-bottom: 2px solid var(--accent);
}

.woocommerce form .form-row { margin-bottom: 18px; }

.woocommerce form .form-row label {
	font-weight: 500; font-size: 0.88rem;
	margin-bottom: 6px; color: var(--text-dark);
	font-family: var(--font-body);
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
	padding: 12px 16px;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 0.95rem; width: 100%;
	font-family: var(--font-body);
	background: var(--bg-cream);
	transition: all var(--transition-base);
}

.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px var(--accent-glow);
	background: var(--bg-white);
}

/* Order Review */
#order_review_heading {
	font-family: var(--font-heading);
	font-size: 1.25rem; color: var(--text-dark);
	margin: 32px 0 20px; padding-bottom: 12px;
	border-bottom: 2px solid var(--accent);
}

.woocommerce-checkout-review-order-table { margin-bottom: 28px; }

/* Payment Methods */
.woocommerce-checkout #payment {
	background: var(--bg-white);
	border-radius: var(--radius-md);
	padding: 28px;
	box-shadow: var(--shadow-md);
	border: 1px solid var(--border-light);
}

.woocommerce-checkout #payment ul.payment_methods {
	list-style: none; margin: 0 0 24px; padding: 0; border: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
	padding: 16px;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	margin-bottom: 10px;
	transition: border-color var(--transition-base);
}

.woocommerce-checkout #payment ul.payment_methods li:hover,
.woocommerce-checkout #payment ul.payment_methods li.active {
	border-color: var(--accent);
}

.woocommerce-checkout #payment .place-order .button {
	width: 100%; padding: 18px;
	font-size: 1.1rem; font-weight: 700;
	text-transform: none;
	box-shadow: var(--shadow-gold);
	border-radius: var(--radius-sm);
}

.woocommerce-checkout #payment .place-order .button:hover {
	box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.4);
	transform: translateY(-2px);
}

/* ========================================
   My Account Page
   ======================================== */

.woocommerce-account .woocommerce-MyAccount-navigation {
	width: 240px; float: left; margin-right: 32px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none; margin: 0; padding: 0;
	background: var(--bg-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-light);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	border-bottom: 1px solid var(--border-light);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
	border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block; padding: 14px 22px;
	color: var(--text-body); font-weight: 500;
	font-family: var(--font-body); font-size: 0.92rem;
	transition: all var(--transition-base);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background: var(--primary); color: var(--bg-white);
}

.woocommerce-account .woocommerce-MyAccount-content { overflow: hidden; }

/* ========================================
   Mini Cart (Header Widget)
   ======================================== */

.widget_shopping_cart .cart_list {
	list-style: none; margin: 0; padding: 0;
}

.widget_shopping_cart .cart_list li {
	padding: 12px 0;
	border-bottom: 1px solid var(--border-light);
}

.widget_shopping_cart .cart_list li:last-child { border-bottom: none; }

.widget_shopping_cart .total {
	padding: 14px 0; font-weight: 600;
	border-top: 2px solid var(--border);
	font-family: var(--font-heading);
}

.widget_shopping_cart .buttons { display: flex; gap: 10px; }

.widget_shopping_cart .buttons a {
	flex: 1; text-align: center;
	padding: 12px; font-size: 0.85rem;
	border-radius: var(--radius-sm);
}

/* ========================================
   Product Category Widget
   ======================================== */

.product-categories { list-style: none; margin: 0; padding: 0; }
.product-categories li { margin-bottom: 2px; }

.product-categories li a {
	display: flex; justify-content: space-between;
	padding: 10px 14px; border-radius: var(--radius-sm);
	color: var(--text-body); font-size: 0.92rem;
	transition: all var(--transition-base);
}

.product-categories li a:hover {
	background: var(--accent-glow); color: var(--primary);
}

.product-categories li .count {
	background: var(--accent); color: var(--text-dark);
	font-size: 0.72rem; font-weight: 700;
	padding: 2px 10px; border-radius: 20px;
}

/* ========================================
   Star Rating
   ======================================== */

.woocommerce .star-rating { color: var(--gold); }
.woocommerce .star-rating::before { color: var(--border); }

/* ========================================
   AJAX Loading
   ======================================== */

.woocommerce .blockUI.blockOverlay {
	background-color: rgba(255, 255, 255, 0.8) !important;
	backdrop-filter: blur(4px);
}

.woocommerce .loader::before {
	border-top-color: var(--accent) !important;
}

/* ========================================
   Empty States
   ======================================== */

.woocommerce-info.wc-empty-cart-message,
.cart-empty {
	text-align: center; padding: 48px 24px;
}

.return-to-shop .button { margin-top: 20px; }

/* ========================================
   Shop Hero
   ======================================== */

.shop-hero {
	background: linear-gradient(135deg, var(--primary, #2d5016) 0%, var(--primary-light, #3d6b20) 50%, #4a7c2e 100%);
	border-radius: var(--radius-md, 12px);
	padding: 36px 40px;
	margin-bottom: 32px;
	position: relative;
	overflow: hidden;
}

.shop-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.shop-hero::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: 10%;
	width: 250px;
	height: 250px;
	background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.shop-hero-content {
	position: relative;
	z-index: 1;
}

.shop-hero-title {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}

.shop-hero-desc {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.92rem;
	line-height: 1.6;
	margin: 0 0 16px;
	max-width: 600px;
}

.shop-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.shop-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 500;
}

.shop-hero-badge svg {
	opacity: 0.9;
}

/* ========================================
   Shop Layout
   ======================================== */

.shop-layout {
	display: flex;
	gap: 32px;
}

.shop-content {
	flex: 1;
	min-width: 0;
}

.shop-sidebar {
	width: 280px;
	flex-shrink: 0;
	order: -1;
}

/* Sidebar Widgets */
.sidebar-widget {
	background: var(--bg-white, #fff);
	border-radius: var(--radius-md, 12px);
	padding: 20px;
	box-shadow: var(--shadow-sm, 0 1px 4px rgba(0,0,0,0.06));
	border: 1px solid var(--border-light, #eee);
	margin-bottom: 16px;
}

.sidebar-widget-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--text-dark, #1a1a1a);
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent, #6ba33e);
}

.sidebar-widget-title svg {
	color: var(--accent, #6ba33e);
	flex-shrink: 0;
}

/* Category List */
.sidebar-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-cat-item {
	margin-bottom: 2px;
}

.sidebar-cat-item a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--text-body, #4a4a4a);
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}

.sidebar-cat-item a:hover {
	background: var(--bg-cream, #faf7f2);
	color: var(--primary, #2d5016);
}

.sidebar-cat-item.active a {
	background: linear-gradient(135deg, var(--primary, #2d5016), var(--primary-light, #3d6b20));
	color: #fff;
	font-weight: 600;
}

.cat-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	border-radius: 12px;
	font-size: 0.72rem;
	font-weight: 600;
	background: rgba(0, 0, 0, 0.06);
	color: var(--text-muted, #888);
}

.sidebar-cat-item.active .cat-count {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

/* Price Range */
.price-range-display {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.price-min,
.price-max {
	font-size: 1rem;
	font-weight: 700;
	color: var(--primary, #2d5016);
	font-family: var(--font-heading);
}

.price-sep {
	color: var(--text-muted, #999);
	font-size: 0.8rem;
}

.price-range-bar {
	height: 6px;
	background: var(--border-light, #eee);
	border-radius: 3px;
	overflow: hidden;
}

.price-range-bar-fill {
	height: 100%;
	width: 100%;
	background: linear-gradient(90deg, var(--accent, #6ba33e), var(--primary, #2d5016));
	border-radius: 3px;
}

/* Info List */
.sidebar-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-info-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.sidebar-info-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.info-icon {
	font-size: 1.2rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.sidebar-info-list li div {
	display: flex;
	flex-direction: column;
}

.sidebar-info-list li strong {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-dark, #1a1a1a);
	margin-bottom: 1px;
}

.sidebar-info-list li span {
	font-size: 0.75rem;
	color: var(--text-muted, #888);
	line-height: 1.4;
}

/* Product grid: 3 columns when sidebar present */
.shop-layout .shop-content .woocommerce ul.products {
	grid-template-columns: repeat(3, 1fr);
}

/* Legacy widget styling */
.shop-sidebar .widget {
	background: var(--bg-white);
	border-radius: var(--radius-md);
	padding: 20px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-light);
	margin-bottom: 16px;
}

/* ========================================
   Shop Toolbar
   ======================================== */

.shop-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px 20px;
	background: var(--bg-white);
	border-radius: var(--radius-md);
	margin-bottom: 24px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-light);
}

.shop-toolbar-left {
	display: flex;
	align-items: center;
}

.shop-toolbar-left .woocommerce-result-count {
	margin: 0;
	font-size: 0.85rem;
	color: var(--text-muted, #888);
}

.shop-toolbar-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* WooCommerce ordering select in toolbar */
.shop-toolbar-right .woocommerce-ordering {
	margin: 0;
}

.shop-toolbar-right .woocommerce-ordering select,
.shop-toolbar-right .per-page-select {
	padding: 8px 12px;
	border: 1px solid var(--border, #e0dcd4);
	border-radius: var(--radius-sm, 8px);
	font-size: 0.82rem;
	font-family: var(--font-body);
	background: var(--bg-white);
	color: var(--text-body);
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.shop-toolbar-right .woocommerce-ordering select:focus,
.shop-toolbar-right .per-page-select:focus {
	border-color: var(--accent, #6ba33e);
	outline: none;
	box-shadow: 0 0 0 2px var(--accent-glow, rgba(107,163,62,0.15));
}

/* View Toggle */
.shop-view-toggle {
	display: flex; gap: 2px;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.view-toggle-btn {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	color: var(--text-muted);
	transition: all var(--transition-base);
}

.view-toggle-btn:hover,
.view-toggle-btn.active {
	background: var(--primary); color: var(--bg-white);
}

/* Per Page Select */
.per-page-select {
	padding: 8px 14px;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 0.85rem; font-family: var(--font-body);
	background: var(--bg-white); color: var(--text-body);
}

/* List View */
.products-list ul.products {
	grid-template-columns: 1fr !important;
}

.products-list .erbaa-product-card .product-card-inner {
	flex-direction: row;
}

.products-list .erbaa-product-card .product-card-image {
	width: 220px;
	flex-shrink: 0;
	aspect-ratio: auto;
}

.products-list .erbaa-product-card .product-card-image a img {
	height: 100%;
	object-fit: cover;
}

.products-list .erbaa-product-card .product-card-details {
	flex: 1;
	text-align: left;
}

.products-list .erbaa-product-card .product-card-details .product-card-category {
	justify-content: flex-start;
}

.products-list .erbaa-product-card .product-card-details .price {
	justify-content: flex-start;
}

/* Active Filters */
.shop-active-filters {
	display: flex; align-items: center; flex-wrap: wrap;
	gap: 10px; margin-bottom: 24px;
	padding: 14px 20px;
	background: var(--bg-white);
	border-radius: var(--radius-sm);
	border-left: 3px solid var(--accent);
	box-shadow: var(--shadow-sm);
}

.active-filters-label {
	font-weight: 600; font-size: 0.85rem; color: var(--text-dark);
}

.active-filter-tag {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px;
	background: var(--bg-warm);
	border-radius: 20px;
	font-size: 0.8rem; color: var(--text-body);
}

.active-filter-tag .remove-filter {
	display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.08);
	color: var(--text-muted);
	font-size: 0.7rem; line-height: 1;
	transition: all var(--transition-base);
}

.active-filter-tag .remove-filter:hover {
	background: var(--error); color: var(--bg-white);
}

.clear-all-filters { font-size: 0.8rem; color: var(--error); font-weight: 500; }
.clear-all-filters:hover { text-decoration: underline; }

/* ========================================
   Single Product Enhanced
   ======================================== */

/* ---- 2-Column Grid: Gallery | Summary ---- */
.single-product-top {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 48px;
	align-items: start;
	margin-bottom: 48px;
	width: 100%;
}

.single-product-gallery {
	position: sticky;
	top: calc(var(--header-height, 80px) + 24px);
	min-width: 0;
	overflow: hidden;
	align-self: start;
}

.single-product-summary {
	min-width: 0;
}

/* Info cards grid below gallery/summary */
.sp-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 48px;
}

/* Ensure gallery images don't overflow the grid column */
.single-product-gallery img {
	max-width: 100%;
	height: auto;
}

/* Gallery Main */
.erbaa-gallery-main {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: var(--bg-cream, #faf7f2);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.erbaa-gallery-main a {
	display: block;
	width: 100%;
}

.erbaa-gallery-main img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease;
}

.erbaa-gallery-main:hover img {
	transform: scale(1.03);
}

/* Gallery Thumbnails */
.erbaa-gallery-thumbnails {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.erbaa-gallery-thumb {
	width: 72px;
	height: 72px;
	border: 2px solid var(--border-light, #eee);
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	background: var(--bg-white, #fff);
	transition: all 0.3s ease;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.erbaa-gallery-thumb.active,
.erbaa-gallery-thumb:hover {
	border-color: var(--accent, #6ba33e);
	box-shadow: 0 2px 8px rgba(107, 163, 62, 0.25);
	transform: translateY(-2px);
}

.erbaa-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Zoom Hint */
.erbaa-zoom-hint {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 0.78rem;
	color: var(--text-muted);
	opacity: 0.7;
}

/* Product Tabs Enhanced */
.erbaa-product-tabs .tabs li a { display: flex; align-items: center; gap: 6px; }
.erbaa-product-tabs .tabs li a svg { opacity: 0.7; }
.erbaa-product-tabs .tabs li.active a svg { opacity: 1; }

/* ========================================
   Cart Enhanced (Classic)
   ======================================== */

.erbaa-cart-collaterals {
	display: grid; grid-template-columns: 1fr 400px;
	gap: 32px; align-items: start;
}

.cart-collaterals-main { min-width: 0; }

.cart-collaterals-sidebar {
	position: sticky;
	top: calc(var(--header-height) + 24px);
}

.cart-trust-badges {
	margin-top: 20px; padding: 20px;
	background: var(--bg-warm);
	border-radius: var(--radius-sm);
}

.cart-trust-item {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 0; font-size: 0.85rem; color: var(--text-muted);
}

.cart-trust-item svg { color: var(--sage); flex-shrink: 0; }

/* ========================================
   Checkout Enhanced (Classic)
   ======================================== */

.erbaa-checkout-layout {
	display: grid; grid-template-columns: 1.2fr 1fr;
	gap: 40px; align-items: start;
}

.erbaa-checkout-fields { min-width: 0; }

/* ========================================
   WooCommerce Block Cart & Checkout
   ======================================== */

/* Full-width WC pages: ensure entry-content & article span full width */
.woocommerce-full-width .entry-content,
.woocommerce-full-width article {
	width: 100%;
	max-width: 100%;
}

/* Ensure block cart/checkout fills container width */
.woocommerce-full-width .container {
	max-width: var(--container-width, 1280px);
	width: 100%;
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto;
}

/* Don't fight WC's flex layout - just ensure proper widths in is-loading state */
.wp-block-woocommerce-cart.is-loading .wp-block-woocommerce-cart-items-block {
	width: 65% !important;
}

.wp-block-woocommerce-cart.is-loading .wp-block-woocommerce-cart-totals-block {
	width: 35% !important;
}

/* After JS hydration, WC uses sidebar-layout */
.wc-block-cart .wc-block-cart__sidebar {
	position: sticky;
	top: calc(var(--header-height, 80px) + 24px);
}

/* Cart line items styling */
.wc-block-cart-items .wc-block-cart-items__row {
	padding: 20px 0;
	border-bottom: 1px solid var(--border-light, #eee);
}

.wc-block-cart-items .wc-block-cart-items__row:last-child {
	border-bottom: none;
}

.wc-block-cart-item__image img {
	border-radius: var(--radius-sm, 8px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wc-block-cart-item__product .wc-block-components-product-name {
	color: var(--text-dark, #1a1a1a);
	font-weight: 600;
	font-family: var(--font-heading);
	font-size: 1rem;
	text-decoration: none;
}

.wc-block-cart-item__product .wc-block-components-product-name:hover {
	color: var(--accent, #6ba33e);
}

/* Quantity selector in block cart */
.wc-block-components-quantity-selector {
	border: 2px solid var(--border, #e0dcd4);
	border-radius: var(--radius-sm, 8px);
	overflow: hidden;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	background: var(--bg-cream, #faf7f2);
	border: none;
	color: var(--text-dark, #1a1a1a);
	font-weight: 600;
	transition: background 0.2s ease;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
	background: var(--border-light, #eee);
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
	border: none;
	font-weight: 600;
	font-size: 0.95rem;
}

/* Cart totals panel styling */
.wc-block-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block,
.wp-block-woocommerce-cart-totals-block {
	background: var(--bg-white, #fff);
	border-radius: var(--radius-md, 12px);
	padding: 28px;
	box-shadow: var(--shadow-md, 0 4px 20px rgba(0,0,0,0.08));
	border: 1px solid var(--border-light, #eee);
}

/* Order summary heading */
.wp-block-woocommerce-cart-order-summary-heading-block .wc-block-components-totals-wrapper:first-child {
	padding-bottom: 16px;
	margin-bottom: 8px;
	border-bottom: 2px solid var(--accent, #6ba33e);
}

.wc-block-components-totals-item__label {
	color: var(--text-muted, #666);
	font-weight: 500;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--primary, #2d5016);
	font-size: 1.4rem;
	font-weight: 700;
	font-family: var(--font-heading);
}

/* Coupon form in block cart */
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__button {
	background: var(--primary, #2d5016);
	color: var(--bg-white, #fff);
	border-radius: var(--radius-sm, 8px);
	border: none;
	font-weight: 600;
}

.wc-block-components-totals-coupon .wc-block-components-totals-coupon__button:hover {
	filter: brightness(1.1);
}

.wc-block-components-totals-coupon input {
	border: 2px solid var(--border, #e0dcd4);
	border-radius: var(--radius-sm, 8px);
	padding: 10px 14px;
	font-family: var(--font-body);
}

.wc-block-components-totals-coupon input:focus {
	border-color: var(--accent, #6ba33e);
	outline: none;
	box-shadow: 0 0 0 3px var(--accent-glow, rgba(107,163,62,0.15));
}

/* Proceed to checkout button */
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	display: block;
	width: 100%;
	padding: 16px 28px !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	background: linear-gradient(135deg, var(--primary, #2d5016), var(--primary-light, #3d6b20)) !important;
	color: var(--bg-white, #fff) !important;
	border: none !important;
	border-radius: var(--radius-sm, 8px) !important;
	box-shadow: 0 4px 16px rgba(45, 80, 22, 0.3);
	transition: all 0.3s ease !important;
	text-transform: none;
	letter-spacing: 0.02em;
}

.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	box-shadow: 0 6px 24px rgba(45, 80, 22, 0.4);
	transform: translateY(-2px);
	filter: brightness(1.05);
}

/* Sale badge in cart */
.wc-block-cart-item__product .wc-block-components-sale-badge {
	background: var(--error, #dc2626);
	color: var(--bg-white, #fff);
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 2px 8px;
	border: none;
}

/* Remove item link */
.wc-block-cart-item__product .wc-block-cart-item__remove-link {
	color: var(--error, #dc2626);
	font-size: 0.82rem;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

.wc-block-cart-item__product .wc-block-cart-item__remove-link:hover {
	opacity: 1;
}

/* Empty cart block */
.wp-block-woocommerce-empty-cart-block {
	text-align: center;
	padding: 60px 20px;
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
	font-family: var(--font-heading);
	color: var(--text-dark, #1a1a1a);
}

/* ---- Block Checkout Styling ---- */

.wp-block-woocommerce-checkout-fields-block {
	min-width: 0;
}

.wp-block-woocommerce-checkout-totals-block {
	min-width: 0;
}

/* Checkout form fields */
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input {
	border: 2px solid var(--border, #e0dcd4) !important;
	border-radius: var(--radius-sm, 8px) !important;
	font-family: var(--font-body) !important;
	transition: border-color 0.2s ease !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	border-color: var(--accent, #6ba33e) !important;
	box-shadow: 0 0 0 3px var(--accent-glow, rgba(107,163,62,0.15)) !important;
}

/* Checkout section headings */
.wc-block-components-checkout-step .wc-block-components-checkout-step__heading {
	font-family: var(--font-heading);
	color: var(--text-dark, #1a1a1a);
}

/* Payment methods */
.wc-block-components-radio-control .wc-block-components-radio-control__option {
	padding: 14px 16px;
	border: 1px solid var(--border-light, #eee);
	border-radius: var(--radius-sm, 8px);
	margin-bottom: 8px;
	transition: border-color 0.2s ease;
}

.wc-block-components-radio-control .wc-block-components-radio-control__option:hover {
	border-color: var(--accent, #6ba33e);
}

/* Checkout order summary */
.wc-block-components-order-summary .wc-block-components-order-summary-item__image img {
	border-radius: var(--radius-sm, 8px);
}

/* Block cart/checkout responsive */
@media (max-width: 992px) {
	.wc-block-cart .wc-block-cart__sidebar {
		position: static;
	}
}

@media (max-width: 576px) {
	.wc-block-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block,
	.wp-block-woocommerce-cart-totals-block {
		padding: 20px;
	}
}

.erbaa-checkout-order {
	position: sticky;
	top: calc(var(--header-height) + 24px);
}

.order-review-section {
	background: var(--bg-white);
	border-radius: var(--radius-md);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-light);
}

/* Checkout Steps */
.checkout-steps {
	display: flex; justify-content: center;
	align-items: center; gap: 0;
	margin-bottom: 48px; padding: 24px;
}

.checkout-step {
	display: flex; align-items: center;
	gap: 10px; position: relative; padding: 0 32px;
}

.checkout-step:not(:last-child)::after {
	content: ""; position: absolute;
	right: -24px; top: 50%;
	width: 48px; height: 2px;
	background: var(--border);
}

.checkout-step.active:not(:last-child)::after {
	background: var(--accent);
}

.checkout-step .step-number {
	display: flex; align-items: center; justify-content: center;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--border);
	color: var(--text-muted);
	font-weight: 700; font-size: 0.9rem;
	font-family: var(--font-heading);
}

.checkout-step.active .step-number {
	background: var(--accent); color: var(--text-dark);
	box-shadow: var(--shadow-gold);
}

.step-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.checkout-step.active .step-label {
	color: var(--text-dark); font-weight: 600;
}

/* Checkout Section Title */
.checkout-section-title {
	display: flex; align-items: center; gap: 10px;
}

.checkout-section-title svg { color: var(--accent); }

/* Trust Badges */
.checkout-trust-badges {
	display: flex; flex-direction: column; gap: 8px;
	margin-top: 20px; padding: 20px;
	background: var(--bg-warm);
	border-radius: var(--radius-sm);
}

.checkout-trust-item {
	display: flex; align-items: center; gap: 10px;
	font-size: 0.82rem; color: var(--text-muted);
}

.checkout-trust-item svg { color: var(--sage); flex-shrink: 0; }

/* ========================================
   My Account Enhanced
   ======================================== */

.erbaa-my-account { max-width: 100%; }

.my-account-header {
	display: flex; align-items: center; gap: 24px;
	padding: 28px; background: var(--bg-white);
	border-radius: var(--radius-md);
	margin-bottom: 32px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-light);
}

.my-account-avatar img {
	border-radius: 50%; border: 3px solid var(--accent);
}

.my-account-name {
	margin: 0 0 4px; font-family: var(--font-heading);
	font-size: 1.25rem; color: var(--text-dark);
}

.my-account-email { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

.my-account-layout {
	display: grid; grid-template-columns: 260px 1fr; gap: 32px;
}

.my-account-navigation-wrapper .woocommerce-MyAccount-navigation ul {
	list-style: none; margin: 0; padding: 0;
	background: var(--bg-white);
	border-radius: var(--radius-md); overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-light);
}

.my-account-navigation-wrapper .woocommerce-MyAccount-navigation ul li {
	border-bottom: 1px solid var(--border-light);
}

.my-account-navigation-wrapper .woocommerce-MyAccount-navigation ul li:last-child {
	border-bottom: none;
}

.my-account-navigation-wrapper .woocommerce-MyAccount-navigation ul li a {
	display: block; padding: 16px 24px;
	color: var(--text-body); font-weight: 500;
	font-size: 0.92rem; font-family: var(--font-body);
	transition: all var(--transition-base);
}

.my-account-navigation-wrapper .woocommerce-MyAccount-navigation ul li.is-active a,
.my-account-navigation-wrapper .woocommerce-MyAccount-navigation ul li a:hover {
	background: var(--primary); color: var(--bg-white);
}

.my-account-content-wrapper {
	background: var(--bg-white);
	border-radius: var(--radius-md);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-light);
}

/* ========================================
   Single Product - Shipping & Trust Badges
   ======================================== */

/* Free shipping badge */
.sp-shipping-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: var(--radius-md, 8px);
	font-size: 0.9rem;
	font-weight: 600;
	margin-top: 20px;
}

.sp-shipping-free {
	background: linear-gradient(135deg, #ecfdf5, #d1fae5);
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.sp-shipping-free svg {
	color: #059669;
	flex-shrink: 0;
}

/* Shipping progress bar */
.sp-shipping-progress {
	margin-top: 20px;
	padding: 14px 18px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: var(--radius-md, 8px);
}

.sp-shipping-progress-text {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: #92400e;
	font-weight: 500;
	margin-bottom: 8px;
}

.sp-shipping-progress-text svg {
	color: #d97706;
	flex-shrink: 0;
}

.sp-shipping-bar {
	height: 6px;
	background: #fde68a;
	border-radius: 3px;
	overflow: hidden;
}

.sp-shipping-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #f59e0b, #d97706);
	border-radius: 3px;
	transition: width 0.6s ease;
}

/* Trust badges row */
.sp-trust-row {
	display: flex;
	gap: 16px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--border-light, #eee);
}

.sp-trust-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	color: var(--text-muted, #6b7280);
	font-weight: 500;
}

.sp-trust-item svg {
	color: var(--primary, #2d5016);
	flex-shrink: 0;
}

/* ========================================
   Responsive Overrides
   ======================================== */

/* ---- Mobile Filter Toggle Button ---- */
.mobile-filter-toggle {
	display: none;
}

.mobile-filter-overlay {
	display: none;
}

.mobile-filter-close {
	display: none;
}

@media (max-width: 992px) {
	/* Hide sidebar, show as slide-in panel */
	.shop-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		width: 85%;
		max-width: 340px;
		height: 100vh;
		height: 100dvh;
		background: var(--bg-white, #fff);
		z-index: 9999;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 60px 20px 20px;
		box-shadow: 4px 0 24px rgba(0,0,0,0.15);
		transform: translateX(-100%);
		visibility: hidden;
		transition: transform 0.3s ease, visibility 0.3s;
	}

	.shop-sidebar.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	/* Close button inside panel */
	.mobile-filter-close {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 12px;
		right: 12px;
		width: 36px;
		height: 36px;
		border: none;
		background: var(--bg-cream, #f5f2ed);
		border-radius: 50%;
		font-size: 1.4rem;
		color: var(--text-dark, #1a1a1a);
		cursor: pointer;
		z-index: 2;
		transition: background 0.2s;
	}

	.mobile-filter-close:hover {
		background: var(--border, #ddd);
	}

	/* Filter toggle button */
	.mobile-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 10px 18px;
		background: var(--bg-white, #fff);
		border: 2px solid var(--border, #e0e0e0);
		border-radius: 10px;
		font-family: var(--font-body);
		font-size: 0.88rem;
		font-weight: 600;
		color: var(--text-dark, #1a1a1a);
		cursor: pointer;
		margin-bottom: 16px;
		transition: all 0.2s;
	}

	.mobile-filter-toggle:hover {
		border-color: var(--accent, #6ba33e);
		color: var(--accent, #6ba33e);
	}

	.mobile-filter-toggle svg {
		color: var(--accent, #6ba33e);
	}

	/* Overlay */
	.mobile-filter-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.4);
		z-index: 9998;
		opacity: 0;
		transition: opacity 0.3s;
	}

	.mobile-filter-overlay.is-visible {
		display: block;
		opacity: 1;
	}

	/* Sidebar categories back to vertical list in panel */
	.sidebar-cat-list {
		display: block;
	}

	.sidebar-cat-item {
		margin-bottom: 2px;
	}

	.sidebar-cat-item a {
		padding: 9px 12px;
		font-size: 0.88rem;
		border: none;
	}

	.shop-layout { flex-direction: column; }

	.shop-hero { padding: 28px 24px; }
	.shop-hero-title { font-size: 1.4rem; }

	.single-product-top { grid-template-columns: 1fr; gap: 12px; }
	.single-product-gallery { position: static; }
	.sp-info-grid { grid-template-columns: 1fr; }

	.erbaa-cart-collaterals { grid-template-columns: 1fr; }
	.cart-collaterals-sidebar { position: static; }

	.erbaa-checkout-layout { grid-template-columns: 1fr; }
	.erbaa-checkout-order { position: static; }

	.woocommerce-checkout .col2-set { grid-template-columns: 1fr; }

	.woocommerce .cart_totals { max-width: 100%; }

	.my-account-layout { grid-template-columns: 1fr; }

	.single-product-trust { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	/* Shop toolbar - compact single row */
	.shop-toolbar {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 8px 12px;
		gap: 8px;
		margin-bottom: 12px;
	}

	.shop-toolbar-left .woocommerce-result-count {
		font-size: 0.75rem;
	}

	.shop-toolbar-right {
		display: flex;
		align-items: center;
		gap: 6px;
		flex-wrap: nowrap;
	}

	/* Hide view toggle & per-page on mobile - not needed */
	.shop-view-toggle,
	.shop-per-page { display: none; }

	.shop-toolbar-right .woocommerce-ordering select {
		padding: 6px 8px;
		font-size: 0.75rem;
	}

	/* Filtrele button - compact */
	.mobile-filter-toggle {
		padding: 8px 14px;
		font-size: 0.82rem;
		margin-bottom: 8px;
		border-width: 1px;
		border-radius: 8px;
	}

	.mobile-filter-toggle svg { width: 16px; height: 16px; }

	/* Shop hero compact */
	.shop-hero { padding: 20px 16px; margin-bottom: 12px; }
	.shop-hero-title { font-size: 1.2rem; margin-bottom: 6px; }
	.shop-hero-desc { font-size: 0.82rem; margin-bottom: 10px; }
	.shop-hero-badges { gap: 6px; }
	.shop-hero-badge { font-size: 0.68rem; padding: 4px 8px; }

	/* Sidebar info is now inside the slide-in filter panel */

	/* Force 2-column product grid on mobile (override shop-layout 3-col) */
	.shop-layout .shop-content .woocommerce ul.products,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px;
	}

	.products-list .erbaa-product-card .product-card-inner { flex-direction: column; }
	.products-list .erbaa-product-card .product-card-image { width: 100%; }

	.checkout-steps { padding: 12px; }
	.checkout-step { padding: 0 16px; }
	.step-label { display: none; }

	.erbaa-gallery-thumbnails { overflow-x: auto; }

	.my-account-header { flex-direction: column; text-align: center; }

	/* Cart Table */
	.woocommerce table.shop_table { font-size: 0.85rem; }
	.woocommerce table.shop_table .product-thumbnail { display: none; }
}

@media (max-width: 576px) {
	.single-product div.product .product_title { font-size: 1.5rem; }
	.single-product div.product .price { font-size: 1.25rem; padding: 12px 16px; display: block; }

	.woocommerce table.shop_table thead th { padding: 12px 14px; font-size: 0.82rem; }
	.woocommerce table.shop_table td { padding: 14px; }

	.woocommerce .cart_totals { padding: 20px; }
	.woocommerce-checkout #payment { padding: 20px; }
	.order-review-section { padding: 20px; }
	.my-account-content-wrapper { padding: 20px; }

	.checkout-step .step-number { width: 32px; height: 32px; font-size: 0.8rem; }

	.single-product-trust { grid-template-columns: 1fr; gap: 8px; }
}

/* ========================================
   FOMO & Product Detail Enhancements
   ======================================== */

/* Social proof - sales count */
.fomo-sales-count {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 6px;
	font-size: 0.8rem;
	color: #166534;
	margin-top: 10px;
}

.fomo-sales-count svg {
	flex-shrink: 0;
	color: #16a34a;
}

/* Live viewer count */
.fomo-viewers {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	background: #fefce8;
	border: 1px solid #fde68a;
	border-radius: 6px;
	font-size: 0.8rem;
	color: #854d0e;
	margin-top: 6px;
}

.fomo-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: #ef4444;
	border-radius: 50%;
	animation: fomo-pulse 1.5s ease-in-out infinite;
	flex-shrink: 0;
}

@keyframes fomo-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.8); }
}

/* Stock status with urgency */
.single-product-stock {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	margin-top: 12px;
}

.single-product-stock.in-stock {
	color: #16a34a;
}

.single-product-stock.in-stock svg {
	color: #16a34a;
}

.single-product-stock.out-of-stock {
	color: #dc2626;
}

.single-product-stock.out-of-stock svg {
	color: #dc2626;
}

.stock-qty {
	font-weight: 400;
	color: #6b7280;
}

.stock-qty.stock-low {
	color: #dc2626;
	font-weight: 600;
	animation: stock-blink 2s ease-in-out infinite;
}

@keyframes stock-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.6; }
}

/* Free shipping progress bar */
.fomo-shipping-bar {
	margin-top: 8px;
	padding: 8px 12px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 6px;
}

.fomo-shipping-bar p {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	color: #1e40af;
	margin: 0 0 6px;
}

.fomo-shipping-bar svg {
	flex-shrink: 0;
}

.shipping-progress {
	height: 6px;
	background: #dbeafe;
	border-radius: 3px;
	overflow: hidden;
}

.shipping-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #3b82f6, #1d4ed8);
	border-radius: 3px;
	transition: width 0.5s ease;
}

/* Free shipping badge */
.fomo-free-shipping {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	font-size: 0.88rem;
	color: #166534;
	font-weight: 500;
	margin-top: 16px;
}

.fomo-free-shipping svg {
	color: #16a34a;
	flex-shrink: 0;
}

/* Product highlights */
.product-highlights {
	margin-top: 14px;
	padding: 12px 14px;
	background: var(--bg-cream, #faf7f2);
	border-radius: 8px;
}

.product-highlights h4 {
	font-size: 0.85rem;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 8px;
}

.product-highlights ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.product-highlights li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	color: #4a4a4a;
}

.product-highlights li svg {
	color: #16a34a;
	flex-shrink: 0;
}

/* Health benefits section */
.product-health-benefits {
	margin-top: 14px;
	padding: 12px 14px;
	background: #fef7f0;
	border-radius: 8px;
	border: 1px solid #fed7aa;
}

.product-health-benefits h4 {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #9a3412;
	margin: 0 0 8px;
}

.product-health-benefits h4 svg {
	color: #ea580c;
}

.health-benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.health-benefit {
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 6px;
}

.health-benefit strong {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 1px;
}

.health-benefit span {
	font-size: 0.74rem;
	color: #6b7280;
	line-height: 1.3;
}

/* Trust badges */
.single-product-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e5e0d8;
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	color: #4a4a4a;
	font-weight: 500;
	padding: 10px 12px;
	background: var(--bg-cream, #faf7f2);
	border-radius: var(--radius-sm);
}

.trust-item svg {
	color: var(--primary, #1a3a0a);
	flex-shrink: 0;
}

/* FOMO Recent purchase popup */
.fomo-recent-purchase {
	position: fixed;
	bottom: 100px;
	left: 20px;
	z-index: 9999;
	max-width: 320px;
}

.fomo-notification {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
	border-left: 4px solid #16a34a;
	animation: fomo-slide-in 0.4s ease-out;
}

@keyframes fomo-slide-in {
	from { opacity: 0; transform: translateX(-20px); }
	to { opacity: 1; transform: translateX(0); }
}

.fomo-notification svg {
	flex-shrink: 0;
	color: #16a34a;
	margin-top: 2px;
}

.fomo-notification div {
	flex: 1;
}

.fomo-notification strong {
	display: block;
	font-size: 0.88rem;
	color: #1a1a1a;
}

.fomo-notification span {
	font-size: 0.82rem;
	color: #6b7280;
}

.fomo-notification small {
	display: block;
	font-size: 0.75rem;
	color: #9ca3af;
	margin-top: 2px;
}

/* FOMO responsive */
@media (max-width: 768px) {
	.health-benefits-grid {
		grid-template-columns: 1fr;
	}
	.fomo-recent-purchase {
		bottom: 80px;
		left: 10px;
		right: 10px;
		max-width: none;
	}
}

/* ========================================
   FOMO 4-Card Grid
   ======================================== */

.sp-fomo-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin: 18px 0 20px;
}

.sp-fomo-card {
	position: relative;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px 12px;
	text-align: center;
	border-top: 3px solid #e5e7eb;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sp-fomo-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sp-fomo-card--countdown { border-top-color: #ef4444; }
.sp-fomo-card--viewers   { border-top-color: #3b82f6; }
.sp-fomo-card--cart      { border-top-color: #eab308; }
.sp-fomo-card--sales     { border-top-color: #22c55e; }

.sp-fomo-icon {
	font-size: 1.5rem;
	margin-bottom: 4px;
	line-height: 1;
}

.sp-fomo-label {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b7280;
	margin-bottom: 6px;
}

.sp-fomo-value {
	font-size: 0.82rem;
	font-weight: 500;
	color: #1f2937;
}

.sp-fomo-value span {
	font-weight: 700;
	font-size: 1.1rem;
}

/* Live dot indicator */
.sp-fomo-dot-live {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 8px;
	height: 8px;
	background: #ef4444;
	border-radius: 50%;
	animation: fomo-pulse 1.5s ease-in-out infinite;
}

/* Countdown boxes */
.sp-countdown-boxes {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.sp-countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #fef2f2;
	border-radius: 6px;
	padding: 4px 7px;
	min-width: 36px;
}

.sp-countdown-unit span {
	font-size: 1.15rem;
	font-weight: 800;
	color: #dc2626;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.sp-countdown-unit small {
	font-size: 0.6rem;
	font-weight: 600;
	color: #ef4444;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.sp-countdown-sep {
	font-size: 1rem;
	font-weight: 700;
	color: #dc2626;
	margin: 0 1px;
}

/* ========================================
   Feature & Health Cards
   ======================================== */

.sp-features-card,
.sp-health-card {
	margin-top: 16px;
	padding: 16px 18px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
}

.sp-features-card {
	background: linear-gradient(135deg, #f0fdf4 0%, #fafff7 100%);
	border-left: 4px solid #22c55e;
}

.sp-health-card {
	background: linear-gradient(135deg, #fef7f0 0%, #fffaf5 100%);
	border-left: 4px solid #f59e0b;
}

.sp-card-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.sp-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sp-card-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.84rem;
	color: #374151;
	line-height: 1.4;
}

.sp-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	font-size: 0.65rem;
	font-weight: 700;
	flex-shrink: 0;
}

.sp-features-card .sp-check {
	background: #dcfce7;
	color: #16a34a;
}

.sp-health-card .sp-check {
	background: #fef3c7;
	color: #d97706;
}

/* ========================================
   FOMO Grid Responsive
   ======================================== */

/* ========================================
   Single Product - Mobile Responsive
   ======================================== */

@media (max-width: 992px) {
	.sp-fomo-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.sp-info-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

@media (max-width: 768px) {

	/* ---- Single Product Page: Tight Mobile Layout ---- */

	/* Container breathing room */
	.woocommerce-single-product .container {
		padding: 0 12px;
	}

	/* Breadcrumbs — minimal */
	.woocommerce-single-product .erbaa-breadcrumbs {
		margin-bottom: 8px;
		font-size: 0.72rem;
		padding: 6px 0;
	}

	/* Top grid: single column, tight gap */
	.single-product-top {
		gap: 8px !important;
		margin-bottom: 10px;
	}

	/* Gallery */
	.erbaa-gallery-main {
		border-radius: 10px;
		box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	}

	.erbaa-gallery-thumbnails {
		display: flex;
		gap: 6px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 2px;
		margin-top: 8px;
	}

	.erbaa-gallery-thumb {
		flex-shrink: 0;
		width: 52px;
		height: 52px;
		border-radius: 6px;
		border-width: 1.5px;
	}

	.erbaa-zoom-hint { display: none; }

	/* Product title */
	.single-product div.product .product_title {
		font-size: 1.25rem;
		margin-bottom: 6px;
	}

	/* Summary: kill extra spacing */
	.single-product-summary .summary {
		padding: 0;
	}

	.single-product-summary .summary > * {
		margin-bottom: 6px;
	}

	/* Price */
	.single-product div.product .price {
		font-size: 1.15rem;
		margin-bottom: 6px;
		padding: 6px 10px;
	}

	/* Short description */
	.single-product div.product .woocommerce-product-details__short-description {
		font-size: 0.83rem;
		margin-bottom: 6px;
	}

	/* FOMO grid: tight 2x2 */
	.sp-fomo-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 6px;
		margin-bottom: 6px;
	}

	.sp-fomo-card {
		padding: 8px 6px;
		border-radius: 8px;
	}

	.sp-fomo-icon { font-size: 0.95rem; margin-bottom: 1px; }
	.sp-fomo-label { font-size: 0.6rem; }
	.sp-fomo-value { font-size: 0.68rem; }

	.sp-countdown-unit { min-width: 22px; padding: 2px 3px; }
	.sp-countdown-unit span { font-size: 0.8rem; }
	.sp-countdown-sep { font-size: 0.75rem; }

	/* Add to cart — inline, compact */
	.single-product div.product form.cart {
		margin-top: 8px;
		margin-bottom: 8px;
		gap: 8px;
		flex-wrap: nowrap;
		align-items: center;
	}

	.single-product div.product form.cart .quantity {
		width: auto;
		flex-shrink: 0;
	}

	.single-product div.product form.cart .single_add_to_cart_button {
		flex: 1;
		min-width: 0;
		justify-content: center;
		padding: 12px 16px !important;
		font-size: 0.9rem !important;
		border-radius: 10px;
	}

	/* Quantity wrapper */
	.quantity-wrapper {
		display: inline-flex;
		align-items: center;
	}

	.quantity-wrapper .qty-btn {
		width: 32px;
		height: 32px;
		font-size: 1rem;
	}

	.quantity-wrapper .qty {
		width: 36px;
		height: 32px;
		font-size: 0.85rem;
	}

	/* Shipping badge */
	.sp-shipping-badge,
	.sp-shipping-free {
		padding: 6px 10px;
		font-size: 0.78rem;
		margin-bottom: 4px;
		border-radius: 8px;
	}

	.sp-shipping-progress {
		margin-bottom: 4px;
		font-size: 0.76rem;
	}

	/* Product meta — compact */
	.product_meta {
		font-size: 0.75rem;
		padding: 4px 0;
		margin-bottom: 4px;
	}

	.product_meta > span {
		display: block;
		margin-bottom: 2px;
	}

	/* Trust row — inline, small */
	.sp-trust-row {
		display: flex;
		flex-wrap: wrap;
		gap: 5px;
		padding: 6px 0;
		margin-bottom: 0;
		justify-content: center;
	}

	.sp-trust-item {
		font-size: 0.7rem;
		gap: 3px;
		padding: 3px 7px;
		background: var(--bg-cream, #faf7f2);
		border-radius: 6px;
	}

	.sp-trust-item svg { width: 11px; height: 11px; }

	/* ---- Feature/Health cards below ---- */
	.sp-info-grid {
		gap: 8px;
		margin-top: 12px;
		margin-bottom: 12px;
	}

	.sp-features-card,
	.sp-health-card {
		padding: 12px;
		border-radius: 10px;
		margin-bottom: 0;
	}

	.sp-card-title {
		font-size: 0.85rem;
		margin-bottom: 6px;
	}

	.sp-card-list li {
		font-size: 0.78rem;
		padding: 2px 0;
	}

	.sp-check {
		width: 16px;
		height: 16px;
		font-size: 0.55rem;
	}

	/* ---- WooCommerce Tabs ---- */
	.woocommerce div.product .woocommerce-tabs {
		margin-top: 10px;
		margin-bottom: 12px;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs {
		padding: 0;
		margin-bottom: 16px;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		font-size: 0.8rem;
		padding: 8px 12px;
	}

	.woocommerce div.product .woocommerce-tabs .panel {
		padding: 14px;
		font-size: 0.85rem;
	}

	/* ---- Related Products ---- */
	.related.products,
	.upsells.products {
		margin-top: 20px;
		padding-top: 20px;
	}

	.related.products > h2,
	.upsells.products > h2 {
		font-size: 1.1rem;
		margin-bottom: 12px;
	}
}
