@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    background: #ffffff;
    color: #ffffff;
}

main {
    width: 100%;
}

.breadcrumbs-section {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 3rem 10px 0.75rem;
}

.breadcrumbs-wrap {
    margin: 0 auto;
}

.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.25;
    color: #000000;
    white-space: nowrap;
}

.breadcrumbs a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #a1a1a1;
}

.breadcrumbs .separator {
    color: #9298b5;
}

.breadcrumbs .current-page {
    color: #0400ff;
}

.listing-hero-section {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 1rem 10px 0.75rem;
}

.listing-hero-wrap {
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
    align-items: center;
    gap: 22px;
}

.listing-hero-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.2vw, 4.5vw);
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #000000;
}

.listing-search {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(125, 133, 185, 0.24);
    background: #ffffff;
}

.listing-search .fa-magnifying-glass {
    color: #000000;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.listing-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #000000;
    font-family: inherit;
    font-size: 1.1rem;
}

.listing-search input::placeholder {
    color: #353535;
    font-size: 0.9rem;
    font-weight: 300;
}

.listing-search button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #000000;
    cursor: pointer;
}

.listing-search button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.listing-search input:focus-visible,
.listing-search button:focus-visible {
    outline: 2px solid #8f48ff;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.listing-filters-section {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 10px 0.75rem;
}

.listing-filters-wrap {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.listing-results-count {
    margin: 0;
    color: #000000;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.2;
    white-space: nowrap;
}

.listing-filter-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.listing-filter-dropdown {
    position: relative;
}

.listing-filter-pill {
    height: 40px;
    padding: 5px 20px;
    border: 0;
    border-radius: 999px;
    background: #f1f1f1;
    color: #000000;
    font-family: "Outfit", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    white-space: nowrap;
}

.listing-filter-pill i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.listing-filter-dropdown.is-open .listing-filter-trigger i {
    transform: rotate(180deg);
}

.listing-filter-pill:hover {
    filter: brightness(0.97);
}

.listing-filter-pill:focus-visible {
    outline: 2px solid #8f48ff;
    outline-offset: 2px;
}

.listing-filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    min-width: 150px;
    padding: 8px;
    border-radius: 14px;
    background: #f1f1f1;
    display: none;
}

.listing-filter-dropdown.is-open .listing-filter-menu {
    display: grid;
    gap: 6px;
}

.listing-filter-option {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #000000;
    text-align: left;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 400;
    padding: 9px 10px;
    cursor: pointer;
}

.listing-filter-option:hover,
.listing-filter-option:focus-visible {
    background: #ebebeb;
    border: 1px solid rgba(125, 133, 185, 0.24);
    outline: none;
}

.listing-gallery-section {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem 10px 2rem;
}

.listing-gallery-wrap {
    max-width: 1750px;
    margin: 0 auto;
}

.listing-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 2.5rem;
}

.listing-pagination[hidden] {
    display: none !important;
}

.listing-pagination__btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.28);
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.listing-pagination__btn:hover:not(:disabled) {
    background: rgba(23, 65, 157, 0.08);
}

.listing-pagination__btn.is-active {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.listing-pagination__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.listing-gallery-grid {
    column-count: 3;
    column-gap: 40px;
}

.listing-gallery-card {
    margin: 0 0 20px;
    position: relative;
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    overflow: hidden;
}

.listing-gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.trend-score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(12, 12, 14, 0.78);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
    backdrop-filter: blur(6px);
    pointer-events: none;
}

.trend-score-badge::before {
    content: "\f06d";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 0.72rem;
}

.listing-gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0));
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.listing-gallery-card:hover .listing-gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.prompt-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.prompt-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.prompt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.537);
    backdrop-filter: blur(2px);
}

.prompt-modal-card {
    position: relative;
    width: min(96vw, 1160px);
    margin: 0;
    max-height: calc(100vh - 32px);
    overflow: auto;
    border-radius: 28px;
    background: #ececec;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
    gap: 26px;
    z-index: 1;
}

.prompt-modal-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: 640px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.prompt-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(125, 133, 185, 0.24);
    color: #000000;
    font-size: 1.1rem;
    cursor: pointer;
}

.prompt-modal-content h2 {
    margin: 20px 0 10px;
    font-size: 1.8rem;
    padding-right: 20px;
    line-height: 1.15;
    color: #000000;
    font-weight: 600;
}

.prompt-modal-category {
    margin: 0;
    color: #353535;
    font-size: 1rem;
    font-weight: 300;
}

.prompt-modal-box {
    margin-top: 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(125, 133, 185, 0.24);
    padding: 20px 24px;
}

.prompt-modal-box h3 {
    margin: 0 0 8px;
    font-size:1.2rem;
    color: #000000;
}

.prompt-modal-box p {
    margin: 0;
    color: #000000;
    font-size: 1rem;
    line-height: 1.45;
}

.prompt-modal-hashtags {
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prompt-hashtag-chip {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border-color: #8f48ff;
    background: #ffffff;
    color: #000000;
    font-weight: 400;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.prompt-hashtag-chip:hover {
    background: rgba(156, 192, 255, 0.3);
    color: #c2d8ff;
}

.prompt-modal-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.prompt-modal-related {
    margin-top: 28px;
}

.prompt-modal-related h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #000000;
}

.prompt-modal-related-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.prompt-related-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.prompt-related-card:focus-visible {
    outline: 2px solid #8f48ff;
    outline-offset: 2px;
}

.prompt-related-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.prompt-modal-btn {
    height: 40px;
    border: 0;
    border-radius: 999px;
    border-color: #8f48ff;
    background: #000000;
    color: #ffffff;
    padding: 0 18px;
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.prompt-modal-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

body.modal-open {
    overflow: hidden;
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%) translateY(10px);
    background: #1f7a3f;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 999px;
    z-index: 2100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 991px) {
    .breadcrumbs-section {
        padding: 14px 20px 20px;
    }

    .breadcrumbs {
        font-size: 1.15rem;
        gap: 10px;
    }

    .listing-hero-section {
        padding: 0 20px 28px;
    }

    .listing-hero-wrap {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .listing-hero-title {
        margin-top: 30px;
        font-size: clamp(1.4rem, 3.4vw, 2.1rem);
        text-align: center;
        margin-bottom: 20px;
    }

    .listing-search {
        min-height: 58px;
        max-width: 560px;
        justify-self: center;
    }

    .listing-filters-section {
        padding: 0 20px 26px;
    }

    .listing-filters-wrap {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .listing-results-count {
        font-size: 1.12rem;
        margin-bottom: 10px;
    }

    .listing-filter-actions {
        width: auto;
        margin-left: auto;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .listing-filter-menu {
        min-width: 120px;
    }

    .listing-filter-pill {
        height: 46px;
        padding: 8px 18px;
        font-size: 1rem;
        gap: 10px;
    }

    .listing-filter-pill i {
        font-size: 0.95rem;
    }

    .listing-gallery-section {
        padding: 0 20px 56px;
    }

    .listing-gallery-grid {
        column-count: 3;
        column-gap: 18px;
    }

    .listing-pagination {
        margin-top: 2rem;
        gap: 8px;
    }

    .prompt-modal.is-open {
        align-items: flex-start;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 12px;
    }

    .prompt-modal-backdrop {
        position: fixed;
    }

    .prompt-modal-card {
        grid-template-columns: 1fr;
        width: min(94vw, 880px);
        max-height: none;
        overflow: visible;
        margin: 12px auto 24px;
        padding: 20px 20px 50px;
        gap: 16px;
    }

    .prompt-modal-image-wrap {
        width: min(100%, 420px);
        margin: 0 auto;
        aspect-ratio: 3 / 4;
        overflow: hidden;
        border-radius: 18px;
    }

    .prompt-modal-image-wrap img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        border-radius: 18px;
    }

    .prompt-modal-content h2 {
        font-size: 2rem;
        padding-right: 48px;
    }

    .prompt-modal-category {
        font-size: 1.15rem;
    }

    .prompt-modal-box {
        margin-top: 16px;
        padding: 14px;
        border-radius: 16px;
    }

    .prompt-modal-box h3 {
        font-size: 1.35rem;
        margin-bottom: 20px;
    }

    .prompt-modal-box p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .prompt-modal-btn {
        height: 42px;
        font-size: 0.95rem;
    }

    .prompt-modal-related {
        margin-top: 22px;
    }

    .prompt-modal-related h3 {
        font-size: 1.2rem;
    }

    .prompt-modal-related-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .breadcrumbs-section {
        padding: 20px 20px 16px;
    }

    .breadcrumbs-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .breadcrumbs {
        font-size: 1rem;
        gap: 8px;
    }

    .listing-hero-section {
        padding: 0 20px 22px;
    }

    .listing-hero-wrap {
        gap: 12px;
    }

    .listing-hero-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }

    .listing-search {
        min-height: 52px;
        padding: 8px 10px 8px 14px;
    }

    .listing-search .fa-magnifying-glass {
        font-size: 0.95rem;
    }

    .listing-search input {
        font-size: 0.95rem;
    }

    .listing-search button {
        width: 36px;
        height: 36px;
    }

    .listing-filters-section {
        padding: 0 16px 22px;
    }

    .listing-filters-wrap {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
    }

    .listing-results-count {
        font-size: 0.95rem;
        font-weight: 500;
    }

    .listing-filter-actions {
        width: 100%;
        margin-left: 0;
        flex-wrap: wrap;
        overflow: visible;
        gap: 8px;
        padding-bottom: 0;
        -webkit-overflow-scrolling: touch;
    }

    .listing-filter-pill {
        flex: 0 0 auto;
        height: 40px;
        padding: 8px 14px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .listing-filter-menu {
        min-width: 120px;
    }

    .listing-gallery-section {
        padding: 0 16px 44px;
    }

    .listing-gallery-grid {
        column-count: 2;
        column-gap: 16px;
    }

    .listing-pagination {
        margin-top: 1.5rem;
        gap: 6px;
    }

    .listing-pagination__btn {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 0.88rem;
    }

    .listing-gallery-card img {
        border-radius: 0;
    }


    .listing-gallery-overlay {
        padding: 20px 8px;
        font-size: 1rem;
    }

    .listing-gallery-card:active .listing-gallery-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .prompt-modal.is-open {
        padding: 8px;
    }

    .prompt-modal-card {
        width: calc(100vw - 16px);
        margin: 8px auto 28px;
        border-radius: 20px;
        padding: 15px 15px 40px;
        max-height: none;
        overflow: visible;
    }

    .prompt-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .prompt-modal-image-wrap {
        width: min(100%, 280px);
        margin: 0 auto;
        aspect-ratio: 3 / 4;
        overflow: hidden;
        border-radius: 14px;
    }

    .prompt-modal-image-wrap img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        border-radius: 14px;
    }

    .prompt-modal-content h2 {
        font-size: 1.28rem;
        padding-right: 42px;
    }

    .prompt-modal-category {
        font-size: 0.92rem;
    }

    .prompt-modal-box {
        margin-top: 12px;
        padding: 12px;
    }

    .prompt-modal-box h3 {
        font-size: 1.05rem;
    }

    .prompt-modal-box p {
        font-size: 0.9rem;
    }

    .prompt-modal-actions {
        margin-top: 14px;
        gap: 10px;
    }

    .prompt-modal-btn {
        height: 38px;
        padding: 0 14px;
        font-size: 0.85rem;
    }

    .prompt-modal-related {
        margin-top: 18px;
    }

    .prompt-modal-related h3 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .prompt-modal-related-grid {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .prompt-related-card {
        flex: 0 0 30%;
        max-width: 30%;
    }
}