/* 8.6.9: larger identity and a readable classic checkout. */
body.scc-v8-compact .scc7-brand { width: clamp(15rem,20vw,18.5rem); flex-shrink: 0; }
body.scc-v8-compact .scc7-brand__logo { max-height: 3.6rem; width: 100%; height: auto; }
body.scc-v8-compact .scc7-navbar__inner { min-height: 4.6rem; }
@media (min-width:1081px) and (max-width:1280px) {
  body.scc-v8-compact .scc7-navbar__actions .scc7-campus-button { display: none; }
  body.scc-v8-compact .scc7-primary-menu > li > a { padding-inline: .5rem; }
}
@media (max-width:1080px) {
  body.scc-v8-compact .scc7-brand { width: clamp(11.75rem,58vw,18.5rem); max-width: calc(100% - 6.5rem); margin-right: auto; }
}
/* Checkout title must not sit underneath the scroll shortcuts. */
body.scc-v8-compact.woocommerce-checkout .scc7-scroll-subnav { display: none; }
body.scc-template-edition.woocommerce-checkout .scc-commerce-page > .scc-shell { max-width: 82rem; }
body.scc-template-edition.woocommerce-checkout .woocommerce form.checkout {
  padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  display: block; margin-top: 1.5rem;
}
body.scc-template-edition.woocommerce-checkout .woocommerce form.ct-woocommerce-checkout {
  display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(1.25rem,2.5vw,2rem); align-items: start;
}
body.scc-template-edition.woocommerce-checkout form.checkout :is(.ct-customer-details,.ct-order-review) {
  width: auto; min-width: 0; margin: 0; padding: clamp(1.15rem,2.4vw,2rem);
  border: 1px solid #cedfe2; border-radius: 1rem; background: #fff; box-shadow: 0 7px 25px rgba(38,87,98,.06);
}
body.scc-template-edition.woocommerce-checkout form.checkout .ct-order-review { border-top: 3px solid #5eb5ad; position: static; }
body.scc-template-edition.woocommerce-checkout form.checkout #customer_details { display: block; width: 100%; }
body.scc-template-edition.woocommerce-checkout form.checkout #customer_details > :is(.col-1,.col-2) { width: 100%; float: none; }
body.scc-template-edition.woocommerce-checkout form.checkout #customer_details > .col-2 { margin-top: 1.5rem; }
body.scc-template-edition.woocommerce-checkout form.checkout :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
body.scc-template-edition.woocommerce-checkout form.checkout .form-row { margin: 0; padding: 0; min-width: 0; width: 100%; float: none; text-align: left; }
body.scc-template-edition.woocommerce-checkout form.checkout :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper) > .form-row { grid-column: 1 / -1; }
body.scc-template-edition.woocommerce-checkout form.checkout :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper) > :is(.form-row-first,.form-row-last) { grid-column: auto; }
body.scc-template-edition.woocommerce-checkout form.checkout h3 {
  display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; color: #285969; font-size: 1.4rem; line-height: 1.3;
}
body.scc-template-edition.woocommerce-checkout .woocommerce-billing-fields > h3::before,
body.scc-template-edition.woocommerce-checkout #order_review_heading::before {
  content: '01'; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; flex: 0 0 1.8rem;
  background: #e4f4ef; color: #286557; font: 700 .75rem/1 var(--scc-font-body); border-radius: .55rem;
}
body.scc-template-edition.woocommerce-checkout #order_review_heading::before { content: '02'; background: #faeef3; color: #824761; }
.scc-checkout-intro { font-size: .87rem; line-height: 1.6; color: #526b77; margin: 0 0 1.3rem; }
body.scc-template-edition.woocommerce-checkout form.checkout .woocommerce-additional-fields { padding-top: 1.25rem; border-top: 1px solid #e0e9eb; }
body.scc-template-edition.woocommerce-checkout form.checkout .woocommerce-additional-fields h3 { font-size: 1.1rem; margin-bottom: .7rem; }
body.scc-template-edition.woocommerce-checkout form.checkout .form-row label { display: block; margin-bottom: .4rem; font-size: .86rem; line-height: 1.5; font-weight: 600; color: #304f5c; }
body.scc-template-edition.woocommerce-checkout form.checkout .form-row :is(input.input-text,select,textarea) {
  min-height: 48px; padding: .75rem .85rem; border: 1px solid #bfd4db; border-radius: .6rem;
  color: #304f5c; background: #fff; line-height: 1.45; font-size: 1rem; width: 100%; box-sizing: border-box;
}
body.scc-template-edition.woocommerce-checkout form.checkout .form-row textarea { min-height: 100px; resize: vertical; }
body.scc-template-edition.woocommerce-checkout .select2-container .select2-selection--single { min-height: 48px; border: 1px solid #bfd4db; border-radius: .6rem; padding: .35rem .55rem; }
body.scc-template-edition.woocommerce-checkout .select2-selection__rendered { font-size: 1rem; line-height: 34px; color: #304f5c; }
body.scc-template-edition.woocommerce-checkout .select2-selection__arrow { height: 46px; right: .5rem; }
body.scc-template-edition.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-bottom: 0; }
body.scc-template-edition.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0; padding: 1.1rem 1.3rem 1.1rem 3rem; background: #eff8f5; border-color: #c6e1d7; font-size: .93rem; }
body.scc-template-edition.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { content: ''; width: 1.1rem; height: 1.1rem; top: 1.3rem; left: 1.15rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23286577' stroke-width='1.8'%3E%3Cpath d='M3 4h9l9 9-8 8-10-10Z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1'/%3E%3C/svg%3E") center/contain no-repeat; }
body.scc-template-edition.woocommerce-checkout .showcoupon { display: inline-block; margin-left: .4rem; color: #286577; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
body.scc-template-edition.woocommerce-checkout .woocommerce form.checkout_coupon { margin: .6rem 0 1.5rem; padding: 1.25rem; border: 1px solid #c6e1d7; border-radius: .85rem; background: #fff; }
body.scc-template-edition.woocommerce-checkout form.checkout_coupon .form-row { padding: 0; margin: 0; width: auto; }
body.scc-template-edition.woocommerce-checkout form.checkout_coupon .form-row-first { width: 60%; }
body.scc-template-edition.woocommerce-checkout form.checkout_coupon .form-row-last { width: 37%; }
body.scc-template-edition.woocommerce-checkout form.checkout_coupon :is(input,button) { min-height: 48px; padding: .75rem 1rem; width: 100%; font-size: 1rem; }
body.scc-template-edition.woocommerce-checkout form.checkout_coupon .clear { clear: both; }
body.scc-template-edition.woocommerce-checkout #order_review table.shop_table { padding: 0; margin: .5rem 0 1.25rem; border: 0; border-radius: .6rem; box-shadow: none; background: #fff; table-layout: fixed; }
body.scc-template-edition.woocommerce-checkout #order_review table.shop_table :is(th,td) { padding: .95rem .85rem; font-size: .87rem; line-height: 1.55; border-bottom: 1px solid #e1eaec; overflow-wrap: anywhere; }
body.scc-template-edition.woocommerce-checkout #order_review table.shop_table :is(th,td):first-child { width: 61%; text-align: left; }
body.scc-template-edition.woocommerce-checkout #order_review table.shop_table :is(th,td):last-child { text-align: right; }
body.scc-template-edition.woocommerce-checkout #order_review table.shop_table tfoot th { background: transparent; }
body.scc-template-edition.woocommerce-checkout #order_review table.shop_table .order-total :is(th,td) { font-size: 1.1rem; color: #245d54; background: #edf8f2; border-bottom: 0; }
body.scc-template-edition.woocommerce-checkout #order_review .cart-discount :is(th,td) { color: #28735e; }
body.scc-template-edition.woocommerce-checkout .woocommerce-remove-coupon { display: inline-block; margin-left: .35rem; padding: .15rem .25rem; color: #87435f; text-decoration: underline; }
.scc-checkout-payment-heading { padding-top: .5rem; margin: .6rem 0; color: #285969; font-weight: 700; }
body.scc-template-edition.woocommerce-checkout #payment { border: 0; background: transparent; padding: 0; }
body.scc-template-edition.woocommerce-checkout #payment ul.payment_methods { margin: 0 0 1.2rem; padding: 0; border: 0; }
body.scc-template-edition.woocommerce-checkout #payment ul.payment_methods > li { padding: .85rem; border: 1px solid #d9e5e8; border-radius: .6rem; margin-bottom: .65rem; }
body.scc-template-edition.woocommerce-checkout #payment .form-row.place-order { padding: 0; margin: 0; }
body.scc-template-edition.woocommerce-checkout #payment .woocommerce-privacy-policy-text { font-size: .8rem; line-height: 1.6; margin-block: 1rem; }
body.scc-template-edition.woocommerce-checkout #place_order { width: 100%; min-height: 50px; padding: .85rem 1rem; border-radius: .65rem; font-size: .95rem; margin-top: 1rem; }
body.scc-template-edition :is(.scc-rut-field,#billing_rut_field) .description { display: block; margin-top: .4rem; font-size: .78rem; line-height: 1.5; color: #526b77; }
body.scc-template-edition .scc-rut-input { font-size: 1rem; }
.scc-rut-feedback { display: block; font-size: .82rem; line-height: 1.5; color: #9b3048; margin-top: .35rem; }
.scc-rut-feedback:empty { display: none; }
input.scc-rut-input[aria-invalid="true"] { border-color: #b54c64 !important; }
@media (max-width:980px) {
  body.scc-template-edition.woocommerce-checkout .woocommerce form.ct-woocommerce-checkout { grid-template-columns: 1fr; }
}
@media (max-width:540px) {
  body.scc-template-edition.woocommerce-checkout form.checkout :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper) { grid-template-columns: 1fr; }
  body.scc-template-edition.woocommerce-checkout form.checkout_coupon :is(.form-row-first,.form-row-last) { width: 100%; float: none; }
  body.scc-template-edition.woocommerce-checkout form.checkout_coupon .form-row-last { margin-top: .7rem; }
  body.scc-template-edition.woocommerce-checkout #order_review table.shop_table :is(th,td) { padding: .8rem .5rem; font-size: .8rem; }
}
