:root {
    --albi: #ff6b4a;
    --albi-dark: #e25436;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #f6f7fb;
    --card: #ffffff;
    --radius: 1.15rem;
    --shadow: 0 18px 40px -28px rgba(17, 24, 39, .45);
}

html { font-size: 16px; }
body.storefront {
    font-family: "DM Sans", system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100%;
    padding-bottom: 4.25rem;
}
@media (min-width: 768px) {
    body.storefront { padding-bottom: 0; }
}

body.storefront h1, body.storefront h2, body.storefront h3, body.storefront h5 {
    font-family: "Outfit", "DM Sans", sans-serif;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.03em;
}

a { color: inherit; }

.promo-bar {
    background: linear-gradient(90deg, #111827 0%, #1f2937 45%, #ff6b4a 100%);
    color: #fff;
    font-size: .86rem;
    overflow: hidden;
}
.promo-bar-inner {
    display: flex;
    gap: 2.5rem;
    padding: .55rem 0;
    white-space: nowrap;
    animation: promoSlide 28s linear infinite;
}
.promo-bar span { opacity: .92; }
.promo-bar strong { font-weight: 700; }
@keyframes promoSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.header-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: .85rem 0;
}

.logo-custom img { max-height: 44px; width: auto; }

.search-shell {
    flex: 1;
    position: relative;
}
.search-shell input {
    width: 100%;
    border: 1px solid var(--line);
    background: #f3f4f6;
    border-radius: 999px;
    padding: .7rem 3.2rem .7rem 1.15rem;
    outline: none;
}
.search-shell input:focus {
    background: #fff;
    border-color: var(--albi);
    box-shadow: 0 0 0 .2rem rgba(255,107,74,.15);
}
.search-shell button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--albi);
    color: #fff;
}

.header-actions { display: flex; align-items: center; gap: .45rem; }
.icon-action {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 500;
}
.icon-action:hover { background: #f3f4f6; color: var(--ink); }
.icon-action i { font-size: 1.15rem; }
.icon-action .badge-dot {
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    background: var(--albi);
    color: #fff;
    font-size: .7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mini-cart { min-width: 320px; padding: .75rem; border-radius: 1rem; border: 0; box-shadow: var(--shadow); }
.mini-cart-item { display: flex; gap: .7rem; align-items: center; padding: .45rem 0; }
.mini-cart-item img { width: 48px; height: 48px; object-fit: contain; background: #f8fafc; border-radius: .5rem; }
.mini-cart-total { display: flex; justify-content: space-between; font-weight: 700; padding: .5rem 0; }
.btn-albi {
    background: var(--albi);
    border: 0;
    color: #fff;
    border-radius: 999px;
    padding: .55rem 1.1rem;
    font-weight: 600;
}
.btn-albi:hover { background: var(--albi-dark); color: #fff; }
.btn-ghost {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: .5rem 1rem;
    font-weight: 600;
}

.cat-nav {
    border-top: 1px solid var(--line);
}
.cat-nav .navbar-nav { gap: .15rem; }
.cat-nav .nav-link {
    font-weight: 600;
    font-size: .92rem;
    color: #374151 !important;
    padding: .7rem .85rem !important;
    border-radius: .7rem;
}
.cat-nav .nav-link:hover, .cat-nav .dropdown:hover > .nav-link {
    background: #fff3ef;
    color: var(--albi-dark) !important;
}
.cat-nav .dropdown-menu {
    border: 0;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    padding: .5rem;
    margin-top: 0;
}
.cat-nav .dropdown-item {
    border-radius: .6rem;
    padding: .5rem .75rem;
    font-size: .9rem;
}

.hero-wrap { padding: 1.25rem 0 0; }
.hero-slider {
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    background: #111;
}
.hero-slider .carousel-item { min-height: 420px; }
.hero-slider img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    filter: saturate(1.05);
}
.hero-slider .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17,24,39,.72) 0%, rgba(17,24,39,.15) 60%, transparent 100%);
}
.hero-caption {
    position: absolute;
    left: 3rem;
    bottom: 3rem;
    color: #fff;
    max-width: 520px;
    text-align: left;
}
.hero-caption h5 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: .4rem;
}
.hero-caption p { opacity: .9; font-size: 1.05rem; }
.hero-slider .carousel-indicators { gap: .4rem; margin-bottom: 1.1rem; }
.hero-slider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: #fff;
    opacity: .45;
}
.hero-slider .carousel-indicators .active { width: 28px; opacity: 1; }
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: rgba(255,255,255,.18);
    border-radius: 99px;
    backdrop-filter: blur(8px);
}
.hero-slider .carousel-control-prev { left: 1rem; }
.hero-slider .carousel-control-next { right: 1rem; }

.campaign-strip {
    margin: 1.25rem 0 0;
    background: linear-gradient(135deg, #fff7f4, #ffe8df);
    border: 1px solid #ffd7cb;
    border-radius: 1.25rem;
    padding: 1.1rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.campaign-strip h2 {
    font-size: 1.25rem;
    margin: 0 0 .2rem;
    color: var(--albi-dark);
}
.countdown { display: flex; gap: .55rem; }
.countdown div {
    min-width: 64px;
    background: #111827;
    color: #fff;
    border-radius: .85rem;
    text-align: center;
    padding: .55rem .4rem;
}
.countdown span { display: block; font-size: 1.2rem; font-weight: 800; }
.countdown small { font-size: .7rem; opacity: .75; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin: 2.4rem 0 1rem;
}
.section-head h2 { margin: 0; font-size: 1.65rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: .4rem .85rem;
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
}
.chip.active, .chip:hover { border-color: var(--albi); color: var(--albi-dark); background: #fff3ef; }

.filter-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin-bottom: 1rem;
}
.filter-toolbar select, .filter-toolbar input {
    border-radius: 999px;
    border: 1px solid var(--line);
    padding: .45rem .8rem;
    background: #fff;
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    background: #fff;
    overflow: hidden;
    height: 100%;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.product-card .card-img-top {
    height: 210px;
    object-fit: contain;
    padding: 1rem;
    background: linear-gradient(180deg, #f8fafc, #fff);
}
.wish-btn {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 99px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.price-tag { color: var(--albi-dark); font-weight: 800; font-size: 1.05rem; }
.brand-mini { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: 1rem .6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    text-decoration: none;
    color: var(--ink);
    height: 100%;
}
.cat-tile img, .cat-tile .cat-ico {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 1rem;
    background: #fff3ef;
    display: grid;
    place-items: center;
    color: var(--albi);
    font-size: 1.5rem;
}
.cat-tile:hover { border-color: var(--albi); color: var(--ink); }

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0 3rem;
}
.filter-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 1.1rem;
    position: sticky;
    top: 6.5rem;
}
.filter-card h6 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1rem 0 .45rem; }
.filter-card h6:first-child { margin-top: 0; }

.trust-row {
    background: #fff;
    border-top: 1px solid var(--line);
    margin-top: 2rem;
}
.trust-item { text-align: center; padding: 1.4rem .5rem; }
.trust-item h5 { font-size: 1rem; margin: .5rem 0 .25rem; }
.trust-item p { color: var(--muted); font-size: .85rem; margin: 0; }

.mobile-tabbar {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
}
.mobile-tabbar a { text-decoration: none; color: #4b5563; font-size: .72rem; }

.footer-modern { background: #111827; color: #d1d5db; }
.footer-modern h5, .footer-modern h6 { color: #fff; }
.footer-modern a { color: #d1d5db; text-decoration: none; }
.footer-modern a:hover { color: #fff; }

@media (max-width: 991px) {
    .catalog-layout { grid-template-columns: 1fr; }
    .filter-card { position: static; }
    .hero-slider img, .hero-slider .carousel-item { height: 280px; min-height: 280px; }
    .hero-caption { left: 1.2rem; bottom: 1.2rem; right: 1.2rem; }
    .header-actions .label-hide { display: none; }
}

@media (max-width: 768px) {
    .desktop-actions { display: none !important; }
}
