/*
 * EPI Store Maroc — page d'accueil catalogue.
 * Design original inspiré des usages e-commerce B2B du secteur EPI.
 */

/* Base et utilitaires
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.epi-main,
.epi-home,
.epi-home * {
    box-sizing: border-box;
}

.epi-home {
    background: #f7f9fc;
    color: var(--epi-text);
    overflow: hidden;
}

.epi-home-shell {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
}

.epi-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.epi-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.epi-button--primary {
    background: var(--epi-orange);
    color: #111827;
    box-shadow: 0 10px 24px rgba(245, 158, 11, .23);
}

.epi-button--primary:hover {
    background: #ffb21f;
    color: #111827;
    box-shadow: 0 13px 28px rgba(245, 158, 11, .3);
}

.epi-button--ghost {
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.epi-button--ghost:hover {
    background: #fff;
    color: var(--epi-blue-dark);
}

.epi-button--light {
    background: #fff;
    color: var(--epi-blue-dark);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

/* Hero catalogue
   ========================================================================== */
.epi-home-intro {
    padding: 22px 0 0;
    background:
        radial-gradient(circle at 84% 0, rgba(18, 184, 232, .1), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f5f8fc 100%);
}

.epi-home-intro__layout {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.epi-category-panel {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(11, 31, 51, .08);
    overflow: hidden;
}

.epi-category-panel__title {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 14px 17px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(135deg, #0b3153 0%, var(--epi-blue-pro) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
}

.epi-category-panel__title-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
}

.epi-category-panel__chevron {
    display: none;
    margin-left: auto;
    font-size: 22px;
    line-height: 1;
}

.epi-category-panel__nav ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.epi-category-panel__nav li {
    margin: 0;
    padding: 0;
}

.epi-category-panel__nav li + li {
    border-top: 1px solid #edf1f5;
}

.epi-category-panel__nav li a {
    min-height: 43px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    color: #243447;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, padding-left .18s ease;
}

.epi-category-panel__nav li a:hover {
    padding-left: 18px;
    background: #f0f7ff;
    color: var(--epi-blue-pro);
}

.epi-category-panel__icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e9f5ff;
    color: #087ab3;
    font-size: 10px;
    font-weight: 900;
}

.epi-category-panel__arrow {
    color: #7e8d9d;
    font-size: 20px;
    text-align: right;
}

.epi-category-panel__all {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #dde6ef;
    background: #f8fafc;
    color: var(--epi-blue-dark);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.epi-home-slider {
    min-width: 0;
    min-height: 540px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--epi-blue-dark);
    box-shadow: 0 18px 40px rgba(11, 31, 51, .18);
}

.epi-home-slider__track {
    position: relative;
    min-height: 476px;
}

.epi-home-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    align-items: center;
    gap: 20px;
    padding: 54px 58px 74px;
    visibility: hidden;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity .5s ease, transform .5s ease, visibility .5s;
}

.epi-home-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(5, 24, 42, .98) 0%, rgba(11, 49, 83, .94) 54%, rgba(18, 184, 232, .62) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 12px);
}

.epi-home-slide:nth-child(2)::before {
    background:
        linear-gradient(112deg, rgba(7, 29, 50, .99) 0%, rgba(10, 73, 111, .94) 60%, rgba(21, 94, 239, .8) 100%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px);
}

.epi-home-slide:nth-child(3)::before {
    background:
        linear-gradient(110deg, rgba(11, 31, 51, .99) 0%, rgba(31, 52, 74, .96) 58%, rgba(245, 158, 11, .78) 120%),
        radial-gradient(circle at 90% 30%, rgba(245, 158, 11, .35), transparent 34%);
}

.epi-home-slide.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.epi-home-slide__content,
.epi-home-slide__visual {
    position: relative;
    z-index: 2;
}

.epi-home-slide__content {
    max-width: 650px;
}

.epi-home-slide__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #7edcff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.epi-home-slide__eyebrow::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 4px;
    background: var(--epi-orange);
}

.epi-home-slide h1,
.epi-home-slide h2 {
    max-width: 690px;
    margin: 0;
    color: #fff;
    font-size: clamp(35px, 4vw, 58px);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.04;
}

.epi-home-slide p {
    max-width: 620px;
    margin: 19px 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    line-height: 1.6;
}

.epi-home-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 27px;
}

.epi-home-slide__visual {
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.epi-home-slide__visual::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 0 0 22px rgba(255, 255, 255, .025), 0 30px 70px rgba(0, 0, 0, .18);
}

.epi-visual-helmet,
.epi-visual-shield,
.epi-visual-document {
    width: min(350px, 100%);
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .2));
}

.epi-visual-shield,
.epi-visual-document {
    width: min(290px, 88%);
}

.epi-visual-orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, .25);
    border-radius: 50%;
}

.epi-visual-orbit--one {
    width: 380px;
    height: 380px;
}

.epi-visual-orbit--two {
    width: 250px;
    height: 250px;
}

.epi-visual-label {
    position: absolute;
    right: 3px;
    bottom: 20px;
    z-index: 3;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 9px;
    background: rgba(5, 24, 42, .78);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.epi-home-slider__arrow {
    width: 43px;
    height: 43px;
    position: absolute;
    top: calc(50% - 34px);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 0 3px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.epi-home-slider__arrow:hover {
    background: #fff;
    color: var(--epi-blue-dark);
    transform: scale(1.05);
}

.epi-home-slider__arrow--prev { left: 14px; }
.epi-home-slider__arrow--next { right: 14px; }

.epi-home-slider__dots {
    position: absolute;
    left: 58px;
    bottom: 83px;
    z-index: 6;
    display: flex;
    gap: 7px;
}

.epi-home-slider__dots button {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
}

.epi-home-slider__dots button.is-active {
    width: 28px;
    background: var(--epi-orange);
}

.epi-home-slider__proofs {
    min-height: 64px;
    position: absolute;
    inset: auto 0 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    background: linear-gradient(90deg, #0c6fa7 0%, #12b8e8 100%);
    color: #fff;
}

.epi-home-slider__proofs span {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, .25);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.epi-home-slider__proofs span:last-child {
    border-right: 0;
}

.epi-home-slider__proofs strong {
    color: #ffe59b;
    font-size: 13px;
}

/* Preuves de confiance
   ========================================================================== */
.epi-trust {
    padding: 28px 0;
}

.epi-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.epi-trust-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    padding: 19px;
    border: 1px solid #e3eaf1;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(11, 31, 51, .05);
}

.epi-trust-card__icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #e9f8ff, #d9efff);
    color: #0879ad;
    font-size: 22px;
    font-weight: 900;
}

.epi-trust-card h2 {
    margin: 1px 0 5px;
    color: var(--epi-blue-dark);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
}

.epi-trust-card p {
    margin: 0;
    color: #687788;
    font-size: 12.5px;
    line-height: 1.5;
}

/* Sections catalogue
   ========================================================================== */
.epi-home-section {
    padding: 58px 0;
}

.epi-home-section--categories {
    background: #fff;
}

.epi-home-section--products {
    background:
        radial-gradient(circle at 0 0, rgba(18, 184, 232, .09), transparent 32%),
        #f4f7fb;
}

.epi-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
}

.epi-section-heading__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--epi-blue-pro);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.epi-section-heading h2,
.epi-home-about h2 {
    margin: 0;
    color: var(--epi-blue-dark);
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.epi-section-heading p {
    margin: 9px 0 0;
    color: #67768a;
    font-size: 15px;
}

.epi-section-heading > a,
.epi-shelf-heading > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 4px;
    border-bottom: 2px solid #cfe4f5;
    color: var(--epi-blue-pro);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.epi-section-heading > a:hover,
.epi-shelf-heading > a:hover {
    border-color: var(--epi-orange);
}

.epi-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.epi-category-card {
    min-width: 0;
    display: block;
    border: 1px solid #e0e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    color: var(--epi-text);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(11, 31, 51, .055);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.epi-category-card:hover {
    transform: translateY(-5px);
    border-color: #add9f5;
    box-shadow: 0 18px 34px rgba(11, 31, 51, .11);
    text-decoration: none;
}

.epi-category-card__media {
    min-height: 146px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(145deg, #eef8ff 0%, #f9fbfd 65%),
        #f5f8fb;
    color: #0c7bae;
}

.epi-category-card__media::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -42px;
    bottom: -50px;
    border: 18px solid rgba(18, 184, 232, .08);
    border-radius: 50%;
}

.epi-category-card__media.has-image img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    padding: 15px;
    transition: transform .25s ease;
}

.epi-category-card:hover .epi-category-card__media.has-image img {
    transform: scale(1.045);
}

.epi-category-card__fallback {
    width: 82px;
    height: 82px;
}

.epi-category-card__fallback svg {
    width: 100%;
    height: 100%;
}

.epi-category-card__number {
    position: absolute;
    top: 12px;
    left: 12px;
    color: rgba(11, 31, 51, .34);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.epi-category-card__content {
    display: block;
    padding: 16px 17px 18px;
}

.epi-category-card__content strong {
    min-height: 41px;
    display: block;
    color: var(--epi-blue-dark);
    font-size: 15.5px;
    font-weight: 900;
    line-height: 1.3;
}

.epi-category-card__content > span {
    display: block;
    margin-top: 7px;
    color: #607389;
    font-size: 12.5px;
    font-weight: 700;
}

/* Cartes produits
   ========================================================================== */
.epi-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.epi-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e7ef;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(11, 31, 51, .055);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.epi-product-card:hover {
    transform: translateY(-4px);
    border-color: #b9d9ee;
    box-shadow: 0 17px 35px rgba(11, 31, 51, .105);
}

.epi-product-card__image {
    min-height: 236px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #edf1f5;
    background: #fff;
}

.epi-product-card__image img {
    width: 100%;
    height: 236px;
    margin: 0;
    padding: 18px;
    object-fit: contain;
    transition: transform .25s ease;
}

.epi-product-card:hover .epi-product-card__image img {
    transform: scale(1.045);
}

.epi-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: 7px;
    background: var(--epi-orange);
    color: #172132;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.epi-product-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.epi-product-card__reference {
    display: block;
    margin-bottom: 6px;
    color: #7c8a9a;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.epi-product-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.42;
}

.epi-product-card__title a {
    color: var(--epi-blue-dark);
    text-decoration: none;
}

.epi-product-card__title a:hover {
    color: var(--epi-blue-pro);
}

.epi-product-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-top: auto;
    padding-top: 17px;
}

.epi-product-card__stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #68798b;
    font-size: 11px;
    font-weight: 800;
}

.epi-product-card__stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d49a24;
}

.epi-product-card__stock.is-in-stock::before {
    background: #18a558;
}

.epi-product-card__price {
    color: var(--epi-blue-dark);
    font-size: 14px;
    font-weight: 900;
}

.epi-product-card__price del {
    color: #8a97a5;
    font-size: 11px;
    font-weight: 600;
}

.epi-product-card__price ins {
    color: #c96d00;
    text-decoration: none;
}

.epi-product-card__button {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 12px;
    border-radius: 9px;
    background: #edf6fc;
    color: #0a6f9f;
    font-size: 12.5px;
    font-weight: 900;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.epi-product-card__button:hover {
    background: var(--epi-blue-pro);
    color: #fff;
    text-decoration: none;
}

.epi-catalogue-empty {
    min-height: 148px;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 27px;
    border: 1px solid #dce7f1;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11, 31, 51, .06);
}

.epi-catalogue-empty__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--epi-blue-dark), var(--epi-blue-pro));
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: .08em;
}

.epi-catalogue-empty h3 {
    margin: 0 0 7px;
    color: var(--epi-blue-dark);
    font-size: 20px;
    font-weight: 900;
}

.epi-catalogue-empty p {
    margin: 0;
    color: #67768a;
    font-size: 14px;
    line-height: 1.55;
}

/* Rayons par catégorie
   ========================================================================== */
.epi-catalogue-shelf {
    border-top: 1px solid #e8edf3;
    background: #fff;
}

.epi-catalogue-shelf:nth-of-type(even) {
    background: #f7f9fc;
}

.epi-shelf-heading {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 13px 18px;
    border-left: 5px solid var(--epi-orange);
    border-radius: 0 12px 12px 0;
    background: linear-gradient(90deg, var(--epi-blue-dark), #15517f);
    color: #fff;
    box-shadow: 0 10px 24px rgba(11, 31, 51, .12);
}

.epi-shelf-heading > div > span {
    display: block;
    margin-bottom: 1px;
    color: #8edfff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.epi-shelf-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.epi-shelf-heading > a {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

/* Bandeau B2B et présentation
   ========================================================================== */
.epi-business-banner {
    padding: 62px 0;
    background:
        linear-gradient(115deg, rgba(5, 24, 42, .98), rgba(11, 66, 101, .96)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 13px);
}

.epi-business-banner__inner {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: 27px;
}

.epi-business-banner__badge {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    color: var(--epi-orange);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: .07em;
}

.epi-business-banner__content > span {
    display: block;
    margin-bottom: 4px;
    color: #71d9ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.epi-business-banner h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 900;
    letter-spacing: -.02em;
}

.epi-business-banner p {
    max-width: 760px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    line-height: 1.6;
}

.epi-home-about {
    padding: 54px 0;
    background: #fff;
}

.epi-home-about__inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 64px;
}

.epi-home-about p {
    margin: 0;
    padding-left: 27px;
    border-left: 3px solid var(--epi-orange);
    color: #617083;
    font-size: 15px;
    line-height: 1.75;
}

/* Footer enrichi
   ========================================================================== */
.epi-footer {
    background: #071a2b;
    color: rgba(255, 255, 255, .72);
}

.epi-footer__inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 50px 0 26px;
}

.epi-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 42px;
}

.epi-footer__brand strong {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.epi-footer__brand p,
.epi-footer__contact p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.epi-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.epi-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.epi-footer li + li {
    margin-top: 8px;
}

.epi-footer a {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    text-decoration: none;
}

.epi-footer a:hover {
    color: #fff;
}

.epi-footer__contact a {
    display: block;
    margin-top: 8px;
    color: #8ee1ff;
    font-weight: 800;
}

.epi-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12px;
}

.epi-footer__bottom p {
    margin: 0;
}

.epi-footer__security {
    color: #b7d9e8;
}

/* Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .epi-home-intro__layout {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .epi-home-slide {
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
        padding-inline: 42px;
    }

    .epi-home-slide h1,
    .epi-home-slide h2 {
        font-size: clamp(33px, 4vw, 48px);
    }

    .epi-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .epi-home-intro {
        padding-top: 12px;
    }

    .epi-home-intro__layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .epi-category-panel__title {
        min-height: 50px;
        border-radius: 0;
        cursor: pointer;
    }

    .epi-category-panel__chevron {
        display: inline-block;
        transition: transform .2s ease;
    }

    .epi-category-panel__title[aria-expanded="true"] .epi-category-panel__chevron {
        transform: rotate(180deg);
    }

    .epi-category-panel__nav {
        display: none;
    }

    .epi-category-panel__nav.is-open {
        display: block;
    }

    .epi-category-panel__nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 7px;
    }

    .epi-category-panel__nav li,
    .epi-category-panel__nav li + li {
        border: 0;
    }

    .epi-category-panel__nav li a {
        min-height: 48px;
        border-bottom: 1px solid #edf1f5;
    }

    .epi-home-slider,
    .epi-home-slider__track {
        min-height: 500px;
    }

    .epi-home-slide {
        grid-template-columns: minmax(0, 1fr) 250px;
        padding: 44px 42px 76px;
    }

    .epi-home-slide__visual {
        min-height: 290px;
    }

    .epi-category-grid,
    .epi-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .epi-business-banner__inner {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .epi-business-banner__inner > .epi-button {
        grid-column: 2;
        justify-self: start;
    }

    .epi-business-banner__badge {
        width: 76px;
        height: 76px;
        border-radius: 19px;
        font-size: 21px;
    }

    .epi-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .epi-home-shell {
        width: min(100% - 22px, 1280px);
    }

    .epi-home-slider,
    .epi-home-slider__track {
        min-height: 570px;
    }

    .epi-home-slide {
        grid-template-columns: 1fr;
        align-content: start;
        gap: 4px;
        padding: 34px 27px 84px;
    }

    .epi-home-slide__content {
        text-align: left;
    }

    .epi-home-slide h1,
    .epi-home-slide h2 {
        font-size: 32px;
        line-height: 1.08;
    }

    .epi-home-slide p {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.55;
    }

    .epi-home-slide__actions {
        margin-top: 19px;
    }

    .epi-home-slide__visual {
        min-height: 190px;
    }

    .epi-home-slide__visual::before {
        width: 205px;
        height: 205px;
    }

    .epi-visual-helmet,
    .epi-visual-shield,
    .epi-visual-document {
        width: 200px;
        max-height: 190px;
    }

    .epi-visual-orbit--one {
        width: 225px;
        height: 225px;
    }

    .epi-visual-orbit--two {
        width: 150px;
        height: 150px;
    }

    .epi-visual-label {
        right: calc(50% - 102px);
        bottom: 4px;
        font-size: 10px;
    }

    .epi-home-slider__arrow {
        width: 36px;
        height: 36px;
        top: 51%;
        font-size: 27px;
    }

    .epi-home-slider__arrow--prev { left: 8px; }
    .epi-home-slider__arrow--next { right: 8px; }

    .epi-home-slider__dots {
        left: 27px;
        bottom: 72px;
    }

    .epi-home-slider__proofs {
        grid-template-columns: repeat(2, 1fr);
        min-height: 64px;
    }

    .epi-home-slider__proofs span {
        min-height: 32px;
        padding: 5px 4px;
        font-size: 9.5px;
    }

    .epi-home-slider__proofs span:nth-child(2) {
        border-right: 0;
    }

    .epi-home-slider__proofs span:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .2);
    }

    .epi-trust {
        padding: 18px 0;
    }

    .epi-trust__grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .epi-trust-card {
        padding: 14px;
    }

    .epi-home-section {
        padding: 42px 0;
    }

    .epi-section-heading {
        display: block;
        margin-bottom: 21px;
    }

    .epi-section-heading h2,
    .epi-home-about h2 {
        font-size: 27px;
    }

    .epi-section-heading > a {
        margin-top: 15px;
    }

    .epi-category-grid,
    .epi-product-grid {
        gap: 10px;
    }

    .epi-category-card__media {
        min-height: 112px;
    }

    .epi-category-card__fallback {
        width: 62px;
        height: 62px;
    }

    .epi-category-card__content {
        padding: 13px;
    }

    .epi-category-card__content strong {
        min-height: 52px;
        font-size: 13px;
    }

    .epi-category-card__content > span {
        font-size: 10.5px;
    }

    .epi-product-card__image,
    .epi-product-card__image img {
        min-height: 160px;
        height: 160px;
    }

    .epi-product-card__image img {
        padding: 12px;
    }

    .epi-product-card__body {
        padding: 12px;
    }

    .epi-product-card__title {
        font-size: 13px;
    }

    .epi-product-card__meta {
        display: block;
        padding-top: 12px;
    }

    .epi-product-card__stock,
    .epi-product-card__price {
        display: flex;
        margin-bottom: 5px;
        font-size: 11px;
    }

    .epi-product-card__button {
        font-size: 11px;
    }

    .epi-catalogue-empty {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .epi-catalogue-empty__icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        font-size: 14px;
    }

    .epi-catalogue-empty h3 {
        font-size: 16px;
    }

    .epi-catalogue-empty p {
        font-size: 12px;
    }

    .epi-catalogue-empty .epi-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .epi-shelf-heading {
        min-height: 58px;
        padding: 11px 13px;
    }

    .epi-shelf-heading h2 {
        font-size: 16px;
    }

    .epi-shelf-heading > a {
        font-size: 11px;
    }

    .epi-business-banner {
        padding: 45px 0;
    }

    .epi-business-banner__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .epi-business-banner__badge {
        margin-inline: auto;
    }

    .epi-business-banner__inner > .epi-button {
        grid-column: 1;
        justify-self: stretch;
    }

    .epi-home-about {
        padding: 43px 0;
    }

    .epi-home-about__inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .epi-home-about p {
        padding-left: 17px;
        font-size: 13.5px;
    }

    .epi-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .epi-footer__bottom {
        display: block;
        padding-bottom: 64px;
    }

    .epi-footer__security {
        display: block;
        margin-top: 8px;
    }
}

@media (max-width: 430px) {
    .epi-category-panel__nav ul {
        grid-template-columns: 1fr;
    }

    .epi-home-slide h1,
    .epi-home-slide h2 {
        font-size: 29px;
    }

    .epi-home-slide__actions .epi-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .epi-home-slide,
    .epi-category-card,
    .epi-product-card,
    .epi-button,
    .epi-category-card__media img,
    .epi-product-card__image img {
        transition: none !important;
    }
}

