/* Order page styles (moved out of order.html so the CSP needs no 'unsafe-inline') */
/* Hide default browser number spinners */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=number] {
    -moz-appearance: textfield;
}

/* Clean B2B Print / PDF Output */
@media print {
    body {
        background-color: #FFFFFF !important;
        color: #1E1E1E !important;
    }
    .no-print {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
    .print-break-inside {
        break-inside: avoid;
    }
    input, textarea {
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        resize: none !important;
    }
    .shadow-sm, .shadow-md, .shadow-xl {
        box-shadow: none !important;
    }
}
.print-only {
    display: none;
}

/* Mobile: 16px inputs stop iPhones from zooming in on tap */
@media (max-width: 639px) {
    input, textarea, select { font-size: 16px !important; }
}
/* Phones and tablets: order bar docked to the bottom edge (paid plan, no Netlify badge any more).
   Look taken from the landing page: dark frosted glass, gold hairline, gold-outlined button. */
@media screen and (max-width: 1023px) {
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    #mobile-bar {
        left: 0; right: 0; bottom: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: linear-gradient(rgba(18, 17, 16, .86), rgba(18, 17, 16, .96));
        -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
        border-top: 1px solid rgba(198, 166, 120, .45);
        box-shadow: 0 -12px 32px rgba(18, 17, 16, .18);
        color: #fff;
    }
    #mobile-bar .ob-label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
    #mobile-bar .ob-count { font-size: 15px; font-weight: 500; letter-spacing: .04em; }
    #mobile-bar .ob-count .ob-gold { color: #c6a678; }
    #btn-open-panel {
        position: relative; overflow: hidden; flex-shrink: 0;
        padding: 12px 20px; border: 1px solid #c6a678; border-radius: 0;
        background: transparent; color: #fff;
        font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
        transition: background-color .4s cubic-bezier(.22, .61, .36, 1), color .4s cubic-bezier(.22, .61, .36, 1);
    }
    #btn-open-panel:hover, #btn-open-panel:active, #btn-open-panel.has-items { background: #c6a678; color: #121110; }
    /* Bottom sheet above the bar's safe area */
    #order-panel { border-radius: 0; border-top: 1px solid rgba(198, 166, 120, .6); }
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }
.field-invalid { border-color: #DC2626 !important; }
/* "Please choose" looks like a grey placeholder until a country is picked */
select:invalid { color: #9CA3AF; }
select option { color: #1E1E1E; }

/* Spam trap: hidden from people, bots fill it in */
.hp-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Phone bottom sheet: room for the iPhone home bar */
#order-panel { padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }

/* Main send button: same gold-outline style as the landing page button */
#btn-email {
    border: 1px solid #c6a678; border-radius: 0; background: #121110; color: #fff;
    letter-spacing: .24em;
    transition: background-color .4s cubic-bezier(.22, .61, .36, 1), color .4s cubic-bezier(.22, .61, .36, 1);
}
#btn-email:hover { background: #c6a678; color: #121110; }
