/* WC native account routes and forms — style only; no authentication replacement. */
body.jc-site.woocommerce-account .jc-page-account .woocommerce {
  display: flow-root;
  width: 100%;
  min-width: 0;
}
/* WooCommerce defaults float navigation at 30%; override to avoid Rey's narrow bar. */
body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left !important;
  width: 240px !important;
  min-width: 240px;
  max-width: 240px !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.jc-site.woocommerce-account .woocommerce-MyAccount-content {
  float: right !important;
  width: calc(100% - 315px) !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--jc-rule);
  width: 100%;
}
body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation li {
  display: block;
  margin: 0;
  list-style: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid var(--jc-line);
}
body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation li a {
  width: 100%;
  min-height: 53px;
  display: flex;
  align-items: center;
  padding: 13px 0;
  font: 500 13px/1.5 var(--jc-body);
  color: var(--jc-muted);
  letter-spacing: 0;
  text-transform: none;
  word-break: normal;
  overflow-wrap: normal;
  text-decoration: none !important;
  white-space: normal;
  border: 0;
  box-shadow: none;
}
body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  color: var(--jc-ink);
  font-weight: 700;
}
body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::after {
  content: '↗';
  font-size: 16px;
  margin-left: auto;
  padding-left: 10px;
}
body.jc-site.woocommerce-account .woocommerce-MyAccount-content>p {
  color: var(--jc-muted);
  font: 400 16px/1.7 var(--jc-body);
}
/* Native login and optional registration forms. */
body.jc-site.woocommerce-account:not(.logged-in) .jc-article-content>.woocommerce {
  max-width: 1090px;
}
body.jc-site.woocommerce-account:not(.logged-in) #customer_login {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(28px,5vw,76px);
  align-items: start;
}
body.jc-site.woocommerce-account #customer_login::before,body.jc-site.woocommerce-account #customer_login::after {
  display: none;
}
body.jc-site.woocommerce-account #customer_login>.col-1,body.jc-site.woocommerce-account #customer_login>.col-2 {
  width: auto !important;
  max-width: none;
  float: none !important;
  margin: 0 !important;
  padding: clamp(27px,3.4vw,48px);
  background: var(--jc-ivory);
}
body.jc-site.woocommerce-account #customer_login h2,body.jc-site.woocommerce-account .woocommerce-MyAccount-content h2,body.jc-site.woocommerce-account .woocommerce-MyAccount-content h3 {
  font: 400 clamp(36px,3.6vw,54px)/1.13 var(--jc-display);
  letter-spacing: -.035em;
  margin: 0 0 23px;
}
body.jc-site.woocommerce-account #customer_login form {
  padding: 0;
  border: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
}
body.jc-site.woocommerce-account #customer_login .woocommerce-form-login__rememberme {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 9px 0 23px;
}
body.jc-site.woocommerce-account #customer_login .woocommerce-LostPassword {
  margin-top: 22px;
}
/* Dashboard: real WC customer names and order summaries. */
.jc-account-dashboard__welcome {
  padding-bottom: 31px;
  border-bottom: 1px solid var(--jc-rule);
}
.jc-account-dashboard__welcome .jc-eyebrow {
  margin-bottom: 15px;
}
.jc-account-dashboard__welcome h2 {
  margin: 0 0 13px !important;
  font: 400 clamp(39px,4vw,60px)/1.08 var(--jc-display) !important;
  letter-spacing: -.037em;
}
.jc-account-dashboard__welcome>p:last-child {
  color: var(--jc-muted);
  margin: 0;
  font: 400 15px/1.65 var(--jc-body);
}
.jc-account-dashboard__cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-top: 25px;
}
.jc-account-dashboard__card {
  background: var(--jc-ivory);
  min-width: 0;
  min-height: 310px;
  padding: clamp(26px,3vw,38px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.jc-account-dashboard__card h3 {
  font: 400 clamp(31px,3vw,42px)/1.15 var(--jc-display) !important;
  letter-spacing: -.03em;
  margin: 0 0 18px !important;
}
.jc-account-dashboard__card .jc-eyebrow {
  margin-bottom: 26px;
}
.jc-account-dashboard__card>p:not(.jc-eyebrow) {
  color: var(--jc-muted);
  font: 400 14px/1.7 var(--jc-body);
  margin: 0 0 25px;
}
.jc-account-dashboard .jc-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  font: 700 11px/1.5 var(--jc-body);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.jc-orders-recent {
  display: block;
  list-style: none;
  margin: 0 0 21px;
  padding: 0;
  width: 100%;
}
.jc-orders-recent li {
  border-bottom: 1px solid var(--jc-line);
}
.jc-orders-recent li a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font: 500 12px/1.5 var(--jc-body);
  text-decoration: none !important;
}
.jc-orders-recent li a span:last-child {
  color: var(--jc-muted);
  text-align: right;
}
.jc-account-dashboard__lower {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--jc-rule);
}
.jc-account-dashboard__lower>span {
  font: 400 15px/1.6 var(--jc-body);
  color: var(--jc-muted);
}
/* WooCommerce order and address endpoints, still powered by WC. */
body.jc-site.woocommerce-account table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  border-radius: 0;
  font-size: 14px;
}
body.jc-site.woocommerce-account table.shop_table th,body.jc-site.woocommerce-account table.shop_table td {
  padding: 17px 13px;
  border: 0;
  border-bottom: 1px solid var(--jc-line);
}
body.jc-site.woocommerce-account table.shop_table th {
  font: 600 11px/1.5 var(--jc-body);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: left;
  border-bottom-color: var(--jc-rule);
}
body.jc-site.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 30px;
}
body.jc-site.woocommerce-account .woocommerce-Addresses::before,body.jc-site.woocommerce-account .woocommerce-Addresses::after {
  display: none;
}
body.jc-site.woocommerce-account .woocommerce-Addresses .col-1,body.jc-site.woocommerce-account .woocommerce-Addresses .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none;
  min-width: 0;
}
body.jc-site.woocommerce-account .woocommerce-Address {
  padding: 28px;
  background: var(--jc-ivory);
}
.woocommerce-Address-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 13px;
}
.woocommerce-Address-title h3 {
  font-size: 31px !important;
}
.woocommerce-Address-title a {
  text-decoration: underline;
  white-space: nowrap;
  font-size: 13px;
}
body.jc-site.woocommerce-account form.woocommerce-EditAccountForm,body.jc-site.woocommerce-account form.woocommerce-address-fields {
  max-width: 780px;
}
body.jc-site.woocommerce-account fieldset {
  border: 1px solid var(--jc-line);
  margin: 21px 0 28px;
  padding: 22px;
}
body.jc-site.woocommerce-account legend {
  font: 500 18px/1.4 var(--jc-display);
  padding: 0 10px;
}
@media(max-width:970px) {
  body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 205px !important;
    min-width: 205px;
    max-width: 205px !important;
  }
  body.jc-site.woocommerce-account .woocommerce-MyAccount-content {
    width: calc(100% - 255px) !important;
  }
  .jc-account-dashboard__cards {
    grid-template-columns: 1fr;
  }
  .jc-account-dashboard__card {
    min-height: 235px;
  }
}
@media(max-width:700px) {
  body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    overflow-x: auto;
    margin-bottom: 37px !important;
    scrollbar-width: thin;
  }
  body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: row;
    gap: 23px;
    border-top: 0;
    border-bottom: 1px solid var(--jc-rule);
    width: max-content;
    min-width: 100%;
  }
  body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
    border: 0;
    width: auto;
  }
  body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation li a {
    width: auto;
    white-space: nowrap;
    min-height: 45px;
    padding: 9px 0;
    border-bottom: 2px solid transparent;
    font-size: 12px;
  }
  body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    border-bottom-color: var(--jc-ink);
  }
  body.jc-site.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::after {
    content: none;
  }
  body.jc-site.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
  }
  body.jc-site.woocommerce-account:not(.logged-in) #customer_login {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  body.jc-site.woocommerce-account #customer_login>.col-1,body.jc-site.woocommerce-account #customer_login>.col-2 {
    padding: 28px 22px;
  }
  body.jc-site.woocommerce-account #customer_login h2 {
    font-size: 37px;
  }
  .jc-account-dashboard__welcome h2 {
    font-size: 43px !important;
  }
  .jc-account-dashboard__lower {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  body.jc-site.woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  body.jc-site.woocommerce-account table.shop_table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
