/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/* =========================================================
   LILIAN'S MAISON - My Account & Affiliate Dashboard

   TYPE SYSTEM - four roles, no exceptions:
   1. Page title    The Seasons, 2.25rem, used ONCE per page
   2. Section head  Poppins, 1.15rem, 500 weight, sentence case
   3. Micro label   Poppins, 0.7rem, uppercase - TABLE HEADERS ONLY
   4. Body          Poppins, 0.95rem, grey

   Uppercase appears on table headers and nowhere else.
   ========================================================= */

:root {
    --lm-pink:      #EE3D91;
    --lm-pink-wash: #FBE6F0;
    --lm-grey:      #827E7D;
    --lm-black:     #000000;
    --lm-charcoal:  #2E2E2E;
    --lm-line:      #E6E3E3;

    --lm-serif:     'The Seasons', Georgia, serif;
    --lm-sans:      'Poppins', -apple-system, sans-serif;

    --lm-size-title:   2.25rem;
    --lm-size-section: 1.15rem;
    --lm-size-body:    0.95rem;
    --lm-size-label:   0.7rem;
}

/* Point YITH's accent variable at the brand pink.
   Their tab colour resolves through this chain, so overriding
   the variable is what works, not out-specifying their selector. */
:root,
body,
.yith-wcaf-dashboard,
.yith-wcaf {
    --yith-wcaf-dashboard--accent-color: #EE3D91;
    --proteo-main_color_shade: #EE3D91;
}

/* ---------------------------------------------------------
   1. The type scale
   --------------------------------------------------------- */

/* Role 1: page title - the only serif on the page */
.woocommerce-account .entry-title,
.woocommerce-account .ast-archive-title,
.page .entry-title {
    font-family: var(--lm-serif);
    font-size: var(--lm-size-title);
    font-weight: 400;
    color: var(--lm-black);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Role 2: every section heading, everywhere.
   Order details, Billing address, Recent Commissions,
   Your affiliate ID, Generate a custom URL, Password change. */
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content legend,
.woocommerce-account .woocommerce-column__title,
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3,
.woocommerce-account .woocommerce-order-details__title,
.yith-wcaf h2,
.yith-wcaf h3,
.yith-wcaf h4 {
    font-family: var(--lm-sans) !important;
    font-size: var(--lm-size-section) !important;
    font-weight: 500;
    color: var(--lm-black);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    margin: 0 0 1rem;
}

/* Role 3: micro label - TABLE HEADERS ONLY */
.woocommerce-account table th,
.yith-wcaf table th {
    font-family: var(--lm-sans);
    font-size: var(--lm-size-label);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lm-charcoal);
}

/* Role 4: body */
.woocommerce-account .woocommerce-MyAccount-content,
.yith-wcaf {
    font-family: var(--lm-sans);
    font-size: var(--lm-size-body);
    color: var(--lm-grey);
    line-height: 1.7;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    max-width: 62ch;
    margin-bottom: 1rem;
}

/* ---------------------------------------------------------
   2. My Account navigation
   --------------------------------------------------------- */

.woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--lm-line);
}

.woocommerce-MyAccount-navigation-link {
    border-bottom: 1px solid var(--lm-line);
    margin: 0;
}

.woocommerce-MyAccount-navigation-link a {
    display: flex;
    align-items: center;
    gap: 0.85em;
    padding: 1.05em 1.2em;
    font-size: var(--lm-size-body);
    color: var(--lm-grey);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.2s ease, background 0.2s ease;
}

.woocommerce-MyAccount-navigation-link a:hover {
    color: var(--lm-black);
    background: var(--lm-pink-wash);
}

.woocommerce-MyAccount-navigation-link.is-active a {
    color: var(--lm-pink);
    background: transparent;
    box-shadow: inset -2px 0 0 var(--lm-pink);
}

.woocommerce-MyAccount-navigation-link .ahfb-svg-iconset svg {
    width: 17px;
    height: 17px;
}

.ast-wooaccount-user-wrapper {
    padding: 0 0 1.5em;
    margin-bottom: 0;
    border-bottom: none;
}

/* ---------------------------------------------------------
   3. Replace Astra's fallback icons
   Astra ships glyphs for core endpoints only, so Waitlist and
   Affiliate Dashboard fall back to a generic one. Masked SVGs
   inherit currentColor, so they follow hover and active.
   --------------------------------------------------------- */

.woocommerce-MyAccount-navigation-link--waiting-list .ahfb-svg-iconset svg,
.woocommerce-MyAccount-navigation-link a[href*="affiliate-dashboard"] .ahfb-svg-iconset svg {
    display: none;
}

.woocommerce-MyAccount-navigation-link--waiting-list .ahfb-svg-iconset,
.woocommerce-MyAccount-navigation-link a[href*="affiliate-dashboard"] .ahfb-svg-iconset {
    width: 17px;
    height: 17px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.woocommerce-MyAccount-navigation-link--waiting-list .ahfb-svg-iconset {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"/></svg>');
}

.woocommerce-MyAccount-navigation-link a[href*="affiliate-dashboard"] .ahfb-svg-iconset {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.6" y1="13.5" x2="15.4" y2="17.5"/><line x1="15.4" y1="6.5" x2="8.6" y2="10.5"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.6" y1="13.5" x2="15.4" y2="17.5"/><line x1="15.4" y1="6.5" x2="8.6" y2="10.5"/></svg>');
}

/* ---------------------------------------------------------
   4. My Account content & links
   --------------------------------------------------------- */

.woocommerce-MyAccount-content {
    padding-left: 3em;
}

.woocommerce-MyAccount-content p a {
    color: var(--lm-pink);
    text-decoration: underline;
    text-decoration-color: var(--lm-pink-wash);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.woocommerce-MyAccount-content p a:hover {
    text-decoration-color: var(--lm-pink);
}

/* Orders list card */
.woocommerce-orders-table__cell a,
.woocommerce-order-details__title + table a {
    color: var(--lm-pink);
}

/* ---------------------------------------------------------
   5. Forms
   --------------------------------------------------------- */

.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content select,
.yith-wcaf input[type="text"],
.yith-wcaf input[type="email"],
.yith-wcaf input[type="number"],
.yith-wcaf select {
    width: 100%;
    box-sizing: border-box;
    font-family: var(--lm-sans);
    font-size: var(--lm-size-body);
    border: 1px solid var(--lm-line);
    border-radius: 2px;
    padding: 0.75em 0.9em;
    color: var(--lm-black);
    background: #fff;
    transition: border-color 0.2s ease;
}

.woocommerce-account input:focus,
.woocommerce-account select:focus,
.yith-wcaf input:focus,
.yith-wcaf select:focus {
    border-color: var(--lm-pink);
    outline: none;
}

/* Filter bar inputs stay compact */
.yith-wcaf .yith-wcaf-section form input[type="text"],
.yith-wcaf .yith-wcaf-section form select {
    width: auto;
    min-width: 140px;
}

/* ---------------------------------------------------------
   6. Buttons - sentence case
   --------------------------------------------------------- */

.woocommerce-account .button,
.woocommerce-account button[type="submit"],
.yith-wcaf .button,
.yith-wcaf input[type="submit"] {
    font-family: var(--lm-sans);
    font-size: var(--lm-size-body);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    background: transparent;
    border: 1px solid var(--lm-black);
    color: var(--lm-black);
    border-radius: 2px;
    padding: 0.75em 1.8em;
    transition: background 0.2s ease, color 0.2s ease;
}

.woocommerce-account .button:hover,
.woocommerce-account button[type="submit"]:hover,
.yith-wcaf .button:hover,
.yith-wcaf input[type="submit"]:hover {
    background: var(--lm-black);
    color: #fff;
    border-color: var(--lm-black);
}

/* ---------------------------------------------------------
   7. Affiliate dashboard - tabs, sentence case
   --------------------------------------------------------- */

.yith-wcaf .yith-wcaf-dashboard-navigation {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 2.5em;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--lm-line);
}

.yith-wcaf-dashboard-navigation .yith-wcaf-dashboard-navigation-item {
    margin: 0;
    border: none;
    border-bottom: 2px solid transparent;
}

.yith-wcaf-dashboard-navigation .yith-wcaf-dashboard-navigation-item a {
    display: block;
    padding: 0.85em 1.3em;
    font-family: var(--lm-sans);
    font-size: var(--lm-size-body);
    color: var(--lm-grey);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    background: none;
    box-shadow: none;
    transition: color 0.2s ease;
}

.yith-wcaf-dashboard-navigation .yith-wcaf-dashboard-navigation-item a:hover {
    color: var(--lm-black);
}

.yith-wcaf-dashboard-navigation .yith-wcaf-dashboard-navigation-item.is-active {
    border-bottom-color: var(--lm-pink);
}

/* ---------------------------------------------------------
   8. Affiliate dashboard - stat boxes
   --------------------------------------------------------- */

.yith-wcaf .affiliate-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25em;
    margin-bottom: 3em;
}

.yith-wcaf .stat-box {
    border: 1px solid var(--lm-line);
    border-radius: 2px;
    background: #fff;
    overflow: hidden;
}

.yith-wcaf .stat-item {
    padding: 1.8em 1.4em;
    text-align: center;
    border-bottom: 1px solid var(--lm-line);
    background: #fff;
}

.yith-wcaf .stat-box .stat-item:last-child {
    border-bottom: none;
}

/* Sentence case, not uppercase */
.yith-wcaf .stat-label {
    display: block;
    font-family: var(--lm-sans);
    font-size: var(--lm-size-body);
    font-weight: 400;
    color: var(--lm-grey);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.5em;
}

.yith-wcaf .stat-value {
    display: block;
    font-family: var(--lm-sans);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--lm-black);
}

.yith-wcaf .stat-item.large {
    padding: 2.6em 1.4em;
}

.yith-wcaf .stat-item.large .stat-value {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.1;
}

.yith-wcaf .stat-box .stat-item:not(.large) {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    text-align: left;
    padding: 0.95em 1.4em;
}

.yith-wcaf .stat-box .stat-item:not(.large) .stat-label {
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   9. Tables
   --------------------------------------------------------- */

.yith-wcaf .yith-wcaf-section {
    margin-bottom: 3em;
}

.woocommerce-account table,
.yith-wcaf table {
    width: 100%;
    border: 1px solid var(--lm-line);
    border-collapse: collapse;
    margin: 0;
}

.woocommerce-account table th,
.yith-wcaf table th {
    background: var(--lm-pink-wash);
    text-align: left;
    padding: 1em 1.2em;
    border-bottom: 1px solid var(--lm-line);
}

.woocommerce-account table td,
.yith-wcaf table td {
    font-family: var(--lm-sans);
    font-size: var(--lm-size-body);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    padding: 1em 1.2em;
    border-bottom: 1px solid var(--lm-line);
    color: var(--lm-charcoal);
}

.woocommerce-account table tr:last-child td,
.yith-wcaf table tr:last-child td {
    border-bottom: none;
}

/* Order totals rows - no uppercase, no letterspacing */
.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
    background: transparent;
    font-family: var(--lm-sans);
    font-size: var(--lm-size-body);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--lm-charcoal);
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    font-weight: 600;
    color: var(--lm-black);
}

/* Empty state */
.yith-wcaf table td[colspan],
.yith-wcaf .no-items {
    text-align: center;
    color: var(--lm-grey);
    font-style: italic;
    padding: 3em 1em;
}

/* ---------------------------------------------------------
   10. Address cards
   --------------------------------------------------------- */

.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-customer-details .woocommerce-column {
    border: 1px solid var(--lm-line);
    border-radius: 2px;
}

.woocommerce-account .woocommerce-Address-title,
.woocommerce-account .woocommerce-customer-details .woocommerce-column__title {
    padding: 1.2em 1.4em;
    border-bottom: 1px solid var(--lm-line);
    background: #FAFAFA;
}

.woocommerce-account .woocommerce-Address address,
.woocommerce-account .woocommerce-customer-details address {
    padding: 1.4em;
    margin: 0;
    border: none;
    font-style: normal;
    font-size: var(--lm-size-body);
    color: var(--lm-grey);
    line-height: 1.8;
}

/* ---------------------------------------------------------
   11. Link generator
   --------------------------------------------------------- */

.yith-wcaf .yith-wcaf-link-generator input[type="text"],
.yith-wcaf .yith-wcaf-link-generator input[type="url"],
.yith-wcaf .generate-link input[type="text"],
.yith-wcaf .referral-url input,
.yith-wcaf .affiliate-link-section input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

/* Helper text under the referral URL */
.yith-wcaf .yith-wcaf-link-generator p,
.yith-wcaf .affiliate-link-section p,
.yith-wcaf .referral-description {
    font-size: var(--lm-size-body);
    line-height: 1.7;
    color: var(--lm-grey);
}

/* ---------------------------------------------------------
   12. Mobile
   --------------------------------------------------------- */

@media (max-width: 921px) {
    :root {
        --lm-size-title: 1.75rem;
    }

    .woocommerce-MyAccount-content {
        padding-left: 0;
        margin-top: 2.5em;
    }

    .yith-wcaf .yith-wcaf-dashboard-navigation {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .yith-wcaf-dashboard-navigation .yith-wcaf-dashboard-navigation-item a {
        white-space: nowrap;
        padding: 0.8em 1em;
    }

    .woocommerce-account table th,
    .woocommerce-account table td,
    .yith-wcaf table th,
    .yith-wcaf table td {
        padding: 0.8em;
    }
}


/* ---------------------------------------------------------
   13. Full-width form rows
   Matches Astra Pro's addon selector shape so it wins on
   source order. Targets inputs only, never wrappers.
   --------------------------------------------------------- */

body:not(.cartflows-canvas):not(.cartflows-default):not(.cartflows-instant-checkout)
.woocommerce form .form-row.form-row-wide input[type="text"],
body:not(.cartflows-canvas):not(.cartflows-default):not(.cartflows-instant-checkout)
.woocommerce form .form-row.form-row-wide input[type="email"],
body:not(.cartflows-canvas):not(.cartflows-default):not(.cartflows-instant-checkout)
.woocommerce form .form-row.form-row-wide input[type="password"],
body:not(.cartflows-canvas):not(.cartflows-default):not(.cartflows-instant-checkout)
.woocommerce form .form-row.form-row-wide select {
    width: 100%;
    box-sizing: border-box;
}

.woocommerce-account .woocommerce-MyAccount-content .form-row.form-row-wide {
    width: 100%;
    float: none;
    clear: both;
}


.woocommerce-account .woocommerce-MyAccount-content form .form-row.form-row-wide,
.woocommerce-account .woocommerce-MyAccount-content form .woocommerce-form-row--wide,
.woocommerce-account .woocommerce-MyAccount-content form p.form-row.ast-animate-input {
    width: 100%;
    max-width: 100%;
    float: none;
    clear: both;
}

/* Our own fields use the same row classes but not Astra's
   animate-input class, so catch them explicitly. */
.woocommerce-account .woocommerce-MyAccount-content form #billing_ring_size_field,
.woocommerce-account .woocommerce-MyAccount-content form #lm_birth_day_field,
.woocommerce-account .woocommerce-MyAccount-content form #lm_birth_month_field {
    box-sizing: border-box;
}

.woocommerce-account .woocommerce-MyAccount-content form #billing_ring_size_field {
    width: 100%;
    float: none;
    clear: both;
}

/* Birthday row - inline-block rather than float, so a post-load
   script reclassing the rows doesn't collapse the layout */
.woocommerce-account .woocommerce-MyAccount-content form #lm_birth_day_field,
.woocommerce-account .woocommerce-MyAccount-content form #lm_birth_month_field {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 0.5em);
    float: none;
    clear: none;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-content form #lm_birth_day_field {
    margin-right: 0.9em;
}

.woocommerce-account .woocommerce-MyAccount-content form #lm_birth_month_field {
    margin-right: 0;
}

.woocommerce-account .woocommerce-MyAccount-content form #billing_ring_size_field select,
.woocommerce-account .woocommerce-MyAccount-content form #lm_birth_day_field select,
.woocommerce-account .woocommerce-MyAccount-content form #lm_birth_month_field select {
    width: 100%;
    box-sizing: border-box;
}



.lm-specs {
    width: 100%;
    border-collapse: collapse;
}

.lm-spec-row {
    border-bottom: 1px solid #E7E1E4;
}

.lm-spec-row:last-child {
    border-bottom: 0;
}

.lm-spec-label {
    width: 38%;
    padding: 10px 12px 10px 0;
    text-align: left;
    font-weight: 400;
    color: #827E7D;
}

.lm-spec-value {
    padding: 10px 0;
    color: #262327;
}