.hcs-taxonomie-produit {
    padding: 0 0 140px;
    background: #ffffff;
}

/* =========================
   HERO CATÉGORIE
========================= */

.hcs-taxonomie-hero {
    position: relative;
    margin-bottom: 0;
}

.hcs-taxonomie-hero.has-image {
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
}

.hcs-taxonomie-hero.no-image {
    padding: 100px 0 40px;
}

.hcs-taxonomie-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hcs-taxonomie-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hcs-taxonomie-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.44) 40%,
        rgba(0, 0, 0, 0.28) 70%,
        rgba(0, 0, 0, 0.20) 100%
    );
}

.hcs-taxonomie-hero__content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 0 60px;
}

.hcs-taxonomie-hero.no-image .hcs-taxonomie-hero__content-wrap {
    padding: 0;
}

.hcs-taxonomie-hero__content {
    max-width: 860px;
}

.hcs-taxonomie-hero__label,
.hcs-taxonomie-store__label,
.hcs-taxonomie-intro__label,
.hcs-taxonomie-transition__label {
    margin: 0 0 16px;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hcs-taxonomie-hero.has-image .hcs-taxonomie-hero__label,
.hcs-taxonomie-hero.has-image h1,
.hcs-taxonomie-hero.has-image .hcs-taxonomie-hero__intro,
.hcs-taxonomie-hero.has-image .hcs-taxonomie-hero__text,
.hcs-taxonomie-hero.has-image .hcs-taxonomie-hero__meta {
    color: #ffffff;
}

.hcs-taxonomie-hero.no-image .hcs-taxonomie-hero__label {
    color: #6E6A64;
}

.hcs-taxonomie-hero h1,
.hcs-taxonomie-store h2,
.hcs-taxonomie-transition h2 {
    margin: 0 0 24px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1.02;
}

.hcs-taxonomie-hero.no-image h1,
.hcs-taxonomie-store h2,
.hcs-taxonomie-transition h2 {
    color: #1F1F1F;
}

.hcs-taxonomie-hero__intro {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 520px;
}

.hcs-taxonomie-hero__text {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.8;
}

.hcs-taxonomie-hero__meta {
    margin: 24px 0 0;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
}

.hcs-taxonomie-hero.no-image .hcs-taxonomie-hero__text,
.hcs-taxonomie-store p,
.hcs-taxonomie-empty p,
.hcs-taxonomie-intro__text,
.hcs-taxonomie-transition p {
    color: #4F4F4F;
}

/* =========================
   BREADCRUMB
========================= */

.hcs-taxonomie-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 13px;
}

.hcs-taxonomie-hero.has-image .hcs-taxonomie-breadcrumb {
    color: rgba(255, 255, 255, 0.78);
}

.hcs-taxonomie-hero.no-image .hcs-taxonomie-breadcrumb {
    color: #6E6A64;
}

.hcs-taxonomie-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.hcs-taxonomie-breadcrumb a:hover {
    color: inherit;
    opacity: 1;
}

.hcs-taxonomie-hero.has-image .hcs-taxonomie-breadcrumb a:hover {
    color: #ffffff;
}

.hcs-taxonomie-hero.no-image .hcs-taxonomie-breadcrumb a:hover {
    color: #1F1F1F;
}

/* =========================
   NAVIGATION CATÉGORIES
========================= */

.hcs-taxonomie-nav {
    padding: 28px 0 50px;
    border-bottom: 1px solid #ECE6DD;
}

.hcs-taxonomie-nav__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    align-items: center;
}

.hcs-taxonomie-nav__link {
    position: relative;
    font-size: 15px;
    color: #1F1F1F;
    text-decoration: none;
    padding-bottom: 4px;
}

.hcs-taxonomie-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #D9D1C7;
    transition: background 0.3s ease;
}

.hcs-taxonomie-nav__link:hover::after,
.hcs-taxonomie-nav__link.is-active::after {
    background: #A38C6D;
}

.hcs-taxonomie-nav__link.is-active {
    color: #A38C6D;
}

/* =========================
   INTRO ÉDITORIALE
========================= */

.hcs-taxonomie-intro {
    padding: 60px 0 70px;
}

.hcs-taxonomie-intro__inner {
    max-width: 760px;
}

.hcs-taxonomie-intro__label {
    color: #6E6A64;
}

.hcs-taxonomie-intro__text {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
}

/* =========================
   GRILLE PRODUITS
========================= */

.hcs-taxonomie-grid-section {
    padding: 0 0 120px;
}

.hcs-taxonomie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #ffffff;
}

.hcs-taxonomie-card {
    position: relative;
    background: #ffffff;
}

.hcs-taxonomie-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hcs-taxonomie-card__image {
    position: relative;
    overflow: hidden;
    min-height: 38vw;
    max-height: 760px;
    background: #F7F4EF;
}

.hcs-taxonomie-card__image::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.35s ease;
}

.hcs-taxonomie-card:hover .hcs-taxonomie-card__image::after {
    opacity: 0.6;
}

.hcs-taxonomie-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.9s ease, filter 0.5s ease;
}

.hcs-taxonomie-card__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #F7F4EF 0%, #ECE6DD 100%);
}

.hcs-taxonomie-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.22) 38%,
        rgba(0, 0, 0, 0.05) 68%,
        rgba(0, 0, 0, 0.02) 100%
    );
    transition: background 0.35s ease;
}

.hcs-taxonomie-card__content {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hcs-taxonomie-card__title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(30px, 3vw, 52px);
    line-height: 1.02;
    font-weight: 500;
    color: #ffffff;
    max-width: 520px;
}

.hcs-taxonomie-card__excerpt {
    margin: 14px 0 0;
    max-width: 460px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hcs-taxonomie-card__cta {
    margin-top: 16px;
    display: inline-block;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 10px 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.hcs-taxonomie-card:hover .hcs-taxonomie-card__image img {
    transform: scale(1.05);
    filter: saturate(1.05);
}

.hcs-taxonomie-card:hover .hcs-taxonomie-card__overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.26) 40%,
        rgba(0, 0, 0, 0.07) 72%,
        rgba(0, 0, 0, 0.03) 100%
    );
}

.hcs-taxonomie-card:hover .hcs-taxonomie-card__excerpt,
.hcs-taxonomie-card:hover .hcs-taxonomie-card__cta {
    opacity: 1;
    transform: translateY(0);
}

.hcs-taxonomie-card:hover .hcs-taxonomie-card__cta {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.34);
}

/* =========================
   ÉTAT VIDE
========================= */

.hcs-taxonomie-empty {
    padding: 0 0 120px;
}

.hcs-taxonomie-empty p {
    font-size: 18px;
    line-height: 1.7;
}

/* =========================
   TRANSITION
========================= */

.hcs-taxonomie-transition {
    padding: 90px 0 100px;
    border-top: 1px solid #ECE6DD;
}

.hcs-taxonomie-transition__inner {
    max-width: 760px;
}

.hcs-taxonomie-transition__label {
    color: #6E6A64;
}

.hcs-taxonomie-transition p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
}

.hcs-taxonomie-back-link {
    margin: 40px 0 0;
}

.hcs-taxonomie-back-link a {
    color: #A38C6D;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.hcs-taxonomie-back-link a:hover {
    border-color: #A38C6D;
}

/* =========================
   BLOC MAGASIN
========================= */

.hcs-taxonomie-store {
    margin-top: 20px;
    border-top: 1px solid #ECE6DD;
    padding: 110px 60px;
    background: #F7F4EF;
}

.hcs-taxonomie-store__inner {
    max-width: 760px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .hcs-taxonomie-grid {
        grid-template-columns: 1fr;
    }

    .hcs-taxonomie-card__image {
        min-height: 58vw;
    }
}

@media (max-width: 767px) {
    .hcs-taxonomie-produit {
        padding: 0 0 100px;
    }

    .hcs-taxonomie-hero.has-image {
        min-height: 65vh;
    }

    .hcs-taxonomie-hero.no-image {
        padding: 70px 0 30px;
    }

    .hcs-taxonomie-hero__content-wrap {
        padding: 0 0 36px;
    }

    .hcs-taxonomie-store h2,
    .hcs-taxonomie-transition h2 {
        font-size: 36px;
    }

    .hcs-taxonomie-card__image {
        min-height: 78vw;
    }

    .hcs-taxonomie-card__content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .hcs-taxonomie-card__excerpt {
        opacity: 1;
        transform: none;
        font-size: 14px;
    }

    .hcs-taxonomie-card__cta {
        opacity: 1;
        transform: none;
    }

    .hcs-taxonomie-store {
        padding: 70px 24px;
    }

    .hcs-taxonomie-nav {
        padding: 24px 0 50px;
    }

    .hcs-taxonomie-intro {
        padding: 45px 0 55px;
    }

    .hcs-taxonomie-transition {
        padding: 70px 0 80px;
    }
}