/* ══════════════════════════════════════════════════════════════════
   explore.css  |  Antologa – Explore Page
   FIX: replaced calc(var(--i, 0) * 0.06s) with .exp-card--anim-{n}
   ══════════════════════════════════════════════════════════════════ */

.exp-wrapper *,
.exp-wrapper *::before,
.exp-wrapper *::after {
    box-sizing: border-box;
}

.exp-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f5f3;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.exp-hero {
    position: relative;
    width: 100%;
    height: 24vh;
    min-height: 26.01rem;
    max-height: 41.31rem;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.exp-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    transform: scale(1.04);
    animation: expHeroZoom 18s ease-in-out infinite alternate;
}

@keyframes expHeroZoom {
    from { transform: scale(1.04) translateX(0); }
    to   { transform: scale(1.10) translateX(-1%); }
}

.exp-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 35, 55, 0.18) 0%,
        rgba(0, 50, 70, 0.45) 50%,
        rgba(0, 30, 48, 0.82) 100%
    );
    z-index: 1;
}

.exp-hero__body {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.53rem;
    padding-bottom: 2.754rem;
    animation: expFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.exp-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5355rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1475rem, 2vw, 1.683rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0.55em 1.4em 0.55em 1em;
    border-radius: 7.65rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
    animation: expFadeUp 0.8s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
    max-width: calc(100% - 3.672rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exp-hero__pill-dot {
    width: 0.612rem;
    height: 0.612rem;
    border-radius: 50%;
    background: var(--antologa-primary);
    box-shadow: 0 0 0 3px rgba(7, 130, 130, 0.35);
    animation: expPulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes expPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(7, 130, 130, 0.35); }
    50%       { box-shadow: 0 0 0 7px rgba(7, 130, 130, 0.12); }
}

.exp-hero__search-slot {
    width: 100%;
    max-width: 72rem;
    padding: 0 1.836rem;
    animation: expFadeUp 0.9s 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ══════════════════════════════════════════════════════════════════
   MAIN CONTAINER — 12-col CSS grid
   ══════════════════════════════════════════════════════════════════ */
.exp-container {
    width: 100%;
    max-width: 130rem;
    margin: 0 auto;
    padding: 2.754rem 1.836rem 6.12rem;
    overflow: hidden;
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 1.6rem;
    align-items: start;
    min-width: 0;
}

.exp-ad--left  { grid-column: 1 / 3;   min-width: 0; overflow: hidden; }
.exp-sidebar   { grid-column: 3 / 5;   min-width: 0; overflow: hidden; }
.exp-results   { grid-column: 5 / 11;  min-width: 0; overflow: hidden; }
.exp-ad--right { grid-column: 11 / 13; min-width: 0; overflow: hidden; }

/* ══════════════════════════════════════════════════════════════════
   TOOLBAR
   ══════════════════════════════════════════════════════════════════ */
.exp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.918rem;
    margin-bottom: 1.836rem;
    animation: expFadeIn 0.4s 0.25s ease both;
    min-width: 0;
    overflow: hidden;
}

.exp-toolbar__left {
    display: flex;
    align-items: center;
    gap: 0.918rem;
    min-width: 0;
    flex-wrap: wrap;
}

.exp-sort-group {
    display: flex;
    background: #ffffff;
    border: 1.5px solid #e0dfd9;
    border-radius: 0.612rem;
    padding: 0.2295rem;
    gap: 0.153rem;
    flex-shrink: 0;
}

.exp-sort {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9562rem;
    font-weight: 600;
    padding: 0.45em 1.2em;
    border: none;
    background: transparent;
    color: #7a7a75;
    border-radius: 0.3825rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.exp-sort:hover { color: var(--antologa-primary); }

.exp-sort--on {
    background: var(--antologa-primary);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(7, 130, 130, 0.26);
}

.exp-count {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9562rem;
    color: #9a9a95;
    font-weight: 600;
    white-space: nowrap;
}

.exp-toolbar__right {
    display: flex;
    align-items: center;
    gap: 0.765rem;
    flex-shrink: 0;
}

.exp-time-select {
    min-width: 9.18rem;
    max-width: 11.475rem;
    font-size: 0.9562rem !important;
}

.exp-filter-toggle {
    display: none;
    align-items: center;
    gap: 0.459rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9562rem;
    font-weight: 700;
    color: var(--antologa-dark);
    background: #ffffff;
    border: 1.5px solid #e0dfd9;
    border-radius: 0.612rem;
    padding: 0.5em 1.2em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.exp-filter-toggle:hover {
    border-color: var(--antologa-primary);
    color: var(--antologa-primary);
}

.exp-filter-toggle__icon { font-size: 1.224rem !important; }

/* ══════════════════════════════════════════════════════════════════
   SKELETON
   ══════════════════════════════════════════════════════════════════ */
.exp-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.224rem;
    min-width: 0;
    overflow: hidden;
}

.exp-skeleton {
    border-radius: 1.071rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e6e6e3;
    min-width: 0;
}

.exp-skeleton__img {
    height: 13.77rem;
    background: linear-gradient(90deg, #ebebeb 25%, #f5f5f3 50%, #ebebeb 75%);
    background-size: 200% 100%;
    animation: expShimmer 1.5s ease-in-out infinite;
}

.exp-skeleton__body {
    padding: 1.224rem;
    display: flex;
    flex-direction: column;
    gap: 0.765rem;
}

.exp-skeleton__line {
    height: 0.918rem;
    border-radius: 7.65rem;
    background: linear-gradient(90deg, #ebebeb 25%, #f5f5f3 50%, #ebebeb 75%);
    background-size: 200% 100%;
    animation: expShimmer 1.5s ease-in-out infinite;
}

.exp-skeleton__line--w80 { width: 80%; }
.exp-skeleton__line--w55 { width: 55%; animation-delay: 0.15s; }
.exp-skeleton__line--w35 { width: 35%; animation-delay: 0.3s; }

@keyframes expShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ══════════════════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════════════════ */
.exp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4.59rem 1.53rem;
    gap: 0.918rem;
}

.exp-empty__icon  { font-size: 3.672rem !important; color: var(--antologa-light) !important; }
.exp-empty__title { font-family: 'Inter', sans-serif !important; font-weight: 700 !important; color: var(--antologa-dark) !important; font-size: 1.377rem !important; }
.exp-empty__sub   { color: #9a9a95 !important; font-size: 1.071rem !important; }

.exp-empty__reset {
    margin-top: 0.612rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9945rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--antologa-primary);
    border: none;
    border-radius: 7.65rem;
    padding: 0.7em 2em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.exp-empty__reset:hover { background: var(--antologa-secondary); }

/* ══════════════════════════════════════════════════════════════════
   CARDS GRID
   ══════════════════════════════════════════════════════════════════ */
.exp-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.224rem;
    animation: expFadeIn 0.4s 0.1s ease both;
    min-width: 0;
    overflow: hidden;
}

/* ── FIX: class-based animation delays — replaces var(--i) ─────── */
.exp-card--anim-0 { animation-delay: 0ms; }
.exp-card--anim-1 { animation-delay: 60ms; }
.exp-card--anim-2 { animation-delay: 120ms; }
.exp-card--anim-3 { animation-delay: 180ms; }
.exp-card--anim-4 { animation-delay: 240ms; }
.exp-card--anim-5 { animation-delay: 300ms; }

.exp-card {
    background: #ffffff;
    border: 1px solid #e6e6e3;
    border-radius: 1.224rem;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    /* FIX: removed calc(var(--i, 0) * 0.06s) — delay now via .exp-card--anim-{n} */
    animation: expFadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    min-width: 0;
    width: 100%;
}

.exp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(7, 130, 130, 0.13), 0 4px 14px rgba(0,0,0,0.05);
}

.exp-card--featured {
    border-color: rgba(7, 130, 130, 0.3);
    box-shadow: 0 0 0 1px rgba(7, 130, 130, 0.15);
}

/* Card image */
.exp-card__img-wrap {
    position: relative;
    height: 15rem;
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
}

.exp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.exp-card:hover .exp-card__img { transform: scale(1.07); }

/* Top row overlay */
.exp-card__top-row {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.8415rem;
    display: flex;
    align-items: flex-start;
    gap: 0.3825rem;
    overflow: hidden;
}

.exp-card__cat {
    font-family: 'Nunito', sans-serif;
    font-size: 0.7268rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #ffffff;
    background: rgba(7, 130, 130, 0.9);
    padding: 0.22em 0.8em;
    border-radius: 7.65rem;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exp-card__new {
    font-family: 'Nunito', sans-serif;
    font-size: 0.6885rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--antologa-dark);
    background: var(--antologa-contrast);
    padding: 0.2em 0.75em;
    border-radius: 7.65rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.exp-card__heart {
    margin-left: auto;
    width: 2.448rem;
    height: 2.448rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.exp-card__heart:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.exp-card__heart--on { background: rgba(196, 84, 50, 0.1); }

.exp-card__heart-icon {
    font-size: 1.1475rem !important;
    color: #9a9a95 !important;
    transition: color 0.2s ease !important;
}

.exp-card__heart--on .exp-card__heart-icon {
    color: var(--antologa-terciary) !important;
    animation: expHeartPop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes expHeartPop {
    0%   { transform: scale(0.6); }
    60%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Hover overlay */
.exp-card__hover-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5.355rem;
    background: linear-gradient(to top, rgba(0,30,50,0.55) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0.918rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.exp-card:hover .exp-card__hover-overlay {
    opacity: 1;
    pointer-events: auto;
}

.exp-card__explore-btn {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8797rem;
    font-weight: 800;
    color: var(--antologa-primary);
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 7.65rem;
    padding: 0.44em 1.8em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.18s ease;
    transform: translateY(4px);
    white-space: nowrap;
}

.exp-card:hover .exp-card__explore-btn { transform: translateY(0); }
.exp-card__explore-btn:hover { background: var(--antologa-primary); color: #ffffff; }

/* Card body */
.exp-card__body {
    padding: 1rem 1.1rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.3443rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.exp-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.459rem;
    min-width: 0;
}

.exp-card__location {
    display: flex;
    align-items: center;
    gap: 0.2295rem;
    font-size: 0.8415rem;
    color: #8a8a85;
    font-family: 'Nunito', sans-serif;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exp-card__loc-icon  { font-size: 0.9562rem !important; color: var(--antologa-primary) !important; flex-shrink: 0; }

.exp-card__rating {
    display: flex;
    align-items: center;
    gap: 0.1913rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.exp-card__star-icon { font-size: 0.9562rem !important; color: var(--antologa-contrast) !important; }

.exp-card__rating-val {
    font-weight: 700;
    font-size: 0.8797rem;
    color: var(--antologa-dark);
    font-family: 'Inter', sans-serif;
}

.exp-card__reviews {
    font-size: 0.8032rem;
    color: #9a9a95;
    font-family: 'Nunito', sans-serif;
}

.exp-card__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.071rem;
    color: var(--antologa-dark);
    line-height: 1.3;
    margin: 0.153rem 0 0;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
    word-break: break-word;
}

.exp-card__operator {
    font-size: 0.8797rem;
    color: #9a9a95;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exp-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.8415rem;
    border-top: 1px solid #f0ede8;
    gap: 0.5rem;
    min-width: 0;
    flex-wrap: nowrap;
}

.exp-card__price-block {
    display: flex;
    align-items: baseline;
    gap: 0.306rem;
    flex-wrap: wrap;
    min-width: 0;
}

.exp-card__was      { text-decoration: line-through; font-size: 0.8415rem; color: #aaa; font-family: 'Nunito', sans-serif; white-space: nowrap; }
.exp-card__price    { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.4535rem; color: var(--antologa-primary); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.exp-card__per      { font-size: 0.8415rem; color: #9a9a95; font-family: 'Nunito', sans-serif; white-space: nowrap; }

.exp-card__duration {
    display: flex;
    align-items: center;
    gap: 0.2295rem;
    font-size: 0.8415rem;
    color: #8a8a85;
    font-family: 'Nunito', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.exp-card__dur-icon { font-size: 1.0328rem !important; color: #b0b0aa !important; }

/* ══════════════════════════════════════════════════════════════════
   LOAD MORE
   ══════════════════════════════════════════════════════════════════ */
.exp-load-more {
    display: flex;
    justify-content: center;
    margin-top: 2.754rem;
}

.exp-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5355rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1.0328rem;
    font-weight: 700;
    color: #7a7a75;
    background: #ffffff;
    border: 1.5px solid #e0dfd9;
    border-radius: 7.65rem;
    padding: 0.75em 3em;
    cursor: pointer;
    transition: all 0.22s ease;
}

.exp-load-btn:hover {
    border-color: var(--antologa-primary);
    color: var(--antologa-primary);
    box-shadow: 0 4px 16px rgba(7, 130, 130, 0.12);
}

.exp-load-btn:disabled { opacity: 0.55; cursor: default; }

.exp-load-icon { font-size: 1.377rem !important; }
.exp-spinner   { color: var(--antologa-primary) !important; }

/* ══════════════════════════════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════════════════════════════ */
@keyframes expFadeUp {
    from { opacity: 0; transform: translateY(1.53rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes expFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1279px) {
    .exp-hero { height: 100vh !important; }
    .exp-ad--left, .exp-ad--right { display: none !important; }
    .exp-sidebar  { grid-column: 1 / 4; top: 7rem; }
    .exp-results  { grid-column: 4 / 13; }
    .exp-filter-toggle { display: inline-flex; }
}

@media (max-width: 959px) {
    .exp-results   { grid-column: 1 / 13 !important; }
    .exp-container { padding: 2.4rem 1.6rem 5rem; }
    .exp-card-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
    .exp-hero      { height: 100vh; min-height: 24rem; }
}

@media (max-width: 768px) {
    .exp-card-grid    { grid-template-columns: 1fr; gap: 1.2rem; }
    .exp-skeleton-grid { grid-template-columns: 1fr; }
    .exp-toolbar      { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .exp-toolbar__left, .exp-toolbar__right { width: 100%; justify-content: space-between; }
}

@media (max-width: 480px) {
    .exp-container        { padding: 1.6rem 1rem 4rem; }
    .exp-hero             { height: 100vh; }
    .exp-hero__pill       { font-size: 1.3rem; padding: 0.45em 1em 0.45em 0.8em; }
    .exp-hero__search-slot { padding: 0 1rem; }
    .exp-sort-group       { width: 100%; }
    .exp-sort             { flex: 1; text-align: center; padding: 0.4em 0.6em; }
    .exp-time-select      { display: none !important; }
    .exp-card__img-wrap   { height: 13rem; }
    .exp-card__body       { padding: 0.9rem 1rem 1rem; }
}
