/* Exact scoped component styles captured from the approved Yummy Specials staging reference. */

/* =========================================================
   YUMMY SPECIALS — SPECIALS AND MAP
   Scoped to prevent Elementor/theme style bleed
========================================================= */

.ysx-specials,
.ysx-specials *,
.ysx-specials *::before,
.ysx-specials *::after {
    box-sizing: border-box;
}

.ysx-specials {
    --ysx-ink: #11140f;
    --ysx-muted: #687066;
    --ysx-soft-muted: #8f978c;
    --ysx-white: #ffffff;
    --ysx-cream: #f8f5ed;
    --ysx-cream-dark: #efeadf;
    --ysx-panel: #ffffff;
    --ysx-black: #0d100d;
    --ysx-black-soft: #171b16;
    --ysx-green: #258c47;
    --ysx-green-dark: #196b37;
    --ysx-green-light: #52bd73;
    --ysx-orange: #ed7626;
    --ysx-orange-light: #ff9841;
    --ysx-gold: #f2c84b;
    --ysx-red: #df2535;
    --ysx-line: rgba(17, 20, 15, 0.11);
    --ysx-shadow: 0 24px 65px rgba(30, 34, 27, 0.1);

    position: relative;
    width: 100%;
    margin: 0;
    padding: 110px 0 120px;
    overflow: hidden;
    color: var(--ysx-ink);
    background:
        radial-gradient(
            circle at 95% 5%,
            rgba(237, 118, 38, 0.08),
            transparent 27%
        ),
        radial-gradient(
            circle at 3% 65%,
            rgba(37, 140, 71, 0.07),
            transparent 26%
        ),
        var(--ysx-cream);
    font-family: "Manrope", Arial, sans-serif;
}

.ysx-specials a {
    text-decoration: none;
}

.ysx-specials button,
.ysx-specials select {
    font-family: inherit;
}

.ysx-container {
    width: min(100% - 48px, 1440px);
    margin: 0 auto;
}

/* Intro */

.ysx-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 55px;
    margin-bottom: 50px;
}

.ysx-intro__copy {
    min-width: 0;
    max-width: 810px;
}

.ysx-eyebrow {
    display: block;
    margin: 0 0 15px;
    color: var(--ysx-green);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.ysx-intro h2 {
    margin: 0;
    padding: 0;
    color: var(--ysx-ink);
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.ysx-intro h2 span {
    color: var(--ysx-orange);
}

.ysx-intro__copy > p {
    max-width: 680px;
    margin: 23px 0 0;
    padding: 0;
    color: var(--ysx-muted);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 600;
}

/* Location panel */

.ysx-location-panel {
    width: min(100%, 430px);
    min-height: 82px;
    display: grid;
    grid-template-columns: 47px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid var(--ysx-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 17px 50px rgba(27, 34, 24, 0.07);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.ysx-location-panel__icon {
    width: 47px;
    height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--ysx-green);
    background: rgba(37, 140, 71, 0.1);
}

.ysx-location-panel__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ysx-location-panel__copy {
    min-width: 0;
}

.ysx-location-panel__copy small,
.ysx-location-panel__copy strong {
    display: block;
}

.ysx-location-panel__copy small {
    margin-bottom: 3px;
    color: var(--ysx-soft-muted);
    font-size: 8px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ysx-location-panel__copy strong {
    color: var(--ysx-ink);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.ysx-location-button {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 9px 13px;
    border: 0;
    border-radius: 13px;
    color: var(--ysx-white);
    background:
        linear-gradient(
            135deg,
            var(--ysx-green),
            var(--ysx-green-dark)
        );
    box-shadow: 0 10px 25px rgba(37, 140, 71, 0.2);
    font-size: 9px;
    line-height: 1.3;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.ysx-location-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 31px rgba(37, 140, 71, 0.28);
}

.ysx-location-button:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.ysx-location-button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Toolbar */

.ysx-toolbar {
    position: relative;
    z-index: 4;
    margin-bottom: 31px;
    padding: 21px 23px 18px;
    border: 1px solid var(--ysx-line);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 20px 55px rgba(35, 39, 31, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ysx-toolbar__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ysx-results-summary {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ysx-results-summary__icon {
    flex: 0 0 auto;
    width: 41px;
    height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--ysx-orange);
    background: rgba(237, 118, 38, 0.1);
}

.ysx-results-summary__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ysx-results-summary strong,
.ysx-results-summary small {
    display: block;
}

.ysx-results-summary strong {
    margin-bottom: 2px;
    color: var(--ysx-ink);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
}

.ysx-results-summary small {
    color: var(--ysx-soft-muted);
    font-size: 9px;
    line-height: 1.35;
    font-weight: 700;
}

.ysx-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

.ysx-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ysx-sort > span:first-child {
    color: var(--ysx-soft-muted);
    font-size: 9px;
    line-height: 1.3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ysx-sort__select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ysx-sort select {
    min-width: 165px;
    height: 43px;
    margin: 0;
    padding: 0 38px 0 14px;
    border: 1px solid var(--ysx-line);
    border-radius: 12px;
    outline: none;
    color: var(--ysx-ink);
    background: var(--ysx-white);
    font-size: 9px;
    line-height: 1.3;
    font-weight: 800;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.ysx-sort select:focus {
    border-color: rgba(37, 140, 71, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 140, 71, 0.1);
}

.ysx-sort__select-wrap svg {
    position: absolute;
    right: 13px;
    width: 15px;
    height: 15px;
    pointer-events: none;
    fill: none;
    stroke: var(--ysx-muted);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobile list/map toggle */

.ysx-view-toggle {
    display: none;
    align-items: center;
    padding: 3px;
    border: 1px solid var(--ysx-line);
    border-radius: 12px;
    background: var(--ysx-cream);
}

.ysx-view-toggle__button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 7px 11px;
    border: 0;
    border-radius: 9px;
    color: var(--ysx-muted);
    background: transparent;
    font-size: 8px;
    line-height: 1.3;
    font-weight: 800;
    cursor: pointer;
}

.ysx-view-toggle__button.is-active {
    color: var(--ysx-white);
    background: var(--ysx-black);
}

.ysx-view-toggle__button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Cuisine filters */

.ysx-filter-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid var(--ysx-line);
}

.ysx-filter-label {
    color: var(--ysx-soft-muted);
    font-size: 9px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ysx-filter-scroll {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 1px 2px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ysx-filter-scroll::-webkit-scrollbar {
    display: none;
}

.ysx-filter-chip {
    flex: 0 0 auto;
    min-height: 37px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid var(--ysx-line);
    border-radius: 999px;
    color: var(--ysx-muted);
    background: var(--ysx-white);
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.ysx-filter-chip:hover {
    color: var(--ysx-orange);
    border-color: rgba(237, 118, 38, 0.3);
    transform: translateY(-1px);
}

.ysx-filter-chip.is-active {
    color: var(--ysx-white);
    border-color: var(--ysx-orange);
    background:
        linear-gradient(
            135deg,
            var(--ysx-orange),
            var(--ysx-orange-light)
        );
    box-shadow: 0 9px 22px rgba(237, 118, 38, 0.2);
}

/* Main layout */

.ysx-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(390px, 0.75fr);
    align-items: start;
    gap: 31px;
}

.ysx-list-view,
.ysx-map-view {
    min-width: 0;
}

.ysx-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* Special card */

.ysx-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ysx-line);
    border-radius: 23px;
    background: var(--ysx-panel);
    box-shadow: 0 17px 45px rgba(30, 34, 27, 0.07);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.ysx-card:hover,
.ysx-card.is-map-active {
    border-color: rgba(237, 118, 38, 0.32);
    box-shadow: var(--ysx-shadow);
    transform: translateY(-5px);
}

.ysx-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(232, 237, 226, 0.92)),
        var(--ysx-cream-dark);
}

.ysx-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.02),
            rgba(0, 0, 0, 0.33)
        );
    pointer-events: none;
}

.ysx-card__image {
    width: 100%;
    height: 100%;
    display: block;
    padding: 7px;
    object-fit: contain;
    object-position: center;
}

.ysx-card:hover .ysx-card__image {
    transform: none;
}

.ysx-card__favourite {
    position: absolute;
    z-index: 4;
    top: 13px;
    right: 13px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 13px;
    color: var(--ysx-white);
    background: rgba(12, 15, 11, 0.52);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.ysx-card__favourite:hover,
.ysx-card__favourite.is-saved {
    color: var(--ysx-red);
    border-color: rgba(223, 37, 53, 0.35);
    background: rgba(255, 255, 255, 0.94);
    transform: translateY(-2px);
}

.ysx-card__favourite svg {
    width: 19px;
    height: 19px;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ysx-card__favourite.is-saved svg {
    fill: currentColor;
}

.ysx-card__distance {
    position: absolute;
    z-index: 3;
    right: 14px;
    bottom: 13px;
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--ysx-white);
    background: rgba(12, 15, 11, 0.61);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    font-size: 8px;
    line-height: 1.2;
    font-weight: 800;
}

.ysx-card__distance svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ysx-card__body {
    padding: 21px;
}

.ysx-card__restaurant {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
}

.ysx-card__logo {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--ysx-line);
    border-radius: 13px;
    color: var(--ysx-white);
    background:
        linear-gradient(
            135deg,
            var(--ysx-green),
            var(--ysx-green-dark)
        );
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ysx-card__logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 4px;
    background: var(--ysx-white);
}

.ysx-card__restaurant-copy {
    min-width: 0;
}

.ysx-card__restaurant-copy strong,
.ysx-card__restaurant-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ysx-card__restaurant-copy strong {
    margin-bottom: 3px;
    color: var(--ysx-ink);
    font-size: 10px;
    line-height: 1.3;
    font-weight: 800;
}

.ysx-card__restaurant-copy small {
    color: var(--ysx-soft-muted);
    font-size: 8px;
    line-height: 1.3;
    font-weight: 700;
}

.ysx-card__map-button {
    width: 37px;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ysx-line);
    border-radius: 11px;
    color: var(--ysx-green);
    background: rgba(37, 140, 71, 0.07);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.ysx-card__map-button:hover {
    border-color: rgba(37, 140, 71, 0.35);
    background: rgba(37, 140, 71, 0.13);
    transform: translateY(-2px);
}

.ysx-card__map-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ysx-card__title {
    margin: 19px 0 0;
    padding: 0;
    color: var(--ysx-ink);
    font-size: clamp(19px, 1.7vw, 25px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}

.ysx-card__details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 15px;
    margin-top: 19px;
    padding-top: 17px;
    border-top: 1px solid var(--ysx-line);
}

.ysx-card__schedule {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}

.ysx-card__schedule > svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    fill: none;
    stroke: var(--ysx-green);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ysx-card__schedule small,
.ysx-card__schedule strong {
    display: block;
}

.ysx-card__schedule small {
    margin-bottom: 4px;
    color: var(--ysx-soft-muted);
    font-size: 9px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ysx-card__schedule strong {
    color: var(--ysx-ink);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.ysx-card__price {
    min-width: 105px;
    text-align: right;
}

.ysx-card__price small {
    display: block;
    min-height: 14px;
    margin-bottom: 2px;
    color: var(--ysx-soft-muted);
    font-size: 8px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: line-through;
}

.ysx-card__price strong {
    display: block;
    color: var(--ysx-green);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.ysx-card__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    margin-top: 19px;
}

.ysx-card__availability {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ysx-muted);
    font-size: 8px;
    line-height: 1.35;
    font-weight: 750;
}

.ysx-card__availability::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ysx-green-light);
    box-shadow: 0 0 0 4px rgba(82, 189, 115, 0.12);
}

.ysx-card__link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 10px 15px;
    border-radius: 13px;
    color: var(--ysx-white);
    background: var(--ysx-black);
    font-size: 9px;
    line-height: 1.3;
    font-weight: 800;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ysx-card__link:hover {
    color: var(--ysx-white);
    background: var(--ysx-orange);
    box-shadow: 0 11px 24px rgba(237, 118, 38, 0.22);
    transform: translateY(-2px);
}

.ysx-card__link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.ysx-card__link:hover svg {
    transform: translateX(3px);
}

/* Empty state */

.ysx-empty {
    min-height: 430px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 45px 25px;
    border: 1px solid var(--ysx-line);
    border-radius: 23px;
    background: var(--ysx-white);
    text-align: center;
}

.ysx-empty:not([hidden]) {
    display: flex;
}

.ysx-empty__icon {
    width: 65px;
    height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 20px;
    color: var(--ysx-orange);
    background: rgba(237, 118, 38, 0.1);
}

.ysx-empty__icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ysx-empty h3 {
    margin: 0;
    color: var(--ysx-ink);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.ysx-empty p {
    max-width: 400px;
    margin: 12px 0 0;
    color: var(--ysx-muted);
    font-size: 12px;
    line-height: 1.65;
    font-weight: 600;
}

.ysx-empty button {
    min-height: 44px;
    margin: 21px 0 0;
    padding: 9px 16px;
    border: 0;
    border-radius: 12px;
    color: var(--ysx-white);
    background: var(--ysx-green);
    font-size: 9px;
    line-height: 1.3;
    font-weight: 800;
    cursor: pointer;
}

/* Map panel */

.ysx-map-panel {
    position: sticky;
    top: 190px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: var(--ysx-black);
    box-shadow: 0 27px 75px rgba(21, 26, 19, 0.2);
}

.ysx-map-panel__header {
    min-height: 101px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 21px 22px;
    color: var(--ysx-white);
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(237, 118, 38, 0.18),
            transparent 38%
        ),
        var(--ysx-black);
}

.ysx-map-panel__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--ysx-gold);
    font-size: 8px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.ysx-map-panel__header h3 {
    margin: 0;
    padding: 0;
    color: var(--ysx-white);
    font-size: 25px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.ysx-map-count {
    flex: 0 0 auto;
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.06);
    font-size: 8px;
    line-height: 1.3;
    font-weight: 800;
}

.ysx-map-wrap {
    position: relative;
}

.ysx-map {
    width: 100%;
    height: 695px;
    background: #e7e4dc;
}

.ysx-map-legend {
    position: absolute;
    z-index: 600;
    right: 14px;
    bottom: 14px;
    left: 14px;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 13px;
    color: var(--ysx-white);
    background: rgba(12, 15, 11, 0.8);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    font-size: 8px;
    line-height: 1.35;
    font-weight: 800;
    pointer-events: none;
}

.ysx-map-legend__marker {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border: 3px solid var(--ysx-white);
    border-radius: 50% 50% 50% 0;
    background: var(--ysx-orange);
    transform: rotate(-45deg);
}

/* Leaflet map styling */

.ysx-map-panel .leaflet-control-zoom {
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.ysx-map-panel .leaflet-control-zoom a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--ysx-ink);
    background: var(--ysx-white);
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
}

.ysx-map-panel .leaflet-control-zoom a:first-child {
    border-bottom: 1px solid var(--ysx-line);
}

.ysx-map-panel .leaflet-control-attribution {
    padding: 3px 6px;
    color: #5e655d;
    background: rgba(255, 255, 255, 0.82);
    font-size: 7px;
}

.ysx-map-panel .leaflet-popup-content-wrapper {
    overflow: hidden;
    padding: 0;
    border-radius: 17px;
    background: var(--ysx-white);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.ysx-map-panel .leaflet-popup-content {
    width: 240px !important;
    margin: 0;
}

.ysx-map-panel .leaflet-popup-tip {
    background: var(--ysx-white);
}

.ysx-map-panel .leaflet-popup-close-button {
    top: 7px !important;
    right: 7px !important;
    width: 29px !important;
    height: 29px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--ysx-white) !important;
    background: rgba(10, 12, 9, 0.65) !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.ysx-popup__image {
    width: 100%;
    height: 124px;
    display: block;
    padding: 5px;
    object-fit: contain;
    object-position: center;
    background: var(--ysx-cream-dark);
}

.ysx-popup__body {
    padding: 15px;
}

.ysx-popup__restaurant {
    display: block;
    margin-bottom: 5px;
    color: var(--ysx-green);
    font-size: 8px;
    line-height: 1.3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.ysx-popup__body h4 {
    margin: 0;
    color: var(--ysx-ink);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.ysx-popup__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-top: 12px;
}

.ysx-popup__meta span {
    color: var(--ysx-muted);
    font-size: 8px;
    line-height: 1.3;
    font-weight: 700;
}

.ysx-popup__meta strong {
    color: var(--ysx-green);
    font-size: 15px;
    line-height: 1.1;
    font-weight: 800;
}

.ysx-popup__link {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    border-radius: 11px;
    color: var(--ysx-white) !important;
    background: var(--ysx-black);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 8px;
    line-height: 1.3;
    font-weight: 800;
}

/* Custom map markers */

.ysx-map-pin-wrap {
    border: 0;
    background: transparent;
}

.ysx-map-pin {
    position: relative;
    width: 50px;
    min-height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 8px;
    border: 3px solid var(--ysx-white);
    border-radius: 13px 13px 13px 3px;
    color: var(--ysx-white);
    background:
        linear-gradient(
            135deg,
            var(--ysx-orange),
            var(--ysx-orange-light)
        );
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.25);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 8px;
    line-height: 1.05;
    font-weight: 800;
    text-align: center;
    transform: rotate(-4deg);
}

.ysx-map-pin span {
    display: block;
    transform: rotate(4deg);
}

.ysx-user-pin {
    width: 22px;
    height: 22px;
    border: 5px solid var(--ysx-white);
    border-radius: 50%;
    background: var(--ysx-green);
    box-shadow:
        0 0 0 7px rgba(37, 140, 71, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Tablet */

@media (max-width: 1120px) {
    .ysx-intro {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 29px;
    }

    .ysx-location-panel {
        width: 100%;
        max-width: 580px;
    }

    .ysx-layout {
        grid-template-columns:
            minmax(0, 1.25fr)
            minmax(340px, 0.75fr);
        gap: 23px;
    }

    .ysx-card-grid {
        grid-template-columns: 1fr;
    }

    .ysx-map {
        height: 680px;
    }
}

/* Mobile map/list mode */

@media (max-width: 850px) {
    .ysx-specials {
        padding: 80px 0 90px;
    }

    .ysx-container {
        width: min(100% - 30px, 800px);
    }

    .ysx-toolbar__top {
        align-items: flex-start;
    }

    .ysx-toolbar__actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .ysx-view-toggle {
        display: flex;
    }

    .ysx-layout {
        display: block;
    }

    .ysx-list-view,
    .ysx-map-view {
        display: none;
    }

    .ysx-list-view.is-active,
    .ysx-map-view.is-active {
        display: block;
    }

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

    .ysx-map-panel {
        position: relative;
        top: auto;
    }

    .ysx-map {
        height: min(72vh, 680px);
        min-height: 520px;
    }
}

/* Phones */

@media (max-width: 620px) {
    .ysx-specials {
        padding: 65px 0 75px;
    }

    .ysx-container {
        width: min(100% - 24px, 580px);
    }

    .ysx-intro {
        margin-bottom: 33px;
    }

    .ysx-intro h2 {
        font-size: clamp(39px, 12vw, 56px);
        line-height: 1.02;
    }

    .ysx-intro__copy > p {
        margin-top: 18px;
        font-size: 13px;
        line-height: 1.7;
    }

    .ysx-location-panel {
        grid-template-columns: 43px minmax(0, 1fr);
        padding: 12px;
    }

    .ysx-location-panel__icon {
        width: 43px;
        height: 43px;
    }

    .ysx-location-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .ysx-toolbar {
        padding: 17px 15px 14px;
        border-radius: 19px;
    }

    .ysx-toolbar__top {
        display: block;
    }

    .ysx-toolbar__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        margin-top: 17px;
    }

    .ysx-sort {
        display: block;
    }

    .ysx-sort > span:first-child {
        display: block;
        margin-bottom: 7px;
    }

    .ysx-sort__select-wrap,
    .ysx-sort select {
        width: 100%;
    }

    .ysx-filter-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ysx-card-grid {
        grid-template-columns: 1fr;
    }

    .ysx-card__body {
        padding: 18px;
    }

    .ysx-card__title {
        font-size: 22px;
    }

    .ysx-card__footer {
        grid-template-columns: 1fr;
    }

    .ysx-card__link {
        width: 100%;
    }

    .ysx-map-panel__header {
        min-height: 88px;
        padding: 18px;
    }

    .ysx-map-panel__header h3 {
        font-size: 22px;
    }

    .ysx-map {
        min-height: 490px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ysx-specials *,
    .ysx-specials *::before,
    .ysx-specials *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
