.checkout-page {
  background: #f7f8fc;
  padding: 140px 0 60px;
}

.checkout-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.checkout-top {
  text-align: center;
  margin-bottom: 28px;
}

.checkout-top-title {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  color: #103f7a;
  margin-bottom: 20px;
}

.checkout-top-title i {
  color: #f3be18;
  margin-right: 10px;
}

.checkout-top-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: #23416c;
  font-weight: 600;
  font-size: 1rem;
}

.checkout-top-features span i {
  color: #0c4c8d;
  margin-right: 8px;
}

.checkout-promo {
  margin: 0 auto;
  background: #fffdf8;
  border: 0;
  border-radius: 22px;
  padding: 24px 40px 26px;
  box-shadow: none;
}

.checkout-promo p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #1f1f1f;
  font-weight: 400;
  text-align: center;
}

.checkout-promo p strong {
  font-weight: 800;
  color: #111;
}

.checkout-promo .free-ship {
  margin-top: 10px;
  color: #0c4c8d;
  font-size: 1.32rem;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
}

.checkout-promo .free-ship strong {
  font-weight: 800;
}

.checkout-card {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(19, 41, 74, 0.07);
  height: 100%;
}

.checkout-card .card-body {
  padding: 26px;
}

.checkout-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1a1f36;
  margin-bottom: 18px;
}

#product-area {
  padding: 30px 0px;
}

.summary-head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 180px 120px;
  gap: 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid #edf1f7;
  margin-bottom: 8px;
  color: #697386;
  font-size: 0.95rem;
  font-weight: 700;
}

.summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 180px 120px;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #f0f2f7;
}

.summary-product-title {
  font-size: 1.06rem;
  font-weight: 800;
  color: #1d2433;
  margin-bottom: 4px;
}

.summary-product-meta {
  color: #6b7280;
  font-weight: 600;
  font-size: 0.95rem;
}

.summary-price {
  text-align: right;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1f36;
  white-space: nowrap;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9dfeb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 46px;
}

.qty-btn {
  width: 42px;
  height: 44px;
  border: 0;
  background: #f6f8fc;
  color: #294a7a;
  font-size: 1rem;
  font-weight: 800;
  transition: 0.2s ease;
}

.qty-btn:hover {
  background: #eef3fb;
}

.qty-input {
  width: 58px !important;
  height: 44px;
  border: 0 !important;
  border-left: 1px solid #d9dfeb !important;
  border-right: 1px solid #d9dfeb !important;
  border-radius: 0 !important;
  text-align: center;
  font-weight: 700;
  box-shadow: none !important;
  padding: 0 6px;
}

.qty-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qty-update-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  background: #0c4c8d;
  border-color: #0c4c8d;
}

.qty-remove-btn {
  width: 44px;
  height: 34px;
  border-radius: 10px;
}

.summary-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #edf1f7;
}

.summary-label {
  font-size: 1rem;
  font-weight: 800;
  color: #1d2433;
  margin-bottom: 10px;
}

.summary-control,
.summary-select {
  height: 48px;
  border-radius: 12px;
  border: 1px solid #d8deea;
  font-weight: 600;
  color: #374151;
  box-shadow: none !important;
}

.totals-list {
  margin-top: 20px;
}

.totals-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  font-size: 1.05rem;
  color: #1d2433;
  font-weight: 700;
}

.totals-item small {
  display: block;
  font-weight: 500;
  color: #7a8191;
  margin-top: 4px;
}

.totals-item.total {
  border-top: 1px solid #edf1f7;
  margin-top: 6px;
  padding-top: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  align-items: center;
}

.totals-item.total span:first-child {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.totals-item.total .totalprice {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.shipping-note {
  color: #6b7280;
  font-size: 0.95rem;
  margin-top: 8px;
}

.free-ship-note {
  color: #0c4c8d;
  font-weight: 800;
  margin-top: 14px;
}

.clear-cart-btn {
  border-radius: 10px;
  padding: 5px 16px;
  font-weight: 700;
}

.payment-subtitle {
  color: #384152;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f7;
}

#paypal-button-container {
  margin-bottom: 14px;
}

.card-pay-btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #0f56a4 0%, #0b4385 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.secure-checkout-box {
  border-top: 1px solid #edf1f7;
  padding-top: 16px;
  background: #f1f5fd;
  padding: 10px;
}

.secure-checkout-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
}

.secure-checkout-text i {
  color: #f3be18;
}

.payment-logos {
  max-width: 100%;
  height: auto;
  max-height: 46px;
}

.shipping-eta {
  margin-top: 12px;
  color: #5f6777;
  font-size: 0.88rem;
  line-height: 1.45;
}

.shipping-eta small {
  display: block;
  font-size: 0.88rem;
  color: #5f6777;
  font-weight: 400;
}

.recommended-wrap {
  margin-top: 22px;
}

.empty-payment-card img {
  max-width: 70%;
}

.shipping-country-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f7;
}

.shipping-country-label-wrap {
  flex: 0 0 38%;
}

.shipping-country-select-wrap {
  flex: 0 0 340px;
}

.totals-list-full {
  margin-top: 0;
}

.totals-item {
  padding: 10px 0;
  border-bottom: 1px solid #edf1f7;
  font-size: 1rem;
  font-weight: 600;
}

.totals-item:last-child {
  border-bottom: 0;
}

.totals-item span:first-child {
  font-size: 0.98rem;
  font-weight: 600;
  color: #1d2433;
}

.totals-item small {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 400;
  color: #7a8191;
}

.totals-item > span:last-child {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.totals-item.total {
  border-top: 0;
  margin-top: 0;
  padding-top: 20px;
  align-items: center;
}

.totals-item.total span:first-child {
  font-size: 1rem;
  font-weight: 500;
  color: #1d2433;
}

.totals-item.total .totalprice {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

@media (max-width: 767.98px) {
  .shipping-country-row {
    flex-direction: column;
    align-items: stretch;
  }

  .shipping-country-label-wrap,
  .shipping-country-select-wrap {
    flex: 1 1 auto;
    width: 100%;
  }

  .totals-item.total .totalprice {
    font-size: 1.35rem;
  }
}

@media (max-width: 991.98px) {
  .checkout-top-title {
    font-size: 1.7rem;
  }

  .checkout-promo .free-ship {
    font-size: 1.2rem;
  }
}

@media (max-width: 767.98px) {
  .checkout-page {
    padding-top: 18px;
  }

  .checkout-card .card-body {
    padding: 20px;
  }

  .summary-head {
    display: none;
  }

  .summary-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .summary-price {
    text-align: left;
  }

  .qty-actions {
    justify-content: flex-start;
  }

  .totals-item.total {
    font-size: 1rem;
  }

  .totals-item.total .totalprice {
    font-size: 1.3rem;
  }
}

.section-sm {
  padding: 15px 0;
}

.payment-totals-preview .totals-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.payment-totals-preview .total {
  font-weight: 700;
  font-size: 1.1rem;
}

.payment-totals-preview .total .totalprice {
  font-size: 2rem;
  line-height: 1;
}

/* buy more style starts here */

.reco-card {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(19, 41, 74, 0.07);
  overflow: hidden;
}

.reco-head {
  padding: 22px 26px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #edf1f7;
}

.reco-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1a1f36;
  margin: 0;
}

.reco-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.reco-nav button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3f0;
  border-radius: 50%;
  background: #fff;
  color: #7b8797;
  transition: 0.2s ease;
}

.reco-nav button:hover {
  color: #0c4c8d;
  border-color: #b9c8df;
  background: #f8fbff;
}

.reco-nav button.disabled,
.reco-nav button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.reco-body {
  padding: 18px 18px 20px;
}

.reco-carousel .owl-stage-outer {
  overflow: hidden;
}

.reco-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-height: 252px;
}

.reco-item {
  border: 1px solid #e9eef7;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  height: 100%;
}

.reco-item-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  height: 100%;
}

.reco-thumb {
  width: 72px;
  min-width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reco-thumb img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.reco-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #1d2433;
  line-height: 1.22;
  margin-bottom: 6px;
}

.reco-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.reco-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #000;
  line-height: 1;
}

.reco-old {
  font-size: 0.85rem;
  color: #8b93a4;
  text-decoration: line-through;
  font-weight: 600;
}

.reco-sub {
  font-size: 0.83rem;
  color: #6b7280;
  font-weight: 600;
}

.reco-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.reco-actions .btn {
  min-width: 82px;
  height: 32px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
}

.reco-actions .btn-warning {
  background: #f3be18;
  border-color: #f3be18;
  color: #111827;
}

.reco-actions .btn-outline-primary {
  border-color: #bfcbe0;
  color: #395a8b;
}

.reco-actions .btn-outline-primary:hover {
  color: #fff;
  background: #0c4c8d;
  border-color: #0c4c8d;
}

.reco-carousel .owl-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}

.reco-carousel .owl-dot span {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: #d8dfeb;
  display: block;
  margin: 0;
  transition: 0.2s ease;
}

.reco-carousel .owl-dot.active span {
  background: #0c4c8d;
}

@media (max-width: 991.98px) {
  .reco-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .reco-head {
    padding: 18px 18px 14px;
  }

  .reco-title {
    font-size: 1.25rem;
  }

  .reco-page {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .reco-item-inner {
    gap: 10px;
  }
}
/* buy more style ends here  */
