:root {
    --blue: #003DC4;
    --pink: #FD79E2;

    --text: #0a0a0a;
    --muted: #5A5A5A;

    --line: rgba(0, 0, 0, .08);

    --bg: #F5F5F5;
    --soft: #F5F5F5;

    --radius: 30px;
}

.endo-shop-archive {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    overflow: clip;
    color: var(--text);
    background:
        radial-gradient(ellipse 34% 14% at 96% 7%,
            rgba(228, 45, 150, .13) 0%,
            rgba(228, 45, 150, .065) 38%,
            transparent 76%),
        radial-gradient(ellipse 30% 15% at -5% 47%,
            rgba(0, 61, 196, .065) 0%,
            rgba(0, 61, 196, .028) 42%,
            transparent 78%),
        radial-gradient(ellipse 40% 15% at 58% 76%,
            rgba(228, 45, 150, .105) 0%,
            rgba(228, 45, 150, .045) 42%,
            transparent 80%),
        var(--bg);
}

body.post-type-archive-endo_product .endo-shop-hero,
body.post-type-archive-endo_product .endo-shop-catalog,
body.post-type-archive-endo_product .endo-collaboration,
body.post-type-archive-endo_product .landing-contact {
    background: transparent;
}

body.post-type-archive-endo_product .endo-shop-hero::before,
body.post-type-archive-endo_product .endo-shop-hero::after,
body.post-type-archive-endo_product .endo-shop-catalog::before {
    display: none;
}

body.post-type-archive-endo_product {
    position: relative;
}

body.post-type-archive-endo_product .site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    background: transparent;
}

.endo-shop-archive *,
.endo-shop-archive *::before,
.endo-shop-archive *::after {
    box-sizing: border-box;
}

.endo-shop-archive a {
    color: inherit;
    text-decoration: none;
}

.endo-shop-archive button,
.endo-shop-archive input,
.endo-shop-archive select {
    font: inherit;
}

.endo-shop-archive a:focus-visible,
.endo-shop-archive button:focus-visible,
.endo-shop-archive input:focus-visible,
.endo-shop-archive select:focus-visible {
    outline: 3px solid rgba(0, 61, 196, .2);
    outline-offset: 3px;
}

.endo-shop-archive .container {
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
}

.endo-shop-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.endo-shop-eyebrow::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink);
    content: "";
}

/* Hero */

.endo-shop-archive .endo-shop-hero {
    position: relative;
    padding: 148px 0 74px;
}

.endo-shop-archive .endo-shop-hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
        radial-gradient(circle at 12% 12%,
            rgba(228, 45, 150, .11),
            transparent 54%),
        radial-gradient(circle at 12% 18%,
            rgba(228, 45, 150, .055),
            transparent 50%);
    pointer-events: none;
    content: "";
}

.endo-shop-archive .endo-shop-hero::after {
    display: none;
}

.endo-shop-archive .endo-shop-hero .container {
    position: relative;
    z-index: 1;
    width: min(1058px, calc(100% - 48px));
    margin-inline: auto;
}

/* Breadcrumbs */

.endo-shop-breadcrumbs {
    margin-bottom: 39px;
}

.endo-shop-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.endo-shop-breadcrumbs li {
    color: rgba(10, 10, 10, .42);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

.endo-shop-breadcrumbs li[aria-current="page"] {
    color: var(--blue);
    font-weight: 700;
}

.endo-shop-breadcrumbs a {
    transition: color .2s ease;
}

.endo-shop-breadcrumbs a:hover {
    color: var(--blue);
}

/* Heading */

.endo-shop-hero-heading {
    margin: 0 0 38px 41px;
}

.endo-shop-hero-heading h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    font-size: clamp(48px, 5.1vw, 66px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.05em;
}

.endo-shop-hero-heading h1 span {
    color: var(--text);
}

.endo-shop-hero-heading h1 strong {
    margin-top: 9px;
    color: var(--blue);
    font: inherit;
}

/* Featured product */

.endo-shop-archive .endo-shop-featured {
    display: grid;
    overflow: visible;
    grid-template-columns:
        minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(42px, 6vw, 76px);
    align-items: center;
    min-height: 384px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.endo-shop-archive .endo-shop-featured:hover {
    box-shadow: none;
    transform: none;
}

.endo-shop-featured-media {
    position: relative;
    min-width: 0;
    padding: 0;
}

.endo-shop-featured-badge {
    position: absolute;
    z-index: 3;
    top: 25px;
    left: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 29px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: #FD79E2;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
}

.endo-shop-archive .endo-shop-featured-image {
    display: grid;
    overflow: hidden;
    place-items: center;
    width: 100%;
    min-height: 384px;
    aspect-ratio: 1.2 / 1;
    border-radius: 28px;
    background: rgba(222, 222, 222, .72);
}

.endo-shop-archive .endo-shop-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.endo-shop-archive .endo-shop-featured:hover .endo-shop-featured-image img {
    transform: scale(1.025);
}

.endo-shop-archive .endo-shop-featured-placeholder {
    color: rgba(0, 61, 196, .25);
    font-size: 70px;
}

.endo-shop-archive .endo-shop-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 30px 0;
}

.endo-shop-archive .endo-shop-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    align-items: center;
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.endo-shop-archive .endo-shop-featured-meta span:first-child {
    color: var(--blue);
}

.endo-shop-archive .endo-shop-featured-meta span+span {
    position: relative;
    padding-left: 14px;
}

.endo-shop-archive .endo-shop-featured-meta span+span::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(10, 10, 10, .3);
    transform: translateY(-50%);
    content: "";
}

.endo-shop-archive .endo-shop-featured h2 {
    margin: 0;
    font-size: clamp(28px, 2.65vw, 36px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.endo-shop-archive .endo-shop-featured h2 a {
    transition: color .2s ease;
}

.endo-shop-archive .endo-shop-featured h2 a:hover {
    color: var(--blue);
}

.endo-shop-featured-price {
    margin: 4px 0 0;
    color: var(--blue);
    font-size: clamp(24px, 2.25vw, 31px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.endo-shop-featured-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 25px 0 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.endo-shop-featured-action {
    display: inline-flex;
    gap: 36px;
    align-items: center;
    justify-content: space-between;
    width: min(222px, 100%);
    min-height: 49px;
    margin-top: 26px;
    padding: 0 38px 0 46px;
    border-radius: 9px;
    color: #fff !important;
    background: var(--blue);
    font-size: 13px;
    font-weight: 500;
    transition:
        background-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.endo-shop-featured-action:hover {
    background: #002f98;
    box-shadow: 0 12px 28px rgba(0, 61, 196, .19);
    transform: translateY(-2px);
}

.endo-shop-featured-action .material-symbols-outlined {
    font-size: 20px;
    transition: transform .25s ease;
}

.endo-shop-featured-action:hover .material-symbols-outlined {
    transform: translateX(5px);
}

/* Hero responsive */

@media (max-width: 920px) {
    .endo-shop-archive .endo-shop-hero {
        padding-top: 118px;
        padding-bottom: 54px;
    }

    .endo-shop-hero-heading {
        margin-left: 0;
    }

    .endo-shop-archive .endo-shop-featured {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .endo-shop-featured-media {
        padding: 0;
    }

    .endo-shop-archive .endo-shop-featured-image {
        min-height: 420px;
    }

    .endo-shop-archive .endo-shop-featured-content {
        padding: 0 12px;
    }
}

@media (max-width: 680px) {
    .endo-shop-archive .endo-shop-hero {
        padding-top: 98px;
        padding-bottom: 44px;
    }

    .endo-shop-archive .endo-shop-hero .container {
        width: min(100% - 28px, 1058px);
    }

    .endo-shop-breadcrumbs {
        margin-bottom: 28px;
    }

    .endo-shop-hero-heading {
        margin-bottom: 28px;
    }

    .endo-shop-hero-heading h1 {
        font-size: clamp(42px, 12vw, 58px);
        line-height: .97;
    }

    .endo-shop-archive .endo-shop-featured {
        border-radius: 24px;
    }

    .endo-shop-featured-media {
        padding: 0;
    }

    .endo-shop-featured-badge {
        top: 22px;
        left: 22px;
    }

    .endo-shop-archive .endo-shop-featured-image {
        min-height: 290px;
        border-radius: 19px;
    }

    .endo-shop-archive .endo-shop-featured-content {
        padding: 0 6px;
    }

    .endo-shop-archive .endo-shop-featured h2 {
        font-size: 30px;
    }

    .endo-shop-featured-price {
        font-size: 25px;
    }

    .endo-shop-featured-description {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.5;
    }

    .endo-shop-featured-action {
        width: 100%;
        padding-inline: 28px;
    }
}

@media (max-width: 420px) {
    .endo-shop-hero-heading h1 {
        font-size: 40px;
    }

    .endo-shop-archive .endo-shop-featured-image {
        min-height: 240px;
    }

    .endo-shop-archive .endo-shop-featured-content {
        padding: 26px 20px 30px;
    }
}

/* Catalogue */

.endo-shop-archive .endo-shop-catalog {
    position: relative;
    padding: 0 0 clamp(80px, 9vw, 124px);
    scroll-margin-top: 100px;
}

.endo-shop-archive .endo-shop-catalog::before {
    position: absolute;
    z-index: 0;
    inset: 35% 0 0;
    background:
        radial-gradient(circle at 86% 100%,
            rgba(228, 45, 150, .09),
            transparent 36%);
    pointer-events: none;
    content: "";
}

.endo-shop-archive .endo-shop-catalog>.container {
    position: relative;
    z-index: 1;
    width: min(1058px, calc(100% - 48px));
    margin-inline: auto;
}

.endo-shop-catalog-divider {
    width: 100%;
    height: 1px;
    margin-bottom: 64px;
    background: rgba(10, 10, 10, .14);
}

.endo-shop-archive .endo-shop-layout {
    display: grid;
    grid-template-columns: 208px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.endo-shop-archive .endo-shop-sidebar {
    min-width: 0;
    margin-top: 80px;
}

.endo-shop-archive .endo-shop-results {
    min-width: 0;
}

.endo-shop-archive .endo-shop-results-content {
    position: relative;
    min-height: 320px;
}

.endo-shop-archive .endo-shop-results-content[aria-busy="true"] {
    opacity: .55;
    pointer-events: none;
}

.endo-shop-archive .endo-shop-results-content[aria-busy="true"]::after {
    position: absolute;
    z-index: 20;
    top: 34px;
    left: 50%;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 61, 196, .14);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: endo-shop-spin .75s linear infinite;
    content: "";
}

/* Toolbar */

.endo-shop-toolbar {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    margin-bottom: 28px;
}

.endo-shop-toolbar-start {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.endo-shop-mobile-filter-button {
    display: none;
    gap: 8px;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(0, 61, 196, .18);
    border-radius: 999px;
    color: var(--blue);
    background: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.endo-shop-mobile-filter-button .material-symbols-outlined {
    font-size: 17px;
}

.endo-shop-view-indicator {
    display: flex;
    gap: 3px;
    align-items: center;
    flex: 0 0 auto;
}

.endo-shop-view-indicator .material-symbols-outlined {
    color: rgba(10, 10, 10, .26);
    font-size: 17px;
    font-variation-settings:
        "FILL" 1,
        "wght" 500,
        "GRAD" 0,
        "opsz" 20;
}

.endo-shop-view-indicator .material-symbols-outlined.is-active {
    color: var(--blue);
}

.endo-shop-result-count {
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.endo-shop-result-count strong {
    color: var(--text);
    font-weight: 600;
}

.endo-shop-sort-form {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.endo-shop-per-page-field,
.endo-shop-sort-field {
    display: flex;
    gap: 9px;
    align-items: center;
}

.endo-shop-per-page-field label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
}

.endo-shop-select-control,
.endo-shop-sort-control {
    position: relative;
}

.endo-shop-select-control select,
.endo-shop-sort-control select {
    width: 100%;
    height: 40px;
    padding: 0 38px 0 14px;
    border: 1px solid rgba(10, 10, 10, .08);
    border-radius: 10px;
    outline: none;
    color: var(--text);
    background: rgba(255, 255, 255, .78);
    font: inherit;
    font-size: 11px;
    font-weight: 500;
    appearance: none;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}

.endo-shop-select-control {
    width: 72px;
}

.endo-shop-sort-control {
    width: 190px;
}

.endo-shop-select-control select:hover,
.endo-shop-sort-control select:hover {
    border-color: rgba(0, 61, 196, .18);
    background: #fff;
}

.endo-shop-select-control select:focus,
.endo-shop-sort-control select:focus {
    border-color: rgba(0, 61, 196, .34);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 61, 196, .07);
}

.endo-shop-select-control .material-symbols-outlined,
.endo-shop-sort-control .material-symbols-outlined {
    position: absolute;
    top: 50%;
    right: 12px;
    color: rgba(10, 10, 10, .45);
    font-size: 17px;
    transform: translateY(-50%);
    pointer-events: none;
}

.endo-shop-sort-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.endo-shop-select-control select:disabled,
.endo-shop-sort-control select:disabled {
    opacity: .55;
    cursor: wait;
}

@media (max-width: 980px) {
    .endo-shop-toolbar {
        align-items: flex-start;
    }

    .endo-shop-sort-form {
        gap: 12px;
    }

    .endo-shop-sort-control {
        width: 160px;
    }
}

@media (max-width: 780px) {
    .endo-shop-toolbar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        margin-bottom: 24px;
    }

    .endo-shop-toolbar-start {
        justify-content: space-between;
    }

    .endo-shop-mobile-filter-button {
        display: inline-flex;
    }

    .endo-shop-view-indicator {
        display: none;
    }

    .endo-shop-result-count {
        margin-left: auto;
    }

    .endo-shop-sort-form {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr) minmax(0, 1.4fr);
        width: 100%;
    }

    .endo-shop-per-page-field,
    .endo-shop-sort-field {
        min-width: 0;
    }

    .endo-shop-per-page-field {
        display: grid;
        grid-template-columns: auto 1fr;
    }

    .endo-shop-select-control,
    .endo-shop-sort-control {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .endo-shop-toolbar-start {
        gap: 10px;
    }

    .endo-shop-result-count {
        font-size: 10px;
    }

    .endo-shop-sort-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .endo-shop-per-page-field {
        grid-template-columns: 62px 1fr;
    }

    .endo-shop-sort-field {
        display: block;
    }

    .endo-shop-select-control select,
    .endo-shop-sort-control select {
        height: 42px;
    }
}

/* Product grid */

.endo-shop-archive .endo-shop-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 64px 38px;
}

/* Catalogue responsive */

@media (max-width: 1080px) {
    .endo-shop-archive .endo-shop-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 28px;
    }

    .endo-shop-archive .endo-shop-sort-control select {
        width: 220px;
    }

    .endo-shop-archive .endo-shop-product-grid {
        gap: 48px 26px;
    }
}

@media (max-width: 920px) {
    .endo-shop-archive .endo-shop-catalog>.container {
        width: min(100% - 40px, 1058px);
    }

    .endo-shop-catalog-divider {
        margin-bottom: 46px;
    }

    .endo-shop-archive .endo-shop-layout {
        display: block;
    }

    .endo-shop-archive .endo-shop-sidebar {
        margin-top: 0;
    }

    .endo-shop-archive .endo-shop-mobile-filter-button {
        display: inline-flex;
    }

    .endo-shop-archive .endo-shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .endo-shop-archive .endo-shop-catalog {
        padding-bottom: 80px;
    }

    .endo-shop-archive .endo-shop-catalog>.container {
        width: min(100% - 28px, 1058px);
    }

    .endo-shop-catalog-divider {
        margin-bottom: 34px;
    }

    .endo-shop-archive .endo-shop-toolbar {
        flex-wrap: wrap;
        gap: 18px;
        align-items: center;
        margin-bottom: 28px;
    }

    .endo-shop-archive .endo-shop-toolbar-start {
        justify-content: space-between;
        width: 100%;
    }

    .endo-shop-archive .endo-shop-result-count {
        white-space: normal;
    }

    .endo-shop-archive .endo-shop-sort-form {
        width: 100%;
        margin-left: 0;
    }

    .endo-shop-archive .endo-shop-sort-control {
        flex: 1;
    }

    .endo-shop-archive .endo-shop-sort-control select {
        width: 100%;
    }

    .endo-shop-archive .endo-shop-product-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

/* Notice */

.endo-shop-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 26px;
    padding: 18px 20px;
    border: 1px solid rgba(228, 45, 150, .16);
    border-radius: 18px;
    color: #8b1659;
    background: rgba(228, 45, 150, .06);
}

.endo-shop-notice .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 22px;
}

.endo-shop-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Empty state */

.endo-shop-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    padding: 54px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    background: #fff;
}

.endo-shop-empty-state-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    border-radius: 24px;
    color: var(--blue);
    background: rgba(0, 61, 196, .07);
}

.endo-shop-empty-state-icon .material-symbols-outlined {
    font-size: 32px;
}

.endo-shop-empty-state-label {
    margin-bottom: 12px;
    color: var(--pink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.endo-shop-empty-state h3 {
    max-width: 520px;
    margin: 0;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.endo-shop-empty-state p {
    max-width: 520px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.endo-shop-empty-state-action {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 26px;
    padding: 0 20px;
    border-radius: 999px;
    color: #fff !important;
    background: var(--blue);
    font-size: 13px;
    font-weight: 650;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.endo-shop-empty-state-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 61, 196, .18);
}

.endo-shop-empty-state-action .material-symbols-outlined {
    font-size: 19px;
}

/* Pagination */

.endo-shop-archive .endo-shop-pagination {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-top: 70px;
    padding-top: 34px;
    border-top: 1px solid rgba(10, 10, 10, .14);
}

.endo-shop-archive .endo-shop-pagination-direction {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    min-height: 0;
    padding: 0;
    border: 1px solid rgba(10, 10, 10, .09);
    border-radius: 9px;
    color: rgba(10, 10, 10, .48);
    background: rgba(255, 255, 255, .72);
    font-size: 0;
    transition:
        border-color .2s ease,
        color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.endo-shop-archive .endo-shop-pagination-direction:hover {
    border-color: rgba(0, 61, 196, .2);
    color: var(--blue);
    background: #fff;
    transform: translateY(-1px);
}

.endo-shop-archive .endo-shop-pagination-direction.is-previous:hover,
.endo-shop-archive .endo-shop-pagination-direction.is-next:hover {
    transform: translateY(-1px);
}

.endo-shop-archive .endo-shop-pagination-direction.is-disabled {
    opacity: .35;
    pointer-events: none;
}

.endo-shop-archive .endo-shop-pagination-direction .material-symbols-outlined {
    font-size: 17px;
}

.endo-shop-archive .endo-shop-pagination-direction>span:not(.material-symbols-outlined) {
    display: none;
}

.endo-shop-archive .endo-shop-pagination-pages {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

.endo-shop-archive .endo-shop-pagination-page {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(10, 10, 10, .09);
    border-radius: 9px;
    color: rgba(10, 10, 10, .56);
    background: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 500;
    transition:
        border-color .2s ease,
        color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.endo-shop-archive a.endo-shop-pagination-page:hover {
    border-color: rgba(0, 61, 196, .2);
    color: var(--blue);
    background: #fff;
    transform: translateY(-1px);
}

.endo-shop-archive .endo-shop-pagination-page.is-current {
    border-color: var(--blue);
    color: #fff;
    background: var(--blue);
    box-shadow: 0 8px 18px rgba(0, 61, 196, .16);
}

.endo-shop-archive .endo-shop-pagination-ellipsis {
    display: grid;
    place-items: center;
    width: 20px;
    height: 34px;
    color: rgba(10, 10, 10, .4);
    font-size: 12px;
}

@media (max-width: 680px) {
    .endo-shop-archive .endo-shop-pagination {
        gap: 7px;
        justify-content: center;
        margin-top: 54px;
        padding-top: 28px;
    }

    .endo-shop-archive .endo-shop-pagination-pages {
        gap: 7px;
    }

    .endo-shop-archive .endo-shop-pagination-direction,
    .endo-shop-archive .endo-shop-pagination-page {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 420px) {
    .endo-shop-archive .endo-shop-pagination-pages li:nth-child(n + 6) {
        display: none;
    }
}

/* Responsive */

@media (max-width: 1180px) {
    .endo-shop-hero-layout {
        grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
        min-height: 540px;
    }

    .endo-shop-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 32px;
    }

    .endo-shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .endo-shop-hero {
        padding-top: 112px;
    }

    .endo-shop-hero-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .endo-shop-hero-content {
        max-width: 700px;
    }

    .endo-shop-featured {
        width: 100%;
    }

    .endo-shop-featured-image {
        min-height: 380px;
        aspect-ratio: 16 / 10;
    }

    .endo-shop-layout {
        display: block;
    }

    .endo-shop-sidebar {
        position: relative;
        z-index: 120;
    }

    .endo-shop-mobile-filter-button {
        display: inline-flex;
    }
}

@media (max-width: 680px) {
    .endo-shop-archive .container {
        width: min(100% - 28px, 1320px);
    }

    .endo-shop-hero {
        padding-top: 96px;
        padding-bottom: 30px;
    }

    .endo-shop-hero-layout {
        gap: 28px;
        padding: 24px;
        border-radius: 30px;
    }

    .endo-shop-hero-content h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .endo-shop-hero-content>p {
        margin-top: 22px;
        font-size: 16px;
    }

    .endo-shop-hero-action {
        width: 100%;
    }

    .endo-shop-featured {
        padding: 8px;
        border-radius: 26px;
    }

    .endo-shop-featured-image {
        min-height: 260px;
        border-radius: 20px;
    }

    .endo-shop-featured-content {
        padding: 22px 14px 14px;
    }

    .endo-shop-featured-footer {
        align-items: center;
    }

    .endo-shop-catalog {
        padding-top: 48px;
    }

    .endo-shop-catalog-heading {
        margin-bottom: 38px;
    }

    .endo-shop-catalog-heading p {
        font-size: 15px;
    }

    .endo-shop-toolbar {
        align-items: flex-start;
    }

    .endo-shop-toolbar-start {
        flex-direction: column;
        align-items: flex-start;
    }

    .endo-shop-sort-form {
        flex-direction: column;
        gap: 7px;
        align-items: flex-start;
    }

    .endo-shop-sort-control select {
        min-width: 132px;
        max-width: 150px;
    }

    .endo-shop-product-grid {
        grid-template-columns: 1fr;
    }

    .endo-shop-pagination {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 8px;
    }

    .endo-shop-pagination-direction {
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: #fff;
    }

    .endo-shop-pagination-direction span:not(.material-symbols-outlined) {
        display: none;
    }

    .endo-shop-pagination-direction.is-next {
        justify-self: end;
    }

    .endo-shop-pagination-page {
        width: 38px;
        height: 38px;
    }

    .endo-shop-pagination-ellipsis {
        width: 18px;
    }
}

@media (max-width: 420px) {
    .endo-shop-hero-layout {
        padding: 20px;
    }

    .endo-shop-featured-image {
        min-height: 220px;
    }

    .endo-shop-featured-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .endo-shop-toolbar {
        gap: 12px;
    }

    .endo-shop-result-count {
        max-width: 160px;
    }

    .endo-shop-pagination-pages li:nth-child(n + 6) {
        display: none;
    }
}

@media (max-width: 780px) {
    body.post-type-archive-endo_product .site-header {
        top: 0;
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .endo-shop-archive *,
    .endo-shop-archive *::before,
    .endo-shop-archive *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@keyframes endo-shop-spin {
    to {
        transform: rotate(360deg);
    }
}