/* =========================================================
   Custom Product Catalog — Public Styles
   ========================================================= */

/* ----- Base ----- */
.cpc-product-catalog *, .cpc-product-listing *, .cpc-cart-page *,
.cpc-cart-icon-wrapper *, .cpc-thank-you-page *, .cpc-cart-drawer *,
.cpc-checkout-modal *, .cpc-catalog * { box-sizing: border-box; }

/* =========================================================
   Category Catalog Grid  [product_catalog]
   ========================================================= */
.cpc-catalog { display: grid; gap: 24px; }
.cpc-cat-grid.cpc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.cpc-cat-grid.cpc-cols-3 { grid-template-columns: repeat(3, 1fr); }
.cpc-cat-grid.cpc-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
	.cpc-cat-grid.cpc-cols-3,
	.cpc-cat-grid.cpc-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.cpc-cat-grid { grid-template-columns: 1fr !important; }
}

.cpc-cat-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
	transition: box-shadow .2s, transform .2s;
}
.cpc-cat-card:hover {
	box-shadow: 0 6px 24px rgba(0,0,0,.14);
	transform: translateY(-3px);
}

.cpc-cat-image {
	position: relative;
	width: 100%;
	padding-top: 75%; /* 4:3 fallback for browsers without aspect-ratio */
	overflow: hidden;
	background: #f0f0f0;
}
@supports (aspect-ratio: 4/3) {
	.cpc-cat-image { padding-top: 0; aspect-ratio: 4/3; }
}
.cpc-cat-image img,
.cpc-cat-image-placeholder {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
}
.cpc-cat-image img {
	object-fit: cover;
	display: block;
	-webkit-transition: -webkit-transform .35s;
	        transition: transform .35s;
}
.cpc-cat-card:hover .cpc-cat-image img { -webkit-transform: scale(1.05); transform: scale(1.05); }
.cpc-cat-image-placeholder { background: #e8e8e8; }

.cpc-cat-body { padding: 16px 18px; flex: 1; }
.cpc-cat-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #222; }
.cpc-cat-title a { color: inherit; text-decoration: none; }
.cpc-cat-title a:hover { color: #0073aa; }
.cpc-cat-price { margin: 0 0 8px; font-size: 14px; color: #c57a00; font-weight: 600; }
.cpc-cat-description { font-size: 13px; color: #666; line-height: 1.55; }
.cpc-cat-description p { margin: 0; }

.cpc-cat-footer { padding: 12px 18px 18px; }
.cpc-btn-order {
	display: block;
	width: 100%;
	text-align: center;
	padding: 11px 16px;
	background: #222;
	color: #fff;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s;
}
.cpc-btn-order:hover { background: #0073aa; color: #fff; }

/* =========================================================
   Product Listing  [product_listing]
   ========================================================= */
.cpc-product-listing { max-width: 900px; }

.cpc-listing-header {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.cpc-back-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: #666;
	text-decoration: none;
}
.cpc-back-link:hover { color: #0073aa; }
.cpc-listing-title { margin: 0; font-size: 26px; font-weight: 700; color: #1a1a1a; }
.cpc-listing-banner {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	line-height: 0;
}
.cpc-listing-banner img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}
.cpc-listing-desc { font-size: 14px; color: #666; }

/* Search */
.cpc-search-form { display: inline-block; }
.cpc-search-wrap { position: relative; display: flex; align-items: center; }
.cpc-search-input {
	padding: 8px 36px 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	width: 240px;
}
.cpc-search-input:focus { outline: none; border-color: #0073aa; }
.cpc-search-btn { position: absolute; right: 6px; background: none; border: none; cursor: pointer; }
.cpc-clear-search { position: absolute; right: 28px; color: #999; text-decoration: none; }

/* Product list rows */
.cpc-product-list {
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	overflow: hidden;
}
.cpc-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	border-bottom: 1px solid #f0f0f0;
	background: #fff;
	transition: background .15s;
}
.cpc-list-item:last-child { border-bottom: none; }
.cpc-list-item:hover { background: #fafafa; }

.cpc-list-info { flex: 1; min-width: 0; }
.cpc-list-name { margin: 0 0 2px; font-size: 15px; font-weight: 600; color: #1a1a1a; }
.cpc-list-price { font-size: 13px; color: #c57a00; font-weight: 600; margin-right: 8px; }
.cpc-list-sku { font-size: 11px; color: #aaa; letter-spacing: .3px; }

.cpc-list-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	flex-wrap: wrap;
	justify-content: flex-end;
}

/* Variant dropdown */
.cpc-variant-select {
	padding: 6px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 13px;
	max-width: 220px;
}

/* Qty control */
.cpc-qty-control { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.cpc-qty-btn {
	background: #f5f5f5;
	border: none;
	width: 28px;
	height: 32px;
	font-size: 17px;
	cursor: pointer;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s;
	padding: 0;
}
.cpc-qty-btn:hover { background: #e0e0e0; }
.cpc-qty-input {
	width: 40px;
	height: 32px;
	text-align: center;
	border: none;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	font-size: 13px;
	font-weight: 600;
	-moz-appearance: textfield;
}
.cpc-qty-input::-webkit-inner-spin-button,
.cpc-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Add button — icon + label pill */
.cpc-list-add-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px;
	background: #222;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	transition: background .15s;
	flex-shrink: 0;
}
.cpc-list-add-btn:hover { background: #0073aa; color: #fff; }
.cpc-list-add-btn.added { background: #1a7a1a; color: #fff; }
.cpc-list-add-btn.loading { opacity: .6; pointer-events: none; }

/* No products */
.cpc-no-products { padding: 40px; text-align: center; background: #f9f9f9; border-radius: 6px; color: #666; }

/* Pagination */
.cpc-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.cpc-page-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 34px; height: 34px; padding: 0 6px;
	border: 1px solid #ddd; border-radius: 4px;
	color: #555; text-decoration: none; font-size: 13px;
}
.cpc-page-btn:hover { border-color: #0073aa; color: #0073aa; }
.cpc-page-btn.current { background: #0073aa; border-color: #0073aa; color: #fff; }

/* =========================================================
   Product Grid Layout  [product_listing layout="grid"]
   ========================================================= */
.cpc-product-grid { display: -ms-grid; display: grid; gap: 20px; }
.cpc-product-grid.cpc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.cpc-product-grid.cpc-cols-3 { grid-template-columns: repeat(3, 1fr); }
.cpc-product-grid.cpc-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
	.cpc-product-grid.cpc-cols-3,
	.cpc-product-grid.cpc-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.cpc-product-grid { grid-template-columns: 1fr !important; }
}

.cpc-grid-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-transition: box-shadow .2s, -webkit-transform .2s;
	        transition: box-shadow .2s, transform .2s;
}
.cpc-grid-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.13); -webkit-transform: translateY(-2px); transform: translateY(-2px); }

.cpc-grid-image {
	position: relative;
	width: 100%;
	padding-top: 75%;
	overflow: hidden;
	background: #f0f0f0;
}
@supports (aspect-ratio: 4/3) {
	.cpc-grid-image { padding-top: 0; aspect-ratio: 4/3; }
}
.cpc-grid-image img,
.cpc-grid-image-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.cpc-grid-image img { object-fit: cover; display: block; }
.cpc-grid-image-placeholder { background: #e8e8e8; }

.cpc-grid-body { padding: 12px 14px; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }
.cpc-grid-name { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; }
.cpc-grid-price { font-size: 13px; color: #c57a00; font-weight: 600; margin-bottom: 4px; }
.cpc-grid-sku { font-size: 11px; color: #aaa; }

.cpc-grid-footer {
	padding: 10px 14px 14px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	gap: 8px;
}
.cpc-grid-controls {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 8px;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.cpc-grid-footer .cpc-variant-select { width: 100%; font-size: 12px; padding: 5px 8px; }
.cpc-grid-footer .cpc-list-add-btn { flex: 0 0 auto; }

/* Contact-only button (list + grid) */
.cpc-contact-btn {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	padding: 7px 16px;
	background: #0073aa;
	color: #fff;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	-webkit-transition: background .15s;
	        transition: background .15s;
	white-space: nowrap;
}
.cpc-contact-btn:hover { background: #005a87; color: #fff; }
.cpc-grid-footer .cpc-contact-btn { width: 100%; }

/* =========================================================
   Cart Icon  [cart_icon]
   ========================================================= */
.cpc-cart-icon-wrapper { display: inline-block; position: relative; }
.cpc-cart-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	background: none;
	border: none;
	padding: 4px;
	font: inherit;
}
.cpc-cart-count {
	position: absolute;
	top: -4px;
	right: -8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	background: #e63c3c;
	color: #fff;
	border-radius: 9px;
	font-size: 11px;
	font-weight: 700;
	padding: 0 4px;
	line-height: 1;
	transition: transform .2s;
	pointer-events: none;
}
.cpc-cart-count.bump { transform: scale(1.3); }
.cpc-cart-icon-wrapper .cpc-cart-count[data-count="0"] { display: none; }

/* =========================================================
   Cart Drawer
   ========================================================= */
.cpc-cart-overlay {
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	background: rgba(0,0,0,.45);
	z-index: 9998;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s;
}
.cpc-cart-overlay.open { opacity: 1; pointer-events: auto; }

.cpc-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: 380px;
	max-width: 95vw;
	height: 100vh;
	background: #fff;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .3s cubic-bezier(.4,0,.2,1);
	box-shadow: -4px 0 20px rgba(0,0,0,.15);
}
.cpc-cart-drawer.open { transform: translateX(0); }

.cpc-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #f0f0f0;
	background: #fafafa;
}
.cpc-drawer-title { margin: 0; font-size: 16px; font-weight: 700; color: #1a1a1a; }
.cpc-drawer-count { font-weight: 400; color: #888; font-size: 14px; }
.cpc-drawer-close {
	background: none; border: none; cursor: pointer;
	font-size: 22px; line-height: 1; color: #666; padding: 4px; transition: color .15s;
}
.cpc-drawer-close:hover { color: #e63c3c; }

.cpc-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 12px 0;
}

.cpc-drawer-empty { padding: 40px 20px; text-align: center; color: #999; }
.cpc-drawer-items { display: flex; flex-direction: column; }

.cpc-drawer-item {
	display: grid;
	grid-template-columns: 52px 1fr auto auto auto;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-bottom: 1px solid #f5f5f5;
}
.cpc-drawer-item-image img { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; display: block; }
.cpc-drawer-item-details { min-width: 0; }
.cpc-drawer-item-name { font-size: 13px; font-weight: 600; color: #1a1a1a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpc-drawer-item-variant { font-size: 11px; color: #888; margin-top: 2px; }
.cpc-drawer-item-price { font-size: 12px; color: #888; margin-top: 2px; }
.cpc-drawer-item-subtotal { font-size: 13px; font-weight: 700; color: #1a1a1a; white-space: nowrap; }

.cpc-drawer-item .cpc-qty-control { transform: scale(.85); transform-origin: center; }

.cpc-drawer-remove {
	background: none; border: none; cursor: pointer;
	color: #bbb; font-size: 18px; line-height: 1; padding: 2px; transition: color .15s;
}
.cpc-drawer-remove:hover { color: #e63c3c; }

/* Two-view drawer layout */
.cpc-drawer-view {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 0;
}

.cpc-drawer-form-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-bottom: 1px solid #f0f0f0;
	background: #fafafa;
	flex-shrink: 0;
}
.cpc-drawer-back {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 13px;
	color: #0073aa;
	padding: 4px 0;
}
.cpc-drawer-back:hover { color: #005a87; }
.cpc-drawer-form-title {
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
	flex: 1;
	text-align: center;
}

.cpc-drawer-form-body {
	flex: 1;
	overflow-y: auto;
	padding-bottom: 20px;
}

.cpc-order-summary {
	padding: 12px 16px;
	border-bottom: 2px solid #f0f0f0;
}

.cpc-drawer-form-section {
	padding: 16px;
}
.cpc-drawer-form-section-title {
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 14px;
}

/* Narrower two-column form rows inside the drawer */
.cpc-drawer-form-section .cpc-form-row-2 .cpc-form-field { min-width: 110px; }

.cpc-drawer-footer {
	padding: 14px 16px;
	border-top: 1px solid #f0f0f0;
	background: #fafafa;
}
.cpc-drawer-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	font-size: 15px;
}
.cpc-drawer-total-row strong { font-size: 18px; color: #0073aa; }

/* =========================================================
   View Cart bar (product listing page)
   ========================================================= */
.cpc-view-cart-bar {
	margin-top: 24px;
	text-align: center;
}
.cpc-view-cart-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 32px;
	background: #222;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	letter-spacing: .5px;
	text-transform: uppercase;
	transition: background .2s;
}
.cpc-view-cart-btn:hover { background: #0073aa; }
.cpc-view-cart-btn .cpc-cart-count {
	position: static;
	display: inline-flex;
	background: #e63c3c;
	color: #fff;
	border-radius: 10px;
	min-width: 22px;
	height: 22px;
	font-size: 12px;
	font-weight: 700;
	padding: 0 5px;
	align-items: center;
	justify-content: center;
	line-height: 1;
	top: auto;
	right: auto;
	pointer-events: auto;
}

/* =========================================================
   Pickup Info Banner (checkout modal)
   ========================================================= */
.cpc-pickup-info {
	background: #fffbe6;
	border: 1px solid #f0d97a;
	border-radius: 4px;
	padding: 12px 16px;
	margin: 14px 0 0;
}
.cpc-pickup-title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 4px;
}
.cpc-pickup-schedule {
	font-size: 13px;
	color: #c57a00;
	font-weight: 600;
	padding-left: 20px;
}

/* =========================================================
   Checkout Modal (centered popup)
   ========================================================= */
.cpc-modal-overlay {
	display: none;
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	background: rgba(0,0,0,.55);
	z-index: 10000;
}
.cpc-modal-overlay.open { display: block; }

.cpc-checkout-modal {
	display: none;
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 10001;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	padding: 16px;
}
.cpc-checkout-modal.open { display: -webkit-box; display: -ms-flexbox; display: flex; }

@keyframes cpcModalIn {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}

.cpc-modal-inner {
	background: #fff;
	border-radius: 8px;
	width: 100%;
	max-width: 620px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 8px 40px rgba(0,0,0,.2);
	animation: cpcModalIn .25s ease;
	position: relative;
}

.cpc-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	border-bottom: 1px solid #f0f0f0;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 1;
}
.cpc-modal-title { margin: 0; font-size: 17px; font-weight: 700; color: #1a1a1a; }
.cpc-modal-close {
	background: none; border: none; cursor: pointer;
	font-size: 22px; line-height: 1; color: #666; padding: 4px;
}
.cpc-modal-close:hover { color: #e63c3c; }

.cpc-modal-body { padding: 0 24px 24px; }

/* Order summary inside modal */
.cpc-modal-summary { margin: 18px 0; }
.cpc-summary-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cpc-summary-table th {
	padding: 6px 10px;
	background: #f5f5f5;
	font-weight: 600;
	text-align: left;
	color: #555;
	border-bottom: 1px solid #e8e8e8;
}
.cpc-summary-table td { padding: 7px 10px; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.cpc-summary-table small { color: #888; }
.cpc-summary-total-row td { background: #f9f9f9; font-size: 14px; padding-top: 10px; }

/* Form inside modal */
.cpc-modal-form-wrap { margin-top: 20px; padding-top: 20px; border-top: 2px solid #f0f0f0; }
.cpc-modal-form-title { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: #333; }

.cpc-form-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.cpc-form-row-2 .cpc-form-field { flex: 1; min-width: 180px; }
.cpc-form-field { display: flex; flex-direction: column; gap: 5px; width: 100%; margin-bottom: 12px; }
.cpc-form-field label { font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .4px; }
.cpc-required { color: #c00; }
.cpc-form-field input,
.cpc-form-field select,
.cpc-form-field textarea {
	padding: 9px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	width: 100%;
	transition: border-color .2s;
}
.cpc-form-field input:focus,
.cpc-form-field select:focus,
.cpc-form-field textarea:focus { outline: none; border-color: #0073aa; }
.cpc-form-field textarea { resize: vertical; }
.cpc-field-hint { font-size: 11px; color: #888; margin-top: 2px; }

.cpc-modal-submit-row { margin-top: 6px; }
.cpc-required-note { font-size: 12px; color: #888; margin-top: 8px; margin-bottom: 0; }

/* ----- Buttons ----- */
.cpc-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 4px; font-size: 14px; font-weight: 700; cursor: pointer; border: none; transition: background .2s, opacity .2s; text-decoration: none; letter-spacing: .3px; }
.cpc-btn-validate { background: #222; color: #fff; width: 100%; justify-content: center; padding: 13px; font-size: 14px; letter-spacing: .8px; text-transform: uppercase; }
.cpc-btn-validate:hover { background: #0073aa; }
.cpc-btn-validate:disabled { opacity: .6; pointer-events: none; }
.cpc-btn-full { width: 100%; }
.cpc-btn-primary { background: #0073aa; color: #fff; }
.cpc-btn-primary:hover { background: #005a87; color: #fff; }

/* ----- Notice messages ----- */
.cpc-notice { padding: 10px 14px; border-radius: 4px; font-size: 13px; margin-bottom: 12px; }
.cpc-notice-success { background: #d4edda; border-left: 3px solid #28a745; color: #155724; }
.cpc-notice-error   { background: #f8d7da; border-left: 3px solid #dc3545; color: #721c24; }

/* =========================================================
   Static Cart Page  [cart_page]
   ========================================================= */
.cpc-cart-page { max-width: 880px; margin: 0 auto; }
.cpc-section-title { font-size: 22px; font-weight: 700; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
.cpc-cart-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cpc-cart-table th { background: #f5f5f5; padding: 10px 12px; text-align: left; font-weight: 600; border-bottom: 2px solid #e5e5e5; }
.cpc-cart-table td { padding: 12px; vertical-align: middle; border-bottom: 1px solid #eee; }
.cpc-cart-table tfoot td { padding: 12px; background: #f9f9f9; border-top: 2px solid #e5e5e5; }
.cpc-col-image { width: 72px; }
.cpc-col-qty   { width: 130px; text-align: center; }
.cpc-col-price,.cpc-col-subtotal { width: 120px; }
.cpc-col-remove { width: 44px; text-align: center; }
.cpc-remove-item { background: none; border: 1px solid #ddd; border-radius: 50%; width: 28px; height: 28px; font-size: 18px; cursor: pointer; color: #999; display: flex; align-items: center; justify-content: center; transition: all .15s; padding: 0; }
.cpc-remove-item:hover { background: #e63c3c; border-color: #e63c3c; color: #fff; }
.cpc-grand-total { font-weight: 700; color: #0073aa; font-size: 16px; }
.cpc-cart-empty { padding: 40px; text-align: center; background: #f9f9f9; border-radius: 8px; color: #666; }
.cpc-inquiry-section { background: #f9f9f9; padding: 28px; border-radius: 8px; margin-top: 32px; }
.cpc-inquiry-section h3 { font-size: 16px; font-weight: 600; color: #444; margin: 0 0 16px; }

/* =========================================================
   Thank You Page  [thank_you_page]
   ========================================================= */
.cpc-thank-you-page { text-align: center; padding: 60px 20px; max-width: 560px; margin: 0 auto; }
.cpc-thank-you-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; background: #28a745; color: #fff; border-radius: 50%; font-size: 36px; margin-bottom: 20px; font-weight: 700; }
.cpc-thank-you-title { font-size: 26px; font-weight: 700; color: #222; margin-bottom: 10px; }
.cpc-thank-you-lead { font-size: 17px; color: #555; margin-bottom: 6px; }
.cpc-thank-you-body { font-size: 14px; color: #777; margin-bottom: 24px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 600px) {
	.cpc-list-item { flex-wrap: wrap; }
	.cpc-list-controls { width: 100%; }
	.cpc-variant-select { max-width: 100%; width: 100%; }
	.cpc-drawer-item { grid-template-columns: 42px 1fr auto; grid-template-rows: auto auto; }
	.cpc-drawer-item-qty  { grid-column: 2; }
	.cpc-drawer-item-subtotal { display: none; }
}
