* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background: #2196F3;
}

.btn-success {
    background: #4CAF50;
}

.btn-danger {
    background: #f44336;
}

.btn-secondary {
    background: #757575;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    font-weight: 600;
    background: #f5f5f5;
}

.hero-banner {
    position: relative;
    overflow: hidden;
}

.product-card {
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-warning { background: #fff3e0; color: #ef6c00; }
.badge-danger { background: #ffebee; color: #c62828; }
.badge-info { background: #e3f2fd; color: #1565c0; }

@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 32px !important;
    }
    .hero-banner {
        height: 300px !important;
    }
    header {
        flex-direction: column;
        gap: 15px;
    }
    nav {
        gap: 15px !important;
    }
}
/* ========================================
   BLACK & GOLD HEADER/FOOTER OVERRIDE
   Add to end of existing style.css
   ======================================== */

/* Header */
header {
    background: #0d0d0d;
    border-bottom: 2px solid #d4af37;
}

header .logo {
    color: #d4af37;
}

nav a {
    color: #f5f5f5;
}

nav a:hover,
nav a.active {
    color: #d4af37;
    border-bottom-color: #d4af37;
}

.cart-count {
    background: #d4af37;
    color: #0d0d0d;
}

/* Footer */
footer {
    background: #0d0d0d;
    border-top: 2px solid #d4af37;
    color: #888888;
}

footer h3 {
    color: #d4af37;
    border-bottom-color: #d4af37;
}

footer a:hover {
    color: #d4af37;
}

/* Buttons */
.btn {
    background: #d4af37;
    color: #0d0d0d;
}

.btn:hover {
    background: #f4d76b;
}

.btn-secondary {
    border-color: #d4af37;
    color: #d4af37;
}

.btn-secondary:hover {
    background: #d4af37;
    color: #0d0d0d;
}]
/* Header overrides */
header {
    background: #0d0d0d !important;
    border-bottom: 2px solid #d4af37 !important;
}

header a {
    color: #ffffff !important;
}

nav span {
    color: #ffffff;
}

.dropdown > div {
    background: #1a1a1a !important;
    border: 1px solid #333;
}

.dropdown > div a {
    color: #f5f5f5 !important;
}

.dropdown > div a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37 !important;
}

.cart-count {
    background: #d4af37 !important;
    color: #0d0d0d !important;
    font-weight: bold;
}
/* Checkout Mobile Fix */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .order-summary {
        position: static !important;
        order: -1; /* Move summary to top on mobile */
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .checkout-form {
        padding: 20px !important;
    }
    
    input, select, textarea {
        font-size: 16px !important; /* Prevent zoom on iOS */
        min-height: 44px; /* Easy tap targets */
    }
    
    .option-group label {
        font-size: 14px;
    }
}
/* Checkout Mobile Fix */
@media (max-width: 768px) {
    /* Target the checkout grid container */
    body:has(h1:contains("Checkout")) > div[style*="grid-template-columns: 1fr 400px"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Alternative - add this class to the checkout container */
    .checkout-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Make inputs easier to tap */
    input, textarea {
        font-size: 16px !important;
        min-height: 44px;
    }
}