.shop-home .category-section {
    position: relative;
    overflow: hidden;
    padding-block: 90px 96px;
    background: #f4f2ed;
}

.shop-home .category-section::before {
    position: absolute;
    top: 0;
    right: 6%;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(199, 147, 21, .12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transform: translateY(-62%);
}

.shop-home .category-section-heading {
    position: relative;
    z-index: 1;
    align-items: flex-end;
    margin-bottom: 38px;
}

.shop-home .category-heading-copy {
    max-width: 690px;
}

.shop-home .category-section .section-kicker {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    color: #b78308;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.shop-home .category-section .section-kicker i {
    display: block;
    width: 28px;
    height: 2px;
    background: #eab516;
}

.shop-home .category-section-heading h2 {
    margin: 10px 0 0;
    color: #11162f;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.shop-home .category-section-heading p {
    max-width: 600px;
    margin-top: 14px;
    color: #6f7280;
    font-size: 14px;
    line-height: 1.7;
}

.shop-home .category-view-all {
    display: inline-flex;
    min-height: 48px;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid #11162f;
    border-radius: 12px;
    color: #fff;
    background: #11162f;
    box-shadow: 0 10px 24px rgba(17, 22, 47, .12);
    font-size: 12px;
    font-weight: 800;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.shop-home .category-view-all i {
    color: #eab516;
    font-size: 10px;
    transition: transform .2s ease;
}

.shop-home .category-view-all:hover {
    color: #11162f;
    background: #eab516;
    transform: translateY(-2px);
}

.shop-home .category-view-all:hover i {
    color: #11162f;
    transform: translateX(3px);
}

.shop-home .category-showcase {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, 238px);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-home .category-card {
    min-width: 0;
    min-height: 0;
    margin: 0;
}

.shop-home .category-card-1 {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
}

.shop-home .category-card-2 {
    grid-column: 8 / span 5;
    grid-row: 1;
}

.shop-home .category-card-3 {
    grid-column: 8 / span 3;
    grid-row: 2;
}

.shop-home .category-card-4 {
    grid-column: 11 / span 2;
    grid-row: 2;
}

.shop-home .category-tile,
.shop-home .category-tile-1,
.shop-home .category-tile-2 {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(17, 22, 47, .08);
    border-radius: 18px;
    background: #d9dcd7;
    box-shadow: 0 18px 42px rgba(17, 22, 47, .10);
    isolation: isolate;
}

.shop-home .category-tile::after {
    position: absolute;
    inset: 10px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 11px;
    content: "";
    pointer-events: none;
    transition: border-color .25s ease;
}

.shop-home .category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}

.shop-home .category-tile-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 12, 31, .06) 20%, rgba(8, 12, 31, .88) 100%);
    transition: background .3s ease;
}

.shop-home .category-tile-index {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    display: grid;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 10px;
    place-items: center;
    color: #fff;
    background: rgba(17, 22, 47, .34);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    backdrop-filter: blur(10px);
}

.shop-home .category-tile-content {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    color: #fff;
}

.shop-home .category-tile-content > small {
    grid-column: 1 / -1;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .74);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.shop-home .category-tile-content strong {
    overflow: hidden;
    padding-right: 10px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(19px, 2vw, 27px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-home .category-card-1 .category-tile-content strong {
    font-size: clamp(28px, 3vw, 38px);
}

.shop-home .category-card-4 .category-tile-content {
    right: 16px;
    bottom: 18px;
    left: 16px;
}

.shop-home .category-card-4 .category-tile-content strong {
    font-size: 18px;
}

.shop-home .category-tile-action {
    display: inline-flex;
    min-width: 86px;
    min-height: 34px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding-inline: 12px;
    border-radius: 9px;
    color: #11162f;
    background: #eab516;
    font-size: 10px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.shop-home .category-card-4 .category-tile-action {
    min-width: 34px;
    width: 34px;
    padding: 0;
    font-size: 0;
}

.shop-home .category-tile-action i {
    font-size: 9px;
}

.shop-home .category-tile:hover::after {
    border-color: rgba(255, 255, 255, .45);
}

.shop-home .category-tile:hover img {
    filter: saturate(1.04);
    transform: scale(1.055);
}

.shop-home .category-tile:hover .category-tile-overlay {
    background: linear-gradient(180deg, rgba(8, 12, 31, .12) 16%, rgba(8, 12, 31, .94) 100%);
}

.shop-home .category-tile:hover .category-tile-action {
    background: #fff;
    transform: translateX(3px);
}

.shop-home .category-tile:focus-visible,
.shop-home .category-view-all:focus-visible {
    outline: 3px solid #eab516;
    outline-offset: 4px;
}

html[dir="rtl"] .shop-home .category-tile-index {
    right: 18px;
    left: auto;
}

html[dir="rtl"] .shop-home .category-tile-content strong {
    padding-right: 0;
    padding-left: 10px;
}

html[dir="rtl"] .shop-home .category-view-all:hover i,
html[dir="rtl"] .shop-home .category-tile:hover .category-tile-action {
    transform: translateX(-3px);
}

@media (max-width: 991px) {
    .shop-home .category-section {
        padding-block: 72px 78px;
    }

    .shop-home .category-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, 300px);
    }

    .shop-home .category-card-1,
    .shop-home .category-card-2,
    .shop-home .category-card-3,
    .shop-home .category-card-4 {
        grid-column: auto;
        grid-row: auto;
    }

    .shop-home .category-card-1 .category-tile-content strong,
    .shop-home .category-card-4 .category-tile-content strong {
        font-size: 25px;
    }

    .shop-home .category-card-4 .category-tile-content {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .shop-home .category-card-4 .category-tile-action {
        width: auto;
        min-width: 86px;
        padding-inline: 12px;
        font-size: 10px;
    }
}

@media (max-width: 767px) {
    .shop-home .category-section {
        padding-block: 58px 64px;
    }

    .shop-home .category-section-heading {
        gap: 22px;
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .shop-home .category-section-heading h2 {
        font-size: 34px;
    }

    .shop-home .category-view-all {
        min-height: 44px;
    }
}

@media (max-width: 575px) {
    .shop-home .category-showcase {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        gap: 14px;
    }

    .shop-home .category-card {
        aspect-ratio: 16 / 10;
    }

    .shop-home .category-tile,
    .shop-home .category-tile-1,
    .shop-home .category-tile-2 {
        aspect-ratio: auto;
        border-radius: 15px;
    }

    .shop-home .category-tile-content,
    .shop-home .category-card-4 .category-tile-content {
        right: 17px;
        bottom: 17px;
        left: 17px;
    }

    .shop-home .category-tile-content strong,
    .shop-home .category-card-1 .category-tile-content strong,
    .shop-home .category-card-4 .category-tile-content strong {
        font-size: 22px;
    }

    .shop-home .category-tile-index {
        top: 14px;
        left: 14px;
        width: 34px;
        height: 34px;
    }

    html[dir="rtl"] .shop-home .category-tile-index {
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-home .category-tile img,
    .shop-home .category-tile-action,
    .shop-home .category-view-all {
        transition: none;
    }
}
