/* ==========================================================================
   Electronics/General Shop — Custom Design System (Bootstrap-friendly)
   No build step. Just a plain CSS file loaded after Bootstrap's CSS.
   File location: public/assets/css/custom.css
   ========================================================================== */

/* Alpine.js cloak (hides elements until Alpine initializes, avoids flicker) */
[x-cloak] { display: none !important; }

/* 1. Typography ------------------------------------------------------------ */
:root {
    --font-heading: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', 'Segoe UI', sans-serif;
    --font-body: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', 'Segoe UI', sans-serif;

    --brand: #0876bd;        /* AC Bazar blue */
    --brand-dark: #003b73;   /* logo deep blue */
    --brand-strong: #f28c00; /* logo orange */
    --accent: #fff1d6;       /* soft logo orange */
    --accent-light: #fffaf0;
    --accent-dark: #e46f00;
    --danger: #d96767;
    --success: #3a7d57;

    --ink: #1d1d1f;
    --muted: #6e6a67;
    --bg-soft: #f1f6fb;
    --surface: #ffffff;

    --radius-lg: 22px;
    --radius-md: 14px;
    --shadow-soft: 0 10px 28px rgba(28, 25, 23, 0.04);
    --shadow-hover: 0 18px 38px rgba(28, 25, 23, 0.08);

    --text-dark: var(--ink);
    --text-muted: var(--muted);

    --ink-900: #171719;
    --ink-800: #2b2b2d;
    --ink-700: #4a4a4d;
    --ink-600: #75716f;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: #f5f5f5;
}
.products-page,
.products-page h1,
.products-page h2,
.products-page h3,
.products-page h4,
.products-page h5,
.products-page h6 {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', 'Segoe UI', sans-serif;
    letter-spacing: 0;
}
.products-page {
    line-height: 1.75;
    font-synthesis: none;
    font-kerning: normal;
    font-variant-ligatures: normal;
    word-break: normal;
    overflow-wrap: normal;
}
.products-page button,
.products-page input,
.products-page select,
.products-page option,
.products-page label {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', 'Segoe UI', sans-serif;
    letter-spacing: 0;
    word-spacing: 0;
}
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* 2. Navbar (clean white + soft neutrals) -----------------------------------*/
.site-topbar {
    background: linear-gradient(90deg, #f7f6f5 0%, #f5f5f5 100%);
    color: var(--ink-700);
    font-size: .78rem;
    border-bottom: 1px solid rgba(29,29,31,.05);
}
.site-topbar a { color: var(--ink-700); text-decoration: none; }
.site-topbar a:hover { color: var(--brand-dark); }

.navbar {
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(10px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(29,29,31,.05);
}
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -.02em;
    color: var(--ink);
}
.navbar-brand i { color: var(--brand-dark); }
.navbar .nav-link {
    font-weight: 500;
    color: var(--ink) !important;
    position: relative;
    transition: color .2s ease;
}
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--brand-dark);
    transition: width .25s ease;
}
.navbar .nav-link:hover { color: var(--brand-dark) !important; }
.navbar .nav-link:hover::after { width: 100%; }

.navbar .form-control {
    background: #fff;
    border: 1px solid #e7e0d8;
    color: var(--ink);
}
.navbar .form-control::placeholder { color: #928d89; }
.navbar .form-control:focus { background: #fff; color: var(--ink); box-shadow: 0 0 0 3px rgba(140,157,138,.1); border-color: var(--brand); }
.navbar-search-form .form-control { min-width: 0; }
.navbar-search-form .btn {
    flex: 0 0 56px;
    min-width: 56px;
    padding-inline: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.navbar .btn-primary {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #075a9c 100%);
    border-color: var(--brand-dark);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(35,79,52,.12);
}
.navbar .btn-primary:hover { background: linear-gradient(135deg, #003b73 0%, #00264d 100%); border-color: #003b73; }
.navbar .btn-outline-primary {
    color: var(--brand-dark);
    border-color: rgba(35,79,52,.35);
    background: rgba(255,255,255,.72);
}
.navbar .btn-outline-primary:hover { background: var(--brand-dark); color: #fff; }
.navbar .dropdown-menu { background: #fff; border: 1px solid rgba(29,29,31,.08); }
.navbar .dropdown-item { color: var(--ink); }
.navbar .dropdown-item:hover { background: #f6f3ef; color: var(--brand-dark); }
.navbar .navbar-toggler { border-color: rgba(29,29,31,.12); }
.navbar .navbar-toggler-icon { filter: none; }
.mobile-search-shell {
    display: none;
}

.mobile-action-bar {
    display: none;
}
.floating-whatsapp,
.back-to-top {
    position: fixed;
    z-index: 1040;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(20, 45, 31, .2);
}
.floating-whatsapp {
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    background: #25d366;
    color: #fff;
    font-size: 1.35rem;
    text-decoration: none;
}
.floating-whatsapp:hover { background: #1da851; color: #fff; }
.back-to-top {
    right: 84px;
    bottom: 24px;
    display: inline-flex;
    background: var(--brand-dark);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { background: #00264d; }

@media (max-width: 991.98px) {
    .navbar {
        padding: 8px 0;
    }
    .navbar .container {
        align-items: flex-start;
    }
    .navbar .navbar-collapse {
        background: rgba(255,255,255,.98);
        border: 1px solid rgba(29,29,31,.06);
        border-radius: 18px;
        box-shadow: var(--shadow-soft);
        padding: 14px 12px;
        margin-top: 12px;
    }
    .navbar .navbar-nav {
        width: 100%;
        gap: .35rem;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }
    .navbar .navbar-nav::-webkit-scrollbar {
        display: none;
    }
    .navbar .nav-item {
        width: auto;
        flex: 0 0 auto;
    }
    .navbar .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: .55rem .45rem;
        border-radius: 10px;
        font-weight: 600;
        white-space: nowrap;
    }
    .navbar .nav-link:hover {
        background: #f6f3ef;
    }
    .navbar .nav-link::after {
        display: none;
    }

    .navbar-search-form {
        width: 100%;
        max-width: none !important;
        margin-bottom: 10px;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 6px 16px rgba(20,20,20,.04);
    }
    .navbar-search-form .form-control {
        height: 46px;
        border-radius: 14px 0 0 14px;
        border-right: none;
        font-size: .95rem;
    }
    .navbar-search-form .btn {
        height: 46px;
        flex-basis: 56px;
        min-width: 56px;
        width: 56px;
        border-radius: 0 14px 14px 0;
        padding: 0;
    }

    .navbar .btn,
    .navbar .btn-sm {
        width: auto;
        min-width: auto;
    }

    .navbar .nav-item .btn,
    .navbar .nav-item .btn-sm {
        width: auto;
        min-width: 0;
        padding-inline: .7rem;
        display: inline-flex;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }
    .mobile-search-shell {
        width: 100%;
        display: block;
        padding: 2px 12px 10px;
    }
    .navbar .navbar-search-form {
        display: none !important;
    }
    .mobile-search-form {
        display: flex;
        width: 100%;
        min-height: 46px;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 5px 16px rgba(20, 20, 20, .06);
    }
    .mobile-search-form .form-control {
        min-width: 0;
        height: 46px;
        border: 1px solid #e7e0d8;
        border-right: 0;
        border-radius: 12px 0 0 12px;
        font-size: .95rem;
    }
    .mobile-search-form .btn {
        flex: 0 0 54px;
        width: 54px;
        height: 46px;
        padding: 0;
        border-radius: 0 12px 12px 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-action-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2px;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97);
        border-top: 1px solid rgba(29, 29, 31, .08);
        box-shadow: 0 -8px 24px rgba(28, 25, 23, .08);
        backdrop-filter: blur(12px);
    }
    .mobile-action-link {
        position: relative;
        min-width: 0;
        min-height: 50px;
        padding: 5px 2px;
        border-radius: 10px;
        color: var(--ink-700);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: .68rem;
        font-weight: 700;
        line-height: 1.1;
        text-decoration: none;
        white-space: nowrap;
    }
    .mobile-action-link i {
        font-size: 1.12rem;
        line-height: 1;
    }
    .mobile-action-link:active,
    .mobile-action-link:hover {
        background: var(--accent);
        color: var(--brand-dark);
    }
    .mobile-whatsapp-link { color: #168c45; }
    .mobile-cart-badge {
        top: 3px;
        left: calc(50% + 5px);
        font-size: .58rem;
        transform: translateX(-50%);
    }
    .floating-whatsapp {
        right: 14px;
        bottom: calc(80px + env(safe-area-inset-bottom));
    }
    .back-to-top {
        right: auto;
        bottom: calc(80px + env(safe-area-inset-bottom));
        left: 14px;
    }
}
/* 15. Flash Sale countdown timer ---------------------------------------------*/
.countdown-box {
    display: flex; gap: 10px;
}
.countdown-box .cd-unit {
    background: var(--ink); color: #f37203; border-radius: 10px;
    min-width: 60px; padding: 10px 6px; text-align: center;
}
.countdown-box .cd-unit .cd-num { font-size: 1.4rem; font-weight: 800; line-height: 1; display: block; }
.countdown-box .cd-unit .cd-label { font-size: .65rem; opacity: .7; text-transform: uppercase; letter-spacing: .5px; }

/* 16. Compact product list (Best Sellers / New Arrivals / Top Rated) ---------*/
.compact-list-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid var(--bg-soft);
    text-decoration: none; color: var(--ink);
}
.compact-list-item:last-child { border-bottom: none; }
.compact-list-item img { width: 56px; height: 56px; object-fit: contain; background: var(--bg-soft); border-radius: 10px; padding: 4px; flex-shrink: 0; }
.compact-list-item .name { font-size: .85rem; font-weight: 600; line-height: 1.3; }
.compact-list-item .price { font-size: .85rem; font-weight: 700; color: var(--brand); }
.compact-list-item:hover .name { color: var(--brand); }


/* 3. Hero section (minimal Apple-inspired light) -----------------------------*/
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fdfcfb 0%, #f6f1ea 38%, #efe9df 100%);
    color: var(--ink);
    padding: 96px 0 118px;
    border-bottom: 1px solid rgba(29,29,31,.05);
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(8,118,189,.12), transparent 32%);
    pointer-events: none;
}
.hero-section h1 { color: var(--ink); line-height: 1.02; letter-spacing: -.05em; }
.hero-section h1 .accent-word {
    color: var(--brand-dark);
}
.hero-section img.hero-visual {
    filter: drop-shadow(0 14px 30px rgba(53, 46, 38, 0.12));
    animation: float 5s ease-in-out infinite;
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(140,157,138,.14);
}
.hero-section .hero-blob {
    position: absolute;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(242,140,0,.14), transparent 70%);
    border-radius: 50%;
    right: -80px; top: -80px;
    pointer-events: none;
}
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-14px); } }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(35,79,52,.06); border: 1px solid rgba(35,79,52,.12); color: var(--brand-dark);
    padding: 7px 16px; border-radius: 999px;
    font-size: .8rem; font-weight: 700; margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(35,79,52,.04);
}
.hero-section .btn-hero-cta {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #1d3e2f 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    box-shadow: 0 12px 24px rgba(35,79,52,.18);
}
.hero-section .btn-hero-cta:hover { background: linear-gradient(135deg, #1d3e2f 0%, #123125 100%); color: #fff; transform: translateY(-2px); }

.hero-meta {
    margin-top: 12px;
}
.hero-meta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-meta strong {
    font-size: 1.15rem;
    color: var(--ink);
    letter-spacing: -.03em;
}
.hero-meta span {
    font-size: .78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-visual-card {
    position: relative;
    display: inline-block;
}
.hero-floating-card {
    position: absolute;
    right: -18px;
    bottom: 26px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(29,29,31,.06);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 14px 16px;
    min-width: 180px;
    text-align: left;
}
.hero-floating-card span {
    display: block;
    font-size: .7rem;
    color: var(--brand-dark);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.hero-floating-card strong {
    display: block;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 2px;
}
.hero-floating-card small {
    color: var(--muted);
}

.hero-carousel {
    position: relative;
}
.hero-carousel .carousel-item {
    transition: transform .7s ease-in-out, opacity .7s ease-in-out;
}
.hero-indicators {
    bottom: 18px;
}
.hero-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(29,29,31,.3);
    margin: 0 5px;
}
.hero-indicators .active {
    background-color: var(--brand-dark);
}
.hero-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(29,29,31,.08);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}
.hero-control:hover {
    background: rgba(255,255,255,.9);
}
.hero-control-prev { left: 18px; }
.hero-control-next { right: 18px; }
.hero-control .carousel-control-prev-icon,
.hero-control .carousel-control-next-icon {
    filter: invert(0.4);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.editorial-panel {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(29,29,31,.06);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    padding: 28px;
}
.editorial-panel--feature {
    background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(242,234,223,.7));
}
.editorial-kicker {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 700;
    margin-bottom: 12px;
}
.editorial-panel h3 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.06;
    letter-spacing: -.05em;
    margin-bottom: 12px;
}
.editorial-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}
.editorial-panel--stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.mini-spotlight {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(29,29,31,.05);
    border-radius: 18px;
}
.mini-spotlight__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f0e5d8, #e1d4c2);
    color: var(--brand-dark);
    font-size: 1.2rem;
}
.mini-spotlight small {
    display: block;
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.mini-spotlight strong {
    display: block;
    color: var(--ink);
    font-size: 1.04rem;
}

/* 4. Category tiles (premium spotlight style) --------------------------------*/
.category-tile {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 170px;
    display: block;
    box-shadow: var(--shadow-soft);
    transition: transform .3s ease, box-shadow .3s ease;
}
.category-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.category-tile img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.category-tile:hover img { transform: scale(1.08); }
.category-tile::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,15,18,0) 30%, rgba(13,15,18,.88) 100%);
}
.category-tile .cat-label {
    position: absolute; left: 14px; bottom: 12px; z-index: 2;
    color: #fff; font-weight: 700; font-size: .95rem;
}
.category-tile .cat-label small {
    display: block; color: var(--accent-light, #eacf8e); font-weight: 500; font-size: .7rem; letter-spacing: .5px; text-transform: uppercase;
}

/* 5. Product cards -----------------------------------------------------------*/
.product-card {
    border: none; border-radius: var(--radius-md); background: #fff;
    box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-card .product-thumb-wrap { position: relative; background: #fbfbfd; overflow: hidden; }
.product-card .product-thumb { height: 210px; width: 100%; object-fit: contain; padding: 18px; transition: transform .4s ease; }
.product-card:hover .product-thumb { transform: scale(1.06); }

.cart-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}
.cart-item-header {
    flex: 1 1 100%;
}
.cart-item-main {
    flex: 0 0 auto;
}
.cart-item-image {
    width: 84px; height: 84px; object-fit: contain;
    background: #fbfbfd; border-radius: 12px; padding: 8px;
}
.cart-item-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1 1 auto;
}
.cart-qty-wrap {
    width: 138px;
}
.cart-remove-btn {
    white-space: nowrap;
}
.cart-item-total {
    margin-left: auto;
    min-width: 88px;
}

@media (max-width: 767.98px) {
    .cart-item {
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr);
        grid-template-areas:
            "header header"
            "main footer"
            "main total";
        align-items: center;
        gap: 12px;
    }
    .cart-item-header {
        grid-area: header;
    }
    .cart-item-image {
        width: 84px;
        height: 84px;
    }
    .cart-item-main { grid-area: main; }
    .cart-item-footer {
        grid-area: footer;
        width: 100%;
        display: grid;
        grid-template-columns: 138px minmax(0, 1fr);
        gap: 8px;
        align-items: center;
    }
    .cart-qty-wrap {
        width: 138px;
        min-width: 138px;
        position: relative;
        z-index: 2;
    }
    .cart-qty-wrap > button {
        flex: 0 0 38px;
        width: 38px;
        padding-inline: 0;
    }
    .cart-qty-wrap > input {
        min-width: 0;
    }
    .cart-remove-btn {
        width: 100%;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        justify-content: center;
        position: relative;
        z-index: 1;
    }
    .cart-item-total {
        grid-area: total;
        width: 100%;
        margin-left: 0;
        text-align: left !important;
    }
}

.badge-discount { background: var(--danger); color: #fff; font-weight: 600; border-radius: 999px; padding: 5px 10px; font-size: .72rem; }
.price-old { color: var(--text-muted); text-decoration: line-through; font-size: .82rem; }
.price-new { color: var(--brand-dark); font-weight: 700; font-size: 1.15rem; }

.btn-add-cart {
    background: var(--brand); border: none; color: #fff; font-weight: 600;
    border-radius: 10px; transition: background .2s ease, transform .15s ease;
}
.product-card .btn-add-cart {
    white-space: nowrap;
    font-size: .78rem;
    padding-inline: 8px;
}
.btn-add-cart:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }

.btn-wishlist {
    background: #fff; border: 1px solid #eee; color: var(--danger);
    border-radius: 50%; width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-wishlist:hover { background: var(--danger); color: #fff; }
.btn-wishlist.active { background: var(--danger); color: #fff; }

/* 6. Section headings ---------------------------------------------------------*/
.section-title { position: relative; padding-left: 16px; margin-bottom: 24px; font-weight: 700; letter-spacing: .2px; }
.section-title::before {
    content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px;
    border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--brand));
}

/* 6b. Trust badges strip (premium version) -----------------------------------*/
.trust-strip {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 32px 10px;
}
.trust-badge { text-align: center; }
.trust-badge .icon-ring {
    width: 60px; height: 60px; margin: 0 auto 12px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: var(--accent);
    font-size: 1.4rem;
    box-shadow: 0 8px 18px rgba(30,64,175,.25);
}
.trust-badge .label { font-weight: 600; color: var(--ink); font-size: .88rem; }

/* 6c. Brand chips (premium version) ------------------------------------------*/
.brand-chip {
    background: var(--surface);
    border: 1px solid #edf0f5;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: all .2s ease;
    display: inline-block;
}
.brand-chip:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-color: transparent;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* 7. Buttons --------------------------------------------------------------*/
.btn-primary { background: var(--brand); border-color: var(--brand); border-radius: 10px; font-weight: 600; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline-primary { border-radius: 10px; font-weight: 600; }

/* 8. Scroll reveal animation ------------------------------------------------*/
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* 9. Footer (clean cream / white) --------------------------------------------*/
/*
footer{
    background: var(--bg-soft) !important;
    border-top: 1px solid var(--border-soft);
}*/
footer { background: linear-gradient(180deg, #f7f4f1, #f0ebe3) !important; }
footer h5, footer h6 { color: var(--ink); }
footer a { color: var(--ink-700); }
footer a:hover { color: var(--brand-dark) !important; }
footer .footer-social {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(29,29,31,.1); color: var(--ink-700);
    transition: all .2s ease;
}
footer .footer-social:hover { background: #1d1d1f; border-color: #1d1d1f; color: #fff !important; }
footer .footer-bottom { background: rgba(255,255,255,.2); border-top: 1px solid rgba(29,29,31,.06); }
footer .form-control { background: #fff; border: 1px solid rgba(29,29,31,.08); color: var(--ink); }
footer .form-control::placeholder { color: #8d8782; }

/* 10. Gallery thumbnails ------------------------------------------------------*/
.gallery-thumb { border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: border-color .2s ease; }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--brand); }

/* 11. Toast notifications (used by store.js, no library) --------------------*/
.app-toast {
    position: fixed; bottom: 20px; right: 20px; z-index: 1080;
    padding: 12px 18px; border-radius: 12px; color: #fff; font-weight: 500; font-size: .9rem;
    box-shadow: var(--shadow-hover);
    transform: translateY(16px); opacity: 0; transition: all .3s ease;
}
.app-toast.show { transform: translateY(0); opacity: 1; }
.app-toast-success { background: var(--success); }
.app-toast-error { background: var(--danger); }

/* 12. Mobile responsiveness tweaks -------------------------------------------*/
@media (max-width: 767px) {
    .hero-section { padding: 60px 0 80px; }
    .hero-section h1 { font-size: 1.75rem; }
    .product-card .product-thumb { height: 160px; padding: 10px; }
    .category-tile { height: 130px; }
    .editorial-grid { grid-template-columns: 1fr; }
    .editorial-panel { padding: 22px; }
}
