/* =========================================================
   XXLSIZE - HOMEPAGE REDESIGN
   Loaded ONLY by index.php, after responsive.css.
   Every rule is scoped under body.home-page, so no other
   page, and not the header, navigation or footer, is touched.
   New markup uses the hm- prefix so nothing in style.css
   can leak into the redesigned sections.
========================================================= */

.home-page {
    --hm-ink: #0a0a0a;
    --hm-charcoal: #1a1a1a;
    --hm-mute: #666666;
    --hm-soft: #f6f6f6;
    --hm-line: #e8e8e8;
}

.home-page .hm-section,
.home-page .hm-benefits,
.home-page .hm-editorial {
    font-family: 'Manrope', sans-serif;
    color: var(--hm-ink);
}

.home-page .hm-section {
    padding: clamp(52px, 7vw, 96px) 0;
}

.home-page .hm-section--flush-top {
    padding-top: 0;
}

.home-page .hm-section a:focus-visible,
.home-page .hm-benefits a:focus-visible,
.home-page .hm-editorial a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.home-page .hm-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(26px, 4vw, 46px);
}

.home-page .hm-head__eyebrow {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hm-mute);
}

.home-page .hm-head h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--hm-ink);
}

.home-page .hm-head p {
    margin: 12px 0 0;
    max-width: 46ch;
    font-size: 15px;
    line-height: 1.6;
    color: var(--hm-mute);
}

.home-page .hm-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    color: var(--hm-ink);
    transition: gap .25s ease, opacity .25s ease;
}

.home-page .hm-link:hover {
    gap: 12px;
    opacity: .75;
    color: var(--hm-ink);
}

.home-page .hm-link--light,
.home-page .hm-link--light:hover {
    color: #fff;
}


/* =========================================================
   HERO (existing markup and Swiper kept; type + overlay only)
========================================================= */

.home-page .hero .overlay {
    background: rgba(10, 10, 10, .38);
}

.home-page .hero .swiper-slide img {
    object-fit: cover;
}

.home-page .hero .hero-content h1 {
    font-size: clamp(2rem, 5.2vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.02em;
    text-transform: uppercase;
    text-wrap: balance;
}

.home-page .hero .hero-content p {
    margin: 14px 0 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    opacity: .92;
}

.home-page .hero .hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 38px;
    background: #fff;
    color: var(--hm-ink);
    border: 1px solid #fff;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.home-page .hero .hero-btn:hover {
    background: transparent;
    color: #fff;
}

.home-page .hero .swiper-pagination-bullet {
    background: #fff;
    opacity: .5;
}

.home-page .hero .swiper-pagination-bullet-active {
    opacity: 1;
}


/* =========================================================
   BENEFITS STRIP
========================================================= */

.home-page .hm-benefits {
    background: #fff;
    border-top: 1px solid var(--hm-line);
    border-bottom: 1px solid var(--hm-line);
}

.home-page .hm-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .hm-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 30px 20px;
    border-left: 1px solid var(--hm-line);
    transition: background .3s ease;
}

.home-page .hm-benefit:first-child {
    border-left: 0;
}

.home-page .hm-benefit:hover {
    background: var(--hm-soft);
}

.home-page .hm-benefit__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--hm-ink);
    border-radius: 50%;
    font-size: 17px;
    color: var(--hm-ink);
    transition: background .3s ease, color .3s ease;
}

.home-page .hm-benefit:hover .hm-benefit__icon {
    background: var(--hm-ink);
    color: #fff;
}

.home-page .hm-benefit__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--hm-ink);
}

.home-page .hm-benefit__text {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--hm-mute);
}


/* =========================================================
   SHOP BY CATEGORY
========================================================= */

.home-page .hm-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-page .hm-cat {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e9e9e9;
    color: #fff;
    text-decoration: none;
}

.home-page .hm-cat img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s cubic-bezier(.2, .6, .2, 1);
}

.home-page .hm-cat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, .3);
    transition: background .4s ease;
}

.home-page .hm-cat:hover img {
    transform: scale(1.05);
}

.home-page .hm-cat:hover::after {
    background: rgba(10, 10, 10, .5);
}

.home-page .hm-cat__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: clamp(16px, 2vw, 28px);
}

.home-page .hm-cat__title {
    margin: 0 0 10px;
    font-size: clamp(1.05rem, 1.6vw, 1.45rem);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}

.home-page .hm-cat__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .6);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
}

.home-page .hm-cat__cta i {
    font-size: 11px;
    transition: transform .25s ease;
}

.home-page .hm-cat:hover .hm-cat__cta i {
    transform: translateX(4px);
}


/* =========================================================
   NEW ARRIVALS
========================================================= */

.home-page .hm-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 20px;
}

.home-page .hm-product {
    display: block;
    color: var(--hm-ink);
    text-decoration: none;
}

.home-page .hm-product:hover {
    color: var(--hm-ink);
}

/* Image box. .product-image / .wishlist class names are kept because
   the existing wishlist styles and JS in index.php depend on them. */

.home-page .hm-product .product-image {
    position: relative;
    height: auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f1f1f1;
    border-radius: 0;
}

.home-page .hm-product .product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}

.home-page .hm-product:hover .product-image img {
    transform: scale(1.04);
}

/* Position and size only. Colours, hover and active (red heart) states
   stay in the existing <style> block in index.php. */

.home-page .hm-product .product-image .wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: auto;
    left: auto;
    z-index: 2;
    width: 38px;
    height: 38px;
    font-size: 15px;
    line-height: 1;
}

.home-page .hm-product__info {
    padding-top: 14px;
}

.home-page .hm-product__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--hm-ink);
}

.home-page .hm-product__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
}

.home-page .hm-product__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--hm-ink);
}

.home-page .hm-product__was {
    font-size: 13px;
    color: #8a8a8a;
    text-decoration: line-through;
}


/* =========================================================
   PROMO BANNER (existing markup kept; type + button only)
========================================================= */

.home-page .promo-banner .promo-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.home-page .promo-banner h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.home-page .promo-banner p {
    line-height: 1.7;
}

.home-page .promo-banner .promo-btn {
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .25s ease, color .25s ease;
}


/* =========================================================
   EDITORIAL: THE ART OF EVERYDAY STYLE
========================================================= */

.home-page .hm-editorial {
    background: var(--hm-ink);
}

.home-page .hm-editorial__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    min-height: clamp(520px, 52vw, 720px);
}

.home-page .hm-editorial__media {
    position: relative;
    overflow: hidden;
    background: var(--hm-charcoal);
}

.home-page .hm-editorial__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

.home-page .hm-editorial__panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(32px, 6vw, 96px);
    color: #fff;
}

.home-page .hm-editorial__panel h2 {
    margin: 0 0 22px;
    font-size: clamp(2.2rem, 4.4vw, 4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.025em;
    text-transform: uppercase;
    color: #fff;
}

.home-page .hm-editorial__panel p {
    margin: 0 0 36px;
    max-width: 40ch;
    font-size: 16px;
    line-height: 1.7;
    color: #c9c9c9;
}

.home-page .hm-editorial__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
}

.home-page .hm-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    background: #fff;
    color: var(--hm-ink);
    border: 1px solid #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.home-page .hm-btn:hover {
    background: transparent;
    color: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .home-page .hm-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .hm-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 16px;
    }

}

@media (max-width: 767px) {

    .home-page .hm-benefit {
        flex-direction: column;
        gap: 10px;
        padding: 22px 6px;
        text-align: center;
    }

    .home-page .hm-benefit__icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .home-page .hm-benefit__title {
        font-size: 12.5px;
    }

    .home-page .hm-benefit__text {
        font-size: 11.5px;
    }

    .home-page .hm-editorial__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-page .hm-editorial__media {
        aspect-ratio: 4 / 5;
    }

    .home-page .hm-editorial__panel {
        padding: 36px 20px 48px;
    }

    .home-page .hm-editorial__panel p {
        margin-bottom: 28px;
    }

}

@media (max-width: 575px) {

    .home-page .hm-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .home-page .hm-cat-grid {
        gap: 10px;
    }

    .home-page .hm-cat__cta {
        font-size: 11px;
    }

    .home-page .hm-product-grid {
        gap: 28px 12px;
    }

    .home-page .hm-product__name {
        font-size: 13px;
    }

    .home-page .hm-product__price {
        font-size: 14px;
    }

    .home-page .hm-product .product-image .wishlist {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .home-page .hm-cat img,
    .home-page .hm-cat__cta i,
    .home-page .hm-product .product-image img,
    .home-page .hm-link,
    .home-page .hm-benefit,
    .home-page .hm-benefit__icon,
    .home-page .hm-btn {
        transition: none;
    }

    .home-page .hm-cat:hover img,
    .home-page .hm-product:hover .product-image img {
        transform: none;
    }

}
