/* Delivery Page Styles */
.delivery-section {
    padding: 3.125rem 1.25rem;
    display: flex;
    justify-content: center;
    background-color: #fff;
}

.delivery-section__container {
    max-width: 87.5rem;
    width: 100%;
    display: flex;
    gap: 1.0625rem;
    justify-content: space-between;
}

.delivery-section__image-wrapper {
    width: 43.75rem;
    height: 37.5rem;
    flex-shrink: 0;
}

.delivery-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.4375rem;
}

.delivery-section__tabs {
    width: 42.6875rem;
    display: flex;
    flex-direction: column;
}

/* Tabs Navigation */
.tabs__navigation {
    display: flex;
    gap: 0.5rem;
    border-bottom: 0.125rem solid #e0e0e0;
    margin-bottom: 2rem;
}

.tabs__button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 400;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    border-bottom: 0.1875rem solid transparent;
    margin-bottom: -0.125rem;
}

.tabs__button:hover {
    color: #000;
}

.tabs__button.is-active {
    color: #000;
    font-weight: 500;
    border-bottom-color: #000;
}

/* Tabs Content */
.tabs__content-wrapper {
    position: relative;
}

.tabs__content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tabs__content.is-active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0.625rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tabs__content p,
.tabs__content ul {
    margin-bottom: 1em;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.tabs__content ul {
    padding-left: 1.25rem;
}

.tabs__content b {
    font-weight: 600;
}

/* Tablet Styles (max-width: 61.9375rem) */
@media (max-width: 61.9375rem) {
    .delivery-section__container {
        flex-direction: column;
        gap: 1.875rem;
        max-width: 60.0625rem;
    }

    .delivery-section__image-wrapper,
    .delivery-section__tabs {
        width: 100%;
    }
}

/* Mobile Styles (max-width: 47.9375rem) */
@media (max-width: 47.9375rem) {
    .delivery-section {
        padding: 1.875rem 0.9375rem;
    }

    .delivery-section__container {
        gap: 1.25rem;
    }

    .delivery-section__image-wrapper {
        height: 18.75rem;
    }

    .tabs__navigation {
        gap: 0.25rem;
        margin-bottom: 1.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tabs__button {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        white-space: nowrap;
    }

    .tabs__content p,
    .tabs__content ul {
        font-size: 0.9375rem;
    }
}
