/* Shared catalogue treatment, independent of the display language. */
/* Clip horizontal decorations without creating a scroll container that disables
   the category rail's sticky positioning. Reserve the measured header height. */
html body.cl-product-page {
    overflow-x: clip;
    padding-top: var(--cl-product-sticky, 92px);
}
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-product-section {
    background: var(--bg-primary);
    scroll-margin-top: calc(var(--cl-product-sticky, 78px) + var(--cl-category-rail-height, 58px) + 24px);
}
html body.cl-product-page .cl-product-grid { gap: 24px; }
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card {
    border: 1px solid var(--border-default);
    border-radius: 8px;
    background: var(--bg-primary);
    box-shadow: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card:is(:hover, :focus-visible) {
    border-color: var(--brand-gold);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--brand-navy) 8%, transparent);
    transform: none;
}
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card::after { content: none; }
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card-media {
    position: relative;
    display: block;
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    box-sizing: border-box;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: var(--bg-soft);
}
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card-media::after { content: none; }
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card-media img {
    position: absolute;
    inset: 24px;
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: normal;
    filter: none;
    transform: none !important;
}
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card-copy {
    padding: 22px;
    min-height: 188px;
}
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card-type {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    background: transparent;
    color: var(--text-body);
    letter-spacing: 0;
}
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card-copy b {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0;
}
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card-description {
    min-height: 48px;
    line-height: 1.6 !important;
}
html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card-actions { border-top: 0; padding-top: 18px; }
html body.cl-product-page .cl-product-jump a { background: transparent; letter-spacing: 0; }
html body.cl-product-page .cl-product-jump a:is(:hover, :focus-visible, .is-active) { color: var(--brand-navy); background: transparent; }
html body.cl-product-page .cl-product-jump a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
html body.cl-product-page .cl-catalog-card:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 3px; }
html body.cl-product-page .cl-customization-toggle[hidden] { display: none !important; }
@media (max-width: 700px) {
    html body.cl-product-page .cl-product-grid { gap: 18px; }
    html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card-copy { padding: 20px; }
    html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card-media img { inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); }
}
@media (prefers-reduced-motion: reduce) {
    html, body.cl-product-page, body.cl-product-page .cl-product-jump-inner { scroll-behavior: auto; }
    html body.cl-product-page :is(.cl-product-categories, .cl-category-products) .cl-catalog-card { transition: none; }
}
