*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Segoe UI', sans-serif;
  background:#f4f4f4;
  color:#111;
  padding-top:80px;
}


.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 60px;
  background:#ffffff;
  position:fixed;
  top:0;
  width:100%;
  z-index:999;
  box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

.logo{
  font-size:26px;
  font-weight:bold;
  letter-spacing:2px;
  color:#000;
}

.navbar ul{
  display:flex;
  gap:30px;
  list-style:none;
}

.navbar ul li a{
  text-decoration:none;
  color:#000;
  font-size:15px;
  font-weight:500;
  transition:0.3s;
}

.navbar ul li a:hover{
  color:#1428a0;
}

.navbar ul li a.active{
  color:#1428a0;
  font-weight:600;
}

.nav-icons{
  display:flex;
  gap:18px;
  font-size:18px;
  cursor:pointer;
}

/* HERO SECTION */

.hero{
height:420px;
background-image:url("images/hero.png"); 
background-size:cover;
background-position:center;
display:flex;
align-items:center;
padding-left:80px;
color:#fff;
position:relative;
margin-bottom:0;
}

.hero + .categories{
margin-top:-10px;
}

.hero::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
}

.hero-content{
position:relative;
max-width:500px;
}

.hero-content h1{
font-size:48px;
margin-bottom:15px;
}

.hero-content p{
font-size:18px;
color:#ddd;
margin-bottom:20px;
}

.shop-btn{
display:inline-block;
background:#fff;
color:#000;
padding:12px 25px;
border-radius:30px;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.shop-btn:hover{
background:#1428a0;
color:#fff;
}


.shop{
  padding:50px 60px;
  background:#f4f4f4;
}

.shop-title{
  text-align:center;
  font-size:42px;
  margin-bottom:40px;
  letter-spacing:2px;
}

/* SEARCH BOX */

.search-box{
  margin:auto;
  margin-bottom:50px;
  background:#fff;
  padding:10px 18px;
  border-radius:40px;
  display:flex;
  align-items:center;
  width:380px;
  border:1px solid #e5e5e5;
}

.search-box input{
  border:none;
  outline:none;
  flex:1;
  font-size:15px;
  background:transparent;
}

.search-box button{
  border:none;
  background:#1428a0;
  color:#fff;
  padding:10px 22px;
  border-radius:30px;
  cursor:pointer;
}

/* PRODUCT GRID */

.product-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:25px;
}

/* PRODUCT CARD */

.product-card{
  background:#fff;
  padding:20px;
  border-radius:20px;
  border:1px solid #eee;
  position:relative;
  transition:all 0.35s ease;
  cursor:pointer;
}

.product-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 40px rgba(0,0,0,0.08);
}

/* PRODUCT IMAGE */

.product-card img{
  width:100%;
  height:200px;
  object-fit:contain;
  background:#f7f7f7;
  padding:25px;
  border-radius:14px;
  margin-bottom:18px;
}
/* TEXT */

.product-card h3{
  font-size:17px;
  font-weight:600;
  margin-bottom:8px;
  text-decoration:none;
}

.price{
  font-size:18px;
  font-weight:600;
  color:#000;
}

.product-card p{
  color:#777;
  margin-bottom:12px;
}

/* BUTTON */

.nav-search input{
width:260px;        /* size bada */
padding:8px 14px;
border-radius:25px; /* round shape */
border:1px solid #ccc;
outline:none;
font-size:14px;
transition:0.3s;
}

.nav-search input:focus{
border-color:#007bff;
box-shadow:0 0 5px rgba(0,123,255,0.3);
}

.product-card button{
  padding:12px 22px;
  border:none;
  background:#000;
  color:#fff;
  border-radius:30px;
  cursor:pointer;
  transition:0.3s;
}

.product-card button:hover{
  background:#1428a0;
}

.categories{
padding:30px 60px 20px 60px;
background:#f4f4f4;
}

.category-card h3{
    font-size:16px !important;
    line-height:1.2;
}

.category-card p{
    font-size:14px !important;
}

/* GRID */

.category-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
margin-top:25px;
}
/* CATEGORY CARD */

.category-card{
  min-width:120px !important;
  max-width:120px !important;
  height:100px;
  flex-shrink:0;
  border-radius:18px;
  padding:16px 10px !important;
}

/* HOVER EFFECT */

.category-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.category-card h3{
    font-size:12px !important;
    line-height:1.2;
}

.orders-icon{
font-size:26px;
cursor:pointer;
margin-left:-6px;
display:flex;
align-items:center;
transition:.3s;
}

.orders-icon:hover{
transform:scale(1.1);
}

.category-card p{
color:#777;
font-size:12px;
}




.footer{
  background:#000;
  color:#fff;
  padding-top:50px;
  margin-top:60px;
  
}

.footer-container{
  width:85%;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

.footer-col h3,
.footer-col h4{
  margin-bottom:15px;
}

.footer-col p,
.footer-col a{
  font-size:14px;
  color:#ccc;
  text-decoration:none;
  display:block;
  margin-bottom:8px;
}

.footer-col a:hover{
  color:#fff;
}

.footer-bottom{
  text-align:center;
  padding:20px;
  margin-top:40px;
  border-top:1px solid #222;
  font-size:14px;
}

@media(max-width:768px){

  .navbar{
    padding:18px 20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
  }

  .logo{
    font-size:24px;
    font-weight:800;
  }

  /* hide menu icon */
  .mobile-menu-btn{
    display:none !important;
  }

  .navbar ul{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:16px;
    width:100%;
    list-style:none;
  }

  .navbar ul li a{
    font-size:15px;
    text-decoration:none;
  }

  .nav-icons{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }

  .nav-search{
    flex:1;
  }

  .nav-search input{
    width:100%;
    height:54px;
    border-radius:35px;
    padding:0 20px;
    font-size:16px;
  }

  .cart-icon{
    font-size:22px;
    text-decoration:none;
    color:black;
    white-space:nowrap;
  }

  /* phone me box hide */
  .orders-icon{
    display:none;
  }

  body{
    padding-top:180px;
  }
}

@media(max-width:500px){

  .footer-container{
    grid-template-columns:1fr;
    text-align:center;
  }
}


.product-page{
  background:#000;
}

.product-overview{
  display:flex;
  gap:80px;
  padding:120px 80px;
  color:#fff;
}

.product-image img{
  width:420px;
}

.product-info h1{
  font-size:42px;
  margin:15px 0;
}

.product-info p{
  color:#aaa;
  max-width:400px;
}

.quantity{
  display:flex;
  gap:15px;
  margin:30px 0;
}

.quantity button{
  background:transparent;
  border:1px solid #fff;
  color:#fff;
  padding:8px 15px;
  cursor:pointer;
}

.buttons{
  display:flex;
  gap:20px;
}

.nav-icons a{
text-decoration:none;
font-size:20px;
margin-left:15px;
color:black;
}

.order-btn{
  background:#fff;
  color:#000;
  border:none;
  padding:15px 30px;
}

.product-image-section{
  display:flex;
  gap:20px;
}

.product-image{
  position:relative;
}

.thumbnail-list{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.thumbnail-list img{
  width:70px;
  height:70px;
  object-fit:cover;
  cursor:pointer;
  border-radius:10px;
  background:#fff;
  padding:5px;
}

.main-image img{
  width:420px;
}

@media(max-width:600px){

  .categories{
    padding:20px 16px !important;
  }

  .categories h2{
    font-size:24px !important;
    margin-bottom:16px;
    text-align:left;
  }


  /* horizontal category scroll */
  .category-grid{
    display:flex !important;
    overflow-x:auto;
    gap:14px;
    padding:10px 0;
  }

  .category-grid::-webkit-scrollbar{
    display:none;
  }

  .category-card{
    min-width:110px !important;
    max-width:110px !important;
    height:90px;
    flex-shrink:0;
    border-radius:18px;
    padding:14px 10px !important;

    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
}

  .category-card h3{
    font-size:16px !important;
    line-height:1.2;
  }

  .category-card p{
    font-size:11px !important;
}

  /* products */
  .product-grid{
    grid-template-columns:1fr !important;
    gap:22px !important;
  }

  .product-card{
    padding:22px !important;
    border-radius:22px !important;
  }

  .product-card img{
    height:240px !important;
    object-fit:contain !important;
  }

  .product-card h3{
    font-size:22px !important;
    line-height:1.5 !important;
  }

  .price{
    font-size:22px !important;
  }

  .product-card button{
    width:100% !important;
    padding:16px !important;
    font-size:16px !important;
  }

  /* navbar */
  .navbar{
    padding:14px 18px !important;
  }

  .logo{
    font-size:22px !important;
  }

  .search-box{
    width:100% !important;
  }
}

.footer {
    background: #000;
    color: white;
    padding: 60px 8%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.footer-col h3,
.footer-col h4 {
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
}

.footer-col p,
.footer-col a {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
    line-height: 1.8;
    font-size: 16px;
}

.footer-col a:hover {
    color: #2563eb;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    color: white !important;
    transition: 0.3s ease;
}

/* Background colors */
.footer-social a:nth-child(1) {
    background: #1f2937;
}

.footer-social a:nth-child(2) {
    background: #1877F2;
}

.footer-social a:nth-child(3) {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
}

.footer-social a:nth-child(4) {
    background: #0077B5;
}

.footer-social a:nth-child(5) {
    background: #FF0000;
}

.social-icon:hover {
    transform: translateY(-4px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    color: #d1d5db;
}

/* Mobile Responsive */
@media(max-width:768px){
    .footer-container{
        grid-template-columns: 1fr;
    }
}

/* ACCESSORY MOBILE NAVBAR */

.mobile-menu-btn{
  display:none;
}

@media(max-width:768px){

  .navbar{
    padding:18px 20px !important;
    display:flex;
    flex-direction:column;
    background:#fff;
    gap:16px;
  }

  /* top row */
  .navbar-top{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }

  .logo{
    font-size:24px;
    font-weight:800;
  }

  /* desktop menu hide */
  .navbar ul{
    display:none !important;
  }

  /* hamburger show */
  .mobile-menu-btn{
    display:block !important;
    font-size:42px;
    cursor:pointer;
  }

  /* popup menu */
  .nav-menu{
    display:none;
    width:100%;
    background:#fff;
    border-radius:28px;
    padding:30px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    flex-direction:column;
    gap:20px;
  }

  .nav-menu.active{
    display:flex !important;
  }

  .nav-menu li{
    list-style:none;
  }

  .nav-menu li a{
    text-decoration:none;
    color:#111;
    font-size:22px;
    font-weight:600;
  }

  /* search + cart row */
  .nav-icons{
    display:flex !important;
    width:100%;
    align-items:center;
    gap:14px;
  }

  .nav-search{
    flex:1;
  }

  .nav-search input{
    width:100%;
    height:58px;
    border-radius:35px;
    padding:0 22px;
    font-size:17px;
  }

  .cart-icon{
    font-size:28px;
    color:#111;
    text-decoration:none;
  }

  .orders-icon{
    display:flex !important;
    font-size:28px;
  }

  body{
    padding-top:150px;
  }
}