/* ═══════════════════════════════════════════════════════
   MK UI Effects — Full-Screen + Modern Animations v3.2
   2026-06-30
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   0. GLOBAL FULL-SCREEN — Override Bootstrap container
   ══════════════════════════════════════════════════════ */
.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    box-sizing: border-box !important;
}

/* html/body — no overflow-x to avoid any horizontal scroll from row gutters */
html { overflow-x: hidden !important; }
body { overflow-x: hidden !important; }

/* Modals & small popups should stay centred / compact */
.modal .container,
.modal-dialog,
.modal-content,
.modal-body .container { max-width: 960px !important; }

/* Bootstrap .row negative margins cause horizontal overflow at full-width.
   Neutralise them inside the main content areas only.                    */
.page-top     > .container > .row,
.content-page > .container > .row,
#content-wrap > .container > .row,
#footer       > .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* Keep the col padding so text doesn't press against the edge */
.page-top     > .container > .row > [class*="col-"],
.content-page > .container > .row > [class*="col-"],
#content-wrap > .container > .row > [class*="col-"],
#footer       > .container > .row > [class*="col-"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* ══════════════════════════════════════════════════════
   1. HERO SECTION — Alibaba/olaa.la style
      Category panel (left) + Main slider (right)
   ══════════════════════════════════════════════════════ */
#home-slider {
    width: 100% !important;
    background: #0d1f3c !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;  /* allow category flyout to escape */
    position: relative !important;
    z-index: 20 !important;
}

/* Two-column hero row */
.mk-hero-layout {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 460px !important;
    overflow: visible !important;
}

/* ── Category panel (left) ─────────────────────────── */
.mk-cat-panel {
    width: 210px !important;
    min-width: 210px !important;
    flex-shrink: 0 !important;
    background: rgba(255,255,255,.97) !important;
    position: relative !important;
    z-index: 500 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
}
.mk-cat-hd {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: linear-gradient(135deg, #0d1f3c 0%, #1b3a6b 100%) !important;
    color: #fff !important;
    padding: 0 16px !important;
    height: 48px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    flex-shrink: 0 !important;
}
.mk-cat-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    flex: 1 !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
}
.mk-cat-list::-webkit-scrollbar { display: none !important; }

.mk-cat-item { position: relative !important; }
.mk-cat-lnk {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    color: #253350 !important;
    border-bottom: 1px solid #f0f4f9 !important;
    gap: 6px !important;
    background: transparent !important;
    transition: background .15s, color .15s !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.mk-cat-lnk:hover {
    background: #eef3ff !important;
    color: #1b3a6b !important;
}
.mk-cat-lnk .fa-angle-right {
    color: #c0c8d8 !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
    transition: color .15s !important;
}
.mk-cat-lnk:hover .fa-angle-right { color: #1b3a6b !important; }

/* Flyout submenu — shown/positioned by JS (position:fixed escapes overflow clip) */
.mk-cat-fly {
    position: fixed !important;     /* JS sets top/left via getBoundingClientRect  */
    width: 300px !important;
    background: #fff !important;
    border: 1px solid #e2e8f2 !important;
    border-left: 3px solid #1b3a6b !important;
    border-radius: 0 8px 8px 0 !important;
    box-shadow: 8px 4px 28px rgba(13,31,60,.18) !important;
    padding: 18px 20px !important;
    z-index: 99990 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .18s ease, visibility .18s ease !important;
    /* Force own GPU compositing layer — prevents gray-box paint artifact
       that occurs when position:fixed + display:grid renders the first
       grid cell before the layer is composited.                         */
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    will-change: opacity, visibility !important;
    isolation: isolate !important;
}
/* Class toggled by JS */
.mk-cat-fly.mk-fly-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.mk-cat-fly-hd {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #1b3a6b !important;
    margin: 0 0 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #f59e0b !important;
}

/* Use grid (not columns) — CSS columns causes a blank-box artifact
   on the first item in Webkit/Blink when position:fixed is used.    */
.mk-cat-fly-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2px 12px !important;
}

/* Hard-reset every li so no global product-card rules bleed in */
.mk-cat-fly-list li {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
    display: block !important;
    position: static !important;
    transform: none !important;
    flex-direction: initial !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    min-height: 0 !important;
}
.mk-cat-fly-list li::before,
.mk-cat-fly-list li::after {
    content: none !important;
    display: none !important;
}

.mk-cat-fly-list li a {
    display: block !important;
    padding: 5px 6px !important;
    font-size: 12.5px !important;
    color: #445577 !important;
    border-bottom: none !important;
    transition: color .14s, background .14s !important;
    border-radius: 4px !important;
}
.mk-cat-fly-list li a::before,
.mk-cat-fly-list li a::after {
    content: none !important;
    display: none !important;
}
.mk-cat-fly-list li a:hover {
    color: #1b3a6b !important;
    background: #f0f5ff !important;
}

/* "All categories" at bottom of panel */
.mk-cat-all-lnk {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #1b3a6b !important;
    border-top: 1px solid #e8edf5 !important;
    background: #f7f9fc !important;
    transition: background .15s !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}
.mk-cat-all-lnk:hover { background: #e4ecf9 !important; color: #0d1f3c !important; }

/* ── Main slider column (right) ────────────────────── */
.mk-slider-col {
    flex: 1 !important;
    min-width: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    background: #0d1f3c !important;
}
.mk-slider-col .bx-wrapper {
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 100% !important;
}
.mk-slider-col .bx-wrapper .bx-viewport {
    border: none !important;
    left: 0 !important;
    box-shadow: none !important;
    height: 460px !important;
}
#home-slider #contenhomeslider {
    margin: 0 !important; padding: 0 !important; list-style: none !important;
}
#home-slider #contenhomeslider li {
    position: relative !important; overflow: hidden !important;
}
#home-slider #contenhomeslider li a { display: block !important; }
#home-slider #contenhomeslider li img {
    width: 100% !important;
    height: 460px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .8s ease !important;
}
#home-slider #contenhomeslider li:hover img { transform: scale(1.02) !important; }

/* Slide caption */
.mk-slide-caption {
    position: absolute !important;
    bottom: 0 !important; left: 0 !important; right: 0 !important;
    padding: 28px 40px 36px !important;
    background: linear-gradient(to top, rgba(5,10,22,.75) 0%, transparent 100%) !important;
    color: #fff !important;
    pointer-events: none !important;
    z-index: 4 !important;
}
.mk-slide-caption h5 {
    margin: 0 !important;
    font-size: 22px !important; font-weight: 700 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.55) !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
}

/* Arrows — hidden by default, fade in on slider hover */
.mk-slider-col .bx-wrapper .bx-prev,
.mk-slider-col .bx-wrapper .bx-next {
    width: 42px !important; height: 42px !important;
    background: rgba(255,255,255,.22) !important;
    border-radius: 50% !important;
    backdrop-filter: blur(6px) !important;
    border: 1.5px solid rgba(255,255,255,.35) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    line-height: 42px !important; text-align: center !important;
    font-size: 18px !important; color: #fff !important;
    opacity: 0 !important;
    transition: opacity .28s ease, background .22s, transform .22s !important;
}
.mk-slider-col:hover .bx-wrapper .bx-prev,
.mk-slider-col:hover .bx-wrapper .bx-next {
    opacity: 1 !important;
}
.mk-slider-col .bx-wrapper .bx-prev:hover,
.mk-slider-col .bx-wrapper .bx-next:hover {
    background: rgba(255,255,255,.42) !important;
    transform: translateY(-50%) scale(1.07) !important;
}
.mk-slider-col .bx-wrapper .bx-prev { left: 14px !important; }
.mk-slider-col .bx-wrapper .bx-next { right: 14px !important; }

/* Pager dots */
.mk-slider-col .bx-wrapper .bx-pager {
    padding-top: 0 !important; bottom: 14px !important; z-index: 5 !important;
}
.mk-slider-col .bx-wrapper .bx-pager .bx-pager-item a {
    background: rgba(255,255,255,.38) !important;
    width: 7px !important; height: 7px !important;
    border-radius: 50% !important; margin: 0 3px !important;
    transition: all .25s !important;
}
.mk-slider-col .bx-wrapper .bx-pager .bx-pager-item a.active {
    background: #fff !important; width: 22px !important; border-radius: 4px !important;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 991px) {
    .mk-hero-layout { min-height: 320px !important; }
    .mk-cat-panel { width: 180px !important; min-width: 180px !important; }
    .mk-slider-col .bx-wrapper .bx-viewport,
    #home-slider #contenhomeslider li img { height: 320px !important; }
}
@media (max-width: 767px) {
    .mk-cat-panel { display: none !important; }
    .mk-hero-layout { min-height: 220px !important; }
    .mk-slider-col .bx-wrapper .bx-viewport,
    #home-slider #contenhomeslider li img { height: 220px !important; }
}

/* Category vertical menu — z-index above slider */
.vertical-dropdown-menu { z-index: 1200 !important; }
#nav-top-menu,
.nav-top-menu { z-index: 800 !important; }
.box-vertical-megamenus .vertical-menu-content { z-index: 900 !important; }

/* ── Padding tuning for key containers ── */
.main-header.container, div.main-header.container { padding-left: 24px !important; padding-right: 24px !important; }
.top-header .container  { padding-left: 24px !important; padding-right: 24px !important; }
#footer > .container    { padding-left: 32px !important; padding-right: 32px !important; }
.page-top > .container,
.content-page > .container,
#content-wrap > .container { padding-left: 24px !important; padding-right: 24px !important; }

/* ── 1b. Nav fixes ────────────────────────────────────── */
.vertical-dropdown-menu { z-index: 1300 !important; }
#nav-top-menu > .container { padding-left: 0 !important; padding-right: 0 !important; }
#nav-top-menu > .container > .row { margin-left: 0 !important; margin-right: 0 !important; }

/* On the home page the hero already has a category sidebar,
   so hide the nav bar's always-visible dropdown (.is-home).
   On all other pages it shows on hover as normal.          */
body.home .box-vertical-megamenus .vertical-menu-content {
    display: none !important;
}
/* Also keep the nav bar a fixed single-row height on home page */
body.home #nav-top-menu { overflow: visible !important; }
body.home #box-vertical-megamenus { position: relative !important; }

/* ══════════════════════════════════════════════════════
   1c. HOME PAGE CONTENT — olaa.la / ubuy.la style
   ══════════════════════════════════════════════════════ */

/* Background rhythm */
body.home { background: #f4f6fa !important; }
body.home .page-top    { background: #fff !important; padding: 24px 0 28px !important; margin-top: 0 !important; }
body.home .content-page { background: #f4f6fa !important; padding: 0 !important; }
body.home #content-wrap  { background: #f4f6fa !important; padding-bottom: 40px !important; }

/* Popular tabs section container */
.popular-tabs {
    border: none !important;
    box-shadow: none !important;
}
/* Owl carousel product card polish */
.product-list.owl-carousel .owl-item li,
.product-list.owl-carousel li {
    background: #fff !important;
    border-radius: 10px !important;
    border: 1px solid #e8edf5 !important;
    overflow: hidden !important;
    transition: box-shadow .25s, transform .25s !important;
}
.product-list.owl-carousel .owl-item li:hover,
.product-list.owl-carousel li:hover {
    box-shadow: 0 8px 28px rgba(15,30,60,.13) !important;
    transform: translateY(-4px) !important;
}
/* Product image area — consistent 3:4 ratio */
.product-list li .left-block {
    position: relative !important;
    overflow: hidden !important;
    background: #f8f9fb !important;
    aspect-ratio: 3 / 4 !important;
}
.product-list li .left-block img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .35s ease !important;
}
.product-list li:hover .left-block img { transform: scale(1.05) !important; }
/* Product name */
.product-list li .right-block .product-name a,
.product-list li .right-block .name-product a {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #253350 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color .15s !important;
}
.product-list li:hover .right-block .product-name a,
.product-list li:hover .right-block .name-product a { color: #1b3a6b !important; }
/* Owl nav arrows */
.product-list.owl-carousel .owl-prev,
.product-list.owl-carousel .owl-next {
    width: 36px !important; height: 36px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1.5px solid #e2e8f2 !important;
    box-shadow: 0 2px 8px rgba(15,30,60,.12) !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    color: #1b3a6b !important;
    font-size: 15px !important;
    transition: all .2s !important;
}
.product-list.owl-carousel .owl-prev:hover,
.product-list.owl-carousel .owl-next:hover {
    background: #1b3a6b !important; color: #fff !important; border-color: #1b3a6b !important;
}

/* Category featured sections */
.category-featured {
    background: #fff !important;
    border-radius: 12px !important;
    border: 1px solid #e8edf5 !important;
    box-shadow: 0 2px 12px rgba(15,30,60,.06) !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
}

/* Hot categories grid cards */
#hot-categories { padding: 24px 0 12px !important; }
#hot-categories .group-title-box { margin-bottom: 20px !important; }
#hot-categories .cate-tit {
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(15,30,60,.07) !important;
    transition: box-shadow .25s, transform .25s !important;
    background: #fff !important;
}
#hot-categories .cate-tit:hover {
    box-shadow: 0 10px 30px rgba(15,30,60,.15) !important;
    transform: translateY(-5px) !important;
}

/* ── 2. Keyframes ────────────────────────────────────── */
@keyframes mk-fadeInUp {
    from { opacity: 0; transform: translateY(44px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes mk-fadeInDown {
    from { opacity: 0; transform: translateY(-44px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes mk-fadeInLeft {
    from { opacity: 0; transform: translateX(-48px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes mk-fadeInRight {
    from { opacity: 0; transform: translateX(48px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes mk-scaleIn {
    from { opacity: 0; transform: scale(.82); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes mk-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}
@keyframes mk-pulse-glow {
    0%,100% { box-shadow: 0 0 0 0   rgba(245,158,11,.35); }
    60%     { box-shadow: 0 0 0 14px rgba(245,158,11,0); }
}
@keyframes mk-slideBar {
    from { width: 0; }
    to   { width: 100%; }
}
@keyframes mk-shimmerBg {
    0%   { background-position: -400% center; }
    100% { background-position:  400% center; }
}
@keyframes mk-spinDot {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── 3. Scroll-reveal helpers ────────────────────────── */
.mk-reveal {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity .6s cubic-bezier(.22,.61,.36,1),
                transform .6s cubic-bezier(.22,.61,.36,1);
}
.mk-reveal.mk-in { opacity: 1; transform: translateY(0); }

.mk-reveal-left  { opacity: 0; transform: translateX(-42px);
    transition: opacity .6s cubic-bezier(.22,.61,.36,1),
                transform .6s cubic-bezier(.22,.61,.36,1); }
.mk-reveal-left.mk-in  { opacity: 1; transform: translateX(0); }

.mk-reveal-right { opacity: 0; transform: translateX(42px);
    transition: opacity .6s cubic-bezier(.22,.61,.36,1),
                transform .6s cubic-bezier(.22,.61,.36,1); }
.mk-reveal-right.mk-in { opacity: 1; transform: translateX(0); }

.mk-scale-in { opacity: 0; transform: scale(.88);
    transition: opacity .55s ease, transform .55s ease; }
.mk-scale-in.mk-in { opacity: 1; transform: scale(1); }

/* Stagger children */
.mk-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .5s ease, transform .5s ease;
}
.mk-stagger.mk-in > * { opacity: 1; transform: translateY(0); }
.mk-stagger.mk-in > *:nth-child(1)  { transition-delay: .04s; }
.mk-stagger.mk-in > *:nth-child(2)  { transition-delay: .10s; }
.mk-stagger.mk-in > *:nth-child(3)  { transition-delay: .17s; }
.mk-stagger.mk-in > *:nth-child(4)  { transition-delay: .24s; }
.mk-stagger.mk-in > *:nth-child(n+5){ transition-delay: .31s; }

/* ── 4. Service strip ────────────────────────────────── */
.mk-service-strip {
    position: relative;
    background: linear-gradient(135deg, #0d1f3c 0%, #1b3a6b 60%, #2a5298 100%);
    overflow: hidden;
    z-index: 10;
    padding: 0;
}
.mk-service-strip::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(245,158,11,.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(42,82,152,.15) 0%, transparent 60%);
    pointer-events: none;
}
.mk-service-items {
    display: flex; align-items: stretch;
    list-style: none; margin: 0; padding: 0;
    position: relative; z-index: 1;
}
.mk-service-item {
    flex: 1;
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px;
    border-right: 1px solid rgba(255,255,255,.09);
    cursor: default;
    position: relative; overflow: hidden;
    transition: background .25s;
}
.mk-service-item:last-child { border-right: none; }
.mk-service-item:hover { background: rgba(255,255,255,.07); }
/* Animated underline bar */
.mk-service-item::after {
    content: '';
    position: absolute; bottom: 0; left: 50%; right: 50%;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fcd34d);
    transition: left .35s ease, right .35s ease;
    border-radius: 2px 2px 0 0;
}
.mk-service-item:hover::after { left: 0; right: 0; }

/* Floating icon */
.mk-service-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(245,158,11,.18);
    border: 1.5px solid rgba(245,158,11,.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fcd34d;
    flex-shrink: 0;
    animation: mk-float 3.5s ease-in-out infinite;
    transition: background .25s, transform .25s;
}
.mk-service-item:hover .mk-service-icon {
    background: rgba(245,158,11,.3);
    animation-play-state: paused;
    transform: scale(1.1);
}
.mk-service-item:nth-child(2) .mk-service-icon { animation-delay: .55s; }
.mk-service-item:nth-child(3) .mk-service-icon { animation-delay: 1.1s; }
.mk-service-item:nth-child(4) .mk-service-icon { animation-delay: 1.65s; }

.mk-service-info h4 {
    color: #fff !important; font-size: 13.5px; font-weight: 700;
    margin: 0 0 3px; line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.mk-service-info p {
    color: #fff !important; font-size: 12px; margin: 0; line-height: 1.4;
    opacity: .88;
}

@media (max-width: 767px) {
    .mk-service-items { flex-wrap: wrap; }
    .mk-service-item  {
        flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,.08);
        padding: 14px 16px; gap: 10px;
    }
    .mk-service-item:nth-child(2n) { border-right: none; }
    .mk-service-icon { width: 38px; height: 38px; font-size: 16px; }
    .mk-service-info h4 { font-size: 12.5px; }
}

/* ── 5. Section headings ────────────────────────────── */
.mk-section-title {
    position: relative;
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 18px !important; font-weight: 700 !important;
    color: #1e2d40 !important;
    padding-bottom: 12px;
}
.mk-section-title::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    height: 3px; width: 0;
    background: linear-gradient(90deg, #1b3a6b, #f59e0b);
    border-radius: 2px;
    transition: width .5s cubic-bezier(.22,.61,.36,1) .1s;
}
.mk-section-title.mk-in::after { width: 100%; }
.mk-section-title .mk-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #f59e0b;
    animation: mk-pulse-glow 1.8s ease infinite;
    flex-shrink: 0;
}

/* Override .group-title for hot categories section */
#hot-categories .group-title-box { text-align: center; }
#hot-categories .group-title {
    position: relative; display: inline-block;
    padding-bottom: 14px !important;
    border-bottom: none !important;
}
#hot-categories .group-title::after {
    content: '';
    position: absolute; bottom: 0; left: 50%; right: 50%;
    height: 3px;
    background: linear-gradient(90deg, #1b3a6b, #f59e0b);
    border-radius: 2px;
    transition: left .5s ease .1s, right .5s ease .1s;
}
#hot-categories .group-title.mk-in::after { left: 0; right: 0; }
#hot-categories .group-title span {
    border-bottom: none !important;
    color: #1b3a6b !important;
}

/* ── 6. Popular tabs — pill style ───────────────────── */
.popular-tabs .nav-tab {
    display: flex !important;
    gap: 6px !important;
    border-bottom: 2px solid #e2e8f2 !important;
    padding: 0 0 0 2px !important;
    margin-bottom: 22px !important;
}
.popular-tabs .nav-tab li {
    margin-bottom: -2px !important;
    border-bottom: none !important;
}
.popular-tabs .nav-tab li a {
    display: inline-flex !important; align-items: center !important;
    padding: 9px 22px !important;
    border-radius: 6px 6px 0 0 !important;
    font-size: 13.5px !important; font-weight: 600 !important;
    color: #5a6a7a !important;
    background: #f4f6fa !important;
    border: 1px solid transparent !important;
    border-bottom: 2px solid transparent !important;
    transition: all .22s ease !important;
}
.popular-tabs .nav-tab li.active a {
    background: #fff !important;
    color: #1b3a6b !important;
    border-color: #e2e8f2 !important;
    border-bottom-color: #1b3a6b !important;
    box-shadow: 0 -3px 10px rgba(27,58,107,.08) !important;
}
.popular-tabs .nav-tab li:hover a {
    background: #fff !important; color: #1b3a6b !important;
    border-color: #e2e8f2 !important;
}

/* ── 7. Product card — reference design (clean white card)
       Applies to ALL .product-list li cards globally
   ───────────────────────────────────────────────────── */

/* ── Card wrapper ── */
.product-list li {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.07) !important;
    border: none !important;
    overflow: hidden !important;
    transition: box-shadow .25s, transform .25s !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}
.product-list li:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,.13) !important;
    transform: translateY(-4px) !important;
}

/* ── Image block ── */
.product-list li .left-block {
    position: relative !important;
    background: #f8f9fb !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    aspect-ratio: 1 !important;
    padding: 14px !important;
}
.product-list li .left-block > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}
.product-list li .left-block img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform .35s ease !important;
}
.product-list li:hover .left-block img {
    transform: scale(1.05) !important;
}

/* ── Green badge (top-left of image) ── */
.product-list li .left-block::before {
    content: '\f02b' !important;      /* fa-tag */
    font-family: FontAwesome !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    width: 28px !important;
    height: 28px !important;
    background: #22c55e !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 28px !important;
    text-align: center !important;
    z-index: 3 !important;
    pointer-events: none !important;
    box-shadow: 0 2px 6px rgba(34,197,94,.35) !important;
}

/* ── No dark gradient overlay ── */
.product-list li .left-block::after {
    display: none !important;
}

/* ── Text block ── */
.product-list li .right-block {
    padding: 12px 14px 14px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    position: relative !important;
}

/* ── Product name ── */
.product-list li .right-block .product-name a,
.product-list li .right-block .name-product a {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #333 !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color .15s !important;
}
.product-list li:hover .right-block .product-name a,
.product-list li:hover .right-block .name-product a {
    color: #1b3a6b !important;
}

/* ── Price ── */
.product-list li .content_price {
    margin-top: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}
.price.product-price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #e53935 !important;
    background: none !important;
    -webkit-text-fill-color: #e53935 !important;
}
.price.old-price {
    font-size: 12px !important;
    color: #aaa !important;
    text-decoration: line-through !important;
}

/* ── Amber cart icon button (bottom-right) ── */
.product-list li .right-block::after {
    content: '\f07a' !important;      /* fa-shopping-cart */
    font-family: FontAwesome !important;
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    background: #f59e0b !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 34px !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(245,158,11,.4) !important;
    pointer-events: none !important;
    z-index: 2 !important;
    transition: background .2s, transform .2s !important;
}
.product-list li:hover .right-block::after {
    background: #d97706 !important;
    transform: scale(1.1) !important;
}

/* ── Discount badge ── */
.product-list li .price-percent-reduction2 {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    background: linear-gradient(135deg, #e53935, #c62828) !important;
    color: #fff !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 6px rgba(229,57,53,.35) !important;
    z-index: 4 !important;
}

/* ── OWL carousel item margin ── */
.product-list.owl-carousel .owl-item li {
    border-radius: 16px !important;
    margin: 4px 0 !important;
}

/* ── 8. Category-featured sections ──────────────────── */
.category-featured {
    margin-bottom: 36px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(13,31,60,.07) !important;
}
.nav-menu.nav-menu-red,
.nav-menu.nav-menu-green,
.nav-menu.nav-menu-orange,
.nav-menu.nav-menu-blue,
.nav-menu.nav-menu-blue2,
.nav-menu.nav-menu-gray {
    border-radius: 10px 10px 0 0 !important;
}

/* ── 9. Hot categories grid ─────────────────────────── */
#hot-categories { padding: 30px 0 10px; }
#hot-categories .cate-box { margin-bottom: 20px; }
#hot-categories .cate-tit {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 3px 14px rgba(15,30,60,.08) !important;
    transition: transform .3s cubic-bezier(.22,.61,.36,1),
                box-shadow .3s cubic-bezier(.22,.61,.36,1) !important;
    position: relative;
}
#hot-categories .cate-tit::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(27,58,107,.06) 0%, transparent 60%);
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
    transition: opacity .3s;
    opacity: 0;
}
#hot-categories .cate-tit:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 32px rgba(15,30,60,.16) !important;
}
#hot-categories .cate-tit:hover::before { opacity: 1; }
#hot-categories .cate-name {
    font-weight: 700 !important; font-size: 13.5px !important;
}
.cate-link.link-active {
    border-radius: 20px !important;
    transition: all .22s ease !important;
    display: inline-block !important;
}
.cate-link.link-active:hover {
    transform: scale(1.06) translateY(-2px) !important;
}

/* ── 10. Banner-featured hover ────────────────────── */
.banner-featured .banner-img {
    overflow: hidden;
    border-radius: 8px 0 0 8px;
}
.banner-featured .banner-img img {
    transition: transform .4s ease !important;
}
.banner-featured:hover .banner-img img {
    transform: scale(1.04) !important;
}

/* ── 11. Page top & content spacing ─────────────── */
.page-top { margin-top: 26px !important; }
.content-page { padding: 6px 0 !important; }
#content-wrap { padding: 24px 0 36px !important; }

/* ── 11b. Category-featured — full-width improvements */
.category-featured { border-radius: 14px !important; }

/* ── Product featured layout
   The original HTML uses float + negative-margin to overlay the banner panel
   on the left.  We replace that with a clean flexbox row so the banner always
   has a predictable size and the carousel fills the remainder.               */
.product-featured {
    display: flex !important;
    align-items: stretch !important;
    background: #fff !important;
    overflow: hidden !important;
    min-height: 300px !important;
    max-height: 340px !important;
}

/* ── Banner panel (left, fixed 200 px) ── */
.product-featured .banner-featured {
    width: 200px !important;
    min-width: 200px !important;
    flex-shrink: 0 !important;
    float: none !important;
    margin-right: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}
.product-featured .banner-featured .banner-img {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}
.product-featured .banner-featured .banner-img a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.product-featured .banner-featured .banner-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ── Carousel column (right, fills remaining width) ── */
.product-featured .product-featured-content {
    flex: 1 !important;
    min-width: 0 !important;
    float: none !important;
    width: auto !important;
    overflow: hidden !important;
    padding: 0 !important;
}
/* Remove the old float-hack margin that assumed a 234 px floated banner */
.product-featured .product-featured-list {
    margin-left: 0 !important;
    overflow: visible !important;
    height: 100% !important;
}

/* ── Carousel item images — reference card style ── */
.product-featured .product-list li {
    min-height: auto !important;
    border-right: none !important;
    /* Section 7 base applies: white, rounded, shadow */
}
.product-featured .product-list li .left-block {
    height: 170px !important;
    aspect-ratio: auto !important;    /* override global 1:1 for compact carousel */
    padding: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.product-featured .product-list li .left-block img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
.product-featured .product-list li .right-block {
    padding: 8px 10px 42px !important;  /* bottom space for cart icon */
}
.product-featured .product-list li .product-name a {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
}

@media (max-width: 767px) {
    .product-featured { flex-direction: column !important; max-height: none !important; min-height: auto !important; }
    .product-featured .banner-featured {
        width: 100% !important; min-width: 0 !important; height: 200px !important;
        position: relative !important;
    }
    .product-featured .banner-featured .banner-img { position: absolute !important; inset: 0 !important; }
    .product-featured .product-list li .left-block { height: 140px !important; }
}

/* ── 12. Scroll-to-top button ────────────────────── */
.scroll_top {
    position: fixed !important;
    bottom: 30px !important; right: 30px !important;
    width: 46px !important; height: 46px !important;
    background: linear-gradient(135deg, #1b3a6b, #2a5298) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important; align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    box-shadow: 0 4px 20px rgba(27,58,107,.35) !important;
    z-index: 9999 !important;
    opacity: 0 !important; pointer-events: none !important;
    transform: translateY(16px) !important;
    transition: opacity .3s ease, transform .3s ease !important;
    text-decoration: none !important;
}
.scroll_top::before {
    content: '\f077'; /* fa-angle-up */
    font-family: FontAwesome; font-size: 18px;
    color: #fff;
}
.scroll_top.mk-vis {
    opacity: 1 !important; pointer-events: auto !important;
    transform: translateY(0) !important;
}
.scroll_top:hover {
    background: linear-gradient(135deg, #0d1f3c, #1b3a6b) !important;
    box-shadow: 0 6px 26px rgba(27,58,107,.5) !important;
}
@media (max-width: 767px) {
    .scroll_top { bottom: 18px !important; right: 18px !important; }
}

/* ── 13. (reserved - slide caption handled in Section 1) ── */

/* ── 14. Nav-menu category featured bars ─────────── */
.nav-menu.nav-menu-red   { background: linear-gradient(135deg, #c0392b 0%, #e53935 100%) !important; }
.nav-menu.nav-menu-green { background: linear-gradient(135deg, #1e8449 0%, #27ae60 100%) !important; }
.nav-menu.nav-menu-orange{ background: linear-gradient(135deg, #d35400 0%, #f59e0b 100%) !important; }
.nav-menu.nav-menu-blue  { background: linear-gradient(135deg, #1b3a6b 0%, #2a5298 100%) !important; }
.nav-menu.nav-menu-blue2 { background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%) !important; }
.nav-menu.nav-menu-gray  { background: linear-gradient(135deg, #37474f 0%, #546e7a 100%) !important; }
.nav-menu .navbar-brand a { color: #fff !important; font-weight: 700 !important; }
.nav-menu .nav.navbar-nav > li > a {
    color: rgba(255,255,255,.88) !important;
    transition: all .2s !important;
}
.nav-menu .nav.navbar-nav > li > a:hover,
.nav-menu .nav.navbar-nav > li.active > a {
    color: #fff !important;
    background: rgba(255,255,255,.15) !important;
    border-radius: 4px !important;
}

/* ── 15. Loading shimmer for images ──────────────── */
.product-list li .left-block img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f4f9 25%, #e4eaf3 50%, #f0f4f9 75%);
    background-size: 200% 100%;
    animation: mk-shimmerBg 1.5s linear infinite;
}

/* ── 16. Page-wide smooth entry ──────────────────── */
body.home .page-top,
body.home .content-page {
    animation: mk-fadeInUp .55s ease both;
    animation-delay: .1s;
}
body.home #content-wrap {
    animation: mk-fadeInUp .55s ease both;
    animation-delay: .18s;
}

/* ══════════════════════════════════════════════════════
   17. CATEGORY / PRODUCT-LISTING PAGE — Full-Screen UI
   ══════════════════════════════════════════════════════ */

/* Full-width container breakout */
body.category-page .columns-container > .container,
body.product-page .columns-container > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 28px !important;
}

/* Flex row layout — neutralise Bootstrap .row negative margins */
body.category-page #columns > .row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-wrap: nowrap !important;
}

/* ── Sidebar ─────────────────────────────────────────── */
body.category-page #left_column {
    position: sticky !important;
    top: 92px !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #c8d4e0 transparent !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
}
body.category-page #left_column::-webkit-scrollbar { width: 4px; }
body.category-page #left_column::-webkit-scrollbar-track { background: transparent; }
body.category-page #left_column::-webkit-scrollbar-thumb { background: #c8d4e0; border-radius: 4px; }

/* Sidebar card */
body.category-page #left_column .block,
body.category-page #left_column .left-module {
    border-radius: 12px !important;
    border: 1px solid #e8edf5 !important;
    box-shadow: 0 2px 12px rgba(15,30,60,.06) !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
}

/* Sidebar title */
body.category-page #left_column .title_block {
    font-size: 12px !important;
    letter-spacing: .8px !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #0d1f3c 0%, #1b3a6b 100%) !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    display: flex !important; align-items: center !important; gap: 8px !important;
}
body.category-page #left_column .title_block::before {
    content: '';
    width: 4px; height: 14px;
    background: #f59e0b;
    border-radius: 2px;
    flex-shrink: 0;
    display: inline-block;
}

/* Tree-menu category list */
body.category-page .tree-menu > li {
    border-bottom: 1px solid #f0f4f9 !important;
    transition: background .18s !important;
}
body.category-page .tree-menu > li:last-child { border-bottom: none !important; }
body.category-page .tree-menu > li > a {
    padding: 10px 14px 10px 14px !important;
    font-size: 13px !important;
    display: flex !important; align-items: center !important;
    justify-content: space-between !important;
}
body.category-page .tree-menu > li:hover { background: #f4f8ff !important; }
body.category-page .tree-menu > li:hover > a { color: #1b3a6b !important; }
body.category-page .tree-menu > li.active { background: #ebf0fa !important; }
body.category-page .tree-menu > li.active > a {
    color: #1b3a6b !important; font-weight: 700 !important;
    border-left: 3px solid #1b3a6b !important;
}

/* Count badge pill */
body.category-page .tree-menu li a strong.count {
    background: #e8edf8 !important;
    color: #4a6080 !important;
    font-size: 11px !important;
    padding: 2px 7px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
}
body.category-page .tree-menu li:hover a strong.count,
body.category-page .tree-menu li.active a strong.count {
    background: #1b3a6b !important;
    color: #fff !important;
}

/* ── Center column ──────────────────────────────────── */
body.category-page #center_column {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0 !important;
}

/* ── Breadcrumb ─────────────────────────────────────── */
body.category-page .breadcrumb {
    padding: 12px 0 !important;
    display: flex !important; align-items: center !important;
    gap: 6px !important; font-size: 13px !important;
    background: transparent !important;
}
body.category-page .breadcrumb .navigation-pipe {
    color: #c8d4e0 !important;
}

/* ── Subcategory tabs ───────────────────────────────── */
body.category-page .subcategories {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-bottom: 18px !important;
    border-radius: 0 !important;
}
body.category-page .subcategories ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    border-bottom: 2px solid #e2e8f2 !important;
    gap: 4px !important;
    padding: 0 2px 0 !important;
    margin: 0 !important;
}
body.category-page .subcategories ul::-webkit-scrollbar { display: none; }
body.category-page .subcategories li {
    flex-shrink: 0 !important;
    margin-bottom: -2px !important;
}
body.category-page .subcategories li a {
    display: inline-flex !important; align-items: center !important;
    padding: 9px 18px !important;
    border-radius: 8px 8px 0 0 !important;
    font-size: 13px !important; font-weight: 600 !important;
    color: #5a6a7a !important;
    background: #f4f6fa !important;
    border: 1px solid transparent !important;
    border-bottom: 2px solid transparent !important;
    white-space: nowrap !important;
    transition: all .2s ease !important;
    height: 42px !important;
}
body.category-page .subcategories li a:hover {
    background: #fff !important; color: #1b3a6b !important;
    border-color: #e2e8f2 !important;
    box-shadow: 0 -3px 10px rgba(27,58,107,.07) !important;
}
body.category-page .subcategories li.current-categorie a {
    background: #fff !important; color: #1b3a6b !important;
    border-color: #e2e8f2 !important;
    border-bottom-color: #1b3a6b !important;
    box-shadow: 0 -3px 10px rgba(27,58,107,.08) !important;
    font-weight: 700 !important;
}
body.category-page .subcategories li.current-categorie::after { display: none !important; }

/* ── Page heading row ───────────────────────────────── */
body.category-page #view-product-list { background: transparent !important; }
body.category-page h2.page-heading {
    display: flex !important; align-items: center !important;
    justify-content: space-between !important; flex-wrap: wrap !important;
    gap: 10px !important;
    border-bottom: 2px solid #e2e8f2 !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    font-size: 17px !important;
    height: auto !important; line-height: 1.5 !important;
}
body.category-page .page-heading-title {
    position: relative !important;
    bottom: auto !important;
    color: #1b3a6b !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    border-bottom: none !important;
    padding: 0 !important;
}
body.category-page .page-heading-title::after {
    content: '';
    display: block;
    height: 3px; width: 100%;
    background: linear-gradient(90deg, #1b3a6b, #f59e0b);
    border-radius: 2px;
    margin-top: 4px;
}

/* Grid/List toggle buttons */
body.category-page .display-product-option {
    display: flex !important; gap: 6px !important;
}
body.category-page .display-product-option li span {
    width: 36px !important; height: 36px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    border: 1.5px solid #e2e8f2 !important;
    background: #fff !important;
    color: #5a6a7a !important;
    transition: all .2s ease !important;
    cursor: pointer !important;
}
body.category-page .display-product-option li.selected span {
    background: #1b3a6b !important;
    color: #fff !important; border-color: #1b3a6b !important;
    box-shadow: 0 2px 8px rgba(27,58,107,.25) !important;
}
body.category-page .display-product-option li span:hover:not(.selected) {
    background: #f0f5fb !important; color: #1b3a6b !important;
}

/* ── GRID VIEW — Product cards (reference design)
       The global Section 7 rules handle the card base;
       these just add grid layout and category-specific tweaks.
   ────────────────────────────────────────────────────────── */
body.category-page .product-list.grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    list-style: none !important;
    padding: 0 !important; margin: 0 !important;
}
/* Bootstrap .row adds ::before { display:table; content:" " } which becomes
   grid item #1 and pushes all real product cards right by one slot.
   Suppress both clearfix pseudo-elements so products start at col 1.      */
body.category-page .product-list.grid::before,
body.category-page .product-list.grid::after {
    display: none !important;
    content: none !important;
}
body.category-page .product-list.grid > li {
    width: 100% !important;
    padding: 0 !important;
    margin-top: 0 !important;   /* override style.css .product-list.grid li { margin-top:30px } */
    float: none !important;
    /* Section 7 base: white card, rounded, shadow */
}

/* Wrap the card content flush inside the <li> */
body.category-page .product-list.grid .product-container {
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;      /* li already has shadow */
    height: 100% !important;
    display: flex !important; flex-direction: column !important;
    position: relative !important;
}

/* Image block — square, object-fit: contain */
body.category-page .product-list.grid .left-block {
    aspect-ratio: 1 !important;
    padding: 14px !important;
    padding-top: 14px !important;   /* override the 133% padding-top from global */
    position: relative !important;
    background: #f8f9fb !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid #f0f0f0 !important;
    flex-shrink: 0 !important;
}
body.category-page .product-list.grid .left-block > a {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}
body.category-page .product-list.grid .left-block img {
    position: static !important;
    top: auto !important; left: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Green badge inherited from Section 7; "ເບິ່ງ" overlay removed */
body.category-page .product-list.grid .left-block::after {
    display: none !important;
}

/* Discount badge */
body.category-page .product-list.grid .price-percent-reduction2 {
    position: absolute !important;
    top: 10px !important; right: 10px !important; left: auto !important;
    z-index: 4 !important;
}

/* Info text */
body.category-page .product-list.grid .right-block {
    padding: 12px 14px 48px !important;  /* bottom padding for cart icon space */
    flex: 1 !important; display: flex !important; flex-direction: column !important;
    position: relative !important;
    background: #fff !important;
}
body.category-page .product-list.grid .product-name a {
    font-size: 13px !important; font-weight: 500 !important;
    line-height: 1.5 !important; color: #333 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color .2s !important;
}
body.category-page .product-list.grid li:hover .product-name a {
    color: #1b3a6b !important;
}
body.category-page .product-list.grid .content_price {
    margin-top: 8px !important;
    display: flex !important; align-items: center !important;
    gap: 6px !important; flex-wrap: wrap !important;
}
body.category-page .product-list.grid .info-orther { display: none !important; }

/* ── LIST VIEW ──────────────────────────────────────── */
body.category-page .product-list.list {
    display: flex !important; flex-direction: column !important;
    gap: 14px !important;
    list-style: none !important; padding: 0 !important; margin: 0 !important;
}
body.category-page .product-list.list > li {
    width: 100% !important; padding: 0 !important; float: none !important;
}
body.category-page .product-list.list .product-container {
    display: flex !important; flex-direction: row !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e8edf5 !important;
    box-shadow: 0 2px 10px rgba(15,30,60,.06) !important;
    transition: box-shadow .3s ease, transform .3s ease !important;
    min-height: 150px !important;
}
body.category-page .product-list.list .product-container:hover {
    box-shadow: 0 8px 28px rgba(15,30,60,.13) !important;
    transform: translateX(3px) !important;
}
body.category-page .product-list.list .left-block {
    width: 130px !important; min-width: 130px !important;
    padding-top: 0 !important; height: auto !important;
    background: #f0f4fa !important;
    border-right: 1px solid #edf0f7 !important;
    overflow: hidden !important;
    position: relative !important;
}
body.category-page .product-list.list .left-block > a {
    position: static !important; display: block !important; height: 100% !important;
}
body.category-page .product-list.list .left-block img {
    position: static !important;
    width: 130px !important; height: 100% !important;
    object-fit: cover !important;
    transition: transform .4s ease !important;
}
body.category-page .product-list.list .product-container:hover .left-block img {
    transform: scale(1.06) !important;
}
body.category-page .product-list.list .left-block::after { display: none !important; }
body.category-page .product-list.list .right-block {
    flex: 1 !important; padding: 16px 20px !important;
    display: flex !important; flex-direction: column !important;
    justify-content: space-between !important;
}
body.category-page .product-list.list .product-name a {
    font-size: 14.5px !important; font-weight: 700 !important;
    line-height: 1.5 !important; color: #1e2d40 !important;
    -webkit-line-clamp: unset !important; overflow: visible !important;
    display: block !important;
}
body.category-page .product-list.list .info-orther {
    display: block !important;
    font-size: 12.5px !important; color: #5a6a7a !important;
    margin-top: 6px !important; padding-top: 8px !important;
    border-top: 1px solid #f0f4f9 !important;
    border-bottom: none !important;
}
body.category-page .product-list.list .info-orther .availability span {
    color: #27ae60 !important; font-weight: 600 !important;
}
body.category-page .product-list.list .product-desc {
    display: none !important;
}

/* ── Pagination redesign ────────────────────────────── */
body.category-page .sortPagiBar { margin-top: 28px !important; }
body.category-page .pagination {
    display: flex !important; flex-wrap: wrap !important;
    align-items: center !important; gap: 4px !important;
    justify-content: center !important;
}
body.category-page .pagination a,
body.category-page .pagination span {
    display: inline-flex !important; align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important; height: 38px !important;
    border-radius: 8px !important;
    border: 1.5px solid #e2e8f2 !important;
    font-size: 13px !important; font-weight: 600 !important;
    padding: 0 10px !important;
    background: #fff !important; color: #5a6a7a !important;
    transition: all .2s ease !important;
    cursor: pointer !important;
}
body.category-page .pagination a:hover {
    background: #f0f5fb !important; color: #1b3a6b !important;
    border-color: #1b3a6b !important;
}
body.category-page .pagination .current,
body.category-page .pagination span.current {
    background: linear-gradient(135deg, #1b3a6b, #2a5298) !important;
    color: #fff !important; border-color: #1b3a6b !important;
    box-shadow: 0 3px 12px rgba(27,58,107,.28) !important;
}
body.category-page .pagination .disabled {
    opacity: .45 !important; cursor: not-allowed !important;
}

/* ── Responsive breakpoints ─────────────────────────── */
@media (max-width: 1199px) {
    body.category-page .product-list.grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 1199px) and (min-width: 992px) {
    body.category-page #left_column {
        width: 210px !important; min-width: 210px !important; max-width: 210px !important;
    }
}
@media (max-width: 991px) {
    body.category-page #left_column {
        position: static !important; max-height: none !important;
        width: 200px !important; min-width: 200px !important; max-width: 200px !important;
        top: auto !important;
    }
    body.category-page .product-list.grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    body.category-page .columns-container > .container { padding: 0 16px !important; }
}
@media (max-width: 767px) {
    body.category-page .columns-container > .container { padding: 0 12px !important; }
    body.category-page #columns > .row { flex-direction: column !important; gap: 14px !important; }
    body.category-page #left_column {
        width: 100% !important; min-width: 0 !important; max-width: 100% !important;
    }
    body.category-page .product-list.grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    body.category-page .product-list.list .left-block { width: 100px !important; min-width: 100px !important; }
}
@media (max-width: 420px) {
    body.category-page .product-list.grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* ══════════════════════════════════════════════════════
   18. LOGO — larger, professional
   ══════════════════════════════════════════════════════ */
.main-header .logo img {
    max-height: 76px !important;
    height: 76px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    transition: opacity .2s !important;
}
.main-header .logo img:hover { opacity: .9 !important; }
.main-header .logo {
    display: flex !important;
    align-items: center !important;
    padding: 8px 0 !important;
}
/* Keep logo smaller when header is sticky */
#header.sticky-active .main-header .logo img {
    max-height: 48px !important;
    height: 48px !important;
}
@media (max-width: 767px) {
    .main-header .logo img {
        max-height: 48px !important;
        height: 48px !important;
    }
}

/* ══════════════════════════════════════════════════════
   19. HOME — hero panel pseudo-element reset
       Prevents any stray ::before/::after icons from
       style.css or other libraries appearing inside
       the hero category list items.
   ══════════════════════════════════════════════════════ */
.mk-cat-list li::before,
.mk-cat-list li::after {
    content: none !important;
    display: none !important;
}
.mk-cat-lnk::before,
.mk-cat-lnk::after {
    content: none !important;
    display: none !important;
}
.mk-cat-fly-list li::before,
.mk-cat-fly-list li::after {
    content: none !important;
    display: none !important;
}

/* ══════════════════════════════════════════════════════
   20. NAV — align category panel header height with
       hero panel header so they look connected
   ══════════════════════════════════════════════════════ */
.box-vertical-megamenus .title {
    height: 48px !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
}

/* On home page, the hero below already shows a full
   category sidebar; the nav's col-sm-3 just shows the
   title bar, so shrink the box to row-height only.    */
body.home #box-vertical-megamenus {
    align-self: stretch !important;
}

/* ══════════════════════════════════════════════════════
   21. HERO — top border decoration so the panel looks
       visually connected with the nav category title
   ══════════════════════════════════════════════════════ */
#home-slider {
    border-top: none !important;
}
.mk-cat-panel {
    border-top: 3px solid #f59e0b !important;
}

/* Subtle amber accent on the slider column top edge  */
.mk-slider-col::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fcd34d 60%, rgba(252,211,77,0));
    z-index: 5;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   22. MAIN HEADER padding — taller with bigger logo
   ══════════════════════════════════════════════════════ */
.main-header { padding: 14px 0 !important; }
#header.sticky-active .main-header { padding: 8px 0 !important; }

/* ══════════════════════════════════════════════════════
   23. FOOTER — professional redesign
   ══════════════════════════════════════════════════════ */
#footer {
    background: linear-gradient(160deg, #0d1f3c 0%, #112244 60%, #0a1628 100%) !important;
    color: rgba(255,255,255,.82) !important;
    padding: 0 !important;
    border-top: 3px solid #f59e0b !important;
}

#introduce-box {
    padding: 48px 0 36px !important;
    margin-top: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    align-items: flex-start !important;
}

/* ── Logo + contact column ── */
#address-box {
    padding-right: 24px !important;
}
#address-box > a img {
    max-height: 72px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin-bottom: 18px !important;
    filter: brightness(1.1) !important;
}
#address-list {
    margin-top: 0 !important;
}
#address-list .tit-name {
    color: rgba(255,255,255,.5) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    width: auto !important;
    float: none !important;
    margin-top: 10px !important;
    display: block !important;
    padding: 0 !important;
}
#address-list .tit-contain {
    color: rgba(255,255,255,.88) !important;
    font-size: 13px !important;
    display: block !important;
    margin-top: 2px !important;
}

/* ── Section title ── */
.introduce-title {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .6px !important;
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid rgba(245,158,11,.45) !important;
    position: relative !important;
}

/* ── Navigation links ── */
.introduce-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.introduce-list li {
    padding: 5px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
}
.introduce-list li:last-child { border-bottom: none !important; }
.introduce-list li a {
    color: rgba(255,255,255,.72) !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: color .18s, padding-left .18s !important;
    text-decoration: none !important;
}
.introduce-list li a::before {
    content: '\f054' !important;    /* fa-chevron-right */
    font-family: FontAwesome !important;
    font-size: 10px !important;
    color: #f59e0b !important;
    flex-shrink: 0 !important;
}
.introduce-list li a:hover {
    color: #fff !important;
    padding-left: 4px !important;
}

/* ── Visitor counter table ── */
#introduce-Account {
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 0 !important;
}
#introduce-Account td {
    color: rgba(255,255,255,.82) !important;
    font-size: 13px !important;
    padding: 10px 16px !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
}
#introduce-Account tr:last-child td { border-bottom: none !important; }
#introduce-Account td::before {
    content: '' !important;
    display: inline-block !important;
    width: 8px !important; height: 8px !important;
    background: #f59e0b !important;
    border-radius: 50% !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}

/* ── Copyright bar ── */
#footer-menu-box {
    background: rgba(0,0,0,.28) !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    padding: 14px 0 !important;
    margin: 0 !important;
}
#footer-menu-box p {
    color: rgba(255,255,255,.45) !important;
    font-size: 12px !important;
    margin: 0 !important;
}

/* ── Facebook embed tint ── */
#contact-box .fb-page { opacity: .9 !important; }

@media (max-width: 767px) {
    #introduce-box { padding: 32px 0 24px !important; }
    #introduce-box [class*="col-"] { margin-bottom: 28px !important; }
    #address-box > a img { max-height: 52px !important; }
}
