
:root {
    --bg-body: #f3f4f6;
    --bg-surface: #ffffff;
    --bg-soft: #e5e7eb;

    --text-main: #0f172a;
    --text-muted: #6b7280;
    --text-soft: #9ca3af;

    --radius-sm: .5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    --shadow-soft: 0 14px 45px rgba(15, 23, 42, 0.10);
    --shadow-subtle: 0 8px 24px rgba(15, 23, 42, 0.04);

    --transition-fast: .18s ease-out;
    --transition-med: .25s ease;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    font-family: "Inter", "Hind Siliguri", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    background: radial-gradient(circle at top, #f9fafb 0, #f3f4f6 45%, #e5e7eb 100%);
    min-height: 100vh;
}

.site-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.site-main {
    padding: 16px;
}

@media (min-width: 992px) {
    .site-main {
        padding: 24px 28px 28px 28px;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast);
}

a:hover {
    color: inherit;
    opacity: .85;
}

.text-muted { color: var(--text-muted) !important; }

.card-elevated {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

/* Buttons */
.axil-btn,
.btn,
button {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .02em;
    border-width: 0;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.axil-btn,
.btn-primary,
.main-bg {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-primary,
.main-bg {
    padding: 0.65rem 1.4rem;
    font-size: .95rem;
}

.btn-outline-primary { border-radius: 999px; }

.axil-btn:hover,
.btn-primary:hover,
.main-bg:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.40);
}

button:disabled,
.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* Header layout tweaks */
.axil-mainmenu {
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-main-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
}

.row.header-navbar {
    align-items: center;
}

.header-brand img {
    max-height: 42px;
}

.axil-search {
    position: relative;
    display: flex;
    align-items: center;
}

.axil-search input[type="search"],
.axil-search .product-search-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    padding: 9px 40px 9px 16px;
    outline: none;
    background: #f9fafb;
}

.axil-search input::placeholder {
    color: var(--text-soft);
}

.axil-search .wooc-btn-search,
.axil-search button[type="submit"] {
    position: absolute;
    right: 8px;
    border-radius: 999px;
    width: 30px;
    height: 30px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.header-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.cart-count {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mainmenu-nav .mainmenu > li > a,
.nav-link.fw-bold {
    font-weight: 600 !important;
    font-size: 14px;
    text-transform: none;
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--text-main);
}

.mainmenu-nav .mainmenu > li > a:hover,
.nav-link.fw-bold:hover {
    background: #eff6ff;
}

@media (max-width: 991.98px) {
    .site-wrapper {
        border-radius: 0;
        box-shadow: none;
    }
    .header-main-wrapper { padding-inline: 16px; }
    .header-action { gap: 8px; }
}

/* Back to top */
#backto-top {
    position: fixed;
    right: 18px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 990;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .35);
}

/* Home hero */
.home-hero-slider img {
    border-radius: 22px;
    object-fit: cover;
    max-height: 360px;
}

.home-hero-cats {
    border-radius: 22px;
}

.hero-cat-list {
    max-height: 340px;
    overflow-y: auto;
    padding-right: 4px;
}

.hero-cat-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .5rem;
    border-radius: .75rem;
    margin-bottom: .2rem;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-cat-item:hover {
    background: #f9fafb;
    transform: translateY(-1px);
}

.hero-cat-thumb img {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    object-fit: cover;
}

.hero-cat-title {
    font-size: .9rem;
    font-weight: 600;
}

.hero-cat-sub {
    font-size: .75rem;
    color: var(--text-soft);
}

.category-scroll-wrapper {
    overflow-x: auto;
}

.category-scroll-inner {
    gap: .4rem;
    padding-bottom: .15rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    padding: .25rem .6rem;
    white-space: nowrap;
    font-size: .8rem;
}

.category-pill-thumb img {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    object-fit: cover;
}

.section-heading {
    font-size: 1rem;
    font-weight: 600;
}

.section-link {
    color: #2563eb;
}

.col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Product cards */
.axil-product.product-style-one {
    background: var(--bg-surface);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.axil-product.product-style-one .thumbnail {
    padding: 12px;
    background: radial-gradient(circle at top, #eef2ff 0, #eff6ff 45%, #ffffff 100%);
}

.axil-product.product-style-one .thumbnail img.product_img {
    max-height: 220px;
    object-fit: contain;
    width: 100%;
}

.axil-product.product-style-one .product-content {
    padding: 10px 14px 14px 14px;
}

.axil-product.product-style-one .title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.axil-product.product-style-one:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
    border-color: rgba(59, 130, 246, 0.7);
}

/* Footer modern tweaks */
.footer-modern {
    background: radial-gradient(circle at top, #0b1120 0, #020617 55%, #020617 100%);
    color: #e5e7eb;
}

.footer-modern a { color: #e5e7eb; }
.footer-modern a:hover { color: #bfdbfe; }
