/* Multi-step enquiry forms — cake (cakes.html) and corporate (corporate.html). */
.qe, .qe-success {
  --qe-line: rgba(222,196,142,.22);
  --qe-line-strong: rgba(222,196,142,.55);
  --qe-surface: rgba(243,236,221,.035);
  --qe-surface-hover: rgba(243,236,221,.07);
  --qe-text-soft: #C9C2B3;
  --qe-error: #F0A49A;
  --qe-radius: 14px;
  --qe-ease: cubic-bezier(.2,.7,.2,1);
  color: var(--cream-text);
  font-family: var(--body);
}
.qe [hidden], .qe-success[hidden] { display: none !important; }

/* Progress */
.qe-progress { display: flex; gap: .4rem; list-style: none; margin: 0 0 .9rem; padding: 0; counter-reset: none; }
.qe-progress li { flex: 1; min-width: 0; }
.qe-progress button {
  display: flex; align-items: center; gap: .55rem; width: 100%; padding: .2rem 0; background: none; border: 0;
  color: var(--qe-text-soft); font: 400 .82rem/1.2 var(--body); cursor: pointer; text-align: left;
}
.qe-progress button:disabled { cursor: default; opacity: .55; }
.qe-dot {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--qe-line-strong); font-size: .78rem; transition: all .35s var(--qe-ease);
}
.qe-progress button[aria-current] { color: var(--cream-text); }
.qe-progress button[aria-current] .qe-dot { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink-3); box-shadow: 0 0 0 5px rgba(222,196,142,.14); }
.qe-progress button.done .qe-dot { background: rgba(222,196,142,.16); color: var(--gold-light); font-size: 0; }
.qe-progress button.done .qe-dot::after { content: ""; width: 10px; height: 5px; border: solid var(--gold-light); border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
.qe-progress button.done:hover { color: var(--cream-text); }
.qe-plabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qe-bar { height: 2px; background: var(--qe-line); border-radius: 2px; margin-bottom: 2.2rem; overflow: hidden; }
.qe-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width .5s var(--qe-ease); }

/* Steps */
.qe-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.qe-step.qe-enter { animation: qeIn .45s var(--qe-ease); }
@keyframes qeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.qe-step-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; color: var(--cream-text); margin: 0 0 .35rem; outline: none; }
.qe-step-sub { color: var(--qe-text-soft); margin: 0 0 1.8rem; font-size: .98rem; }
.qe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.2rem; }
.qe-grid .full { grid-column: 1 / -1; }
.qe-block { margin-bottom: 1.8rem; }
.qe-label, .qe-field > label:not(.qe-float-label) {
  display: block; margin-bottom: .7rem; color: var(--gold-light);
  font: 500 .78rem/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase;
}
.qe-label small { color: var(--qe-text-soft); font: 300 .85rem var(--body); letter-spacing: 0; text-transform: none; margin-left: .35rem; }

/* Choice cards (radio or checkbox) */
.qe-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.qe-card { position: relative; display: block; cursor: pointer; }
.qe-card input, .qe-chip input, .qe-seg input, .qe-advise input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.qe-card-face {
  display: flex; flex-direction: column; gap: .55rem; height: 100%; padding: 1.1rem 1rem 1rem;
  border: 1px solid var(--qe-line); border-radius: var(--qe-radius); background: var(--qe-surface);
  transition: border-color .25s, background .25s, transform .25s var(--qe-ease), box-shadow .25s;
}
.qe-card-face svg { width: 30px; height: 30px; stroke: var(--gold-light); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.qe-card-face b { font-weight: 500; font-size: 1rem; color: var(--cream-text); }
.qe-card-face small { color: var(--qe-text-soft); font-size: .82rem; line-height: 1.4; }
.qe-card:hover .qe-card-face { background: var(--qe-surface-hover); border-color: var(--qe-line-strong); transform: translateY(-2px); }
.qe-card input:checked + .qe-card-face { border-color: var(--gold-light); background: rgba(222,196,142,.1); box-shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 0 0 1px var(--gold-light); }
.qe-card-face::after {
  content: ""; position: absolute; top: .8rem; right: .8rem; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--qe-line-strong); transition: all .25s;
}
.qe-card input:checked + .qe-card-face::after {
  background: var(--gold-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230F1A21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border-color: var(--gold-light);
}
.qe-card input:focus-visible + .qe-card-face, .qe-chip input:focus-visible + span, .qe-seg input:focus-visible + span, .qe-advise input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* Chips (multi-select) */
.qe-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.qe-chip { position: relative; cursor: pointer; }
.qe-chip span {
  display: inline-flex; align-items: center; gap: .45rem; padding: .62rem 1.05rem; min-height: 44px;
  border: 1px solid var(--qe-line); border-radius: 999px; background: var(--qe-surface);
  font-size: .92rem; color: var(--cream-text); transition: all .2s;
}
.qe-chip span::before { content: "+"; color: var(--gold-light); font-size: 1rem; line-height: 1; transition: transform .2s; }
.qe-chip:hover span { border-color: var(--qe-line-strong); background: var(--qe-surface-hover); }
.qe-chip input:checked + span { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink-3); font-weight: 500; }
.qe-chip input:checked + span::before { content: "✓"; color: var(--ink-3); }

/* Segmented control */
.qe-seg { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border: 1px solid var(--qe-line); border-radius: 999px; background: rgba(0,0,0,.18); }
.qe-seg label { position: relative; cursor: pointer; }
.qe-seg span { display: block; padding: .6rem 1.15rem; min-height: 40px; border-radius: 999px; font-size: .92rem; color: var(--qe-text-soft); transition: all .25s var(--qe-ease); white-space: nowrap; }
.qe-seg label:hover span { color: var(--cream-text); }
.qe-seg input:checked + span { background: var(--gold-light); color: var(--ink-3); font-weight: 500; box-shadow: 0 4px 14px rgba(0,0,0,.25); }

/* Text inputs with floating labels */
.qe-field { position: relative; min-width: 0; }
.qe-float { position: relative; }
.qe-input, .qe-select, .qe-textarea {
  width: 100%; padding: 1.45rem 1rem .55rem; border: 1px solid var(--qe-line); border-radius: 12px;
  background: var(--qe-surface); color: var(--cream-text); font: 400 1rem/1.4 var(--body);
  transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.qe-textarea { min-height: 130px; resize: vertical; padding-top: 1.7rem; }
.qe-float-label {
  position: absolute; left: 1rem; top: 1.02rem; color: var(--qe-text-soft); font-size: 1rem; pointer-events: none;
  transform-origin: left top; transition: transform .2s var(--qe-ease), color .2s;
}
.qe-input:focus + .qe-float-label, .qe-input:not(:placeholder-shown) + .qe-float-label,
.qe-textarea:focus + .qe-float-label, .qe-textarea:not(:placeholder-shown) + .qe-float-label,
.qe-select + .qe-float-label, .qe-input[type="date"] + .qe-float-label {
  transform: translateY(-.62rem) scale(.76); color: var(--gold-light);
}
.qe-input::placeholder, .qe-textarea::placeholder { color: transparent; }
.qe-input:focus::placeholder, .qe-textarea:focus::placeholder { color: rgba(201,194,179,.55); }
.qe-input:hover, .qe-select:hover, .qe-textarea:hover { border-color: var(--qe-line-strong); }
.qe-input:focus, .qe-select:focus, .qe-textarea:focus { outline: none; border-color: var(--gold-light); background: rgba(243,236,221,.07); box-shadow: 0 0 0 4px rgba(222,196,142,.12); }
.qe-input[type="date"] { color-scheme: dark; min-height: 58px; }
.qe-input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .85; }
.qe-select {
  cursor: pointer; padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23DEC48E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 12px;
}
.qe-select option { background: var(--ink); color: var(--cream-text); }
.qe-tel { display: flex; }
.qe-tel-prefix {
  display: grid; place-items: center; padding: 0 .9rem; border: 1px solid var(--qe-line); border-right: 0;
  border-radius: 12px 0 0 12px; background: rgba(0,0,0,.18); color: var(--gold-light); font-size: .95rem; white-space: nowrap;
}
.qe-tel .qe-float { flex: 1; min-width: 0; }
.qe-tel .qe-input { border-radius: 0 12px 12px 0; }
.qe-count { position: absolute; right: .9rem; bottom: .6rem; font-size: .75rem; color: var(--qe-text-soft); pointer-events: none; }
.qe-note { color: var(--qe-text-soft); font-size: .85rem; margin: .55rem 0 0; }

/* Sliders */
.qe-range { --fill: 50%; padding: 1.2rem 1.2rem 1rem; border: 1px solid var(--qe-line); border-radius: var(--qe-radius); background: var(--qe-surface); }
.qe-range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.qe-range-head .qe-label { margin: 0; }
.qe-range output { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 1.65rem; color: var(--cream-text); line-height: 1; white-space: nowrap; }
.qe-range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.qe-range input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-light) var(--fill), rgba(222,196,142,.18) var(--fill)); }
.qe-range input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(222,196,142,.18); }
.qe-range input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold-light); }
.qe-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%;
  background: var(--gold-light); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--gold-light), 0 6px 16px rgba(0,0,0,.4);
  transition: transform .2s var(--qe-ease);
}
.qe-range input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold-light); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--gold-light); }
.qe-range input[type="range"]:hover::-webkit-slider-thumb, .qe-range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.qe-range input[type="range"]:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 4px; }
.qe-range-scale { display: flex; justify-content: space-between; color: var(--qe-text-soft); font-size: .78rem; margin-top: .35rem; }
.qe-hint { color: var(--gold-light); font-size: .88rem; margin: .8rem 0 0; min-height: 1.3em; }
.qe-range.is-advise input[type="range"] { opacity: .3; cursor: not-allowed; }
.qe-range.is-advise output { color: var(--gold-light); font-size: 1.3rem; }
.qe-advise { position: relative; display: inline-flex; margin-top: .9rem; cursor: pointer; }
.qe-advise span { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--qe-text-soft); }
.qe-advise span::before {
  content: ""; width: 36px; height: 20px; border-radius: 20px; background: rgba(222,196,142,.18) radial-gradient(circle 7px at 10px 50%, var(--cream-text) 98%, transparent) no-repeat;
  transition: all .25s var(--qe-ease);
}
.qe-advise input:checked + span { color: var(--cream-text); }
.qe-advise input:checked + span::before { background: var(--gold-light) radial-gradient(circle 7px at 26px 50%, var(--ink-3) 98%, transparent) no-repeat; }

/* Newsletter consent */
.qe .qe-field > label.qe-consent { display: flex; margin: 0; color: inherit; font: inherit; letter-spacing: 0; text-transform: none; }
.qe-consent { position: relative; display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--qe-line); border-radius: 12px; background: var(--qe-surface); cursor: pointer; transition: border-color .25s, background .25s; }
.qe-consent:hover { border-color: var(--qe-line-strong); }
.qe-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qe-consent span { display: block; font-size: .9rem; line-height: 1.5; color: var(--qe-text-soft); }
.qe-consent span b { display: block; color: var(--cream-text); font-weight: 500; font-size: .98rem; margin-bottom: .15rem; }
.qe-consent::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: .1rem; border-radius: 6px; border: 1px solid var(--qe-line-strong); transition: all .2s; }
.qe-consent:has(input:checked) { border-color: var(--gold-light); background: rgba(222,196,142,.08); }
.qe-consent:has(input:checked)::before { background: var(--gold-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230F1A21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; border-color: var(--gold-light); }
.qe-consent:has(input:focus-visible) { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.qe-sent-to { font-size: .9rem; }

/* Errors */
.qe-error { color: var(--qe-error); font-size: .85rem; margin: .5rem 0 0; display: flex; gap: .4rem; align-items: center; }
.qe-error::before { content: "!"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--qe-error); color: var(--ink-3); font-size: .7rem; font-weight: 700; flex: none; }
.has-error .qe-input, .has-error .qe-select, .has-error .qe-textarea { border-color: var(--qe-error); }
[data-required-group].has-error .qe-card-face { border-color: rgba(240,164,154,.6); }

/* Review */
.qe-summary { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.qe-sum-block { border: 1px solid var(--qe-line); border-radius: var(--qe-radius); padding: 1.1rem 1.25rem; background: var(--qe-surface); }
.qe-sum-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.qe-sum-head h4 { margin: 0; font: 500 .75rem var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.qe-edit { background: none; border: 0; color: var(--cream-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: .88rem var(--body); padding: .3rem; }
.qe-sum-block dl { margin: 0; display: grid; gap: .45rem; }
.qe-sum-row { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; font-size: .95rem; }
.qe-sum-row dt { color: var(--qe-text-soft); }
.qe-sum-row dd { margin: 0; color: var(--cream-text); white-space: pre-wrap; overflow-wrap: anywhere; }
.qe-promise { display: flex; gap: .8rem; align-items: flex-start; color: var(--qe-text-soft); font-size: .9rem; margin: 0; }
.qe-promise svg { flex: none; width: 20px; height: 20px; stroke: var(--gold-light); fill: none; stroke-width: 1.5; margin-top: .1rem; }

/* Navigation */
.qe-nav { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--qe-line); }
.qe-nav .qe-spacer { flex: 1; }
.qe .qe-nav .btn { width: auto; margin: 0; border-radius: 999px; padding: 1rem 1.9rem; gap: .7rem; font-size: .95rem; }
.qe-back { background: none; border: 0; color: var(--qe-text-soft); font: .95rem var(--body); cursor: pointer; padding: .8rem .4rem; display: inline-flex; gap: .5rem; align-items: center; }
.qe-back:hover { color: var(--cream-text); }
.qe-nav .btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .25s var(--qe-ease); }
.qe-nav .btn:hover svg { transform: translateX(3px); }
.qe-submit.is-loading { pointer-events: none; opacity: .85; }
.qe-submit.is-loading svg { display: none; }
.qe-submit.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: qeSpin .7s linear infinite; }
@keyframes qeSpin { to { transform: rotate(360deg); } }
.qe-status { min-height: 1.2em; margin: 1rem 0 0; font-size: .9rem; color: var(--qe-text-soft); }
.qe-status a { color: var(--gold-light); text-decoration: underline; }
.qe-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Success */
.qe-success { text-align: center; padding: 2.5rem 1rem 1.5rem; animation: qeIn .6s var(--qe-ease); }
.qe-tick { width: 84px; height: 84px; margin: 0 auto 1.6rem; }
.qe-tick circle { fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-dasharray: 240; stroke-dashoffset: 240; animation: qeDraw .9s var(--qe-ease) forwards; }
.qe-tick path { fill: none; stroke: var(--gold-light); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: qeDraw .5s .7s var(--qe-ease) forwards; }
@keyframes qeDraw { to { stroke-dashoffset: 0; } }
.qe-success h3, .qe-ref { font-variant-numeric: lining-nums; }
.qe-success h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 .8rem; outline: none; }
.qe-success p { color: var(--qe-text-soft); max-width: 46ch; margin: 0 auto .6rem; }
.qe-ref { display: inline-block; margin-top: 1rem; padding: .5rem 1rem; border: 1px solid var(--qe-line); border-radius: 999px; font-size: .85rem; letter-spacing: .06em; color: var(--gold-light); }

/* Enquiry panel shell (cakes page) */
.enquiry-panel { border-radius: 4px; }
.enquiry-panel > .qe, .enquiry-panel > .qe-success { margin-top: 2rem; }

/* Corporate column is narrower: tighten layouts */
.corp-form .qe-grid { grid-template-columns: 1fr; }
.corp-form .qe-cards { grid-template-columns: 1fr 1fr; }
.corp-form .qe-plabel { display: none; }
.corp-form .qe-progress button { justify-content: center; }
.corp-form .qe-sum-row { grid-template-columns: 1fr; gap: .1rem; }

@media (max-width: 760px) {
  .qe-grid { grid-template-columns: 1fr; }
  .qe-cards { grid-template-columns: 1fr 1fr; }
  .qe-plabel { display: none; }
  .qe-progress button { justify-content: center; }
  .qe-sum-row { grid-template-columns: 1fr; gap: .1rem; }
  .qe-nav { position: sticky; bottom: 0; background: var(--ink); margin-inline: -20px; padding: 1rem 20px max(1rem, env(safe-area-inset-bottom)); z-index: 2; }
  .qe .qe-nav .btn { flex: 1; justify-content: center; }
  .qe-seg { display: flex; border-radius: 18px; }
  .qe-seg label { flex: 1; }
  .qe-seg span { text-align: center; border-radius: 14px; }
  .qe-range output { font-size: 1.35rem; }
}
@media (max-width: 760px) {
  body.qe-in-view .contact-help, body.qe-in-view .cart-fab, body.qe-in-view .whatsapp-fab { opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .corp-form .qe-nav { margin-inline: -1.5rem; padding-inline: 1.5rem; }
}
@media (max-width: 380px) { .qe-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .qe *, .qe-success, .qe-success * { animation: none !important; transition: none !important; }
  .qe-tick circle, .qe-tick path { stroke-dashoffset: 0; }
}

/* Inspiration photos */
.qe-photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.qe-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; }
.qe-photo-grid:not(:empty) { margin-bottom: .7rem; }
.qe-photo { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--qe-line); background: var(--qe-surface); }
.qe-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qe-photo.is-uploading img { opacity: .45; filter: blur(1px); }
.qe-photo.is-uploading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gold-light); border-right-color: transparent; animation: qeSpin .7s linear infinite; }
.qe-photo-remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(15,26,33,.78); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.qe-photo-remove:hover { background: var(--ink-3); }
.qe-photo-add { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 1px dashed var(--qe-line-strong); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.qe-photo-add:hover { border-color: var(--gold-light); background: var(--qe-surface-hover); }
.qe-photo-add svg { flex: none; width: 26px; height: 26px; stroke: var(--gold-light); fill: none; stroke-width: 1.4; }
.qe-photo-add span { display: block; font-size: .88rem; color: var(--qe-text-soft); }
.qe-photo-add b { display: block; color: var(--cream-text); font-weight: 500; font-size: .98rem; }
.qe-photo-add[hidden] { display: none; }
.qe .qe-field > label.qe-photo-add { margin: 0; color: inherit; font: inherit; letter-spacing: 0; text-transform: none; }
.qe-photos:has(.qe-photo-input:focus-visible) .qe-photo-add { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.qe-photo-note { font-size: .85rem; color: var(--qe-text-soft); margin: .5rem 0 0; min-height: 1em; }

/* Inspiration videos (pasted links) */
.qe-video-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.qe-video-list:not(:empty) { margin-bottom: .7rem; }
.qe-video { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border: 1px solid var(--qe-line); border-radius: 10px; background: var(--qe-surface); }
.qe-video-meta { min-width: 0; flex: 1; }
.qe-video-meta b { display: block; color: var(--cream-text); font-weight: 500; font-size: .92rem; }
.qe-video-meta span { display: block; font-size: .78rem; color: var(--qe-text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qe-video-remove { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(15,26,33,.78); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.qe-video-remove:hover { background: var(--ink-3); }
.qe-video-add { display: flex; gap: .6rem; align-items: stretch; }
.qe-video-add[hidden] { display: none; }
.qe-video-input { flex: 1; min-width: 0; padding: .85rem 1rem; border: 1px dashed var(--qe-line-strong); border-radius: 12px; background: transparent; color: var(--cream-text); font: inherit; font-size: .92rem; transition: border-color .2s, background .2s; }
.qe-video-input::placeholder { color: var(--qe-text-soft); }
.qe-video-input:hover { border-color: var(--gold-light); background: var(--qe-surface-hover); }
.qe-video-input:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-color: var(--gold-light); }
.qe-video-btn { flex: none; padding: 0 1.3rem; border: 0; border-radius: 12px; background: var(--gold-light); color: var(--ink-3); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; transition: background .2s; }
.qe-video-btn:hover { background: var(--gold); }
.qe-video-note { font-size: .85rem; color: var(--qe-text-soft); margin: .5rem 0 0; min-height: 1em; }

@media (max-width: 520px) {
  .qe-video-add { flex-direction: column; }
  .qe-video-btn { padding: .8rem; }
}

/* Single-step forms (contact): no progress pills or bar. */
.qe.qe-single .qe-progress, .qe.qe-single .qe-bar { display: none; }
.qe.qe-single .qe-spacer { display: none; }
.qe.qe-single .qe-nav { justify-content: flex-end; }
@media (max-width: 860px) { .contact-panel .qe-nav { margin-inline: -16px; padding-inline: 16px; } }

/* Country code picker (replaces the fixed +971 prefix). */
.qe-cc {
  flex: 0 0 auto; width: 7.6rem; max-width: 42%; min-height: 56px; padding: 0 1.9rem 0 .85rem; cursor: pointer;
  border: 1px solid var(--qe-line); border-right: 0; border-radius: 12px 0 0 12px;
  background: rgba(0,0,0,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23DEC48E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .7rem center / 10px;
  color: var(--gold-light); font: inherit; font-size: .92rem; appearance: none; -webkit-appearance: none; text-overflow: ellipsis;
  transition: border-color .2s ease;
}
.qe-cc:hover { border-color: var(--qe-line-strong); }
.qe-cc:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.qe-cc option { background: var(--ink); color: var(--cream-text); }

/* Small on/off switch (e.g. "My WhatsApp number is different"). */
.qe-toggle { position: relative; display: inline-flex; cursor: pointer; }
.qe-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.qe-toggle span { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--qe-text-soft); }
.qe-toggle span::before {
  content: ""; flex: 0 0 36px; width: 36px; height: 20px; border-radius: 20px; background: rgba(222,196,142,.18) radial-gradient(circle 7px at 10px 50%, var(--cream-text) 98%, transparent) no-repeat;
  transition: all .25s var(--qe-ease);
}
.qe-toggle input:checked + span { color: var(--cream-text); }
.qe-toggle input:checked + span::before { background: var(--gold-light) radial-gradient(circle 7px at 26px 50%, var(--ink-3) 98%, transparent) no-repeat; }
.qe-toggle input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.qe-wa-toggle { margin-top: -.3rem; }
.qe .qe-toggle, .qe .qe-toggle span { font-family: var(--body); text-transform: none; letter-spacing: normal; font-weight: 400; font-size: .92rem; margin: 0; }
.qe-team { padding: 1.1rem 1.2rem 1.2rem; border: 1px solid var(--qe-line); border-radius: var(--qe-radius); background: var(--qe-surface); }
.qe-team > .qe-label { display: block; margin-bottom: .8rem; color: var(--gold-light); }
.qe-grid > .qe-team { grid-column: 1 / -1; }
.qe-team > .qe-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* A gentle pulse on the option an "Ask about…" link just picked. */
@keyframes qe-flash { 0% { box-shadow: 0 0 0 0 rgba(222,196,142,.7); } 100% { box-shadow: 0 0 0 14px rgba(222,196,142,0); } }
.qe-card.qe-flash .qe-card-face { animation: qe-flash 1.1s ease-out 2; }
/* Corporate: "typically starts from" */
.qe-estimate { grid-column: 1 / -1; border: 1px solid rgba(222,196,142,.45); background: rgba(222,196,142,.08); border-radius: 14px; padding: 1rem 1.15rem; }
.qe-estimate p { margin: 0; }
.qe-estimate-main { font-size: 1.02rem; line-height: 1.5; color: var(--qe-text, #F3ECDD); }
.qe-estimate-main b { color: var(--gold-light); font-weight: 600; }
.qe-estimate-spec { margin-top: .45rem !important; font-size: .84rem; line-height: 1.5; color: var(--qe-text-soft, #C9C2B3); }
.qe-estimate-warn { margin-top: .6rem !important; font-size: .88rem; color: #F3D9B1; }
.qe-seg-wrap { flex-wrap: wrap; border-radius: 18px; }
/* Exact number with − / + */
.qe-qty { display: flex; align-items: center; gap: .5rem; margin-top: .55rem; }
.qe-qty-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(222,196,142,.4); background: transparent; color: var(--gold-light); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.qe-qty-btn:hover { background: rgba(222,196,142,.12); }
.qe-qty .qe-qty-input { flex: 1; min-width: 0; text-align: center; font-size: 1.25rem; padding: .7rem .8rem; -moz-appearance: textfield; }
.qe-qty-input::-webkit-outer-spin-button, .qe-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qe-qty-unit { flex: none; min-width: 4.5rem; color: var(--qe-text-soft, #C9C2B3); font-size: .95rem; }
.qe-qty-field .qe-hint { margin-top: .5rem; }

/* Party planning: grouped treats (cupcakes page) and "Make it a party" (cakes page). */
.qe-party-group, .qe-party-add { margin: 0 0 2rem; padding: 1.4rem 1.4rem .2rem; border: 1px solid var(--qe-line); border-radius: var(--qe-radius); background: var(--qe-surface); }
.qe-party-add .qe-party-group { margin: 0 0 1.4rem; padding: 0; border: 0; background: none; }
.qe-group-title { font: 500 .8rem var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 1rem; }
.qe-party-add .qe-step-sub { margin-bottom: 1.2rem; }
.qe-party-group > .qe-grid, .qe-party-add .qe-grid { margin-bottom: 1.4rem; }
.qe-chip small { font-size: .78em; opacity: .75; margin-left: .25rem; }
.qe-wants .qe-chip span { padding-top: .75rem; padding-bottom: .75rem; font-size: 1rem; }
.party-cta { margin-top: 1.4rem; }
@media (max-width: 600px) { .qe-party-group, .qe-party-add { padding: 1.1rem 1rem .1rem; } }
.qe-promise a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.qe-promise-contact { margin: 1.2rem 0 .4rem; }

/* Flavours per tier */
.qe-tier { margin: 1.4rem 0 0; padding: 1.1rem 1.2rem 1.2rem; border: 1px solid var(--qe-line); border-radius: 14px; }
.qe-tier-name { display: block; margin-bottom: .8rem; }
.qe-tier-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .qe-tier-grid { grid-template-columns: 1fr; } }
.qe-tiers .qe-hint { margin: 1rem 0 1.8rem; }

/* Delivery or collection: hint lines under the choice and the address. */
.qe-field-hint { color: var(--qe-text-soft); font-size: .86rem; line-height: 1.45; margin: .55rem 0 0; }
.qe-fulfil .qe-field-hint { margin-top: .7rem; }

/* Corporate: multiple delivery addresses */
.qe-deliveries { display: flex; flex-direction: column; gap: 1rem; margin-top: .85rem; }
.qe-delivery { padding: 1.1rem 1.2rem 1.2rem; border: 1px solid var(--qe-line); border-radius: var(--qe-radius); background: var(--qe-surface); }
.qe-delivery-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .9rem; }
.qe-delivery-title { margin: 0; font: 500 .78rem/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.qe-delivery-remove {
  flex: none; min-height: 44px; padding: 0 .7rem; border: 0; background: none; cursor: pointer;
  color: var(--qe-text-soft); font: 400 .9rem var(--body); text-decoration: underline; text-underline-offset: 3px;
}
.qe-delivery-remove:hover { color: var(--cream-text); }
.qe-add-delivery {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: .9rem;
  padding: .7rem 1rem; border: 1px dashed var(--qe-line-strong); border-radius: var(--qe-radius);
  background: transparent; color: var(--gold-light); font: 500 .95rem var(--body); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.qe-add-delivery:hover { background: var(--qe-surface-hover); border-color: var(--gold-light); }
@media (max-width: 760px) {
  .qe-delivery { padding: 1rem .95rem 1.05rem; }
  .qe-delivery-remove { margin-right: -.4rem; }
}
