* {
    box-sizing: border-box;
    margin: 0%;
    padding: 0;
}
body{
    font-family:Arial, Helvetica, sans-serif;
    background-image: url("/static/plan/images/xmas.66b5510ae0e1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}
main{
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    align-items: center;
}

h1{
    /* font-family: 'Caveat', cursive; */
    font-family: "Mountains of Christmas", serif;
    font-size: 3.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem; 
    display: inline-block;
    background: linear-gradient(-45deg, #ffffff, #42ed53, #f63939, #000000);
    background-size: 400% 400%;
    animation: gradientFlow 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 0.2em 0.1em;
    margin-right: -0.2em;
}






/*--------------------------------------XMAS MODE---------------------------------------------------------------*/
.xmas-snow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;

    background-image:
        radial-gradient(3px 3px at 40px 60px, white 99%, transparent),
        radial-gradient(2px 2px at 120px 150px, white 99%, transparent),
        radial-gradient(3px 3px at 200px 80px, white 99%, transparent),
        radial-gradient(2px 2px at 300px 200px, white 99%, transparent);

    background-size:
        350px 350px,
        250px 250px,
        300px 300px,
        400px 400px;

    animation: xmas-snowfall 12s linear infinite;
}

@keyframes xmas-snowfall {
    from {
        background-position:
            0 -350px,
            0 -250px,
            0 -300px,
            0 -400px;
    }

    to {
        background-position:
            0 350px,
            0 250px,
            0 300px,
            0 400px;
    }
}


.xmas-right{
    position: fixed;
    right: 20px;
    bottom: 2px;
    z-index: 10002;
    cursor: pointer;
    pointer-events: auto;
    z-index: 9999;
    font-size: clamp(2.5rem, 6vw, 5rem);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.35));
    animation: xmas-glow 3s ease-in-out infinite alternate;
}

.xmas-decorations::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    z-index: 9997;
    pointer-events: none;

    background:
        radial-gradient(ellipse at 10% 100%, white 0%, transparent 65%),
        radial-gradient(ellipse at 35% 110%, #f5fbff 0%, transparent 70%),
        radial-gradient(ellipse at 65% 100%, white 0%, transparent 65%),
        radial-gradient(ellipse at 90% 110%, #f5fbff 0%, transparent 70%);

    background-color: transparent;
    filter: drop-shadow(0 -3px 5px rgba(255,255,255,0.2));
}

.xmas-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    z-index: 10000;
    pointer-events: none;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 5px 12px 0;
    box-sizing: border-box;
    background:
        linear-gradient(#222, #222)
        top 3px left / 100% 2px no-repeat;
}

.xmas-bulb {
    position: relative;
    width: 8px;
    height: 10px;
    border-radius: 50% 50% 45% 45%;

    animation: xmas-twinkle 1.5s ease-in-out infinite alternate;
}


.xmas-bulb:nth-child(4n + 1) {
    background: #ff3030;
    box-shadow: 0 0 8px 3px #ff303099;
}

.xmas-bulb:nth-child(4n + 2) {
    background: #22e66b;
    box-shadow: 0 0 8px 3px #22e66b99;
}

.xmas-bulb:nth-child(4n + 3) {
    background: #ffa135;
    box-shadow: 0 0 8px 3px #ffae3599;
}

.xmas-bulb:nth-child(4n) {
    background: #ff8772;
    box-shadow: 0 0 8px 3px #f8747499;
}


.xmas-bulb::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 4px;
    width: 4px;
    height: 3px;
    background: #555;
}

.xmas-bulb:nth-child(odd) {
    animation-delay: 0.5s;
}


.xmas-popup {
    display: none;
    position: fixed;
    right: 95px;
    bottom: 65px;
    background: #165b35;
    color: white;
    padding: 14px 20px;
    border: 2px solid #f5d76e;
    border-radius: 16px;
    text-align: center;
    z-index: 10003;
    width: max-content;
    max-width: 260px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: xmasBubble 0.3s ease;
}
.xmas-popup::after {
    content: "";
    position: absolute;
    right: -8px;
    bottom: 10px;
    width: 14px;
    height: 14px;
    background: #165b35;
    border-right: 2px solid #f5d76e;
    border-bottom: 2px solid #f5d76e;
    transform: rotate(-45deg);
}

.xmas-popup span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
}
.xmas-popup strong {
    display: block;
    font-family: 'Mountains of Christmas', cursive;
    font-size: 20px;
}

.xmas-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
@keyframes xmasBubble {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes xmas-twinkle {
    from {
        opacity: 0.65;
        filter: brightness(0.8);
    }

    to {
        opacity: 1;
        filter: brightness(1.5);
    }
}

@keyframes xmas-glow {
    from {
        filter: drop-shadow(0 0 3px rgba(255,255,255,0.2));
    }

    to {
        filter: drop-shadow(0 0 12px rgba(255,255,255,0.6));
    }
}

@media (max-width: 600px) {
    .xmas-lights {
        height: 30px;
    }

    .xmas-bulb {
        width: 6px;
        height: 8px;
    }
    .xmas-right{
        font-size: 4.5rem;
        right: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .xmas-bulb {
        animation: none;
    }
}




 /*--------------------------------------XMAS MODE---------------------------------------------------------------*/




@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.subtitle {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.cashin {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    padding: 0.4rem 0.6rem;
    gap: 0.5rem;
}

.currency {
    font-weight: 600;
    color: #333;
    padding-left: 0.5rem;
}

.cashin input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    width: 220px;
    padding: 0.4rem;
}

.mode-prompt {
    margin: 1.75rem 0 1rem;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mode {
    position: relative;
    height: 150px;
    width: 270px;
    border: none;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mode:hover:not([disabled]) {
    transform: scale(1.06) translateY(-4px);
}

.mode[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.mode .content {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.mode .soon {
    font-size: 0.7rem;
    font-weight: 400;
    margin-top: 0.25rem;
    opacity: 0.9;
}


.age-note { 
    font-size: 0.8rem; 
    color: #b9d711; 
    background: #000000;
    font-weight: 400;
    font-size: 1.1rem;
    margin: 0.25rem 0 1rem; }

.split { margin-top: 0.5rem; width: 100%; }

.split-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    padding: 0.15rem;
}

.split-controls button {
    width: 25px;
    height: 25px;
    border: none;
    border-radius: 50%;
    background: #639922;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
.container:has(> .results) {
    max-width: 1300px;
}

.split-controls button:disabled { opacity: 0.35; cursor: not-allowed; }
.split-count { min-width: 1.5rem; text-align: center; font-weight: 600; }
.split-text { margin-top: 0.35rem; font-size: 0.75rem; color: #374151; min-height: 2.6em; }

.tulia {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
    gap: 1rem;
    padding: 0;
    align-items: start;
}

.tulia .result-item {
    display: flex;
    flex-direction: row;
    align-items: stretch; 
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;    
    text-align: left;
}

.tulia .result-img-wrap {
    position: relative;
    flex: 0 0 240px;
    width: 240px;
    min-height: 170px;
    margin: 0;
    overflow: hidden;
}

.tulia .result-img { 
    position: absolute;
    inset: 0;
    width: 100%;
    min-width: 100%;
    object-fit: cover;
}

.tulia .result-name,
.tulia .result-place,
.tulia .result-price,
.tulia .change {
    display: block; 
    font-family: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tulia .result-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem; 
    padding: 0.75rem 1rem;
}

.tulia .result-name  { font-size: 1rem; font-weight: 600; color: #1a1f36; }
.tulia .result-place { font-size: 0.85rem; color: #6b7280; }
.tulia .result-price { font-size: 1rem; font-weight: 500; }
.tulia .change       { font-size: 0.75rem; color: #3B6D11; font-weight: 500; }
.tulia .split { 
    margin-top: 0.4rem; 
}
.tulia .split-text { 
    min-height: 2.6em;
    font-size: 0.78rem; 
    color: #e03902; 
    font-weight: 900;
}

.comrades { margin-top: 0.5rem; width: 100%; }
.comrades [hidden] { display: none !important; }

.comrades-toggle {
    border: 4px solid #af07bb;
    background: transparent;
    color: #af07bb;
    border-radius: 999px;
    padding: 0.25rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.comrades-toggle[aria-expanded="true"] { background: #af07bb; color: #fff; }

.comrades-panel {
    margin-top: 0.5rem;
    padding: 0.6rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
}
.comrades-hint { font-size: 0.75rem; color: #6b7280; margin-bottom: 0.4rem; }

.comrades-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.comrades-label { flex: 0 0 5.5rem; font-size: 0.8rem; color: #374151; }
.comrades-amount {
    flex: 1;
    min-width: 0;
    padding: 0.3rem 0.5rem;
    border: 1px solid #af07bb;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #fff;
}
.comrades-remove {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: #e5e7eb;
    color: #374151;
    line-height: 1;
    cursor: pointer;
}

.comrades-actions { display: flex; gap: 0.75rem; margin: 0.4rem 0; }
.comrades-add, .comrades-clear {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.8rem;
    cursor: pointer;
}
.comrades-add { color: #af07bb; font-weight: 600; }
.comrades-clear { color: #6b7280; }

.comrades-bar { height: 6px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.comrades-bar-fill { height: 100%; width: 0; background: #af07bb; transition: width 0.2s ease; }
.comrades-summary { margin-top: 0.4rem; font-size: 0.78rem; color: #374151; }

.comrades.is-full .comrades-bar-fill { background: #3B6D11; }
.comrades.is-over .comrades-bar-fill { background: #d9534f; }
.comrades.is-over .comrades-summary { color: #b3261e; }


@media (max-width: 400px) {
    .tulia .result-img-wrap { 
        flex-basis: 120px; 
        width: 120px; 
        min-height: 120px; 
    }
}
@media (max-width: 640px) {
    .results.tulia {
        grid-template-columns: 1fr;
    }

    .results.tulia .result-item {
        flex-direction: column;
    }

    .results.tulia .result-item .result-img-wrap {
        flex: none;
        width: 100%;
        height: 270px;
        min-height: 270px;
    }
    .results.tulia .comrades-toggle {
        width: 100%;
        font-size: 0.9rem;
    }
    .results.tulia .split-text {
        min-height: 0;
        margin: 0.25rem 0 0;
        font-size: 0.85rem;
    }
        .results.tulia .split-controls {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
        padding: 0.25rem;
    }

    .results.tulia .split-controls button {
        width: 36px;
        height: 25px;
        font-size: 1.2rem;
    }

    .results.tulia .split-count {
        flex: 1;
        text-align: center;
        font-size: 1.1rem;
    }

    .results.tulia .comrades {
        margin-top: 0.35rem;
    }

    .results.tulia .result-body {
        justify-content: flex-start;
    }

    .results.tulia .result-name {
        white-space: normal;
    }
}

.food { background-image: url("/static/plan/images/food.11816f4f9d4c.jpg"); }
.activities { background-image: url("/static/plan/images/activities.faf5ff3d631d.jpg"); }
.events { background-image: url("/static/plan/images/events.fbd199cad1b5.jpg"); }
.recipes { background-image: url("/static/plan/images/recipes.1348efec890e.jpg"); }
.transport { background-image: url("/static/plan/images/transport.c1f93cbe97b1.jpg"); }
.punguza { background-image: url("/static/plan/images/punguza.589772a20ac0.jpg"); } 
.students { background-image: url("/static/plan/images/sch.14ae5cb6171c.jpg"); }
.thrift { background-image: url("/static/plan/images/thrift.d2a1aef29425.jpg"); }
.december { background-image: url("/static/plan/images/nye.9dc39e8e9362.jpg"); }

.evently-link {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #d0d0d0;
}

.evently-link a {
    color: #fff;
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.75rem;
    color: #a7a5a5;
    background: rgba(0, 0, 0, 0.35);
}
.site-social { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 0.5rem; 
    margin-bottom: 0.6rem; 
}
.site-social a {
    padding: 0.25rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #ffaa8e;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.site-social a:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.site-social a:focus-visible { outline: 2px solid #b9d711; outline-offset: 2px; }

.site-legal {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.site-legal a {
    color: #b7ea7d;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.site-legal a:hover {
    color: white;
    text-decoration: none;
}


.privacy-container {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    color: white;
    text-align: left;
}

.privacy-back {
    display: inline-block;
    color: #b9d711;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.privacy-back:hover {
    color: white;
}

.privacy-header {
    text-align: center;
    margin-bottom: 2rem;
}

.privacy-header h1 {
    font-family: "Caveat", cursive;
    font-size: clamp(2.8rem, 6vw, 4rem);
    margin-bottom: 0.5rem;
}

.privacy-subtitle {
    color: #e0e0e0;
    font-size: 0.95rem;
}

.privacy-updated {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 0.9rem;
    background: rgba(99, 153, 34, 0.8);
    border-radius: 999px;
    font-size: 0.75rem;
}

.privacy-content {
    background: rgba(255, 255, 255, 0.94);
    color: #263238;
    padding: 1.2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.privacy-content section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.privacy-content section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-content h2 {
    color: #638f24;
    font-family: "Sanchez", serif;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.privacy-content h3 {
    color: #8a610e;
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
}

.privacy-content p {
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 0.7rem;
}

.privacy-content ul {
    padding-left: 1.5rem;
    margin: 0.7rem 0;
}

.privacy-content li {
    font-size: 0.9rem;
    line-height: 1.8;
}

.privacy-contact a {
    display: inline-block;
    color: #638f24;
    font-weight: 700;
    text-decoration: none;
    margin-top: 0.5rem;
}

.privacy-contact a:hover {
    text-decoration: underline;
}

.privacy-brand {
    font-family: "Caveat", cursive;
    font-size: 2.5rem !important;
    color: #af1717;
    margin-top: 1rem;
    text-align: right;
}

@media (max-width: 600px) {
    .privacy-content {
        padding: 1.2rem;
    }

    .privacy-content h2 {
        font-size: 1.1rem;
    }
    
    .floating-website-btn {
        left: 10px;
        bottom: 15px;
        padding: 10px 13px;
        font-size: 12px;
    }
}
.float{
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    background: #b55206ac;
    color: white;
    border: 0.5px solid #ff6e6e;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.float:hover {
    background: #217849;
    color: white;
    border: 2px solid #fa1515;
}

.float i {
    font-size: 17px;
}

.plan-messages {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 70;
    width: min(360px, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    pointer-events: none;
}

.plan-messages .message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.plan-messages .message-text {
    text-align: left;
}

.message-close {
    flex: 0 0 auto;
    padding: 0 0.25rem;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0.6;
    cursor: pointer;
}

.message-close:hover { opacity: 1; }
.message-close:focus-visible { outline: 2px solid #639922; outline-offset: 2px; }

.message.error {
    border-left: 4px solid #d9534f;
}

.message.success {
    border-left: 4px solid #5cb85c;
}

@media (max-width: 600px) {
    .buttons {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    h1 {
        font-size: 1.75rem;
    }
}
html {
    scrollbar-color: #58db5a #c52727;
    scrollbar-width: auto;
    scroll-behavior: smooth;
}
.back-btn {
    position: fixed;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    z-index: 10;
    transition: background 0.2s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}



.container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    color: #fff;
}


.plan{
    max-width: 750px;
    width: 150%;
    text-align: center;
    color: #fff;
}

.results {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 0;
    align-items: stretch;
    width: 100%;
    grid-auto-rows: auto;
}



.result-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    gap: 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 15px;
    padding: 0;
    color: #1a1f36;
    box-sizing: border-box;
    height: auto;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.result-item:hover {
    border-radius: 50px 50px 0 50px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.result-img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    inset: 0;
}

.result-img-wrap {
    position: relative;
    flex: 0 0 45%;
    min-height: 250px;  
    overflow: hidden;
}

.result-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    width: auto;
    flex: 1;
    padding-top: 8px;
    min-width: 0;
    padding: 1rem;
    overflow-y: auto;
    box-sizing: border-box;
}

.result-name {
    display: block;
    font-weight: 700;
    font-size: 1.35rem;
    color: #8a610e;
    line-height: 1.2;
}

.result-place {
    display: block;
    font-family: "Sanchez", serif;
    font-size: 0.89rem;
    line-height: 1.3;
    color: #6b7280;
    padding-bottom: 0.5rem;
}

.result-price {
    display: block;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.3;
    
}

.result-description {
    display: block;
    font-family: "Saira", sans-serif;
    font-weight: 1500;
    font-size: 0.9rem;
    line-height: 1.1;
    color: #058b85;
    overflow-wrap: anywhere;
    padding-bottom: 1rem;
}

.result-tag {
    display: inline-block;
    margin-top: 0.2rem;
    margin-bottom: 0.1rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: #0e0e0e;
    color: #00b3ef;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    justify-content: center;
}

.result-date {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    background: #ff0077;
    color: #0e0e0e;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    justify-content: center;
}

.results .result-item .result-img-wrap {
    position: relative;
    min-height: 170px;
    overflow: hidden;
}

.results .result-item .result-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.change {
    display: block;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #3B6D11;
    font-weight: 700;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.social-links a {
    color: #78d878;
    background: #9e0505;
    margin-top: 0.1rem;
    padding: 0.4rem 0.4rem;
    border-radius: 900px;
    font-size: 0.782rem;
    font-weight: 550;
    text-decoration: none;
    font-family: "Black Ops One", system-ui;
}

.social-links a:hover {
    margin-top: 0.3rem;
    padding: 0.3rem 0.4rem;
    border-radius: 900px;
    background: #78d878;
    color: #ec5f5f;
}
.tickets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.tickets a {
    color: #c3f00c;
    background: #00025d;
    margin-top: 0.1rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    font-family: "Rubik Marker Hatch", system-ui;
    
}

.tickets a:hover {
    margin-top: 0.3rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: #c3f00c;
    color: #00025d;
}
.discount-badge {
    align-self: flex-start;
    padding: 0.1rem 0.7rem;
    border-radius: 999px;
    background: #e8342a;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}
.result-was { margin-left: 0.4rem; color: #6b7280; font-size: 0.85rem; }
.result-save { font-size: 0.8rem; color: #000f53; font-weight: 600; }

.discount-note { 
    font-size: 0.95rem; 
    color: #000000; 
    font-style: italic; 
    background: #cb6205;  
    padding: 5px 65px; 
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}


.filter-form { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.when-row { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem; }
.when-label { color: #e0e0e0; font-size: 0.85rem; }
.when-row select,
.when-row input[type="date"] {
    padding: 0.35rem 0.7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1f36;
    font: inherit;
    font-size: 0.9rem;
}
.when-clear { color: #fff; font-size: 0.85rem; text-decoration: underline; }
.results-note { margin-top: 0.5rem; font-size: 0.85rem; color: #e0e0e0; }


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

@media (max-width: 600px) {
    .results {
        grid-template-columns: 1fr;
    }
}

.budget-form {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    padding: 0.4rem 0.5rem 0.4rem 1rem;
    color: #1a1f36;
}

.budget-form label { font-weight: 600; }

.budget-form input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    width: 110px;
    text-align: right;
}

.budget-form button {
    border: none;
    background: #639922;
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    cursor: pointer;
}

.show-all-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.65rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    color: #fff;
    background-color: #208a53;
    font-size: 0.85rem; 
    flex-wrap: wrap; 
    align-items: center;
    text-decoration: none;
}

.show-all-btn:hover { background: rgba(181, 250, 120, 0.2); }