/**
 * bebarefoot.eu — desktop cart page
 * Presentation only. Shoptet remains responsible for quantities, prices,
 * vouchers, deletion and checkout navigation.
 */
@media (min-width: 992px) {
  body.in-cart {
    --beb-cart-ink: #211f1d;
    --beb-cart-muted: #716d68;
    --beb-cart-line: #e5e2de;
    --beb-cart-paper: #f7f6f4;
    --beb-cart-white: #fff;

    color: var(--beb-cart-ink);
    background: var(--beb-cart-white);
  }

  body.in-cart #content {
    width: 100%;
    max-width: none;
    padding: 28px clamp(28px, 4vw, 72px) 80px;
    background: var(--beb-cart-white);
  }

  body.in-cart #content > h1.sr-only {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 20px !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    font-size: 0;
  }

  body.in-cart #content > h1.sr-only::after {
    content: "Your bag";
    display: block;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(38px, 4vw, 62px);
    font-weight: 750;
    line-height: .95;
    letter-spacing: -.045em;
    text-transform: uppercase;
  }

  body.in-cart .cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(300px, .85fr);
    gap: clamp(28px, 3.5vw, 64px);
    margin: 0;
  }

  /* Bootstrap clearfix pseudo-elements must not become grid columns. */
  body.in-cart .cart-row::before,
  body.in-cart .cart-row::after {
    content: none !important;
    display: none !important;
  }

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

  body.in-cart .cart-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 22px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--beb-cart-line);
  }

  body.in-cart .cart-header .step {
    position: relative;
    min-height: 30px;
    padding: 4px 18px 4px 38px;
    color: #aaa59f;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .02em;
    text-transform: uppercase;
  }

  body.in-cart .cart-header .step::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #aaa59f;
    border-radius: 50%;
  }

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

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

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

  body.in-cart .cart-header a,
  body.in-cart .cart-header strong {
    color: inherit;
    font-weight: inherit;
  }

  /* The redesigned step owns the number circle; suppress the native one. */
  body.in-cart .cart-header .step > a::before,
  body.in-cart .cart-header .step > strong::before,
  body.in-cart .cart-header .step > a::after,
  body.in-cart .cart-header .step > strong::after {
    content: none !important;
    display: none !important;
  }

  /* Shoptet also generates the native counter on the inner span. */
  body.in-cart .cart-header .step span::before,
  body.in-cart .cart-header .step span::after {
    content: none !important;
    display: none !important;
  }

  body.in-cart .cart-table,
  body.in-cart .cart-table tbody {
    display: block;
    width: 100%;
  }

  body.in-cart .cart-table tr.removeable {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) 128px 150px;
    align-items: center;
    min-height: 154px;
    border: 0;
    border-bottom: 1px solid var(--beb-cart-line);
  }

  body.in-cart .cart-table td {
    display: block;
    width: auto;
    padding: 22px 14px;
    border: 0 !important;
  }

  body.in-cart .cart-table .cart-p-image {
    padding-left: 0;
  }

  body.in-cart .cart-table .cart-p-image a {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    background: var(--beb-cart-paper);
  }

  body.in-cart .cart-table .cart-p-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body.in-cart .cart-table .p-name .main-link {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: var(--beb-cart-ink);
    font-size: 17px;
    font-weight: 720;
    line-height: 1.2;
    text-decoration: none;
    text-transform: none;
  }

  body.in-cart .cart-table .main-link-variant {
    color: var(--beb-cart-muted);
    font-size: 13px;
    font-weight: 560;
  }

  body.in-cart .cart-table .main-link-variant::before {
    content: "Size ";
  }

  body.in-cart .cart-table .p-availability,
  body.in-cart .cart-table .p-price {
    display: none;
  }

  body.in-cart .cart-table .p-quantity {
    justify-self: center;
    padding-right: 8px;
  }

  body.in-cart .cart-table .quantity {
    display: grid;
    grid-template-columns: 38px 42px 38px;
    align-items: center;
    width: 118px;
    height: 38px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.in-cart .cart-table .quantity label {
    grid-column: 2;
    grid-row: 1;
  }

  body.in-cart .cart-table .quantity .decrease {
    grid-column: 1;
    grid-row: 1;
  }

  body.in-cart .cart-table .quantity .increase {
    grid-column: 3;
    grid-row: 1;
  }

  body.in-cart .cart-table .quantity .increase,
  body.in-cart .cart-table .quantity .decrease {
    position: static !important;
    inset: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.in-cart .cart-table .quantity .increase::before,
  body.in-cart .cart-table .quantity .increase::after,
  body.in-cart .cart-table .quantity .decrease::before,
  body.in-cart .cart-table .quantity .decrease::after {
    content: none !important;
    display: none !important;
  }

  body.in-cart .cart-table .quantity .increase__sign,
  body.in-cart .cart-table .quantity .decrease__sign {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    color: inherit !important;
    font-family: Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 36px !important;
    opacity: 1 !important;
    transform: none !important;
  }

  body.in-cart .cart-table .quantity .increase-tooltip,
  body.in-cart .cart-table .quantity .decrease-tooltip {
    display: none !important;
  }

  body.in-cart .cart-table .quantity .amount,
  body.in-cart .cart-table .quantity button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--beb-cart-line);
    border-radius: 50%;
    background: var(--beb-cart-white);
    color: var(--beb-cart-ink);
    font: 650 16px/1 "Source Sans 3", sans-serif;
    text-align: center;
    box-shadow: none;
  }

  body.in-cart .cart-table .quantity .amount {
    width: 42px;
    border: 0;
    border-radius: 0;
    appearance: textfield;
  }

  body.in-cart .cart-table .quantity .amount::-webkit-inner-spin-button,
  body.in-cart .cart-table .quantity .amount::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
  }

  body.in-cart .cart-table .quantity button:hover {
    border-color: var(--beb-cart-ink);
    background: var(--beb-cart-ink);
    color: var(--beb-cart-white);
  }

  body.in-cart .cart-table .p-total {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    justify-self: stretch;
    padding-right: 0;
  }

  body.in-cart .cart-table .p-total > .price-final {
    font-size: 18px;
    font-weight: 720;
  }

  body.in-cart .cart-table .remove-item {
    position: relative;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--beb-cart-muted);
  }

  body.in-cart .cart-table .remove-item:hover {
    color: var(--beb-cart-ink);
  }

  body.in-cart .cart-summary {
    margin-top: 38px;
    padding: 28px 0 0;
    border-top: 1px solid var(--beb-cart-line);
  }

  body.in-cart .cart-summary h2,
  body.in-cart .sidebar-in-cart h2 {
    margin: 0 0 18px;
    color: var(--beb-cart-ink);
    font-size: 16px;
    font-weight: 720;
    letter-spacing: .035em;
    text-transform: uppercase;
  }

  body.in-cart .discount-coupon {
    max-width: 520px;
  }

  body.in-cart .discount-coupon .input-group {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  body.in-cart .discount-coupon .form-control,
  body.in-cart .discount-coupon .btn {
    height: 48px;
    border: 1px solid var(--beb-cart-ink);
    border-radius: 0;
    box-shadow: none;
  }

  body.in-cart .discount-coupon .form-control {
    padding: 0 16px;
    border-right: 0;
  }

  body.in-cart .discount-coupon .btn {
    min-width: 84px;
    background: var(--beb-cart-white);
    color: var(--beb-cart-ink);
    font-size: 14px;
    font-weight: 720;
    text-transform: uppercase;
  }

  body.in-cart .discount-coupon .btn:hover {
    background: var(--beb-cart-ink);
    color: var(--beb-cart-white);
  }

  body.in-cart .sidebar-in-cart {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  body.in-cart .sidebar-in-cart > .summary-wrapper {
    order: 1;
  }

  body.in-cart .sidebar-in-cart > .checkout-box-wrapper {
    order: 2;
  }

  body.in-cart .sidebar-in-cart .cart-content,
  body.in-cart .sidebar-in-cart .box {
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.in-cart .summary-wrapper > .box {
    position: sticky;
    top: 24px;
    padding: 30px;
    background: var(--beb-cart-paper);
  }

  body.in-cart .summary-wrapper > .box::before {
    content: "Summary";
    display: block;
    margin-bottom: 28px;
    font-size: 29px;
    font-weight: 760;
    line-height: 1;
    letter-spacing: -.025em;
    text-transform: uppercase;
  }

  body.in-cart .price-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 20px;
    align-items: baseline;
  }

  body.in-cart .price-wrapper .price-label,
  body.in-cart .price-wrapper .price {
    position: static;
    float: none;
    width: auto;
    margin: 0;
  }

  body.in-cart .price-wrapper .price-primary {
    color: var(--beb-cart-ink);
    font-size: 17px;
    font-weight: 720;
  }

  body.in-cart .price-wrapper strong.price-primary {
    font-size: 25px;
  }

  body.in-cart .price-wrapper .price-secondary {
    color: var(--beb-cart-muted);
    font-size: 13px;
    font-weight: 520;
  }

  body.in-cart .next-step--cart {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    margin-top: 28px;
  }

  body.in-cart .next-step--cart .btn {
    display: grid;
    width: 100%;
    height: 54px;
    margin: 0;
    place-items: center;
    border: 1px solid var(--beb-cart-ink);
    border-radius: 0;
    font-size: 15px;
    font-weight: 740;
    letter-spacing: .035em;
    text-transform: uppercase;
    box-shadow: none;
  }

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

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

  body.in-cart .next-step--cart .next-step-back {
    height: 42px;
    border-color: transparent;
    background: transparent;
    color: var(--beb-cart-ink);
    font-size: 13px;
    text-decoration: underline;
    text-transform: none;
  }

  body.in-cart .checkout-box-wrapper {
    padding: 25px 30px !important;
    border: 1px solid var(--beb-cart-line);
  }

  body.in-cart .contact-box ul {
    margin: 0;
  }

  body.in-cart .contact-box li {
    margin: 9px 0;
    color: var(--beb-cart-muted);
    font-size: 13px;
  }

  body.in-cart .contact-box a {
    color: inherit;
  }

  body.in-cart .content-inner > h1:not(.sr-only),
  body.in-cart .empty-cart h1,
  body.in-cart .cart-empty h1 {
    margin: 0 0 24px;
    font-size: clamp(34px, 3.5vw, 54px);
    font-weight: 750;
    letter-spacing: -.04em;
  }

  body.in-cart .empty-cart,
  body.in-cart .cart-empty,
  body.in-cart .cart-empty-content {
    padding: 34px;
    border: 1px solid var(--beb-cart-line);
    background: var(--beb-cart-white);
  }

  body.in-cart .empty-cart .btn,
  body.in-cart .cart-empty .btn,
  body.in-cart .cart-empty-content .btn {
    border: 1px solid var(--beb-cart-ink);
    border-radius: 0;
    background: var(--beb-cart-white);
    color: var(--beb-cart-ink);
  }

  body.in-cart .empty-cart .btn:hover,
  body.in-cart .cart-empty .btn:hover,
  body.in-cart .cart-empty-content .btn:hover {
    background: var(--beb-cart-ink);
    color: var(--beb-cart-white);
  }

  /* Final desktop cart composition — compact, product-led layout. */
  body.in-cart #content {
    padding-top: 42px;
  }

  body.in-cart #content > h1.sr-only {
    margin-bottom: 38px !important;
  }

  body.in-cart #content > h1.sr-only::after {
    font-size: clamp(46px, 4.2vw, 68px);
  }

  body.in-cart .cart-row {
    grid-template-columns: minmax(0, 1.95fr) minmax(340px, .92fr);
    gap: clamp(42px, 5vw, 84px);
    align-items: start;
  }

  /* Keep the checkout sequence visible and give it a clearer hierarchy. */
  body.in-cart .cart-content > .cart-header {
    display: grid !important;
    margin-bottom: 30px;
    padding-bottom: 22px;
  }

  body.in-cart .cart-header .step {
    min-height: 42px;
    padding: 7px 24px 7px 50px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
  }

  body.in-cart .cart-header .step::before {
    width: 36px;
    height: 36px;
    font-size: 15px;
    font-weight: 700;
  }

  body.in-cart .cart-table {
    margin: 0 !important;
    border-top: 1px solid var(--beb-cart-line);
  }

  body.in-cart .cart-table tr.removeable {
    grid-template-columns: 150px minmax(0, 1fr) 132px 176px;
    min-height: 176px;
  }

  body.in-cart .cart-table td {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body.in-cart .cart-table .cart-p-image a {
    width: 126px;
    height: 126px;
  }

  body.in-cart .cart-table .p-name {
    align-self: center;
    padding-left: 18px;
  }

  body.in-cart .cart-table .p-name .main-link {
    max-width: 520px;
    font-size: 18px;
  }

  body.in-cart .cart-table .p-quantity {
    justify-self: start;
    padding-right: 0;
  }

  body.in-cart .cart-table .p-total {
    grid-template-columns: 1fr;
    justify-items: end;
    align-content: center;
    gap: 20px;
  }

  body.in-cart .cart-table .p-total > .price-final {
    font-size: 19px;
  }

  body.in-cart .cart-table .remove-item {
    display: inline-flex !important;
    visibility: visible !important;
    width: auto !important;
    height: 28px !important;
    align-items: center;
    justify-content: flex-end;
    padding: 0 !important;
    opacity: 1 !important;
    color: var(--beb-cart-ink);
    font-size: 0 !important;
    text-decoration: underline;
  }

  body.in-cart .cart-table .remove-item::before {
    content: "Remove" !important;
    display: inline !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    color: inherit;
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 720;
    line-height: 1;
    text-transform: uppercase;
  }

  body.in-cart .cart-summary {
    margin-top: 32px;
    padding-top: 30px;
  }

  body.in-cart .summary-wrapper > .box {
    padding: 34px 32px;
  }

  body.in-cart .summary-wrapper > .box::before {
    margin-bottom: 34px;
    font-size: 34px;
  }

  body.in-cart .checkout-box-wrapper {
    padding: 28px 8px !important;
    border-right: 0;
    border-left: 0;
  }

  /* One clean divider below the checkout steps. */
  body.in-cart .cart-content > .cart-header {
    margin-bottom: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--beb-cart-line);
  }

  body.in-cart .cart-table {
    border-top: 0;
  }

  /* Active indicator connects the number with the step label. */
  body.in-cart .cart-header-header .step.active,
  body.in-cart .cart-header .step.active {
    border-bottom: 0 !important;
  }

  body.in-cart .cart-header .step.active::after {
    content: "" !important;
    position: absolute;
    right: auto;
    bottom: -23px;
    left: 0;
    display: block !important;
    width: 150px;
    height: 2px;
    background: var(--beb-cart-ink);
  }

  /* Use the familiar ecommerce term instead of “Total for goods”. */
  body.in-cart .price-wrapper .price-label.price-primary,
  body.in-cart .price-wrapper > .price-label:first-child {
    font-size: 0 !important;
  }

  body.in-cart .price-wrapper .price-label.price-primary::after,
  body.in-cart .price-wrapper > .price-label:first-child::after {
    content: "Subtotal";
    font-size: 17px;
    font-weight: 720;
  }

  /* A single summary rail, aligned visually with the page title. */
  body.in-cart .sidebar-in-cart {
    position: relative;
    margin-top: -106px;
    padding: 36px 32px 34px;
    gap: 0;
    background: var(--beb-cart-paper);
  }

  body.in-cart .summary-wrapper > .box {
    position: static;
    padding: 0 0 32px;
    background: transparent;
  }

  body.in-cart .checkout-box-wrapper {
    margin-top: 0 !important;
    padding: 30px 0 0 !important;
    border: 0;
    border-top: 1px solid var(--beb-cart-line);
    background: transparent !important;
  }

  /* Keep the steps, but connect them more closely to the cart content. */
  body.in-cart #content > h1.sr-only {
    margin-bottom: 22px !important;
  }

  body.in-cart .cart-row .cart-content {
    padding-top: 16px;
  }

  body.in-cart .cart-content > .cart-header {
    margin-bottom: 0;
  }

  /* Typography only for native Shoptet cart status messages. */
  body.in-cart .messages,
  body.in-cart .messages .msg,
  body.in-cart .msg-success,
  body.in-cart .msg-error,
  body.in-cart .msg-warning,
  body.in-cart .alert-success,
  body.in-cart .alert-danger,
  body.in-cart .alert-warning {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 16px !important;
    font-weight: 430 !important;
    line-height: 1.45 !important;
    letter-spacing: .005em !important;
  }

  /* Professional spacing and alignment pass. */
  body.in-cart .cart-row {
    align-items: stretch;
  }

  body.in-cart .cart-header .step.active,
  body.in-cart .cart-header .step.active strong,
  body.in-cart .cart-header .step.active span {
    border-bottom: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  body.in-cart .cart-header .step.active strong::after,
  body.in-cart .cart-header .step.active span::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
  }

  body.in-cart .sidebar-in-cart {
    align-self: stretch;
    min-height: 100%;
    padding: 48px 38px 42px;
  }

  body.in-cart .summary-wrapper > .box::before {
    margin-bottom: 42px;
  }

  body.in-cart .price-wrapper {
    row-gap: 16px;
  }

  body.in-cart .next-step--cart {
    gap: 18px;
    margin-top: 38px;
  }

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

  body.in-cart .checkout-box-wrapper {
    align-self: stretch;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 34px 0 0 !important;
  }

  body.in-cart .checkout-box-wrapper > .box,
  body.in-cart .checkout-box-wrapper .contact-box {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.in-cart .next-step--cart .next-step-forward {
    font-weight: 800 !important;
    letter-spacing: .045em;
  }

  body.in-cart .next-step--cart .next-step-forward,
  body.in-cart .next-step--cart .next-step-forward span,
  body.in-cart .next-step--cart .next-step-forward strong {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 800 !important;
  }

  /* Keep only the product divider above the coupon area. */
  body.in-cart .cart-summary {
    border-top: 0 !important;
  }

  /* Match the help block to the Summary/Subtotal content axis. */
  body.in-cart .checkout-box-wrapper {
    padding-left: 24px !important;
  }

  /* Vertically align every step label with its numbered circle. */
  body.in-cart .cart-header .step {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

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

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

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