/* 8.6.12: clear account tables, order receipt and first-password forms. */
body.scc-template-edition :is(.woocommerce-order,.woocommerce-MyAccount-content) { min-width: 0; }
body.scc-template-edition.woocommerce-account .woocommerce::before,
body.scc-template-edition.woocommerce-account .woocommerce::after { display: none; }
body.scc-template-edition.woocommerce-account .woocommerce-MyAccount-navigation { grid-column: 1; width: 100%; float: none; align-self: start; }
body.scc-template-edition.woocommerce-account .woocommerce-MyAccount-content { grid-column: 2; width: 100%; float: none; }
body.scc-template-edition.woocommerce-account .woocommerce > :is(.woocommerce-notices-wrapper,.woocommerce-message,.woocommerce-info,.woocommerce-error) { grid-column: 1 / -1; }
body.scc-template-edition :is(.woocommerce-order,.woocommerce-MyAccount-content) table.shop_table {
  width: 100%; margin: 1rem 0 1.5rem; padding: 0; border: 1px solid #cedfe2;
  border-collapse: separate; border-spacing: 0; border-radius: .85rem; background: #fff;
  box-shadow: 0 5px 18px rgba(38,87,98,.05); font-size: .94rem; line-height: 1.6;
}
body.scc-template-edition :is(.woocommerce-order,.woocommerce-MyAccount-content) table.shop_table :is(th,td) {
  padding: 1rem 1.2rem; border: 0; border-bottom: 1px solid #e0e9eb;
  vertical-align: top; text-align: left; overflow-wrap: anywhere;
}
body.scc-template-edition :is(.woocommerce-order,.woocommerce-MyAccount-content) table.shop_table thead th {
  background: #edf7f5; color: #245d56; font-size: .85rem; font-weight: 700;
}
body.scc-template-edition :is(.woocommerce-order,.woocommerce-MyAccount-content) table.shop_table tbody td { background: #fff; }
body.scc-template-edition :is(.woocommerce-order,.woocommerce-MyAccount-content) table.shop_table tfoot :is(th,td) { background: #fafcfc; font-weight: 500; }
body.scc-template-edition :is(.woocommerce-order,.woocommerce-MyAccount-content) table.shop_table tr:last-child > :is(th,td) { border-bottom: 0; }
body.scc-template-edition :is(.woocommerce-order,.woocommerce-MyAccount-content) table.shop_table tfoot tr:last-child > :is(th,td) {
  background: #edf8f2; color: #245d54; font-size: 1.05rem; font-weight: 750;
}
body.scc-template-edition table.woocommerce-table--order-details { table-layout: fixed; }
body.scc-template-edition table.woocommerce-table--order-details :is(thead,tbody,tfoot) { display: table-row-group; }
body.scc-template-edition table.woocommerce-table--order-details tr { display: table-row; }
body.scc-template-edition table.woocommerce-table--order-details :is(th,td) { display: table-cell; }
body.scc-template-edition table.woocommerce-table--order-details :is(th,td):first-child { width: 70%; }
body.scc-template-edition table.woocommerce-table--order-details :is(th,td):last-child {
  width: 30%; text-align: right; font-variant-numeric: tabular-nums;
}
body.scc-template-edition table.woocommerce-table--order-details td::before { display: none !important; }
body.scc-template-edition table.shop_table .woocommerce-Price-amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
body.scc-template-edition .woocommerce-order :is(h2,h3),
body.scc-template-edition .woocommerce-MyAccount-content > h2,
body.scc-template-edition .woocommerce-MyAccount-content :is(.woocommerce-customer-details,.woocommerce-Address) :is(h2,h3) { margin: 1.5rem 0 .85rem; font-size: clamp(1.35rem,2vw,1.8rem); line-height: 1.3; }
body.scc-template-edition .woocommerce ul.woocommerce-order-overview {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem;
  margin: 1.25rem 0 1.75rem; padding: 0; list-style: none; border: 0;
}
body.scc-template-edition .woocommerce ul.woocommerce-order-overview::before,
body.scc-template-edition .woocommerce ul.woocommerce-order-overview::after { display: none; }
body.scc-template-edition .woocommerce ul.woocommerce-order-overview li {
  float: none; margin: 0; padding: 1rem 1.1rem; border: 1px solid #cedfe2;
  border-radius: .7rem; background: #fff; color: #526b77; font-size: .82rem;
  text-transform: none; min-width: 0; overflow-wrap: anywhere;
}
body.scc-template-edition .woocommerce ul.woocommerce-order-overview li strong { display: block; margin-top: .3rem; color: #285969; font-size: 1rem; font-weight: 650; }
body.scc-template-edition .woocommerce .woocommerce-customer-details address,
body.scc-template-edition .woocommerce .woocommerce-Address address {
  width: 100%; padding: 1.2rem 1.3rem; border: 1px solid #cedfe2; border-radius: .8rem;
  background: #fff; color: #304f5c; font-style: normal; font-size: .94rem; line-height: 1.8;
  overflow-wrap: anywhere; box-sizing: border-box;
}
body.scc-template-edition .woocommerce .woocommerce-customer-details address p { margin: .7rem 0 0; }
body.scc-template-edition .woocommerce-MyAccount-content table.shop_table .button { min-height: 2.4rem; padding: .6rem .8rem; margin: .2rem; font-size: .8rem; }
body.scc-template-edition .woocommerce .woocommerce-ResetPassword {
  grid-column: 1 / -1; width: min(100%,42rem); margin: 0 auto; padding: clamp(1.2rem,3vw,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 .woocommerce-ResetPassword :is(.form-row-first,.form-row-last,.form-row-wide) { width: 100%; float: none; margin: 0 0 1rem; }
body.scc-template-edition .woocommerce :is(.woocommerce-ResetPassword,.woocommerce-EditAccountForm) label { display: block; margin-bottom: .4rem; color: #304f5c; font-size: .9rem; font-weight: 600; }
body.scc-template-edition .woocommerce :is(.woocommerce-ResetPassword,.woocommerce-EditAccountForm) input.input-text {
  width: 100%; min-height: 48px; padding: .75rem .85rem; border: 1px solid #bfd4db;
  border-radius: .6rem; background: #fff; color: #304f5c; font-size: 1rem; box-sizing: border-box;
}
body.scc-template-edition .woocommerce .woocommerce-EditAccountForm fieldset { margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid #cedfe2; border-radius: .7rem; }
@media (max-width: 800px) {
  body.scc-template-edition .woocommerce ul.woocommerce-order-overview { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 940px) {
  body.scc-template-edition.woocommerce-account .woocommerce-MyAccount-content { grid-column: 1; }
}
@media (max-width: 560px) {
  body.scc-template-edition .woocommerce ul.woocommerce-order-overview { grid-template-columns: 1fr; gap: .5rem; }
  body.scc-template-edition :is(.woocommerce-order,.woocommerce-MyAccount-content) table.shop_table :is(th,td) { padding: .85rem .7rem; font-size: .86rem; }
  body.scc-template-edition table.woocommerce-table--order-details :is(th,td):first-child { width: 65%; }
  body.scc-template-edition table.woocommerce-table--order-details :is(th,td):last-child { width: 35%; }
}
