
/* ==========================================================
   MAHERA JEWELS — STOREFRONT HOME
   Uses the existing centralized :root theme variables.
   ========================================================== */

.mj-home {
    width: 100%;
    min-width: 0;
    overflow: clip;
    background: var(--mj-background);
    color: var(--mj-text);
    font-family: var(--mj-font-body);
}

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

.mj-home img,
.mj-home video {
    display: block;
    max-width: 100%;
}

.mj-home a {
    -webkit-tap-highlight-color: transparent;
}

.mj-section {
    width: 100%;
    max-width: var(--mj-content-width);
    margin-inline: auto;
    padding-inline: clamp(16px, 4.2vw, 68px);
}

.mj-section + .mj-section {
    margin-top: var(--mj-section-gap);
}

.mj-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 24px;
}

.mj-section-heading > div {
    min-width: 0;
}

.mj-section-heading h1,
.mj-section-heading h2 {
    margin: 0;
    color: var(--mj-text);
    font-family: var(--mj-font-display);
    font-size: clamp(25px, 2.2vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.mj-kicker {
    margin: 0 0 10px;
    color: var(--mj-gold-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.5;
    text-transform: uppercase;
}

.mj-view-all {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    color: var(--mj-primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--mj-transition);
}

.mj-view-all:hover {
    color: var(--mj-gold-deep);
}

.mj-empty-state {
    padding: 24px;
    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius-md);
    background: var(--mj-surface);
    color: var(--mj-muted);
}

/* ---------------- HERO BANNERS ---------------- */

.mj-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--mj-surface);
}

.mj-hero-track {
    position: relative;
    width: 100%;
}

.mj-hero-slide {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1440 / 520;
    overflow: hidden;
    background: var(--mj-surface-strong);
    color: var(--mj-text);
    text-decoration: none;
}

.mj-hero-slide[hidden] {
    display: none !important;
}

.mj-hero-slide picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.mj-hero-slide picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mj-hero-copy {
    position: absolute;
    top: 50%;
    right: 6%;
    display: flex;
    width: min(43%, 520px);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transform: translateY(-50%);
}

.mj-hero-eyebrow {
    color: var(--mj-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mj-hero-title {
    color: var(--mj-primary);
    font-family: var(--mj-font-display);
    font-size: clamp(38px, 6vw, 96px);
    font-weight: 700;
    line-height: .98;
}

.mj-hero-subtitle {
    color: var(--mj-text);
    font-size: clamp(13px, 1.4vw, 21px);
    font-weight: 600;
    line-height: 1.5;
}

.mj-hero-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--mj-radius-sm);
    background: var(--mj-primary);
    color: var(--mj-hero-button-text);
    font-size: 14px;
    font-weight: 700;
}

.mj-hero-dots {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.mj-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: var(--mj-dot-inactive);
    cursor: pointer;
    transition: width var(--mj-transition), background var(--mj-transition);
}

.mj-hero-dot.is-active {
    width: 24px;
    background: var(--mj-primary);
}

/* ---------------- CATEGORY CARDS ---------------- */

.mj-home .mj-categories {
    min-width: 0;
    padding-top: 28px;
}

.mj-home .mj-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.mj-home .mj-category-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 210px;
    align-items: center;
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius-md);
    color: var(--mj-text);
    text-decoration: none;
    isolation: isolate;
    transition: transform var(--mj-transition), box-shadow var(--mj-transition);
}

.mj-home .mj-category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mj-shadow-md);
}

.mj-home .mj-category-card:focus-visible {
    outline: 2px solid var(--mj-primary);
    outline-offset: 3px;
}

.mj-home .mj-category-tone-1 {
    background: var(--mj-category-1);
    border-color: var(--mj-category-1-border);
}

.mj-home .mj-category-tone-2 {
    background: var(--mj-category-2);
    border-color: var(--mj-category-2-border);
}

.mj-home .mj-category-tone-3 {
    background: var(--mj-category-3);
    border-color: var(--mj-category-3-border);
}

.mj-home .mj-category-tone-4 {
    background: var(--mj-category-4);
    border-color: var(--mj-category-4-border);
}

.mj-home .mj-category-copy {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.mj-home .mj-category-card:has(.mj-category-image) .mj-category-copy {
    width: 62%;
    padding-right: 5px;
}

.mj-home .mj-category-copy > strong {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: var(--mj-text);
    font-family: var(--mj-font-display);
    font-size: clamp(17px, 1.4vw, 23px);
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mj-home .mj-category-copy > span {
    color: var(--mj-muted);
    font-size: 13px;
    line-height: 1.5;
}

.mj-home .mj-category-copy > em {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    color: var(--mj-primary);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

.mj-home .mj-category-copy > em span {
    transition: transform var(--mj-transition);
}

.mj-home .mj-category-card:hover .mj-category-copy > em span {
    transform: translateX(4px);
}

.mj-home .mj-category-image {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 1;
    width: 76px;
    height: 88px;
    overflow: hidden;
    transform: translateY(-50%);
    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius-sm);
    background: var(--mj-category-image-background);
}

.mj-home .mj-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 350ms ease;
}

.mj-home .mj-category-card:hover .mj-category-image img {
    transform: scale(1.05);
}

/* Mobile carousel dots */
.mj-carousel-dots {
    display: none;
}

/* ---------------- PRODUCT CARDS ---------------- */

.mj-home .product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.mj-home .product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius-lg);
    background: var(--mj-white);
    box-shadow: var(--mj-shadow-sm);
    transition: transform var(--mj-transition), box-shadow var(--mj-transition);
}

.mj-home .product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mj-shadow-md);
}

.mj-home .product-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--mj-product-image-background);
    text-decoration: none;
}

.mj-home .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.mj-home .product-card:hover .product-card-image img {
    transform: scale(1.045);
}

.mj-home .product-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: var(--mj-product-image-background);
    color: var(--mj-muted);
    font-family: var(--mj-font-display);
}

.mj-home .product-image-placeholder[hidden] {
    display: none !important;
}

.mj-home .product-top-selling-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 99px;
    background: var(--mj-primary);
    color: var(--mj-white);
    font-size: 10px;
    font-weight: 700;
}

.mj-home .product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 16px;
}

.mj-home .product-brand {
    color: var(--mj-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mj-home .product-name {
    display: -webkit-box;
    width: 100%;
    min-height: 2.7em;
    overflow: hidden;
    color: var(--mj-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mj-home .product-price {
    margin: 2px 0 4px;
    color: var(--mj-primary);
    font-size: 17px;
    font-weight: 700;
}

.mj-home .product-cta {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 14px;
    border-radius: 99px;
    background: var(--mj-primary);
    color: var(--mj-white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--mj-transition);
}

.mj-home .product-cta:hover {
    background: var(--mj-primary-deep);
}

/* ---------------- PROMOTIONAL BANNERS ---------------- */

.mj-home .mj-promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mj-home .mj-promo-banner {
    display: block;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 740 / 330;
    border-radius: var(--mj-radius-lg);
    background: var(--mj-surface);
}

.mj-home .mj-promo-banner picture {
    display: block;
    width: 100%;
    height: 100%;
}

.mj-home .mj-promo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 350ms ease;
}

.mj-home .mj-promo-banner:hover img {
    transform: scale(1.025);
}

/* ---------------- INSTAGRAM / REELS ---------------- */

.mj-home .shop-feed-section {
    min-width: 0;
}

.mj-feed-heading {
    margin-bottom: 20px;
}

.mj-instagram-note {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid var(--mj-border);
    border-radius: 99px;
    color: var(--mj-primary);
    font-size: 12px;
    font-weight: 600;
}

.shop-feed-section .feed-carousel-shell {
    position: relative;
    width: 100%;
    max-width: 1380px;
    margin-inline: auto;
    padding: 20px 44px 30px;
    overflow: hidden;
}

.shop-feed-section .feed-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1vw, 16px);
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.shop-feed-section .feed-card {
    position: relative;
    display: flex;
    flex: 0 0 170px;
    width: 170px;
    max-width: 170px;
    min-width: 0;
    flex-direction: column;
    align-self: center;
    overflow: hidden;
    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius-md);
    background: var(--mj-white);
    box-shadow: var(--mj-shadow-sm);
    transform: scale(.88);
    transform-origin: center;
    transition: transform var(--mj-transition), box-shadow var(--mj-transition);
}

.shop-feed-section .feed-card.is-feed-hidden {
    display: none !important;
}

.shop-feed-section .feed-card[data-feed-offset="-2"],
.shop-feed-section .feed-card[data-feed-offset="2"] {
    transform: scale(.82);
}

.shop-feed-section .feed-card[data-feed-offset="-1"],
.shop-feed-section .feed-card[data-feed-offset="1"] {
    transform: scale(.94);
}

.shop-feed-section .feed-card.is-feed-active {
    z-index: 2;
    transform: scale(1.04);
    box-shadow: var(--mj-shadow-md);
}

.shop-feed-section .feed-media-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--mj-surface-strong);
}

.shop-feed-section .feed-media-link img,
.shop-feed-section .feed-media-link video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-feed-section .feed-play-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--mj-primary);
    color: var(--mj-white);
    pointer-events: none;
}

.shop-feed-section .feed-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
}

.shop-feed-section .feed-platform-label {
    color: var(--mj-gold-deep);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.shop-feed-section .feed-card-copy p {
    display: -webkit-box;
    width: 100%;
    min-height: 3em;
    margin: 0;
    overflow: hidden;
    color: var(--mj-muted);
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.shop-feed-section .feed-card-copy > a {
    margin-top: auto;
    color: var(--mj-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.shop-feed-section .feed-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--mj-primary);
    color: var(--mj-white);
    font-size: 25px;
    cursor: pointer;
    transform: translateY(-50%);
}

.shop-feed-section .feed-arrow-prev {
    left: 0;
}

.shop-feed-section .feed-arrow-next {
    right: 0;
}

.shop-feed-section .feed-arrow:disabled {
    opacity: .4;
    cursor: default;
}

.mj-reel-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: var(--mj-surface);
    color: var(--mj-muted);
    font-family: var(--mj-font-display);
}

.mj-instagram-empty {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius-md);
    background: var(--mj-surface);
}

.mj-instagram-empty > span {
    color: var(--mj-primary);
    font-size: 24px;
}

.mj-instagram-empty strong {
    color: var(--mj-text);
}

.mj-instagram-empty p {
    margin: 8px 0 0;
    color: var(--mj-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* ---------------- TRUST STRIP ---------------- */

.mj-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: var(--mj-content-width);
    margin: var(--mj-section-gap) auto 0;
    padding: 0 clamp(16px, 4.2vw, 68px) 40px;
}

.mj-trust-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.mj-trust-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: var(--mj-surface);
    color: var(--mj-primary);
    font-size: 22px;
}

.mj-trust-item strong {
    color: var(--mj-text);
    font-size: 13px;
}

.mj-trust-item > span:last-child {
    color: var(--mj-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* ---------------- TABLET ---------------- */

@media (min-width: 601px) and (max-width: 1024px) {
    .mj-home .mj-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .mj-home .mj-category-card {
        min-height: 190px;
    }

    .mj-home .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .shop-feed-section .feed-carousel-shell {
        padding-inline: 38px;
    }

    .shop-feed-section .feed-card {
        flex-basis: 145px;
        width: 145px;
        max-width: 145px;
    }

    .mj-trust-strip {
        gap: 12px;
    }
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 600px) {
    .mj-section {
        padding-inline: 12px;
    }

    .mj-section + .mj-section {
        margin-top: 28px;
    }

    .mj-section-heading {
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
    }

    .mj-section-heading h1,
    .mj-section-heading h2 {
        font-size: 23px;
    }

    .mj-kicker {
        margin-bottom: 7px;
        font-size: 9px;
        letter-spacing: .12em;
    }

    .mj-view-all {
        gap: 4px;
        font-size: 11px;
    }

    /* Banner: use the DB mobile image if available */
    .mj-hero-slide {
        aspect-ratio: 2 / 1;
    }

    .mj-hero-copy {
        right: 3%;
        width: 46%;
        gap: 6px;
    }

    .mj-hero-title {
        font-size: clamp(20px, 6.5vw, 30px);
        line-height: 1.05;
    }

    .mj-hero-eyebrow {
        font-size: 8px;
        letter-spacing: .07em;
    }

    .mj-hero-subtitle {
        font-size: 10px;
        line-height: 1.35;
    }

    .mj-hero-button {
        min-height: 28px;
        padding: 6px 10px;
        font-size: 10px;
    }

    .mj-hero-dots {
        bottom: 8px;
        gap: 5px;
    }

    .mj-hero-dot {
        width: 6px;
        height: 6px;
    }

    .mj-hero-dot.is-active {
        width: 17px;
    }

    /* Categories: one full card per slide */
    .mj-home .mj-categories {
        padding-top: 20px;
    }

    .mj-home .mj-category-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .mj-home .mj-category-grid::-webkit-scrollbar {
        display: none;
    }

    .mj-home .mj-category-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        min-height: 150px;
        padding: 14px;
        border-radius: var(--mj-radius-md);
        scroll-snap-align: start;
    }

    .mj-home .mj-category-card:has(.mj-category-image) .mj-category-copy {
        width: 62%;
        gap: 7px;
        padding-right: 5px;
    }

    .mj-home .mj-category-copy > strong {
        font-size: 18px;
        line-height: 1.3;
    }

    .mj-home .mj-category-copy > span {
        font-size: 12px;
    }

    .mj-home .mj-category-copy > em {
        margin-top: 3px;
        font-size: 12px;
    }

    .mj-home .mj-category-image {
        right: 12px;
        width: 88px;
        height: 100px;
    }

    .mj-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 7px;
        margin-top: 12px;
    }

    .mj-carousel-dots button {
        width: 7px;
        height: 7px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--mj-dot-inactive);
    }

    .mj-carousel-dots button.is-active {
        width: 20px;
        border-radius: 99px;
        background: var(--mj-primary);
    }

    /* Products: one horizontal row, swipe to explore */
    .mj-home .product-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 12px;
        scrollbar-width: none;
        padding: 2px 2px 12px;
        -webkit-overflow-scrolling: touch;
    }

    .mj-home .product-grid::-webkit-scrollbar {
        display: none;
    }

    .mj-home .product-grid > .product-card {
        flex: 0 0 72%;
        width: 72%;
        min-width: 0;
        scroll-snap-align: start;
    }

    .mj-home .product-card-body {
        gap: 7px;
        padding: 11px;
    }

    .mj-home .product-brand {
        font-size: 9px;
    }

    .mj-home .product-name {
        font-size: 12px;
    }

    .mj-home .product-price {
        font-size: 15px;
    }

    .mj-home .product-cta {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .mj-home .product-top-selling-badge {
        top: 8px;
        left: 8px;
        padding: 5px 7px;
        font-size: 9px;
    }

    /* Promotional artwork remains uncropped when possible */
    .mj-home .mj-promo-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .mj-home .mj-promo-banner {
        aspect-ratio: 740 / 330;
        border-radius: var(--mj-radius-md);
    }

    .mj-home .mj-promo-banner img {
        object-fit: contain;
    }

    /* Reels: centre-focused carousel */
    .shop-feed-section .feed-carousel-shell {
        padding: 14px 25px 24px;
    }

    .shop-feed-section .feed-grid {
        justify-content: center;
        gap: 5px;
    }

    .shop-feed-section .feed-card {
        flex-basis: 92px;
        width: 92px;
        max-width: 92px;
        border-radius: var(--mj-radius-sm);
    }

    .shop-feed-section .feed-card[data-feed-offset="-2"],
    .shop-feed-section .feed-card[data-feed-offset="2"] {
        flex-basis: 58px;
        width: 58px;
        max-width: 58px;
        transform: scale(.82);
    }

    .shop-feed-section .feed-card[data-feed-offset="-1"],
    .shop-feed-section .feed-card[data-feed-offset="1"] {
        flex-basis: 76px;
        width: 76px;
        max-width: 76px;
        transform: scale(.92);
    }

    .shop-feed-section .feed-card.is-feed-active {
        flex-basis: 106px;
        width: 106px;
        max-width: 106px;
        transform: scale(1.02);
    }

    .shop-feed-section .feed-card-copy {
        gap: 5px;
        padding: 7px;
    }

    .shop-feed-section .feed-platform-label {
        font-size: 8px;
    }

    .shop-feed-section .feed-card-copy p {
        min-height: 3em;
        font-size: 10px;
    }

    .shop-feed-section .feed-card-copy > a {
        font-size: 10px;
    }

    .shop-feed-section .feed-arrow {
        width: 28px;
        height: 28px;
        font-size: 19px;
    }

    .mj-instagram-note {
        padding: 7px 9px;
        font-size: 10px;
    }

    .mj-trust-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        margin-top: 28px;
        padding: 0 12px 24px;
    }

    .mj-trust-item {
        gap: 5px;
    }

    .mj-trust-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .mj-trust-item strong {
        font-size: 10px;
    }

    .mj-trust-item > span:last-child {
        font-size: 9px;
    }

    .mj-instagram-empty {
        padding: 16px;
    }
}

/* Small phones */
@media (max-width: 360px) {
    .mj-home .mj-category-card {
        min-height: 138px;
        padding: 11px;
    }

    .mj-home .mj-category-card:has(.mj-category-image) .mj-category-copy {
        width: 64%;
    }

    .mj-home .mj-category-copy > strong {
        font-size: 16px;
    }

    .mj-home .mj-category-image {
        right: 8px;
        width: 72px;
        height: 84px;
    }

    .mj-home .product-grid > .product-card {
        flex-basis: 80%;
        width: 80%;
    }

    .shop-feed-section .feed-card[data-feed-offset="-2"],
    .shop-feed-section .feed-card[data-feed-offset="2"] {
        display: none !important;
    }

    .mj-trust-strip {
        gap: 5px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .mj-home *,
    .mj-home *::before,
    .mj-home *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
/* Product image hover swap — desktop only */
@media (hover: hover) and (pointer: fine) {
    .mj-home .product-card-image {
        position: relative;
        overflow: hidden;
    }

    .mj-home .product-card-image .product-image-primary,
    .mj-home .product-card-image .product-image-hover {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .mj-home .product-card-image .product-image-primary {
        opacity: 1;
        z-index: 1;
    }

    .mj-home .product-card-image .product-image-hover {
        opacity: 0;
        z-index: 2;
    }

    .mj-home .product-card-image.has-hover-image:hover .product-image-primary {
        opacity: 0;
    }

    .mj-home .product-card-image.has-hover-image:hover .product-image-hover {
        opacity: 1;
    }
}

/* Mobile/tablet touch devices: keep the primary image */
@media (hover: none), (pointer: coarse) {
    .mj-home .product-card-image .product-image-hover {
        display: none;
    }

    .mj-home .product-card-image .product-image-primary {
        opacity: 1;
    }
}