/* Offers Page Styles */

.offers-header-section .sub-heading {
    color: #000000;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 5px;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* Grid Layout */
.offers-grid-section {
    margin-top: 30px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.specialoffer-offers-index .page.messages{padding-inline: 0px;}
/* Offer Card */
.offer-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #F5F2EF;
}
.checkbox-group input[type="checkbox"]{    cursor: pointer;
    margin: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #C4C2C0;
    accent-color: #000;}
.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Card Top Section */
.offer-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Body Section */
.offer-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-brand-logo {
    padding-bottom: 15px;
}

.logo-img {
    height: 100%;
    object-fit: contain;
    width: 170px;
}

.price-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 20px;
}

.price-highlight {
    font-size: 20px;
    line-height: 20px;
    font-weight: 600;
    color: #000000;
}

.card-desc {
    padding-bottom: 20px;
}

.promo-package-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    padding-bottom: 15px;
    color: #000000;
}

.features-list {
    padding-bottom: 18px;
}

.features-list li {
    font-size: 15px;
    color: #404040;
    padding-bottom: 6px;
    position: relative;
    padding-left: 15px;
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #404040;
}

.card-footer {
    margin-top: auto;
}

/* Responsive Styles */
@media screen and (max-width: 600px) {
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .offer-card:hover {
        transform: none;
    }

    .condition-val {
        font-size: 20px;
    }

    .offers-header-section .sub-heading {
        flex-direction: column;
        align-items: center;
    }

    .price-highlight {
        font-size: 15px;
        line-height: 18px;
    }

    .promo-package-title {
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 10px;
    }
}

@media (min-width: 601px) and (max-width: 991px) {
    .price-highlight {
        font-size: 15px;
        line-height: 18px;
    }

    .promo-package-title {
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 10px;
    }

    .offers-header-section .sub-heading {
        flex-direction: column;
        align-items: center;
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .offer-card-body {
        padding: 12px;
    }

    .card-brand-logo {
        padding-bottom: 7px;
    }

    .logo-img {
        width: 120px;
    }

    .price-highlight {
        font-size: 13px;
        line-height: 16px;
    }

    .card-desc {
        padding-bottom: 10px;
    }

    .promo-package-title {
        font-size: 13px;
        line-height: 18px;
        padding-bottom: 10px;
    }

    .features-list {
        padding-bottom: 10px;
    }

    .features-list li {
        font-size: 12px;
        padding-bottom: 4px;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .offer-card-body {
        padding: 15px;
    }

    .card-brand-logo {
        padding-bottom: 12px;
    }

    .logo-img {
        width: 140px;
    }

    .price-info-row {
        padding-bottom: 12px;
    }

    .price-highlight {
        font-size: 14px;
        line-height: 16px;
    }

    .card-desc {
        padding-bottom: 12px;
    }

    .promo-package-title {
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 12px;
    }

    .features-list {
        padding-bottom: 12px;
    }

    .features-list li {
        font-size: 12px;
    }

    .card-footer {
        margin-top: auto;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    .price-highlight {
        font-size: 18px;
        line-height: 18px;
    }

    .logo-img {
        width: 155px;
    }

    .logo-img {
        width: 155px;
    }

    .card-desc {
        padding-bottom: 15px;
    }

    .promo-package-title {
        font-size: 16px;
        line-height: 22px;
        padding-bottom: 12px;
    }

    .features-list {
        padding-bottom: 13px;
    }

    .features-list li {
        font-size: 14px;
        padding-bottom: 5px;
    }
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: #F5F2F0;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
    padding: 40px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 2px;
    right: 2px;
    background: none;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 28px;
    text-align: center;
    padding-bottom: 25px;
    text-transform: uppercase;
}

.modal-banner {
    padding-bottom: 25px;
}

.modal-banner img {
    width: 100%;
    display: block;
}

.exclusive-benefits {
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 15px;
    font-family: 'Inter';
    letter-spacing: 1px;
    margin:0px;
}

.modal-desc {
    padding-bottom: 25px;
    margin: 0;
}

.form-section-title {
    font-size: 17px;
    line-height: 28px;
    padding-bottom: 20px;
    color: #000000;
    font-family: 'Inter';
}

.form-group {
    padding-bottom: 20px;
}

.field-label {
    display: block;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    padding-bottom: 8px;
    color: rgba(0, 0, 0, 80%);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.form-group .form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 10%);
    border-radius: 3px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;height: auto;
}

.form-group .form-input:focus {
    border-color: #000;
    outline: none;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    font-size: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}

select.form-input {
    appearance: none;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 26px;flex-wrap: wrap;
    /*color: rgba(0, 0, 0, 10%);*/
}
.checkbox-item a{text-decoration: underline;}
 .checkbox{display: none;}
    .required-entry.mage-error ~ .checkbox{display: block !important;font-size: 12px;
    color: red;
    color: #e02b27;
    /* flex: 1; */
    flex: 0 0 100%;}
.terms-link {
    color: rgba(6, 49, 222, 0.8);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

body.modal-open {
    overflow: hidden;
}

/* Mobile Responsiveness for Modal */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 15 px;
    }

    .modal-title {
        font-size: 18px;
        padding-top: 10px;
    }

    .modal-banner {
        padding-bottom: 10px;
    }

    .exclusive-benefits {
        font-size: 14px;
        line-height: 18px;
        padding-bottom: 10px;
    }

    .modal-desc {
        padding-bottom: 10px;
    }

    .form-section-title {
        font-size: 14px;
        line-height: 22px;
        padding-bottom: 10px;
    }

    .field-label {
        display: block;
        font-size: 14px;
        line-height: 22px;
        padding-bottom: 5px;
    }

    .modal-inner {
        padding-top: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.half {
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .modal-content {
        max-width: 600px;
        padding: 15px;
    }

    .modal-title {
        font-size: 16px;
        padding-bottom: 15px;
    }

    .modal-banner {
        padding-bottom: 15px;
    }

    .exclusive-benefits {
        font-size: 16px;
        padding-bottom: 12px;
    }

    .modal-desc {
        padding-bottom: 15px;
    }

    .form-section-title {
        font-size: 15px;
        line-height: 22px;
        padding-bottom: 15px;
    }

    .form-group {
        padding-bottom: 15px;
    }

    .field-label {
        font-size: 14px;
        line-height: 22px;
        padding-bottom: 5px;
    }

    .radio-group {
        gap: 15px;
    }
}
@media (max-width: 767px) {
    .offer-form .checkbox-item{flex-wrap: nowrap;align-items: flex-start;}
    .offer-form .checkbox-item .checkbox-text{line-height: 18px;}
}