
/* Hero Section */
.delivery-hero {
    position: relative;
    max-width: 1960px;
    margin: 0 auto;
    height: 450px;
    background: linear-gradient(135deg, #2E1500 0%, #4A2800 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.delivery-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 21, 0, 0.4) 0%, rgba(74, 40, 0, 0.6) 100%);
    z-index: 1;
}

.delivery-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.delivery-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

.delivery-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #C9A961 0%, #E8D5A8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.delivery-hero-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.delivery-hero-title {
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #E8D5A8;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.delivery-hero-subtitle {
    font-size: 1.25rem;
    color: #E3D9CD;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Container */
.delivery-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Zones Section */
.delivery-zones-section {
    padding: 5rem 0;
    background-color: white;
}

.delivery-zones-section-modal {
    padding: 1rem 0;
    background-color: white;
}

.delivery-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.delivery-section-label {
    font-size: 0.875rem;
    color: #C9A961;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.delivery-section-title {
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #2E1500;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.delivery-section-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(46, 21, 0, 0.7);
    max-width: 800px;
    margin: 0 auto;
}

/* Table */
.delivery-table-wrapper {
    overflow-x: auto;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.2);
    border-radius: 0;
}

.delivery-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.delivery-table thead {
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
}

.delivery-table th {
    padding: 1.25rem 1rem;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.delivery-table th:last-child {
    border-right: none;
}

.delivery-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(46, 21, 0, 0.1);
    border-right: 1px solid rgba(46, 21, 0, 0.05);
    font-size: 0.95rem;
}

.delivery-table td:first-child {
    font-weight: 600;
    color: #2E1500;
    background-color: rgba(201, 169, 97, 0.05);
}

.delivery-table td:last-child {
    border-right: none;
}

.delivery-table tbody tr:hover {
    background-color: rgba(201, 169, 97, 0.03);
}

.delivery-table-note {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.note-client {
    background-color: #FFE8E8;
    color: #D32F2F;
}

.note-half {
    background-color: #FFF4E6;
    color: #F56200;
}

.note-free {
    background-color: #E8F5E9;
    color: #2E7D32;
}

/* Legend */
.delivery-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: linear-gradient(to bottom, #F9F6F2 0%, white 100%);
    border-radius: 0;
}

.delivery-legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.delivery-legend-badge {
    width: 50px;
    height: 30px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Process Section */
.delivery-process-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #F9F6F2 0%, #E3D9CD 100%);
}

.delivery-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.delivery-step {
    background-color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.15);
}

.delivery-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.25);
}

.delivery-step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.delivery-step-icon {
    width: 60px;
    height: 60px;
    margin: 1.5rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-step-icon svg {
    width: 40px;
    height: 40px;
    stroke: #C9A961;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.delivery-step-title {
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 1.25rem;
    color: #2E1500;
    margin-bottom: 0.75rem;
}

.delivery-step-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(46, 21, 0, 0.7);
}

/* Return Section */
.delivery-return-section {
    padding: 5rem 0;
    background-color: white;
}

.delivery-return-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.delivery-return-card {
    background: linear-gradient(to bottom, #F9F6F2 0%, white 100%);
    padding: 2.5rem;
    border-radius: 0;
    border-left: 4px solid #C9A961;
    transition: all 0.3s ease;
}

.delivery-return-card:hover {
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.2);
    border-left-color: #F56200;
}

.delivery-return-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #C9A961 0%, #E8D5A8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.delivery-return-card-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.delivery-return-card h3 {
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #2E1500;
    margin-bottom: 1rem;
}

.delivery-return-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(46, 21, 0, 0.7);
    margin-bottom: 1rem;
}

.delivery-return-card ul {
    list-style: none;
    padding-left: 0;
}

.delivery-return-card li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(46, 21, 0, 0.7);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.delivery-return-card li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #C9A961;
    font-weight: bold;
}

/* Info Section */
.delivery-info-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2E1500 0%, #4A2800 100%);
    position: relative;
    overflow: hidden;
}

.delivery-info-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.delivery-info-content {
    position: relative;
    z-index: 1;
}

.delivery-info-section .delivery-section-label {
    color: #C9A961;
}

.delivery-info-section .delivery-section-title {
    color: #E8D5A8;
}

.delivery-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.delivery-info-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 0;
    border: 1px solid rgba(201, 169, 97, 0.3);
    transition: all 0.3s ease;
}

.delivery-info-card:hover {
    background-color: rgba(201, 169, 97, 0.1);
    border-color: #C9A961;
}

.delivery-info-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-info-card-icon svg {
    width: 30px;
    height: 30px;
    stroke: #C9A961;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.delivery-info-card h3 {
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 1.25rem;
    color: #E8D5A8;
    margin-bottom: 0.75rem;
}

.delivery-info-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(227, 217, 205, 0.8);
}

/* CTA Section */
.delivery-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
    text-align: center;
}

.delivery-cta-title {
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.delivery-cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.delivery-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.delivery-cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.delivery-cta-button-primary {
    background-color: white;
    color: #2E1500;
}

.delivery-cta-button-primary:hover {
    background-color: #2E1500;
    color: #C9A961;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.delivery-cta-button-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.delivery-cta-button-secondary:hover {
    background-color: white;
    color: #2E1500;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1023px) {
    .delivery-hero-title {
        font-size: 2.5rem;
    }

    .delivery-section-title {
        font-size: 2rem;
    }

    .delivery-return-grid,
    .delivery-info-grid {
        grid-template-columns: 1fr;
    }

    .delivery-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .delivery-container {
        padding: 0 1rem;
    }

    .delivery-hero {
        height: 400px;
    }

    .delivery-hero-title {
        font-size: 2rem;
    }

    .delivery-hero-subtitle {
        font-size: 1rem;
    }

    .delivery-zones-section,
    .delivery-process-section,
    .delivery-return-section,
    .delivery-info-section,
    .delivery-cta-section {
        padding: 3rem 0;
    }

    .delivery-legend {
        gap: 1rem;
    }

    .delivery-cta-title {
        font-size: 1.75rem;
    }

    .delivery-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .delivery-cta-button {
        width: 100%;
        max-width: 300px;
    }

    .delivery-table {
        font-size: 0.85rem;
    }

    .delivery-table th,
    .delivery-table td {
        padding: 0.75rem 0.5rem;
    }
}


/*модальное доставка*/
/* Стиль для скрытых элементов */
.hidden {
    display: none !important;
}

/* Стили для адреса самовывоза */
#pickupAddressInfo {
    max-width: 200px;
}

#selectedStoreAddress {
    margin-bottom: 2px;
}

/* Адаптивность */
@media (max-width: 768px) {
    #pickupAddressInfo {
        max-width: 150px;
    }
}



/* Pickup Section */
.delivery-pickup-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #F9F6F2 0%, #E3D9CD 100%);
}

.delivery-pickup-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.delivery-pickup-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.15);
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.delivery-pickup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.25);
    border-color: #C9A961;
}

.delivery-pickup-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(46, 21, 0, 0.1);
}

.delivery-pickup-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C9A961 0%, #E8D5A8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    flex-shrink: 0;
}

.delivery-pickup-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.delivery-pickup-card-header h3 {
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #2E1500;
    margin: 0;
    flex-grow: 1;
}

.delivery-pickup-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background-color: rgba(201, 169, 97, 0.1);
    color: #2E1500;
    border-radius: 0;
    font-weight: 600;
    white-space: nowrap;
}

.delivery-pickup-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.delivery-pickup-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-pickup-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(46, 21, 0, 0.7);
}

.delivery-pickup-info-item svg {
    width: 18px;
    height: 18px;
    stroke: #C9A961;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.delivery-pickup-note {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(46, 21, 0, 0.7);
    padding: 1rem;
    background-color: rgba(201, 169, 97, 0.05);
    border-left: 3px solid #C9A961;
    margin: 0;
}

.delivery-pickup-process {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(46, 21, 0, 0.1);
}

.delivery-pickup-process-title {
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 1.75rem;
    color: #2E1500;
    text-align: center;
    margin-bottom: 2rem;
}

.delivery-pickup-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.delivery-pickup-step {
    text-align: center;
    position: relative;
}

.delivery-pickup-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 0;
    margin: 0 auto 1rem;
}

.delivery-pickup-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(46, 21, 0, 0.7);
    margin: 0;
}

.delivery-pickup-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -0.75rem;
    width: 1.5rem;
    height: 2px;
    background-color: rgba(201, 169, 97, 0.3);
}

/* Responsive */
@media (max-width: 1023px) {
    .delivery-pickup-cards {
        grid-template-columns: 1fr;
    }

    .delivery-pickup-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .delivery-pickup-step:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .delivery-pickup-steps {
        grid-template-columns: 1fr;
    }

    .delivery-pickup-step::after {
        display: none;
    }

    .delivery-pickup-card {
        padding: 1.5rem;
    }

    .delivery-pickup-card-header {
        flex-wrap: wrap;
    }

    .delivery-pickup-card-header h3 {
        font-size: 1.25rem;
    }
}

/* Delivery Options Section */
.delivery-options-section {
    padding: 5rem 0;
    background-color: white;
}

.delivery-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.delivery-option-card {
    background-color: white;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.15);
    border: 1px solid rgba(201, 169, 97, 0.1);
    position: relative;
    overflow: hidden;
}

.delivery-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.25);
    border-color: #C9A961;
}

.delivery-option-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(46, 21, 0, 0.1);
}

.delivery-option-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.delivery-option-icon.yandex {
    background: linear-gradient(135deg, #C9A961 0%, #E8D5A8 100%);
}

.delivery-option-icon.dostavista {
    background: linear-gradient(135deg, #A88B4D 0%, #C9A961 100%);
}

.delivery-option-icon.cdek {
    background: linear-gradient(135deg, #8B7355 0%, #C9A961 100%);
}

.delivery-option-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.delivery-option-header h3 {
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #2E1500;
    margin-bottom: 0.5rem;
}

.delivery-option-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(201, 169, 97, 0.1);
    color: #2E1500;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.delivery-option-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.delivery-option-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.delivery-option-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(46, 21, 0, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.delivery-option-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: #C9A961;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.delivery-option-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(46, 21, 0, 0.7);
    margin: 0;
    padding: 1rem;
    background-color: rgba(201, 169, 97, 0.05);
    border-left: 3px solid #C9A961;
}

.delivery-options-note {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(to bottom, #F9F6F2 0%, white 100%);
    border-radius: 0;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.delivery-note-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #C9A961 0%, #E8D5A8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.delivery-note-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.delivery-options-note p {
    color: rgba(46, 21, 0, 0.7);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.delivery-options-note strong {
    color: #2E1500;
    font-family: 'Futura', 'Montserrat', sans-serif;
}

/* Responsive */
@media (max-width: 1023px) {
    .delivery-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .delivery-options-grid {
        grid-template-columns: 1fr;
    }

    .delivery-options-note {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .delivery-note-icon {
        margin-bottom: 0.5rem;
    }
}
