/* ==========================================
   Offers
========================================== */

.offers{

    padding:100px 0;

    background:#f8fafc;

}

.offers .container{

    max-width:1300px;

    margin:auto;

    padding:0 20px;

}


/* ==========================================
   Header
========================================== */

.offers .section-header{

    margin-bottom:45px;

}

.section-header__eyebrow{

    display:block;

    margin-bottom:8px;

    color:#f59e0b;

    font-size:16px;

    font-weight:800;

}

.offers .section-header h2{

    margin:0;

    font-size:40px;

    font-weight:800;

    color:#111827;

}

.offers .section-header a{

    color:#111827;

    text-decoration:none;

    font-weight:700;

}

.offers .section-header a:hover{

    color:#f59e0b;

}


/* ==========================================
   Products Grid
========================================== */

.offers__grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}


/* ==========================================
   Tablet
========================================== */

@media(max-width:1100px){

    .offers__grid{

        grid-template-columns:repeat(3,1fr);

    }

}


/* ==========================================
   Small Tablet
========================================== */

@media(max-width:800px){

    .offers__grid{

        grid-template-columns:repeat(2,1fr);

    }

}


/* ==========================================
   Mobile
========================================== */

@media(max-width:550px){

    .offers{

        padding:70px 0;

    }

    .offers .section-header{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .offers .section-header h2{

        font-size:32px;

    }

    .offers__grid{

        grid-template-columns:1fr 1fr;

        gap:12px;

    }

}
/* ==========================================
   Group Offer Cards
========================================== */

.offers__group-grid {

    display:grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:25px;

    margin-top:30px;

}


.offer-card {

    position:relative;

    background:#fff;

    border:1px solid #f1d36a;

    border-radius:22px;

    overflow:hidden;

    box-shadow:
        0 8px 25px rgba(0,0,0,.06);

    transition:.3s ease;

}


.offer-card:hover {

    transform:translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.10);

}


.offer-card__badge {

    position:absolute;

    top:16px;

    right:16px;

    z-index:2;

    padding:8px 14px;

    border-radius:999px;

    background:#fbbf24;

    color:#111827;

    font-size:13px;

    font-weight:800;

}


.offer-card__content {
    padding: 70px 28px 28px;
}


.offer-card__title {

    margin:0 0 15px;

    font-size:26px;

    color:#111827;

}


.offer-card__price {

    display:flex;

    align-items:center;

    gap:8px;

    flex-wrap:wrap;

    margin-bottom:22px;

    font-size:18px;

}


.offer-card__price strong {

    font-size:24px;

    color:#d97706;

}


.offer-card__products {

    display:grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:12px;

    margin-bottom:22px;

}


.offer-card__product {

    text-align:center;

    min-width:0;

}


.offer-card__product-image {

    height:90px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#f8fafc;

    border-radius:12px;

    margin-bottom:8px;

    overflow:hidden;

}


.offer-card__product-image img {

    width:100%;

    height:100%;

    object-fit:contain;

}


.offer-card__product span {

    display:block;

    font-size:13px;

    font-weight:700;

    line-height:1.4;

}


.offer-card__button {

    width:100%;

    border:0;

    border-radius:12px;

    padding:14px 20px;

    background:#111827;

    color:#fff;

    font-size:16px;

    font-weight:800;

    cursor:pointer;

    transition:.3s ease;

}


.offer-card__button:hover {

    background:#f59e0b;

    color:#111827;

}


/* ==========================================
   Desktop
========================================== */

@media (min-width:769px) {

    .offers__group-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}
/* ==========================================
   Offer Selector
========================================== */

.offer-selector {

    margin-top:25px;

    padding:22px;

    border-top:1px solid #eee;

    background:#fafafa;

    border-radius:16px;

}


.offer-selector__header {

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:15px;

}


.offer-selector__header h4 {

    margin:0;

    font-size:22px;

    color:#111827;

}


.offer-selector__close {

    width:36px;

    height:36px;

    border:0;

    border-radius:50%;

    background:#e5e7eb;

    font-size:24px;

    cursor:pointer;

}


.offer-selector__info {

    margin-bottom:20px;

    color:#555;

    font-size:16px;

}


.offer-selector__info strong {

    color:#d97706;

}


.offer-selector__products {

    display:grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap:14px;

}


.offer-selector__product {

    background:#fff;

    border:2px solid transparent;

    border-radius:14px;

    padding:12px;

    text-align:center;

    transition:.2s ease;

}


.offer-selector__product.selected {

    border-color:#f59e0b;

    background:#fff8df;

}


.offer-selector__image {

    height:100px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:8px;

}


.offer-selector__image img {

    width:100%;

    height:100%;

    object-fit:contain;

}


.offer-selector__name {

    font-weight:700;

    margin-bottom:5px;

}


.offer-selector__price {

    color:#666;

    font-size:14px;

    margin-bottom:12px;

}


.offer-selector__quantity {

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

}


.offer-selector__quantity button {

    width:34px;

    height:34px;

    border:0;

    border-radius:8px;

    background:#f59e0b;

    color:#111827;

    font-size:20px;

    font-weight:bold;

    cursor:pointer;

}


.offer-quantity-value {

    min-width:25px;

    font-weight:800;

}


.offer-selector__footer {

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    flex-wrap:wrap;

    margin-top:20px;

    padding-top:20px;

    border-top:1px solid #ddd;

}


.offer-add-to-cart {

    width:100%;

    padding:15px 20px;

    border:0;

    border-radius:12px;

    background:#f59e0b;

    color:#111827;

    font-size:17px;

    font-weight:800;

    cursor:pointer;

}


.offer-add-to-cart:disabled {

    opacity:.45;

    cursor:not-allowed;

}
/* =========================================================
   RAMAZAN MARKET - PAYMENT METHOD MODAL
========================================================= */

.rm-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 1000001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rm-payment-modal.is-open {
    display: flex;
}

.rm-payment-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.rm-payment-modal__box {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    direction: rtl;
}

.rm-payment-modal__title {
    margin: 0 0 8px;
    color: #172033;
    font-size: 23px;
    font-weight: 800;
    text-align: center;
}

.rm-payment-modal__subtitle {
    margin: 0 0 22px;
    color: #6b7280;
    font-size: 15px;
    text-align: center;
}

.rm-payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 65px;
    margin-bottom: 12px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.rm-payment-option:hover {
    border-color: #c58a16;
    background: #fffaf0;
}

.rm-payment-option.is-selected {
    border-color: #c58a16;
    background: #fffaf0;
}

.rm-payment-option input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #c58a16;
    flex-shrink: 0;
}

.rm-payment-option__icon {
    font-size: 27px;
    line-height: 1;
}

.rm-payment-option__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: right;
}

.rm-payment-option__title {
    color: #172033;
    font-size: 16px;
    font-weight: 800;
}

.rm-payment-option__description {
    color: #6b7280;
    font-size: 13px;
}

.rm-payment-modal__actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.rm-payment-modal__cancel,
.rm-payment-modal__confirm {
    flex: 1;
    min-height: 48px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
}

.rm-payment-modal__cancel {
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: #172033;
}

.rm-payment-modal__cancel:hover {
    background: #e5e7eb;
}

.rm-payment-modal__confirm {
    border: 0;
    background: #22c55e;
    color: #ffffff;
}

.rm-payment-modal__confirm:hover {
    background: #16a34a;
}

.rm-payment-modal__error {
    display: none;
    margin-top: 12px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.rm-payment-modal__error.is-visible {
    display: block;
}

@media (max-width: 480px) {

    .rm-payment-modal {
        padding: 15px;
    }

    .rm-payment-modal__box {
        padding: 20px;
        border-radius: 16px;
    }

    .rm-payment-modal__title {
        font-size: 21px;
    }

    .rm-payment-option {
        min-height: 62px;
    }

}