@import url('./mobile-commerce.css');

.page-heading.pc-page-heading {
  min-height: 0;
  padding-block: 28px 24px;
}
body[data-season] .page-heading.pc-page-heading::after {
  display: none;
  content: none;
}
.page-heading.pc-page-heading .eyebrow {
  margin-bottom: 10px;
}
.page-heading.pc-page-heading h1 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
}
.page-heading.pc-page-heading p {
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 1.6;
}
.section.pc-layout {
  padding-top: 28px;
}
.pc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.pc-layout > *,
.pc-item-copy {
  min-width: 0;
}
.pc-cart-items {
  border-top: 1px solid var(--line, #ded3c4);
}
.pc-cart-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line, #ded3c4);
  align-items: center;
}
.pc-item-photo img {
  width: 112px;
  height: 132px;
  object-fit: contain;
  background: #eee6da;
  border-radius: 8px;
}
.pc-item-photo > span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pc-item-copy h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  margin: 5px 0 10px;
  overflow-wrap: anywhere;
}
.pc-item-copy p {
  margin: 0 0 14px;
}
.pc-item-controls {
  display: grid;
  justify-items: end;
  gap: 14px;
}
.pc-quantity {
  display: flex;
  align-items: center;
  border: 1px solid #cfc0ae;
  border-radius: 6px;
  overflow: hidden;
}
.pc-quantity button {
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 0;
  font-size: 23px;
  color: #541d2d;
}
.pc-quantity span {
  min-width: 30px;
  text-align: center;
}
.pc-summary {
  background: #fffaf2;
  border: 1px solid #ded3c4;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 14px;
  min-width: 0;
}
.pc-summary h2 {
  font-size: 34px;
  margin: 12px 0 24px;
}
.pc-summary .total-line {
  gap: 16px;
  align-items: baseline;
}
.pc-summary .total-line > :last-child {
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}
.pc-summary .total-line > :first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.pc-subtotal {
  font-size: 20px;
  border-top: 1px solid #ded3c4;
  padding-top: 18px;
  margin-top: 18px;
}
.pc-summary-note {
  font-size: 15px;
  line-height: 1.6;
  margin: 22px 0;
}
.pc-summary-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.pc-summary-actions .button {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 15px 18px;
  justify-content: center;
  margin: 0;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}
.pc-summary-actions .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 9px 0;
  line-height: 1.5;
  white-space: normal;
}
.pc-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.pc-step > div {
  flex: 1;
  min-width: 0;
}
.pc-step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #541d2d;
  color: #fff7eb;
  font-size: 12px;
}
.pc-step h2 {
  font-size: 32px;
  margin: 0 0 8px;
}
.pc-step p {
  margin: 0;
}
.pc-checkout form > .button {
  min-height: 54px;
  width: 100%;
  justify-content: center;
}
.pc-checkout .field input,
.pc-checkout .field select {
  font-size: 16px;
  min-height: 52px;
}
.pc-code-field {
  margin-top: 28px;
}
.pc-code-field > span {
  font-weight: normal;
}
.pc-declarations {
  display: grid;
  gap: 17px;
  margin: 28px 0;
}
.pc-declarations .checkbox {
  align-items: flex-start;
  line-height: 1.6;
}
.pc-declarations .checkbox input {
  margin-top: 5px;
}
.pc-payment-step {
  border-top: 1px solid #ded3c4;
  margin-top: 36px;
  padding-top: 30px;
}
.pc-payment-step .button:not([hidden]) {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  margin-bottom: 18px;
  justify-content: center;
  line-height: 1.5;
  white-space: normal;
}
.pc-payment-step p {
  font-size: 15px;
  line-height: 1.6;
}
.pc-review {
  padding: 28px;
  border: 1px solid #c6ac8a;
  background: #f4ebdf;
  border-radius: 12px;
  margin-top: 28px;
  overflow-wrap: anywhere;
}
.pc-review .total-line {
  gap: 18px;
}
.pc-code-result {
  background: #fffaf2;
  padding: 14px;
  border-left: 3px solid #541d2d;
}
.pc-payment-instructions {
  white-space: pre-line;
}
.pc-order-receipt h2 {
  font-size: 30px;
}
.pc-order-receipt .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.pc-order-receipt .hero-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  line-height: 1.5;
}
.pc-checkout-side > .text-link {
  margin-top: 14px;
}
.pc-selection-details {
  margin-top: 24px;
}
.pc-selection-details summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
}
.pc-selection-details .pc-cart-item {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
}
.pc-selection-details .pc-item-photo img {
  width: 64px;
  height: 78px;
}
.pc-selection-details .pc-item-copy h2 {
  font-size: 22px;
}
.pc-selection-details .pc-item-controls {
  grid-column: 2;
  justify-items: start;
}
.production-product-actions {
  display: grid;
  gap: 16px;
  margin: 20px 0;
}
.production-product-actions .button {
  min-height: 54px;
  justify-content: center;
}
.production-product-actions input {
  font-size: 16px;
  min-height: 48px;
}
@media (max-width: 800px) {
  .pc-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .pc-checkout-side .pc-selection-details {
    display: none;
  }
  .pc-cart-item {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 18px;
  }
  .pc-item-photo img {
    width: 80px;
    height: 108px;
  }
  .pc-item-controls {
    grid-column: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
  }
  .pc-checkout .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pc-summary {
    padding: 22px;
  }
  .pc-review {
    padding: 20px;
  }
  .pc-order-receipt .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

/* A confirmed saved request replaces the input workflow with its actual receipt. */
#production-checkout-form[data-checkout-state='completed']
  > :not([data-production-checkout-status]):not([data-production-order-receipt]) {
  display: none;
}
[data-production-order-receipt] {
  scroll-margin-block-start: calc(var(--bc-header-height, 76px) + 24px);
}
[data-production-order-receipt]:focus-visible {
  outline: 3px solid var(--color-focus, #825022);
  outline-offset: 5px;
}
.pc-receipt-items {
  list-style: none;
  padding: 0;
  margin: 12px 0 24px;
}
.pc-receipt-items li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border, #d9cebf);
}
.pc-receipt-items li div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.pc-receipt-items strong,
.pc-receipt-items li div span {
  display: block;
}
.pc-receipt-items li div span {
  margin-top: 4px;
  font-size: 14px;
}
.pc-receipt-items li > span {
  white-space: nowrap;
  font-size: 14px;
}

.pc-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #e6dccf;
  border-radius: 10px;
  background: #fbf8f3;
}
.pc-trust img {
  display: block;
  height: 24px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #e6dccf;
  background: #fff;
}
.pc-trust img[alt='Stripe'] {
  box-shadow: none;
  background: transparent;
  height: 20px;
}
.pc-trust-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6c5c53;
  margin-right: 2px;
}
.pc-trust-divider {
  width: 1px;
  height: 18px;
  background: #e2d5c6;
  margin: 0 2px;
}
.pc-summary-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13px;
  color: #6c5c53;
  line-height: 1.5;
}
.pc-summary-trust img {
  height: 18px;
  width: auto;
}
