/* Override main.css container styles for offers section */
section.container.limit,
.container.limit {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    padding: 3.5rem 1rem 1rem;
    position: relative;
    overflow: visible;
    margin-bottom: 100px;
    max-width: 1920px;
    margin-inline: auto;
    isolation: auto;
    background: none;
}

.container.limit * {
    color: black;
}

/* Offers Section Styles - Scoped to .container.limit */
.container.limit .mainHeader {
    font-size: 1.6rem;
    animation: showHeader 1s;
}

@keyframes showHeader {
    from {
        margin-left: 600px;
    }
}

.container.limit .box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1rem;
    width: 95%;
    gap: 2rem;
    animation: showBox 3s;
}

@media screen and (max-width: 768px) {
    .container.limit .box {
        gap: 0.75rem;
    }
}

@keyframes showBox {
    from {
        display: none;
        opacity: 0;
    }
}

.container.limit .box__btn {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: transparent;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    color: #333;
    font-size: 18px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 1px;
    border-top: 1px solid var(--blue-color);
    border-bottom: 1px solid var(--blue-color);
}

@media screen and (max-width: 768px) {
    .container.limit .box__btn {
        font-size: 16px;
        padding-block: 4px;
    }
}

.container.limit .box__btn:hover {
    background: var(--blue-color);
    border-radius: 6px;
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    color: #fff;
    padding-right: 24px;
    padding-left: 8px;
}

.container.limit .box__btn:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
    transition: 0.5s;
}

.container.limit .box__btn:hover:after {
    opacity: 1;
    right: 10px;
}

.container.limit .box .header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.container.limit .box .header hr {
    width: 50px;
    height: 1px;
    background-color: black;
}

.container.limit .box .images {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
    gap: 0.5rem;
}

.container.limit .box .images div {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.container.limit .box .images img {
    width: 220px;
    height: 100%;
    cursor: pointer;
    object-fit: cover;
    border-radius: 4px;
    transition: all .15s ease-in-out;
}

.container.limit .box .images:has(img:hover) img {
    filter: grayscale(1);
}

.container.limit .box .images img:hover {
    transform: scale(1.035) rotate(1deg);
    z-index: 5;
    filter: grayscale(0) !important;
}

.container.limit .box .images img:nth-child(2):hover {
    transform: scale(1.025) rotate(-1deg);
}

.container.limit .box .images div img:nth-child(2) {
    margin-top: 10%;
}

/* Offers Box Info Styles - Scoped to .container.limit .box */
.container.limit .box .info {
    width: 50%;
    text-align: center;
    letter-spacing: 1px;
    font-family: 'IM Fell French Canon Pro', serif;
    font-size: 1.4rem;
}

@media screen and (max-width: 1000px) {
    .container.limit .mainHeader {
        font-size: 1.4rem;
    }

    .container.limit .box .header {
        font-size: 1.2rem;
    }

    .container.limit .box .images img {
        max-width: 180px;
    }

    .container.limit .box .info {
        width: 80%;
    }
}

@media screen and (max-width: 800px) {
    .container.limit {
        padding: 2rem 1rem 1rem;
    }
    
    .container.limit .mainHeader {
        font-size: 1.2rem;
    }

    .container.limit .box .header {
        font-size: 1rem;
    }

    .container.limit .box .images img {
        max-width: 160px;
    }

    .container.limit .box .info {
        width: 90%;
    }
}


@media screen and (max-width: 706px) {
    .container.limit .box .images img {
        max-width: 140px;
    }
}

@media screen and (max-width: 630px) {
    .container.limit .box {
        width: 100%;
    }

    .container.limit .box .images {
        flex-direction: column;
        margin-bottom: 50px;
    }

    .container.limit .box .images div {
        width: 100%;
        height: 200px;
    }

    .container.limit .box .info {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 500px) {
    .container.limit .mainHeader {
        text-align: center;
    }

    .container.limit .box .header {
        text-align: center;
    }
}

@media screen and (max-width: 400px) {
    .container.limit .mainHeader {
        font-size: 1rem;
        text-align: center;
    }

    .container.limit .box .header {
        font-size: 0.8rem;
        text-align: center;
    }

    .container.limit .box .images {
        margin-bottom: 25px;
    }

    .container.limit .box .info {
        font-size: 0.6rem;
    }
}

