/* cart.css */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00FF66;
    --secondary: #000000;
    --dark-bg: #111111;
    --card-bg: #1A1A1A;
    --border-color: #333333;
    --light-text: #FFFFFF;
    --gray-text: #CCCCCC;
    --input-bg: #222222;
    --sale-color: #FF4444;
    --success-color: #00FF66;
    --error-color: #FF4444;
    --warning-color: #FFAA00;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary);
    color: var(--light-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Dela Gothic One', cursive;
    font-size: 1.8rem;
    color: var(--light-text);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.cart-link a {
    position: relative;
}

.cart-count {
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    position: absolute;
    top: -8px;
    right: -8px;
}

.cart-text {
    display: inline-block;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Desktop Navbar Links */
.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    font-family: 'Inter', sans-serif;
    display: inline-block;
}

/* Mobile Menu (Dropdown) */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu.active {
    display: block;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.mobile-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', sans-serif;
    transition: color 0.3s;
    display: block;
}

.mobile-links a:hover {
    color: var(--primary);
}

.mobile-links a:last-child {
    border-bottom: none;
}

/* Mobile: Hide desktop links, show hamburger */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .logo-container {
        order: 1;
    }
    
    .nav-right {
        order: 3;
    }
    
    .nav-container {
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

/* Desktop: Show desktop links, hide hamburger */
@media (min-width: 901px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Cart Hero */
.cart-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), 
                url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 20px;
}

.hero-title {
    font-family: 'Dela Gothic One', cursive;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Cart Main */
.cart-main {
    padding: 3rem 0 5rem;
    background-color: var(--secondary);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

/* Cart Items Section */
.cart-items-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
    font-family: 'Dela Gothic One', cursive;
    font-size: 1.8rem;
    color: var(--light-text);
}

.clear-cart-btn {
    background: transparent;
    border: 1px solid var(--error-color);
    color: var(--error-color);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-cart-btn:hover {
    background: var(--error-color);
    color: var(--light-text);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: var(--primary);
}

.item-image {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.item-category {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.remove-item {
    background: transparent;
    border: none;
    color: var(--error-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: rgba(255, 68, 68, 0.1);
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.item-price {
    font-size: 1.3rem;
    color: var(--primary);
    font-family: 'Dela Gothic One', cursive;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.qty-btn {
    width: 35px;
    height: 35px;
    background: var(--border-color);
    border: none;
    color: var(--light-text);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--secondary);
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-btn:disabled:hover {
    background: var(--border-color);
    color: var(--light-text);
}

.quantity-input {
    width: 60px;
    height: 35px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    border-radius: 8px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.item-total {
    font-size: 1.4rem;
    color: var(--light-text);
    font-weight: 600;
    margin-left: auto;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.empty-cart.show {
    display: block;
}

.empty-icon {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1.5rem;
}

.empty-cart h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.empty-cart p {
    color: var(--gray-text);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary);
    color: var(--secondary);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.shop-btn:hover {
    background: #00cc55;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 102, 0.3);
}

/* Order Summary */
.order-summary {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.summary-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
}

.summary-card h3 {
    font-family: 'Dela Gothic One', cursive;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-row span {
    color: var(--gray-text);
}

.summary-row.total-row {
    margin-top: 1rem;
}

.total-row span {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.discount-row span:last-child {
    color: var(--success-color);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

/* Coupon Section */
.coupon-section {
    margin-bottom: 2rem;
}

.coupon-input {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.coupon-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.coupon-input button {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-input button:hover {
    background: #00cc55;
}

.coupon-message {
    font-size: 0.9rem;
    min-height: 20px;
}

.coupon-message.success {
    color: var(--success-color);
}

.coupon-message.error {
    color: var(--error-color);
}

/* Checkout Button */
.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.checkout-btn:hover {
    background: #00cc55;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 102, 0.3);
}

/* Secure Payment */
.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.secure-payment i {
    color: var(--primary);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.payment-methods i {
    font-size: 2rem;
    color: var(--gray-text);
    transition: color 0.3s ease;
}

.payment-methods i:hover {
    color: var(--primary);
}

/* Continue Shopping */
.continue-shopping a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem;
    border: 1px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.continue-shopping a:hover {
    background: rgba(0, 255, 102, 0.1);
}

/* Shipping Info */
.shipping-info {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.shipping-info h4 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.shipping-info h4 i {
    color: var(--primary);
}

.shipping-info p {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--primary);
}

.progress-text span {
    font-weight: 600;
}

/* Recently Viewed */
.recently-viewed {
    padding: 4rem 0;
    background-color: var(--dark-bg);
}

.section-title {
    font-family: 'Dela Gothic One', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-text);
}

.section-title span {
    color: var(--primary);
}

.product-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.slider-product {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.slider-product:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.slider-product img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.slider-product h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.slider-product .price {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.add-to-cart-mini {
    width: 100%;
    padding: 0.7rem;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-mini:hover {
    background: #00cc55;
}

/* Features Banner */
.features-banner {
    padding: 3rem 0;
    background-color: var(--secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem 1rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.feature p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Dela Gothic One', cursive;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.footer-section p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-section ul li i {
    color: var(--primary);
    margin-right: 10px;
    width: 20px;
}

.footer .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer .social-icons a {
    width: 40px;
    height: 40px;
    background: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Checkout Modal */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-modal.active {
    display: flex;
}

.checkout-content {
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.checkout-header h2 {
    font-family: 'Dela Gothic One', cursive;
    font-size: 2rem;
    color: var(--light-text);
}

.close-checkout {
    background: transparent;
    border: none;
    color: var(--light-text);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-checkout:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: rotate(90deg);
}

.checkout-steps {
    display: flex;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 50px;
    height: 2px;
    background: var(--border-color);
}

.step.active .step-number {
    background: var(--primary);
    color: var(--secondary);
}

.step.active .step-title {
    color: var(--primary);
}

.step.completed .step-number {
    background: var(--success-color);
    color: var(--secondary);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-info {
    display: flex;
    flex-direction: column;
}

.step-title {
    font-weight: 600;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.checkout-step {
    padding: 0 2rem;
    display: none;
}

.checkout-step.active {
    display: block;
}

.checkout-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

/* Form Styles */
#checkoutForm .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

#checkoutForm .form-group {
    margin-bottom: 1.5rem;
}

#checkoutForm label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--gray-text);
    font-weight: 500;
}

#checkoutForm input,
#checkoutForm select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

#checkoutForm input:focus,
#checkoutForm select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.2);
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shipping-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shipping-option:hover {
    border-color: var(--primary);
}

.shipping-option input {
    width: auto;
    margin-right: 1rem;
}

.option-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-title {
    font-weight: 600;
    color: var(--light-text);
}

.option-desc {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.option-price {
    color: var(--primary);
    font-weight: 600;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method input {
    width: auto;
    margin-right: 1rem;
}

.method-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-content i {
    font-size: 1.5rem;
    color: var(--gray-text);
}

.card-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.review-summary {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-section {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.review-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.terms-agreement {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 2rem 0;
}

.terms-agreement input {
    width: auto;
}

.terms-agreement label {
    margin: 0;
    color: var(--gray-text);
}

.terms-agreement a {
    color: var(--primary);
    text-decoration: none;
}

.terms-agreement a:hover {
    text-decoration: underline;
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    border-top: 2px solid var(--border-color);
}

.btn-back,
.btn-next,
.btn-submit {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-back {
    background: transparent;
    color: var(--gray-text);
    border: 1px solid var(--border-color);
}

.btn-back:hover {
    background: var(--border-color);
    color: var(--light-text);
}

.btn-next {
    background: var(--primary);
    color: var(--secondary);
}

.btn-next:hover {
    background: #00cc55;
    transform: translateY(-3px);
}

.btn-submit {
    background: var(--success-color);
    color: var(--secondary);
    display: none;
}

.btn-submit:hover {
    background: #00cc55;
    transform: translateY(-3px);
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-modal.active {
    display: flex;
}

.success-content {
    background: var(--card-bg);
    border: 2px solid var(--success-color);
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    padding: 3rem;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.success-content h2 {
    font-family: 'Dela Gothic One', cursive;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.order-id {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.success-content p {
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.order-summary-mini {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.order-summary-mini .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-summary-mini .summary-row:last-child {
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.total-amount {
    font-size: 1.3rem;
    color: var(--success-color);
    font-weight: 700;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-continue,
.btn-home {
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-continue {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    cursor: pointer;
}

.btn-continue:hover {
    background: #00cc55;
    transform: translateY(-3px);
}

.btn-home {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-home:hover {
    background: rgba(0, 255, 102, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .checkout-content {
        max-width: 600px;
    }
    
    .checkout-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .item-image {
        width: 100%;
        height: 200px;
    }
    
    .item-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .item-total {
        margin-left: 0;
    }
    
    #checkoutForm .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkout-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-back,
    .btn-next,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cart-items-section,
    .summary-card {
        padding: 1.5rem;
    }
    
    .checkout-content {
        padding: 1rem;
    }
    
    .success-content {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success-color);
    color: var(--secondary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    animation: slideIn 0.3s ease;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}






/* footer */


/* ========== FOOTER ========== */
footer {
    background: var(--dark-bg);
    padding: 3rem 20px 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.slogan-text {
    font-family: 'Antonio', sans-serif;
    font-size: 1.5rem;
    color: white;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
    font-family: 'Inter', sans-serif;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.footer-links a:hover:after {
    width: 100%;
}

.footer-right {
    flex: 0 0 auto;
}

.footer-right-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* ========== FOOTER RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        gap: 2rem;
        order: 3;
        width: 100%;
    }

    .footer-left {
        order: 1;
        flex-direction: column;
        gap: 15px;
    }

    .footer-right {
        order: 2;
    }

    .footer-logo-img,
    .footer-right-img {
        height: 70px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    footer {
        padding: 2rem 20px 1.5rem;
    }

    .footer-logo-img,
    .footer-right-img {
        height: 60px;
    }
}










/* ========== FOOTER SOCIAL LINKS ========== */
.footer-social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 1.5rem 0;
    order: 4; /* Mobile me neeche aane ke liye */
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--primary);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.3);
    border-color: var(--primary);
}

/* Mobile Responsive ke liye adjustments */
@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-social-links {
        order: 3; /* Links ke baad social links */
        margin: 0.5rem 0 1.5rem 0;
    }
    
    .footer-left {
        order: 1;
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links {
        order: 2;
        width: 100%;
    }
    
    .footer-right {
        order: 5;
    }
}

@media (max-width: 480px) {
    .footer-social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}













