#search .form-control { border: 2px solid #4a90e2 !important; }


#menu, .main-menu, .menu_holder { display: none !important; }


/* =========================================
   PROTOTYP — плитки підкатегорій
   ========================================= */

.category-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7px;
}

.category-list > div {
    padding: 7px !important;
}


/* ОСНОВНА ПЛИТКА */
.category-list > div > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100%;
    height: 100%;

    padding: 12px 12px 16px;

    background: #ffffff;

    /* Єдина рамка */
    border: 1px solid #e1e5e9;
    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(0,0,0,.05);

    color: #333 !important;
    text-decoration: none !important;
    text-align: center;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease,
        border-width .2s ease,
        color .2s ease;
}


/* КАРТИНКА — БЕЗ РАМКИ */
.category-list > div > a img {
    display: block;

    width: 100% !important;
    max-width: 210px !important;
    height: 165px !important;

    object-fit: contain;

    background: #ffffff;

    padding: 5px;
    margin: 0 auto 13px !important;

    /* прибрали внутрішню рамку */
    border: none !important;
    border-radius: 0;

    transition: transform .25s ease;
}


/* НАВЕДЕННЯ НА ПЛИТКУ */
.category-list > div > a:hover {
    /* Жирна помаранчева рамка */
    border: 3px solid #ff7200;

    color: #ff7200 !important;

    transform: translateY(-4px);

    box-shadow: 0 9px 22px rgba(0,0,0,.12);
}


/* Легке збільшення картинки */
.category-list > div > a:hover img {
    transform: scale(1.035);
}


/* ПК — 4 плитки */
@media (min-width: 1200px) {

    .category-list > div {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }
}


/* ПЛАНШЕТ — 2 плитки */
@media (min-width: 576px) and (max-width: 1199px) {

    .category-list > div {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}


/* ТЕЛЕФОН — 2 плитки */
@media (max-width: 575px) {

    .category-list {
        margin: 0 -5px;
    }

    .category-list > div {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;

        padding: 5px !important;
    }

    .category-list > div > a {
        padding: 8px 7px 11px;

        font-size: 13px;

        border-radius: 9px;
    }

    .category-list > div > a img {
        height: 110px !important;

        padding: 3px;

        margin-bottom: 8px !important;
    }

    .category-list > div > a:hover {
        border-width: 2px;
    }
}














/* =========================================================
   PROTOTYP — ОФОРМЛЕННЯ СТОРІНКИ КАТЕГОРІЇ
   UniShop2
   ========================================================= */


/* =========================================================
   1. ВЕРХНЯ КАРТКА ПОТОЧНОЇ КАТЕГОРІЇ
   ========================================================= */

.category-page.category-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 18px 20px !important;
    margin-bottom: 20px !important;

    background: #ffffff !important;

    border: 1px solid #e1e5e9 !important;
    border-radius: 12px !important;

    box-shadow: 0 3px 10px rgba(0,0,0,.05);

    text-align: center !important;

    overflow: visible !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


/* Контейнер головної картинки */
.category-page.category-info .category-info__image {
    display: block !important;

    float: none !important;

    width: 500px !important;
    max-width: 100% !important;

    height: auto !important;

    flex: 0 0 auto !important;

    margin: 0 auto !important;
    padding: 0 !important;

    text-align: center !important;
}


/* Головна картинка */
.category-page.category-info .category-info__image img {
    display: block !important;

    width: 500px !important;
    max-width: 100% !important;

    height: auto !important;

    margin: 0 auto !important;
    padding: 0 !important;

    border: none !important;

    object-fit: contain !important;

    transition: transform .25s ease;
}


/* Блок назви / опису */
.category-page.category-info .category-info__description {
    display: block !important;

    position: static !important;
    float: none !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;

    flex: 0 0 auto !important;

    margin: 12px 0 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    opacity: 1 !important;
    visibility: visible !important;

    text-align: center !important;
}


/* Текст під картинкою */
.category-page.category-info .category-info__description p {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #222 !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;

    text-align: center !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* Hover верхнього блоку — БЕЗ підсвітки рамкою */
.category-page.category-info:hover {
    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(0,0,0,.08);
}


/* Легке збільшення головної картинки */
.category-page.category-info:hover .category-info__image img {
    transform: scale(1.015);
}


/* =========================================================
   2. ПЛИТКИ ПІДКАТЕГОРІЙ
   ========================================================= */

.category-list {
    display: flex !important;
    flex-wrap: wrap !important;

    margin-left: -7px !important;
    margin-right: -7px !important;
}


.category-list > div {
    padding: 7px !important;
}


/* Одна плитка */
.category-list > div > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    height: 100% !important;

    padding: 12px 12px 16px !important;

    background: #ffffff !important;

    border: 1px solid #e1e5e9 !important;
    border-radius: 12px !important;

    box-shadow: 0 3px 10px rgba(0,0,0,.05);

    color: #222 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;

    text-align: center !important;
    text-decoration: none !important;

    overflow: visible !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        color .2s ease;
}


/* Картинка підкатегорії */
.category-list > div > a img {
    display: block !important;

    width: 100% !important;
    max-width: 220px !important;

    height: 165px !important;

    object-fit: contain !important;

    margin: 0 auto 13px !important;
    padding: 4px !important;

    border: none !important;

    background: transparent !important;

    transition: transform .25s ease;
}


/* Hover плитки — БЕЗ підсвітки рамкою */
.category-list > div > a:hover {
    color: #ff7200 !important;

    transform: translateY(-3px);

    box-shadow: 0 8px 18px rgba(0,0,0,.10);
}


/* Легке збільшення картинки */
.category-list > div > a:hover img {
    transform: scale(1.025);
}


/* =========================================================
   3. ПК — 4 ПЛИТКИ В РЯД
   ========================================================= */

@media (min-width: 1200px) {

    .category-list > div {
        flex: 0 0 25% !important;
        width: 25% !important;
        max-width: 25% !important;
    }

}


/* =========================================================
   4. ПЛАНШЕТ — 2 ПЛИТКИ В РЯД
   ========================================================= */

@media (min-width: 576px) and (max-width: 1199px) {

    .category-list > div {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
    }

}


/* =========================================================
   5. МОБІЛЬНИЙ — 2 ПЛИТКИ В РЯД
   ========================================================= */

@media (max-width: 575px) {

    .category-page.category-info {
        padding: 12px !important;
        margin-bottom: 14px !important;

        border-radius: 10px !important;
    }


    .category-page.category-info .category-info__image {
        width: 100% !important;
        max-width: 500px !important;
    }


    .category-page.category-info .category-info__image img {
        width: 100% !important;
        max-width: 500px !important;

        height: auto !important;
    }


    .category-page.category-info .category-info__description {
        margin-top: 10px !important;
    }


    .category-page.category-info .category-info__description p {
        font-size: 14px !important;
    }


    .category-list {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }


    .category-list > div {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;

        padding: 5px !important;
    }


    .category-list > div > a {
        padding: 8px 7px 11px !important;

        border-radius: 9px !important;

        font-size: 13px !important;
    }


    .category-list > div > a img {
        height: 115px !important;

        margin-bottom: 8px !important;
        padding: 2px !important;
    }

}