.dostavka {
}
.dostavka__wrapper {
    margin: 5rem 1.875rem 7.5rem;
    display: flex;
    flex-direction: column;
    gap: 7.5rem;
}
.dostavka__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.75rem;
}
.dostavka__title {
    font-weight: 600;
    font-variation-settings: "wght" 600;
    font-size: 3.5rem;
    line-height: 1.1em;
    letter-spacing: -0.01em;
}
.dostavka__title span {
    color: var(--color-accent);
}
.dostavka__content {
    display: flex;
    flex-direction: column;
    gap: 3.75rem;
    align-items:center;
}
.dostavka__content-title {
    font-weight: 600;
    font-variation-settings: "wght" 600;
    font-size: 2.625rem;
    line-height: 1.1em;
    letter-spacing: -0.01em;
}
.dostavka__content-title span {
    color: var(--color-accent);
}
.dostavka__content-subtitle {
    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-size: 1.125rem;
    line-height: 1.3em;
    letter-spacing: -0.01em;

}
.dostavka__content-inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.875rem;
}
.dostavka__content-item {
    display: flex;
    flex-direction: row;
    width: 27.5rem;
}
.dostavka__content-item__image {
    width: 11.625rem;
    height: 10.8125rem;
    background: #000;
}

.dostavka__content-item__image img{
    width: 11.625rem;
    height: 10.8125rem;
    object-fit: cover;
    opacity: 0.9;
}

.dostavka__content-item__content {
    background: var(--color-light-gray, #F1F1F1);
    width: 100%;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.dostavka__content-item__title {
    font-weight: 500;
    font-variation-settings: "wght" 500;
    font-size: 1.25rem;
    line-height: 1.3em;
    margin-bottom: 1.25rem;
    color: var(--color-accent);
}
.dostavka__content-item__text {
    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-size: 1rem;
    line-height: 1.4em;
    letter-spacing: -0.01em;

}
.dostavka-price {
    
}
.dostavka-price__wrapper {
    padding: 7.5rem 1.875rem;
    display: flex;
    flex-direction: column;
    gap: 3.75rem;
    box-sizing: border-box;
}
.dostavka-price__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.75rem;
}
.dostavka-price__title {
    font-weight: 600;
    font-variation-settings: "wght" 600;
    font-size: 2.625rem;
    line-height: 1.1em;
    letter-spacing: -0.01em;
}

.dostavka-price__title span {
    color: var(--color-accent);
}

.dostavka-price__subtitle {
    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-size: 1.125rem;
    line-height: 1.3em;
    letter-spacing: -0.01em;
}
.dostavka-price__content {
    display: flex;
    flex-direction: column;
    gap: 3.75rem;
    align-items: center;
}
.dostavka-price__content-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 73.0625rem;
    box-sizing: border-box;
}
.dostavka-price__table-container {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.dostavka-price__table-container table {
    border: none;
    border-spacing: .3125rem;
    table-layout: auto;
    border-collapse: separate;

    margin-inline: -.3125rem;
    width: calc(100% + .625rem);
    
    outline: none;
    box-shadow: none;
}

.dostavka-price__table-container table thead {

}

.dostavka-price__table-container table thead tr {

}

.dostavka-price__table-container table thead tr th {
    background: var(--color-accent);
    color: var(--color-white);
    text-align: left;
    font-weight: 500;
    font-variation-settings: "wght" 500;
    font-size: .875rem;
    line-height: 1.1em;
    letter-spacing: -0.01em;

    padding: .9375rem 1.25rem;

}

.dostavka-price__table-container table thead tr:first-child th {
    background: var(--color-accent);
    color: var(--color-white);
    text-align: center;
    padding: .625rem .625rem;

    font-size: 1rem;

}
.dostavka-price__table-container table thead tr:last-child th:nth-child(1),
.dostavka-price__table-container table tbody tr td:nth-child(1) {
    width: 15rem;
    min-width: 15rem;
}   

.dostavka-price__table-container table thead tr:last-child th:nth-child(2),
.dostavka-price__table-container table tbody tr td:nth-child(2) {
    width: 16.875rem;
    min-width: 16.875rem;
}

.dostavka-price__table-container table thead tr:last-child th:nth-child(3) {
    width: 9.90625rem;
    min-width: 9.90625rem;
}

.dostavka-price__table-container table thead tr:last-child th:nth-child(4) {
    width: 9.90625rem;
    min-width: 9.90625rem;
}

.dostavka-price__table-container table thead tr:last-child th:nth-child(5) {
    width: 9.90625rem;
    min-width: 9.90625rem;
} 

.dostavka-price__table-container table thead tr:last-child th:nth-child(6) {
    width: 9.90625rem;
    min-width: 9.90625rem;
}

.dostavka-price__table-container table tbody {

}

.dostavka-price__table-container table tbody tr {
    height: 2.5rem;
}

.dostavka-price__table-container table tbody tr td {
    background: var(--color-light-gray, #F1F1F1);
    padding: .71875rem 1.25rem;

    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-size: .875rem;
    line-height: 1.2em;
    letter-spacing: -0.01em;

}

.dostavka-price__tiles-container {
    display: flex;
    flex-direction: row;
    gap: .3125rem;
}

.dostavka-price__tiles-container__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
    padding: .71875rem 1.25rem;
    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-size: .875rem;
    line-height: 1.2em;
    letter-spacing: -0.01em;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition-default);
    background: var(--color-light-gray);
}



.dostavka-price__tiles-container__item:nth-child(1) {
    width: 15rem;
}

.dostavka-price__tiles-container__item:nth-child(2) {
    width: 16.875rem;
}

.dostavka-price__tiles-container__item:nth-child(3) {
    width: 16.875rem;
}

.dostavka-terms {
    padding: 7.5rem 0;
    margin: 0 1.875rem;
    
}
.dostavka-terms__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.dostavka-terms__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
}
.dostavka-terms__title {
    font-weight: 600;
    font-variation-settings: "wght" 600;
    font-size: 2.625rem;
    line-height: 1.1em;
    letter-spacing: -0.01em;
}
.dostavka-terms__title span {
    color: var(--color-accent);
}
.dostavka-terms__subtitle {
    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-size: 1.125rem;
    line-height: 1.3em;
    letter-spacing: -0.01em;
}
.dostavka-terms__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.dostavka-terms__item {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    align-items: center;
}
.dostavka-terms__item-icon {
    background: #E8364B30;
    width: 3.125rem;
    height: 3.125rem;
    min-width: 3.125rem;
    min-height: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dostavka-terms__item-icon svg {
    width: var(--svg-widht);
    height: var(--svg-height);
    color: var(--color-accent);
    
}
.dostavka-terms__item-title {
    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-size: 1.25rem;
    line-height: 1.3em;
    letter-spacing: -0.01em;
    
}


.oplata-tiles {
    margin: 3.75rem 1.875rem;
}

.dostavka-pickup {
    margin: 0 1.875rem;

}
.dostavka-pickup__wrapper {
    padding: 6.25rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.dostavka-pickup__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 1.25rem 0;
    max-width: 40%;
}
.dostavka-pickup__header-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
}
.dostavka-pickup__title {
    font-weight: 600;
    font-variation-settings: "wght" 600;
    font-size: 2.625rem;
    line-height: 1.1em;
    letter-spacing: -0.01em;
    color: var(--color-accent);
}
.dostavka-pickup__subtitle {
    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-size: 1.125rem;
    line-height: 1.3em;
    letter-spacing: -0.01em;
}
.dostavka-pickup__descriprion {
    display: flex;
    flex-direction: column;
}
.dostavka-pickup__descriprion p {
    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-size: 1.125rem;
    line-height: 1.3em;
    letter-spacing: -0.01em;
}
.dostavka-pickup__descriprion a {
    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-size: 1.125rem;
    line-height: 1.3em;
    letter-spacing: -0.01em;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition-default);
}
.dostavka-pickup__descriprion a:hover {
    color: var(--color-accent);
}
.dostavka-pickup__descriprion a:active {
    color: var(--color-accent);
}
.dostavka-pickup__descriprion a:visited {
    color: var(--color-accent);
}
.dostavka-pickup__descriprion a:focus {
    color: var(--color-accent);
}
.dostavka-pickup__descriprion a:focus-visible {
    color: var(--color-accent);
}
.dostavka-pickup__descriprion a:focus-within {
    color: var(--color-accent);
}

.dostavka-pickup__content {
    width: 50%;
    max-width: 50%;
    height: 27.5rem;
    overflow: hidden;
}
.dostavka-pickup__content iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 47.9375rem) {
    .dostavka__wrapper {
        margin: 3rem 1.5rem 4rem;
        gap: 3rem;
    }

    .dostavka__content-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }

    .dostavka__header {
        gap: 2rem;
    }

    .dostavka__title {
        font-size: 2rem;

    }

    .dostavka__content {
        gap: 2rem;
        align-items: flex-start;
    }

    .dostavka__content-title {
        font-size: 1.75rem;
        text-align: left;

    }

    .dostavka__content-subtitle {
        font-size: 1rem;
        text-align: left;

    }

    .dostavka__content-item {
        /* flex-direction: column; */
        width: 100%;
        max-width: none;
    }

    .dostavka__content-item__image,
    .dostavka__content-item__image img {
        width: 8.125rem;
        height: 7.5rem;
    }

    .dostavka__content-item__content {
        padding: 1.53125rem 1.25rem;
    }

    .dostavka__content-item__title {
        margin-bottom: .625rem;
        font-size: 1rem;
    }
    .dostavka__content-item__text {
        font-size: .875rem;
    }

    .dostavka-price__wrapper {
        padding: 3.5rem 1.5rem;
        gap: 2.5rem;
    }

    .dostavka-price__header {
        gap: 1.5rem;
    }

    .dostavka-price__title {
        font-size: 1.75rem;
        /* text-align: center; */
    }

    .dostavka-price__subtitle {
        font-size: 1rem;
        /* text-align: center; */
    }

    .dostavka-price__content {
        gap: 2.5rem;
    }

    .dostavka-price__content-container {
        gap: 1rem;
    }

    .dostavka-price__table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .dostavka-price__table-container table {
        /* margin-inline: 0; */
        width: max-content;
        min-width: 100%;
    }

    .dostavka-price__tiles-container {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .dostavka-price__tiles-container__item:nth-child(1),
    .dostavka-price__tiles-container__item:nth-child(2),
    .dostavka-price__tiles-container__item:nth-child(3) {
        width: 100%;
        box-sizing: border-box;
    }

    .dostavka-terms__wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 2.5rem;
    }

    .dostavka-pickup__wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .dostavka-pickup__header {
        max-width: none;
        padding: 0;
    }

    .dostavka-price__table-container table thead tr th {
        padding: .625rem .75rem;
        font-size: .8125rem;
        
    }

    .dostavka-price__table-container table thead tr:first-child th {
        padding: .5rem .625rem;
        font-size: .9375rem;
        text-align: left;
    }

    .dostavka-price__table-container table tbody tr td {
        padding: .5rem .75rem;
        font-size: .8125rem;
    }

    .dostavka-price__table-container table tbody tr {
        height: auto;
    }

    .dostavka-terms {
        padding: 3.5rem 0;
        margin: 0 1.5rem;
    }

    .dostavka-terms__header {
        align-items: flex-start;
        /* text-align: center; */
        gap: 1.25rem;
    }

    .dostavka-terms__title {
        font-size: 1.75rem;
        text-align: left;
    }

    .dostavka-terms__subtitle {
        font-size: 1rem;
    }

    .dostavka-terms__content {
        gap: .625rem;
    }

    .dostavka-terms__item {
        align-items: center;
        gap: .9375rem;
    }

    .dostavka-terms__item-title {
        font-size: .875rem;
    }

    .dostavka-terms__item-icon {
        min-width: 2.5rem;
        min-height: 2.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    .dostavka-terms__item-icon svg {
        width: calc(var(--svg-widht) * 0.8);
        height: calc(var(--svg-height) * 0.8);
    }

    .oplata-tiles {
        margin: 2.5rem 1rem;
    }

    .dostavka-pickup {
        margin: 0 1.5rem;
    }

    .dostavka-pickup__wrapper {
        padding: 5.625rem 0;
        gap: 3.75rem;
    }

    .dostavka-pickup__title {
        font-size: 1.75rem;
    }

    .dostavka-pickup__subtitle,
    .dostavka-pickup__descriprion p,
    .dostavka-pickup__descriprion a {
        font-size: 14px;
    }

    .dostavka-pickup__content {
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 14rem;
        aspect-ratio: 4 / 3;
    }
}

