/* ===== ОСНОВНОЙ БЛОК УВЕДОМЛЕНИЯ ===== */
.deaut-preorder-notice-js,
.woocommerce-info.deaut-preorder-notice-js {
    max-width: 1160px;
    width: calc(100% - 30px) !important;
    margin: 15px auto !important;
    padding: 15px 20px !important;
    background: #f8f8f8;
    border-radius: 10px;
    border-left: 4px solid #808080;
    font-size: 14px;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;            /* вертикальное выравнивание по центру */
    justify-content: flex-start;    /* ← меняем space-between на flex-start – элементы идут подряд */
    flex-wrap: wrap;                /* если не влазят, переносятся */
    gap: 5px;                       /* небольшой отступ между текстом и ссылкой (можно убрать) */
    clear: both !important;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ (≤768px) ===== */
@media (max-width: 768px) {
    .deaut-preorder-notice-js,
    .woocommerce-info.deaut-preorder-notice-js {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 12px 16px !important;
        width: calc(100% - 20px) !important;
        margin: 10px auto !important;
        justify-content: center;     /* на мобильных можно центрировать по горизонтали, если нужно */
    }
}

/* ===== ССЫЛКИ ВНУТРИ УВЕДОМЛЕНИЯ ===== */
.woocommerce-info.deaut-preorder-notice-js a {
    text-decoration: underline dotted !important;
    text-underline-offset: 5px !important;
    color: #818181 !important;
    transition: color 0.2s ease;
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;     /* ссылка в строку */
    gap: 0 !important;
}

.woocommerce-info.deaut-preorder-notice-js a:hover {
    color: #a0a0a0 !important;
}

/* ===== ОБНУЛЯЕМ GAP У ВСЕХ ДОЧЕРНИХ ЭЛЕМЕНТОВ ===== */
.woocommerce-info.deaut-preorder-notice-js * {
    gap: 0 !important;
}