body {
    font-family: 'Oswald', 'Arial', sans-serif;
}

/* Navbar Vertical Alignment Fix */
.navbar .container {
    display: flex;
    align-items: center;
}

.navbar-collapse {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Profile dropdown alignment */
.nav-item.dropdown {
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Ensure profile image stays centered */
.navbar .rounded-circle {
    vertical-align: middle;
}

/* Cart and user name alignment */
.navbar-nav .nav-link {
    line-height: 1;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}


.navbar {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(220, 53, 69, 0.3);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-link {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #dc3545 !important;
}

/* Profile dropdown styling */
.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    background: #1a1a1a;
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    transform: translateX(5px);
}

.dropdown-item i {
    color: #dc3545;
}

/* Profile image ring */
.navbar .rounded-circle {
    border: 2px solid #dc3545;
    padding: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.navbar .rounded-circle:hover {
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
    transform: scale(1.1);
}

/* Mobile toggler */
.navbar-toggler {
    border: 1px solid rgba(220, 53, 69, 0.5);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(220, 53, 69, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(220, 53, 69, 0.3);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dc3545, transparent);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer h6 {
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    color: #dc3545;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #dc3545, transparent);
}

.footer ul li {
    margin-bottom: 0.6rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    padding-left: 0;
}

.footer ul li a:hover {
    color: #dc3545 !important;
    padding-left: 8px;
}

.footer ul li a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0;
    height: 2px;
    background: #dc3545;
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.footer ul li a:hover::before {
    width: 10px;
    left: -5px;
}

/* Social Links */
.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #fff !important;
    transition: all 0.3s ease;
    margin-right: 0.75rem !important;
}

.social-links a:hover {
    background: #dc3545;
    border-color: #dc3545;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

.social-links a:last-child {
    margin-right: 0 !important;
}

/* Footer Divider */
.footer hr {
    border-color: rgba(220, 53, 69, 0.2);
    margin: 2.5rem 0 1.5rem;
}

/* Bottom Section */
.footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Payment Icons */
.footer img {
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.footer img:hover {
    opacity: 1;
    filter: grayscale(0%);
}