:root {
  color-scheme: light;
  --ink: #2a1334;
  --muted: #735f7a;
  --line: #e8dce9;
  --surface: #ffffff;
  --soft: #f9efdd;
  --purple: #31083d;
  --purple-dark: #24052f;
  --gold: #e2c229;
  --gold-soft: #fff5d7;
  --green: #138a5b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #faf9fd;
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(980px, calc(100% - 32px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--purple);
  font-size: 24px;
  font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; }
.brand small { color: var(--muted); font-size: 12px; }
.teacher-badge { border-radius: 999px; padding: 6px 12px; color: var(--purple-dark); background: var(--soft); font-size: 13px; font-weight: 800; }

.hero { padding: 44px 0 34px; background: linear-gradient(180deg, #f1edff, #faf9fd); }
.hero-inner > h1 { margin: 4px 0 8px; font-size: clamp(30px, 6vw, 48px); line-height: 1.22; }
.hero-help { max-width: 680px; margin: 0; color: var(--muted); font-size: 18px; }
.eyebrow { margin: 0; color: var(--purple-dark); font-size: 14px; font-weight: 900; }

.finder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(55, 38, 110, .09);
}
.finder-step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
}
.finder-step label b, .finder-step label small { display: block; }
.finder-step label b { font-size: 18px; }
.finder-step label small { color: var(--muted); font-size: 12px; }
.step-number {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-weight: 900;
}
.finder-step select { grid-column: 1 / -1; margin-top: 9px; }
input, select {
  width: 100%;
  height: 56px;
  border: 2px solid #d8d1e9;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0 14px;
}
input:focus, select:focus { outline: 4px solid #e5dfff; border-color: var(--purple); }
.show-results { grid-column: 1 / -1; min-height: 58px !important; font-size: 19px !important; }
.show-results span { width: 29px; height: 29px; display: grid; place-items: center; margin-left: 9px; border-radius: 50%; color: var(--purple); background: #fff; }
.simple-search { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); }
.simple-search > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 14px; font-weight: 700; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 11px 20px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--purple); }
.button.primary:hover { background: var(--purple-dark); }
.button.secondary { border: 2px solid #d7d0eb; color: var(--purple-dark); background: #fff; }
.button.whatsapp { background: var(--green); }
.button.telegram { background: #2477b9; }

.catalogue-section { padding: 32px 0 60px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin: 3px 0 0; font-size: 28px; }
.clear-link, .back-link { color: var(--purple-dark); font-weight: 900; text-decoration: none; }
.clear-link { border-bottom: 2px solid currentColor; }
.product-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.product-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.product-card:hover { border-color: #c9bfeb; box-shadow: 0 9px 28px rgba(48, 35, 95, .07); }
.product-icon { width: 50px; height: 58px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--purple); font-size: 12px; font-weight: 900; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { border-radius: 999px; padding: 4px 9px; color: var(--purple-dark); background: var(--soft); font-size: 12px; font-weight: 800; }
.product-card h3 { margin: 10px 0 4px; font-size: 18px; line-height: 1.5; }
.teacher { margin: 0; color: var(--muted); font-size: 14px; }
.teacher.large { font-size: 17px; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.card-meta strong { color: var(--purple-dark); }
.open-button { grid-column: 1 / -1; width: 100%; margin-top: 2px; }
.empty-state { padding: 50px 20px; border: 2px dashed #ccc4e6; border-radius: 18px; text-align: center; background: #fff; }
.empty-state h2, .empty-state p { margin-top: 0; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 28px; }
.pagination a:last-child { justify-self: end; }

.product-page { padding: 30px 0 60px; }
.product-layout { display: grid; grid-template-columns: minmax(240px, 330px) 1fr; gap: 34px; align-items: start; margin-top: 22px; }
.product-layout.no-cover { grid-template-columns: 1fr; max-width: 760px; }
.detail-cover { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.detail-cover img { width: 100%; height: auto; }
.product-copy h1 { margin: 12px 0 5px; font-size: clamp(28px, 5vw, 43px); line-height: 1.3; }
.price { margin: 14px 0 22px; color: var(--purple-dark); font-size: 26px; font-weight: 900; }
.pdf-list { padding: 18px; border: 2px solid #dcd4f2; border-radius: 18px; background: #fff; }
.pdf-title-row { display: flex; align-items: center; gap: 10px; }
.pdf-title-row h2 { margin: 0; font-size: 21px; }
.pdf-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.pdf-row > span b, .pdf-row > span small { display: block; }
.pdf-row > span small { color: var(--muted); }
.pdf-row .button { min-width: 160px; }
.pending { color: #8a6515; font-size: 14px; font-weight: 800; }
.muted { color: var(--muted); }
.description-box { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.description-box summary { padding: 14px 16px; color: var(--purple-dark); font-weight: 900; cursor: pointer; }
.description-box p { margin: 0; padding: 0 16px 16px; color: #514b61; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.contact-actions p { width: 100%; margin: 0; font-weight: 800; }

.viewer-page { padding-top: 16px; }
.viewer-heading { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-bottom: 12px; }
.viewer-heading h1, .viewer-heading p { margin: 0; }
.viewer-heading h1 { font-size: 22px; }
.viewer-heading p { color: var(--muted); font-size: 14px; }
.viewer-note { border-radius: 999px; padding: 7px 12px; color: var(--purple-dark); background: var(--soft); font-size: 13px; font-weight: 900; }
.back-button { min-height: 42px; padding: 7px 14px; }
.pdf-shell { width: 100%; height: calc(100vh - 166px); min-height: 600px; border-top: 1px solid var(--line); background: #dad7e1; }
.pdf-shell iframe { width: 100%; height: 100%; display: block; border: 0; }
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); background: #fff; font-size: 14px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 14px; }
.site-footer strong { color: var(--ink); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(100% - 22px, 980px); }
  .teacher-badge { display: none; }
  .brand small { font-size: 11px; }
  .hero { padding: 28px 0 24px; }
  .hero-inner > h1 { font-size: 31px; }
  .hero-help { font-size: 16px; }
  .finder { grid-template-columns: 1fr; padding: 14px; border-radius: 17px; }
  .show-results, .simple-search { grid-column: auto; }
  .product-list { grid-template-columns: 1fr; }
  .product-card { padding: 15px; }
  .product-layout { grid-template-columns: 1fr; gap: 22px; }
  .detail-cover { max-width: 420px; margin-inline: auto; }
  .pdf-list { padding: 14px; }
  .pdf-title-row { align-items: flex-start; }
  .pdf-row { align-items: stretch; flex-direction: column; }
  .pdf-row .button { width: 100%; }
  .viewer-heading { grid-template-columns: auto 1fr; }
  .viewer-note { grid-column: 1 / -1; text-align: center; }
  .pdf-shell { height: calc(100vh - 205px); min-height: 520px; }
  .site-footer .container { display: block; text-align: center; }
  .site-footer span { display: block; margin-top: 4px; }
}

@media (max-width: 390px) {
  .brand-mark { width: 40px; height: 40px; }
  .product-icon { width: 44px; height: 52px; }
  .product-card { gap: 11px; }
  .card-meta { display: block; }
  .card-meta span { display: block; margin-top: 2px; }
}

.product-thumbnail { width: 90px; height: 90px; object-fit: cover; border-radius: 11px; border: 1px solid #d8d7d2; }
@media(max-width:390px){.product-thumbnail{width:76px;height:76px;}}

/* Compact mobile search controls and clickable Word booklet promise. */
html { scroll-padding-top: 14px; }
.hero-headline-link { color: inherit; text-decoration: none; }
.hero-headline-link:hover, .hero-headline-link:focus-visible { color: var(--purple-dark); }
.hero-headline-link:focus-visible { outline: 3px solid var(--purple); outline-offset: 6px; border-radius: 8px; }
.hero-link-arrow { display: inline; width: .55em; height: .55em; vertical-align: middle; margin-inline-start: .12em; }
.search-caption { display: flex !important; align-items: center; gap: 7px; }
.search-icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; }
.simple-search input { height: 46px; font-size: 15px; font-weight: 500; }
.show-results { min-height: 49px !important; font-size: 16px !important; }
.show-results .step-compact { width: 22px; height: 22px; margin-left: 7px; font-size: 13px; }
.finder .step-number { width: 29px; height: 29px; font-size: 14px; }
@media(max-width:760px) {
  .hero-inner > h1 { font-size: clamp(25px, 6.5vw, 34px); line-height: 1.45; }
  .hero-help { font-size: 15px; }
  .finder { margin-top: 19px; }
  .simple-search { padding-top: 10px; }
}
/* PDF pages are inserted 50 at a time, rendered only when near viewport. */
.pdf-progressive { background: #e5e4e9; min-height: 80vh; padding: 12px 0 30px; }
.pdf-status { background: #fff; border-radius: 10px; padding: 10px 14px; margin: 0 auto 12px; max-width: 800px; font-size: 14px; text-align: center; color: var(--muted); }
.pdf-pages { width: 100%; }
.pdf-page { position: relative; width: min(100% - 16px, 860px); margin: 0 auto 14px; background: #fff; min-height: 540px; display: grid; place-items: center; box-shadow: 0 1px 9px #00000014; }
.pdf-page-placeholder { font-size: 14px; color: var(--muted); padding: 32px; }
.pdf-page canvas { max-width: 100%; height: auto; display: block; }
.pdf-load-more { min-height: 24px; }
.pdf-native-fallback[hidden], .pdf-shell[hidden] { display: none; }
@media(max-width:760px) {
 .pdf-progressive { padding-top: 8px; }
 .pdf-page { width: 100%; margin-bottom: 8px; min-height: 430px; }
 .pdf-status { margin: 0 10px 10px; }
}

/* Visible elapsed-time indicator while the first PDF page loads. */
.pdf-status { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.pdf-status[hidden] { display: none; }
.pdf-loading-spinner { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%;
  border: 2px solid #ddd4f5; border-top-color: var(--purple);
  animation: pdf-loader-spin 0.8s linear infinite; }
.pdf-wait-counter { display: inline-block; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums;
  font-weight: 800; color: var(--purple-dark); background: var(--soft);
  border-radius: 8px; padding: 3px 8px; min-width: 59px; text-align: center; }
.pdf-wait-counter[hidden] { display: none; }
@keyframes pdf-loader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pdf-loading-spinner { animation: none; } }

/* Aktub brand identity: original gold calligraphy logo on deep aubergine purple. */
body { background: #fcf9fb; }
.site-header {
  background: #31083d;
  border-bottom: 3px solid #e2c229;
  box-shadow: 0 5px 18px rgba(49, 8, 61, .10);
}
.header-row { min-height: 88px; }
.brand { gap: 13px; }
.brand-symbol {
  display: flex; align-items: center; justify-content: center;
  width: 153px; flex: 0 0 153px;
  padding: 6px 4px; border-radius: 8px; background: rgba(255,255,255,.035);
}
.brand-logo { width: 145px; height: auto; max-height: 57px; object-fit: contain; }
.brand strong { color: #f7e8aa; font-size: 20px; }
.brand small { color: #efdfed; }
.teacher-badge {
  color: #f1d153; background: #41154e; border: 1px solid rgba(226,194,41,.48);
}
.hero {
  background: linear-gradient(155deg, #fff7db 0%, #f9f1f9 49%, #f5ebf5 100%);
  border-bottom: 1px solid #f0dca6;
}
.hero-inner > h1 { color: #31083d; }
.hero-help { color: #67546d; }
.eyebrow { color: #633070; }
.hero-headline-link:hover, .hero-headline-link:focus-visible { color: #6b396b; }
.finder { border-color: #e9d8c4; box-shadow: 0 14px 35px rgba(49,8,61,.07); }
.finder-step label small { color: #827187; }
.step-number { background: #e2c229; color: #31083d; }
input, select { border-color: #dfd1df; }
input:focus, select:focus { outline-color: #fff0bd; border-color: #a78338; }
.button.primary { color: #f9e5a7; background: #31083d; border: 1px solid #b89b32; }
.button.primary:hover { color: #31083d; background: #e2c229; }
.button.secondary { color: #31083d; border-color: #d4b664; background: #fffdf6; }
.button.secondary:hover { background: #fff4d0; }
.show-results .step-compact { background: #e2c229; color: #31083d; }
.product-card { border-color: #eadfea; box-shadow: 0 4px 19px rgba(49,8,61,.025); }
.product-card:hover { border-color: #d4b45b; box-shadow: 0 9px 28px rgba(49,8,61,.09); }
.tags span { color: #31083d; background: #fcf2d2; }
.card-meta strong, .price, .clear-link, .back-link { color: #44114f; }
.product-thumbnail, .detail-cover { border-color: #e3cb7d; }
.empty-state { border-color: #e2c229; background: #fffdf9; }
.pdf-list { border-color: #ebd9a0; }
.pdf-progressive { background: #eee9ee; }
.pdf-status { border: 1px solid #efdbac; }
.pdf-wait-counter { color: #31083d; background: #fff0bc; }
.pdf-loading-spinner { border-color: #ede0ca; border-top-color: #31083d; }
.viewer-note { color: #31083d; background: #fff0cc; }
.site-footer {
  color: #e9ddea; background: #31083d; border-top: 3px solid #e2c229;
}
.site-footer strong { color: #f4dd8b; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { display: block; width: 96px; height: auto; }
@media (max-width:760px) {
  .header-row { min-height: 76px; }
  .brand { gap: 8px; }
  .brand-symbol { width: 112px; flex-basis: 112px; padding: 2px; }
  .brand-logo { width: 109px; max-height: 47px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 11px; }
  .site-footer .footer-brand { justify-content: center; }
}
@media (max-width:360px) {
  .brand-symbol { width: 96px; flex-basis: 96px; }
  .brand-logo { width: 94px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; }
}

/* Two-color official Aktub logo without a background: show on a warm white header. */
.site-header {
  background: #fffaf2;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 17px rgba(49, 8, 61, .055);
}
.brand-symbol {
  background: transparent;
  padding: 0;
  border-radius: 0;
  width: 184px;
  flex: 0 0 184px;
}
.brand-logo {
  display: block;
  width: 180px;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.brand strong { color: #31083d; }
.brand small { color: #68506c; }
.teacher-badge { color: #31083d; background: #fff0bf; border: 1px solid #dfc57c; }
.site-footer {
  color: #604665;
  background: #fffaf2;
  border-top: 3px solid var(--gold);
}
.site-footer strong { color: #31083d; }
.footer-brand img { width: 140px; height: auto; }
@media(max-width:760px) {
  .header-row { min-height: 73px; }
  .brand-symbol { width: 130px; flex-basis: 130px; padding: 0; }
  .brand-logo { width: 128px; max-height: none; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 10px; }
}
@media(max-width:360px) {
  .brand-symbol { width: 107px; flex-basis: 107px; }
  .brand-logo { width: 105px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 9px; }
}

/* Public personalized-order flow: deliberately minimal for slow connections */
.public-order-banner{background:#fff8e7;border:1px solid #e9ce81;border-radius:14px;padding:19px;margin:22px 0}
.public-order-banner strong{font-size:18px;color:#31083d}
.public-order-banner p{color:#756478}
.order-card{max-width:750px;margin:30px auto;background:#fff;border:1px solid #eee1eb;border-radius:18px;padding:25px;box-shadow:0 8px 30px #31083d0d}
.order-card h1{color:#31083d;font-size:27px}
.order-card label{display:block;font-weight:700;margin-top:15px}
.order-card input:not([type=checkbox]):not([type=hidden]),.order-card select,.order-card textarea{width:100%;border:1px solid #ded4e0;border-radius:10px;background:#fff;color:#31083d;padding:11px 13px;font:inherit;margin-top:6px}
.order-card textarea{min-height:100px}
.order-card .two-cols{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.order-card .consent-row{display:flex;gap:9px;align-items:flex-start;font-size:13px;font-weight:400}
.order-card .consent-row input{margin-top:5px}
.order-card .error{color:#a52b3d;padding:11px;background:#fff0f1;border:1px solid #f3c8d0;border-radius:9px}
.order-card .submit-request{margin-top:19px;width:100%;cursor:pointer}
.order-card .optional-hint{color:#7d6d81;font-size:12px}
.order-card .honeypot{position:absolute;left:-10000px;opacity:0;height:1px;width:1px;pointer-events:none}
.order-card .order-reference{direction:ltr;text-align:center;font-size:25px;font-weight:800;color:#31083d;background:#fcf4de;padding:16px;border-radius:10px}
@media(max-width:640px){.order-card{margin:18px 10px;padding:18px}.order-card .two-cols{grid-template-columns:1fr}.order-card h1{font-size:23px}}

/* Keep catalogue selection on the details page, with adjacent preview/order actions. */
.catalogue-detail-link { display:block; }
.catalogue-title-link { color:inherit; text-decoration:none; }
.catalogue-title-link:hover { text-decoration:underline; }
.catalogue-actions { grid-column:1 / -1; display:flex; gap:10px; flex-wrap:wrap; }
.catalogue-actions > .button { flex:1 1 125px; text-align:center; }
.pdf-actions { display:flex; gap:8px; flex-wrap:wrap; }
.pdf-actions > .button { text-align:center; }
@media (max-width:480px) { .catalogue-actions { gap:8px; } .catalogue-actions > .button { padding-left:10px; padding-right:10px; } }


/* Compact, responsive booklet finder: keep results visible above the fold. */
.hero { padding: 22px 0 22px; }
.hero-inner > h1 { max-width: 900px; font-size: clamp(25px, 3vw, 34px); line-height: 1.35; margin: 4px 0 6px; }
.hero-help { max-width: 900px; font-size: 15px; line-height: 1.65; }
.finder { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(180px,1.3fr) auto; gap: 12px; padding: 15px; margin-top: 16px; border-radius: 16px; align-items: end; }
.finder-step { display: block; min-width: 0; }
.finder-step .step-number { display: none; }
.finder-step label b { font-size: 14px; }
.finder-step label small { display: none; }
.finder-step select { margin-top: 6px; height: 44px; border-width: 1px; font-size: 14px; }
.finder .simple-search { grid-column: 3; grid-row: 1; padding: 0; border: 0; min-width: 0; }
.finder .simple-search > span { font-size: 13px; margin-bottom: 6px; }
.finder .simple-search input { height: 44px; border-width: 1px; font-size: 14px; }
.finder .show-results { grid-column: 4; grid-row: 1; min-height: 44px !important; height: 44px; font-size: 14px !important; padding: 8px 18px; white-space: nowrap; }
.finder .show-results .step-compact { display: none; }
@media (max-width: 900px) {
  .finder { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .finder .simple-search { grid-column: 1 / -1; grid-row: 2; }
  .finder .show-results { grid-column: 1 / -1; grid-row: 3; width: 100%; }
}
@media (max-width: 600px) {
  .hero { padding: 16px 0; }
  .hero-inner > h1 { font-size: 24px; }
  .hero-help { font-size: 13px; }
  .finder { padding: 12px; gap: 9px; margin-top: 12px; }
  .finder-step select { padding-inline: 8px; font-size: 13px; }
  .finder .simple-search > span { font-size: 12px; }
}

/* Teacher order form: hide anti-bot field and fix oversized checkbox/notes. */
.order-card { max-width: 700px; }
.order-card .order-summary { line-height: 1.8; color: #67546d; margin-bottom: 14px; }
.order-card .order-summary strong { color: #31083d; white-space: nowrap; }
.order-card .order-form > label { display: block; margin-top: 14px; }
.order-card .order-form .two-cols > label { min-width: 0; }
.order-card .order-form input:not([type="checkbox"]):not([type="hidden"]),
.order-card .order-form select,
.order-card .order-form textarea { display: block; box-sizing: border-box; width: 100%; max-width: 100%; }
.order-card .order-form input:not([type="checkbox"]):not([type="hidden"]),
.order-card .order-form select { height: 47px; }
.order-card .order-form textarea { height: 93px; min-height: 93px; resize: vertical; }
.order-card .order-form .honeypot,
.order-card .order-form .honeypot[hidden] { display: none !important; }
.order-card .order-form label.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; line-height: 1.7; font-size: 13px; }
.order-card .order-form .consent-row input[type="checkbox"] {
  box-sizing: border-box; display: inline-block; width: 18px !important; min-width: 18px;
  height: 18px !important; min-height: 18px; max-width: 18px;
  flex: 0 0 18px; padding: 0; margin: 3px 0 0 !important;
  border: 1px solid #a69aa9; accent-color: #31083d;
}
.order-card .order-form .consent-row span { flex: 1 1 auto; min-width: 0; }
@media(max-width:640px) {
  .order-card .order-form .two-cols { grid-template-columns: 1fr; }
  .order-card .order-summary { font-size: 14px; }
}

/* Mobile booklet detail: actions above the full cover; desktop grid unchanged. */
.product-intro, .product-intro-content { display: contents; }
.mobile-cover-thumb, .mobile-format-note, .mobile-action-row, .mobile-sticky-actions { display: none; }
.viewer-order-desktop { display: flex; justify-content: flex-start; margin-bottom: 12px; }
.viewer-order-desktop .button { min-height: 42px; padding: 8px 18px; font-size: 15px; }
@media (max-width: 760px) {
  .product-page { padding-top: 14px; padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  .product-page > .back-link { display: inline-block; margin-bottom: 4px; font-size: 13px; }
  .product-layout { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin-top: 14px; }
  .product-copy { order: 1; min-width: 0; }
  .detail-cover { order: 2; width: 100%; max-width: 420px; margin: 0 auto; }
  .product-intro { display: flex; align-items: flex-start; gap: 13px; min-width: 0; }
  .product-intro-content { display: block; flex: 1 1 auto; min-width: 0; }
  .mobile-cover-thumb { display: block; flex: 0 0 104px; width: 104px; height: 139px; object-fit: contain; border: 1px solid #e3cb7d; border-radius: 10px; background: #fffaf2; }
  .product-intro .tags { gap: 4px; }
  .product-intro .tags span { padding: 2px 7px; font-size: 11px; }
  .product-copy .product-intro h1 { font-size: clamp(19px, 5vw, 24px); line-height: 1.42; margin: 5px 0; overflow-wrap: anywhere; }
  .product-intro .teacher.large { font-size: 12px; line-height: 1.4; }
  .product-intro .price { font-size: 25px; margin: 4px 0 0; line-height: 1.3; }
  .mobile-format-note { display: block; margin: 4px 0 0; color: #67546d; font-size: 12px; line-height: 1.5; }
  .mobile-action-row, .mobile-sticky-actions { display: flex; gap: 9px; direction: rtl; }
  .mobile-action-row { margin: 14px 0 16px; }
  .mobile-action-row .button, .mobile-sticky-actions .button { flex: 1 1 0; min-width: 0; min-height: 49px; padding: 9px 8px; font-size: 14px; line-height: 1.35; white-space: normal; text-align: center; }
  .mobile-sticky-actions {
    position: fixed; z-index: 60; inset-inline: 0; bottom: 0;
    padding: 10px max(12px, env(safe-area-inset-right, 0px))
             calc(10px + env(safe-area-inset-bottom, 0px))
             max(12px, env(safe-area-inset-left, 0px));
    background: rgba(255, 250, 246, .97);
    border-top: 1px solid #dfc57c;
    box-shadow: 0 -5px 20px rgba(49, 8, 61, .11);
  }
  .mobile-sticky-actions a:focus-visible, .mobile-action-row a:focus-visible { outline: 3px solid #a78338; outline-offset: 2px; }
  .pdf-title-row h2 { font-size: 18px; }
  .viewer-page { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .viewer-order-desktop { display: none; }
}
@media (max-width: 360px) {
  .mobile-cover-thumb { flex-basis: 86px; width: 86px; height: 116px; }
  .product-copy .product-intro h1 { font-size: 19px; }
  .mobile-action-row .button, .mobile-sticky-actions .button { font-size: 13px; }
}

/* Simplified mobile booklet details (desktop preview list and cover remain unchanged). */
@media (max-width: 760px) {
  .product-page .detail-cover,
  .product-page .pdf-list { display: none; }
  .product-page .description-box { margin-top: 12px; }
  .product-page .description-box h2 {
    font-size: 19px; margin: 0; padding: 14px 16px 4px; line-height: 1.5;
  }
  .product-page .description-box p { padding: 5px 16px 12px; font-size: 14px; }
}
.model-choice-dialog {
  box-sizing: border-box; width: min(430px, calc(100vw - 28px));
  max-height: min(82dvh, 650px); padding: 0;
  border: 1px solid #e3cb7d; border-radius: 20px; background: #fffdfb;
  color: #31083d; box-shadow: 0 18px 70px rgba(24, 3, 35, .25);
  overscroll-behavior: contain;
}
.model-choice-dialog::backdrop { background: rgba(30, 7, 38, .64); }
.model-choice-header {
  display: flex; align-items: start; justify-content: space-between;
  gap: 12px; padding: 18px 18px 10px;
}
.model-choice-header h2 { margin: 0; font-size: 22px; line-height: 1.4; }
.model-choice-close {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid #dec6d5; border-radius: 50%;
  background: #fff; color: #31083d; font: inherit; font-size: 24px; cursor: pointer;
}
.model-choice-subtitle { margin: 0 18px 12px; font-size: 13px; color: #66546e; }
.model-choice-list { display: grid; gap: 10px; padding: 0 18px 18px; }
.model-choice-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; min-height: 74px; padding: 13px 14px;
  border: 1px solid #e8dce9; border-radius: 12px;
  background: #fff; color: #31083d; text-decoration: none;
}
.model-choice-item:hover, .model-choice-item:focus-visible {
  border-color: #b89b32; background: #fff8e7;
}
.model-choice-item strong { display: block; font-size: 16px; }
.model-choice-item small { display: block; font-size: 12px; color: #756478; }
.model-choice-arrow { font-size: 24px; font-weight: 900; }
@media(max-width: 360px) {
  .model-choice-header h2 { font-size: 19px; }
}

/* Teacher coupon entry: compact on slow mobile browsers. */
.order-card .coupon-box {border:1px solid #e5d8df;border-radius:12px;background:#fffcf6;padding:12px 14px;margin-top:18px}
.order-card .coupon-box label {display:block;margin:0 0 6px;font-weight:800}
.order-card .coupon-control {display:flex;gap:8px;align-items:stretch}
.order-card .coupon-control input {flex:1 1 auto;min-width:0;margin:0 !important}
.order-card .coupon-control .button {flex:0 0 auto;min-height:45px;padding:8px 14px}
.order-card #coupon-feedback {margin:8px 0 0;font-size:13px;line-height:1.65}
.order-card #coupon-feedback.success {color:#136b43;font-weight:800}
.order-card #coupon-feedback.invalid {color:#a52b3d;font-weight:800}
@media(max-width:390px){.order-card .coupon-control .button{padding-inline:10px}}


/* Digital-only pricing options on the existing product page (no printed bundles). */
.digital-plans{display:grid;gap:11px;margin:18px 0 20px}
.digital-plans-heading{display:flex;align-items:center;gap:11px;margin-bottom:2px}
.digital-plans-icon{display:grid;place-items:center;border-radius:11px;background:#fff0c2;color:#481452;font-size:24px;width:43px;height:43px;flex-shrink:0;border:1px solid #e7ce78}
.digital-plans-heading h2{font-size:21px;margin:0;line-height:1.4}
.digital-plans-heading p{font-size:13px;color:#735f7a;margin:1px 0 0}
.digital-plan{background:#fff;border:1px solid #eadfe8;border-radius:17px;padding:17px 19px;box-shadow:0 4px 20px rgba(49,8,61,.035)}
.digital-plan-featured{border:1.5px solid #c6a447;background:linear-gradient(145deg,#fffdf7,#fff9e9)}
.digital-plan-top{display:flex;align-items:flex-start;justify-content:space-between;gap:13px}
.digital-plan-name{min-width:0;flex:1}
.digital-plan-tag{display:inline-block;color:#6c455f;background:#f8eef6;border-radius:30px;padding:3px 9px;font-weight:800;font-size:11px}
.digital-plan-featured .digital-plan-tag{color:#604b05;background:#fff0bd}
.digital-plan-name h3{font-size:19px;line-height:1.45;margin:8px 0 4px;color:#31083d}
.digital-plan-name p{margin:0;color:#75667a;font-size:13px;line-height:1.75}
.digital-plan-cost{flex:0 0 auto;text-align:left;min-width:96px;padding:4px 0}
.digital-plan-cost strong{font-size:23px;line-height:1.4;color:#31083d;font-weight:900;display:inline-block;direction:ltr}
.digital-plan-cost small{font-size:11px;font-weight:800;display:inline-block;margin-inline-start:3px}
.digital-plan-cost span{display:block;max-width:118px;color:#684671;font-size:12px;font-weight:900;line-height:1.55}
.digital-plan-quote{padding:9px 0}
.digital-plan-benefits{display:flex;flex-wrap:wrap;gap:7px 13px;margin:15px 0}
.digital-plan-benefits span{color:#296d47;font-size:12px;font-weight:800}
.digital-plan-action{min-height:44px;width:100%;font-size:14px;display:flex}
.digital-plan-disclaimer{color:#7b697d;font-size:12px;line-height:1.75;margin:0 2px 3px}
.digital-plan-disabled{display:block;text-align:center;color:#7b697d;font-size:12px;padding:7px}
@media(max-width:760px){
  .digital-plans{gap:10px;margin:16px 0 18px}
  .digital-plans-heading h2{font-size:19px}
  .digital-plan{padding:14px;border-radius:14px}
  .digital-plan-name h3{font-size:17px;margin:6px 0 3px}
  .digital-plan-cost strong{font-size:19px}
  .digital-plan-cost{min-width:78px}
  .digital-plan-top{gap:8px}
  .digital-plan-name p{font-size:12px}
  .digital-plan-benefits{margin:12px 0;gap:6px 9px}
  .digital-plan-benefits span{font-size:11px}
  .digital-plan-action{font-size:13px}
}
@media(max-width:360px){
  .digital-plan-top{flex-wrap:wrap}
  .digital-plan-cost{min-width:0;text-align:right}
}


/* Simple mobile-first Word+PDF price presentation; no printed-product bundles. */
.simple-packages{display:grid;gap:12px;margin:18px 0 20px}
.simple-packages-title h2{font-size:21px;line-height:1.35;margin:0 0 4px;color:#31083d}
.simple-packages-title p{color:#735f7a;margin:0;font-size:13px;line-height:1.6}
.simple-package-main{background:linear-gradient(145deg,#fffdf7,#fff8e7);border:2px solid #dec379;border-radius:17px;padding:18px;box-shadow:0 5px 18px #31083d0d}
.simple-package-head{display:flex;flex-direction:column;gap:11px}
.simple-package-tag{display:inline-block;color:#684f10;font-size:12px;font-weight:800;background:#ffedb2;padding:3px 10px;border-radius:30px}
.simple-package-main h3{color:#31083d;font-size:20px;line-height:1.35;margin:8px 0 5px}
.simple-package-main p{color:#705e74;font-size:13px;line-height:1.8;margin:0}
.simple-package-price strong{display:inline-block;font-size:29px;color:#31083d;font-weight:900;line-height:1.3;font-variant-numeric:tabular-nums}
.simple-package-order{min-height:52px;width:100%;font-size:16px;margin-top:15px}
.simple-package-extras{border:1px solid #eadfea;border-radius:16px;background:#fff;padding:17px}
.simple-package-extras h3{color:#31083d;font-size:17px;margin:0 0 12px}
.simple-extra-line{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;padding:13px 0;border-top:1px solid #f0e8ef}
.simple-extra-line strong{display:block;font-size:14px;line-height:1.5}
.simple-extra-line small{display:block;font-size:12px;color:#75687a;line-height:1.65;margin-top:3px}
.simple-extra-line>span{background:#f7f2f8;color:#593b63;white-space:nowrap;border-radius:8px;padding:5px 9px;font-size:11px;font-weight:800}
.simple-package-extras>p{font-size:12px;color:#75687a;line-height:1.7;margin:10px 0 0}
.simple-extra-ask{margin-top:12px;width:100%;min-height:42px;font-size:13px}
@media(max-width:760px){
 .simple-packages{margin:13px 0 19px;gap:10px}
 .simple-package-main,.simple-package-extras{padding:14px;border-radius:14px}
 .simple-packages-title h2{font-size:19px}
 .simple-package-price strong{font-size:30px}
 .simple-package-order{font-size:14px;min-height:48px}
 .simple-extra-line>span{padding:5px 7px;font-size:10px}
 .product-intro .price{font-size:26px;font-weight:900;margin-top:7px}
}


/* Four compact Aktub packages above fold on phones. */
.package-picker{margin:12px 0 16px}
.package-picker-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.package-picker-heading h2{font-size:20px;color:#31083d;white-space:nowrap;margin:0}
.package-picker-heading p{color:#75657a;font-size:12px;line-height:1.5;margin:0;text-align:left}
.package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.package-tile{position:relative;display:block;min-width:0;cursor:pointer}
.package-tile>input{position:absolute;top:11px;left:11px;width:17px;height:17px;margin:0;opacity:1;z-index:2;accent-color:#31083d}
.package-tile-inner{display:flex;flex-direction:column;height:100%;min-height:146px;padding:14px 12px 12px;border-radius:13px;border:1px solid #e5d7e5;background:#fff;transition:border-color .15s,background-color .15s}
.package-tile>input:checked + .package-tile-inner{border:2px solid #b89232;background:#fff9e8;padding:13px 11px 11px}
.package-tile>input:focus-visible + .package-tile-inner{outline:3px solid #d4a446;outline-offset:2px}
.package-tile>input:disabled + .package-tile-inner{opacity:.56;cursor:not-allowed}
.package-tile-title{color:#391544;font-size:13px;font-weight:900;line-height:1.45;max-width:calc(100% - 14px)}
.package-tile-price{color:#31083d;font-size:19px;font-weight:950;line-height:1.45;direction:ltr;text-align:right;margin-top:5px}
.package-tile-meta{color:#76627a;font-size:11px;line-height:1.35;margin-top:4px}
.package-tile-time{margin-top:auto;padding-top:6px;color:#136c46;font-size:11px;line-height:1.3;font-weight:850}
.package-model-picker{display:flex;align-items:center;gap:9px;margin-top:11px}
.package-model-picker[hidden]{display:none!important}
.package-model-picker label{flex:0 0 auto;color:#543758;font-size:12px;font-weight:850}
.package-model-picker select{height:39px;min-width:0;width:100%;padding:6px 8px;font-size:12px}
.package-footnote{color:#736078;font-size:11px;line-height:1.5;margin:8px 0}
.package-main-cta{width:100%;min-height:48px;font-size:14px}
@media(max-width:760px){
  .package-picker{margin:8px 0 12px}
  .package-picker-heading{align-items:center}
  .package-picker-heading h2{font-size:17px}
  .package-picker-heading p{font-size:10px}
  .package-grid{gap:7px}
  .package-tile-inner{min-height:133px;padding:12px 10px 10px}
  .package-tile>input:checked + .package-tile-inner{padding:11px 9px 9px}
  .package-tile-title{font-size:12px}
  .package-tile-price{font-size:17px;margin-top:3px}
  .package-tile-meta{font-size:10px}
  .package-tile-time{font-size:10px}
  .package-model-picker{align-items:stretch;flex-direction:column;gap:4px}
  .package-model-picker select{height:37px}
  .product-copy .product-intro h1{font-size:clamp(18px,4.6vw,22px)}
  .mobile-action-row{margin:9px 0 12px}
}
@media(max-width:370px){.package-tile-inner{min-height:147px}.package-tile-price{font-size:15px}.package-tile-meta{font-size:9px}}

/* Package checkout summary and single-paper-copy shipping form. */
.order-card .package-order-summary{border:1px solid #e6d2a0;border-radius:15px;padding:13px 16px;background:#fff9e9;margin:13px 0 15px;display:grid;gap:5px}
.package-order-summary>strong{color:#31083d;font-size:17px}
.package-order-summary>span{font-size:13px;color:#69576c;line-height:1.55}
.package-order-total{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:8px;border-top:1px solid #e5d2a7;margin-top:6px;color:#31083d;font-weight:900}
.package-order-total strong{font-size:22px;color:#31083d}
.order-card .paper-address{background:#f8f3fa;border:1px solid #e4d6e9;border-radius:12px;padding:13px;margin-top:20px}
.order-card .paper-address h2{font-size:17px;margin:0}
.order-card .paper-address textarea{min-height:74px;height:auto}
@media(max-width:640px){.package-order-total strong{font-size:20px}}


/* Multi-model booklet preview: one tidy control, no overflowing PDF rows. */
.product-page .model-summary{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 15px;margin-top:16px;border:1px solid #e6d29c;
  border-radius:13px;background:#fffdfa;
}
.model-summary-text{min-width:0;flex:1}
.model-summary-text strong{display:block;color:#31083d;font-size:15px}
.model-summary-text small{display:block;color:#75647a;font-size:12px;margin-top:3px;line-height:1.5}
.model-summary-action{flex:0 0 auto}
.model-summary-action .button{min-width:130px;min-height:42px;padding:9px 14px;white-space:nowrap}
.model-choice-item>span:first-child{min-width:0;flex:1}
.model-choice-item small{overflow-wrap:anywhere;word-break:break-word}
.model-choice-item strong{overflow-wrap:anywhere}
@media(max-width:760px){
 .product-page .model-summary{padding:11px 12px;gap:9px;margin-top:12px}
 .model-summary-text strong{font-size:13px}
 .model-summary-text small{font-size:11px}
 .model-summary-action .button{min-width:112px;min-height:40px;padding:7px 10px;font-size:12px}
}
@media(max-width:365px){.product-page .model-summary{flex-direction:column;align-items:stretch}.model-summary-action .button{width:100%}}


/* Small-screen package prices and optional named model quotes. */
.package-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}
.package-tile{min-width:0;max-width:100%}
.package-tile-inner{box-sizing:border-box;min-width:0;min-height:160px;gap:0;overflow:hidden}
.package-tile-premium .package-tile-inner{border-color:#ddc58b}
.package-tile-title{overflow-wrap:anywhere;min-width:0}
.package-tile-price{display:block;max-width:100%;font-size:clamp(14px,3.9vw,19px);overflow-wrap:anywhere;line-height:1.45;white-space:normal}
.package-tile-meta{overflow-wrap:anywhere;line-height:1.4;max-width:100%}
.package-model-picker[hidden],.package-model-quotes[hidden]{display:none!important}
.package-model-picker label{white-space:normal;line-height:1.5}
.package-model-picker label span{font-weight:500;color:#786780}
.package-model-picker select{box-sizing:border-box;max-width:100%;text-overflow:ellipsis}
.package-model-summary{color:#624d68;font-size:12px;line-height:1.65;margin:7px 0 0;overflow-wrap:anywhere}
.package-model-summary:empty{display:none}
.package-model-quotes{margin:9px 0 0;padding:10px;border:1px solid #dec58b;border-radius:12px;background:#fffdf6}
.package-quote-heading{color:#442247;font-size:12px;font-weight:900}
.package-quote-scroll{display:grid;gap:6px;margin-top:7px;max-height:184px;overflow-y:auto;overscroll-behavior:contain}
.package-model-quote{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;box-sizing:border-box;border:1px solid #eee1e9;border-radius:9px;padding:8px 10px;text-align:right;background:#fff;color:#31083d;font:inherit;cursor:pointer}
.package-model-quote.is-active{border-color:#ae852b;background:#fff2c7}
.package-model-quote:focus-visible{outline:3px solid #bf9140;outline-offset:1px}
.package-quote-name{min-width:0;flex:1;overflow-wrap:anywhere;font-size:12px;line-height:1.4}
.package-quote-name small{display:inline;color:#78667d;font-size:11px}
.package-model-quote b{flex-shrink:0;white-space:nowrap;font-size:13px;direction:ltr}
@media(max-width:760px){
  .package-tile-inner{min-height:157px;padding:11px 9px}
  .package-tile>input:checked+.package-tile-inner{padding:10px 8px}
  .package-tile-title{font-size:12px}
  .package-tile-meta{font-size:10px}
  .package-tile-time{font-size:10px}
  .package-quote-name{font-size:11px}
  .package-model-quote b{font-size:12px}
  .package-picker-heading p{max-width:54%;text-align:left}
}
@media(max-width:365px){
  .package-tile-inner{min-height:178px}
  .package-tile-price{font-size:14px}
  .package-tile-meta,.package-tile-time{font-size:10px}
}

/* SuperQi checkout: a dedicated, compact payment journey. Scoped to this page. */
.superqi-checkout{padding-block:30px 46px}
.superqi-checkout-heading{text-align:center;margin:0 auto 22px;max-width:710px}
.superqi-eyebrow{display:inline-block;background:#fff4d5;color:#45204a;border:1px solid #ecd8a0;padding:5px 13px;border-radius:99px;font-size:13px;font-weight:800}
.superqi-checkout-heading h1{font-size:clamp(25px,3vw,34px);line-height:1.4;margin:12px 0 4px;color:#31083d}
.superqi-checkout-heading p{color:#73647a;font-size:15px;margin:0}
.superqi-order-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #e9dbe7;border-radius:18px;box-shadow:0 5px 22px #31083d0b;padding:18px 22px;margin-bottom:17px}
.superqi-order-details{display:flex;flex-direction:column;gap:4px;min-width:0}
.superqi-section-label{font-size:12px;font-weight:800;color:#856c85}
.superqi-product-name{font-size:18px;color:#31083d;line-height:1.5}
.superqi-order-reference{font-size:13px;color:#735f7a;overflow-wrap:anywhere}
.superqi-order-amount{display:flex;flex-direction:column;gap:1px;flex:0 0 auto;text-align:left;background:#fff7df;border:1px solid #eed9a3;border-radius:12px;padding:9px 17px;color:#31083d}
.superqi-order-amount span{font-size:12px;font-weight:700}
.superqi-order-amount strong{font-size:clamp(22px,2.5vw,28px);line-height:1.4;white-space:nowrap}
.superqi-checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px;align-items:stretch}
.superqi-panel{background:#fff;border:1px solid #e8dce9;border-radius:19px;box-shadow:0 6px 20px #31083d0a;padding:22px;min-width:0}
.superqi-panel-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.superqi-step-number{flex:0 0 35px;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#31083d;font-weight:900;font-size:17px}
.superqi-panel h2{font-size:19px;line-height:1.5;margin:0;color:#31083d}
.superqi-panel-heading p{font-size:13px;color:#766b78;margin:4px 0 0;line-height:1.75}
.superqi-code-figure{margin:0 auto 15px;text-align:center;background:#fffdfa;border:1px solid #ebdfcb;border-radius:15px;padding:12px 10px 9px;max-width:440px}
.superqi-code-figure img{width:min(100%,420px);height:auto;max-height:430px;object-fit:contain;margin:0 auto;border-radius:9px}
.superqi-code-figure figcaption{color:#624a65;font-size:12px;font-weight:800;margin-top:8px}
.superqi-qr-link{display:flex;width:100%;min-height:46px;font-size:14px;text-align:center}
.superqi-help{color:#736c78;font-size:13px;line-height:1.75;margin:13px 0 0}
.superqi-proof-panel{display:flex;flex-direction:column}
.superqi-proof-form{display:flex;flex-direction:column;gap:10px;background:#faf7fb;border:1px solid #e9dfe9;border-radius:14px;padding:17px;margin-top:5px}
.superqi-proof-form label{font-size:15px;font-weight:900;color:#31083d}
.superqi-proof-form input[type=file]{box-sizing:border-box;display:block;width:100%;max-width:100%;height:auto;min-height:54px;padding:9px;border:1px dashed #bfaac6;border-radius:10px;background:#fff;color:#31083d;font-size:13px;font-weight:600;cursor:pointer}
.superqi-proof-form input[type=file]::file-selector-button{background:#f4e9f3;color:#31083d;border:0;border-radius:8px;padding:8px 12px;margin-inline-end:12px;cursor:pointer;font:inherit}
.superqi-proof-form input[type=file]:focus-visible{outline:3px solid #e2c229;outline-offset:2px}
.superqi-input-hint{margin:0;color:#756b77;font-size:12px;line-height:1.6}
.superqi-submit{width:100%;min-height:51px;margin-top:4px;font-size:16px}
.superqi-review-note{margin-top:20px;background:#fff9e8;border-right:4px solid #d7b449;padding:14px 16px;border-radius:10px}
.superqi-review-note strong{display:block;color:#31083d;font-size:15px}
.superqi-review-note p{margin:5px 0 0;color:#6a5a69;font-size:13px;line-height:1.85}
.superqi-alternative{margin-top:18px;background:#fff;border:1px solid #e8dce9;border-radius:17px;padding:20px 22px}
.superqi-alternative h2{color:#31083d;font-size:18px;margin:0 0 5px}
.superqi-alternative p{color:#77677d;font-size:13px;line-height:1.8;margin:0}
.superqi-alternative-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}
.superqi-alternative-method{background:#faf7fb;border:1px solid #e9dfe9;border-radius:12px;padding:12px}
.superqi-alternative-method>a{display:block;color:#31083d;font-weight:800;font-size:14px;text-decoration:underline;text-underline-offset:3px;margin-bottom:10px}
.superqi-alternative-method form{margin:0}
.superqi-alternative-method .button{width:100%;font-size:13px;white-space:normal;min-height:46px;text-align:center}
.superqi-security-note{text-align:center;color:#756d77;font-size:12px;line-height:1.8;margin:18px auto 0;max-width:720px}
@media(max-width:740px){
  .superqi-checkout{padding-block:18px 32px}
  .superqi-checkout-heading{margin-bottom:15px}
  .superqi-order-summary{padding:15px;flex-direction:column;align-items:stretch;gap:13px}
  .superqi-order-amount{text-align:right;align-items:flex-start}
  .superqi-checkout-grid{grid-template-columns:1fr;gap:13px}
  .superqi-panel{padding:16px}
  .superqi-alternative{padding:16px}
  .superqi-alternative-methods{grid-template-columns:1fr}
}
@media(max-width:390px){
  .superqi-panel-heading{gap:9px}
  .superqi-step-number{width:31px;height:31px;flex-basis:31px}
  .superqi-panel h2{font-size:17px}
  .superqi-checkout-heading h1{font-size:24px}
  .superqi-order-amount strong{font-size:23px}
}
