/* ==========================================================================
   CDL-CHECKOUT.CSS — Condalab Checkout Page Styles
   Scoped to body#checkout (PS checkout page ID)
   ========================================================================== */

/* ---------- Reset PS defaults ---------- */
body#checkout #content-wrapper {
  padding: 0;
  max-width: 100%;
}
body#checkout #content {
  padding: 0;
}
body#checkout #wrapper {
  padding-top: 0;
}

/* ---------- Checkout layout (CSS grid) ---------- */
body#checkout .cdl-checkout-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

body#checkout .cdl-checkout-title {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 32px 0 8px;
}

/* ---------- Progress Bar ---------- */
.cdl-checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 0 36px;
  padding: 20px 0;
}

.cdl-checkout-progress__step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cdl-checkout-progress__circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  background: #e5e7eb;
  color: #6b7280;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cdl-checkout-progress__check {
  display: none;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
}

.cdl-checkout-progress__num {
  display: inline;
}

.cdl-checkout-progress__label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.cdl-checkout-progress__line {
  width: 64px;
  height: 2px;
  background: #e5e7eb;
  margin: 0 12px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

/* Progress states */
.cdl-checkout-progress__step.--current .cdl-checkout-progress__circle {
  background: #EBBE18;
  color: #fff;
}
.cdl-checkout-progress__step.--current .cdl-checkout-progress__label {
  color: #1a1a1a;
}

.cdl-checkout-progress__step.--complete .cdl-checkout-progress__circle {
  background: #009A17;
  color: #fff;
}
.cdl-checkout-progress__step.--complete .cdl-checkout-progress__check {
  display: inline;
}
.cdl-checkout-progress__step.--complete .cdl-checkout-progress__num {
  display: none;
}
.cdl-checkout-progress__step.--complete .cdl-checkout-progress__label {
  color: #009A17;
}

.cdl-checkout-progress__line.--done {
  background: #009A17;
}

/* ---------- Main grid ---------- */
body#checkout .cdl-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

/* ---------- Step sections (left column) ---------- */
body#checkout .checkout-step {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

body#checkout .checkout-step.-current {
  border-color: #EBBE18;
}

body#checkout .checkout-step .step-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 20px 24px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: default;
  border: none !important;
  border-bottom: none !important;
  background: transparent;
}

/* Step number circle */
body#checkout .checkout-step .step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  background: #e5e7eb;
  color: #6b7280;
  flex-shrink: 0;
  line-height: 1;
}

body#checkout .checkout-step.-current .step-number {
  background: #EBBE18;
  color: #fff;
}

body#checkout .checkout-step.-complete .step-number {
  background: #009A17;
  color: #fff;
}

/* Done checkmark icon */
body#checkout .checkout-step .step-title .done {
  display: none;
}
body#checkout .checkout-step.-complete .step-title .done {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  background: #009A17;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  text-align: center;
}
body#checkout .checkout-step.-complete .step-number {
  display: none;
}

/* Edit link */
body#checkout .checkout-step .step-edit {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  display: none;
  cursor: pointer;
  gap: 4px;
  align-items: center;
}
body#checkout .checkout-step .step-edit .edit {
  font-size: 16px;
}
body#checkout .checkout-step.-complete.-reachable .step-edit {
  display: flex;
}
body#checkout .checkout-step.-complete.-reachable .step-edit:hover {
  color: #EBBE18;
}

/* Step content */
body#checkout .checkout-step .content {
  padding: 0 24px 24px;
}
body#checkout .checkout-step:not(.-current) .content {
  display: none;
}

/* Unreachable steps */
body#checkout .checkout-step:not(.-current):not(.-complete):not(.-reachable) {
  opacity: 0.5;
}

/* ---------- Form elements ---------- */
body#checkout .form-group {
  margin-bottom: 16px;
}

body#checkout .form-group label,
body#checkout label.form-control-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

body#checkout .form-control,
body#checkout input[type="text"],
body#checkout input[type="email"],
body#checkout input[type="tel"],
body#checkout input[type="password"],
body#checkout input[type="number"],
body#checkout select,
body#checkout textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

body#checkout .form-control:focus,
body#checkout input[type="text"]:focus,
body#checkout input[type="email"]:focus,
body#checkout input[type="tel"]:focus,
body#checkout input[type="password"]:focus,
body#checkout select:focus,
body#checkout textarea:focus {
  border-color: #EBBE18;
  box-shadow: 0 0 0 3px rgba(235, 190, 24, 0.15);
}

body#checkout select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 36px;
}

body#checkout textarea {
  resize: vertical;
  min-height: 80px;
}

/* Form row 2-column layout (only for address/customer forms, NOT delivery) */
body#checkout .js-address-form .form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

body#checkout .js-address-form .form-fields > .form-group:only-child,
body#checkout .js-address-form .form-fields > .form-group[class*="col-md-12"],
body#checkout .js-address-form .form-fields > .form-group.form-group-full {
  grid-column: 1 / -1;
}

/* PS form groups often use col-md-6 */
body#checkout .js-address-form .form-fields .col-md-6 {
  float: none;
  width: 100%;
  padding: 0;
}
body#checkout .js-address-form .form-fields .col-md-12 {
  float: none;
  width: 100%;
  padding: 0;
  grid-column: 1 / -1;
}

/* Delivery form: single column */
body#checkout #js-delivery .form-fields {
  display: block;
}

/* ---------- Custom checkbox ---------- */
body#checkout .custom-checkbox {
  display: inline-flex !important;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  width: auto !important;
  height: auto !important;
  border: none !important;
  background: none !important;
}

body#checkout .custom-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  position: relative;
  opacity: 1 !important;
}

body#checkout .custom-checkbox input[type="checkbox"]:checked {
  background: #EBBE18;
  border-color: #EBBE18;
}

body#checkout .custom-checkbox input[type="checkbox"] + span {
  display: none;
}

body#checkout .custom-checkbox label {
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}

/* ---------- Custom radio ---------- */
body#checkout .custom-radio {
  position: relative;
  width: auto !important;
  height: auto !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

body#checkout .custom-radio input[type="radio"] {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  opacity: 1 !important;
}

body#checkout .custom-radio input[type="radio"]:checked {
  border-color: #EBBE18;
  background: #fff;
  box-shadow: inset 0 0 0 4px #EBBE18;
}

body#checkout .custom-radio span {
  display: none;
}

/* ---------- Address cards ---------- */
body#checkout .js-address-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

body#checkout .address-item {
  border: 2px solid #e5e7eb !important;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

body#checkout .address-item.selected {
  border-color: #EBBE18 !important;
  box-shadow: 0 0 0 3px rgba(235, 190, 24, 0.1);
}

body#checkout .address-item header {
  margin: 0;
}

body#checkout .address-item .radio-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  flex-wrap: wrap;
}

body#checkout .address-item .address-alias {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

body#checkout .address-item .address {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  width: 100%;
  margin-top: 8px;
}

body#checkout .address-item hr {
  border: none;
  border-top: 1px solid #f3f4f6;
  margin: 12px 0;
}

body#checkout .address-item .address-footer {
  display: flex;
  gap: 16px;
}

body#checkout .address-item .address-footer a {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
body#checkout .address-item .address-footer a:hover {
  color: #EBBE18;
}
body#checkout .address-item .address-footer .material-icons {
  font-size: 16px;
}

/* Add new address link */
body#checkout .add-address a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #EBBE18;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
body#checkout .add-address a:hover {
  color: #d4ab15;
}

/* Different invoice address link */
body#checkout a[data-link-action="different-invoice-address"] {
  font-size: 13px;
  color: #EBBE18;
  text-decoration: none;
}
body#checkout a[data-link-action="different-invoice-address"]:hover {
  color: #d4ab15;
  text-decoration: underline;
}

/* ---------- Delivery options ---------- */
body#checkout .delivery-options-list {
  margin: 0;
}

body#checkout .delivery-option {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

body#checkout .delivery-option:has(input:checked) {
  border-color: #EBBE18;
  background: rgba(235, 190, 24, 0.03);
}

body#checkout .delivery-option .col-sm-1 {
  width: auto;
  padding: 0;
  flex-shrink: 0;
}

body#checkout .delivery-option label.delivery-option-2 {
  width: 100%;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

body#checkout .delivery-option label .row {
  display: flex;
  align-items: center;
  margin: 0;
}

body#checkout .delivery-option .col-sm-1,
body#checkout .delivery-option .col-sm-5,
body#checkout .delivery-option .col-sm-4,
body#checkout .delivery-option .col-sm-3,
body#checkout .delivery-option .col-xs-9,
body#checkout .delivery-option .col-xs-12,
body#checkout .delivery-option .col-sm-11 {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

body#checkout .delivery-option .col-xs-9.col-sm-11 {
  flex: 1;
}

body#checkout .delivery-option .carrier-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

body#checkout .delivery-option .carrier-delay {
  font-size: 13px;
  color: #6b7280;
  margin: 0 16px;
}

body#checkout .delivery-option .carrier-price {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-left: auto;
}

body#checkout .delivery-option .carrier-logo img {
  max-height: 32px;
  width: auto;
}

/* Order options (delivery message, gift, etc.) */
body#checkout .order-options {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

body#checkout .order-options label {
  font-size: 13px;
  color: #374151;
  margin-bottom: 6px;
}

body#checkout .order-options textarea {
  width: 100%;
  min-height: 60px;
}

/* ---------- Payment options ---------- */
body#checkout .payment-options > div {
  margin-bottom: 12px;
}

body#checkout .payment-option {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

body#checkout .payment-option:has(input:checked) {
  border-color: #EBBE18;
  background: rgba(235, 190, 24, 0.03);
}

body#checkout .payment-option label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

body#checkout .payment-option label img {
  max-height: 28px;
  width: auto;
}

/* Additional payment info */
body#checkout .additional-information {
  padding: 12px 20px 12px 52px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

/* ---------- Conditions to approve ---------- */
body#checkout #conditions-to-approve {
  margin: 20px 0;
}

body#checkout #conditions-to-approve ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body#checkout #conditions-to-approve li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

body#checkout #conditions-to-approve .float-xs-left {
  float: none;
  flex-shrink: 0;
}

body#checkout #conditions-to-approve .condition-label {
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
  position: relative;
  top: -4px;
}

body#checkout #conditions-to-approve .condition-label a {
  color: #EBBE18;
  text-decoration: underline;
}

/* ---------- Buttons ---------- */
body#checkout .btn-primary,
body#checkout button.continue,
body#checkout button[name="confirm-addresses"],
body#checkout button[name="confirmDeliveryOption"] {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #EBBE18 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 32px !important;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body#checkout .btn-primary:hover,
body#checkout button.continue:hover {
  background: #d4ab15 !important;
}

body#checkout .btn-primary:active,
body#checkout button.continue:active {
  transform: scale(0.98);
}

body#checkout .btn-primary.disabled,
body#checkout .btn-primary:disabled {
  background: #d1d5db !important;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Float override for continue buttons */
body#checkout .checkout-step .float-xs-right {
  float: none !important;
}
body#checkout .clearfix:has(button.continue) {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
body#checkout #js-delivery {
  display: flex;
  flex-direction: column;
}
body#checkout #js-delivery .form-fields {
  order: 1;
}
body#checkout #js-delivery button.continue {
  float: none !important;
  margin-top: 20px;
  order: 2;
  align-self: flex-end;
}

/* Payment confirmation button */
body#checkout #payment-confirmation .btn-primary {
  width: 100%;
  padding: 16px 32px !important;
  font-size: 15px;
}

/* ---------- Summary panel (right column) ---------- */
body#checkout .cdl-checkout-summary {
  position: sticky;
  top: 120px;
}

body#checkout #js-checkout-summary {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body#checkout #js-checkout-summary .card-block {
  padding: 24px;
}

/* Summary title */
body#checkout .cdl-checkout-summary__title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 16px;
}

/* Product list in summary */
body#checkout .cart-summary-products {
  margin-bottom: 16px;
}

body#checkout .cart-summary-products > p:first-child {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

body#checkout .cart-summary-products .js-show-details {
  font-size: 13px;
  color: #EBBE18;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
body#checkout .cart-summary-products .js-show-details:hover {
  color: #d4ab15;
}
body#checkout .cart-summary-products .js-show-details .material-icons {
  font-size: 18px;
}

/* Product lines in summary */
body#checkout .cart-summary-products .media-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

body#checkout .cart-summary-products .media {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  align-items: center;
}

body#checkout .cart-summary-products .media:last-child {
  border-bottom: none;
}

body#checkout .cart-summary-products .media img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

body#checkout .cart-summary-products .media .media-body {
  flex: 1;
  min-width: 0;
}

body#checkout .cart-summary-products .media .product-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body#checkout .cart-summary-products .media .product-quantity {
  font-size: 12px;
  color: #6b7280;
}

body#checkout .cart-summary-products .media .product-price {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  flex-shrink: 0;
}

/* Subtotals */
body#checkout .cart-summary-subtotals {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
}

body#checkout .cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

body#checkout .cart-summary-line .label {
  color: #6b7280;
  font-weight: 400;
  font-size: 14px;
  padding: 0;
  background: none;
}

body#checkout .cart-summary-line .value {
  font-weight: 600;
  color: #1a1a1a;
}

/* Total */
body#checkout .cart-summary-totals {
  border-top: 1px solid #e5e7eb;
  padding: 16px 24px;
}

body#checkout .cart-summary-totals .cart-summary-line {
  font-size: 16px;
}

body#checkout .cart-summary-totals .cart-summary-line .label {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 15px;
  text-transform: uppercase;
}

body#checkout .cart-summary-totals .cart-summary-line .value {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 18px;
}

/* Voucher section in summary */
body#checkout .block-promo {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
}

body#checkout .block-promo .promo-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

body#checkout .block-promo .promo-code {
  display: flex;
  gap: 8px;
}

body#checkout .block-promo .promo-code input {
  flex: 1;
  font-size: 13px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

body#checkout .block-promo .promo-code .btn {
  font-size: 13px;
  padding: 8px 16px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Checkout uses full site header/footer ---------- */
/* Override theme.css body#checkout #footer { background: white } */
body#checkout #footer {
  background-color: #000 !important;
}

/* ---------- Modal (address form modal) ---------- */
body#checkout .js-checkout-modal .modal-content {
  border-radius: 12px;
  border: none;
  overflow: hidden;
}

body#checkout .js-checkout-modal .modal-content .close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 1;
  font-size: 24px;
  color: #6b7280;
}

/* ---------- Personal info step (logged in) ---------- */
body#checkout .checkout-step #checkout-personal-information-step .identity,
body#checkout .checkout-step .identity {
  font-size: 14px;
  color: #374151;
}

body#checkout .checkout-step .identity a {
  color: #EBBE18;
  font-weight: 600;
}

/* ---------- Alerts ---------- */
body#checkout .alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  padding: 12px 16px;
  font-size: 13px;
}

body#checkout .alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  color: #92400e;
  padding: 12px 16px;
  font-size: 13px;
}

/* ---------- Reassurance block ---------- */
body#checkout .cdl-checkout-summary .blockreassurance_product {
  margin-top: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  body#checkout .cdl-checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body#checkout .cdl-checkout-summary {
    position: static;
  }

  body#checkout .cdl-checkout-progress__line {
    width: 32px;
    margin: 0 6px;
  }

  body#checkout .cdl-checkout-progress__label {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  body#checkout .cdl-checkout-wrapper {
    padding: 0 16px 32px;
  }

  body#checkout .cdl-checkout-title {
    font-size: 22px;
    margin: 24px 0 4px;
  }

  body#checkout .cdl-checkout-progress {
    margin-bottom: 24px;
    padding: 16px 0;
  }

  body#checkout .cdl-checkout-progress__circle {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  body#checkout .cdl-checkout-progress__label {
    display: none;
  }

  body#checkout .cdl-checkout-progress__line {
    width: 24px;
    margin: 0 4px;
  }

  body#checkout .checkout-step .step-title {
    padding: 16px;
    font-size: 14px;
  }

  body#checkout .checkout-step .step-number,
  body#checkout .checkout-step.-complete .step-title .done {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  body#checkout .checkout-step .content {
    padding: 0 16px 16px;
  }

  body#checkout .form-fields {
    grid-template-columns: 1fr;
  }

  body#checkout .delivery-option {
    flex-wrap: wrap;
  }

  body#checkout .delivery-option label .row {
    flex-wrap: wrap;
    gap: 4px;
  }

  body#checkout .delivery-option .carrier-delay {
    margin: 0;
  }

  body#checkout .btn-primary,
  body#checkout button.continue {
    width: 100%;
    justify-content: center;
  }

  body#checkout .clearfix:has(button.continue) {
    justify-content: stretch;
  }
}

/* ---------- Order Confirmation page ---------- */
body#order-confirmation #content-hook_order_confirmation a {
  color: #c9a214;
  text-decoration: underline;
}
body#order-confirmation #content-hook_order_confirmation a:hover {
  color: #a8870f;
}

body#order-confirmation .table-success,
body#order-confirmation .table-success > td,
body#order-confirmation .table-success > th {
  background-color: #EBBE18;
}

body#order-confirmation .total-value,
body#order-confirmation .total-value > td {
  background-color: #EBBE18;
}
