/* CG Pilot Shop Colors */
.cgpc-gallery { position: relative; }
.cgpc-gallery .cgpc-main { margin: 0 0 12px; background: #e9ebed; border-radius: 6px; overflow: hidden; }
.cgpc-gallery .cgpc-main a { display: block; }
.cgpc-gallery .cgpc-main-img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.cgpc-gallery .cgpc-caption { padding: 8px 12px; font-size: 14px; color: #333; background: #fff; border-top: 1px solid #e3e3e3; }
.cgpc-thumbs { display: flex; gap: 10px; }
.cgpc-thumb { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; width: 92px; background: #fff; border: 2px solid #d5d8dc; border-radius: 6px; cursor: pointer; font-size: 13px; line-height: 1.2; color: #222; }
.cgpc-thumb img { width: 80px; height: 80px; object-fit: contain; display: block; background: #e9ebed; border-radius: 4px; }
.cgpc-thumb.is-active { border-color: #0b2545; box-shadow: 0 0 0 1px #0b2545; }
.cgpc-thumb:focus-visible, .cgpc-colors li.variable-item:focus-visible, .variations li.variable-item:focus-visible, .cgpc-filter button:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; }

/* color chips on the swatch buttons */
.cgpc-dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); vertical-align: middle; flex: 0 0 auto; }
.cgpc-colors li.variable-item { min-height: 44px; padding: 0 12px !important; width: auto !important; }
.cgpc-colors li.variable-item .variable-item-span { display: inline-flex !important; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; }
.cgpc-colors li.variable-item.selected { box-shadow: 0 0 0 2px #0b2545 !important; font-weight: 600; }
.variations li.variable-item.button-variable-item { min-height: 44px; min-width: 48px; }
.cgpc-picked { font-weight: 400; margin-left: 2px; display: inline !important; }
.cgpc-gallery .cgpc-thumbs { position: relative; z-index: 2; }
.variations li.variable-item.cgpc-unavailable { opacity: .4; text-decoration: line-through; }

/* shop cards */
.cgpc-card-colors { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; margin: 8px 0 10px; font-size: 13px; color: #444; }
.cgpc-card-chip { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.cgpc-card-chip .cgpc-dot { width: 14px; height: 14px; }
.cgpc-hidden { display: none !important; }

/* category filter */
.cgpc-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 28px; }
.cgpc-filter button { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 2px solid #0b2545; background: #fff; color: #0b2545; font-weight: 600; cursor: pointer; font-size: 15px; }
.cgpc-filter button span { font-weight: 400; opacity: .75; }
.cgpc-filter button[aria-pressed="true"] { background: #0b2545; color: #fff; }

/* Pilot Shop grid: scannable names, prices, buttons */
body.cgpc-pilot-shop ul.products li.product .woocommerce-loop-product__title { font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
body.cgpc-pilot-shop ul.products li.product .price { display: block; font-size: 16px; font-weight: 600; margin-bottom: 2px; }
body.cgpc-pilot-shop ul.products li.product .add_to_cart_button { display: inline-block !important; visibility: visible !important; opacity: 1 !important; position: static !important; transform: none !important; min-height: 44px; line-height: 44px; padding: 0 22px; margin-top: 4px; border-radius: 22px; background: #0b2545 !important; color: #fff !important; font-weight: 600; text-decoration: none; }
body.cgpc-pilot-shop ul.products li.product .add_to_cart_button:hover, body.cgpc-pilot-shop ul.products li.product .add_to_cart_button:focus-visible { background: #1d3f6e !important; }
body.cgpc-pilot-shop ul.products li.product .post_featured img { background: #e9ebed; aspect-ratio: 1 / 1; object-fit: contain; }

@media (max-width: 767px) {
	.cgpc-gallery.images { float: none !important; width: 100% !important; margin: 0 0 24px !important; }
	.cgpc-gallery.images + .summary { clear: both; float: none !important; width: 100% !important; }
	.cgpc-thumb { width: 76px; }
	.cgpc-thumb img { width: 64px; height: 64px; }
	.cgpc-colors li.variable-item { padding: 0 10px !important; }
	body.cgpc-pilot-shop ul.products li.product { margin-bottom: 28px; }
}
