/* Reset & Base Variables */
:root {
    --primary-color: #0b1c3a;
    --accent-color: #d9232d;
    --text-color: #333;
    --bg-light: #f9f9f9;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body { background: var(--bg-light); color: var(--text-color); }

/* Top Offer Bar */
.top-bar {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
}

/* Header & Hamburger Menu */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #fff;
    border-bottom: 1px solid #ddd;
}
.logo { font-size: 24px; font-weight: bold; color: var(--primary-color); }

/* Sidenav (Mobile Menu) */
.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: -250px;
    background-color: var(--primary-color);
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
}
.sidenav a {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.2s;
}
.sidenav a:hover { color: var(--accent-color); }
.closebtn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}
.hamburger {
    font-size: 28px;
    cursor: pointer;
    display: none;
}

/* Product Section Grid */
.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 5%;
    background: #fff;
}
.product-image img {
    width: 100%;
    border-radius: 8px; /* Shorthand used as requested */
}
.product-details h1 { font-size: 28px; margin-bottom: 10px; }
.price { font-size: 24px; color: var(--accent-color); font-weight: bold; }
.old-price { text-decoration: line-through; color: #888; font-size: 18px; }

/* Buttons & Inputs */
.btn-order {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
    width: 100%;
    border: none; /* Shorthand used */
    border-radius: 5px; /* Shorthand used */
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}
.btn-order:hover { background: #08152b; }

/* Form Elements */
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc; /* Shorthand used */
    border-radius: 4px; /* Shorthand used */
}

/* Responsive Rules */
@media screen and (max-width: 768px) {
    .product-container { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hamburger { display: block; }
}

/* =========================================
   Footer Features Section (Trust Badges)
   ========================================= */
.footer-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #061124;
    color: #fff;
    padding: 20px 5%;
    gap: 15px;
    border-bottom: 1px solid #1a2a47; /* Shorthand */
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.feature-icon {
    font-size: 28px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 16px;
    color: #fff;
}

.feature-text span {
    font-size: 13px;
    color: #a0aec0;
}

/* =========================================
   Main Footer Styling
   ========================================= */
.main-footer {
    background: var(--primary-color);
    color: #e2e8f0;
    padding-top: 50px;
    font-size: 14px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 5%;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.brand-col p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cbd5e1;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #1a2a47;
    color: #fff;
    text-decoration: none;
    border-radius: 50%; /* Shorthand */
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--accent-color);
}

/* Footer Headings */
.footer-col h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Footer Links & Contact */
.footer-links, .footer-contact {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    color: #cbd5e1;
}

/* Payment Methods */
.payment-methods {
    margin-top: 20px;
}

.payment-methods p {
    margin-bottom: 10px;
    font-size: 13px;
    color: #a0aec0;
}

.payment-methods img {
    max-width: 100%;
    height: auto;
    border-radius: 4px; /* Shorthand */
}

/* Copyright Bottom Bar */
.footer-bottom {
    text-align: center;
    padding: 20px 5%;
    background: #040d1c;
    border-top: 1px solid #1a2a47; /* Shorthand permitted single boundary */
    color: #94a3b8;
}

/* =========================================
   Mobile Sticky Footer Nav (High Conversion)
   ========================================= */
.mobile-sticky-footer {
    display: none; /* Hidden on Desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1); /* Shorthand */
    z-index: 9999;
    border-top: 1px solid #eee; /* Shorthand */
}

.sticky-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #555;
    font-size: 11px;
    padding: 8px 0;
    width: 25%;
}

.sticky-item .icon {
    font-size: 20px;
    margin-bottom: 3px;
}

.sticky-order-btn {
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px 8px 0 0; /* Shorthand */
    transform: translateY(-10px);
    box-shadow: 0 -4px 10px rgba(11, 28, 58, 0.3); /* Shorthand */
}

.sticky-order-btn .icon {
    color: #fff;
}

.chat-btn .icon {
    color: #25D366; /* WhatsApp Color */
}

/* =========================================
   Responsive Design (Tablet & Mobile)
   ========================================= */

/* Tablet View */
@media screen and (max-width: 991px) {
    .footer-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile View */
@media screen and (max-width: 768px) {
    .footer-features {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-item {
        justify-content: flex-start;
        padding-left: 20%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    /* Show Mobile Sticky Nav */
    .mobile-sticky-footer {
        display: flex;
    }

    /* Add padding to body to prevent sticky footer overlapping content */
    body {
        padding-bottom: 65px;
    }
    
    /* Small layout fix for mobile footer bottom */
    .footer-bottom {
        padding-bottom: 85px; /* extra space for the sticky nav */
    }
}