/*
Theme Name: MJ's Naturals
Theme URI: https://mjsnaturals.com
Author: MJ's Naturals
Description: Custom WooCommerce theme for MJ's Naturals — handcrafted natural ice creams. Built from the MJ's Naturals Figma design. Supports pre-orders with a fixed batch delivery date.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mjs-naturals
Tags: woocommerce, custom-menu, featured-images, translation-ready
WC requires at least: 8.0
WC tested up to: 10.8
*/

/* ==========================================================================
   DESIGN TOKENS
   Read from Figma file HicK7w1ev0PjXjysZYAbUg. Change values here only.
   ========================================================================== */

:root {
    --mjs-green: #1b4d2e;
    --mjs-green-deep: #143820;
    --mjs-green-grad: #2a6b41;
    --mjs-mint: #a8e6c0;
    --mjs-mint-bright: #7fd49a;
    --mjs-mint-pale: #e8f5ee;

    --mjs-purple: #6b3fa0;
    --mjs-purple-light: #c4a3e8;

    --mjs-cream: #fdfaf4;
    --mjs-cream-deep: #f5edd8;
    --mjs-cream-line: #ede0c4;

    --mjs-ink: #1a1a1a;
    --mjs-ink-muted: #5a5a5a;

    --mjs-display: "Playfair Display", Georgia, serif;
    --mjs-body: "Inter", system-ui, -apple-system, sans-serif;

    --mjs-container: 1210px;
    --mjs-gutter: clamp(1.25rem, 5vw, 4.5rem);
    --mjs-r-card: 28px;
    --mjs-r-soft: 16px;
    --mjs-r-pill: 9999px;
}

/* ==========================================================================
   BASE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--mjs-cream);
    color: var(--mjs-ink);
    font-family: var(--mjs-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3 {
    font-family: var(--mjs-display);
    font-weight: 700;
    margin: 0;
}

p {
    margin: 0;
}

em {
    font-style: italic;
    font-weight: 600;
}

:focus-visible {
    outline: 3px solid var(--mjs-mint-bright);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
    }
}

.mjs-wrap {
    width: 100%;
    max-width: var(--mjs-container);
    margin-inline: auto;
    padding-inline: var(--mjs-gutter);
}

.mjs-skip {
    position: absolute;
    left: -9999px;
}

.mjs-skip:focus {
    left: 1rem;
    top: 0.5rem;
    z-index: 200;
    background: var(--mjs-mint-bright);
    color: var(--mjs-green);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Shared furniture -------------------------------------------------------- */

.mjs-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--mjs-purple);
}

.mjs-h2 {
    font-size: clamp(2rem, 1.4rem + 2.4vw, 2.7rem);
    line-height: 1.2;
    color: var(--mjs-ink);
}

.mjs-h2 em {
    color: var(--mjs-green);
}

/* Buttons ----------------------------------------------------------------- */

.mjs-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--mjs-body);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    padding: 1rem 2rem;
    border-radius: var(--mjs-r-pill);
    border: 2px solid transparent;
    background: var(--mjs-green);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.mjs-btn--green:hover {
    background: var(--mjs-green-grad);
    color: #fff;
}

.mjs-btn--green {
    background: var(--mjs-green);
    color: #fff;
}

.mjs-btn--white {
    background: #fff;
    color: var(--mjs-green);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.mjs-btn--white:hover {
    background: var(--mjs-mint-pale);
}

.mjs-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.mjs-btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   DELIVERY BANNER (pre-order)
   ========================================================================== */

.mjs-deliverybar {
    background: var(--mjs-green-deep);
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
}

.mjs-deliverybar strong {
    color: var(--mjs-mint-bright);
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.mjs-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 250, 244, 0.96);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(27, 77, 46, 0.08);
}

.mjs-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 72px;
    flex-wrap: wrap;
}

.mjs-wordmark {
    line-height: 1.1;
}

.mjs-wordmark__name {
    font-family: var(--mjs-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--mjs-green);
}

.mjs-wordmark__name span {
    color: var(--mjs-purple);
}

.mjs-wordmark__tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mjs-purple);
    margin-top: 2px;
}

.mjs-logo {
    line-height: 0;
}

.mjs-logo .custom-logo-link {
    display: inline-block;
}

.mjs-logo .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 56px;
    max-width: 220px;
}

.mjs-nav__right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mjs-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(27, 77, 46, 0.2);
    color: var(--mjs-green);
}

.mjs-cart svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.mjs-cart__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: var(--mjs-r-pill);
    background: var(--mjs-purple);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.mjs-nav__toggle {
    display: inline-flex;
    align-items: center;
    background: none;
    border: 1px solid rgba(27, 77, 46, 0.25);
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    font-family: var(--mjs-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mjs-green);
    cursor: pointer;
}

.mjs-nav__menu {
    display: none;
    width: 100%;
    padding-bottom: 1.25rem;
}

.mjs-nav__menu[data-open="true"] {
    display: block;
}

.mjs-nav__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mjs-nav__menu a {
    display: block;
    padding: 0.7rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(27, 77, 46, 0.08);
}

@media (min-width: 62rem) {
    .mjs-nav__toggle {
        display: none;
    }

    .mjs-nav__menu {
        display: block;
        width: auto;
        padding-bottom: 0;
    }

    .mjs-nav__menu ul {
        flex-direction: row;
        align-items: center;
        gap: 2.25rem;
    }

    .mjs-nav__menu a {
        padding: 0;
        border-bottom: 0;
        font-size: 0.9rem;
    }

    .mjs-nav__menu a:hover {
        color: var(--mjs-green);
    }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.mjs-hero {
    position: relative;
    background: linear-gradient(99deg, rgba(27, 77, 46, 0.92) 0%, rgba(27, 77, 46, 0.70) 45%, rgba(27, 77, 46, 0.25) 100%);
    overflow: hidden;
}

.mjs-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.38;
}

.mjs-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
    rgba(27, 77, 46, 0.92) 0%,
    rgba(27, 77, 46, 0.70) 45%,
    rgba(27, 77, 46, 0.25) 100%);
}

.mjs-hero__inner {
    position: relative;
    padding-block: clamp(3.5rem, 8vw, 5rem);
}

.mjs-hero__body {
    max-width: 680px;
}

.mjs-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--mjs-r-pill);
    padding: 0.45rem 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.mjs-hero__badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mjs-mint-bright);
    flex-shrink: 0;
}

.mjs-hero__title {
    font-size: clamp(2.75rem, 1.4rem + 5.4vw, 4.4rem);
    line-height: 1.1;
    color: #fff;
    margin-top: 1.25rem;
}

.mjs-hero__title em {
    color: var(--mjs-mint);
}

.mjs-hero__lede {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    max-width: 34rem;
    margin-top: 1.25rem;
}

.mjs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.mjs-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.mjs-stat__num {
    font-family: var(--mjs-display);
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1;
    color: #fff;
}

.mjs-stat__label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.4rem;
}

@media (min-width: 62rem) {
    .mjs-hero__inner {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 3rem;
        min-height: 770px;
        padding-block: 5rem;
    }

    .mjs-hero__body {
        padding-block: 2rem;
    }

    .mjs-hero__stats {
        margin-top: 0;
        margin-bottom: 3rem;
    }
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */

.mjs-trust {
    background: var(--mjs-cream-deep);
    border-bottom: 1px solid var(--mjs-cream-line);
    padding-block: 1.25rem;
}

.mjs-trust__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
}

.mjs-trust__item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mjs-green);
}

.mjs-trust__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mjs-green);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.mjs-trust__icon svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.mjs-about {
    background: var(--mjs-cream);
    padding-block: clamp(3.5rem, 8vw, 6.25rem);
}

.mjs-about__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.mjs-about__figure {
    position: relative;
    margin: 0;
    border-radius: var(--mjs-r-card);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27, 77, 46, 0.18);
    background: var(--mjs-cream-deep);
    aspect-ratio: 1 / 1;
}

.mjs-about__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mjs-about__stamp {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: var(--mjs-green);
    color: #fff;
    border-radius: var(--mjs-r-soft);
    padding: 0.7rem 1.25rem;
    box-shadow: 0 4px 8px rgba(27, 77, 46, 0.35);
}

.mjs-about__stamp b {
    display: block;
    font-family: var(--mjs-display);
    font-size: 1.6rem;
    line-height: 1;
}

.mjs-about__stamp span {
    font-size: 0.85rem;
    font-weight: 600;
}

.mjs-about__text > * + * {
    margin-top: 0.7rem;
}

.mjs-about__para {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--mjs-ink-muted);
}

.mjs-about__cards {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.mjs-about__card {
    background: var(--mjs-cream-deep);
    border-left: 4px solid var(--mjs-green);
    border-radius: var(--mjs-r-soft);
    padding: 1.25rem 1rem 1.25rem 1.25rem;
}

.mjs-about__card h3 {
    font-family: var(--mjs-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--mjs-green);
    margin-bottom: 0.2rem;
}

.mjs-about__card p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--mjs-ink-muted);
}

.mjs-about__cta {
    margin-top: 1.75rem;
}

@media (min-width: 34rem) {
    .mjs-about__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 62rem) {
    .mjs-about__grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

/* ==========================================================================
   FLAVOURS GRID  (also used on the shop archive)
   ========================================================================== */

.mjs-flavours {
    position: relative;
    background: var(--mjs-green);
    padding-block: clamp(3.5rem, 8vw, 6.25rem);
    overflow: hidden;
}

.mjs-flavours::before,
.mjs-flavours::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.mjs-flavours::before {
    width: 320px;
    height: 320px;
    top: -60px;
    right: -60px;
}

.mjs-flavours::after {
    width: 240px;
    height: 240px;
    bottom: -80px;
    left: -40px;
}

.mjs-flavours__head {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
}

.mjs-flavours__head .mjs-eyebrow {
    color: var(--mjs-mint);
}

.mjs-flavours__head .mjs-h2 {
    color: #fff;
    margin-top: 0.6rem;
}

.mjs-flavours__head .mjs-h2 em {
    color: var(--mjs-mint);
}

.mjs-flavours__sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.mjs-flavours__grid {
    position: relative;
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
    list-style: none;
    padding: 0;
}

@media (min-width: 34rem) {
    .mjs-flavours__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 52rem) {
    .mjs-flavours__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 68rem) {
    .mjs-flavours__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mjs-flavour {
    background: #fff;
    border-radius: var(--mjs-r-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.mjs-flavour__img {
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--mjs-cream-deep);
}

.mjs-flavour__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mjs-flavour__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.mjs-flavour__name {
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--mjs-ink);
}

.mjs-flavour__desc {
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--mjs-ink-muted);
    margin-bottom: 0.65rem;
}

.mjs-flavour__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.mjs-flavour__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--mjs-mint-pale);
    color: var(--mjs-green);
    border-radius: var(--mjs-r-pill);
    padding: 0.25rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.mjs-flavour__tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mjs-green);
    flex-shrink: 0;
}

.mjs-flavour__price {
    font-family: var(--mjs-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--mjs-green);
}

.mjs-flavour__price .woocommerce-Price-amount {
    font-family: inherit;
}

.mjs-flavour__price del {
    opacity: 0.5;
    font-size: 0.85em;
    margin-right: 0.3rem;
}

.mjs-flavour__more {
    display: block;
    margin-top: 0.9rem;
    text-align: center;
    border: 1.5px solid var(--mjs-green);
    color: var(--mjs-green);
    border-radius: var(--mjs-r-pill);
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mjs-flavour__more:hover {
    background: var(--mjs-green);
    color: #fff;
}

/* ==========================================================================
   PROMISE
   ========================================================================== */

.mjs-promise {
    background: var(--mjs-cream-deep);
    padding-block: clamp(3.5rem, 8vw, 5rem);
    text-align: center;
}

.mjs-promise .mjs-h2 {
    margin-top: 0.6rem;
}

.mjs-promise__grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 2.75rem;
    max-width: 960px;
    margin-inline: auto;
}

@media (min-width: 52rem) {
    .mjs-promise__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mjs-promise__card {
    background: #fff;
    border-radius: var(--mjs-r-card);
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 6px rgba(27, 77, 46, 0.1);
}

.mjs-promise__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--mjs-r-soft);
    background: linear-gradient(135deg, var(--mjs-green) 0%, var(--mjs-green-grad) 100%);
    display: grid;
    place-items: center;
    margin: 0 auto 1.25rem;
}

.mjs-promise__icon svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.mjs-promise__card h3 {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.mjs-promise__card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--mjs-ink-muted);
}

/* ==========================================================================
   SINGLE PRODUCT  — details left, image right
   ========================================================================== */

.mjs-product {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    background: var(--mjs-cream);
}

.mjs-product__grid {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 62rem) {
    .mjs-product__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4.5rem;
    }

    /* Design calls for the image on the right */
    .mjs-product__summary {
        order: 1;
    }

    .mjs-product__gallery {
        order: 2;
    }
}

.mjs-product__gallery {
    border-radius: var(--mjs-r-card);
    overflow: hidden;
    background: var(--mjs-cream-deep);
    box-shadow: 0 8px 32px rgba(27, 77, 46, 0.18);
}

.mjs-product__gallery img {
    width: 100%;
    height: auto;
}

.mjs-crumbs {
    font-size: 0.82rem;
    color: var(--mjs-ink-muted);
    margin-bottom: 1rem;
}

.mjs-crumbs a {
    color: var(--mjs-green);
}

.mjs-crumbs a:hover {
    text-decoration: underline;
}

.mjs-product__title {
    font-size: clamp(2rem, 1.5rem + 2vw, 2.7rem);
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.mjs-product__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--mjs-mint-pale);
    color: var(--mjs-green);
    border-radius: var(--mjs-r-pill);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mjs-product__tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mjs-green);
}

.mjs-product__excerpt {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--mjs-ink-muted);
    margin-bottom: 1.5rem;
}

.mjs-product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-family: var(--mjs-display);
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--mjs-green);
    margin-bottom: 1.25rem;
}

.woocommerce div.product p.price del {
    opacity: 0.45;
    font-size: 0.6em;
}

.woocommerce div.product p.price ins {
    text-decoration: none;
}

/* Size selector — rendered as pills by product.js, falls back to the select */

.woocommerce div.product form.cart .variations {
    margin-bottom: 1.25rem;
    border: 0;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    display: block;
    padding: 0;
    border: 0;
    text-align: left;
}

.woocommerce div.product form.cart .variations label {
    font-family: var(--mjs-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--mjs-ink-muted);
    margin-bottom: 0.6rem;
    display: block;
}

.mjs-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.mjs-size {
    border: 1.5px solid rgba(27, 77, 46, 0.3);
    background: #fff;
    color: var(--mjs-green);
    border-radius: var(--mjs-r-pill);
    padding: 0.65rem 1.4rem;
    font-family: var(--mjs-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mjs-size:hover {
    border-color: var(--mjs-green);
}

.mjs-size[aria-pressed="true"] {
    background: var(--mjs-green);
    border-color: var(--mjs-green);
    color: #fff;
}

.mjs-size[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

.mjs-sizes + select,
.mjs-sizes ~ .reset_variations {
    display: none !important;
}

/* Quantity + add to cart */

.woocommerce div.product form.cart {
    display: block;
    margin-bottom: 1.5rem;
}

.woocommerce div.product form.cart div.quantity {
    float: none;
    display: inline-flex;
    align-items: center;
    margin: 0 0.75rem 0 0;
}

.woocommerce .quantity .qty {
    width: 84px;
    height: 52px;
    padding: 0 0.5rem;
    text-align: center;
    font-family: var(--mjs-body);
    font-size: 1rem;
    border: 1.5px solid rgba(27, 77, 46, 0.3);
    border-radius: var(--mjs-r-pill);
    background: #fff;
    color: var(--mjs-ink);
}

.woocommerce div.product form.cart .button {
    min-height: 52px;
}

.mjs-product__assurances {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--mjs-cream-line);
    display: grid;
    gap: 0.7rem;
}

.mjs-product__assurances li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--mjs-ink-muted);
}

.mjs-product__assurances svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--mjs-green);
    fill: none;
    stroke-width: 2.5;
}

.mjs-product__tabs {
    margin-top: clamp(2.5rem, 6vw, 4rem);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding-left: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom-color: var(--mjs-cream-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: var(--mjs-cream-deep);
    border-color: var(--mjs-cream-line);
    border-radius: 8px 8px 0 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--mjs-body);
    font-weight: 600;
}

/* Woo notices ------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--mjs-green);
    background: var(--mjs-cream-deep);
    font-size: 0.9rem;
    border-radius: 8px;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--mjs-green);
}

/* Shop / cart / checkout shell -------------------------------------------- */

.mjs-page {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.mjs-page__title {
    font-size: clamp(2rem, 1.5rem + 2vw, 2.7rem);
    margin-bottom: 1.5rem;
}

.woocommerce table.shop_table {
    border-radius: var(--mjs-r-soft);
}

.woocommerce-cart table.cart img {
    width: 72px;
    border-radius: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.mjs-footer {
    background: var(--mjs-green-deep);
    color: rgba(255, 255, 255, 0.7);
    padding-block: 4rem 1.5rem;
}

.mjs-footer__grid {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 44rem) {
    .mjs-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 62rem) {
    .mjs-footer__grid {
        grid-template-columns: 1.9fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.mjs-footer__logo {
    line-height: 0;
    margin-bottom: 0.5rem;
}

.mjs-footer__logo .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 104px;
    max-width: 320px;
}

.mjs-footer__wordmark {
    font-family: var(--mjs-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--mjs-mint-bright);
}

.mjs-footer__wordmark span {
    color: var(--mjs-purple-light);
}

.mjs-footer__tag {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.2rem;
}

.mjs-footer__blurb {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.9rem;
    max-width: 28rem;
}

.mjs-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.mjs-footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    transition: background-color 0.2s ease;
}

.mjs-footer__social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mjs-footer__social svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.mjs-footer h4 {
    font-family: var(--mjs-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1.25rem;
}

.mjs-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.mjs-footer__list a {
    font-size: 0.9rem;
}

.mjs-footer__list a:hover {
    color: var(--mjs-mint-bright);
}

.mjs-footer__veg {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}

.mjs-footer__veg i {
    width: 12px;
    height: 12px;
    border: 1px solid var(--mjs-mint-bright);
    border-radius: 3px;
    display: grid;
    place-items: center;
}

.mjs-footer__veg i::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mjs-mint-bright);
}

.mjs-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.82rem;
}

.mjs-footer__copy {
    color: rgba(255, 255, 255, 0.4);
}

.mjs-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.mjs-footer__legal a {
    color: rgba(255, 255, 255, 0.55);
}

.mjs-footer__legal a:hover {
    color: #fff;
}

/*Custom Styles*/

.woocommerce-page div.product div.images {
    width: 100%;
    margin: 0px !important;
}

.mjs-product__summary.summary.entry-summary {
    width: 100% !important;
}
