
.delivery img, .delivery svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.delivery a {
    text-decoration: none;
    color: #d42a2a;
}

.delivery a:hover {
    text-decoration: underline;
}

.delivery .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.delivery .page-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 28px;
}
/* ========================================
   ТАБЫ (общие)
   ======================================== */
.delivery  .tabs {
    margin-bottom: 50px;
}

.tabs__nav {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.tabs__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    font-family: inherit;
}

.tabs__btn:hover {
    border-color: #ccc;
    background: #fafafa;
}

.tabs__btn.active {
    border-color: #333;
    background: #fff;
}

.tabs__btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.delivery .tabs__btn svg {
    color: #999;
    transition: color 0.3s;
}

.delivery .tabs__btn:hover svg,
.delivery .tabs__btn.active svg {
    color: rgb(142, 0, 0);
}

.tabs__panel {
    display: none;
}

.tabs__panel.active {
    display: block;
}

/* ========================================
   БЛОК: Доставка
   ======================================== */
.delivery {
    padding: 50px 0 30px;
}

/* --- Самовывоз --- */
.pickup__info {
    background: #f5f3f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 30px;
}

.pickup__info p {
    font-size: 15px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.7;
}

.pickup__info p:last-child {
    margin-bottom: 0;
}

.pickup__content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.pickup__gallery {
    flex: 1;
    min-width: 0;
}

.pickup__main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.pickup__main-track {
    display: flex;
    transition: transform 0.4s ease;
}

.pickup__main-slide {
    flex: 0 0 100%;
}

.pickup__main-slide img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.pickup__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background 0.3s;
}

.pickup__arrow:hover {
    background: #fff;
}

.pickup__arrow--prev {
    left: 10px;
}

.pickup__arrow--next {
    right: 10px;
}

.pickup__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.pickup__thumb {
    flex: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    transition: border-color 0.3s, opacity 0.3s;
    opacity: 0.6;
}

.pickup__thumb.active {
    border-color: #d42a2a;
    opacity: 1;
}

.pickup__thumb:hover {
    opacity: 1;
}

.pickup__thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.pickup__details {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.pickup__detail-block h4 {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.pickup__detail-block p {
    font-size: 14px;
    color: #555;
}

/* --- Курьером --- */
.courier__notice,
.courier__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff8f0;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
}

.courier__notice span,
.courier__note span {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.courier__notice svg,
.courier__note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.courier__table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}

.courier__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.courier__table thead th {
    background: #f5f3f0;
    padding: 14px 18px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    border-bottom: 2px solid #e8e5e0;
}

.courier__table tbody td {
    padding: 13px 18px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0ede8;
}

.courier__table tbody tr:last-child td {
    border-bottom: none;
}

.courier__table tbody tr:hover {
    background: #fdfcfa;
}

.courier__map {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.courier__map svg {
    width: 100%;
    height: auto;
    display: block;
}

/* --- По России --- */
.russia__subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
}

.russia__notice {
    background: #f5f3f0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.russia__notice p {
    font-size: 15px;
    color: #444;
    margin-bottom: 6px;
    line-height: 1.7;
}

.russia__notice p:last-child {
    margin-bottom: 0;
}

.russia__logos {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.russia__logo {
    flex: 0 0 auto;
    width: 120px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.russia__logo:hover {
    transform: translateY(-3px);
}

.russia__logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   АККОРДЕОН
   ======================================== */
.accordion {
    margin-bottom: 24px;
}

.accordion__item {
    border-bottom: 1px solid #e8e5e0;
}

.accordion__item:first-child {
    border-top: 1px solid #e8e5e0;
}

.accordion__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    font-family: inherit;
    text-align: left;
    gap: 12px;
    transition: color 0.3s;
}

.accordion__header:hover {
    color: #d42a2a;
}

.accordion__arrow {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.accordion__item.open .accordion__arrow {
    transform: rotate(180deg);
}

.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 4px;
}

.accordion__item.open .accordion__body {
    max-height: 600px;
    padding: 0 4px 18px;
     color: #555;
}

.accordion__body p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

.accordion__body p:last-child {
    margin-bottom: 0;
}

.faq-title {
    font-size: 22px;
    font-weight: 700;
    color: #d42a2a;
    margin-bottom: 16px;
    margin-top: 10px;
}

/* ========================================
   АДАПТИВ
   ======================================== */
@media (max-width: 768px) {
    .page-title {
        font-size: 26px;
        margin-bottom: 22px;
    }

    .tabs__nav {
        gap: 8px;
    }

    .tabs__btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    /* Самовывоз */
    .pickup__content {
        flex-direction: column;
    }

    .pickup__details {
        flex: none;
        width: 100%;
    }

    .pickup__info {
        padding: 18px 20px;
    }

    /* Курьером */
    .courier__table thead th,
    .courier__table tbody td {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* По России */
    .russia__logos {
        gap: 10px;
    }

    .russia__logo {
        width: calc(33.333% - 8px);
        min-width: 90px;
    }

    /* FAQ */
    .faq-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .page-title {
        font-size: 22px;
    }

    .tabs__btn {
        padding: 9px 14px;
        font-size: 13px;
        gap: 6px;
    }

    .tabs__btn svg,
    .tabs__btn img {
        width: 16px;
        height: 16px;
    }

    .pickup__info {
        padding: 14px 16px;
    }

    .russia__logo {
        width: calc(50% - 6px);
    }
}
