/* EVELS.RU Restyle Upgrade v1.0 — 2026-03-19 */
/* Подключается ПОСЛЕ template.css, только переопределяет стили */

/* === ШРИФТЫ === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body, .ui {
    font-family: 'Inter', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* === ХЕДЕР / МЕНЮ === */
.ui.fixed.inverted.main.menu {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-bottom: 2px solid #e94560 !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3) !important;
    min-height: 56px;
}

.ui.fixed.inverted.main.menu .item {
    transition: all 0.25s ease !important;
}

.ui.fixed.inverted.main.menu .item:hover {
    background: rgba(233,69,96,0.15) !important;
    color: #e94560 !important;
}

.ui.fixed.inverted.main.menu .item.topLogo {
    background: transparent !important;
}

/* === КАРТОЧКИ ТОВАРОВ === */
.ui.cards > .card,
.ui.card {
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

.ui.cards > .card:hover,
.ui.card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12) !important;
    border-color: rgba(233,69,96,0.2) !important;
}

.ui.card > .content > .header a {
    color: #1a1a2e !important;
    font-weight: 600 !important;
    font-size: 0.95em !important;
    line-height: 1.4 !important;
    transition: color 0.2s !important;
}

.ui.card > .content > .header a:hover {
    color: #e94560 !important;
}

.ui.card > .extra.content {
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    background: #fafbfc !important;
    padding: 0.8em 1em !important;
}

/* === ЦЕНЫ === */
.ui.basic.right.pointing.label {
    font-size: 1.15em !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    letter-spacing: -0.02em;
}

.ruble.icon {
    color: #e94560 !important;
}

/* === КНОПКИ КОРЗИНЫ === */
.ui.green.vertical.button,
.ui.green.button {
    background: linear-gradient(135deg, #00b894, #00a884) !important;
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 6px rgba(0,184,148,0.3) !important;
}

.ui.green.vertical.button:hover,
.ui.green.button:hover {
    background: linear-gradient(135deg, #00a884, #009874) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0,184,148,0.4) !important;
}

/* === ОСНОВНАЯ ОБЛАСТЬ === */
.masthead.segment {
    background: #ffffff !important;
    border-bottom: 1px solid #eef0f2 !important;
    padding: 1.5em 0 !important;
}

.masthead.segment h1.ui.header {
    color: #1a1a2e !important;
    font-weight: 700 !important;
    font-size: 1.6rem !important;
    letter-spacing: -0.01em;
}

/* === ПОДВАЛ === */
.ui.black.inverted.vertical.footer.segment {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%) !important;
    padding: 3em 0 2em !important;
    border-top: 3px solid #e94560 !important;
}

.ui.inverted.link.list .item {
    transition: all 0.2s ease !important;
    padding: 0.4em 0 !important;
}

.ui.inverted.link.list a.item:hover {
    color: #e94560 !important;
    padding-left: 5px !important;
}

/* === ПОИСК === */
.ui.search input {
    border-radius: 24px !important;
    border: 2px solid #eef0f2 !important;
    padding: 0.7em 1.2em !important;
    transition: border-color 0.3s ease !important;
}

.ui.search input:focus {
    border-color: #e94560 !important;
    box-shadow: 0 0 0 3px rgba(233,69,96,0.1) !important;
}

/* === КНОПКА НАВЕРХ === */
#toTop {
    background: linear-gradient(135deg, #e94560, #c23152) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(233,69,96,0.3) !important;
    transition: all 0.3s ease !important;
}

#toTop:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(233,69,96,0.4) !important;
}

/* === DROPDOWN МЕНЮ === */
.ui.dropdown .menu {
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

.ui.dropdown .menu > .item {
    transition: all 0.15s ease !important;
}

.ui.dropdown .menu > .item:hover {
    background: rgba(233,69,96,0.06) !important;
    color: #e94560 !important;
}

/* === ЛЕЙБЛЫ === */
.ui.label {
    border-radius: 6px !important;
    font-weight: 500 !important;
}

/* === ИЗОБРАЖЕНИЯ ТОВАРОВ === */
.ui.fluid.image img {
    transition: transform 0.4s ease !important;
}

.ui.card:hover .ui.fluid.image img {
    transform: scale(1.03) !important;
}

/* === СЕЛЕКТ ПОДБОРА === */
.ui.selection.dropdown {
    border-radius: 8px !important;
    border: 2px solid #eef0f2 !important;
    transition: border-color 0.3s !important;
}

.ui.selection.dropdown:hover,
.ui.selection.active.dropdown {
    border-color: #e94560 !important;
}

/* === OWL CAROUSEL === */
.owl-carousel .owl-item img {
    border-radius: 8px;
}

.owl-theme .owl-dots .owl-dot span {
    background: #ccc !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #e94560 !important;
    width: 24px !important;
    border-radius: 5px !important;
}

/* === МОДАЛЬНОЕ ОКНО КОРЗИНЫ === */
.ui.small.cart.modal .actions {
    padding: 2em !important;
    background: #fafbfc !important;
}

.ui.big.positive.button {
    background: linear-gradient(135deg, #00b894, #00a884) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0,184,148,0.3) !important;
    transition: all 0.3s ease !important;
}

.ui.big.positive.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,184,148,0.4) !important;
}

/* === МОБИЛЬНАЯ АДАПТИВНОСТЬ === */
@media only screen and (max-width: 768px) {
    .ui.cards > .card {
        margin: 0.5em 0 !important;
        border-radius: 10px !important;
    }
    .ui.fixed.inverted.main.menu {
        min-height: 48px;
    }
    .masthead.segment h1.ui.header {
        font-size: 1.2rem !important;
    }
}

/* === СГЛАЖИВАНИЕ === */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    transition: color 0.2s ease !important;
}
