/* =============================================
   stylenew.css – NaWidelec
   Kolory:
     #006633  brand green
     #004D26  dark green (navbar)
     #008040  mid green (buttons)
     #00994D  hover green
     #FAF0E6  linen (page bg)
     #FFFFFF  white (cards)
     #E8E0D4  border beige
     #1A1A1A  text dark
     #4A4A4A  text mid
     #888888  text muted
     #FFB800  gold (stars)
============================================= */

:root {
    --green-dark:   #004D26;
    --green-main:   #006633;
    --green-mid:    #008040;
    --green-light:  #00994D;
    --green-pale:   #E8F5EE;

    --linen:        #FAF0E6;
    --linen-dark:   #E8E0D4;
    --white:        #FFFFFF;

    --text-dark:    #1A1A1A;
    --text-mid:     #4A4A4A;
    --text-muted:   #888888;

    --gold:         #FFB800;
    --red-promo:    #C0392B;

    --r-sm:  8px;
    --r-md:  12px;
    --r-lg:  20px;

    --shadow-card:   0 2px 12px rgba(0,0,0,0.07);
    --shadow-hover:  0 6px 24px rgba(0,102,51,0.15);
    --shadow-search: 0 4px 32px rgba(0,0,0,0.18);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background: var(--linen);
    font-family: var(--font-body);
    color: var(--text-dark);
    margin: 0; padding: 0;
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* =============================================
   NAVBAR
============================================= */
.nw-navbar {
    background: var(--green-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.22);
    border-radius: 0;
}

.nw-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    gap: 1rem;
}

/* Brand */
.nw-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    flex-shrink: 0;
}

.nw-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.nw-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nw-brand-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.nw-brand-tagline {
    font-size: 0.60rem;
    font-weight: 400;
    opacity: 0.60;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

/* Nav links */
.nw-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nw-nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    transition: background .18s, color .18s;
}

.nw-nav-link:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.btn-nw-login {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.55);
    border-radius: var(--r-sm);
    padding: 7px 18px;
    font-weight: 600;
    font-size: 0.86rem;
    white-space: nowrap;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background .18s, border-color .18s;
}

.btn-nw-login:hover {
    background: rgba(255,255,255,0.14);
    border-color: #fff;
    color: #fff;
}

.nw-user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.28);
    border-radius: var(--r-sm);
    padding: 6px 13px;
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .18s;
    font-family: var(--font-body);
}

.nw-user-toggle:hover { background: rgba(255,255,255,0.2); color: #fff; }

.nw-navbar .dropdown-menu {
    border: 1px solid var(--linen-dark);
    border-radius: var(--r-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.11);
    padding: 6px;
    min-width: 200px;
}

.nw-navbar .dropdown-item {
    border-radius: var(--r-sm);
    font-size: 0.88rem;
    padding: 8px 12px;
    transition: background .15s;
    font-family: var(--font-body);
}

.nw-navbar .dropdown-item:hover {
    background: var(--green-pale);
    color: var(--green-main);
}

/* =============================================
   HERO WRAPPER – centers the hero at 80% width
============================================= */
.nw-hero-wrapper {
    background: var(--linen);
    padding: 0;
    display: block;
    width: 100%;
    overflow: hidden;
}

/* =============================================
   HERO  – 80% width, rounded corners
============================================= */
.nw-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* The photo – full brightness, no dimming */
.nw-hero-photo {
    position: absolute;
    inset: 0;
    background-image: url('/photo/NaWidelec_Main.png');
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

/* Subtle top-to-bottom gradient so text is readable */
.nw-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,30,15,0.38) 0%,
        rgba(0,30,15,0.18) 45%,
        rgba(0,30,15,0.55) 100%
    );
    z-index: 1;
}

.nw-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 52px 0 44px;
}

.nw-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.2vw, 2.85rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.22;
    margin-bottom: 28px;
    text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}

/* Location badge */
.nw-loc-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.85rem;
    margin-bottom: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.nw-loc-badge .loc-city { font-weight: 600; }
.nw-loc-badge .loc-region { opacity: 0.7; }

.nw-loc-badge .btn-loc-change {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.72rem;
    cursor: pointer;
    transition: background .18s;
    font-family: var(--font-body);
}

.nw-loc-badge .btn-loc-change:hover { background: rgba(255,255,255,0.38); }

/* =============================================
   SEARCH BAR  – single row inside hero
============================================= */
.nw-search-bar {
    background: rgba(255,255,255,0.96);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-search);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
    height: 54px;
}

.nw-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    flex: 1;
    border-right: 1px solid var(--linen-dark);
    min-width: 0;
    cursor: text;
    position: relative;
}

.nw-search-field:last-of-type { border-right: none; }

.nw-search-field .sf-icon {
    color: var(--green-main);
    font-size: 1rem;
    flex-shrink: 0;
}

.nw-search-field input,
.nw-search-field select {
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-dark);
    width: 100%;
    outline: none;
    padding: 0;
    height: 100%;
    cursor: pointer;
}

.nw-search-field input::placeholder { color: var(--text-muted); }

.nw-search-field select {
    appearance: none;
    -webkit-appearance: none;
}

/* Ukryj natywną ikonkę kalendarza w Chrome/WebKit */
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
}

/* Gdy data nie wybrana – ukryj "dd.mm.rrrr" i pokaż "Data" */
input[type="date"]:not([value]):not(:focus),
input[type="date"][value=""]:not(:focus) {
    color: transparent;
}

input[type="date"]:not([value])::before,
input[type="date"][value=""]::before {
    content: "Data";
    color: var(--text-muted);
    position: absolute;
    pointer-events: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
}

.nw-search-field select option { color: var(--text-dark); }

/* Szukaj button */
.btn-nw-search {
    background: var(--green-main);
    color: #fff;
    border: none;
    padding: 0 28px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background .18s;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.btn-nw-search:hover { background: var(--green-light); }

/* =============================================
   MAIN CONTENT AREA
============================================= */
.nw-main {
    background: var(--white);
    margin: 0 auto;
    padding: 36px 0 48px;
}

/* =============================================
   SECTION HEADS
============================================= */
.nw-section-head {
    margin-bottom: 22px;
}

.nw-section-head h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-main);
    margin: 0 0 2px;
}

.nw-section-head p {
    color: var(--text-muted);
    font-size: 0.87rem;
    margin: 0;
}

/* =============================================
   CUISINE ROW  – icon circles like screenshot
============================================= */
.nw-cuisine-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

/* The label "Popularne Kuchnie" sits left, icons right */
.nw-cuisine-row .cuisine-label-block {
    flex-shrink: 0;
    min-width: 130px;
}

.nw-cuisine-row .cuisine-label-block h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-main);
    margin: 0;
    line-height: 1.2;
}

.nw-cuisine-icons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.nw-cuisine-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--green-main);
    background: var(--white);
    cursor: pointer;
    transition: background .18s, box-shadow .18s, transform .15s;
    text-decoration: none;
    flex-shrink: 0;
}

.nw-cuisine-chip:hover {
    background: var(--green-pale);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.nw-cuisine-chip svg {
    width: 36px;
    height: 36px;
    stroke: var(--green-main);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nw-cuisine-chip img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.nw-cuisine-chip .chip-emoji {
    font-size: 1.7rem;
    line-height: 1;
}

/* =============================================
   RESTAURANT CARDS
============================================= */
.nw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 16px;
}

@media (max-width: 1199px) { .nw-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 991px)  { .nw-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px)  { .nw-grid { grid-template-columns: 1fr; } }

.nw-card {
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    border: 1px solid var(--linen-dark);
    transition: box-shadow .22s, transform .18s;
    display: flex;
    flex-direction: column;
}

.nw-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.nw-card-img {
    position: relative;
    overflow: hidden;
    height: 190px;
    flex-shrink: 0;
}

.nw-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
    display: block;
}

.nw-card:hover .nw-card-img img { transform: scale(1.05); }

.nw-badge-promoted {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--gold);
    color: #1A1A1A;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: .3px;
    z-index: 2;
}

.nw-badge-discount {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--red-promo);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 11px;
    z-index: 2;
}

.nw-urgency-tag {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(180,30,30,.82));
    color: #fff;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 10px 10px 5px;
    text-align: center;
    z-index: 2;
}

.nw-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nw-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px;
    line-height: 1.3;
}

.nw-card-desc {
    font-size: 0.80rem;
    color: var(--text-muted);
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nw-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 3px;
}

.nw-stars .bi-star-fill { color: var(--gold); font-size: 0.80rem; }
.nw-stars .bi-star-half { color: var(--gold); font-size: 0.80rem; }
.nw-stars .bi-star      { color: var(--linen-dark); font-size: 0.80rem; }

.nw-cuisine-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.nw-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--linen-dark);
}

.nw-card-price {
    font-size: 0.80rem;
    color: var(--text-muted);
}

.btn-nw-reserve {
    background: var(--green-main);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    padding: 7px 16px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.83rem;
    cursor: pointer;
    transition: background .18s, transform .15s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.btn-nw-reserve:hover {
    background: var(--green-light);
    color: #fff;
    transform: translateY(-1px);
}

.btn-nw-reserve-danger { background: var(--red-promo); }
.btn-nw-reserve-danger:hover { background: #a93226; }

/* Discount info */
.nw-discount-info {
    background: #fff5f5;
    border: 1px solid #ffd5d5;
    border-radius: var(--r-sm);
    padding: 7px 11px;
    margin-bottom: 10px;
    font-size: 0.80rem;
}

.nw-discount-info .disc-title { font-weight: 700; color: var(--red-promo); }
.nw-discount-info .disc-desc  { color: var(--text-muted); font-size: 0.76rem; margin-top: 2px; }
.nw-discount-info .disc-time  { color: var(--text-muted); font-size: 0.74rem; margin-top: 2px; }

.nw-promo-code {
    display: inline-block;
    background: #f0f9f4;
    border: 1.5px dashed var(--green-mid);
    border-radius: 4px;
    padding: 1px 8px;
    font-family: monospace;
    font-size: 0.83rem;
    color: var(--green-main);
    cursor: pointer;
    transition: background .15s;
    margin-top: 3px;
}

.nw-promo-code:hover { background: var(--green-pale); }

/* =============================================
   RESULTS BAR
============================================= */
.nw-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--linen-dark);
    border-radius: var(--r-md);
    padding: 12px 18px;
    margin-bottom: 24px;
    font-size: 0.86rem;
}

.nw-filters { display: flex; flex-wrap: wrap; gap: 7px; }

.nw-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--green-pale);
    color: var(--green-main);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.77rem;
    font-weight: 500;
}

.nw-clear-filters {
    font-size: 0.79rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color .15s;
}

.nw-clear-filters:hover { color: var(--red-promo); }

/* =============================================
   EMPTY STATE
============================================= */
.nw-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.nw-empty .bi { font-size: 3.5rem; opacity: .22; display: block; margin-bottom: 14px; }
.nw-empty h4  { font-size: 1.05rem; color: var(--text-mid); font-weight: 600; }

/* =============================================
   FOOTER
============================================= */
.nw-footer {
    background: var(--linen);
    color: var(--green-main);
    padding: 24px 0 20px;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid var(--linen-dark);
}

.nw-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.nw-footer-links a {
    color: var(--green-main);
    font-weight: 600;
    transition: color .15s;
}

.nw-footer-links a:hover { color: var(--green-light); }

.nw-footer p {
    margin: 0;
    color: var(--text-mid);
    font-size: 0.80rem;
}

/* =============================================
   MODALS
============================================= */
.modal-content {
    border-radius: var(--r-md);
    border: none;
    box-shadow: 0 12px 48px rgba(0,0,0,0.16);
}

.modal-header {
    border-bottom: 1px solid var(--linen-dark);
    padding: 16px 20px 12px;
}

.modal-header .modal-title {
    font-family: var(--font-display);
    font-size: 1.08rem;
    color: var(--text-dark);
}

.modal-body  { padding: 18px 20px; }
.modal-footer { border-top: none; padding: 0 20px 18px; }

/* City autocomplete */
.autocomplete-wrapper { position: relative; }

.autocomplete-dropdown {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--linen-dark);
    border-top: none;
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    max-height: 280px;
    overflow-y: auto;
    z-index: 1055;
    display: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

.autocomplete-dropdown.show { display: block; }

.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .13s;
    font-size: 0.88rem;
}

.autocomplete-item:hover, .autocomplete-item.active { background: var(--green-pale); }
.autocomplete-item .city-name   { font-weight: 500; color: var(--text-dark); }
.autocomplete-item .region-name { font-size: 0.76rem; color: var(--text-muted); }
.autocomplete-item .highlight   { background: #fff3cd; padding: 0 2px; border-radius: 2px; }
.autocomplete-no-results { padding: 20px; text-align: center; color: var(--text-muted); font-size: 0.86rem; }
.autocomplete-dropdown::-webkit-scrollbar { width: 5px; }
.autocomplete-dropdown::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.nw-popular-cities { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linen-dark); }
.nw-popular-cities .section-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 9px; font-weight: 600; }

.nw-city-quick-btn {
    border-radius: 20px;
    font-size: 0.80rem;
    padding: 4px 13px;
    border: 1.5px solid var(--linen-dark);
    color: var(--text-mid);
    background: var(--white);
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
    font-family: var(--font-body);
}

.nw-city-quick-btn:hover {
    border-color: var(--green-main);
    color: var(--green-main);
    background: var(--green-pale);
}

.btn-nw-gps {
    background: var(--green-main);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 7px 18px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s;
    font-family: var(--font-body);
}

.btn-nw-gps:hover { background: var(--green-light); }

/* Login modal */
.btn-google-nw {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border: 1.5px solid var(--linen-dark);
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.88rem;
    transition: border-color .15s, box-shadow .15s;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
}

.btn-google-nw:hover { border-color: #aaa; box-shadow: 0 2px 8px rgba(0,0,0,0.08); color: var(--text-dark); }

.nw-divider {
    display: flex; align-items: center; gap: 10px;
    color: var(--text-muted); font-size: 0.80rem; margin: 14px 0;
}

.nw-divider::before, .nw-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--linen-dark);
}

.btn-nw-primary {
    background: var(--green-main);
    color: #fff; border: none;
    border-radius: var(--r-sm);
    padding: 10px; width: 100%;
    font-family: var(--font-body);
    font-weight: 600; font-size: 0.93rem; cursor: pointer;
    transition: background .18s;
}

.btn-nw-primary:hover { background: var(--green-light); color: #fff; }

.nw-login-input {
    border-radius: var(--r-sm) !important;
    border: 1.5px solid var(--linen-dark) !important;
    font-family: var(--font-body) !important;
    transition: border-color .15s, box-shadow .15s !important;
}

.nw-login-input:focus {
    border-color: var(--green-main) !important;
    box-shadow: 0 0 0 3px rgba(0,102,51,0.10) !important;
}

.nw-login-footer {
    border-top: 1px solid var(--linen-dark);
    margin-top: 16px; padding-top: 14px;
    text-align: center; font-size: 0.88rem; color: var(--text-mid);
}

.nw-login-footer a { color: var(--green-main); font-weight: 600; }
.nw-forgot-link { color: var(--green-main); font-size: 0.81rem; }
.nw-forgot-link:hover { color: var(--green-light); }

/* Ukryj natywną ikonkę kalendarza w Chrome/WebKit */
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
}

/* Gdy data nie wybrana – ukryj "dd.mm.rrrr" i pokaż "Data" */
input[type="date"]:not([value]):not(:focus),
input[type="date"][value=""]:not(:focus) {
    color: transparent;
}

input[type="date"]:not([value])::before,
input[type="date"][value=""]::before {
    content: "Data";
    color: var(--text-muted);
    position: absolute;
    pointer-events: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
}

/* GPS detect button inside search bar */
.btn-gps-detect {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 4px 0 0;
    color: var(--green-main);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color .18s, transform .18s;
    font-size: 1.05rem;
}

.btn-gps-detect:hover {
    color: var(--green-light);
    transform: scale(1.12);
}

.btn-gps-detect.locating {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 991px) {
    .nw-hero { width: 100%; border-radius: 0; }
}
@media (max-width: 991px) {
    .nw-hero-content { padding: 44px 0 36px; }
    .nw-search-bar { flex-wrap: wrap; height: auto; border-radius: var(--r-md); }
    .nw-search-field { height: 48px; border-right: none; border-bottom: 1px solid var(--linen-dark); padding: 0 12px; }
    .btn-nw-search { height: 48px; border-radius: 0 0 var(--r-md) var(--r-md); width: 100%; justify-content: center; }
    .nw-cuisine-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 767px) {
    .nw-hero { min-height: 320px; }
    .nw-hero-content { padding: 24px 0 20px; }
    .nw-hero-content h1 { font-size: 1.45rem; margin-bottom: 14px; }
    .nw-brand-tagline { display: none; }
    .nw-section-head h2 { font-size: 1.25rem; }
    .nw-search-bar { margin: 0 12px; width: calc(100% - 24px); }
    .nw-hero-content .container { padding: 0; }
    .nw-search-field { width: 100%; padding: 0 10px; }
    .nw-main { padding: 20px 0 32px; }
    .nw-cuisine-row { margin-bottom: 28px; gap: 12px; }
    .nw-grid { gap: 14px; }
}

@media (max-width: 480px) {
    .nw-hero-content h1 { font-size: 1.25rem; }
    .nw-inner { height: 56px; }
    .nw-brand-name { display: none; }
}

/* =============================================
   NAVBAR – Mobile
============================================= */

.login-full  { display: inline; }
.login-short { display: none; }

@media (max-width: 600px) {
    .login-full  { display: none; }
    .login-short { display: inline; }

    .btn-nw-login {
        padding: 6px 11px;
        font-size: 0.80rem;
    }

    .nw-nav-link {
        font-size: 0.75rem;
        padding: 5px 7px;
    }

    .nw-nav-links {
        gap: 2px;
    }
}
