/* Catalog and product-detail presentation, scoped to the custom Store theme. */
.cx-catalog,
.cx-product-detail { padding-block: clamp(2rem, 5vw, 4.5rem); }
.cx-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin-bottom: 1.4rem; color: var(--cx-muted); font-size: 0.8rem; }
.cx-breadcrumbs a { color: var(--cx-blue-700); text-decoration: none; }
.cx-breadcrumbs a:hover { text-decoration: underline; }
.cx-catalog__heading { max-width: 760px; margin-bottom: 1.6rem; }
.cx-catalog__heading h1 { margin: 0; color: var(--cx-text); font-size: clamp(2.15rem, 4vw, 3.2rem); font-weight: 780; letter-spacing: -0.05em; line-height: 1.08; }
.cx-catalog__heading > p:last-child { max-width: 62ch; margin: 0.8rem 0 0; color: var(--cx-muted); }
.cx-catalog-filters { display: grid; gap: 1rem; margin-bottom: 1rem; padding: 1.1rem; border: 1px solid var(--cx-border); border-radius: var(--cx-radius-lg); background: var(--cx-surface-soft); }
.cx-catalog-filters label,
.cx-store-form label,
.cx-payment-methods legend { display: block; margin-bottom: 0.38rem; color: var(--cx-text); font-size: 0.8rem; font-weight: 720; }
.cx-search-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.55rem; }
.cx-catalog-filters input[type="search"],
.cx-catalog-filters select,
.cx-store-form input[type="email"],
.cx-store-form input[type="text"] { width: 100%; min-width: 0; min-height: 2.9rem; padding: 0.7rem 0.8rem; border: 1px solid var(--cx-border-strong); border-radius: 0.7rem; background: var(--cx-white); color: var(--cx-text); font: inherit; font-size: 0.88rem; }
.cx-catalog-filters input:focus,
.cx-catalog-filters select:focus,
.cx-store-form input:focus { border-color: var(--cx-blue-600); outline: 3px solid var(--cx-blue-ring); outline-offset: 1px; }
.cx-catalog-filters__controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 0.8rem; }
.cx-catalog-filters__controls > div { min-width: 0; }
.cx-catalog-filters__controls select { height: 2.9rem; }
.cx-site .cx-catalog-filters__apply { min-height: 2.9rem; }
.cx-catalog-filters__reset { min-height: 2.9rem; justify-content: center; }
.cx-catalog__results { min-height: 2.2rem; color: var(--cx-muted); font-size: 0.84rem; }
.cx-catalog__results p { margin: 0.6rem 0; }
.cx-inline-note { padding: 0.75rem 0.9rem; border-left: 3px solid var(--cx-blue-600); border-radius: 0.35rem; background: var(--cx-blue-50); color: var(--cx-text-soft); font-size: 0.88rem; }
.cx-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cx-product-card__solutions,
.cx-product-solution-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.cx-product-card__solutions { margin-top: 0.3rem; }
.cx-product-card__solutions li,
.cx-product-solution-list li { max-width: 100%; padding: 0.22rem 0.55rem; border: 1px solid var(--cx-border); border-radius: 99px; background: var(--cx-surface-soft); color: var(--cx-text-soft); font-size: 0.69rem; line-height: 1.35; overflow-wrap: anywhere; }
.cx-product-solution-list li { padding: 0.32rem 0.7rem; font-size: 0.76rem; }
.cx-product-solution-list a { color: inherit; text-decoration: none; }
.cx-product-solution-list a:hover { color: var(--cx-blue-700); text-decoration: underline; }
.cx-catalog__empty { margin-top: 1rem; border: 1px solid var(--cx-border); border-radius: var(--cx-radius-lg); background: var(--cx-surface-soft); text-align: center; }
.cx-catalog__empty .cx-product-placeholder__mark { margin-inline: auto; }
.cx-pagination { display: flex; justify-content: center; margin-top: 2rem; }
.cx-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.cx-pagination a,
.cx-pagination span { display: grid; min-width: 2.65rem; min-height: 2.65rem; place-items: center; padding: 0.4rem 0.65rem; border: 1px solid var(--cx-border); border-radius: 0.65rem; background: var(--cx-white); color: var(--cx-blue-700); font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.cx-pagination .current { border-color: var(--cx-blue-600); background: var(--cx-blue-600); color: var(--cx-white); }

.cx-product-detail { max-width: calc(var(--cx-container) + 3rem); }
.cx-product-hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.2rem, 4vw, 3rem); border: 1px solid var(--cx-border); border-radius: var(--cx-radius-xl); background: radial-gradient(circle at 95% 5%, var(--cx-cyan-halo), transparent 32%), linear-gradient(145deg, var(--cx-surface-soft), var(--cx-white) 62%, var(--cx-placeholder-green)); box-shadow: var(--cx-shadow-sm); }
.cx-product-hero__copy { min-width: 0; }
.cx-product-hero__copy > .cx-eyebrow { margin-bottom: 0.55rem; }
.cx-product-hero__copy > .cx-product-card__badge { margin-bottom: 0.5rem; }
.cx-product-hero h1 { margin: 0; color: var(--cx-text); font-size: clamp(2.15rem, 4vw, 3.4rem); font-weight: 790; letter-spacing: -0.055em; line-height: 1.06; overflow-wrap: anywhere; }
.cx-product-hero__description { max-width: 60ch; margin: 0.9rem 0; color: var(--cx-text-soft); font-size: 1rem; line-height: 1.65; }
.cx-product-hero__price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-top: 1.2rem; }
.cx-product-price { margin: 0; color: var(--cx-blue-700); font-size: clamp(1.55rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.04em; }
.cx-product-status { display: inline-flex; align-items: center; min-height: 1.8rem; padding: 0.3rem 0.65rem; border-radius: 99px; background: var(--cx-surface-muted); color: var(--cx-text-soft); font-size: 0.72rem; font-weight: 740; }
.cx-product-status--available { background: var(--cx-emerald-50); color: #047857; }
.cx-product-terms { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0.7rem 0 0; padding: 0; list-style: none; }
.cx-product-terms li { padding: 0.35rem 0.65rem; border: 1px solid var(--cx-border); border-radius: 0.65rem; background: var(--cx-white); color: var(--cx-text-soft); font-size: 0.75rem; font-weight: 650; }
.cx-product-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.35rem; }
.cx-product-actions .cx-button { min-height: 2.8rem; }
.cx-product-hero__media { min-width: 0; }
.cx-product-visual { min-width: 0; }
.cx-product-visual__frame { display: grid; min-height: 260px; aspect-ratio: 1.42; place-items: center; overflow: hidden; border: 1px solid var(--cx-border); border-radius: var(--cx-radius-lg); background: linear-gradient(145deg, var(--cx-white), var(--cx-surface-muted)); box-shadow: var(--cx-shadow-md); }
.cx-product-visual__image { width: 100%; height: 100%; max-height: 520px; object-fit: contain; }
.cx-product-visual__placeholder { display: grid; width: 100%; height: 100%; min-height: 260px; place-content: center; justify-items: center; padding: 1.5rem; background: radial-gradient(circle at 80% 15%, var(--cx-cyan-halo), transparent 35%), linear-gradient(140deg, var(--cx-placeholder-blue), var(--cx-white) 58%, var(--cx-placeholder-green)); color: var(--cx-muted); text-align: center; }
.cx-product-visual__placeholder span { display: grid; width: 3.8rem; height: 3.8rem; place-items: center; border: 1px solid var(--cx-blue-border-tint); border-radius: 1.1rem; background: var(--cx-white); color: var(--cx-blue-700); font-size: 1.05rem; font-weight: 850; }
.cx-product-visual__placeholder p { margin: 0.75rem 0 0; font-size: 0.82rem; }
.cx-product-gallery { display: flex; gap: 0.65rem; margin-top: 0.75rem; padding: 0.15rem 0 0.45rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; }
.cx-product-gallery__thumb { flex: 0 0 5.4rem; overflow: hidden; border: 2px solid transparent; border-radius: 0.75rem; background: var(--cx-surface-muted); scroll-snap-align: start; }
.cx-product-gallery__thumb[aria-current="true"] { border-color: var(--cx-blue-600); box-shadow: 0 0 0 2px var(--cx-blue-ring); }
.cx-product-gallery__thumb img { width: 100%; aspect-ratio: 1.3; object-fit: cover; }
.cx-product-gallery__thumb:focus-visible { outline-offset: 2px; }
.cx-product-section { padding-block: clamp(2.4rem, 5vw, 4rem); }
.cx-product-section .cx-section-heading { margin-bottom: 1.25rem; }
.cx-product-section .cx-section-heading h2,
.cx-product-terms-panel h2,
.cx-product-support h2 { margin: 0; color: var(--cx-text); font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 760; letter-spacing: -0.04em; line-height: 1.15; }
.cx-product-modules,
.cx-product-description__content { min-width: 0; color: var(--cx-text-soft); }
.cx-product-modules > * { max-width: 100%; }
.cx-product-modules img,
.cx-product-description__content img { max-width: 100%; height: auto; }
.cx-product-modules table,
.cx-product-description__content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.cx-product-modules iframe,
.cx-product-description__content iframe { max-width: 100%; }
.cx-product-modules h2,
.cx-product-modules h3,
.cx-product-modules h4,
.cx-product-description__content h2,
.cx-product-description__content h3,
.cx-product-description__content h4 { color: var(--cx-text); line-height: 1.25; }
.cx-product-modules p,
.cx-product-description__content p { line-height: 1.7; }
.cx-product-modules a,
.cx-product-description__content a { color: var(--cx-blue-700); overflow-wrap: anywhere; }
.cx-product-terms-panel { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: center; gap: 1.4rem; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--cx-border); border-radius: var(--cx-radius-lg); background: var(--cx-surface-soft); }
.cx-product-terms-panel ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; margin: 0; padding: 0; list-style: none; }
.cx-product-terms-panel li { display: grid; gap: 0.2rem; min-width: 0; padding: 0.8rem; border: 1px solid var(--cx-border); border-radius: 0.8rem; background: var(--cx-white); }
.cx-product-terms-panel strong { color: var(--cx-muted); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; }
.cx-product-terms-panel span { color: var(--cx-text); font-size: 0.83rem; font-weight: 680; overflow-wrap: anywhere; }
.cx-product-checkout { padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.cx-product-checkout > .cx-section-heading { margin-bottom: 1.35rem; }
.cx-product-checkout__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 1rem; }
.cx-form-card { min-width: 0; padding: clamp(1.1rem, 3vw, 1.65rem); border: 1px solid var(--cx-border); border-radius: var(--cx-radius-lg); background: var(--cx-white); box-shadow: var(--cx-shadow-sm); scroll-margin-top: 1.5rem; }
.cx-form-card--purchase { background: linear-gradient(145deg, var(--cx-white), var(--cx-surface-soft)); }
.cx-form-card__eyebrow { margin: 0 0 0.4rem; color: var(--cx-blue-700); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.cx-form-card h3 { margin: 0; color: var(--cx-text); font-size: 1.35rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.2; }
.cx-form-card > p:not(.cx-form-card__eyebrow):not(.cx-form-card__price):not(.cx-form-card__note) { color: var(--cx-muted); font-size: 0.86rem; }
.cx-form-card__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem; margin: 0.75rem 0; color: var(--cx-blue-700); font-size: 1.15rem; font-weight: 800; }
.cx-form-card__price span { color: var(--cx-muted); font-size: 0.75rem; font-weight: 650; }
.cx-form-notice { padding: 0.75rem 0.85rem; border: 1px solid #a7f3d0; border-radius: 0.7rem; background: var(--cx-emerald-50); color: #065f46; font-size: 0.82rem; line-height: 1.5; }
.cx-form-notice--attention { border-color: #fdba74; background: #fff7ed; color: #9a3412; }
.cx-store-form { display: grid; gap: 0.9rem; margin-top: 1rem; }
.cx-store-form__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.cx-form-field { min-width: 0; }
.cx-form-field label { margin-bottom: 0.38rem; }
.cx-payment-methods { display: grid; gap: 0.55rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.cx-payment-methods legend { margin-bottom: 0.4rem; }
.cx-payment-option { display: flex !important; align-items: center; gap: 0.7rem; min-height: 3.65rem; margin: 0 !important; padding: 0.7rem; border: 1px solid var(--cx-border); border-radius: 0.8rem; background: var(--cx-white); cursor: pointer; }
.cx-payment-option:has(input:checked) { border-color: var(--cx-blue-400); background: var(--cx-blue-50); }
.cx-payment-option input { flex: 0 0 auto; accent-color: var(--cx-blue-600); }
.cx-payment-option span { display: grid; gap: 0.1rem; }
.cx-payment-option strong { color: var(--cx-text); font-size: 0.84rem; }
.cx-payment-option small { color: var(--cx-muted); font-size: 0.72rem; font-weight: 500; }
.cx-store-form button[type="submit"] { justify-self: start; min-width: 10rem; }
.cx-store-form button[disabled] { cursor: wait; opacity: 0.78; }
.cx-store-form__note,
.cx-form-card__note { color: var(--cx-muted); font-size: 0.73rem; line-height: 1.5; }
.cx-form-card__note { margin: 0.75rem 0 0; }
.cx-recaptcha { max-width: 100%; overflow-x: auto; }
.cx-product-support { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin-block: 1rem 2rem; padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--cx-radius-lg); background: var(--cx-navy-900); color: var(--cx-dark-text-light); }
.cx-product-support .cx-eyebrow { color: var(--cx-blue-200); }
.cx-product-support h2 { color: var(--cx-white); }
.cx-product-support p:not(.cx-eyebrow) { max-width: 62ch; margin: 0.45rem 0 0; color: var(--cx-dark-text-muted); font-size: 0.85rem; }
.cx-product-support .cx-button { flex: 0 0 auto; }
.cx-related-products { border-top: 1px solid var(--cx-border); }

@media (max-width: 1000px) {
	.cx-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cx-catalog-filters__controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cx-product-hero { grid-template-columns: minmax(0, 1fr); }
	.cx-product-hero__media { width: min(100%, 760px); justify-self: center; }
}
@media (max-width: 700px) {
	.cx-catalog-filters__controls,
	.cx-product-checkout__grid { grid-template-columns: minmax(0, 1fr); }
	.cx-catalog__grid { grid-template-columns: minmax(0, 1fr); }
	.cx-product-terms-panel { grid-template-columns: minmax(0, 1fr); }
	.cx-product-terms-panel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cx-product-support { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
	.cx-search-field { grid-template-columns: minmax(0, 1fr); }
	.cx-search-field .cx-button { width: 100%; }
	.cx-product-hero { padding: 1rem; }
	.cx-product-actions { align-items: stretch; flex-direction: column; }
	.cx-product-actions .cx-button { width: 100%; }
	.cx-product-visual__frame { min-height: 210px; }
	.cx-product-visual__placeholder { min-height: 210px; }
	.cx-product-terms-panel ul { grid-template-columns: minmax(0, 1fr); }
	.cx-form-card { padding: 1rem; }
}
