/* =========================================================================
   Saibarato — A minha conta (live WooCommerce markup)
   Matches the "Área de cliente" view of Saibarato_Loja_Produto_Previsualizacao.html.
   Loaded only on the My Account page by inc/saibarato-account.php.
   ========================================================================= */
/* Área de cliente e checkout: estilos limitados às páginas correspondentes. */
.sb-home .sb-client,.sb-home .sb-payment{--sb-panel:#fff;--sb-soft:#f3f5fa;--sb-radius:18px;padding-top:22px;padding-bottom:64px}
.sb-home .sb-client a,.sb-home .sb-payment a{overflow-wrap:anywhere}
.sb-home .sb-client .sb-client-crumb,.sb-home .sb-payment .sb-client-crumb{display:flex;gap:8px;align-items:center;color:var(--sb-muted);font-size:13px;margin:0 0 15px}
.sb-home .sb-client-crumb a{color:var(--sb-blue)}
.sb-home .sb-client-intro{padding:24px 28px;background:#f4f6fb;border-radius:var(--sb-radius);margin:0 0 23px;border:1px solid #e7ecf5}
.sb-home .sb-client-intro h1{font-size:clamp(30px,4vw,43px);line-height:1.1;letter-spacing:-.045em;font-weight:750;color:var(--sb-blue)}
.sb-home .sb-client-intro p{margin:9px 0 0;color:var(--sb-muted);font-size:14px;line-height:1.6}
.sb-home .sb-client-grid,.sb-home .sb-client>.woocommerce{display:grid;grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px}
.sb-home .sb-client:has(.woocommerce-form-login)>.woocommerce,.sb-home .sb-client:has(.woocommerce-ResetPassword)>.woocommerce{display:block}
.sb-home .sb-client-grid>* , .sb-home .sb-client>.woocommerce>*{min-width:0}
.sb-home .sb-client>.woocommerce::before,.sb-home .sb-client>.woocommerce::after{display:none}
.sb-home .sb-client>.woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
.sb-home .sb-client>.woocommerce>.woocommerce-notices-wrapper:empty{display:none}
.sb-home .sb-client .sb-client-nav,.sb-home .sb-client .woocommerce-MyAccount-navigation{width:auto;float:none;margin:0;padding:9px;border:1px solid var(--sb-line);border-radius:15px;background:#fff}
.sb-home .sb-client :is(.sb-client-nav,.woocommerce-MyAccount-navigation) ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.sb-home .sb-client :is(.sb-client-nav,.woocommerce-MyAccount-navigation) li{margin:0;padding:0;list-style:none}
.sb-home .sb-client :is(.sb-client-nav,.woocommerce-MyAccount-navigation) a{display:flex;align-items:center;gap:10px;min-height:45px;padding:9px 11px;border-radius:9px;font-weight:650;font-size:14px;color:var(--sb-ink)}
.sb-home .sb-client :is(.sb-client-nav,.woocommerce-MyAccount-navigation) a:hover,.sb-home .sb-client :is(.sb-client-nav,.woocommerce-MyAccount-navigation) a[aria-current=page],.sb-home .sb-client .woocommerce-MyAccount-navigation .is-active>a{color:var(--sb-blue);background:#edf1fb}
.sb-home .sb-client-nav svg{width:18px;height:18px;color:var(--sb-blue)}
.sb-home .sb-client-content,.sb-home .sb-client .woocommerce-MyAccount-content{display:block;width:auto;float:none;margin:0;min-width:0}
.sb-home .sb-client-card,.sb-home .sb-client .woocommerce-MyAccount-content,.sb-home .sb-payment-card{background:var(--sb-panel);border:1px solid var(--sb-line);border-radius:var(--sb-radius);padding:23px;min-width:0}
.sb-home .sb-client-card h2,.sb-home .sb-client .woocommerce-MyAccount-content h2,.sb-home .sb-payment-card h2{color:var(--sb-blue);font-size:clamp(21px,2.4vw,28px);line-height:1.2;font-weight:750;letter-spacing:-.025em;margin:0 0 8px}
.sb-home .sb-client-card h3,.sb-home .sb-client .woocommerce-MyAccount-content h3,.sb-home .sb-payment-card h3{font-size:17px;font-weight:700;color:var(--sb-blue);margin:0 0 6px}
.sb-home .sb-client-card p,.sb-home .sb-payment-card p,.sb-home .sb-client .woocommerce-MyAccount-content>p{color:var(--sb-muted);line-height:1.6;font-size:14px}
.sb-home .sb-client-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px}
.sb-home .sb-client-tile{display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:start;gap:11px;border:1px solid var(--sb-line);border-radius:13px;padding:13px;text-decoration:none;color:var(--sb-blue)}
.sb-home .sb-client-tile:hover{border-color:#8c9cca;background:#fafbff}
.sb-home .sb-client-tile strong{display:block;font-size:15px;color:var(--sb-blue)}
.sb-home .sb-client-tile small{display:block;color:var(--sb-muted);font-size:13px;margin-top:3px;line-height:1.4}
.sb-home .sb-client-tile>span:first-child{background:#edf1fa;color:var(--sb-blue);display:grid;place-items:center;width:38px;height:38px;border-radius:9px}
.sb-home .sb-client-tile>svg{width:16px;margin-top:5px}
.sb-home .sb-client-stack{display:grid;gap:14px}
.sb-home .sb-client :is(.sb-order-list,table.shop_table){width:100%;border-collapse:collapse;border:0;margin:14px 0 0}
.sb-home .sb-client :is(.sb-order-list,table.shop_table) :is(th,td){text-align:left;padding:12px 9px;border:0;border-bottom:1px solid var(--sb-line);font-size:14px;vertical-align:middle}
.sb-home .sb-client :is(.sb-order-list,table.shop_table) thead th{font-size:12px;color:var(--sb-muted);font-weight:700;background:#f6f7fa}
.sb-home .sb-client :is(.sb-order-list,table.shop_table) td:first-child a{font-weight:750;color:var(--sb-blue)}
.sb-home .sb-order-tag{font-size:12px;font-weight:700;display:inline-flex;border-radius:100px;padding:4px 8px;background:#eef2ff;color:#283f7b}
.sb-home .sb-order-tag[data-status=done]{background:#edf8e9;color:#225c34}
.sb-home .sb-order-tag[data-status=cancelled]{background:#f8efed;color:#813628}
.sb-home :is(.sb-client,.sb-payment) :is(.sb-client-button,.button){display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;border:1px solid #d9e0f0;border-radius:8px;background:#edf1fa;color:var(--sb-blue);font-size:14px;font-weight:700;text-decoration:none;white-space:normal}
.sb-home :is(.sb-client,.sb-payment) :is(.sb-client-button,.button):hover{background:#e0e8fa}
.sb-home :is(.sb-client,.sb-payment) :is(.sb-client-primary,button[name=save_address],button[name=save_account_details],#place_order,.wc-block-components-checkout-place-order-button){background:var(--sb-blue);border-color:var(--sb-blue);color:#fff}
.sb-home :is(.sb-client,.sb-payment) :is(.sb-client-primary,button[name=save_address],button[name=save_account_details],#place_order,.wc-block-components-checkout-place-order-button):hover{background:#192c63;color:#fff}
.sb-home .sb-client .woocommerce-orders-table .button{margin:2px 4px 2px 0}
.sb-home .sb-client-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:15px}
.sb-home .sb-client-return{color:var(--sb-blue);font-size:14px;text-decoration:underline;display:inline-block;margin:0 0 13px}
.sb-home .sb-addresses,.sb-home .sb-client .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:17px}
.sb-home .sb-address-card,.sb-home .sb-client .woocommerce-Address{border:1px solid var(--sb-line);border-radius:13px;padding:16px;width:auto;float:none;min-width:0}
.sb-home .sb-client .woocommerce-Addresses::before,.sb-home .sb-client .woocommerce-Addresses::after{display:none}
.sb-home .sb-client :is(address,.sb-address-text){font-style:normal;line-height:1.55;font-size:14px;white-space:pre-line;color:var(--sb-muted);margin:0 0 13px}
.sb-home .sb-client .woocommerce-Address-title .edit{float:none;text-decoration:underline;color:var(--sb-blue)}
.sb-home .sb-client .woocommerce-Address-title{display:block;margin-bottom:9px}
.sb-home .sb-client .woocommerce-Address-title h2,.sb-home .sb-client .woocommerce-Address-title h3{float:none;font-size:19px;margin-bottom:6px}
.sb-home .sb-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:15px 0 0}
.sb-home .sb-field{display:grid;align-content:start;gap:5px;min-width:0}
.sb-home .sb-field-wide{grid-column:1/-1}
.sb-home .sb-field>label,.sb-home :is(.sb-client,.sb-payment) .form-row>label{display:block;font-size:14px;font-weight:650;margin:0;color:var(--sb-ink)}
.sb-home .sb-field :is(input,select,textarea),.sb-home :is(.sb-client,.sb-payment) :is(input.input-text,textarea,select,.select2-selection){width:100%;min-width:0;min-height:43px;padding:9px 11px;border:1px solid #ccd4e3;border-radius:8px;background:#fff;color:var(--sb-ink);font:inherit;box-shadow:none}
.sb-home :is(.sb-client,.sb-payment) .select2-selection{padding:3px 5px;height:auto}
.sb-home :is(.sb-client,.sb-payment) .form-row{padding:0;margin:0 0 12px;min-width:0}
.sb-home :is(.sb-client,.sb-payment) .form-row label.checkbox{display:flex;align-items:flex-start;gap:8px}
.sb-home :is(.sb-client,.sb-payment) fieldset{border:1px solid var(--sb-line);border-radius:12px;padding:15px;margin:16px 0}
.sb-home :is(.sb-client,.sb-payment) legend{color:var(--sb-blue);font-weight:700;padding:0 6px}
.sb-home .sb-client-hint{font-size:12px;color:var(--sb-muted)}
.sb-home .sb-client-feedback:not(:empty){margin:12px 0 0;color:#225c34;background:#edf8e9;border-radius:8px;padding:10px 12px}
.sb-home .sb-client-feedback[data-error=true]:not(:empty){color:#813628;background:#f8efed}
.sb-home .sb-payment-summary>.sb-client-button{width:100%;margin-top:12px}
.sb-home .sb-client :is(input,button,a,select,textarea):focus-visible,.sb-home .sb-payment :is(input,button,a,select,textarea):focus-visible{outline:2px solid var(--sb-blue);outline-offset:2px}
@media(max-width:830px){
  .sb-home .sb-client-grid,.sb-home .sb-client>.woocommerce,.sb-home .sb-payment-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .sb-home .sb-client :is(.sb-client-nav,.woocommerce-MyAccount-navigation) ul{display:flex;overflow:auto;gap:5px;padding:2px}
  .sb-home .sb-client :is(.sb-client-nav,.woocommerce-MyAccount-navigation) li{flex:none}
  .sb-home .sb-client :is(.sb-client-nav,.woocommerce-MyAccount-navigation) a{min-height:40px;font-size:13px;white-space:nowrap}
}
@media(max-width:540px){
  .sb-home .sb-client,.sb-home .sb-payment{padding-top:15px;padding-bottom:34px}
  .sb-home .sb-client-intro{padding:19px 16px;margin-bottom:15px}
  .sb-home .sb-client-card,.sb-home .sb-client .woocommerce-MyAccount-content,.sb-home .sb-payment-card{padding:15px}
  .sb-home .sb-client-cards,.sb-home .sb-addresses,.sb-home .sb-client .woocommerce-Addresses,.sb-home .sb-field-grid{grid-template-columns:minmax(0,1fr)}
  .sb-home .sb-client .sb-order-list thead{position:absolute;clip:rect(0 0 0 0);width:1px;height:1px;overflow:hidden}
  .sb-home .sb-client .sb-order-list,.sb-home .sb-client .sb-order-list tbody,.sb-home .sb-client .sb-order-list tr{display:block}
  .sb-home .sb-client .sb-order-list tr{padding:8px 0;border-bottom:1px solid var(--sb-line)}
  .sb-home .sb-client .sb-order-list td{display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;padding:5px 0}
  .sb-home .sb-client .sb-order-list td::before{content:attr(data-label);font-weight:650;color:var(--sb-muted);font-size:12px}
  .sb-home .sb-client .sb-order-list td:last-child{justify-content:flex-end}
  .sb-home .sb-client .sb-order-list td:last-child::before{content:none}
  .sb-home .sb-field :is(input,select,textarea),.sb-home :is(.sb-client,.sb-payment) :is(input.input-text,textarea,select){font-size:16px}
}
.sb-home .sb-client .sb-native-order-item{display:inline-flex;align-items:center;gap:9px;vertical-align:middle}
.sb-home .sb-client .sb-native-order-item img{width:40px;height:40px;object-fit:contain;border-radius:6px;background:#f7f8fa}
.sb-home .sb-client form.woocommerce-EditAccountForm p:not(.form-row),.sb-home .sb-client .woocommerce-address-fields>p{margin:10px 0 0}
.sb-home .sb-client .woocommerce-MyAccount-content form>h2,.sb-home .sb-client .woocommerce-MyAccount-content form>h3{margin-bottom:14px}
@media(max-width:540px){
  .sb-home .sb-client .woocommerce-MyAccount-content .shop_table_responsive tr td{overflow-wrap:anywhere}
}

/* =========================================================================
   Live WooCommerce markup (account-live.css additions)
   ========================================================================= */
.sb-home .sb-client *,.sb-home .sb-client *::before,.sb-home .sb-client *::after{box-sizing:border-box}
.sb-home .sb-client>.woocommerce{padding:0;margin:0}
.sb-home .sb-client .sb-client-crumb a{text-decoration:none}
.sb-home .sb-client .sb-client-crumb a:hover{text-decoration:underline}
.sb-home .sb-client .sb-client-intro .sb-eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.sb-home .sb-client .sb-client-intro h1{margin:0}

/* Navigation icons */
.sb-home .sb-client .woocommerce-MyAccount-navigation a{text-decoration:none}
.sb-home .sb-client .woocommerce-MyAccount-navigation a::before{content:"";flex:none;width:18px;height:18px;background:var(--sb-blue);-webkit-mask:no-repeat center/contain;mask:no-repeat center/contain}
.sb-home .sb-client .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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-7 9 7v10H3z M9 20v-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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-7 9 7v10H3z M9 20v-7h6v7'/%3E%3C/svg%3E")}
.sb-home .sb-client .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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14v17H5z M8 8h8 M8 12h8 M8 16h5'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14v17H5z M8 8h8 M8 12h8 M8 16h5'/%3E%3C/svg%3E")}
.sb-home .sb-client .woocommerce-MyAccount-navigation-link--ultimo-encomenda 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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v6l4 2 M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0z'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v6l4 2 M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0z'/%3E%3C/svg%3E")}
.sb-home .sb-client .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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a8 8 0 0 0-16 0v2 M16 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0z'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a8 8 0 0 0-16 0v2 M16 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0z'/%3E%3C/svg%3E")}
.sb-home .sb-client .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='1.8' 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 M15 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%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='1.8' 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 M15 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3C/svg%3E")}
.sb-home .sb-client .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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H4v16h6 M9 12h12m-4-4 4 4-4 4'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H4v16h6 M9 12h12m-4-4 4 4-4 4'/%3E%3C/svg%3E")}
.sb-home .sb-client .woocommerce-MyAccount-navigation-link--downloads 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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5 M4 21h16'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5 M4 21h16'/%3E%3C/svg%3E")}
.sb-home .sb-client .woocommerce-MyAccount-navigation-link--payment-methods 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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18v12H3z M3 10h18'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18v12H3z M3 10h18'/%3E%3C/svg%3E")}
.sb-home .sb-client .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:4px;padding-top:4px;border-top:1px solid var(--sb-line)}

/* Content card (the dashboard uses its own cards) */
.sb-home .sb-client .woocommerce-MyAccount-content:has(>.sb-account-dashboard){background:none;border:0;padding:0}
.sb-home .sb-client .woocommerce-MyAccount-content>.woocommerce-notices-wrapper:empty{display:none}
.sb-home .sb-client .woocommerce-MyAccount-content>p:first-child,.sb-home .sb-client .woocommerce-MyAccount-content>.woocommerce-notices-wrapper+p{margin-top:0}
.sb-home .sb-client .sb-client-card>h2{margin-top:0}
.sb-home .sb-client .sb-client-tile{text-decoration:none}
.sb-home .sb-client .sb-client-tile svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sb-home .sb-client .sb-client-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.sb-home .sb-client .sb-order-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--sb-muted);font-size:14px;margin:4px 0 0}
.sb-home .sb-client .sb-order-meta strong{color:var(--sb-ink)}
.sb-home .sb-client .sb-order-head{margin-bottom:6px}
.sb-home .sb-client .sb-order-head h2{margin:0}

/* Notices */
.sb-home .sb-client :is(.woocommerce-error,.woocommerce-info,.woocommerce-message){list-style:none;margin:0 0 16px;padding:13px 16px;border:1px solid #d9e0f0;border-left:4px solid var(--sb-blue);border-radius:10px;background:#f6f8fd;color:var(--sb-ink);font-size:14px;line-height:1.5;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.sb-home .sb-client :is(.woocommerce-error,.woocommerce-info,.woocommerce-message)::before{display:none}
.sb-home .sb-client .woocommerce-error{border-left-color:#b3261e;background:#fdf3f2;display:block}
.sb-home .sb-client .woocommerce-message{border-left-color:#2f7d46;background:#f1f9f3}
.sb-home .sb-client :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) .button{order:2;margin-left:auto;float:none}

/* Orders table */
.sb-home .sb-client table.shop_table{border-radius:0}
.sb-home .sb-client table.shop_table thead th:first-child{border-radius:8px 0 0 8px}
.sb-home .sb-client table.shop_table thead th:last-child{border-radius:0 8px 8px 0}
.sb-home .sb-client .woocommerce-orders-table th.woocommerce-orders-table__cell-order-number a{font-weight:750;color:var(--sb-blue);text-decoration:none}
.sb-home .sb-client .woocommerce-orders-table td,.sb-home .sb-client .woocommerce-orders-table tbody th{font-weight:400}
.sb-home .sb-client .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions{white-space:nowrap}
.sb-home .sb-client .woocommerce-orders-table .button{min-height:36px;padding:6px 12px;font-size:13px}
.sb-home .sb-client .woocommerce-pagination{display:flex;justify-content:space-between;gap:10px;margin-top:16px}

/* Order details (view order / última encomenda) */
.sb-home .sb-client .woocommerce-order-details,.sb-home .sb-client .woocommerce-customer-details{margin-top:18px}
.sb-home .sb-client :is(.woocommerce-order-details__title,.woocommerce-column__title){font-size:19px!important;margin:0 0 6px!important}
.sb-home .sb-client table.woocommerce-table--order-details{margin-top:6px}
.sb-home .sb-client table.woocommerce-table--order-details thead{display:none}
.sb-home .sb-client table.woocommerce-table--order-details td.product-name a{color:var(--sb-ink);font-weight:650;text-decoration:none}
.sb-home .sb-client table.woocommerce-table--order-details td.product-name a:hover{color:var(--sb-blue)}
.sb-home .sb-client table.woocommerce-table--order-details .product-quantity{color:var(--sb-muted);font-weight:500}
.sb-home .sb-client table.woocommerce-table--order-details td.product-total{text-align:right;font-weight:700;white-space:nowrap}
.sb-home .sb-client table.woocommerce-table--order-details tfoot :is(th,td){background:none;font-size:14px}
.sb-home .sb-client table.woocommerce-table--order-details tfoot th{font-weight:400;color:var(--sb-ink)}
.sb-home .sb-client table.woocommerce-table--order-details tfoot td{text-align:right;font-weight:700}
.sb-home .sb-client table.woocommerce-table--order-details tfoot tr:last-child :is(th,td){font-size:19px;font-weight:750;color:var(--sb-blue);border-bottom:0}
.sb-home .sb-client .sb-native-order-item{gap:12px}
.sb-home .sb-client .sb-native-order-item img{width:48px;height:48px;flex:none}
.sb-home .sb-client .wc-item-meta{list-style:none;margin:4px 0 0;padding:0;font-size:12px;color:var(--sb-muted)}
.sb-home .sb-client .wc-item-meta :is(li,p,strong){display:inline;margin:0;font-size:12px}
.sb-home .sb-client .woocommerce-columns--addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.sb-home .sb-client .woocommerce-columns--addresses::before,.sb-home .sb-client .woocommerce-columns--addresses::after{display:none}
.sb-home .sb-client .woocommerce-columns--addresses .woocommerce-column{width:auto;float:none;max-width:none;padding:0}
.sb-home .sb-client .woocommerce-customer-details address{border:1px solid var(--sb-line);border-radius:13px;padding:14px 16px;font-style:normal;line-height:1.6;font-size:14px;color:var(--sb-muted)}
.sb-home .sb-client .woocommerce-customer-details address p{margin:6px 0 0;color:var(--sb-ink)}
.sb-home .sb-client .woocommerce-customer-details address p::before{display:none}
.sb-home .sb-client .woocommerce-OrderUpdates{list-style:none;margin:8px 0 0;padding:0}
.sb-home .sb-client .woocommerce-OrderUpdate{border-left:3px solid var(--sb-line);padding:4px 0 4px 12px;margin:0 0 10px}
.sb-home .sb-client .woocommerce-OrderUpdate-meta{font-size:12px;color:var(--sb-muted);margin:0}
.sb-home .sb-client .order-again{margin-top:14px}

/* Addresses overview: title, address, then the "Editar" button */
.sb-home .sb-client .woocommerce-Address{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.sb-home .sb-client .woocommerce-Address-title{display:contents}
.sb-home .sb-client .woocommerce-Address-title :is(h2,h3){order:0;margin:0!important;padding:0!important;border:0!important;font-size:17px!important}
.sb-home .sb-client .woocommerce-Address address{order:1;color:var(--sb-muted);font-size:14px;line-height:1.6;font-style:normal}
.sb-home .sb-client .woocommerce-Address-title .edit{order:2;display:inline-flex;align-items:center;min-height:38px;padding:7px 13px;margin-top:4px;border:1px solid #d9e0f0;border-radius:8px;background:#edf1fa;color:var(--sb-blue);font-size:14px;font-weight:700;text-decoration:none}
.sb-home .sb-client .woocommerce-Address-title .edit:hover{background:#e0e8fa}

/* Forms: edit address + edit account (same grid as the checkout) */
.sb-home .sb-client .woocommerce-address-fields__field-wrapper,.sb-home .sb-client form.woocommerce-EditAccountForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:6px}
.sb-home .sb-client .woocommerce-address-fields__field-wrapper>.form-row{grid-column:1/-1;width:auto;float:none;margin:0;padding:0}
.sb-home .sb-client :is(#billing_first_name_field,#billing_last_name_field,#billing_postcode_field,#billing_city_field,#billing_state_field,#billing_phone_field,#billing_vat_number_field,#shipping_first_name_field,#shipping_last_name_field,#shipping_postcode_field,#shipping_city_field,#shipping_state_field,#shipping_phone_field){grid-column:auto}
.sb-home .sb-client form.woocommerce-EditAccountForm>*{grid-column:1/-1;margin:0;width:auto;float:none}
.sb-home .sb-client form.woocommerce-EditAccountForm>.woocommerce-form-row--first,.sb-home .sb-client form.woocommerce-EditAccountForm>.woocommerce-form-row--last{grid-column:auto}
.sb-home .sb-client form.woocommerce-EditAccountForm>.clear{display:none}
.sb-home .sb-client form.woocommerce-EditAccountForm fieldset{display:grid;gap:12px;margin:4px 0 0}
.sb-home .sb-client form.woocommerce-EditAccountForm fieldset .form-row{margin:0}
.sb-home .sb-client .woocommerce-address-fields>p:last-child,.sb-home .sb-client form.woocommerce-EditAccountForm>p:last-of-type{margin-top:6px}
.sb-home .sb-client .form-row label.screen-reader-text{position:static!important;display:block;width:auto!important;height:auto!important;margin:0 0 5px!important;padding:0!important;clip:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important}
.sb-home .sb-client .form-row abbr.required{color:var(--sb-ink);text-decoration:none;border:0}
.sb-home .sb-client .form-row em,.sb-home .sb-client .form-row>span>em{display:block;font-size:12px;color:var(--sb-muted);margin-top:4px;font-style:normal}
.sb-home .sb-client .woocommerce-input-wrapper{display:block;width:100%}
.sb-home .sb-client select.select2-hidden-accessible{min-height:0!important;height:1px!important;width:1px!important;padding:0!important;border:0!important}
.sb-home .sb-client .select2-container{width:100%!important}
.sb-home .sb-client .select2-container .select2-selection--single{display:flex;align-items:center;height:43px;border:1px solid #ccd4e3;border-radius:8px}
.sb-home .sb-client .select2-container .select2-selection--single .select2-selection__rendered{padding:0 34px 0 11px;line-height:normal;color:var(--sb-ink)}
.sb-home .sb-client .select2-container .select2-selection--single .select2-selection__arrow{height:41px;right:6px}
.sb-home .sb-client .password-input{display:block;position:relative}
.sb-home .sb-client .show-password-input{position:absolute;right:10px;top:50%;transform:translateY(-50%)}
.sb-home .sb-client :is(button[name=save_address],button[name=save_account_details],button[name=login],button[name=register],.woocommerce-ResetPassword .button){min-height:44px;padding:10px 18px;border-radius:8px;font-size:15px}
/* custom-wocommerce.css sets .woocommerce-Button{background:var(--primary-color)!important} (undefined → invisible) */
.sb-home .sb-client :is(.woocommerce-Button,button[name=login],button[name=register],button[name=save_address],button[name=save_account_details],.woocommerce-ResetPassword button[type=submit]){display:inline-flex;align-items:center;justify-content:center;background:var(--sb-blue)!important;border:1px solid var(--sb-blue);color:#fff!important;font-weight:700;text-transform:none;letter-spacing:0;width:auto}
.sb-home .sb-client :is(.woocommerce-Button,button[name=login],button[name=register],button[name=save_address],button[name=save_account_details],.woocommerce-ResetPassword button[type=submit]):hover{background:#192c63!important;border-color:#192c63}

/* Logged out: login + register cards */
.sb-home .sb-client #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.sb-home .sb-client #customer_login::before,.sb-home .sb-client #customer_login::after{display:none}
.sb-home .sb-client #customer_login>.u-column1,.sb-home .sb-client #customer_login>.u-column2,
.sb-home .sb-client>.woocommerce>form.woocommerce-form-login,.sb-home .sb-client form.woocommerce-ResetPassword{width:auto;float:none;max-width:none;background:#fff;border:1px solid var(--sb-line);border-radius:var(--sb-radius);padding:23px;margin:0}
.sb-home .sb-client>.woocommerce>form.woocommerce-form-login,.sb-home .sb-client form.woocommerce-ResetPassword{max-width:560px}
.sb-home .sb-client #customer_login h2{color:var(--sb-blue);font-size:clamp(21px,2.4vw,26px);font-weight:750;letter-spacing:-.025em;margin:0 0 12px}
.sb-home .sb-client :is(form.login,form.register){border:0;padding:0;margin:0;border-radius:0}
.sb-home .sb-client .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:7px;font-size:14px;margin-right:14px}
.sb-home .sb-client .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit){display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:12px 16px}
.sb-home .sb-client #customer_login h2{border:0!important;padding:0!important}
.sb-home .sb-client .form-row label:has(>input[type=checkbox]){display:flex;align-items:flex-start;gap:8px;font-size:14px;font-weight:500;line-height:1.5;margin:0}
.sb-home .sb-client .form-row label>input[type=checkbox]{flex:none;width:16px;height:16px;margin:3px 0 0;accent-color:var(--sb-blue)}
.sb-home .sb-client .woocommerce-LostPassword a{color:var(--sb-blue);font-size:14px}
.sb-home .sb-client .woocommerce-privacy-policy-text p{font-size:12px;color:var(--sb-muted)}

/* Theme uppercases headings; WooCommerce addresses use <br> (no pre-line) and indent phone/email for icons */
.sb-home .sb-client :is(.woocommerce-MyAccount-content,#customer_login) :is(h2,h3){text-transform:none;letter-spacing:-.02em}
.sb-home .sb-client :is(.woocommerce-customer-details,.woocommerce-Address) address{white-space:normal}
.sb-home .sb-client .woocommerce-customer-details address p{padding-left:0}
/* custom-wocommerce.css boxes each menu item (uppercase, border, 20px padding): reset inside the new layout */
.sb-home .sb-client .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link{border:0;background:none;padding:0;text-transform:none;color:inherit}
.sb-home .sb-client .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{border-top:1px solid var(--sb-line);margin-top:4px;padding-top:4px}
.sb-home .sb-client .woocommerce-MyAccount-navigation li a{font-size:14px;font-weight:650;letter-spacing:0;text-transform:none}
.sb-home .sb-client .woocommerce-MyAccount-navigation li:not(.is-active) a{color:var(--sb-ink)}

@media (max-width:830px){
  .sb-home .sb-client .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:0;padding-top:0;border-top:0}
  .sb-home .sb-client #customer_login{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:540px){
  .sb-home .sb-client .woocommerce-address-fields__field-wrapper,.sb-home .sb-client form.woocommerce-EditAccountForm,.sb-home .sb-client .woocommerce-columns--addresses{grid-template-columns:minmax(0,1fr)}
  .sb-home .sb-client form.woocommerce-EditAccountForm>*{grid-column:1/-1!important}
  .sb-home .sb-client .woocommerce-orders-table thead{display:none}
  .sb-home .sb-client .woocommerce-orders-table,.sb-home .sb-client .woocommerce-orders-table tbody,.sb-home .sb-client .woocommerce-orders-table tr{display:block}
  .sb-home .sb-client .woocommerce-orders-table tr{padding:8px 0;border-bottom:1px solid var(--sb-line)}
  .sb-home .sb-client .woocommerce-orders-table :is(td,tbody th){display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;padding:5px 0;text-align:right}
  .sb-home .sb-client .woocommerce-orders-table :is(td,tbody th)::before{content:attr(data-title);font-weight:650;color:var(--sb-muted);font-size:12px;float:none}
  .sb-home .sb-client .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before{content:none}
  .sb-home .sb-client .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions{justify-content:flex-end}
}
