.explorer-container {
    width: min(1240px, calc(100% - 44px));
    margin-inline: auto;
}

.explorer-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 6vw, 78px) 0 34px;
    background:
        radial-gradient(circle at 86% 22%, rgba(36, 148, 138, .15), transparent 28rem),
        linear-gradient(135deg, #f3f0e8 0%, #e6eee9 100%);
}

.explorer-hero::after {
    position: absolute;
    right: -8rem;
    bottom: -13rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(20, 67, 72, .12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.explorer-hero__body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-top: 30px;
}

.explorer-hero h1 {
    max-width: 780px;
    margin: 14px 0 18px;
    color: #122d34;
    font: 500 clamp(2.5rem, 6vw, 5.2rem)/.98 Georgia, "Times New Roman", serif;
    letter-spacing: -.055em;
}

.explorer-hero__body p {
    max-width: 690px;
    margin: 0;
    color: #53686a;
    font-size: clamp(1rem, 1.6vw, 1.17rem);
    line-height: 1.7;
}

.explorer-total {
    display: grid;
    flex: 0 0 185px;
    gap: 5px;
    padding: 20px 23px;
    border: 1px solid rgba(20, 67, 72, .16);
    border-radius: 4px 28px 4px 28px;
    background: rgba(255, 255, 255, .62);
    color: #42615f;
}

.explorer-total strong {
    color: #087d75;
    font: 500 2.6rem/1 Georgia, serif;
    letter-spacing: -.06em;
}

.explorer-total span {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.explorer-inventory {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.explorer-inventory span {
    padding: 9px 13px;
    border: 1px solid rgba(20, 67, 72, .14);
    border-radius: 99px;
    background: rgba(255, 255, 255, .48);
    color: #53686a;
    font-size: .78rem;
}

.explorer-inventory strong {
    color: #173e42;
}

.explorer-section {
    padding: clamp(32px, 5vw, 64px) 0 88px;
    background: #f8f7f2;
}

.explorer-controls {
    display: grid;
    grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(130px, .8fr)) auto;
    align-items: end;
    gap: 12px;
    padding: 20px;
    border: 1px solid #dce3df;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(19, 57, 59, .07);
}

.explorer-search-field,
.explorer-filter {
    display: grid;
    gap: 7px;
}

.explorer-search-field label,
.explorer-filter label {
    color: #607270;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.explorer-search-field__input {
    position: relative;
}

.explorer-search-field__input svg {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    stroke: #52716e;
    stroke-width: 1.8;
}

.explorer-search-field input,
.explorer-filter select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d8e0dc;
    border-radius: 8px;
    outline: none;
    background: #fbfcfa;
    color: #19383b;
    font: inherit;
}

.explorer-search-field input {
    padding: 0 14px 0 43px;
}

.explorer-filter select {
    padding: 0 32px 0 12px;
}

.explorer-search-field input:focus,
.explorer-filter select:focus {
    border-color: #078078;
    box-shadow: 0 0 0 3px rgba(7, 128, 120, .13);
}

.explorer-submit {
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: #087d75;
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: background .18s ease, transform .18s ease;
}

.explorer-submit:hover {
    transform: translateY(-2px);
    background: #075d59;
}

.explorer-result-bar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 44px 0 20px;
}

.explorer-result-bar__eyebrow {
    color: #087d75;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.explorer-result-bar h2 {
    margin: 8px 0 0;
    color: #142e34;
    font: 500 clamp(1.8rem, 3vw, 2.6rem)/1.1 Georgia, serif;
    letter-spacing: -.035em;
}

.explorer-result-bar p {
    margin: 0;
    color: #607270;
    font-size: .9rem;
    font-weight: 700;
}

.explorer-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.explorer-card {
    position: relative;
    display: flex;
    min-height: 350px;
    flex-direction: column;
    overflow: hidden;
    padding: 18px;
    border: 1px solid #e0e5e0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(16, 52, 53, .045);
    animation: explorer-enter .4s both;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.explorer-card:hover {
    transform: translateY(-5px);
    border-color: #a8cac1;
    box-shadow: 0 18px 38px rgba(16, 52, 53, .12);
}

.explorer-card:nth-child(3n + 2) {
    animation-delay: 45ms;
}

.explorer-card:nth-child(3n + 3) {
    animation-delay: 90ms;
}

.explorer-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #53716e;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.explorer-card__top span:first-child {
    color: #087d75;
}

.explorer-card > img,
.explorer-card__art {
    display: grid;
    width: 100%;
    height: 118px;
    place-items: center;
    margin: 15px 0 16px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 76% 25%, rgba(84, 196, 174, .5), transparent 34%),
        linear-gradient(135deg, #133d44, #1c5960);
    color: #ddede5;
    object-fit: cover;
}

.explorer-card__art {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, transparent 46%, rgba(200, 231, 217, .22) 47%, transparent 48%),
        radial-gradient(circle at 72% 20%, rgba(84, 196, 174, .28), transparent 35%),
        #173f45;
}

.explorer-card__art::after {
    position: absolute;
    right: 12%;
    bottom: -35px;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(229, 245, 232, .28);
    border-radius: 50%;
    box-shadow: 0 0 0 16px rgba(229, 245, 232, .05), 0 0 0 34px rgba(229, 245, 232, .04);
    content: "";
}

.explorer-card__art span {
    position: relative;
    z-index: 1;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .3em;
}

.explorer-card h3 {
    margin: 0 0 9px;
    color: #18393d;
    font: 600 1.28rem/1.22 Georgia, serif;
}

.explorer-card h3 a {
    color: inherit;
    text-decoration: none;
}

.explorer-card h3 a:hover {
    color: #087d75;
}

.explorer-card > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 16px;
    color: #607270;
    font-size: .88rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.explorer-card__price {
    margin: auto 0 10px;
    color: #45615e;
    font-size: .77rem;
    font-weight: 700;
}

.explorer-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e8ece8;
    color: #087d75;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.explorer-card__link span {
    transition: transform .18s ease;
}

.explorer-card__link:hover span {
    transform: translate(3px, -3px);
}

.explorer-empty {
    padding: 50px 24px;
    border: 1px dashed #bfcec7;
    border-radius: 14px;
    color: #526b68;
    text-align: center;
}

.explorer-empty h2 {
    margin: 0 0 8px;
    color: #19383b;
    font: 500 1.8rem Georgia, serif;
}

.explorer-empty p {
    margin: 0;
}

.explorer-error {
    margin-top: 16px;
    padding: 12px 15px;
    border-radius: 8px;
    background: #fff0e9;
    color: #8a3e2e;
}

.explorer-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    color: #53686a;
    font-size: .86rem;
    font-weight: 700;
}

.explorer-pagination[hidden],
.explorer-empty[hidden] {
    display: none;
}

.explorer-pagination a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid #cbd8d2;
    border-radius: 7px;
    background: white;
    color: #173e42;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.explorer-pagination a:hover:not([aria-disabled="true"]) {
    border-color: #087d75;
    color: #087d75;
}

.explorer-pagination a[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .45;
}

@keyframes explorer-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
    .explorer-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .explorer-search-field {
        grid-column: 1 / -1;
    }

    .explorer-submit {
        align-self: end;
    }

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

@media (max-width: 640px) {
    .explorer-container {
        width: min(100% - 28px, 1240px);
    }

    .explorer-hero {
        padding-top: 24px;
    }

    .explorer-hero__body {
        align-items: start;
        flex-direction: column;
        gap: 20px;
        margin-top: 24px;
    }

    .explorer-hero h1 {
        font-size: clamp(2.3rem, 12vw, 3.6rem);
    }

    .explorer-total {
        grid-template-columns: auto 1fr;
        align-items: center;
        width: 100%;
        gap: 13px;
        padding: 14px 17px;
        border-radius: 10px;
    }

    .explorer-total strong {
        font-size: 2rem;
    }

    .explorer-inventory {
        gap: 8px;
    }

    .explorer-inventory span {
        padding: 8px 10px;
        font-size: .72rem;
    }

    .explorer-controls {
        grid-template-columns: 1fr 1fr;
        gap: 11px;
        padding: 14px;
    }

    .explorer-search-field {
        grid-column: 1 / -1;
    }

    .explorer-filter select,
    .explorer-search-field input {
        min-height: 46px;
        font-size: .84rem;
    }

    .explorer-submit {
        grid-column: 1 / -1;
        width: 100%;
    }

    .explorer-result-bar {
        align-items: start;
        flex-direction: column;
        gap: 8px;
        margin-top: 32px;
    }

    .explorer-results {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .explorer-card {
        min-height: 0;
        padding: 15px;
    }

    .explorer-card > img,
    .explorer-card__art {
        height: 104px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .explorer-card,
    .explorer-submit,
    .explorer-card__link span {
        animation: none !important;
        transition: none !important;
    }
}