.csc-container { max-width: 1100px; margin: 0 auto; padding: 30px 20px; }

/* ---- Buttons ---- */
.csc-btn {
	display: inline-block;
	padding: 12px 22px;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: opacity .2s ease;
}
.csc-btn:hover { opacity: .88; }
.csc-btn-small { padding: 8px 14px; font-size: 13px; }
.csc-btn-cart { background: #085279; color: #fff; }
.csc-btn-buynow { background: #ff6a00; color: #fff; margin-left: 8px; }
.csc-btn-checkout { background: #085279; color: #fff; }
.csc-btn-whatsapp { background: #25D366; color: #fff; }

/* ---- Product grid (archive) ---- */
.csc-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 25px; }
.csc-grid-cols-1 { grid-template-columns: repeat(1, 1fr) !important; }
.csc-grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.csc-grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.csc-grid-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.csc-grid-cols-5 { grid-template-columns: repeat(5, 1fr) !important; }
.csc-grid-cols-6 { grid-template-columns: repeat(6, 1fr) !important; }
@media (max-width: 900px) {
	.csc-grid-cols-3, .csc-grid-cols-4, .csc-grid-cols-5, .csc-grid-cols-6 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
	.csc-grid-cols-2, .csc-grid-cols-3, .csc-grid-cols-4, .csc-grid-cols-5, .csc-grid-cols-6 { grid-template-columns: repeat(1, 1fr) !important; }
}
.csc-product-card { border: 1px solid #eee; border-radius: 10px; padding: 15px; text-align: center; transition: box-shadow .2s ease, transform .2s ease; overflow: hidden; }
.csc-product-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); transform: translateY(-3px); }
.csc-product-card a { text-decoration: none; }
.csc-product-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; display: block; }
.csc-no-image { width: 100%; height: 180px; background: #f2f2f2; display: flex; align-items: center; justify-content: center; color: #999; border-radius: 8px; }
.csc-product-grid .csc-product-card h3.csc-product-title,
.csc-product-grid .csc-product-card a h3.csc-product-title,
body .csc-product-card h3.csc-product-title {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	margin: 12px 0 6px !important;
	line-height: 1.3 !important;
}
.csc-card-price { font-weight: 700; color: #085279; margin: 8px 0; font-size: 15px; }

/* ---- Single product ---- */
.csc-single-product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.csc-main-image { width: 100%; aspect-ratio: 1/1; overflow: hidden; border-radius: 10px; background: #f5f5f5; }
.csc-main-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 10px !important; display: block !important; max-width: none !important; }
.csc-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.csc-thumbs img.csc-thumb-img {
	width: 70px !important;
	height: 70px !important;
	min-width: 70px !important;
	max-width: 70px !important;
	object-fit: cover !important;
	border-radius: 6px !important;
	cursor: pointer;
	border: 2px solid #eee !important;
	background: #f5f5f5;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}
.csc-thumbs img.csc-thumb-img:hover { border-color: #085279 !important; }
.csc-categories { margin: 10px 0; }
.csc-cat-badge { display: inline-block; background: #f0f6fa; color: #085279; padding: 4px 12px; border-radius: 20px; font-size: 13px; margin-right: 6px; text-decoration: none; }
.csc-price { margin: 15px 0; font-size: 26px; font-weight: 700; color: #085279; }
.csc-regular-price { text-decoration: line-through; color: #999; font-size: 18px; margin-right: 10px; }
.csc-sku, .csc-stock { color: #666; font-size: 14px; }
.csc-stock.in-stock { color: #2a8f2a; }
.csc-stock.out-stock { color: #cc3333; }
.csc-description { margin: 20px 0; line-height: 1.7; }
.csc-actions { display: flex; align-items: center; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.csc-qty-input {
	width: 70px !important;
	padding: 10px 8px !important;
	border: 1px solid #ccc !important;
	border-radius: 6px !important;
	text-align: center !important;
	color: #000 !important;
	background: #fff !important;
	font-size: 15px !important;
	line-height: normal !important;
	text-indent: 0 !important;
	opacity: 1 !important;
	-moz-appearance: textfield;
}

/* ---- Mini-cart popup ---- */
.csc-mini-cart-popup {
	position: fixed;
	top: 16px;
	right: 16px;
	width: 300px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 28px rgba(0,0,0,0.18);
	z-index: 99999;
	padding: 16px;
	transform: translateY(-20px);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
}
.csc-mini-cart-popup.csc-mini-cart-open {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}
.csc-mini-cart-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
	color: #2a8f2a;
	margin-bottom: 10px;
}
.csc-mini-cart-head button {
	background: none;
	border: none;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #999;
}
.csc-mini-cart-item { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.csc-mini-cart-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
#csc-mini-cart-name { font-size: 14px; font-weight: 600; }
.csc-mini-cart-qty { font-size: 13px; color: #666; }
.csc-mini-cart-total { font-size: 14px; border-top: 1px solid #eee; padding-top: 10px; margin-bottom: 12px; }
.csc-mini-cart-actions { display: flex; gap: 8px; }
.csc-mini-cart-actions .csc-btn { flex: 1; text-align: center; padding: 8px; font-size: 13px; }
.csc-btn-outline { background: #fff; border: 1px solid #085279; color: #085279 !important; }
.csc-btn-outline:hover { background: #f2f8fb; }

@media (max-width: 480px) {
	.csc-mini-cart-popup { top: 8px; right: 8px; left: 8px; width: auto; }
}
.csc-cart-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.csc-cart-table th, .csc-cart-table td { padding: 12px; border-bottom: 1px solid #eee; text-align: left; }
.csc-cart-product img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; vertical-align: middle; margin-right: 10px; }
.csc-cart-qty-input { width: 60px; padding: 6px; border: 1px solid #ccc; border-radius: 4px; }
.csc-remove-item { background: none; border: none; color: #cc3333; font-size: 16px; cursor: pointer; }
.csc-cart-total { text-align: right; font-size: 20px; font-weight: 700; margin-top: 20px; color: #085279; }
.csc-cart-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ---- Cart icon ---- */
.csc-cart-icon { text-decoration: none; color: inherit; font-weight: 600; }
.csc-cart-count { background: #085279; color: #fff; border-radius: 50%; padding: 1px 7px; font-size: 12px; }

/* ---- Checkout page ---- */
.csc-checkout-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; margin-top: 25px; }
.csc-checkout-summary { background: #f8fafc; padding: 20px; border-radius: 10px; height: fit-content; }
.csc-checkout-summary ul { list-style: none; padding: 0; }
.csc-checkout-summary li { padding: 6px 0; border-bottom: 1px solid #e6e6e6; }
.csc-checkout-total { margin-top: 15px; font-size: 18px; }
.csc-checkout-form-wrap label { display: block; font-weight: 600; margin-bottom: 5px; }
.csc-checkout-form-wrap input, .csc-checkout-form-wrap textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; margin-bottom: 12px; box-sizing: border-box; }
.csc-card-element { padding: 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; }
.csc-card-errors { color: #cc3333; font-size: 13px; margin-top: 6px; }
.csc-order-success { text-align: center; padding: 30px; background: #f0fff4; border-radius: 10px; }

@media (max-width: 768px) {
	.csc-single-product, .csc-checkout-grid { grid-template-columns: 1fr; }
}

/* ---- Category hero banner (About Us style) ---- */
.csc-category-hero {
	width: 100% !important;
	height: 260px !important;
	min-height: 260px !important;
	max-height: none !important;
	background-color: #085279 !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	overflow: hidden;
	box-sizing: border-box;
}
.csc-category-hero-overlay {
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	background: linear-gradient(90deg, rgba(8,82,121,0.92) 0%, rgba(8,82,121,0.75) 55%, rgba(8,82,121,0.45) 100%) !important;
	padding: 0 8% !important;
	box-sizing: border-box;
}
.csc-category-hero-overlay h1,
.csc-category-hero h1 {
	color: #ffffff !important;
	font-size: 42px !important;
	font-weight: 800 !important;
	margin: 0 !important;
	line-height: 1.2 !important;
	letter-spacing: .5px !important;
	text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
@media (max-width: 768px) {
	.csc-category-hero { height: 160px !important; min-height: 160px !important; }
	.csc-category-hero h1 { font-size: 26px !important; }
	.csc-category-hero-overlay { padding: 0 6% !important; }
}
.csc-shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.csc-shop-sidebar { background: #f8fafc; border-radius: 10px; padding: 20px; position: sticky; top: 20px; }
.csc-filter-block { margin-bottom: 25px; }
.csc-filter-block:last-child { margin-bottom: 0; }
.csc-filter-block h4 { margin: 0 0 12px; font-size: 15px; color: #085279; text-transform: uppercase; letter-spacing: .5px; }
.csc-cat-filter-list { list-style: none; padding: 0; margin: 0; }
.csc-cat-filter-list li { margin-bottom: 4px; }
.csc-cat-filter-link { display: block; padding: 8px 10px; border-radius: 6px; color: #333; text-decoration: none; font-size: 14px; transition: background .15s ease; }
.csc-cat-filter-link:hover { background: #eaf2f7; }
.csc-cat-filter-link.active { background: #085279; color: #fff !important; }
.csc-cat-count { opacity: .7; font-size: 12px; }
.csc-price-filter { display: flex; align-items: center; gap: 8px; }
.csc-price-filter input { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 6px; }
.csc-shop-main { min-height: 300px; position: relative; }
.csc-shop-main.csc-loading { opacity: .5; pointer-events: none; }
.csc-no-products { grid-column: 1/-1; text-align: center; color: #777; padding: 40px 0; }

@media (max-width: 900px) {
	.csc-shop-layout { grid-template-columns: 1fr; }
	.csc-shop-sidebar { position: static; }
}
