.gd-delivery-estimate-note {
  clear: both;
  margin: 4px 0 12px;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}

.gd-relay-required-message {
  clear: both;
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.45;
}

.gd-delivery-step-hint {
  clear: both;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
}

#checkout-payment-step .payment-option.gd-card-only-payment .custom-radio,
#checkout-payment-step .payment-option.gd-card-only-payment > input[type="radio"] {
  display: none !important;
}

#checkout-payment-step .payment-option.gd-card-only-payment label {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

#gd-mobile-checkout-summary {
  display: none;
}

@media (max-width: 767px) {
  .gd-cart-actions-fixed {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  .gd-cart-actions-fixed .gd-cart-action-fixed {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    text-align: center !important;
  }

  .gd-cart-actions-fixed .gd-cart-action-wrapper {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #blockcart-modal .cart-content-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  #blockcart-modal .cart-content-btn .btn,
  #blockcart-modal .cart-content-btn a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 48px;
    margin: 0 !important;
    text-align: center !important;
  }

  .gd-original-checkout-summary,
  .gd-original-checkout-summary-column,
  #checkout #js-checkout-summary,
  body#checkout .cart-grid-right,
  body#checkout .cart-grid-right > .card.cart-summary {
    display: none !important;
  }

  #gd-mobile-checkout-summary {
    display: block;
    position: sticky;
    top: 0;
    z-index: 30;
    margin: 0 0 14px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  }

  .gd-mobile-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 0;
    background: #f7f7f7;
    color: #333;
    text-align: left;
  }

  .gd-mobile-summary-title {
    padding-right: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
  }

  .gd-mobile-summary-action {
    flex: 0 0 auto;
    color: #2d7dbb;
    font-size: 13px;
    font-weight: 600;
  }

  .gd-mobile-summary-details {
    padding: 10px 12px 4px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    line-height: 1.45;
  }

  .gd-mobile-product-line {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
  }

  .gd-mobile-total-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
  }

  .gd-mobile-delivery-hint {
    margin: 0;
    padding: 9px 12px;
    border-top: 1px solid #e5e5e5;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
  }

  #checkout-delivery-step .delivery-option label {
    line-height: 1.45;
  }

  #checkout-delivery-step button.continue,
  #checkout-payment-step #payment-confirmation button {
    width: 100%;
    min-height: 48px;
  }

  .gd-delivery-estimate-note,
  .gd-delivery-step-hint,
  .gd-relay-required-message {
    font-size: 14px;
  }
}
