/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f5f5;
    color:#222;
}

/* ==========================
   HEADER
========================== */

.fashion-header{
    background:linear-gradient(135deg,#088178,#0aa89e);
    color:white;
    text-align:center;
    padding:60px 20px;
}

.fashion-header h1{
    font-size:42px;
    margin-bottom:10px;
}

.fashion-header p{
    font-size:18px;
}

/* ==========================
   FILTER BUTTONS
========================== */

.fashion-filter{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
    padding:25px;
    background:white;
}

.fashion-filter button{
    padding:10px 22px;
    border:none;
    border-radius:30px;
    background:#fff;
    cursor:pointer;
    font-weight:bold;
    box-shadow:0 4px 10px rgba(0,0,0,.08);
    transition:.3s;
}

.fashion-filter button:hover,
.fashion-filter .active{
    background:#088178;
    color:white;
}

/* ==========================
   FEATURED PRODUCT
========================== */

.featured-product{
    width:95%;
    max-width:1200px;
    margin:30px auto;
    background:white;
    border-radius:15px;
    padding:25px;
    display:flex;
    gap:40px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.product-gallery{
    flex:1;
}

.main-image{
    width:100%;
    max-width:420px;
    height:420px;
    object-fit:cover;
    display:block;
    margin:auto;
    border-radius:15px;
    transition:.3s;
}

.small-images{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:20px;
}

.small-img{
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    border:2px solid transparent;
    transition:.3s;
}

.small-img:hover{
    border-color:#088178;
    transform:scale(1.08);
}

/* ==========================
   DETAILS
========================== */

.product-details{
    flex:1;
}

.product-details h2{
    font-size:34px;
    margin-bottom:15px;
}

.stars{
    color:#FFC107;
    font-size:18px;
    margin-bottom:15px;
}

#productPrice{
    font-size:34px;
    color:#088178;
    margin-bottom:20px;
}

#productDescription{
    color:#666;
    line-height:1.7;
    margin-bottom:25px;
}

/* ==========================
   QUANTITY
========================== */

.quantity-box{
    display:flex;
    align-items:center;
    gap:10px;
    margin:20px 0;
}

.quantity-box button{
    width:40px;
    height:40px;
    border:none;
    background:#088178;
    color:white;
    font-size:20px;
    border-radius:6px;
    cursor:pointer;
}

.quantity-box input{
    width:60px;
    height:40px;
    text-align:center;
    border:1px solid #ddd;
    border-radius:6px;
}

/* ==========================
   OPTIONS
========================== */

.product-options{
    margin:20px 0;
}

.product-options label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
}

.product-options select{
    width:100%;
    padding:12px;
    margin-bottom:18px;
    border-radius:6px;
    border:1px solid #ddd;
}

/* ==========================
   BUTTONS
========================== */

.product-buttons{
    display:flex;
    gap:15px;
}

.buy-btn,
.cart-btn{
    flex:1;
    padding:15px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
    transition:.3s;
}

.buy-btn{
    background:#088178;
    color:white;
}

.buy-btn:hover{
    background:#066d66;
}

.cart-btn{
    background:#ff9900;
    color:white;
}

.cart-btn:hover{
    background:#e68a00;
}

/* ==========================
   PRODUCT GRID
========================== */

.fashion-products{
    width:95%;
    max-width:1300px;
    margin:50px auto;
}

.fashion-products h2{
    text-align:center;
    margin-bottom:30px;
    font-size:32px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.product-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    position:relative;
    cursor:pointer;
    transition:.35s;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.product-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    transition:.3s;
}

.product-card:hover img{
    transform:scale(1.05);
}

.product-card h3{
    padding:12px 15px 5px;
    font-size:20px;
}

.product-card p{
    padding:0 15px;
    color:#088178;
    font-size:20px;
    font-weight:bold;
}

.card-rating{
    color:#ffc107;
    padding:10px 15px;
}

.card-buttons{
    display:flex;
    gap:10px;
    padding:15px;
}

.card-buttons button{
    flex:1;
    border:none;
    border-radius:8px;
    padding:12px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.card-buttons .buy{
    background:#088178;
    color:#fff;
}

.card-buttons .cart{
    background:#ff9900;
    color:#fff;
}

.card-buttons button:hover{
    opacity:.9;
}

/* ==========================
   SALE BADGE
========================== */

.sale{
    position:absolute;
    top:12px;
    left:12px;
    background:#e53935;
    color:#fff;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:bold;
}

/* ==========================
   WISHLIST
========================== */

.wishlist{
    position:absolute;
    top:12px;
    right:12px;
    width:40px;
    height:40px;
    background:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
}

.wishlist:hover{
    color:red;
    transform:scale(1.15);
}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

.featured-product{
    flex-direction:column;
    padding:20px;
}

.main-image{
    max-width:280px;
    height:280px;
}

.small-img{
    width:55px;
    height:55px;
}

.product-details h2{
    font-size:26px;
}

#productPrice{
    font-size:28px;
}

.product-buttons{
    flex-direction:column;
}

.card-buttons{
    flex-direction:column;
}

.product-grid{
    grid-template-columns:1fr;
}

}

/* =========================
   FEATURED PRODUCT
========================= */

.featured-product{
    width:95%;
    max-width:1200px;
    margin:30px auto;
    background:#fff;
    border-radius:15px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    padding:25px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.product-gallery{
    width:100%;
}

.main-image{
    width:100%;
    height:380px;
    object-fit:cover;
    border-radius:12px;
    transition:.3s;
}

.small-images{
    display:flex;
    gap:10px;
    margin-top:15px;
}

.small-images img{
    width:70px;
    height:70px;
    border-radius:8px;
    object-fit:cover;
    cursor:pointer;
    border:2px solid transparent;
    transition:.3s;
}

.small-images img:hover{
    border-color:#088178;
    transform:scale(1.05);
}

.product-details h2{
    font-size:30px;
    margin-bottom:10px;
}

.price{
    color:#088178;
    font-size:34px;
    font-weight:bold;
    margin:15px 0;
}

.stars{
    color:gold;
    margin-bottom:15px;
}

.description{
    color:#666;
    line-height:1.8;
    margin-bottom:25px;
}

/* Quantity */

.quantity-box{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:20px;
}

.quantity-box button{
    width:40px;
    height:40px;
    border:none;
    background:#088178;
    color:#fff;
    font-size:22px;
    border-radius:6px;
    cursor:pointer;
}

.quantity-box input{
    width:60px;
    height:40px;
    text-align:center;
    font-size:18px;
}

/* Options */

.product-options{
    margin:20px 0;
}

.product-options label{
    display:block;
    margin:12px 0 5px;
    font-weight:bold;
}

.product-options select{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
}

/* Buttons */

.buy-btn,
.cart-btn{
    width:100%;
    padding:15px;
    border:none;
    border-radius:8px;
    margin-top:15px;
    cursor:pointer;
    font-size:17px;
    transition:.3s;
}

.buy-btn{
    background:#088178;
    color:#fff;
}

.buy-btn:hover{
    background:#06645f;
}

.cart-btn{
    background:#222;
    color:#fff;
}

.cart-btn:hover{
    background:#000;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}

.product-grid .product,
.product-grid .product-card{
    width:100%;
    box-sizing:border-box;
}

.product-grid img{
    width:100%;
    height:90px;
    object-fit:cover;
    border-radius:8px;
}


/* ==========================
   PRODUCT GRID
========================== */

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:30px;
}

.product-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    transition:.3s;
    text-align:center;
    padding-bottom:20px;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.product-card h3{
    margin:15px 0 10px;
    font-size:20px;
}

.product-card p{
    font-size:18px;
    color:#e63946;
    font-weight:bold;
}

.view-btn{
    background:#000;
    color:#fff;
    border:none;
    padding:10px 20px;
    border-radius:8px;
    cursor:pointer;
    margin-top:10px;
    transition:.3s;
}

.view-btn:hover{
    background:#e63946;
}

.product-image{
    position: relative;
}

.badge{
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff3b30;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}