.leo-account-widget.leo-account-guest-view,.leo-account-guest .woocommerce{max-width:620px;margin-left:auto;margin-right:auto}.leo-account-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:6px;margin:0 0 24px;background:#f4f1ec;border-radius:14px}.leo-account-tab{appearance:none;border:0;border-radius:10px;padding:13px 18px;background:transparent;color:#4a443d;font:inherit;font-size:15px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}.leo-account-tab.is-active{background:#fff;color:#171512;box-shadow:0 5px 18px rgba(28,23,18,.08)}.leo-account-shell{display:block!important;width:100%;margin:0!important}.leo-account-shell:before,.leo-account-shell:after{display:none!important}.leo-account-shell .leo-account-panel{display:none!important;float:none!important;width:100%!important;margin:0!important;padding:0!important}.leo-account-shell .leo-account-panel.is-active{display:block!important}.leo-account-shell .leo-account-panel>h2{margin:0 0 18px;color:#171512;font-size:36px;font-weight:600;line-height:1.15;text-align:center}.leo-account-shell form.login,.leo-account-shell form.register{margin:0!important;padding:36px!important;border:1px solid #e8e2da!important;border-radius:18px!important;background:#fff;box-shadow:0 14px 40px rgba(28,23,18,.06)}.leo-account-shell .form-row{margin:0 0 16px!important;padding:0!important}.leo-account-shell label{display:block;margin:0 0 8px;color:#2f2a25;font-size:14px;font-weight:600;line-height:1.4}.leo-account-shell .required{color:#b14e43}.leo-account-shell input.input-text{width:100%;min-height:50px;padding:12px 15px;border:1px solid #dcd5cd;border-radius:10px;background:#fff;color:#171512;font:inherit;box-shadow:none;outline:none;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.leo-account-shell input.input-text:focus{border-color:#75695d;box-shadow:0 0 0 3px rgba(117,105,93,.12)}.leo-account-shell .password-input{width:100%}.leo-account-shell button.button{width:100%;min-height:50px;margin:8px 0 0!important;padding:13px 20px!important;border:1px solid #171512!important;border-radius:10px!important;background:#171512!important;color:#fff!important;font:inherit;font-size:15px;font-weight:600;line-height:1.2;text-align:center;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.leo-account-shell button.button:hover{opacity:.96;transform:translateY(-1px);box-shadow:0 8px 20px rgba(23,21,18,.16)}.leo-account-shell .woocommerce-form-login__rememberme{display:flex;align-items:center;gap:8px;margin:2px 0 10px;font-weight:400}.leo-account-shell .woocommerce-form-login__rememberme input{width:16px;height:16px;margin:0}.leo-account-shell .lost_password{margin:15px 0 0;text-align:center}.leo-account-shell a{color:#574d44;text-decoration:underline;text-underline-offset:3px}.leo-account-shell .woocommerce-form-register>p:not(.form-row):not(.woocommerce-privacy-policy-text){margin:10px 0;color:#4d4740}.leo-account-shell .woocommerce-privacy-policy-text{margin-top:10px;color:#70685f;font-size:13px;line-height:1.6}.leo-account-widget .woocommerce-notices-wrapper,.leo-account-guest .woocommerce-notices-wrapper{margin-bottom:18px}@media(max-width:600px){.leo-account-widget.leo-account-guest-view,.leo-account-guest .woocommerce{max-width:100%}.leo-account-tabs{margin-bottom:16px;border-radius:12px}.leo-account-tab{padding:12px 10px;font-size:14px}.leo-account-shell form.login,.leo-account-shell form.register{padding:20px 16px!important;border-radius:14px!important}.leo-account-shell .leo-account-panel>h2{font-size:30px}}


/* Logged-in My Account dashboard */
.leo-account-widget.leo-account-dashboard-view{width:100%;max-width:1200px;margin-left:auto;margin-right:auto}
.leo-account-dashboard-view>.woocommerce{width:100%;max-width:none!important;margin:0!important;display:flex;align-items:flex-start}
.leo-account-dashboard-view .woocommerce:before,.leo-account-dashboard-view .woocommerce:after{display:none!important}
.leo-account-dashboard-view .woocommerce-MyAccount-navigation{float:none!important;width:250px;flex:0 0 250px;margin:0!important;padding:14px;background:#f4f1ec;border:1px solid #e8e2da;border-radius:18px;box-shadow:0 12px 32px rgba(28,23,18,.05)}
.leo-account-dashboard-view .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.leo-account-dashboard-view .woocommerce-MyAccount-navigation li{margin:0;padding:0;border:0}
.leo-account-dashboard-view .woocommerce-MyAccount-navigation li+li{margin-top:4px}
.leo-account-dashboard-view .woocommerce-MyAccount-navigation-link a{display:block;padding:13px 16px;border-radius:11px;color:#4a443d;text-decoration:none;font-size:15px;font-weight:600;line-height:1.35;transition:background-color .2s ease,color .2s ease,transform .2s ease}
.leo-account-dashboard-view .woocommerce-MyAccount-navigation-link a:hover{background:#ebe5dd;color:#171512;transform:translateX(2px)}
.leo-account-dashboard-view .woocommerce-MyAccount-navigation-link.is-active a{background:#171512;color:#fff}
.leo-account-dashboard-view .woocommerce-MyAccount-content{float:none!important;width:auto!important;min-width:0;flex:1;margin:0 0 0 32px!important;padding:34px;background:#fff;border:1px solid #e8e2da;border-radius:18px;box-shadow:0 14px 40px rgba(28,23,18,.06);color:#4d4740;line-height:1.7}
.leo-account-dashboard-view .woocommerce-MyAccount-content>p:first-child{margin-top:0}
.leo-account-dashboard-view .woocommerce-MyAccount-content>p:last-child{margin-bottom:0}
.leo-account-dashboard-view .woocommerce-MyAccount-content h1,.leo-account-dashboard-view .woocommerce-MyAccount-content h2,.leo-account-dashboard-view .woocommerce-MyAccount-content h3{margin-top:0;color:#171512}
.leo-account-dashboard-view .woocommerce-MyAccount-content a{color:#574d44;text-underline-offset:3px}
.leo-account-dashboard-view .woocommerce-MyAccount-content table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e8e2da!important;border-radius:12px;overflow:hidden;background:#fff}
.leo-account-dashboard-view .woocommerce-MyAccount-content th,.leo-account-dashboard-view .woocommerce-MyAccount-content td{padding:14px 16px;border-color:#e8e2da!important}
.leo-account-dashboard-view .woocommerce-MyAccount-content table thead th{background:#f4f1ec;color:#2f2a25;font-weight:700}
.leo-account-dashboard-view .woocommerce-MyAccount-content .button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px!important;border:1px solid #171512!important;border-radius:9px!important;background:#171512!important;color:#fff!important;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}
.leo-account-dashboard-view .woocommerce-MyAccount-content .button:hover{opacity:.94;transform:translateY(-1px);box-shadow:0 8px 18px rgba(23,21,18,.14)}
.leo-account-dashboard-view .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.leo-account-dashboard-view .woocommerce-Address{float:none!important;width:auto!important;margin:0!important;padding:22px;border:1px solid #e8e2da;border-radius:14px;background:#faf8f5}
.leo-account-dashboard-view .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:16px}
.leo-account-dashboard-view .woocommerce-Address-title h3{margin:0}
.leo-account-dashboard-view form .form-row{margin-bottom:18px}
.leo-account-dashboard-view form label{display:block;margin-bottom:7px;font-weight:600;color:#2f2a25}
.leo-account-dashboard-view form input.input-text,.leo-account-dashboard-view form select,.leo-account-dashboard-view form textarea{width:100%;min-height:48px;padding:11px 14px;border:1px solid #dcd5cd;border-radius:9px;background:#fff;box-shadow:none;outline:none}
.leo-account-dashboard-view form textarea{min-height:120px}
.leo-account-dashboard-view form input.input-text:focus,.leo-account-dashboard-view form select:focus,.leo-account-dashboard-view form textarea:focus{border-color:#75695d;box-shadow:0 0 0 3px rgba(117,105,93,.12)}
@media(max-width:900px){.leo-account-dashboard-view>.woocommerce{display:block}.leo-account-dashboard-view .woocommerce-MyAccount-navigation{width:100%!important;max-width:none;display:block;margin-bottom:18px!important}.leo-account-dashboard-view .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.leo-account-dashboard-view .woocommerce-MyAccount-navigation li+li{margin-top:0}.leo-account-dashboard-view .woocommerce-MyAccount-content{width:100%!important;margin-left:0!important;padding:24px}.leo-account-dashboard-view .woocommerce-Addresses{grid-template-columns:1fr}}
@media(max-width:600px){.leo-account-dashboard-view .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr}.leo-account-dashboard-view .woocommerce-MyAccount-content{padding:20px 16px;border-radius:14px}.leo-account-dashboard-view .woocommerce-MyAccount-content table{display:block;overflow-x:auto;white-space:nowrap}.leo-account-dashboard-view .woocommerce-Address{padding:18px}}

/* v1.8.0 - Stable WooCommerce address-card layout */
.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses,
.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses.col2-set,
.leo-account-dashboard-view .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
}

.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses::before,
.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses::after {
    display: none !important;
    content: none !important;
}

.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .woocommerce-Address,
.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column1,
.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column2,
.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .col-1,
.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .col-2 {
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    border: 1px solid #e8e2da;
    border-radius: 14px;
    background: #faf8f5;
}

.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .col-1,
.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column1 {
    order: 1 !important;
}

.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .col-2,
.leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column2 {
    order: 2 !important;
}

.leo-account-dashboard-view .woocommerce-Address-title,
.leo-account-dashboard-view .woocommerce-Address header.title {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

.leo-account-dashboard-view .woocommerce-Address-title::before,
.leo-account-dashboard-view .woocommerce-Address-title::after,
.leo-account-dashboard-view .woocommerce-Address header.title::before,
.leo-account-dashboard-view .woocommerce-Address header.title::after {
    display: none !important;
    content: none !important;
}

.leo-account-dashboard-view .woocommerce-Address-title h2,
.leo-account-dashboard-view .woocommerce-Address-title h3,
.leo-account-dashboard-view .woocommerce-Address header.title h2,
.leo-account-dashboard-view .woocommerce-Address header.title h3 {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.35em;
    line-height: 1.25;
}

.leo-account-dashboard-view .woocommerce-Address-title .edit,
.leo-account-dashboard-view .woocommerce-Address header.title .edit {
    float: none !important;
    flex: 0 0 auto !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    line-height: 1.4;
    text-align: right;
}

.leo-account-dashboard-view .woocommerce-Address address {
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.65;
}

.leo-account-dashboard-view .woocommerce-Address address p,
.leo-account-dashboard-view .woocommerce-Address > p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    .leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses,
    .leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses.col2-set,
    .leo-account-dashboard-view .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}



.leo-account-dashboard-view .leo-account-mobile-nav-toggle:hover,
.leo-account-dashboard-view .leo-account-mobile-nav-toggle:focus,
.leo-account-dashboard-view .leo-account-mobile-nav-toggle:active {
    text-decoration: none;
    outline: none;
}

.leo-account-dashboard-view .leo-account-mobile-nav-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .woocommerce-Address,
    .leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column1,
    .leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column2,
    .leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .col-1,
    .leo-account-dashboard-view .woocommerce-MyAccount-content .woocommerce-Addresses > .col-2 {
        padding: 18px !important;
    }

    .leo-account-dashboard-view .woocommerce-Address-title,
    .leo-account-dashboard-view .woocommerce-Address header.title {
        gap: 12px !important;
    }

    .leo-account-dashboard-view .woocommerce-Address-title .edit,
    .leo-account-dashboard-view .woocommerce-Address header.title .edit {
        white-space: normal !important;
        max-width: 46%;
    }
}


/* v1.9.1 - Tablet keeps a two-column menu; mobile toggle is fully styleable in Elementor */
.leo-account-mobile-nav-toggle {
    display: none;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 12px 16px;
    border: 0 solid transparent;
    border-radius: 11px;
    background-color: #171512 !important;
    color: #fff !important;
    font: inherit;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

.leo-account-mobile-nav-icon {
    position: relative;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
}

.leo-account-mobile-nav-icon::before,
.leo-account-mobile-nav-icon::after {
    content: '';
    position: absolute;
    top: 5px;
    width: 7px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease;
}

.leo-account-mobile-nav-icon::before {
    left: 0;
    transform: rotate(45deg);
}

.leo-account-mobile-nav-icon::after {
    right: 0;
    transform: rotate(-45deg);
}

.leo-account-dashboard-view .woocommerce-MyAccount-navigation.is-mobile-open .leo-account-mobile-nav-icon::before {
    transform: rotate(-45deg);
}

.leo-account-dashboard-view .woocommerce-MyAccount-navigation.is-mobile-open .leo-account-mobile-nav-icon::after {
    transform: rotate(45deg);
}

@media (max-width: 600px) {
    .leo-account-dashboard-view .woocommerce-MyAccount-navigation {
        padding: 8px !important;
        border-radius: 14px;
    }

    .leo-account-dashboard-view .leo-account-mobile-nav-toggle {
        display: flex;
    }

    .leo-account-dashboard-view .woocommerce-MyAccount-navigation ul {
        display: none !important;
        grid-template-columns: 1fr !important;
        gap: 4px !important;
        margin-top: 8px !important;
    }

    .leo-account-dashboard-view .woocommerce-MyAccount-navigation.is-mobile-open ul {
        display: grid !important;
        animation: leoAccountNavReveal .18s ease both;
    }

    .leo-account-dashboard-view .woocommerce-MyAccount-navigation-link a {
        padding: 11px 14px;
        min-height: 42px;
    }

    .leo-account-dashboard-view .woocommerce-MyAccount-navigation-link.is-active a {
        background: #ebe5dd;
        color: #171512;
    }
}

@keyframes leoAccountNavReveal {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .leo-account-dashboard-view .woocommerce-MyAccount-navigation.is-mobile-open ul {
        animation: none;
    }

    .leo-account-mobile-nav-icon::before,
    .leo-account-mobile-nav-icon::after {
        transition: none;
    }
}

/* Leo Header Account widget */
.leo-header-account {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.2;
}

.leo-header-account__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.leo-header-account__separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}


.leo-header-account__icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: color .2s ease;
}

.leo-header-account__text {
    display: inline-block;
}


/* v1.10.3 - Keep Header Account icon aligned on every page, not only My Account */
.elementor-widget-leo_header_account .leo-header-account {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
}

.elementor-widget-leo_header_account .leo-header-account__link,
.elementor-widget-leo_header_account .leo-header-account__account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    line-height: 1;
    vertical-align: middle;
}

.elementor-widget-leo_header_account .leo-header-account__icon {
    display: block !important;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    fill: none !important;
    stroke: currentColor !important;
    vertical-align: middle;
    overflow: visible;
}

.elementor-widget-leo_header_account .leo-header-account__text,
.elementor-widget-leo_header_account .leo-header-account__separator {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
}


/* v1.10.5 - Guest header links use a precise 4px middle-dot spacing. */
.elementor-widget-leo_header_account .leo-header-account__guest-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    white-space: nowrap;
}

.elementor-widget-leo_header_account .leo-header-account__guest-links .leo-header-account__separator {
    margin: 0 4px;
    font-size: .9em;
    line-height: 1;
    opacity: .65;
    pointer-events: none;
    user-select: none;
}
