* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Outfit', sans-serif; background: #f5f5f5; color: #111; }
.hide-mob { display: block; }
.show-mob { display: none; }
@media (max-width: 767px) {
  .hide-mob { display: none !important; }
  .show-mob { display: block !important; }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed; inset: 0; background: #eee; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 30px; overflow-y: auto;
}
.loading-logo { width: 160px; margin-bottom: 20px; }
.loading-card {
  background: #fff; border-radius: 12px; border: 1px solid #ddd;
  max-width: 700px; width: 92%; padding: 40px 35px; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.step-label {
  font-size: 22px; font-weight: 800; color: #111; margin-bottom: 8px;
  text-decoration: underline; text-underline-offset: 4px;
}
.loading-title { font-size: 18px; font-weight: 700; color: #111; margin-bottom: 20px; }
.progress-bar-wrap {
  background: #e0e0e0; border-radius: 6px; height: 28px; overflow: hidden; margin-bottom: 25px;
  position: relative;
}
.progress-bar {
  height: 100%; width: 0; border-radius: 6px; transition: width 0.08s;
  background: repeating-linear-gradient(
    45deg, #2eaa50, #2eaa50 10px, #34c05a 10px, #34c05a 20px
  );
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.progress-bar span {
  color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.warehouse-list { text-align: left; border-top: 1px solid #eee; padding-top: 15px; }
.wh-item { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.wh-item:last-child { border-bottom: none; }
.wh-item h4 { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 4px; }
.wh-status { font-size: 14px; color: #888; display: flex; align-items: center; gap: 6px; }
.wh-status.sold-out { color: #e53935; font-weight: 600; }
.wh-status.warning { color: #e65100; font-weight: 600; }
.wh-status.verified { color: #2eaa50; font-weight: 600; }
.status-icon { width: 18px; height: 18px; vertical-align: middle; }

/* ===== CHECKOUT SCREEN ===== */
.checkout-topbar {
  background: #fff; border-bottom: 1px solid #e0e0e0; padding: 12px 0;
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-logo { height: 30px; }
.secure-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #11c956;
}

/* Card strip */
.card-strip { text-align: center; padding: 8px 0; background: #fff; border-bottom: 1px solid #eee; }
.card-strip-img { max-width: 500px; width: 90%; height: auto; }

/* Container */
.checkout-container {
  max-width: 1100px; margin: 25px auto; padding: 0 20px;
  display: flex; gap: 30px; align-items: flex-start;
}
.checkout-left { flex: 1; min-width: 0; }
.checkout-right { width: 380px; flex-shrink: 0; }

/* Form sections */
.form-section {
  background: #fff; border-radius: 10px; border: 1px solid #e0e0e0;
  margin-bottom: 16px; overflow: visible;
}
.form-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid #eee; background: #fafafa;
}
.form-hdr-icon { width: 45px; height: 36px; object-fit: contain; }
.form-header h3 { font-size: 16px; font-weight: 700; }
.form-hdr-sub { font-size: 12px; color: #888; margin-top: 2px; }
.form-fields { padding: 20px; }
.field-row { display: flex; gap: 12px; margin-bottom: 14px; }
.field-row:last-child { margin-bottom: 0; }
.field { flex: 1; }
.field.full { flex: 1; }
.field label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 5px; }
.field input, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid #ddd; border-radius: 6px;
  font-size: 14px; font-family: inherit; background: #fff; outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus { border-color: #D86A2A; }

/* Payment tabs */
.payment-tabs { display: flex; gap: 10px; margin-bottom: 16px; }
.pay-tab {
  flex: 1; text-align: center; padding: 10px; border: 2px solid #ddd;
  border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: all 0.2s;
}
.pay-tab.active { border-color: #D86A2A; background: #fff5ef; color: #D86A2A; }

/* Order bump */
.order-bump {
  background: #fff; border: 2px dashed #D86A2A; border-radius: 10px;
  margin-bottom: 16px; overflow: hidden;
}
.bump-header {
  background: #fff5ef; padding: 12px 16px; font-size: 14px; color: #333;
}
.bump-badge {
  background: #D86A2A; color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; margin-right: 6px;
}
.bump-original { text-decoration: line-through; color: #999; font-size: 13px; }
.bump-body { padding: 16px; }
.bump-check {
  display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px;
}
.bump-check input { width: 18px; height: 18px; accent-color: #D86A2A; }
.bump-img { width: 60px; flex-shrink: 0; }
.bump-check p { font-size: 12px; color: #666; margin-top: 3px; }

/* Checkout button */
.checkout-btn {  width: 100%; padding: 20px 30px; background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%); color: #fff;  font-size: 32px; font-weight: 800; font-family: inherit; letter-spacing: 0.5px;  border: none; border-radius: 14px; cursor: pointer; margin-bottom: 16px;  display: flex; align-items: center; justify-content: center; gap: 14px;  transition: all 0.2s; box-shadow: 0 6px 20px rgba(22,163,74,0.4);}.checkout-btn:hover { background: linear-gradient(180deg, #1ecf5a 0%, #169443 100%); }.btn-arrow-ico { width: 28px; height: 28px; filter: brightness(10); }










/* Secure row */
.secure-row { text-align: center; margin-bottom: 12px; }
.secure-cards { max-width: 280px; width: 100%; }

/* Guarantee seals */
.guarantee-row { display: flex; justify-content: center; gap: 15px; margin-bottom: 20px; }
.seal-icon { width: 60px; }

/* ===== ORDER SUMMARY ===== */
.summary-box {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 10px;
  padding: 24px; margin-bottom: 16px;
}
.summary-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.summary-product {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px; border-bottom: 1px solid #eee; margin-bottom: 16px;
}
.summary-img { width: 80px; border-radius: 8px; }
.summary-product-name { font-size: 14px; font-weight: 600; }
.summary-qty { font-size: 12px; color: #888; }
.summary-price { margin-left: auto; font-size: 16px; font-weight: 700; }
.summary-line {
  display: flex; justify-content: space-between; font-size: 14px;
  padding: 8px 0; color: #555;
}
.summary-line.total {
  font-size: 18px; font-weight: 700; color: #111;
  border-top: 2px solid #111; margin-top: 8px; padding-top: 12px;
}
.free-text { color: #11c956; font-weight: 600; }
.summary-savings {
  background: #e8f9ee; color: #11c956; text-align: center;
  padding: 10px; border-radius: 6px; margin-top: 16px; font-size: 14px;
}
.summary-guarantees { margin-top: 20px; }
.guarantee-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: 13px; color: #555;
}
.guarantee-item img { width: 35px; }

/* Bonus */
.bonus-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eee; }
.bonus-section h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: #D86A2A; }
.bonus-item { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bonus-img { width: 50px; border-radius: 6px; }
.bonus-item strong { font-size: 14px; }
.bonus-item p { font-size: 12px; color: #11c956; font-weight: 600; }

/* Urgency */
.urgency-bar {
  background: #fff5ef; border: 1px solid #f0d4c0; border-radius: 8px;
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #D86A2A; font-weight: 600;
}
.fire-icon { width: 20px; }

/* Testimonials */
.checkout-testimonials {
  max-width: 1100px; margin: 0 auto 30px; padding: 0 20px; overflow: hidden;
}
.testi-scroll {
  display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; padding: 10px 0;
}
.testi-scroll::-webkit-scrollbar { display: none; }
.testi-slide {
  min-width: 300px; max-width: 320px; background: #fff; border-radius: 12px;
  border: 1px solid #eee; overflow: hidden; flex-shrink: 0;
}
.testi-avatar img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.testi-content { padding: 16px; }
.testi-stars { height: 16px; margin-bottom: 8px; }
.testi-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.testi-author { font-size: 13px; color: #888; margin-bottom: 8px; }
.testi-author span { color: #11c956; font-weight: 600; }
.testi-text { font-size: 13px; color: #555; line-height: 1.5; }

/* Footer */
.checkout-footer {
  text-align: center; padding: 20px; font-size: 12px; color: #999;
  border-top: 1px solid #eee; background: #fff;
}
.checkout-footer a { color: #888; text-decoration: none; }

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  .checkout-container { flex-direction: column; gap: 20px; margin: 15px auto; }
  .checkout-right { width: 100%; }
  .form-fields { padding: 16px; }
  .field-row.two-col { flex-direction: column; gap: 14px; }
  .checkout-btn { font-size: 22px; font-weight: 800; padding: 20px 24px; border-radius: 10px; width: 100%; box-shadow: 0 4px 16px rgba(22,163,74,0.45); }
  .testi-slide { min-width: 270px; }
  .seal-icon { width: 50px; }
  .guarantee-row { gap: 10px; }
}

/* ===== Secure checkout banner ===== */
.secure-banner {
  text-align: center; background: #222; padding: 8px 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.secure-banner .lock-icon { font-size: 14px; }
.secure-banner span {
  color: #fff; font-size: 13px; font-weight: 600;
}
.secure-banner-img { display: none; }

/* Mobile: center logo, hide secure badge */
@media (max-width: 767px) {
  .topbar-inner { justify-content: center !important; }
  .secure-badge { display: none !important; }
}

/* ===== Happy customers bar ===== */
.happy-bar {
  background: linear-gradient(90deg, #D86A2A, #e8854a);
  color: #fff; text-align: center; padding: 10px 16px;
  border-radius: 8px; font-size: 14px; font-weight: 700;
  margin-bottom: 16px; display: flex; align-items: center;
  justify-content: center; gap: 8px;
}
.happy-stars { color: #ffd700; font-size: 16px; }
.happy-faces { height: 24px; border-radius: 12px; }

/* ===== Free shipping label ===== */
.free-shipping-label {
  background: #11c956; color: #fff; text-align: center;
  padding: 10px 16px; font-size: 14px; font-weight: 700;
}
.free-shipping-label span { display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ===== Mobile order summary above button ===== */
.mobile-order-summary { margin-bottom: 16px; }
.mobile-order-summary .summary-box { margin-bottom: 0; }

/* ===== Mobile Order Summary - detailed version ===== */
.os-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid #f0f0f0;
}
.os-item-img {
  width: 55px; height: 55px; position: relative; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.os-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.os-qty {
  position: absolute; top: -6px; right: -6px;
  background: #555; color: #fff; width: 20px; height: 20px;
  border-radius: 50%; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.os-item-name { flex: 1; font-size: 14px; font-weight: 600; }
.os-item-price { text-align: right; font-size: 15px; font-weight: 700; line-height: 1.4; }
.os-old { text-decoration: line-through; color: #e53935; font-size: 13px; font-weight: 400; }
.os-totals { padding-top: 12px; }
.savings-green { color: #11c956; font-weight: 700; }
.os-tax-note { font-size: 12px; color: #999; text-align: center; margin-top: 8px; }

/* Express shipping checkbox */
.express-ship-check {
  background: #fef9e7; border: 1px solid #e8d48a; border-radius: 8px;
  padding: 12px 16px; margin-top: 12px; margin-bottom: 16px;
  font-size: 14px;
}
.express-ship-check input { accent-color: #111; width: 18px; height: 18px; vertical-align: middle; }

/* Button circle arrow */
.btn-circle {  display: inline-flex; align-items: center; justify-content: center;  width: 36px; height: 36px; background: rgba(255,255,255,0.25);  border-radius: 50%; font-size: 20px; margin-left: 4px;}






/* ===== Center checkout top on mobile ===== */
@media (max-width: 767px) {
  .checkout-topbar .topbar-inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
  }
  .topbar-logo { margin-bottom: 0; }
  .card-strip { padding: 6px 15px; text-align: right; }
  .card-strip-img { max-width: 100%; }
}

/* ===== Phone with country code ===== */
.phone-row { display: flex; gap: 0; }
.country-code-wrap { flex-shrink: 0; }
.country-code {
  padding: 11px 8px; border: 1px solid #ddd; border-right: none;
  border-radius: 6px 0 0 6px; font-size: 15px; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  background: #f9f9f9; outline: none; height: 100%; cursor: pointer;
  min-width: 90px; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
  padding-right: 22px;
}
.phone-input {
  flex: 1; padding: 11px 14px; border: 1px solid #ddd;
  border-radius: 0 6px 6px 0; font-size: 14px; font-family: inherit;
  outline: none; width: 100%;
}
.phone-input:focus { border-color: #D86A2A; }

/* Updates checkbox */
.updates-check {
  font-size: 13px; color: #555; display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.updates-check input { accent-color: #111; width: 16px; height: 16px; }

/* ===== Hide desktop order summary on mobile (mobile version shown inline) ===== */
@media (max-width: 767px) {
  .checkout-right { display: none !important; }
}

/* ===== Custom phone country dropdown ===== */
.custom-phone-select { position: relative; flex-shrink: 0; }
.phone-selected {
  padding: 11px 10px; border: 1px solid #ddd; border-right: none;
  border-radius: 6px 0 0 6px; font-size: 14px; background: #f9f9f9;
  cursor: pointer; display: flex; align-items: center; gap: 5px;
  min-width: 85px; height: 100%;
}
.phone-selected::after { content: '▾'; margin-left: 4px; color: #666; font-size: 11px; }
.flag-img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.phone-dropdown {
  display: none; position: absolute; top: 100%; left: 0; z-index: 9999;
  background: #fff; border: 1px solid #ddd; border-radius: 8px;
  max-height: 300px; overflow-y: auto; width: 260px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.phone-dd-item {
  padding: 10px 12px; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #f5f5f5;
}
.phone-dd-item:hover { background: #f0f0f0; }
.dd-dial { color: #888; margin-left: auto; }

@media (max-width: 767px) {
  .btn-circle { width: 32px; height: 32px; font-size: 18px; }
}
