body{
    margin:0;
    font-family:Arial,sans-serif;
    background:#f5f5f5;
}

.sp-wrapper{
    display:flex;
    gap:30px;
    max-width:1400px;
    margin:40px auto;
    padding:0 20px;
}

/* SIDEBAR */

.sp-sidebar{
    width:260px;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.sp-card{
    background:#fff;
    padding:20px;
    border-radius:20px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.sp-card h3{
    margin-top:0;
    margin-bottom:20px;
}

.sp-card a{
    display:block;
    margin-bottom:12px;
    color:#333;
    text-decoration:none;
}

.sp-colors{
    display:flex;
    gap:10px;
}

.sp-colors span{
    width:25px;
    height:25px;
    border-radius:50%;
    display:block;
}

.featured-item{
    display:flex;
    gap:15px;
}

.featured-item img{
    width:70px;
    height:70px;
    border-radius:12px;
    object-fit:cover;
}

/* MAIN */

.sp-main{
    flex:1;
}

.sp-product-box{
    background:#fff;
    border-radius:25px;
    padding:40px;
    display:flex;
    gap:50px;
    box-shadow:0 5px 25px rgba(0,0,0,0.05);
}

/* IMAGE */

.sp-image-area{
    width:45%;
}

.sp-main-image{
    background:#fafafa;
    border-radius:20px;
    overflow:hidden;
}

.sp-main-image img{
    width:100%;
    display:block;
}

.sp-thumbs{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.sp-thumbs img{
    width:90px;
    height:90px;
    border-radius:14px;
    object-fit:cover;
    cursor:pointer;
    border:3px solid transparent;
}

.active-thumb{
    border-color:#ff6600 !important;
}

/* DETAILS */

.sp-details{
    flex:1;
}

.sp-rating{
    color:#ff9800;
    margin-bottom:15px;
}

.sp-details h1{
    font-size:40px;
    margin-bottom:20px;
}

.sp-price{
    font-size:34px;
    color:#ff6600;
    font-weight:bold;
    margin-bottom:20px;
}

.sp-stock{
    color:green;
    font-weight:bold;
    margin-bottom:20px;
}

.sp-description{
    color:#555;
    line-height:1.8;
    margin-bottom:25px;
}

.sp-share{
    display:flex;
    gap:10px;
    margin-bottom:25px;
}

.sp-share button{
    border:none;
    background:#ff6600;
    color:#fff;
    padding:10px 20px;
    border-radius:10px;
    cursor:pointer;
}

.sp-qty{
    display:flex;
    gap:12px;
    align-items:center;
    margin-bottom:30px;
}

.sp-qty button{
    width:42px;
    height:42px;
    border:none;
    background:#111;
    color:#fff;
    border-radius:10px;
    cursor:pointer;
    font-size:18px;
}

.sp-qty input{
    width:70px;
    height:42px;
    text-align:center;
    border:1px solid #ddd;
    border-radius:10px;
}

.sp-cart-btn{
    width:250px;
    border:none;
    background:#ff6600;
    color:#fff;
    padding:16px;
    border-radius:14px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
}

/* TABS */

.sp-tabs{
    background:#fff;
    margin-top:30px;
    border-radius:25px;
    padding:30px;
    box-shadow:0 5px 25px rgba(0,0,0,0.05);
}

.sp-tab-buttons{
    display:flex;
    gap:15px;
    margin-bottom:20px;
}

.sp-tab-buttons button{
    border:none;
    background:#eee;
    padding:12px 20px;
    border-radius:10px;
    cursor:pointer;
}

.active-tab{
    background:#ff6600 !important;
    color:#fff;
}

/* RELATED */

.sp-related{
    margin-top:40px;
}

.sp-related h2{
    margin-bottom:25px;
}

.sp-related-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.sp-related-card{
    background:#fff;
    padding:20px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.sp-related-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:14px;
}

.sp-related-card h4{
    margin:15px 0 10px;
}

.sp-related-card p{
    color:#ff6600;
    font-weight:bold;
    font-size:22px;
}
/* SALE BOX */

.sale-box{
    background:#fde7c4;
    border-radius:14px;
    padding:25px;
    text-align:center;
    margin-top:20px;
}

.sale-box span{
    color:#111;
    font-weight:700;
    display:block;
    margin-bottom:8px;
}

.sale-box h3{
    font-size:28px;
    margin-bottom:15px;
    color:#111;
}

.sale-box a{
    background:#ff6600;
    color:#fff;
    padding:10px 22px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    display:inline-block;
}

/* VIEW STORE */

.view-store-btn{
    margin-top:20px;
}

.view-store-btn a{
    width:100%;
    display:block;
    background:#ff6600;
    color:#fff;
    text-align:center;
    padding:14px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
}

/* TAGS */

.tags-box{
    background:#fff;
    padding:20px;
    border-radius:14px;
    margin-top:20px;
}

.tags-box h3{
    margin-bottom:15px;
    font-size:18px;
}

.tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.tags span{
    background:#f3f4f6;
    padding:8px 14px;
    border-radius:8px;
    font-size:14px;
}
/* MOBILE */

@media(max-width:991px){

    .sp-wrapper{
        flex-direction:column;
    }

    .sp-sidebar{
        width:100%;
    }

    .sp-product-box{
        flex-direction:column;
    }

    .sp-image-area{
        width:100%;
    }
}