

:root{
    --red:#ff0000;
    --dark:#111;
    --gray:#666;
    --light:#f5f5f5;
    --white:#fff;
    --blue:#006fa9;
    --radius:10px;
    --shadow:0 4px 14px rgba(0,0,0,.12);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#dcdcdc;
    font-family:'Montserrat', sans-serif;
    color:var(--dark);
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.wrapper{
    width:100%;
    max-width:480px;
    margin:0 auto;
    background:var(--white);
    padding:18px 14px 30px;
}

/* =========================
   TITLES
========================= */

.section-title{
    text-align:center;
    font-size:32px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:22px;
}

.hero{
    background:#efefef;
    text-align:center;
    padding:18px 12px;
}

.hero h1{
    font-size:42px;
    color:#6dbb74;
    font-weight:900;
    line-height:1;
    text-transform:uppercase;
}

.hero p{
    margin-top:10px;
    font-size:20px;
    font-weight:800;
    text-transform:uppercase;
}

/* =========================
   HERO IMAGE
========================= */

.hero-image{
    position:relative;
}

.discount{
    position:absolute;
    left:50%;
    bottom:20px;
    transform:translateX(-50%);
    background:rgba(0,0,0,.3);
    backdrop-filter:blur(3px);
    border:2px solid #fff;
    color:#fff;
    text-align:center;
    padding:10px 18px;
}

.discount small{
    display:block;
    font-size:16px;
    font-weight:700;
}

.discount strong{
    font-size:40px;
    line-height:1;
}

/* =========================
   PRICE
========================= */

 .price-box{
        width:100%;
        max-width:480px;
        margin:auto;
        display:flex;
        overflow:hidden;
        border-radius:6px;
        box-shadow:0 2px 8px rgba(0,0,0,0.15);
    }

    /* ЛІВА ЧАСТИНА */
    
    .old-price{
    position:relative;
    width:58%;
    background:#ffffff;
    padding:14px 50px 14px 20px;
    text-align:center;
    z-index:1;
    overflow:hidden;
}
    

    /* КОСА ЛІНІЯ */
    .old-price::after{
        content:"";
        position:absolute;
        top:0;
        right:-35px;
        width:70px;
        height:100%;
        background:#ff0000;
        transform:skewX(-20deg);
        z-index:-1;
    }

    .old-price .label{
        font-size:15px;
        color:#666;
        margin-bottom:6px;
    }

    .old-price .value{
        font-size:22px;
        font-weight:700;
        color:#222;
        text-decoration:line-through;
    }

    /* ПРАВА ЧАСТИНА */
    .new-price{
        width:42%;
        background:#ff0000;
        color:#fff;
        padding:14px 15px;
        text-align:center;
        position:relative;
    }

    .new-price .label{
        font-size:15px;
        margin-bottom:6px;
    }

    .new-price .value{
        font-size:32px;
        font-weight:700;
        line-height:1;
    }
/* =========================
   FEATURES
========================= */

.features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.feature{
    text-align:center;
}

.feature p{
    margin-top:10px;
    font-size:15px;
    font-weight:700;
}

/* =========================
   BUTTON
========================= */

.btn{
    display:block;
    width:100%;
    text-align:center;
    background:var(--red);
    color:#fff;
    padding:22px 10px;
    margin-top:24px;
    font-size:26px;
    font-weight:900;
    border:none;
    border-radius:6px;
    cursor:pointer;
    transition:.2s;
    box-shadow:var(--shadow);
}

.btn:active{
    transform:scale(.98);
}

/* =========================
   STOCK
========================= */

.stock{
    margin-top:22px;
    text-align:center;
    font-size:18px;
}

.stock-number{
    display:inline-block;
    background:var(--red);
    color:#fff;
    padding:4px 10px;
    margin:0 5px;
    font-weight:900;
    font-size:22px;
}

/* =========================
   TEXT
========================= */

.text-block{
    margin-bottom:25px;
}

.text-block p{
    margin-bottom:14px;
    line-height:1.6;
    font-size:15px;
    font-weight:600;
}

/* =========================
   SPECS
========================= */

.specs{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.spec{
    background:#fff;
    padding:18px;
    border-radius:8px;
    box-shadow:var(--shadow);
    display:flex;
    justify-content:space-between;
    gap:14px;
}

.spec-left{
    display:flex;
    gap:12px;
    font-weight:700;
}

.square{
    width:14px;
    height:14px;
    border:2px solid #ff3d00;
    position:relative;
    flex-shrink:0;
    margin-top:4px;
}

.square::after{
    content:"";
    width:6px;
    height:6px;
    background:#ff3d00;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

/* =========================
   CARD
========================= */

.card{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.slider{
    position:relative;
}

.arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:none;
    background:var(--red);
    color:#fff;
    font-size:28px;
    border-radius:6px;
    cursor:pointer;
}

.arrow-left{
    left:10px;
}

.arrow-right{
    right:10px;
}

.product-title{
    text-align:center;
    margin-top:22px;
    padding:0 12px;
    font-size:24px;
    font-weight:900;
}

.product-title span{
    font-size:18px;
}

.product-price{
    text-align:center;
    margin-top:18px;
    font-size:22px;
}

.product-price .old{
    text-decoration:line-through;
    color:#666;
    margin-right:14px;
}

.product-price .new{
    color:var(--red);
    font-weight:900;
}

/* =========================
   VIDEO
========================= */

.video-title{
    text-align:center;
    font-size:42px;
    font-weight:800;
    margin:20px 0;
}

.video-wrapper{
    width:100%;
    max-width:420px;
    margin:0 auto;
    overflow:hidden;
}

.video-wrapper video{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    border-radius:14px;
}

/* =========================
   REVIEWS
========================= */

.reviews-title{
    text-align:center;
    margin-bottom:20px;
}

.reviews-title h2{
    font-size:30px;
    font-weight:900;
}

.reviews-title h3{
    font-size:28px;
    font-weight:900;
    color:var(--red);
}

.review-card{
    background:#fff;
    border-radius:10px;
    padding:18px;
    box-shadow:var(--shadow);
    position:relative;
    overflow:hidden;
}

.review-top{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-bottom:18px;
}

.user{
    display:flex;
    gap:12px;
}

.avatar{
    width:58px;
    height:58px;
    border-radius:50%;
   
}

.user-name{
    font-size:20px;
    font-weight:700;
}

.user-age{
    margin-top:4px;
    font-size:15px;
    color:#666;
}

.review-right{
    text-align:right;
}

.stars{
    color:#ff8fc6;
    font-size:18px;
}

.date{
    margin-top:8px;
    font-size:14px;
    color:#666;
}

.review-text{
    line-height:1.6;
    font-size:16px;
    padding-bottom:50px;
}

.review-card .arrow{
    top:auto;
    bottom:14px;
    transform:none;
}

/* =========================
   DELIVERY
========================= */

.delivery{
    background:var(--blue);
    color:#fff;
}

.delivery h2{
    text-align:center;
    font-size:28px;
    font-weight:900;
    margin-bottom:24px;
}

.delivery-item{
    display:flex;
    gap:16px;
    padding:18px 0;
    border-top:1px solid rgba(255,255,255,.15);
}

.delivery-item:first-child{
    border-top:none;
}

.delivery-icon{
    min-width:64px;
    width:64px;
    height:64px;
    background:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.delivery-icon i{
    font-size:28px;
    color:var(--blue);
}

.delivery-text{
    font-size:15px;
    line-height:1.5;
}

/* =========================
   FORM
========================= */

.order-form{
    margin-top:10px;
}

.input{
    width:100%;
    height:62px;
    border:none;
    background:#f2f2f2;
    margin-bottom:16px;
    padding:0 18px;
    font-size:16px;
    font-family:'Montserrat',sans-serif;
    box-shadow:var(--shadow);
    outline:none;
}

/* =========================
   MOBILE
========================= */

@media(max-width:480px){

    .wrapper{
        padding:16px 12px 26px;
    }

    .hero h1{
        font-size:32px;
    }

    .hero p{
        font-size:16px;
    }

    .discount strong{
        font-size:32px;
    }
     .old-price .value{
            font-size:18px;
        }

        .new-price .value{
            font-size:26px;
        }

        .old-price .label,
        .new-price .label{
            font-size:13px;
        }
    
        .section-title{
        font-size:26px;
    }

   .features{
        grid-template-columns:repeat(3,1fr);
    }

    .feature p{
        font-size:14px;
    }

    .btn{
        font-size:22px;
        padding:20px 10px;
    }

    .spec{
        flex-direction:column;
    }

    .product-title{
        font-size:20px;
    }

    .reviews-title h2{
        font-size:24px;
    }

    .reviews-title h3{
        font-size:22px;
    }

    .review-top{
        flex-direction:column;
    }

    .delivery h2{
        font-size:22px;
    }
.video-wrapper{
    width:100%;
    max-width:100%;
    padding:0;
}

.video-wrapper video{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    display:block;
}
}

