.delivery-page {
    padding-bottom: 80px;
}

.delivery-hero-section {
    margin-bottom: 50px;
}

.delivery-hero-banner {
    background: linear-gradient(90deg, #F0F2F6 0%, #8C939E 100%);
    border-radius: 12px;
    padding: 60px 80px;
}

.delivery-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 60px;
}

.delivery-features-row {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.delivery-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.delivery-feature-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--grey);
}

.delivery-feature-icon svg {
    width: 100%;
    height: 100%;
}

.delivery-feature-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--grey);
    line-height: 1.4;
    max-width: 280px;
}


.pill-tabs-header {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.pill-tab-btn {
    background: transparent;
    border: 1px solid var(--grey_medium);
    border-radius: 50px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    color: var(--grey);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pill-tab-btn:hover {
    border-color: var(--black);
    color: var(--black);
}

.pill-tab-btn.active {
    background-color: var(--grey_light);
    border-color: transparent;
    color: var(--black);
}

.custom-scrollbar-container.pill-tabs-scrollbar {
    display: none;
}


.order-steps-block {
    margin-bottom: 60px;
}

.order-steps-block .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--grey);
    margin-bottom: 60px;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex: 1;
    z-index: 2;
}

.timeline-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 29px; 
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--grey);
    z-index: -1;
}

.step-circle {
    width: 58px;
    height: 58px;
    background-color: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}

.step-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--grey);
    line-height: 1.4;
    max-width: 250px;
}


.delivery-perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.perk-card {
    background-color: var(--grey_light);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.perk-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.perk-icon {
    width: 32px;
    height: 32px;
    color: var(--grey);
    flex-shrink: 0;
}

.perk-icon svg {
    width: 100%;
    height: 100%;
}

.perk-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--grey);
    margin: 0;
}

.perk-desc {
    font-size: 15px;
    color: var(--grey);
    line-height: 1.5;
    margin: 0;
}


.payment-terms-block {
    margin-top: 80px;
}

.payment-terms-block .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--grey);
    margin-bottom: 40px;
}

.terms-grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 60px;
}

.terms-grid-list li {
    position: relative;
    padding-left: 20px;
    font-size: 16px;
    color: var(--grey);
    line-height: 1.6;
}

.terms-grid-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--orange);
    border-radius: 50%;
}


.delivery-scroll-section {
    padding-top: 40px;
}

.geo-header {
    margin-bottom: 40px;
}

.geo-subtitle {
    font-size: 18px;
    color: var(--grey);
    margin-top: 10px;
}

.geo-layout-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.geo-sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.geo-search-box {
    position: relative;
    margin-bottom: 30px;
}

.geo-search-box .form-control {
    background-color: var(--grey_light);
    border: none;
    padding: 15px 45px 15px 20px;
    border-radius: 6px;
    font-size: 15px;
    width: 100%;
}

.geo-search-box .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey);
    pointer-events: none;
}


/* --- ACCORDION --- */
.region-item {
    border-bottom: 1px solid var(--grey_light);
}

.region-item:first-child {
    border-top: 1px solid var(--grey_light);
}

.region-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--grey);
    cursor: pointer;
    transition: color 0.2s;
    text-align: left;
}

.region-header:hover {
    color: var(--black);
}

.region-header .chevron {
    transition: transform 0.3s ease;
}

.region-item.is-open .region-header {
    color: var(--black);
}
.region-item.is-open .region-header .chevron {
    transform: rotate(180deg);
}

.region-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.region-item.is-open .region-body {
    max-height: 2500px;
}


.city-list {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0 20px 0;
    margin-left: -10px;
    margin-right: -10px;
}

.city-item {
    width: 50%;
    padding: 0 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
}

.city-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    padding-left: 15px;
    margin: 0;
    position: relative;
    line-height: 1.3;
}

.city-name::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--orange);
    font-size: 18px;
}

.city-address {
    font-size: 14px;
    color: var(--grey);
    margin: 0;
    padding-left: 15px;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
}


.geo-map-col {
    width: 100%;
}

.geo-map-col img {
    width: 100%;
    height: auto;
    display: block;
}


@media (max-width: 1199px) {
    .geo-layout-grid {
        grid-template-columns: 350px 1fr;
        gap: 30px;
    }
    .city-item {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .delivery-hero-banner {
        padding: 40px;
    }
    
    .delivery-hero-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .delivery-perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .terms-grid-list {
        gap: 25px 30px; 
    }

    .geo-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .geo-map-col {
        display: none; 
    }

    .city-item {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .delivery-hero-banner {
        background: linear-gradient(135deg, #F0F2F6 0%, #9AA0AA 100%);
        padding: 30px 20px;
    }
    
    .delivery-hero-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .delivery-features-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .pill-tabs-header {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        margin-bottom: 0;
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pill-tabs-header::-webkit-scrollbar {
        display: none;
    }

    .custom-scrollbar-container.pill-tabs-scrollbar {
        display: block;
        margin-bottom: 40px;
    }

    .pill-tab-btn {
        white-space: nowrap;
        font-size: 15px;
        padding: 10px 20px;
    }

    .order-steps-block .section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .timeline-container {
        flex-direction: column;
        gap: 40px;
        padding-left: 10px; 
    }

    .timeline-step {
        flex-direction: row;
        text-align: left;
    }

    .timeline-step:not(:last-child)::after {
        top: 58px; 
        left: 28px; 
        width: 2px;
        height: calc(100% - 18px); 
    }

    .step-circle {
        margin-bottom: 0;
        margin-right: 25px;
        flex-shrink: 0;
    }

    .step-text {
        max-width: 100%;
        margin-top: 0;
    }

    .delivery-perks-grid {
        grid-template-columns: 1fr;
        gap: 15px; 
    }

    .perk-card {
        padding: 25px 20px;
    }

    .perk-title {
        font-size: 16px;
    }

    .perk-desc {
        font-size: 14px;
    }

    .terms-grid-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .terms-grid-list li {
        font-size: 15px; 
    }
    
    .payment-terms-block .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .geo-subtitle {
        font-size: 15px;
    }
    
    .region-header {
        font-size: 16px;
        padding: 15px 0;
    }
    
    .city-item {
        width: 100%;
        margin-bottom: 15px;
    }
}