/**
 * bebarefoot.eu — desktop checkout, step 2: Payment & Shipping
 * Refined to visually continue the redesigned shopping-bag step.
 * Visual layer only; Shoptet keeps all checkout logic.
 */
@media (min-width: 992px) {
  body.id--16 {
    --beb-checkout-ink: #211f1d;
    --beb-checkout-muted: #77726c;
    --beb-checkout-line: #e5e2de;
    --beb-checkout-paper: #f3f2ef;
    --beb-checkout-white: #fff;
    color: var(--beb-checkout-ink);
    background: var(--beb-checkout-white);
  }

  body.id--16 #content {
    width: 100%;
    max-width: none;
    padding: 42px clamp(28px, 4vw, 72px) 80px;
  }

  body.id--16 #content > h1.beb-checkout-page-title {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
    color: var(--beb-checkout-ink);
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(46px, 4vw, 64px);
    font-weight: 800;
    line-height: .94;
    letter-spacing: -.045em;
    text-transform: uppercase;
  }

  body.id--16 .beb-checkout-title.beb-checkout-inline-heading {
    display: none !important;
  }

  body.id--16 .cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(350px, .92fr);
    gap: clamp(42px, 5vw, 84px);
    align-items: stretch;
    margin: 0;
  }

  body.id--16 .cart-row::before,
  body.id--16 .cart-row::after {
    content: none !important;
    display: none !important;
  }

  body.id--16 .cart-row > .col-md-8,
  body.id--16 .cart-row > .col-md-4 {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
  }

  /* Checkout progress — one quiet baseline, no second active underline. */
  body.id--16 .cart-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--beb-checkout-line);
  }

  body.id--16 .cart-header .step {
    position: relative;
    min-height: 40px;
    padding: 7px 18px 5px 48px;
    border: 0 !important;
    color: #aaa59f;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .02em;
    text-transform: uppercase;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  body.id--16 .cart-header .step::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #aaa59f;
    border-radius: 50%;
    background: var(--beb-checkout-white);
    color: #aaa59f;
  }

  body.id--16 .cart-header .step-1::before { content: "1"; }
  body.id--16 .cart-header .step-2::before { content: "2"; }
  body.id--16 .cart-header .step-3::before { content: "3"; }

  body.id--16 .cart-header .step.active { color: var(--beb-checkout-ink); }

  body.id--16 .cart-header .step.active::before {
    border-color: var(--beb-checkout-ink);
    background: var(--beb-checkout-ink);
    color: var(--beb-checkout-white);
  }

  body.id--16 .cart-header .step.active::after,
  body.id--16 .cart-header .step.active > a::after,
  body.id--16 .cart-header .step.active > strong::after,
  body.id--16 .cart-header .step.active span::after,
  body.id--16 .cart-header .step.active *::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
  }

  body.id--16 .cart-header .step > a,
  body.id--16 .cart-header .step > strong {
    color: inherit;
    font: inherit;
    text-decoration: none;
  }

  body.id--16 .cart-header .step.active,
  body.id--16 .cart-header .step.active * {
    border-bottom: 0 !important;
    background-image: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  body.id--16 .cart-header .step > a::before,
  body.id--16 .cart-header .step > strong::before,
  body.id--16 .cart-header .step span::before {
    content: none !important;
    display: none !important;
  }

  /* Main form */
  body.id--16 .cart-content { padding: 18px 0 36px; }

  body.id--16 .co-box {
    margin: 0;
    padding: 36px 0;
    border: 0;
    border-bottom: 1px solid var(--beb-checkout-line);
    background: transparent;
    box-shadow: none;
  }

  body.id--16 .co-box:first-of-type { padding-top: 30px; }

  body.id--16 .co-box h4,
  body.id--16 .co-box h3,
  body.id--16 .co-box .h4 {
    margin: 0 0 30px;
    color: var(--beb-checkout-ink);
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 24px;
    font-weight: 760;
    line-height: 1.1;
    letter-spacing: -.015em;
    text-transform: none;
  }

  /* Dominant first-section title. Text is set semantically by the companion JS. */
  body.id--16 .co-box:first-of-type h4,
  body.id--16 .co-box:first-of-type h3,
  body.id--16 .co-box:first-of-type .h4,
  body.id--16 .beb-checkout-title {
    margin-bottom: 32px;
    color: var(--beb-checkout-ink);
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(32px, 2.45vw, 42px);
    font-weight: 790;
    line-height: .98;
    letter-spacing: -.035em;
    text-transform: none;
  }

  body.id--16 .form-group,
  body.id--16 .form-group label {
    color: var(--beb-checkout-ink);
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  body.id--16 .form-group label {
    display: block;
    margin: 0 0 9px;
    color: var(--beb-checkout-muted);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .025em;
  }

  /* Modern country selector, while retaining the native accessible select. */
  body.id--16 select.form-control,
  body.id--16 input.form-control {
    width: min(100%, 540px);
    min-height: 58px;
    padding: 0 52px 0 18px;
    border: 1px solid #d8d4cf;
    border-radius: 4px;
    background-color: var(--beb-checkout-white);
    color: var(--beb-checkout-ink);
    font-size: 16px;
    font-weight: 560;
    box-shadow: 0 1px 0 rgba(33, 31, 29, .03);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
  }

  body.id--16 select.form-control {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image:
      linear-gradient(45deg, transparent 50%, var(--beb-checkout-ink) 50%),
      linear-gradient(135deg, var(--beb-checkout-ink) 50%, transparent 50%);
    background-position:
      calc(100% - 22px) 25px,
      calc(100% - 16px) 25px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
  }

  body.id--16 select.form-control:hover,
  body.id--16 input.form-control:hover { border-color: #aaa49d; }

  body.id--16 select.form-control:focus,
  body.id--16 input.form-control:focus {
    outline: none;
    border-color: var(--beb-checkout-ink);
    box-shadow: 0 0 0 3px rgba(33, 31, 29, .10);
  }

  body.id--16 .shipping-billing-table,
  body.id--16 .shipping-billing-table tbody {
    display: block;
    width: 100%;
  }

  body.id--16 .shipping-billing-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 66px;
    border: 0;
    border-bottom: 1px solid var(--beb-checkout-line);
  }

  body.id--16 .shipping-billing-table tr:last-child { border-bottom: 0; }

  body.id--16 .shipping-billing-table td {
    width: auto;
    padding: 15px 10px;
    border: 0;
  }

  body.id--16 .shipping-billing-table label,
  body.id--16 .shipping-billing-table .payment-shipping-price {
    color: var(--beb-checkout-ink);
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 680;
  }

  body.id--16 .shipping-billing-table .payment-shipping-price {
    min-width: 80px;
    text-align: right;
  }

  body.id--16 .shipping-billing-table input[type="radio"] { accent-color: var(--beb-checkout-ink); }

  body.id--16 .payment-info,
  body.id--16 .shipping-info,
  body.id--16 .order-delivery-payment-form .form-group p {
    color: var(--beb-checkout-muted);
    font-size: 14px;
    line-height: 1.5;
  }

  /* Right summary rail — one airy grey surface without internal rules. */
  body.id--16 .sidebar-in-cart {
    align-self: stretch;
    min-height: 100%;
    padding: 46px 38px 44px;
    background: var(--beb-checkout-paper);
  }

  body.id--16 .sidebar-in-cart .box,
  body.id--16 .sidebar-in-cart .order-summary,
  body.id--16 .sidebar-in-cart .order-summary-inner,
  body.id--16 .sidebar-in-cart .summary-wrapper,
  body.id--16 .sidebar-in-cart .checkout-box-wrapper {
    margin: 0;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.id--16 .sidebar-in-cart h2,
  body.id--16 .sidebar-in-cart h3,
  body.id--16 .sidebar-in-cart .order-summary-heading {
    margin: 0 0 34px;
    color: var(--beb-checkout-ink);
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 34px;
    font-weight: 780;
    line-height: 1;
    letter-spacing: -.025em;
    text-transform: uppercase;
  }

  body.id--16 .sidebar-in-cart table,
  body.id--16 .sidebar-in-cart tbody,
  body.id--16 .sidebar-in-cart tr,
  body.id--16 .sidebar-in-cart td,
  body.id--16 .sidebar-in-cart .order-summary-item,
  body.id--16 .sidebar-in-cart .price-wrapper,
  body.id--16 .sidebar-in-cart .order-summary-total {
    border: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
  }

  body.id--16 .sidebar-in-cart .order-summary-item { padding: 13px 0; }

  body.id--16 .sidebar-in-cart .price-wrapper,
  body.id--16 .sidebar-in-cart .order-summary-total {
    margin-top: 24px;
    padding-top: 0;
  }

  body.id--16 .sidebar-in-cart .price-primary,
  body.id--16 .sidebar-in-cart .price-final {
    color: var(--beb-checkout-ink);
    font-weight: 760;
  }

  body.id--16 .sidebar-in-cart .price-secondary { color: var(--beb-checkout-muted); }

  body.id--16 .sidebar-in-cart .next-step {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
    margin-top: 34px;
  }

  body.id--16 .sidebar-in-cart .next-step .btn {
    display: grid;
    width: 100%;
    height: 58px;
    margin: 0;
    place-items: center;
    border: 1px solid var(--beb-checkout-ink);
    border-radius: 0;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
    box-shadow: none;
  }

  body.id--16 .sidebar-in-cart .next-step .next-step-forward {
    background: var(--beb-checkout-ink);
    color: var(--beb-checkout-white);
  }

  body.id--16 .sidebar-in-cart .next-step .next-step-forward:hover {
    background: var(--beb-checkout-white);
    color: var(--beb-checkout-ink);
  }

  body.id--16 .sidebar-in-cart .next-step .next-step-back {
    height: 38px;
    border-color: transparent;
    background: transparent;
    color: var(--beb-checkout-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: underline;
    text-transform: none;
  }

  body.id--16 .sidebar-in-cart .next-step-forward::before,
  body.id--16 .sidebar-in-cart .next-step-forward::after,
  body.id--16 .sidebar-in-cart .next-step-forward span::before,
  body.id--16 .sidebar-in-cart .next-step-forward span::after {
    content: none !important;
    display: none !important;
  }

  body.id--16 .sidebar-in-cart .toggle-contacts,
  body.id--16 .sidebar-in-cart .btn-contact {
    border-radius: 0;
    background: var(--beb-checkout-ink);
    color: var(--beb-checkout-white);
    font-family: "Source Sans 3", sans-serif;
    font-weight: 760;
  }

  /* Final Shoptet-specific summary composition. The column itself owns the
     grey surface so nested template wrappers cannot paint it white again. */
  body.id--16 .cart-row > .col-md-4 {
    align-self: stretch;
    padding: 46px 38px 44px !important;
    background: var(--beb-checkout-paper) !important;
  }

  body.id--16 .cart-row > .col-md-4 .sidebar-in-cart {
    min-height: 0;
    padding: 0 !important;
    background: transparent !important;
  }

  body.id--16 .cart-row > .col-md-4 table,
  body.id--16 .cart-row > .col-md-4 table tbody,
  body.id--16 .cart-row > .col-md-4 table tr,
  body.id--16 .cart-row > .col-md-4 table th,
  body.id--16 .cart-row > .col-md-4 table td,
  body.id--16 .cart-row > .col-md-4 .cart-summary,
  body.id--16 .cart-row > .col-md-4 .order-summary,
  body.id--16 .cart-row > .col-md-4 .order-summary-inner,
  body.id--16 .cart-row > .col-md-4 .order-summary-item,
  body.id--16 .cart-row > .col-md-4 .price-wrapper,
  body.id--16 .cart-row > .col-md-4 .price-wrapper * {
    border: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
  }

  body.id--16 .cart-row > .col-md-4 hr,
  body.id--16 .cart-row > .col-md-4 .order-summary::before,
  body.id--16 .cart-row > .col-md-4 .order-summary::after,
  body.id--16 .cart-row > .col-md-4 .price-wrapper::before,
  body.id--16 .cart-row > .col-md-4 .price-wrapper::after {
    content: none !important;
    display: none !important;
  }

  body.id--16 .cart-row > .col-md-4 .next-step-forward,
  body.id--16 .cart-row > .col-md-4 .btn-conversion {
    border-color: var(--beb-checkout-ink) !important;
    background: var(--beb-checkout-ink) !important;
    color: var(--beb-checkout-white) !important;
  }

  body.id--16 .cart-row > .col-md-4 .next-step-forward:hover,
  body.id--16 .cart-row > .col-md-4 .btn-conversion:hover {
    background: var(--beb-checkout-white) !important;
    color: var(--beb-checkout-ink) !important;
  }

  /* Exact live Shoptet sidebar structure. */
  body.id--16 #checkoutSidebar {
    margin-top: -104px !important;
    padding: 46px 38px 44px !important;
    background: var(--beb-checkout-paper) !important;
  }

  body.id--16 #checkoutSidebar > .cart-content,
  body.id--16 #checkoutSidebar .order-summary {
    padding: 0 !important;
    background: transparent !important;
  }

  body.id--16 #checkoutSidebar .order-summary *,
  body.id--16 #checkoutSidebar .order-summary *::before,
  body.id--16 #checkoutSidebar .order-summary *::after {
    border-color: transparent !important;
    box-shadow: none !important;
  }

  body.id--16 #checkoutSidebar .order-summary hr {
    display: none !important;
  }

  /* Restore the CTA border after clearing legacy summary rules. */
  body.id--16 #checkoutSidebar .next-step-forward,
  body.id--16 #checkoutSidebar .btn-conversion {
    min-height: 58px;
    border: 1px solid var(--beb-checkout-ink) !important;
    border-radius: 0 !important;
    background: var(--beb-checkout-ink) !important;
    color: var(--beb-checkout-white) !important;
    font-weight: 800 !important;
  }

  /* Help is secondary and sits below the primary action. */
  body.id--16 #checkoutSidebar .checkout-box.beb-help-below-cta {
    display: block;
    width: 172px !important;
    margin: 18px 0 0 auto !important;
    padding: 0 !important;
    text-align: center;
  }

  body.id--16 #checkoutSidebar .checkout-box.beb-help-below-cta .toggle-contacts {
    display: inline !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--beb-checkout-muted) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-transform: none !important;
  }

  body.id--16 #checkoutSidebar .checkout-box.beb-help-below-cta .toggle-contacts br,
  body.id--16 #checkoutSidebar .checkout-box.beb-help-below-cta .toggle-contacts a {
    display: none !important;
  }

  body.id--16 #checkoutSidebar .checkout-box.beb-help-below-cta .toggle-contacts:hover {
    color: var(--beb-checkout-ink) !important;
  }

  body.id--16 #checkoutSidebar .beb-summary-title {
    margin: 0 0 38px !important;
    color: var(--beb-checkout-ink) !important;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(32px, 2.3vw, 40px) !important;
    font-weight: 800 !important;
    line-height: .95 !important;
    letter-spacing: -.035em !important;
    text-transform: uppercase !important;
  }

  /* Delivery/payment rows: the method name already communicates the brand. */
  body.id--16 .shipping-billing-table img,
  body.id--16 .shipping-billing-table .payment-logo,
  body.id--16 .shipping-billing-table .shipping-logo,
  body.id--16 .shipping-billing-table [class*="payment-logo"],
  body.id--16 .shipping-billing-table [class*="shipping-logo"] {
    display: none !important;
  }

  /* Keep explanatory tooltips, but make them visually secondary. */
  body.id--16 .shipping-billing-table .show-tooltip.question-tooltip,
  body.id--16 .shipping-billing-table .question-tooltip {
    display: inline-grid !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: 8px !important;
    padding: 0 !important;
    place-items: center;
    border: 1px solid #aaa59f !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #77726c !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 14px !important;
    vertical-align: 1px;
    box-shadow: none !important;
  }

  body.id--16 .shipping-billing-table .show-tooltip.question-tooltip:hover,
  body.id--16 .shipping-billing-table .question-tooltip:hover {
    border-color: var(--beb-checkout-ink) !important;
    color: var(--beb-checkout-ink) !important;
  }

  body.id--16 .cart-header .step {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  body.id--16 .cart-header .step::before {
    top: 50%;
    transform: translateY(-50%);
  }

  body.id--16 .cart-header .step,
  body.id--16 .cart-header .step a,
  body.id--16 .cart-header .step strong,
  body.id--16 .cart-header .step span {
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
  }

  body.id--16 .cart-header .step br {
    display: none !important;
  }

  body.id--16 .cart-header .step > a,
  body.id--16 .cart-header .step > strong,
  body.id--16 .cart-header .step > span,
  body.id--16 .cart-header .step > a *,
  body.id--16 .cart-header .step > strong *,
  body.id--16 .cart-header .step > span * {
    display: inline !important;
    white-space: nowrap !important;
  }

  body.id--16 .cart-header .step,
  body.id--16 .cart-header .step a,
  body.id--16 .cart-header .step strong,
  body.id--16 .cart-header .step span {
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
  }

  body.id--16 #checkoutSidebar .next-step-forward,
  body.id--16 #checkoutSidebar .next-step-forward span,
  body.id--16 #checkoutSidebar .next-step-forward strong {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    letter-spacing: .055em !important;
  }

  body.id--16 .cart-header .step,
  body.id--16 .cart-header .step * {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  body.id--16 #checkoutSidebar .next-step-forward svg,
  body.id--16 #checkoutSidebar .next-step-forward i,
  body.id--16 #checkoutSidebar .next-step-forward [class*="arrow"],
  body.id--16 #checkoutSidebar .next-step-forward [class*="icon"] {
    display: none !important;
  }

  /* Delivery country is a full checkout section, not a minor field label. */
  body.id--16 .beb-country-field > label,
  body.id--16 .beb-country-field label[for] {
    display: flex !important;
    margin: 0 0 24px !important;
    align-items: center;
    gap: 20px;
    color: var(--beb-checkout-ink) !important;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }

  body.id--16 .beb-country-field > label::before,
  body.id--16 .beb-country-field label[for]::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44' fill='none' stroke='%23211f1d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='22' cy='22' r='17'/%3E%3Cpath d='M5 22h34M22 5c5 4.8 7.5 10.5 7.5 17S27 34.2 22 39M22 5c-5 4.8-7.5 10.5-7.5 17S17 34.2 22 39'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 44px 44px !important;
  }

  body.id--16 .beb-country-field select.form-control,
  body.id--16 .beb-country-field select.form-control option {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
  }
}
