/*
Theme Name: FitPro Digital Pro
Author: Ashish Gupta
Version: 1.0
Description: Premium WooCommerce Elementor theme for fitness equipment store
Text Domain: fitpro-digital-pro
*/

:root{
  --blue:#006bff;
  --dark:#003b8f;
  --light:#f4f7fb;
  --white:#fff;
  --red:#e53935;
  --text:#111827;
}

body{
  margin:0;
  background:var(--light);
  font-family:Arial, sans-serif;
  color:var(--text);
}

a{text-decoration:none;color:inherit}

.topbar{
  background:#002f73;
  color:white;
  padding:8px 30px;
  font-size:13px;
  display:flex;
  justify-content:flex-end;
  gap:22px;
}

.main-header{
  background:linear-gradient(90deg,var(--dark),var(--blue));
  padding:14px 30px;
  display:grid;
  grid-template-columns:220px 1fr 220px;
  gap:20px;
  align-items:center;
  color:white;
}

.logo{
  font-size:26px;
  font-weight:900;
}

.search-box input{
  width:100%;
  padding:14px 22px;
  border-radius:35px;
  border:none;
  font-size:15px;
}

.header-icons{
  display:flex;
  justify-content:flex-end;
  gap:18px;
  font-weight:700;
}

.cat-nav{
  background:#fff;
  padding:14px 30px;
  display:flex;
  gap:25px;
  overflow:auto;
  box-shadow:0 3px 12px rgba(0,0,0,.08);
  font-weight:800;
}

.container{
  max-width:1250px;
  margin:auto;
  padding:22px;
}

.hero{
  background:linear-gradient(120deg,#003b8f,#008cff);
  border-radius:26px;
  padding:45px;
  color:white;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  margin-bottom:25px;
}

.hero h1{
  font-size:44px;
  font-weight:900;
  margin:0 0 12px;
}

.hero p{
  font-size:18px;
}

.btn{
  display:inline-block;
  background:white;
  color:#006bff;
  padding:14px 30px;
  border-radius:35px;
  font-weight:900;
}

.hero img{
  max-width:430px;
  width:100%;
}

.section-title{
  font-size:24px;
  font-weight:900;
  margin:28px 0 16px;
}

.category-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:16px;
}

.cat-card{
  background:white;
  border-radius:20px;
  padding:18px;
  text-align:center;
  box-shadow:0 4px 16px rgba(0,0,0,.08);
  font-weight:800;
}

.cat-card img{
  height:85px;
  width:100%;
  object-fit:contain;
  margin-bottom:10px;
}

.offer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.offer-card{
  background:white;
  border-radius:20px;
  padding:24px;
  font-size:19px;
  font-weight:900;
  color:#003b8f;
  box-shadow:0 4px 16px rgba(0,0,0,.08);
}

.products .product{
  background:white!important;
  border-radius:20px!important;
  padding:15px!important;
  box-shadow:0 4px 16px rgba(0,0,0,.08)!important;
  transition:.25s;
}

.products .product:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 28px rgba(0,0,0,.16)!important;
}

.products .product img{
  height:230px!important;
  width:100%!important;
  object-fit:contain!important;
  padding:10px;
}

.woocommerce-loop-product__title{
  font-size:15px!important;
  font-weight:900!important;
  min-height:45px;
  line-height:1.4!important;
}

.price{
  color:var(--red)!important;
  font-size:18px!important;
  font-weight:900!important;
}

.button,
.add_to_cart_button,
.single_add_to_cart_button,
.checkout-button{
  background:linear-gradient(90deg,var(--blue),var(--dark))!important;
  color:white!important;
  border:none!important;
  border-radius:30px!important;
  padding:12px 22px!important;
  font-weight:900!important;
}

.shop-layout{
  display:grid;
  grid-template-columns:270px 1fr;
  gap:25px;
}

.sidebar,
.widget{
  background:white;
  border-radius:20px;
  padding:18px;
  box-shadow:0 4px 16px rgba(0,0,0,.08);
  margin-bottom:18px;
}

.single-product .product{
  background:white;
  border-radius:24px;
  padding:25px;
  box-shadow:0 4px 18px rgba(0,0,0,.08);
}

.single-product .product_title{
  font-size:30px!important;
  font-weight:900!important;
}

footer{
  background:#002f73;
  color:white;
  margin-top:40px;
  padding:35px 30px;
  text-align:center;
}

@media(max-width:768px){
  .main-header{
    grid-template-columns:1fr;
  }

  .hero{
    flex-direction:column;
    text-align:center;
    padding:30px 20px;
  }

  .hero h1{
    font-size:30px;
  }

  .category-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .offer-grid,
  .shop-layout{
    grid-template-columns:1fr;
  }

  .products .product img{
    height:170px!important;
  }
}