/* =========================
   GENERAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    background:#f5f5f5;
    color:#333;
}

/* =========================
   HEADER
========================= */


#cartBtn{
    background:#fff;
    color:#d62828;
    border:none;
    padding:14px 22px;
    border-radius:8px;
    font-size:20px;
    font-weight:bold;
    cursor:pointer;
}

#cartBtn:hover{
    background:#f3f3f3;
}

/* =========================
   PRODUCTS
========================= */

#products{
    max-width:1200px;
    margin:30px auto;
    padding:20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.card{
    background:#fff;
    border-radius:16px;
    padding:20px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.12);
    transition:.2s;
}

.card:hover{
    transform:translateY(-3px);
}

.card img{
    width:100%;
    height:340px;
    object-fit:cover;
    border-radius:12px;
}

.card h2{
    margin-top:18px;
    font-size:28px;
}

.card p{
    margin:12px 0;
    color:#d62828;
    font-size:24px;
    font-weight:bold;
}

.card select{
    width:100%;
    padding:12px;
    font-size:17px;
    margin-top:10px;
    margin-bottom:12px;
    border-radius:8px;
}

.card button{
    width:100%;
    padding:14px;
    background:#d62828;
    color:#fff;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
}

.card button:hover{
    background:#b71c1c;
}

.card button:disabled{
    background:gray;
    cursor:not-allowed;
}

/* =========================
   CART
========================= */

.cart-panel{
    position:fixed;
    top:0;
    right:-420px;
    width:380px;
    height:100%;
    background:#fff;
    box-shadow:-4px 0 12px rgba(0,0,0,.2);
    padding:25px;
    overflow-y:auto;
    transition:.3s;
    z-index:9999;
}

.cart-panel.show{
    right:0;
}

.cart-panel h2{
    font-size:20px;
    margin-bottom:18px;
    color:#d62828;

}
.cart-panel p{
    font-size:15px;
    margin:4px 0;
}

.cart-panel strong{
    font-size:15px;
}
.cart-panel input,
.cart-panel textarea{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
}

#orderBtn{
    width:100%;
    padding:14px;
    background:#28a745;
    color:#fff;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
    margin-top:10px;
}

#closeCart{
    width:100%;
    padding:14px;
    background:#d62828;
    color:#fff;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
    margin-top:10px;
}
/* =========================
   WHY CHOOSE US
========================= */

.why-us{
    max-width:1200px;
    margin:40px auto;
    padding:20px;
}

.why-us h2{
    text-align:center;
    color:#d62828;
    margin-bottom:25px;
    font-size:34px;
}

.why-box{
    background:#fff;
    padding:20px;
    margin-bottom:15px;
    border-radius:14px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.why-box h3{
    color:#222;
    margin-bottom:8px;
    font-size:24px;
}

.why-box p{
    color:#555;
    font-size:17px;
    line-height:1.6;
}

/* =========================
   CONTACT
========================= */

.contact-section{
    max-width:1200px;
    margin:40px auto;
    background:#fff;
    padding:25px;
    border-radius:14px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.contact-section h2{
    color:#d62828;
    margin-bottom:20px;
    font-size:32px;
}

.contact-section p{
    font-size:18px;
    margin:8px 0;
    line-height:1.5;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

.top-bar{
    background:#b31217;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:8px 15px 10px;

}

}

#cartBtn{
    width:auto;
    padding:8px 12px;
    font-size:14px;
}

#products{
    grid-template-columns:1fr;
    padding:15px;
    gap:20px;
}

.card{
    padding:18px;
}

.card img{
    height: 340px;
}

.card h2{
    font-size:24px;
}

.card p{
    font-size:22px;
}

.card select{
    font-size:17px;
    padding:12px;
}

.card button{
    font-size:18px;
    padding:14px;
}

.cart-panel{
    width:100%;
    right:-100%;
    padding:20px;
}

.cart-panel.show{
    right:0;
}

.cart-panel input,
.cart-panel textarea{
    font-size:17px;
}

#orderBtn,
#closeCart{
    font-size:18px;
    padding:14px;
}

.why-us{
    margin:25px 15px;
    padding:0;
}

.why-us h2{
    font-size:26px;
    margin-bottom:18px;
}

.why-box{
    padding:16px;
    margin-bottom:12px;
}

.why-box h3{
    font-size:20px;
}

.why-box p{
    font-size:16px;
}

.contact-section{
    margin:25px 15px;
    padding:18px;
}

.contact-section h2{
    font-size:26px;
}

.contact-section p{
    font-size:16px;
    margin:6px 0;
}

/* =========================
   REVIEWS
========================= */

.review-section{
    max-width:1200px;
    margin:40px auto;
    padding:20px;
}

.review-section h2{
    color:#d62828;
    font-size:32px;
    margin-bottom:20px;
}

.review-box{
    background:#fff;
    padding:20px;
    border-radius:14px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    margin-bottom:20px;
}

.stars{
    font-size:26px;
    margin-bottom:10px;
}

.review-text{
    font-size:20px;
    line-height:1.6;
    font-style:italic;
    margin-bottom:10px;
}

.review-name{
    font-size:18px;
    font-weight:bold;
}

.review-btn{
    display:inline-block;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    padding:12px 20px;
    border-radius:8px;
    font-size:18px;
    font-weight:bold;
}
.top-bar{
    background:#b31217;
    color:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:8px 15px 10px;


}

.brand-pig{
    width:240px;
    height:auto;
    display:block;
    margin:0;

}

.brand-name{
    margin:0;
    font-size:42px;
    font-weight:900;
    letter-spacing:2px;
    color:#fff;
}

.brand-tagline{
    color:#f7c65b;
    font-size:20px;
    font-weight:600;
    line-height:1.35;
    margin:0 0 18px;

}

#cartBtn{
    display:block;
    margin:12px auto 0;

}
.brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    gap:8px;

}
.footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 12px 10px;
    margin-top: 30px;
    font-size: 13px;
    line-height: 1.5;
}

.footer p {
    margin: 3px 0;
}


.footer p {
    margin: 5px 0;
}