/*
Theme Name:  Little Lions
Description: Tema filho do Astra com a identidade Little Lions — moda infantil (0 a 8 anos): azul, rosa bebê, laranja-leão e creme, tipografia arredondada e o leãozinho da marca.
Template:    astra
Version:     1.0.0
Author:      Little Lions
Text Domain: littlelions
*/

/* ============ Tokens da marca (tirados do logo) ============ */
:root {
  --ll-paper:     #FFF9EF;
  --ll-creme:     #FEF4E1;
  --ll-azul:      #5B9DC6;
  --ll-azul-deep: #3F7FA8;
  --ll-azul-soft: #E6F1F8;
  --ll-rosa:      #F5B3C6;
  --ll-rosa-deep: #E57FA0;
  --ll-rosa-soft: #FDE8EF;
  --ll-laranja:   #E08130;
  --ll-amarelo:   #F7C55D;
  --ll-navy:      #2D3A5A;
  --ll-navy-soft: #56617D;
  --ll-line:      rgba(45, 58, 90, .12);
  --ll-round:     "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --ll-sans:      "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  --ll-radius:    18px;
}

/* ============ Base ============ */
body {
  background: var(--ll-paper);
  color: var(--ll-navy-soft);
  font-family: var(--ll-sans);
}

h1, h2, h3, h4,
.woocommerce-loop-product__title,
.product_title,
.site-title {
  font-family: var(--ll-round) !important;
  font-weight: 600;
  color: var(--ll-navy);
  letter-spacing: 0;
}

a { color: var(--ll-azul-deep); }
a:hover { color: var(--ll-laranja); }

/* ============ Cabeçalho ============ */
.site-logo-img img, .custom-logo {
  max-width: 120px !important;
  height: auto !important;
}
@media (max-width: 768px) {
  .site-logo-img img, .custom-logo { max-width: 92px !important; }
}

.main-header-bar, .ast-primary-header-bar {
  background: rgba(255, 249, 239, .96);
  border-bottom: 1px solid var(--ll-line);
}
.main-navigation a {
  font-family: var(--ll-round);
  font-size: 15px;
  font-weight: 500;
  color: var(--ll-navy);
}
.main-navigation a:hover { color: var(--ll-laranja); }

/* ============ Botões (pílula, cheios e amigáveis) ============ */
.ast-button, .button, button[type="submit"],
.woocommerce a.button, .woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.wp-block-button__link {
  background: var(--ll-azul) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: var(--ll-round) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 13px 26px !important;
  box-shadow: 0 6px 14px -8px rgba(63, 127, 168, .9);
  transition: background .2s ease, transform .2s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.ast-button:hover, .wp-block-button__link:hover {
  background: var(--ll-laranja) !important;
  transform: translateY(-1px);
}

/* ============ Vitrine / cards de produto ============ */
.woocommerce ul.products li.product {
  background: #fff;
  border-radius: var(--ll-radius);
  padding: 10px 10px 16px !important;
  box-shadow: 0 8px 22px -16px rgba(45, 58, 90, .45);
  text-align: center;
}
.woocommerce ul.products li.product img {
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--ll-creme);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 17px;
  margin-top: 10px;
}
.woocommerce ul.products li.product .price {
  font-family: var(--ll-round);
  font-weight: 600;
  font-size: 17px;
  color: var(--ll-rosa-deep);
}
.woocommerce span.onsale {
  background: var(--ll-laranja);
  color: #fff;
  border-radius: 999px;
  font-family: var(--ll-round);
  font-size: 12px;
  min-height: 0;
  line-height: 1;
  padding: 7px 12px;
}
.woocommerce ul.products li.product .ast-shop-product-out-of-stock,
p.stock.out-of-stock {
  color: #B4473F;
  font-family: var(--ll-round);
  font-size: 13px;
}

/* ============ Página de produto ============ */
.woocommerce div.product p.price {
  font-family: var(--ll-round);
  color: var(--ll-rosa-deep);
  font-size: 26px;
  font-weight: 600;
}
.woocommerce div.product div.images img { border-radius: var(--ll-radius); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--ll-azul);
}

/* ============ Checkout / formulários ============ */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1.5px solid var(--ll-line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}
.woocommerce form .form-row input.input-text:focus {
  border-color: var(--ll-azul);
  outline: none;
}

/* ============ Rodapé Little Lions ============ */
/* Esconde o rodapé padrão do Astra — usamos o nosso (ll-footer). */
footer.site-footer { display: none !important; }

.ll-footer {
  background: var(--ll-navy);
  color: #D5DCEA;
  padding: 56px 24px 26px;
  border-radius: 32px 32px 0 0;
  margin-top: 40px;
}
.ll-footer-cols {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
.ll-footer .lf-name { font-family: var(--ll-round); font-size: 26px; font-weight: 600; color: #fff; }
.ll-footer .lf-name .l1 { color: #8EC1E0; }
.ll-footer .lf-name .l2 { color: var(--ll-rosa); }
.ll-footer .lf-sub { font-size: 10px; letter-spacing: .32em; color: var(--ll-amarelo); text-transform: uppercase; margin-top: 4px; }
.ll-footer .lf-brand p { font-size: 14px; line-height: 1.7; margin: 16px 0; max-width: 30ch; color: #AEB8CD; }
.ll-footer .lf-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.ll-footer .lf-pay span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: 11px; padding: 6px 11px; color: #D5DCEA; }
.ll-footer h4 { color: var(--ll-amarelo); font-family: var(--ll-round); font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.ll-footer ul { list-style: none; padding: 0; margin: 0; }
.ll-footer li { font-size: 14px; margin-bottom: 10px; color: #C3CCDD; }
.ll-footer a { color: #C3CCDD; text-decoration: none; }
.ll-footer a:hover { color: var(--ll-rosa); }
.ll-footer-bottom {
  max-width: 1180px; margin: 40px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: #97A3BB; flex-wrap: wrap;
}
.ll-footer-bottom .ll-leao img { width: 34px; }
@media (max-width: 768px) {
  .ll-footer-cols { grid-template-columns: 1fr 1fr; }
  .ll-footer-bottom { justify-content: center; text-align: center; }
}

/* ============ Detalhe da marca ============ */
.ll-leao { display: inline-block; line-height: 0; }
.ll-leao img { width: 64px; height: auto; }

/* ============ Painel do cliente (Minha conta) ============ */
.woocommerce-account .woocommerce { max-width: 1080px; margin: 0 auto; padding: 40px 20px; }

.woocommerce-account .woocommerce-MyAccount-navigation { width: 26%; float: left; }
.woocommerce-account .woocommerce-MyAccount-content { width: 70%; float: right; }
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
}

.woocommerce-MyAccount-navigation ul {
  list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--ll-line); border-radius: var(--ll-radius);
}
.woocommerce-MyAccount-navigation li a {
  display: block; padding: 12px 16px; border-radius: 12px;
  font-family: var(--ll-round); font-size: 15px; color: var(--ll-navy);
  text-decoration: none; transition: background .15s ease, color .15s ease;
}
.woocommerce-MyAccount-navigation li a:hover { background: var(--ll-azul-soft); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--ll-azul); color: #fff; }

/* Saudação */
.ll-account-welcome { text-align: center; padding: 8px 0 26px; }
.ll-account-welcome .ll-leao img { width: 56px; }
.ll-account-welcome h2 { font-size: 26px; margin: 10px 0 4px; }
.ll-account-welcome p { color: var(--ll-navy-soft); font-size: 15px; margin: 0; }

/* Tabela de pedidos */
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account table.shop_table {
  border: 1px solid var(--ll-line); border-radius: var(--ll-radius); border-collapse: separate; overflow: hidden; background: #fff;
}
.woocommerce-account table.shop_table thead th {
  background: var(--ll-creme); font-family: var(--ll-round); font-size: 14px; color: var(--ll-navy);
}

/* Linha do tempo do status do pedido */
.ll-timeline { display: flex; align-items: flex-start; margin: 8px 0 28px; }
.ll-timeline .lt-step {
  flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; text-align: center;
}
.ll-timeline .lt-step::before {
  content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 4px; border-radius: 4px;
  background: var(--ll-line); z-index: 0;
}
.ll-timeline .lt-step:first-child::before { display: none; }
.ll-timeline .lt-dot {
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  border: 3px solid var(--ll-line); position: relative; z-index: 1;
}
.ll-timeline .lt-label { margin-top: 8px; font-family: var(--ll-round); font-size: 13px; color: var(--ll-navy-soft); }
.ll-timeline .lt-step.done .lt-dot { background: var(--ll-amarelo); border-color: var(--ll-amarelo); }
.ll-timeline .lt-step.done::before,
.ll-timeline .lt-step.current::before { background: var(--ll-amarelo); }
.ll-timeline .lt-step.current .lt-dot { background: var(--ll-laranja); border-color: var(--ll-laranja); box-shadow: 0 0 0 5px rgba(224,129,48,.18); }
.ll-timeline .lt-step.current .lt-label { color: var(--ll-navy); font-weight: 700; }
.ll-timeline.ll-timeline--stopped { justify-content: center; padding: 14px; background: #FBEAEA; border-radius: 14px; }
.ll-timeline--stopped span { color: #B4473F; font-family: var(--ll-round); font-weight: 600; }

/* Login / cadastro */
.woocommerce-account:not(.logged-in) .woocommerce { max-width: 460px; }
.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register {
  border: 1px solid var(--ll-line); border-radius: var(--ll-radius); padding: 28px; background: #fff;
}
