/* FOTO-KMIEC | UI source of truth: Odbitki accepted layout + Photobooks catalog/wizard */
:root {
  --blue: #0765b4;
  --blue2: #07589f;
  --navy: #082d4a;
  --orange: #ff8b19;
  --orange2: #f47714;
  --ink: #0b2e4a;
  --sub: #617f99;
  --border: #dfebf2;
  --wash: #f4f8fb;
  --white: #fff;
  --radius: 17px;
  --shadow: 0 12px 32px rgba(13, 51, 76, 0.07);
  font-family: "Lato", "Arial", sans-serif;
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  line-height: 1.55;
  background: #fff;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #65adf8;
  outline-offset: 3px;
}
.shell {
  max-width: 1260px;
  padding: 0 26px;
  margin: auto;
}
.site-header {
  background: #fff;
  box-shadow: 0 4px 21px rgba(15, 39, 66, 0.05);
  position: relative;
  z-index: 3;
}
.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 30px;
}
.brand img {
  width: 211px;
  height: auto;
  max-height: 63px;
  object-fit: contain;
}
.site-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1;
}
.site-links a {
  font-size: 14px;
  color: #123b60;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.site-links a:hover,
.site-links a.active {
  color: var(--blue);
}
.site-links a.active {
  border-bottom: 2px solid var(--orange);
  padding-bottom: 5px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
.small-cart {
  color: var(--navy);
  display: inline-flex;
}
.btn {
  min-height: 42px;
  display: inline-flex;
  gap: 13px;
  justify-content: center;
  align-items: center;
  padding: 12px 22px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 5px 13px #ef881e2b;
}
.btn-accent:hover {
  background: var(--orange2);
}
.btn-outline {
  border-color: #cbddea;
  background: white;
  color: var(--blue);
}
.btn-subtle {
  border-color: #e2eaf0;
  background: #f1f5f8;
  color: #174669;
}
.btn-wide {
  width: 100%;
}
.btn-translucent {
  border-color: #ffffff8c;
  color: #fff;
  background: #ffffff0d;
}
.header-action {
  white-space: nowrap;
}
.eyebrow {
  letter-spacing: 0.14em;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  color: #8aa0b1;
  font-size: 14px;
}
.crumbs a {
  text-decoration: none;
  color: #7d95a6;
}
.light-hero {
  background: linear-gradient(112deg, #f5f9fc 0%, #fff 70%);
}
.hero-grid {
  min-height: 455px;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  gap: 6px;
  padding: 22px 0 80px;
}
.hero-text {
  padding: 15px 28px 15px 4px;
}
.hero-text h1 {
  font-size: clamp(35px, 4.3vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin: 17px 0 18px;
  font-weight: 900;
}
.hero-text h1 span {
  color: var(--blue);
}
.hero-text > p {
  max-width: 420px;
  color: #668097;
  font-size: 15px;
  padding-top: 20px;
}
.action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 27px 0;
}
.hero-proof {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  line-height: 24px;
  color: #667f91;
}
.hero-proof div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:4px;
}
.hero-media {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  grid-template-rows: repeat(2, 172px);
  gap: 10px;
  height: 355px;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-main-photo {
  grid-row: 1 / span 2;
  overflow: hidden;
  border-radius: 20px;
}
.hero-side-photo {
  overflow: hidden;
  border-radius: 18px;
}
.format-section {
  background: #f3f8fb;
  padding: 74px 0;
}
.format-area {
  display: grid;
  grid-template-columns: 29% 71%;
  gap: 28px;
  align-items: center;
}
.format-intro h2 {
  font-size: clamp(27px, 3vw, 43px);
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin: 14px 0;
}
.format-intro p {
  max-width: 270px;
  color: var(--sub);
  font-size: 15px;
}
.text-link {
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
  font-size: 15px;
}
.format-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding-right: 28px;
}
.format-sheet {
  background: white;
  border-radius: 15px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.format-line {
  display: grid;
  grid-template-columns: minmax(55px, 1fr) 84px 92px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  min-height: 57px;
  border-bottom: 1px solid #ebf0f4;
  text-decoration: none;
  background: white;
}
.format-line:last-child {
  border-bottom: none;
}
.format-line:hover {
  background: #f6fbff;
}
.format-line strong {
  font-size: 13px;
}
.format-line b {
  font-size: 13px;
  text-align: right;
}
.mini-orange {
  background: var(--orange);
  border-radius: 9px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  padding: 8px;
  white-space: nowrap;
  text-align: center;
}
.mock-note {
  grid-column: 1/-1;
  font-size: 11px;
  color: #8094a6;
  margin: 0 3px;
}
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 64px;
  margin-bottom: 80px;
}
.strip-item {
  height: 150px;
  overflow: hidden;
  border-radius: 14px;
}
.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 100px;
}
.editorial-reverse {
  grid-template-columns: 0.7fr 1.3fr;
}
.editorial-image {
  height: 360px;
  overflow: hidden;
}
.editorial-image-01 {
  height: 360px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.steps-section {
    margin-top: 60px;
}
.editorial-image img, .editorial-image-01 img {
  height: 100%;
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  overflow: hidden;
}
.editorial-copy h2 {
  font-size: clamp(31px, 3.5vw, 49px);
  line-height: 1.07;
  letter-spacing: -0.04em;
  margin: 16px 0;
}
.editorial-copy p {
  color: var(--sub);
  font-size: 15px;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  margin-top: 18px;
  font-size: 14px;
}
.feature-row span {
  width: 33px;
  height: 33px;
  background: #e7f3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 21px;
}
.feature-row svg {
    width: 16px;
    height:16px;
}

.cta-banner {
  background:
    linear-gradient(90deg, #0d2941e8, #102f4dce),
    url("../images/banner-01.png") center/cover;
  padding: 70px 0;
  color: white;
}
.cta-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.cta-content h2 {
  max-width: 550px;
  font-size: 35px;
  line-height: 1.1;
  margin: 8px 0;
}
.cta-content p {
  font-size: 14px;
  opacity: 0.85;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  gap: 11px;
}
.steps-area {
  border: 1px solid #e6edf2;
  border-radius: 20px;
  margin-top: 38px;
  margin-bottom: 64px;
  padding-top: 23px;
  padding-bottom: 32px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-heading h2 {
  font-size: 30px;
  margin: 0;
  color: var(--blue);
}
.scribble {
  color: var(--orange);
  font-style: italic;
  font-size: 19px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.step-box {
  text-align: center;
  padding: 14px 20px;
  position: relative;
}
.step-box:not(:last-child):after {
  content: "→";
  color: var(--blue);
  position: absolute;
  right: -6px;
  top: 43%;
  font-size: 22px;
}
.step-box strong {
  color: var(--orange);
  font-size: 22px;
  position: absolute;
  top: 6px;
  left: 23px;
}
.step-box img {
  width: 90px;
  height: 72px;
  object-fit: contain;
  margin: auto;
}
.step-box h3 {
  font-size: 14px;
  margin: 8px 0 4px;
}
.step-box p {
  font-size: 12px;
  color: var(--sub);
  margin: 0;
}
.site-footer {
  background: #12384b;
  color: white;
  padding: 43px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 35px;
  padding-bottom: 30px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-logo {
  width: 160px;
  max-height: 45px;
  object-fit: contain;
  object-position: left;
}
.footer-grid p,
.footer-grid a,
.muted-footer {
  font-size: 12px;
  color: #bacbd5;
  text-decoration: none;
  line-height: 1.7;
  margin: 0;
}
.footer-grid h4 {
  font-size: 13px;
  margin: 2px 0 8px;
}
.footer-grid a:hover {
  color: white;
}
.footer-base {
  border-top: 1px solid #ffffff2c;
  padding-top: 15px;
  font-size: 11px;
  color: #9aafbb;
  display: flex;
  justify-content: space-between;
}
.home-hub {
  padding-top: 85px;
  padding-bottom: 120px;
}
.home-hub h1 {
  font-size: 60px;
  margin: 4px 0;
}
.home-hub > p {
  color: var(--sub);
}
.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 35px;
}
.hub-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  padding-bottom: 20px;
}
.hub-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.hub-card strong,
.hub-card span {
  display: block;
  margin: 14px 20px 0;
}
.hub-card span {
  color: var(--blue);
}
.pending-page {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 160px;
  max-width: 660px;
}
.pending-page h1 {
  font-size: 42px;
}
.pending-page p {
  color: var(--sub);
  margin-bottom: 25px;
}
/* Photobooks catalog */
.catalog-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 16px;
  margin-top: 23px;
  margin-bottom: 37px;
  align-items: stretch;
  min-height: 650px;
}
.catalog-side,
.catalog-main {
  border: 1px solid #e5ecf1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 24px #102e4a09;
}
.catalog-side {
  padding: 24px 12px;
}
.catalog-side h2 {
  font-size: 24px;
  margin: 0 12px 25px;
}
.catalog-side nav {
  display: flex;
  flex-direction: column;
}
.catalog-side nav a,
.inactive-category {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  min-height: 66px;
  padding: 0 17px;
  border-bottom: 1px solid #eaf0f5;
}
.item-list {
    display: flex;
    justify-items: start;
    align-items: center;
}
.catalog-side nav a.active {
  background: #e6f4ff;
  color: var(--blue2);
  border-radius: 10px;
  border-bottom-color: transparent;
}
.inactive-category {
  color: #748ca0;
}
.catalog-side nav a span,
.inactive-category span {
  font-size: 23px;
  color: #5689ad;
}
.catalog-main {
  padding: 26px 23px 30px;
}
.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.catalog-heading h1 {
  font-size: 30px;
  margin: 0;
  letter-spacing: -0.035em;
}
.catalog-heading > span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5b7d9b;
  letter-spacing: 0.2em;
  font-size: 12px;
}
.catalog-heading i {
  width: 45px;
  height: 2px;
  background: #86c9f5;
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.book-card {
  border: 1px solid #e4edf2;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 13px 11px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  min-height: 306px;
}
.book-image {
  display: block;
  width: 100%;
  height: 203px;
  overflow: hidden;
  border-radius: 9px;
  background: #f8fafc;
}
.book-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.book-card h3 {
  font-weight: 500;
  font-size: 17px;
  margin: 8px 0 12px;
}
.book-choose {
  font-size: 13px;
  border-radius: 30px;
  padding: 9px 27px;
  min-height: 36px;
  margin-top: auto;
}
.book-card:hover {
  box-shadow: 0 15px 35px #1b3f6719;
}
/* Photobooks wizard */
.wizard-area {
  padding-bottom: 55px;
}
.detail-crumbs {
  display: flex;
  gap: 10px;
  color: #7790a5;
  font-size: 13px;
  padding: 22px 0 13px;
}
.detail-crumbs a {
  text-decoration: none;
  color: var(--blue);
}
.detail-crumbs strong {
  font-weight: 700;
  color: #476881;
}
.stepbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 920px;
  margin: 0 auto 27px;
  padding: 0 7px;
  gap: 9px;
}
.wizard-step {
  position: relative;
  flex: 1;
  text-align: center;
  min-width: 0;
  color: #7290a7;
}
.wizard-step:not(:last-child):after {
  content: "";
  height: 2px;
  position: absolute;
  left: calc(50% + 25px);
  right: calc(-50% + 25px);
  top: 20px;
  background: #d9e5ef;
}
.wizard-step.is-done:not(:last-child):after {
  background: var(--blue);
}
.wizard-step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5ebf0;
  color: #617c92;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.wizard-step.is-current .step-number,
.wizard-step.is-done .step-number {
  background: var(--blue);
  color: #fff;
}
.wizard-step .step-label {
  font-size: 13px;
  display: block;
  line-height: 1.2;
}
.wizard-step.is-current .step-label {
  color: var(--blue);
  font-weight: 900;
}
.delivery-notice {
  padding: 14px 23px;
  border-radius: 13px;
  background: #e9f4ff;
  color: #225986;
  font-size: 13px;
  margin-bottom: 19px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.wizard-grid {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.preview-card {
    position:sticky;
    top:-70px;
}
.preview-card,
.wizard-panel {
  border-radius: 20px;
  border: 1px solid #e5ebef;
  background: #fff;
  box-shadow: var(--shadow);
}
.preview-card {
  padding: 17px;
}
.preview-image {
  height: 340px;
  border-radius: 14px;
  background: #f5f7f8;
  overflow: hidden;
}
.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.preview-product {
  padding: 17px 3px 4px;
}
.preview-product h2 {
  font-size: 29px;
  line-height: 1.05;
  margin: 4px 0;
}
.preview-product > p {
  color: var(--sub);
  font-size: 13px;
}
.selection-summary {
  border-top: 1px solid #e4eaf0;
  border-bottom: 1px solid #e4eaf0;
  padding: 12px 0;
  margin: 14px 0;
  display: grid;
  gap: 6px;
}
.selection-summary div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}
.selection-summary span {
  color: var(--sub);
}
.selection-summary strong {
  max-width: 63%;
  text-align: right;
  overflow-wrap: anywhere;
}
.demo-price {
  margin-top: 11px;
  padding-bottom: 12px;
}
.demo-price > span {
  display: block;
  color: #637f98;
  font-size: 14px;
}
.demo-price strong {
  display: block;
  font-size: 34px;
  color: #0a3354;
  line-height: 1.2;
}
.demo-price small {
  display: block;
  font-size: 11px;
  color: #869dae;
}
.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
}
.qty-row > span {
  font-weight: 700;
  font-size: 13px;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid #d9e4ee;
  border-radius: 10px;
  height: 41px;
  overflow: hidden;
}
.quantity button {
  border: 0;
  background: #fff;
  color: #0d5998;
  font-size: 19px;
  width: 39px;
  height: 41px;
}
.quantity output {
  border-left: 1px solid #e0eaf1;
  border-right: 1px solid #e0eaf1;
  text-align: center;
  min-width: 47px;
  font-weight: 800;
  line-height: 41px;
}
.micro-notice {
  font-size: 11px;
  color: #8a9eae;
  line-height: 1.45;
}
.wizard-panel {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  padding: 29px 26px;
}
.wizard-content {
  flex: 1;
}
.wizard-content h2 {
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 26px;
}
.wizard-content h3 {
  font-size: 17px;
  margin: 20px 0 12px;
}
.field-block {
  margin: 17px 0 27px;
}
.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
}
.field-help {
  display: block;
  color: #879bab;
  font-size: 12px;
  margin-top: 6px;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tile-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.option-tile {
  border-radius: 13px;
  border: 1.5px solid #dce6ee;
  background: #fff;
  min-height: 82px;
  padding: 13px 7px;
  color: #244866;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  position: relative;
}
.option-tile:hover {
  border-color: #84b9ee;
}
.option-tile.selected {
  background: #f0f8ff;
  border-color: #1874df;
  color: #0959a3;
  box-shadow: inset 0 0 0 0.5px #1874df;
}
.option-tile.selected:after {
  content: "✓";
  position: absolute;
  top: 7px;
  right: 8px;
  width: 19px;
  height: 19px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  line-height: 19px;
}
.option-tile .option-symbol {
  display: block;
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 6px;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
}
.swatch-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  cursor: pointer;
  text-align: center;
  padding: 3px 1px;
}
.swatch-color {
  display: block;
  height: 51px;
  width: 100%;
  max-width: 65px;
  margin: 0 auto 5px;
  border-radius: 11px;
  border: 3px solid #fff;
  outline: 1px solid #dfe6ed;
  box-shadow: 0 2px 6px #23394a1a;
}
.swatch-button.selected .swatch-color {
  outline: 2px solid #176ee9;
  box-shadow: 0 0 0 3px #dceeff;
}
.swatch-button.selected .swatch-color:after {
  content: "✓";
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--blue);
  font-weight: 900;
  text-shadow: 0 1px #fff;
}
.toggle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.option-input,
.option-textarea {
  display: block;
  width: 100%;
  border: 1px solid #d9e6ef;
  border-radius: 10px;
  background: white;
  padding: 12px 13px;
  color: var(--ink);
  font-size: 14px;
}
.option-textarea {
  min-height: 79px;
  resize: vertical;
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #eaf0f4;
  padding-top: 20px;
  margin-top: 25px;
}
.wizard-actions button {
  min-width: 155px;
}
.wizard-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.summary-panel {
  background: #f3f8fc;
  border-radius: 12px;
  padding: 14px;
  margin-top: 18px;
}
.summary-panel dl {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 9px;
  font-size: 13px;
}
.summary-panel dt {
  color: var(--sub);
}
.summary-panel dd {
  font-weight: 800;
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.information-strip {
  padding: 14px;
  background: #eef6fc;
  border-radius: 11px;
  color: #426d8c;
  font-size: 14px;
  margin-top: 16px;
}
.engraving-count {
  text-align: right;
  font-size: 11px;
  color: #9aafbc;
  margin-top: 5px;
}
.confirm-modal {
  border: 0;
  padding: 0;
  width: min(550px, calc(100% - 30px));
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 19px;
  box-shadow: 0 24px 88px #071c3044;
}
.confirm-modal::backdrop {
  background: #00182bb3;
}
.modal-inner {
  padding: 32px;
  position: relative;
}
.modal-inner h2 {
  font-size: 30px;
  margin: 9px 0;
}
.modal-inner p {
  font-size: 14px;
  color: #6c8597;
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  border: 0;
  background: #f1f5f7;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 24px;
}
.modal-config {
  background: #f5f9fc;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 12px;
  color: #2b536f;
  max-height: 250px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 21px;
}
@media (max-width: 1080px) {
  .site-links {
    gap: 16px;
  }
  .header-inner {
    gap: 14px;
  }
  .format-area {
    grid-template-columns: 25% 75%;
  }
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .swatches {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 790px) {
  .header-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 11px;
    min-height: 70px;
  }
  .brand img {
    width: 155px;
  }
  .site-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    flex: unset;
    overflow-x: auto;
  }
  .site-links a {
    font-size: 12px;
  }
  .header-tools {
    margin-left: auto;
  }
  .header-action {
    font-size: 12px;
    padding: 9px 11px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    height: 330px;
  }
  .hero-text {
    padding-right: 0;
  }
  .format-area {
    grid-template-columns: 1fr;
  }
  .format-columns {
    padding: 0;
  }
  .format-intro p {
    max-width: 550px;
  }
  .editorial-block,
  .editorial-reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .editorial-reverse .editorial-copy {
    order: 2;
  }
  .editorial-reverse .editorial-image {
    order: 1;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-side {
    padding: 15px;
  }
  .catalog-side h2 {
    margin: 0 5px 5px;
  }
  .catalog-side nav {
    flex-direction: row;
    gap: 8px;
    overflow: auto;
  }
  .catalog-side nav a,
  .inactive-category {
    flex: 0 0 auto;
    min-height: 40px;
    border: 1px solid #e7edf0;
    border-radius: 8px;
    font-size: 12px;
  }
  .catalog-side nav a span,
  .inactive-category span {
    display: none;
  }
  .wizard-grid {
    grid-template-columns: 1fr;
  }
  .preview-card {
    display: grid;
    grid-template-columns: 43% 57%;
    gap: 12px;
  }
  .preview-image {
    height: 260px;
  }
  .preview-product {
    padding: 5px;
  }
  .wizard-panel {
    min-height: 0;
  }
}
@media (max-width: 550px) {
  .shell {
    padding: 0 17px;
  }
  .small-cart {
    display: none;
  }
  .header-inner {
    gap: 7px;
  }
  .header-action {
    font-size: 11px;
  }
  .hero-grid {
    padding: 2px 0 18px;
  }
  .hero-text h1 {
    font-size: 39px;
  }
  .hero-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 135px 135px;
    height: auto;
  }
  .hero-main-photo {
    grid-column: 1/3;
    grid-row: 1/2;
  }
  .hero-side-photo {
    grid-row: 2/3;
  }
  .format-section {
    padding: 35px 0;
  }
  .format-columns {
    grid-template-columns: 1fr;
  }
  .format-line {
    grid-template-columns: 1fr 80px 92px;
  }
  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 26px;
    margin-bottom: 27px;
  }
  .strip-item {
    height: 120px;
  }
  .editorial-block {
    margin-top: 35px;
    margin-bottom: 45px;
  }
  .editorial-image {
    height: 240px;
  }
  .cta-content {
    display: block;
  }
  .cta-content h2 {
    font-size: 29px;
  }
  .cta-actions {
    margin-top: 20px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-box:not(:last-child):after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .footer-base {
    display: block;
  }
  .footer-base span {
    display: block;
    margin-top: 5px;
  }
  .catalog-layout {
    margin-top: 13px;
  }
  .catalog-main {
    padding: 17px 13px;
  }
  .catalog-heading h1 {
    font-size: 23px;
  }
  .catalog-heading > span {
    font-size: 9px;
  }
  .books-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .book-card {
    min-height: 230px;
    padding: 8px;
  }
  .book-image {
    height: 130px;
  }
  .book-card h3 {
    font-size: 12px;
  }
  .book-choose {
    font-size: 11px;
    padding: 7px 9px;
  }
  .stepbar {
    gap: 2px;
    margin-bottom: 14px;
  }
  .wizard-step:not(:last-child):after {
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    top: 17px;
  }
  .wizard-step .step-number {
    width: 34px;
    height: 34px;
  }
  .wizard-step .step-label {
    font-size: 10px;
  }
  .delivery-notice {
    font-size: 11px;
    padding: 11px;
  }
  .preview-card {
    grid-template-columns: 1fr;
  }
  .preview-image {
    height: 240px;
  }
  .wizard-panel {
    padding: 19px 14px;
  }
  .wizard-content h2 {
    font-size: 24px;
  }
  .swatches {
    grid-template-columns: repeat(4, 1fr);
  }
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wizard-actions {
    gap: 9px;
  }
  .wizard-actions button {
    min-width: 0;
    flex: 1;
    padding: 10px;
  }
  .modal-actions {
    flex-direction: column;
  }
  .hub-grid {
    grid-template-columns: 1fr;
  }
  .hub-card img {
    height: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
