:root {
    /* Barik core tokens for this section */
    --barik-50: #fff5f5;
    --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;
    --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;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
    --container: 1200px;
    --card: #ffffff;
    --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    --transition-normal: 220ms ease;
    --transition-fast: 150ms ease-out;
}
* {
    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);
}
/* ===== 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: 1200px;
    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;
}
.cart-notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--barik-600);
    color: var(--barik-100);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    display: none;
    z-index: 1050;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.5s forwards;
}
.cart-notice.hide {
    animation: slideOut 1s forwards;
}
.cart-notice .notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.cart-notice i {
    font-size: 16px;
}
.cart-notice .btn-view-cart {
    background: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    color: var(--barik-700);
    border: 1px solid #dbe4ff;
    box-shadow: var(--shadow-sm);
}
.cart-notice .btn-view-cart:hover {
    background: var(--barik-100);
}
.cart-notice .notice-msg a {
    color: #fff;
    font-weight: bold;
}
@keyframes slideIn {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
@keyframes slideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}
@media (max-width: 768px) {
    .cart-notice .notice-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
.cart-notice__close {
    background: transparent;
    border: 0;
    color: var(--barik-100);
    font-size: 18px;
    line-height: 1;
    padding: 6px;
    cursor: pointer;
    margin-left: 6px;
}
.cart-notice__close:hover, .cart-notice__close:focus {
    color: var(--fg, #1f2937);
}
/*end of cart notice*/

.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: 1000;
    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 0px;
    align-items: center;
    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;
}
/*Login*/

.auth {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
@media (max-width: 768px) {
    .actions .wishlist-icon {
        display: none;
    }
    .auth {
        grid-template-columns: 1fr;
    }
    .auth {
        align-items: stretch;
    }
    .auth-card {
        height: 100%;
    }

    header .btn-search-toggle {
        display: flex !important;
    }

    header .search {
      opacity: 0;
       height: 0;
      visibility: hidden;
      transform: translateY(-6px);
      transition: all 0.25s ease;
    }

    header .search.active {
      opacity: 1;
      height: auto;
      visibility: visible;
      transform: translateY(0);
    }
}
.auth-card {
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 32px;
    position: relative;
    overflow: hidden;
    height: auto;
    /* biarkan tinggi menyesuaikan isi */
    display: flex;
    /* pastikan layout internal fleksibel */
    flex-direction: column;
    /* konten ditumpuk vertikal */
    justify-content: flex-start;
    /* tidak pakai stretching */
}
.auth-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -50px;
    right: -50px;
    background: radial-gradient(closest-side, rgba(31, 58, 95, 0.1), transparent 70%);
    transform: rotate(20deg);
}
.auth-title {
    font-size: 1.8rem;
    color: var(--barik-900);
    margin: 0 0 12px 0;
    position: relative;
}
.auth-title::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--barik-500), transparent);
    border-radius: 4px;
}
.auth-text {
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.6;
}
form.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.auth-field label {
    font-weight: 600;
    font-size: 13px;
    color: var(--barik-700);
    margin-bottom: 4px;
    display: block;
}
.auth-field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d7dde5;
    font: inherit;
    transition: border .2s, box-shadow .2s;
}
.auth-field input:focus {
    outline: none;
    border-color: var(--barik-500);
    box-shadow: var(--ring);
}
.auth-forgot {
    font-size: 13px;
    color: var(--barik-500);
    text-decoration: none;
    align-self: flex-end;
}
.auth-forgot:hover {
    text-decoration: underline;
}
/*Panel & Form*/

textarea.form-control {
    height: auto !important;
}
.panel-group .panel {
    border-radius: var(--radius-sm);
}
.panel-default>.panel-heading {
    color: var(--barik-700);
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid transparent;
}
/*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);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 14px;
    position: sticky;
    top: 86px;
}
.nav-title {
    font-weight: 700;
    color: var(--barik-700);
    margin: 6px 0 10px 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    color: #16223a;
    transition: background 0.2s, transform 0.12s;
}
aside .nav-list li a .badge {
    font-size: 11px;
    color: #586a8a;
    background: #edf3ff;
    padding: 2px 8px;
    border-radius: 999px;
}
.nav-list li a:hover {
    background: linear-gradient(90deg, var(--barik-100), #ffffff 100%);
    transform: translateX(2px);
    text-decoration: none;
}
.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;
}
.breadcrumbs {
    width: min(1200px, 96vw);
    margin-inline: auto;
}
.breadcrumb {
    padding: 15px 0;
    list-style: none;
    border-radius: 4px;
    border-top: none;
    margin: 0;
    display: flex;
    gap: 6px;
    background: none;
}
.breadcrumb>li+li::before {
    content: "›";
    color: #94a3b8;
}
ul.breadcrumb a {
    color: var(--barik-600);
}
#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);
}
