/* SAVORI checkout window (assets/js/sumup-pay.js) — same dark/gold tokens as main.css */
.sp-overlay {
  position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
.sp-overlay.open { opacity: 1; pointer-events: auto; }
.sp-modal {
  width: min(520px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto;
  background: #1c1c1e; color: #ede8e4; border: 1px solid rgba(192,135,110,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.sp-head { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid rgba(192,135,110,0.18); }
.sp-logo {
  font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; letter-spacing: 0.28em;
  background: linear-gradient(135deg,#6b3a2a,#c0876e,#edc4a8,#c0876e,#6b3a2a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sp-logo-img { height: 15px; width: auto; display: block; }
.sp-secure { font-size: 0.68rem; letter-spacing: 0.08em; color: #908880; flex: 1; }
.sp-close { background: none; border: none; color: #908880; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.sp-close:hover { color: #c0876e; }
.sp-summary { padding: 1rem 1.4rem; background: #252527; border-bottom: 1px solid rgba(192,135,110,0.18); }
.sp-line, .sp-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.84rem; padding: 0.25rem 0; }
.sp-line span:first-child { color: #b8b0a8; }
.sp-line em { font-style: normal; color: #68605c; }
.sp-lines { margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(192,135,110,0.12); }
.sp-row span:first-child { color: #908880; }
.sp-total { font-weight: 700; font-size: 1rem; padding-top: 0.5rem; }
.sp-total span:last-child { color: #c0876e; font-family: Georgia, serif; font-weight: 400; font-size: 1.2rem; }
.sp-step { padding: 1.3rem 1.4rem; }
.sp-step h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 1.2rem; margin: 0 0 1rem; }
.sp-details { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sp-details h3, .sp-details .sp-error, .sp-details .sp-btn { width: 100%; }
.sp-field { display: flex; flex-direction: column; gap: 0.3rem; width: 100%; }
.sp-field.sp-half { width: calc(50% - 0.375rem); }
.sp-field span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #908880; }
.sp-field i { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: #68605c; }
.sp-field input {
  background: #0a0a0c; border: 1px solid rgba(192,135,110,0.3); color: #ede8e4;
  padding: 0.7rem 0.8rem; font: inherit; font-size: 0.9rem; border-radius: 0; outline: none;
}
.sp-field input:focus { border-color: #c0876e; }
.sp-field select {
  background: #0a0a0c; border: 1px solid rgba(192,135,110,0.3); color: #ede8e4;
  padding: 0.7rem 0.8rem; font: inherit; font-size: 0.9rem; border-radius: 0; outline: none;
}
.sp-field select:focus { border-color: #c0876e; }
.sp-fixed { padding: 0.7rem 0.8rem; font-size: 0.9rem; color: #b8b0a8; border: 1px dashed rgba(192,135,110,0.25); }
.sp-note { width: 100%; margin: -0.6rem 0 0.1rem; font-size: 0.76rem; color: #908880; }
.sp-billing { width: 100%; display: flex; flex-wrap: wrap; gap: 0.75rem; border-top: 1px solid rgba(192,135,110,0.18); padding-top: 1rem; }
.sp-billing h3 { width: 100%; margin: 0 0 0.6rem; }
.sp-billing .sp-same { width: 100%; margin-top: 0; font-size: 0.86rem; color: #ede8e4; }
.sp-bill-fields { width: 100%; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sp-bill-fields[hidden] { display: none; }
.sp-delivery { width: 100%; border: 1px solid rgba(192,135,110,0.3); padding: 0.6rem 0.8rem 0.4rem; margin: 0; }
.sp-delivery legend { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #908880; padding: 0 0.3rem; }
.sp-option { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0; font-size: 0.84rem; color: #b8b0a8; cursor: pointer; }
.sp-option b { color: #ede8e4; font-weight: 600; margin-right: 0.2rem; }
.sp-option span { flex: 1; }
.sp-option em { font-style: normal; font-family: Georgia, serif; color: #c0876e; }
.sp-option input { accent-color: #c0876e; }
.sp-privacy { width: 100%; font-size: 0.76rem; line-height: 1.6; color: #908880; border-top: 1px solid rgba(192,135,110,0.18); padding-top: 0.7rem; }
.sp-privacy p { margin: 0 0 0.5rem; }
.sp-privacy a { color: #d4a48a; }
.sp-check { display: flex; align-items: flex-start; gap: 0.5rem; margin-top: 0.35rem; color: #b8b0a8; font-size: 0.8rem; cursor: pointer; }
.sp-check input { accent-color: #c0876e; margin-top: 0.2rem; }
.sp-hint { display: block; margin-top: 0.3rem; font-size: 0.72rem; line-height: 1.4; color: #908880; letter-spacing: 0.02em; text-transform: none; }
.sp-hint:empty { display: none; }
.sp-hint-ok { color: #a9c9a4; }
.sp-hint-bad { color: #e57373; }
.sp-error { color: #e57373; font-size: 0.82rem; margin: 0; min-height: 0; }
.sp-error:empty { display: none; }
.sp-btn {
  background: #c0876e; color: #0a0a0c; border: none; padding: 1rem; cursor: pointer;
  font: inherit; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
}
.sp-btn:hover { background: #d4a48a; }
.sp-btn:disabled { opacity: 0.6; cursor: wait; }
.sp-back { background: none; border: none; color: #908880; cursor: pointer; font: inherit; font-size: 0.78rem; margin-top: 1rem; padding: 0; }
.sp-back:hover { color: #c0876e; }
.sp-loading { color: #908880; font-size: 0.85rem; padding: 1rem 0; }
#savori-sumup-card { background: #fff; border-radius: 4px; }
#savori-sumup-card:empty { display: none; }
.sp-done { text-align: center; }
.sp-done-icon { width: 56px; height: 56px; margin: 0.5rem auto 1rem; border-radius: 50%; border: 1px solid #c0876e; color: #c0876e; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; }
.sp-done-text { color: #b8b0a8; font-size: 0.9rem; line-height: 1.7; margin: 0 0 1.4rem; }
.sp-done .sp-btn { width: 100%; }
.sp-foot { padding: 0.8rem 1.4rem; border-top: 1px solid rgba(192,135,110,0.18); font-size: 0.66rem; letter-spacing: 0.06em; color: #68605c; text-align: center; }
@media (max-width: 480px) { .sp-field.sp-half { width: 100%; } }

/* 1–10 quantity picker used on product cards, product pages and baskets */
.qty-select {
  background: transparent; color: inherit; border: 1px solid rgba(192,135,110,0.45);
  padding: 0.45rem 0.5rem; font: inherit; font-size: 0.8rem; border-radius: 0; cursor: pointer;
}
.qty-select option { background: #1c1c1e; color: #ede8e4; }
.sp-cards { display: flex; gap: 0.45rem; justify-content: center; margin-bottom: 0.55rem; }
.sp-cards img { width: 38px; height: 24px; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.sp-cards-pay { justify-content: flex-start; margin: -0.2rem 0 0.9rem; }
.sp-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* A notice shown on both checkout steps, e.g. the pre-order timing */
.sp-order-note { margin: 0 0 1rem; padding: 0.8rem 0.9rem; border: 1px solid #c98e78; background: rgba(201,142,120,0.1); font-size: 0.86rem; line-height: 1.5; }
.sp-order-note[hidden] { display: none; }
.sp-order-note b { display: block; margin-bottom: 0.2rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: #c98e78; }
.sp-order-note span { display: block; }

/* a step that is not current must stay hidden, whatever display its own rule sets */
.sp-step[hidden] { display: none !important; }
