:root {
    --red: #da2128;
    --navy: #0f1b2d;
    --slate: #1e2d42;
    --white: #fff;
    --off: #f4f6f9;
    --border: #e1e6ed;
    --text: #1a2535;
    --muted: #6b7a8d;
    --sidebar-w: 280px;
    --tr: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ── PAGE ── */

.page-wrap {
    max-width: 1300px;
    margin: 0 auto;
}

.page-heading {
    margin-bottom: 28px;
}

.page-heading .eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
}

.page-heading h1 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
}

.page-heading h1 span {
    color: var(--red);
}


/* ── SHELL ── */

.shell {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    overflow: clip;
    box-shadow: 0 4px 40px rgba(15, 27, 45, 0.1);
    min-height: 640px;
}


/* ── SIDEBAR ── */

.sidebar {
    width: var(--sidebar-w);
    min-width: var(--sidebar-w);
    background: var(--navy);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: flex-start;
}

.sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #374455;
    z-index: 0;
}

.sidebar-header {
    position: relative;
    z-index: 1;
    padding: 28px 22px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-header .label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.sidebar-header .title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.nav-list {
    list-style: none;
    position: relative;
    z-index: 1;
    padding: 8px 0;
    flex: 1;
    overflow-y: auto;
}

.nav-list::-webkit-scrollbar {
    width: 3px;
}

.nav-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.nav-list li {
    position: relative;
}

.nav-list li.active>.nav-link {
    color: #fff !important;
    font-weight: 600;
    background: linear-gradient( 90deg, rgb(218 33 40 / 91%) 0%, rgb(218 33 40 / 36%) 100%);
    border-left-color: var(--red);
}

.nav-list li.active>.nav-link .icon {
    background: var(--red);
    box-shadow: 0 4px 12px rgba(218, 33, 40, 0.45);
}

.nav-list li.active>.nav-link .nav-badge {
    background: var(--red);
    color: #fff;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 15px;
    font-weight: 500;
    transition: color var(--tr), background var(--tr);
    user-select: none;
    border-left: 3px solid transparent;
    line-height: 1.5;
    text-decoration: none;
}

.nav-link .icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: background var(--tr);
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-link:hover .icon {
    background: rgba(218, 33, 40, 0.25);
}

.nav-badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    transition: background var(--tr), color var(--tr);
}


/* ── MAIN ── */

.main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.main-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--muted);
}

.btn-view-all svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.breadcrumb .sep {
    opacity: 0.4;
}

.breadcrumb .current {
    font-weight: 700;
    color: var(--navy);
}

.result-count {
    font-size: 0.78rem;
    color: var(--muted);
    background: var(--off);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}


/* ── PANELS ── */

.panels {
    flex: 1;
    padding: 26px 28px 36px;
    overflow-y: auto;
}

.panel {
    display: none;
    animation: fadeUp 0.32s ease both;
}

.panel.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ── HERO ── */

.cat-hero {
    background: #f5f5f5;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.cat-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
}

.cat-hero h2 {
    letter-spacing: 0.35px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cat-hero p {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.su-list.clearfix ul {
    padding-left: 20px;
}


/* ── SECTION LABEL ── */

.section-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

.section-label h3 {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.section-label .pill {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--red);
    color: #fff;
}


/* ── PRODUCT GRID ── */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid #14095817;
    padding-bottom: 2rem;
}


/* ── PRODUCT CARD ── */

.product-card {
    border: 1.5px solid var(--border);
    border-radius: 13px;
    background: var(--white);
    overflow: hidden;
    /* cursor: pointer; */
    position: relative;
    text-align: center;
    transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}

.product-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(15, 27, 45, 0.15);
    transform: translateY(-4px);
}

.product-card.selected {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--red), 0 12px 40px rgba(15, 27, 45, 0.12);
    background: #fff8f8;
}

.img-wrap {
    background: linear-gradient(145deg, #f7f9fc 0%, #edf1f6 100%);
    padding: 12px 10px;
    min-height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.img-wrap img {
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform var(--tr);
}

.product-card:hover .img-wrap img {
    transform: scale(1.07);
}

.card-body {
    padding: 12px 14px 14px;
    border-top: 1px solid var(--border);
}

.card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 11px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem 0 !important;
    background: #fff !important;
}

.btn-know {
    position: relative;
    background: rgb(29, 20, 75);
    background: -webkit-linear-gradient( -45deg, rgba(29, 20, 75, 1) 0%, rgba(237, 27, 36, 1) 100%);
    background: -moz-linear-gradient( -45deg, rgba(29, 20, 75, 1) 0%, rgba(237, 27, 36, 1) 100%);
    background: -o-linear-gradient( -45deg, rgba(29, 20, 75, 1) 0%, rgba(237, 27, 36, 1) 100%);
    background: linear-gradient( -45deg, rgba(29, 20, 75, 1) 0%, rgba(237, 27, 36, 1) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 8px 28px;
    border-radius: 3px;
    letter-spacing: 1px;
    display: inline-block;
    cursor: pointer;
    transition: 0.4s;
    text-transform: uppercase;
}

.btn-know:hover {
    background: var(--red);
    transform: translateX(2px);
    box-shadow: 0 5px 16px rgba(218, 33, 40, 0.35);
    color: #fff;
}

.btn-know svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ── KNOW MORE ROW ── */

.know-more-row {
    margin-top: 4px;
}

.btn-view-all,
.btn-know-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 9px;
    background: var(--navy);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}

.btn-view-all:hover,
.btn-know-lg:hover {
    background: var(--red);
    transform: translateX(3px);
    box-shadow: 0 6px 20px rgba(218, 33, 40, 0.35);
    color: #fff;
}

.btn-view-all svg,
.btn-know-lg svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ── MOBILE BAR ── */

.mobile-bar {
    display: none;
    background: var(--navy);
    color: #fff;
    margin: 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 15px 20px;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    border-radius: 2px;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.mobile-bar .mob-arrow {
    transition: transform 0.3s;
    display: inline-block;
}

.mobile-bar.open .mob-arrow {
    transform: rotate(180deg);
}

.mobile-nav-wrap {
    display: none;
    background: var(--navy);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
    margin: 1rem;
}

.mobile-nav-wrap ul {
    list-style: none;
    padding: 0;
}

.mobile-nav-wrap li .m-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.84rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.mobile-nav-wrap li.active .m-link {
    background: rgba(218, 33, 40, 0.2);
    color: #fff;
    font-weight: 700;
    border-left-color: var(--red);
}

.mobile-nav-wrap li .m-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}


/* ── RESPONSIVE ── */


/* Medium — 2-col product grid */

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Tablet — sidebar hidden, mobile bar shown */

@media (max-width: 900px) {
    .sidebar {
        display: none;
    }
    .mobile-bar {
        display: flex;
    }
    .shell {
        border-radius: 12px;
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }
    .main {
        background: var(--white);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 40px rgba(15, 27, 45, 0.1);
    }
    .main-topbar {
        padding: 14px 16px 12px;
    }
    .panels {
        padding: 14px 16px 24px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .cat-hero {
        padding: 20px 18px;
    }
}


/* Mobile — single col */

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .cat-hero p {
        font-size: 0.8rem;
    }
}

section.products-archive.custom-spacing .page-heading {
    padding: 0 15px;
}