/* !B>@V=:0 >D>@<;5==O 70<>2;5==O - BudMarket Premium Design */
.budmarket-checkout-wrapper {
  min-height: 100vh;
  position: relative;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.budmarket-checkout-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="checkout-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23checkout-grid)"/></svg>');
  pointer-events: none;
}

/* @>3@5A >D>@<;5==O */
.checkout-progress-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.progress-step.completed .step-icon {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
    width: 80px;
    height: 60px;
}

.progress-step.active .step-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  animation: pulse-checkout 2s infinite;
}

.progress-step .step-icon {
  background: #e2e8f0;
  color: #a0aec0;
}

@keyframes pulse-checkout {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.step-number {
  font-size: 20px;
  font-weight: 700;
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
}

.step-subtitle {
  font-size: 13px;
  color: #718096;
}

.progress-connector {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #e2e8f0, #cbd5e0);
  margin: 0 20px;
  border-radius: 2px;
  position: relative;
}

.progress-step.completed + .progress-connector {
  background: linear-gradient(90deg, #48bb78, #38a169);
}

/* A=>2=89 :>=B5=B */
.checkout-content-section {
  padding: 40px 0;
  position: relative;
  z-index: 5;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* ;>:8 D>@<8 */
.checkout-block {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.checkout-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.block-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.8));
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
  position: relative;
}

.block-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.block-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.block-title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 4px 0;
  letter-spacing: -0.025em;
}

.block-title p {
  font-size: 14px;
  color: #718096;
  margin: 0;
}

.block-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  color: #4a5568;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-left: auto;
}

.block-content {
  padding: 30px;
}

/* >;O D>@<8 */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.field-half {
  grid-column: span 1;
}

.woocommerce-input-wrapper {
  position: relative;
}

.woocommerce form .form-row label {
  font-weight: 600;
  color: #2d3748;
  font-size: 15px;
  margin-bottom: 8px;
  display: block;
}

.woocommerce form .form-row label .required {
  color: #e53e3e;
  font-weight: 700;
}

.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="tel"],
.woocommerce form input[type="password"],
.woocommerce form select,
.woocommerce form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  font-family: inherit;
}

.woocommerce form input[type="text"]:focus,
.woocommerce form input[type="email"]:focus,
.woocommerce form input[type="tel"]:focus,
.woocommerce form input[type="password"]:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.field-important input {
  border-color: rgba(102, 126, 234, 0.3);
  background: rgba(235, 248, 255, 0.5);
}

/* 5B>48 4>AB02:8 */
.shipping-methods-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.woocommerce ul#shipping_method {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul#shipping_method li {
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(226, 232, 240, 0.6);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.woocommerce ul#shipping_method li:hover {
  border-color: #667eea;
  background: rgba(235, 248, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.woocommerce ul#shipping_method li input[type="radio"] {
  margin-right: 15px;
  accent-color: #667eea;
  transform: scale(1.2);
}

.woocommerce ul#shipping_method li label {
  font-weight: 600;
  color: #2d3748;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 5B>48 >?;0B8 */
.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wc_payment_method {
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(226, 232, 240, 0.6);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.wc_payment_method:hover {
  border-color: #667eea;
  background: rgba(235, 248, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.wc_payment_method input[type="radio"] {
  margin-right: 15px;
  accent-color: #667eea;
  transform: scale(1.2);
}

.wc_payment_method label {
  font-weight: 600;
  color: #2d3748;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 4@5A0 4>AB02:8 */
.shipping-address-section {
  margin-top: 25px;
}

.section-title h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 20px;
  padding: 15px 20px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

/* VG=0 ?0=5;L */
.checkout-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.order-summary-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    width: 100%;
}
#order_review {
    min-width: 100%;
}
.order-items-section {
    margin: 0;
    display: flex;
    min-width: 100%;
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.8));
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

.summary-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.items-count {
  font-size: 14px;
  color: #718096;
  background: rgba(237, 242, 247, 0.8);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* ">20@8 2 70<>2;5==V */
.order-items-section {
  padding: 25px 30px;
    width: 100%;
}
.woocommerce-checkout-review-order {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.order-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.4);
  transition: all 0.3s ease;
}

.order-item:hover {
  background: rgba(248, 250, 252, 0.8);
  transform: translateX(3px);
}

.item-image {
  position: relative;
  flex-shrink: 0;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.item-quantity {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-name {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  line-height: 1.3;
}

.item-sku {
  font-size: 12px;
  color: #718096;
}

.item-price {
  font-size: 15px;
  font-weight: 700;
  color: #2d3748;
  text-align: right;
}

/* V4AC<:8 70<>2;5==O */
.order-totals-section {
  border-top: 2px solid rgba(226, 232, 240, 0.3);
  padding-top: 20px;
}

.woocommerce-checkout-review-order table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-checkout-review-order table th,
.woocommerce-checkout-review-order table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  font-size: 15px;
}

.woocommerce-checkout-review-order table th {
  font-weight: 600;
  text-align: left;
}

.woocommerce-checkout-review-order table td {
  font-weight: 600;
  color: #2d3748;
  text-align: right;
}

.woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout-review-order .order-total td {
  font-size: 18px;
  font-weight: 700;
  border-bottom: none;
  padding-top: 20px;
}

.woocommerce-checkout-review-order .order-total .woocommerce-Price-amount {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 20px;
}

/* @><>:>4 */
.coupon-section {
  padding: 20px;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.4);
}

.coupon-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a5568;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 15px;
}

.coupon-form {
  display: flex;
  gap: 10px;
}

.coupon-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.coupon-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.coupon-apply-btn {
  padding: 12px 20px;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.coupon-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

/* =>?:0 >D>@<;5==O */
.place-order-section {
  margin-top: 30px;
}

.place-order-btn {
  width: 100%;
  color: white;
  border: none;
  border-radius: 16px;
  padding: 20px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.place-order-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.place-order-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.place-order-btn:hover::before {
  left: 100%;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-price {
  font-size: 18px;
  font-weight: 800;
}

/* 59468 157?5:8 */
.security-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding: 20px;
  background: rgba(248, 250, 252, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.3);
}

.security-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4a5568;
  font-weight: 500;
}

.security-item svg {
  color: #48bb78;
  flex-shrink: 0;
}

/* >2V4><;5==O ?@> =54>ABC?=VABL >?;0B8 */
.no-payment-methods {
  text-align: center;
  padding: 40px 20px;
  color: #718096;
}

.no-payment-icon {
  margin-bottom: 20px;
}

.no-payment-methods h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 10px;
}

.no-payment-methods p {
  font-size: 14px;
  line-height: 1.5;
}

/* >2V4><;5==O ?@> =5>1EV4=VABL 02B>@870FVW */
.checkout-login-required {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-message {
  text-align: center;
  max-width: 400px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.login-message svg {
  color: #667eea;
  margin-bottom: 20px;
}

.login-message h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
}

.login-message p {
  color: #718096;
  margin-bottom: 30px;
  line-height: 1.5;
}

.login-btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 12px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  color: white;
}

/* 40?B82=VABL */
@media (max-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .checkout-sidebar {
    position: static;
  }
  
  .progress-connector {
    width: 60px;
    margin: 0 15px;
  }
}

@media (max-width: 768px) {
  .checkout-progress-section {
    padding: 20px 0;
  }
  
  .progress-steps {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }
  
  .progress-connector {
    width: 3px;
    height: 40px;
    margin: 0;
  }
  
  .checkout-content-section {
    padding: 20px 0;
  }
  
  .checkout-layout {
    padding: 0 15px;
  }
  
  .block-header {
    padding: 20px;
    flex-wrap: wrap;
  }
  
  .block-content {
    padding: 20px;
  }
  
  .summary-header {
    padding: 20px;
  }
  
  .order-items-section {
    padding: 20px;
  }
  
  .fields-grid {
    grid-template-columns: 1fr;
  }
  
  .step-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .place-order-btn {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .btn-content {
    justify-content: center;
  }
  
  .coupon-form {
    flex-direction: column;
  }
}