:root {
  --lne-blue: #0000db;
  --lne-blue-dark: #00009e;
  --lne-ink: #17172a;
  --lne-muted: #66667a;
  --lne-line: #dedee9;
  --lne-soft: #f6f6fb;
  --lne-error: #b42318;
  --lne-radius: 16px;
}

.lne-registration,
.lne-card,
.lne-account-students { color: var(--lne-ink); }
.lne-registration { max-width: 920px; margin: 0 auto; }
.lne-registration__intro { margin-bottom: 32px; }
.lne-registration__intro h1 { margin: 6px 0 10px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.lne-registration__intro p { max-width: 720px; color: var(--lne-muted); font-size: 17px; }
.lne-eyebrow { color: var(--lne-blue); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lne-form { display: block; }
.lne-step-heading { display: flex; gap: 14px; align-items: flex-start; padding: 28px 0 18px; margin-top: 10px; border-top: 1px solid var(--lne-line); }
.lne-step-heading > span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--lne-blue); color: #fff; font-weight: 800; }
.lne-step-heading h2 { margin: 1px 0 3px; font-size: 23px; }
.lne-step-heading p { margin: 0; color: var(--lne-muted); }
.lne-grid { display: grid; gap: 16px; }
.lne-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lne-field--wide { grid-column: 1 / -1; }
.lne-field label,
.lne-count-control label { display: block; margin: 0 0 7px; font-weight: 700; font-size: 14px; }
.lne-field label span { color: var(--lne-error); }
.lne-field small { color: var(--lne-muted); font-weight: 400; }
.lne-field input,
.lne-field select,
.lne-count-control select { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid var(--lne-line); border-radius: 10px; background: #fff; color: var(--lne-ink); font: inherit; }
.lne-field input:focus,
.lne-field select:focus,
.lne-count-control select:focus { outline: 3px solid rgba(0,0,219,.12); border-color: var(--lne-blue); }
.lne-count-control { max-width: 430px; margin-bottom: 18px; }
.lne-student-card { margin: 0 0 18px; padding: 22px; border: 1px solid var(--lne-line); border-radius: var(--lne-radius); background: var(--lne-soft); }
.lne-student-card legend { padding: 0 8px; color: var(--lne-blue); font-size: 18px; font-weight: 800; }
.lne-add-student { margin: -3px 0 22px; padding: 10px 0; border: 0; background: transparent; color: var(--lne-blue); font-weight: 800; cursor: pointer; }
.lne-consent { margin: 24px 0 18px; padding: 17px; border-radius: 12px; background: #f1f1ff; }
.lne-consent label { display: flex; gap: 10px; align-items: flex-start; }
.lne-consent input { margin-top: 4px; }
.lne-consent a { color: var(--lne-blue); text-decoration: underline; }
.lne-submit,
.lne-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--lne-blue); color: #fff !important; font-weight: 800; cursor: pointer; transition: .2s ease; }
.lne-submit:hover,
.lne-button:hover { background: var(--lne-blue-dark); transform: translateY(-1px); }
.lne-login-link { margin-top: 15px; color: var(--lne-muted); }
.lne-login-link a { color: var(--lne-blue); font-weight: 700; }
.lne-notice { margin: 18px 0; padding: 16px 18px; border-radius: 12px; }
.lne-notice--error { border: 1px solid #f3b8b2; background: #fff1f0; color: var(--lne-error); }
.lne-notice ul { margin: 8px 0 0 20px; }
.lne-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.lne-card--center { max-width: 620px; margin: 30px auto; padding: 34px; text-align: center; border: 1px solid var(--lne-line); border-radius: var(--lne-radius); }
.lne-student-list { display: grid; gap: 12px; margin: 22px 0 28px; }
.lne-student-summary { display: flex; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid var(--lne-line); border-radius: 12px; }
.lne-student-summary h3 { margin: 0 0 4px; }
.lne-student-summary p { margin: 0 0 3px; color: var(--lne-muted); }
.lne-student-actions { display: flex; align-items: center; gap: 12px; }
.lne-student-actions form { margin: 0; }
.lne-student-actions button { padding: 0; border: 0; background: transparent; color: var(--lne-error); cursor: pointer; }
.lne-account-form { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--lne-line); }
.lne-product-student { margin: 0 0 22px; padding: 20px; border: 1px solid var(--lne-line); border-radius: 14px; background: var(--lne-soft); }
.lne-product-student__eyebrow { display: block; margin-bottom: 4px; color: var(--lne-blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lne-product-student h3 { margin: 0 0 5px; font-size: 20px; }
.lne-product-student__grade { margin: 0 0 15px; color: var(--lne-muted); }
.lne-product-student > label { display: block; margin-bottom: 7px; font-weight: 800; }
.lne-product-student > label span { color: var(--lne-error); }
.lne-product-student select { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid var(--lne-line); border-radius: 10px; background: #fff; color: var(--lne-ink); font: inherit; }
.lne-product-student select:focus { outline: 3px solid rgba(0,0,219,.12); border-color: var(--lne-blue); }
.lne-product-student > small { display: block; margin-top: 8px; color: var(--lne-muted); line-height: 1.4; }
.lne-product-student__confirmed { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid #cfcfff; border-radius: 11px; background: #fff; }
.lne-product-student__confirmed strong { color: var(--lne-ink); font-size: 17px; text-transform: capitalize; }
.lne-product-student__confirmed span { color: var(--lne-blue); font-weight: 750; }
.lne-product-student__notice { padding: 13px 14px; border-radius: 10px; background: #ececff; line-height: 1.5; }
.lne-product-student__notice--warning { background: #fff6df; }
.lne-product-student__notice a { color: var(--lne-blue); font-weight: 800; text-decoration: underline; }
.lne-product-student:has(.lne-purchase-blocked) ~ .quantity,
.lne-product-student:has(.lne-purchase-blocked) ~ .single_add_to_cart_button,
form.cart.lne-purchase-is-blocked .quantity,
form.cart.lne-purchase-is-blocked .single_add_to_cart_button { display: none !important; }
.lne-loop-unavailable { cursor: not-allowed !important; opacity: .58; pointer-events: none; }

/* A retirada é definida pela unidade do aluno, nunca pelo endereço do responsável. */
.woocommerce-cart .woocommerce-shipping-destination,
.woocommerce-cart .woocommerce-shipping-calculator,
.woocommerce-checkout .woocommerce-shipping-destination,
.woocommerce-checkout .woocommerce-shipping-calculator { display: none !important; }

.woocommerce-checkout .lne-checkout-cardholder-notice {
  margin: 0 0 20px;
  padding: 13px 15px;
  border-left: 4px solid var(--lne-blue);
  border-radius: 8px;
  background: #f1f1ff;
  color: var(--lne-ink);
  line-height: 1.5;
}

/* Área Minha conta */
.woocommerce-account .entry-title,
.woocommerce-account .main_title {
  margin-bottom: 34px;
  color: var(--lne-ink);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  color: var(--lne-ink);
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { display: none; }

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 28px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--lne-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(25, 25, 60, .08);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li::marker { content: ''; }

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  min-height: 50px;
  gap: 12px;
  align-items: center;
  padding: 11px 15px;
  border-radius: 12px;
  color: #4f4f63;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a::before {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-color: currentColor;
  content: '';
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  transition: transform .2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5M9 21v-7h6v7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5M9 21v-7h6v7'/%3E%3C/svg%3E");
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 14H5L6 7Z'/%3E%3Cpath d='M9 9V6a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 14H5L6 7Z'/%3E%3Cpath d='M9 9V6a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E");
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--meus-alunos a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M3 20c0-4 2.5-6 6-6s6 2 6 6M14 15c.8-.7 1.8-1 3-1 2.8 0 4.5 1.8 4.5 5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M3 20c0-4 2.5-6 6-6s6 2 6 6M14 15c.8-.7 1.8-1 3-1 2.8 0 4.5 1.8 4.5 5'/%3E%3C/svg%3E");
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H4v16h6M14 8l4 4-4 4M8 12h10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H4v16h6M14 8l4 4-4 4M8 12h10'/%3E%3C/svg%3E");
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: #f0f0ff;
  color: var(--lne-blue);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 219, .06);
  transform: translateX(3px);
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover::before { transform: scale(1.12); }

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  background: var(--lne-blue);
  color: #fff;
  box-shadow: 0 9px 24px rgba(0, 0, 219, .24);
}

.woocommerce-account .woocommerce-MyAccount-content {
  grid-column: 2;
  grid-row: 1;
  min-height: 390px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--lne-line);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff 0%, #fbfbff 100%);
  box-shadow: 0 18px 50px rgba(25, 25, 60, .08);
}

.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after { display: none; }

.woocommerce-account .woocommerce-Address {
  float: none !important;
  width: auto !important;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--lne-line);
  border-radius: 14px;
  background: #fff;
}

.woocommerce-account .woocommerce-Address h2 {
  padding-right: 70px;
  font-size: 22px;
}

.woocommerce-account .woocommerce-Address address {
  color: var(--lne-muted);
  line-height: 1.75;
}

.woocommerce-account .woocommerce-MyAccount-content::before {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 25px;
  border-radius: 999px;
  background: var(--lne-blue);
  content: '';
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  color: var(--lne-ink);
  letter-spacing: -.02em;
}

.woocommerce-account .woocommerce-MyAccount-content p {
  color: var(--lne-muted);
  font-size: 16px;
  line-height: 1.75;
}

.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.lne-button) {
  color: var(--lne-blue);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button.button,
.woocommerce-account .woocommerce-MyAccount-content input.button {
  min-height: 46px;
  padding: 11px 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--lne-blue) !important;
  color: #fff !important;
  font-weight: 800 !important;
  transition: .2s ease;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
.woocommerce-account .woocommerce-MyAccount-content input.button:hover {
  background: var(--lne-blue-dark) !important;
  transform: translateY(-1px);
}

.woocommerce-account .woocommerce-MyAccount-content input.input-text,
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid var(--lne-line);
  border-radius: 10px;
  background: #fff;
  color: var(--lne-ink);
}

.woocommerce-account .woocommerce-MyAccount-content textarea { min-height: 110px; }

.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
  outline: 3px solid rgba(0, 0, 219, .12);
  border-color: var(--lne-blue);
}

.woocommerce-account .woocommerce-MyAccount-content fieldset {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--lne-line);
  border-radius: 14px;
  background: var(--lne-soft);
}

.woocommerce-account .woocommerce-MyAccount-content legend {
  padding: 0 8px;
  color: var(--lne-blue);
  font-weight: 800;
}

.woocommerce-account table.shop_table {
  overflow: hidden;
  border: 1px solid var(--lne-line);
  border-radius: 14px;
  background: #fff;
}

.woocommerce-account table.shop_table th {
  background: var(--lne-soft);
  color: var(--lne-ink);
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
  border: 0;
  border-radius: 12px;
  background: #efefff;
  color: var(--lne-ink);
}

@media (max-width: 700px) {
  .lne-grid--2 { grid-template-columns: 1fr; }
  .lne-field--wide { grid-column: auto; }
  .lne-student-card { padding: 18px 14px; }
  .lne-student-summary { flex-direction: column; }
  .lne-student-actions { justify-content: flex-start; }
  .lne-submit { width: 100%; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 18px; }
  .woocommerce-account .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 1; position: static; padding: 8px; border-radius: 16px; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce-account .woocommerce-MyAccount-navigation a { min-height: 44px; padding: 10px 11px; font-size: 13px; }
  .woocommerce-account .woocommerce-MyAccount-content { grid-column: 1; grid-row: 2; min-height: 0; padding: 22px 18px; border-radius: 16px; }
  .woocommerce-account .woocommerce-Addresses { grid-template-columns: 1fr; }
  .woocommerce-account .entry-title,
  .woocommerce-account .main_title { margin-bottom: 24px; }
}

@media (max-width: 420px) {
  .woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: 1fr; }
}
