/* Liquid Glass Amber Theme — Версия с сияющими кнопками и белым текстом */

:root {
    --white: #f8fafc;
    --black: #110e17;
    --card-bg: #1b1821;
    --gold: #ffd700;
    --gold-light: #ffea70;
    --red: #dc3545;
    --wasto-red: #ff3b3b;
    --border-gold: rgba(255, 215, 0, 0.3);
}

/* ------------------------------------------------------------- */
/* 1. ФОН САЙТА                                                  */
/* ------------------------------------------------------------- */
body, html {
    background-color: #14101a !important;
    color: var(--white) !important;
}

/* ------------------------------------------------------------- */
/* 2. ЛОГОТИП WastoPE                                            */
/* ------------------------------------------------------------- */
.wasto-text, 
[class*="brand"] span:first-child,
.navbar-brand span:first-child {
    color: var(--wasto-red) !important;
    font-weight: 700 !important;
}

.pe-text, 
[class*="brand"] span:last-child,
.navbar-brand span:last-child {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* ------------------------------------------------------------- */
/* 3. БАЗОВЫЕ ТЕКСТЫ                                             */
/* ------------------------------------------------------------- */
p, span, label, h1, h2, h3, h4, h5, h6, li, a, b, strong, small,
.text-black, .text-black-50, .text-muted, .text-secondary,
[class*="price"], [class*="title"], [class*="desc"] {
    color: var(--white) !important;
    font-weight: normal !important;
}

h1, h2, h3, h4, h5, h6, b, strong {
    font-weight: 600 !important;
}

/* ------------------------------------------------------------- */
/* 4. КАРТОЧКИ ТОВАРОВ                                           */
/* ------------------------------------------------------------- */
.product-card, 
.server-card, 
.bg-soft {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: 12px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* ------------------------------------------------------------- */
/* 5. МОДАЛЬНЫЕ ОКНА И КОРЗИНА                                   */
/* ------------------------------------------------------------- */
.modal-backdrop {
    z-index: 8000000 !important;
    background-color: rgba(0, 0, 0, 0.75) !important;
}

.modal {
    z-index: 8000001 !important;
}

.modal-dialog {
    z-index: 8000002 !important;
}

.modal-content {
    background: #1b1821 !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

/* Инпуты и количество */
.modal input[type="number"],
.modal input[type="text"],
.cart-item-actions input,
[class*="cart"] input,
[class*="quantity"] input {
    color: #ffffff !important;
    background: #0f0d14 !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: 6px !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 4px 8px !important;
}

/* Кнопки + и - */
.btn-plus, 
.btn-minus,
[class*="qty-plus"], 
[class*="qty-minus"] {
    all: unset !important;
    box-sizing: border-box !important;
    width: 32px !important;
    height: 32px !important;
    background: #282332 !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
}

/* ------------------------------------------------------------- */
/* 6. КНОПКА УДАЛЕНИЯ (МУСОРКА)                                  */
/* ------------------------------------------------------------- */
.cart-remove, .btn-delete, .btn-trash,
.product-card .btn-danger {
    all: unset !important;
    box-sizing: border-box !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(220, 53, 69, 0.2) !important;
    border: 1px solid rgba(220, 53, 69, 0.6) !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.cart-remove svg, .cart-remove i {
    width: 16px !important;
    height: 16px !important;
    fill: #ff4d4d !important;
    color: #ff4d4d !important;
}

/* ------------------------------------------------------------- */
/* 7. ФИКС ШТОРКИ И КРЕСТИКА МЕНЮ                                */
/* ------------------------------------------------------------- */
.offcanvas-backdrop,
.drawer-backdrop {
    z-index: 99998 !important;
}

.offcanvas,
.drawer,
[class*="offcanvas"] {
    z-index: 99999 !important;
    background-color: #110e17 !important;
    background-image: none !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.offcanvas-header,
.drawer-header,
[class*="offcanvas-header"] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.offcanvas .btn-close,
.offcanvas .close,
.offcanvas [class*="close"],
.drawer [class*="close"] {
    position: relative !important;
    margin-left: auto !important;
    left: auto !important;
    right: 0 !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    color: #ffffff !important;
    filter: invert(1) grayscale(100%) brightness(200%) !important;
}

.offcanvas-body,
.drawer-body,
[class*="offcanvas-body"] {
    padding: 16px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.offcanvas a, 
.drawer a, 
[class*="offcanvas"] a {
    color: #ffffff !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 10px 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* ------------------------------------------------------------- */
/* 8. СИЯЮЩИЕ КНОПКИ (Подробнее, В корзину, К товарам и др.)     */
/* ------------------------------------------------------------- */
.btn:not(.cart-remove):not(.btn-delete):not(.btn-trash):not(.btn-plus):not(.btn-minus):not([class*="qty"]):not(.btn-close):not(.close),
[class*="buy-btn"],
[class*="cart-btn"],
[class*="detail-btn"],
a[href*="shop"].btn,
a[href*="catalog"].btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6), 0 0 25px rgba(255, 170, 0, 0.35) !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

/* Текст внутри всех дочерних тегов кнопок принудительно белый */
.btn:not(.cart-remove):not(.btn-delete):not(.btn-trash):not(.btn-plus):not(.btn-minus):not([class*="qty"]):not(.btn-close):not(.close) *,
.btn * {
    color: #ffffff !important;
}

/* Эффект усиления свечения при наведении или нажатии */
.btn:not(.cart-remove):not(.btn-delete):not(.btn-trash):not(.btn-plus):not(.btn-minus):not([class*="qty"]):not(.btn-close):not(.close):hover,
.btn:not(.cart-remove):not(.btn-delete):not(.btn-trash):not(.btn-plus):not(.btn-minus):not([class*="qty"]):not(.btn-close):not(.close):active {
    background: linear-gradient(135deg, #ffe047 0%, #ffb700 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.9), 0 0 35px rgba(255, 170, 0, 0.6) !important;
    transform: translateY(-1px) !important;
}