.delivery__input input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.delivery__input input:focus {
    /* border-color: #4CAF50; */
    outline: none;
}

/* .delivery__input input:required:valid {
    border-color: #4CAF50;
} */

.delivery__input input:required:invalid:not(:placeholder-shown) {
    border-color: #ff0000;
}

.delivery__input input.valid {
    border-color: #4CAF50 !important;
    background-color: rgba(76, 175, 80, 0.05);
}

.delivery__input input.invalid {
    border-color: #f44336 !important;
    background-color: rgba(244, 67, 54, 0.05);
}

.delivery__form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.delivery__form button[type="submit"]:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.delivery__form button[type="submit"]:not(:disabled):hover {
    background-color: #45a049;
}

/* Стили для модального окна с контентом */
.modal-content-container {
    padding: 15px;
}

.modal-content-popup {
    max-width: 800px;
    margin: 1.75rem auto;
}

.modal-content-body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    padding: 20px;
}

/* Стили для футера */
.footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: 60px;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0 40px;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.footer__link:hover {
    color: #fff;
}

.footer__bottom {
    display: flex;
    align-items: center;
    padding: 25px 0;
}

@media (max-width: 768px) {
    .footer__content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__links {
        justify-content: center;
        width: 100%;
        margin: 20px 0;
        gap: 20px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* Стили для модального контента */
.modal-content {
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
    text-align: left;
}

.modal-content h3 {
    font-size: 18px;
    margin: 25px 0 15px;
    color: #000;
    text-align: left;
}

.modal-content p {
    margin-bottom: 15px;
    text-align: left;
}

.modal-content ul,
.modal-content ol {
    margin: 15px 0;
    padding-left: 20px;
    text-align: left;
}

.modal-content li {
    margin-bottom: 8px;
    text-align: left;
}

.modal-content .note {
    font-style: italic;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    text-align: left;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 15px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .modal-content h3 {
        font-size: 16px;
    }
}

/* Стили для контактов в футере */
.footer__contacts {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer__contact-item strong {
    color: #fff;
    font-weight: 600;
}

.footer__contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__contact-item a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer__contacts {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }

    .footer__contact-item {
        flex-direction: column;
        gap: 5px;
    }
}

/* Стили для уведомления о куки */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-consent__content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cookie-consent__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.cookie-consent__text h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 18px;
}

.cookie-consent__text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent__buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-consent__btn--settings {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cookie-consent__btn--settings:hover {
    border-color: #fff;
}

.cookie-consent__btn--accept {
    background: #45a049;
    color: #fff;
}

.cookie-consent__btn--accept:hover {
    background: #3d8b41;
}

/* Стили для окна настроек куки */
.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.cookie-settings.show {
    display: flex;
}

.cookie-settings__container {
    background: #fff;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-settings__header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-settings__header h3 {
    font-size: 20px;
    margin: 0;
}

.cookie-settings__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.cookie-settings__content {
    padding: 20px;
}

.cookie-settings__item {
    margin-bottom: 20px;
}

.cookie-settings__item:last-child {
    margin-bottom: 0;
}

.cookie-settings__item-header {
    margin-bottom: 10px;
}

.cookie-settings__label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cookie-settings__checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #45a049;
    border-radius: 4px;
    position: relative;
    display: inline-block;
}

.cookie-settings__label input:checked + .cookie-settings__checkbox::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    background: #45a049;
    border-radius: 2px;
}

.cookie-settings__label input {
    display: none;
}

.cookie-settings__title {
    font-weight: 600;
}

.cookie-settings__description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-settings__footer {
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.cookie-settings__btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-settings__btn--save {
    background: #45a049;
    color: #fff;
}

.cookie-settings__btn--save:hover {
    background: #3d8b41;
}

@media (max-width: 768px) {
    .cookie-consent__container {
        flex-direction: column;
        gap: 20px;
    }

    .cookie-consent__content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent__buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-consent__btn {
        width: 100%;
    }

    .cookie-settings__container {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
}

/* Стили для галочки согласия в форме доставки */
.delivery__agreement {
    /* margin-bottom: 20px; */
}

.delivery__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: default;
}

.delivery__checkbox-label input {
    display: none;
}

.delivery__checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #45a049;
    border-radius: 4px;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    margin-top: 3px;
}

.delivery__checkbox-label input:checked + .delivery__checkbox::after {
    content: '';
    position: absolute;
    top: 2.2px;
    left: 2.3px;
    width: 12.7px;
    height: 12.7px;
    background: #45a049;
    border-radius: 2px;
}

.delivery__agreement-text {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.delivery__agreement-text a {
    color: #45a049;
    text-decoration: none;
    transition: color 0.3s ease;
}

.delivery__agreement-text a:hover {
    color: #3d8b41;
    text-decoration: underline;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: white;
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

/* Стили для таймера */
.timer-container {
    margin-bottom: 30px;
    text-align: center;
}

.timer {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timer-item {
    text-align: center;
    min-width: 80px;
}

.timer-item span {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    display: block;
}

.timer-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
}

.timer-separator {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0 10px;
    line-height: 1;
    padding-bottom: 20px;
} 