@font-face {
    font-family: 'Thmanyah Sans';
    src: url('/fonts/thmanyah/thmanyahsans/woff2/thmanyahsans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Sans';
    src: url('/fonts/thmanyah/thmanyahsans/woff2/thmanyahsans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Sans';
    src: url('/fonts/thmanyah/thmanyahsans/woff2/thmanyahsans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html, body{
    min-height:100%;
    overflow-x:hidden;
}

body{
    background:var(--body-bg);
    color:var(--text);
    font-family:'Thmanyah Sans', sans-serif;
    direction:ltr;
}
html,
body,
button,
input,
textarea,
select{
    font-family:'Thmanyah Sans', sans-serif !important;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

button,
input{
    font-family:inherit;
}

.page-wrapper{
    min-height:100vh;
    padding-bottom:90px;
}

.home-page{
    width:100%;
}

.top-header{
    background:var(--header-bg);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:22px 28px 14px;
    animation:fadeDown .55s ease;
}

.brand-wrap{
    min-width:180px;
}

.store-logo{
    max-height:54px;
    width:auto;
    object-fit:contain;
}

.brand-text{
    font-size:44px;
    letter-spacing:8px;
    color:var(--accent);
    font-weight:500;
}

.search-box{
    flex:1;
    max-width:560px;
    position:relative;
}

.search-box input{
    width:100%;
    height:58px;
    border-radius:18px;
    border:1px solid var(--border);
    background:#f7f2ec;
    outline:none;
    padding:0 24px 0 58px;
    font-size:17px;
    color:var(--text);
    transition:.25s ease;
}

.search-box input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(91,74,46,.08);
}

.search-box button{
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:transparent;
    cursor:pointer;
    color:var(--accent);
}

.search-box svg{
    width:24px;
    height:24px;
}

.header-icons{
    display:flex;
    align-items:center;
    gap:18px;
}

.icon-btn{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--accent);
    position:relative;
    transition:.25s ease;
}

.icon-btn:hover{
    transform:translateY(-2px) scale(1.05);
}

.icon-btn svg{
    width:26px;
    height:26px;
}

.cart-badge{
    position:absolute;
    top:-8px;
    left:-6px;
    width:24px;
    height:24px;
    border-radius:999px;
    background:var(--btn-bg);
    color:#fff;
    font-size:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.main-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:38px;
    padding:18px 20px 22px;
    overflow-x:auto;
    white-space:nowrap;
    background:var(--body-bg);
    animation:fadeDown .7s ease;
}

.main-nav::-webkit-scrollbar{
    display:none;
}

.nav-link{
    font-size:18px;
    font-weight:600;
    color:var(--accent);
    padding-bottom:8px;
    border-bottom:3px solid transparent;
    transition:.25s ease;
}

.nav-link:hover{
    opacity:.8;
}

.nav-link.active{
    border-color:var(--accent);
}

.content-wrap{
    padding:0 28px 28px;
}

.section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}

.section-title{
    font-size:28px;
    font-weight:800;
    color:var(--accent);
    line-height:1.2;
}

.subcategories-section{
    margin-top:8px;
}

.hero-slider{
    position:relative;
    padding:0 28px;
    margin-bottom:18px;
}

.hero-slider-track{
    position:relative;
}

.hero-slide{
    display:none;
}

.hero-slide.active{
    display:block;
    animation:fadeSlide .6s ease;
}

.hero-section{
    display:grid;
    grid-template-columns:1.05fr 1.35fr;
    background:var(--hero-bg);
    color:var(--hero-text);
    border-radius:26px;
}

.hero-content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:54px 42px;
}

.hero-content h1{
    font-size:60px;
    line-height:1.1;
    font-weight:800;
    margin-bottom:14px;
}

.hero-content p{
    font-size:24px;
    margin-bottom:28px;
    color:var(--hero-text);
    opacity:.92;
}

.hero-image img,
.hero-placeholder{
    width:100%;
    height:100%;
    object-fit:cover;
    background:linear-gradient(135deg, #dacbb8, #c8b59d);
}

.hero-animate-content{
    animation:slideRight .75s ease;
}

.hero-animate-image{
    animation:slideLeft .8s ease;
}

.hero-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:46px;
    height:46px;
    border:none;
    border-radius:999px;
    background:rgba(255,255,255,.86);
    color:var(--accent);
    cursor:pointer;
    z-index:5;
    font-size:20px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.25s ease;
}

.hero-arrow:hover{
    transform:translateY(-50%) scale(1.06);
}

.hero-arrow-prev{
    right:42px;
}

.hero-arrow-next{
    left:42px;
}

.hero-dots{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin-top:12px;
}

.hero-dot{
    width:10px;
    height:10px;
    border-radius:999px;
    border:none;
    background:#d5c7b5;
    cursor:pointer;
    transition:.25s ease;
}

.hero-dot.active{
    background:var(--primary);
    transform:scale(1.18);
}

.btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:12px 30px;
    border-radius:16px;
    background:var(--btn-bg);
    color:var(--btn-text);
    font-size:18px;
    font-weight:700;
    transition:.25s ease;
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 22px rgba(91,74,46,.18);
}

.categories-grid{
    display:grid;
    gap:14px;
    margin-bottom:26px;
}

.categories-grid-2{ grid-template-columns:repeat(2, 1fr); }
.categories-grid-3{ grid-template-columns:repeat(3, 1fr); }
.categories-grid-4{ grid-template-columns:repeat(4, 1fr); }
.categories-grid-5{ grid-template-columns:repeat(5, 1fr); }
.categories-grid-6{ grid-template-columns:repeat(6, 1fr); }

.category-card{
    position:relative;
    height:182px;
    border-radius:20px;
    overflow:hidden;
    background:#ddd3c7;
    transition:.3s ease;
}

.category-card:hover{
    transform:translateY(-4px);
}

.category-card img,
.image-fallback{
    width:100%;
    height:100%;
    object-fit:cover;
    background:linear-gradient(135deg, #ddd0bf, #c9baa8);
    transition:transform .45s ease;
}

.category-card:hover img{
    transform:scale(1.04);
}

.category-card .overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(54,38,21,0.42), rgba(54,38,21,0.08));
}

.category-card span{
    position:absolute;
    bottom:10px;
    right:10px;
    color:var(--btn-text) !important;
    font-size:14px;
    font-weight:700;
    text-align:left;
    z-index:20;
    text-shadow:0 2px 8px rgba(0,0,0,.5);
}

.tabs-section{
    display:flex;
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
    margin-bottom:16px;
}

.tab-btn{
    height:68px;
    border-radius:18px;
    border:1px solid var(--border);
    background:#f8f4ef;
    color:var(--accent);
    font-size:22px;
    font-weight:700;
    cursor:pointer;
    transition:.25s ease;
}

.tab-btn:hover{
    transform:translateY(-2px);
}

.tab-btn.active{
    background:var(--btn-bg) !important;
    color:var(--btn-text) !important;
    border-color:var(--btn-bg) !important;
}

.products-tabs-content{
    margin-bottom:24px;
}

.tab-panel{
    display:none;
    grid-template-columns:repeat(4, 1fr);
    gap:14px;
}

.tab-panel.active{
    display:grid;
    animation:fadeSlide .35s ease;
}

.product-card{
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:20px;
    overflow:hidden;
    transition:.25s ease;
}

.product-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 30px rgba(0,0,0,.06);
}

.product-image-wrap{
    aspect-ratio:1/1;
    background:#f1ebe4;
    overflow:hidden;
}

.product-image{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .45s ease;
}

.product-card:hover .product-image{
    transform:scale(1.04);
}

.product-info{
    padding:14px;
}

.product-title{
    font-size:17px;
    font-weight:700;
    line-height:1.4;
    min-height:48px;
    margin-bottom:10px;
    color:var(--accent);
}

.product-price{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.sale-price{
    font-size:18px;
    font-weight:800;
    color:var(--btn-bg);
}

.old-price{
    font-size:14px;
    color:var(--muted);
    text-decoration:line-through;
}

.empty-box{
    grid-column:1/-1;
    background:#fff;
    border:1px dashed var(--border);
    border-radius:16px;
    padding:22px;
    text-align:center;
    color:var(--muted);
}

.promo-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:18px;
}

.promo-card{
    position:relative;
    min-height:320px;
    border-radius:22px;
    overflow:hidden;
    background:#ddd0c0;
    transition:.25s ease;
}

.promo-card:hover{
    transform:translateY(-4px);
}

.promo-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .45s ease;
}

.promo-card:hover img{
    transform:scale(1.04);
}

.promo-content{
    position:absolute;
    top:42px;
    right:34px;
    max-width:260px;
    color:var(--accent);
}

.promo-content small{
    display:block;
    font-size:18px;
    margin-bottom:8px;
}

.promo-content h3{
    font-size:44px;
    line-height:1.2;
    font-weight:800;
    margin-bottom:20px;
}

.reveal-up{
    opacity:0;
    transform:translateY(24px);
    transition:all .7s ease;
}

.reveal-up.revealed{
    opacity:1;
    transform:translateY(0);
}

.mobile-bottom-nav{
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    z-index:99;
    display:flex;
    justify-content:space-around;
    align-items:center;
    padding:12px 8px 10px;
    border-top:1px solid var(--border);
    background:var(--bottom-nav-bg);
    backdrop-filter:blur(10px);
}

.bottom-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    color:var(--bottom-nav-text);
    min-width:60px;
    transition:.2s ease;
}

.bottom-item.active{
    color:var(--bottom-nav-active);
}

.bottom-item:hover{
    transform:translateY(-2px);
}

.bottom-icon{
    font-size:26px;
}

.bottom-item small{
    font-size:14px;
    font-weight:700;
}

@keyframes fadeSlide{
    from{opacity:.35}
    to{opacity:1}
}

@keyframes fadeDown{
    from{
        opacity:0;
        transform:translateY(-14px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes slideRight{
    from{
        opacity:0;
        transform:translateX(-26px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes slideLeft{
    from{
        opacity:0;
        transform:translateX(26px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

@media (max-width: 1400px){
    .categories-grid-6{
        grid-template-columns:repeat(5, 1fr);
    }
}

@media (max-width: 1200px){
    .tab-panel{
        grid-template-columns:repeat(3, 1fr);
    }

    .categories-grid-5,
    .categories-grid-6{
        grid-template-columns:repeat(4, 1fr);
    }
}

@media (max-width: 992px){
    .top-header{
        flex-wrap:wrap;
    }

    .brand-wrap{
        width:100%;
        text-align:center;
    }

    .search-box{
        order:3;
        max-width:100%;
        width:100%;
    }

    .hero-section{
        grid-template-columns:1fr;
        min-height:auto;
    }

    .hero-content h1{
        font-size:42px;
    }

    .tab-panel{
        grid-template-columns:repeat(2, 1fr);
    }

    .promo-grid{
        grid-template-columns:1fr;
    }

    .categories-grid-4,
    .categories-grid-5,
    .categories-grid-6{
        grid-template-columns:repeat(3, 1fr);
    }
}

@media (max-width: 768px){
    .section-title{
        font-size:24px;
    }

    .categories-grid-3,
    .categories-grid-4,
    .categories-grid-5,
    .categories-grid-6{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 640px){
    .top-header{
        padding:14px;
        gap:12px;
    }

    .brand-text{
        font-size:34px;
        letter-spacing:6px;
    }

    .search-box input{
        height:52px;
        font-size:16px;
    }

    .main-nav{
        justify-content:flex-start;
        gap:24px;
        padding:14px;
    }

    .hero-slider{
        padding:0 14px;
    }

    .content-wrap{
        padding:0 14px 20px;
    }

    .hero-content{
        padding:28px 22px;
    }

    .hero-content h1{
        font-size:34px;
    }

    .hero-content p{
        font-size:18px;
    }

    .hero-arrow{
        width:38px;
        height:38px;
    }

    .hero-arrow-prev{
        right:20px;
    }

    .hero-arrow-next{
        left:20px;
    }

    .category-card{
        height:150px;
    }

    .tabs-section{
        grid-template-columns:1fr;
    }

    .tab-btn{
        height:58px;
        font-size:18px;
    }

    .tab-panel{
        grid-template-columns:1fr 1fr;
        gap:12px;
    }

    .product-title{
        font-size:15px;
        min-height:42px;
    }

    .promo-content{
        top:24px;
        right:20px;
    }

    .promo-content h3{
        font-size:28px;
    }
}

@media (max-width: 480px){
    .categories-grid-2,
    .categories-grid-3,
    .categories-grid-4,
    .categories-grid-5,
    .categories-grid-6,
    .tab-panel{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:28px;
    }

    .hero-content p{
        font-size:16px;
    }

    .section-title{
        font-size:22px;
    }
}
.product-show-page{
    padding: 0 28px 28px;
}

.product-show-wrap{
    max-width: 1400px;
    margin: 0 auto;
}

.product-show-grid{
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap:24px;
    align-items:start;
}

.product-gallery-card,
.product-details-card{
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.product-main-image{
    border-radius: 20px;
    overflow:hidden;
    background:#f3ede6;
    min-height: 520px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.product-main-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.large-fallback{
    min-height:520px;
}

.product-thumb-grid{
    margin-top:16px;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:12px;
}

.product-thumb{
    border-radius:16px;
    overflow:hidden;
    background:#f3ede6;
    border:1px solid var(--border);
}

.product-thumb img{
    width:100%;
    height:100px;
    object-fit:cover;
}

.product-breadcrumb{
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--muted);
    font-size:14px;
    margin-bottom:16px;
    flex-wrap:wrap;
}

.product-show-title{
    font-size:38px;
    line-height:1.2;
    font-weight:800;
    color:var(--accent);
    margin-bottom:12px;
}

.product-show-short{
    font-size:17px;
    color:var(--muted);
    line-height:1.8;
    margin-bottom:18px;
}

.product-show-price{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:20px;
    flex-wrap:wrap;
}

.current-price{
    font-size:30px;
    font-weight:800;
    color:var(--primary);
}

.product-meta-box{
    border:1px solid var(--border);
    border-radius:18px;
    padding:14px 16px;
    margin-bottom:22px;
    background:#fcfaf7;
}

.meta-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid var(--border);
}

.meta-row:last-child{
    border-bottom:none;
}

.meta-row span{
    color:var(--muted);
}

.meta-row strong{
    color:var(--accent);
}

.add-to-cart-form{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-bottom:24px;
}

.qty-box{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.qty-box label{
    font-weight:700;
    color:var(--accent);
}

.qty-box input{
    width:120px;
    height:48px;
    border:1px solid var(--border);
    border-radius:14px;
    padding:0 14px;
    background:#fff;
}

.wide-btn{
    width:100%;
}

.product-description-box{
    border-top:1px solid var(--border);
    padding-top:20px;
}

.product-description-box h3{
    font-size:22px;
    margin-bottom:12px;
    color:var(--accent);
}

.product-description-content{
    color:var(--text);
    line-height:1.9;
    font-size:16px;
}

@media (max-width: 992px){
    .product-show-grid{
        grid-template-columns: 1fr;
    }

    .product-main-image,
    .large-fallback{
        min-height: 380px;
    }
}

@media (max-width: 640px){
    .product-show-page{
        padding: 0 14px 20px;
    }

    .product-show-title{
        font-size:28px;
    }

    .current-price{
        font-size:24px;
    }

    .product-thumb-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .product-thumb img{
        height:90px;
    }
}

.shop-page{
    width:100%;
}

.shop-filters-box{
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:20px;
    padding:18px;
    margin-bottom:22px;
}

.shop-filters-form{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:14px;
    align-items:end;
}

.filter-group{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.filter-group label{
    font-size:14px;
    font-weight:700;
    color:var(--accent);
}

.filter-group select,
.filter-group input{
    width:100%;
    height:48px;
    border:1px solid var(--border);
    border-radius:14px;
    padding:0 14px;
    background:#fff;
    color:var(--text);
    outline:none;
}

.filter-group select:focus,
.filter-group input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(91,74,46,.08);
}

.filter-search{
    grid-column:span 1;
}

.filter-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.btn-reset{
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 20px;
    border-radius:14px;
    border:1px solid var(--border);
    background:#fff;
    color:var(--accent);
    font-weight:700;
}

.shop-products-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:14px;
}

.shop-pagination{
    margin-top:24px;
    display:flex;
    justify-content:center;
}

@media (max-width: 1200px){
    .shop-products-grid{
        grid-template-columns:repeat(3, 1fr);
    }

    .shop-filters-form{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 992px){
    .shop-products-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 640px){
    .shop-filters-form{
        grid-template-columns:1fr;
    }

    .shop-products-grid{
        grid-template-columns:1fr 1fr;
        gap:12px;
    }
}

@media (max-width: 480px){
    .shop-products-grid{
        grid-template-columns:1fr;
    }
}

.cart-page{
    width:100%;
}

.cart-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:24px;
    flex-wrap:wrap;
}

.cart-title{
    font-size:34px;
    line-height:1.2;
    font-weight:800;
    color:var(--accent);
    margin:0 0 6px;
}

.cart-subtitle{
    margin:0;
    color:var(--muted);
    font-size:15px;
}

.cart-outline-btn{
    min-height:48px;
    padding:0 18px;
    border-radius:14px;
    border:1px solid #e4b7b7;
    background:#fff;
    color:#b94b4b;
    font-weight:700;
    cursor:pointer;
    transition:.25s ease;
}

.cart-outline-btn:hover{
    transform:translateY(-2px);
}

.cart-empty-box{
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:24px;
    padding:48px 24px;
    text-align:center;
    box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.cart-empty-icon{
    font-size:46px;
    margin-bottom:10px;
}

.cart-empty-box h3{
    font-size:28px;
    margin-bottom:8px;
    color:var(--accent);
}

.cart-empty-box p{
    color:var(--muted);
    margin-bottom:18px;
}

.cart-layout{
    display:grid;
    grid-template-columns:1.4fr .8fr;
    gap:22px;
    align-items:start;
}

.cart-items-card,
.cart-summary-card{
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:24px;
    box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.cart-items-card{
    padding:20px;
}

.cart-summary-card{
    padding:22px;
    position:sticky;
    top:18px;
}

.cart-summary-card h3{
    margin:0 0 18px;
    font-size:24px;
    color:var(--accent);
}

.cart-item{
    display:grid;
    grid-template-columns:92px 1.4fr .7fr .9fr .7fr 48px;
    gap:16px;
    align-items:center;
    padding:14px 0;
}

.cart-item.with-border{
    border-bottom:1px solid var(--border);
}

.cart-item-image img,
.cart-image-fallback{
    width:92px;
    height:92px;
    border-radius:18px;
    object-fit:cover;
    background:#f3ede6;
    border:1px solid var(--border);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--muted);
}

.cart-item-title{
    margin:0 0 6px;
    font-size:18px;
    font-weight:800;
    color:var(--accent);
    line-height:1.4;
}

.cart-item-meta{
    font-size:13px;
    color:var(--muted);
    margin-bottom:4px;
}

.cart-item-price,
.cart-item-total{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.cart-item-price .label,
.cart-item-total .label,
.cart-item-price-mobile .label{
    font-size:12px;
    color:var(--muted);
}

.cart-item-price strong,
.cart-item-total strong,
.cart-item-price-mobile strong{
    font-size:17px;
    color:var(--accent);
}

.cart-item-price-mobile{
    display:none;
    margin-top:12px;
}

.cart-item-qty label{
    display:block;
    font-size:12px;
    color:var(--muted);
    margin-bottom:8px;
}

.cart-qty-form{
    width:100%;
}

.cart-qty-controls{
    display:flex;
    align-items:center;
    gap:8px;
}

.cart-qty-controls input{
    width:100%;
    max-width:100px;
    height:44px;
    border:1px solid var(--border);
    border-radius:14px;
    padding:0 12px;
    background:#fff;
    color:var(--text);
    outline:none;
}

.cart-qty-controls input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(91,74,46,.08);
}

.cart-update-btn{
    width:44px;
    height:44px;
    border:none;
    border-radius:12px;
    background:#f5eee6;
    color:var(--accent);
    font-size:18px;
    cursor:pointer;
    transition:.25s ease;
}

.cart-update-btn:hover{
    transform:rotate(15deg);
}

.cart-item-remove{
    display:flex;
    justify-content:flex-end;
}

.cart-remove-btn{
    width:40px;
    height:40px;
    border:none;
    border-radius:12px;
    background:#fff2f2;
    color:#c54e4e;
    font-size:22px;
    line-height:1;
    cursor:pointer;
    transition:.25s ease;
}

.cart-remove-btn:hover{
    transform:scale(1.06);
}

.summary-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 0;
    color:var(--text);
}

.summary-row span{
    color:var(--muted);
}

.summary-row strong{
    color:var(--accent);
}

.summary-divider{
    height:1px;
    background:var(--border);
    margin:8px 0 6px;
}

.summary-row.total{
    padding-top:14px;
}

.summary-row.total span,
.summary-row.total strong{
    font-size:20px;
    font-weight:800;
    color:var(--accent);
}

.cart-checkout-btn{
    width:100%;
    margin-top:18px;
}

.cart-back-link{
    display:block;
    text-align:center;
    margin-top:14px;
    color:var(--muted);
    font-weight:700;
}

@media (max-width: 1100px){
    .cart-layout{
        grid-template-columns:1fr;
    }

    .cart-summary-card{
        position:static;
    }

    .cart-item{
        grid-template-columns:92px 1fr .9fr .9fr 48px;
    }

    .cart-item-price{
        display:none;
    }

    .cart-item-price-mobile{
        display:flex;
        flex-direction:column;
        gap:4px;
    }
}

@media (max-width: 768px){
    .cart-title{
        font-size:28px;
    }

    .cart-items-card,
    .cart-summary-card{
        padding:16px;
        border-radius:20px;
    }

    .cart-item{
        grid-template-columns:72px 1fr 44px;
        gap:12px;
        align-items:start;
    }

    .cart-item-image img,
    .cart-image-fallback{
        width:72px;
        height:72px;
        border-radius:14px;
    }

    .cart-item-details{
        grid-column:2 / 3;
    }

    .cart-item-qty{
        grid-column:2 / 3;
        margin-top:8px;
    }

    .cart-item-total{
        grid-column:2 / 3;
        margin-top:8px;
    }

    .cart-item-remove{
        grid-column:3 / 4;
        grid-row:1 / 2;
    }

    .cart-qty-controls input{
        max-width:88px;
    }
}

@media (max-width: 480px){
    .cart-header{
        align-items:flex-start;
    }

    .cart-title{
        font-size:24px;
    }

    .cart-empty-box{
        padding:36px 18px;
    }
}

.checkout-page{
    width:100%;
}

.checkout-layout{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:22px;
    align-items:start;
}

.checkout-form-card,
.checkout-coupon-card,
.checkout-summary-card{
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:24px;
    box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.checkout-form-card{
    padding:24px;
}

.checkout-card-head{
    margin-bottom:22px;
}

.checkout-card-head h2{
    margin:0 0 8px;
    font-size:32px;
    color:var(--accent);
    font-weight:800;
}

.checkout-card-head p{
    margin:0;
    color:var(--muted);
}

.checkout-form-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:16px;
}

.full-span{
    grid-column:1 / -1;
}

.checkout-field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.checkout-field label,
.map-title{
    font-size:14px;
    font-weight:700;
    color:var(--accent);
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea,
.checkout-coupon-form input{
    width:100%;
    border:1px solid var(--border);
    border-radius:14px;
    padding:0 14px;
    background:#fff;
    color:var(--text);
    outline:none;
    transition:.2s ease;
}

.checkout-field input,
.checkout-field select{
    height:50px;
}

.checkout-field textarea{
    min-height:96px;
    padding-top:14px;
    padding-bottom:14px;
    resize:vertical;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus,
.checkout-coupon-form input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(91,74,46,.08);
}

.is-invalid{
    border-color:#d9534f !important;
}

.field-error{
    color:#d9534f;
    font-size:12px;
}

.checkout-account-box{
    background:#fcfaf7;
    border:1px solid var(--border);
    border-radius:18px;
    padding:16px;
}

.checkout-account-title{
    font-size:16px;
    font-weight:800;
    color:var(--accent);
    margin-bottom:8px;
}

.checkout-account-line{
    color:var(--muted);
    font-size:14px;
    margin-bottom:4px;
}

.checkout-map-box{
    border:1px solid var(--border);
    border-radius:18px;
    padding:16px;
    background:#fcfaf7;
}

.checkout-map-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:12px 0 14px;
}

.checkout-soft-btn{
    min-height:44px;
    padding:0 16px;
    border-radius:12px;
    border:1px solid var(--border);
    background:#fff;
    color:var(--accent);
    font-weight:700;
    cursor:pointer;
    transition:.25s ease;
}

.checkout-soft-btn:hover{
    transform:translateY(-2px);
}

.primary-soft{
    border-color:rgba(91,74,46,.18);
    background:#f5eee6;
}

.checkout-map-wrapper{
    border:1px solid var(--border);
    border-radius:18px;
    overflow:hidden;
    margin-bottom:14px;
}

#checkoutMap{
    width:100%;
    height:350px;
}

.checkout-coords{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
}

.checkout-help-text{
    display:block;
    margin-top:10px;
    color:var(--muted);
    font-size:13px;
}

.checkout-submit-btn{
    width:100%;
    min-height:56px;
}

.checkout-summary-column{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.checkout-coupon-card,
.checkout-summary-card{
    padding:20px;
}

.checkout-coupon-card h3,
.checkout-summary-card h3{
    margin:0 0 16px;
    font-size:24px;
    color:var(--accent);
}

.checkout-coupon-form{
    display:flex;
    gap:10px;
    align-items:center;
}

.checkout-coupon-form input{
    height:48px;
}

.checkout-coupon-applied{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.coupon-code{
    font-size:18px;
    font-weight:800;
    color:var(--accent);
}

.coupon-ok{
    font-size:13px;
    color:#2d8a4b;
}

.danger-outline{
    color:#b94b4b;
    border-color:#e4b7b7;
}

.checkout-summary-item{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    padding:12px 0;
}

.checkout-summary-item.with-border{
    border-bottom:1px solid var(--border);
}

.summary-item-name{
    font-weight:800;
    color:var(--accent);
    margin-bottom:4px;
}

.summary-item-meta{
    color:var(--muted);
    font-size:13px;
    margin-bottom:2px;
}

@media (max-width: 1100px){
    .checkout-layout{
        grid-template-columns:1fr;
    }
}

@media (max-width: 768px){
    .checkout-form-grid,
    .checkout-coords{
        grid-template-columns:1fr;
    }

    .checkout-form-card,
    .checkout-coupon-card,
    .checkout-summary-card{
        padding:16px;
        border-radius:20px;
    }

    .checkout-card-head h2{
        font-size:26px;
    }

    .checkout-coupon-form{
        flex-direction:column;
        align-items:stretch;
    }

    .checkout-coupon-applied{
        flex-direction:column;
        align-items:flex-start;
    }
}

.auth-page{
    min-height:calc(100vh - 130px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 16px;
}

.auth-card{
    width:100%;
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:28px;
    padding:30px;
    box-shadow:0 14px 34px rgba(0,0,0,.05);
    position:relative;
    overflow:hidden;
}

.auth-card::before{
    content:"";
    position:absolute;
    inset:auto auto 0 0;
    width:140px;
    height:140px;
    background:radial-gradient(circle, rgba(91,74,46,.10) 0%, rgba(91,74,46,0) 70%);
    pointer-events:none;
}

.auth-card-wide{
    max-width:560px;
}

.auth-head{
    text-align:center;
    margin-bottom:24px;
    position:relative;
    z-index:1;
}

.auth-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 14px;
    border-radius:999px;
    background:#f5eee6;
    color:var(--primary);
    font-size:13px;
    font-weight:800;
    margin-bottom:12px;
}

.auth-head h2{
    font-size:30px;
    font-weight:800;
    color:var(--accent);
    margin:0 0 8px;
    line-height:1.2;
}

.auth-head p{
    color:var(--muted);
    font-size:14px;
    line-height:1.8;
    margin:0;
}

.auth-form{
    display:flex;
    flex-direction:column;
    gap:18px;
    position:relative;
    z-index:1;
}

.auth-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:16px;
}

.auth-field{
    display:flex;
    flex-direction:column;
    gap:7px;
}

.auth-field-full{
    grid-column:1 / -1;
}

.auth-field label{
    font-size:14px;
    font-weight:700;
    color:var(--accent);
}

.auth-field input{
    height:52px;
    border:1px solid var(--border);
    border-radius:16px;
    padding:0 15px;
    outline:none;
    background:#fff;
    color:var(--text);
    transition:.22s ease;
    font-size:15px;
}

.auth-field input::placeholder{
    color:#b0a79c;
}

.auth-field input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(91,74,46,.08);
}

.auth-row{
    display:flex;
    justify-content:flex-start;
    align-items:center;
}

.remember-box{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    color:var(--muted);
    cursor:pointer;
}

.remember-box input{
    width:16px;
    height:16px;
    accent-color:var(--primary);
}

.auth-btn{
    width:100%;
    min-height:54px;
    margin-top:2px;
    font-size:16px;
}

.auth-footer{
    text-align:center;
    margin-top:4px;
    font-size:14px;
    color:var(--muted);
}

.auth-footer a{
    color:var(--accent);
    font-weight:800;
    margin-right:6px;
}

@media (max-width: 640px){
    .auth-page{
        padding:24px 12px;
        align-items:flex-start;
    }

    .auth-card{
        padding:22px 18px;
        border-radius:22px;
    }

    .auth-head h2{
        font-size:24px;
    }

    .auth-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .auth-field input{
        height:50px;
    }
}

.account-page{
    width:100%;
}

.account-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:24px;
    flex-wrap:wrap;
}

.account-title{
    font-size:34px;
    line-height:1.2;
    font-weight:800;
    color:var(--accent);
    margin:0 0 6px;
}

.account-subtitle{
    margin:0;
    color:var(--muted);
    font-size:15px;
}

.account-header-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.account-outline-btn{
    min-height:48px;
    padding:0 18px;
    border-radius:14px;
    border:1px solid var(--border);
    background:#fff;
    color:var(--accent);
    font-weight:700;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:.25s ease;
}

.account-outline-btn:hover{
    transform:translateY(-2px);
}

.account-stats-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:14px;
    margin-bottom:22px;
}

.account-stat-card{
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:22px;
    padding:20px;
    box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.stat-label{
    color:var(--muted);
    font-size:13px;
    margin-bottom:10px;
}

.stat-value{
    font-size:30px;
    font-weight:800;
    color:var(--accent);
}

.stat-value.success{
    color:#2d8a4b;
}

.stat-value.warning{
    color:#d09a20;
}

.account-box{
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:24px;
    padding:22px;
    box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.account-box-head{
    margin-bottom:18px;
}

.account-box-head.between{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}

.account-box-head h3{
    margin:0;
    font-size:24px;
    color:var(--accent);
}

.account-table-wrap{
    overflow-x:auto;
}

.account-table{
    width:100%;
    border-collapse:collapse;
    min-width:760px;
}

.account-table thead th{
    background:#f8f4ef;
    color:var(--accent);
    font-size:14px;
    font-weight:800;
    padding:14px;
    text-align:center;
    border-bottom:1px solid var(--border);
}

.account-table tbody td{
    padding:14px;
    text-align:center;
    border-bottom:1px solid var(--border);
    color:var(--text);
}

.account-table tbody tr:last-child td{
    border-bottom:none;
}

.account-mini-btn{
    min-height:36px;
    padding:0 14px;
    border-radius:10px;
    border:1px solid var(--border);
    background:#fff;
    color:var(--accent);
    font-size:13px;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.empty-cell{
    color:var(--muted);
    padding:26px !important;
}

.account-form-wrap{
    max-width:860px;
    margin:0 auto;
}

.account-form-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:16px;
}

.account-field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.account-field label{
    font-size:14px;
    font-weight:700;
    color:var(--accent);
}

.account-field input{
    width:100%;
    height:50px;
    border:1px solid var(--border);
    border-radius:14px;
    padding:0 14px;
    background:#fff;
    color:var(--text);
    outline:none;
    transition:.2s ease;
}

.account-field input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(91,74,46,.08);
}

.account-field input:disabled{
    background:#f7f4f0;
    color:#8f8477;
}

.account-divider{
    height:1px;
    background:var(--border);
    margin:4px 0;
}

.account-save-btn{
    width:100%;
    min-height:54px;
}

@media (max-width: 1100px){
    .account-stats-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 768px){
    .account-title{
        font-size:28px;
    }

    .account-stats-grid{
        grid-template-columns:1fr;
    }

    .account-box{
        padding:16px;
        border-radius:20px;
    }

    .account-form-grid{
        grid-template-columns:1fr;
    }
}

.account-pagination-wrap{
    margin-top:18px;
    display:flex;
    justify-content:center;
}

.account-empty-state{
    text-align:center;
    padding:42px 20px;
}

.account-empty-icon{
    font-size:42px;
    margin-bottom:10px;
}

.account-empty-state h4{
    font-size:24px;
    color:var(--accent);
    margin-bottom:8px;
}

.account-empty-state p{
    color:var(--muted);
    margin-bottom:16px;
}

.order-status-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
}

.status-pending{
    background:#fff4db;
    color:#b7791f;
}

.status-confirmed{
    background:#e7f0ff;
    color:#2457c5;
}

.status-processing{
    background:#efe8ff;
    color:#6d3ccf;
}

.status-assigned{
    background:#e7f7ff;
    color:#0f7490;
}

.status-out_for_delivery{
    background:#e8fbef;
    color:#1f8f4d;
}

.status-delivered{
    background:#e7f8ec;
    color:#207a3b;
}

.status-cancelled{
    background:#fff0f0;
    color:#c34747;
}

.status-returned{
    background:#f3f4f6;
    color:#4b5563;
}

.order-show-layout{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:22px;
    align-items:start;
}

.order-show-side{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.order-show-badges{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.payment-badge{
    background:#eef2ff;
    color:#4338ca;
}

.order-log-item{
    padding:12px 0;
}

.order-log-item.with-border{
    border-bottom:1px solid var(--border);
}

.order-log-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:6px;
}

.order-log-top strong{
    color:var(--accent);
    font-size:15px;
}

.order-log-top span{
    color:var(--muted);
    font-size:12px;
}

.order-log-note{
    color:var(--muted);
    font-size:14px;
    line-height:1.8;
}

.order-address-box{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.order-address-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid var(--border);
}

.order-address-row:last-of-type{
    border-bottom:none;
}

.order-address-row span{
    color:var(--muted);
    font-size:14px;
}

.order-address-row strong{
    color:var(--accent);
    font-size:14px;
    text-align:left;
}

.order-address-note{
    margin-top:10px;
    padding:14px;
    border-radius:14px;
    background:#fcfaf7;
    border:1px solid var(--border);
    color:var(--text);
    line-height:1.8;
    font-size:14px;
}

.small-empty{
    padding:24px 12px;
}

.small-empty h4{
    font-size:20px;
}

@media (max-width: 1100px){
    .order-show-layout{
        grid-template-columns:1fr;
    }
}

@media (max-width: 768px){
    .order-log-top{
        flex-direction:column;
        align-items:flex-start;
    }

    .order-address-row{
        flex-direction:column;
    }
}

/* ===== PRODUCT PAGE ===== */

.product-show-page{
    padding:40px 0;
}

.product-show-wrap{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

.product-show-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:40px;
}

/* ===== GALLERY ===== */

.product-gallery-card{
    position:sticky;
    top:90px;
}

.product-main-image{
    width:100%;
    height:420px;
    border-radius:20px;
    overflow:hidden;
    background:#f7f7f7;
    display:flex;
    align-items:center;
    justify-content:center;
}

.product-main-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.3s ease;
}

/* Thumbnails */

.product-thumb-grid{
    display:flex;
    gap:10px;
    margin-top:12px;
    flex-wrap:wrap;
}

.product-thumb{
    width:70px;
    height:70px;
    border-radius:10px;
    overflow:hidden;
    border:1px solid #eee;
    cursor:pointer;
    transition:.2s;
}

.product-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.product-thumb:hover{
    transform:scale(1.05);
    border-color:#000;
}

/* ===== DETAILS ===== */

.product-details-card{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.product-breadcrumb{
    font-size:13px;
    color:#777;
}

.product-breadcrumb a{
    color:#333;
    text-decoration:none;
}

.product-show-title{
    font-size:28px;
    font-weight:800;
}

.product-show-short{
    color:#777;
    font-size:14px;
}

/* ===== PRICE ===== */

.product-show-price{
    display:flex;
    align-items:center;
    gap:12px;
}

.current-price{
    font-size:24px;
    font-weight:800;
    color:#000;
}

.old-price{
    font-size:16px;
    text-decoration:line-through;
    color:#aaa;
}

/* ===== META ===== */

.product-meta-box{
    border:1px solid #eee;
    border-radius:16px;
    padding:15px;
}

.meta-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:8px;
    font-size:14px;
}

.meta-row:last-child{
    margin-bottom:0;
}

/* ===== VARIANTS ===== */

.variant-section{
    border:1px solid #eee;
    border-radius:18px;
    padding:16px;
    background:#fafafa;
}

.variant-section-head h3{
    font-size:18px;
    margin-bottom:4px;
}

.variant-section-head p{
    font-size:13px;
    color:#777;
}

.variant-group{
    margin-top:12px;
}

.variant-label{
    display:block;
    font-size:14px;
    font-weight:600;
    margin-bottom:6px;
}

.variant-options{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.variant-option{
    padding:8px 14px;
    border-radius:10px;
    border:1px solid #ddd;
    background:#fff;
    cursor:pointer;
    font-weight:600;
    font-size:13px;
    transition:.2s;
}

.variant-option:hover{
    background:#000;
    color:#fff;
}

.variant-option.active{
    background:#000;
    color:#fff;
    border-color:#000;
}

.variant-option.disabled-option,
.variant-option:disabled{
    opacity:.4;
    cursor:not-allowed;
}

.variant-help{
    display:block;
    margin-top:10px;
    color:#777;
    font-size:13px;
}

/* ===== ADD TO CART ===== */

.product-actions{
    margin-top:10px;
}

.qty-box{
    margin-bottom:10px;
}

.qty-box input{
    width:100%;
    height:40px;
    border-radius:10px;
    border:1px solid #ddd;
    padding:0 10px;
}

.btn-primary{
    width:100%;
    height:45px;
    border:none;
    border-radius:12px;
    background:#000;
    color:#fff;
    font-weight:700;
    cursor:pointer;
    transition:.2s;
}

.btn-primary:hover{
    background:#333;
}

.btn-primary:disabled{
    opacity:.5;
    cursor:not-allowed;
}

/* ===== DESCRIPTION ===== */

.product-description-box{
    margin-top:20px;
    border-top:1px solid #eee;
    padding-top:20px;
}

.product-description-content{
    font-size:14px;
    color:#555;
    line-height:1.8;
}

@media(max-width:900px){
    .product-show-grid{
        grid-template-columns:1fr;
    }

    .product-gallery-card{
        position:static;
    }

    .product-main-image{
        height:300px;
    }
}

.hidden{
    display:none !important;
}

.mini-cart-wrapper{
    position:relative;
}

.mini-cart-dropdown{
    position:absolute;
    top:calc(100% + 14px);
    left:0;
    width:360px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:0 16px 40px rgba(0,0,0,.10);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:.25s ease;
    z-index:1000;
    overflow:hidden;
}

.mini-cart-dropdown.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.mini-cart-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:16px;
    border-bottom:1px solid var(--border);
    background:#fcfaf7;
}

.mini-cart-head h4{
    margin:0;
    font-size:16px;
    font-weight:800;
    color:var(--accent);
}

.mini-cart-head span{
    font-size:13px;
    color:var(--muted);
}

.mini-cart-body{
    max-height:320px;
    overflow:auto;
    padding:12px;
}

.mini-cart-item{
    display:flex;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid var(--border);
    position:relative;
}

.mini-cart-item:last-child{
    border-bottom:none;
}

.mini-cart-item-image{
    width:64px;
    height:64px;
    border-radius:12px;
    overflow:hidden;
    background:#f5f5f5;
    flex-shrink:0;
}

.mini-cart-item-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.mini-cart-image-fallback{
    width:100%;
    height:100%;
    background:#eee;
}

.mini-cart-item-info{
    flex:1;
    min-width:0;
}

.mini-cart-item-name{
    font-size:14px;
    font-weight:700;
    color:var(--accent);
    margin-bottom:4px;
    line-height:1.4;
}

.mini-cart-item-meta{
    font-size:12px;
    color:var(--muted);
    margin-bottom:3px;
}

.mini-cart-item-price{
    font-size:13px;
    font-weight:800;
    color:var(--accent);
    margin-top:4px;
}

.mini-cart-footer{
    border-top:1px solid var(--border);
    padding:14px 16px 16px;
    background:#fff;
}

.mini-cart-subtotal{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:12px;
}

.mini-cart-subtotal span{
    color:var(--muted);
    font-size:14px;
}

.mini-cart-subtotal strong{
    color:var(--accent);
    font-size:16px;
    font-weight:800;
}

.mini-cart-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.mini-cart-link-btn{
    height:42px;
    border:1px solid var(--border);
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--accent);
    font-weight:700;
    text-decoration:none;
    background:#fff;
}

.mini-cart-checkout-btn{
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.mini-cart-loading,
.mini-cart-error{
    text-align:center;
    padding:24px 12px;
    color:var(--muted);
    font-size:14px;
}

.mini-cart-empty{
    text-align:center;
    padding:28px 12px;
}

.mini-cart-empty-icon{
    font-size:30px;
    margin-bottom:8px;
}

.mini-cart-empty p{
    margin:0;
    color:var(--muted);
}

@media (max-width: 768px){
    .mini-cart-dropdown{
        width:320px;
        left:-20px;
    }
}

.mini-cart-remove-btn{
    width:28px;
    height:28px;
    border:none;
    border-radius:8px;
    background:#fff1f1;
    color:#c44747;
    font-size:18px;
    line-height:1;
    cursor:pointer;
    flex-shrink:0;
    transition:.2s ease;
    margin-right:auto;
}

.mini-cart-remove-btn:hover{
    transform:scale(1.06);
}

.mini-cart-qty-row{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:8px;
}

.mini-cart-qty-btn{
    width:26px;
    height:26px;
    border:none;
    border-radius:8px;
    background:#f5f5f5;
    color:var(--accent);
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    line-height:1;
    transition:.2s ease;
}

.mini-cart-qty-btn:hover{
    background:#ececec;
}

.mini-cart-qty-value{
    min-width:18px;
    text-align:center;
    font-size:13px;
    font-weight:700;
    color:var(--accent);
}

.wishlist-card{
    position:relative;
}

.wishlist-card-link{
    text-decoration:none;
    color:inherit;
    display:block;
}

.wishlist-remove-form{
    padding:0 14px 14px;
}

.wishlist-remove-btn{
    width:100%;
    height:40px;
    border:none;
    border-radius:10px;
    background:#fff1f1;
    color:#c44747;
    font-weight:700;
    cursor:pointer;
}

.product-card-with-actions{
    position:relative;
}

.product-card-link{
    display:block;
    text-decoration:none;
    color:inherit;
}

.wishlist-card-btn{
    position:absolute;
    top:12px;
    left:12px;
    z-index:3;
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.95);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    color:var(--accent);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:.2s ease;
}

.wishlist-card-btn:hover{
    transform:scale(1.06);
}

.wishlist-card-btn svg{
    width:18px;
    height:18px;
}

.wishlist-card-btn.active{
    background:#fff1f1;
    color:#c44747;
}

.wishlist-toggle-btn{
    position:absolute;
    top:12px;
    left:12px;
    z-index:10;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.95);
    color:var(--btn-bg);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
    transition:.25s ease;
}

.wishlist-toggle-btn svg{
    width:21px;
    height:21px;
    transition:.25s ease;
}

.wishlist-toggle-btn:hover{
    transform:scale(1.08);
}

.wishlist-toggle-btn.active{
    background:#fff1f1;
    color:#e63946;
}

.wishlist-toggle-btn.active svg{
    fill:#e63946;
    stroke:#e63946;
    animation:heartPop .35s ease;
}

.wishlist-toggle-btn.is-loading{
    opacity:.6;
    pointer-events:none;
}

@keyframes heartPop{
    0%{ transform:scale(1); }
    45%{ transform:scale(1.35); }
    100%{ transform:scale(1); }
}

.product-wishlist-wrap{
    position:relative;
    height:50px;
    margin-bottom:14px;
}

.product-show-wishlist-btn{
    position:static !important;
    width:48px;
    height:48px;
}

.owner-review-card{
    margin-top:22px;
    padding:22px;
    border-radius:22px;
    background:var(--card-bg);
    border:1px solid var(--border);
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.owner-review-label{
    font-size:13px;
    color:var(--primary);
    font-weight:700;
}

.owner-review-head h3{
    margin:0;
    color:var(--accent);
    font-size:19px;
    font-weight:800;
}

.owner-review-rating{
    min-width:68px;
    height:68px;
    border-radius:18px;
    background:var(--body-bg);
    border:1px solid var(--border);
    color:var(--primary);
    font-weight:900;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.owner-review-text{
    margin-top:16px;
    color:var(--text);
    line-height:1.9;
}

.owner-review-highlights{
    margin-top:16px;
    padding:14px;
    border-radius:14px;
    background:var(--body-bg);
    border-right:3px solid var(--primary);
}

.owner-review-highlights strong{
    color:var(--accent);
}

.owner-review-highlights p{
    margin-top:6px;
    color:var(--muted);
}

.owner-review-image-btn{
    border:1px solid var(--border);
    background:var(--card-bg);
    border-radius:14px;
    padding:4px;
}

.owner-review-image-btn img{
    width:82px;
    height:82px;
    object-fit:cover;
    border-radius:10px;
}

/* ===== FINAL MOBILE OVERRIDE ===== */

*,*::before,*::after{ border-radius:0 !important; }

/* ===== DESKTOP ===== */
.top-header{ position:sticky; top:0; z-index:120; background:var(--header-bg); }
.main-nav{ background:var(--header-bg); }
.hero-slider{ overflow:hidden; padding:0 28px; margin-bottom:28px; }
.hero-section{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    height:400px !important;
    overflow:hidden !important;
}
.hero-content{ display:flex !important; flex-direction:column !important; justify-content:center !important; padding:40px !important; height:400px !important; }
.hero-image{ height:400px !important; overflow:hidden !important; }
.hero-image img,.hero-placeholder{ width:100% !important; height:400px !important; object-fit:cover !important; display:block !important; }
.hero-arrow,.hero-dots{ display:none !important; }
.content-wrap{ padding:24px 28px 40px !important; max-width:1500px; margin:0 auto; }
.categories-grid{ display:grid; gap:14px !important; }
.category-card{ height:160px !important; overflow:hidden; }
.tabs-section{ display:grid !important; grid-template-columns:repeat(3,1fr) !important; gap:12px !important; margin-bottom:18px !important; }
.tab-btn{ height:auto !important; min-height:44px; padding:8px 14px; font-size:15px; font-weight:700; }
.tab-panel{ display:none; grid-template-columns:repeat(4,1fr); gap:14px; }
.tab-panel.active{ display:grid !important; }
.mobile-menu-btn,.mobile-side-overlay,.mobile-side-menu{ display:none; }

/* ===== MOBILE ===== */
@media(max-width:640px){

    /* HEADER */
    .top-header{
        display:grid !important;
        grid-template-columns:42px 1fr auto !important;
        grid-template-rows:auto auto !important;
        align-items:center !important;
        gap:6px 8px !important;
        padding:10px 12px 8px !important;
        position:sticky !important;
        top:0 !important;
        z-index:120 !important;
        background:var(--header-bg) !important;
    }

    .mobile-menu-btn{
        grid-column:1 !important; grid-row:1 !important;
        display:flex !important;
        width:38px !important; height:38px !important;
        align-items:center !important; justify-content:center !important;
        border:0 !important; background:transparent !important;
        color:var(--accent) !important; font-size:28px !important; cursor:pointer !important;
    }

    .brand-wrap{
        grid-column:2 !important; grid-row:1 !important;
        text-align:center !important; width:auto !important; min-width:0 !important;
    }

    .brand-text{ font-size:30px !important; letter-spacing:2px !important; line-height:1 !important; }
    .store-logo{ max-height:34px !important; margin:0 auto !important; }

    .header-icons{
        grid-column:3 !important; grid-row:1 !important;
        display:flex !important; align-items:center !important;
        justify-content:flex-end !important; gap:10px !important;
        flex-wrap:nowrap !important;
    }

    .header-icons .icon-btn{ width:28px !important; height:28px !important; min-width:28px !important; }
    .header-icons .icon-btn svg{ width:22px !important; height:22px !important; }
    .mini-cart-wrapper{ display:flex !important; flex-shrink:0 !important; }
    .cart-badge{ width:16px !important; height:16px !important; top:-8px !important; left:-6px !important; font-size:9px !important; }
    .logout-inline-form,.header-icons .logout-btn{ display:none !important; }

    .search-box{
        grid-column:1 / -1 !important; grid-row:2 !important;
        width:100% !important; max-width:100% !important;
        position:relative !important; margin-top:0 !important;
    }

    .search-box input{
        height:40px !important; width:100% !important;
        border-radius:0 !important; background:#fff !important;
        font-size:14px !important; padding:0 14px 0 48px !important;
    }

    .search-box button{
        position:absolute !important; left:0 !important; top:0 !important;
        transform:none !important; width:44px !important; height:40px !important;
        background:var(--btn-bg) !important; color:#fff !important;
        display:flex !important; align-items:center !important; justify-content:center !important;
    }

    /* NAV */
    .main-nav{
        display:flex !important;
        gap:22px !important; padding:10px 12px !important;
        overflow-x:auto !important; white-space:nowrap !important;
        background:var(--header-bg) !important;
        border-bottom:1px solid var(--border) !important;
        position:sticky !important; top:94px !important; z-index:110 !important;
    }
    .main-nav::-webkit-scrollbar{ display:none !important; }
    .nav-link{ font-size:15px !important; font-weight:800 !important; flex-shrink:0 !important; }

    /* SIDE MENU */
    .mobile-side-overlay{
        position:fixed !important; inset:0 !important;
        background:rgba(0,0,0,.38) !important; z-index:9998 !important; display:none !important;
    }
    .mobile-side-overlay.active{ display:block !important; }
    .mobile-side-menu{
        position:fixed !important; top:0 !important; left:-290px !important; right:auto !important;
        width:280px !important; max-width:85% !important; height:100vh !important;
        background:var(--card-bg) !important; z-index:9999 !important;
        display:flex !important; flex-direction:column !important;
        padding:18px !important; transition:.3s ease !important; overflow-y:auto !important;
        box-shadow:8px 0 30px rgba(0,0,0,.15) !important;
    }
    .mobile-side-menu.active{ left:0 !important; right:auto !important; }
    .side-menu-head{
        display:flex !important; justify-content:space-between !important; align-items:center !important;
        padding-bottom:12px !important; margin-bottom:8px !important;
        border-bottom:1px solid var(--border) !important;
        font-size:20px !important; font-weight:800 !important; color:var(--accent) !important;
    }
    .side-menu-head button{
        width:32px !important; height:32px !important; border:0 !important;
        border-radius:50% !important; background:#f5f0e8 !important;
        font-size:22px !important; cursor:pointer !important;
    }
    .mobile-side-menu a{
        padding:13px 0 !important; border-bottom:1px solid var(--border) !important;
        color:var(--accent) !important; font-size:16px !important; font-weight:700 !important;
    }

    /* HERO - FULL SCREEN */
    .hero-slider{ padding:0 !important; margin:0 !important; overflow:hidden !important; }

    .hero-section{
        display:block !important;
        position:relative !important;
        height:420px !important;
        min-height:420px !important;
        max-height:420px !important;
        overflow:hidden !important;
        background:#111 !important;
    }

    .hero-image{
        position:absolute !important;
        inset:0 !important;
        width:100% !important;
        height:100% !important;
        z-index:0 !important;
    }

    .hero-image img,
    .hero-placeholder{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
        display:block !important;
    }

    .hero-section::after{
        display:none !important;
        background:none !important;
        opacity:0 !important;
    }

    .hero-content{
        position:absolute !important;
        bottom:40px !important;
        right:20px !important;
        left:20px !important;
        top:auto !important;
        height:auto !important;
        min-height:0 !important;
        padding:0 !important;
        color:var(--btn-text) !important;
        z-index:2 !important;
        align-items:flex-start !important;
        justify-content:flex-end !important;
    }

    .hero-content h1{
        font-size:34px !important;
        font-weight:900 !important;
        color:var(--btn-text) !important;
        margin-bottom:8px !important;
        text-shadow:0 2px 10px rgba(0,0,0,.5) !important;
        line-height:1.2 !important;
    }

    .hero-content p{
        font-size:17px !important;
        color:var(--btn-text) !important;
        margin-bottom:16px !important;
        text-shadow:0 1px 6px rgba(0,0,0,.4) !important;
        opacity:1 !important;
    }

    .hero-content .btn-primary{
        background:var(--btn-bg) !important;
        color:var(--btn-text) !important;
        padding:12px 30px !important;
        font-size:16px !important;
        font-weight:900 !important;
        min-height:46px !important;
        width:auto !important;
        display:inline-flex !important;
    }

    /* CONTENT */
    .content-wrap{ padding:16px 12px 100px !important; background:#fff !important; }

    /* CATEGORIES */
    .categories-grid,
    .categories-grid-2,
    .categories-grid-3,
    .categories-grid-4,
    .categories-grid-5,
    .categories-grid-6{
        display:grid !important;
        grid-template-columns:repeat(3,1fr) !important;
        gap:8px !important;
        margin-bottom:16px !important;
    }

    .category-card{
        position:relative !important;
        height:125px !important;
        border-radius:0 !important; /* square tiles */
        overflow:hidden !important;
        background:#f5f5f5 !important;
    }

    .category-card img,
    .category-card .image-fallback{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }

    .category-card .overlay{ display:none !important; }

    /* TABS */
    .tabs-section{
        display:grid !important;
        grid-template-columns:repeat(3,1fr) !important;
        gap:5px !important;
        margin:12px 0 !important;
    }

    .tab-btn{
        height:28px !important; /* compact */
        font-size:11px !important;
        font-weight:600 !important;
        padding:0 6px !important;
        border-radius:0 !important;
        min-height:auto !important;
        background:#faf7f3 !important;
        color:var(--accent) !important;
        border:1px solid var(--border) !important;
    }

    .tab-btn.active{
        background:var(--btn-bg) !important;
        color:var(--btn-text) !important;
        border-color:var(--accent) !important;
    }

    /* PRODUCTS */
    .tab-panel{ display:none; grid-template-columns:repeat(2,1fr) !important; gap:10px !important; }
    .tab-panel.active{ display:grid !important; }
    .shop-products-grid{ grid-template-columns:repeat(2,1fr) !important; gap:10px !important; }

    .product-card{ border:1px solid #e5e7eb !important; box-shadow:none !important; }
    .product-info{ padding:8px !important; }
    .product-title{ font-size:13px !important; min-height:auto !important; margin-bottom:6px !important; }
    .sale-price{ font-size:14px !important; }
    .old-price{ font-size:12px !important; }

    .header-icons .logout-inline-form,
    .header-icons a[aria-label="login"],
    .header-icons a[aria-label="register"],
    .header-icons a[aria-label="account"]{
        display:none !important;
    }

    .search-box{
        visibility:hidden !important;
        pointer-events:none;
    }
}

/* ===== HOME PAGE BODY MOBILE OVERRIDE ===== */
@media(max-width:640px){

    body.home-page-body{
        background:#fff !important;
    }

    /* Header transparent over hero */
    body.home-page-body .top-header{
        position:absolute !important;
        top:0 !important; right:0 !important; left:0 !important;
        z-index:80 !important;
        background:transparent !important;
        border-bottom:1px solid rgba(255,255,255,.25) !important;
        grid-template-columns:42px 1fr auto !important;
        grid-template-rows:auto !important;
        padding:12px 14px !important;
    }

    /* Hide search on home */
    body.home-page-body .search-box{
        display:none !important;
    }

    /* White icons */
    body.home-page-body .icon-btn{
        color:var(--btn-text) !important;
    }

    body.home-page-body .icon-btn svg{
        stroke:var(--btn-text) !important;
    }

    body.home-page-body .brand-text{
        color:var(--btn-text) !important;
        text-shadow:0 2px 10px rgba(0,0,0,.4) !important;
    }

    body.home-page-body .store-logo{
        /* filter:brightness(0) invert(1) !important; */
    }

    body.home-page-body .mobile-menu-btn{
        color:var(--btn-text) !important;
    }

    /* Nav transparent over hero */
    body.home-page-body .main-nav{
        position:absolute !important;
        top:62px !important;
        right:0 !important; left:0 !important;
        z-index:79 !important;
        background:transparent !important;
        border-bottom:1px solid rgba(255,255,255,.25) !important;
        padding:10px 14px !important;
        justify-content:center !important;
    }

    body.home-page-body .nav-link{
        color:var(--btn-text) !important;
        text-shadow:0 1px 6px rgba(0,0,0,.4) !important;
        font-size:14px !important;
        font-weight:800 !important;
    }

    body.home-page-body .nav-link.active{
        border-bottom-color:#fff !important;
    }

    /* Hero starts at top of page */
    body.home-page-body .hero-slider{
        margin-top:0 !important;
        padding:0 !important;
    }

    body.home-page-body .hero-section{
        height:480px !important;
        min-height:480px !important;
        max-height:480px !important;
    }

    /* Content after hero */
    body.home-page-body .content-wrap{
        padding:16px 12px 100px !important;
        background:#fff !important;
        margin-top:0 !important;
    }

    /* Hide category section heading */
    body.home-page-body .section-title{
        display:none !important;
    }

    body.home-page-body .section-head{
        display:none !important;
    }

    /* Bottom nav */
    body.home-page-body .mobile-bottom-nav{
        display:flex !important;
    }

    body.home-page-body .page-wrapper{
        padding-bottom:0 !important;
    }
}

.hero-section::before,
.hero-slide::before,
.hero-slider::before,
.hero-image::before{
    display:none !important;
    background:transparent !important;
    opacity:0 !important;
}

.hero-section{
    background-image:none !important;
    box-shadow:none !important;
}

.category-card,
.product-card{
    border: none !important;
}

/* Uniform spacing between all sections */
.content-wrap > section{
    margin: 0 0 8px 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.content-wrap > section:last-child{
    margin-bottom: 8px !important;
}

/* =========================================================
   FINAL COLOR FIX
   Forces both desktop and mobile to use the same CSS
   variables defined in the layout settings.
   Keep this block last in home.css.
========================================================= */

/* Base backgrounds / text */
html,
body,
.page-wrapper,
.home-page,
.content-wrap,
.main-nav{
    background:var(--body-bg) !important;
    color:var(--text) !important;
}

.top-header{
    background:var(--header-bg) !important;
}

.brand-text,
.nav-link,
.nav-link.active,
.section-title,
.product-title,
.product-show-title,
.cart-title,
.account-title,
.checkout-card-head h2,
.auth-head h2,
.mobile-side-menu a,
.side-menu-head{
    color:var(--accent) !important;
}

.product-show-short,
.old-price,
.cart-subtitle,
.account-subtitle,
.summary-row span,
.product-breadcrumb,
.product-breadcrumb a,
.product-description-content,
.variant-section-head p,
.variant-help,
.mini-cart-head span,
.mini-cart-item-meta,
.mini-cart-subtotal span{
    color:var(--muted) !important;
}

.search-box input,
input,
textarea,
select,
.checkout-field input,
.checkout-field select,
.checkout-field textarea,
.checkout-coupon-form input,
.auth-field input,
.account-field input,
.filter-group select,
.filter-group input,
.qty-box input,
.cart-qty-controls input{
    background:var(--card-bg) !important;
    color:var(--text) !important;
    border-color:var(--border) !important;
}

.search-box button{
    background:var(--btn-bg) !important;
    color:var(--btn-text) !important;
    border-color:var(--btn-bg) !important;
}

.btn-primary,
.btn-primary:disabled,
.cart-checkout-btn,
.checkout-submit-btn,
.mini-cart-checkout-btn,
.tab-btn.active,
.variant-option.active,
.variant-option:hover{
    background:var(--btn-bg) !important;
    color:var(--btn-text) !important;
    border-color:var(--btn-bg) !important;
}

.tab-btn,
.variant-option,
.checkout-soft-btn,
.account-outline-btn,
.account-mini-btn,
.btn-reset,
.mini-cart-link-btn{
    background:var(--card-bg) !important;
    color:var(--accent) !important;
    border-color:var(--border) !important;
}

.product-card,
.category-card,
.auth-card,
.account-box,
.account-stat-card,
.cart-items-card,
.cart-summary-card,
.cart-empty-box,
.checkout-form-card,
.checkout-coupon-card,
.checkout-summary-card,
.product-gallery-card,
.product-details-card,
.product-meta-box,
.variant-section,
.mini-cart-dropdown,
.mini-cart-footer,
.checkout-account-box,
.checkout-map-box,
.order-address-note{
    background:var(--card-bg) !important;
    border-color:var(--border) !important;
}

.sale-price,
.current-price,
.product-price strong,
.cart-item-price strong,
.cart-item-total strong,
.summary-row strong,
.mini-cart-subtotal strong,
.mini-cart-item-price{
    color:var(--btn-bg) !important;
}

.icon-btn,
.mobile-menu-btn,
.bottom-icon{
    color:var(--accent) !important;
}

.cart-badge{
    background:var(--btn-bg) !important;
    color:var(--btn-text) !important;
}

.hero-section{
    background:var(--hero-bg) !important;
    color:var(--hero-text) !important;
}

.hero-content h1,
.hero-content p{
    color:var(--btn-text) !important;
}

.mobile-bottom-nav{
    background:var(--bottom-nav-bg) !important;
    border-top-color:var(--border) !important;
}

.bottom-item{
    color:var(--bottom-nav-text) !important;
}

.bottom-item.active{
    color:var(--bottom-nav-active) !important;
}

.mobile-side-menu{
    background:var(--card-bg) !important;
    color:var(--text) !important;
}

.mobile-side-menu a,
.mobile-side-menu hr,
.side-menu-head{
    border-color:var(--border) !important;
}

.side-menu-head button,
.mobile-logout-btn{
    background:var(--card-bg) !important;
    color:var(--accent) !important;
    border-color:var(--border) !important;
}

.product-main-image,
.product-image-wrap,
.image-fallback,
.mini-cart-item-image,
.mini-cart-image-fallback{
    background:var(--card-bg) !important;
}

.product-thumb,
.product-main-image,
.checkout-map-wrapper{
    border-color:var(--border) !important;
}

.variant-option.disabled-option,
.variant-option:disabled{
    background:var(--card-bg) !important;
    color:var(--muted) !important;
    border-color:var(--border) !important;
}

@media (max-width:640px){

    html,
    body,
    .page-wrapper,
    .home-page,
    .content-wrap,
    .main-nav{
        background:var(--body-bg) !important;
        color:var(--text) !important;
    }

    .top-header{
        background:var(--header-bg) !important;
    }

    .search-box input{
        background:var(--card-bg) !important;
        color:var(--text) !important;
        border-color:var(--border) !important;
    }

    .search-box button{
        background:var(--btn-bg) !important;
        color:var(--btn-text) !important;
        border-color:var(--btn-bg) !important;
    }

    .btn-primary,
    .tab-btn.active,
    .mini-cart-checkout-btn,
    .cart-checkout-btn,
    .checkout-submit-btn{
        background:var(--btn-bg) !important;
        color:var(--btn-text) !important;
        border-color:var(--btn-bg) !important;
    }

    .tab-btn{
        background:var(--card-bg) !important;
        color:var(--accent) !important;
        border-color:var(--border) !important;
    }

    .product-card,
    .category-card,
    .auth-card,
    .account-box,
    .cart-items-card,
    .cart-summary-card,
    .checkout-form-card,
    .checkout-summary-card{
        background:var(--card-bg) !important;
        border-color:var(--border) !important;
    }

    .brand-text,
    .nav-link,
    .section-title,
    .product-title,
    .bottom-icon,
    .icon-btn{
        color:var(--accent) !important;
    }

    .sale-price,
    .current-price{
        color:var(--btn-bg) !important;
    }

    .mobile-bottom-nav{
        background:var(--bottom-nav-bg) !important;
        border-top-color:var(--border) !important;
    }

    .bottom-item{
        color:var(--bottom-nav-text) !important;
    }

    .bottom-item.active{
        color:var(--bottom-nav-active) !important;
    }
}
.category-card span {
    right: auto !important;
    left: 10px !important;
    text-align: left !important;
}
 
/* ── Promo block content: LEFT side (desktop) ── */
.promo-content {
    right: auto !important;
    left: 34px !important;
    text-align: left !important;
}
 
/* ── Promo block content: LEFT side (mobile) ── */
@media (max-width: 640px) {
    .promo-content {
        right: auto !important;
        left: 20px !important;
        text-align: left !important;
    }
}

/* =====================================================
   home-fixes.css
   Add this file AFTER home.css in app.blade.php:
   <link rel="stylesheet" href="{{ asset('assets/frontend/css/home-fixes.css') }}">
   ===================================================== */

/* ── Category & sub-category card label: bottom-LEFT ── */
.category-card span {
    right: auto !important;
    left: 10px !important;
    text-align: left !important;
}

/* ── Promo block content: LEFT side (desktop) ── */
.promo-content {
    right: auto !important;
    left: 34px !important;
    text-align: left !important;
}

/* ── Promo block content: LEFT side (mobile) ── */
@media (max-width: 640px) {
    .promo-content {
        right: auto !important;
        left: 20px !important;
        text-align: left !important;
    }
}

/* ===== REMOVE ALL BORDERS SITE-WIDE ===== */
*,
*::before,
*::after {
    border-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Keep borders that are structural / layout-critical */
.search-box input,
.checkout-field input,
.checkout-field select,
.checkout-field textarea,
.auth-field input,
.account-field input,
.filter-group select,
.filter-group input,
.qty-box input,
.cart-qty-controls input,
.checkout-coupon-form input {
    border: 1.5px solid var(--border) !important;
}

.search-box input:focus,
.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus,
.auth-field input:focus,
.account-field input:focus,
.filter-group select:focus,
.filter-group input:focus,
.cart-qty-controls input:focus {
    border-color: var(--btn-bg) !important;
}
/* ===== LOGO SIZE FIX ===== */
.store-logo {
    max-height: 54px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 640px) {
    .store-logo {
        max-height: 44px !important;
        width: auto !important;
        margin: 0 auto !important;
    }

    body.home-page-body .store-logo {
        max-height: 48px !important;
    }
}