/*
Theme Name: MASB Shop
Theme URI: https://example.com
Author: MASB
Author URI: https://example.com
Description: Custom WooCommerce Theme
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: masb-theme
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f5f5;
    color:#222;
    line-height:1.6;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

.container{
    width:100%;
    max-width:1400px;
    margin:auto;
    padding:0 20px;
}

button,
input,
select,
textarea{
    font-family:inherit;
    outline:none;
}

button{
    cursor:pointer;
}

.section{
    padding:60px 0;
}

.text-center{
    text-align:center;
}

.hidden{
    display:none;
}

.site-header{
    width:100%;
    background:#ffffff;
    border-bottom:1px solid #e5e5e5;
}

.site-main{
    min-height:600px;
}

.site-footer{
    background:#111;
    color:#fff;
    padding:60px 0;
}

@media(max-width:992px){

.container{
    padding:0 15px;
}

.section{
    padding:40px 0;
}

}

@media(max-width:768px){

body{
    font-size:15px;
}

}

@media(max-width:480px){

.container{
    padding:0 12px;
}

}
/* ===========================
   HEADER
=========================== */

.top-bar{
    background:#e53935;
    color:#fff;
    font-size:14px;
}

.top-bar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:42px;
}

.top-right{
    display:flex;
    gap:20px;
}

.top-right a{
    color:#fff;
    transition:.3s;
}

.top-right a:hover{
    opacity:.8;
}

.main-header{
    background:#ffffff;
    padding:18px 0;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.header-flex{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.logo h2{
    color:#e53935;
    font-size:32px;
    font-weight:800;
}

.search-box{
    flex:1;
}

.search-box form{
    display:flex;
}

.search-box input{
    width:100%;
    height:50px;
    border:2px solid #e53935;
    border-right:none;
    padding:0 18px;
    font-size:16px;
    border-radius:6px 0 0 6px;
}

.search-box button{
    width:130px;
    background:#e53935;
    color:#fff;
    border:none;
    font-size:16px;
    border-radius:0 6px 6px 0;
    transition:.3s;
}

.search-box button:hover{
    background:#c62828;
}

.header-icons{
    display:flex;
    gap:25px;
    font-weight:600;
}

.header-icons a{
    color:#222;
}

.main-menu{
    background:#ffffff;
    border-top:1px solid #ececec;
    border-bottom:1px solid #ececec;
}

.menu{
    display:flex;
    gap:35px;
    height:55px;
    align-items:center;
}

.menu li{
    list-style:none;
}

.menu li a{
    color:#222;
    font-weight:600;
    transition:.3s;
}

.menu li a:hover{
    color:#e53935;
}

@media(max-width:991px){

.header-flex{
    flex-direction:column;
}

.menu{
    flex-wrap:wrap;
    height:auto;
    padding:15px 0;
}

}

@media(max-width:768px){

.top-bar .container{
    flex-direction:column;
    height:auto;
    padding:10px 0;
}

.top-right{
    margin-top:8px;
}

.search-box button{
    width:90px;
}

.logo h2{
    font-size:26px;
}

}
.hero{

padding:70px 0;

background:#f5f5f5;

}

.hero-grid{

display:grid;

grid-template-columns:1fr 1fr;

align-items:center;

gap:60px;

}

.hero-tag{

display:inline-block;

background:#e53935;

color:#fff;

padding:8px 18px;

border-radius:50px;

margin-bottom:20px;

}

.hero h1{

font-size:56px;

line-height:1.2;

margin-bottom:20px;

}

.hero p{

font-size:18px;

margin-bottom:30px;

color:#555;

}

.hero-btn{

display:inline-block;

padding:15px 35px;

background:#e53935;

color:#fff;

border-radius:6px;

font-weight:700;

}

.hero-right img{

width:100%;

border-radius:20px;

}

.features{

padding:60px 0;

background:#fff;

}

.feature-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:20px;

}

.feature-box{

background:#fff;

padding:30px;

border-radius:10px;

box-shadow:0 5px 15px rgba(0,0,0,.08);

text-align:center;

}

@media(max-width:991px){

.hero-grid{

grid-template-columns:1fr;

}

.feature-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.hero h1{

font-size:36px;

}

.feature-grid{

grid-template-columns:1fr;

}

}
.categories{

padding:80px 0;

background:#fff;

}

.section-title{

font-size:34px;

margin-bottom:40px;

font-weight:700;

text-align:center;

}

.category-grid{

display:grid;

grid-template-columns:repeat(6,1fr);

gap:25px;

}

.category-card{

background:#fff;

border-radius:12px;

overflow:hidden;

box-shadow:0 8px 25px rgba(0,0,0,.08);

transition:.3s;

cursor:pointer;

text-align:center;

padding-bottom:20px;

}

.category-card:hover{

transform:translateY(-8px);

}

.category-card img{

width:100%;

display:block;

}

.category-card h3{

padding-top:18px;

font-size:18px;

}

@media(max-width:991px){

.category-grid{

grid-template-columns:repeat(3,1fr);

}

}

@media(max-width:768px){

.category-grid{

grid-template-columns:repeat(2,1fr);

}

}
.featured-products{
padding:80px 0;
background:#f8f8f8;
}

.product-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.product-card{
background:#fff;
border-radius:12px;
overflow:hidden;
box-shadow:0 8px 25px rgba(0,0,0,.08);
transition:.3s;
text-align:center;
padding-bottom:25px;
}

.product-card:hover{
transform:translateY(-8px);
}

.product-card img{
width:100%;
display:block;
}

.product-card h3{
font-size:20px;
margin:20px 0 10px;
}

.price{
font-size:24px;
font-weight:700;
color:#e53935;
margin-bottom:20px;
}

.buy-btn{
display:inline-block;
padding:12px 28px;
background:#e53935;
color:#fff;
border-radius:6px;
text-decoration:none;
}

.buy-btn:hover{
background:#c62828;
}

@media(max-width:991px){
.product-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:768px){
.product-grid{
grid-template-columns:1fr;
}
}
.product-card .button{
display:inline-block;
margin-top:15px;
padding:12px 22px;
background:#e53935;
color:#fff;
border-radius:6px;
font-size:15px;
font-weight:600;
text-decoration:none;
}

.product-card .button:hover{
background:#c62828;
}

.woocommerce ul.products,
.woocommerce-page ul.products{
display:none;
}
.custom-logo{
    max-height:60px;
    width:auto;
    display:block;
}

.logo img{
    display:block;
}
.social-icons{
    display:flex;
    gap:15px;
}

.social-icons a{
    font-size:14px;
    font-weight:600;
}

.social-icons a:hover{
    color:#e53935;
}
.cart-count{

display:inline-flex;

align-items:center;

justify-content:center;

width:20px;

height:20px;

background:#ff3b30;

color:#fff;

border-radius:50%;

font-size:11px;

margin-left:6px;

font-weight:bold;

}

.header-icons{

display:flex;

align-items:center;

gap:20px;

}

.header-icons a{

font-weight:600;

position:relative;

}
.search-box form{
display:flex;
align-items:center;
}

.search-box input{
width:100%;
height:46px;
padding:0 15px;
border:1px solid #ddd;
border-right:none;
outline:none;
border-radius:6px 0 0 6px;
}

.search-box button{
width:55px;
height:46px;
border:none;
background:#ff4d2d;
color:#fff;
cursor:pointer;
border-radius:0 6px 6px 0;
}

.search-box button:hover{
background:#e63b1a;
}
.top-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

body{
    padding-top: 155px;
}
/*=========================
 MOBILE BOTTOM NAV
==========================*/

.mobile-bottom-nav{
    position:fixed;
    left:0;
    bottom:0;
    width:100%;
    height:68px;
    background:#fff;
    display:none;
    justify-content:space-around;
    align-items:center;
    box-shadow:0 -3px 18px rgba(0,0,0,.12);
    z-index:999999;
}

.mobile-nav-item{
    flex:1;
    text-align:center;
    color:#666;
    text-decoration:none;
    transition:.30s;
}

.mobile-nav-item i{
    display:block;
    font-size:23px;
    margin-bottom:5px;
    transition:.30s;
}

.mobile-nav-item span{
    display:block;
    font-size:12px;
    font-weight:600;
}

.mobile-nav-item:hover i{
    transform:translateY(-5px) scale(1.12);
}

.mobile-nav-item.active{
    color:#ff3b30;
}

.mobile-nav-item.active i{
    animation:bounce .45s;
}

@keyframes bounce{

0%{
transform:scale(.8);
}

50%{
transform:scale(1.25);
}

100%{
transform:scale(1);
}

}

@media(max-width:768px){

.mobile-bottom-nav{
display:flex;
}

body{
padding-bottom:75px;
}

}
.mobile-cart-count{
position:absolute;
top:6px;
right:18px;
min-width:18px;
height:18px;
padding:0 5px;
background:#ff3b30;
color:#fff;
font-size:10px;
font-weight:700;
border-radius:20px;
display:flex;
align-items:center;
justify-content:center;
}

.mobile-nav-item{
position:relative;
}
.mobile-nav-item{
overflow:hidden;
}

.mobile-nav-item::after{

content:"";

position:absolute;

width:10px;

height:10px;

left:50%;

top:50%;

background:rgba(255,59,48,.20);

border-radius:50%;

transform:translate(-50%,-50%) scale(0);

transition:.45s;

}

.mobile-nav-item:active::after{

transform:translate(-50%,-50%) scale(12);

opacity:0;

}

.mobile-nav-item i{

transition:.30s;

}

.mobile-nav-item:hover i{

transform:translateY(-5px);

}

.mobile-nav-item.active i{

color:#ff3b30;

transform:translateY(-5px) scale(1.15);

}
.mobile-bottom-nav{
    transition:transform .35s ease;
}
.mobile-bottom-nav{

backdrop-filter:blur(18px);

-webkit-backdrop-filter:blur(18px);

background:rgba(255,255,255,.82);

border-top:1px solid rgba(255,255,255,.35);

box-shadow:0 -8px 35px rgba(0,0,0,.12);

}

.mobile-nav-item{

border-radius:14px;

padding:8px 0;

transition:all .30s ease;

}

.mobile-nav-item.active{

background:rgba(255,59,48,.12);

}

.mobile-nav-item.active::before{

content:"";

position:absolute;

top:4px;

left:50%;

transform:translateX(-50%);

width:24px;

height:4px;

background:#ff3b30;

border-radius:30px;

}
/* ===== Remove Top Gap ===== */

body{
    margin:0 !important;
    padding:0 !important;
}

.masb-header{
    margin:0 !important;
}

.hero{
    margin-top:0 !important;
    padding-top:0 !important;
}

.container{
    margin-top:0 !important;
}

main,
.site,
.site-content,
.content-area{
    margin-top:0 !important;
    padding-top:0 !important;
}