* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    
}

.top-banner {
    background: #e74c3c;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
}

.top-banner a {
    color: #fff;
    font-weight: bold;
    margin-left: 5px;
    text-decoration: underline;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 50px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    font-weight: 700;
    font-size: 20px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.menu a.active,
.menu a:hover {
    color: #e74c3c;
}

.shop-btn {
    background: #e74c3c;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    padding: 6px 30px 6px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-box i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

/* Icons (right section) */
.icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}

.shop-btn {
    background-color: white;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #bfbfbf;
}

.shop-btn:hover {
    color: #e74c3c;
}

.logout-btn {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.checkout-container {
    background: white;
    width: 900px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 0;
}

h2 {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

input,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 15px;
}

.payment-section img {
    height: 28px;
    margin-right: 8px;
    vertical-align: middle;
}

.summary {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.summary div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.total {
    font-size: 18px;
    font-weight: bold;
}

.place-order {
    background: #e63946;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    font-size: 16px;
}

.place-order:hover {
    background: #d62828;
}

footer {
    background-color: #db4444;
    color: #fff;
    padding: 60px 100px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column p {
    font-size: 14px;
    color: #f0f0f0;
    margin-bottom: 10px;
    line-height: 1.6;
}

.subscribe-box {
    margin-top: 10px;
    border: 1px solid #fff;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
}

.subscribe-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    width: 100%;
}

.subscribe-box input::placeholder {
    color: #f0f0f0;
}

.subscribe-box button {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.footer-links a {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    text-decoration: underline;
}

.download-app img {
    width: 10px;
    margin: 8px 0;
    border-radius: 6px;
    cursor: pointer;
    display: block;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    margin-right: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 20px;
    }
}

.footer-column img {
    width: 60px;
}

main {
    width: 100%;
}

.sub-main {
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

