/* Shopyzee landing blocks: Product Showcase (.sz-ps) + Quick Order (.sz-qo). 2026-11-11 */
.sz-ps, .sz-qo { font-size: 15px; color: var(--heading-color, #222); }
.sz-ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sz-ps-image-end .sz-ps-media { order: 2; }
.sz-ps-stacked .sz-ps-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.sz-ps-main { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #f6f3ef; background: color-mix(in srgb, var(--sz-accent, #222) 6%, #fff); /* SZ_READY_COLORS: a shade of the store's colour */ }
.sz-ps-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sz-ps-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 70px; }
.sz-ps-badge { position: absolute; top: 14px; inset-inline-start: 14px; background: #e53935; color: #fff; font-weight: 800; font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.sz-ps-badge-out { background: #6b7280; top: auto; bottom: 14px; }
.sz-ps-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.sz-ps-thumb { flex: 0 0 72px; height: 72px; border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; background: #f6f3ef; background: color-mix(in srgb, var(--sz-accent, #222) 6%, #fff); cursor: pointer; }
.sz-ps-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sz-ps-thumb.is-active { border-color: var(--sz-accent); }
.sz-ps-name { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0 0 10px; line-height: 1.25; }
.sz-ps-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; margin-bottom: 10px; }
.sz-ps-stars { position: relative; color: #ddd; letter-spacing: 2px; font-size: 16px; }
.sz-ps-stars::before { content: '★★★★★'; position: absolute; inset: 0; color: #f5b301; width: calc(var(--r, 0) / 5 * 100%); overflow: hidden; white-space: nowrap; }
.sz-ps-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.sz-ps-now { font-size: 30px; font-weight: 800; color: var(--sz-accent); }
.sz-ps-old { font-size: 16px; color: #999; text-decoration: line-through; }
.sz-ps-old:empty { display: none; }
.sz-ps-save { font-size: 12px; font-weight: 700; background: #fff1f0; color: #c62828; padding: 3px 9px; border-radius: 999px; }
.sz-ps-summary { font-size: 15px; line-height: 1.8; color: #555; margin: 0 0 16px; }
.sz-ps-label, .sz-qo-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.sz-ps-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sz-ps-swatch { border: 1.5px solid #ddd; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; cursor: pointer; }
.sz-ps-swatch.is-active { border-color: var(--sz-accent); background: color-mix(in srgb, var(--sz-accent) 8%, white); color: var(--sz-accent); font-weight: 700; }
.sz-ps-swatch.is-out, .sz-ps-swatch:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.sz-ps-stock { font-size: 13px; margin-bottom: 16px; }
.sz-ps-stock .is-ok { color: #1f9d55; } .sz-ps-stock .is-low { color: #d97706; font-weight: 700; } .sz-ps-stock .is-out { color: #999; }
.sz-ps-cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 15px 22px; border-radius: 14px; background: var(--sz-accent); color: #fff !important; font-size: 16px; font-weight: 800; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.sz-ps-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.sz-ps-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; font-size: 13px; color: #555; }
.sz-ps-badges li { display: inline-flex; align-items: center; gap: 6px; }
.sz-ps.is-out .sz-ps-main img { filter: grayscale(.6); opacity: .8; }

.sz-qo-box { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 20px; padding: 26px; box-shadow: 0 10px 40px rgba(0,0,0,.06); }
.sz-qo-title { font-size: 22px; font-weight: 800; margin: 0 0 18px; text-align: center; }
.sz-qo-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.sz-qo-alert { background: #fff1f0; border: 1px solid #fecaca; color: #b91c1c; border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.sz-qo-product { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; margin-bottom: 18px; background: #faf9f7; background: color-mix(in srgb, var(--sz-accent, #222) 4%, #fff); }
.sz-qo-product img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.sz-qo-product-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.sz-qo-unit b { color: var(--sz-accent); font-size: 16px; } .sz-qo-unit s { color: #999; font-size: 12px; margin-inline-start: 6px; }
.sz-qo-variant { padding: 6px 10px !important; font-size: 13px !important; }
.sz-qo-qty { display: inline-flex; align-items: center; border: 1.5px solid #ddd; border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.sz-qo-qty button { width: 34px; height: 36px; border: 0; background: #fff; font-size: 18px; cursor: pointer; }
.sz-qo-qty input { width: 44px; height: 36px; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.sz-qo-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.sz-qo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.sz-qo-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sz-qo-field-wide { grid-column: 1 / -1; }
.sz-qo-field label { font-size: 13px; font-weight: 700; }
.sz-qo-field label i { color: #e53935; font-style: normal; }
.sz-qo-input { width: 100%; border: 1.5px solid #ddd; border-radius: 12px; padding: 11px 14px; font-size: 16px; background: #fff; color: inherit; font-family: inherit; }
.sz-qo-input:focus { outline: none; border-color: var(--sz-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sz-accent) 12%, transparent); }
.sz-qo-input.is-invalid { border-color: #e53935; background: #fff5f5; }
.sz-ltr { direction: ltr; text-align: left; }
.sz-qo-err { color: #e53935; font-size: 12px; min-height: 0; } .sz-qo-err:empty { display: none; }
.sz-qo-radios { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 14px; }
.sz-qo-check { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 10px 0; }
.sz-qo-spl .spl-input { border: 1.5px solid #ddd; border-radius: 12px; padding: 11px 14px; font-size: 16px; }
.sz-qo-spl #saudi-address-section { margin-bottom: 14px; }
.sz-qo-ship, .sz-qo-pay { margin-bottom: 16px; }
.sz-qo-options { display: flex; flex-direction: column; gap: 8px; }
.sz-qo-opt { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1.5px solid #ddd; border-radius: 12px; cursor: pointer; font-size: 14px; margin: 0; }
.sz-qo-opt.is-active { border-color: var(--sz-accent); background: color-mix(in srgb, var(--sz-accent) 6%, white); }
.sz-qo-opt input { accent-color: var(--sz-accent); }
.sz-qo-opt .sz-qo-opt-price { margin-inline-start: auto; font-weight: 700; }
.sz-qo-summary { border-top: 1px dashed #ddd; padding-top: 12px; margin-bottom: 16px; font-size: 14px; }
.sz-qo-summary > div { display: flex; justify-content: space-between; padding: 5px 0; color: #555; }
.sz-qo-summary .sz-qo-total { border-top: 2px solid #222; margin-top: 6px; padding-top: 10px; font-size: 17px; color: inherit; }
.sz-qo-summary .sz-qo-total b { color: var(--sz-accent); font-size: 20px; }
.sz-qo-btn { width: 100%; padding: 16px; border: 0; border-radius: 14px; background: var(--sz-accent); color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; }
.sz-qo-btn:disabled { opacity: .7; cursor: progress; }
.sz-qo-secure { text-align: center; font-size: 12px; color: #777; margin: 10px 0 0; }
.sz-qo-success { text-align: center; padding: 20px 0; }
.sz-qo-success-icon { width: 64px; height: 64px; border-radius: 50%; background: #1f9d55; color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.sz-qo-order { font-weight: 700; }
@media (max-width: 767px) {
  .sz-ps-grid { grid-template-columns: 1fr; gap: 20px; }
  .sz-ps-image-end .sz-ps-media { order: 0; }
  .sz-qo-box { padding: 18px 14px; border-radius: 16px; }
  .sz-qo-grid { grid-template-columns: 1fr; gap: 12px; }
  .sz-qo-product { flex-wrap: wrap; }
}

/* ---------- FAQ accordion (.sz-faq) ---------- */
.sz-faq { color: var(--heading-color, #222); }
.sz-faq-inner { margin: 0 auto; }
.sz-faq-title { font-size: 28px; font-weight: 800; text-align: center; margin: 0 0 8px; }
.sz-faq-subtitle { text-align: center; color: #6b7280; margin: 0 0 24px; font-size: 15px; }
.sz-faq-item { border-bottom: 1px solid #e6e6e6; padding: 16px 0; }
.sz-faq-cards .sz-faq-item { border: 1px solid #e9e9e9; border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.sz-faq-cards .sz-faq-item[open] { border-color: var(--sz-accent); }
.sz-faq-q { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-weight: 700; font-size: 16px; line-height: 1.5; }
.sz-faq-q::-webkit-details-marker { display: none; }
.sz-faq-ic { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--sz-accent) 12%, transparent); position: relative; transition: transform .2s; }
.sz-faq-ic-plus::before, .sz-faq-ic-plus::after { content: ""; position: absolute; background: var(--sz-accent); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.sz-faq-ic-plus::before { width: 12px; height: 2px; }
.sz-faq-ic-plus::after { width: 2px; height: 12px; }
.sz-faq-item[open] .sz-faq-ic-plus { transform: rotate(45deg); }
.sz-faq-ic-chev::before { content: ""; position: absolute; width: 8px; height: 8px; border-right: 2px solid var(--sz-accent); border-bottom: 2px solid var(--sz-accent); left: 50%; top: 50%; transform: translate(-50%, -65%) rotate(45deg); }
.sz-faq-item[open] .sz-faq-ic-chev { transform: rotate(180deg); }
.sz-faq-a { padding-top: 12px; color: #555; line-height: 1.9; font-size: 15px; }
@media (max-width: 767px) { .sz-faq-title { font-size: 22px; } .sz-faq-q { font-size: 15px; } }
