/* Inner pages, footer, drawers and modals */

.page-hero {
  max-width: var(--max);
  margin: auto;
  padding: 70px 34px 100px;
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 90px;
  align-items: center;
  min-height: 650px;
}

.page-hero h1,.about-hero h1,.commissions-hero h1,.contact-page-hero h1 {
  font-size: clamp(64px,7vw,112px);
  margin: 0 0 32px;
}

.page-hero p:not(.eyebrow),.about-hero-copy>p:not(.eyebrow),.commissions-hero>div>p:not(.eyebrow),.contact-page-hero>div>p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
  max-width: 650px;
}

.page-hero>img {
  width: 100%;
  height: 590px;
  object-fit: cover;
}

.page-hero-wide {
  grid-template-columns: .8fr 1.2fr;
}

.page-hero-collage {
  height: 620px;
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.page-hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-collage img:first-child {
  grid-row: 1/3;
}

.page-hero-dark {
  max-width: none;
  background: #111;
  color: #fff;
  padding-left: max(34px,calc((100vw - var(--max))/2 + 34px));
  padding-right: max(34px,calc((100vw - var(--max))/2 + 34px));
}

.page-hero-dark p:not(.eyebrow) {
  color: #bbb;
}

.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pills button {
  border: 0;
  background: transparent;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 12px;
}

.filter-pills button.active {
  background: #111;
  color: #fff;
}

.sort-label {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}

.sort-label select {
  border: 0;
  background: transparent;
  padding: 8px;
}

.collection-filter {
  margin-bottom: 50px;
}

.commission-banner {
  background: #111;
  color: #fff;
  padding: 90px max(34px,calc((100vw - var(--max))/2 + 34px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.commission-banner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px,5vw,76px);
  max-width: 850px;
  margin: 0;
}

.exhibition-detail {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 80px;
}

.exhibition-detail-copy h2 {
  font-family: var(--serif);
  font-size: clamp(48px,5vw,80px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 30px;
}

.exhibition-detail-copy dl {
  border-top: 1px solid var(--line);
  margin: 35px 0;
}

.exhibition-detail-copy dl div {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.exhibition-detail-copy dt {
  color: var(--muted);
}

.exhibition-gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 760px;
}

.exhibition-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exhibition-gallery img:first-child {
  grid-row: 1/3;
}

.next-exhibition {
  background: var(--soft);
  padding: 80px 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
}

.next-exhibition p {
  max-width: 700px;
  margin: 0;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: calc(100vh - var(--header));
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-copy {
  padding: 90px clamp(40px,7vw,120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 100px;
  align-items: end;
}

.about-story-copy p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.about-facts span {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.about-facts strong {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
}

.about-facts em {
  font-style: normal;
  color: var(--muted);
}

.about-art-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 600px;
}

.about-art-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commissions-hero {
  max-width: var(--max);
  margin: auto;
  padding: 70px 34px 110px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: center;
}

.commissions-hero-images {
  height: 700px;
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 16px;
  align-items: end;
}

.commissions-hero-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commissions-hero-images img:last-child {
  height: 72%;
}

.commission-process {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding-top: 0;
}

.commission-process article {
  padding: 35px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.commission-process article:first-child {
  border-left: 1px solid var(--line);
}

.commission-process article>span {
  font-size: 11px;
}

.commission-process h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 45px 0 10px;
}

.commission-process p {
  color: var(--muted);
  font-size: 14px;
}

.commission-form-wrap {
  background: var(--soft);
  padding: 120px max(34px,calc((100vw - var(--max))/2 + 34px));
}

.commission-form {
  background: #fff;
  padding: 70px;
}

.form-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.form-head h2 {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 400;
  margin: 0;
}

.form-head>p {
  max-width: 450px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  margin-bottom: 35px;
}

.form-grid .full {
  grid-column: 1/-1;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

input,select,textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #aaa;
  background: transparent;
  padding: 11px 0;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
}

textarea {
  resize: vertical;
}

.check {
  flex-direction: row;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
}

.check input {
  width: auto;
}

.upload-field {
  border: 1px dashed #aaa;
  padding: 20px;
}

.upload-field input {
  border: 0;
}

.form-status {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.contact-page-hero {
  max-width: var(--max);
  margin: auto;
  padding: 70px 34px 100px;
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 90px;
  align-items: center;
}

.contact-page-hero>img {
  height: 650px;
  width: 100%;
  object-fit: cover;
}

.contact-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.contact-meta span {
  display: flex;
  justify-content: space-between;
}

.contact-meta small {
  color: var(--muted);
}

.contact-main {
  max-width: var(--max);
  margin: auto;
  padding: 0 34px 140px;
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 100px;
}

.contact-form {
  display: grid;
  gap: 28px;
}

.contact-art img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.contact-art a {
  text-decoration: none;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-list {
  max-width: 1000px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  text-align: left;
  font-family: var(--serif);
  font-size: 24px;
  cursor: pointer;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s;
}

.faq-answer>div {
  overflow: hidden;
}

.faq-answer p {
  color: var(--muted);
  padding: 0 0 25px;
  margin: 0;
  max-width: 750px;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.product-page {
  max-width: var(--max);
  margin: auto;
  padding: 70px 34px 130px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 90px;
}

.product-page-gallery {
  min-width: 0;
}

.product-gallery-stage {
  position: relative;
  min-height: 520px;
  max-height: 820px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--soft);
}

.product-gallery-stage:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.product-gallery-main {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 820px;
  object-fit: contain;
}

.product-gallery-arrow {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(17,17,17,.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s,transform .2s;
}

.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible {
  background: #111;
}

.product-gallery-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.product-gallery-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.product-gallery-arrow-prev {
  left: 16px;
}

.product-gallery-arrow-next {
  right: 16px;
}

.product-gallery-thumbnails {
  margin-top: 14px;
  padding: 2px 2px 8px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82px;
  justify-content: start;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.product-gallery-thumbnail {
  width: 82px;
  height: 82px;
  padding: 4px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s;
}

.product-gallery-thumbnail:hover,
.product-gallery-thumbnail.active,
.product-gallery-thumbnail:focus-visible {
  border-color: #111;
}

.product-gallery-thumbnail:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.product-gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.product-gallery-arrow[hidden],
.product-gallery-thumbnails[hidden],
.product-gallery-status[hidden] {
  display: none;
}

.product-page-copy {
  position: sticky;
  top: 130px;
  align-self: start;
  padding-top: 35px;
}

.product-page h1 {
  font-size: clamp(62px,6vw,96px);
  margin: 0 0 18px;
}

.product-size-line {
  color: var(--muted);
}

.product-price {
  font-size: 22px;
  display: block;
  margin: 28px 0;
}

.product-description {
  color: var(--muted);
  font-size: 17px;
}

.product-specs {
  margin: 35px 0;
  border-top: 1px solid var(--line);
}

.product-specs div {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.product-specs dt {
  color: var(--muted);
}

.product-page-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 30px;
}

.wishlist-large {
  border: 1px solid #111;
  background: #fff;
  padding: 0 20px;
  cursor: pointer;
}

.wishlist-large.active {
  background: #111;
  color: #fff;
}

.related-section {
  border-top: 1px solid var(--line);
}

.legal-page {
  max-width: 1000px;
  margin: auto;
  padding: 110px 34px 150px;
}

.legal-page h1 {
  font-size: clamp(64px,8vw,110px);
  margin: 0 0 45px;
}

.legal-warning {
  background: var(--soft);
  padding: 24px;
  margin-bottom: 65px;
}

.legal-page article {
  padding: 45px 0;
  border-top: 1px solid var(--line);
}

.legal-page article h2 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
}

.error-page h1 {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
}

.site-footer {
  background: #111;
  color: white;
  padding: 80px max(34px,calc((100vw - var(--max))/2 + 34px)) 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 50px;
  border-bottom: 1px solid #333;
}

.footer-top .brand {
  color: #fff;
  font-size: 45px;
}

.footer-top p {
  color: #aaa;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 35px;
  padding: 55px 0;
}

.footer-grid h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin-bottom: 20px;
  color: #888;
}

.footer-grid div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid a {
  color: white;
  text-decoration: none;
  padding: 5px 0;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #333;
  padding-top: 24px;
  color: #888;
  font-size: 11px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.38);
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(480px,100%);
  background: white;
  z-index: 140;
  transform: translateX(100%);
  transition: .35s;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: none;
}

.drawer-head {
  height: 84px;
  padding: 0 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.close-drawer,.modal-close,.close-search {
  border: 0;
  background: transparent;
  font-size: 30px;
  font-weight: 200;
  cursor: pointer;
}

.drawer-content {
  padding: 20px 25px;
  overflow: auto;
  flex: 1;
}

.drawer-footer {
  padding: 22px 25px;
  border-top: 1px solid var(--line);
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.mini-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.mini-item img {
  width: 82px;
  height: 100px;
  object-fit: cover;
}

.mini-item h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  margin: 0;
}

.mini-item h3 a {
  text-decoration: none;
}

.mini-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0;
}

.mini-item button {
  border: 0;
  background: none;
  text-decoration: underline;
  font-size: 10px;
  padding: 0;
  cursor: pointer;
}

.empty-state {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}

.search-panel {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
}

.search-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.search-inner {
  max-width: 1000px;
  margin: auto;
  padding: 100px 30px;
  position: relative;
}

.close-search {
  position: absolute;
  right: 30px;
  top: 28px;
}

.search-inner input {
  font-family: var(--serif);
  font-size: clamp(36px,5vw,70px);
  border-bottom: 1px solid #111;
}

.search-results {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.search-result {
  text-decoration: none;
}

.search-result img {
  aspect-ratio: 4/5;
  object-fit: cover;
}

.search-result h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 8px 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(0,0,0,.55);
  display: grid;
  place-items: center;
  padding: 25px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: white;
  max-width: 760px;
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  position: relative;
  box-shadow: var(--shadow);
  padding: 70px 60px;
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 12px;
}

.modal-card h2 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
}

.modal-card p {
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%,30px);
  background: #111;
  color: white;
  padding: 13px 20px;
  font-size: 12px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}
/* =========================================================
   CHECKOUT
   ========================================================= */

.checkout-page {
  min-height: 100vh;
  padding: 150px 24px 100px;
  background: #ffffff;
}

.checkout-container {
  width: min(1070px, 100%);
  margin: 0 auto;
}

.checkout-container > h1 {
  margin: 0 0 28px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
}

/* Fortschrittsanzeige */

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 54px;
  overflow: hidden;
  border: 1px solid #d6d6d6;
  border-radius: 9px;
}

.checkout-progress-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 18px;
  color: #929292;
  background: #ffffff;
}

.checkout-progress-step + .checkout-progress-step {
  border-left: 1px solid #d6d6d6;
}

.checkout-progress-step span {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
}

.checkout-progress-step.active {
  color: #ffffff;
  background: #1e1e1e;
}

/* Kundendaten */

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
  width: min(650px, 100%);
  margin: 0 auto;
}

.checkout-form-grid label {
  display: grid;
  gap: 8px;
}

.checkout-form-grid label > span {
  font-size: 0.9rem;
}

.checkout-form-grid label > span small {
  color: #777777;
  font-size: 0.8rem;
}

.checkout-form-grid input,
.checkout-form-grid select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #c9c9c9;
  border-radius: 0;
  outline: none;
  background: #ffffff;
  color: #111111;
  font: inherit;
}

.checkout-form-grid input:focus,
.checkout-form-grid select:focus {
  border-color: #111111;
  outline: 1px solid #111111;
}

.checkout-form-grid .full {
  grid-column: 1 / -1;
}

/* Privat / Unternehmen */

.checkout-customer-type {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 10px;
}

.checkout-customer-type > span {
  margin-right: 6px;
}

.checkout-customer-type label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.checkout-customer-type input {
  width: auto;
  min-height: auto;
  margin: 0;
  accent-color: #111111;
}

/* Abholung und Zahlung */

.checkout-shipping {
  width: min(650px, 100%);
  margin: 58px auto 0;
}

.checkout-shipping h2,
.checkout-summary-grid h2 {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
}

.pickup-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 26px 20px;
  border: 1px solid #bcbcbc;
  cursor: pointer;
}

.pickup-option input {
  margin: 0;
  accent-color: #111111;
}

.pickup-option > span:not(.pickup-icon) {
  display: grid;
  gap: 5px;
}

.pickup-option small {
  color: #686868;
  line-height: 1.5;
}

.pickup-icon {
  font-size: 1.7rem;
}

.payment-notice {
  padding: 20px;
  border: 1px solid #bcbcbc;
  border-top: 0;
  background: #f7f7f5;
}

.payment-notice p {
  margin: 6px 0 0;
  color: #686868;
  line-height: 1.6;
}

/* Navigation zwischen den Schritten */

.checkout-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
}

.checkout-back-link,
.checkout-navigation .text-link,
#editDetails {
  border: 0;
  padding: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-back-link:hover,
.checkout-navigation .text-link:hover,
#editDetails:hover {
  opacity: 0.65;
}

/* Bestellübersicht */

.checkout-summary-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.checkout-summary-box {
  padding: 24px;
  border: 1px solid #d1d1d1;
  background: #ffffff;
}

.checkout-summary-box p {
  margin: 0 0 18px;
  line-height: 1.7;
}

.checkout-summary-box p:last-child {
  margin-bottom: 0;
}

#editDetails {
  margin-top: 14px;
}

/* Produkte in der Übersicht */

.checkout-order-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #dedede;
}

.checkout-order-item:last-child {
  margin-bottom: 0;
}

.checkout-order-item img {
  width: 78px;
  height: 90px;
  object-fit: cover;
}

.checkout-order-item div {
  display: grid;
  gap: 5px;
}

.checkout-order-item span,
.checkout-order-item small {
  color: #747474;
}

.checkout-order-item > strong {
  white-space: nowrap;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  font-size: 1.1rem;
}

/* Abholung und Zahlungsart in der Übersicht */

.checkout-final-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
  border: 1px solid #d1d1d1;
}

.checkout-final-info div {
  display: grid;
  gap: 7px;
  padding: 22px;
}

.checkout-final-info div + div {
  border-left: 1px solid #d1d1d1;
}

.checkout-final-info span {
  color: #747474;
  font-size: 0.85rem;
}

/* Bestätigung */

.checkout-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
  line-height: 1.5;
  cursor: pointer;
}

.checkout-confirmation input {
  flex: 0 0 auto;
  margin-top: 5px;
  accent-color: #111111;
}

/* Fehleranzeigen */

.checkout-error,
.field-error {
  color: #a50000;
  font-size: 0.85rem;
}

.checkout-error {
  margin-top: 14px;
}

/* Erfolgreiche Bestellung */

.checkout-success {
  max-width: 720px;
  padding: 70px 0;
}

.checkout-success h2 {
  margin: 10px 0 24px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.checkout-success p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.checkout-success .btn {
  margin-top: 18px;
}

.checkout-order-number {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checkout-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#placeOrder:disabled,
#reviewOrder:disabled {
  opacity: .55;
  cursor: wait;
}

/* Versteckte Checkout-Schritte */

#checkoutDetails[hidden],
#checkoutSummary[hidden],
#checkoutSuccess[hidden] {
  display: none;
}
