* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
  }

body {
    background: #f4f6f9;
    color: #333;
}

header {
    background: #111;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
}

.header-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

#cart-btn {
    position: absolute;
    right: 20px;
    background: #ff5722;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
   padding: 40px 20px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.price {
    color: #ff5722;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.product-card button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease;
}

.product-card button:hover {
    background: #0056b3;
}

.hero-banner {
    background: linear-gradient(135deg, #007bff, #0056be);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 10px;
}

.hero-banner h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-banner p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.booth-badge {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

#tshirt-size, #lanyards, #necklaces, #earrings, #chingaderas {
    width: 100%;
    max-width: 150px;
    padding: 8px;
    border: 2px solid #007bff;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    background-color: white;
    outline: none;
    cursor: pointer;
    margin: 0 auto 15px auto;
    display: block;
    transition: border-color 0.2 ease;
}

#tshirt-size:focus, #lanyards:focus, #necklaces:focus, #earrings:focus, #chingaderas:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 123, 255 0.5);
} 

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.quantity-container {
    display: flex;
    justify-content:center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: bold;
}

.quantity-container input {
    width: 70px;
    padding: 8px;
    border: 2px solid #007bff;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    outline: none;
    transition: border-color 0.2s ease;
}

.quantity-container input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-content h2 {
    background: #111;
    color: white;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: white;
}

#cart-items {
    list-style: none;
    padding: 10px 20px;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}

#cart-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.remove-item-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

.remove-item-btn:hover {
    background: #bd2130;
}

.total {
    font-size: 22px;
    font-weight: bold;
    text-align: right;
    padding: 20px;
    color: #111;
    border-top: 2px solid #f1f5f9;
    margin-bottom: 0;
}

.modal-content .checkout-btn {
    border-radius: 0;
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    background: #28a745;
    color: white;
    border: none;
    width: 100%;
   cursor:pointer;
}

.filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px 10px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 5px;
}

.filter-btn {
    background: #f1f5f9;
    color: #475569;
    border: 2px solid#e2e8f0;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.filter-btn.active {
    background: #007bff;
    color: white;
    border-color: #0056b3;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 3px solid #ff5722
}

.footer-content p {
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-content .copyright {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
}

#cart-items + p,
#cart-items + p + p {
    font-size: 16px;
    color: #555;
    padding: 5px 20px;
    margin: 0;
}

.total {
    border-top: 1px solid #ddd;
    margin-top: 10px;
}

.product-card.sold-out button {
    background: #777 !important;
    cursor: not-allowed;
}



