/* Win Win Account v0.31 — isolated WooCommerce account layout; core forms stay native. */
.ww-account-host-page{padding:0 0 85px;background:#f8f9fb;min-height:65vh}
.ww-account-host-page>.ww-container{max-width:1250px}
.ww-account-page{padding:26px 0 20px;color:#151a22}
.ww-account-breadcrumb{display:flex;align-items:center;gap:9px;font-size:12px;color:#858b96;margin-bottom:24px}
.ww-account-breadcrumb a{color:#646b76;text-decoration:none}
.ww-account-breadcrumb a:hover{color:#e90024}
.ww-account-topbar{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:28px}
.ww-account-eyebrow,.ww-account-welcome>span{display:block;color:#e90024;font-size:10px;line-height:1.4;letter-spacing:.12em;font-weight:800;margin-bottom:8px}
.ww-account-topbar h1{font-size:clamp(29px,3vw,38px);line-height:1.14;letter-spacing:-.04em;margin:0;color:#12151b;font-weight:800}
.ww-account-topbar p{font-size:13px;color:#6d7380;margin:9px 0 0;line-height:1.55}
.ww-account-shop-link{white-space:nowrap;font-size:12px;font-weight:700;border:1px solid #dce1e7;border-radius:5px;padding:12px 17px;color:#1a2029;background:white;text-decoration:none}
.ww-account-shop-link:hover{border-color:#e90024;color:#e90024}
/* WooCommerce generates clearfix ::before/::after content on .woocommerce.
   Without suppressing it, those pseudo-elements become grid items and push
   our sidebar into column 2 and dashboard into the narrow column 1. */
.ww-account-layout.woocommerce::before,
.ww-account-layout.woocommerce::after{content:none!important;display:none!important}
.ww-account-layout.woocommerce{display:grid;grid-template-columns:255px minmax(0,1fr);grid-template-areas:"account-nav account-main";gap:22px;align-items:start;min-width:0;width:100%;max-width:100%}
.ww-account-sidebar{grid-area:account-nav}
.ww-account-content.woocommerce-MyAccount-content{grid-area:account-main}
.ww-account-sidebar{min-width:0;background:#fff;border:1px solid #e4e7eb;border-radius:8px;overflow:hidden}
.ww-account-profile{display:flex;align-items:center;gap:12px;padding:23px 19px;border-bottom:1px solid #e9ebef}
.ww-account-avatar{background:#fdecef;color:#d80020;width:44px;height:44px;flex:none;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:19px}
.ww-account-profile-meta{display:flex;flex-direction:column;gap:3px;min-width:0}
.ww-account-profile-meta strong{font-size:13px;line-height:1.25;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ww-account-profile-meta span{font-size:11px;color:#7b808a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ww-account-navigation.woocommerce-MyAccount-navigation{float:none;width:100%;padding:10px}
.ww-account-navigation ul{display:flex;flex-direction:column;gap:3px;list-style:none;margin:0;padding:0}
.ww-account-navigation li{list-style:none;margin:0}
.ww-account-navigation li a{display:flex;padding:12px 13px;border-radius:5px;text-decoration:none;color:#515965;font-size:12px;font-weight:650;line-height:1.35;transition:background .15s,color .15s}
.ww-account-navigation li a:hover{background:#f6f7f9;color:#d80020}
.ww-account-navigation li.is-active a,.ww-account-navigation li a[aria-current="page"]{color:#d80020;background:#fff1f3;font-weight:800}
.ww-account-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{border-top:1px solid #eef0f3;margin-top:8px;padding-top:8px}
/* Native details dropdown only on phones; desktop sidebar remains unchanged. */
.ww-account-mobile-menu{display:none}
.ww-account-mobile-menu summary::-webkit-details-marker{display:none}
.ww-account-mobile-menu summary{list-style:none}
.ww-account-mobile-chevron{display:block;width:10px;height:10px;border-right:2px solid #65707f;border-bottom:2px solid #65707f;transform:rotate(45deg);transition:transform .18s ease;flex:none;margin-right:4px}
.ww-account-mobile-menu[open] .ww-account-mobile-chevron{transform:translateY(4px) rotate(225deg)}
.ww-account-mobile-trigger:focus-visible,.ww-account-mobile-links a:focus-visible{outline:2px solid #e90024;outline-offset:2px}

.ww-account-content.woocommerce-MyAccount-content{float:none;width:100%;min-width:0;margin:0;background:#fff;border:1px solid #e4e7eb;border-radius:8px;padding:27px}
.ww-account-content>p:first-child{margin-top:0}
.ww-account-welcome h2{font-size:24px;letter-spacing:-.04em;font-weight:800;line-height:1.2;margin:0}
.ww-account-welcome p{font-size:12px;color:#767b86;margin:10px 0 0;line-height:1.65}
.ww-account-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:25px 0 32px}
.ww-account-quick{display:flex;flex-direction:column;gap:10px;min-width:0;padding:19px;border:1px solid #e5e8ed;border-radius:7px;background:#fbfcfd;text-decoration:none;transition:border-color .15s,background .15s}
.ww-account-quick:hover{border-color:#e90024;background:#fffafa}
.ww-account-quick span{font-size:12px;color:#535b66;font-weight:700}
.ww-account-quick strong{font-size:31px;font-weight:800;line-height:1;letter-spacing:-.04em;color:#171b21}
.ww-account-quick small{font-size:11px;color:#818793;line-height:1.4}
.ww-account-quick-details strong{font-size:22px;font-weight:800;color:#d80020}
.ww-account-section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:15px}
.ww-account-section-heading h2{font-size:18px;font-weight:800;letter-spacing:-.03em;margin:0}
.ww-account-section-heading p{margin:5px 0 0;font-size:12px;color:#7b818b}
.ww-account-section-heading a{font-size:12px;font-weight:750;color:#d70020;white-space:nowrap}
.ww-account-table-wrap{overflow:auto;border:1px solid #e7eaef;border-radius:6px;width:100%;-webkit-overflow-scrolling:touch}
.ww-account-table,.ww-account-content .woocommerce-orders-table{border:0!important;width:100%;border-collapse:collapse!important;margin:0!important;border-radius:0!important;font-size:12px;min-width:420px}
.ww-account-table th,.ww-account-table td{padding:14px 13px;text-align:left;border-bottom:1px solid #eef0f3!important;vertical-align:middle}
.ww-account-table th{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#7c818a;background:#f8f9fb;font-weight:800}
.ww-account-table tbody tr:last-child td{border-bottom:0!important}
.ww-account-table td strong{font-weight:750}
.ww-account-table td a{color:#d90022;text-decoration:none;font-weight:700}
.ww-account-status{display:inline-flex;align-items:center;padding:5px 9px;font-size:11px;font-weight:700;color:#46515e;background:#f1f3f5;border-radius:4px;white-space:nowrap}
.ww-account-table-action{text-align:right!important}
.ww-account-table-action a{display:inline-flex;text-align:center}
.ww-account-empty{text-align:center;padding:35px 15px;border:1px dashed #d6dbe2;border-radius:7px;background:#fcfcfd}
.ww-account-empty h2,.ww-account-empty h3{margin:0;font-size:17px;font-weight:800;color:#151a21}
.ww-account-empty p{font-size:12px;color:#777f89;line-height:1.65;max-width:460px;margin:11px auto 20px}
.ww-account-primary-link,.ww-account-content .woocommerce-Button.button,.ww-account-content button.button,.ww-account-host-page .woocommerce button.button{display:inline-flex;align-items:center;justify-content:center;background:#e90024!important;color:#fff!important;border:1px solid #e90024!important;border-radius:4px!important;padding:11px 20px!important;line-height:1.35!important;font-size:12px!important;font-weight:800!important;text-decoration:none!important;min-height:42px}
.ww-account-primary-link:hover,.ww-account-content .woocommerce-Button.button:hover,.ww-account-content button.button:hover{background:#bf001d!important;border-color:#bf001d!important;color:#fff!important}
.ww-account-assistance{background:#f7f8fa;border-radius:7px;border:1px solid #edf0f3;margin-top:25px;padding:18px 20px}
.ww-account-assistance strong{font-size:13px}
.ww-account-assistance p{color:#777e88;font-size:12px;line-height:1.6;margin:7px 0 0}
.ww-account-helper{font-size:12px;color:#717987;line-height:1.6;margin-top:18px}
.ww-account-pages{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:20px 0}
.ww-account-pages a{font-size:12px;font-weight:700;border:1px solid #dce0e5;padding:7px 11px;border-radius:4px;text-decoration:none}
.ww-account-pages a[aria-current="page"]{background:#e90024;color:#fff;border-color:#e90024}
/* WooCommerce-native order history, view-order, forms and addresses */
.ww-account-content .woocommerce-orders-table{min-width:560px;border:1px solid #e5e8ec!important;border-radius:6px!important;overflow:hidden;margin:12px 0 18px!important}
.ww-account-content .woocommerce-orders-table th,.ww-account-content .woocommerce-orders-table td{padding:13px!important;border-color:#e9edf1!important;text-align:left}
.ww-account-content .woocommerce-orders-table th{background:#f7f8fa;font-size:11px}
.ww-account-content .woocommerce-orders-table td{font-size:12px}
.ww-account-content .woocommerce-orders-table .button{font-size:11px!important;padding:9px 12px!important;line-height:1.4!important;border-radius:4px!important}
.ww-account-content h2,.ww-account-content h3{color:#171b20}
.ww-account-content .woocommerce-Address-title h3{margin:0 0 9px;font-size:17px}
.ww-account-content .woocommerce-Address{background:#fbfcfd;border:1px solid #e5e8ed;padding:19px;border-radius:7px;margin:0 0 16px}
.ww-account-content .woocommerce-Address-title{display:flex;justify-content:space-between;gap:10px;align-items:center}
.ww-account-content .woocommerce-Address-title a{font-size:12px;color:#d90022;font-weight:800}
.ww-account-content form .form-row{margin-bottom:14px;padding:0}
.ww-account-content form label,.ww-account-host-page form label{font-size:12px;font-weight:700;color:#333a43;margin:0 0 7px;display:block}
.ww-account-content form input.input-text,.ww-account-content form select,.ww-account-content form textarea,.ww-account-host-page .woocommerce form input.input-text{border:1px solid #dce1e7;border-radius:4px;padding:12px 13px;min-height:44px;background:#fff;color:#171b21;box-shadow:none;font:inherit;font-size:13px;width:100%}
.ww-account-content form input:focus,.ww-account-host-page form input:focus{outline:2px solid rgba(233,0,36,.15);border-color:#e90024}
.ww-account-content fieldset{border:1px solid #e9ebef;margin:19px 0;padding:20px;border-radius:6px}
.ww-account-content legend{padding:0 7px;font-weight:800;font-size:13px}
.ww-account-content .select2-container .select2-selection--single{height:44px;border-color:#dce1e7;display:flex;align-items:center}
.ww-account-content .woocommerce-order-details{margin:20px 0}
.ww-account-content .shop_table{border-color:#e6e9ee!important;border-radius:6px!important;overflow:hidden}
.ww-account-content .shop_table th,.ww-account-content .shop_table td{padding:12px!important;font-size:12px;border-color:#e6e9ee!important}
/* Guest login uses the actual WooCommerce login/register/reset flow */
.ww-account-host-page>.ww-container>h1{font-size:clamp(28px,3vw,37px);letter-spacing:-.04em;margin:28px 0 24px}
.ww-account-host-page .woocommerce:not(.ww-account-layout) .u-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
.ww-account-host-page .woocommerce:not(.ww-account-layout) .u-columns .u-column1,.ww-account-host-page .woocommerce:not(.ww-account-layout) .u-columns .u-column2{float:none;width:100%;min-width:0}
.ww-account-host-page .woocommerce:not(.ww-account-layout) form.login,.ww-account-host-page .woocommerce:not(.ww-account-layout) form.register{background:white;border:1px solid #e5e8ec;border-radius:7px;padding:26px;max-width:600px;margin:15px 0 25px}
.ww-account-host-page .woocommerce:not(.ww-account-layout) .u-columns h2{font-size:21px;margin:8px 0}
.ww-account-host-page .woocommerce:not(.ww-account-layout) form .form-row{margin-bottom:15px}
.ww-account-host-page .woocommerce:not(.ww-account-layout) form .woocommerce-form-login__rememberme{display:inline-flex;gap:7px;align-items:center}
.ww-account-host-page .woocommerce:not(.ww-account-layout) form .woocommerce-form-login__rememberme input{width:auto;min-height:auto}
.ww-account-host-page .woocommerce-message,.ww-account-host-page .woocommerce-info,.ww-account-host-page .woocommerce-error{border-top-width:3px;border-top-color:#e90024;background:#fff;font-size:12px;line-height:1.6;border-radius:5px;box-shadow:0 2px 10px rgba(0,0,0,.025)}
@media(max-width:1000px){.ww-account-layout.woocommerce{grid-template-columns:215px minmax(0,1fr);gap:16px}.ww-account-content.woocommerce-MyAccount-content{padding:22px}.ww-account-quick{padding:15px}}
@media(max-width:760px){
    .ww-account-host-page{padding-bottom:45px}
    .ww-account-page{padding-top:20px}
    .ww-account-breadcrumb{margin-bottom:18px}
    .ww-account-topbar{align-items:start;flex-direction:column;gap:13px;margin-bottom:20px}
    .ww-account-shop-link{padding:10px 14px}
    .ww-account-layout.woocommerce{display:flex;flex-direction:column;gap:14px;grid-template-areas:none}
    .ww-account-sidebar,.ww-account-content.woocommerce-MyAccount-content{width:100%}
    .ww-account-sidebar{overflow:visible}
    .ww-account-profile{padding:16px}
    .ww-account-navigation.woocommerce-MyAccount-navigation{padding:10px;overflow:visible}
    .ww-account-navigation .ww-account-desktop-links{display:none}
    .ww-account-mobile-menu{display:block;width:100%}
    .ww-account-mobile-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;background:#fbfcfd;border:1px solid #e1e5eb;border-radius:6px;min-height:56px;padding:11px 15px;user-select:none}
    .ww-account-mobile-trigger:hover{border-color:#d4dae2}
    .ww-account-mobile-trigger-text{display:flex;flex-direction:column;gap:3px;min-width:0}
    .ww-account-mobile-kicker{font-size:9px;letter-spacing:.1em;font-weight:800;color:#929ba7}
    .ww-account-mobile-trigger strong{font-size:14px;line-height:1.3;font-weight:800;color:#171c26;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .ww-account-mobile-menu[open] .ww-account-mobile-trigger{border-color:#ed9aa7;background:#fffafa}
    .ww-account-navigation .ww-account-mobile-links{display:flex;flex-direction:column;gap:3px;list-style:none;margin:6px 0 0;padding:7px;background:#fff;border:1px solid #e4e8ed;border-radius:6px;width:100%;min-width:0;box-shadow:0 8px 20px rgba(17,24,39,.06)}
    .ww-account-mobile-links li{margin:0;padding:0;border:0}
    .ww-account-mobile-links li a{display:flex;align-items:center;white-space:normal;background:transparent;font-size:13px;min-height:44px;padding:11px 12px;border-radius:5px}
    .ww-account-mobile-links li.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:6px;border-top:1px solid #eef0f3;padding-top:6px}
    .ww-account-content.woocommerce-MyAccount-content{padding:19px}
    .ww-account-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 25px}
    .ww-account-quick{padding:15px;gap:8px}
    .ww-account-quick strong{font-size:26px}
    .ww-account-quick-details{grid-column:1/-1}
    .ww-account-quick-details strong{font-size:19px}
    .ww-account-quick small{font-size:11px}
    .ww-account-welcome h2{font-size:21px}
    .ww-account-table{min-width:435px}
    .ww-account-host-page .woocommerce:not(.ww-account-layout) .u-columns{grid-template-columns:minmax(0,1fr);gap:8px}
}
@media(max-width:390px){
    .ww-account-content.woocommerce-MyAccount-content{padding:15px}
    .ww-account-quick{padding:13px}
    .ww-account-section-heading{align-items:start;flex-direction:column;gap:9px}
}
@media(prefers-reduced-motion:reduce){.ww-account-mobile-chevron{transition:none}}

/* Phone menu includes account navigation without crowding the header icons. */
