/* Crefow My Account v11.0.14: one dashboard renderer, desktop sidebar, responsive hub. */
.woocommerce-account .crefow-my-account-page{box-sizing:border-box;margin-inline:auto!important;max-width:var(--crefow-wide-width,1360px)!important;padding:clamp(20px,2.7vw,40px) var(--crefow-gutter-desktop,32px) clamp(48px,6vw,80px)!important;width:100%!important}
.woocommerce-account .crefow-my-account-page>.wp-block-post-title,.woocommerce-account .crefow-my-account-page>.wp-block-post-content{box-sizing:border-box;margin-inline:0!important;max-width:none!important;width:100%!important}
.woocommerce-account .crefow-my-account-page>.wp-block-post-title{margin:0 0 28px!important}
.woocommerce-account .crefow-my-account-page .woocommerce{align-items:start;box-sizing:border-box;display:grid!important;gap:var(--crefow-account-sidebar-gap,40px);min-width:0;width:100%!important}
.woocommerce-account :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content){box-sizing:border-box;clear:none!important;float:none!important;margin:0!important;max-width:none!important;min-width:0;width:auto!important}
.woocommerce-account :is(.crefow-account-navigation,.crefow-account-hub) a,.woocommerce-account .crefow-account-menu-link,.woocommerce-account .crefow-account-edit-link{text-decoration:none!important;text-decoration-line:none!important}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none!important;margin:0!important;padding:0!important}.woocommerce-account .woocommerce-MyAccount-navigation li{list-style:none!important;margin:0!important;position:static!important;transform:none!important}
.woocommerce-account .woocommerce-MyAccount-navigation li::before,.woocommerce-account .woocommerce-MyAccount-navigation li::after,.woocommerce-account .woocommerce-MyAccount-navigation li::marker{content:none!important;display:none!important}

/* Grouped navigation. */
.crefow-account-navigation-groups{display:grid;gap:20px;min-width:0}.crefow-account-nav-group{min-width:0}
.woocommerce-account .crefow-account-nav-group>h2{color:var(--crefow-accent,#a98236);font-size:12px;letter-spacing:.08em;margin:0 0 7px;padding-inline:14px;text-transform:uppercase}
.woocommerce-account .crefow-account-menu-link{align-items:center;border-radius:7px;color:inherit;display:grid!important;gap:11px;grid-template-columns:auto minmax(0,1fr) 16px;line-height:1.35;min-height:48px;padding:10px 14px;width:100%}
.crefow-account-menu-icon{align-items:center;display:inline-flex;height:var(--crefow-account-icon-desktop,24px);justify-content:center;width:var(--crefow-account-icon-desktop,24px)}
.crefow-account-menu-chevron{align-items:center;display:flex;height:16px;justify-content:center;opacity:.65;width:16px}.crefow-account-menu-chevron svg{height:16px;width:16px}
.crefow-account-icon__svg,.crefow-account-icon__image{display:block;height:100%;max-height:100%;max-width:100%;object-fit:contain;width:100%}
.crefow-account-nav-logout{border-top:1px solid var(--crefow-account-border,var(--crefow-border,#ddd));padding-top:14px}.crefow-account-nav-logout .is-logout{color:var(--crefow-error,#b42318)}
.woocommerce-account .crefow-account-menu-link:is(:hover,:focus-visible){background:var(--crefow-surface-alt,#f5f5f5)}
.woocommerce-account .crefow-account-menu-link.is-active,.crefow-account-active-background .woocommerce-MyAccount-navigation :is(.is-active>a,a.is-active),.crefow-account-active-left-line .woocommerce-MyAccount-navigation .crefow-account-menu-link.is-active{background:var(--crefow-action,#101010);box-shadow:none;color:var(--crefow-action-text,#fff)}

/* The hub owns its title and content; the old page-title is not duplicated. */
.crefow-account-shell-sidebar-v1114 .crefow-my-account-page>.wp-block-post-title{display:none!important}.crefow-account-hub-page .woocommerce-MyAccount-content{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
.crefow-account-hub{display:grid;gap:var(--crefow-account-hub-gap,16px);min-width:0}
.crefow-account-page-toolbar{align-items:center;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;margin:0 0 4px}.crefow-account-page-toolbar h1{font-size:clamp(1.65rem,2.6vw,2.35rem);margin:0;text-align:center}
.crefow-account-page-arrow{align-items:center;background:transparent!important;border:1px solid var(--crefow-account-border,var(--crefow-border,#ddd))!important;border-radius:50%!important;color:inherit!important;display:inline-flex!important;height:44px!important;justify-content:center;min-height:44px!important;padding:0!important;width:44px!important}.crefow-account-page-arrow:last-child{justify-self:end}.crefow-account-page-arrow:is(:hover,:focus-visible){background:var(--crefow-surface-alt,#f5f5f5)!important}
.crefow-account-profile-status{border:1px solid currentColor;border-radius:8px;padding:11px 14px}.crefow-account-profile-status.is-success{background:#effaf3;color:#14763d}.crefow-account-profile-status.is-error{background:#fff4f2;color:#b42318}
.crefow-account-card{background:var(--crefow-account-card,var(--crefow-surface,#fff));border:1px solid var(--crefow-account-border,var(--crefow-border,#ddd));border-radius:var(--crefow-account-hub-radius,12px);box-sizing:border-box;min-width:0;padding:clamp(16px,2vw,24px)}.crefow-account-card>h2{font-size:clamp(1rem,1.3vw,1.2rem);margin:0 0 16px}

/* Profile. */
.crefow-account-profile-card{align-items:center;display:grid;gap:18px;grid-template-columns:auto minmax(0,1fr) auto}.crefow-account-avatar{display:block;height:88px;width:88px}
.crefow-account-avatar img,.crefow-account-profile-dialog__preview img{border-radius:50%;display:block;height:100%!important;object-fit:cover;width:100%!important}
.crefow-account-profile-copy h2{font-size:clamp(1.45rem,2.4vw,2.15rem);margin:0}.crefow-account-profile-copy p{color:var(--crefow-text-secondary,#545454);margin:5px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crefow-account-profile-actions{justify-self:end}
.crefow-account-edit-link{align-items:center;background:transparent!important;border:1px solid var(--crefow-accent,#a98236)!important;border-radius:7px!important;color:var(--crefow-accent,#a98236)!important;display:inline-flex!important;gap:8px;min-height:44px;padding:9px 14px!important;white-space:nowrap}

/* Dashboard cards. */
.crefow-account-dashboard-grid{align-items:stretch;display:grid;gap:var(--crefow-account-hub-gap,16px);grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}.crefow-account-dashboard-main{display:grid;gap:var(--crefow-account-hub-gap,16px);min-width:0}
.crefow-account-order-row{align-items:center;display:grid;gap:18px;grid-template-columns:142px minmax(0,1fr) auto}.crefow-account-order-media{align-items:center;background:var(--crefow-surface-alt,#f5f5f5);border-radius:9px;display:flex;height:118px;justify-content:center;overflow:hidden}.crefow-account-order-media img{height:100%!important;object-fit:contain;width:100%!important}
.crefow-account-order-copy{display:grid;gap:5px}.crefow-account-order-copy>strong{font-size:1.08em}.crefow-account-status{border:1px solid var(--crefow-accent,#a98236);border-radius:999px;color:var(--crefow-accent,#a98236);font-size:.82em;justify-self:start;padding:4px 10px}
.crefow-account-button{align-items:center;background:var(--crefow-action,#101010)!important;border:1px solid var(--crefow-action,#101010)!important;border-radius:6px!important;color:var(--crefow-action-text,#fff)!important;display:inline-flex!important;gap:18px;justify-content:center;min-height:44px;padding:10px 18px!important;text-decoration:none!important}
.crefow-account-quick-grid{display:grid;gap:10px;grid-template-columns:repeat(var(--crefow-account-quick-desktop,6),minmax(0,1fr))}.crefow-account-quick-grid>a{align-items:center;border:1px solid var(--crefow-account-border,var(--crefow-border,#ddd));border-radius:8px;color:inherit;display:flex;flex-direction:column;gap:9px;justify-content:center;min-height:108px;padding:12px 8px;text-align:center;text-decoration:none!important}.crefow-account-quick-grid>a:hover{border-color:var(--crefow-accent,#a98236)}.crefow-account-quick-grid>a>span{height:var(--crefow-account-icon-desktop,24px);width:var(--crefow-account-icon-desktop,24px)}.crefow-account-quick-grid strong{font-size:.88em;line-height:1.25}
.crefow-account-summary-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.crefow-account-summary-item{align-items:center;border:1px solid var(--crefow-account-border,var(--crefow-border,#ddd));border-radius:8px;display:flex;gap:12px;min-height:90px;padding:14px}.crefow-account-summary-item.is-unavailable{opacity:.68}.crefow-account-summary-icon{align-items:center;background:#f8f3ea;border-radius:50%;color:var(--crefow-accent,#a98236);display:flex;flex:0 0 42px;height:42px;justify-content:center;padding:10px}.crefow-account-summary-item>span:last-child{display:grid;font-size:.78em;gap:4px}.crefow-account-summary-item strong{color:var(--crefow-text,#101010);font-size:1.55em}
.crefow-account-secondary-grid{display:grid;gap:var(--crefow-account-hub-gap,16px);grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.crefow-account-address-row{align-items:start;display:grid;gap:14px;grid-template-columns:auto minmax(0,1fr) auto}.crefow-account-address-row>span{color:var(--crefow-accent,#a98236);height:28px;width:28px}.crefow-account-address address{font-style:normal;line-height:1.55;margin-top:8px}.crefow-account-address-row>a{color:var(--crefow-accent,#a98236);text-decoration:none!important}
.crefow-account-customer-care{align-items:start;display:grid;gap:16px;grid-template-columns:auto minmax(0,1fr)}.crefow-account-customer-care>span{align-items:center;background:#f8f3ea;border-radius:50%;color:var(--crefow-accent,#a98236);display:flex;height:50px;justify-content:center;padding:10px;width:50px}.crefow-account-customer-care h2{margin:0}.crefow-account-customer-care p{margin:6px 0 16px}.crefow-account-customer-care dl{border-top:1px solid var(--crefow-account-border,var(--crefow-border,#ddd));display:flex;gap:24px;grid-column:1/-1;margin:6px 0 0;padding-top:14px}.crefow-account-customer-care dl>div{display:grid;gap:3px}.crefow-account-customer-care dt{font-size:.75em;font-weight:700}.crefow-account-customer-care dd{margin:0}
.crefow-account-trust-strip{display:grid;gap:0;grid-template-columns:repeat(3,minmax(0,1fr));padding-block:16px}.crefow-account-trust-strip>div{align-items:center;display:flex;gap:14px;padding:4px 22px}.crefow-account-trust-strip>div+div{border-left:1px solid var(--crefow-account-border,var(--crefow-border,#ddd))}.crefow-account-trust-strip>div>svg,.crefow-account-trust-strip>div>img{color:var(--crefow-accent,#a98236);height:30px;width:30px}.crefow-account-trust-strip span{display:grid;gap:2px}.crefow-account-trust-strip small{color:var(--crefow-text-secondary,#545454)}.crefow-account-mobile-menus{display:none}

/* Profile-photo modal. */
.crefow-account-profile-dialog[hidden]{display:none!important}.crefow-account-profile-dialog{display:grid;inset:0;place-items:center;position:fixed;z-index:1600}.crefow-account-profile-dialog__backdrop{background:rgb(0 0 0/.55);inset:0;position:absolute}
.crefow-account-profile-dialog__panel{background:var(--crefow-surface,#fff);border-radius:14px;box-shadow:0 24px 80px rgb(0 0 0/.24);display:grid;gap:18px;max-height:min(680px,calc(100dvh - 32px));max-width:min(92vw,480px);overflow:auto;padding:22px;position:relative;width:100%;z-index:1}.crefow-account-profile-dialog__panel>header{align-items:center;display:flex;justify-content:space-between}.crefow-account-profile-dialog__panel>header h2{margin:0}.crefow-account-profile-dialog__panel>header button{align-items:center;background:transparent!important;border:0!important;color:inherit!important;display:flex;height:44px;justify-content:center;padding:0!important;width:44px}
.crefow-account-profile-dialog__preview{height:112px;justify-self:center;width:112px}.crefow-account-profile-dialog__panel form{display:grid;gap:12px;margin:0}.crefow-account-profile-dialog__panel input[type=file]{max-width:100%;width:100%}.crefow-account-file-label{align-items:center;border:1px dashed var(--crefow-account-border,var(--crefow-border,#ddd));border-radius:8px;cursor:pointer;display:flex;gap:10px;justify-content:center;min-height:52px;padding:10px}
.crefow-account-profile-dialog__footer{align-items:center;border-top:1px solid var(--crefow-account-border,var(--crefow-border,#ddd));display:flex;gap:16px;justify-content:space-between;padding-top:16px}.crefow-account-profile-dialog__footer a{color:var(--crefow-accent,#a98236);text-decoration:none!important}.crefow-account-profile-dialog__footer form{display:block}.crefow-account-remove-photo{background:transparent!important;border:0!important;color:var(--crefow-error,#b42318)!important;min-height:44px;padding:6px!important;text-decoration:none!important}.crefow-account-profile-dialog-open{overflow:hidden}

/* Desktop: the hub always follows the reference sidebar layout. */
@media(min-width:1024px){
 .crefow-account-shell-sidebar-v1114 .crefow-my-account-page .woocommerce{grid-template-columns:minmax(220px,var(--crefow-account-sidebar-width,260px)) minmax(0,1fr)!important}
 .crefow-account-shell-sidebar-v1114 .woocommerce-MyAccount-navigation{display:block!important;grid-column:1!important;grid-row:1!important;position:sticky!important;top:calc(var(--crefow-live-header-height,var(--crefow-header-height,82px)) + 18px)!important}
 .crefow-account-shell-sidebar-v1114 .woocommerce-MyAccount-content{grid-column:2!important;grid-row:1!important}.crefow-account-shell-sidebar-v1114 .crefow-account-navigation-groups{display:grid!important}
 .crefow-account-nav-top:not(.crefow-account-hub-page) .crefow-my-account-page .woocommerce{grid-template-columns:minmax(0,1fr)}.crefow-account-nav-top:not(.crefow-account-hub-page) .woocommerce-MyAccount-navigation ul{display:flex!important;flex-wrap:wrap;gap:8px}
 :is(.crefow-account-nav-left-sidebar,.crefow-account-nav-sidebar):not(.crefow-account-hub-page) .crefow-my-account-page .woocommerce{grid-template-columns:minmax(220px,var(--crefow-account-sidebar-width,260px)) minmax(0,1fr)}.crefow-account-nav-right-sidebar:not(.crefow-account-hub-page) .crefow-my-account-page .woocommerce{grid-template-columns:minmax(0,1fr) minmax(220px,var(--crefow-account-sidebar-width,260px))}
}
@media(max-width:1199px){.crefow-account-dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(230px,1fr)}.crefow-account-order-row{grid-template-columns:108px minmax(0,1fr)}.crefow-account-order-row>.crefow-account-button{grid-column:2;justify-self:start}.crefow-account-order-media{height:96px}.crefow-account-quick-grid{grid-template-columns:repeat(var(--crefow-account-quick-tablet,4),minmax(0,1fr))}.crefow-account-summary-grid{grid-template-columns:minmax(0,1fr)}}

/* Tablet: hide duplicate Woo navigation and use touch cards. */
@media(max-width:1023px){
 .woocommerce-account .crefow-my-account-page{padding-inline:var(--crefow-gutter-tablet,24px)!important}.crefow-account-shell-sidebar-v1114 .crefow-my-account-page .woocommerce{gap:0;grid-template-columns:minmax(0,1fr)!important}.crefow-account-shell-sidebar-v1114 .woocommerce-MyAccount-navigation{display:none!important}.crefow-account-shell-sidebar-v1114 .woocommerce-MyAccount-content{grid-column:1!important;grid-row:1!important}
 .crefow-account-dashboard-grid{grid-template-columns:minmax(0,1fr)}.crefow-account-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.crefow-account-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .crefow-account-mobile-menus{display:grid;gap:var(--crefow-account-hub-gap,16px);grid-template-columns:repeat(3,minmax(0,1fr))}.crefow-account-mobile-menus .crefow-account-card{padding:12px 16px}.crefow-account-mobile-menus h2{font-size:1rem;margin:4px 0 8px}.crefow-account-mobile-menus .crefow-account-menu-link{border-radius:0;border-top:1px solid var(--crefow-account-border,var(--crefow-border,#ddd));min-height:50px;padding:10px 2px}.crefow-account-mobile-menus .crefow-account-menu-link:first-of-type{border-top:0}.crefow-account-mobile-logout{grid-column:1/-1}
}

/* Mobile. */
@media(max-width:767px){
 .woocommerce-account .crefow-my-account-page{padding:14px var(--crefow-gutter-mobile,16px) calc(92px + env(safe-area-inset-bottom))!important}.crefow-account-menu-icon{height:var(--crefow-account-icon-mobile,22px);width:var(--crefow-account-icon-mobile,22px)}
 .crefow-account-page-toolbar{grid-template-columns:44px minmax(0,1fr) 44px;margin-bottom:2px}.crefow-account-page-toolbar h1{font-size:1.65rem}.crefow-account-page-arrow{height:40px!important;min-height:40px!important;width:40px!important}.crefow-account-card{padding:16px}
 .crefow-account-profile-card{gap:12px;grid-template-columns:64px minmax(0,1fr) auto}.crefow-account-avatar{height:64px;width:64px}.crefow-account-profile-copy h2{font-size:1.28rem}.crefow-account-profile-copy p{font-size:.84em}.crefow-account-edit-link{border:0!important;font-size:.86em;padding:7px!important}.crefow-account-edit-link svg,.crefow-account-edit-link img{height:20px;width:20px}
 .crefow-account-order-row{gap:12px;grid-template-columns:92px minmax(0,1fr)}.crefow-account-order-media{height:92px}.crefow-account-order-copy{font-size:.9em}.crefow-account-order-row>.crefow-account-button{grid-column:1/-1;justify-self:stretch}
 .crefow-account-quick-grid{grid-template-columns:repeat(var(--crefow-account-quick-mobile,4),minmax(0,1fr))}.crefow-account-quick-grid>a{min-height:94px;padding:9px 4px}.crefow-account-quick-grid>a>span{height:var(--crefow-account-icon-mobile,22px);width:var(--crefow-account-icon-mobile,22px)}.crefow-account-quick-grid strong{font-size:.75em;overflow-wrap:anywhere}
 .crefow-account-summary,.crefow-account-secondary-grid,.crefow-account-trust-strip{display:none}.crefow-account-mobile-menus{grid-template-columns:minmax(0,1fr)}.crefow-account-mobile-menus .crefow-account-card{padding:10px 14px}.crefow-account-mobile-menus h2{font-size:.95rem}
 .crefow-account-profile-dialog__panel{border-radius:16px 16px 0 0;bottom:0;max-height:86dvh;max-width:none;position:absolute;width:100%}
}
@media(max-width:479px){.crefow-account-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crefow-account-profile-card{grid-template-columns:56px minmax(0,1fr)}.crefow-account-avatar{height:56px;width:56px}.crefow-account-profile-actions{grid-column:2;justify-self:start}.crefow-account-profile-dialog__footer{align-items:start;flex-direction:column}}
