/*
 Theme Name:   oceanwp-child        
 Template:     oceanwp
 Version:      1.0
*/

/* 1️⃣ Usuń marginesy i paddingi globalne */
html, body {
    margin: 0;
    padding: 0;
    background-color: #fff; /* kolor tła strony */
}

/* 2️⃣ Nadpisz tło głównego wrappera OceanWP */
#site, .site, #main, .content-wrapper {
    background-color: #fff;
    margin: 0;
    padding: 0;
}

/* 3️⃣ Jeśli używasz content-full-screen lub no-margins */
.content-full-screen, .no-margins {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fff !important;
}
.sticky-section {
	position: sticky;
	top: 0;
	z-index: 999;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    pointer-events: none;
}

.loader-left,
.loader-right {
    width: 50%;
    height: 100%;
    background: #000;
    transition: transform 1.5s ease;
}

.loader-left {
    transform: translateX(0);
}

.loader-right {
    transform: translateX(0);
}

.page-loaded .loader-left {
    transform: translateX(-100%);
}

.page-loaded .loader-right {
    transform: translateX(100%);
}







/* Cała lista menu – wyśrodkowana i maksymalną szerokością */
.menu-day-list {
    list-style: none;       /* usuwa punkty */
    padding: 20px;
    margin: 0 auto;         /* wyśrodkowanie całej listy */
    display: flex;
    flex-direction: column; /* elementy jeden pod drugim */
    align-items: center;    /* wyśrodkowanie tekstu */
    max-width: 600px;       /* szerokość menu */
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* delikatny cień */
}

/* Pojedyncze dania */
.menu-day-list li {
    font-family: 'Sofia', sans-serif; /* elegancka czcionka */
    font-size: 22px;                  /* większe nazwy dań */
    font-weight: 600;
    color: #333;
    margin: 10px 0;                   /* odstęp między daniami */
    padding: 10px 15px;               /* przestrzeń wewnątrz li */
    text-align: center;               /* wyśrodkowanie tekstu */
    width: 100%;                      /* rozciąga li do kontenera */
    white-space: normal;              /* łamanie w razie potrzeby */
    word-wrap: break-word;            /* łamanie długich słów */
    position: relative;               /* dla pseudo-elementu */
}

/* Separator – linia przerywana z kwiatuszkiem w środku */
.menu-day-list li::after {
    content: "✿";                     /* symbol kwiatuszka */
    color: #ff6600;                   /* kolor kwiatuszka */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin: 10px auto 0 auto;         /* odstęp od dania, wyśrodkowanie */
    width: 100%;
    border-bottom: 1px dashed #ccc;   /* przerywana linia */
    line-height: 0.1em;               /* symbol po środku linii */
}

/* Ostatnia pozycja bez separatora */
.menu-day-list li:last-child::after {
    content: none;
    border: none;
}

/* Opcjonalny efekt hover */
.menu-day-list li:hover {
    color: #ff6600;
    transform: scale(1.02);
    transition: 0.3s;
}

