/* Alap stílusok */
:root {
    --blueberry-dark: #1a2e1a;     /* Sötét erdőzöld */
    --blueberry-medium: #1a3d2e;   /* Erdőzöld */
    --blueberry-light: #7a9e7e;    /* Zsálya zöld */
    --blueberry-accent: #e8a020;   /* Arany kiemelő */
    --blueberry-pale: #f0f7f3;     /* Halvány zöld háttér */
    --leaf-green: #4CAF50;         /* Siker zöld */
    --cream: #f5f0e8;              /* Meleg krém */
    --text-dark: #1a2e1a;          /* Sötét szöveg */
    --text-light: #FFFFFF;
    --error: #E83F6F;
    --success: #4CAF50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-image: linear-gradient(to bottom right, var(--cream), #f0f7f3);
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--blueberry-dark);
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
}

a {
    color: var(--blueberry-medium);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--blueberry-dark);
    text-decoration: none;
}

/* ════════════════════════════════════════════════════════════
   FEJLÉC
   ════════════════════════════════════════════════════════════ */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(26, 61, 46, 0.09);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e0e8e4;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--blueberry-accent), var(--blueberry-light), var(--blueberry-medium));
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--blueberry-dark);
}

header nav {
    margin-top: 15px;
}

header nav a {
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 600;
    color: var(--blueberry-medium);
}

header nav a:hover {
    background-color: var(--blueberry-pale);
    color: var(--blueberry-dark);
    transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════
   MARKETING HOME — teljes szélességű layout, átlátszó fejléc
   ════════════════════════════════════════════════════════════ */
body.marketing-home {
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: none;
}

body.marketing-home header {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 200;
    margin-bottom: 0;
    padding: 18px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

body.marketing-home header::before {
    display: none;
}

body.marketing-home header .header-logo-title {
    width: auto;
    flex-shrink: 0;
    margin-bottom: 0;
    gap: 0;
}

body.marketing-home header .site-title-block {
    display: none;
}

body.marketing-home header nav {
    margin-top: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

body.marketing-home .site-title,
body.marketing-home .site-slogan {
    color: rgba(245, 240, 232, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

body.marketing-home .site-logo .logo-primary { fill: #f5f0e8; }
body.marketing-home .site-logo .logo-accent  { fill: #e8c870; }
body.marketing-home .site-logo .logo-leaf    { stroke: #e8c870; fill: rgba(232, 200, 112, 0.15); }
body.marketing-home .site-logo .logo-leaf-vein { stroke: #e8c870; }

body.marketing-home header nav a {
    color: rgba(245, 240, 232, 0.82);
}

body.marketing-home header nav a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #e8c870;
    transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════
   TERMÉK BEMUTATÓ
   ════════════════════════════════════════════════════════════ */
.product-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(26, 61, 46, 0.1);
    position: relative;
    border: 1px solid rgba(122, 158, 126, 0.25);
}

.product-showcase::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-image: url('blueberry-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.08;
    pointer-events: none;
}

.product-showcase img {
    max-width: 100%;
    height: auto;
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(26, 61, 46, 0.15);
    transition: transform 0.3s;
}

.product-showcase img:hover {
    transform: scale(1.03);
}

.product-details {
    flex: 2;
    min-width: 300px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: var(--blueberry-medium);
    margin-bottom: 15px;
    padding: 8px 15px;
    background-color: var(--blueberry-pale);
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(26, 61, 46, 0.08);
}

.description {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ════════════════════════════════════════════════════════════
   GOMBOK
   ════════════════════════════════════════════════════════════ */
.cta-button, .submit-button, .button, .admin-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--blueberry-medium), var(--blueberry-dark));
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 4px 12px rgba(26, 61, 46, 0.25);
    font-family: 'Nunito', 'Arial', sans-serif;
}

.cta-button:hover, .submit-button:hover, .button:hover, .admin-button:hover {
    background: linear-gradient(135deg, var(--blueberry-dark), #0f2a1e);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(26, 61, 46, 0.35);
    color: var(--text-light);
    text-decoration: none;
}

.button.small {
    padding: 6px 12px;
    font-size: 14px;
}

.button.small2 {
    padding: 6px 12px;
    font-size: 14px;
    margin-top: 10px;
}

.button.delete {
    background: linear-gradient(135deg, var(--error), #D63384);
}

.button.delete:hover {
    background: linear-gradient(135deg, #D63384, #C21858);
    color: var(--text-light);
}

.button.confirm {
    background: linear-gradient(135deg, var(--success), #3D9140);
}

.button.confirm:hover {
    background: linear-gradient(135deg, #3D9140, #2E7D32);
    color: var(--text-light);
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* ════════════════════════════════════════════════════════════
   ŰRLAPOK
   ════════════════════════════════════════════════════════════ */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(26, 61, 46, 0.1);
    border: 1px solid rgba(122, 158, 126, 0.25);
}

.form-container.wide {
    max-width: 1000px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--blueberry-dark);
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="password"],
input[type="datetime-local"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--blueberry-light);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: var(--blueberry-pale);
    color: var(--text-dark);
    font-family: 'Nunito', 'Arial', sans-serif;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--blueberry-medium);
    box-shadow: 0 0 0 3px rgba(26, 61, 46, 0.15);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* ════════════════════════════════════════════════════════════
   SZÁLLÍTÁS KIVÁLASZTÁS
   ════════════════════════════════════════════════════════════ */
.delivery-selection {
    margin: 30px 0;
}

.delivery-selection h3 {
    margin-bottom: 15px;
    color: var(--blueberry-dark);
    border-bottom: 2px solid var(--blueberry-pale);
    padding-bottom: 8px;
}

.date-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.date-box {
    background-color: var(--blueberry-pale);
    border: 2px solid var(--blueberry-light);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(26, 61, 46, 0.07);
}

.date-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(26, 61, 46, 0.15);
    border-color: var(--blueberry-medium);
}

.date-box.selected {
    background: linear-gradient(135deg, var(--blueberry-medium), var(--blueberry-dark));
    color: var(--text-light);
    border-color: var(--blueberry-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(26, 61, 46, 0.25);
}

.date-main {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.date-day {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.date-info {
    font-size: 12px;
    margin: 3px 0;
}

.date-available {
    background-color: var(--error);
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    margin: 5px 0;
}

.date-deadline {
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

.slots-scroll-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slot-boxes {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    margin-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
}
.slot-boxes::-webkit-scrollbar { height: 4px; }
.slot-boxes::-webkit-scrollbar-track { background: rgba(122,158,126,0.1); border-radius: 2px; }
.slot-boxes::-webkit-scrollbar-thumb { background: rgba(122,158,126,0.4); border-radius: 2px; }

.slot-box {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background-color: var(--blueberry-pale);
    border: 2px solid var(--blueberry-light);
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(26, 61, 46, 0.07);
}

.slot-box:hover:not(.unavailable) {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(26, 61, 46, 0.15);
    border-color: var(--blueberry-medium);
}

.slot-box.selected {
    background: linear-gradient(135deg, var(--blueberry-medium), var(--blueberry-dark));
    color: var(--text-light);
    border-color: var(--blueberry-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(26, 61, 46, 0.25);
}

.slot-box.unavailable {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.slot-time {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.slot-location {
    font-size: 16px;
    margin-bottom: 10px;
}

.slot-description {
    font-size: 14px;
    margin-bottom: 10px;
}

.slot-map {
    margin: 10px 0;
    text-align: center;
}

.map-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.map {
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.map-placeholder {
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto;
}

.slot-available {
    font-size: 12px;
    text-align: center;
    margin-top: 8px;
}

.slot-available .available {
    color: var(--leaf-green);
    font-weight: bold;
}

.slot-available .unavailable {
    color: var(--error);
    font-weight: bold;
}

/* ════════════════════════════════════════════════════════════
   HIBAÜZENETEK ÉS SIKERÜZENETEK
   ════════════════════════════════════════════════════════════ */
.error, .success {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.error {
    color: var(--text-light);
    background: linear-gradient(135deg, var(--error), #D63384);
    border-left: 5px solid #C21858;
}

.success {
    color: var(--text-light);
    background: linear-gradient(135deg, var(--success), #3D9140);
    border-left: 5px solid #2E7D32;
}

/* ════════════════════════════════════════════════════════════
   TÁBLÁZATOK
   ════════════════════════════════════════════════════════════ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 61, 46, 0.1);
    border: 1px solid rgba(122, 158, 126, 0.25);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--blueberry-pale);
}

th {
    background: linear-gradient(135deg, var(--blueberry-dark), var(--blueberry-medium));
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

tr:nth-child(even) {
    background-color: var(--blueberry-pale);
}

.orders-table tr:hover {
    background-color: rgba(122, 158, 126, 0.12);
}

/* ════════════════════════════════════════════════════════════
   FELHASZNÁLÓI PROFIL
   ════════════════════════════════════════════════════════════ */
.user-info {
    background-color: var(--text-light);
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(26, 61, 46, 0.1);
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(122, 158, 126, 0.25);
}

.user-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--blueberry-accent), var(--blueberry-light));
}

.orders {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(26, 61, 46, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(122, 158, 126, 0.25);
}

.orders::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--blueberry-light), var(--leaf-green));
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Rendelés összesítő */
.user-data-summary {
    background-color: var(--blueberry-pale);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid var(--blueberry-medium);
    box-shadow: 0 4px 12px rgba(26, 61, 46, 0.07);
}

.product-summary {
    background-color: var(--blueberry-pale);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid var(--leaf-green);
    box-shadow: 0 4px 12px rgba(26, 61, 46, 0.07);
}

/* ════════════════════════════════════════════════════════════
   RENDELÉS RÉSZLETEK
   ════════════════════════════════════════════════════════════ */
.order-details-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(26, 61, 46, 0.1);
    border: 1px solid rgba(122, 158, 126, 0.25);
}

.order-header-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--blueberry-pale);
    text-align: center;
}

.order-header-info h2 {
    margin-bottom: 15px;
    color: var(--blueberry-dark);
}

.order-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.order-meta p {
    margin: 5px 0;
    color: var(--blueberry-medium);
}

.order-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.order-section {
    background-color: var(--blueberry-pale);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(26, 61, 46, 0.07);
}

.order-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--blueberry-dark);
    font-size: 1.1rem;
    border-bottom: 2px solid var(--blueberry-light);
    padding-bottom: 8px;
}

.order-details-table {
    width: 100%;
    border-collapse: collapse;
    background: none;
    box-shadow: none;
    border: none;
}

.order-details-table th {
    width: 40%;
    padding: 8px 8px 8px 0;
    border-bottom: 1px solid rgba(122, 158, 126, 0.2);
    vertical-align: top;
    text-align: left;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--blueberry-dark), var(--blueberry-medium));
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-details-table td {
    width: 60%;
    padding: 8px 0 8px 8px;
    border-bottom: 1px solid rgba(122, 158, 126, 0.2);
    vertical-align: top;
    color: var(--text-dark);
    font-weight: 500;
    word-wrap: break-word;
}

.order-details-table .total-row th {
    font-weight: bold;
    color: var(--text-light);
    border-top: 2px solid var(--blueberry-light);
    border-bottom: 2px solid var(--blueberry-light);
    padding-top: 12px;
    padding-bottom: 12px;
}

.order-details-table .total-row td {
    font-weight: bold;
    color: var(--blueberry-dark);
    border-top: 2px solid var(--blueberry-light);
    border-bottom: 2px solid var(--blueberry-light);
    padding-top: 12px;
    padding-bottom: 12px;
}

/* ════════════════════════════════════════════════════════════
   VISSZAIGAZOLÁS OLDAL
   ════════════════════════════════════════════════════════════ */
.confirmation-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(26, 61, 46, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(122, 158, 126, 0.25);
}

.confirmation-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--blueberry-accent), var(--blueberry-light), var(--leaf-green));
}

.order-details, .shipping-details, .user-details {
    margin-bottom: 30px;
    background-color: var(--blueberry-pale);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(26, 61, 46, 0.07);
}

/* ════════════════════════════════════════════════════════════
   STÁTUSZ JELÖLŐK
   ════════════════════════════════════════════════════════════ */
.status {
    display: inline-block;
    padding: 4px 8px;
    margin-top: 3px;
    margin-bottom: 3px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.status.preorder {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
}

.status.pending {
    background: linear-gradient(135deg, #F39C12, #E67E22);
    color: white;
}

.status.confirmed {
    background: linear-gradient(135deg, var(--blueberry-accent), var(--blueberry-medium));
    color: white;
}

.status.shipped {
    background: linear-gradient(135deg, #0288D1, #0277BD);
    color: white;
}

.status.delivered {
    background: linear-gradient(135deg, var(--leaf-green), #388E3C);
    color: white;
}

.status.cancelled {
    background: linear-gradient(135deg, var(--error), #D63384);
    color: white;
}

.status.admin {
    background: linear-gradient(135deg, var(--blueberry-dark), var(--blueberry-medium));
    color: white;
}

/* Lábléc */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: var(--blueberry-medium);
    border-top: 1px solid var(--blueberry-light);
    font-size: 0.9rem;
}

/* ════════════════════════════════════════════════════════════
   RESZPONZÍV BEÁLLÍTÁSOK
   ════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .order-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .order-meta {
        flex-direction: column;
        gap: 10px;
    }

    .date-boxes {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    /* Slot navigáció mobilon: nyilak fölé kerülnek, dobozok teljes szélességen */
    .slots-scroll-wrap {
        flex-wrap: wrap;
        gap: 4px 8px;
    }
    .slots-scroll-wrap > #slots-prev {
        order: 1;
    }
    .slots-scroll-wrap > #slots-next {
        order: 2;
        margin-left: auto;
    }
    .slots-scroll-wrap > .slot-boxes {
        order: 3;
        flex: 0 0 100%;
        min-width: 100%;
        margin-bottom: 0;
    }
    .slot-box {
        flex: 0 0 92%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .product-showcase {
        flex-direction: column;
    }

    .product-details {
        margin-top: 20px;
    }

    .orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .button-group {
        flex-direction: column;
    }

    table {
        font-size: 14px;
    }

    th, td {
        padding: 10px;
    }

    .orders-table {
        display: block;
        overflow-x: auto;
    }

    header h1 {
        font-size: 2rem;
    }

    .order-details-container {
        padding: 20px;
    }

    .order-section {
        padding: 15px;
    }

    .order-details-table th {
        font-size: 0.8rem;
    }

    .order-details-table td {
        font-size: 0.9rem;
    }

    .date-boxes {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .form-container.wide {
        max-width: 100%;
    }
}

/* ════════════════════════════════════════════════════════════
   ANIMÁCIÓK
   ════════════════════════════════════════════════════════════ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(232, 160, 32, 0.45); }
    70%  { box-shadow: 0 0 0 10px rgba(232, 160, 32, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 160, 32, 0); }
}

.product-showcase, .form-container, .user-info, .orders,
.confirmation-container, .order-details-container, .referral-compact {
    animation: fadeIn 0.5s ease-out;
}

.cta-button {
    animation: pulse 2s infinite;
}

/* ════════════════════════════════════════════════════════════
   ELŐRENDELÉS NOTICE
   ════════════════════════════════════════════════════════════ */
.preorder-notice {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border: 2px solid #4caf50;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #2e7d32;
}

.preorder-notice h4 {
    margin: 0 0 10px 0;
    color: #1b5e20;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preorder-notice p {
    margin: 0;
    line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   VISSZAIGAZOLÁS OLDAL SPECIFIKUS STÍLUSAI
   ════════════════════════════════════════════════════════════ */
.confirmation-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border-radius: 10px;
    border: 2px solid #4caf50;
}

.confirmation-header h2 {
    color: #1b5e20;
    margin: 0 0 10px 0;
    font-size: 2rem;
}

.confirmation-subtitle {
    color: #2e7d32;
    font-size: 1.1rem;
    margin: 0;
}

.order-summary {
    background: linear-gradient(135deg, var(--blueberry-pale), #edf5f0);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--blueberry-light);
}

.order-summary h3 {
    margin: 0 0 15px 0;
    color: var(--blueberry-dark);
}

.confirmation-actions {
    margin-top: 30px;
}

.info-box {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #e65100;
}

.info-box p {
    margin: 0 0 10px 0;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* ════════════════════════════════════════════════════════════
   TERMÉKEK SZAKASZ
   ════════════════════════════════════════════════════════════ */
.products {
    margin: 60px 0;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--blueberry-pale);
}

.products-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blueberry-dark);
    position: relative;
}

.products-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--blueberry-accent), var(--blueberry-light));
    border-radius: 2px;
}

.count-badge {
    background: linear-gradient(135deg, var(--blueberry-medium), var(--blueberry-dark));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(26, 61, 46, 0.15);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(26, 61, 46, 0.08);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(26, 61, 46, 0.15);
    border-color: var(--blueberry-light);
}

.product-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7f3, #e8f2eb);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f7f3, #e8f2eb);
    color: #6c757d;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.7;
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--blueberry-medium);
    color: #f5f0e8;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-content {
    padding: 25px;
}

.product-header {
    margin-bottom: 20px;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blueberry-dark);
    margin-bottom: 8px;
    line-height: 1.3;
    font-family: 'Playfair Display', Georgia, serif;
}

.product-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.product-pricing {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f9fbfa, #ffffff);
    border-radius: 15px;
    border: 2px solid var(--blueberry-pale);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pricing-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blueberry-dark);
    margin: 0;
}

.unit-label {
    background: var(--blueberry-medium);
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ── ÁRLISTA ── */
.price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    flex-wrap: wrap;
    max-width: 340px;
    width: 100%;
    box-sizing: border-box;
}

.price-item:hover {
    border-color: var(--blueberry-light);
    transform: translateX(5px);
}

.price-item.featured {
    background: linear-gradient(135deg, var(--blueberry-pale), #edf5f0);
    border-color: var(--blueberry-medium);
    box-shadow: 0 4px 15px rgba(26, 61, 46, 0.12);
}

.quantity-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.quantity-range {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blueberry-dark);
}

.quantity-unit {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 90px;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blueberry-medium);
}

.price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blueberry-light);
}

.price-label {
    font-size: 0.8rem;
    color: #666;
    margin-left: 4px;
}

.savings-badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background: linear-gradient(135deg, var(--success), #27ae60);
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.pricing-note {
    margin-top: 12px;
    text-align: center;
}

.pricing-note small {
    color: var(--blueberry-light);
    font-size: 0.85rem;
    font-style: italic;
}

.pricing-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 12px;
    border: 2px solid #ff9800;
}

.contact-icon {
    font-size: 2rem;
}

.contact-text strong {
    display: block;
    color: var(--blueberry-dark);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-text small {
    color: #666;
    font-size: 0.9rem;
}

.product-actions {
    margin-top: 25px;
}

.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    font-family: 'Nunito', 'Arial', sans-serif;
}

.order-btn.primary {
    background: linear-gradient(135deg, var(--blueberry-medium), var(--blueberry-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(26, 61, 46, 0.25);
}

.order-btn.primary:hover {
    background: linear-gradient(135deg, var(--blueberry-dark), #0f2a1e);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 61, 46, 0.35);
}

.order-btn.secondary {
    background: white;
    color: var(--blueberry-dark);
    border-color: var(--blueberry-light);
}

.order-btn.secondary:hover {
    background: var(--blueberry-pale);
    border-color: var(--blueberry-medium);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-text {
    font-weight: 700;
}

/* Mobilra: árlista kártyák */
@media (max-width: 600px) {
    .price-list { gap: 14px; }
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 12px;
        min-width: 0;
        max-width: 100%;
    }
    .quantity-info, .price-info {
        min-width: 0;
        margin-bottom: 4px;
    }
    .price-info { margin-bottom: 0; }
    .savings-badge { top: 8px; right: 8px; font-size: 0.8rem; }
}

/* ════════════════════════════════════════════════════════════
   JELLEMZŐK SZEKCIÓ
   ════════════════════════════════════════════════════════════ */
.features {
    margin: 60px 0;
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f0e8, white);
    border-radius: 15px;
}

.features h2 {
    text-align: center;
    color: var(--blueberry-dark);
    margin-bottom: 40px;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--blueberry-light);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 61, 46, 0.1);
    border-color: var(--blueberry-medium);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    color: var(--blueberry-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature p {
    color: var(--blueberry-light);
    line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   KÖSZÖNTŐ SZEKCIÓ
   ════════════════════════════════════════════════════════════ */
.welcome-section {
    background: linear-gradient(135deg, #f5f0e8 0%, #f0f7f3 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid var(--blueberry-medium);
}

.welcome-header h3 {
    color: var(--blueberry-dark);
    margin: 0 0 15px 0;
    font-size: 1.3em;
    text-align: center;
}

.welcome-content {
    line-height: 1.6;
}

.welcome-intro {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.development-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.notice-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.notice-text strong {
    color: #856404;
    display: block;
    margin-bottom: 5px;
}

.notice-text p {
    color: #856404;
    margin: 0;
    font-size: 0.95em;
}

.welcome-outro {
    text-align: center;
    color: var(--blueberry-light);
    margin-top: 15px;
    font-style: italic;
}

@media (max-width: 768px) {
    .welcome-section { padding: 20px 15px; }
    .development-notice { flex-direction: column; text-align: center; }
    .notice-icon { align-self: center; }
}

/* ════════════════════════════════════════════════════════════
   FEJLÉC LOGO + CÍM LAYOUT
   ════════════════════════════════════════════════════════════ */
.header-logo-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 24px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.site-logo {
    width: 221px;
    height: 65px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.site-title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.site-title,
.site-slogan {
    text-align: center;
    width: 100%;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blueberry-dark);
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.1;
}

.site-slogan {
    font-size: 1.05rem;
    color: var(--blueberry-light);
    font-family: 'Nunito', 'Arial', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 2px;
}

@media (max-width: 700px) {
    .header-logo-title {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .site-logo {
        width: min(70vw, 221px);
        height: auto;
    }
    .site-title-block {
        width: 100%;
        flex: none;
    }

    /* Marketing-home mobilon: logó középen, nav alá törik */
    body.marketing-home header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
    }
    body.marketing-home header nav {
        justify-content: center;
    }
    /* Hero tartalom lejjebb tolva, hogy ne lógjon rá az oszlopos fejlécre */
    body.marketing-home .mkt-hero__content {
        padding-top: 240px;
    }
}

/* ════════════════════════════════════════════════════════════
   TOOLTIPEK
   ════════════════════════════════════════════════════════════ */
.info-tooltip {
    position: relative;
    display: inline-block;
}

.info-icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #fff;
    color: var(--blueberry-medium);
    border-radius: 50%;
    border: 1.5px solid var(--blueberry-medium);
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-left: 2px;
    padding-top: 3px;
    position: relative;
    z-index: 10;
}

.info-icon:focus,
.info-icon:hover {
    background: var(--blueberry-medium);
    color: #fff;
    outline: none;
}

.info-text {
    display: none;
    position: absolute;
    left: -150px;
    top: 28px;
    width: 320px;
    background: #fff;
    color: #222;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 4px 18px rgba(26, 61, 46, 0.10);
    font-size: 0.92em;
    z-index: 100;
    white-space: normal;
    line-height: 1.5;
}

.info-tooltip:hover .info-text,
.info-tooltip:focus-within .info-text {
    display: block;
}

@media (max-width: 768px) {
    .info-text {
        left: 50%;
        transform: translateX(0%);
        width: min(320px, calc(100vw - 40px));
    }
    .info-tooltip[data-position="left"] .info-text  { left: 0; transform: none; }
    .info-tooltip[data-position="right"] .info-text { left: auto; right: 0; transform: none; }
}

.tooltip-cell {
    position: relative;
    cursor: pointer;
}

.tooltip-cell:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    max-width: 300px;
    word-wrap: break-word;
    white-space: normal;
}

.tooltip-cell:hover::before {
    content: "";
    position: absolute;
    bottom: 100%;
    right: 15px;
    transform: translateY(100%);
    border: 5px solid transparent;
    border-top-color: #333;
    z-index: 1000;
}

.tooltip-cell.tooltip-left:hover::after  { right: auto; left: 0; }
.tooltip-cell.tooltip-left:hover::before { right: auto; left: 15px; }

/* ── Dátum kártya scrollozó ── */
.dates-scroll-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dates-nav-btn {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(122,158,126,0.35);
    background: #fff;
    color: var(--blueberry-medium);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(26,46,26,0.1);
    transition: background 0.15s, border-color 0.15s, opacity 0.2s;
    padding: 0;
    font-family: sans-serif;
}
.dates-nav-btn:hover:not(:disabled) {
    background: var(--blueberry-pale);
    border-color: var(--blueberry-medium);
}
.dates-nav-btn:disabled {
    opacity: 0.2;
    cursor: default;
}
@media (max-width: 600px) {
    .dates-nav-btn { width: 28px; height: 28px; font-size: 1.15rem; }
    /* Dátum navigáció mobilon: nyilak fölé kerülnek, kártyák teljes szélességen */
    .dates-scroll-wrap {
        flex-wrap: wrap;
        gap: 4px 8px;
    }
    .dates-scroll-wrap > #dates-prev { order: 1; }
    .dates-scroll-wrap > #dates-next { order: 2; margin-left: auto; }
    .dates-scroll-wrap > .dates-grid {
        order: 3;
        flex: 0 0 100% !important;
        min-width: 100% !important;
    }
}

/* ── Régió szűrő gombsor ── */
.region-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.region-filter-btn {
    background: #f0f4f0;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    color: var(--blueberry-medium);
    font-family: 'Nunito', sans-serif;
    line-height: 1.4;
}
.region-filter-btn:hover {
    border-color: var(--blueberry-light);
    background: #e4ede6;
}
.region-filter-btn.active {
    background: var(--blueberry-medium);
    color: #fff;
    border-color: var(--blueberry-medium);
}
.region-filter-btn.active.balaton {
    background: #0277bd;
    border-color: #0277bd;
}

@media (max-width: 768px) {
    .tooltip-cell:hover::after {
        position: fixed;
        bottom: 20px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        max-width: 90vw;
    }
    .tooltip-cell:hover::before { display: none; }
}
