/* Base styles moved to assets/css/base.css */
/* =========================
HEADER
========================= */
.header{
    position:sticky;
    top:0;
    left:0;

    width:100%;

    background:#E30019;

    border-bottom:1px solid rgba(255,255,255,0.1);

    /* Modals moved to assets/css/modals.css */
}

.menu-item{
    position:relative;
}

.menu-item > a{

    position:relative;

    height:46px;

    padding:0 14px;

    display:flex;
    align-items:center;
    gap:10px;

    text-decoration:none;

    color:#111;
    font-size:14px;
    font-weight:500;

    border-bottom:1px solid #f1f1f1;

    transition:0.2s;
}

/* ICON */
.menu-item svg{
    width:20px;
    height:20px;
    fill:currentColor;
    flex-shrink:0;
}

/* ARROW */
.arrow{
    margin-left:auto;
    font-style:normal;
}

/* HOVER */
.menu-item:hover > a{
    background:#d70018;
    color:#fff;
}

/* ARROW POINTER */
.menu-item.has-mega > a::after{

    content:"";

    position:absolute;

    top:0;
    right:-12px;

    width:0;
    height:0;

    border-top:23px solid transparent;
    border-bottom:23px solid transparent;
    border-left:12px solid #d70018;

    opacity:0;
    visibility:hidden;

    transition:0.2s;
}

.menu-item.has-mega:hover > a::after{
    opacity:1;
    visibility:visible;
}

/* MEGA */
.mega-menu{

    position:absolute;

    left:100%;
    top:0;

    width:900px;

    background:#fff;

    border-radius:0 12px 12px 12px;

    padding:20px;

    display:none;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    box-shadow:0 10px 30px rgba(0,0,0,0.12);

    z-index:999;
}

.menu-item.has-mega:hover .mega-menu{
    display:grid;
}

.home-layout{
    display:grid;
    grid-template-columns:280px minmax(560px,1fr) 320px;
    gap:20px;
    align-items:start;
}

.menu-category{
    background:#fff;
    border-radius:12px;
    padding:18px 18px 14px;
    box-shadow:0 15px 45px rgba(0,0,0,0.08);
}

.menu-category .menu-item{
    border-bottom:1px solid #f1f1f1;
}

.menu-category .menu-item:last-child{
    border-bottom:none;
}

.mobile-category-toggle{
    display:none;
}

.menu-category-list {
    display:block;
}

/* COLUMN */
.mega-column h4{
    margin-bottom:14px;
    color:#d70018;
    font-size:15px;
}

.mega-column a{

    display:block;

    padding:7px 0;

    color:#333;

    text-decoration:none;

    transition:0.2s;
}

.mega-column a:hover{
    color:#d70018;
    transform:translateX(5px);
}

/* =========================
SLIDER
========================= */
.main-slider{
    width:100%;
}

/* WRAPPER */
.slider-wrapper{

    position:relative;

    height:320px;

    overflow:hidden;

    border-radius:12px;
}

/* SLIDE */
.slide{

    position:absolute;
    inset:0;

    opacity:0;

    transition:0.4s;
}

.slide.active{
    opacity:1;
    z-index:2;
}

.slide img{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;
}

/* BUTTON */
.slider-btn{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    background:rgba(0,0,0,0.45);

    color:#fff;

    font-size:26px;

    cursor:pointer;

    z-index:20;
}

.prev{
    left:15px;
}

.next{
    right:15px;
}

/* DOT */
.slider-dots{

    position:absolute;

    left:50%;
    bottom:14px;

    transform:translateX(-50%);

    display:flex;
    gap:8px;

    z-index:20;
}

.dot{

    width:10px;
    height:10px;

    border-radius:50%;

    background:#fff;

    opacity:.5;

    cursor:pointer;
}

.dot.active{
    background:#d70018;
    opacity:1;
}

/* BOTTOM */
.bottom-banner{

    margin-top:12px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:12px;
}

.banner-item img{

    width:100%;

    border-radius:12px;

    display:block;
}

/* =========================
RIGHT BANNER
========================= */
.right-banner{

    display:flex;
    flex-direction:column;

    gap:12px;
}

.banner-small img{

    width:100%;

    border-radius:12px;

    display:block;
}

/* =========================
SECTION SUBBANNER
========================= */
.section-subbanners{
    padding-bottom:20px;
}

.subbanners-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:12px;
}

.subbanner-item{

    display:block;

    overflow:hidden;

    border-radius:12px;
}

.subbanner-item img{

    width:100%;

    display:block;

    transition:0.3s;
}

.subbanner-item:hover img{
    transform:scale(1.04);
}

/* =========================
STICKY BANNER
========================= */
.section-sticky-banner{
    position:relative;
}

.sticky-banner{

    position:fixed;

    top:38%;

    transform:translateY(-50%);

    z-index:999;
}

.sticky-left{
    left:20px;
}

.sticky-right{
    right:20px;
}

.sticky-banner img{

    width:120px;

    border-radius:12px;

    display:block;

    box-shadow:0 10px 25px rgba(0,0,0,0.15);

    transition:0.3s;
}

.sticky-banner img:hover{
    transform:scale(1.05);
}

/* =========================
RESPONSIVE
========================= */
@media(max-width:1400px){

    .section-sticky-banner{
        display:none;
    }

}

@media(max-width:1024px){

    .slider-wrapper{
        height:240px;
    }

    .home-layout{
        grid-template-columns:1fr;
    }

    .right-banner,
    .bottom-banner{
        display:none;
    }

    .subbanners-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .menu-category{
        padding:14px;
    }

    .menu-item > a{
        height:42px;
        font-size:13px;
    }

}

@media(max-width:768px){

    .header .container{
        height:auto;
        padding:10px;
    }

    .header-wrap{
        flex-wrap:wrap;
    }

    .logo {
        flex:1;
        display:flex;
        justify-content:center;
        order:1;
    }

    .search-box{
        order:3;
        width:100%;
        max-width:100%;
    }

    .header-right{
        order:2;
        width:auto;
        margin-left:auto;
        gap:8px;
    }

    .header-item strong{
        display:none;
    }

    .header-item {
        min-width:72px;
        padding:8px 10px;
        border-radius:8px;
        background:rgba(255,255,255,0.08);
        justify-content:center;
    }

    .slider-wrapper{
        height:180px;
        border-radius:10px;
    }

    .bottom-banner,
    .subbanners-grid{
        display:none;
    }

    .section-sticky-banner {
        display:none !important;
    }

    .section-title h2,
    .products-title h2,
    .category-header-row h1{
        font-size:24px;
    }

    .products-brand {
        flex-wrap:wrap;
        gap:12px 18px;
    }

    .menu-category {
        width:100%;
        padding:10px 12px;
        position:relative;
    }

    .mobile-category-toggle {
        display:flex;
        align-items:center;
        justify-content:center;
        gap:8px;
        width:100%;
        border:1px solid #f1f1f1;
        background:#fff;
        color:#111827;
        border-radius:8px;
        padding:10px 12px;
        font-weight:700;
        margin-bottom:10px;
        cursor:pointer;
    }

    .menu-category.is-open .menu-category-list {
        display:block;
    }

    .menu-category-list {
        display:none;
    }

    .menu-item {
        width:100%;
    }

    .menu-item > a {
        padding:0 10px;
        height:42px;
        border-radius:8px;
        font-size:13px;
    }

    .menu-item.is-open > .mega-menu {
        display:grid;
    }

    .mega-menu {
        position:static;
        width:100%;
        grid-template-columns:1fr;
        margin-top:8px;
        border-radius:10px;
        box-shadow:none;
        border:1px solid #f1f1f1;
        padding:10px 12px;
        display:none;
    }

    .mega-column h4 {
        margin-bottom:8px;
        font-size:14px;
    }

    .mega-column a {
        padding:8px 0;
    }

    .product-thumb img {
        height:180px;
    }

    .product-name {
        min-height:unset;
        font-size:14px;
    }

    .product-price {
        font-size:16px;
    }

    .products-grid,
    .viewed-list {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .footer-top {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:20px 22px;
    }

}

@media(max-width:576px){

    .header-right {
        width:100%;
        justify-content:space-between;
    }

    .header-item {
        flex:1;
    }

    .search-btn {
        right:10px;
    }

    .slider-wrapper{
        height:160px;
    }

    .slider-btn{
        width:34px;
        height:34px;
        font-size:18px;
    }

    .search-input input {
        height: 38px;
        font-size:14px;
    }

    .search-thumb {
        width:44px;
        height:44px;
    }

    .product-thumb img {
        height:160px;
    }

    .products-grid,
    .viewed-list,
    .footer-top {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .product-name {
        font-size:13px;
    }

    .product-price {
        font-size:15px;
    }

    .section-title h2,
    .products-title h2 {
        font-size:20px;
    }

    .footer-column h3 {
        font-size:15px;
    }

    .footer-column a,
    .footer-contact {
        font-size:13px;
    }

}
/* SECTION */
.section-viewed{
    padding:12px 0;
    background:#f3f4f6;
}

/* TITLE */
.section-title{
    margin-bottom:16px;
    padding-top: 10px;
}

.section-title h2{
    font-size:22px;
    font-weight:700;
    color:#111;
}

/* GRID */
.viewed-list{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
    padding-bottom: 10px;
}

/* CARD */
.viewed-item{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    text-decoration:none;
    transition:0.25s;
    border:1px solid #eee;
}

.viewed-item:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* IMAGE */
.viewed-item img{
    width:100%;
    height:180px;
    object-fit:cover;
    display:block;
}

/* INFO */
.viewed-info{
    padding:12px;
}

.viewed-name{
    font-size:14px;
    line-height:1.5;
    color:#111;
    height:42px;
    overflow:hidden;
}

.viewed-price{
    margin-top:10px;
    color:#d70018;
    font-size:18px;
    font-weight:700;
}

/* EMPTY */
.viewed-empty{
    padding:40px;
    background:#fff;
    border-radius:12px;
    text-align:center;
    color:#777;
}

/* RESPONSIVE */
@media(max-width:992px){

    .viewed-list{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .viewed-list{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:576px){

    .viewed-list{
        grid-template-columns:1fr;
    }

}
/* THUMB */
.viewed-thumb{
    position:relative;
}

/* DISCOUNT */
.viewed-discount{

    position:absolute;

    top:10px;
    left:10px;

    background:#d70018;

    color:#fff;

    font-size:12px;
    font-weight:700;

    padding:5px 8px;

    border-radius:6px;
}

/* OLD PRICE */
.viewed-oldprice{

    margin-top:5px;

    color:#999;

    font-size:14px;

    text-decoration:line-through;
}
/* SECTION */
.section-products{
    padding:20px 0;
    background:#f3f4f6;
}

/* HEADER */
.products-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:20px;

    background:#fff;

    border-radius:12px;

    padding:18px 20px;
}

/* TITLE */
.products-title{
    display:flex;
    align-items:center;
    gap:18px;
}

.products-title h2{
    font-size:32px;
    font-weight:700;
    color:#111;
}

/* TAG */
.products-tag{

    color:#ff445c;

    font-size:16px;
    font-weight:600;

    padding-left:18px;

    border-left:1px solid #ddd;
}

/* BRAND */
.products-brand{
    display:flex;
    align-items:center;
    gap:26px;
}

.products-brand a{

    text-decoration:none;

    color:#222;

    font-size:15px;

    transition:0.2s;
}

.products-brand a:hover{
    color:#d70018;
}

/* GRID */
.products-grid{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:14px;
}

/* CARD */
.product-card{

    background:#fff;

    border-radius:10px;

    padding:12px;
    margin-bottom: 15px;
    position:relative;

    overflow:hidden;

    transition:0.25s;

    border:1px solid #eee;
}

.product-card:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* IMG */
.product-thumb{
    position:relative;
}

.product-thumb img{

    width:100%;
    height:220px;

    object-fit:contain;

    display:block;
}

/* DISCOUNT */
.product-discount{

    position:absolute;

    right:0;
    bottom:0;

    background:#fff;

    border:1px solid #ff4d4f;

    color:#ff4d4f;

    font-size:13px;
    font-weight:700;

    padding:3px 6px;

    border-radius:4px;
}

/* NAME */
.product-name{

    margin-top:12px;

    font-size:16px;
    font-weight:600;

    line-height:1.5;

    color:#222;

    min-height:48px;
}

/* TECH */
.product-tech{

    margin-top:10px;

    background:#f5f5f5;

    border-radius:8px;

    padding:10px;

    display:flex;

    flex-wrap:wrap;

    gap:8px;
}

/* ITEM */
.product-tech span{

    font-size:13px;

    color:#666;

    display:flex;
    align-items:center;
    gap:4px;
}

/* PRICE */
.product-oldprice{

    margin-top:12px;

    font-size:14px;

    color:#999;

    text-decoration:line-through;
}

.product-price-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:8px;
}

.product-price{

    color:#e30019;

    font-size:18px;
    font-weight:700;

    margin-top:0;
}

.product-add-btn{
    border:none;
    background:#e30019;
    color:#fff;
    border-radius:999px;
    padding:6px 10px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:0.2s;
    white-space:nowrap;
}

.product-add-btn:hover{
    background:#c40015;
    transform:translateY(-1px);
}

.product-add-btn:active{
    transform:scale(0.95);
}

.product-detail-link{
    text-decoration:none;
}

.product-detail-link:hover{
    text-decoration:none;
}

.product-actions{
    display:flex;
    align-items:center;
    gap:8px;
}

.cart-fly-item{
    position:fixed;
    width:70px;
    height:70px;
    object-fit:contain;
    border-radius:8px;
    z-index:99999;
    pointer-events:none;
    opacity:0.95;
    box-shadow:0 10px 25px rgba(0,0,0,0.18);
    transition:left 0.65s cubic-bezier(.2,.9,.2,1), top 0.65s cubic-bezier(.2,.9,.2,1), width 0.65s ease, height 0.65s ease, opacity 0.65s ease, transform 0.65s ease;
}

.header-item.cart-bounce{
    animation:bounceCart 0.45s ease;
}

@keyframes bounceCart{
    0%, 100% {
        transform:scale(1);
    }
    50% {
        transform:scale(1.08);
    }
}

/* RATING */
.product-rating{

    margin-top:10px;

    display:flex;
    align-items:center;
    gap:8px;

    font-size:14px;

    color:#777;
}

.product-rating b{
    color:#ff9900;
}

/* RESPONSIVE */
@media(max-width:1200px){

    .products-grid{
        grid-template-columns:repeat(4,1fr);
    }

}

@media(max-width:992px){

    .products-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .products-header{
        flex-direction:column;
        gap:15px;
        align-items:flex-start;
    }

}

@media(max-width:576px){

    .products-grid{
        grid-template-columns:1fr;
    }

}

.category-collection-shell{
    padding:32px 0 60px;
}

.collection-page-breadcrumb{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:18px;
    padding:10px 14px;
    border:1px solid #f0f0f0;
    border-radius:999px;
    background:rgba(255,255,255,0.9);
    box-shadow:0 6px 18px rgba(15,23,42,0.04);
    font-size:13px;
    line-height:1.4;
    color:#6b7280;
}

.collection-page-breadcrumb a{
    color:#e30019;
    text-decoration:none;
    font-weight:600;
    transition:0.2s ease;
}

.collection-page-breadcrumb a:hover{
    color:var(--primary-dark);
    text-decoration:none;
}

.collection-page-breadcrumb .breadcrumb-current{
    color:#111827;
    font-weight:700;
}

.collection-layout{
    display:grid;
    grid-template-columns:280px minmax(0, 1fr);
    gap:24px;
    align-items:start;
}

.category-sidebar{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:18px;
    position:sticky;
    top:20px;
}

.filter-panel-header{
    font-size:18px;
    font-weight:700;
    color:#111827;
    margin-bottom:18px;
}

.filter-group{
    border-top:1px solid #f1f5f9;
    padding-top:16px;
    margin-top:16px;
}

.filter-group:first-child{
    border-top:none;
    padding-top:0;
    margin-top:0;
}

.filter-group h3{
    margin:0 0 12px;
    font-size:15px;
    color:#111827;
}

.filter-option{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
    font-size:14px;
    color:#374151;
    cursor:pointer;
}

.filter-option input{
    accent-color:#d70018;
}

.category-main{
    min-width:0;
}

.category-header-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
}

.category-header-row h1{
    margin:0;
    font-size:32px;
    line-height:1.2;
    color:#111827;
}

.category-result-count{
    white-space:nowrap;
    font-size:14px;
    color:#4b5563;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:999px;
    padding:8px 12px;
}

.products-grid.category-products{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
}

.category-empty-state{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:32px 18px;
    color:#4b5563;
    text-align:center;
    font-size:16px;
}

@media (max-width: 992px){
    .collection-layout{
        grid-template-columns:1fr;
    }

    .category-sidebar{
        position:static;
    }
}

@media (max-width: 768px){
    .products-grid.category-products{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .category-header-row{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media (max-width: 560px){
    .products-grid.category-products{
        grid-template-columns:1fr;
    }
}
/*
|--------------------------------------------------------------------------
| SECTION CATEGORY
|--------------------------------------------------------------------------
*/

.section-category{
    padding:15px 0;
    background:#f3f4f6;
}

.section-category .container{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    border:1px solid #ececec;
}

/* HEADER */
.section-category-header{
    padding:20px 24px;
    border-bottom:1px solid #f1f1f1;
}

.section-category-header h2{
    font-size:22px;
    font-weight:700;
    color:#1f2937;
}

/* GRID */
.category-grid{

    display:grid;

    grid-template-columns:repeat(10,1fr);

    gap:30px 10px;

    padding:30px 20px;
}

/* ITEM */
.category-item{

    text-decoration:none;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:12px;

    transition:0.25s;
}

/* IMAGE */
.category-item img{

    width:72px;
    height:72px;

    object-fit:contain;

    transition:0.25s;
}

/* TEXT */
.category-item span{

    font-size:15px;

    color:#111827;

    text-align:center;

    line-height:1.4;
}

/* HOVER */
.category-item:hover{
    transform:translateY(-4px);
}

.category-item:hover img{
    transform:scale(1.08);
}

/* RESPONSIVE */
@media(max-width:1200px){

    .category-grid{
        grid-template-columns:repeat(5,1fr);
    }

}

@media(max-width:768px){

    .category-grid{
        grid-template-columns:repeat(3,1fr);
        gap:20px 10px;
    }

    .category-item img{
        width:60px;
        height:60px;
    }

    .section-category-header h2{
        font-size:22px;
    }

}

@media(max-width:480px){

    .category-grid{
        grid-template-columns:repeat(2,1fr);
    }

}
/*
|--------------------------------------------------------------------------
| SECTION COMMON
|--------------------------------------------------------------------------
*/

.section-promotion,
.section-news{
    padding:15px 0;
    background:#f3f4f6;
}

.section-promotion .container,
.section-news .container{
    background:#fff;
    border-radius:12px;
    border:1px solid #ececec;
    padding:20px;
}

/* HEADER */
.section-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:20px;
}

.section-header h2{

    font-size:20px;

    font-weight:700;

    color:#111827;
}

.view-all{

    border:none;
    background:#e30019;
    color:#fff;
    border-radius:999px;
    padding:6px 10px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:0.2s;
    white-space:nowrap;
}

.view-all:hover{
    background:#c40015;
    transform:translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| PROMOTION
|--------------------------------------------------------------------------
*/

.promotion-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:16px;
}

.promotion-item{

    display:block;

    border-radius:10px;

    overflow:hidden;
}

.promotion-item img{

    width:100%;

    display:block;

    transition:0.3s;
}

.promotion-item:hover img{
    transform:scale(1.03);
}

/*
|--------------------------------------------------------------------------
| NEWS
|--------------------------------------------------------------------------
*/

.news-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:16px;
}

.news-item{

    text-decoration:none;

    color:#111;

    transition:0.25s;
}

.news-thumb{

    border-radius:10px;

    overflow:hidden;

    margin-bottom:12px;

    border:1px solid #f1f1f1;
}

.news-thumb img{

    width:100%;

    display:block;

    transition:0.3s;
}

.news-title{

    font-size:16px;

    line-height:1.5;

    color:#111827;

    transition:0.25s;
}

/* HOVER */
.news-item:hover .news-thumb img{
    transform:scale(1.03);
}

.news-item:hover .news-title{
    color:#d70018;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width:992px){

    .promotion-grid,
    .news-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:576px){

    .promotion-grid,
    .news-grid{
        grid-template-columns:1fr;
    }

    .section-header h2{
        font-size:18px;
    }

}
/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/

.footer{
    background:#fff;
    margin-top:20px;
    border-top:1px solid #ececec;
}

/* TOP */
.footer-top{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:40px;

    padding:35px 0;
}

/* COLUMN */
.footer-column h3{

    font-size:18px;

    color:#111827;

    margin-bottom:18px;

    font-weight:700;
}

.footer-column h3 span{
    font-weight:400;
    font-size:15px;
}

/* LINKS */
.footer-column a{

    display:block;

    text-decoration:none;

    color:#111827;

    font-size:15px;

    margin-bottom:14px;

    transition:0.25s;
}

.footer-column a:hover{
    color:#ff445c;
}

/* CONTACT */
.footer-contact{

    margin-bottom:14px;

    font-size:15px;

    color:#111827;
}

.footer-contact a{

    display:inline;

    color:#ff445c;

    font-weight:600;
}

/* PAYMENT */
.footer-payments{

    display:flex;

    flex-wrap:wrap;

    gap:10px;
}

.footer-payments img{

    height:34px;

    border-radius:6px;

    background:#fff;

    border:1px solid #ececec;

    padding:3px;
}

/* SPACE */
.footer-title-space{
    margin-top:24px;
}

/* BOTTOM */
.footer-bottom{

    border-top:1px solid #ececec;

    padding:22px 0;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;
}

/* SOCIAL */
.footer-social{

    display:flex;

    align-items:center;

    gap:14px;

    flex-wrap:wrap;
}

.footer-social span{

    font-size:16px;

    font-weight:700;

    color:#111827;

    margin-right:6px;
}

.footer-social a img{

    width:38px;
    height:38px;

    border-radius:50%;

    transition:0.25s;
}

.footer-social a:hover img{
    transform:translateY(-3px);
}

/* CERTIFY */
.footer-certify img{
    height:42px;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width:1100px){

    .footer-top{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .footer-top{
        grid-template-columns:1fr;
        gap:25px;
    }

    .footer-bottom{

        flex-direction:column;

        align-items:flex-start;
    }

}

/* AUTH POPUP */
.auth-overlay{
    position:fixed;
    inset:0;
    display:none !important;
    background:rgba(0,0,0,0.55);
    opacity:0;
    visibility:hidden;
    transition:0.2s;
    z-index:9998;
}
.auth-overlay.active{
    display:block !important;
    opacity:1;
    visibility:visible;
}
.auth-modal{
    position:fixed;
    inset:0;
    display:none !important;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    z-index:9999;
    transition:0.2s;
}
.auth-modal.active{
    display:flex !important;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
.auth-modal-content{
    width:100%;
    max-width:420px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 24px 70px rgba(0,0,0,0.18);
    overflow:hidden;
}
.auth-modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:20px 24px;
    border-bottom:1px solid #f1f1f1;
}
.auth-modal-header h3{
    margin:0;
    font-size:20px;
    color:#111;
}
.auth-close{
    border:none;
    background:none;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    color:#555;
}
.auth-form{
    padding:22px 24px 26px;
}
.auth-form-row{
    margin-bottom:16px;
}
.auth-form-row label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    color:#333;
}
.auth-form-row input{
    width:100%;
    height:44px;
    border:1px solid #d1d5db;
    border-radius:10px;
    padding:0 14px;
    font-size:14px;
    background:#fafafa;
}
.auth-error{
    min-height:24px;
    margin-bottom:12px;
    color:#dc2626;
    font-size:14px;
}
.btn-auth{
    width:100%;
    height:46px;
    border:none;
    border-radius:12px;
    background:#d70018;
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
}
.auth-action{
    margin-top:12px;
    text-align:center;
}
.auth-action a{
    color:#d70018;
    text-decoration:none;
    font-size:14px;
}
.auth-action a:hover{
    text-decoration:underline;
}
.header-item.logged-in strong{
    color:#fff;
}

.modal-overlay{
    position:fixed;
    inset:0;
    display:none !important;
    background:rgba(0,0,0,0.55);
    opacity:0;
    visibility:hidden;
    transition:0.2s;
    z-index:9998;
}
.modal-overlay.active{
    display:block !important;
    opacity:1;
    visibility:visible;
}
.modal{
    position:fixed;
    inset:0;
    display:none !important;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    z-index:9999;
    transition:0.2s;
}
.modal.active{
    display:flex !important;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
.modal-content{
    width:100%;
    max-width:420px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 24px 70px rgba(0,0,0,0.18);
    overflow:hidden;
}
.modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:20px 24px;
    border-bottom:1px solid #f1f1f1;
}
.modal-header h3{
    margin:0;
    font-size:20px;
    color:#111;
}
.modal-close{
    border:none;
    background:none;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    color:#555;
}
.modal-body{
    padding:22px 24px 26px;
}
.modal-body p{
    margin:0 0 16px;
    color:#333;
    line-height:1.6;
}
.modal-body .auth-form-row{
    margin-bottom:16px;
}
.modal-body .auth-form-row label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    color:#333;
}
.modal-body .auth-form-row input{
    width:100%;
    height:44px;
    border:1px solid #d1d5db;
    border-radius:10px;
    padding:0 14px;
    font-size:14px;
    background:#fafafa;
}
.modal-body .btn-auth{
    margin-top:8px;
}
