:root{--bp-dark:#131921;--bp-dark2:#232f3e;--bp-orange:#febd69;--bp-orange-d:#f3a847;}
body{background:#eaeded;font-family:'Segoe UI',Tahoma,sans-serif;}
.bp-header{background:var(--bp-dark);color:#fff;}
.bp-logo{color:#fff;font-weight:700;font-size:22px;text-decoration:none;line-height:1;}
.bp-logo span{color:var(--bp-orange);display:block;font-size:14px;}
.bp-search{display:flex;background:#fff;border-radius:6px;overflow:hidden;}
.bp-search .form-control,.bp-search .form-select{border:0;box-shadow:none;}
.bp-btn-search{background:var(--bp-orange);border:0;border-radius:0;padding:0 14px;}
.bp-btn-search:hover{background:var(--bp-orange-d);}
.bp-navlink{color:#fff;text-decoration:none;text-align:center;font-size:14px;padding:6px 10px;border:1px solid transparent;border-radius:4px;position:relative;}
.bp-navlink:hover{color:#fff;border-color:#fff;}
.bp-navlink small{font-size:11px;color:#ddd;}
.bp-badge{background:var(--bp-orange);color:#111;font-size:11px;border-radius:50%;padding:1px 6px;font-weight:700;}
.bp-subnav{background:var(--bp-dark2);padding:6px 0;white-space:nowrap;overflow-x:auto;}
.bp-subnav a{color:#fff;text-decoration:none;margin-right:16px;font-size:13px;display:inline-block;}
.bp-subnav a:hover{text-decoration:underline;}
.bp-hero{background:linear-gradient(135deg,#ff9900,#febd69);border-radius:8px;color:#111;}
.bp-card{border:0;box-shadow:0 1px 2px rgba(0,0,0,.1);transition:transform .15s,box-shadow .15s;}
.bp-card:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.15);}
.bp-cover{height:220px;object-fit:cover;border-bottom:1px solid #eee;}
.bp-cover-lg{max-height:420px;object-fit:contain;}
.bp-title{display:block;font-weight:600;color:#0f1111;text-decoration:none;font-size:14px;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.bp-title:hover{color:#c7511f;}
.bp-price{color:#b12704;font-weight:700;}
.bp-filter{background:#fff;border-radius:8px;}
.bp-footer{background:var(--bp-dark2);color:#ddd;}
.bp-footer a{color:#ddd;}
.bp-desc img{max-width:100%;}
.bp-cover-wrap{display:block;background:#f8f8f8;height:220px;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.bp-cover{max-height:220px;width:auto;max-width:100%;object-fit:contain;}
.bp-cat-tile{transition:transform .12s;}
.bp-cat-tile:hover{transform:translateY(-2px);}

/* ============ ĀRAY BANNER ============ */
.bp-banner{
    display:block;
    width:100%;
    line-height:0;
    background:#131921;
}
.bp-banner-img{
    width:100%;
    height:auto;
    max-height:260px;
    object-fit:cover;
    display:block;
}

/* Fallback if the external banner fails */
.bp-banner-fallback{
    height:180px;
    background:linear-gradient(120deg,#ff9900 0%,#febd69 45%,#131921 100%);
    display:flex; align-items:center; justify-content:center;
    line-height:1.2;
}
.bp-banner-title{ font-size:2rem; font-weight:800; color:#fff; text-shadow:0 2px 6px rgba(0,0,0,.35); }
.bp-banner-sub{ font-size:.9rem; color:#fff; opacity:.9; margin-top:6px; }

/* ============ TOP NAVIGATION ============ */
.bp-topnav{
    background:#232f3e;
    border-bottom:1px solid #3a4553;
}
.bp-topnav a{
    color:#fff;
    text-decoration:none;
    font-size:14px;
    padding:9px 12px;
    display:inline-block;
    white-space:nowrap;
}
.bp-topnav a:hover{ color:#febd69; }

.bp-araypu-btn{
    background:#febd69;
    color:#111 !important;
    font-weight:700;
    border-radius:6px;
    padding:6px 16px !important;
    margin:4px 0;
}
.bp-araypu-btn:hover{ background:#f3a847; }

/* ============ CATEGORY MEGA-MENU ============ */
.bp-catnav{
    background:#37475a;
    position:relative;
    z-index:900;
}
.bp-cat-trigger{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#fff;
    font-size:14px;
    padding:10px 14px;
    cursor:pointer;
    user-select:none;
}
.bp-cat-trigger .caret{
    font-size:10px;
    transition:transform .15s;
}
.bp-catnav:hover .bp-cat-trigger .caret{
    transform:rotate(180deg);
}

/* --- The dropdown panel --- */
.bp-mega{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    box-shadow:0 12px 30px rgba(0,0,0,.25);
    padding:20px 24px;
    display:grid;
    grid-template-columns:repeat(6, 1fr);   /* 6 cols on wide screens  */
    gap:6px 24px;
    opacity:0;
    visibility:hidden;
    transform:translateY(-6px);
    transition:opacity .16s ease, transform .16s ease, visibility .16s;
}

/* Show on hover OR keyboard focus */
.bp-catnav:hover .bp-mega,
.bp-catnav:focus-within .bp-mega{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.bp-mega a{
    color:#333;
    text-decoration:none;
    font-size:14px;
    padding:7px 10px;
    border-radius:5px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    transition:background .1s;
}
.bp-mega a:hover{
    background:#febd69;
    color:#111;
}

/* ---------- Responsive: guarantee ≥5 cols on desktop ---------- */
@media (min-width:1200px){
    .bp-mega{ grid-template-columns:repeat(6, 1fr); }  /* 18 items → 3 rows */
}
@media (min-width:992px) and (max-width:1199.98px){
    .bp-mega{ grid-template-columns:repeat(5, 1fr); }  /* 18 items → 4 rows */
}
@media (min-width:768px) and (max-width:991.98px){
    .bp-mega{ grid-template-columns:repeat(3, 1fr); }  /* 18 items → 6 rows */
}
@media (max-width:767.98px){
    .bp-mega{ grid-template-columns:repeat(2, 1fr); }  /* phones      */
    .bp-topnav a{ font-size:13px; padding:8px 8px; }
}

/* ============ BANNER ============ */
.bp-banner{
    display:block;
    width:100%;
    line-height:0;              /* no gap under the image */
    background:#131921;
}
.bp-banner-img{
    display:block;
    width:100%;                 /* full width — no 100px override */
    height:auto;
    max-height:260px;
    object-fit:cover;
}

.bp-banner-fallback{
    height:180px;
    background:linear-gradient(120deg,#ff9900 0%,#febd69 45%,#131921 100%);
    align-items:center;
    justify-content:center;
    line-height:1.2;
}
.bp-banner-title{ font-size:2rem; font-weight:800; color:#fff; text-shadow:0 2px 6px rgba(0,0,0,.35); }
.bp-banner-sub{ font-size:.9rem; color:#fff; opacity:.9; margin-top:6px; }

/* ============ LOGO (image OR text) ============ */
.bp-logo{
    text-decoration:none;
    flex-shrink:0;
    min-width:max-content;
}
.bp-logo-img{
    display:block;
    height:48px;                /* adjust to your logo */
    width:auto;
    max-width:180px;
    object-fit:contain;
    background:#fff;
    padding:4px 8px;
    border-radius:6px;
}
.bp-logo-text{
    color:#fff;
    font-weight:700;
    font-size:20px;
    line-height:1;
    display:inline-block;
}
.bp-logo-text span{
    color:#febd69;
    display:block;
    font-size:12px;
    margin-top:2px;
}
/* ============ HERO — logo + text side-by-side ============ */
.bp-hero{
    background:linear-gradient(135deg,#ff9900 0%,#febd69 55%,#f5f5f5 100%);
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 4px 18px rgba(0,0,0,.08);
}
.bp-hero-inner{
    display:flex;
    align-items:center;              /* vertically center logo & text */
    justify-content:space-between;
    gap:32px;
    padding:28px 40px;
}

/* Logo column — never shrinks */
.bp-hero-logo{
    flex:0 0 auto;
    max-width:320px;
}
.bp-hero-logo img{
    display:block;
    width:300px;
    height:130px;
    object-fit:contain;              /* no stretching */
}

/* Text column — grows and centres vertically */
.bp-hero-text{
    flex:1 1 auto;
    min-width:0;
}
.bp-hero-text h1{
    font-size:clamp(1.5rem, 3vw, 2.4rem);
    line-height:1.15;
    color:#111;
}
.bp-hero-text p{
    color:#222;
    font-size:1.05rem;
}

/* ---------- Responsive: stack on phones ---------- */
@media (max-width:768px){
    .bp-hero-inner{
        flex-direction:column;
        text-align:center;
        gap:18px;
        padding:24px 20px;
    }
    .bp-hero-logo{
        max-width:220px;
    }
    .bp-hero-logo img{
        width:220px;
        height:auto;
    }
}
.bp-hero-logo-inline{
    height:90px;
    width:auto;
    object-fit:contain;
    flex-shrink:0;
}

/* ============ HERO — gradient background + logo + text ============ */
.bp-hero{
    background:linear-gradient(135deg,#ff9900 0%,#febd69 55%,#f5f5f5 100%);
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 4px 18px rgba(0,0,0,.08);
}

.bp-hero-inner{
    display:flex;
    align-items:center;               /* logo vertically centred with text */
    justify-content:flex-start;
    gap:32px;
    padding:28px 40px;
}

/* Logo — fixed box, never distorted, never shrinks */
.bp-hero-logo-inline{
    flex:0 0 auto;
    display:block;
    height:130px;
    width:auto;
    max-width:320px;
    object-fit:contain;
}

/* Text column */
.bp-hero-text{
    flex:1 1 auto;
    min-width:0;
}
.bp-hero-text h1{
    font-size:clamp(1.5rem, 3vw, 2.4rem);
    line-height:1.15;
    color:#111;
}
.bp-hero-text p{
    color:#222;
    font-size:1.05rem;
}

/* ---------- Responsive: stack under 768px ---------- */
@media (max-width:768px){
    .bp-hero-inner{
        flex-direction:column;
        text-align:center;
        gap:18px;
        padding:24px 20px;
    }
    .bp-hero-logo-inline{
        height:90px;
        max-width:220px;
    }
}