/* Minha Conta, no visual de source/conta.css, sobre a marcação do WooCommerce
   (woocommerce/myaccount/). Campos e itens do pedido compartilhados com o
   checkout ficam em theme.css. Sem os estilos padrão do WooCommerce
   (inc/conta.php). */

.customer-page{padding-bottom:80px}
.customer-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:20px 0 28px}
.customer-heading .eyebrow{color:var(--muted);font-size:9px;margin-bottom:14px}
.customer-heading h1{font-size:48px;line-height:1.1;font-weight:500;letter-spacing:-2px;margin:0}
.customer-heading h1 em{font-style:normal;color:var(--blue)}
.customer-page .woocommerce-notices-wrapper:empty{display:none}
.customer-page .woocommerce-error li{line-height:1.6}
.customer-page .clear{display:none}

/* Coluna da cliente: identidade, menu e convite para a loja. */
.customer-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:40px;align-items:start;border-top:1px solid var(--line);padding-top:20px}
.customer-sidebar{min-width:0}
.customer-identity{display:flex;align-items:center;gap:12px;padding:18px 0 25px}
.customer-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--night);color:var(--yellow);font-size:13px;flex-shrink:0}
.customer-identity strong{display:block;font-size:13px;overflow-wrap:anywhere}
.customer-identity small{display:block;font-size:10px;color:var(--muted);margin-top:6px}
.customer-nav{display:flex;flex-direction:column;gap:5px}
.customer-nav a{display:flex;align-items:center;gap:13px;padding:13px 15px;min-height:48px;font-size:12px;border-radius:6px;transition:background 150ms}
.customer-nav .customer-nav-icon{font-size:20px;width:22px;height:22px;text-align:center;line-height:22px;flex-shrink:0}
.customer-nav .customer-nav-arrow{margin-left:auto;font-size:16px;opacity:0}
.customer-nav a:hover{background:#edf0f6}
.customer-nav a[aria-current=page]{background:var(--night);color:var(--paper)}
.customer-nav a[aria-current=page] .customer-nav-arrow{opacity:1;color:var(--yellow)}
.customer-nav .customer-signout{margin-top:15px;border-top:1px solid var(--line);border-radius:0;color:var(--muted)}
.customer-sidebar-promo{display:flex;flex-direction:column;position:relative;overflow:hidden;margin-top:30px;background:#eaf0fa;border-radius:10px;padding:24px 20px;gap:18px}
.customer-sidebar-promo .eyebrow{font-size:7px;margin:0;color:var(--muted)}
.customer-sidebar-promo strong{font-size:20px;letter-spacing:-.5px;font-weight:500;max-width:175px;line-height:1.3;z-index:1}
.customer-sidebar-promo-link{font-size:10px;font-weight:700;color:var(--blue);z-index:1}
.customer-sidebar-promo>b{position:absolute;right:-15px;bottom:-40px;font-size:130px;color:#2878e310}

/* Conteúdo da seção. */
.customer-content{min-width:0;padding-top:18px}
.customer-section-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 20px}
.customer-section-head h2{font-size:25px;letter-spacing:-.8px;font-weight:500;margin:0}
.customer-section-head>a,.customer-text-button{font-size:11px;color:var(--blue);border:0;background:none;padding:10px 0;min-height:40px;display:inline-flex;align-items:center;gap:5px}
.customer-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:26px}
.customer-description{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 24px}

/* Painel. */
.customer-welcome{background:var(--night);color:var(--paper);border-radius:12px;padding:32px;position:relative;overflow:hidden;margin-bottom:22px}
.customer-welcome .eyebrow{font-size:8px;color:var(--sky);margin-bottom:17px}
.customer-welcome h2{font-size:32px;letter-spacing:-1px;line-height:1.2;font-weight:500;margin:0;position:relative;z-index:1;overflow-wrap:anywhere}
.customer-welcome h2 em{color:var(--yellow);font-style:normal}
.customer-welcome p:not(.eyebrow){font-size:12px;color:#b3c2dc;line-height:1.8;max-width:400px;position:relative;z-index:1;margin:16px 0 22px}
.customer-welcome>a{display:inline-flex;align-items:center;gap:22px;font-size:11px;color:var(--yellow);position:relative;z-index:1}
.customer-welcome>span{position:absolute;right:5px;top:0;color:#62c6f20e;font-size:220px;line-height:1}
.customer-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 30px;padding:0;list-style:none}
.customer-stat{height:100%;background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px;display:flex;flex-direction:column;gap:9px}
.customer-stat b{font-size:28px;letter-spacing:-1px;font-weight:500}
.customer-stat span{font-size:11px;color:var(--muted)}
.customer-stat small{font-size:9px;color:var(--blue);margin-top:4px}
.customer-tip{display:flex;gap:16px;align-items:center;border-top:1px solid var(--line);padding:22px 0;margin-top:24px}
.customer-tip>span{font-size:28px;color:var(--blue)}
.customer-tip p{font-size:11px;color:var(--muted);line-height:1.8;margin:0}
.customer-tip a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}

/* Pedidos. */
.customer-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:#fff}
.customer-table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}
.customer-table thead th{text-align:left;background:#f2f3f5;color:var(--muted);font-weight:500;font-size:10px;padding:15px 18px}
.customer-table tbody th,.customer-table td{padding:22px 18px;border-top:1px solid var(--line);text-align:left;font-weight:400}
.customer-table tbody th{font-weight:700}
.customer-table small{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-top:6px}
.customer-table td a{color:var(--blue)}
.customer-table-actions{display:flex;gap:16px;justify-content:flex-end}
.customer-table-action{display:inline-flex;align-items:center;gap:8px;min-height:40px;color:var(--blue)}
.customer-pagination{display:flex;justify-content:space-between;gap:15px;margin-top:20px}
.customer-pagination .button{background:var(--night);color:var(--paper)}
.customer-status{display:inline-block;padding:7px 10px;border-radius:30px;font-size:9px;font-weight:600;background:#e9f2ff;color:#235dad;white-space:nowrap}
.customer-status--pending,.customer-status--on-hold,.customer-status--processing{background:#fff4cd;color:#785900}
.customer-status--completed{background:#e8f4ec;color:#24633e}
.customer-status--cancelled,.customer-status--failed{background:#fdecec;color:#a12828}
.customer-status--refunded{background:#f2f3f5;color:var(--muted)}

/* Detalhe do pedido. */
.customer-order-status,.customer-order-updates,.customer-content .woocommerce-order-details{margin-bottom:20px}
.customer-order-top{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}
.customer-order-top p{font-size:11px;color:var(--muted);margin:0}
.customer-order-explanation{font-size:13px;line-height:1.7;margin:18px 0 0}
.customer-timeline{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:0;margin:30px 0 0;gap:0}
.customer-timeline li{position:relative;border-top:2px solid var(--line);padding:18px 4px 0;font-size:10px;color:var(--muted)}
.customer-timeline li:before{content:'';position:absolute;width:9px;height:9px;border-radius:50%;background:#c5cbd5;top:-5.5px;left:0}
.customer-timeline li.done{border-color:var(--blue);color:var(--ink)}
.customer-timeline li.done:before{background:var(--blue)}
.customer-timeline li[aria-current=step]{font-weight:700}
.customer-order-updates h3{font-size:16px;font-weight:500;margin:0 0 14px}
.customer-order-updates ol{list-style:none;margin:0;padding:0}
.customer-order-updates li{border-top:1px solid var(--line);padding:14px 0;font-size:12px;line-height:1.7}
.customer-order-updates time{font-size:10px;color:var(--muted)}
.customer-order-updates p{margin:4px 0 0}
.customer-content .woocommerce-order-details h2,.customer-content .woocommerce-customer-details h2{font-size:22px;font-weight:500;letter-spacing:-.6px;margin:0 0 20px}
.customer-content .order-again{margin:20px 0 0}
.customer-content .order-again .button{background:var(--night);color:var(--paper)}

/* Endereços. */
.customer-addresses{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.customer-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.customer-card h3{font-size:16px;font-weight:500;margin:0}
.customer-card address{font-size:12px;font-style:normal;line-height:1.9;color:var(--muted);overflow-wrap:anywhere}

/* Formulários de endereço e dados da conta (campos em theme.css). */
.customer-address-form .woocommerce-address-fields__field-wrapper,.woocommerce-EditAccountForm,.woocommerce-EditAccountForm fieldset{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.woocommerce-EditAccountForm{background:#fff;border:1px solid var(--line);border-radius:10px;padding:26px}
.woocommerce-EditAccountForm>p:not(.form-row),.woocommerce-EditAccountForm>fieldset,.woocommerce-EditAccountForm>div{grid-column:1/-1}
.woocommerce-EditAccountForm fieldset{border:0;border-top:1px solid var(--line);padding:24px 0 0;margin:8px 0 0;min-width:0}
.woocommerce-EditAccountForm legend{font-size:16px;font-weight:500;padding:0 16px 0 0}
.woocommerce-EditAccountForm #account_display_name_description{font-size:10px;font-weight:400;line-height:1.7;color:var(--muted)}
.woocommerce-EditAccountForm #account_display_name_description em{font-style:normal}
.woocommerce-EditAccountForm>p:last-of-type{margin:0}
.woocommerce-EditAccountForm .button,.customer-form-actions .button{background:var(--yellow);color:var(--night)}
.woocommerce-EditAccountForm .button:hover,.customer-form-actions .button:hover{background:#ffe17a}
.customer-form-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:24px}

/* Entrar, cadastrar e recuperar senha. */
.customer-access{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;max-width:1000px;margin:0 auto}
.customer-access-intro{background:var(--night);padding:48px;color:var(--paper);position:relative;overflow:hidden}
.customer-access-intro .eyebrow{color:var(--sky);font-size:9px}
.customer-access-title{font-size:42px;font-weight:500;letter-spacing:-1.5px;line-height:1.15;position:relative;z-index:1;margin:25px 0}
.customer-access-title em{color:var(--yellow);font-style:normal}
.customer-access-intro>p:not(.eyebrow):not(.customer-access-title){font-size:12px;line-height:1.9;color:#b4c2da;position:relative;z-index:1}
.customer-access-intro>span{position:absolute;font-size:260px;color:#62c6f20b;bottom:-70px;right:-10px}
.customer-access-form{padding:42px;min-width:0}
.customer-access-form h2{font-weight:500;font-size:25px;letter-spacing:-.7px;margin:0 0 25px}
.customer-access-form .customer-form{display:grid;gap:20px}
.customer-access-form .customer-form .customer-description{margin:0}
.customer-access-form .customer-form .button{width:100%}
.customer-access-links{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;font-size:11px;color:var(--muted);margin-top:20px}
.customer-access-links a{color:var(--blue);min-height:40px;display:inline-flex;align-items:center;gap:5px}
.customer-access-links span:first-child:not(:only-child){margin-right:auto}

@media(max-width:1100px){
  .customer-layout{grid-template-columns:220px minmax(0,1fr);gap:25px}
  .customer-table thead th,.customer-table tbody th,.customer-table td{padding:14px 12px}
  .customer-stats{gap:10px}
  .customer-stat{padding:16px}
  .customer-access-intro{padding:35px}
  .customer-access-form{padding:30px}
}
@media(max-width:760px){
  .customer-page{padding-bottom:45px}
  .customer-heading{padding:15px 0 20px}
  .customer-heading .eyebrow{font-size:7px;margin-bottom:12px}
  .customer-heading h1{font-size:37px;letter-spacing:-1.5px}
  .customer-layout{grid-template-columns:1fr;gap:22px;padding-top:10px}
  .customer-identity{padding:10px 0 18px}
  .customer-nav{flex-direction:row;overflow-x:auto;padding-bottom:8px;gap:7px}
  .customer-nav a{white-space:nowrap;padding:10px 12px;min-height:44px;font-size:11px;border:1px solid var(--line)}
  .customer-nav .customer-nav-icon,.customer-nav .customer-nav-arrow{display:none}
  .customer-nav .customer-signout{margin:0;border:1px solid var(--line);border-radius:6px}
  .customer-sidebar-promo{display:none}
  .customer-content{padding-top:0}
  .customer-welcome{padding:25px 22px}
  .customer-welcome h2{font-size:27px;letter-spacing:-.8px}
  .customer-welcome p:not(.eyebrow){font-size:11px}
  .customer-welcome>span{font-size:160px;right:-30px;top:25px}
  .customer-stats{gap:8px;margin-bottom:25px}
  .customer-stat{padding:14px 10px;gap:8px}
  .customer-stat b{font-size:25px}
  .customer-stat span{font-size:9px;line-height:1.5}
  .customer-stat small{font-size:8px;line-height:1.6}
  .customer-section-head{margin-bottom:15px;align-items:flex-start;flex-wrap:wrap;gap:5px}
  .customer-section-head h2{font-size:22px}
  .customer-section-head>a{font-size:10px}
  .customer-table{font-size:10px}
  .customer-table thead th{font-size:9px}
  .customer-table thead th,.customer-table tbody th,.customer-table td{padding:12px 10px}
  .customer-table .customer-table-order-date{display:none}
  .customer-table small{font-size:8px}
  .customer-status{font-size:8px;padding:6px 7px}
  .customer-tip{margin-top:20px;padding:18px 0}
  .customer-tip p{font-size:10px}
  .customer-description{font-size:11px}
  .customer-addresses{grid-template-columns:1fr;gap:14px}
  .customer-card,.woocommerce-EditAccountForm{padding:22px 18px}
  .customer-card address{font-size:11px}
  .customer-address-form .woocommerce-address-fields__field-wrapper,.woocommerce-EditAccountForm,.woocommerce-EditAccountForm fieldset{grid-template-columns:1fr;gap:18px}
  .customer-page .form-row-first,.customer-page .form-row-last{grid-column:1}
  .customer-timeline li{font-size:8px;padding-right:8px;line-height:1.5}
  .customer-access{grid-template-columns:1fr}
  .customer-access-intro{padding:28px}
  .customer-access-title{font-size:30px;margin:18px 0}
  .customer-access-intro>p:not(.eyebrow):not(.customer-access-title){font-size:11px}
  .customer-access-form{padding:28px 22px}
  .customer-access-intro>span{font-size:200px;bottom:-50px}
  .customer-access-form h2{font-size:23px}
}
