/* ===== MOTOTOP2 v0.4 CATEGORY ===== */
.mt2-category-page {
    padding: 24px 0 65px;
    background: #f4f5f6;
    min-height: 700px
}

.mt2-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    font-size: 10px;
    color: #888
}

.mt2-breadcrumb a {
    color: #777
}

.mt2-breadcrumb i {
    color: #bbb
}
/* ==============================
   SUBKATEGORIJOS
   ============================== */

.mt2-subcats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 22px;
}

.mt2-subcat {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.mt2-subcat:hover {
    border-color: #d2d2d2;
    box-shadow: 0 6px 20px rgba(0,0,0,.07);
    transform: translateY(-2px);
}

/* Paveikslėlio zona */
.mt2-subcat-image {
    height: 145px;
    padding: 14px 20px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.mt2-subcat-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 240px;
    object-fit: contain;
    transition: transform .25s ease;
}

.mt2-subcat:hover .mt2-subcat-image img {
    transform: scale(1.035);
}

/* Pavadinimas */
.mt2-subcat-name {
    min-height: 48px;
    padding: 8px 14px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mt2-subcat-name span {
    color: #151515;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.mt2-subcat-name i {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    color: #777;
    font-size: 11px;
    transition: .2s ease;
}

.mt2-subcat:hover .mt2-subcat-name i {
    background: #ffc400;
    color: #111;
}

/* Planšetė */
@media (max-width: 1100px) {
    .mt2-subcats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobilus */
@media (max-width: 700px) {
    .mt2-subcats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mt2-subcat-image {
        height: 115px;
        padding: 10px 12px 3px;
    }

    .mt2-subcat-name {
        min-height: 44px;
        padding: 7px 10px 10px;
    }

    .mt2-subcat-name span {
        font-size: 12px;
    }

    .mt2-subcat-name i {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }
}
.mt2-category-layout {
    display: grid;
    grid-template-columns: 260px minmax(0,1fr);
    gap: 22px
}

.mt2-category-side {
    align-self: start;
    background: #fff;
    border-radius: 8px;
    overflow: hidden
}

.mt2-side-title {
    height: 52px;
    background: #ffc400;
    color: #111;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 17px;
    font-size: 11px;
    font-weight: 900
}

.mt2-side-modules {
    padding: 8px 14px 15px
}

.mt2-side-modules .list-group {
    margin: 0
}

.mt2-side-modules .list-group-item {
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 12px 4px;
    background: none;
    font-size: 11px;
    font-weight: 650;
    color: #333
}

.mt2-category-main {
    min-width: 0
}

.mt2-category-header {
    min-height: 118px;
    background: #101012;
    color: #fff;
    border-radius: 8px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden
}

.mt2-category-header h1 {
    font-size: 30px;
    line-height: 1.05;
    margin: 5px 0 0;
    font-weight: 900;
    letter-spacing: -.7px
}

.mt2-eyebrow {
    font-size: 9px;
    font-weight: 900;
    color: #ffc400;
    letter-spacing: 1.5px
}
.mt2-nav a:hover {
    color: #fcc532;
}
.mt2-category-header img {
    width: 150px;
    height: 90px;
    object-fit: contain
}

.mt2-subcats {
    display: grid;
    grid-template-columns: repeat(8,minmax(0,1fr));
    gap: 9px;
    margin: 14px 0
}

.mt2-subcats a {
    min-height: 58px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 7px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #222;
    font-size: 10px;
    font-weight: 800
}

.mt2-subcats i {
    color: #bbb
}

.mt2-category-desc {
    background: #fff;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 0 0 14px;
    color: #666;
    font-size: 11px;
    line-height: 1.6
}

.mt2-category-desc img {
    max-width: 100%;
    height: auto
}

.mt2-category-toolbar {
    height: 58px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 0 13px 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.mt2-found {
    font-size: 10px;
    color: #777
}

.mt2-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px
}

.mt2-toolbar-right label {
    font-size: 9px;
    font-weight: 800;
    color: #777;
    margin: 0
}

.mt2-toolbar-right select {
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    padding: 0 28px 0 10px;
    font-size: 10px
}

.mt2-category-products {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 11px
}

.mt2-cproduct {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    min-width: 0;
    transition: .18s
}

.mt2-cproduct:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px #0000000d
}

.mt2-cwish {
    position: absolute;
    z-index: 3;
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333
}

.mt2-cimage {
    height: 205px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    min-height: 273px !important;
}

.mt2-cimage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 267px !important;
}

.mt2-cbody {
    padding: 0 14px 14px
}

.mt2-cname {
    height: 39px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #202022;
    font-size: 10px;
    line-height: 1.45;
    font-weight: 750
}

.mt2-rating {
    font-size: 8px;
    color: #dba900;
    margin: 7px 0
}

.mt2-cprice {
    height: 71px;
    display: flex;
    gap: 7px;
    align-items: baseline
}

.mt2-cprice strong {
    font-size: 16px
}

.mt2-cprice del {
    font-size: 9px;
    color: #999
}

.mt2-cbuy {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 5px;
    background: #ffc400;
    color: #111;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer
}

.mt2-cbuy i {
    margin-right: 5px
}

.mt2-pager {
    display: flex;
    margin-top: 36px;
    font-size: 10px;
    color: #777;
    margin-left: -41px;
}

.mt2-pager .pagination {
    margin: 0
}

.mt2-pager .pagination>li>a,.mt2-pager .pagination>li>span {
    border: 0;
    background: #fff;
    color: #333;
    margin: 0 2px;
    border-radius: 5px;
    padding: 13px;
}
.mt2-subcat {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
}

.mt2-subcat-image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.mt2-subcat-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mt2-subcat-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.mt2-pager .pagination>.active>span {
    background: #ffc400;
    color: #111
}

.mt2-empty {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 8px
}
/* =========================================
   HEADER KATEGORIJŲ DROPDOWN
   ========================================= */

.mt2-nav .mt2-container {
    display: flex;
    align-items: stretch;
}

.mt2-nav-categories {
    position: relative;
    flex: 0 0 230px;
    margin-right: 10px;
}

.mt2-nav-cat-button {
    width: 100%;
    height: 100%;
    min-height: 46px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    gap: 10px;

    border: 0;
    background: #ffc400;
    color: #111;

    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.mt2-nav-cat-button .fa-bars {
    font-size: 14px;
}

.mt2-nav-cat-arrow {
    margin-left: auto;
    transition: transform .2s ease;
}

.mt2-nav-categories.is-open .mt2-nav-cat-arrow {
    transform: rotate(180deg);
}


/* Pagrindinis dropdown */

.mt2-nav-cat-dropdown {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;

    width: 280px;
    background: #fff;

    border: 1px solid #e5e5e5;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);

    z-index: 9999;
}

.mt2-nav-categories.is-open .mt2-nav-cat-dropdown {
    display: block;
}


/* Kategorijos */

.mt2-nav-cat-item {
    position: relative;
}

.mt2-nav-cat-item > a {
    min-height: 46px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #eee;

    color: #151515;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.mt2-nav-cat-item:last-child > a {
    border-bottom: 0;
}

.mt2-nav-cat-item > a:hover {
    background: #f6f6f6;
    color: #111;
}

.mt2-nav-cat-item > a i {
    color: #aaa;
}


/* Subkategorijos dešinėje */

.mt2-nav-submenu {
    display: none;

    position: absolute;
    top: 0;
    left: 100%;

    width: 520px;
    min-height: 100%;

    padding: 22px;

    background: #fff;
    border: 1px solid #e5e5e5;

    box-shadow: 10px 12px 30px rgba(0,0,0,.12);

    z-index: 10000;
}

.mt2-nav-cat-item:hover > .mt2-nav-submenu {
    display: block;
}
.mt2-subcats {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin: 14px 0;
}

.mt2-subcats > .mt2-subcat {
    flex: 0 0 calc((100% - 63px) / 8);
    min-width: 0;
}
.mt2-nav-submenu strong {
    display: block;
    margin-bottom: 15px;

    color: #111;
    font-size: 16px;
    font-weight: 800;
}

.mt2-nav-submenu-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
}

.mt2-nav-submenu-links a {
    padding: 9px 0;

    border-bottom: 1px solid #eee;

    color: #555;
    font-size: 13px;
    text-decoration: none;
}

.mt2-nav-submenu-links a:hover {
    color: #e5a900;
}
@media(max-width: 1200px) {
    .mt2-category-products {
        grid-template-columns:repeat(3,1fr)
    }

    .mt2-subcats {
        grid-template-columns: repeat(3,1fr)
    }
}

/* Product template from our existing functional product implementation, visually tied into desktop shell */
#mtp-product {
    max-width: 1480px!important;
    margin: 0 auto!important;
    padding: 25px 24px 60px!important
}

#mtp-product .mtp-main-image,#mtp-product .mtp-info {
    background: #fff
}
.mfilter-button.mfilter-button-bottom {
    color: #fff !important;
    height: 38px;
    border: 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: #151515;
    margin-top: 14px;
}

.mfilter-button.mfilter-button-bottom a {
    color: #fff;
}