/* All form styling is scoped to the popup; regular checkout keeps its theme. */
.tn-popup-page {
  background: #f4f5f7 !important;
  color: #202938;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
.tn-popup-page .tn-popup-content {
  padding: 24px !important;
  background: #f4f5f7 !important;
}
.tn-quick-intro {
  margin: 0 0 20px;
}
.tn-order-eyebrow {
  color: #b45309;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.8px;
}
.tn-quick-intro h1 {
  font-size: 25px;
  line-height: 1.3;
  margin: 5px 0;
  color: #17202e;
  letter-spacing: -0.7px;
}
.tn-quick-intro p,
.tn-section-heading p {
  font-size: 12px;
  color: #77808e;
  margin: 0;
  line-height: 1.5;
}
.tn-popup-page form.tn-quick-checkout {
  margin: 0;
}
.tn-quick-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.tn-quick-card {
  background: #fff;
  border: 1px solid #e7e9ee;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 3px 12px #18273804;
  min-width: 0;
}
.tn-section-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.tn-section-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #fff4e9;
  color: #b45309;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 750;
  flex-shrink: 0;
}
.tn-popup-page .tn-section-heading h2 {
  font-size: 16px;
  letter-spacing: -0.25px;
  text-transform: none;
  margin: 0 0 3px;
  padding: 0;
  border: 0;
  color: #202938;
}
.tn-popup-page .tn-order-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.tn-popup-page .tn-order-field-grid .form-row {
  width: auto !important;
  float: none !important;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.tn-popup-page .tn-order-field-grid .form-row-wide,
.tn-order-extras {
  grid-column: 1/-1;
}
.tn-popup-page .tn-order-field-grid .clear {
  display: none;
}
.tn-popup-page .form-row label {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 5px;
  line-height: 1.4;
}
.tn-popup-page .form-row .optional {
  font-size: 10px;
  font-weight: 400;
  color: #939aa5;
}
.tn-popup-page .form-row input.input-text,
.tn-popup-page .form-row select,
.tn-popup-page .form-row textarea {
  height: 42px;
  border: 1px solid #dfe3e9;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  font-size: 13px;
  padding: 9px 11px;
  margin: 0;
  color: #202938;
  width: 100%;
}
.tn-popup-page .form-row textarea {
  height: 72px;
  resize: vertical;
}
.tn-popup-page .form-row input:focus,
.tn-popup-page .form-row textarea:focus {
  border-color: #b45309;
  outline: 2px solid #b4530915;
}
.tn-popup-page .select2-container .select2-selection--single {
  height: 42px;
  border: 1px solid #dfe3e9;
  border-radius: 9px;
}
.tn-popup-page .select2-container .select2-selection__rendered {
  line-height: 40px;
  padding-left: 11px;
  font-size: 13px;
}
.tn-popup-page .select2-container .select2-selection__arrow {
  height: 40px;
}
.tn-popup-page .woocommerce-invalid input.input-text {
  border-color: #dc2626;
}
.tn-order-extras {
  border-top: 1px dashed #e7e9ee;
  padding-top: 10px;
  margin-top: 2px;
}
.tn-order-extras summary {
  font-size: 12px;
  color: #7b634e;
  cursor: pointer;
  line-height: 1.7;
}
.tn-order-extras[open] summary {
  margin-bottom: 10px;
}
.tn-popup-page #ship-to-different-address {
  font-size: 12px;
  margin: 15px 0 10px;
  letter-spacing: 0;
}
.tn-popup-page #ship-to-different-address label,
.tn-popup-page .create-account label {
  font-weight: 400;
  font-size: 12px;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 7px;
}
.tn-popup-page input.input-checkbox {
  accent-color: #b45309;
  margin: 0 !important;
}
.tn-popup-page .woocommerce-account-fields {
  margin-top: 12px;
}
.tn-popup-page .woocommerce-additional-fields {
  margin-top: 12px;
}
.tn-popup-page #order_review {
  width: 100% !important;
  float: none !important;
  border: 0;
  padding: 0;
  background: none;
}
.tn-popup-page .woocommerce-checkout-review-order-table {
  border: 0;
  margin: 0 0 15px;
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.tn-popup-page .woocommerce-checkout-review-order-table thead {
  display: none;
}
.tn-popup-page .woocommerce-checkout-review-order-table th,
.tn-popup-page .woocommerce-checkout-review-order-table td {
  padding: 11px 0;
  border-bottom: 1px solid #edf0f3;
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
  color: #5b6472;
  vertical-align: middle;
}
.tn-popup-page .woocommerce-checkout-review-order-table td:last-child {
  text-align: right;
  white-space: nowrap;
  padding-left: 9px;
}
.tn-popup-page .woocommerce-checkout-review-order-table .product-name {
  color: #202938;
  line-height: 1.5;
}
.tn-order-thumb {
  float: left;
  margin: 0 9px 5px 0;
}
.tn-order-thumb img {
  width: 44px;
  height: 52px;
  object-fit: cover;
  border-radius: 7px;
  background: #f4f5f7;
}
.tn-order-item-name {
  font-weight: 600;
  font-size: 12px;
}
.tn-popup-page .product-quantity {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  color: #7b8492;
}
.tn-popup-page .variation {
  font-size: 10px;
  margin: 3px 0;
}
.tn-popup-page .order-total th,
.tn-popup-page .order-total td {
  padding-top: 14px;
  border-bottom: 0;
  color: #202938;
  font-size: 14px;
}
.tn-popup-page .order-total .amount {
  font-size: 21px;
  color: #b45309;
  font-weight: 750;
}
.tn-popup-page #payment {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.tn-popup-page #payment ul.payment_methods {
  padding: 0;
  border: 0;
  margin: 0;
  list-style: none;
}
.tn-popup-page #payment ul.payment_methods li {
  padding: 10px 12px;
  margin: 0 0 8px;
  border: 1px solid #e5e8ed;
  border-radius: 10px;
  background: #fafbfc;
  line-height: 1.5;
}
.tn-popup-page #payment ul.payment_methods li label {
  display: inline;
  font-size: 12px;
  font-weight: 600;
}
.tn-popup-page #payment ul.payment_methods li input {
  accent-color: #b45309;
  margin-right: 6px;
}
.tn-popup-page #payment div.payment_box {
  padding: 8px 0 0;
  background: transparent;
  font-size: 11px;
  margin: 0;
  color: #78808b;
}
.tn-popup-page #payment div.payment_box:before {
  display: none;
}
.tn-popup-page #payment div.payment_box p {
  margin: 0 0 5px;
}
.tn-popup-page #payment .place-order {
  padding: 12px 0 0;
  margin: 0;
}
.tn-popup-page .woocommerce-privacy-policy-text,
.tn-popup-page .woocommerce-terms-and-conditions-wrapper {
  font-size: 10px;
  color: #89909b;
  line-height: 1.6;
}
.tn-popup-page #place_order {
  width: 100%;
  float: none;
  border: 0;
  border-radius: 10px;
  background: #b45309;
  color: #fff;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 650;
  min-height: 46px;
  margin: 12px 0 0;
  box-shadow: 0 5px 12px #b4530922;
}
.tn-popup-page #place_order:hover {
  background: #92400e;
}
.tn-popup-page .woocommerce-info,
.tn-popup-page .woocommerce-error,
.tn-popup-page .woocommerce-message {
  font-size: 12px;
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 12px;
}
.tn-popup-page form.checkout_coupon,
.tn-popup-page form.woocommerce-form-login {
  border: 1px solid #e7e9ee;
  border-radius: 12px;
  padding: 15px;
  background: #fff;
}
.tn-popup-page .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  text-align: left;
  font-size: 11px;
}
.tn-popup-page .woocommerce-shipping-methods label {
  font-size: 11px;
  white-space: normal;
}
@media (max-width: 700px) {
  .tn-quick-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tn-popup-page .tn-popup-content {
    padding: 16px !important;
  }
  .tn-quick-card {
    padding: 16px;
  }
  .tn-quick-intro h1 {
    font-size: 22px;
  }
  .tn-quick-intro {
    margin-bottom: 15px;
  }
}
@media (max-width: 360px) {
  .tn-popup-page .tn-order-field-grid {
    grid-template-columns: 1fr;
  }
  .tn-popup-page .form-row {
    grid-column: 1/-1;
  }
}
