* THEME */

:root{

    --primary:#131921;
    --secondary:#232F3E;
    --accent:#FF9900;

    --light:#F3F3F3;
    --white:#ffffff;

    --text:#111111;
    --gray:#666666;

    --success:#1FA54A;
}

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;

    scrollbar-width:none;
    -ms-overflow-style:none;
}

*::-webkit-scrollbar{
    display:none;
}

/* BODY */

html,
body{
    width:100%;
    overflow-x:hidden;
    background:var(--light);
}

body{
    display:flex;
    justify-content:center;
}

/* CONTAINER */

.product-container{

    width:100%;
    max-width:480px;

    background:var(--light);

    padding-bottom:120px;
}

/* MAIN IMAGE SLIDER */

.main-image-slider{

    position:relative;

    width:100%;
    height:420px;

    overflow:hidden;

    border-bottom-left-radius:35px;
    border-bottom-right-radius:35px;
}

/* SLIDER TRACK */

.main-slider-track{

    display:flex;

    width:100%;
    height:100%;

    overflow-x:auto;

    scroll-snap-type:x mandatory;

    scroll-behavior:smooth;
}

/* SLIDE */

.main-slide{

    min-width:100%;
    width:100%;

    height:100%;

    scroll-snap-align:start;
}

.main-slide img{

    width:100%;
    height:100%;

    object-fit:cover;
}

/* TOP BUTTONS */

.top-buttons{

    position:absolute;

    top:20px;
    left:20px;
    right:20px;

    display:flex;
    justify-content:space-between;

    z-index:10;
}

/* ICON BUTTON */

.icon-btn{

    width:44px;
    height:44px;

    border-radius:14px;

    background:rgba(254, 254, 254, 0.5);

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    font-size:18px;
    text-decoration: none;
}

/* DOTS */

.main-slider-dots{

    position:absolute;

    bottom:18px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    gap:10px;

    z-index:10;
}

.slider-dot{

    width:10px;
    height:10px;

    border-radius:50%;

    background:rgba(255,255,255,0.5);

    transition:0.3s;
}

.slider-dot.active{

    width:28px;

    border-radius:20px;

    background:#FF9900;
}

/* IMAGE SLIDES */

.image-slides-wrapper{
    padding:18px 20px 0;
}

.image-slides{

    display:flex;

    gap:16px;

    overflow-x:auto;
}

/* SLIDE ITEM */

.image-slide{

    min-width:220px;
    width:220px;

    height:140px;

    border-radius:28px;

    overflow:hidden;

    cursor:pointer;

    transition:0.3s;

    border:3px solid transparent;

    background:#fff;

    box-shadow:0 10px 24px rgba(0,0,0,0.08);
}

.image-slide.active{

    border-color:#FF9900;

    transform:scale(1.03);
}

.image-slide img{

    width:100%;
    height:100%;

    object-fit:cover;
}

/* CONTENT */

.product-content{

    background:var(--white);

    border-top-left-radius:35px;
    border-top-right-radius:35px;

    margin-top:18px;

    padding:28px 22px 40px;
}

/* CATEGORY */

.product-category{

    color:var(--gray);

    font-size:14px;

    margin-bottom:10px;
}

/* TITLE */

.product-title{

    font-size:28px;

    font-weight:700;

    color:var(--text);

    margin-bottom:14px;
}

/* RATING */

.rating-row{

    display:flex;
    align-items:center;

    gap:10px;

    margin-bottom:18px;
}

.rating-badge{

    background:#FFF7EB;

    color:#111;

    padding:8px 14px;

    border-radius:20px;

    font-size:14px;

    font-weight:700;
}

.stock{

    color:var(--success);

    font-size:14px;

    font-weight:600;
}

/* PRICE */

.price-row{

    display:flex;
    align-items:center;
    gap:12px;

    margin-bottom:24px;
}

.current-price{

    font-size:32px;

    font-weight:700;

    color:var(--accent);
}

.old-price{

    font-size:18px;

    color:#999;

    text-decoration:line-through;
}

/* DESCRIPTION */

.section-title{

    font-size:20px;

    font-weight:700;

    margin-bottom:14px;

    color:var(--text);
}

.description{

    color:var(--gray);

    line-height:1.8;

    font-size:15px;

    margin-bottom:28px;
}

/* SIZE */

.size-list{

    display:flex;

    gap:12px;

    margin-bottom:30px;
}

.size-btn{

    width:52px;
    height:52px;

    border:none;

    border-radius:16px;

    background:#f3f3f3;

    font-weight:700;

    cursor:pointer;
}

.size-btn.active{

    background:var(--accent);

    color:#111;
}

/* FEATURES */

.features{

    display:flex;
    flex-direction:column;

    gap:16px;
}

/* FEATURE */

.feature-item{

    display:flex;
    align-items:center;

    gap:14px;

    font-weight:500;
}

/* FEATURE ICON */

.feature-icon{

    width:42px;
    height:42px;

    border-radius:14px;

    background:#FFF7EB;

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

/* BOTTOM BAR */

.bottom-bar{

    position:fixed;

    bottom:0;

    width:100%;
    max-width:480px;

    background:var(--white);

    padding:18px 20px 28px;

    display:flex;

    gap:16px;

    box-shadow:0 -5px 20px rgba(0,0,0,0.06);
}

/* CART BUTTON */

.cart-btn{

    width:62px;
    min-width:62px;

    border:none;

    border-radius:20px;

    background:#f3f3f3;

    font-size:24px;

    cursor:pointer;
}

/* BUY BUTTON */

.place-order-btn{

    position:fixed;

    bottom:25px;

    left:50%;

    transform:translateX(-50%);

    width:calc(100% - 40px);
    max-width:440px;

    background:linear-gradient(to bottom right, #ff9900, #ffb84d);

    color:#111;

    border:none;

    padding:18px;

    border-radius:24px;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    box-shadow:0 10px 24px rgba(255,153,0,0.25);
}

.buy-btn{

    flex:1;

    border:none;

    border-radius:20px;

    background:linear-gradient(
        135deg,
        var(--accent),
        #ffb84d
    );

    color:#111;

    font-size:16px;

    font-weight:700;

    cursor:pointer;
}