/* ============================================
   CHECKOUT HEADER
   ============================================ */

/* Max width for checkout header */
.navbar-header {
  max-width: 1440px;
  margin: 0 auto;
}

/* Override flex-grow for checkout - logo shouldn't expand */
.navbar-header .logotype {
  flex-grow: 0;
}

/* Remove margin-left auto for checkout - space-between handles positioning */
.navbar-header .quick-access {
  margin-left: 0;
}

/* Checkout steps - placed in middle of navbar-header */
.navbar-header .checkout-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#content-wrapper > h1 {
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 2rem;
  padding-left: 15px;
  padding-top: 10px;
}

/* ============================================
   LOADER
   ============================================ */
.loader-wrapper {
  position: fixed;
  top: 50%;
  left: 10%;
  right: 10%;
  text-align: center;
  margin-top: -128px;
  opacity: 0.1;
  z-index: 999999;
}

/* ============================================
   VERTICAL CHECKOUT STEPS (ACCORDION STYLE)
   ============================================ */

.checkout-step {
  margin-bottom: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

/* Static step container (no collapse, no overflow hidden) */
.checkout-step-static {
  margin-bottom: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

/* Step Header (Clickable) */
.checkout-step-header {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  position: relative;
}

.checkout-step-header:hover {
  background: #f8f9fa;
}

/* Step Badge (Circle with Number) */
.step-badge {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
  border: 3px solid;
}

/* Locked Step Badge */
.step-badge.locked {
  background: #e9ecef;
  border-color: #ced4da;
  color: #6c757d;
}

/* Active Step Badge */
.step-badge.active {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

/* Complete Step Badge */
.step-badge.complete {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
}

/* Step Title */
.step-title {
  flex: 1;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

/* Step Status Icon */
.step-status {
  margin-left: auto;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.checkout-step[data-status="locked"] .step-status {
  color: #6c757d;
}

.checkout-step[data-status="active"] .step-status {
  color: #007bff;
}

.checkout-step[data-status="complete"] .step-status {
  color: #28a745;
}

/* Locked Step - No Hover */
.checkout-step[data-status="locked"] .checkout-step-header {
  cursor: not-allowed;
  opacity: 0.6;
}

.checkout-step[data-status="locked"] .checkout-step-header:hover {
  background: transparent;
}

/* Active Step - Highlight Border */
.checkout-step[data-status="active"] {
  border-color: #007bff;
  box-shadow: 0 2px 12px rgba(0, 123, 255, 0.15);
}

/* Complete Step - Green Border */
.checkout-step[data-status="complete"] {
  border-color: #28a745;
}

.checkout-step[data-status="complete"]:hover {
  border-color: #218838;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

/* Step Body (Collapsible Content) */
.checkout-step-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Step Section Content (Non-collapsing, no overflow hidden) */
.checkout-section-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ============================================
   STICKY SUMMARY SIDEBAR
   ============================================ */

.summary-sidebar {
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow: visible;
}

/* Smooth scrollbar for summary */
.summary-sidebar::-webkit-scrollbar {
  width: 8px;
}

.summary-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.summary-sidebar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.summary-sidebar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Mobile: Summary below steps */
@media (max-width: 767px) {
  .summary-sidebar {
    position: static;
    margin-top: 2rem;
    max-height: none;
  }

  .checkout-step-header {
    padding: 1rem;
  }

  .step-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1.1rem;
  }

  .step-title {
    font-size: 1rem;
  }

  .checkout-step-body {
    padding: 0 1rem 1rem 1rem;
  }
}

/* ============================================
   CONTINUE BUTTON STYLES
   ============================================ */

.btn-continue-step {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
}

/* ============================================
   HEADER SECTION
   ============================================ */

#header {
  display: flex;
  margin: 0 auto;
  align-items: center;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

#header .logotype img {
  max-width: 200px;
  max-height: 40px;
}

@media (min-width: 768px) {
  #header .logotype img {
    max-width: 250px;
    max-height: 80px;
  }
}

@media (min-width: 768px) {
  #header .logotype {
    width: 320px;
  }
}

#header .middle {
  flex-grow: 1;
}

#header .customer-service {
  align-self: center;
  text-align: end;
  line-height: 150%;
  flex-grow: 1;
}

@media (min-width: 768px) {
  #header .customer-service {
    flex-grow: 0;
    width: 320px;
    font-size: 1.25em;
  }
}

#header .customer-service .title {
  font-weight: bold;
  margin: 0;
}

/* ============================================
   CART SECTION
   ============================================ */

#box-checkout-cart {
  margin-top: 0;
}

#box-checkout-cart .row {
  margin-bottom: 0;
}

#box-checkout-cart [class*="col-"] {
  align-self: flex-start;
}

#box-checkout-cart .headings {
  font-weight: 600;
  padding: 0.5em var(--gutter-x);
  border-bottom: none;
  background: none;
}

#box-checkout-cart .items.list-unstyled .item {
  padding: 0 0 2rem 0;
}

#box-checkout-cart .item {
  display: flex;
  gap: 1.5rem;
}

#box-checkout-cart .item:nth-child(odd),
#box-checkout-cart .item:nth-child(even) {
  background: none;
}

/* Item Image */
#box-checkout-cart .item-image {
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  padding: 8px;
}

#box-checkout-cart .item-image img {
  width: 100px;
  height: auto;
  display: block;
  border-radius: 6px;
  mix-blend-mode: multiply;
}

/* Item Details (middle column) */
#box-checkout-cart .item-details {
  flex: 1;
  min-width: 0;
}

#box-checkout-cart .item-details .unit-price,
#box-checkout-cart .item-details .quantity-controls {
  display: inline-flex;
  vertical-align: middle;
}

/* Item Name */
#box-checkout-cart .item-name {
  margin-bottom: 0.75rem;
  padding-top: 8px;
}

#box-checkout-cart .item-name a {
  color: inherit;
  text-decoration: none;
  font-size: 15px;
  display: block;
}

#box-checkout-cart .item-name a:hover {
  text-decoration: underline;
}

#box-checkout-cart .item-options {
  color: #666;
  font-size: 12px;
}

#box-checkout-cart .item-error {
  color: var(--color-danger, #d32f2f);
  margin-top: 5px;
  font-size: 13px;
}

/* Item Total (third column) */
#box-checkout-cart .item-total {
  flex-shrink: 0;
  font-size: 1.1em;
  font-weight: 500;
  text-align: right;
  padding-top: 8px;
  min-width: 80px;
}

/* Unit Price */
#box-checkout-cart .unit-price {
  font-size: 1.1em;
  white-space: nowrap;
}

#box-checkout-cart .unit-price .original-price {
  display: inline-block;
  min-width: 70px;
  color: #999;
  text-decoration: line-through;
  margin-right: 0.5rem;
}

#box-checkout-cart .unit-price .current-price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 100px;
  color: #333;
}

#box-checkout-cart .unit-price .current-price svg {
  flex-shrink: 0;
}

/* Quantity Controls */
#box-checkout-cart .quantity-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

#box-checkout-cart .qty-btn {
  min-width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

#box-checkout-cart .qty-btn:hover {
  background: #f5f5f5;
}

#box-checkout-cart .qty-confirm-remove {
  min-width: auto;
  padding: 4px 12px;
  font-size: 0.85em;
  color: #333;
  background: transparent;
  border: 1px solid #333;
  border-radius: 4px;
}

#box-checkout-cart .qty-confirm-remove:hover {
  background: #333;
  color: #fff;
}


#box-checkout-cart .qty-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  min-width: 50px;
  height: 28px;
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
}

#box-checkout-cart .qty-remove {
  min-width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-left: 4px;
}

#box-checkout-cart .update-cart-btn {
  display: none;
}

#box-checkout-cart .subtotal {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  padding: 0 0 var(--gutter-y) 0;
}

#box-checkout-cart .subtotal .formatted-value {
  font-size: 1.1em;
}

/* ============================================
   CUSTOMER SECTION
   ============================================ */

#box-checkout-customer fieldset {
  border: none;
  padding: 0;
}

#box-checkout-customer .form-control {
  border-color: var(--input-border-color);
}

/* Expandable options in customer form - no x padding, no borders */
#box-checkout-customer .radio-option-wrapper[data-toggle="expandable"] .radio-option {
  padding: 4px 0 16px 0;
  border: none;
}

#box-checkout-customer .radio-option-wrapper[data-toggle="expandable"]:has(.radio-option--active) {
  border: none;
  margin: 0;
}

#box-checkout-customer .radio-option-wrapper[data-toggle="expandable"] fieldset {
  padding: 0;
  margin: 0;
}

#box-checkout-customer .radio-option-wrapper--collapsed fieldset {
  display: none;
}

#box-checkout-customer .customer-form-actions {
  padding-top: 20px;
}

/* Checkbox styling for expandable options (Company Details, Create Account) */
.radio-option .expandable-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #ccc;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s;
  box-shadow: none;
  background: transparent;
  margin: 0 16px 0 0;
}

.radio-option .expandable-checkbox:hover {
  border-color: #333;
  box-shadow: none;
}

.radio-option .expandable-checkbox:checked {
  border-color: #333;
  background: transparent;
  box-shadow: none;
}

.radio-option .expandable-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 12px;
  border: solid #333;
  border-width: 0 2px 2px 0;
  margin-top: -2px;
}

#box-checkout-customer button[type=submit]:not([disabled]) {
  font-weight: bold;
  /* Removed flasher animation - matches other checkout buttons now */
}

/* Input group styling in customer form */
#box-checkout-customer .input-group {
  border-radius: var(--input-border-radius);
}

#box-checkout-customer .input-group .input-group-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

#box-checkout-customer .input-group .input-group-text svg {
  flex-shrink: 0;
}

#box-checkout-customer .input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

#box-checkout-customer .input-group:focus-within .input-group-text {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Continue Button (Save Customer Details) */
#box-checkout-customer button[name="save_customer_details"] {
  padding: 15px 80px;
  font-size: 18px;
}

#box-checkout-customer button[name="save_customer_details"] i {
  margin-left: 10px;
}

/* Customer Summary (read-only display) */
.customer-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.customer-summary-header #customer-summary-content {
  font-size: 16px;
  line-height: 2rem;
}

.customer-summary-header #customer-summary-content strong {
  font-size: 18px;
  font-weight: normal;
}

/* ============================================
   SHIPPING & PAYMENT OPTIONS
   ============================================ */

/* Shipping validation error state */
#box-checkout-shipping .radio-control.has-error {
  border: 2px solid #cc0000;
  border-radius: var(--border-radius);
  padding: 10px;
  background: #fff5f5;
}

#box-checkout-shipping .radio-control.has-error .radio-option {
  border-color: #ffcccc;
}

#box-checkout-shipping .thumbnail,
#box-checkout-payment .thumbnail {
  padding: 0.5em;
  overflow: hidden;
}

#box-checkout-shipping .option,
#box-checkout-payment .option {
  position: relative;
  background: var(--card-background-color);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transition: all 250ms ease;
}

#box-checkout-shipping .option.btn,
#box-checkout-payment .option.btn {
  padding: 1em;
  white-space: normal;
}

#box-checkout-shipping .option.btn:first-child,
#box-checkout-payment .option.btn:first-child {
  border-start-start-radius: var(--border-radius);
  border-start-end-radius: var(--border-radius);
}

#box-checkout-shipping .option.btn:last-child,
#box-checkout-payment .option.btn:last-child {
  border-end-start-radius: var(--border-radius);
  border-end-end-radius: var(--border-radius);
}

#box-checkout-shipping .option.active,
#box-checkout-payment .option.active {
  background: #eaebef;
}

#box-checkout-shipping .option.disabled,
#box-checkout-payment .option.disabled {
  cursor: not-allowed;
}

#box-checkout-shipping .option:not(.active) .content,
#box-checkout-payment .option:not(.active) .content {
  max-height: 0;
  overflow-y: hidden;
}

#box-checkout-shipping .option .thumbnail,
#box-checkout-payment .option .thumbnail {
  padding: 0 !important;
}

#box-checkout-shipping .option .error,
#box-checkout-payment .option .error {
  color: #c00;
}

#box-checkout-shipping .option .content,
#box-checkout-payment .option .content {
  text-align: start;
  transition: all 0.25s ease;
}

#box-checkout-shipping .option .description,
#box-checkout-payment .option .description {
  margin-bottom: 1em;
}

#box-checkout-shipping .option hr,
#box-checkout-payment .option hr {
  margin: 1em 0;
  border-color: #ddd;
}

@media (min-width: 768px) {

  #box-checkout-shipping .price,
  #box-checkout-payment .price {
    position: absolute;
    display: inline-block;
    top: var(--gutter-y);
    right: var(--gutter-x);
  }
}

@media (min-width: 768px) {
  [dir="rtl"] .price {
    right: auto;
    left: var(--gutter-x);
  }
}

/* ============================================
   SUMMARY SECTION
   ============================================ */

#box-checkout-summary .error {
  align-self: center;
  font-size: 1.25em;
  color: #ff0000;
  text-align: center;
}

#box-checkout-summary input[type=checkbox][required]:not(:checked) {
  animation: flasher 1s linear infinite;
}

/* Summary Rows */
#box-checkout-summary .summary-rows {
  padding: 0 var(--gutter-x);
}

#box-checkout-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5em 0;
}

#box-checkout-summary .summary-row-label {
  font-weight: normal;
}

#box-checkout-summary .summary-row-value {
  text-align: right;
}

#box-checkout-summary .summary-row-tax {
  color: #999;
}

#box-checkout-summary .summary-row-total {
  border-top: 2px solid var(--default-border-color);
  padding-top: 0.75em;
  margin-top: 0.25em;
}

#box-checkout-summary .summary-row-subtotal {
  border-bottom: 1px solid var(--default-border-color);
  padding-bottom: 0.75em;
  margin-bottom: 0.5em;
}

#box-checkout-summary .summary-row-discount {
  color: #28a745;
}

#box-checkout-summary .discount-code-badge {
  display: inline-block;
  background-color: #fff;
  color: #28a745;
  border: 1px solid #28a745;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 500;
  margin-left: 4px;
}

#box-checkout-summary .summary-row-discount-input {
  padding: 0.5em 0 1em;
  border-bottom: 1px solid var(--default-border-color);
  margin-bottom: 0.5em;
  cursor: pointer;
  color: #495057;
  font-size: 0.9em;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

#box-checkout-summary .summary-row-discount-input .discount-label {
  flex: 1;
}

#box-checkout-summary .summary-row-discount-input .discount-chevron {
  transition: transform 0.2s;
}

#box-checkout-summary .summary-row-discount-input.expanded .discount-chevron {
  transform: rotate(90deg);
}

#box-checkout-summary .summary-row-discount-input:hover {
  color: var(--primary-color);
}


#box-checkout-summary .summary-row-discount-input.has-expanded {
  border-bottom: none;
  margin-bottom: 0;
}

#box-checkout-summary .discount-code-input:read-only {
  color: #000;
}

#box-checkout-summary .summary-row-discount-input + .summary-expandable-content {
  padding: 0 0 0.75em;
}

#box-checkout-summary .summary-row-discount-input + .summary-expandable-content.show {
  border-bottom: 1px solid var(--default-border-color);
  margin-bottom: 0.5em;
}


#box-checkout-summary .summary-row-without-vat {
  color: #666;
  font-size: 0.95em;
}

#box-checkout-summary .summary-row-vat {
  color: #666;
  font-size: 0.95em;
}

#box-checkout-summary .summary-row-order-total {
  border-top: 1px solid var(--default-border-color);
  padding-top: 0.75em;
  margin-top: 0.25em;
  font-size: 1.1em;
  font-weight: 700;
}

/* Expandable Sections */
#box-checkout-summary .summary-expandable-sections {
  padding: 0;
}

#box-checkout-summary .summary-expandable-link {
  display: block;
  padding: 10px var(--gutter-x);
  color: #495057;
  text-decoration: none;
  cursor: pointer;
  border-top: 1px solid var(--default-border-color);
}

#box-checkout-summary .summary-expandable-link:hover {
  color: var(--primary-color);
}

#box-checkout-summary .summary-expandable-link i {
  margin-right: 8px;
  transition: transform 0.2s;
}

#box-checkout-summary .summary-expandable-link.expanded i {
  transform: rotate(90deg);
}

#box-checkout-summary .summary-expandable-content {
  display: none;
  padding: 0 var(--gutter-x) var(--gutter-y);
}

#box-checkout-summary .summary-expandable-content.show {
  display: block !important;
}

/* Input Wrapper */
#box-checkout-summary .input-wrapper {
  position: relative;
}

#box-checkout-summary .input-wrapper .remaining {
  position: absolute;
  bottom: 0.5em;
  right: 0.5em;
  color: #999;
}

/* Discount Code Section */
#box-checkout-summary #discount-section .input-group {
  display: flex;
  border-color: var(--input-border-color);
}

#box-checkout-summary #discount-section .input-group .form-control {
  flex: 1;
  padding-left: 1em;
  padding-right: 1em;
}

#box-checkout-summary #discount-section .input-group .input-group-btn {
  display: flex;
  flex: 0 0 auto;
  margin: -1px;
}

#box-checkout-summary #discount-section .input-group .input-group-btn .btn {
  border-radius: 0;
  border-start-end-radius: var(--input-border-radius);
  border-end-end-radius: var(--input-border-radius);
  font-family: var(--default-text-font);
  font-size: 1em;
  font-weight: 700;
  text-transform: uppercase;
}

#box-checkout-summary #discount-message {
  margin-top: 8px;
}

#box-checkout-summary #discount-message .text-danger {
  color: var(--color-danger, #dc3545);
  font-size: 0.9em;
}

#box-checkout-summary #discount-message .text-success {
  color: var(--color-success, #28a745);
  font-size: 0.9em;
}

/* Summary Footer */
#box-checkout-summary .summary-footer {
  padding: var(--gutter-y) var(--gutter-x);
  background: transparent;
  box-shadow: none;
}

#box-checkout-summary .summary-footer .btn {
  font-family: var(--default-text-font);
  font-weight: 700;
  text-transform: uppercase;
}

/* Continue button (page 1) - black */
#box-checkout-summary .summary-footer .btn-continue-to-page2 {
  background-color: #222;
  border-color: #222;
}

#box-checkout-summary .summary-footer .btn-continue-to-page2:hover {
  background-color: #000;
  border-color: #000;
}

/* Checkout button (page 2) - orange */
#box-checkout-summary .summary-footer .btn-success {
  background-color: #F57C00;
  border-color: #F57C00;
}

#box-checkout-summary .summary-footer .btn-success:hover {
  background-color: #E65100;
  border-color: #E65100;
}

#box-checkout-summary .secure-checkout-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  color: #666;
  font-size: 0.85em;
}

#box-checkout-summary .summary-consent {
  font-size: 1.05em;
  margin-bottom: 15px;
  text-align: center;
}

#box-checkout-summary .summary-consent label {
  margin: 0;
}

#box-checkout-summary .summary-requirements {
  margin-top: 10px;
  text-align: center;
}

/* ============================================
   CHECKOUT EXTRAS (Discount Code & Comments)
   ============================================ */

#box-checkout-extras {
  margin-top: var(--gutter-y);
}

#box-checkout-extras .checkout-extras-card {
  border-radius: var(--border-radius);
}

#box-checkout-extras .card-body {
  padding: 0;
}

#box-checkout-extras .summary-expandable-link {
  display: block;
  padding: 12px var(--gutter-x);
  color: #495057;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid var(--default-border-color);
}

#box-checkout-extras .summary-expandable-link:first-child {
  border-top: none;
}

#box-checkout-extras .summary-expandable-link:last-of-type {
  border-bottom: none;
}

#box-checkout-extras .summary-expandable-link:hover {
  color: var(--primary-color);
}

#box-checkout-extras .summary-expandable-link i {
  margin-right: 8px;
  transition: transform 0.2s;
}

#box-checkout-extras .summary-expandable-link.expanded i {
  transform: rotate(90deg);
}

#box-checkout-extras .summary-expandable-content {
  display: none;
  padding: 0 var(--gutter-x) var(--gutter-y);
}

#box-checkout-extras .summary-expandable-content.show {
  display: block;
}

#box-checkout-extras .input-wrapper {
  position: relative;
}

#box-checkout-extras .input-wrapper .remaining {
  position: absolute;
  bottom: 0.5em;
  right: 0.5em;
  color: #999;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes flasher {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0.5;
  }
}

/* Fade in animation for step content */
@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply fade-in to step bodies when they open */
.checkout-step-body {
  animation: fadeInStep 0.4s ease-in-out;
}

/* ============================================
   CHECKOUT NOTIFICATIONS (INLINE ALERTS)
   ============================================ */

.checkout-notification {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  border-left: 4px solid;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  animation: slideInNotification 0.3s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.checkout-notification .fa {
  margin-right: 0.75rem;
  font-size: 1.25rem;
  vertical-align: middle;
}

.checkout-notification .message {
  vertical-align: middle;
  font-weight: 500;
}

.checkout-notification .close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: inherit;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s;
}

.checkout-notification .close:hover {
  opacity: 1;
}

/* Error notifications (red) */
.checkout-notification.alert-danger {
  background: #fff5f5;
  border-left-color: #dc3545;
  color: #721c24;
}

/* Warning notifications (yellow) */
.checkout-notification.alert-warning {
  background: #fffbf0;
  border-left-color: #ffc107;
  color: #856404;
}

/* Success notifications (green) */
.checkout-notification.alert-success {
  background: #f0fff4;
  border-left-color: #28a745;
  color: #155724;
}

/* Info notifications (blue) */
.checkout-notification.alert-info {
  background: #f0f8ff;
  border-left-color: #17a2b8;
  color: #0c5460;
}

/* Slide in animation */
@keyframes slideInNotification {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .checkout-notification {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .checkout-notification .fa {
    font-size: 1.1rem;
    margin-right: 0.5rem;
  }
}

