/*
 * The cart page's stylesheet — loaded by /cart only.
 *
 * WHY it is not in the shell bundle: these rules style ONE page, and the shell
 * bundle (app/components/storefront/storefront-links.ts) ships on every
 * storefront route. The live theme does the same thing per-section —
 * sections/main-cart-items.liquid tags five stylesheets at its top — so this
 * file is that same set concatenated, in the order the section tags them, which
 * is what makes the cascade match.
 *
 * Sources, VERBATIM from printbere-theme-full/assets/ (spec §3.1's rule for the
 * dawn-* sheets: copy wholesale, do not rewrite):
 *   component-cart.css
 *   component-cart-items.css
 *   component-totals.css
 *   component-discounts.css
 *   quantity-popover.css
 * followed by the section's own {% style %} block with its Liquid resolved, and
 * a short PORT ADDITIONS block for the handful of things React needs that
 * Liquid did not.
 *
 * NOT included: component-cart-drawer.css and component-cart-notification.css.
 * config/settings_data.json sets cart_type: "notification", which makes the
 * drawer dead config, and the notification toast never fires because the PDP's
 * add path hard-navigates to /cart (spec §2.3).
 *
 * ⚠ GENERATED BY CONCATENATION. To re-sync with the theme, re-copy the five
 *   files above wholesale; do not hand-edit inside their sections.
 */

/* ==========================================================================
   component-cart.css — verbatim
   ========================================================================== */
.cart {
  position: relative;
  display: block;
}

.cart__empty-text,
.is-empty .cart__contents,
cart-items.is-empty .title-wrapper-with-link,
.is-empty .cart__footer {
  display: none;
}

.is-empty .cart__empty-text,
.is-empty .cart__warnings {
  display: block;
}

.cart__warnings {
  display: none;
  text-align: center;
  padding: 3rem 0 1rem;
}

.cart__empty-text {
  margin: 4.5rem 0 2rem;
}

.cart__contents > * + * {
  margin-top: 2.5rem;
}

.cart__login-title {
  margin: 5.5rem 0 0.5rem;
}

.cart__login-paragraph {
  margin-top: 0.8rem;
}

.cart__login-paragraph a {
  font-size: inherit;
}

@media screen and (min-width: 990px) {
  .cart__warnings {
    padding: 7rem 0 1rem;
  }

  .cart__empty-text {
    margin: 0 0 3rem;
  }
}

cart-items {
  display: block;
}

.cart__items {
  position: relative;
  padding-bottom: 3rem;
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

.cart__items--disabled {
  pointer-events: none;
}

.cart__footer-wrapper:last-child .cart__footer {
  padding-bottom: 5rem;
}

.cart__footer > div:only-child {
  margin-left: auto;
}

.cart__footer > * + * {
  margin-top: 6.5rem;
}

.cart__footer .discounts {
  margin-bottom: 1rem;
}

.cart__note {
  height: fit-content;
  top: 2.5rem;
}

.cart__note label {
  display: flex;
  align-items: flex-end;
  position: absolute;
  line-height: 1;
  height: 1.8rem;
  top: -3rem;
  color: rgba(var(--color-foreground), 0.75);
}

.cart__note .field__input {
  height: 100%;
  position: relative;
  border-radius: var(--inputs-radius);
  padding: 1rem 2rem;
}

.cart__note .text-area {
  resize: vertical;
}

.cart__note:after,
.cart__note:hover.cart__note:after,
.cart__note:before,
.cart__note:hover.cart__note:before,
.cart__note .field__input:focus,
.cart__note .field__input {
  border-bottom-right-radius: 0;
}

@media screen and (min-width: 750px) {
  .cart__items {
    grid-column-start: 1;
    grid-column-end: 3;
    padding-bottom: 4rem;
  }

  .cart__contents > * + * {
    margin-top: 0;
  }

  .cart__items + .cart__footer {
    grid-column: 2;
  }

  .cart__footer {
    display: flex;
    justify-content: space-between;
    border: 0;
  }

  .cart__footer-wrapper:last-child {
    padding-top: 0;
  }

  .cart__footer > * {
    width: 35rem;
  }

  .cart__footer > * + * {
    margin-left: 4rem;
    margin-top: 0;
  }
}

.cart__ctas button {
  width: 100%;
}

.cart__ctas > * + * {
  margin-top: 1rem;
}

.cart__update-button {
  margin-bottom: 1rem;
}

.cart__dynamic-checkout-buttons {
  max-width: 36rem;
  margin: 0 auto;
}

.cart__dynamic-checkout-buttons:has(.dynamic-checkout__content:empty) {
  margin: 0;
}

.cart__blocks > * + * {
  margin-top: 1rem;
}

.cart-note__label {
  display: inline-block;
  margin-bottom: 1rem;
  line-height: calc(1 + 1 / var(--font-body-scale));
}

.tax-note {
  margin: 2.2rem 0 1.6rem auto;
  text-align: center;
  display: block;
}

.cart__checkout-button {
  max-width: 36rem;
}

.cart__ctas {
  text-align: center;
}

@media screen and (min-width: 750px) {
  .cart-note {
    max-width: 35rem;
  }

  .cart__update-button {
    margin-bottom: 0;
    margin-right: 0.8rem;
  }

  .tax-note {
    margin-bottom: 2.2rem;
    text-align: right;
  }

  [data-shopify-buttoncontainer] {
    justify-content: flex-end;
  }

  .cart__ctas {
    display: flex;
    gap: 1rem;
  }
}

/* ==========================================================================
   component-cart-items.css — verbatim
   ========================================================================== */
cart-items .title-wrapper-with-link {
  margin-top: 0;
}

.cart-items td,
.cart-items th {
  padding: 0;
  border: none;
}

.cart-items th {
  text-align: left;
  padding-bottom: 1.8rem;
  opacity: 0.85;
  font-weight: normal;
}

.cart-item__quantity-wrapper {
  display: flex;
}

.cart-item__totals {
  position: relative;
}

.cart-items *.right {
  text-align: right;
}

.cart-item__image-container {
  display: inline-flex;
  align-items: flex-start;
  background: transparent;
}

.cart-item__nested-line .cart-item__image-container {
  min-width: calc(10rem / var(--font-body-scale));
  justify-content: right;
  img {
    width: 60%;
  }
}

.cart-item__image-container:after {
  content: none;
}

.cart-item__image {
  height: auto;
  max-width: calc(10rem / var(--font-body-scale));
}

@media screen and (min-width: 750px) {
  .cart-item__image {
    max-width: 100%;
  }
}

.cart-item__details {
  font-size: 1.6rem;
  line-height: calc(1 + 0.4 / var(--font-body-scale));
}

.cart-item__details > * {
  margin: 0;
  max-width: 30rem;
}

.cart-item__details > * + * {
  margin-top: 0.6rem;
}

.cart-item__media {
  position: relative;
}

.cart-item__link {
  display: block;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.cart-item__name {
  text-decoration: none;
  display: block;
}

.cart-item__name:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 0.2rem;
}

.cart-item__price-wrapper > * {
  display: block;
  margin: 0;
  padding: 0;
}

.cart-item__discounted-prices dd {
  margin: 0;
}

.cart-item__discounted-prices .cart-item__old-price {
  font-size: 1.4rem;
}

.cart-item__old-price {
  opacity: 0.7;
}

.cart-item__final-price {
  font-weight: 400;
}

.product-option {
  font-size: 1.4rem;
  word-break: break-word;
  line-height: calc(1 + 0.5 / var(--font-body-scale));
}

.cart-item cart-remove-button {
  display: flex;
  margin-left: 1rem;
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .cart-item cart-remove-button {
    width: 4.5rem;
    height: 4.5rem;
  }
}

cart-remove-button .button {
  min-width: calc(4.5rem / var(--font-body-scale));
  min-height: 4.5rem;
  padding: 0;
  margin: 0 0.1rem 0.1rem 0;
}

cart-remove-button .button:before,
cart-remove-button .button:after {
  content: none;
}

cart-remove-button .button:not([disabled]):hover {
  color: rgb(var(--color-foreground));
}

@media screen and (min-width: 750px) {
  cart-remove-button .button {
    min-width: 3.5rem;
    min-height: 3.5rem;
  }
}

cart-remove-button .icon-remove {
  height: 1.5rem;
  width: 1.5rem;
}

.cart-item .loading__spinner {
  top: 0;
  left: auto;
  right: auto;
  bottom: 0;
  padding: 0;
}

@media screen and (min-width: 750px) {
  .cart-item .loading__spinner {
    right: 0;
    padding-top: 4.5rem;
    bottom: auto;
  }
}

.cart-item .loading__spinner:not(.hidden) ~ * {
  visibility: hidden;
}

.cart-item__error {
  display: flex;
  align-items: flex-start;
  margin-top: 0.2rem;
  width: min-content;
  min-width: 100%;
}

.cart-item__error-text {
  font-size: 1.3rem;
  line-height: 1.4;
  letter-spacing: 0.04rem;
  order: 1;
}

.cart-item__error-text + .svg-wrapper {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.7rem;
  margin-top: 0.25rem;
}

.cart-item__error-text:empty + .svg-wrapper {
  display: none;
}

.product-option + .product-option {
  margin-top: 0.4rem;
}

.product-option * {
  display: inline;
  margin: 0;
}

.cart-items thead th {
  text-transform: uppercase;
}

@media screen and (max-width: 749px) {
  .cart-items,
  .cart-items thead,
  .cart-items tbody {
    display: block;
    width: 100%;
  }

  .cart-items thead tr {
    display: flex;
    justify-content: space-between;
    border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.2);
    margin-bottom: 4rem;
  }

  .cart-item {
    display: grid;
    grid-template: repeat(2, auto) / repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
  }

  .cart-item:has(+ .cart-item__nested-line) {
    margin-bottom: 1.5rem;
  }

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

  .cart-item__media {
    grid-row: 1 / 3;
  }

  .cart-item__details {
    grid-column: 2 / 4;
  }

  .cart-item__quantity {
    grid-column: 2 / 5;
  }

  .cart-item__quantity-wrapper {
    flex-wrap: wrap;
  }

  .cart-item__totals {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
  }
}

@media screen and (min-width: 750px) {
  .cart-items {
    border-spacing: 0;
    border-collapse: separate;
    box-shadow: none;
    width: 100%;
    display: table;
  }

  .cart-items th {
    border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
  }

  .cart-items thead th:first-child {
    width: 50%;
  }

  .cart-items th + th {
    padding-left: 4rem;
  }

  .cart-items td {
    vertical-align: top;
    padding-top: 4rem;
  }

  .cart-items .cart-item__nested-line td {
    padding-top: 1rem;
  }

  .cart-item {
    display: table-row;
  }

  .cart-item > td + td {
    padding-left: 4rem;
  }

  .cart-item__details {
    width: 35rem;
  }

  .cart-item__media {
    width: 10rem;
  }

  .cart-item__price-wrapper > *:only-child:not(.cart-item__discounted-prices) {
    margin-top: 1rem;
  }

  .cart-item__error {
    margin-left: 0.3rem;
  }
}

@media screen and (min-width: 990px) {
  .cart-item .cart-item__quantity,
  .cart-items .cart-items__heading--wide {
    padding-left: 6rem;
  }

  .cart-item__details {
    width: 50rem;
  }

  .cart-items thead th:first-child {
    width: 60%;
  }
}

@media screen and (min-width: 750px) {
  .cart-items .cart-items__heading--quantity,
  .cart-item .cart-item__quantity,
  .cart-item__quantity--info quantity-popover > * {
    padding-left: 5rem;
  }

  .cart-item .cart-item__quantity--info,
  .cart-item__quantity--info .cart-item__quantity-wrapper,
  .cart-item__quantity--info .cart-items__info {
    padding-left: 0;
  }
}

@media screen and (max-width: 989px) {
  .cart-items .quantity-popover__info-button {
    padding-left: 0;
  }
}

/* ==========================================================================
   component-totals.css — verbatim
   ========================================================================== */
.totals {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.totals > * {
  font-size: 1.6rem;
  margin: 0;
}

.totals > h2 {
  font-size: calc(var(--font-heading-scale) * 1.6rem);
}

.totals * {
  line-height: 1;
}

.totals > * + * {
  margin-left: 2rem;
}

.totals__total {
  margin-top: .5rem;
}

.totals__total-value {
  font-size: 1.8rem;
}

.cart__ctas + .totals {
  margin-top: 2rem;
}

@media all and (min-width: 750px) {
  .totals {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   component-discounts.css — verbatim
   ========================================================================== */
.discounts {
  font-size: 1.2rem;
}

.discounts__discount {
  display: flex;
  align-items: center;
  line-height: calc(1 + 0.5 / var(--font-body-scale));
}

.discounts__discount svg {
  color: rgba(var(--color-button), var(--alpha-button-background));
}

.discounts__discount--position {
  justify-content: center;
}

@media screen and (min-width: 750px) {
  .discounts__discount--position {
    justify-content: flex-end;
  }
}

.discounts__discount > .icon {
  color: rgb(var(--color-foreground));
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.7rem;
}

/* ==========================================================================
   quantity-popover.css — verbatim
   ========================================================================== */
quantity-popover {
  position: relative;
  display: block;
}

quantity-popover volume-pricing li:nth-child(odd) {
  background: rgba(var(--color-foreground), 0.03);
}

quantity-popover volume-pricing li {
  font-size: 1.2rem;
  letter-spacing: 0.06rem;
  padding: 0.6rem 0.8rem;
  display: flex;
  justify-content: space-between;
}

.quantity-popover__info.global-settings-popup {
  width: 100%;
  z-index: 3;
  position: absolute;
  background-color: rgb(var(--color-background));
  max-width: 36rem;
}

.quantity-popover__info .button-close,
.variant-remove-total quick-order-list-remove-all-button .button,
.quick-order-list-total__confirmation quick-order-list-remove-all-button .button,
quantity-popover .quick-order-list-remove-button .button {
  --shadow-opacity: 0;
  --border-opacity: 0;
}

.quantity-popover__info-button {
  display: flex;
  align-items: center;
  margin: 0 0.4rem 0 0;
  min-width: 1.5rem;
  min-height: 1.5rem;
  --shadow-opacity: 0;
  --border-opacity: 0;
}

.quantity-popover__info-button--icon-with-label {
  text-align: left;
}

.quantity-popover__info-button--icon-with-label svg {
  flex-shrink: 0;
  width: 15px;
  height: 14px;
}

.quantity-popover__info-button--open {
  text-decoration: underline;
}

.quantity-popover__info-button span {
  padding-left: 1rem;
}

.quantity-popover__info-button--icon-only--animation svg {
  transform: scale(1.25);
}

.quantity-popover__info-button--icon-only svg {
  transition: transform var(--duration-default) ease;
  width: 15px;
  height: 14px;
}

@media screen and (max-width: 989px) {
  .quantity-popover__info.global-settings-popup {
    left: 0;
    top: 100%;
  }

  .quantity-popover__info-button {
    padding-left: 0;
  }
}

.quantity-popover__info .quantity__rules {
  margin-top: 1.2rem;
  margin-bottom: 1rem;
}

.quantity-popover__info .volume-pricing-label {
  display: block;
  margin-left: 1.2rem;
  margin-top: 1.2rem;
  font-size: 1.2rem;
}

.quantity-popover__info .button {
  width: 3.2rem;
  height: 3.2rem;
  position: absolute;
  top: 0.4rem;
  right: 0;
  padding: 0 1.2rem 0 0;
  display: flex;
  justify-content: flex-end;
}

.quantity-popover__info .volume-pricing-label ~ .button {
  top: -0.2rem;
}

.quantity-popover__info .button .icon {
  width: 1.5rem;
  height: 1.5rem;
}

quantity-popover volume-pricing {
  margin-top: 1.2rem;
  display: block;
}

quantity-popover .quantity__rules span:first-of-type {
  display: block;
}

.quantity-popover-container {
  display: flex;
  padding: 0.5rem 0.5rem 0.5rem 0;
}

.quantity-popover-container:not(.quantity-popover-container--hover) {
  align-items: center;
}

@media screen and (min-width: 990px) {
  .quantity-popover-container--empty {
    margin-right: 2.7rem;
  }

  .quantity-popover__info.global-settings-popup {
    width: 20rem;
  }

  .quantity-popover-container {
    width: auto;
    max-width: 20rem;
  }

  .quantity-popover__info.global-settings-popup {
    transform: translateX(-100%);
    top: 0.5rem;
  }
}

quantity-popover .quantity {
  background: rgb(var(--color-background));
}

quantity-popover .quantity__rules {
  margin-left: 0.8rem;
}

quantity-popover .quantity__rules .divider:nth-child(2)::before {
  content: none;
}

quantity-popover .quantity__button:not(:focus-visible):not(.focused),
quantity-popover .quantity__input:not(:focus-visible):not(.focused) {
  background-color: initial;
}

/* ==========================================================================
   sections/main-cart-items.liquid {% style %} — PrintBere's own additions.

   The two section-padding rules are the Liquid's, with the template's settings
   resolved at build time: templates/cart.json sets padding_top/bottom 36 on
   main-cart-items, and main-cart-footer takes its schema defaults of 40. The
   Liquid multiplies by 0.75 below 750px, which is why each has two values.
   ========================================================================== */

.cart-section-padding {
  padding-top: 27px;
  padding-bottom: 27px;
}

.cart-footer-padding {
  padding-top: 30px;
  padding-bottom: 30px;
}

@media screen and (min-width: 750px) {
  .cart-section-padding {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .cart-footer-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* PrintBere: per-location artwork thumbnails on custom-print cart lines. */
.pb-cart-art {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.8rem;
}
.pb-cart-art__item {
  margin: 0;
  text-align: center;
  width: 6rem;
}
.pb-cart-art__thumb {
  display: block;
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  border: 0.1rem solid rgba(var(--color-foreground), 0.15);
  border-radius: 0.6rem;
  background: rgb(var(--color-background));
}
.pb-cart-art__label {
  margin-top: 0.3rem;
  font-size: 1.1rem;
  line-height: 1.2;
  color: rgba(var(--color-foreground), 0.75);
}
/* PrintBere Fix 1: prominent "BLANK — no print" tag on blank lines. */
.pb-blank-line {
  margin-top: 0.4rem;
}
.pb-blank-line strong {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgb(var(--color-foreground));
}

/* Benny greets an empty cart (the Liquid carried these as inline styles). */
.pb-cart-benny {
  width: 200px;
  max-width: 60vw;
  height: auto;
  margin: 0 auto 8px;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.15));
}

/* ==========================================================================
   PORT ADDITIONS — rules with no Liquid counterpart, and why each exists.
   ========================================================================== */

/*
 * The live page wraps the whole table in one <form id="cart"> that assets/cart.js
 * intercepts. That script is not ported (spec §3.1); each control gets its own
 * <fetcher.Form> instead. `display: contents` removes those form boxes from
 * layout entirely, so Dawn's flex/grid rules still see quantity-input and the
 * remove button exactly where they expect them — zero pixel difference.
 */
.pb-cart-form {
  display: contents;
}

/*
 * A line whose CatalogVariant no longer exists. `catalogVariantId` is
 * deliberately not a foreign key (see the model's doc comment), so this state is
 * reachable by design and must be visible rather than silently dropped.
 */
.pb-cart-unavailable strong {
  display: inline-block;
  font-weight: 700;
  color: rgb(var(--color-error, 235 87 87));
}

/*
 * Checkout is Phase 4; the button is present but disabled (spec §1.3 R6). The
 * note explains the disabled state so it does not read as a broken page.
 */
.pb-cart-checkout-note {
  margin-top: 0.8rem;
  font-size: 1.3rem;
  line-height: 1.4;
  color: rgba(var(--color-foreground), 0.7);
}

/* Make the pricing/account consequence explicit before the checkout control.
 * Guests remain welcome, but the choice is visible and deliberate. */
.pb-cart-account-prompt {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.8rem;
  padding: 1.4rem 1.6rem;
  border: 0.1rem solid rgba(var(--color-foreground), 0.2);
  border-radius: var(--inputs-radius, 0.4rem);
  background: rgba(var(--color-foreground), 0.035);
}

.pb-cart-account-prompt h2,
.pb-cart-account-prompt p {
  margin: 0;
}

.pb-cart-account-prompt h2 {
  font-size: 1.6rem;
}

.pb-cart-account-prompt p,
.pb-cart-account-prompt span {
  font-size: 1.3rem;
  line-height: 1.45;
}

.pb-cart-account-prompt--signed-in {
  grid-template-columns: auto 1fr;
  align-items: baseline;
}

.pb-cart-account-prompt__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.pb-cart-account-prompt__actions .button {
  min-height: 3.8rem;
  padding: 0.7rem 1.3rem;
  font-size: 1.3rem;
}

.pb-cart-account-prompt__guest {
  color: rgba(var(--color-foreground), 0.7);
}

@media screen and (max-width: 749px) {
  .pb-cart-account-prompt--signed-in {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .pb-cart-account-prompt__actions .button {
    flex: 1 1 12rem;
    text-align: center;
  }
}

/*
 * ── PHASE 4: THE DELIVERY CHOOSER, ADDRESS MINI-FORM AND QUOTED RATE ───────
 *
 * WHY these controls are on the CART page and not on Stripe's:
 *   Stripe hosted Checkout fixes `shipping_options` at session-create time and
 *   cannot re-quote when a shopper edits their address there — they would
 *   change the destination without changing the price. So the destination is
 *   collected here, priced by /api/store/shipping-quote, and carried into the
 *   Session as a signed token (spec §3.4.5). None of this markup exists in the
 *   Liquid, so none of it can be a port.
 */

/*
 * Same trick, same reason as `.pb-cart-form` above: the checkout <form> wraps
 * `.js-contents` and `.cart__ctas`, and `display: contents` removes its box
 * from layout so Dawn's `.cart__blocks` rules still see those two as direct
 * children. Zero pixel difference from the un-wrapped footer.
 */
.pb-ship {
  display: contents;
}

.pb-ship__methods {
  margin: 0 0 1.6rem;
  padding: 0;
  border: 0;
}

.pb-ship__legend {
  padding: 0;
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.pb-ship__radio {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 0;
  font-size: 1.4rem;
  cursor: pointer;
}

.pb-ship__address {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.pb-ship__field {
  display: flex;
  flex: 1 1 12rem;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1.3rem;
}

/* Two characters wide is all a US state code ever needs. */
.pb-ship__field--state {
  flex: 0 0 7rem;
}

.pb-ship__field input {
  padding: 0.8rem 1rem;
  font-size: 1.5rem;
  color: rgb(var(--color-foreground));
  background: transparent;
  border: 0.1rem solid rgba(var(--color-foreground), 0.25);
  border-radius: var(--inputs-radius, 0);
}

.pb-ship__totals {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.pb-ship__row {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 0.3rem 0;
}

.pb-ship__row dt,
.pb-ship__row dd {
  margin: 0;
}

.pb-ship__service {
  color: rgba(var(--color-foreground), 0.7);
}

/*
 * The service menu. A three-column grid rather than a flex row so the prices
 * and the day spans line up down the list — a shopper comparing $6.97 against
 * $51.98 is reading a column, not a sentence, and Dawn's own radio rows are
 * flex, which ragged-edges them.
 *
 * `pb-ship__radio` still supplies the control's own layout; only the extra
 * cells are added here, so the menu rows and the Ship-it/Pick-it-up rows keep
 * the same hit area and the same type.
 */
.pb-ship__services {
  margin: 0 0 1.6rem;
  padding: 0;
  border: 0;
}

.pb-ship__service-radio {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: 0.8rem;
}

.pb-ship__service-price {
  font-weight: 600;
  text-align: right;
}

/* Spans the price+name columns on the second row, under the label. */
.pb-ship__service-days {
  grid-column: 2 / -1;
  font-size: 1.3rem;
  color: rgba(var(--color-foreground), 0.7);
}

/*
 * The not-in-Ohio note. Deliberately NOT styled as an error: nothing has gone
 * wrong, the order is simply slower, and a red box next to a checkout button
 * costs conversions for something the shopper cannot act on.
 */
.pb-ship__stock-note {
  margin: 0 0 1.2rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid rgba(var(--color-foreground), 0.25);
  background: rgba(var(--color-foreground), 0.04);
  font-size: 1.3rem;
  line-height: 1.4;
}
/* The timing arithmetic shown in parts (owner feedback 2026-07-28) — quieter
 * than the stock note: it is context, the note is the flag. */
.pb-ship__timing {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  line-height: 1.4;
  color: rgba(var(--color-foreground), 0.75);
}

.pb-ship__estimate {
  margin: 0.4rem 0 0;
  font-size: 1.3rem;
  color: rgba(var(--color-foreground), 0.7);
}

/*
 * The refusal notice: a repriced line, an unavailable line, a cancelled
 * checkout. It is a `role="status"` region because it appears AFTER a redirect
 * the shopper did not ask for, and a screen reader that never announced it
 * would leave them on a page whose button "did nothing".
 */
.pb-cart-notice {
  margin: 0 0 1.6rem;
  padding: 1rem 1.2rem;
  font-size: 1.4rem;
  line-height: 1.5;
  border-left: 0.3rem solid rgba(var(--color-foreground), 0.5);
  background: rgba(var(--color-foreground), 0.05);
}

/* A linked quote cart is an account-scoped resource, even when its opaque cart
 * cookie remains on a shared browser. The blocked view replaces every item and
 * money component; it is not an empty-cart decoration layered over private
 * hydration data. */
.pb-cart-access-blocked {
  max-width: 72rem;
  padding-top: 6rem;
  padding-bottom: 7rem;
  text-align: center;
}

.pb-cart-access-blocked__eyebrow {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--color-foreground), 0.65);
}

.pb-cart-access-blocked h1 {
  margin: 0 0 1.2rem;
}

.pb-cart-access-blocked > p:not(.pb-cart-access-blocked__eyebrow) {
  max-width: 58rem;
  margin-right: auto;
  margin-left: auto;
}

.pb-cart-access-blocked form {
  margin-top: 2rem;
}

.pb-cart-access-blocked .button {
  margin-top: 2rem;
}

.pb-cart-access-blocked form .button {
  margin-top: 0;
}

.pb-cart-access-blocked__help {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: rgba(var(--color-foreground), 0.7);
}

.pb-cart-quote-lock {
  margin: 0 0 2rem;
  padding: 1.2rem 1.4rem;
  font-size: 1.4rem;
  line-height: 1.5;
  border-left: 0.3rem solid rgba(var(--color-foreground), 0.5);
  background: rgba(var(--color-foreground), 0.05);
}

.pb-cart-locked-quantity {
  display: inline-flex;
  min-width: 12rem;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.8rem 1rem;
  font-size: 1.2rem;
  line-height: 1.3;
  border: 0.1rem solid rgba(var(--color-foreground), 0.2);
  border-radius: var(--inputs-radius);
}

.pb-cart-locked-quantity strong {
  font-size: 1.6rem;
}

/* ========================================================================
   PRINTBERE CHECKOUT — modern, calm, and intentionally scoped to /cart.

   The checkout remains one native form. These rules only reorganize its
   presentation into details + review columns and collapse it back to a single
   comfortable reading column on smaller screens.
   ======================================================================== */

#main-cart-footer {
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
  background: rgba(var(--color-foreground), 0.018);
}

#main-cart-footer .cart__footer,
#main-cart-footer .cart__blocks,
#main-cart-footer .cart__footer > * {
  width: 100%;
  max-width: none;
}

#main-cart-footer .cart__footer {
  display: block;
}

#main-cart-footer .cart__blocks > * + * {
  margin-top: 0;
}

.pb-checkout__intro {
  max-width: 70rem;
  margin: 0 0 2.4rem;
}

.pb-checkout__intro h2,
.pb-checkout__intro p,
.pb-checkout__summary-heading h2,
.pb-checkout__summary-heading p,
.pb-checkout__section-heading h3,
.pb-checkout__section-heading p {
  margin: 0;
}

.pb-checkout__intro h2 {
  margin-top: 0.35rem;
  font-size: clamp(2.6rem, 3vw, 4rem);
  line-height: 1.05;
}

.pb-checkout__intro > p:last-child {
  max-width: 58rem;
  margin-top: 0.8rem;
  font-size: 1.5rem;
  line-height: 1.55;
  color: rgba(var(--color-foreground), 0.68);
}

.pb-checkout__eyebrow {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgb(210 79 10);
}

.pb-checkout__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: start;
}

.pb-checkout__details {
  display: contents;
}

.pb-checkout__layout > .pb-checkout__summary,
.pb-checkout__details > .pb-cart-account-prompt {
  grid-column: 1 / -1;
}

.pb-checkout__card,
.pb-checkout__summary,
.pb-cart-account-prompt {
  border: 0.1rem solid rgba(var(--color-foreground), 0.11);
  border-radius: 1.8rem;
  background: rgb(var(--color-background));
  box-shadow: 0 1rem 3rem rgba(36, 25, 18, 0.055);
}

.pb-checkout__card {
  min-width: 0;
  padding: 1.8rem;
}

.pb-checkout__section-heading {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.2rem;
  align-items: start;
  margin-bottom: 1.2rem;
}

.pb-checkout__section-heading > span {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border-radius: 50%;
  background: rgb(247 106 27);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 750;
}

.pb-checkout__section-heading h3 {
  font-size: 1.85rem;
  line-height: 1.25;
}

.pb-checkout__section-heading p {
  margin-top: 0.25rem;
  font-size: 1.3rem;
  line-height: 1.45;
  color: rgba(var(--color-foreground), 0.62);
}

.pb-cart-account-prompt {
  margin: 0;
  padding: 1.4rem 1.8rem;
  border-color: rgba(232, 99, 25, 0.25);
  background: rgb(255 249 244);
  box-shadow: none;
}

.pb-cart-account-prompt--signed-in {
  border-color: rgb(184 204 169);
  background: rgb(244 249 239);
}

.pb-cart-account-prompt--signed-in strong {
  color: rgb(65 91 48);
}

.pb-cart-account-prompt h2 {
  font-size: 1.8rem;
}

.pb-cart-account-prompt p,
.pb-cart-account-prompt span {
  font-size: 1.35rem;
}

.pb-cart-account-prompt__actions .button {
  min-width: 11rem;
  min-height: 4.2rem;
  border-radius: 999px;
}

.pb-checkout__card .pb-ship__methods,
.pb-checkout__card .pb-ship__address {
  margin-bottom: 0;
}

.pb-checkout__card .pb-ship__legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pb-ship__methods,
.pb-ship__services {
  display: grid;
  gap: 0.8rem;
}

.pb-checkout__card .pb-ship__methods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pb-ship__radio {
  min-height: 4.4rem;
  padding: 0.9rem 1rem;
  border: 0.1rem solid rgba(var(--color-foreground), 0.14);
  border-radius: 1.2rem;
  background: rgba(var(--color-foreground), 0.018);
  font-size: 1.4rem;
  line-height: 1.35;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.pb-ship__radio:hover {
  border-color: rgba(232, 99, 25, 0.5);
}

.pb-ship__radio:has(input:checked) {
  border-color: rgb(232 99 25);
  background: rgb(255 247 240);
  box-shadow: 0 0 0 0.1rem rgba(232, 99, 25, 0.12);
}

.pb-ship__radio:has(input:focus-visible) {
  outline: 0.2rem solid rgb(25 25 25);
  outline-offset: 0.2rem;
}

.pb-ship__radio input[type="radio"] {
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  margin: 0;
  accent-color: rgb(232 99 25);
}

.pb-ship__address {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.pb-ship__address--contact .pb-ship__field:first-child,
.pb-checkout__card .pb-ship__address:not(.pb-ship__address--contact)
  .pb-ship__field:nth-child(-n + 2) {
  grid-column: 1 / -1;
}

.pb-ship__address--contact .pb-ship__field:not(:first-child) {
  grid-column: span 3;
}

.pb-checkout__card .pb-ship__address:not(.pb-ship__address--contact)
  .pb-ship__field:nth-child(3) {
  grid-column: span 2;
}

.pb-checkout__card .pb-ship__address:not(.pb-ship__address--contact)
  .pb-ship__field:nth-child(4) {
  grid-column: span 3;
}

.pb-checkout__card .pb-ship__address:not(.pb-ship__address--contact)
  .pb-ship__field:nth-child(5) {
  grid-column: span 1;
}

.pb-ship__field {
  min-width: 0;
  gap: 0.4rem;
  font-size: 1.3rem;
  font-weight: 650;
  color: rgba(var(--color-foreground), 0.82);
}

.pb-ship__field--state {
  flex-basis: auto;
}

.pb-ship__field input,
.pb-ship__field textarea {
  width: 100%;
  min-height: 4.4rem;
  padding: 0.8rem 1rem;
  border: 0.1rem solid rgba(var(--color-foreground), 0.18);
  border-radius: 1rem;
  outline: none;
  background: rgb(var(--color-background));
  color: rgb(var(--color-foreground));
  font: inherit;
  font-size: 1.5rem;
  font-weight: 400;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.pb-ship__field textarea {
  min-height: 9rem;
  resize: vertical;
}

.pb-ship__field input:focus,
.pb-ship__field textarea:focus {
  border-color: rgb(232 99 25);
  box-shadow: 0 0 0 0.3rem rgba(232, 99, 25, 0.12);
}

.pb-checkout__card > .pb-ship__timing {
  margin: 1.2rem 0 0;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(var(--color-foreground), 0.04);
  font-size: 1.25rem;
}

.pb-checkout__summary {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  align-items: start;
  min-width: 0;
  padding: 1.8rem;
}

.pb-checkout__summary-heading {
  grid-column: 1 / -1;
  padding-bottom: 1.2rem;
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.1);
}

.pb-checkout__summary-heading h2 {
  margin-top: 0.4rem;
  font-size: 2.2rem;
}

.pb-checkout__summary .pb-ship__totals {
  grid-column: 1;
  grid-row: 2 / 5;
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  font-size: 1.4rem;
}

.pb-checkout__summary .pb-ship__row {
  align-items: start;
  padding: 1rem 0;
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.07);
}

.pb-checkout__summary .pb-ship__row dd {
  max-width: 65%;
  font-weight: 650;
  text-align: right;
}

.pb-checkout__summary .totals {
  grid-column: 2;
  grid-row: 2;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-top: 1.2rem;
  padding-top: 0;
  border-top: 0;
}

.pb-checkout__summary .totals > * + * {
  margin-left: 0;
}

.pb-checkout__summary .totals__total {
  font-size: 1.7rem;
  font-weight: 750;
}

.pb-checkout__summary .totals__total-value {
  font-size: 2.25rem;
  font-weight: 800;
  white-space: nowrap;
}

.pb-checkout__summary .pb-ship__estimate {
  grid-column: 2;
  grid-row: 3;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: rgb(245 247 239);
  color: rgb(66 85 48);
  font-weight: 650;
}

.pb-checkout__summary .tax-note {
  grid-column: 1;
  grid-row: 5;
  margin: 1.4rem 0 0;
  text-align: left;
  line-height: 1.45;
  color: rgba(var(--color-foreground), 0.58);
}

.pb-checkout__summary .cart__ctas {
  grid-column: 2;
  grid-row: 4 / 6;
  display: block;
  margin-top: 1.2rem;
}

.pb-checkout__summary .cart__checkout-button {
  width: 100%;
  max-width: none;
  min-height: 4.8rem;
  border-radius: 1.2rem;
  font-size: 1.55rem;
  font-weight: 750;
}

.pb-checkout__summary .pb-cart-checkout-note {
  margin: 1rem 0 0;
  text-align: left;
}

/* Square's hosted card fields are mounted only after the shopper selects
 * card payment. They live in Square's secure iframe; this is presentation
 * around it, never a card-number input owned by PrintBere. */
.pb-square-card {
  margin-top: 1.2rem;
  padding: 1.4rem;
  border: 0.1rem solid rgba(232, 99, 25, 0.28);
  border-radius: 1.2rem;
  background: rgb(255 249 244);
}

.pb-square-card > strong {
  display: block;
  font-size: 1.4rem;
}

.pb-square-card > p {
  margin: 0.4rem 0 0;
  font-size: 1.25rem;
  line-height: 1.45;
  color: rgba(var(--color-foreground), 0.7);
}

.pb-square-card__mount {
  min-height: 6rem;
  margin-top: 1.1rem;
  padding: 1rem;
  border: 0.1rem solid rgba(var(--color-foreground), 0.16);
  border-radius: 0.9rem;
  background: rgb(var(--color-background));
}

.pb-square-card__status {
  color: rgba(var(--color-foreground), 0.64) !important;
}

.pb-square-card__error {
  color: rgb(177 38 28) !important;
  font-weight: 650;
}

/* The cart itself gets the same surface language as the checkout below it. */
cart-items:not(.is-empty) .cart__items {
  padding: 2rem;
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
  border-radius: 1.8rem;
  background: rgb(var(--color-background));
  box-shadow: 0 1rem 3rem rgba(36, 25, 18, 0.04);
}

cart-items .title-wrapper-with-link {
  margin-bottom: 2rem;
}

@media screen and (max-width: 989px) {
  .pb-checkout__layout {
    grid-template-columns: 1fr;
  }

  .pb-checkout__summary {
    display: block;
  }

  .pb-checkout__summary .totals {
    padding-top: 1.2rem;
    border-top: 0.2rem solid rgb(var(--color-foreground));
  }
}

@media screen and (max-width: 749px) {
  .cart-section-padding,
  .cart-footer-padding {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  cart-items:not(.is-empty) .cart__items {
    padding: 1.4rem;
    border-radius: 1.4rem;
  }

  .cart-items thead tr {
    margin-bottom: 2.4rem;
  }

  .cart-item {
    gap: 1.2rem;
    margin-bottom: 2.4rem;
  }

  .pb-checkout__intro {
    margin-bottom: 1.8rem;
  }

  .pb-checkout__intro h2 {
    font-size: 3rem;
  }

  .pb-checkout__layout,
  .pb-checkout__details {
    gap: 1.2rem;
  }

  .pb-checkout__card,
  .pb-checkout__summary,
  .pb-cart-account-prompt {
    border-radius: 1.4rem;
  }

  .pb-checkout__card,
  .pb-checkout__summary {
    padding: 1.6rem;
  }

  .pb-cart-account-prompt {
    padding: 1.5rem;
  }

  .pb-checkout__section-heading {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  .pb-checkout__section-heading > span {
    width: 3rem;
    height: 3rem;
  }

  .pb-ship__address,
  .pb-ship__address--contact {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .pb-ship__address .pb-ship__field,
  .pb-ship__address--contact .pb-ship__field:not(:first-child),
  .pb-checkout__card .pb-ship__address:not(.pb-ship__address--contact)
    .pb-ship__field:nth-child(n) {
    grid-column: 1;
  }

  .pb-ship__radio {
    min-height: 4.4rem;
    padding: 0.9rem 1rem;
  }

  .pb-ship__field input,
  .pb-ship__field textarea {
    font-size: 1.6rem;
  }

  .pb-checkout__summary .totals__total-value {
    font-size: 2rem;
  }
}

@media screen and (max-width: 479px) {
  .pb-checkout__card .pb-ship__methods {
    grid-template-columns: 1fr;
  }
}
