/* 
  Windofa Checkout Page Premium Redesign Stylesheet
  Focus: Visual Excellence, Creative & Unique Card Layouts, High-End Interactions
*/

/* --- GENERAL RESET & LAYOUT OVERRIDES --- */
.windofa-checkout-page {
  background-color: #fafbfc;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  top: -97px;
  position: relative;
}

.windofa-checkout-page .container.checkout-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  gap: 32px;
}

/* --- HERO SECTION --- */
.windofa-checkout-page .windofa-cart-hero {
  background: url("../img/background-checkout.webp");
  padding: 140px 0 45px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--orange);
  background-position: right center;
  background-size: cover;
}

.windofa-checkout-page .windofa-cart-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.windofa-checkout-page .windofa-cart-hero p {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.windofa-checkout-page .windofa-cart-hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
  letter-spacing: -0.02em;
}

.windofa-checkout-page .windofa-cart-hero span[data-cart-page-count] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 99px;
  margin-top: 10px;
  display: inline-block;
  transition: all 0.3s ease;
}

/* --- PANELS (STEPS) --- */
.windofa-checkout-page .checkout-panel {
  background: var(--white);
  border: 1px solid #eef2f6;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.02), 0 1px 3px rgba(17, 24, 39, 0.01);
  padding: 28px;
  margin-bottom: 24px;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.windofa-checkout-page .checkout-panel:hover {
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.05);
  border-color: rgba(255, 122, 0, 0.15);
}

.windofa-checkout-page .checkout-panel-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 16px;
}

.windofa-checkout-page .checkout-panel-head span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e78710;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  /* box-shadow: 0 4px 10px rgba(255, 122, 0, 0.3); */
  flex: 0 0 auto;
}

.windofa-checkout-page .checkout-panel-head h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
  margin: 0;
}

/* --- FORM INPUTS & SELECTS --- */
.windofa-checkout-page .checkout-panel label,
.windofa-checkout-page .checkout-note-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.checkout-bank-account {
  grid-template-columns: auto auto;
  display: grid;
}

.windofa-checkout-page .checkout-panel label:focus-within {
  color: var(--orange);
}

.windofa-checkout-page .checkout-panel input,
.windofa-checkout-page .checkout-panel select,
.windofa-checkout-page .checkout-panel textarea,
.windofa-checkout-page .checkout-note-field textarea,
.windofa-checkout-page .checkout-voucher-row input {
  width: 100%;
  border: 1.5px solid #eef2f6;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--ink);
  background-color: #e78a1300;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: none;
  outline: none;
}

.windofa-checkout-page .checkout-panel input::placeholder,
.windofa-checkout-page .checkout-panel textarea::placeholder,
.windofa-checkout-page .checkout-note-field textarea::placeholder {
  color: #a0aec0;
  font-weight: 400;
}

.windofa-checkout-page .checkout-panel input:hover,
.windofa-checkout-page .checkout-panel select:hover,
.windofa-checkout-page .checkout-panel textarea:hover,
.windofa-checkout-page .checkout-note-field textarea:hover {
  border-color: #cbd5e1;
  background-color: #f1f5f9;
}

.windofa-checkout-page .checkout-panel input:focus,
.windofa-checkout-page .checkout-panel select:focus,
.windofa-checkout-page .checkout-panel textarea:focus,
.windofa-checkout-page .checkout-note-field textarea:focus,
.windofa-checkout-page .checkout-voucher-row input:focus {
  border-color: var(--orange);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

/* Custom select styling */
.windofa-checkout-page .checkout-panel select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23727986'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.windofa-checkout-page .checkout-panel select:disabled {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  color: #a0aec0;
  opacity: 0.7;
  cursor: not-allowed;
}

/* Grid configurations */
.windofa-checkout-page .checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.windofa-checkout-page .checkout-address-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

/* --- SHIPPING OPTIONS --- */
.windofa-checkout-page .checkout-shipping-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.windofa-checkout-page .checkout-shipping-option {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  border: 2px solid #eef2f6;
  border-radius: 16px;
  padding: 20px;
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.windofa-checkout-page .checkout-shipping-option:hover {
  border-color: rgba(255, 122, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.06);
}

.windofa-checkout-page .checkout-shipping-option:has(input:checked) {
  border-color: var(--orange);
  background: #fff8f3;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.08);
}

/* Hide native input but keep keyboard accessible */
.windofa-checkout-page .checkout-shipping-option input[type="radio"] {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0.1;
  z-index: 2;
  cursor: pointer;
}

/* Custom indicator checkmark for shipping card */
.windofa-checkout-page .checkout-shipping-option::after {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 20px;
  color: var(--orange);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.windofa-checkout-page .checkout-shipping-option:has(input:checked)::after {
  opacity: 1;
  transform: scale(1);
}

/* Outer circle for unchecked state */
.windofa-checkout-page .checkout-shipping-option::before {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.windofa-checkout-page .checkout-shipping-option:has(input:checked)::before {
  opacity: 0;
}

.windofa-checkout-page .shipping-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-right: 24px;
}

.windofa-checkout-page .shipping-card-top img {
  width: auto;
  height: 36px;
  object-fit: contain;
  /* border-radius: 8px; */
  background: #ffffff;
  padding: 0;
  /* border: 1px solid #f1f5f9; */
}

.windofa-checkout-page .shipping-card-top strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
}

.windofa-checkout-page .shipping-card-service {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 14px 0;
}

.windofa-checkout-page .shipping-card-service b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.windofa-checkout-page .shipping-card-service small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.windofa-checkout-page .shipping-card-price {
  display: inline-flex;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 99px;
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.25);
  margin-top: auto;
}

/* Shipping Placeholder Info */
.windofa-checkout-page .checkout-muted {
  padding: 20px;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  margin: 10px 0;
}

/* --- PAYMENT METHODS --- */
.windofa-checkout-page .checkout-bank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.windofa-checkout-page .checkout-bank-account {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 2px solid #eef2f6;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  padding: 20px;
  cursor: pointer;
  min-height: 140px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.windofa-checkout-page .checkout-bank-account:hover {
  border-color: rgba(255, 122, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.05);
}

.windofa-checkout-page .checkout-bank-account:has(input:checked) {
  border-color: var(--orange);
  background: #fff8f3;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.08);
}

.windofa-checkout-page .checkout-bank-account input[type="radio"] {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0.1;
  z-index: 2;
  cursor: pointer;
}

/* Check circle for unchecked bank account */
.windofa-checkout-page .checkout-bank-account::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.windofa-checkout-page .checkout-bank-account:has(input:checked)::before {
  opacity: 0;
}

/* Checkmark for checked bank account */
.windofa-checkout-page .checkout-bank-account::after {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 20px;
  color: var(--orange);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9;
}

.windofa-checkout-page .checkout-bank-account:has(input:checked)::after {
  opacity: 1;
  transform: scale(1);
}

/* Bank Logo Container */
.windofa-checkout-page .checkout-bank-logo,
.windofa-checkout-page .checkout-bank-account img {
  width: 80px;
  height: auto;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  padding: 0px;
  transition: all 0.3s ease;
}

.windofa-checkout-page .checkout-bank-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  background: #fff3eb;
}

.windofa-checkout-page .checkout-bank-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 20px;
}

.windofa-checkout-page .checkout-bank-detail strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
}

.windofa-checkout-page .checkout-bank-detail b {
  font-family: 'Monaco', 'Courier New', Courier, monospace;
  font-size: 18px;
  font-weight: 800;
  color: var(--orange-dark);
  letter-spacing: 0.5px;
  margin: 2px 0;
}

.windofa-checkout-page .checkout-bank-detail small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.windofa-checkout-page .checkout-bank-detail em {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  font-style: normal;
  margin-top: 3px;
  line-height: 1.3;
}

/* Hide dynamic checkmark badge from DOM because we styled it in container after */
.windofa-checkout-page .checkout-bank-check {
  display: none !important;
}

/* --- VOUCHER / KUPON --- */
.windofa-checkout-page .checkout-voucher-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.windofa-checkout-page .checkout-voucher-row input {
  flex: 1;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  background-color: var(--white);
  border-color: #cbd5e1;
}

.windofa-checkout-page .checkout-voucher-row button {
  background: var(--black);
  color: var(--white);
  border: none;
  font-weight: 800;
  border-radius: 12px;
  padding: 0 24px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.windofa-checkout-page .checkout-voucher-row button:hover {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.2);
}

.windofa-checkout-page .checkout-voucher-row button:active {
  transform: scale(0.96);
}

.windofa-checkout-page .checkout-form-message {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  padding-left: 4px;
}

.windofa-checkout-page .checkout-form-message[data-promo-message] {
  color: #10b981;
  /* Default success color */
}

/* --- ORDER NOTE --- */
.windofa-checkout-page .checkout-note-field {
  background: var(--white);
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 24px;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.02);
}

.windofa-checkout-page .checkout-note-field textarea {
  resize: vertical;
  min-height: 80px;
}

/* --- SIDEBAR SUMMARY PANEL --- */
.windofa-checkout-page .checkout-summary-panel {
  background: var(--white);
  border: 1px solid #eef2f6;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.04), 0 1px 3px rgba(17, 24, 39, 0.02);
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}

.windofa-checkout-page .checkout-summary-panel:hover {
  box-shadow: 0 25px 50px rgba(17, 24, 39, 0.07);
}

.windofa-checkout-page .checkout-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 8px;
}

.windofa-checkout-page .checkout-summary-head h2 {
  font-size: 18px;
  font-weight: 950;
  color: var(--black);
  letter-spacing: -0.01em;
}

.windofa-checkout-page .checkout-edit-cart {
  color: var(--orange);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.windofa-checkout-page .checkout-edit-cart:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

/* MINI ITEMS LIST */
.windofa-checkout-page .checkout-mini-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}

/* Custom scrollbar for mini list */
.windofa-checkout-page .checkout-mini-list::-webkit-scrollbar {
  width: 6px;
}

.windofa-checkout-page .checkout-mini-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.windofa-checkout-page .checkout-mini-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.windofa-checkout-page .checkout-mini-list::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

.windofa-checkout-page .checkout-mini-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.windofa-checkout-page .checkout-mini-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.windofa-checkout-page .checkout-mini-item img {
  width: 54px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eef2f6;
  background-color: #f8fafc;
}

.windofa-checkout-page .checkout-mini-item span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.windofa-checkout-page .checkout-mini-item strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.windofa-checkout-page .checkout-mini-item small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.windofa-checkout-page .checkout-mini-item b {
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  white-space: nowrap;
}

/* SUMMARY LINES */
.windofa-checkout-page .checkout-summary-lines {
  border-top: 2px solid #f1f5f9;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.windofa-checkout-page .checkout-summary-lines>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.windofa-checkout-page .checkout-summary-lines strong {
  font-size: 14px;
  font-weight: 750;
  color: var(--black);
}

.windofa-checkout-page .checkout-summary-lines [data-cart-discount] {
  color: #10b981;
}

.windofa-checkout-page .checkout-summary-lines .summary-total {
  border-top: 2px dashed #e2e8f0;
  margin-top: 6px;
  padding-top: 16px;
  background: #fff8f3;
  border-radius: 12px;
  padding: 16px;
}

.windofa-checkout-page .checkout-summary-lines .summary-total span {
  font-size: 14px;
  font-weight: 850;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.windofa-checkout-page .checkout-summary-lines .summary-total strong {
  font-size: 24px;
  font-weight: 950;
  color: var(--orange-dark);
}

/* SUBMIT BUTTON */
.windofa-checkout-page .checkout-submit {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.windofa-checkout-page .checkout-submit:hover {
  box-shadow: 0 12px 28px rgba(255, 122, 0, 0.45);
  transform: translateY(-2px);
}

.windofa-checkout-page .checkout-submit:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.2);
}

.windofa-checkout-page .checkout-submit:disabled {
  background: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* SUCCESS BOX */
.windofa-checkout-page .checkout-success-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 16px;
  padding: 20px;
  color: #065f46;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  animation: slideInUp 0.4s ease-out;
  display: none;
}

.windofa-checkout-page .checkout-success-box strong {
  font-size: 16px;
  font-weight: 800;
  color: #047857;
}

.windofa-checkout-page .checkout-success-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.windofa-checkout-page .checkout-success-box .checkout-bank-account {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid #d1fae5;
  border-radius: 12px;
  padding: 12px;
  min-height: auto;
  box-shadow: 0 4px 10px rgba(6, 95, 70, 0.03);
}

.windofa-checkout-page .checkout-success-box .checkout-bank-account img {
  width: 50px;
  height: 34px;
  object-fit: contain;
  border: 1px solid #eef2f6;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
}

.windofa-checkout-page .checkout-success-box .checkout-bank-account span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.windofa-checkout-page .checkout-success-box .checkout-bank-account b {
  font-size: 14px;
  font-weight: 750;
  color: var(--black);
}

.windofa-checkout-page .checkout-success-box .checkout-bank-account small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* ERROR MESSAGE */
.windofa-checkout-page .checkout-form-message[data-checkout-message] {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  display: none;
}

.windofa-checkout-page .checkout-form-message[data-checkout-message]:not(:empty) {
  display: block;
  animation: shake 0.4s ease-in-out;
}

/* --- ANIMATIONS & KEYFRAMES --- */
@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

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

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 980px) {
  .windofa-checkout-page .container.checkout-layout {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .windofa-checkout-page .checkout-summary-panel {
    position: static;
  }

  .windofa-checkout-page .checkout-shipping-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {

  .windofa-checkout-page .checkout-field-grid,
  .windofa-checkout-page .checkout-address-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .windofa-checkout-page .checkout-address-grid {
    margin-top: 16px;
  }

  .windofa-checkout-page .checkout-shipping-options {
    grid-template-columns: 1fr;
  }

  .windofa-checkout-page .checkout-bank-list {
    grid-template-columns: 1fr;
  }

  .windofa-checkout-page .checkout-panel,
  .windofa-checkout-page .checkout-summary-panel,
  .windofa-checkout-page .checkout-note-field {
    padding: 20px;
  }

  .windofa-checkout-page .checkout-voucher-row {
    flex-direction: column;
  }

  .windofa-checkout-page .checkout-voucher-row button {
    padding: 13px;
    width: 100%;
  }
}

/* --- INPUT ICON WRAPPERS --- */
.windofa-checkout-page .checkout-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.windofa-checkout-page .checkout-input-wrapper input,
.windofa-checkout-page .checkout-input-wrapper select,
.windofa-checkout-page .checkout-input-wrapper textarea {
  padding-left: 46px !important;
}

.windofa-checkout-page .checkout-input-wrapper .input-icon {
  position: absolute;
  left: 16px;
  color: #a0aec0;
  font-size: 16px;
  pointer-events: none;
  transition: color 0.3s ease;
  z-index: 2;
}

.windofa-checkout-page .checkout-input-wrapper:focus-within .input-icon {
  color: var(--orange);
}

.windofa-checkout-page .checkout-input-wrapper.is-textarea {
  align-items: flex-start;
}

.windofa-checkout-page .checkout-input-wrapper.is-textarea .input-icon {
  top: 16px;
  transform: none;
}