/* Products page — listing, filters, cards */

.cs_products_hero {
    position: relative;
    overflow: hidden;
}

.cs_products_hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 22, 29, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cs_products_hero::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 45, 90, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cs_products_intro {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--body-color);
}

.cs_products_featured {
    position: relative;
    padding: 36px 40px;
    border-radius: 4px;
    background: linear-gradient(135deg, #1a2d5a 0%, #243a6e 55%, #1a2d5a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs_products_featured::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(215, 22, 29, 0.12) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: cs_products_shine 6s ease-in-out infinite;
}

@keyframes cs_products_shine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.cs_products_featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(26, 45, 90, 0.25);
}

.cs_products_featured_label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(215, 22, 29, 0.9);
    border-radius: 2px;
}

.cs_products_featured_title {
    margin: 0 0 12px;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.35;
    color: #fff;
}

.cs_products_featured_desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
}

.cs_products_featured_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 160px;
    background: #fff;
    border-radius: 4px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs_products_featured:hover .cs_products_featured_logo {
    transform: scale(1.03);
}

.cs_products_featured_logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Product cards */
.cs_product_card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 4px;
    border: 1px solid rgba(26, 45, 90, 0.1);
    overflow: hidden;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
}

.cs_product_card:hover {
    transform: translateY(-10px);
    border-color: rgba(215, 22, 29, 0.25);
    box-shadow: 0 24px 56px rgba(26, 45, 90, 0.14);
    color: inherit;
}

.cs_product_card_media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #f6f4ef 0%, #eef1f5 100%);
}

.cs_product_card_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs_product_card_media--catalog {
    background: #fff;
}

.cs_product_card_media--catalog img {
    object-fit: contain;
    padding: 20px;
}

.cs_product_card_title sup {
    font-size: 0.65em;
}

.cs_products_dixon_link {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 48px;
    background: #fff;
    border: 1px solid rgba(26, 45, 90, 0.08);
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(26, 45, 90, 0.08);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.cs_products_dixon_link:hover {
    box-shadow: 0 14px 40px rgba(26, 45, 90, 0.12);
    transform: translateY(-2px);
}

.cs_products_dixon_link_title {
    margin: 0 0 12px;
    font-size: clamp(20px, 1.8vw, 26px);
    color: var(--heading-color);
}

.cs_products_dixon_link_url {
    font-size: 18px;
    font-weight: 500;
    color: #6b5b95;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cs_products_dixon_link_url:hover {
    color: #d7161d;
}

.cs_products_dixon_logo {
    max-width: 220px;
    height: auto;
    transition: transform 0.45s ease;
}

.cs_products_dixon_link a:hover .cs_products_dixon_logo {
    transform: scale(1.04);
}

.cs_product_card:hover .cs_product_card_media img {
    transform: scale(1.08);
}

.cs_product_card_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(26, 45, 90, 0.75) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.cs_product_card:hover .cs_product_card_overlay {
    opacity: 1;
}

.cs_product_card_badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: #1a2d5a;
    border-radius: 2px;
    transition: background 0.35s ease, transform 0.35s ease;
}

.cs_product_card:hover .cs_product_card_badge {
    background: #d7161d;
    transform: translateY(-2px);
}

.cs_product_card_arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: #d7161d;
    border-radius: 50%;
    opacity: 0;
    transform: translate(8px, 8px) scale(0.8);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cs_product_card:hover .cs_product_card_arrow {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.cs_product_card_arrow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.35s ease;
}

.cs_product_card:hover .cs_product_card_arrow svg {
    transform: translate(2px, -2px);
}

.cs_product_card_body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 26px 28px;
}

.cs_product_card_body::before {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #c4b896, #d7161d);
    border-radius: 2px;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs_product_card:hover .cs_product_card_body::before {
    width: 64px;
}

.cs_product_card_title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
    color: var(--heading-color);
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-weight: 500;
}

.cs_product_card:hover .cs_product_card_title {
    color: #d7161d;
}

.cs_product_card_desc {
    margin: 0 0 16px;
    flex: 1;
    font-size: 14px;
    line-height: 1.65;
    color: var(--body-color);
}

.cs_product_card_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs_product_card_tags li {
    padding: 4px 10px;
    font-size: 12px;
    color: #1a2d5a;
    background: rgba(26, 45, 90, 0.06);
    border-radius: 2px;
    transition: background 0.3s ease, color 0.3s ease;
}

.cs_product_card:hover .cs_product_card_tags li {
    background: rgba(215, 22, 29, 0.08);
    color: #d7161d;
}

/* Grid spacing */
.cs_products_grid {
    margin: 0 -12px;
}

.cs_products_grid > [class*="col-"] {
    padding: 12px;
    margin-bottom: 12px;
}

/* CTA strip */
.cs_products_cta {
    position: relative;
    padding: 48px 56px;
    text-align: center;
    border-radius: 4px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f6f4ef 100%);
    border: 1px solid rgba(26, 45, 90, 0.1);
    overflow: hidden;
}

.cs_products_cta::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #c4b896 0%, #1a2d5a 50%, #d7161d 100%);
}

.cs_products_cta_title {
    margin: 0 0 12px;
    font-size: clamp(22px, 2vw, 28px);
    color: var(--heading-color);
}

.cs_products_cta_desc {
    margin: 0 auto 28px;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--body-color);
}

.cs_products_cta_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: #d7161d;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.35s ease, gap 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.cs_products_cta_btn:hover {
    color: #fff;
    background: #1a2d5a;
    gap: 14px;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26, 45, 90, 0.2);
}

.cs_products_cta_btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.35s ease;
}

.cs_products_cta_btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .cs_products_featured {
        padding: 28px 24px;
    }

    .cs_products_featured_logo {
        margin-top: 24px;
    }

    .cs_products_cta {
        padding: 36px 28px;
    }

    .cs_products_dixon_link {
        padding: 32px 28px;
    }
}

