body.woocommerce-checkout {
  background: #f3f4fb;
}

body.woocommerce-checkout .site-header,
body.woocommerce-checkout .site-footer {
  display: none;
}

body.woocommerce-checkout .wp-site-blocks {
  padding: 0;
  background: #f3f4fb;
}

body.woocommerce-checkout .wp-site-blocks > * {
  margin-block-start: 0;
}

.noya-checkout-page {
  color: #161616;
  font-family: Arial, sans-serif;
}

.noya-checkout-wrap {
  width: min(1500px, calc(100% - 36px));
  margin: 0 auto;
}

.noya-checkout-page__header {
  background: #fff;
}

.noya-checkout-header-row {
  display: grid;
  grid-template-columns: 220px minmax(320px, 650px) 140px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 0 18px;
}

.noya-checkout-brand img {
  max-width: 155px;
  height: auto;
  display: block;
}

.noya-checkout-search {
  display: flex;
  align-items: stretch;
  border: 2px solid #ff6b35;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.noya-checkout-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 16px;
  height: 46px;
  font-size: 14px;
  color: #555;
}

.noya-checkout-search button {
  width: 74px;
  border: 0;
  background: #ff6b35;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.noya-checkout-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 108px;
  height: 46px;
  margin-left: auto;
  border: 1px solid #ff6b35;
  border-radius: 6px;
  color: #ff6b35;
  background: #fff;
  text-decoration: none;
}

.noya-checkout-cart__count {
  position: absolute;
  top: -4px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ff6b35;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.noya-checkout-cart strong {
  font-size: 13px;
  font-weight: 700;
}

.noya-checkout-nav {
  background: #0b5a6b;
}

.noya-checkout-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  min-height: 44px;
}

.noya-checkout-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.noya-checkout-main {
  padding: 16px 0 36px;
}

.noya-checkout-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 26px 40px;
  background: #fff;
}

.noya-checkout-panel {
  width: min(700px, 100%);
  margin: 0 auto;
}

.noya-checkout-title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
}

.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle,
.noya-checkout-shell .return-to-shop,
.noya-checkout-shell .woocommerce-info {
  display: none;
}

.noya-checkout-shell .woocommerce-notices-wrapper {
  margin-bottom: 14px;
}

.noya-checkout-shell .woocommerce-error,
.noya-checkout-shell .woocommerce-message {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 0;
  background: #fff3f3;
  color: #b42318;
  list-style: none;
}

.noya-checkout-fields .woocommerce-billing-fields h3,
.noya-checkout-fields .woocommerce-additional-fields {
  display: none;
}

.noya-checkout-fields .form-row {
  margin: 0 0 14px;
}

.noya-checkout-fields .form-row label {
  display: block;
  margin-bottom: 8px;
  color: #1c1c1c;
  font-size: 15px;
  font-weight: 700;
}

.noya-checkout-fields .form-row .optional {
  display: none;
}

.noya-checkout-fields .input-text,
.noya-checkout-fields textarea {
  width: 100%;
  border: 1px solid #d7ddea;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 14px;
}

.noya-checkout-fields .input-text {
  height: 38px;
  padding: 0 14px;
}

.noya-checkout-fields textarea {
  min-height: 52px;
  padding: 10px 14px;
  resize: vertical;
}

.noya-checkout-fields .noya-phone-field {
  position: relative;
}

.noya-checkout-fields .noya-phone-field::before {
  content: "+88";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 38px;
  border: 1px solid #d7ddea;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: #fff;
  color: #1c1c1c;
  font-size: 14px;
}

.noya-checkout-fields .noya-phone-field input {
  padding-left: 52px;
}

.noya-checkout-review-panel {
  margin-top: 24px;
}

.noya-checkout-summary {
  display: grid;
  gap: 12px;
}

.noya-checkout-summary-box {
  border: 1px solid #e7ebf0;
  border-radius: 2px;
  background: #fff;
}

.noya-checkout-cart-card {
  padding: 12px;
}

.noya-checkout-shell .noya-checkout-cart-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: start;
}

.noya-checkout-shell .noya-checkout-cart-item img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  object-fit: cover;
}

.noya-checkout-shell .noya-checkout-cart-item-title {
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.noya-checkout-shell .noya-checkout-cart-qty {
  color: #ff6b35;
  font-weight: 700;
}

.noya-checkout-shell .noya-checkout-cart-item-title a {
  color: inherit;
  text-decoration: none;
}

.noya-checkout-shell .noya-checkout-remove {
  color: #ff2a2a;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
}

.noya-checkout-shell .noya-checkout-item-meta,
.noya-checkout-shell .product-name dl.variation {
  margin: 8px 0 0;
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.noya-checkout-shell .product-name dl.variation dt,
.noya-checkout-shell .product-name dl.variation dd {
  display: inline;
  margin: 0;
}

.noya-checkout-shell .product-name dl.variation p {
  margin: 0;
}

.noya-checkout-price-row {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #eceff3;
  border-radius: 2px;
  background: #fff;
  color: #ff6b35;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.noya-checkout-summary-title {
  padding: 14px 16px;
  border-bottom: 1px solid #eceff3;
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.noya-checkout-summary-body {
  padding: 12px 16px 16px;
}

.noya-checkout-summary-body ul.woocommerce-shipping-methods {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.noya-checkout-summary-body ul.woocommerce-shipping-methods li {
  position: relative;
  padding: 12px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
}

.noya-checkout-summary-body ul.woocommerce-shipping-methods li input[type="radio"] {
  accent-color: #0d6efd;
}

.noya-checkout-summary-body ul.woocommerce-shipping-methods li:has(input:checked) {
  border-color: #2fa84f;
  background: #2fa84f;
  color: #fff;
}

.noya-checkout-summary-body ul.woocommerce-shipping-methods li label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
}

.noya-checkout-summary-body ul.woocommerce-shipping-methods li:has(input:checked) label {
  color: #fff;
}

.noya-checkout-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.noya-checkout-total-row span {
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.noya-checkout-total-row strong,
.noya-checkout-total-row .woocommerce-Price-amount {
  color: #ff6b35;
  font-size: 16px;
  font-weight: 700;
}

.noya-checkout-shell #payment {
  margin-top: 18px;
}

.noya-checkout-shell #payment ul.payment_methods,
.noya-checkout-shell #payment .payment_box,
.noya-checkout-shell #payment .about_paypal,
.noya-checkout-shell #payment .payment_method_paypal label img {
  display: none !important;
}

.noya-checkout-shell .place-order {
  padding: 0;
}

.noya-checkout-shell .place-order .button,
.noya-checkout-shell .place-order button[type="submit"] {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 4px;
  background: #2d78bf;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(45, 120, 191, 0.18);
}

.noya-checkout-shell .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 12px;
}

.noya-checkout-footer {
  padding: 0 0 40px;
  background: #fff;
  text-align: center;
}

.noya-checkout-footer__line {
  height: 1px;
  margin-bottom: 26px;
  background: #ddd;
}

.noya-checkout-footer p {
  margin: 0;
  color: #7d7d7d;
  font-size: 13px;
}

.noya-checkout-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}

.noya-checkout-footer__links a,
.noya-checkout-footer__links span {
  color: #ff6b35;
  font-size: 15px;
  text-decoration: none;
}

.noya-checkout-shell .required {
  color: #d92d20;
}

@media (max-width: 980px) {
  .noya-checkout-header-row {
    grid-template-columns: 1fr;
  }

  .noya-checkout-brand img,
  .noya-checkout-cart {
    margin: 0 auto;
  }

  .noya-checkout-nav__inner {
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 12px 0;
  }
}

@media (max-width: 640px) {
  .noya-checkout-wrap,
  .noya-checkout-shell {
    width: min(calc(100% - 24px), 1500px);
  }

  .noya-checkout-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .noya-checkout-shell .noya-checkout-cart-item {
    grid-template-columns: 42px 1fr;
  }

  .noya-checkout-shell .noya-checkout-remove {
    grid-column: 2;
    justify-self: end;
  }
}
