@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700;800&display=swap");

/** bebarefoot.eu — pending online payment page, desktop */
@media (min-width: 992px) {
  body.beb-payment-pending {
    --beb-pay-ink: #211f1d;
    --beb-pay-muted: #77726c;
    --beb-pay-line: #e5e2de;
    --beb-pay-paper: #f3f2ef;
    --beb-pay-white: #fff;
    background: var(--beb-pay-white);
    color: var(--beb-pay-ink);
  }

  body.beb-payment-pending #content {
    width: min(100% - 64px, 1240px);
    max-width: 1240px;
    margin: 0 auto;
    padding: 54px 0 90px;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  body.beb-payment-pending #content,
  body.beb-payment-pending #content button,
  body.beb-payment-pending #content a,
  body.beb-payment-pending #content input,
  body.beb-payment-pending #content select {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }

  body.beb-payment-pending .beb-payment-hero {
    max-width: 760px;
    margin: 0 auto 58px !important;
    color: var(--beb-pay-ink) !important;
    font-size: clamp(44px, 4vw, 62px) !important;
    font-weight: 800 !important;
    line-height: .96 !important;
    letter-spacing: -.04em !important;
    text-align: center;
    text-transform: uppercase;
  }

  body.beb-payment-pending .beb-payment-lead {
    max-width: 620px;
    margin: -36px auto 26px !important;
    color: var(--beb-pay-muted) !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
    text-align: center;
  }

  body.beb-payment-pending .beb-pay-now {
    display: grid !important;
    width: min(100%, 330px) !important;
    min-height: 62px !important;
    margin: 0 auto !important;
    padding: 0 28px !important;
    place-items: center;
    border: 1px solid var(--beb-pay-ink) !important;
    border-radius: 0 !important;
    background: var(--beb-pay-ink) !important;
    color: var(--beb-pay-white) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .045em !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
  }

  body.beb-payment-pending .beb-pay-now:hover {
    background: var(--beb-pay-white) !important;
    color: var(--beb-pay-ink) !important;
  }

  body.beb-payment-pending .beb-payment-redirect {
    margin: 14px auto 0 !important;
    color: var(--beb-pay-muted) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: center;
  }

  body.beb-payment-pending .beb-order-number {
    display: block;
    margin: 24px auto 52px !important;
    color: var(--beb-pay-ink) !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    text-align: center;
  }

  body.beb-payment-pending .beb-payment-details,
  body.beb-payment-pending .beb-order-products {
    max-width: 960px;
    margin: 0 auto 34px;
    padding: 34px 38px;
    border: 0 !important;
    background: var(--beb-pay-paper);
    box-shadow: none !important;
  }

  body.beb-payment-pending .beb-payment-section-title {
    margin: 0 0 26px !important;
    color: var(--beb-pay-ink) !important;
    font-size: 28px !important;
    font-weight: 780 !important;
    line-height: 1 !important;
    letter-spacing: -.02em !important;
    text-transform: uppercase;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }

  body.beb-payment-pending .beb-payment-section-title::before,
  body.beb-payment-pending .beb-payment-section-title::after,
  body.beb-payment-pending h4.order-icon.order-payment::before,
  body.beb-payment-pending h4.order-icon.order-payment::after,
  body.beb-payment-pending h4.order-icon.order-content::before,
  body.beb-payment-pending h4.order-icon.order-content::after {
    content: none !important;
    display: none !important;
  }

  body.beb-payment-pending h4.order-icon.order-payment,
  body.beb-payment-pending h4.order-icon.order-content {
    padding-left: 0 !important;
    background-image: none !important;
  }

  body.beb-payment-pending .beb-payment-section-title > i,
  body.beb-payment-pending .beb-payment-section-title > svg,
  body.beb-payment-pending .beb-payment-section-title > [class*="icon"] {
    display: none !important;
  }

  body.beb-payment-pending .beb-payment-details table,
  body.beb-payment-pending .beb-order-products table,
  body.beb-payment-pending .beb-payment-details tbody,
  body.beb-payment-pending .beb-order-products tbody,
  body.beb-payment-pending .beb-payment-details tr,
  body.beb-payment-pending .beb-order-products tr,
  body.beb-payment-pending .beb-payment-details th,
  body.beb-payment-pending .beb-order-products th,
  body.beb-payment-pending .beb-payment-details td,
  body.beb-payment-pending .beb-order-products td {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.beb-payment-pending .beb-payment-details td,
  body.beb-payment-pending .beb-payment-details th {
    padding: 7px 10px !important;
    font-size: 16px;
    line-height: 1.35;
  }

  body.beb-payment-pending .beb-payment-details th,
  body.beb-payment-pending .beb-payment-details td:first-child {
    color: var(--beb-pay-muted);
    font-weight: 400;
  }

  body.beb-payment-pending .beb-payment-details td:last-child {
    color: var(--beb-pay-ink);
    font-weight: 680;
  }

  body.beb-payment-pending .beb-order-products tr {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 120px 110px;
    align-items: center;
    min-height: 92px;
    padding: 12px 0;
  }

  body.beb-payment-pending .beb-order-products img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain;
  }

  body.beb-payment-pending .beb-order-products td {
    padding: 8px 12px !important;
    font-size: 15px;
  }

  body.beb-payment-pending .beb-order-products td:nth-last-child(-n+2) {
    text-align: right;
    white-space: nowrap;
  }

  /* Exact Shoptet targets: product name and the final confirmation copy. */
  body.beb-payment-pending .beb-order-products td.p-name,
  body.beb-payment-pending .beb-order-products td.p-name *,
  body.beb-payment-pending [data-testid="recapItemName"],
  body.beb-payment-pending [data-testid="recapItemName"] *,
  body.beb-payment-pending .order-summary-item.summary-thx,
  body.beb-payment-pending .order-summary-item.summary-thx *,
  body.beb-payment-pending [data-testid="textRecapMessage"],
  body.beb-payment-pending [data-testid="textRecapMessage"] *,
  body.beb-payment-pending .order-complete-links,
  body.beb-payment-pending .order-complete-links * {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }

  body.beb-payment-pending .beb-order-products td.p-name,
  body.beb-payment-pending .beb-order-products td.p-name *,
  body.beb-payment-pending [data-testid="recapItemName"] {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
  }

  body.beb-payment-pending .order-summary-item.summary-thx,
  body.beb-payment-pending .order-summary-item.summary-thx *,
  body.beb-payment-pending [data-testid="textRecapMessage"],
  body.beb-payment-pending [data-testid="textRecapMessage"] *,
  body.beb-payment-pending .order-complete-links,
  body.beb-payment-pending .order-complete-links * {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
  }

  body.beb-payment-pending .beb-email-confirmation {
    display: flex;
    max-width: 960px;
    margin: 24px auto 0 !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--beb-pay-muted) !important;
    font-size: 14px !important;
    text-align: center;
  }

  body.beb-payment-pending .beb-email-confirmation::before {
    content: "✓";
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid var(--beb-pay-ink);
    border-radius: 50%;
    color: var(--beb-pay-ink);
    font-size: 12px;
    font-weight: 800;
  }

  /* Final typography lock: prevent legacy Shoptet heading/button fonts. */
  body.beb-payment-pending .beb-payment-lead,
  body.beb-payment-pending .beb-payment-redirect,
  body.beb-payment-pending .beb-order-number,
  body.beb-payment-pending .beb-payment-details,
  body.beb-payment-pending .beb-payment-details *,
  body.beb-payment-pending .beb-order-products,
  body.beb-payment-pending .beb-order-products *,
  body.beb-payment-pending .beb-email-confirmation,
  body.beb-payment-pending .beb-pay-now {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }

  /* Shoptet keeps these elements outside the two styled boxes. Lock the
     storefront body font on the complete lower recap area as well. */
  body.desktop.id--15.beb-payment-pending .content-inner > .recapitulation-wrapper,
  body.desktop.id--15.beb-payment-pending .content-inner > .recapitulation-wrapper *,
  body.desktop.id--15.beb-payment-pending td.p-name,
  body.desktop.id--15.beb-payment-pending td.p-name > span[data-testid="recapItemName"],
  body.desktop.id--15.beb-payment-pending div.order-summary-item.summary-thx,
  body.desktop.id--15.beb-payment-pending div.order-summary-item.summary-thx *,
  body.desktop.id--15.beb-payment-pending div.order-complete-links,
  body.desktop.id--15.beb-payment-pending div.order-complete-links * {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }
}
