/* ==========================================================================
   Splash Page V2 - All styles scoped under .splash-v2 to avoid conflicts
   ========================================================================== */

.splash-v2 *,
.splash-v2 *::before,
.splash-v2 *::after {
    box-sizing: border-box;
}

.splash-v2 {
    font-family: 'Ubuntu', Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* ---------- HEADER ---------- */
.splash-v2 .splash-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 24px 8px 12px !important;
    background: #fff !important;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    width: 100% !important;
    float: none !important;
}

.splash-v2 .splash-header .logoDiv {
    flex-shrink: 0;
    width: auto;
    left: auto;
    display: block;
    position: relative;
    float: none;
}

.splash-v2 .splash-header .logoDiv .logo {
    display: block;
    height: 50px;
    line-height: 50px;
    text-align: left;
    width: 230px;
    padding: 0;
}

.splash-v2 .splash-header .logoDiv .splash-logo {
    display: block;
    background: url(/Themes/Snak/Content/images/Snak-and-city-salmon-violet.png) no-repeat left center;
    height: 50px;
    background-size: cover;
    background-origin: content-box;
}

.splash-v2 .splash-header .signInBadge {
    flex-shrink: 0;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    display: block !important;
    position: relative;
    margin: 0 !important;
}

.splash-v2 .splash-header .signInBadge .signInSpan {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 24px;
    background: #f5f5f5;
    transition: background 0.2s;
    float: none;
    width: auto;
    height: auto;
    line-height: normal;
    color: inherit;
    font-size: inherit;
    text-align: center;
    font-weight: normal;
}

.splash-v2 .splash-header .signInBadge .signInSpan:hover {
    background: #eee;
}

.splash-v2 .splash-header .signInIcon {
    width: 24px;
    height: 24px;
    float: none;
    margin-right: 0;
    display: inline-block;
}

/* ---------- LOGIN MENU ---------- */
.splash-v2 .new-menu-updated {
    position: absolute;
    top: 70px;
    right: 24px;
    left: unset !important;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    z-index: 200;
    min-width: 200px;
}

.splash-v2 .new-menu-updated ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.splash-v2 .new-menu-updated ul li p {
    padding: 10px 20px;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s;
}

.splash-v2 .new-menu-updated ul li p:hover {
    background: #f5f5f5;
}


/* ==========================================================================
   HERO - Full-width single column with food background
   ========================================================================== */
.splash-v2 .splash-hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full-width food background image */
.splash-v2 .splash-hero > .hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
}

/* Centered hero content */
.splash-v2 .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 24px;
    max-width: 620px;
    width: 100%;
}

.splash-v2 .hero-content .hero-tagline {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #222;
    text-shadow: 0 1px 4px rgba(255,255,255,0.8);
}

.splash-v2 .hero-content .hero-tagline .accent {
    color: #FF4856;
}

.splash-v2 .hero-content .hero-sub {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    margin: 0 0 12px;
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

.splash-v2 .hero-content .hero-store-list {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 24px;
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

.splash-v2 .splash-address-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

/* Input row: text field with compass icon on the right */
.splash-v2 .splash-address-bar .address-input-wrap {
    position: relative;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.2s;
}

.splash-v2 .splash-address-bar .address-input-wrap:focus-within {
    border-color: #FF4856;
}

.splash-v2 .splash-address-bar input[type="text"] {
    width: 100%;
    border: none;
    outline: none;
    padding: 14px 50px 14px 16px;
    font-size: 15px;
    color: #333;
    background: transparent;
    border-radius: 10px;
}

.splash-v2 .splash-address-bar input[type="text"]::placeholder {
    color: #aaa;
}

.splash-v2 .splash-address-bar .compassIcon {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    opacity: 0.45;
    transition: opacity 0.2s;
    border-radius: 50%;
}

.splash-v2 .splash-address-bar .compassIcon:hover {
    opacity: 1;
    background: rgba(0,0,0,0.04);
}

.splash-v2 .splash-address-bar .compassIcon img {
    width: 22px;
    height: 22px;
}

/* Button below the input */
.splash-v2 .splash-browse-btn,
.splash-v2 #locationSearchDivBackgroundRed {
    background: #FF4856 !important;
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
    border-radius: 10px !important;
    width: 100%;
    text-align: center;
}

.splash-v2 .splash-browse-btn:hover,
.splash-v2 #locationSearchDivBackgroundRed:hover {
    background: #e03d4a !important;
    transform: translateY(-1px);
}

/* Google Map container - hidden by default, styled when shown by JS */
.splash-v2 #googleMapLanding {
    display: none;
    width: 100%;
    max-width: 460px;
    height: 200px;
    margin: 16px auto 0;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Override error state — keep button red on splash page */
.splash-v2 .splash-browse-btn.selectAddressBtn-error {
    background-color: #FF4856 !important;
}
.splash-v2 .splash-browse-btn.selectAddressBtn-error:hover {
    background-color: #e03d4a !important;
}

/* Shake animation for empty address prompt */
@keyframes splash-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.splash-v2 .address-input-wrap.shake {
    animation: splash-shake 0.4s ease;
}

/* (Right column removed — hero is now single column) */


/* ==========================================================================
   CONTENT ROWS - Two-column card sections
   ========================================================================== */
.splash-v2 .content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid #eee;
}

.splash-v2 .content-card {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.splash-v2 .content-card:first-child {
    border-right: 1px solid #eee;
}

.splash-v2 .content-card .card-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: #FF4856;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.splash-v2 .content-card .card-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
    line-height: 1.3;
}

.splash-v2 .content-card .card-subtitle {
    font-size: 15px;
    font-style: italic;
    color: #666;
    margin: 0 0 14px;
}

.splash-v2 .content-card .card-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 16px;
}

/* Checklist */
.splash-v2 .card-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.splash-v2 .card-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 13px;
    color: #444;
}

.splash-v2 .card-checklist li .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.splash-v2 .card-checklist li .check svg {
    width: 12px;
    height: 12px;
    stroke: #1976D2;
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Card with image */
.splash-v2 .content-card-with-img {
    display: flex;
    gap: 20px;
    align-items: center;
}

.splash-v2 .content-card-with-img .card-text-side {
    flex: 1;
}

.splash-v2 .content-card-with-img .card-img-side {
    flex: 0 0 auto;
    max-width: 200px;
}

.splash-v2 .content-card-with-img .card-img-side img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}


/* ==========================================================================
   REWARD POINTS ROW
   ========================================================================== */
.splash-v2 .reward-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.splash-v2 .reward-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fafafa;
}

.splash-v2 .reward-img img {
    width: 100%;
    max-width: 360px;
    border-radius: 12px;
    object-fit: cover;
}

.splash-v2 .reward-content {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.splash-v2 .reward-content .card-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: #FF4856;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.splash-v2 .reward-content .card-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
}

.splash-v2 .reward-content .card-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 16px;
}

.splash-v2 .reward-content .reward-highlight {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
    margin: 0 0 12px;
}


/* ==========================================================================
   DOWNLOAD + WEB ORDERING ROW
   ========================================================================== */
.splash-v2 .download-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.splash-v2 .download-card {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.splash-v2 .download-card .card-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: #FF4856;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.splash-v2 .download-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
}

.splash-v2 .download-card .card-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 16px;
}

.splash-v2 .download-card .download-img {
    max-width: 200px;
    margin: 0 auto 16px;
}

.splash-v2 .download-card .download-img img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* Centered variant for symmetric layout */
.splash-v2 .download-card-centered {
    text-align: center;
    align-items: center;
}

.splash-v2 .download-card-centered .card-checklist {
    text-align: left;
    display: inline-block;
}

.splash-v2 .download-card-centered .app-buttons {
    justify-content: center;
}

/* App store buttons */
.splash-v2 .app-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.splash-v2 .app-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 12px;
}

.splash-v2 .app-buttons a:hover {
    background: #333;
}

.splash-v2 .app-buttons a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.splash-v2 .app-buttons .store-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.splash-v2 .app-buttons .store-label small {
    font-size: 9px;
    opacity: 0.7;
}

.splash-v2 .app-buttons .store-label span {
    font-size: 13px;
    font-weight: 600;
}

/* OR divider (vertical) */
.splash-v2 .or-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    width: 60px;
    position: relative;
}

.splash-v2 .or-divider::before {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: 50%;
    width: 1px;
    background: #ddd;
}

.splash-v2 .or-divider .or-text {
    background: #fff;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 700;
    color: #bbb;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}


/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.splash-v2 .splash-cta-banner {
    background: linear-gradient(135deg, #FF4856 0%, #ff6b6b 100%);
    padding: 40px 5%;
    text-align: center;
}

.splash-v2 .splash-cta-banner h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.splash-v2 .splash-cta-banner p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 20px;
}

.splash-v2 .splash-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: #fff;
    color: #FF4856;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.splash-v2 .splash-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* ==========================================================================
   RESPONSIVE - TABLET (max-width: 900px)
   ========================================================================== */
@media screen and (max-width: 900px) {
    /* Hero responsive */
    .splash-v2 .hero-content {
        padding: 30px 20px;
    }

    .splash-v2 .hero-content .hero-tagline {
        font-size: 24px;
    }

    /* Content rows stack */
    .splash-v2 .content-row {
        grid-template-columns: 1fr;
    }

    .splash-v2 .content-card:first-child {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .splash-v2 .content-card-with-img {
        flex-direction: column;
    }

    .splash-v2 .content-card-with-img .card-img-side {
        max-width: 100%;
    }

    /* Reward row stacks */
    .splash-v2 .reward-row {
        grid-template-columns: 1fr;
    }

    .splash-v2 .reward-img {
        min-height: 200px;
    }

    /* Download row stacks */
    .splash-v2 .download-row {
        grid-template-columns: 1fr;
    }

    .splash-v2 .or-divider {
        width: 100%;
        flex-direction: row;
        padding: 0 20px;
        height: 40px;
    }

    .splash-v2 .or-divider::before {
        top: 50%;
        bottom: auto;
        left: 10%;
        right: 10%;
        width: auto;
        height: 1px;
    }

    .splash-v2 .or-divider .or-text {
        padding: 0 12px;
    }
}


/* ==========================================================================
   RESPONSIVE - MOBILE (max-width: 600px)
   ========================================================================== */
@media screen and (max-width: 600px) {
    .splash-v2 .splash-header {
        padding: 10px 16px;
    }

    .splash-v2 .splash-header .logoDiv .logo {
        width: 150px;
        height: 40px;
    }

    .splash-v2 .splash-header .logoDiv .splash-logo {
        height: 40px;
    }

    .splash-v2 .hero-content {
        padding: 24px 16px;
    }

    .splash-v2 .hero-content .hero-tagline {
        font-size: 22px;
    }

    .splash-v2 .hero-content .hero-sub {
        font-size: 14px;
    }

    .splash-v2 .splash-address-bar {
        max-width: 100%;
    }

    .splash-v2 .content-card {
        padding: 24px 16px;
    }

    .splash-v2 .content-card .card-title {
        font-size: 17px;
    }

    .splash-v2 .reward-content {
        padding: 24px 16px;
    }

    .splash-v2 .download-card {
        padding: 24px 16px;
    }

    .splash-v2 .splash-cta-banner {
        padding: 30px 16px;
    }

    .splash-v2 .splash-cta-banner h2 {
        font-size: 20px;
    }
}
