/* Canonical cart and checkout contracts. */
/* R920 — dynamic cart translated from prototype/16-cart.html */
body#cart #wrapper { background: #FFFFFF; }
body#cart #wrapper > .container { width: 100%; max-width: 1320px; padding-right: 32px; padding-left: 32px; }
body#cart #content-wrapper { padding: 0; }
body#cart #content-wrapper { float: none; width: 100%; max-width: 1256px; margin-right: auto; margin-left: auto; }
.wg-cart-page { padding: 0 0 24px; color: #13213d; }
html body#cart #main.wg-cart-page { width: 100% !important; max-width: 1256px !important; margin: 0 !important; }
.wg-mobile-voucher { display: none; }
.wg-cart-page__head { display: flex; align-items: flex-end; justify-content: space-between; margin: 26px 0 32px; }
.wg-cart-page__head h1 { margin: 0; font-family: 'Barlow Condensed','Arial Narrow',sans-serif; font-size: 52px; line-height: 1.02; font-weight: 700; letter-spacing: -.005em; color: #13213d; }
.wg-cart-page__head > span { padding-bottom: 5px; color: #52617d; font-size: 16px; }
.wg-cart-page__layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 32px; align-items: start; }
.wg-cart-free { padding: 16px 18px; margin-bottom: 16px; border: 1px solid #dce5f2; border-radius: 14px; background: #fff; }
.wg-cart-free p { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 15px; }
.wg-cart-free p .material-icons { font-size: 18px; color: #2a6bd1; }
.wg-cart-free__track { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: #dce5f2; }
.wg-cart-free__track span { display: block; height: 100%; border-radius: inherit; background: #2a6bd1; transition: width .25s ease; }
.wg-cart-lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid #dce5f2; }
.wg-cart-line { display: grid; grid-template-columns: 96px minmax(0,1fr) 126px 110px 40px; gap: 18px; align-items: center; min-height: 136px; padding: 20px 0; border-bottom: 1px solid #dce5f2; }
.wg-cart-line__image { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 12px; background: #EAF2FD; }
.wg-cart-line__image img { max-width: 82px; max-height: 82px; object-fit: contain; }
.wg-cart-line__info { min-width: 0; }
.wg-cart-line__brand { display: block; margin-bottom: 4px; color: #52617d; font-family: 'JetBrains Mono',monospace; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wg-cart-line__name { display: block; margin-bottom: 4px; color: #13213d; font-size: 16px; line-height: 1.25; font-weight: 700; text-decoration: none; }
.wg-cart-line__variant { display: block; color: #52617d; font-size: 14px; }
.wg-cart-line__unit { display: inline-block; margin-top: 5px; color: #13213d; font-weight: 700; }
.wg-cart-line__old { margin-left: 8px; color: #71809a; font-size: 13px; text-decoration: line-through; }
.wg-cart-line__qty { display: grid; grid-template-columns: 44px 38px 44px; height: 46px; overflow: hidden; border: 1px solid #cbd8e9; border-radius: 11px; background: #fff; }
.wg-cart-line__qty button { border: 0; background: #fff; color: #52617d; font-size: 20px; cursor: pointer; }
.wg-cart-line__qty input { width: 38px; padding: 0; border: 0; border-right: 1px solid #dce5f2; border-left: 1px solid #dce5f2; background: #EAF2FD; color: #13213d; font-weight: 700; text-align: center; -moz-appearance: textfield; }
.wg-cart-line__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wg-cart-line__total { font-family: 'Barlow Condensed','Arial Narrow',sans-serif; font-size: 22px; text-align: right; }
.wg-cart-line__remove { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: #13213d; text-decoration: none; }
.wg-cart-line__remove .material-icons { font-size: 19px; }
.wg-cart-page__below { display: flex; justify-content: space-between; padding: 18px 2px 0; }
.wg-cart-page__below a { color: #1d52a8; font-weight: 600; text-decoration: none; }
.wg-cart-summary { position: sticky; top: 18px; padding: 24px; border: 1px solid #dce5f2; border-radius: 16px; background: #fff; }
.wg-cart-summary h2 { margin: 0 0 18px; font-family: 'Barlow Condensed','Arial Narrow',sans-serif; font-size: 28px; color: #13213d; }
.wg-cart-summary__line { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 14px; color: #52617d; font-size: 15px; }
.wg-cart-summary__line strong { color: #13213d; }
.wg-cart-summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #dce5f2; font-weight: 700; }
.wg-cart-summary__total small { color: #52617d; font-size: 13px; font-weight: 400; }
.wg-cart-summary__total strong { font-family: 'Barlow Condensed','Arial Narrow',sans-serif; font-size: 30px; }
.wg-cart-summary__tax { margin: 8px 0 18px; color: #52617d; font-size: 12px; text-align: right; }
.wg-cart-summary__voucher { padding-top: 16px; border-top: 1px solid #dce5f2; }
.wg-cart-summary__voucher .promo-code-button { color: #13213d; font-weight: 700; }
.wg-cart-summary .cart-detailed-actions { margin-top: 18px; }
.wg-cart-summary__secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; color: #52617d; font-size: 12px; }
.wg-cart-summary__secure .material-icons { font-size: 16px; color: #168552; }
@media (max-width: 991px) {
  .wg-cart-page__layout { grid-template-columns: 1fr; }
  .wg-cart-summary { position: static; }
  .wg-cart-line { grid-template-columns: 80px minmax(0,1fr) 110px 90px 40px; gap: 12px; }
}
@media (max-width: 767px) {
  body#cart #wrapper > .container { padding-right: 18px; padding-left: 18px; }
  .wg-cart-page__head { margin: 22px 0; }
  .wg-cart-page__head h1 { font-size: 40px; }
  .wg-cart-page__head > span { display: none; }
  .wg-cart-line { grid-template-columns: 74px minmax(0,1fr) 36px; gap: 12px; padding: 16px 0; }
  .wg-cart-line__image { width: 74px; height: 84px; }
  .wg-cart-line__image img { max-width: 66px; max-height: 72px; }
  .wg-cart-line__qty { grid-column: 2; grid-row: 2; }
  .wg-cart-line__total { grid-column: 2; text-align: right; }
  .wg-cart-line__remove { grid-column: 3; grid-row: 1; }
}

@media (max-width: 575px) {
  html body#cart #main.wg-cart-page {
    padding: 14px 16px 32px !important;
  }

  html body#cart .wg-cart-summary,
  html body#cart .wg-cart-summary__total,
  html body#cart .wg-cart-summary .cart-detailed-actions,
  html body#cart .wg-cart-summary .checkout {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  html body#cart .wg-cart-summary__total {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 4px 0 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid #dce5f2 !important;
    background: transparent !important;
  }

  html body#cart .wg-cart-summary .cart-detailed-actions {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
  }

  html body#cart .wg-cart-summary .checkout .btn {
    width: 100% !important;
    min-height: 50px !important;
    border-radius: 10px !important;
  }

  html body#cart .wg-cart-bestsellers,
  html body#cart .pxb-section--products.wg-cart-bestsellers {
    margin: 24px 0 0 !important;
    padding: 26px 0 24px !important;
    border-top: 1px solid #dce5f2 !important;
  }

  html body#cart .wg-cart-bestsellers .pxb-section__head {
    margin-bottom: 18px !important;
  }

  html body#cart .wg-cart-bestsellers .pxb-section__title {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    font-size: 32px !important;
    line-height: 1.03 !important;
  }

  html body#cart .wg-cart-bestsellers .pxb-products--cards {
    height: 292px !important;
    min-height: 292px !important;
    max-height: 292px !important;
  }
}



/* R921 — checkout views 18–21 translated from the supplied HTML */
body#checkout .wg-checkout-header { border-bottom: 1px solid #dce5f2; background: #fff; }
body#checkout .wg-checkout-header__inner { display: flex; min-height: 76px; align-items: center; gap: 24px; }
body#checkout .wg-checkout-header__logo { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: #13213d; text-decoration: none; }
body#checkout .wg-checkout-header__logo img { width: 52px; height: 52px; object-fit: contain; }
body#checkout .wg-checkout-header__logo .wg-logo__text { display: flex; flex-direction: column; }
body#checkout .wg-checkout-header__logo .wg-logo__name { font-family: 'Barlow Condensed','Arial Narrow',sans-serif; font-size: 25px; line-height: 1; font-weight: 700; }
body#checkout .wg-checkout-header__logo .wg-logo__tagline { margin-top: 4px; font-family: 'JetBrains Mono',monospace; font-size: 9px; line-height: 1; letter-spacing: .17em; }
body#checkout .wg-checkout-header__secure { display: inline-flex; padding: 9px 14px; align-items: center; gap: 8px; border-radius: 999px; background: #E7F5EE; color: #168552; font-size: 14px; font-weight: 700; white-space: nowrap; }
body#checkout .wg-checkout-header__help { display: flex; margin-left: auto; align-items: center; gap: 5px; color: #52617d; font-size: 14px; white-space: nowrap; }
body#checkout .wg-checkout-header__help :is(a,span) { color: #1d52a8; font-weight: 700; text-decoration: none; }
body#checkout .wg-checkout-header__back { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; color: #13213d; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
body#checkout #wrapper { padding: 0; background: #f5f8fe; }
body#checkout #wrapper > .container { width: 100%; max-width: 1320px; padding: 0 32px; }
body#checkout #content-wrapper { float: none; width: 100%; padding: 0; }
body#checkout #content { width: 100%; padding: 32px 0; }
.wg-checkout-progress { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 28px; }
.wg-checkout-progress__item { position: relative; display: flex; align-items: center; gap: 10px; color: #52617d; font-size: 14px; font-weight: 700; }
.wg-checkout-progress__item:not(:last-child)::after { content: ""; height: 1px; flex: 1; margin: 0 12px; background: #cbd8e9; }
.wg-checkout-progress__item b { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #cbd8e9; border-radius: 50%; color: #52617d; background: transparent; font-size: 14px; }
#content:has(#checkout-personal-information-step.-current) .wg-checkout-progress__item[data-step="1"],
#content:has(#checkout-addresses-step.-current) .wg-checkout-progress__item[data-step="2"],
#content:has(#checkout-delivery-step.-current) .wg-checkout-progress__item[data-step="3"],
#content:has(#checkout-payment-step.-current) .wg-checkout-progress__item[data-step="4"] { color: #13213d; }
#content:has(#checkout-personal-information-step.-current) .wg-checkout-progress__item[data-step="1"] b,
#content:has(#checkout-addresses-step.-current) .wg-checkout-progress__item[data-step="2"] b,
#content:has(#checkout-delivery-step.-current) .wg-checkout-progress__item[data-step="3"] b,
#content:has(#checkout-payment-step.-current) .wg-checkout-progress__item[data-step="4"] b { border-color: #2a6bd1; background: #2a6bd1; color: #fff; }
.wg-checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 32px; margin: 0; }
.wg-checkout-layout > .cart-grid-body,
.wg-checkout-layout > .cart-grid-right { float: none; width: auto; max-width: none; padding: 0; }
body#checkout section.checkout-step { margin: 0 0 14px; border: 1px solid #d5e0ef; border-radius: 16px; background: transparent; box-shadow: none; overflow: hidden; }
body#checkout section.checkout-step.-current { border: 2px solid #2a6bd1; background: #fff; }
body#checkout section.checkout-step .step-title { display: flex; align-items: center; min-height: 70px; margin: 0; padding: 18px 28px; font-family: 'Barlow Condensed','Arial Narrow',sans-serif; font-size: 24px; line-height: 1; font-weight: 700; color: #52617d; text-transform: none; }
body#checkout section.checkout-step.-current .step-title { color: #111; }
body#checkout section.checkout-step .step-title .step-number { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 14px; padding: 0; border: 1px solid #cbd8e9; border-radius: 50%; background: transparent; color: #52617d; font-family: Inter,sans-serif; font-size: 14px; }
body#checkout section.checkout-step.-current .step-title .step-number { border-color: #2a6bd1; background: #2a6bd1; color: #fff; }
body#checkout section.checkout-step .step-title .done,
body#checkout section.checkout-step .step-title .step-edit { display: none; }
body#checkout section.checkout-step .content { padding: 0 28px 28px; }
body#checkout section.checkout-step .nav { display: inline-flex; margin-bottom: 22px; padding: 4px; border-radius: 10px; background: #EAF2FD; }
body#checkout section.checkout-step .nav-link { padding: 11px 18px; border: 0; border-radius: 8px; color: #52617d; font-weight: 700; }
body#checkout section.checkout-step .nav-link.active { background: #fff; color: #13213d; }
body#checkout section.checkout-step .form-control { min-height: 46px; padding: 0 14px; border: 1px solid #cbd8e9; border-radius: 10px; background: #fff; }
body#checkout section.checkout-step .form-control:focus { border-color: #2a6bd1; box-shadow: 0 0 0 3px rgba(42,107,209,.12); }
body#checkout section.checkout-step .form-footer { padding-top: 12px; text-align: right; }
body#checkout section.checkout-step .form-footer .btn-primary { min-width: 176px; min-height: 54px; border-radius: 11px; background: #2a6bd1; border-color: #2a6bd1; font-size: 16px; text-transform: none; }
body#checkout #js-checkout-summary { position: sticky; top: 18px; padding: 24px; border: 1px solid #d5e0ef; border-radius: 16px; background: #fff; box-shadow: none; }
body#checkout #js-checkout-summary > .card-block { padding: 0; }
.wg-checkout-summary__title { margin: 0 0 14px; font-family: 'Barlow Condensed','Arial Narrow',sans-serif; font-size: 28px; color: #111; }
body#checkout .cart-summary-products { margin: 0; padding: 0 0 14px; border-bottom: 1px solid #dce5f2; }
body#checkout .cart-summary-products > p { margin: 0 0 12px; color: #13213d; font-size: 14px; font-weight: 700; }
body#checkout #cart-summary-product-list { display: block !important; }
body#checkout #cart-summary-product-list .media-list { margin: 0; }
body#checkout #cart-summary-product-list .media { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 12px; margin: 0 0 10px; }
body#checkout #cart-summary-product-list .media-left { padding: 0; }
body#checkout #cart-summary-product-list img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #EAF2FD; }
body#checkout #cart-summary-product-list .media-body { width: auto; font-size: 12px; }
body#checkout #cart-summary-product-list .product-name a { display: block; padding-right: 55px; color: #111; font-size: 14px; line-height: 1.1; font-weight: 700; }
body#checkout #cart-summary-product-list .product-price { color: #111; font-size: 13px; font-weight: 700; }
body#checkout .cart-summary-subtotals-container { padding: 14px 0; }
body#checkout .cart-summary-line { margin-bottom: 10px; color: #52617d; font-size: 14px; }
body#checkout .cart-summary-line .value { color: #111; font-weight: 700; }
body#checkout .cart-summary-totals { padding: 16px 0; border-top: 1px solid #dce5f2; border-bottom: 1px solid #dce5f2; }
body#checkout .cart-summary-totals .cart-total .label { color: #111; font-weight: 700; }
body#checkout .cart-summary-totals .cart-total .value { font-family: 'Barlow Condensed','Arial Narrow',sans-serif; font-size: 30px; color: #111; }
body#checkout #js-checkout-summary .block-promo { padding: 16px 0 0; }
body#checkout .wg-checkout-footer { margin: 0; border: 0; background: #0e2a5a; color: #d6e2f7; }
body#checkout .wg-checkout-footer__inner { min-height: 64px; padding: 18px 0; flex-direction: row; justify-content: space-between; text-align: left; }
body#checkout .wg-checkout-footer nav { display: flex; gap: 28px; }
body#checkout .wg-checkout-footer a { color: #d6e2f7; text-decoration: underline; }
@media (min-width: 576px) {
  body#checkout .wg-mobile-checkoutbar,
  body#checkout .wg-mobile-checkout-summary { display: none !important; }

  body#checkout .delivery-options { display: grid; gap: 12px; }
  body#checkout .delivery-option {
    display: flex;
    width: 100%;
    min-height: 72px;
    margin: 0;
    padding: 14px 16px;
    align-items: center;
    border: 1px solid #d5e0ef;
    border-radius: 12px;
    background: #fff;
    transition: border-color .16s ease, background-color .16s ease;
  }
  body#checkout .delivery-option:has(input:checked) { border: 2px solid #2a6bd1; background: #f5f8fe; }
  body#checkout .delivery-option > .col-sm-1 { display: flex; width: 40px; padding: 0; align-items: center; }
  body#checkout .delivery-option > .delivery-option-2 { width: calc(100% - 40px); margin: 0; padding: 0; }
  body#checkout .delivery-option > .delivery-option-2 > .row { display: grid; margin: 0; grid-template-columns: minmax(0,1.35fr) minmax(140px,.9fr) minmax(110px,.55fr); align-items: center; }
  body#checkout .delivery-option > .delivery-option-2 > .row > [class*="col-"] { float: none; width: auto; padding: 0 10px; }
  body#checkout .delivery-option .carrier-name { margin: 0; color: #13213d; font-size: 15px; font-weight: 700; text-transform: none; }
  body#checkout .delivery-option .carrier-delay { color: #52617d; font-size: 13px; }
  body#checkout .delivery-option .carrier-price { display: block; color: #13213d; font-size: 14px; font-weight: 700; text-align: right; }
  body#checkout .carrier-extra-content { margin: -4px 0 0; padding: 0 16px 12px 56px; border: 0; }
  body#checkout .order-options { margin-top: 18px; }
  body#checkout .order-options textarea { width: 100%; min-height: 84px; padding: 12px 14px; border: 1px solid #cbd8e9; border-radius: 10px; background: #fff; }
  body#checkout #checkout-delivery-step button.continue { min-width: 194px; min-height: 52px; margin-top: 18px; border-radius: 10px; text-transform: none; }

  body#checkout .payment-options { display: grid; gap: 12px; }
  body#checkout .payment-options > div > .payment-option {
    display: flex;
    min-height: 68px;
    padding: 14px 16px;
    align-items: center;
    border: 1px solid #d5e0ef;
    border-radius: 12px;
    background: #fff;
  }
  body#checkout .payment-options > div:has(input:checked) > .payment-option { border: 2px solid #2a6bd1; background: #f5f8fe; }
  body#checkout .payment-option label { display: flex; margin: 0 0 0 12px; align-items: center; gap: 12px; color: #13213d; font-size: 15px; font-weight: 700; }
  body#checkout .payment-option img { max-width: 88px; max-height: 34px; object-fit: contain; }
  body#checkout .additional-information { margin: -4px 0 4px; padding: 0 18px 12px 52px; color: #52617d; }
  body#checkout #conditions-to-approve { margin-top: 18px; padding-top: 18px; border-top: 1px solid #dce5f2; }
  body#checkout #conditions-to-approve ul { margin: 0; padding: 0; list-style: none; }
  body#checkout #conditions-to-approve li { display: flex; align-items: flex-start; gap: 10px; }
  body#checkout #payment-confirmation { margin-top: 18px; }
  body#checkout #payment-confirmation .btn { min-height: 52px; padding: 0 24px; border-radius: 10px; text-transform: none; }
}
@media (max-width: 991px) {
  .wg-checkout-layout { grid-template-columns: 1fr; }
  body#checkout #js-checkout-summary { position: static; }
  body#checkout .wg-checkout-header__inner { padding-right: 18px; padding-left: 18px; gap: 16px; }
  body#checkout .wg-checkout-header__secure { display: none; }
  body#checkout .wg-checkout-header__logo .wg-logo__name { font-size: 22px; }
  body#checkout .wg-checkout-header__help { font-size: 13px; }
  body#checkout .wg-checkout-header__back { font-size: 13px; }
}
@media (max-width: 767px) {
  body#checkout #wrapper > .container { padding: 0 18px; }
  body#checkout #content { padding: 20px 0; }
  .wg-checkout-progress__item { font-size: 0; }
  .wg-checkout-progress__item b { font-size: 14px; }
  body#checkout section.checkout-step .step-title { padding: 16px 18px; font-size: 21px; }
  body#checkout section.checkout-step .content { padding: 0 18px 20px; }
  body#checkout .wg-checkout-footer__inner { align-items: flex-start; padding: 18px; flex-direction: column; }
  body#checkout .wg-checkout-footer nav { gap: 12px; flex-wrap: wrap; }
}



@media (max-width: 991px) {
  body#cart #wrapper { padding-top: 24px; }
  body#cart .wg-empty-cart { padding: 56px 0; }
  body#cart .wg-empty-cart h1 { font-size: clamp(36px, 10vw, 46px); line-height: 1.05; }
  body#cart .wg-empty-cart__actions .btn { min-height: 52px; }
}

