
#quantity-change {
    display:flex;
    justify-content: space-between;
}

#quantity-change > p {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

#quantity-change > div {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* Increase/Decrease Buttons */
.increase-decrease {
    width: 40px;
    height: 40px;
    padding: 0;
    
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.increase-decrease:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.increase-decrease:active {
    transform: scale(0.98);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Readonly Quantity Field */
#quantity-change input[type="number"][readonly] {
    width: 60px;
    height: 40px;
    
    padding: 6px 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    
    outline: none;
    cursor: not-allowed;
}

#quantity-change input[type="number"][readonly]:focus {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Chrome/Safari spinner removal for readonly */
#quantity-change input[type="number"]::-webkit-outer-spin-button,
#quantity-change input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}




/* ========================== */
/* == Payment Method Section == */
#instant-payment .general-box input[type="radio"] {
    width: 18px;
    height: 18px;
    
    cursor: pointer;
    accent-color: white;
    
    margin-right: 8px;
}

#instant-payment .general-box label[for*="payment_method"] {
    display: inline-flex;
    align-items: center;
    
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 16px 0 0;
    
    cursor: pointer;
    transition: color 0.15s;
}

#instant-payment .general-box label[for*="payment_method"]:hover {
    color: white;
}

/* ========================== */
/* == Email Field == */
#instant-payment .general-box label:not([for*="payment_method"]) {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

#instant-payment .general-box input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    
    font-size: 0.95rem;
    color: white;
    
    background-color: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#instant-payment .general-box input[type="email"]:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

#instant-payment .general-box input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#instant-payment .general-box input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    
    font-size: 0.95rem;
    color: white;
    
    background-color: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#instant-payment .general-box input[type="text"]:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

#instant-payment .general-box input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* ========================== */
/* == Submit Buttons == */
#instant-payment .general-box input[type="submit"] {
    width: 50%;
    padding: 12px 16px;
    
    font-size: 1rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.9);
    
    background-color: white;
    border: 2px solid white;
    border-radius: 8px;
    
    cursor: pointer;
    transition: all 0.2s ease;
    
    text-transform: none;
}

#instant-payment .general-box input[type="submit"]:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

#instant-payment .general-box input[type="submit"]:active {
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0.95);
}

/* ========================== */
/* == Instant Checkout Buttons == */
.stripe-instant {
    width: 100%;
}

.cart-instant {
    width: 30%;
    display: flex;
}

.stripe-instant form {
    width: 100%;
    display: flex;
    flex-direction: column;
}


.stripe-instant input[type="submit"] {
    padding: 14px 16px;
    width: 40%;
    
    font-size: 1rem;
    font-weight: 700;
    /* color: rgba(0, 0, 0, 0.9); */
    
    background-color: white;
    border: 2px solid white;
    border-radius: 8px;
    
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
}

.stripe-instant input[type="submit"]:hover {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.stripe-instant input[type="submit"]:active {
    transform: translateY(0);
    background-color: white;
}

.cart-instant input[type="submit"] {
    flex: 1;
    padding: 14px 16px;
    
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    
    background-color: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    opacity: 0.5;
    
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    margin: 0 0 0 6px;
}

.cart-instant input[type="submit"]:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 0.95);
}

.cart-instant input[type="submit"]:active {
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Stripe logo sizing for instant purchase */
/* .stripe-logo {
        max-width: 100px;
        max-height: 30px;
        width: auto;
        height: auto;
        display: block;
        margin-top: 8px;
} */

@media (max-width: 480px) {
    .stripe-logo { max-width: 100px; max-height: 36px; }
}

/* Button that contains the Stripe logo */
.stripe-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 14px;
        background-color: white;
        border: 2px solid white;
        border-radius: 8px;
        cursor: pointer;
        width: 20%
}

.stripe-button:hover {
        background-color: rgba(255,255,255,0.95);
        transform: translateY(-1px);
}

.stripe-button .stripe-logo {
        margin-top: 0;
        max-width: 120px;
        max-height: 25px;
}

@media (max-width: 480px) {
    .stripe-button .stripe-logo { max-width: 92px; max-height: 32px; }
}