.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: 55px !important; padding: 10px 6px !important; border: 1px solid #ccc; border-radius: 6px; text-align: center; }

/* ---- Cart page ---- */
.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; }
}
