/* BanguiStore v0.1.30 — marketplace enrichment */
.market-topbar__seller-login{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:inherit;
    font-weight:800;
    text-decoration:none;
}

/* v0.1.31.12 — live cart totals */
[data-live-cart] .quantity-control{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:6px;width:auto;height:auto;overflow:visible;border:0}
[data-live-cart] .quantity-control select{min-width:64px}
[data-live-cart] .quantity-control button{min-height:34px;padding:0 9px;border:1px solid var(--bs-border,#ddd);border-radius:5px;background:var(--bs-card,#fff);color:var(--bs-ink,#222)}
[data-live-cart].is-live .quantity-control button{display:none}
[data-live-cart] .cart-quantity-state{width:16px;color:#087a4b;font-weight:900;text-align:center}
[data-live-cart] .quantity-control.is-saving{opacity:.72}
[data-live-cart] .minimum-order-warning[hidden]{display:none}
.market-topbar__seller-login:hover{color:#d77b00}
.market-topbar__seller-login svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}

.cf-flag-icon{
    display:inline-block!important;
    width:28px!important;
    height:19px!important;
    min-width:28px;
    object-fit:cover;
    border-radius:3px;
    vertical-align:middle;
    box-shadow:0 0 0 1px rgba(0,0,0,.10);
}
.shortcut-card__icon .cf-flag-icon{width:54px!important;height:36px!important;border-radius:5px}
.category-bubble .cf-flag-icon{width:54px!important;height:36px!important;border-radius:5px}
.hero-categories .cf-flag-icon{width:24px!important;height:16px!important}

.thematic-shelf{
    margin-top:16px;
    padding:0;
    overflow:hidden;
    border-radius:10px;
    background:var(--bs-card);
    box-shadow:var(--bs-shadow);
}
.thematic-shelf__heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    padding:16px 18px 14px;
    background:#ff8d18;
    color:#fff;
}
.thematic-shelf--sand .thematic-shelf__heading{
    background:#fff4e6;
    color:#c96600;
}
.thematic-shelf--rose .thematic-shelf__heading{
    background:#fff0ef;
    color:#c51f42;
}
.thematic-shelf--solar .thematic-shelf__heading{
    background:linear-gradient(105deg,#ffbf00,#ffe680 58%,#fff8d7);
    color:#2f2700;
}
.thematic-shelf--telecom .thematic-shelf__heading{
    background:linear-gradient(105deg,#0759a8,#2587df 58%,#a9ddff);
    color:#fff;
}
.thematic-shelf--local .thematic-shelf__heading{
    background:linear-gradient(100deg,#113c89,#fff 42%,#22944a 75%,#f1c40f);
    color:#111;
}
.dark .thematic-shelf--sand .thematic-shelf__heading,
.dark .thematic-shelf--rose .thematic-shelf__heading{
    background:#2a2d32;
    color:#ffc95b;
}
.dark .thematic-shelf--local .thematic-shelf__heading{
    background:linear-gradient(100deg,#0e2c63,#25272c 43%,#185f32 76%,#816d12);
    color:#fff;
}
.dark .thematic-shelf--solar .thematic-shelf__heading{
    background:linear-gradient(105deg,#7e6200,#4c4118 62%,#2a2d32);
    color:#fff4bd;
}
.dark .thematic-shelf--telecom .thematic-shelf__heading{
    background:linear-gradient(105deg,#063663,#124f86 62%,#25313c);
    color:#e7f5ff;
}
.thematic-shelf__heading h2{margin:0;font-size:24px;line-height:1.1;font-weight:950;letter-spacing:-.025em}
.thematic-shelf__heading p{margin:5px 0 0;font-size:12px;opacity:.86}
.thematic-shelf__actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.thematic-shelf__actions>a{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:34px;
    padding:0 13px;
    border-radius:999px;
    background:#fff;
    color:#d46b00;
    font-size:12px;
    font-weight:850;
    text-decoration:none;
}
.thematic-shelf--sand .thematic-shelf__actions>a,
.thematic-shelf--rose .thematic-shelf__actions>a,
.thematic-shelf--solar .thematic-shelf__actions>a{background:#fff;color:inherit;border:1px solid currentColor}
.thematic-shelf--telecom .thematic-shelf__actions>a{background:#fff;color:#0759a8;border:1px solid #fff}
.thematic-shelf--local .thematic-shelf__actions>a{color:#111}
.thematic-shelf__actions .slider-controls button{background:rgba(255,255,255,.92);color:#222;border-color:transparent}
.thematic-shelf__products{padding:10px 10px 14px}
.thematic-shelf__products .product-card{background:var(--bs-card)}
.thematic-shelf__products--compact{grid-auto-columns:minmax(176px,220px)}
.thematic-shelf__empty{
    min-height:142px;
    display:grid;
    grid-template-columns:74px minmax(0,1fr) auto;
    align-items:center;
    gap:16px;
    margin:12px;
    padding:18px 20px;
    border:1px dashed var(--bs-border);
    border-radius:9px;
    background:var(--bs-page);
    color:var(--bs-ink);
    text-decoration:none;
}
.thematic-shelf__empty-icon{
    width:66px;
    height:66px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--bs-card);
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    font-size:30px;
}
.thematic-shelf__empty b{display:block;margin-bottom:5px;font-size:16px}
.thematic-shelf__empty small{display:block;color:var(--bs-muted);font-size:12px;line-height:1.5}
.thematic-shelf__empty strong{color:#d87400;font-size:12px;white-space:nowrap}
.thematic-shelf__empty:hover{border-color:#e3a000;background:var(--bs-card)}

.footer-brand{justify-self:start}
.footer-brand__plate{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border-radius:10px;
    background:#fff;
    box-shadow:0 5px 18px rgba(0,0,0,.2);
}
.footer-brand__plate img{display:block;max-width:100%;height:auto}
.footer-grid a{font-weight:400}

.bs-cart-flight{
    position:fixed;
    z-index:7000;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border:3px solid #ffc300;
    border-radius:50%;
    background:#fff;
    color:#171717;
    box-shadow:0 12px 28px rgba(0,0,0,.28);
    opacity:1;
    pointer-events:none;
    transform:translate3d(0,0,0) scale(1);
    transition:transform .88s cubic-bezier(.18,.82,.22,1),opacity .2s ease .68s;
}
.bs-cart-flight img{width:100%;height:100%;object-fit:contain}
.bs-cart-flight b{font-size:13px;font-weight:950}
.bs-cart-flight.is-flying{opacity:0;transform:translate3d(var(--cart-flight-x),var(--cart-flight-y),0) scale(.32) rotate(18deg)}
.market-action--cart{position:relative;isolation:isolate;overflow:visible!important}
.market-action--cart.is-cart-animated{z-index:12;animation:bs-cart-highlight 1.55s ease both}
.market-action--cart.is-cart-animated svg{transform-origin:50% 20%;animation:bs-cart-jump 1.45s cubic-bezier(.22,.8,.3,1) both}
.market-action--cart.is-cart-animated .cart-count{animation:bs-cart-count-pop 1.45s cubic-bezier(.22,.8,.3,1) both}
.market-action--cart.is-cart-animated::before{
    content:'';
    position:absolute;
    z-index:0;
    inset:-8px;
    border:3px solid #ffc300;
    border-radius:50%;
    pointer-events:none;
    animation:bs-cart-ring 1.45s ease-out both;
}
.bs-cart-added-badge{
    position:absolute;
    z-index:20;
    top:-17px;
    right:-16px;
    min-width:30px;
    height:30px;
    display:grid;
    place-items:center;
    padding:0 6px;
    border:3px solid #fff;
    border-radius:16px;
    background:#15945c;
    color:#fff;
    font-size:13px;
    font-weight:950;
    line-height:1;
    box-shadow:0 7px 18px rgba(0,0,0,.28);
    pointer-events:none;
    animation:bs-cart-added-badge 1.7s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes bs-cart-highlight{0%,100%{background:transparent;box-shadow:none}18%,72%{background:#fff1a8;box-shadow:0 0 0 7px rgba(255,195,0,.23)}}
@keyframes bs-cart-jump{0%,100%{transform:none}18%{transform:translateY(-9px) rotate(-13deg) scale(1.2)}35%{transform:translateY(2px) rotate(7deg) scale(1.08)}52%{transform:translateY(-5px) rotate(-7deg) scale(1.13)}70%{transform:translateY(1px) rotate(3deg) scale(1.05)}}
@keyframes bs-cart-count-pop{0%,100%{transform:none}18%,62%{transform:scale(1.7);background:#15945c;color:#fff}78%{transform:scale(.92)}}
@keyframes bs-cart-ring{0%{opacity:0;transform:scale(.55)}22%{opacity:1}100%{opacity:0;transform:scale(1.7)}}
@keyframes bs-cart-added-badge{0%{opacity:0;transform:translateY(12px) scale(.35)}18%,72%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-10px) scale(.82)}}
@media(prefers-reduced-motion:reduce){
    .market-action--cart.is-cart-animated,
    .market-action--cart.is-cart-animated svg,
    .market-action--cart.is-cart-animated .cart-count,
    .market-action--cart.is-cart-animated::before,
    .bs-cart-added-badge{animation:none}
    .market-action--cart.is-cart-animated{background:#fff1a8;box-shadow:0 0 0 5px rgba(255,195,0,.25)}
    .bs-cart-added-badge{opacity:1;transform:none}
    .bs-cart-flight{display:none}
}

.purchase-row .buy-button--now{
    background:#ffc300;
    border-color:#e2ac00;
    color:#171717;
    font-weight:900;
}
.purchase-row .buy-button--now:hover{background:#ffcf2f}
.dark .purchase-row .buy-button--now{background:#ffc300;color:#171717}

.bs-cart-toast{
    position:fixed;
    z-index:6500;
    right:18px;
    bottom:22px;
    max-width:min(390px,calc(100vw - 28px));
    padding:13px 16px;
    border-radius:10px;
    background:#172019;
    color:#fff;
    font-size:14px;
    font-weight:800;
    line-height:1.35;
    box-shadow:0 16px 42px rgba(0,0,0,.24);
    opacity:0;
    transform:translateY(14px);
    pointer-events:none;
    transition:opacity .18s ease,transform .18s ease;
}
.bs-cart-toast.is-visible{opacity:1;transform:none}
.bs-cart-toast.is-success{border-left:5px solid #27a866}
.bs-cart-toast.is-error{border-left:5px solid #d93c4b;background:#2c1719}
.product-card__add[disabled],.buy-button[disabled]{opacity:.68;cursor:wait}

@media(max-width:760px){
    .thematic-shelf{border-radius:8px}
    .thematic-shelf__heading{padding:13px 12px 11px;align-items:center}
    .thematic-shelf__heading h2{font-size:19px}
    .thematic-shelf__heading p{font-size:11px}
    .thematic-shelf__actions .slider-controls{display:none}
    .thematic-shelf__actions>a{min-height:30px;padding:0 10px;font-size:11px}
    .thematic-shelf__products{padding:8px 8px 12px}
    .thematic-shelf__products--compact{grid-auto-columns:158px}
    .thematic-shelf__empty{grid-template-columns:52px minmax(0,1fr);gap:11px;min-height:116px;margin:9px;padding:14px}
    .thematic-shelf__empty-icon{width:48px;height:48px;font-size:23px}
    .thematic-shelf__empty strong{grid-column:2;white-space:normal}
    .bs-cart-toast{right:14px;bottom:14px;left:14px;max-width:none}
    .purchase-row{grid-template-columns:auto minmax(70px,90px) 1fr!important}
    .purchase-row .buy-button--now{grid-column:1/-1;width:100%}
}
