*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f2f4f8;
}

header{
    background:#1f4e79;
    color:white;
    padding:20px;
}

.container{
    width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:25px;
    font-size:18px;
}

nav a:hover{
    color:#ffd700;
}

.product{
    width:900px;
    margin:30px auto;
    display:flex;
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.image-block{
    width:45%;
    text-align:center;
}

.image-block img{
    width:100%;
    max-width:500px;
    border-radius:10px;
}

.info-block{
    width:55%;
    padding-left:40px;
}

.info-block h2{
    font-size:34px;
    color:#333;
    margin-bottom:20px;
}

.price{
    font-size:20px;
    margin-bottom:15px;
}

.price span{
    color:red;
    font-weight:bold;
}

.status{
    font-size:20px;
    margin-bottom:25px;
}

.stock{
    color:green;
    font-weight:bold;
}

button{
    background:#ff6600;
    color:white;
    border:none;
    padding:16px 45px;
    font-size:20px;
    border-radius:8px;
    cursor:pointer;
    margin-bottom:35px;
}

button:hover{
    background:#e65c00;
}

table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
}

table td{
    border:1px solid #ddd;
    padding:14px;
    font-size:18px;
}

table tr:nth-child(even){
    background:#f5f5f5;
}

.description{
    width:1200px;
    margin:auto;
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    margin-bottom:40px;
}

.description h2{
    margin-bottom:20px;
    color:#1f4e79;
}

.description p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:15px;
}

footer{
    background:#1f4e79;
    color:white;
    text-align:center;
    padding:25px;
}

footer p{
    margin:8px;
}

@media(max-width:1200px){

.container,
.product,
.description{
    width:95%;
}

}

@media(max-width:850px){

.product{
    flex-direction:column;
}

.image-block,
.info-block{
    width:100%;
}

.info-block{
    padding-left:0;
    margin-top:30px;
}

nav{
    display:none;
}

.container{
    justify-content:center;
}

}