/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --navy-blue: #000080;
    --army-green: #4B5320;
    --gold: #FFD700;
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --dark-gray: #333;
}

body {
    background-color: var(--light-gray);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ===== HEADER & NAVBAR ===== */
header {
    background: linear-gradient(135deg, var(--navy-blue), var(--army-green));
    color: var(--white);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    position: relative;
}

/* Left Side - Logo */
.nav-left .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--gold);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.6rem;
    margin: 0;
    color: var(--white);
    line-height: 1.2;
}

.logo-text span {
    color: var(--gold);
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.9;
    margin: 0;
}

/* Center - Navigation Links */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover {
    background-color: var(--gold);
    color: var(--dark-gray);
}

/* Right Side - Search & Auth */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Search Bar Wrapper - Always Visible */
.search-bar-wrapper {
    flex: 0 0 280px;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.search-form:focus-within {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transform: scale(1.02);
}

.search-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--dark-gray);
    background: transparent;
}

.search-form input::placeholder {
    color: #999;
    font-style: italic;
}

.search-form button {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--navy-blue), var(--army-green));
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form button:hover {
    background: linear-gradient(135deg, var(--army-green), var(--navy-blue));
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 10px 22px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-login {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-signup {
    background-color: var(--gold);
    color: var(--dark-gray);
    border: 2px solid var(--gold);
}

.btn-login:hover {
    background-color: var(--white);
    color: var(--dark-gray);
    border-color: var(--white);
}

.btn-signup:hover {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

/* Cart Icon Styles */
.cart-icon-container {
    position: relative;
    display: inline-block;
}

.cart-icon {
    color: var(--white);
    font-size: 1.3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s;
    background-color: transparent;
    border: 2px solid var(--gold);
}

.cart-icon:hover {
    background-color: var(--gold);
    color: var(--dark-gray);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Update auth-buttons to properly align cart icon */
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Profile button style */
.btn-profile {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-profile:hover {
    background-color: var(--gold);
    color: var(--dark-gray);
}

/* Ensure proper spacing */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Mobile cart styles */
.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.mobile-auth-buttons .mobile-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .nav-right {
        gap: 15px;
    }
    
    .auth-buttons {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .cart-icon-container {
        display: inline-block; /* Show on mobile too */
    }
    
    .cart-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
    z-index: 1001;
    background: linear-gradient(135deg, var(--navy-blue), var(--army-green));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--navy-blue), var(--army-green));
    z-index: 2000;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
    display: block;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.mobile-logo-text h2 {
    color: var(--white);
    font-size: 1.3rem;
    margin: 0;
}

.mobile-logo-text span {
    color: var(--gold);
}

.mobile-close-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 10px;
    transition: background 0.3s;
}

.mobile-nav-links a:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-search-section {
    margin-top: 20px;
}

.mobile-search-section h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.mobile-search-form {
    display: flex;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 25px;
}

.mobile-search-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.mobile-search-form button {
    padding: 15px 25px;
    background: var(--gold);
    border: none;
    color: var(--dark-gray);
    cursor: pointer;
}

.mobile-auth-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.mobile-btn {
    flex: 1;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
}

/* ===== MAIN CONTENT ===== */
main {
    min-height: 500px;
    padding: 40px 0;
}

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 40px;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomEffect 10s infinite alternate;
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.slide-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 800px;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Slideshow Dots */
.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--gold);
    transform: scale(1.3);
}

.dot:hover {
    background-color: var(--white);
    transform: scale(1.3);
}

/* Slideshow Arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
}

.slide-arrow:hover {
    background: var(--gold);
    color: var(--dark-gray);
}

.slide-arrow.prev {
    left: 20px;
}

.slide-arrow.next {
    right: 20px;
}

/* Responsive Slideshow */
@media (max-width: 992px) {
    .hero-slideshow {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 2.8rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-slideshow {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-slideshow {
        height: 350px;
    }
    
    .slide-content h2 {
        font-size: 1.6rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slide-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .slide-arrow.prev {
        left: 10px;
    }
    
    .slide-arrow.next {
        right: 10px;
    }
    
    .slideshow-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.product-price {
    font-size: 1.3rem;
    color: var(--navy-blue);
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-buy {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--navy-blue), var(--army-green));
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s;
}

.btn-buy:hover {
    opacity: 0.9;
}

/* Categories */
.categories {
    margin-top: 40px;
}

.category-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.category-badge {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.category-badge:hover {
    background: linear-gradient(135deg, var(--navy-blue), var(--army-green));
    color: var(--white);
}

.category-badge.active {
    background: linear-gradient(135deg, var(--navy-blue), var(--army-green));
    color: var(--white);
}

/* ===== ABOUT PAGE ===== */
.about-section {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-section h2 {
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.about-section h3 {
    color: var(--navy-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-section p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-section li {
    margin-bottom: 10px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* ===== FORMS (LOGIN/SIGNUP) ===== */
.form-container {
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    color: var(--navy-blue);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-gray);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--gold);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--navy-blue), var(--army-green));
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--gold);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .search-bar-wrapper {
        flex: 0 0 240px;
    }
}

@media (max-width: 992px) {
    .navbar {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-center {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .nav-links {
        justify-content: center;
        width: 100%;
    }
    
    .nav-right {
        flex: 1;
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .nav-center,
    .nav-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .logo-text p {
        font-size: 0.7rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-text p {
        display: none;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .form-container {
        padding: 25px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}


/* ===== CHECKOUT PAGE STYLES ===== */

/* Checkout Container */
.checkout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.checkout-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Checkout Steps */
.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--navy-blue), var(--army-green));
    color: white;
}

.step.completed .step-number {
    background: var(--success);
    color: white;
}

.step-text {
    font-weight: 500;
    color: var(--dark-gray);
}

.step.active .step-text {
    color: var(--navy-blue);
    font-weight: bold;
}

.step-connector {
    width: 50px;
    height: 2px;
    background: #e9ecef;
}

/* Checkout Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

/* Checkout Forms */
.checkout-form-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.3rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group label span {
    color: red;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-control.error {
    border-color: var(--danger);
}

.help-text {
    font-size: 0.85rem;
    color: #999;
    margin-top: 5px;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.payment-method {
    position: relative;
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-method label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method input[type="radio"]:checked + label {
    border-color: var(--navy-blue);
    background: #f0f4ff;
}

.payment-method label i {
    font-size: 1.5rem;
    color: var(--navy-blue);
}

.payment-method label span {
    font-weight: 500;
}

.payment-method label small {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Order Summary */
.order-summary {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.summary-title {
    font-size: 1.3rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

.summary-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-title {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.item-price {
    color: var(--navy-blue);
    font-weight: bold;
}

.item-quantity {
    color: #666;
    font-size: 0.9rem;
}

.item-subtotal {
    font-weight: bold;
    color: var(--dark-gray);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.summary-row.total {
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--navy-blue);
    padding-top: 15px;
}

.summary-row.grand-total {
    font-size: 1.4rem;
    color: var(--navy-blue);
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
}

/* Place Order Button */
.place-order-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--navy-blue), var(--army-green));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,128,0.3);
}

.place-order-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Order Confirmation */
.order-confirmation {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 60px 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 20px;
}

.order-confirmation h2 {
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.order-number {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 1.2rem;
}

.order-number strong {
    color: var(--navy-blue);
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.confirmation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Error Message */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* ===== CHECKOUT PAGE RESPONSIVE ===== */
@media screen and (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
    }
    
    .checkout-header h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .checkout-container {
        padding: 20px 15px;
    }
    
    .checkout-steps {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-connector {
        width: 2px;
        height: 20px;
        margin-left: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .confirmation-buttons {
        flex-direction: column;
    }
    
    .order-confirmation {
        padding: 40px 20px;
    }
}

@media screen and (max-width: 480px) {
    .checkout-header h1 {
        font-size: 1.5rem;
    }
    
    .checkout-form-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .item-image {
        width: 80px;
        height: 80px;
    }
    
    .confirmation-icon {
        font-size: 4rem;
    }
    
    .order-number {
        font-size: 1rem;
    }
    
    .order-number strong {
        font-size: 1.1rem;
    }
}
