/* Standard cart, checkout and order-received pages; popup has its own design. */
.tn-commerce-page {
  --tn-ui-accent: #b45309;
  --tn-ui-ink: #202938;
  --tn-ui-muted: #7a8493;
  --tn-ui-line: #e6e9ee;
  --tn-ui-radius: 18px;
}
.tn-commerce-page #main {
  background: #f6f7f9;
}
.tn-commerce-page .page-wrapper {
  padding-top: 32px;
  padding-bottom: 48px;
}
.tn-commerce-page .woocommerce {
  color: var(--tn-ui-ink);
}
.tn-commerce-intro {
  width: 100%;
  margin: 0 0 28px;
}
.tn-commerce-kicker {
  display: block;
  color: var(--tn-ui-accent);
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 7px;
}
.tn-commerce-intro h1 {
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -1px;
  line-height: 1.25;
  color: var(--tn-ui-ink);
  margin: 0 0 9px;
}
.tn-commerce-intro > p {
  color: var(--tn-ui-muted);
  font-size: 14px;
  margin: 0 0 20px;
}
.tn-commerce-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.tn-commerce-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #929aa6;
  margin: 0 !important;
}
.tn-commerce-steps li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9edf2;
  font-size: 11px;
  color: #8993a1;
}
.tn-commerce-steps li.is-current {
  color: var(--tn-ui-ink);
}
.tn-commerce-steps li.is-current > span {
  color: #fff;
  background: var(--tn-ui-accent);
  box-shadow: 0 3px 10px #b4530925;
}
.tn-commerce-steps li.is-complete > span {
  background: #e4f2e9;
  color: #21814b;
}
.tn-commerce-page .woocommerce-cart-form,
.tn-commerce-page .cart_totals,
.tn-commerce-page form.checkout #customer_details,
.tn-commerce-page form.checkout .large-5 > .col-inner,
.tn-commerce-page form.checkout .large-5 > .is-sticky-column > .col-inner,
.tn-commerce-page form.checkout > .woocommerce-checkout-review-order,
.tn-commerce-page .woocommerce-order-details,
.tn-commerce-page .woocommerce-customer-details {
  background: #fff;
  border: 1px solid var(--tn-ui-line) !important;
  border-radius: var(--tn-ui-radius);
  padding: 24px;
  box-shadow: 0 5px 22px #14233404;
}
.tn-cart-page .row-divided > .col + .col:not(.large-12) {
  border-left: 0;
}
.tn-cart-page .cart-wrapper {
  overflow: visible;
}
.tn-commerce-page table.shop_table {
  border: 0;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.tn-commerce-page table.shop_table th,
.tn-commerce-page table.shop_table td {
  border-bottom: 1px solid #edf0f3;
  padding: 15px 8px;
  color: #5a6573;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: middle;
}
.tn-commerce-page table.shop_table thead th {
  color: var(--tn-ui-muted);
  font-size: 11px;
  font-weight: 600;
  padding-top: 0;
  padding-bottom: 12px;
}
.tn-cart-page .product-thumbnail img {
  width: 72px;
  max-width: none;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  background: #f6f7f9;
}
.tn-commerce-page table.shop_table .product-name a {
  color: var(--tn-ui-ink);
  font-weight: 600;
  line-height: 1.5;
}
.tn-cart-page table.shop_table .product-subtotal {
  font-weight: 700;
  color: var(--tn-ui-ink);
}
.tn-cart-page a.remove {
  width: 25px;
  height: 25px;
  border: 0 !important;
  border-radius: 50%;
  background: #f3f4f6;
  color: #89929e !important;
  line-height: 23px;
  font-size: 18px !important;
}
.tn-cart-page a.remove:hover {
  background: #fff0ef;
  color: #c43c32 !important;
}
.tn-commerce-page .quantity {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e6ec;
}
.tn-commerce-page .quantity input {
  box-shadow: none !important;
  border: 0 !important;
  margin: 0 !important;
  min-height: 36px;
  background: #fff;
}
.tn-commerce-page .quantity input.button {
  background: #f7f8fa;
  color: #677281;
  font-size: 15px;
}
.tn-commerce-page .cart_totals h2,
.tn-commerce-page .cart_totals .widget-title,
.tn-commerce-page #customer_details h3,
.tn-commerce-page #order_review_heading,
.tn-commerce-page .woocommerce-order-details h2,
.tn-commerce-page .woocommerce-customer-details h2,
.tn-commerce-page .woocommerce-customer-details h3 {
  font-size: 18px;
  color: var(--tn-ui-ink);
  text-transform: none;
  letter-spacing: -0.3px;
  font-weight: 700;
  margin-bottom: 19px;
}
.tn-commerce-page .cart_totals .order-total th,
.tn-commerce-page .cart_totals .order-total td,
.tn-commerce-page #order_review .order-total th,
.tn-commerce-page #order_review .order-total td {
  border-bottom: 0;
  padding-top: 20px;
  color: var(--tn-ui-ink);
}
.tn-commerce-page .order-total .amount {
  color: var(--tn-ui-accent);
  font-size: 24px;
  font-weight: 750;
}
.tn-commerce-page .button,
.tn-commerce-page button.button,
.tn-commerce-page input.button {
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 650;
  font-size: 13px;
  box-shadow: none;
  min-height: 42px;
}
.tn-commerce-page .checkout-button,
.tn-commerce-page #place_order {
  background: var(--tn-ui-accent) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 11px;
  min-height: 48px;
  width: 100%;
  margin: 12px 0 0;
  font-size: 15px;
  box-shadow: 0 5px 16px #b4530920;
}
.tn-commerce-page .checkout-button:hover,
.tn-commerce-page #place_order:hover {
  background: #92400e !important;
}
.tn-commerce-page .coupon {
  padding-top: 12px;
}
.tn-commerce-page .coupon input.input-text {
  border-radius: 9px;
}
.tn-commerce-page .checkout_coupon,
.tn-commerce-page form.woocommerce-form-login {
  border: 1px solid var(--tn-ui-line);
  background: #fff;
  border-radius: 14px;
  padding: 20px;
}
.tn-checkout-page form.checkout > .row {
  margin-top: 0;
}
.tn-checkout-page form.checkout #customer_details .col-1,
.tn-checkout-page form.checkout #customer_details .col-2 {
  width: 100%;
  float: none;
}
.tn-checkout-page form.checkout #customer_details > .clear {
  height: auto;
}
.tn-checkout-page .woocommerce-billing-fields__field-wrapper,
.tn-checkout-page .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.tn-checkout-page .woocommerce-billing-fields__field-wrapper > .form-row,
.tn-checkout-page .woocommerce-shipping-fields__field-wrapper > .form-row {
  float: none !important;
  width: auto !important;
  min-width: 0;
  padding: 0;
  margin: 0;
}
.tn-checkout-page .woocommerce-billing-fields__field-wrapper > .form-row-wide,
.tn-checkout-page .woocommerce-shipping-fields__field-wrapper > .form-row-wide {
  grid-column: 1/-1;
}
.tn-checkout-page .form-row label {
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.tn-checkout-page .form-row .optional {
  font-size: 10px;
  color: #939ca8;
  font-weight: 400;
}
.tn-commerce-page .form-row input.input-text,
.tn-commerce-page .form-row select,
.tn-commerce-page .form-row textarea,
.tn-commerce-page .coupon input.input-text {
  border: 1px solid #dfe4eb;
  border-radius: 9px;
  box-shadow: none;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  min-height: 44px;
  margin-bottom: 0;
  color: var(--tn-ui-ink);
}
.tn-commerce-page .form-row textarea {
  min-height: 85px;
  resize: vertical;
}
.tn-commerce-page .form-row input.input-text:focus,
.tn-commerce-page .form-row textarea:focus {
  border-color: var(--tn-ui-accent);
  outline: 2px solid #b4530912;
}
.tn-commerce-page .select2-container .select2-selection--single {
  border: 1px solid #dfe4eb;
  border-radius: 9px;
  height: 44px;
}
.tn-commerce-page .select2-container .select2-selection__rendered {
  line-height: 42px;
  padding-left: 12px;
  font-size: 14px;
}
.tn-commerce-page .select2-container .select2-selection__arrow {
  height: 42px;
}
.tn-commerce-page .woocommerce-invalid input.input-text {
  border-color: #dc2626;
}
.tn-commerce-page #ship-to-different-address {
  font-size: 13px;
  margin: 22px 0 15px;
}
.tn-commerce-page input[type="checkbox"],
.tn-commerce-page input[type="radio"] {
  accent-color: var(--tn-ui-accent);
}
.tn-commerce-page #payment {
  background: transparent;
  border-radius: 0;
}
.tn-commerce-page #payment ul.payment_methods {
  padding: 0;
  border: 0;
  list-style: none;
  margin: 0 0 14px;
}
.tn-commerce-page #payment ul.payment_methods > li {
  border: 1px solid #e6e9ee;
  border-radius: 11px;
  background: #fafbfc;
  padding: 12px 14px;
  margin: 0 0 9px;
}
.tn-commerce-page #payment ul.payment_methods > li > label {
  font-size: 13px;
  font-weight: 600;
  color: var(--tn-ui-ink);
}
.tn-commerce-page #payment div.payment_box {
  background: transparent;
  color: var(--tn-ui-muted);
  font-size: 12px;
  padding: 8px 0 0;
  margin: 0;
  line-height: 1.6;
}
.tn-commerce-page #payment div.payment_box:before {
  display: none;
}
.tn-commerce-page #payment .place-order {
  padding: 0;
  margin: 0;
}
.tn-commerce-page .woocommerce-privacy-policy-text,
.tn-commerce-page .woocommerce-terms-and-conditions-wrapper {
  font-size: 11px;
  color: var(--tn-ui-muted);
  line-height: 1.7;
}
.tn-commerce-page .woocommerce-info,
.tn-commerce-page .woocommerce-message,
.tn-commerce-page .woocommerce-error {
  border-radius: 12px;
  font-size: 13px;
  padding: 15px 20px;
  margin-bottom: 18px;
}
.tn-order-state {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #eef8f2;
  border: 1px solid #d6eddf;
  border-radius: 15px;
  padding: 18px 22px;
  margin-bottom: 24px;
  color: #276640;
}
.tn-order-state-icon {
  display: grid;
  place-items: center;
  background: #d9f0e3;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 21px;
  flex-shrink: 0;
}
.tn-order-state div > span {
  font-size: 11px;
  display: block;
  opacity: 0.8;
  margin-bottom: 3px;
}
.tn-order-state strong {
  display: block;
  font-size: 17px;
}
.tn-order-state.is-warning {
  background: #fff8ec;
  border-color: #f2dfb9;
  color: #926012;
}
.tn-order-state.is-warning .tn-order-state-icon {
  background: #ffedcb;
}
.tn-order-page ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 16px;
  list-style: none;
  background: #fff;
  padding: 22px;
  border: 1px solid var(--tn-ui-line);
  border-radius: 16px;
  margin: 20px 0 28px;
}
.tn-order-page ul.woocommerce-order-overview li {
  float: none;
  border: 0;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tn-ui-muted);
  font-size: 11px;
  min-width: 0;
}
.tn-order-page ul.woocommerce-order-overview li strong {
  font-size: 14px;
  color: var(--tn-ui-ink);
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.tn-order-page .woocommerce-order-details,
.tn-order-page .woocommerce-customer-details {
  margin-bottom: 22px;
}
.tn-order-page .woocommerce-customer-details address {
  border: 1px solid var(--tn-ui-line);
  border-radius: 12px;
  padding: 18px;
  font-size: 13px;
  color: #637080;
  line-height: 1.8;
  font-style: normal;
  background: #fafbfc;
}
.tn-order-page .woocommerce-order-details tfoot th,
.tn-order-page .woocommerce-order-details tfoot td {
  font-size: 13px;
}
.tn-order-page .woocommerce-thankyou-order-received {
  color: #27794b;
  font-weight: 600;
}
.tn-order-page .woocommerce-order > .row > .large-5 {
  background: transparent;
}
/* WooCommerce blocks use their native components with matching surface styles. */
.tn-commerce-page .wc-block-cart,
.tn-commerce-page .wc-block-checkout {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--tn-ui-line);
  border-radius: 18px;
}
.tn-commerce-page .wc-block-components-text-input input,
.tn-commerce-page
  .wc-block-components-combobox
  .components-combobox-control__input {
  border-radius: 9px !important;
}
.tn-commerce-page .wc-block-components-button {
  border-radius: 10px;
  background: var(--tn-ui-accent);
  color: #fff;
}
@media (min-width: 850px) {
  .tn-checkout-page form.checkout > .col2-set {
    width: 58%;
    float: left;
  }
  .tn-checkout-page form.checkout > #order_review_heading,
  .tn-checkout-page form.checkout > #order_review {
    width: 38%;
    float: right;
  }
  .tn-checkout-page form.checkout:after {
    content: "";
    display: block;
    clear: both;
  }
}
@media (max-width: 849px) {
  .tn-commerce-page .woocommerce-cart-form,
  .tn-commerce-page .cart_totals,
  .tn-commerce-page form.checkout #customer_details,
  .tn-commerce-page form.checkout .large-5 > .col-inner,
  .tn-commerce-page .woocommerce-order-details,
  .tn-commerce-page .woocommerce-customer-details {
    padding: 18px;
  }
  .tn-cart-page .cart-collaterals {
    margin-top: 18px;
  }
  .tn-commerce-intro {
    margin-bottom: 22px;
  }
  .tn-commerce-steps {
    gap: 10px 15px;
  }
}
@media (max-width: 549px) {
  .tn-commerce-page .page-wrapper {
    padding-top: 22px;
  }
  .tn-commerce-page .woocommerce-cart-form {
    padding: 14px;
  }
  .tn-commerce-page table.shop_table td,
  .tn-commerce-page table.shop_table th {
    padding: 11px 5px;
    font-size: 12px;
  }
  .tn-cart-page .product-thumbnail img {
    width: 52px;
    height: 64px;
  }
  .tn-commerce-steps li {
    font-size: 11px;
    gap: 5px;
  }
  .tn-commerce-steps li > span {
    width: 24px;
    height: 24px;
  }
  .tn-order-page ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
  }
  .tn-commerce-page .order-total .amount {
    font-size: 21px;
  }
  .tn-checkout-page .woocommerce-billing-fields__field-wrapper,
  .tn-checkout-page .woocommerce-shipping-fields__field-wrapper {
    gap: 12px;
  }
  .tn-commerce-page .wc-block-cart,
  .tn-commerce-page .wc-block-checkout {
    padding: 14px;
  }
}
@media (max-width: 360px) {
  .tn-checkout-page .woocommerce-billing-fields__field-wrapper,
  .tn-checkout-page .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  .tn-commerce-steps {
    gap: 10px;
  }
  .tn-commerce-intro h1 {
    font-size: 24px;
  }
}
