:root {
    /* Barik core tokens for this section */
    --bg-page: #ffffff;
    --bg-section: #ffffff;
    --border-subtle: #e5e7eb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --badge-bg: #f3f4f6;
    --focus-ring: rgba(161, 20, 20, 0.2);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.05);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 22px;
    --radius-pill: 999px;
    --radius-full: 999px;

    /* maroon */
    --ink: #0f172a;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --white: #ffffff;
    --bg-alt: #f8fafc;
    --focus: 0 0 0 3px rgba(161, 20, 20, 0.25);
    --shadow-sm: 0 2px 6px rgba(2, 8, 23, 0.06);
    --shadow-md: 0 8px 24px rgba(2, 8, 23, 0.08);

    /*     Softs */
    --border-soft   : #e5e7eb;
    --border        : #e2e4e9;         /* default border */

    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
    --container: 1240px;
    --card: #ffffff;
    --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    --transition-normal: 220ms ease;
    --transition-fast: 150ms ease-out;
    --bt-bottom-bg: #3f4b56;

    /* dark bluish grey like screenshot */
    --bt-bottom-fg: rgba(255, 255, 255, .8);
    --bt-bottom-fg-active: #ffffff;
    --bt-bottom-accent: #ffcc00;

    /* yellow icon */
    --bt-bottom-border: rgba(255, 255, 255, .10);
    --bt-bottom-shadow: 0 -10px 25px rgba(0, 0, 0, .18);
    --bt-bottom-height: 64px;

    --gutter:           30px;            /* total horizontal gutter — 15px per side */

}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--ink);
    background: var(--bg);
}
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 15px;
}
body a, body a:hover {
    text-decoration: none;
}
body a {
    color: var(--barik-600);
}


/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.breadcrumb {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0;
    margin: 0;
}
.breadcrumb__inner {
    width: min(var(--container), calc(100% - var(--gutter)));
    margin: 0 auto;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.breadcrumb__home {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.breadcrumb__home:hover {
    color: var(--indigo);
}
.breadcrumb__sep {
    font-size: 12px;
    color: var(--text-muted);
}
.breadcrumb__current {
    font-size: 11px;
    font-weight: 300;
    color: var(--text-muted);
}
.breadcrumb__current::before, .breadcrumb__mid::before {
    content: '›';
    font-size: 12px;
    color: var(--text-muted);
    margin-right: 8px;
}


/* ===== Topbar ===== */
.topbar {
    /*  position: fixed;*/
    inset-inline: 0;
    top: 0;
    z-index: 60;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}
.topbar .wrap {
    max-width: var(--container);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 16px;
    height: 40px;
}
.topbar a {
    color: inherit;
    text-decoration: none;
}
.topbar .left, .topbar .right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.divider {
    width: 1px;
    height: 16px;
    background: var(--line);
}
/* ===== Header ===== */

.header {
    position: relative;
    inset-inline: 0;
    z-index: 70;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    border-bottom: 1px solid var(--line);
}
.header.is-sticky {
    position: fixed;
    top: 0;
    box-shadow: var(--shadow-md);
    z-index: 999;
}
.header .wrap {
    max-width: var(--container);
    margin: auto;
    display: grid;
    grid-template-columns: auto 1fr 220px;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
}
/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo svg {
    width: 34px;
    height: 34px;
}
.logo .brand {
    font-weight: 800;
    letter-spacing: 0.2px;
    color: var(--ink);
}
/* Search */

.search {
    position: relative;
}
.search-form {
    display: flex;
    align-items: stretch;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: visible;
}
.search .category {
    position: relative;
}
.search .cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
    color: var(--ink);
}
.search .cat-btn:focus {
    outline: none;
}
.search .cat-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow-md);
    width: 260px;
    z-index: 99;
    display: none;
    height: 400px;
    overflow: scroll;
}
.search .cat-menu.open {
    display: block;
}
.search .cat-menu button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
}
.search .cat-menu button:hover {
    background: var(--bg-alt);
}
.search input[type="search"] {
    flex: 1;
    padding: 12px 14px;
    border: 0;
    min-width: 0;
}
.search input[type="search"]:focus {
    outline: none;
}
.search .submit {
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 0;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    border-radius: 0 999px 999px 0;
}
.search .submit:hover {
    background: var(--barik-600);
}
.search .submit:active {
    background: var(--barik-700);
}
/* Suggestion panel */

.search .suggest {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 6px;
    box-shadow: var(--shadow-md);
    display: none;
    max-height: 320px;
    overflow: auto;
    z-index: 99;
}
.suggest.show {
    display: block;
}
.suggest h5 {
    margin: 6px 8px;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.28px;
}
.s-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
}
.s-item strong {
    font-weight: 700;
}
.s-item:hover, .s-item.active {
    background: var(--bg-alt);
}
.s-item .meta {
    font-size: 13px;
    color: var(--muted);
}
/* Actions */

.actions {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
}
.header .icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform 120ms ease;
    color: #000;
}
/*
.header .icon-btn:hover {
box-shadow: var(--shadow-sm);
border-color: var(--barik-600);
}
*/

.header .icon-btn:hover svg {
    color: var(--barik-600);
}
.header .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
}
/* Utilities */

.hidden-xs {
    display: block;
}
@media (max-width: 860px) {
    .hidden-xs {
        display: none;
    }
    .header .wrap {
        grid-template-columns: 140px 1fr 156px;
    }
    .topbar {
        font-size: 13px;
    }
    .search .cat-btn {
        padding: 10px;
    }
    .search input[type="search"] {
        padding: 10px 12px;
    }
    .header-logo-group img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 560px) {
    .header-logo-group img {
        width: 100%;
        height: auto;
    }
    .header .wrap {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo actions" "search search";
    }
    .header-logo-group {
        grid-area: logo;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .search {
        grid-area: search;
    }
    .actions {
        grid-area: actions;
    }
    .topbar .left {
        display: none;
    }
}
/* Demo page filler so we can see sticky */

main {
    max-width: var(--container);
    /*  margin: 160px auto 120px;*/
    padding: 0 16px;
    margin: 0 auto;
}
.demo {
    height: 1200px;
    background: linear-gradient(180deg, var(--bg-alt), #fff);
}
/* Focus-visible for keyboard nav */

.focus-ring:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}
.section-inner {
    max-width: var(--container);
    margin: 0 auto;
}
.btn i+span {
    margin-left: 5px;
}
/* === SEARCH SUGGEST DROPDOWN === */

#search-suggest a {
    display: flex;
}
/* item list */

#search-suggest {
    position: absolute;
    top: auto;
    left: auto;
    width: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    margin-top: 4px;
    overflow: hidden;
    overflow-y: hidden;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cfcfcf transparent;
    max-width: 440px;
}
#search-suggest .item:last-child {
    border-bottom: none;
}
/* item hover or active (keyboard selection) */

#search-suggest .item:hover, #search-suggest .item.active {
    background: var(--barik-050, #f7f9ff);
    transform: translateX(3px);
}
/* thumbnail image */

#search-suggest .thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #fafafa;
    flex-shrink: 0;
    margin: 10px;
}
/* meta info wrapper */

#search-suggest .meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}
/* product name */

#search-suggest .name {
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* price block */

#search-suggest .price {
    font-size: 13px;
    color: var(--barik-700, #333);
}
#search-suggest .price .special {
    color: var(--barik-600, #0061ff);
    font-weight: 600;
    margin-right: 6px;
}
#search-suggest .price .regular {
    font-weight: 400;
    font-size: 12px;
}
.searchbar {
    position: relative;
}
header .btn-search-toggle {
    display: none !important;
}
@media (max-width: 768px) {
    #search-suggest {
        max-height: 320px;
        font-size: 13px;
        top: 125px;
        left: 0;
        width: 100%;
    }
    #search-suggest .thumb {
        width: 40px;
        height: 40px;
    }
}
#search-suggest.loading::before {
    content: "Loading...";
    display: block;
    padding: 10px;
    text-align: center;
    color: #999;
}
.main aside+.content {
    max-width: 888px;
}
.btn-group>.btn.btn-link {
    color: #fff;
}
/*MARQUE*/

.marquee-line {
    width: 100%;
    overflow: hidden;
    background: var(--barik-600);
    color: #fff;
    font-size: 14px;
    padding: 6px 0;
    position: relative;
}
.marquee-line .container {
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.marquee-content span {
    display: inline-block;
    margin-right: 50px;
}
.is-marquee {
    animation: marquee 30s linear infinite;
}
.marquee-line:hover .is-marquee {
    animation-play-state: paused;
}
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .is-marquee {
        animation: none;
    }
}
.flyout::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
}
.flyout::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9;
    font-family: "Inter", system-ui, sans-serif;
}
.fab-cart .btn--cart {
    background: var(--barik-600, #1b5fb3);
    color: #fff;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(27, 95, 179, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}
.fab-cart .btn--cart:hover {
    background: var(--barik-600, #164583);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(27, 95, 179, 0.45);
}
button.btn.btn--cart.top--cart {
    width: 40px;
    height: 40px;
    padding: 0;
}
button.btn.btn--cart.top--cart span {
    top: 0;
    right: 0;
}
.fab-cart .badge-count {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #fff;
    color: var(--barik-600, #164583);
    font-weight: 600;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
/* === Flyout Mini Cart === */

/*.fab-cart .flyout {
position: absolute;
bottom: 70px;
right: 0;
width: min(94vw, 380px);
max-height: min(80vh, 540px);
overflow: auto;
background: #fff;
border-radius: 12px;
box-shadow: 0 8px 28px rgba(16, 24, 40, 0.15);
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: all 0.25s ease;
padding: 12px 16px;
}*/

/* BASE */

.fab-cart .flyout {
    position: absolute;
    width: min(94vw, 380px);
    max-height: min(80vh, 540px);
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(16, 24, 40, .18);
    padding: 14px 16px;
    opacity: 0;
    visibility: hidden;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    z-index: 1001;
}
/* ===== BOTTOM MODE ===== */

.fab--bottom {
    bottom: 24px;
    right: 24px;
}
.fab--bottom .flyout {
    bottom: 70px;
    right: 0;
    transform: translateY(14px) scale(.98);
}
.fab--bottom.open .flyout {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
/* ===== TOP MODE ===== */

.fab--top {
    position: relative;
    top: 0;
    right: 0;
}
.fab--top .flyout {
    top: 70px;
    right: 0;
    transform: translateY(-14px) scale(.98);
}
.fab--top.open .flyout {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
/*.fab-cart.open .flyout {
opacity: 1;
visibility: visible;
transform: translateY(0);
}*/

.fab-cart .flyout .cart-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 10px;
    position: relative;
    color: #1e293b;
    font-size: 13px;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 4px;
    padding-right: 36px;
}
.fab-cart .flyout .cart-row:hover {
    background: #e0e0e066;
}
.fab-cart .flyout .cart-remove {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    color: #475569;
    transition: .18s cubic-bezier(.4, 0, .2, 1);
}
/*.fab-cart .flyout .cart-remove:hover {
background: #ef4444;
color: #fff;
transform: rotate(90deg) scale(1.05);
}*/

.fab-cart .flyout strong {
    color: var(--barik-700, #12376e);
}
.fab-cart .checkout {
    display: block;
    background: var(--barik-600, #1b5fb3);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    margin-top: 12px;
    padding: 8px 0;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.25s ease;
}
.fab-cart .checkout:hover {
    background: var(--barik-700, #164583);
}
/* Account FAB */

.fab-account .btn--account {
    background: #fff;
    border: 1px solid #ccc;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: .2s cubic-bezier(.4, 0, .2, 1);
}
.fab-account .btn--account:hover, .header .icon-btn:hover {
    background: #fff;
    transform: none;
    box-shadow: var(--shadow-sm);
    border-color: #bbb;
}
/* Flyout */

.fab-account .flyout {
    position: absolute;
    top: 58px;
    right: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(.96);
    transition: .22s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
}
.fab-account.open .flyout {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
/* Items */

.flyout-account .flyout-item {
    display: block;
    padding: 12px 18px;
    font-weight: 500;
    font-size: 14px;
    color: #1e293b;
    text-decoration: none;
    transition: .15s;
}
.flyout-account .flyout-item:hover {
    background: #f8fafc;
}
.flyout-account .flyout-item.active {
    background: #f1f5f9;
    font-weight: 600;
}
.flyout-account .flyout-item.logout {
    color: #ef4444;
}
#language-selector, #currency-selector {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}
#language-selector select, #currency-selector select {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 6px 8px;
}

/*Button*/
/* ============================================================
BARIK TOOLS BUTTON SYSTEM — PX VERSION
============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    /* Equivalent to ~0.55rem 1.2rem */
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.2px;
    border: 1px solid var(--line);
    background-color: var(--bg);
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
/* Hover + Active */

.btn:hover {
    background-color: var(--bg-alt);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.btn:active {
    transform: translateY(0);
    box-shadow: none;
}
/* Focus ring */

.btn:focus, .btn:focus-visible {
    outline: var(--focus);
    outline-offset: 2px;
}
/* Disabled */

.btn:disabled, .btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-default {
    background-color: var(--barik-600);
    border-color: var(--barik-600);
    color: #ffffff;
}
/* ============================================================
PRIMARY BUTTON (Maroon)
============================================================ */

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(161, 20, 20, 0.35);
}
.btn-primary:hover {
    background-color: var(--barik-700);
    border-color: var(--barik-700);
}
.btn-primary:active {
    background-color: var(--barik-800);
    border-color: var(--barik-800);
}
/* ============================================================
DANGER BUTTON (same maroon spectrum)
============================================================ */

.btn-danger {
    background-color: var(--barik-700);
    border-color: var(--barik-700);
    color: #ffffff;
}
.btn-danger:hover {
    background-color: var(--barik-800);
    border-color: var(--barik-800);
}
.btn-danger:active {
    background-color: var(--barik-900);
    border-color: var(--barik-900);
}
/* ============================================================
WARNING BUTTON (amber tone)
============================================================ */

.btn-warning {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #111827;
}
.btn-warning:hover {
    background-color: #d97706;
    border-color: #d97706;
}
.btn-warning:active {
    background-color: #b45309;
    border-color: #b45309;
}
/* ============================================================
GHOST BUTTON (neutral outline)
============================================================ */

.btn-ghost {
    background-color: transparent;
    border-color: var(--line);
    color: var(--muted);
    box-shadow: none;
}
.btn-ghost:hover {
    background-color: var(--bg-alt);
    border-color: var(--primary);
    color: var(--primary);
}
.btn-ghost:active {
    background-color: var(--barik-100);
}
/* Optional: Ghost Primary Tone */

.btn-ghost.btn-primary {
    background-color: var(--barik-50);
    border-color: var(--barik-200);
    color: var(--primary);
}
.btn-ghost.btn-primary:hover {
    background-color: var(--barik-100);
}
/* ============================================================
SIZE HELPERS (px)
============================================================ */

.btn-sm {
    padding: 6px 12px;
    /* Smaller padding */
    font-size: 12px;
}
.btn-lg {
    padding: 12px 24px;
    /* Larger padding */
    font-size: 15px;
}
/*Sidebar Navigation*/

aside.nav {
    position: relative;
}
.nav-card {
    background: var(--card, #fff);
    border: 1px solid var(--border-soft, #e5e7eb);
    border-radius: var(--radius-lg, 18px);
    box-shadow: var(--shadow, 0 6px 20px rgba(15,23,42,.06));
    padding: 16px;
    position: sticky;
    top: 86px;
    overflow: hidden;
}
.nav-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted, #9ca3af);
    padding: 0 4px 10px;
    margin: 0 0 4px;
    border-bottom: 1px solid var(--border-soft, #e5e7eb);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-title::before {
    content: '';
    width: 14px;
    height: 2px;
    background: var(--primary, #a11414);
    border-radius: 999px;
    flex-shrink: 0;
}
.nav-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}
.nav-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-sub, #4b5563);
    text-decoration: none;
    transition: background 140ms ease, color 140ms ease, padding-left 140ms ease;
}
.nav-list li a:hover {
    background: var(--barik-50, #fef2f2);
    color: var(--primary, #a11414);
    padding-left: 14px;
    text-decoration: none;
}
.nav-list li a.is-active,
.nav-list li.active > a {
    background: var(--barik-50, #fef2f2);
    color: var(--primary, #a11414);
    font-weight: 600;
    padding-left: 14px;
}
.nav-list li a .badge {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: var(--primary, #a11414);
    padding: 1px 7px;
    border-radius: 999px;
    margin-left: auto;
}
.nav-group {
    margin-top: 10px;
}
.nav-group .group-title {
    font-size: 12px;
    color: #6b7a99;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 12px 6px 4px;
}
/*Layout*/

/* layout */

.main {
    display: grid;
    gap: 22px;
    padding: 22px 0 40px;
    grid-template-columns: 1fr;
    align-items: start;
}
.main:has(> #column-left):not(:has(> #column-right)) {
    grid-template-columns: 260px 1fr;
}
.main:has(> #column-right):not(:has(> #column-left)) {
    grid-template-columns: 1fr 260px;
}
.main:has(> #column-left):has(> #column-right) {
    grid-template-columns: 260px 1fr 260px;
}
aside>.nav-card {
    width: 100%;
    /*    margin-top: -20px;*/
}
@media (max-width: 980px) {
    .main {
        display: block;
    }
    aside.nav {
        order: 2;
    }
}
.feEditBtn {
    position: absolute;
    left: 48%;
    top: 15px;
    z-index: 99999;
}




#content {
    z-index: 9;
}
fieldset {
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}
.fcb-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}
aside#column-left>div {
    margin-bottom: 15px;
}
body:has(.bt-checkout) .bc-fab-cart {
    display: none;
}
/*Sticky Bar*/

.bt-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.96);
    color: #f9fafb;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(55, 65, 81, 0.8);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    visibility: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
.bt-sticky-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.bt-sticky-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}
@media (max-width: 640px) {
    .bt-sticky-bar-inner {
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 8px 12px;
    }
}
.bt-sticky-bar-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.bt-sticky-bar-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #4b5563;
    background: #111827;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bt-sticky-bar-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.bt-sticky-bar-text {
    min-width: 0;
}
.bt-sticky-bar-title {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.bt-sticky-bar-meta {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
}
.bt-sticky-bar-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-right: 10px;
}
.bt-sticky-bar-price-current {
    font-weight: 700;
    font-size: 13px;
}
.bt-sticky-bar-price-old {
    font-size: 11px;
    text-decoration: line-through;
    color: #9ca3af;
}
.bt-sticky-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.bt-sticky-bar .bt-btn {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.bt-sticky-bar .bt-btn-primary {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 8px 16px;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}
.bt-sticky-bar .bt-btn-primary:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}
.bt-sticky-bar .bt-btn-subtle {
    border: 1px solid #4b5563;
    background: #111827;
    color: #e5e7eb;
    padding: 8px 12px;
    font-size: 12px;
    min-width: 30px;
}
.bt-sticky-bar .bt-btn-subtle:hover {
    background: #1f2937;
    border-color: #6b7280;
}
#sticky-quantity {
    background: #1f2937;
    border: 1px solid #4b5563;
    color: #f9fafb;
    border-radius: 4px;
    font-size: 13px;
    height: 34px;
    text-align: center;
}
.bt-icon-inline {
    margin-right: 5px;
}
.bt-btn-mini {
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 999px !important;
}
@media (max-width: 480px) {
    .bt-sticky-bar-title {
        font-size: 12px;
    }
    .bt-sticky-bar-meta {
        font-size: 10px;
    }
    .bt-sticky-bar-price-current {
        font-size: 13px;
    }
    .bt-sticky-bar .bt-btn-primary {
        padding: 6px 12px;
        font-size: 12px;
    }
}
.fab {
    bottom: 84px !important;
}
.bt-sticky-bar {
    margin: 0 auto;
    border-radius: var(--radius-sm);
    max-width: 800px;
}
.faq-accordion .accordion-header.active {
    background-color: var(--barik-600);
    color: white;
    border-color: var(--barik-600);
}
.size-filter-container {
    background: var(--card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 14px;
    position: sticky;
    top: 86px;
}
.size-filter-container select {
    font-size: 14px;
    padding: 0 10px;
    line-height: 14px;
    height: 44px;
    text-align: left;
}
/* Top account menu*/

.top-account {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.top-account .welcome {
    color: var(--text-muted);
}
.top-account .account-name {
    font-weight: 600;
    color: var(--barik-600);
    text-decoration: none;
}
.top-account .logout-link {
    color: var(--text-muted);
    text-decoration: none;
}
.top-account .logout-link:hover {
    color: var(--danger);
}
/* When mobile menu open, header must not create transform containing context */

html.bt-nav-lock .header.is-sticky {
    transform: none !important;
}
/* Ensure menu overlays header */

@media (max-width: 992px) {
    .bt-nav-main {
        z-index: 10000 !important;
        top: 0 !important;
        height: 100vh !important;
    }
    .bt-nav-backdrop {
        z-index: 9999 !important;
        inset: 0 !important;
    }
    .header.is-sticky {
        z-index: 999 !important;
    }
    /* tetap, tapi kalah dari menu */
}
.cart-info {
    display: flex;
    flex-direction: column;
}
.cart-option-list {
    margin: 2px 0 0 0;
    padding-left: 16px;
    font-size: 12px;
    color: #64748b;
}
.cart-option-list li {
    list-style: disc;
    line-height: 1.35;
}
.bt-bottom-nav {
    display: none;
}
/* Show only on mobile/tablet (adjust breakpoint if needed) */

@media (max-width: 991px) {
    .bt-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(var(--bt-bottom-height) + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #000;
        border-top: 1px solid var(--bt-bottom-border);
        box-shadow: var(--bt-bottom-shadow);
        z-index: 99;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
    }
    .bt-bottom-item {
        text-decoration: none;
        color: var(--bt-bottom-fg);
        height: var(--bt-bottom-height);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    .bt-bottom-icon {
        position: relative;
        line-height: 1;
        font-size: 26px;
        /* icon size like screenshot */
        color: #fff;
    }
    .bt-bottom-label {
        font-size: 14px;
        line-height: 1;
        color: var(--bt-bottom-fg);
        letter-spacing: .2px;
    }
    .bt-bottom-item.is-active .bt-bottom-label {
        color: var(--bt-bottom-fg-active);
    }
    /* Badge (cart count) */
    .bt-has-badge .bt-badge {
        position: absolute;
        top: -8px;
        right: -12px;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 999px;
        background: var(--barik-600);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
        box-sizing: border-box;
    }
    /* Optional: reserve space so content doesn't get covered */
    body.bt-bottom-nav {
        padding-bottom: calc(var(--bt-bottom-height) + env(safe-area-inset-bottom, 0px));
    }
    body:has(.bt-bottom-nav) footer {
        margin-bottom: 64px;
    }
}

/*Footer*/
 .footer {
     margin-top: 48.00px;
     border-top: 1px solid var(--border-subtle);
     background: var(--bg-body);
     color: var(--text-main);
     font-size: 15.00px;
 }
 .footer-inner {
     max-width: 1180px;
     margin: 0 auto;
     padding: 40.00px 20.00px 24.00px;
 }
 /* TRUST BAR */

 .footer-trust {
     display: grid;
     grid-template-columns: repeat(4, minmax(0, 1fr));
     gap: 24.00px;
     padding: 20.00px 24.00px;
     border-radius: 999px;
     border: 1px solid var(--border-subtle);
     background: #ffffff;
     box-shadow: var(--shadow-soft);
     margin-bottom: 40.00px;
 }
 .trust-item {
     display: flex;
     align-items: center;
     gap: 14.40px;
     min-width: 0;
 }
 .trust-icon {
     flex: 0 0 auto;
     width: 40px;
     height: 40px;
     border-radius: 999px;
     border: 1px solid rgba(161, 20, 20, 0.18);
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 20.80px;
     color: var(--barik-600);
     background: var(--barik-50);
 }
 .trust-text {
     line-height: 1.3;
 }
 .trust-title {
     font-weight: 600;
     font-size: 15.20px;
     margin-bottom: 1.60px;
 }
 .trust-sub {
     font-size: 13.60px;
     color: var(--text-muted);
 }
 /* MAIN FOOTER COLUMNS */

 .footer-main {
     display: grid;
     grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1.2fr)) minmax(0, 2fr);
     gap: 40.00px;
     padding: 8.00px 0 32.00px;
     border-bottom: 1px solid var(--border-subtle);
 }
 .footer-col-title {
     font-size: 15.20px;
     font-weight: 600;
     margin-bottom: 14.40px;
     text-transform: uppercase;
     letter-spacing: 0.06em;
     color: var(--text-main);
 }
 .footer-logo-wrap {
     display: flex;
     flex-direction: column;
     gap: 12.00px;
 }
 .footer-logo {
     font-weight: 700;
     font-size: 17.60px;
     letter-spacing: 0.08em;
     text-transform: uppercase;
     color: var(--barik-600);
 }
 .footer-logo span {
     font-weight: 300;
     color: var(--text-muted);
     letter-spacing: 0.18em;
     margin-left: 3.20px;
     text-transform: uppercase;
     font-size: 11.52px;
 }
 .footer-logo img {
     width: 100%;
     height: auto;
 }
 .footer-desc {
     font-size: 14.40px;
     color: var(--text-muted);
     max-width: 340px;
     line-height: 1.6;
 }
 .footer-social {
     display: flex;
     flex-wrap: wrap;
     gap: 8.00px;
     margin-top: 4.00px;
 }
 .footer-social a {
     width: 32px;
     height: 32px;
     border-radius: 999px;
     border: 1px solid var(--border-subtle);
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 13.60px;
     color: var(--text-muted);
     transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
 }
 .footer-social a:hover {
     background: var(--barik-600);
     color: #ffffff;
     border-color: var(--barik-600);
     transform: translateY(-1px);
 }
 .footer-list {
     list-style: none;
     padding: 0;
     margin: 0;
     display: flex;
     flex-direction: column;
     gap: 4.80px;
 }
 .footer-list li a {
     display: inline-flex;
     align-items: center;
     gap: 4.00px;
     padding: 1.92px 0;
     color: var(--text-muted);
     position: relative;
     transition: color var(--transition-fast), transform var(--transition-fast);
     font-size: 14px;
 }
 .footer-list li a::after {
     content: "";
     position: absolute;
     left: 0;
     bottom: -2px;
     width: 0;
     height: 1px;
     background: var(--barik-600);
     transition: width var(--transition-fast);
 }
 .footer-list li a:hover {
     color: var(--barik-600);
     transform: translateX(2px);
 }
 .footer-list li a:hover::after {
     width: 100%;
 }
 /* NEWSLETTER */

 .footer-newsletter {
     max-width: 360px;
 }
 .footer-news-text {
     font-size: 14.08px;
     color: var(--text-muted);
     margin-bottom: 12.00px;
     line-height: 1.5;
 }
 .newsletter-form {
     display: flex;
     gap: 8.00px;
     margin-bottom: 8.00px;
 }
 .newsletter-input {
     flex: 1 1 auto;
     border-radius: 999px;
     border: 1px solid var(--border-subtle);
     padding: 9.60px 13.60px;
     font-size: 14.40px;
     outline: none;
     transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
     background: #fcfcfc;
 }
 .newsletter-input:focus {
     border-color: var(--barik-600);
     box-shadow: 0 0 0 1px rgba(161, 20, 20, 0.12);
     background: #ffffff;
 }
 .newsletter-btn {
     flex: 0 0 auto;
     border-radius: 999px;
     padding: 9.60px 18.40px;
     border: none;
     background: var(--barik-600);
     color: #ffffff;
     font-size: 14.40px;
     font-weight: 600;
     cursor: pointer;
     white-space: nowrap;
     display: inline-flex;
     align-items: center;
     gap: 5.60px;
     box-shadow: 0 9px 18px rgba(161, 20, 20, 0.25);
     transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
 }
 .newsletter-btn span {
     font-size: 16.00px;
 }
 .newsletter-btn:hover {
     background: var(--barik-700);
     transform: translateY(-1px);
     box-shadow: 0 12px 24px rgba(161, 20, 20, 0.3);
 }
 .newsletter-note {
     font-size: 12.48px;
     color: var(--text-subtle);
 }
 /* BRAND STRIP */

 .footer-brands {
     padding: 28.00px 0 24.00px;
     border-bottom: 1px solid var(--border-subtle);
     display: flex;
     flex-direction: column;
     gap: 12.00px;
 }
 .footer-brands-head {
     display: flex;
     align-items: baseline;
     gap: 8.00px;
     justify-content: space-between;
     flex-wrap: wrap;
 }
 .footer-brands-title {
     font-size: 14.72px;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.12em;
     color: var(--text-main);
 }
 .footer-brands-sub {
     font-size: 13.28px;
     color: var(--text-muted);
 }
 .brand-row {
     display: flex;
     gap: 20.00px;
     flex-wrap: wrap;
     align-items: center;
 }
 .brand-pill {
     min-width: 90px;
     padding: 6.40px 12.80px;
     border-radius: 999px;
     border: 1px solid var(--border-subtle);
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 12.48px;
     text-transform: uppercase;
     letter-spacing: 0.15em;
     color: var(--text-subtle);
     opacity: 0.85;
     filter: grayscale(100%);
     transition: filter var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
     background: #ffffff;
 }
 .brand-pill:hover {
     filter: grayscale(0%);
     opacity: 1;
     border-color: rgba(161, 20, 20, 0.5);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
     transform: translateY(-2px);
 }
 /* BOTTOM BAR */

 .footer-bottom-wrap {
     background: var(--bg-soft);
     border-top: 1px solid rgba(0, 0, 0, 0.03);
 }
 .footer-bottom {
     max-width: 1180px;
     margin: 0 auto;
     padding: 15.20px 20.00px 17.60px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 24.00px;
     flex-wrap: wrap;
     font-size: 12.80px;
     color: var(--text-subtle);
 }
 .footer-bottom-left {
     display: flex;
     flex-wrap: wrap;
     gap: 12.00px;
     align-items: center;
 }
 .footer-bottom-center {
     display: flex;
     align-items: center;
     gap: 7.20px;
     flex-wrap: wrap;
 }
 .pay-pill {
     border-radius: 999px;
     padding: 3.20px 8.80px;
     border: 1px solid rgba(0, 0, 0, 0.05);
     background: #ffffff;
     font-size: 12.00px;
     text-transform: uppercase;
     letter-spacing: 0.12em;
 }
 .footer-bottom-right {
     display: flex;
     gap: 7.20px;
     align-items: center;
     flex-wrap: wrap;
 }
 .footer-select {
     border-radius: 999px;
     border: 1px solid var(--border-subtle);
     background: #ffffff;
     padding: 4.00px 9.60px;
     font-size: 12.48px;
     color: var(--text-muted);
 }
 .footer-bottom a {
     color: var(--text-subtle);
 }
 .footer-bottom a:hover {
     color: var(--barik-600);
 }
 /* RESPONSIVE */

 @media (max-width: 992px) {
     .footer-trust {
         border-radius: 24px;
         grid-template-columns: repeat(2, minmax(0, 1fr));
     }
     .footer-main {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 32.00px;
     }
     /* Brand section full width */
     .footer-main>div:nth-child(1) {
         grid-column: span 2;
     }
     /* Newsletter full width */
     .footer-main>div:nth-child(5) {
         grid-column: span 2;
     }
 }
 @media (max-width: 768px) {
     .footer-inner {
         padding: 28.80px 16.00px 20.00px;
     }
     .footer-trust {
         grid-template-columns: minmax(0, 1fr);
         border-radius: 18px;
         padding: 16.00px 17.60px;
     }
     .footer-main {
         grid-template-columns: 1fr !important;
         gap: 28.80px;
     }
     .footer-main>div {
         grid-column: span 1 !important;
     }
     .footer-col-title {
         margin-bottom: 9.60px;
     }
     .footer-logo-wrap {
         text-align: left;
     }
     .footer-desc {
         max-width: 90%;
         font-size: 14.08px;
     }
     .footer-social {
         gap: 6.40px;
     }
     .footer-col-title {
         margin-bottom: 11.20px;
         font-size: 14.72px;
     }
     .footer-list li a {
         font-size: 14.40px;
         padding: 2.40px 0;
     }
     .footer-newsletter {
         max-width: 100%;
     }
     .newsletter-form {
         flex-direction: column;
         gap: 9.60px;
     }
     .newsletter-input {
         width: 100%;
     }
     .newsletter-btn {
         width: 100%;
         justify-content: center;
     }
     .footer-brands {
         padding: 24.00px 0 20.00px;
     }
     .brand-row {
         flex-wrap: wrap;
         gap: 8.80px;
     }
     .brand-pill {
         flex: 1 1 45%;
         text-align: center;
     }
     .footer-bottom {
         flex-direction: column;
         align-items: flex-start;
         gap: 12.00px;
         padding-top: 16.00px;
     }
     .footer-bottom-left, .footer-bottom-center, .footer-bottom-right {
         justify-content: flex-start;
         width: 100%;
     }
 }
 .bk-footer-contact-item {
     display: flex;
     flex-direction: column;
     gap: 1px;
 }
 .bk-footer-contact a, .bk-footer-contact span {
     font-size: 13px;
     color: var(--ink-700);
     text-decoration: none;
 }
 .bk-footer-contact-label {
     font-size: 11px;
     text-transform: uppercase;
     letter-spacing: 0.08em;
     color: var(--ink-500);
 }
 .bk-footer-contact-item {
     display: flex;
     flex-direction: column;
     gap: 1px;
     margin-bottom: 10px;
 }
 .bk-footer-contact a, .bk-footer-contact span {
     font-size: 13px;
     color: var(--ink-700);
     text-decoration: none;
 }
 .bk-footer-contact-label {
     font-size: 11px;
     text-transform: uppercase;
     letter-spacing: 0.08em;
     color: var(--ink-500);
 }
 .bk-footer-social-link {
     width: 26px;
     height: 26px;
     border-radius: 999px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 11px;
     font-weight: 600;
     text-transform: uppercase;
     text-decoration: none;
     color: var(--ink-700);
     background-color: var(--ink-100);
     border: 1px solid rgba(148, 163, 184, 0.7);
     transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
 }
 .bk-footer-social-link:hover {
     background-color: var(--barik-600);
     color: #ffffff;
     border-color: var(--barik-600);
     box-shadow: 0 6px 14px rgba(22, 69, 131, 0.4);
     transform: translateY(-1px);
 }



/* ══════════════════════════════════════
   PRODUCT GRID   .b-grid
   Visual ref: bariklabs.com/tools/draft/category.html
   (.bt-product-grid)
══════════════════════════════════════ */

.b-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

/* 4-col when no sidebar present */
.cat-layout:not(:has(#column-left)):not(:has(#column-right)) .b-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ══════════════════════════════════════
   PRODUCT GRID   .b-grid
   Visual ref: bariklabs.com/tools/draft/category.html
   (.bt-product-grid)
══════════════════════════════════════ */

.b-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

/* 4-col when no sidebar present */
.cat-layout:not(:has(#column-left)):not(:has(#column-right)) .b-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ══════════════════════════════════════
   PRODUCT CARD   .b-card
   (.bt-product-card)
══════════════════════════════════════ */

.b-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-soft, #e5e7eb);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 150ms ease,
                box-shadow 150ms ease,
                border-color 150ms ease;
}

.b-card:hover {
    transform: translateY(-4px);
    border-color: rgba(161, 20, 20, .35);
    box-shadow: 0 22px 40px rgba(15, 23, 42, .12);
}

/* ── Media area   .b-card__media ── */

.b-card__media {
    position: relative;
    background:
        radial-gradient(circle at 30% 0%,
            rgba(248, 250, 252, .10),
            rgba(17, 24, 39, .10)),
        linear-gradient(135deg,
            rgba(161, 20, 20, .18),
            rgba(15, 23, 42, .80));
    padding: 0;
    display: flex;
    flex-direction: column;
}


.b-card__media .btn-addtocart {
    position: absolute;
    bottom: 0;
    z-index: 999999;
}


/* ── Image   .b-card__link + .b-card__img ── */

.b-card__link {
    display: block;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    overflow: hidden;
    background: #111827;
    order: 1;
    position: relative;   /* crossfade anchor */
}

.b-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    opacity: .98;
    transition: transform 200ms ease, opacity 200ms ease;
}

/* Alt image crossfade */
.b-card__img--alt {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0;
}

.b-card:has(.b-card__img--alt):hover .b-card__img:not(.b-card__img--alt) {
    opacity: 0;
    transform: scale(1.05);
}

.b-card:has(.b-card__img--alt):hover .b-card__img--alt {
    opacity: 1;
    transform: scale(1.05);
}

.b-card:not(:has(.b-card__img--alt)):hover .b-card__img {
    transform: scale(1.05);
    opacity: 1;
}

/* ── Sale ribbon   .b-ribbon ── */

.b-ribbon {
    position: absolute;
    top: 10px;
    left: 14px;
    display: flex;
    gap: 6px;
    z-index: 3;
    order: 0;
}

.b-ribbon span,
.b-ribbon--sale span {
    border-radius: 999px;
    font-size: 12px;
    padding: 2px 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #111827;
    background: #fbbf24;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .35);
}

.b-ribbon--soldout span {
    background: rgba(15, 23, 42, .75);
    color: #f9fafb;
    box-shadow: none;
}

.b-ribbon--new span {
    background: #10b981;
    color: #fff;
}

/* Sold-out dim overlay */
.b-card:has(.b-ribbon--soldout) .b-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .35);
    z-index: 2;
    pointer-events: none;
    border-radius: 12px;
}

.b-card:has(.b-ribbon--soldout) .b-card__img {
    filter: grayscale(40%);
}

/* ── Overlay actions: wishlist + compare   .b-card__overlay-top ── */

.b-card__overlay-top {
    position: absolute;
    top: 10px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 4;
    order: 0;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.b-card:hover .b-card__overlay-top {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger */
.b-card__overlay-top .wish-mini    { transition-delay: 0ms; }
.b-card__overlay-top .compare-mini { transition-delay: 40ms; }

.wish-mini,
.compare-mini {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(243, 244, 246, .8);
    background: rgba(17, 24, 39, .75);
    color: #f9fafb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    backdrop-filter: blur(6px);
    transition: background 150ms ease,
                transform 150ms ease,
                border-color 150ms ease;
}

.wish-mini:hover,
.compare-mini:hover {
    background: rgba(161, 20, 20, .95);
    border-color: rgba(251, 191, 36, .8);
    transform: translateY(-1px);
}

/* ── Add-to-cart button   .btn-addtocart ──
   Lives inside .b-card__media (twig).
   flex order:2 places it below the image as a footer strip.
   overflow:hidden on .b-card rounds its bottom corners.
── */

.btn-addtocart {
    order: 2;
    position: static;           /* override any inherited absolute */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
    padding: 9px 10px;
    border: none;
    border-radius: 0;           /* flush edge, card overflow clips corners */
    background: linear-gradient(to right,
        var(--primary, #a11414),
        var(--primary-dark, #7c0f0f));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 200ms ease,
                transform 200ms ease,
                background 150ms ease;
}

.b-card:hover .btn-addtocart {
    opacity: 1;
    transform: translateY(0);
}

.btn-addtocart:hover {
    background: linear-gradient(to right,
        var(--primary-dark, #7c0f0f), #3c0707);
    color: #fff;
}

/* Sold-out / remind variant */
.btn-addtocart--remind {
    background: var(--text-muted, #9ca3af);
    opacity: 1;
    transform: none;
}

.btn-addtocart--remind:hover {
    background: var(--primary, #a11414);
}

/* SVG defensive rules */
.btn-addtocart svg,
.wish-mini svg,
.compare-mini svg {
    display: block !important;
    pointer-events: none;
    overflow: visible;
    max-width: none !important;
    fill: none !important;
    stroke: currentColor !important;
}

/* ── Card body   .b-card__body ── */

.b-card__body {
    padding: 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    border-top: none;           /* removed industrial border-top */
}

.b-card__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main, #111827);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 140ms ease;
    text-decoration: none;
}

.b-card__name:hover {
    color: var(--primary, #a11414);
}

/* Price block */
.b-card__price {
    margin: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 16px;
    margin-top: auto;
}

.b-price--special,
.b-card__price > strong {
    font-weight: 700;
    color: var(--primary, #a11414);
    font-size: 16px;
}

.b-price--old {
    font-size: 13px;
    color: var(--text-muted, #9ca3af);
    text-decoration: line-through;
    font-weight: 400;
}

.b-price--tax {
    font-size: 13px;
    color: var(--text-muted, #9ca3af);
    font-weight: 400;
}

/* ── Entry animations ── */

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

.b-card:nth-child(1)  { animation: b-fadeUp .5s  .05s ease both; }
.b-card:nth-child(2)  { animation: b-fadeUp .5s  .10s ease both; }
.b-card:nth-child(3)  { animation: b-fadeUp .5s  .15s ease both; }
.b-card:nth-child(4)  { animation: b-fadeUp .5s  .20s ease both; }
.b-card:nth-child(5)  { animation: b-fadeUp .5s  .25s ease both; }
.b-card:nth-child(6)  { animation: b-fadeUp .5s  .30s ease both; }
.b-card:nth-child(7)  { animation: b-fadeUp .5s  .35s ease both; }
.b-card:nth-child(8)  { animation: b-fadeUp .5s  .40s ease both; }
.b-card:nth-child(9)  { animation: b-fadeUp .5s  .45s ease both; }
.b-card:nth-child(10) { animation: b-fadeUp .5s  .50s ease both; }

/* ── Responsive ── */

@media (max-width: 1023px) {
    .b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .b-grid        { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .b-card__img   { height: 120px; }
}

@media (max-width: 380px) {
    .b-grid        { grid-template-columns: minmax(0, 1fr); }
}


/* ═══════════════════════════════════════════════════════
   CART NOTICE — floating toast
   Barik Tools / Kazoku variant
   All position + animation logic preserved.
   Only color tokens updated to tools scheme.
═══════════════════════════════════════════════════════ */

#cart-notice {
  position: fixed;
  top: 124px;
  right: 24px;
  z-index: 9999;
  width: 360px;
  max-width: calc(100vw - 48px);

  display: none;
  opacity: 0;
  transform: translateX(20px) translateY(-8px);
  transition: opacity 300ms ease,
              transform 300ms ease;
}

#cart-notice:not(.hide) {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

#cart-notice.hide {
  opacity: 0;
  transform: translateX(16px) translateY(-4px);
  transition: opacity 350ms ease,
              transform 350ms ease;
}

/* ── card ── */
.notice-content {
  background: var(--text-main, #111827);   /* dark navy, not indigo */
  border-left: 3px solid var(--primary, #a11414);
  border-radius: var(--radius-md, 14px);
  box-shadow: 0 8px 32px rgba(15, 23, 42, .28),
              0 2px 8px  rgba(15, 23, 42, .14);
  padding: 18px 16px 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 12px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

/* diagonal stripe — same pattern, lighter opacity */
.notice-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(255, 255, 255, .018) 0px, rgba(255, 255, 255, .018) 1px,
    transparent 1px, transparent 28px
  );
  pointer-events: none;
}

/* ── icon ── */
.notice-content .fa {
  grid-column: 1;
  grid-row: 1;
  font-size: 15px;
  color: var(--primary, #a11414);
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

/* ── message ── */
.notice-content .notice-msg {
  grid-column: 2;
  grid-row: 1;
  font-size: 13px;
  color: rgba(255, 255, 255, .76);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.notice-content .notice-msg a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: border-color 180ms ease, color 180ms ease;
}

.notice-content .notice-msg a:hover {
  color: var(--barik-300, #f3b0b0);
  border-color: var(--barik-300, #f3b0b0);
}

/* ── close button ── */
.cart-notice__close {
  grid-column: 3;
  grid-row: 1;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, .28);
  font-size: 18px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 180ms ease;
  position: relative;
  z-index: 1;
  margin-top: -1px;
}

.cart-notice__close:hover { color: #fff; }

/* ── view cart button ── */
.btn-view-cart.fab-cart {
  grid-column: 2 / 4;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-pill, 999px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 220ms ease,
              background   220ms ease,
              color        220ms ease;
  position: relative;
  z-index: 1;
}

.btn-view-cart.fab-cart:hover {
  border-color: var(--barik-300, #f3b0b0);
  background: rgba(161, 20, 20, .18);
  color: var(--barik-200, #f9d3d3);
}

/* ── progress bar ── */
.notice-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--primary, #a11414);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 2;
}

#cart-notice:not(.hide) .notice-content::after {
  animation: notice-progress 3s linear forwards;
}

@keyframes notice-progress {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* ── mobile: bottom ── */
@media (max-width: 500px) {
  #cart-notice {
    top: auto;
    bottom: 20px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: 100%;
    transform: translateX(0) translateY(16px);
  }
  #cart-notice:not(.hide) {
    transform: translateX(0) translateY(0);
  }
}

/*Override*/
aside#column-left.col-sm-3, #content.col-sm-9 {
    width: 100%;
}

.form-inline .form-control {
  width: 100% !important;
}
