/* ---------- GLOBAL ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
  }
  
  body{
    font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background:#f8f8f8;
    color:#111;
  }
  
  /* ---------- PAGE LAYOUT ---------- */
  
  .container{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
  }
  
  h1{
    margin-bottom:25px;
  }
  
  
  /* ---------- PRODUCT GRID ---------- */
  
  #products{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:30px;
  }
  
  
  /* ---------- PRODUCT CARD ---------- */
  
  .card{
    background:white;
    border-radius:18px;
    padding:18px;
    transition:.25s ease;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
  }
  
  .card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
  }
  
  
  /* ---------- IMAGE ---------- */
  
  .img-box{
    background:#f5f5f7;
    border-radius:14px;
    padding:15px;
  }
  
  .img-box img{
    width:100%;
    height:160px;
    object-fit:cover;
    border-radius:10px;
  }
  
  
  /* ---------- TEXT ---------- */
  
  .title{
    font-size:15px;
    font-weight:600;
    margin-top:12px;
  }
  
  .price{
    font-size:14px;
    color:#666;
    margin-top:4px;
  }
  
  
  /* ---------- ACTIONS ---------- */
  
  .actions{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:12px;
  }
  
  
  /* ---------- WISHLIST BUTTON ---------- */
  
  .wishlist-btn{
    width:40px;
    height:40px;
    border-radius:50%;
    border:none;
    background:#f5f5f7;
    cursor:pointer;
    font-size:18px;
    transition:.2s;
  }
  
  .wishlist-btn:hover{
    background:#eaeaea;
  }
  
  .wishlist-btn.active{
    background:black;
    color:white;
  }
  
  
  /* ---------- VIEW BUTTON ---------- */
  
  .view-btn{
    padding:8px 14px;
    border-radius:10px;
    border:none;
    background:black;
    color:white;
    cursor:pointer;
    transition:.2s;
  }
  
  .view-btn:hover{
    opacity:.85;
  }
  
  
  /* ---------- WISHLIST PAGE ---------- */
  
  ul{
    list-style:none;
  }
  
  li{
    border:1px solid #eee;
    padding:15px;
    border-radius:10px;
    margin-bottom:15px;
    background:white;
  }

  /* ---------- HERO ---------- */

.hero{
    height:620px;
    background-size:cover;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    border-bottom:1px solid #eee;
  }
  
  .hero-content{

    max-width:600px;
  }
  
  .hero h1{
    font-size:38px;
    font-weight:700;
    margin-bottom:15px;
  }
  
  .hero p{
    color:#666;
    font-size:16px;
    margin-bottom:25px;
  }
  
  .hero-btn{
    background:black;
    color:white;
    border:none;
    padding:12px 24px;
    border-radius:12px;
    font-size:15px;
    cursor:pointer;
    transition:.2s;
  }
  
  .hero-btn:hover{
    transform:translateY(-2px);
    opacity:.9;
  }
  /* PRODUCT IMAGE HOVER */

.img-box{
    background:#f5f5f7;
    border-radius:14px;
    padding:15px;
    overflow:hidden;
  }
  
  .img-box img{
    width:100%;
    height:160px;
    object-fit:cover;
    border-radius:10px;
    transition:transform .35s ease;
  }
  
  .card:hover .img-box img{
    transform:scale(1.06);
  }

  .card{
    background:white;
    border-radius:18px;
    padding:18px;
    transition:all .25s ease;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
  }
  
  .card:hover{
    transform:translateY(-8px);
    box-shadow:0 16px 40px rgba(0,0,0,0.12);
  }

  .wishlist-btn{
    width:40px;
    height:40px;
    border-radius:50%;
    border:none;
    background:#f5f5f7;
    cursor:pointer;
    font-size:18px;
    transition:all .2s ease;
  }
  
  .wishlist-btn:hover{
    transform:scale(1.1);
    background:#ececec;
  }
  
  .wishlist-btn.active{
    background:black;
    color:white;
    transform:scale(1.05);
  }

  .view-btn{
    padding:8px 16px;
    border-radius:10px;
    border:none;
    background:black;
    color:white;
    cursor:pointer;
    transition:all .2s ease;
  }
  
  .view-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 6px 14px rgba(0,0,0,0.2);
  }

  /* ---------- PRODUCT PAGE ---------- */

.product-page{
    max-width:1100px;
    margin:60px auto;
  
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
  }
  
  /* IMAGE */
  
  .product-image{
    background:#f5f5f7;
    border-radius:20px;
    padding:30px;
  }
  
  .product-image img{
    width:100%;
    border-radius:12px;
  }
  
  /* INFO */
  
  .product-info h1{
    font-size:30px;
    margin-bottom:10px;
  }
  
  .product-info .price{
    font-size:18px;
    font-weight:600;
    margin-bottom:15px;
  }
  
  .desc{
    color:#666;
    line-height:1.6;
    margin-bottom:25px;
  }
  
  /* ACTIONS */
  
  .product-actions{
    display:flex;
    gap:12px;
  }
  
  .add-cart{
    background:black;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:12px;
    cursor:pointer;
  }
  
  .add-cart:hover{
    opacity:.9;
  }

  @media(max-width:768px){

    .product-page{
    grid-template-columns:1fr;
    gap:30px;
    padding:0 20px;
    }
    
    }

/* FEATURED */

.featured{
    padding:70px 40px;
    text-align:center;
  }
  
  .featured h2{
    margin-bottom:30px;
    font-size:24px;
  }
  
  .featured-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    max-width:900px;
    margin:auto;
  }
  
  .featured-card{
    background:white;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
    transition:.25s;
  }
  
  .featured-card:hover{
    transform:translateY(-6px);
  }
  
  .featured-card img{
    width:100%;
    height:200px;
    object-fit:cover;
  }
  
  .featured-card p{
    padding:15px;
    font-weight:600;
  }

  @media (max-width: 768px) {
    .featured-grid{
        /* display:grid;
        grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
        gap:25px;
        max-width:900px;
        margin:auto; */

        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 25px;
        max-width: 900px;
        margin: auto;
        grid-template-rows: repeat(auto-fill, 150px); /* This will set each grid item's height to 150px */
    }
  }
  
  /* BRAND */

.brand{
    text-align:center;
    padding:80px 20px;
    background:#f5f5f7;
  }
  
  .brand h2{
    font-size:28px;
    margin-bottom:15px;
  }
  
  .brand p{
    max-width:600px;
    margin:auto;
    color:#666;
    line-height:1.6;
  }
 