/* 420Express Wholesale Premium Catalog CSS */
:root { --p-green: #183d32; --light-green: #f4fbf7; --border: #e0e0e0; }

.exp420-catalog-wrapper {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
	color: #333;
	margin: 20px 0;
}
.exp420-catalog-wrapper * { box-sizing: border-box; }

.exp420-banner-wrapper { margin-bottom: 24px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.exp420-banner-img { width: 100%; max-height: 320px; object-fit: cover; display: block; }

.exp420-announcement {
	background: #f8faf9; border-left: 4px solid #198754; border-radius: 8px;
	padding: 20px 24px; margin-bottom: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.exp420-announcement-title { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.exp420-announcement-text { font-size: 14px; color: #555; line-height: 1.6; margin: 0; }

/* Widget UI */
.exp420-widget { 
	max-width: 100%; margin: 0 auto; background: #fff; border-radius: 12px; 
	box-shadow: 0 10px 30px rgba(0,0,0,0.08); overflow: hidden; 
}

/* Global Footer (Order Summary at Top) */
.exp420-order-summary-wrapper {
	background: #111;
}
.exp420-os-header {
	background: #111; color: #fff; padding: 15px 20px; font-weight: bold; font-size: 16px; 
	border-bottom: 1px solid #333; text-transform: uppercase; text-align: center;
}
.exp420-global-footer { 
	display: flex; flex-wrap: wrap; background: #111; color: #fff; 
}
.exp420-gf-card { 
	flex: 1; min-width: 120px; padding: 15px 20px; border-right: 1px solid #333; text-align: center; 
}
.exp420-gf-card:last-child { border-right: none; }
.exp420-gf-label { font-size: 11px; text-transform: uppercase; color: #aaa; margin-bottom: 5px; letter-spacing: 1px; }
.exp420-gf-val { font-size: 22px; font-weight: bold; color: #fff; }
.exp420-gf-highlight { color: #4caf50; }
.exp420-gf-warn { color: #ff9800; }

.exp420-action-footer {
	display: flex; justify-content: flex-end; gap: 15px; padding: 15px 20px; 
	background: #1a1a1a; border-bottom: 4px solid #ff9800;
}
.exp420-btn-clear {
	padding: 10px 20px; border: 1px solid #555; background: transparent; color: #ccc; 
	cursor: pointer; font-weight: bold; border-radius: 6px; transition: 0.2s;
}
.exp420-btn-clear:hover { background: #333; color: #fff; }
.exp420-btn-add-cart {
	padding: 10px 20px; border: none; background: #4caf50; color: #fff; 
	cursor: pointer; font-weight: bold; border-radius: 6px; transition: 0.2s;
}
.exp420-btn-add-cart:hover { background: #3d8c40; }

/* Tabs */
.exp420-tabs-nav { 
	display: flex; background: #f0f0f0; border-bottom: 2px solid var(--border); 
}
.exp420-tab-btn { 
	flex: 1; padding: 15px; text-align: center; font-weight: bold; cursor: pointer; 
	color: #666; transition: 0.2s; border-bottom: 3px solid transparent; 
}
.exp420-tab-btn:hover { color: #333; background: #e8e8e8; }
.exp420-tab-btn.active { 
	background: #fff; color: var(--p-green); border-bottom-color: var(--p-green); 
}

/* Header */
.exp420-w-header { 
	background: var(--p-green); color: #fff; padding: 15px 20px; font-weight: bold; 
	font-size: 18px; display: flex; justify-content: space-between; align-items: center;
}

/* Tiers Carousel */
.exp420-carousel-wrap { 
	background: var(--light-green); padding: 20px; position: relative; 
}
.exp420-viewport { overflow: hidden; margin: 0 40px; }
.exp420-track { display: flex; transition: transform 0.4s ease-in-out; }
.exp420-slide { padding: 0 10px; box-sizing: border-box; }

.exp420-card { 
	border: 2px solid #c8e6c9; background: #fff; padding: 20px 15px; border-radius: 8px; 
	text-align: center; opacity: 0.7; transition: 0.3s; height: 100%; box-sizing: border-box; 
	display: flex; flex-direction: column; justify-content: center;
}
.exp420-card:hover { opacity: 0.9; }
.exp420-card.retail { border-color: #e5e5e5; }
.exp420-card.active { 
	border-color: #ff9800; opacity: 1; transform: scale(1.03); 
	box-shadow: 0 4px 10px rgba(255,152,0,0.2); 
}

.exp420-card-label { font-weight: bold; color: var(--p-green); font-size: 16px; margin-bottom: 5px; }
.exp420-card.retail .exp420-card-label { color: #888; }
.exp420-card-range { font-size: 13px; color: #666; margin-bottom: 15px; }
.exp420-card-price { font-size: 20px; font-weight: bold; color: #d84315; margin-bottom: 5px; }
.exp420-card.retail .exp420-card-price { color: #333; font-size: 16px; }
.exp420-card-subtext { font-size: 12px; color: #888; }

/* Carousel Navigation Buttons */
.exp420-btn {
	position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; z-index: 10 !important;
	width: 36px !important; height: 36px !important; border-radius: 50% !important; background: #fff !important; 
	border: 1px solid #eaeaea !important; color: #333 !important;
	display: flex !important; align-items: center !important; justify-content: center !important; 
	box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
	cursor: pointer !important; transition: all 0.2s !important; padding: 0 !important; outline: none !important;
	font-size: 20px !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; 
	font-weight: 300 !important; line-height: 1 !important;
}
.exp420-btn:hover { background: #f8f9fa !important; border-color: #ccc !important; box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important; }
.exp420-btn.exp420-prev-btn { left: 10px !important; }
.exp420-btn.exp420-next-btn { right: 10px !important; }

/* Carousel Dots */
.exp420-dots { display: flex; justify-content: center; margin-top: 15px; gap: 8px; }
.exp420-dot { width: 10px; height: 10px; background: #ccc; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.exp420-dot.active { background: var(--p-green); transform: scale(1.2); }

/* Products Scrollable Area */
.exp420-product-list-container { 
	padding: 0 20px; max-height: 400px; overflow-y: auto; background: #fff;
}
.exp420-product-list-container::-webkit-scrollbar { width: 8px; }
.exp420-product-list-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.exp420-product-item { 
	display: flex; align-items: center; justify-content: space-between; padding: 15px 0; 
	border-bottom: 1px solid var(--border); 
}
.exp420-product-item:last-child { border-bottom: none; }
.exp420-product-thumb { 
	width: 40px; height: 40px; flex-shrink: 0; border-radius: 4px; overflow: hidden; 
	background: #f9f9f9; border: 1px solid #eee; margin-right: 15px; 
}
.exp420-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp420-product-info { flex: 1; }
.exp420-product-title { font-weight: bold; font-size: 16px; margin-bottom: 2px; }
.exp420-product-price { color: #666; font-size: 14px; }
.exp420-product-qty input { 
	width: 60px; padding: 8px; text-align: center; border: 1px solid #ccc; 
	border-radius: 4px; font-size: 16px; font-weight: bold;
}
.exp420-product-qty input:focus { outline: none; border-color: var(--p-green); }

@media (max-width: 768px) {
	.exp420-global-footer { flex-direction: column; }
	.exp420-gf-card { border-right: none; border-bottom: 1px solid #333; }
	.exp420-w-header { flex-direction: column; align-items: flex-start; gap: 5px; }
	.exp420-action-footer { justify-content: center; flex-wrap: wrap; }
}

/* Local Footer */
.exp420-footer { display: flex; flex-wrap: wrap; background: #f8f9fa; border-top: 1px solid var(--border); }
.exp420-f-card { flex: 1; min-width: 150px; padding: 15px; text-align: center; border-right: 1px solid var(--border); }
.exp420-f-card:last-child { border-right: none; }
.exp420-f-label { font-size: 12px; color: #777; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; font-weight:bold; }
.exp420-f-val { font-size: 18px; font-weight: bold; color: var(--p-green); }
.exp420-f-card.savings { background: #e8f5e9; }
.exp420-f-card.savings .exp420-f-val { color: #2e7d32; font-size: 20px; }
