/* ==========================================================
   SAMAIA Studio — shop additions
   Loaded after style.css; the Shop page reuses the Projects
   styles and the Product page reuses the Project styles.
   ========================================================== */

/* ---------- Shop list ---------- */
.card__price s { color: var(--ink-soft); font-weight: 400; margin-right: 6px; }
.card__panel-meta s { opacity: .6; margin-right: 6px; }

/* ---------- Product: price in place of the area figure ---------- */
.p-price { position: relative; }
.p-price sup { font-size: .16em; letter-spacing: 0; margin: .5em 0 0 .2em; }
.p-price__was { position: absolute; left: 0; top: -1.2em; font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.p-price__was:empty { display: none; }

/* ---------- Product: order panel ---------- */
.p-order { width: 38vw; min-width: 400px; background: var(--stone); padding: 13vh 3vw 3vh 2.6vw; display: flex; flex-direction: column; }
.p-order__title { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(16px, 1.45vw, 24px); line-height: 1.12; text-transform: uppercase; letter-spacing: -.005em; margin: 0; }
.p-order__specs { list-style: none; margin: 4vh 0 0; padding: 0; border-top: 1px solid var(--line); }
.p-order__specs li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.p-order__specs li span { margin-left: auto; color: var(--ink); font-weight: 500; text-align: right; }
.p-order__form { margin-top: auto; padding-top: 4vh; }
.p-order__form .field { position: relative; margin-top: 14px; }
.p-order__form .field input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  font: inherit; font-size: 12px; padding: 8px 0; color: var(--ink); border-radius: 0; -moz-appearance: textfield;
}
.p-order__form .field input::-webkit-outer-spin-button, .p-order__form .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.p-order__form .field label { position: absolute; left: 0; top: 8px; font-size: 11px; font-weight: 600; transition: transform .4s var(--ease), opacity .4s; pointer-events: none; }
.p-order__form .field input:focus + label, .p-order__form .field input:not(:placeholder-shown) + label { transform: translateY(-18px); opacity: .6; }
.p-order__form .field input:focus { outline: none; border-bottom-width: 2px; }
.p-order__form .field.is-error input { border-bottom-color: var(--brand); }
.p-order__actions { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 28px; }
.p-order__submit, .p-order__wa { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 4px; width: max-content; }
.p-order__submit svg, .p-order__wa svg { width: 7px; transition: transform .4s var(--ease); }
.p-order__submit:hover svg, .p-order__wa:hover svg { transform: translate(2px, -2px); }
.p-order__wa { font-weight: 500; color: var(--ink-soft); border-bottom-color: var(--line); }
.p-order__form .form-status { font-size: 11px; margin: 14px 0 0; min-height: 16px; }
.p-order__form.is-sent .field, .p-order__form.is-sent .p-order__actions { opacity: .35; pointer-events: none; }

@media (max-width: 900px) {
  .p-order { width: 100%; min-width: 0; padding: 14vw 6vw 12vw; }
  .p-order__title { font-size: 18px; }
  .p-order__specs { margin-top: 8vw; }
  .p-order__specs li { font-size: 14px; padding: 15px 0; }
  .p-order__form { margin-top: 9vw; padding-top: 0; }
  .p-order__form .field input { font-size: 14px; padding: 10px 0; }
  .p-order__form .field label { font-size: 12px; }
  .p-order__actions { flex-direction: column; align-items: flex-start; gap: 18px; }
  .p-order__submit, .p-order__wa { font-size: 13px; }
  .p-price__was { font-size: 13px; }
}
