@font-face{font-family:MG;src:url('fonts/inter-latin.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.mg-brand-tile{overflow:hidden}
.mg-brand-solgar img{max-height:68px}.mg-product-image{overflow:hidden}.mg-journal-card{height:138px}.mg-journal-image{height:138px;min-height:0}.mg-footer-contacts{padding-block:15px 20px;font-size:12px;color:#666}.mg-footer-contacts small{font-size:10px}.woocommerce .woocommerce-shipping-methods{list-style:none;padding:0;margin:0}.woocommerce .woocommerce-privacy-policy-text{font-size:12px;color:#757b84;line-height:1.6;margin-block:15px}.woocommerce .woocommerce-privacy-policy-text a{color:#ed001e}
@media(max-width:950px){.mg-journal-card,.mg-journal-image{height:160px}}
@media(max-width:700px){.mg-journal-card,.mg-journal-image{height:156px}.mg-brand-solgar img{max-height:45px}}
@media(max-width:700px){.mg-hero-copy{width:56%;padding:23px 16px}.mg-hero h1{font-size:22px;letter-spacing:-.05em}.mg-hero p{font-size:12px;line-height:1.4;max-width:132px}.mg-hero .mg-button{font-size:10px;padding:11px 10px;white-space:nowrap;gap:5px}}
@media(max-width:370px){.mg-hero-copy{width:60%;padding:20px 14px}.mg-hero h1{font-size:22px}.mg-hero p{font-size:11.5px}.mg-hero .mg-button{font-size:9px;padding:10px 8px}}
@media(max-width:700px){.mg-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-footer-grid>div:first-child{grid-column:1/-1;min-width:0}}
.mg-logo{height:75px}.mg-logo-image{top:-53px}.mg-footer-grid>div:first-child{display:flex;align-items:center;gap:20px}.mg-footer-grid>div:first-child .mg-logo{width:130px;flex-basis:130px;height:63px}.mg-footer-grid>div:first-child .mg-logo-image{width:145px!important;height:145px!important;top:-43px;left:-8px}.mg-footer-grid h2{font-size:13px;letter-spacing:0;margin:3px 0 11px}.mg-footer-grid>div:not(:first-child)>a{display:block;font-size:12px;color:#72777f;margin:5px 0}.mg-footer-grid>div:not(:first-child)>a:hover{color:#ed001e}.mg-footer-grid .mg-footer-cta{color:#ed001e!important;font-size:12px!important;margin-top:12px!important}.mg-footer-grid .mg-footer-cta svg{width:16px}.mg-footer-contacts{margin-top:12px;line-height:1.8}.mg-product-image img{object-fit:contain}.mg-brand-tile img{min-width:0}.mg-content .mg-product-grid{margin-top:20px}.mg-page>.entry-content>p{max-width:950px}.mg-page>.entry-content>.mg-product-grid a{text-decoration:none}.mg-page>.entry-content>.mg-product-grid h3{margin-top:0}.mg-page>.entry-content>.mg-product-grid .mg-product-info{line-height:1.45}.mg-page>.entry-content>.mg-product-grid .mg-button{color:white}.mg-content-box .woocommerce{line-height:1.45}
@media(max-width:1150px){.mg-logo{height:69px}.mg-logo-image{top:-48px}}
@media(max-width:950px){.mg-footer-grid>div:first-child{flex-direction:column;align-items:flex-start;gap:10px}.mg-footer-grid>div:first-child .mg-logo{flex-basis:63px}}
@media(max-width:700px){.mg-logo{height:60px}.mg-logo-image{top:-42px}.mg-footer-grid>div:first-child{flex-direction:row;align-items:center}.mg-footer-grid>div:first-child .mg-logo{flex-basis:130px}}

/* Keep each logo in a consistent area while preserving the source proportions. */
.mg-brands-all .mg-brand-tile img {
    width: min(100%, 165px);
    height: 62px;
    max-width: none;
    max-height: none;
    object-fit: contain;
    flex: none;
}

.mg-brands-all .mg-brand-tile:is([href$="/now-foods/"], [href$="/nutrex/"]) img {
    width: min(100%, 125px);
}
.mg-hits .mg-columns-6{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1199px){.mg-hits .mg-columns-6{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.mg-hits .mg-columns-6{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mg-hits .mg-product-image{height:180px;padding:0 7px 7px}}
@media(max-width:370px){.mg-hits .mg-product-image{height:155px}}

/* Customer account and sign-in. */
.woocommerce-account .mg-page>.entry-content>.woocommerce:has(>.woocommerce-MyAccount-navigation) {
    display:grid;
    grid-template-columns:minmax(190px,230px) minmax(0,1fr);
    gap:20px;
    align-items:start;
}
.woocommerce-account .mg-page>.entry-content>.woocommerce:has(>.woocommerce-MyAccount-navigation)::after {display:none}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper {grid-column:1/-1}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper:empty {display:none}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    float:none;
    width:auto;
    min-width:0;
    min-height:0;
    margin:0;
    border:1px solid #e7e8ec;
    border-radius:12px;
}
.woocommerce-account .woocommerce-MyAccount-navigation {padding:10px}
.woocommerce-account .woocommerce-MyAccount-navigation ul {display:grid;gap:3px}
.woocommerce-account .woocommerce-MyAccount-navigation li {margin:0;padding:0;border:0}
.woocommerce-account .woocommerce-MyAccount-navigation a {
    display:flex;
    align-items:center;
    min-height:44px;
    padding:8px 12px;
    color:#20242d;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;
    line-height:1.3;
    font-weight:600;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {background:#f4f5f7}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {color:#b9001a;background:#fff0f2}
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {color:#555b65}
.woocommerce-account .woocommerce-MyAccount-content {padding:clamp(18px,3vw,32px)}
.woocommerce-account .woocommerce-MyAccount-content :is(h2,h3,legend) {line-height:1.25}
.mg-account-overview h2 {margin:0;font-size:clamp(23px,3vw,30px);letter-spacing:-.025em}
.mg-account-overview>p {margin:8px 0 20px;color:#555b65}
.mg-account-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.woocommerce-account .mg-account-shortcut {
    position:relative;
    display:grid;
    align-content:start;
    gap:7px;
    min-width:0;
    padding:15px;
    color:#161923;
    background:#f7f8fa;
    border:1px solid #e7e8ec;
    border-radius:9px;
    text-decoration:none;
    line-height:1.4;
}
.woocommerce-account .mg-account-shortcut:hover {border-color:#db5264;background:#fff5f6}
.mg-account-shortcut-icon {display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#ffe9ed;color:#b9001a}
.mg-account-shortcut-icon .mg-icon {width:20px;height:20px}
.mg-account-shortcut strong {font-size:15px}
.mg-account-shortcut>span:not(.mg-account-shortcut-icon) {font-size:13px;color:#555b65}
.mg-account-shortcut-arrow {position:absolute;right:13px;top:16px;color:#b9001a}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {margin:0}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
    min-width:0;
    margin:18px 0;
    padding:15px;
    border:1px solid #e7e8ec;
    border-radius:8px;
}
.woocommerce-account:not(.logged-in) .mg-page>h1 {text-align:center}
.woocommerce-account:not(.logged-in) .mg-page>.entry-content>.woocommerce:not(:has(#customer_login)),
.woocommerce-account #customer_login>.u-column1,
.woocommerce-account #customer_login>.u-column2 {
    width:min(100%,480px);
    margin-inline:auto;
    padding:clamp(20px,4vw,32px);
    background:white;
    border:1px solid #e7e8ec;
    border-radius:12px;
}
.woocommerce-account #customer_login {display:flex;flex-wrap:wrap;gap:16px;justify-content:center}
.woocommerce-account #customer_login::before,.woocommerce-account #customer_login::after {display:none}
.woocommerce-account .woocommerce-form-login .show-password-input,
.woocommerce-account .woocommerce-form-register .show-password-input {display:none!important}
.woocommerce-account .woocommerce-form-login .password-input {display:block}
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {display:flex;align-items:center;gap:8px;margin-bottom:12px}
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit {width:100%;min-height:44px}
.woocommerce-account .woocommerce-form-login .lost_password {margin-top:14px}
.woocommerce-account .woocommerce-form-login :is(#username,#password) {width:100%}
.privacy-policy .mg-page>.entry-content {
    max-width:900px;
    padding:clamp(18px,4vw,36px);
    background:#fff;
    border:1px solid #e7e8ec;
    border-radius:12px;
    line-height:1.65;
}
.privacy-policy .mg-page>.entry-content h2 {margin-top:24px;font-size:clamp(18px,3vw,23px);line-height:1.25}
.privacy-policy .mg-page>.entry-content h2+p,.privacy-policy .mg-page>.entry-content h2+ul {margin-top:10px}
.privacy-policy .mg-page>.entry-content li+li {margin-top:8px}
@media(max-width:850px) {
    .woocommerce-account .mg-page>.entry-content>.woocommerce:has(>.woocommerce-MyAccount-navigation) {grid-template-columns:minmax(0,1fr);gap:12px}
    .woocommerce-account .woocommerce-MyAccount-navigation ul {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px) {
    .woocommerce-account .woocommerce-MyAccount-navigation ul {grid-template-columns:repeat(2,minmax(0,1fr))}
    .mg-account-shortcuts {grid-template-columns:minmax(0,1fr);gap:9px}
    .woocommerce-account .mg-account-shortcut {grid-template-columns:38px minmax(0,1fr) 19px;align-items:center;column-gap:11px;row-gap:3px;padding:12px}
    .mg-account-shortcut-icon {grid-column:1;grid-row:1/3}
    .mg-account-shortcut strong {grid-column:2;grid-row:1}
    .mg-account-shortcut>span:not(.mg-account-shortcut-icon) {grid-column:2;grid-row:2}
    .mg-account-shortcut-arrow {position:static;grid-column:3;grid-row:1/3;width:19px}
    .woocommerce-account .woocommerce-orders-table {display:block;max-width:100%;overflow-x:auto}
}

.mg-card-detail {
    align-content: center;
    padding-inline: 12px;
}

.mg-footer-contact-break {display:none}
@media(max-width:700px) {
    .mg-footer-contact-separator {display:none}
    .mg-footer-contact-break {display:inline}
}

.woocommerce-message:has(> .mg-cart-notice) {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #d4e6da;
    border-radius: 10px;
    background: #f4faf6;
}

.woocommerce-message:has(> .mg-cart-notice):focus {
    outline: none;
}

.mg-cart-notice {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.mg-cart-notice::before {
    content: "";
    grid-area: 1 / 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dbefe2;
}

.mg-cart-notice::after {
    content: "";
    grid-area: 1 / 1;
    justify-self: center;
    width: 7px;
    height: 13px;
    border: solid #217044;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
}

.mg-cart-notice-copy {
    grid-column: 2;
    display: grid;
    gap: 2px;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.mg-cart-notice-copy strong {
    font-size: 15px;
    font-weight: 700;
}

.mg-cart-notice-copy span {
    color: #484f58;
    font-size: 14px;
}

.mg-cart-notice .mg-cart-notice-link {
    grid-column: 3;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 7px;
}

@media (max-width: 560px) {
    .mg-cart-notice {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 8px 10px;
    }

    .mg-cart-notice .mg-cart-notice-link {
        grid-column: 2;
        justify-self: start;
    }
}

/* Cart summary */
.woocommerce-cart .woocommerce-cart-form .coupon,
.woocommerce-cart .cart_totals .cart-subtotal,
.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
    display: none;
}

.woocommerce-cart .cart_totals table.shop_table {
    border-top: 1px solid #eee;
}

.woocommerce-cart .cart_totals h2 {
    margin-top: 0;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-totals,
.woocommerce-cart .cart_totals .woocommerce-shipping-totals > *,
.woocommerce-cart .cart_totals .order-total,
.woocommerce-cart .cart_totals .order-total > * {
    border: 0;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-totals > * {
    vertical-align: top;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li:has(> input[type="radio"]) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 6px;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods input[type="radio"] {
    margin: 0;
}

.woocommerce-cart .cart_totals .mg-cart-delivery-zone,
.woocommerce-cart .cart_totals .mg-cart-delivery-zone > td {
    border: 0;
    padding: 0;
}

.woocommerce-cart .cart_totals .mg-cart-delivery-zone > td {
    width: 100%;
    padding-block: 4px 8px;
}

.mg-cart-delivery-zone summary {
    cursor: pointer;
    color: #d9001b;
    font-weight: 600;
}

.mg-cart-delivery-zone form {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.mg-cart-delivery-zone select {
    width: 100%;
    min-height: 40px;
}

@media (max-width: 700px) {
    .woocommerce-cart .cart_totals {
        padding: 14px 14px 16px;
    }

    .woocommerce-cart .cart_totals h2,
    .woocommerce-cart .cart_totals table.shop_table {
        margin-bottom: 12px;
    }

    .woocommerce-cart .cart_totals .order-total {
        justify-content: space-between;
        align-items: baseline;
        gap: 4px 12px;
    }

    .woocommerce-cart .cart_totals .woocommerce-shipping-totals {
        flex-direction: column;
        gap: 4px;
        padding: 12px 0 4px;
    }

    .woocommerce-cart .cart_totals .woocommerce-shipping-methods label {
        display: inline-block;
        vertical-align: top;
    }

    .woocommerce-cart .cart_totals .order-total {
        padding: 8px 0;
    }

    .woocommerce-cart .cart_totals .woocommerce-shipping-totals > *,
    .woocommerce-cart .cart_totals .order-total > * {
        padding: 3px 0;
    }
}

/* Keep the goal selection page in two rows on desktop. */
@media (width > 950px) {
    .mg-goal-page > .mg-goal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mg-goal-page .mg-goal-card {
        aspect-ratio: 2.15;
    }
}

/* Give the shipping choices a full row on mobile checkout. */
@media (max-width: 700px) {
    .woocommerce-checkout .woocommerce-checkout-review-order-table tfoot:has(.woocommerce-shipping-totals) {
        display: table-caption;
        caption-side: bottom;
        background: #fff;
        border-radius: 0 0 6px 6px;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table tfoot:has(.woocommerce-shipping-totals) tr:not(.woocommerce-shipping-totals) {
        display: grid;
        grid-template-columns: 55% 45%;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals > th {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .woocommerce-checkout .woocommerce-shipping-methods li:has(> input[type="radio"]) {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: baseline;
        column-gap: 6px;
    }

    .woocommerce-checkout .woocommerce-shipping-methods input[type="radio"] {
        margin: 0;
    }

    .woocommerce-checkout .woocommerce-shipping-methods .woocommerce-Price-amount {
        white-space: nowrap;
    }

    .woocommerce-cart .cart_totals .woocommerce-shipping-methods label,
    .woocommerce-checkout .woocommerce-shipping-methods label {
        text-wrap: balance;
    }
}

.tax-product_cat .mg-shop .term-description > p + p {
    margin-top: 1em;
}

.tax-product_cat .mg-shop > ul.products:has(+ .term-description) {
    margin-bottom: 28px;
}

/* Separate products, delivery and the final total on desktop checkout. */
@media (min-width: 768px) {
    .woocommerce #order_review .woocommerce-checkout-review-order-table {
        --mg-review-inset: 20px;
        --mg-review-gap: 14px;
        table-layout: fixed;
        margin-bottom: var(--mg-review-gap);
    }

    .woocommerce-checkout-review-order-table :is(th, td).product-total {
        width: 25%;
        text-align: right;
        white-space: nowrap;
    }

    .woocommerce #order_review .woocommerce-checkout-review-order-table :is(th, td) {
        padding: 12px var(--mg-review-inset);
    }

    .woocommerce-checkout-review-order-table thead,
    .woocommerce-checkout-review-order-table .cart-subtotal {
        background: #fafafb;
    }

    .woocommerce-checkout-review-order-table tfoot {
        display: table-caption;
        caption-side: bottom;
    }

    .woocommerce-checkout-review-order-table tfoot > tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        background: #fff;
    }

    .woocommerce #order_review .woocommerce-checkout-review-order-table tfoot > tr > * {
        border-bottom: 0;
    }

    .woocommerce-checkout-review-order-table .cart-subtotal {
        background: #fafafb;
        border-radius: 0 0 6px 6px;
        font-weight: 650;
    }

    .woocommerce-checkout-review-order-table tfoot > .woocommerce-shipping-totals {
        grid-template-columns: minmax(0, 1fr);
        margin-top: var(--mg-review-gap);
        border-radius: 6px;
    }

    .woocommerce #order_review .woocommerce-checkout-review-order-table .woocommerce-shipping-totals > th {
        padding-top: 16px;
        padding-bottom: 0;
        font-size: 17px;
    }

    .woocommerce #order_review .woocommerce-checkout-review-order-table .woocommerce-shipping-totals > td {
        padding-bottom: 16px;
    }

    .woocommerce-checkout-review-order-table .woocommerce-shipping-methods {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
        gap: 10px;
    }

    .woocommerce-checkout-review-order-table .woocommerce-shipping-methods li {
        position: relative;
        margin: 0;
    }

    .woocommerce-checkout-review-order-table .woocommerce-shipping-methods label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        height: 100%;
        min-height: 52px;
        padding: 10px 12px;
        border: 1px solid #d4d8df;
        border-radius: 6px;
        line-height: 1.35;
    }

    .woocommerce-checkout-review-order-table .woocommerce-shipping-methods input[type="radio"] {
        position: absolute;
        inset-inline-start: 12px;
        top: 50%;
        margin: 0;
        transform: translateY(-50%);
        accent-color: #d9001b;
        cursor: pointer;
    }

    .woocommerce-checkout-review-order-table .woocommerce-shipping-methods input[type="radio"] + label {
        padding-inline-start: 34px;
        cursor: pointer;
    }

    .woocommerce-checkout-review-order-table .woocommerce-shipping-methods input:checked + label {
        border-color: #d9001b;
        background: #fff5f6;
    }

    .woocommerce-checkout-review-order-table .woocommerce-shipping-methods input:focus-visible + label {
        outline: 2px solid #24272a;
        outline-offset: 2px;
    }

    .woocommerce-checkout-review-order-table .woocommerce-shipping-methods .woocommerce-Price-amount {
        font-weight: 650;
        white-space: nowrap;
    }

    .woocommerce-checkout-review-order-table tfoot > .order-total {
        margin-top: var(--mg-review-gap);
        border-radius: 6px;
        background: #24272a;
        color: #fff;
    }

    .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
        font-size: 22px;
        white-space: nowrap;
    }
}
