body {
    margin: 0;
    background: #d9d9d9;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#page {
    max-width: 1500px;
    width: 100%;
    margin: auto;
    background: #f9f9f9;
    min-height: 100vh;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, .35);
}

header {
    display: flex;
    align-items: center;
    padding: 22px 40px;
}

.header-logo img {
    width: 370px;
    height: 120px;
}

.header-divider {
    width: 2px;
    height: 90px;
    background: #b5b5b5;
    margin: 0 35px;
}

.header-text {
    flex: 1;
}

.header-text h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.header-text p {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}

.header-search {
    display: flex;
    align-items: center;
}

.header-search input {
    width: 240px;
    height: 40px;
    border: 1px solid #c9c9c9;
    border-radius: 4px 0 0 4px;
    padding-left: 12px;
    font-size: 16px;
    color: #666;
    outline: none;
}

.header-search img {
    width: 49px;
    height: 40px;
    display: block;
    cursor: pointer;
}

.main-nav {
    background: #1f1f1f;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

#nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    color: white;
    font-size: 22px;
    padding: 16px 24px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 18px 18px;
    font-size: 18px;
    transition: .2s;
    white-space: nowrap;
}

.nav-links a:hover {
    background: #2d2d2d;
}

.nav-links a.active {
    color: #ff2a2a;
    border-bottom: 3px solid #ff2a2a;
}

.nav-links span {
    font-size: 11px;
    color: #cfcfcf;
}

.nav-right {
    margin-left: auto;
    display: flex;
}

.nav-right a {
    padding-left: 22px;
}

.hero-buttons {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 35px 40px;
}

.hero-button {
    flex: 1;
    display: block;
    transition: .25s;
}

.hero-button img {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.hero-button:hover {
    transform: translateY(-4px);
}

.hero-button:hover img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, .22);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-heading h2 {
    margin: 0;
    font-size: 28px;
}

.section-heading a {
    color: #e31b23;
    text-decoration: none;
    font-size: 16px;
}

.product-section {
    margin: 35px 40px 50px 40px;
}


.product-card {
    background: white;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    padding: 14px;
    text-decoration: none;
    color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: .25s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.product-card h3 {
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 8px 0;
    min-height: 42px;
}

.stars {
    color: #e31b23;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 6px;
}

.empty-stars {
    color: #c9c9c9;
}

.product-card p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

footer {
    background: #1f1f1f;
    color: white;
    margin-top: 50px;
    padding: 30px 40px 18px 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1.4fr 1.2fr 1.7fr;
    gap: 35px;
}

.footer-brand img {
    width: 180px;
    margin-bottom: 15px;
}

.footer-brand p {
    margin: 6px 0;
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.5;
}

.footer-column h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
}

.footer-column a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    margin: 7px 0;
    font-size: 14px;
}

.footer-column a:hover {
    color: white;
    text-decoration: underline;
}

.footer-connect p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #e0e0e0;
}

.newsletter {
    display: flex;
    margin-bottom: 15px;
}

.newsletter input {
    height: 38px;
    width: 190px;
    border: none;
    border-radius: 4px 0 0 4px;
    padding-left: 12px;
    font-size: 14px;
}

.newsletter button {
    height: 38px;
    background: #e31b23;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 18px;
    font-size: 14px;
    font-weight: bold;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 25px;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #e0e0e0;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width:1100px){
    .product-grid{grid-template-columns:repeat(3,1fr);}
    .footer-main{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:900px){
    header{flex-direction:column;align-items:flex-start;padding:25px 32px;}
    .header-logo img{width:100%;max-width:370px;height:auto;}
    .header-divider{display:none;}
    .header-text h1{font-size:24px;}
    .header-text p{font-size:18px;}
    .header-search{margin-top:20px;width:100%;}
    .header-search input{width:100%;max-width:320px;}
    .nav-toggle-label{display:block;}
    .nav-links{display:none;flex-direction:column;align-items:stretch;padding:0;}
    #nav-toggle:checked+.nav-toggle-label+.nav-links{display:flex;}
    .nav-links a{font-size:18px;padding:16px 24px;border-top:1px solid #333;}
    .nav-links a.active{border-bottom:none;border-left:4px solid #ff2a2a;}
    .nav-right{margin-left:0;flex-direction:column;}
    .hero-buttons{flex-direction:column;margin:20px;gap:20px;}
    .product-section{margin:25px 20px 40px 20px;}
    .section-heading h2{font-size:26px;}
    .product-grid{grid-template-columns:repeat(2,1fr);gap:16px;}
}
@media (max-width:700px){
    footer{padding:25px 25px 18px 25px;}
    .footer-main{grid-template-columns:1fr;gap:22px;}
    .footer-bottom{flex-direction:column;}
    .newsletter input{width:100%;}
}
@media (max-width:520px){
    .section-heading{align-items:flex-start;flex-direction:column;gap:8px;}
    .product-grid{grid-template-columns:1fr;}
}