/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: proxima-nova, sans-serif;
    background-color: #fff;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container {
    max-width: 100%;
    padding: 0;
}

/* Header Styles */
header {
    background-color: #D1D5Db;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 100px;
    height: auto;
}

.phone-num-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.phone-num {
    display: inline-block;
    font-size: 0.9rem;
    align-items: center;
}

.phone-num img {
    vertical-align: middle;
    margin-right: 0.5rem;
}

.mid-header-container {
    flex: 1;
    text-align: center;
}

.Tagline {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: neue-haas-grotesk-display, sans-serif;
    font-style: italic;
    color: #4B5966;
}

.search-input {
    padding: 0.75rem 1rem;
    width: 100%;
    max-width: 300px;
    border: 2px solid #ccc;
    border-radius: 25px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #D54D1F;
    box-shadow: 0 4px 8px rgba(213, 77, 31, 0.2);
}

.search-input::placeholder {
    color: #666;
    font-style: italic;
}

.right-header-container {
    text-align: right;
}

.top-right {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.bottom-right {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.icon-container p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-icon, .wishlist-icon, .cart-icon {
    width: 20px;
    height: 20px;
}

/* Styled Cart Link */
.icon-container a {
    text-decoration: none;
    color: #4B5966;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.icon-container a:hover {
    color: #D54D1F;
}

.info-txt-cont {
    position: relative;
    bottom: 30px;
}

.info-txt {
    color: #4B5966;
    text-decoration: underline;
    cursor: pointer;
}

.info-txt:hover {
    color: #D54D1F;
}

/* Navigation */
nav {
    background-color: #D1D5Db;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.filter-container {
    order: 1;
}

.filter-container .filter {
    padding: 0.75rem 1.5rem;
    background-color: #D54D1F;
    color: #D1D5DB;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: neue-haas-grotesk-display, sans-serif;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.filter-container .filter:hover {
    background-color: #a63c18;
    transform: translateY(-2px);
}

.nav-links-container {
    order: 2;
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-option {
    color: #4B5966;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-option:hover {
    color: #D54D1F;
    text-decoration: underline;
}

.location-cont {
    order: 3;
    margin-left: auto;
}

/* Hero */
.Hero {
    background-image: url('images/hero.jpeg');
    background-size: cover;
    background-position: center;
    height: 400px;
    width: 100%;
}

/* Lower Banner Hero */
.low .Hero {
    background-image: url('images/Tv-station.jpeg');
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    gap: 2rem;
}

/* Main Content */
.mid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.mid-left, .mid-right {
    flex: 1 1 250px;
    max-width: 300px;
    position: relative;
}

.mid-mid {
    flex: 2 1 500px;
    padding: 1rem;
    text-align: center;
}

.mid-mid h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.mid-mid h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem;
}

.mid-mid p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.mid-mid ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    display: inline-block;
}

.mid-mid li {
    margin-bottom: 0.5rem;
}

.mid-mid a {
    color: #D54D1F;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.mid-mid a:hover {
    color: #a63c18;
}

.mid-left img, .mid-right img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0.5rem 0;
}

.mid-left .image-button,
.mid-right .image-button {
    position: absolute;
    padding: 0.5rem 1rem;
    background-color: #D54D1F;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: neue-haas-grotesk-display, sans-serif;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.mid-left .image-button:hover,
.mid-right .image-button:hover {
    background-color: #a63c18;
    transform: translateY(-2px);
}

.mid-left .image-button {
    top: 2rem;
    left: 5.5rem;
}

.mid-right .image-button {
    bottom: 50rem;
    right: 3rem;
}

/* Product Deals */
.mid-low {
    text-align: left;
    padding: 2rem 0;
}

.mid-low h1 {
    text-align: left;
    margin-bottom: 0rem;
}

.mid-low p {
    text-align: left;
    margin-bottom: 1.5rem;
}

.deal-highlight {
    color: #5CAF90;
}

/* Product Deals */
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.product {
    flex: 1 1 250px;
    max-width: 300px;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #EEE;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-img-cont {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.product-img-cont img {
    width: 200px;
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-details {
    width: 100%;
}

.product-details p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #4B5966;
}

.price {
    color: #4B5966;
    font-weight: bold;
    margin: 0.25rem 0;
}

/* Buttons */
button {
    padding: 0.75rem 1.5rem;
    background-color: #D54D1F;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: neue-haas-grotesk-display, sans-serif;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #a63c18;
    transform: translateY(-2px);
}

.about-us-button {
    margin-top: 300px;
    padding: 1rem 2rem;
    width: auto;
}

.add-to-cart, .buy-now {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    background-color: #D54D1F;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: neue-haas-grotesk-display, sans-serif;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover, .buy-now:hover {
    background-color: #a63c18;
}

.buy-now {
    background-color: #5CAF90;
}

.buy-now:hover {
    background-color: #4a8a73;
}

/* Cart Specific */
.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 5px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details p {
    margin: 2px 0;
    color: #4B5966;
}

.remove-item {
    padding: 0.5rem 1rem;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: neue-haas-grotesk-display, sans-serif;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.remove-item:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

/* Shipping Information Form */
.shipping-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shipping-form div {
    display: flex;
    flex-direction: column;
}

.shipping-form label {
    font-family: neue-haas-grotesk-display, sans-serif;
    color: #4B5966;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.shipping-form input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: proxima-nova, sans-serif;
    transition: border-color 0.3s ease;
}

.shipping-form input:focus {
    outline: none;
    border-color: #D54D1F;
    box-shadow: 0 2px 4px rgba(213, 77, 31, 0.2);
}

/* Footer */
.upper-footer {
    background-color: #D1D5Db;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.left-footer {
    flex: 1 1 250px;
}

.logo-footer {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.appstore {
    margin: 1rem 0;
    width: 120px;
}

.right-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    flex: 3 1 500px;
}

.site-map, .contact-cont {
    flex: 1 1 150px;
    text-align: center;
}

.site-map h4, .contact-cont h4 {
    margin-bottom: 1rem;
    font-family: neue-haas-grotesk-display, sans-serif;
}

.site-map a {
    color: #4B5966;
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.site-map a:hover {
    color: #D54D1F;
    text-decoration: underline;
}

.contact-cont p {
    margin: 0.5rem 0;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-media {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-media .social-link {
    width: 30px;
    height: auto;
}

.lower-footer {
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.payments img {
    width: 40px;
    margin: 0 0.5rem;
}

.about-us-cont {
    text-decoration: none;
    margin: 0 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header, nav {
        flex-direction: column;
        align-items: center;
    }

    .nav-links-container {
        justify-content: center;
    }

    .location-cont {
        margin-left: 0;
    }

    .mid-left, .mid-mid, .mid-right {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .product {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .right-footer {
        flex-direction: column;
        align-items: center;
    }

    .phone-num-container {
        flex-direction: column;
        align-items: center;
    }

    .mid-left .image-button,
    .mid-right .image-button {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .low .Hero {
        flex-direction: column;
        gap: 1rem;
    }

    .about-us-cont {
        margin: 0.5rem 0;
    }

    .shipping-form {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 80px;
    }

    .search-input {
        width: 100%;
        max-width: 250px;
    }

    .Hero, .low .Hero {
        height: 300px;
    }

    .product {
        max-width: 100%;
    }

    button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .about-us-button {
        padding: 0.75rem 1.5rem;
    }

    .mid-left .image-button,
    .mid-right .image-button {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .low .Hero {
        gap: 0.5rem;
    }

    .about-us-cont {
        margin: 0.25rem 0;
    }

    .shipping-form input {
        font-size: 0.9rem;
    }
}