/**
 * TP WooCart Ultimate - Public Styles
 *
 * @package TP_WooCart_Ultimate
 */

/* ==========================================================================
   CSS Variables (Defaults - overridden by dynamic styles)
   ========================================================================== */
:root {
	--tpwc-cart-bg: #ffffff;
	--tpwc-cart-width: 400px;
	--tpwc-cart-radius: 0px;
	--tpwc-header-bg: #f8f9fa;
	--tpwc-header-text: #1e1e1e;
	--tpwc-header-border: #e0e0e0;
	--tpwc-product-bg: #ffffff;
	--tpwc-product-title: #1e1e1e;
	--tpwc-product-price: #666666;
	--tpwc-product-border: #f0f0f0;
	--tpwc-qty-bg: #f8f9fa;
	--tpwc-qty-text: #1e1e1e;
	--tpwc-qty-border: #e0e0e0;
	--tpwc-qty-btn-bg: #e0e0e0;
	--tpwc-qty-btn-text: #1e1e1e;
	--tpwc-remove-btn: #dc3545;
	--tpwc-cart-btn-bg: #6c757d;
	--tpwc-cart-btn-text: #ffffff;
	--tpwc-checkout-btn-bg: #28a745;
	--tpwc-checkout-btn-text: #ffffff;
	--tpwc-floating-bg: #1e1e1e;
	--tpwc-floating-color: #ffffff;
	--tpwc-floating-size: 24px;
	--tpwc-badge-bg: #dc3545;
	--tpwc-badge-text: #ffffff;
	--tpwc-overlay-bg: rgba(0, 0, 0, 0.5);
	--tpwc-sale-price: #e53935;
}

/* ==========================================================================
   Overlay
   ========================================================================== */
.tpwc-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--tpwc-overlay-bg);
	z-index: 999998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tpwc-overlay.tpwc-active {
	opacity: 1;
	visibility: visible;
}

/* ==========================================================================
   Cart Container - Base
   ========================================================================== */
.tpwc-cart-container {
	position: fixed;
	z-index: 999999;
	background: var(--tpwc-cart-bg);
	display: flex;
	flex-direction: column;
	max-height: 100vh;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   Side Cart
   ========================================================================== */
.tpwc-cart-side-cart {
	top: 0;
	height: 100%;
	width: var(--tpwc-cart-width);
	max-width: 100%;
}

.tpwc-cart-side-cart.tpwc-position-right {
	right: 0;
	border-radius: var(--tpwc-cart-radius) 0 0 var(--tpwc-cart-radius);
	transform: translateX(100%);
}

.tpwc-cart-side-cart.tpwc-position-left {
	left: 0;
	border-radius: 0 var(--tpwc-cart-radius) var(--tpwc-cart-radius) 0;
	transform: translateX(-100%);
}

.tpwc-cart-side-cart.tpwc-active {
	transform: translateX(0);
}

/* ==========================================================================
   Popup Cart
   ========================================================================== */
.tpwc-cart-popup {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	width: var(--tpwc-cart-width);
	max-width: 90%;
	max-height: 90vh;
	border-radius: var(--tpwc-cart-radius);
	opacity: 0;
	visibility: hidden;
}

.tpwc-cart-popup.tpwc-active {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
	visibility: visible;
}

/* ==========================================================================
   Dropdown Cart
   ========================================================================== */
.tpwc-cart-dropdown {
	position: fixed;
	width: var(--tpwc-cart-width);
	max-width: 90vw;
	max-height: 70vh;
	border-radius: var(--tpwc-cart-radius);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	z-index: 999999;
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
	overflow: hidden;
}

.tpwc-cart-dropdown .tpwc-cart-body {
	max-height: calc(70vh - 120px);
	overflow-y: auto;
}

.tpwc-cart-dropdown.tpwc-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* ==========================================================================
   Cart Header
   ========================================================================== */
.tpwc-cart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
	background: var(--tpwc-header-bg);
	border-bottom: 1px solid var(--tpwc-header-border);
	flex-shrink: 0;
}

.tpwc-cart-title {
	margin: 0;
	font-size: var(--tpwc-header-font-size, 18px);
	font-weight: 600;
	color: var(--tpwc-header-text);
}

.tpwc-header-count {
	font-weight: 400;
	opacity: 0.7;
}


.tpwc-close-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
	color: var(--tpwc-close-btn, #666666);
	opacity: 0.7;
	transition: all 0.2s ease;
}

.tpwc-close-btn:hover {
	opacity: 1;
	color: var(--tpwc-close-btn-hover, #000000);
}

.tpwc-close-btn .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
}

/* ==========================================================================
   Cart Body
   ========================================================================== */
.tpwc-cart-body {
	flex: 1;
	overflow-y: auto;
	padding: 0;
}

/* Empty Cart */
.tpwc-empty-cart {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	text-align: center;
}

.tpwc-empty-cart .dashicons {
	font-size: 60px;
	width: 60px;
	height: 60px;
	color: var(--tpwc-empty-icon, #cccccc);
	margin-bottom: 20px;
}

.tpwc-empty-cart p {
	margin: 0 0 20px;
	color: var(--tpwc-empty-text, #666666);
	font-size: 16px;
}

/* Empty Cart Products */
.tpwc-empty-cart-products {
	padding: 20px;
	border-top: 1px solid var(--tpwc-border-color, #e5e5e5);
}

.tpwc-empty-cart-products-title {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 15px;
	color: var(--tpwc-text-color, #333333);
	text-align: center;
}

/* ==========================================================================
   Cart Items
   ========================================================================== */
.tpwc-cart-items {
	padding: 0;
}

.tpwc-cart-item {
	display: flex;
	align-items: flex-start;
	padding: 15px 20px;
	background: var(--tpwc-product-bg);
	border-bottom: 1px solid var(--tpwc-product-border);
	position: relative;
}

.tpwc-cart-item:last-child {
	border-bottom: none;
}

/* Item Image */
.tpwc-item-image {
	flex-shrink: 0;
	width: 70px;
	margin-right: 15px;
}

.tpwc-item-image img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}

/* Item Details */
.tpwc-item-details {
	flex: 1;
	min-width: 0;
}

.tpwc-item-title {
	font-weight: 600;
	font-size: var(--tpwc-product-title-size, 14px);
	color: var(--tpwc-product-title);
	margin-bottom: 5px;
	line-height: 1.3;
}

.tpwc-item-title a {
	color: inherit;
	text-decoration: none;
}

.tpwc-item-title a:hover {
	text-decoration: underline;
}

/* Sale Badge for hooks */
.tpwc-sale-badge {
	display: inline-block;
	background: var(--tpwc-sale-price, #e53935);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 6px;
	border-radius: 3px;
	margin-inline-end: 5px;
	vertical-align: middle;
}

/* Low Stock Overlay for hooks */
.low-stock-overlay {
	position: relative;
	display: inline-block;
}

.low-stock-label {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(220, 53, 69, 0.9);
	color: #fff;
	font-size: 10px;
	text-align: center;
	padding: 2px 4px;
}

.tpwc-item-price {
	color: var(--tpwc-product-price);
	font-size: var(--tpwc-product-price-size, 14px);
	margin-bottom: 8px;
}

.tpwc-item-price del {
	color: #999;
	font-size: 0.9em;
	margin-inline-end: 5px;
}

.tpwc-item-price ins {
	text-decoration: none;
	font-weight: 600;
	color: var(--tpwc-sale-price, #e53935);
}

.tpwc-item-subtotal {
	font-weight: 600;
	color: var(--tpwc-product-title);
	margin-top: 8px;
}

/* Variation Data */
.tpwc-cart-item .variation {
	font-size: 12px;
	color: #666;
	margin-bottom: 5px;
}

.tpwc-cart-item .variation dt,
.tpwc-cart-item .variation dd {
	display: inline;
	margin: 0;
}

.tpwc-cart-item .variation dt::after {
	content: ': ';
}

.tpwc-cart-item .variation dd::after {
	content: ', ';
}

.tpwc-cart-item .variation dd:last-child::after {
	content: '';
}

/* ==========================================================================
   Quantity Controls
   ========================================================================== */
.tpwc-item-quantity {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	border: 1px solid var(--tpwc-qty-border);
	border-radius: 4px;
	overflow: visible;
	width: auto !important;
	max-width: none !important;
	margin-top: 8px;
	background: var(--tpwc-qty-bg, #f8f9fa);
}

.tpwc-qty-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	min-width: 32px !important;
	height: 32px !important;
	background: var(--tpwc-qty-btn-bg, #e0e0e0) !important;
	border: none !important;
	cursor: pointer;
	font-size: 16px !important;
	font-weight: 700;
	color: var(--tpwc-qty-btn-text, #333) !important;
	transition: background 0.2s ease;
	line-height: 1 !important;
	padding: 0 !important;
	margin: 0 !important;
}

.tpwc-qty-btn:hover {
	background: #ccc !important;
}

.tpwc-qty-input {
	display: inline-block !important;
	width: 45px !important;
	min-width: 45px !important;
	height: 32px !important;
	text-align: center !important;
	border: none !important;
	border-inline-start: 1px solid var(--tpwc-qty-border) !important;
	border-inline-end: 1px solid var(--tpwc-qty-border) !important;
	background: var(--tpwc-qty-bg, #fff) !important;
	color: var(--tpwc-qty-text, #333) !important;
	font-size: 14px !important;
	-moz-appearance: textfield;
	padding: 0 !important;
	margin: 0 !important;
}

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

/* Remove Button */
.tpwc-remove-item {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
	color: var(--tpwc-remove-btn);
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.tpwc-remove-item:hover {
	opacity: 1;
	color: var(--tpwc-remove-btn-hover, #cc0000);
}

.tpwc-remove-item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

/* ==========================================================================
   Cart Footer
   ========================================================================== */
.tpwc-cart-footer {
	flex-shrink: 0;
	padding: 15px 20px;
	background: var(--tpwc-header-bg);
	border-top: 1px solid var(--tpwc-header-border);
}

/* ==========================================================================
   Coupon Section
   ========================================================================== */
.tpwc-coupon-section {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--tpwc-product-border);
}

.tpwc-coupon-form {
	display: flex;
	gap: 8px;
}

.tpwc-coupon-input {
	flex: 1;
	padding: 8px 12px;
	border: 1px solid var(--tpwc-product-border, #e0e0e0);
	border-radius: 4px;
	font-size: 13px;
	background: var(--tpwc-body-bg, #fff);
	color: var(--tpwc-product-title, #333);
}

.tpwc-coupon-input:focus {
	outline: none;
	border-color: var(--tpwc-btn-primary-bg, #333);
}

.tpwc-apply-coupon {
	padding: 8px 16px;
	background: var(--tpwc-btn-primary-bg, #333);
	color: var(--tpwc-btn-primary-text, #fff);
	border: none;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.tpwc-apply-coupon:hover {
	opacity: 0.85;
}

.tpwc-apply-coupon.tpwc-loading {
	opacity: 0.7;
	cursor: wait;
}

/* Applied Coupons Tags */
.tpwc-applied-coupons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.tpwc-coupon-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px 4px 12px;
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	border: 1px solid #a5d6a7;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #2e7d32;
}

.tpwc-coupon-tag.tpwc-loading {
	opacity: 0.6;
}

.tpwc-coupon-code {
	text-transform: uppercase;
}

.tpwc-remove-coupon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	background: rgba(255,255,255,0.8);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
}

.tpwc-remove-coupon:hover {
	background: #fff;
	transform: scale(1.1);
}

.tpwc-remove-coupon .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: #c62828;
}

/* Coupon Message */
.tpwc-coupon-message {
	display: none;
	margin-top: 8px;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 12px;
}

.tpwc-coupon-message.tpwc-success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
}

.tpwc-coupon-message.tpwc-error {
	background: #ffebee;
	color: #c62828;
	border: 1px solid #ef9a9a;
}

/* ==========================================================================
   Cart Totals
   ========================================================================== */
.tpwc-cart-totals {
	margin-bottom: 15px;
}

.tpwc-totals-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid var(--tpwc-product-border);
}

.tpwc-totals-row:last-child {
	border-bottom: none;
}

.tpwc-totals-label {
	color: var(--tpwc-subtotal-color, #666666);
	font-size: var(--tpwc-totals-font-size, 14px);
}

.tpwc-totals-value {
	font-weight: 600;
	font-size: var(--tpwc-totals-font-size, 14px);
	color: var(--tpwc-subtotal-color, #666666);
}

.tpwc-total {
	padding-top: 12px;
	margin-top: 5px;
	border-top: 2px solid var(--tpwc-product-border);
}

.tpwc-total .tpwc-totals-label,
.tpwc-total .tpwc-totals-value {
	font-size: calc(var(--tpwc-totals-font-size, 14px) + 2px);
	font-weight: 700;
	color: var(--tpwc-total-color, #333333);
}

/* Discount color */
.tpwc-discount .tpwc-totals-value {
	color: var(--tpwc-discount-color, #00a32a);
}

/* Fees Styling */
.tpwc-fee {
	font-size: var(--tpwc-totals-font-size, 14px);
}

.tpwc-fee .tpwc-totals-label {
	font-size: 13px;
}

.tpwc-fee-charge .tpwc-totals-value {
	color: var(--tpwc-product-title, #333);
}

.tpwc-fee-discount .tpwc-totals-value {
	color: var(--tpwc-sale-price, #e53935);
}

/* ==========================================================================
   Cart Buttons
   ========================================================================== */
.tpwc-cart-buttons {
	display: flex;
	gap: 10px;
}

.tpwc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	font-size: var(--tpwc-btn-font-size, 14px);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	flex: 1;
	text-align: center;
}

.tpwc-btn-primary {
	background: var(--tpwc-checkout-btn-bg);
	color: var(--tpwc-checkout-btn-text);
}

.tpwc-btn-primary:hover {
	background: var(--tpwc-checkout-btn-hover, var(--tpwc-checkout-btn-bg));
	color: var(--tpwc-checkout-btn-text);
}

.tpwc-btn-secondary {
	background: var(--tpwc-cart-btn-bg);
	color: var(--tpwc-cart-btn-text);
}

.tpwc-btn-secondary:hover {
	background: var(--tpwc-cart-btn-hover-bg, var(--tpwc-cart-btn-bg));
	color: var(--tpwc-cart-btn-text);
}

.tpwc-btn-secondary:hover {
	opacity: 0.9;
	color: var(--tpwc-cart-btn-text);
}

/* ==========================================================================
   Floating Icon
   ========================================================================== */
.tpwc-floating-icon {
	position: fixed;
	z-index: 999997;
	width: 56px;
	height: 56px;
	background: var(--tpwc-floating-bg);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tpwc-floating-icon:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	background: var(--tpwc-floating-hover-bg, var(--tpwc-floating-bg));
}


.tpwc-floating-icon-inner {
	display: flex;
	align-items: center;
	justify-content: center;
}

.tpwc-floating-icon i {
	font-size: var(--tpwc-floating-size);
	color: var(--tpwc-floating-color);
}

/* Floating Icon Positions */
.tpwc-floating-bottom-right {
	bottom: 30px;
	right: 30px;
}

.tpwc-floating-bottom-left {
	bottom: 30px;
	left: 30px;
}

.tpwc-floating-top-right {
	top: 30px;
	right: 30px;
}

.tpwc-floating-top-left {
	top: 30px;
	left: 30px;
}

/* Floating Count Badge */
.tpwc-floating-count {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 20px;
	height: 20px;
	background: var(--tpwc-badge-bg);
	color: var(--tpwc-badge-text);
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
}

/* ==========================================================================
   Shortcode Cart Icon
   ========================================================================== */
.tpwc-cart-icon-shortcode {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: pointer;
}

.tpwc-cart-icon-shortcode i {
	font-size: 24px;
	color: inherit;
}

.tpwc-cart-icon-shortcode .tpwc-cart-count {
	position: absolute;
	top: -8px;
	right: -8px;
	min-width: 18px;
	height: 18px;
	background: var(--tpwc-badge-bg);
	color: var(--tpwc-badge-text);
	border-radius: 9px;
	font-size: 10px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

/* ==========================================================================
   Loading State
   ========================================================================== */
.tpwc-loading {
	position: relative;
	pointer-events: none;
}

.tpwc-loading::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tpwc-cart-item.tpwc-loading {
	opacity: 0.5;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes tpwc-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes tpwc-slide-in-right {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}

@keyframes tpwc-slide-in-left {
	from {
		transform: translateX(-100%);
	}
	to {
		transform: translateX(0);
	}
}

@keyframes tpwc-scale-in {
	from {
		transform: translate(-50%, -50%) scale(0.9);
		opacity: 0;
	}
	to {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 480px) {
	.tpwc-cart-side-cart,
	.tpwc-cart-popup {
		width: 100%;
		max-width: 100%;
	}

	.tpwc-cart-side-cart {
		border-radius: 0;
	}

	.tpwc-floating-icon {
		width: 50px;
		height: 50px;
	}

	.tpwc-floating-bottom-right,
	.tpwc-floating-bottom-left {
		bottom: 20px;
	}

	.tpwc-floating-bottom-right {
		right: 20px;
	}

	.tpwc-floating-bottom-left {
		left: 20px;
	}
}


/* ==========================================================================
   Related Products / Upsells / Cross-sells
   ========================================================================== */
.tpwc-related-section {
	padding: 15px 20px;
	border-top: 1px solid var(--tpwc-product-border);
}

.tpwc-related-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--tpwc-product-title);
	margin: 0 0 15px;
}

.tpwc-products-carousel {
	margin: 0 -5px;
	direction: ltr;
}

.tpwc-related-product {
	padding: 0 5px;
	text-align: center;
}

.tpwc-related-product a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.tpwc-related-product img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin-bottom: 8px;
}

.tpwc-related-product-title {
	font-size: 12px;
	font-weight: 500;
	color: var(--tpwc-product-title);
	margin: 0 0 5px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tpwc-related-product-price {
	font-size: 12px;
	color: var(--tpwc-product-price);
	display: block;
	margin-bottom: 8px;
}

.tpwc-add-to-cart-btn {
	width: 100%;
	padding: 8px 12px;
	background: var(--tpwc-checkout-btn-bg);
	color: var(--tpwc-checkout-btn-text);
	border: none;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.tpwc-add-to-cart-btn:hover {
	opacity: 0.9;
}

/* OWL Carousel Overrides */
.tpwc-products-carousel .owl-nav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.tpwc-products-carousel .owl-nav button {
	width: 28px;
	height: 28px;
	background: var(--tpwc-cart-bg) !important;
	border: 1px solid var(--tpwc-product-border) !important;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: auto;
	font-size: 18px !important;
	color: var(--tpwc-product-title) !important;
}

.tpwc-products-carousel .owl-nav button:hover {
	background: var(--tpwc-header-bg) !important;
}

.tpwc-products-carousel .owl-nav .owl-prev {
	margin-left: -10px;
}

.tpwc-products-carousel .owl-nav .owl-next {
	margin-right: -10px;
}

.tpwc-products-carousel .owl-dots {
	text-align: center;
	margin-top: 10px;
}

.tpwc-products-carousel .owl-dot {
	width: 8px;
	height: 8px;
	background: var(--tpwc-product-border);
	border-radius: 50%;
	margin: 0 3px;
	display: inline-block;
}

.tpwc-products-carousel .owl-dot.active {
	background: var(--tpwc-checkout-btn-bg);
}

/* ==========================================================================
   Free Shipping Progress Bar
   ========================================================================== */
.tpwc-free-shipping-bar {
	padding: 12px 15px;
	background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e9 100%);
	border-bottom: 1px solid var(--tpwc-product-border);
}

.tpwc-free-shipping-bar.tpwc-shipping-bar-bottom {
	border-bottom: none;
	border-top: 1px solid var(--tpwc-product-border);
	margin-top: 10px;
}

.tpwc-shipping-message {
	font-size: 13px;
	margin-bottom: 8px;
	text-align: center;
	font-weight: 500;
}

.tpwc-shipping-remaining {
	color: #5d4037;
}

.tpwc-shipping-achieved {
	color: #2e7d32;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.tpwc-shipping-achieved .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #2e7d32;
}

.tpwc-progress-bar {
	height: 8px;
	background: rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	overflow: hidden;
}

.tpwc-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #66bb6a 0%, #43a047 100%);
	border-radius: 4px;
	transition: width 0.4s ease;
}

.tpwc-shipping-achieved + .tpwc-progress-bar .tpwc-progress-fill {
	background: linear-gradient(90deg, #43a047 0%, #2e7d32 100%);
}

/* ==========================================================================
   Collapsible Footer
   ========================================================================== */
.tpwc-footer-toggle {
	display: none;
	width: 100%;
	padding: 8px;
	background: transparent;
	border: none;
	cursor: pointer;
	text-align: center;
	color: var(--tpwc-header-text);
	transition: background 0.2s ease;
}

.tpwc-footer-toggle:hover {
	background: rgba(0, 0, 0, 0.05);
}

.tpwc-footer-toggle .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease;
}

.tpwc-footer-collapsible .tpwc-footer-toggle {
	display: block;
}

.tpwc-totals-collapsible {
	overflow: hidden;
	max-height: 500px;
	transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
	opacity: 1;
}

.tpwc-footer-collapsed .tpwc-totals-collapsible {
	max-height: 0;
	opacity: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.tpwc-footer-collapsed .tpwc-footer-toggle .dashicons {
	transform: rotate(180deg);
}

.tpwc-cart-body a.added_to_cart {
	display: none !important;
}