/* Kayonjae's Ice Cream: the order form on the contact page (order.js). */
.order-form [hidden]{display:none!important;}
.info-card h2{color:#fff;font-size:1.5rem;margin-bottom:10px;}
.order-form h2{font-size:1.7rem;margin-bottom:4px;}
.order-form .of-lead{color:#1C4045;margin:0 0 22px;}
.of-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.of-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.order-form fieldset{border:0;margin:0;padding:0;min-width:0;}
.order-form legend,.order-form .field > label{font-weight:700;font-size:0.92rem;color:var(--teal-dark);padding:0;}
.order-form input[type=text],.order-form input[type=email],.order-form input[type=tel],.order-form input[type=date],.order-form input[type=number],.order-form textarea,.order-form select{
  font:inherit;font-size:1rem;color:var(--ink);background:#FFFDF8;border:1.5px solid #CFE3E5;border-radius:12px;padding:11px 14px;width:100%;min-width:0;
}
.order-form textarea{min-height:92px;resize:vertical;}
.order-form input:focus,.order-form textarea:focus,.order-form select:focus{outline:3px solid rgba(0,168,184,.35);outline-offset:1px;border-color:var(--sky-deep);}
.order-form .field-row{margin-bottom:16px;}
@media (min-width:640px){.order-form .field-row.two{grid-template-columns:1fr 1fr;}}
.of-hint{font-size:0.82rem;color:#4C7378;}

/* what are you after? */
.order-form .of-type{margin-bottom:20px;}
.of-type legend{margin-bottom:10px;}
.of-pills{display:flex;flex-wrap:wrap;gap:8px;}
.of-pills label{position:relative;cursor:pointer;}
.of-pills input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer;}
.of-pills span{display:inline-flex;align-items:center;min-height:42px;padding:8px 16px;border-radius:100px;border:2px solid #CFE3E5;background:#fff;color:var(--teal-dark);font-weight:700;font-size:0.92rem;transition:background .15s,border-color .15s,color .15s;}
.of-pills label:hover span{border-color:var(--sky-deep);}
.of-pills input:checked + span{background:var(--teal-dark);border-color:var(--teal-dark);color:#fff;}
.of-pills input:focus-visible + span{outline:3px solid rgba(0,168,184,.45);outline-offset:2px;}
.of-pills span{white-space:nowrap;}
.of-step .sh{display:none;}
@media (max-width:520px){.of-pills{gap:7px;}.of-pills span{min-height:40px;padding:7px 13px;font-size:0.88rem;}.of-steps .of-arrow{display:none;}.of-steps{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;}.of-steps li{min-width:0;}.of-steps .of-step{width:100%;justify-content:center;padding:6px 8px 6px 6px;gap:6px;}.of-step .lg{display:none;}.of-step .sh{display:inline;}}

/* the steps */
.of-steps{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 22px;padding:18px 0 0;border-top:1px solid #E3EEEF;}
.of-steps .of-arrow{color:#9CBFC2;font-weight:800;font-size:1.1rem;}
.of-step{display:inline-flex;align-items:center;gap:8px;font:inherit;font-weight:700;font-size:0.9rem;padding:7px 14px 7px 8px;border-radius:100px;border:2px solid #CFE3E5;background:#fff;color:#4C7378;cursor:pointer;}
.of-step .n{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#E6F1F2;color:var(--teal-dark);font-size:0.8rem;}
.of-step.on{border-color:var(--raspberry-deep);color:var(--raspberry-deep);}
.of-step.on .n{background:var(--raspberry-deep);color:#fff;}
.of-step.past{color:var(--teal-dark);}
.of-step.past .n{background:var(--teal-dark);color:#fff;}
.of-h{font-size:1.3rem;margin:0 0 4px;outline:none;}
.of-sub{color:#1C4045;margin:0 0 16px;font-size:0.95rem;}

/* flavours */
.of-grp{font-family:'Baloo 2',cursive;font-weight:700;color:var(--raspberry-deep);font-size:0.95rem;letter-spacing:.04em;text-transform:uppercase;margin:18px 0 8px;}
.of-grp:first-child{margin-top:0;}
.of-prods{display:grid;gap:10px;}
.of-prod{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;align-items:start;border:1.5px solid #E3EEEF;border-radius:16px;padding:14px 16px;background:#fff;transition:border-color .15s,background .15s;}
.of-prod.has{border-color:var(--sky-deep);background:#F3FBFC;}
.of-pname{display:flex;flex-direction:column;gap:2px;min-width:0;}
.of-pname b{font-family:'Baloo 2',cursive;font-size:1.15rem;color:var(--teal-dark);line-height:1.2;}
.of-pname span{font-size:0.85rem;color:#4C7378;line-height:1.4;}
.of-chip{display:inline-block;font-family:'Nunito',sans-serif;font-size:0.7rem;font-weight:800;color:#7A1F1F;background:#FCE3E3;border-radius:100px;padding:2px 8px;vertical-align:middle;}
.of-sizes{display:grid;gap:8px;min-width:250px;}
.of-sz{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.of-szl{display:flex;flex-direction:column;line-height:1.25;}
.of-szl b{font-size:0.9rem;color:var(--ink);}
.of-szl span{font-size:0.82rem;color:#4C7378;}
.of-stepper{display:flex;align-items:center;gap:4px;flex:none;}
.of-stepper button{width:36px;height:36px;border-radius:50%;border:2px solid var(--teal-dark);background:#fff;color:var(--teal-dark);font-size:1.2rem;font-weight:800;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0;}
.of-stepper button:hover:not(:disabled){background:var(--teal-dark);color:#fff;}
.of-stepper button:disabled{border-color:#D5E3E4;color:#B5CBCD;cursor:default;}
.order-form .of-stepper input{width:52px;text-align:center;padding:7px 4px;border-radius:10px;-moz-appearance:textfield;}
.of-stepper input::-webkit-outer-spin-button,.of-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
@media (max-width:560px){.of-prod{grid-template-columns:1fr;}.of-sizes{min-width:0;}}
.of-min,.of-soon{font-size:0.85rem;color:#4C7378;margin:12px 0 0;}
.of-tally{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;padding:12px 16px;border-radius:14px;background:var(--cream-deep);color:var(--teal-dark);font-size:0.95rem;}
.of-issues{margin:10px 0 0;padding:0;list-style:none;}
.of-issues li{font-size:0.88rem;font-weight:700;color:#7A4600;background:#FFF4DC;border-radius:10px;padding:8px 12px;margin-top:6px;}
.of-err{display:block;color:#C7222A;font-size:0.88rem;font-weight:700;margin-top:10px;}

/* delivery, event, details */
.order-form .of-mode{margin-bottom:16px;}
.of-mode legend{margin-bottom:8px;}
.of-mode.invalid .of-pills span{border-color:#E5484D;background:#FDECEC;}
.order-form .field-error{display:none;}
.order-form .invalid .field-error,.order-form .invalid.of-check .field-error{display:block;}
.of-note{font-size:0.88rem;color:#1C4045;margin:0 0 14px;background:#F2F8F8;border-radius:12px;padding:10px 14px;}
.of-note:empty{display:none;}
.of-note.ok{background:#EAF7E6;color:#25501B;}
.of-note.warn{background:#FFF4DC;color:#6B4200;}
#ofPcNote{margin:0;align-self:end;}
.of-flav .of-pills span{min-height:36px;padding:6px 12px;font-size:0.85rem;}
.of-flav .of-pills input:checked + span{background:var(--raspberry-deep);border-color:var(--raspberry-deep);}
.of-flav legend{margin-bottom:8px;}
.field.req > label::after{content:"";}
.of-check{display:flex;gap:10px;align-items:flex-start;font-size:0.92rem;color:#1C4045;margin:0 0 12px;cursor:pointer;}
.of-check input{width:20px;height:20px;margin:2px 0 0;flex:none;accent-color:var(--teal-dark);}
.of-check .field-error{display:none;}
.of-check.invalid{color:#C7222A;}
.of-check.invalid .field-error{display:block;}
.of-terms{font-size:0.85rem;color:#4C7378;margin:-4px 0 14px 30px;}
.of-terms summary{cursor:pointer;font-weight:700;color:var(--raspberry-deep);}
.of-terms p{margin:6px 0 0;}
.of-summary{border:1.5px solid #E3EEEF;border-radius:16px;padding:14px 16px;margin:4px 0 18px;background:#FFFDF8;}
.of-summary .of-note{margin:10px 0 0;background:none;padding:0;color:#4C7378;}
.of-row{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:0.95rem;border-bottom:1px dashed #E3EEEF;}
.of-row span:last-child{white-space:nowrap;font-weight:700;}
.of-tot{border-bottom:0;font-size:1.05rem;color:var(--teal-dark);padding-top:8px;}
.of-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px;}
.of-nav .btn{cursor:pointer;font-family:inherit;}
.of-nav .btn-primary{margin-left:auto;}
.of-nav .btn[hidden]{display:none;}
.order-form .btn:disabled{opacity:.6;cursor:wait;transform:none;}
.of-formerr{color:#C7222A;font-weight:700;font-size:0.9rem;margin:10px 0 0;}
.of-formerr:empty{display:none;}
.of-formerr a{color:inherit;}
.order-form .of-privacy{margin-top:14px;}

/* sent */
.order-form.sent .of-type,.order-form.sent .of-steps,.order-form.sent .of-panel,.order-form.sent > h2,.order-form.sent > .of-lead{display:none;}
.order-form .confirm{outline:none;}
.order-form .confirm b{display:block;font-family:'Baloo 2',cursive;font-size:1.25rem;color:#2A4A20;margin-bottom:2px;}
.order-form .confirm .ref{display:block;font-weight:600;font-size:0.82rem;color:#4C6B44;margin-top:6px;}

/* phones: the form first (the Order now button lands here), and room for the buttons */
@media (max-width:900px){.contact .order-form{order:-1;}}
@media (max-width:520px){
  form.order-form{padding:26px 16px;}
  .order-form h2{font-size:1.5rem;}
  .of-nav .btn{padding:12px 20px;}
  .of-step{font-size:0.85rem;padding:6px 12px 6px 6px;}
}
.of-pay .of-note{margin:10px 0 0;}
