/* Order form styled like the hanout/codplugin original. Scoped under #codplugin-checkout .cod-hanout */
#codplugin-checkout .cod-hanout { --cod-blue:#259bea; --cod-line:#bce0f7; --cod-soft:#f0f9ff; --cod-green:#25d366; font-family:inherit; }
#codplugin-checkout .cod-hanout .cod-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; margin-bottom:15px; }
#codplugin-checkout .cod-hanout .cod-grid .cod-wide { grid-column:1 / -1; }
#codplugin-checkout .cod-hanout input:not([type=number]),
#codplugin-checkout .cod-hanout select { width:100%; height:50px; margin:0; padding:0 16px; border:2px solid var(--cod-line); border-radius:3px;
  background:#fff; font:inherit; font-size:16px; color:#333; box-shadow:none; box-sizing:border-box; }
#codplugin-checkout .cod-hanout select { appearance:auto; }
#codplugin-checkout .cod-hanout input:focus, #codplugin-checkout .cod-hanout select:focus { outline:none; border-color:var(--cod-blue); }
/* like the original: green when filled correctly */
#codplugin-checkout .cod-hanout .cod-grid input:not(:placeholder-shown):valid, #codplugin-checkout .cod-hanout .cod-grid select:valid { border-color:#69bf29; }
#codplugin-checkout .cod-hanout .cf-turnstile { margin:0 0 14px; }
#codplugin-checkout .cod-hanout .cod-actions { display:flex; gap:15px; align-items:stretch; }
#codplugin-checkout .cod-hanout .cod-qty { display:flex; border:2px solid var(--cod-line); border-radius:3px; flex:0 0 125px; height:50px; box-sizing:border-box; }
#codplugin-checkout .cod-hanout .cod-qty button { flex:0 0 35px; border:0; background:#fff; font-size:22px; color:#333; cursor:pointer; padding:0; }
#codplugin-checkout .cod-hanout .cod-qty input { width:100%; min-width:0; border:0; border-inline:2px solid var(--cod-line); text-align:center;
  font:inherit; font-size:20px; padding:0; margin:0; -moz-appearance:textfield; background:#fff; color:#333; }
#codplugin-checkout .cod-hanout .cod-qty input::-webkit-inner-spin-button,
#codplugin-checkout .cod-hanout .cod-qty input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
#codplugin-checkout .cod-hanout .cod-submit { flex:1; height:50px; border:0; border-radius:3px; background:var(--cod-blue); color:#fff;
  font:inherit; font-size:18px; font-weight:800; cursor:pointer; padding:0 12px; }
#codplugin-checkout .cod-hanout .cod-submit:disabled { opacity:.6; cursor:wait; }
#codplugin-checkout .cod-hanout .cod-msg { color:#c0392b; margin:10px 0 0; min-height:0; font-size:15px; }
#codplugin-checkout .cod-hanout .cod-msg:empty { display:none; }
#codplugin-checkout .cod-hanout .cod-wa { text-align:center; margin:22px 0; }
#codplugin-checkout .cod-hanout #whatsapp-orders { background:var(--cod-green); color:#fff; border:0; border-radius:999px; padding:10px 18px;
  font:inherit; font-size:16px; font-weight:800; cursor:pointer; }
#codplugin-checkout .cod-hanout .cod-summary { background:var(--cod-soft); border-radius:3px; }
#codplugin-checkout .cod-hanout .cod-summary-head { width:100%; display:flex; justify-content:space-between; align-items:center; padding:16px 18px;
  background:none; border:0; border-bottom:2px solid var(--cod-line); font:inherit; font-size:17px; color:#333; cursor:pointer; }
#codplugin-checkout .cod-hanout .cod-summary-head .fa-shopping-cart { color:#8cc6ef; margin-inline-end:6px; }
#codplugin-checkout .cod-hanout .cod-chev { color:#8cc6ef; transition:transform .2s; }
#codplugin-checkout .cod-hanout .cod-summary.closed .cod-chev { transform:rotate(180deg); }
#codplugin-checkout .cod-hanout .cod-summary.closed .cod-summary-body { display:none; }
#codplugin-checkout .cod-hanout .cod-summary-body { width:100%; margin:0; border:0; border-collapse:collapse; background:none; }
#codplugin-checkout .cod-hanout .cod-summary-body td { padding:14px 18px; border:0; border-bottom:2px dotted var(--cod-line); background:none; font-size:16px; color:#333; }
#codplugin-checkout .cod-hanout .cod-summary-body tr:last-child td { border-bottom:0; }
#codplugin-checkout .cod-hanout .cod-summary-body td:last-child { text-align:left; white-space:nowrap; direction:ltr; }
#codplugin-checkout .cod-hanout .cod-sum-name, #codplugin-checkout .cod-hanout .cod-sum-total-row td:first-child { font-weight:800; }
#codplugin-checkout .cod-hanout .cod-summary-body td.cod-sum-total { color:var(--cod-blue); font-weight:800; }
#codplugin-checkout .cod-hanout .cod-badge { display:inline-block; background:var(--cod-blue); color:#fff; border-radius:3px; padding:0 6px; font-size:14px; font-weight:800; direction:rtl; }
#codplugin-checkout .cod-hanout .cod-done { font-size:18px; text-align:center; padding:20px 0; }
@media (max-width:600px) {
  #codplugin-checkout .cod-hanout .cod-grid { grid-template-columns:1fr; gap:12px; }
  #codplugin-checkout .cod-hanout .cod-actions { gap:10px; }
  #codplugin-checkout .cod-hanout .cod-qty { flex-basis:120px; }
  #codplugin-checkout .cod-hanout .cod-qty button { flex-basis:34px; }
}
/* Order summary copied into the theme's thank-you box (box itself styled by codplugin.css) */
#codplugin-thanks-box #codplugin_show_hide td:last-child { text-align:left; direction:ltr; white-space:nowrap; }
#codplugin-thanks-box .cod-sum-name, #codplugin-thanks-box .cod-sum-total-row td { font-weight:800; }
#codplugin-thanks-box .cod-sum-total { color:#259bea; }
#codplugin-thanks-box .cod-badge { background:#259bea; color:#fff; border-radius:3px; padding:0 6px; font-size:13px; font-weight:800; direction:rtl; display:inline-block; }
/* Thank-you box added by postprocess.py when the theme export had none (same look as the theme's own box) */
#codplugin-thanks.cod-thanks-added { padding:30px 15px; direction:rtl; }
.cod-thanks-added #codplugin-thanks-box { max-width:620px; margin:0 auto; background:#fff; border:1px solid #e5e5e5; border-radius:8px; box-shadow:0 2px 14px rgba(0,0,0,.08); padding:28px 22px; text-align:center; }
.cod-thanks-added .thanks-box-title { color:#27ae60; font-size:26px; font-weight:800; margin:0 0 12px; }
.cod-thanks-added .blink-me { animation:cod-blink 1.2s linear 3; }
@keyframes cod-blink { 50% { opacity:0; } }
.cod-thanks-added .thanks-box-content { font-size:17px; line-height:1.8; color:#333; margin-bottom:20px; white-space:pre-line; }
.cod-thanks-added #thanks-order-summary { text-align:right; border:1px solid #eee; border-radius:6px; padding:12px; }
.cod-thanks-added .order-summary-title { font-weight:800; font-size:17px; margin-bottom:8px; }
.cod-thanks-added #thanks-order-summary table { width:100%; border-collapse:collapse; }
.cod-thanks-added #thanks-order-summary td { padding:8px 4px; border-top:1px solid #f0f0f0; }
/* prices.js: product not sold in the visitor's country (prices.csv price "-") */
.cod-na { color:#c0392b; font-weight:700; font-size:.85em; }
/* delivery_note: prices exclude delivery */
.cod-delivery-note{color:#b45309;font-size:14px;margin:4px 0 10px}
.cod-sum-fee{white-space:normal}
