:root {
        --cream: #e8b4b8;
        --parchment: #ffd5d8;
        --ink: #1a1a14;
        --forest: #2d4a2d;
        --gold: #b8860b;
        --rust: #8b3a1a;
        --muted: #6b6356;
        --border: #e8b4b8;
    }



    /* Filter Panel */
    .filter-panel {
        background: white;
        border: 1px solid #e8b4b8;
        border-radius: 2px;
        padding: 1.75rem 2.25rem;
        margin-bottom: 2.5rem;
        box-shadow: 4px 4px 0 var(--parchment), 4px 4px 0 1px #e8b4b8;
        position: relative;
    }

    .filter-panel::before {
        content: 'Filter by Region';
        position: absolute;
        top: -0.6rem;
        left: 2rem;
        background: white;
        padding: 0 0.5rem;
        font-family: "Poppins", Sans-serif;
        font-size: 1rem;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: #000000;
    }

    .filter-row {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .filter-group {
        flex: 1;
        min-width: 200px;
    }

    .filter-panel .pill:hover,
    .filter-panel .pill.active {
        color: white !important;
    }

    .filter-group label {
        display: block;
        font-family: "Poppins", Sans-serif;
        font-size: 1rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #000;
        margin-bottom: 0.6rem;
        font-weight: 600;
    }

    .province-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .province-pills .pill {
        padding: 0.4rem 0.9rem;
        border: 1px solid var(--border);
        background: var(--cream);
        color: var(--ink);
        font-family: "Poppins", Sans-serif;
        font-size: 0.9rem;
        letter-spacing: 0.04em;
        cursor: pointer;
        border-radius: 1px;
        position: relative;
        overflow: hidden;
        transition: color 0.18s, border-color 0.18s;
    }

    .pill::before {
        content: '';
        position: absolute;
        inset: 0;
        transform: translateY(101%);
        transition: transform 0.18s ease;
        z-index: 0;
    }

    .pill span {
        position: relative;
        z-index: 1;
    }

    .pill-all::before {
        background: #d8a7b1;
    }

    .province-leinster::before {
        background: #d8a7b1;
    }

    .province-connacht::before {
        background: #d8a7b1;
    }

    .province-munster::before {
        background: #d8a7b1;
    }

    .province-ulster::before {
        background: #d8a7b1;
    }

    .pill:hover,
    .pill.active {
        color: white;
    }

    .pill:hover::before,
    .pill.active::before {
        transform: translateY(0);
    }

    .pill-all:hover,
    .pill-all.active {
        border-color: #d8a7b1;
    }

    .province-leinster:hover,
    .province-leinster.active {
        border-color: #d8a7b1;
    }

    .province-connacht:hover,
    .province-connacht.active {
        border-color: #d8a7b1;
    }

    .province-munster:hover,
    .province-munster.active {
        border-color: #d8a7b1;
    }

    .province-ulster:hover,
    .province-ulster.active {
        border-color: #d8a7b1;
    }

    .county-group {
        display: none;
        animation: slideDown 0.22s ease;
        flex: 2;
        min-width: 240px;
    }

    .county-group label {
        display: block;
        font-family: "Poppins", Sans-serif;
        font-size: 1rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #000;
        margin-bottom: 0.6rem;
        font-weight: 600;
    }

    .county-group.visible {
        display: block;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .county-select {
        width: 100%;
        padding: 0.5rem 2rem 0.5rem 0.75rem;
        border: 1px solid var(--border);
        background: var(--cream);
        color: var(--ink);
        font-family: "Poppins", Sans-serif;
        font-size: 0.85rem;
        appearance: none;
        border-radius: 1px;
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b6356'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
        font-weight: 600;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    .county-select option:hover,
    .county-select option:checked {
        background: #000;
        color: var(--cream);
    }

    .county-select option {
        font-weight: 600;
    }

    .county-select:focus {
        outline: none;
        border-color: var(--forest);
    }

    .active-filters {
        display: none;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1.1rem;
        padding-top: 1.1rem;
        border-top: 1px dashed var(--border);
        font-family: "Poppins", Sans-serif;
        font-size: 0.72rem;
        color: var(--muted);
        flex-wrap: wrap;
    }

    .active-filters.visible {
        display: flex;
    }

    .filter-tag {
        background: #ffe8ea;
        border: 1px solid #e8b4b8;
        padding: 0.18rem 0.55rem;
        color: var(--forest);
        font-weight: 600;
        font-size: 0.8rem;
    }

    /* Results header */
    .results-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .results-title {
        font-family: 'Playfair Display', serif;
        font-size: 1.05rem;
        color: var(--forest);
        font-style: italic;
    }

    .results-count {
        font-family: "Poppins", Sans-serif;
        font-size: 0.72rem;
        color: var(--muted);
        letter-spacing: 0.1em;
    }

    /* Gallery */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.75rem;
    }

    /* Hotel Deal Card */
    .hotel-card {
        background: white;
        border: 1px solid var(--border);
        overflow: hidden;
        transition: transform 0.22s ease, box-shadow 0.22s ease;
        animation: fadeUp 0.32s ease both;
        display: flex;
        flex-direction: column;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(14px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hotel-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
    }

    .card-image-wrap {
        position: relative;
        overflow: hidden;
        height: 200px;
        background: var(--parchment);
    }

    .card-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .hotel-card:hover .card-image-wrap img {
        transform: scale(1.05);
    }

    .card-province-badge {
        position: absolute;
        top: 0.75rem;
        left: 0.75rem;
        background: rgba(26, 26, 20, 0.72);
        backdrop-filter: blur(4px);
        color: #e8d5a0;
        font-family: "Poppins", Sans-serif;
        font-size: 0.58rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        padding: 0.25rem 0.65rem;
        border-radius: 1px;
    }

    .card-body {
        padding: 0.2rem 1.3rem 1.3rem;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .card-county-label {
        font-family: "Poppins", Sans-serif;
        font-size: 0.6rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--gold);
        margin-bottom: 0.3rem;
    }

    .card-hotel-name {
        font-family: 'Playfair Display', serif;
        font-size: 1.08rem;
        font-weight: 700;
        color: var(--ink);
        line-height: 1.25;
        margin-bottom: 0.22rem;
    }

    .card-tagline {
        font-size: 0.77rem;
        color: var(--muted);
        font-style: italic;
        margin-bottom: 1rem;
        line-height: 1.45;
    }

    .deal-perks {
        list-style: none;
        margin-bottom: 1.1rem;
        flex: 1;
    }

    .deal-perks li {
        display: flex;
        align-items: flex-start;
        gap: 0.55rem;
        font-size: 0.79rem;
        color: #2e2e26;
        line-height: 1.5;
        padding: 0.3rem 0;
        border-bottom: 1px solid #f0ece4;
    }

    .deal-perks li:last-child {
        border-bottom: none;
    }

    .perk-icon {
        font-size: 0.9rem;
        flex-shrink: 0;
        margin-top: 0.06rem;
    }

    .card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding-top: 0.9rem;
        border-top: 1px solid var(--border);
        margin-top: auto;
    }

    .price-from {
        font-family: "Poppins", Sans-serif;
        font-size: 0.58rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--muted);
        display: block;
        margin-bottom: 0.08rem;
    }

    .price-value {
        font-family: 'Playfair Display', serif;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--forest);
        line-height: 1;
    }

    .price-sharing {
        font-size: 0.68rem;
        color: var(--muted);
        font-style: italic;
        display: block;
        margin-top: 0.12rem;
    }

    .btn-deal {
        padding: 0.62rem 1.2rem;
        background: var(--forest);
        color: white;
        border: none;
        font-family: "Poppins", Sans-serif;
        font-size: 0.72rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        cursor: pointer;
        transition: background 0.18s, transform 0.12s;
        white-space: nowrap;
        border-radius: 1px;
        flex-shrink: 0;
    }

    .btn-deal:hover {
        background: var(--ink);
        transform: scale(1.03);
    }

    .empty-state {
        text-align: center;
        padding: 4rem 2rem;
        color: var(--muted);
        display: none;
        border: 1px dashed var(--border);
    }

    .empty-state.visible {
        display: block;
    }

    .empty-state p {
        font-style: italic;
        font-size: 0.9rem;
    }

    .cards-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 equal columns */
        gap: 20px;
        /* optional spacing */
        max-width: 100%;
        width: 100%;
    }

    .deal-card {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.12);
        border-bottom: 5px solid var(--e-global-color-954fec8);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        padding: 20px;
    }

    .card-image {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
    }

    .card-image-placeholder {
        width: 100%;
        height: 320px;
        background: linear-gradient(135deg, #c9a882, #8b6b4a);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
    }

    .card-body {
        padding: 0.4rem 0 0;
    }

    .card-title {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 24px;
        font-weight: 600;
        color: var(--e-global-color-2fab495);
        margin-bottom: 1rem;
        line-height: 34px;
        text-align: center;
        margin-top: 14px;
    }

    .features-list {
        list-style: none;
        margin-bottom: 1.4rem;
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        padding: 0;
    }

    .features-list p {
        font-size: 16px;
        font-weight: 500;
        color: #000;
        line-height: 28px;
        margin-bottom: 0;
    }

    .features-list li {
        font-size: 0.88rem;
        color: #333;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        line-height: 1.4;
        font-family: "Poppins", Sans-serif;

    }

    .features-list li .emoji {
        flex-shrink: 0;
        font-size: 1rem;
    }

    .get-deal-btn {
        background-color: #D8A7B1;
        font-family: "Poppins", Sans-serif;
        font-size: 20px;
        font-weight: 600;
        fill: #2D2D2D;
        color: #2D2D2D;
        border-style: solid;
        border-width: 2px 2px 2px 2px;
        border-color: #D8A7B1;
        border-radius: 50px 50px 50px 50px;
        padding: 15px 25px 15px 25px;
        transition: all 0.3s;
        width: fit-content;
        margin: auto;
    }

    .get-deal-btn:hover {
        background-color: #02010100;
        transform: scale(1.1);
        color: #D8A7B1;
        border-color: #D8A7B1;
    }

    .get-deal-btn .arrow {
        font-size: 1rem;
        transition: transform 0.2s;
    }

    .get-deal-btn:hover .arrow {
        transform: translateX(3px) translateY(-3px);
    }

    .filter-panel .pill:hover,
    .filter-panel .pill.active:hover,
    .filter-panel .pill:focus {
        color: var(--cream) !important;
    }

    .cards-grid img.card-image {
        border-radius: 10px;
        height: 250px;
        object-fit: cover;
        transition: all 0.3s;
    }

    .cards-grid img.card-image:hover {
        transform: scale(1.1);
    }

    #noDealsFiltered {
        background: linear-gradient(135deg, #f8e4e7, #f3d6db);
        border: 1px solid #e5b9c0;
        padding: 35px 40px;
        border-radius: 16px;
        text-align: center;
        font-size: 20px;
        font-weight: 500;
        color: #000;
        margin: 0 0 50px;
        max-width: 650px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        position: relative;
        width: fit-content;
    }

    a.get-deal-btn {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    a.get-deal-btn:hover .elementor-button-icon svg path {
        stroke: #d8a7b1;
    }

    #noDealsFiltered::before {
        content: "✨";
        display: block;
        font-size: 28px;
        margin-bottom: 12px;
    }

    /* ------------------------------------------------------ Responsive CSS ------------------------------------------------------ */

    @media screen and (min-width:1025px) and (max-width:1240px){
        .filter-panel,
        .cards-grid{
            width: calc(100% - 30px);
            margin:0 auto 40px;
        }
    }
    @media screen and (min-width:992px) and (max-width:1024px){
        .filter-panel,
        .cards-grid{
            width: calc(100% - 30px);
            margin:0 auto 40px;
        }
    }
    @media screen and (min-width:768px) and (max-width:991px){
        .filter-panel,
        .cards-grid{
            width: calc(100% - 30px);
            margin:0 auto 40px;
        }
        .get-deal-btn{
            font-size: 16px;
            padding: 12px 30px;
        }
        .card-body a svg{
            width: 15px;
        }
        #noDealsFiltered{
            max-width: 100%;
            font-size: 18px;
            padding: 15px 40px;
            margin-bottom: 0;
        }
    }
    @media (max-width: 767px){
        .filter-panel,
        .cards-grid{
            width: calc(100% - 30px);
            margin:20px auto 40px;
            grid-template-columns:repeat(1, 1fr);
        }
        .get-deal-btn{
            font-size: 16px;
            padding: 12px 30px;
        }
        .card-body a svg{
            width: 15px;
        }
        .cards-grid{
            margin-bottom: 0;
        }
        .filter-group,
        .county-group{
            width: 100%;
        }
        #noDealsFiltered{
            max-width: 100%;
            font-size: 18px;
            padding: 15px 40px;
            margin: auto;
            margin-bottom: 0;
        }
    }
    @media (max-width: 640px) {

        .card-image,
        .card-image-placeholder {
            width: 100%;
            height: 220px;
        }

        .filter-row {
            flex-direction: column;
        }

        .gallery-grid {
            grid-template-columns: 1fr;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
        }
        .deal-card{
            padding: 15px;
        }
        .filter-panel{
            padding: 25px 15px 15px;
        }
    }
