* {
    font-family: 'Montserrat', sans-serif;
}

body {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
    background-color: #f9fafb;
    color: #111827;
}

.header {
    margin-bottom: 2rem;
}

.preorder-badge {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Product Card Styling */
.product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.product-price {
    font-size: 1.1rem;
    color: #4b5563;
    font-weight: 600;
}

/* Styled Radio Buttons (The "Boxes") */
.options-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.options-label {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 60px;
}

.option-box input[type="radio"] {
    display: none;
}

.option-box span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.option-box input[type="radio"]:checked+span {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

/* Quantity and Layout */
.qty-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 0.5rem;
}

.qty-input {
    width: 30px;
    padding: 6px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
}

.custom-qty {
    width: 80px;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

.custom-qty:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.1);
}

#special_notes {
    width: 100%;
    border: none;
    border-bottom: 1px solid #4b5563;
    margin: 20px 0 30px 0;
    background-color: #f9fafb;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

#special_notes:focus {
    outline: none;
}

select.custom-qty {
    width: 100%;
    min-height: 44px;
    font-family: 'Montserrat', sans-serif;
}

/* Checkout Section */
.checkout-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.shipping-notice {
    background: #dbeafe;
    color: #1e40af;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border-left: 4px solid #1e40af;
}

.terms-container {
    font-size: 0.9rem;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.checkout-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.checkout-btn:not(:disabled):hover {
    background: #374151;
}