/* Contact / order page: same world as the home page (cream canvas, plum, sage,
   sticky-note yellow, Newsreader + Figtree). Mobile first. Needs home.css for the .hv tokens. */

.ct { background: linear-gradient(#faf0e4, #fef5ec 40%, #fdf8f4); padding: 2rem 1.2rem 3.5rem; overflow-x: clip; }
.ct-wrap { position: relative; max-width: 1200px; margin: 0 auto; }

/* ---------- intro ---------- */
.ct-intro { position: relative; }
.hv .ct-h1 { max-width: 20rem; font-weight: 700; font-size: clamp(2.2rem, 10vw, 3rem); line-height: 1.06; letter-spacing: -.012em; }
.hv .ct-h1 em { display: block; font-weight: 700; font-style: italic; color: #6b4078; }
.ct-tale { position: relative; display: inline-block; }
.ct-spark { position: absolute; left: calc(100% + .28em); top: -.05em; width: .9em; height: .9em; }
.ct-underline { display: block; width: 11rem; height: .2rem; margin: .55rem 0 0 .35rem; border-radius: 9999px; background: #f0c63d; transform: rotate(-.7deg); }
.hv .ct-sub { margin-top: 1rem; max-width: 24rem; font-size: 1.08rem; line-height: 1.5; color: var(--text); }

.ct-note { position: absolute; right: 0; top: -.2rem; width: 6.6rem; height: 5.4rem; transform: rotate(3deg); filter: drop-shadow(0 5px 5px rgba(90, 65, 15, .22)) drop-shadow(0 1px 1px rgba(90, 65, 15, .18)); }
.ct-paper { position: absolute; inset: 0; background: #fce89c; clip-path: polygon(0 0, 100% 0, 100% 76%, 82% 100%, 0 100%); }
.ct-paper::after { content: ""; position: absolute; right: 0; bottom: 0; width: 18%; height: 24%; background: #efd777; clip-path: polygon(0 0, 100% 0, 0 100%); }
.ct-note-t { position: absolute; left: 11%; top: 15%; font: 600 1.15rem/1.05 'Caveat', cursive; color: #2a2623; transform: rotate(-3deg); }
.ct-note-rays { position: absolute; right: -10%; top: -26%; width: 36%; height: auto; transform: rotate(-3deg); }

.ct-perks { display: grid; gap: .35rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.ct-perks li { display: flex; align-items: center; gap: .8rem; min-height: 3rem; font-size: 1rem; font-weight: 500; color: var(--ink); }
.ct-ic { flex: none; display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 9999px; color: #5a4a3c; }
.ct-ic svg { width: 1.3rem; height: 1.3rem; }
.ct-ic-peach { background: #f8dcd0; }
.ct-ic-sun { background: #fce4a8; }
.ct-ic-sage { background: var(--sage); }

.ct-photo { display: none; }

/* ---------- form card ---------- */
.ct-card { position: relative; margin-top: 1.75rem; padding: 1.4rem 1.1rem 1.5rem; border-radius: 1.75rem; background: #fffdfb; box-shadow: 0 0 0 1px #eadfd2, 0 18px 40px rgba(90, 60, 40, .09); }
.ct-form { display: grid; gap: 1.05rem; }
.ct-row { display: grid; gap: 1.05rem; }
.ct-label { display: block; margin: 0 0 .4rem .3rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.ct-label small { font-weight: 400; color: #5c5560; }
.ct-field { position: relative; }
.ct-field svg { position: absolute; left: 1.1rem; top: 50%; width: 1.2rem; height: 1.2rem; transform: translateY(-50%); color: var(--plum); pointer-events: none; }
html body .ct-field input, html body .ct-field textarea { display: block; width: 100%; min-height: 3.3rem; padding: .8rem 1.1rem .8rem 3.1rem; border: 0; border-radius: 9999px; background: #fdf8f4; box-shadow: 0 0 0 1px #d9cfc3; font: 400 1rem 'Figtree', sans-serif; color: var(--ink); transition: box-shadow .2s ease, background-color .2s ease; }
html body .ct-field textarea { min-height: 7.5rem; padding-top: 1rem; border-radius: 1.5rem; resize: vertical; }
.ct-field-area svg { top: 1.25rem; transform: none; }
html body .ct-field input:hover, html body .ct-field textarea:hover { box-shadow: 0 0 0 1px #b9a9c4; }
html body .ct-field input:focus, html body .ct-field textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--plum); }

/* chosen products */
.ct-basket { padding: 1rem 1rem .9rem; border-radius: 1.4rem; background: #fdf1e5; }
.ct-basket-h { display: flex; align-items: center; gap: .5rem; margin: 0 0 .3rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.ct-basket-h svg { width: 1.2rem; height: 1.2rem; color: var(--plum); }
.ct-basket #cart-summary-visual { max-height: 15rem; overflow-y: auto; border: 0; }
.ct-basket #cart-summary-visual > * + * { border-top: 1px dashed #e0cdb8; }
.ct-basket #cart-summary-visual img { border: 0; background: #fff; }
.ct-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: .6rem; padding-top: .8rem; border-top: 1.5px solid #e6d3bd; }
.ct-total span:first-child { font-size: .95rem; font-weight: 600; color: var(--ink); }
html body .ct-total .cart-subtotal { font: 700 1.9rem/1 'Newsreader', serif; color: var(--plum); }

.ct-consent { display: flex; align-items: flex-start; gap: .8rem; padding: .3rem .2rem; font-size: .93rem; line-height: 1.45; color: var(--text); cursor: pointer; }
.ct-consent input { flex: none; width: 1.35rem; height: 1.35rem; margin-top: .1rem; accent-color: var(--plum); }
.ct-consent a { font-weight: 600; color: var(--plum); text-decoration: underline; text-underline-offset: .15em; }

.ct-submit { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 3.5rem; border: 0; border-radius: 9999px; background: var(--plum); color: #fff; font: 500 1.1rem/1 'Figtree', sans-serif; box-shadow: 0 6px 14px rgba(104, 58, 124, .22); cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.ct-submit:hover { background: var(--plum-dark); transform: translateY(-2px); }
.ct-submit:disabled { opacity: .55; transform: none; cursor: default; }
.ct-submit svg { position: static; width: 1.15rem; height: 1.15rem; }
#contact-form-message { padding: 0 .3rem; font-size: .95rem; font-weight: 500; }

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  .ct { padding: 3rem 1.5rem 4.5rem; }
  .ct-wrap { max-width: 720px; }
  .ct-card { padding: 2rem 2rem 2.1rem; }
  .ct-row { grid-template-columns: 1fr 1fr; }
  .ct-note { width: 8rem; height: 6.6rem; }
  .ct-note-t { font-size: 1.4rem; }
}

/* ---------- desktop: intro pinned left, form card right ---------- */
@media (min-width: 1024px) {
  .ct { padding: 4.5rem 2rem 6rem; }
  .ct-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 5rem; align-items: start; max-width: 1200px; }
  .ct-intro { position: sticky; top: 7rem; padding-bottom: 1rem; }
  .hv .ct-h1 { max-width: none; font-size: clamp(2.7rem, 4vw, 3.8rem); }
  .ct-underline { width: 15rem; height: .26rem; }
  .hv .ct-sub { margin-top: 1.4rem; font-size: 1.3rem; }
  .ct-note { right: 1rem; top: -1.5rem; width: 9.5rem; height: 7.8rem; }
  .ct-note-t { font-size: 1.7rem; }
  .ct-perks { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid #e5d9cb; }
  .ct-perks li { font-size: 1.05rem; }
  .ct-ic { width: 2.9rem; height: 2.9rem; }
  .ct-photo { display: block; width: 100%; max-width: 21rem; margin-top: 2.25rem; overflow: hidden; border-radius: 1.75rem; box-shadow: 0 0 0 1px #eadfd2, 0 14px 30px rgba(90, 60, 40, .1); }
  .ct-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .ct-card { margin-top: 0; padding: 2.5rem 2.75rem 2.75rem; border-radius: 2rem; }
  .ct-form { gap: 1.25rem; }
  .ct-submit { min-height: 3.75rem; font-size: 1.15rem; }
}
