/* ==========================================================================
   Amazo replica theme - based on the gridora.lat (Aiz core) design system
   ========================================================================== */

:root {
    --blue: #007bff;
    --primary: #e62e04;
    --hov-primary: #E56F0E;
    --soft-primary: rgba(230, 46, 4, 0.15);
    --secondary: #8f97ab;
    --soft-secondary: rgba(143, 151, 171, 0.15);
    --success: #0abb75;
    --soft-success: rgba(10, 187, 117, 0.15);
    --info: #25bcf1;
    --soft-info: rgba(37, 188, 241, 0.15);
    --warning: #ffc519;
    --soft-warning: rgba(255, 197, 25, 0.15);
    --danger: #ef486a;
    --soft-danger: rgba(239, 72, 106, 0.15);
    --light: #f2f3f8;
    --dark: #111723;
    --soft-dark: rgba(42, 50, 66, 0.15);
    --border: #e2e5ec;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Poppins, Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #1b1b28;
    background-color: #f7f8fa;
    max-width: 100vw;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--hov-primary); text-decoration: none; }
img { max-width: 100%; }
ul { padding: 0; list-style: none; margin: 0; }
button { font-family: inherit; }
input, textarea { font-family: inherit; }

/* ---- container ---- */
.container { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* ---- grid helpers ---- */
.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.row.no-gutters { margin-right: 0; margin-left: 0; }
.row.no-gutters > [class*="col"] { padding-right: 0; padding-left: 0; }
[class*="col"] { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
.col { flex-basis: 0; flex-grow: 1; max-width: 100%; }
.col-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-md { flex-basis: 0; flex-grow: 1; max-width: 100%; }
.col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }

.gutters-5 { margin-right: -5px; margin-left: -5px; }
.gutters-5 > [class*="col"] { padding-right: 5px; padding-left: 5px; }
.gutters-10 { margin-right: -10px; margin-left: -10px; }
.gutters-10 > [class*="col"] { padding-right: 10px; padding-left: 10px; }

/* ---- flex & display ---- */
.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-wrap { flex-wrap: wrap !important; }
.mt-auto { margin-top: auto !important; }

/* ---- spacing ---- */
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: .25rem !important; }
.ml-2 { margin-left: .5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-auto { margin-left: auto !important; }
.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: .25rem !important; }
.mr-2 { margin-right: .5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: .25rem !important; }
.p-2 { padding: .5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.pt-2 { padding-top: .5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pb-2 { padding-bottom: .5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-7 { padding-bottom: 5rem !important; }
.pl-0 { padding-left: 0 !important; }
.pl-2 { padding-left: .5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pr-0 { padding-right: 0 !important; }
.pr-2 { padding-right: .5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.px-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* ---- typography ---- */
.fs-8 { font-size: .5rem !important; }
.fs-10 { font-size: .625rem !important; }
.fs-11 { font-size: .6875rem !important; }
.fs-12 { font-size: .75rem !important; }
.fs-13 { font-size: .8125rem !important; }
.fs-14 { font-size: .875rem !important; }
.fs-15 { font-size: .9375rem !important; }
.fs-16 { font-size: 1rem !important; }
.fs-17 { font-size: 1.0625rem !important; }
.fs-18 { font-size: 1.125rem !important; }
.fs-20 { font-size: 1.25rem !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.lh-1 { line-height: 1 !important; }
.lh-1-2 { line-height: 1.2 !important; }
.lh-1-3 { line-height: 1.3 !important; }
.lh-1-4 { line-height: 1.4 !important; }
.lh-1-5 { line-height: 1.5 !important; }
.lh-1-8 { line-height: 1.8 !important; }
h1, h2, h3, h4, h5, h6, p { margin-top: 0; margin-bottom: .5rem; }
.h5, h5 { font-size: 1.25rem; }
.h6, h6 { font-size: 1rem; }
.h2, h2 { font-size: 2rem; font-weight: 500; line-height: 1.2; }
.h4, h4 { font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-truncate-2 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.text-reset { color: inherit !important; }
.text-muted { color: #74788d !important; }
.word-break { word-break: break-word; }
.line-1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-primary { color: var(--primary) !important; }
.text-light { color: var(--light) !important; }
.text-white { color: #fff !important; }
.text-dark { color: var(--dark) !important; }

/* ---- opacity ---- */
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: .3; }
.opacity-40 { opacity: .4; }
.opacity-50 { opacity: .5; }
.opacity-60 { opacity: .6; }
.opacity-70 { opacity: .7; }
.opacity-80 { opacity: .8; }
.opacity-100 { opacity: 1; }
.hov-opacity-100:hover { opacity: 1; }

/* ---- borders ---- */
.border { border: 1px solid var(--border) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--border) !important; }
.border-bottom { border-bottom: 1px solid var(--border) !important; }
.border-left { border-left: 1px solid var(--border) !important; }
.border-right { border-right: 1px solid var(--border) !important; }
.border-primary { border-color: var(--primary) !important; }
.border-light { border-color: var(--light) !important; }
.border-gray-200 { border-color: #edf2f7 !important; }
.border-gray-900 { border-color: #1a202c !important; }
.border-width-2 { border-width: 2px !important; }
.border-width-4 { border-width: 4px !important; }
.border-white { border-color: #fff !important; }
.rounded { border-radius: .25rem !important; }
.rounded-top { border-top-left-radius: .25rem !important; border-top-right-radius: .25rem !important; }
.rounded-bottom { border-bottom-left-radius: .25rem !important; border-bottom-right-radius: .25rem !important; }
.rounded-circle { border-radius: 50% !important; }

/* ---- shadows ---- */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05) !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06) !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05) !important; }
.hov-shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06) !important; }

/* ---- backgrounds ---- */
.bg-white { background-color: #fff !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-soft-primary { background-color: var(--soft-primary) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-black { background-color: #0d111b !important; }
.bg-soft-secondary { background-color: var(--soft-secondary) !important; }

/* ---- position ---- */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.fixed-bottom { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1030; }
.sticky-top { position: sticky; top: 0; z-index: 1020; }
.top-0 { top: 0 !important; }
.top-100 { top: 100% !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }
.right-0 { right: 0 !important; }
.absolute-top-right { position: absolute; top: 0; right: 0; }
.absolute-bottom-left { position: absolute; bottom: 0; left: 0; }
.absolute-top-center { position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.absolute-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.z-1 { z-index: 1 !important; }
.z-1035 { z-index: 1035 !important; }
.z-1020 { z-index: 1020 !important; }
.z-1050 { z-index: 1050 !important; }

/* ---- misc ---- */
.c-pointer { cursor: pointer !important; }
.h-100 { height: 100% !important; }
.minw-0 { min-width: 0; }
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }
.overflow--hidden { overflow: hidden; }
.img-fit { max-height: 100%; width: 100%; object-fit: cover; }
.img-fluid { max-width: 100%; height: auto; }
.mw-100 { max-width: 100% !important; }
.has-transition { transition: all 300ms ease; }

/* size helpers */
.size-20px { width: 20px; height: 20px; }
.size-40px { width: 40px; height: 40px; }
.size-50px { width: 50px; height: 50px; }
.size-60px { width: 60px; height: 60px; }
.h-30px { height: 30px; }
.h-40px { height: 40px; }
.h-60px { height: 60px; }
.h-80px { height: 80px; }
.h-140px { height: 140px; }
.h-200px { height: 200px; }
.h-250px { height: 250px; }
.h-315px { height: 315px; }
.h-400px { height: 400px; }
.h-457px { height: 457px; }
.h-lg-400px { height: 400px; }
.w-300px { width: 300px; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: .8125rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus { color: #fff; background-color: var(--hov-primary); border-color: var(--hov-primary); }
.btn-soft-primary { color: var(--primary); background-color: var(--soft-primary); border-color: transparent; }
.btn-soft-primary:hover { color: #fff; background-color: var(--primary); }
.btn-light {
    color: #212529;
    background-color: var(--light);
    border-color: var(--light);
}
.btn-sm { padding: .25rem .5rem; font-size: .75rem; line-height: 1.5; border-radius: .2rem; }
.btn-icon { padding: .3rem .5rem; }
.btn-block { display: block; width: 100%; }
.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}
.badge-primary { color: #fff; background-color: var(--primary); }
.badge-inline { display: inline-block; }
.badge-pill { padding-right: .6em; padding-left: .6em; border-radius: 10rem; }
.badge-sm { padding: .25em .4em; font-size: 70%; }
.badge-dot { width: 6px; height: 6px; display: block; padding: 0; border-radius: 50%; }
.badge-circle { border-radius: 50%; }

/* ==========================================================================
   Top navbar
   ========================================================================== */
.top-navbar {
    background-color: #fff;
    border-bottom: 1px solid var(--soft-secondary);
}
.top-navbar .list-inline { display: flex; align-items: center; margin: 0; }
.top-navbar li { display: inline-block; margin-right: 1rem; }
.top-navbar a { font-size: .8125rem; }
.dropdown-toggle { cursor: pointer; display: inline-flex; align-items: center; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    display: none;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: .8125rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .175);
}
.dropdown-menu.show { display: block; }
.dropdown-menu-right { right: 0; left: auto; }
.dropdown-item { display: block; width: 100%; padding: .25rem 1.5rem; clear: both; font-weight: 400; color: #212529; text-align: inherit; white-space: nowrap; background: none; border: 0; cursor: pointer; }
.dropdown-item:hover, .dropdown-item.active { color: #16181b; background-color: var(--light); }

/* ==========================================================================
   Header bar
   ========================================================================== */
.header-bar { background-color: #fff; border-bottom: 1px solid #e2e5ec; }
.logo-bar-area { padding: 15px 0; }
.logo-bar-area .logo img { height: 40px; }
.header-search input {
    width: 100%;
    border: 1px solid var(--border);
    border-right: 0;
    border-radius: .25rem 0 0 .25rem;
    height: 44px;
    padding: .375rem .75rem;
    font-size: .875rem;
}
.header-search .input-group-append { display: flex; }
.header-search .btn {
    height: 44px;
    border-radius: 0 .25rem .25rem 0;
    padding: 0 1.25rem;
}
.header-search .btn i { font-size: 1.125rem; }
.nav-box { display: flex; align-items: center; color: #1b1b28; cursor: pointer; }
.nav-box i { font-size: 2rem; opacity: .8; }
.nav-box .nav-box-text { font-size: .75rem; opacity: .7; display: block; }

/* desktop category nav */
.nav-bar {
    background-color: #fff;
    border-top: 1px solid #edf2f7;
    padding: .25rem 0;
    white-space: nowrap;
    overflow-x: auto;
}
.nav-bar ul { display: flex; justify-content: center; margin: 0; }
.nav-bar li { display: inline-block; margin: 0; }
.nav-bar a {
    opacity: .6;
    font-size: .875rem;
    font-weight: 600;
    padding: .5rem 1rem;
    display: inline-block;
    color: inherit;
}
.nav-bar a:hover { opacity: 1; color: var(--primary); }

/* ==========================================================================
   Home banner area
   ========================================================================== */
.home-banner-area { margin-bottom: 1.5rem; padding-top: 1rem; }

/* category sidebar (desktop) */
.aiz-category-menu { background: #fff; border-radius: .25rem; }
.aiz-category-menu .all-category {
    padding: 1rem;
    border-radius: .25rem .25rem 0 0;
    border-bottom: 1px solid var(--border);
}
.aiz-category-menu .categories { max-height: 430px; overflow-y: auto; }
.aiz-category-menu .category-nav-element a {
    display: flex;
    align-items: center;
    padding: .5rem 1rem;
    color: inherit;
    font-size: .8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aiz-category-menu .category-nav-element a:hover {
    background: #fff;
    box-shadow: -2px 3px 5px #000;
    color: var(--primary);
}
.aiz-category-menu .cat-image { width: 16px; margin-right: .5rem; opacity: .6; }

/* banner carousel */
.home-banner { position: relative; border-radius: .25rem; overflow: hidden; }
.banner-slide { display: none; position: absolute; top: 0; left: 0; width: 100%; }
.banner-slide.active { display: block; position: relative; }
.banner-slide img { width: 100%; height: 315px; object-fit: cover; }
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 5;
}
.carousel-dots i {
    display: block;
    width: 6px;
    height: 6px;
    margin: 0 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    transition: all .3s;
}
.carousel-dots i.active { background: var(--primary); transform: scale(1.25); }

/* category icons below banner */
.category-icons li { cursor: pointer; }
.category-icons .icon-box {
    display: block;
    background: #fff;
    border-radius: .25rem;
    padding: .5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    text-align: center;
}
.category-icons .icon-box img { height: 78px; }
.category-icons .icon-box .name { font-size: .75rem; font-weight: 600; margin-top: .5rem; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   Product sections
   ========================================================================== */
.section-card {
    background: #fff;
    border-radius: .25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    padding: 1.5rem 1rem;
}
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.section-head h3 { margin-bottom: 0; }
.section-head .title-line {
    display: inline-block;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 1rem;
    margin-bottom: -1px;
}

/* horizontal product carousel */
.products-carousel { position: relative; }
.products-track { display: flex; transition: transform .5s ease; }
.products-track .product-col { width: 224px; min-width: 224px; padding: 0 10px; }
.products-track .product-col:first-child { padding-left: 0; }
.products-track .product-col:last-child { padding-right: 0; }

/* category page product grid */
.product-grid { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.product-grid .product-col { width: 25%; min-width: 200px; padding: 10px; }
@media (max-width: 767.98px) {
    .product-grid .product-col { width: 50%; min-width: 0; }
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: #1b1b28;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    cursor: pointer;
    transition: all .2s;
}
.carousel-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.carousel-arrow.prev { left: -6px; }
.carousel-arrow.next { right: -6px; }

/* product card */
.aiz-card-box {
    position: relative;
    background: #fff;
    border: 1px solid var(--light);
    border-radius: .25rem;
    padding: .5rem;
    margin: .25rem 0 .5rem;
    cursor: pointer;
    transition: all 300ms ease;
}
.aiz-card-box:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06); }
.badge-custom {
    display: inline-block;
    padding: 3px 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 26px;
    color: red;
    border-radius: 0 50em 50em 0;
    position: absolute;
    background: #fff;
    z-index: 2;
    top: 14px;
    box-shadow: 2px 1px 6px 2px rgba(0, 0, 0, .1), 0 4px 4px 0 rgba(0, 0, 0, .06);
}
.aiz-card-box .product-img-wrap { position: relative; }
.aiz-card-box .product-img { height: 180px; width: 100%; object-fit: cover; }
.aiz-card-box .wholesale {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 11px;
    color: #fff;
    font-weight: 600;
    padding: 2px 8px;
    line-height: 1.8;
    background: #455a64;
    border-radius: 0 3px 0 0;
}
.aiz-p-hov-icon { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; }
.aiz-p-hov-icon a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, .9);
    color: #1b1b28;
    border-radius: 50%;
    margin: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(6px);
    transition: all .25s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.aiz-card-box:hover .aiz-p-hov-icon a { opacity: 1; transform: translateX(0); }
.aiz-p-hov-icon a:hover { color: var(--primary); }
.aiz-card-box .product-body { padding: .5rem 0 0; text-align: left; }
.aiz-card-box .price-row del { font-weight: 600; opacity: .5; margin-right: .25rem; color: #1b1b28; font-size: .875rem; }
.aiz-card-box .price-row .price { font-weight: 700; color: var(--primary); font-size: .9375rem; }
.rating i { color: #ccc; font-size: .8125rem; }
.rating i.active { color: #f6a500; }
.aiz-card-box .product-name {
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    min-height: 36px;
    color: #1b1b28;
}
.aiz-card-box .product-name:hover { color: var(--primary); }

/* ==========================================================================
   Top categories
   ========================================================================== */
.category-tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: .25rem;
    padding: .5rem;
    margin-bottom: .5rem;
    display: block;
    color: inherit;
    cursor: pointer;
    transition: all 300ms ease;
}
.category-tile:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06); color: inherit; }
.category-tile img { height: 60px; }
.category-tile .tile-name { padding-left: 1rem; font-size: .875rem; font-weight: 600; }
.category-tile .tile-arrow { color: var(--primary); font-size: 1.25rem; }

/* ==========================================================================
   Footer line (feature boxes)
   ========================================================================== */
.footer-line { background: #fff; border-top: 1px solid var(--border); margin-top: auto; }
.footer-line .feature {
    display: block;
    text-align: center;
    padding: 1.5rem;
    color: inherit;
    border-left: 1px solid var(--border);
    transition: all .2s;
}
.footer-line .feature:hover { background: var(--light); }
.footer-line .feature i { font-size: 3rem; color: var(--primary); margin-bottom: .5rem; }
.footer-line .feature h4 { font-size: 1rem; margin: 0; }

/* ==========================================================================
   Footer widget (dark)
   ========================================================================== */
.footer-widget { background: var(--dark); color: #fff; padding: 3rem 0; }
.footer-widget .foot-title {
    font-size: .8125rem;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #1a202c;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}
.footer-widget ul li { margin-bottom: .5rem; }
.footer-widget ul li a { opacity: .5; color: #fff; }
.footer-widget ul li a:hover { opacity: 1; color: var(--primary); }
.footer-widget .foot-desc { margin: 1rem 0; opacity: .8; }
.footer-widget .foot-email {
    display: flex;
    max-width: 380px;
}
.footer-widget .foot-email input {
    flex: 1;
    border: 1px solid #343a40;
    background: transparent;
    color: #fff;
    padding: .5rem .75rem;
    border-radius: .25rem 0 0 .25rem;
    font-size: .8125rem;
    outline: none;
}
.footer-widget .foot-email .btn { border-radius: 0 .25rem .25rem 0; }
.footer-widget .contact-item .label { opacity: .3; display: block; }
.footer-widget .contact-item .value { opacity: .7; display: block; }
.footer-widget .store-badges img { height: 40px; }

/* ==========================================================================
   Footer bar (black)
   ========================================================================== */
.footer-bar { background: #0d111b; color: #fff; padding: 1rem 0 5rem; }
@media (min-width: 1200px) { .footer-bar { padding: 1rem 0; } }
.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    margin: 0 .25rem;
    transition: all .2s;
}
.social a.facebook { background: #3b5998; }
.social a.twitter { background: #1da1f2; }
.social a.instagram { background: #eb4786; }
.social a.youtube { background: #e62833; }
.social a.linkedin { background: #0077b5; }
.social a:hover { transform: translateY(-2px); opacity: .9; }

/* ==========================================================================
   Mobile bottom nav
   ========================================================================== */
.aiz-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff;
    border-top: 1px solid var(--border);
    border-radius: .5rem .5rem 0 0;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, .15);
    padding-bottom: env(safe-area-inset-bottom);
}
.aiz-mobile-bottom-nav .mob-item { display: block; text-align: center; padding: .75rem .25rem .5rem; color: inherit; }
.aiz-mobile-bottom-nav .mob-item i { font-size: 1.25rem; opacity: .6; display: block; }
.aiz-mobile-bottom-nav .mob-item span { font-size: .625rem; font-weight: 600; opacity: .6; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aiz-mobile-bottom-nav .mob-item.active i, .aiz-mobile-bottom-nav .mob-item.active span { opacity: 1; color: var(--primary); }
.aiz-mobile-bottom-nav .mob-cart-btn {
    position: relative;
    width: 50px;
    height: 50px;
    margin-top: -33px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    border: 4px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, .15);
}
.aiz-mobile-bottom-nav .mob-cart-btn i { font-size: 1.5rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
    .d-lg-none { display: none !important; }
    .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
    .h-md-40px { height: 40px; }
    .banner-slide img { height: 315px; }
    .mt-lg-0 { margin-top: 0 !important; }
    .ml-lg-0 { margin-left: 0 !important; }
    .pb-xl-3 { padding-bottom: 1rem !important; }
    .section-card { padding: 1.5rem; }
    .hide-xs { display: block !important; }
    .show-xs { display: none !important; }
}
@media (min-width: 768px) {
    .d-md-block { display: block !important; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .mt-md-0 { margin-top: 0 !important; }
    .w-md-auto { width: auto !important; }
    .aiz-card-box .product-img { height: 210px; }
    .banner-slide img { height: 315px; }
}
@media (min-width: 576px) {
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 991.98px) {
    .banner-slide img { height: 220px; }
    .mobile-hor-swipe { -webkit-overflow-scrolling: touch; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 767.98px) {
    .banner-slide img { height: 180px; }
}

/* scrollbar */
.c-scrollbar-light::-webkit-scrollbar { width: 4px; height: 4px; background: rgba(24, 28, 41, .08); border-radius: 3px; }
.c-scrollbar-light::-webkit-scrollbar-thumb { background: rgba(24, 28, 41, .1); border-radius: 3px; }
.no-scrollbar::-webkit-scrollbar { width: 0; }
.no-scrollbar::-webkit-scrollbar-track { background: transparent; }
.no-scrollbar::-webkit-scrollbar-thumb { background: transparent; }

/* announcement / marquee */
.notice-marquee { background: var(--soft-primary); color: var(--primary); }

/* ==========================================================================
   Customer auth (login / register) + account pages
   ========================================================================== */

.auth-link-btn {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: #1b1b28;
    opacity: .6;
    cursor: pointer;
}
.auth-link-btn:hover { opacity: 1; }

.auth-section { display: flex; align-items: center; justify-content: center; padding: 2.5rem 0; }
.auth-card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: .25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    padding: 2rem;
}
.auth-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 .25rem; }
.auth-subtitle { color: var(--secondary); margin: 0 0 1.25rem; }
.auth-form .form-control {
    display: block;
    width: 100%;
    padding: .55rem .9rem;
    font-size: .875rem;
    font-weight: 400;
    color: #1b1b28;
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.auth-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem var(--soft-primary);
    outline: 0;
}
.auth-label { display: block; font-size: .8125rem; font-weight: 600; margin-bottom: .35rem; }
.auth-optional { color: var(--secondary); font-weight: 400; }
.auth-help { display: block; color: var(--secondary); margin-top: .35rem; }
.auth-error { display: block; color: var(--danger); font-size: .75rem; margin-top: .3rem; }
.auth-alt { text-align: center; margin-top: 1.25rem; color: var(--secondary); }

/* alerts (flash + inline errors) */
.alert {
    position: relative;
    padding: .65rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    font-size: .8125rem;
}
.alert-success { color: #0a6a44; background-color: var(--soft-success); border-color: rgba(10, 187, 117, .25); }
.alert-danger  { color: #a02b43; background-color: var(--soft-danger); border-color: rgba(239, 72, 106, .25); }
.alert-info    { color: #0a6a7c; background-color: var(--soft-info); border-color: rgba(37, 188, 241, .25); }

/* account page */
.account-section { padding: 2.5rem 0; }
.account-profile { height: auto; width: 100%; }
.avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.referral-card { margin-top: 1rem; }
.referral-code-box { display: flex; }
.referral-code-input {
    flex: 1;
    min-width: 0;
    padding: .55rem .9rem;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: #1b1b28;
    background-color: var(--light);
    border: 1px solid var(--border);
    border-right: 0;
    border-radius: .25rem 0 0 .25rem;
}
.referral-code-box .btn { border-radius: 0 .25rem .25rem 0; white-space: nowrap; }
.referral-table { width: 100%; margin-bottom: 0; }
.referral-table th, .referral-table td { padding: .65rem .75rem; border-bottom: 1px solid var(--border); text-align: left; }
.referral-table thead th { font-size: .75rem; text-transform: uppercase; color: var(--secondary); border-bottom: 2px solid var(--border); }
.referral-table tbody tr:hover { background: var(--soft-primary); }

.badge-soft-primary { color: var(--primary); background-color: var(--soft-primary); }

/* my orders shortcut on the account page */
.my-orders-link { margin-top: 1rem; text-decoration: none; color: #1b1b28; transition: box-shadow .15s ease; }
.my-orders-link:hover { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .08); color: #1b1b28; }

/* wallet card */
.wallet-card { margin-top: 1rem; }
.wallet-amount {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: .25rem;
}
.wallet-history { list-style: none; margin: 0; padding: 0; }
.wallet-history li {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding: .45rem 0;
    border-top: 1px solid var(--border);
    font-size: .8125rem;
}
.wallet-tx-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1b1b28; }
.wallet-tx-date { color: var(--secondary); font-size: .75rem; white-space: nowrap; }
.wallet-tx-amount { font-weight: 600; white-space: nowrap; }

/* wallet screenshot upload */
.wallet-upload-box {
    border: 2px dashed var(--border);
    border-radius: .25rem;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.wallet-upload-box:hover { border-color: var(--primary); background-color: var(--soft-primary); }
.wallet-upload-preview { display: flex; align-items: center; gap: .75rem; }
.wallet-upload-preview img { width: 48px; height: 48px; object-fit: cover; border-radius: .25rem; }
.wallet-upload-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; font-weight: 600; }
.wallet-upload-clear { background: none; border: none; color: var(--secondary); cursor: pointer; padding: .25rem; font-size: 1rem; line-height: 1; }
.wallet-upload-clear:hover { color: #c00; }

/* ==========================================================================
   Online support page
   ========================================================================== */
.support-section { padding: 2.5rem 0; }
.badge-soft-success { color: #0a6a44; background-color: var(--soft-success); }
.badge-soft-warning { color: #a88400; background-color: var(--soft-warning); }
.support-thread { display: flex; flex-direction: column; gap: 1.25rem; }
.support-item {
    border: 1px solid var(--border);
    border-radius: .25rem;
    padding: 1rem 1.25rem;
    background: #fff;
}
.support-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.support-item-meta { margin: .25rem 0 .75rem; }
.support-bubble {
    border-radius: .35rem;
    padding: .75rem 1rem;
    font-size: .8125rem;
    line-height: 1.6;
    word-wrap: break-word;
}
.support-customer {
    background: var(--light);
    border: 1px solid var(--border);
}
.support-admin {
    margin-top: .6rem;
    background: var(--soft-primary);
    border: 1px solid rgba(230, 46, 4, .2);
    color: #4a1500;
}
.support-admin-label { font-size: .75rem; font-weight: 600; color: var(--primary); margin-bottom: .35rem; }

/* support composer (direct message + image attach) */
.support-chat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: .25rem;
    overflow: hidden;
}
.support-message-box {
    display: block;
    width: 100%;
    border: 0;
    padding: .8rem 1rem;
    font-family: inherit;
    font-size: .875rem;
    line-height: 1.6;
    color: #1b1b28;
    resize: vertical;
    min-height: 110px;
    background: transparent;
}
.support-message-box:focus { outline: none; }
.support-chat-card:focus-within { border-color: var(--primary); box-shadow: 0 0 0 .2rem var(--soft-primary); }
.support-chat-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--light);
}
.support-attach-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    border: 1px solid var(--border);
    border-radius: .25rem;
    background: #fff;
    color: #1b1b28;
    font-size: .8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
    white-space: nowrap;
}
.support-attach-btn:hover { border-color: var(--primary); color: var(--primary); }
.support-attach-btn i { font-size: 1rem; }
.support-image-preview {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1rem;
    border-top: 1px dashed var(--border);
    background: var(--soft-primary);
}
.support-image-preview img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: .25rem;
    border: 1px solid var(--border);
}
.support-image-name { font-size: .75rem; color: #1b1b28; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.support-image-clear {
    border: 0;
    background: none;
    color: var(--danger);
    font-size: 1rem;
    cursor: pointer;
    padding: .25rem;
}
.support-image-clear:hover { color: #c00; }

/* attachment image inside a support bubble */
.support-attachment {
    display: block;
    margin-top: .6rem;
    max-width: 240px;
}
.support-attachment img {
    display: block;
    width: 100%;
    border-radius: .25rem;
    border: 1px solid var(--border);
    background: #fff;
}

/* ==========================================================================
   Cart page
   ========================================================================== */
.badge-soft-danger { color: #b3261e; background-color: #fdecea; }

.cart-table-head {
    display: grid;
    grid-template-columns: 52px 1fr 110px 130px 110px 44px;
    gap: .75rem;
    align-items: center;
    padding: .6rem .75rem;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--secondary);
    border-bottom: 2px solid var(--border);
}
.cart-rows { border-bottom: 1px solid var(--border); }
.cart-row {
    display: grid;
    grid-template-columns: 52px 1fr 110px 130px 110px 44px;
    gap: .75rem;
    align-items: center;
    padding: .75rem;
    border-bottom: 1px solid var(--border);
    font-size: .875rem;
}
.cart-row:last-child { border-bottom: 0; }
.cart-item-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: .25rem;
    background: #fff;
}
.cart-col-name { min-width: 0; overflow-wrap: anywhere; }
.cart-col-qty { display: flex; align-items: center; }
.qty-btn {
    width: 30px;
    height: 32px;
    border: 1px solid var(--border);
    background: #fff;
    color: #1b1b28;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background: var(--light); }
.qty-input {
    width: 48px;
    height: 32px;
    border: 1px solid var(--border);
    border-left: 0;
    border-right: 0;
    text-align: center;
    font-size: .875rem;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem .75rem;
}
.cart-total-label { font-weight: 600; color: var(--secondary); }
.cart-total-value { font-size: 1.4rem; font-weight: 700; }
.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
}
.cart-actions .btn { white-space: nowrap; }

/* ==========================================================================
   Checkout page
   ========================================================================== */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; align-items: start; }
.checkout-field { margin-bottom: 1rem; }
.checkout-field label { display: block; font-weight: 600; font-size: .8125rem; margin-bottom: .35rem; color: #1b1b28; }
.checkout-field .form-control { border-radius: .25rem; }
.form-error { display: block; color: var(--danger); font-size: .75rem; margin-top: .3rem; }
.pay-option {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    border: 1px solid var(--border);
    border-radius: .25rem;
    padding: .7rem .85rem;
    margin-bottom: .5rem;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s ease, background .15s ease;
}
.pay-option:hover { border-color: var(--primary); }
.pay-option.selected { border-color: var(--primary); background: var(--soft-primary); }
.pay-option input { margin-top: .2rem; }
.pay-option-label { font-weight: 600; font-size: .875rem; }
.pay-option-hint { font-size: .75rem; color: var(--secondary); margin-top: .1rem; }

.co-summary-card { background: var(--light); border: 1px solid var(--border); border-radius: .25rem; padding: 1rem 1.1rem; }
.co-line { display: flex; justify-content: space-between; gap: .75rem; font-size: .8125rem; padding: .3rem 0; }
.co-line.total { border-top: 1px solid var(--border); margin-top: .4rem; padding-top: .6rem; font-size: 1rem; font-weight: 700; }
.co-item { display: flex; gap: .6rem; align-items: center; padding: .5rem 0; border-bottom: 1px dashed var(--border); font-size: .8125rem; }
.co-item:last-child { border-bottom: 0; }
.co-item img { width: 42px; height: 42px; object-fit: cover; border-radius: .25rem; border: 1px solid var(--border); background: #fff; }
.co-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-item-qty { color: var(--secondary); white-space: nowrap; }

/* ==========================================================================
   Order list + detail
   ========================================================================== */
.order-card { border: 1px solid var(--border); border-radius: .25rem; background: #fff; }
.order-card-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--light);
    font-size: .875rem;
}
.order-card-head .order-no { font-weight: 700; color: #1b1b28; }
.order-card-body { padding: .8rem 1rem; }
.order-items-list { list-style: none; margin: 0; padding: 0; }
.order-items-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .45rem 0;
    border-bottom: 1px dashed var(--border);
    font-size: .875rem;
}
.order-items-list li:last-child { border-bottom: 0; }
.order-item-thumb { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--border); border-radius: .25rem; background: #fff; }
.order-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-item-sub { font-weight: 600; white-space: nowrap; }
.order-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .8rem 1rem;
    border-top: 1px solid var(--border);
    font-size: .875rem;
}
.order-info-line { display: flex; gap: .5rem; margin-bottom: .35rem; font-size: .875rem; }
.order-info-line .label { color: var(--secondary); min-width: 96px; }
.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.order-summary-row { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .875rem; }
.order-summary-row.total { border-top: 1px solid var(--border); margin-top: .4rem; padding-top: .6rem; font-weight: 700; font-size: 1rem; }

@media (max-width: 991px) {
    .cart-table-head { display: none; }
    .cart-row { grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto auto; row-gap: .5rem; }
    .cart-row .cart-col-img { grid-column: 1; grid-row: 1 / 4; }
    .cart-col-price { grid-column: 2; }
    .cart-col-qty { grid-column: 2; grid-row: 3; }
    .cart-col-sub { grid-column: 3; grid-row: 2; }
    .cart-col-del { grid-column: 3; grid-row: 3; }
    .checkout-grid { grid-template-columns: 1fr; }
    .order-detail-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Tasks (gamified product tasks)
   ========================================================================== */
.progress {
    display: flex;
    height: .6rem;
    overflow: hidden;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transition: width .3s ease;
}
.task-panel { margin-top: 1rem; }
.task-panel-count { font-weight: 700; }
.task-progress { height: .55rem; }

.badge-lucky {
    color: #8a4b00;
    background: #ffe9c7;
    font-weight: 600;
}

.task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}
.task-item { padding: 1rem 1.1rem; }
.task-item .min-w-0 { min-width: 0; }
.task-name { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 .5rem;
    border-radius: 999px;
    background: var(--soft-primary);
    color: var(--primary);
    font-weight: 700;
    font-size: .875rem;
    flex-shrink: 0;
}
.task-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: .25rem;
    background: #fff;
    flex-shrink: 0;
}

.task-view-layout {
    display: grid;
    grid-template-columns: minmax(200px, 340px) 1fr;
    gap: 1.5rem;
    align-items: start;
}
.task-view-media {
    border: 1px solid var(--border);
    border-radius: .25rem;
    background: #fff;
    padding: 1rem;
}
.task-view-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.task-view-body { padding-top: .25rem; }

@media (max-width: 767px) {
    .task-view-layout { grid-template-columns: 1fr; }
}

