/**
 * assets/css/demobar.css
 * Stili degli elementi CheMenu.it (banner, demo bar, overlay).
 * Indipendenti dal template attivo.
 */

/* === BANNER (sticky in alto) === */
.banner {
  text-align: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10001;
}
.banner-demo {
  background: linear-gradient(135deg, #b85c38 0%, #8a3f24 100%);
  color: #fff;
  padding: 20px;
  font-size: 1.05em;
  line-height: 1.6;
}
.banner-demo .banner-link {
  color: #fff;
  text-decoration: underline;
  margin-left: 15px;
  font-weight: 700;
}
.banner-anteprima {
  background: #FF9800;
  color: #fff;
  padding: 12px 20px;
  font-size: 0.95em;
}
.banner-anteprima .banner-link {
  color: #fff;
  text-decoration: underline;
  margin-left: 10px;
}

/* === DEMO BAR === */
.demo-bar {
    background: #fff;
    border-bottom: 1px solid #e5ddd2;
    padding: 15px 25px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.demo-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.demo-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 280px;
}
.demo-bar-label {
    color: #666;
    font-size: 0.95em;
    font-weight: 600;
    white-space: nowrap;
}
.demo-bar-select {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95em;
    cursor: pointer;
    background: #fff;
    color: #1a1a1a;
    font-family: inherit;
    flex: 1;
    min-width: 220px;
    /* Fix per Safari/iOS */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='%23333' d='M6 9L1 4h10z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}
.demo-bar-btn {
    background: #b85c38;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
}
.demo-bar-btn:hover {
    background: #8a3f24;
}

/* === MOBILE === */
@media (max-width: 700px) {
    .demo-bar {
        padding: 12px 15px;
    }
    .demo-bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .demo-bar-left {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        min-width: 0;
    }
    .demo-bar-label {
        font-size: 0.85em;
        text-align: left;
    }
    .demo-bar-select {
        min-width: 0;
        width: 100%;
    }
    .demo-bar-btn {
        text-align: center;
        padding: 10px 15px;
    }
}

/* === MOBILE === */
@media (max-width: 700px) {
    .demo-bar {
        padding: 12px 15px;
    }
    .demo-bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .demo-bar-left {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .demo-bar-select {
        min-width: 0;
        width: 100%;
    }
    .demo-bar-label {
        text-align: center;
        font-size: 0.85em;
    }
    .demo-bar-btn {
        text-align: center;
        padding: 10px 15px;
    }
}