﻿.sp-ps-container {
    font-family: "Montserrat Medium", sans-serif;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.sp-product-selector {
    padding: 50px 0 70px;
}

    .sp-product-selector .sp-ps-subheading {
        font-weight: 400;
        font-size: 14.5px;
        color: var(--sp-text-muted);
        margin: 0 0 28px;
    }

    .sp-product-selector h2 {
        font-weight: 500;
        font-size: clamp(24px, 3vw, 32px);
        color: #0E406A;
    }

.sp-ps-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    margin-bottom: 24px;
}

.sp-ps-card {
    flex: 1 1 0;
    min-width: 0;
    background: var(--sp-white);
    border: 1px solid gray;
   /* border: 1px solid var(--sp-line);*/
    border-radius: 10px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat Medium", sans-serif;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .sp-ps-card:hover {
        border-color: #fdb714;
    }

    .sp-ps-card.sp-selected {
        border-color: #fdb714;
        box-shadow: 0 0 0 2px #fdb714;
    }

.sp-ps-radio {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid gray;
 /*   border: 1.5px solid var(--sp-line);*/
    background: var(--sp-white);
}

.sp-ps-card.sp-selected .sp-ps-radio {
    border-color: #fdb714;
    background: #fdb714;
    box-shadow: inset 0 0 0 3px var(--sp-white);
}

.sp-ps-image {
    aspect-ratio: 4/3;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 14px;
}

    .sp-ps-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.sp-ps-title {
    font-family: "Montserrat Medium", sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    color: #0E406A;
    margin-bottom: 4px;
}

.sp-ps-desc {
    font-size: 12px;
    color: var(--sp-text-muted);
    line-height: 1.4;
}

.sp-ps-dontsee {
    font-size: 13.5px;
    color: var(--sp-text-muted);
    margin: 0 0 28px;
}

    .sp-ps-dontsee a {
        color: var(--sp-ink);
        font-weight: 600;
        text-decoration: underline;
    }

.sp-ps-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--sp-linen);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 28px;
    font-size: 13.5px;
    color: var(--sp-ink);
}

    .sp-ps-banner svg {
        width: 18px;
        height: 18px;
        color: var(--sp-gold);
        flex-shrink: 0;
    }

.sp-ps-notoffer h4 {
    font-family: "Montserrat Medium", sans-serif;
    font-size: 14px;
    color: var(--sp-ink);
    margin: 0 0 10px;
}

.sp-ps-notoffer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-bottom: 32px;
}

    .sp-ps-notoffer-list span {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: var(--sp-text-muted);
    }

    .sp-ps-notoffer-list svg {
        width: 14px;
        height: 14px;
        color: #c62828;
        flex-shrink: 0;
    }

.sp-ps-next-wrap {
    display: flex;
    justify-content: flex-end;
}

    .sp-ps-next-wrap .sp-btn {
        width: auto;
        padding: 14px 28px;
        opacity: 1;
        background: #fdb714 !important;
        border-color: #fdb714 !important;
    }

        .sp-ps-next-wrap .sp-btn:hover {
            background: #e0a212 !important;
        }

        .sp-ps-next-wrap .sp-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

.sp-ps-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

    .sp-ps-footer-row .sp-ps-notoffer {
        margin-bottom: 0; 
        flex: 1 1 auto;
    }

    .sp-ps-footer-row .sp-ps-next-wrap {
        flex: 0 0 auto;
    }

@media (max-width: 767px) {
    .sp-ps-footer-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
}

.sp-ps-error {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FDECEA;
    border: 1px solid #f5c6c3;
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 16px;
    font-size: 13.5px;
    font-family: "Montserrat Medium", sans-serif;
    font-weight: 600;
    color: #c62828;
}

    .sp-ps-error a {
        color: inherit;
        font-weight: 700;
        text-decoration: underline;
    }

/* Sitefinity backend editor only */
.RadDock .sp-ps-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
}

/* Tablet: allow wrapping, 2 cards per row */
@media (max-width: 991px) {
    .sp-ps-grid {
        flex-wrap: wrap;
    }

    .sp-ps-card {
        flex: 1 1 calc(50% - 14px); /* 2 columns, accounting for the 14px gap */
    }
}

/* Mobile: stack fully vertically */
@media (max-width: 767px) {
    .sp-ps-grid {
        flex-direction: column;
        gap: 12px; 
    }

    .sp-ps-card {
        flex: 1 1 auto;
        padding: 12px; 
    }

    .sp-ps-image {
        aspect-ratio: 16/9;
    }

    .sp-ps-title {
        font-size: 13.5px;
        margin-bottom: 2px;
    }

    .sp-ps-desc {
        font-size: 11.5px; 
    }

    .sp-ps-footer-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .sp-ps-next-wrap {
        justify-content: center;
    }

    .sp-ps-subheading {
        font-size: 13px;
        margin: 0 0 18px;
    }
}