/* =============================================================================
   NOVA PRODUCTS BLOCK — [nova_products] shortcode
   Custom product grid matching Figma node 10203-68072.
   Section padding/background come from the parent Elementor container.
   ============================================================================= */

/* ── Outer wrapper ────────────────────────────────────────────────────────── */
.nova-products {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;          /* between grid and View All — Figma outer gap */
    width: 100%;
}

/* ── 4-column product grid ────────────────────────────────────────────────── */
.nova-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 13px;
    row-gap: 8px;
    width: 100%;
    align-items: start;
}

/* Homepage [nova_products] featured grid */
.nova-products--featured {
    gap: 0;
}

.nova-products--featured .nova-products__grid {
    column-gap: 32px;
    row-gap: 32px;
}

/* Homepage featured slider */
.nova-products--featured.nova-products--slider {
    gap: 0;
    align-items: stretch;
}

/* Responsive defaults — JS syncs these from container width too */
.nova-products--slider {
    --nova-products-visible: 4;
    --nova-products-gap: 32px;
    width: 100%;
    max-width: 100%;
}

.nova-products--slider .nova-products__slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.nova-products--slider .nova-products__viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.nova-products--slider .nova-products__track {
    display: flex;
    gap: var(--nova-products-gap, 32px);
    transition: transform 0.5s ease;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .nova-products--slider .nova-products__track {
        transition: none;
    }
}

.nova-products--slider .nova-products__slide {
    flex: 0 0 calc(
        (100% - (var(--nova-products-gap, 32px) * (var(--nova-products-visible, 4) - 1)))
        / var(--nova-products-visible, 4)
    );
    width: calc(
        (100% - (var(--nova-products-gap, 32px) * (var(--nova-products-visible, 4) - 1)))
        / var(--nova-products-visible, 4)
    );
    max-width: calc(
        (100% - (var(--nova-products-gap, 32px) * (var(--nova-products-visible, 4) - 1)))
        / var(--nova-products-visible, 4)
    );
    min-width: 0;
    box-sizing: border-box;
}

.nova-products--slider .nova-products__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.nova-products__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 50% !important; /* beat Elementor kit button radius: 0 */
    background-color: #1f3326 !important;
    color: #fff;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.nova-products__arrow:hover:not(:disabled),
.nova-products__arrow:focus-visible:not(:disabled) {
    background-color: #1f3326 !important;
    filter: brightness(1.12);
    outline: none;
}

.nova-products__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    filter: none;
}

.nova-products__arrow svg {
    display: block;
    width: 1em;
    height: 1em;
    font-size: 56px;
}

.nova-products__arrow svg rect {
    fill: #1f3326 !important;
}

.nova-products__arrow--prev svg {
    transform: scaleX(-1);
}

@media (max-width: 1100px) {
    .nova-products--slider {
        --nova-products-visible: 3;
        --nova-products-gap: 24px;
    }
}

@media (max-width: 1024px) {
    .nova-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nova-products--featured .nova-products__grid {
        column-gap: 24px;
        row-gap: 24px;
    }

    .nova-products--slider .nova-products__nav {
        margin-top: 32px;
    }
}

@media (max-width: 768px) {
    .nova-products--slider {
        --nova-products-visible: 2;
        --nova-products-gap: 20px;
    }

    .nova-products--slider .nova-products__nav {
        margin-top: 28px;
        gap: 12px;
    }

    .nova-products--slider .nova-products__arrow {
        width: 48px;
        height: 48px;
    }

    .nova-products--slider .nova-products__arrow svg {
        font-size: 48px;
    }
}

@media (max-width: 640px) {
    .nova-products__grid {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .nova-products--featured .nova-products__grid {
        row-gap: 20px;
    }
}

@media (max-width: 480px) {
    .nova-products--slider {
        --nova-products-visible: 1;
        --nova-products-gap: 16px;
    }

    .nova-products--slider .nova-products__nav {
        margin-top: 24px;
    }
}

/* ── Card — outer container ───────────────────────────────────────────────── */
/* Figma layout_11MC23: column, gap 16px, fill width */
.nova-products__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #e4e4d9;
    border-radius: var(--radius-card, 18px);
    background-color: var(--color-white, #fffef9);
    overflow: hidden;
    height: 100%;
}

/* Whole-card link variant — used by [nova_products] */
a.nova-products__card--link {
    display: flex;
    flex-direction: column;
    gap: 21px;
    width: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    height: auto;
    transition: none;
}

a.nova-products__card--link:hover,
a.nova-products__card--link:focus-visible {
    border: none;
    box-shadow: none;
    outline: none;
}

a.nova-products__card--link .nova-products__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    height: auto;
    padding: 0;
    background: #f5f0e7;
    border: 1px solid #e4e4d9;
    border-radius: var(--radius-card, 18px);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.4s ease;
}

a.nova-products__card--link:hover .nova-products__img-wrap,
a.nova-products__card--link:focus-visible .nova-products__img-wrap {
    border-color: #1f3326;
}

a.nova-products__card--link .nova-products__img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

a.nova-products__card--link .nova-products__img--placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
    background-color: var(--color-off-white, #ced3c7);
    border-radius: 6px;
}

a.nova-products__card--link .nova-products__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    justify-content: flex-start;
}

a.nova-products__card--link .nova-products__text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

a.nova-products__card--link .nova-products__header {
    display: block;
}

a.nova-products__card--link .nova-products__title {
    display: block;
    margin: 0;
    padding: 0;
    font-family: var(--font-heading, Raleway, Inter, Arial, sans-serif);
    font-size: 1.625rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-align: left;
    color: var(--color-ink, #202c23);
}

a.nova-products__card--link:hover .nova-products__title,
a.nova-products__card--link:focus-visible .nova-products__title {
    color: var(--color-ink, #202c23);
}

a.nova-products__card--link .nova-products__price {
    font-family: var(--font-heading, Raleway, Inter, Arial, sans-serif) !important;
    font-size: 2.1rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-align: left;
    color: var(--color-ink, #202c23);
}

a.nova-products__card--link .nova-products__price .woocommerce-Price-amount,
a.nova-products__card--link .nova-products__price bdi,
a.nova-products__card--link .nova-products__price-suffix {
    font-family: var(--font-body, Arial, Helvetica, sans-serif) !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

a.nova-products__card--link .nova-products__price-suffix {
    margin-left: 0;
}

/* ── Product image ────────────────────────────────────────────────────────── */
/* Figma layout_72EXG5: fill horizontal, fixed height 364.8px */
.nova-products__img-wrap {
    display: block;
    overflow: hidden;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
    height: 265px;
}

.nova-products__img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: contain;
}

.nova-products__img--placeholder {
    background-color: var(--color-sage, #dce1d5);
    height: 365px;
    width: 100%;
    display: block;
}

/* ── Card body ────────────────────────────────────────────────────────────── */
/* Figma layout_IHPJDC: column, gap 16px (between text-group and button) */
.nova-products__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    background-color: #FFF;
    margin: -10px 0 0;
    padding: 20px 14px;
    justify-content: space-between;
}

/* ── Text group ───────────────────────────────────────────────────────────── */
/* Figma layout_M99CH4: column, gap 8px (between header block and price) */
.nova-products__text-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Header (name + variant) ─────────────────────────────────────────────── */
/* Figma layout_5ADXHE: column, gap 0 */
.nova-products__header {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Product name — Figma Text/Medium/Semi Bold */
.nova-products__title a {
    color: var(--color-ink, #202c23);
    text-decoration: none;
    font-family: var(--font-heading, Raleway, Inter, Arial, sans-serif);
    font-weight: 400;
    font-size: 1.625rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.nova-products__title a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/* ── Price — Figma Text/Large/Semi Bold ──────────────────────────────────── */
.nova-products__price {
    font-family: var(--font-heading, Raleway, Inter, Arial, sans-serif) !important;
    text-align: left;
    color: var(--color-ink, #202c23);
    font-weight: 400;
    font-size: 2.1rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

/* Override any WooCommerce price colour/size */
.nova-products__price .woocommerce-Price-amount,
.nova-products__price bdi,
.nova-products__price-suffix {
    font-family: var(--font-body, Arial, Helvetica, sans-serif) !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

.nova-products__price del {
    opacity: 0.5;
    font-size: 14px;
}

/* ── Add to cart button ───────────────────────────────────────────────────── */
/* Figma layout_8A9EK9: full-width, 8/20px padding, 40px height, 1px #000 stroke */
.nova-products__btn.nova-products__btn {
    display: block !important;
    width: 100% !important;
    padding: 14px 25px !important;
    background-color: var(--color-cta) !important;
    border: none !important;
    color: var(--color-cta-text) !important;
    font-family: var(--font-ui, Arial, Helvetica, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;   /* 8+24+8 = 40px total height */
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border-radius: var(--radius-cta, 40px) !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    box-sizing: border-box !important;
    letter-spacing: 0 !important;
    letter-spacing: 1%;
}

/* Quantity wrapper — hide it inside nova-products cards */
.nova-products .cart .quantity {
    display: none !important;
}

/* ── View All button ─────────────────────────────────────────────────────── */
.nova-products__actions {
    display: flex;
    justify-content: center;
}

.nova-products__view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px;
    background-color: var(--color-cta);
    border: none;
    border-radius: var(--radius-cta, 40px);
    color: var(--color-cta-text);
    font-family: var(--font-ui, Arial, Helvetica, sans-serif);
    font-size: 16px;
    font-weight: 400 !important;
    line-height: 150%;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

/* ── Empty state ─────────────────────────────────────────────────────────── */
.nova-products__empty {
    text-align: center;
    color: var(--color-text-muted, #596356);
    padding: 0;
    margin: 0;
    font-size: 16px;
    width: 100%;
}

.nova-shop.is-empty {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.nova-shop.is-empty .nova-shop__sidebar {
    display: block;
}

.nova-shop.is-empty .nova-shop__main {
    grid-column: 1;
    width: 100%;
}

.nova-shop__empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 320px;
    padding: 40px 20px;
}

button.nova-shop__clear-filters {
    appearance: none;
    border: none !important;
    border-radius: var(--radius-cta, 40px) !important;
    background-color: var(--color-cta) !important;
    padding: 10px 24px;
    font-family: var(--font-ui, Arial, Helvetica, sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-cta-text) !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Yellow button hover — see global.css */

/* =============================================================================
   NOVA SHOP — sidebar layout + filters (Products template)
   Shortcode: [nova_shop]
   ============================================================================= */

/*
 * Full-width shop breakout (page 6 → template 321).
 * Elementor nests multiple boxed containers, each with 5% horizontal padding,
 * which compounds and shrinks the product grid to ~650px. Keep one outer gutter
 * on ee53ffac and zero horizontal padding on every inner wrapper.
 */
.elementor-6 .elementor-element.elementor-element-ee53ffac {
    --content-width: 100% !important;
    --width: 100% !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}
.elementor-6 .elementor-element.elementor-element-ee53ffac > .e-con-inner,
.elementor-6 .elementor-element.elementor-element-e22ce6f9,
.elementor-6 .elementor-element.elementor-element-e22ce6f9 > .elementor-widget-container,
.elementor-6 .elementor-element.elementor-element-e22ce6f9 .elementor-template,
.elementor.elementor-321,
.elementor-321 .elementor-element.elementor-element-7506a94f,
.elementor-321 .elementor-element.elementor-element-7506a94f > .e-con-inner,
.elementor-321 .elementor-element.elementor-element-1f861949,
.elementor-321 .elementor-element.elementor-element-1f861949 .elementor-widget-container,
.elementor-321 .elementor-element.elementor-element-1f861949 .elementor-shortcode,
.elementor-widget:has([data-nova-shop]),
.elementor-widget:has([data-nova-shop]) .elementor-widget-container,
.elementor-widget:has([data-nova-shop]) .elementor-shortcode {
    --content-width: 100% !important;
    --width: 100% !important;
    --container-widget-width: 100% !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.elementor-321 .elementor-element.elementor-element-7506a94f,
.elementor-321 .elementor-element.elementor-element-7506a94f.e-con-boxed {
    align-items: stretch !important;
}

@media (min-width: 768px) {
    .elementor-321 .elementor-element.elementor-element-7506a94f {
        --content-width: 100% !important;
    }
}

.nova-shop-wrap {
    display: flex;
    flex-direction: column;
    gap: 23px;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.nova-shop {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    width: 100%;
}

@media (max-width: 1024px) {
    .nova-shop {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.nova-shop__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nova-shop .nova-shop__filters {
    background: var(--color-bg-white, #fff);
    border: 1px solid var(--color-border, #ced3c7);
    border-radius: 15px !important;
    overflow: hidden;
}

.nova-shop__filters-title {
    margin: 0;
    padding: 14px 18px;
    font-family: var(--font-heading, Raleway, Inter, Arial, sans-serif) !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-neutral-darkest) !important;
    border-bottom: 1px solid var(--color-border, #ced3c7);
}

.nova-shop__filter-group {
    border-bottom: 1px solid var(--color-border, #ced3c7);
}

.nova-shop__filter-group:last-child {
    border-bottom: none;
}

.nova-shop__filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    font-family: var(--font-ui, Arial, Helvetica, sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-neutral-darkest) !important;
    cursor: pointer;
    list-style: none;
}

.nova-shop__filter-heading::-webkit-details-marker {
    display: none;
}

.nova-shop__filter-chevron {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--color-text-muted, #596356);
    border-bottom: 1.5px solid var(--color-text-muted, #596356);
    transform: rotate(225deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nova-shop__filter-group:not([open]) .nova-shop__filter-chevron {
    transform: rotate(45deg);
}

.nova-shop__filter-options {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 20px 16px;
}

.nova-shop__filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body, Arial, Helvetica, sans-serif) !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-muted, #596356) !important;
    cursor: pointer;
}

.nova-shop__filter-option span {
    font-family: var(--font-body, Arial, Helvetica, sans-serif) !important;
}

.nova-shop__filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    appearance: none;
    border: 2px solid var(--color-line, #ced3c7) !important;
    border-radius: 3px;
    background: var(--color-bg-white, #fff);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nova-shop__filter-option input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 8px;
}

/* ── CTA card ────────────────────────────────────────────────────────────── */
.nova-shop .nova-shop__cta {
    background: var(--color-bg-white, #fff);
    border: 1px solid var(--color-border, #ced3c7);
    border-radius: 15px !important;
    padding: 24px 20px;
}

.nova-shop__cta-title {
    margin: 0 0 16px !important;
    font-family: var(--font-heading, Raleway, Inter, Arial, sans-serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-neutral-darkest) !important;
}

.nova-shop__cta-text {
    margin: 0 0 20px;
    font-family: var(--font-body, Arial, Helvetica, sans-serif);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-muted, #596356);
}

.nova-shop__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 24px;
    background-color: var(--color-cta);
    border: none;
    border-radius: var(--radius-cta, 40px);
    color: var(--color-cta-text);
    font-family: var(--font-ui, Arial, Helvetica, sans-serif);
    font-size: 16px;
    font-weight: 400 !important;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* ── Main column (product grid only) ─────────────────────────────────────── */
.nova-shop__main {
    min-width: 0;
}

/* ── Toolbar: full-width row above .nova-shop ────────────────────────────── */
.nova-shop__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

.nova-shop__toolbar-left {
    display: flex;
    align-items: center;
    gap: 13px;
    flex: 0 1 auto;
    min-width: 0;
}

.nova-shop__search {
    position: relative;
    flex: 0 0 auto;
    min-width: 300px;
    margin: 0;
}

.nova-shop__search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    color: var(--color-neutral-darkest);
    pointer-events: none;
}

.nova-shop__search-icon svg {
    width: 18px;
    height: 18px;
}

input[type="search"].nova-shop__search-input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 36px;
    border: 1px solid var(--color-border, #ced3c7);
    border-radius: 50px;
    background: var(--color-bg-white, #fff);
    font-family: var(--font-body, Arial, Helvetica, sans-serif);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text, #202c23);
    outline: none;
    transition: border-color 0.2s ease;
}

.nova-shop__search-input::placeholder {
    color: var(--color-text-muted, #596356);
}

.nova-shop__search-input:focus {
    border-color: var(--color-neutral, #596356);
}

.nova-shop__sort {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.nova-shop__sort-label {
    font-family: var(--font-body, Arial, Helvetica, sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text, #202c23);
    white-space: nowrap;
    display: none;
}

.nova-shop__sort-select-wrap {
    position: relative;
}

.nova-shop__sort-select {
    appearance: none;
    height: 40px;
    padding: 0 32px 0 12px;
    border: 1px solid var(--color-border, #ced3c7);
    border-radius: 50px;
    background: #fff;
    font-family: var(--font-ui, Arial, Helvetica, sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-neutral-darkest);
    cursor: pointer;
    outline: none;
    min-width: 120px;
}

.nova-shop__sort-select:focus {
    border-color: var(--color-border, #ced3c7);
}

.nova-shop__sort-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    color: var(--color-text, #202c23);
}

.nova-shop__count {
    margin: 0;
    flex-shrink: 0;
    font-family: var(--font-body, Arial, Helvetica, sans-serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-primary);
    text-align: right;
}

.nova-shop__count strong {
    font-weight: 600;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .nova-shop__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .nova-shop__toolbar-left {
        flex-direction: column;
        align-items: stretch;
    }

    .nova-shop__search {
        width: 100%;
        max-width: none;
    }

    .nova-shop__sort {
        justify-content: space-between;
    }

    .nova-shop__count {
        text-align: left;
    }
}

/* ── Results grid area ───────────────────────────────────────────────────── */
.nova-shop__results {
    min-width: 0;
    transition: opacity 0.2s ease;
}

.nova-shop__results.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.nova-products--shop {
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-width: 0;
}

.nova-products--shop .nova-products__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 10px;
    align-items: stretch;
    width: 100%;
}

.nova-products--shop .nova-products__card {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 15px !important;
}

.nova-products--shop .nova-products__img-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f5f0e7;
}

.nova-products--shop .nova-products__img,
.nova-products--shop .nova-products__img-wrap img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center;
}

.nova-products--shop .nova-products__body {
    padding: 16px 16px 18px;
    gap: 10px;
    margin: 0;
    border-radius: 0;
}

.nova-products--shop .nova-products__text-group {
    flex: 1;
    min-height: 0;
}

.nova-products--shop .nova-products__title {
    min-height: auto;
}

.nova-products--shop .nova-products__title a {
    font-family: var(--font-heading, Raleway, Inter, Arial, sans-serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.04em;
    display: block;
    overflow: visible;
    word-break: break-word;
}

.nova-products--shop .nova-products__price {
    font-size: 16px;
    line-height: 1.2;
}

.nova-products--shop .nova-products__btn.nova-products__btn {
    margin-top: auto;
    padding: 10px 20px !important;
    font-size: 16px !important;
}

@media (max-width: 1024px) {
    .nova-products--shop .nova-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nova-products--shop .nova-products__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.nova-shop__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: clamp(24px, 3vw, 40px);
}

.nova-shop__page-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.nova-shop__page {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-border, #d9d9d9);
    border-radius: 0 !important;
    background: #fff;
    color: inherit;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nova-shop__page:hover:not(:disabled):not(.is-active) {
    background-color: var(--color-bg-light, #ced3c7) !important;
    border-color: var(--color-cta, #1f3326) !important;
    color: var(--color-neutral-darkest, #1f3326) !important;
}

.nova-shop__page.is-active {
    background: var(--color-cta, #1f3326);
    border-color: var(--color-cta, #1f3326);
    color: #fff;
}

.nova-shop__page:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.nova-shop__page--prev,
.nova-shop__page--next {
    min-width: auto;
}

.nova-products__btn--learn-more {
    display: block !important;
}

/* =============================================================================
   CARE CATALOG — homepage [nova_products] (Arie_Homepage.html)
   ============================================================================= */

.nova-products--care {
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-ink, #202c23);
    font-family: var(--font-body, Arial, Helvetica, sans-serif);
}

/* Same 1400 wrap as the site header — parent Elementor container, not a widget hash. */
.e-con.e-parent:has(.nova-products--care) {
    max-width: 1400px !important;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: stretch !important;
    --align-items: stretch;
}

.elementor-widget:has(.nova-products--care),
.elementor-widget:has(.nova-products--care) .elementor-widget-container,
.elementor-widget:has(.nova-products--care) .elementor-shortcode {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.nova-care__filters {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 45px;
}

.nova-products--care .nova-care__filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 88px;
    padding: 16px 10px;
    background: transparent;
    border: 1px solid var(--color-line, #ced3c7);
    border-radius: 12px;
    color: var(--color-ink, #202c23);
    font-family: var(--font-ui, Arial, Helvetica, sans-serif);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nova-products--care .nova-care__filter:hover,
.nova-products--care .nova-care__filter:focus-visible {
    background: transparent;
    border-color: var(--color-forest, #1f3326);
    color: var(--color-ink, #202c23);
    box-shadow: none;
}

.nova-products--care .nova-care__filter[aria-pressed="true"],
.nova-products--care .nova-care__filter[aria-pressed="true"]:hover {
    background: var(--color-forest, #1f3326);
    border-color: var(--color-forest, #1f3326);
    color: var(--color-cream, #f6f3ea);
}

.nova-care__filter svg {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
}

.nova-care__heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 24px;
}

.nova-care__heading-title {
    margin: 0;
    font-family: var(--font-heading, Raleway, Inter, Arial, sans-serif);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-ink, #202c23);
}

.nova-care__heading-desc {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-muted, #596356);
}

.nova-care__heading-count {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--color-muted, #596356);
    white-space: nowrap;
}

.nova-care__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

.nova-care__card {
    background: var(--color-white, #fffef9);
    border: 1px solid #e4e4d9;
    border-radius: var(--radius-card, 18px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nova-care__card[hidden] {
    display: none !important;
}

.nova-care__image {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #f5f0e7;
    overflow: hidden;
}

.nova-care__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nova-care__img--placeholder {
    display: block;
    min-height: 100%;
    background: var(--color-sage, #dce1d5);
}

.nova-care__image:hover .nova-care__img {
    transform: scale(1.025);
}

.nova-care__offer {
    position: absolute;
    left: 12px;
    top: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 9px;
    font-size: 0.6875rem;
    line-height: 1.2;
    color: #394532;
    background: #f9f8ef;
    border: 1px solid #dfe3d2;
    border-radius: 25px;
}

.nova-care__info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 23px 20px 19px;
    font-family: Arial, Helvetica, sans-serif;
    font-synthesis: none;
    color: #202c23;
}

.nova-products--care .nova-care__info p,
.nova-products--care .nova-care__info h3 {
    margin: 0;
}

.nova-products--care .nova-care__kind {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 12px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    color: #596356 !important;
}

.nova-products--care .nova-care__rx {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.6875rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: #202c23 !important;
    border: 1px solid #d9ddd2;
    padding: 2px 6px;
    border-radius: 5px;
}

.nova-products--care .nova-care__title,
.nova-products--care h3.nova-care__title {
    margin: 0 !important;
    min-height: 57px;
    font-family: Raleway, Inter, Arial, sans-serif !important;
    font-size: 1.625rem !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.3 !important;
    letter-spacing: -0.025em !important;
    color: #202c23 !important;
    word-wrap: break-word;
}

.nova-products--care .nova-care__desc {
    margin: 15px 0 24px !important;
    min-height: 44px;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    color: #596356 !important;
}

.nova-products--care .nova-care__price {
    display: block;
    margin: 0 0 8px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: normal !important;
    color: #202c23 !important;
    white-space: nowrap;
}

.nova-products--care .nova-care__price strong {
    display: inline !important;
    font-family: Raleway, Inter, Arial, sans-serif !important;
    font-size: 2.1rem !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    color: #202c23 !important;
}

.nova-products--care .nova-care__price-suffix {
    display: inline !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    color: #596356 !important;
}

.nova-products--care .nova-care__price-detail {
    margin: 0 0 22px !important;
    min-height: 37px;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    color: #596356 !important;
}

.nova-products--care a.nova-care__cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding: 14px 0 0;
    border-top: 1px solid #ced3c7;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    color: #202c23 !important;
    text-decoration: none !important;
    box-shadow: none;
    background: transparent;
}

.nova-products--care a.nova-care__cta:hover,
.nova-products--care a.nova-care__cta:focus {
    color: #1f3326 !important;
}

.nova-care__cta svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nova-care__note {
    margin: 22px 0 0;
    max-width: 870px;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--color-muted, #596356);
}

@media (max-width: 1150px) {
    .nova-care__filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nova-products--care .nova-care__filter {
        min-height: 70px;
    }

    .nova-care__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .nova-care__title,
    .nova-care__desc {
        min-height: 0;
    }

    .nova-care__image {
        aspect-ratio: 1.08 / 1;
    }

    .nova-care__info {
        padding: 25px;
    }
}

@media (max-width: 700px) {
    .nova-care__filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-bottom: 32px;
    }

    .nova-products--care .nova-care__filter {
        justify-content: flex-start;
        min-height: 62px;
        padding: 15px;
        border-radius: 9px;
    }

    .nova-care__filter svg {
        width: 20px;
        height: 20px;
    }

    .nova-care__heading {
        flex-wrap: wrap;
        gap: 9px;
    }

    .nova-care__heading-title {
        font-size: 1.8rem;
    }

    .nova-care__heading-desc {
        order: 3;
        flex-basis: 100%;
    }

    .nova-care__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .nova-care__image {
        aspect-ratio: 1.13 / 1;
    }

    .nova-care__info {
        padding: 24px;
    }

    .nova-care__title,
    .nova-products--care h3.nova-care__title {
        font-size: 1.85rem !important;
    }

    .nova-care__desc {
        margin: 12px 0 20px !important;
        font-size: 0.9375rem !important;
    }

    .nova-products--care .nova-care__price strong {
        font-size: 2.4rem !important;
    }

    .nova-care__price-detail {
        min-height: 0;
        font-size: 0.8125rem !important;
    }

    .nova-products--care a.nova-care__cta {
        padding-top: 18px;
        font-size: 0.9375rem !important;
    }

    .nova-care__offer {
        left: 15px;
        top: 15px;
        font-size: 0.75rem;
    }

    .nova-care__note {
        margin-top: 20px;
    }
}
