/* === MOTOPRO KATALOG – FINAL UI === */

:root {
    --mp-accent:#ff6a00;
}

/* ---------------------- */
/* GLOBAL CONTAINER */
/* ---------------------- */
.mp-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------------------- */
/* GRID LAYOUT */
/* ---------------------- */
.mp-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.mp-main { min-width: 0; }

@media (max-width: 992px) {
    .mp-grid {
        grid-template-columns: 1fr;
    }
    .mp-sidebar {
        display: none; /* TODO: make offcanvas later */
    }
}

/* ---------------------- */
/* SIDEBAR */
/* ---------------------- */
.mp-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    width: 260px;
    background: #fff;
    padding: 10px 15px 20px;
    border-right: 1px solid #eee;
}

.mp-catnav {
    display: flex;
    flex-direction: column;
}

.mp-catnav .mp-link,
.mp-catnav .mp-sublink {
    padding: 10px 12px;
    font-size: 15px;
    text-decoration: none;
    display: block;
    color: #222;
    border-bottom: 1px solid #f1f1f1;
    transition: background .2s, color .2s;
}

.mp-catnav .mp-sublink {
    padding-left: 22px;
    font-size: 14px;
    border-left: 2px solid rgba(0,0,0,0.12);
}

.mp-catnav a:hover {
    background: #fafafa;
    color: var(--mp-accent);
}

.mp-catnav .is-current,
.mp-catnav .is-active-branch {
    color: var(--mp-accent);
    font-weight: 600;
}

.mp-sep {
    height: 1px;
    background: #e7e7e7;
    margin: 12px 0;
}

/* ---------------------- */
/* ARCHIVE HEADERS */
/* ---------------------- */
.mp-archive-title {
    font-size: 28px;
    margin: 0 0 14px;
    border-left: 4px solid var(--mp-accent);
    padding-left: 10px;
}
.mp-archive-intro {
    color: #666;
    font-size: 15px;
    margin-bottom: 22px;
}

/* ---------------------- */
/* SUBCATEGORY TILES */
/* ---------------------- */
.mp-tiles {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 14px;
}

@media(max-width:1200px){
    .mp-tiles{ grid-template-columns: repeat(4,1fr); }
}
@media(max-width:782px){
    .mp-tiles{ grid-template-columns: repeat(2,1fr); }
}

.mp-tile {
    text-align: center;
    padding: 14px;
    border: 1px solid #eee;
    border-radius: 8px;
    background:#fff;
    transition:.2s;
}
.mp-tile:hover {
    border-color: var(--mp-accent);
    transform: translateY(-2px);
}
.mp-tile-title {
    margin-top: 8px;
    font-size: 14px;
}

/* ---------------------- */
/* TRUST BLOCK */
/* ---------------------- */

.mp-trust {
    margin: 40px 0 50px;
}

.mp-trust h2 {
    font-size: 26px;
    text-align: center;
    margin-bottom: 24px;
    color: var(--mp-accent);
}

/* WHY GRID */
.mp-trust .why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-bottom: 30px;
}

@media(max-width:992px){
    .mp-trust .why-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:520px){
    .mp-trust .why-grid { grid-template-columns: 1fr; }
}

.mp-trust .why-item {
    border: 1px solid #eee;
    background:#fff;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    transition: .2s;
}
.mp-trust .why-item:hover {
    transform: translateY(-2px);
    border-color: var(--mp-accent);
}
.mp-trust .why-item h3 {
    font-size: 16px;
    margin: 10px 0 6px;
}
.mp-trust .why-item p {
    font-size: 14px;
    color:#666;
}

/* BRAND ROW */
.mp-trust .brand-row {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.mp-trust .brand-row img {
    height: 36px;
    width: auto;
    opacity:.75;
    transition:.2s;
}
.mp-trust .brand-row img:hover {
    opacity: 1;
}

/* ---------------------- */
/* HOMEPAGE PRODUCT LOOP FIX */
/* ---------------------- */
.home ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}
.home ul.products li.product {
    margin: 0 !important;
}

/* ---------------------- */
/* BREADCRUMBS ALIGN */
/* ---------------------- */
.ct-breadcrumbs{
    max-width: 1400px;
    margin:12px auto 8px;
    padding:0 16px;
}
