:root {
    --shell-side-width: 15vw;
    --shell-paper: #fffdf8;
    --shell-ink: #26352b;
    --shell-line: #d8d0c0;
    --orientation-acid: #caff3d;
}

html { background: #f7f3e9; }

html.site-shell-root {
    height: 100%;
    overflow: hidden;
}

body.site-shell {
    width: calc(100% - (2 * var(--shell-side-width)));
    height: 100dvh;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f7f3e9;
    box-sizing: border-box;
}

body.site-shell.site-shell-admin {
    width: 100%;
    margin: 0;
    padding-right: 0;
    padding-left: 0;
}

.site-shell > header {
    position: relative;
    z-index: 30;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    min-height: 68px;
    margin: 0;
    padding: 12px 3%;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    color: var(--shell-ink);
    background: var(--shell-paper);
    border-bottom: 1px solid var(--shell-line);
    box-sizing: border-box;
}

.site-shell > header .logo {
    grid-column: 1;
    grid-row: 1;
    flex: 0 0 auto;
    margin: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--shell-ink);
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-language-switch .site-brand-mark {
    position: absolute;
    top: calc(50% + 5px);
    left: 30px;
    display: block;
    width: 120px;
    height: 30px;
    margin: 0;
    flex: 0 0 auto;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    transform: translateY(-50%);
}

.site-shell > header nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    min-width: 0;
    flex: 1 1 520px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 16px;
}

.site-shell > header nav a,
.site-shell > header nav button,
.site-shell > header nav summary {
    margin: 0;
    white-space: nowrap;
}

.site-shell > header nav .cart {
    padding: 7px 11px;
    color: #fffdf8;
    background: var(--shell-ink);
    border-radius: 4px;
}

.sfy-products-link { font-weight: 700; }

.admin-mail-badge { display:inline-grid;min-width:19px;height:19px;margin-left:5px;padding:0 5px;place-items:center;border-radius:10px;color:#fff;background:#a9341d;box-sizing:border-box;font-size:10px;line-height:1 }
.admin-mail-badge[hidden] { display:none }
.admin-mail-page { max-width:1420px;margin:0 auto;padding:55px 28px 100px }
.admin-mail-title { display:flex;align-items:flex-end;justify-content:space-between;gap:24px }
.admin-mail-title h1 { margin:5px 0 10px;font-size:clamp(34px,5vw,58px) }
.admin-mail-title p { margin:0 }
.admin-mail-title>strong { min-width:85px;font-size:38px;text-align:center }
.admin-mail-title>strong small { display:block;font-size:10px;text-transform:uppercase }
.admin-mail-eyebrow,.admin-mail-label { color:#7d342d;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase }
.admin-mail-grid { display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:14px;margin-top:38px;align-items:start }
.admin-mail-list,.admin-mail-reader { min-height:620px;background:#fffdf8;border:1px solid #d8d0c0 }
.admin-mail-list { max-height:calc(100vh - 210px);overflow:auto }
.admin-mail-list>a { display:grid;grid-template-columns:auto 1fr auto;gap:6px 12px;padding:18px 20px;border-bottom:1px solid #d8d0c0;color:#26352b;text-decoration:none }
.admin-mail-list>a>span { grid-row:1/3;align-self:start;padding:5px 7px;color:#667068;background:#e6e8e1;font-size:9px;font-weight:900 }
.admin-mail-list>a.unread>span { color:#26352b;background:#caff3d }
.admin-mail-list>a.active { background:#eef2e7;box-shadow:inset 4px 0 #caff3d }
.admin-mail-list>a>strong { font-size:14px;line-height:1.35;overflow-wrap:anywhere }
.admin-mail-list>a>p { grid-column:2;margin:0;color:#667068;font-size:11px;overflow-wrap:anywhere }
.admin-mail-list>a>time { grid-column:3;grid-row:1;color:#858d88;font-size:10px;white-space:nowrap }
.admin-mail-reader { position:sticky;top:14px;max-height:calc(100vh - 28px);padding:34px;overflow:auto;box-sizing:border-box }
.admin-mail-reader article { position:relative }
.admin-mail-reader h2 { max-width:800px;margin:12px 48px 25px 0;font-size:34px;line-height:1.08;overflow-wrap:anywhere }
.admin-mail-close { position:absolute;top:0;right:0;display:grid;width:38px;height:38px;place-items:center;border-radius:50%;color:#fff;background:#26352b;text-decoration:none;font-size:25px }
.admin-mail-delete { margin:0 52px 16px 0;padding:10px 16px;border:0;border-radius:6px;color:#fff;background:#a9341d;font-weight:800;cursor:pointer }
.admin-mail-reader dl { display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 28px }
.admin-mail-reader dl>div { margin:-1px 0 0 -1px;padding:12px;border:1px solid #d8d0c0 }
.admin-mail-reader dt { color:#667068;font-size:9px;text-transform:uppercase }
.admin-mail-reader dd { margin:7px 0 0;font-size:11px;font-weight:800;overflow-wrap:anywhere }
.admin-mail-reader pre { margin:0;padding:26px;border-left:3px solid #caff3d;background:#f4f5ef;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 Arial,sans-serif }
.admin-mail-reader aside { margin-top:20px;padding:18px;background:#eceee7 }
.admin-mail-reader aside p { margin:8px 0 0;font-size:11px }
.admin-mail-placeholder { display:flex;min-height:540px;align-items:center;justify-content:center;flex-direction:column;color:#667068;text-align:center }
.admin-mail-placeholder span { font-size:46px }
.admin-mail-placeholder strong { margin-top:18px;color:#26352b }
.admin-mail-placeholder p { font-size:11px }
.admin-mail-empty { padding:28px;color:#667068 }
.admin-mail-error { margin-top:38px;padding:30px;border-left:4px solid #a9341d;background:#fee5dd }
.admin-mail-error p { margin:9px 0 0 }

@media (max-width:950px) {
    .admin-mail-grid { grid-template-columns:1fr }
    .admin-mail-list { min-height:260px;max-height:430px }
    .admin-mail-reader { position:static;min-height:420px;max-height:none }
}

@media (max-width:620px) {
    .admin-mail-page { padding:38px 14px 70px }
    .admin-mail-title { align-items:flex-start;flex-direction:column }
    .admin-mail-reader { padding:22px }
    .admin-mail-reader dl { grid-template-columns:1fr }
    .admin-mail-list>a { grid-template-columns:auto 1fr }
    .admin-mail-list>a>time { grid-column:2;grid-row:auto }
    .admin-mail-reader h2 { font-size:28px }
}

.site-language-switch {
    position: relative;
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
    padding-top: 8px;
    padding-left: 150px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid var(--shell-line);
}

.sfy-secondary-search {
    display: inline-flex;
    min-height: 32px;
    margin-left: 6px;
    padding: 0 13px;
    align-items: center;
    border-left: 1px solid var(--shell-line);
    border-radius: 4px;
    color: var(--shell-ink);
    background: #f2ecdf;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.sfy-secondary-search:hover,
.sfy-secondary-search:focus-visible { background: #e6ddcb; }

.site-language-button {
    display: inline-flex;
    width: 38px;
    height: 28px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}

.site-language-button:hover,
.site-language-button[aria-pressed="true"] {
    border-color: var(--shell-ink);
    background: #f2ecdf;
}

.site-language-button svg {
    display: block;
    width: 30px;
    height: 18px;
    box-shadow: 0 0 0 1px rgba(38,53,43,.22);
}

.sfy-info-ticker {
    position: relative;
    z-index: 29;
    width: 100%;
    height: 38px;
    overflow: hidden;
    color: #fffdf8;
    background: #26352b;
    border-bottom: 1px solid #17231c;
    box-sizing: border-box;
}

.sfy-info-ticker[hidden] { display: none; }

.sfy-info-ticker-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sfy-info-ticker-track {
    display: flex;
    width: max-content;
    height: 100%;
    align-items: center;
    will-change: transform;
}

.sfy-info-ticker-track.is-running {
    animation: sfy-info-ticker-move 72s linear infinite;
}

.sfy-info-ticker-group {
    display: flex;
    flex: none;
    align-items: center;
    white-space: nowrap;
}

.sfy-info-ticker-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .015em;
}

.sfy-info-ticker-item::after {
    content: '◆';
    margin: 0 24px;
    color: #caff3d;
    font-size: 7px;
}

@keyframes sfy-info-ticker-move {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .sfy-info-ticker-track.is-running { animation-duration: 180s; }
}

@media (max-width: 620px) {
    .sfy-info-ticker { height: 34px; }
    .sfy-info-ticker-item { font-size: 12px; }
    .sfy-info-ticker-item::after { margin: 0 18px; }
}

.sfy-discount-notice {
    display: none;
    position: fixed;
    z-index: 5000;
    inset: 0;
    padding: 20px;
    align-items: center;
    justify-content: center;
    background: rgba(19, 28, 23, .66);
    box-sizing: border-box;
}

.sfy-discount-notice.is-open { display: flex; }

.sfy-discount-notice-card {
    width: min(440px, 100%);
    padding: 30px 28px 26px;
    color: #26352b;
    background: #fffdf8;
    border: 2px solid #caff3d;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
    text-align: center;
}

.sfy-discount-notice-badge {
    display: inline-flex;
    min-width: 82px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #9a3f35;
    border-radius: 8px;
    font-size: 28px;
    line-height: 1;
}

.sfy-discount-notice-card h2 {
    margin: 18px 0 10px;
    font-size: clamp(24px, 5vw, 32px);
}

.sfy-discount-notice-card p {
    margin: 0 auto 22px;
    max-width: 36ch;
    font-size: 17px;
    line-height: 1.5;
}

.sfy-discount-notice-card button {
    min-height: 46px;
    padding: 11px 22px;
    color: #fff;
    background: #26352b;
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.sfy-discount-notice-card button:hover,
.sfy-discount-notice-card button:focus-visible {
    background: #3e5747;
    outline: 3px solid rgba(202, 255, 61, .55);
    outline-offset: 2px;
}

@media (max-width: 620px) {
    .sfy-discount-notice-card { padding: 24px 20px 22px; }
    .sfy-discount-notice-card p { font-size: 16px; }
}

.site-shell > main,
.site-shell > .page-content,
.site-shell > .banner-preview-layout {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.site-shell > footer {
    position: relative;
    z-index: 30;
    display: grid;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 8px 3%;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 20px;
    color: white;
    background: var(--shell-ink);
    text-align: left;
    box-sizing: border-box;
}

.site-shell > footer p { margin: 3px 0; line-height: 1.15; }

.site-footer-actions {
    display: flex;
    grid-column: 2;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.site-footer-faq-button {
    display: inline-flex;
    min-height: 34px;
    padding: 7px 16px;
    align-items: center;
    justify-content: center;
    color: var(--shell-ink);
    background: #f3d99b;
    border: 1px solid #f7e8bd;
    border-radius: 5px;
    font-weight: 800;
    text-decoration: none;
}

.site-footer-faq-button:hover,
.site-footer-faq-button:focus-visible {
    background: #fff0c5;
}

.site-footer-creator {
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
}

.product-grid > .sfy-country-fallback,
.product-grid > .sfy-recommendation-heading {
    grid-column: 1 / -1;
}

.product-grid > .sfy-country-fallback {
    padding: 24px;
    border: 1px solid #d8d0c0;
    background: #fffaf1;
    text-align: center;
}

.product-grid > .sfy-country-fallback h2 {
    margin: 0 0 10px;
    color: #26352b;
    font-size: clamp(22px, 3vw, 30px);
}

.product-grid > .sfy-country-fallback p {
    margin: 0;
    color: #667068;
}

.product-grid > .sfy-recommendation-heading {
    margin: 12px 0 0;
    color: #26352b;
    font-size: clamp(24px, 3vw, 34px);
    text-align: center;
}

.site-shell > footer .visitor-counter {
    position: static;
    grid-column: 3;
    grid-row: 1 / span 2;
    display: inline-flex;
    margin: 0;
    padding: 5px 9px;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.4);
    transform: none;
}

.site-shell > footer .visitor-counter strong {
    color: #f3d99b;
    font-family: monospace;
    font-size: 20px;
    letter-spacing: 4px;
}

.site-banner-column {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 10;
    display: grid;
    width: var(--shell-side-width);
    height: 100dvh;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.site-banner-column--left { left: 0; }
.site-banner-column--right { right: 0; }

.site-banner-slot {
    display: flex;
    min-width: 0;
    min-height: 0;
    padding: 14px 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(38,53,43,.25);
    color: rgba(38,53,43,.75);
    font-size: clamp(11px, 1vw, 16px);
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.25;
    text-align: center;
    transition: background-color .6s ease;
    writing-mode: horizontal-tb;
}

.site-banner-line { display: block; }

.site-banner-number {
    display: block;
    margin-top: .35em;
    font-size: 1.7em;
    line-height: 1;
}

/* A napi ajánlat szövege külön alsó sávban marad, soha nem takarja a termékfotót. */
.home-opening .daily-offer-card {
    display: grid;
    grid-template-rows: 42px minmax(0, 1fr) 62px;
    background: #efe4cc;
}

.home-opening .stamp-picture .daily-offer-image {
    position: static;
    grid-row: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #efe4cc;
}

.home-opening .daily-offer-discount {
    position: static;
    grid-row: 1;
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
}

.home-opening .daily-offer-info {
    position: static;
    grid-row: 3;
    display: block;
    min-height: 0;
    padding: 5px 9px 6px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 0;
    background: #14231b;
    line-height: 1.05;
    text-align: center;
}

.home-opening .daily-offer-name {
    margin-bottom: 3px;
    font-size: 11px;
    line-height: 1.12;
    -webkit-line-clamp: 2;
}

.home-opening .daily-offer-old-price {
    font-size: 11px;
}

.home-opening .daily-offer-sale-price {
    font-size: 17px;
}

.vatera-promo {
    max-width: 980px;
    margin: clamp(30px, 4vw, 52px) auto 0;
    padding: clamp(22px, 3vw, 34px) clamp(18px, 4vw, 44px);
    box-sizing: border-box;
    border: 1px solid #cfc5b4;
    border-radius: 16px;
    background: #f7f3e9;
    box-shadow: 0 10px 24px rgba(38, 53, 43, .08);
    text-align: center;
}

.vatera-promo h2 {
    margin: 0 0 18px;
    color: #26352b;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
}

.vatera-promo-button {
    display: inline-flex;
    min-height: 48px;
    padding: 11px 24px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px solid #26352b;
    border-radius: 8px;
    color: #fff;
    background: #26352b;
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.vatera-promo-button:hover,
.vatera-promo-button:focus-visible {
    color: #26352b;
    background: #f3d99b;
    transform: translateY(-1px);
}

.site-banner-left-one { background: #f3c7c2; }
.site-banner-left-two { background: #c9dcbf; }
.site-banner-right-one { background: #bfd8e8; }
.site-banner-right-two { background: #ead7a7; }

.orientationGate { display: none; }

@media (max-width: 1100px) and (orientation: portrait) {
    html.sfy-mobile-device,
    html.sfy-mobile-device body { overflow: hidden !important; }

    html.sfy-mobile-device .orientationGate {
        position: fixed;
        inset: 0;
        z-index: 2147483647;
        display: flex;
        padding: 38px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: #111714;
        text-align: center;
    }

    html.sfy-mobile-device .orientationGate::before {
        position: absolute;
        inset: 18px;
        border: 1px solid #344038;
        content: '';
        pointer-events: none;
    }

    html.sfy-mobile-device .orientationGate p {
        margin: 24px 0 10px;
        color: var(--orientation-acid);
        font-size: 9px;
        font-weight: 900;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    html.sfy-mobile-device .orientationGate h2 {
        max-width: 620px;
        margin: 0;
        font-size: clamp(34px, 8vw, 66px);
        line-height: .95;
        letter-spacing: -2px;
    }

    html.sfy-mobile-device .orientationGate small {
        display: block;
        max-width: 520px;
        margin-top: 22px;
        color: #abb4af;
        font-size: 11px;
        line-height: 1.7;
    }

    html.sfy-mobile-device .rotateDevice {
        position: relative;
        width: 112px;
        height: 92px;
    }

    html.sfy-mobile-device .rotateDevice span {
        position: absolute;
        top: 8px;
        left: 33px;
        width: 46px;
        height: 76px;
        border: 3px solid var(--orientation-acid);
        border-radius: 8px;
    }

    html.sfy-mobile-device .rotateDevice span::after {
        position: absolute;
        bottom: 5px;
        left: 50%;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--orientation-acid);
        content: '';
        transform: translateX(-50%);
    }

    html.sfy-mobile-device .rotateDevice i {
        position: absolute;
        top: 0;
        right: 0;
        color: #fff;
        font-size: 42px;
        font-style: normal;
        transform: rotate(-30deg);
    }
}

@media (max-width: 1366px) and (min-width: 901px) and (hover: none) and (pointer: coarse) {
    .site-shell > header { grid-template-columns: 1fr; justify-content: center; }
    .site-shell > header .logo,
    .site-shell > header nav,
    .site-language-switch { grid-column: 1; }
    .site-shell > header .logo { grid-row: auto; width: 100%; text-align: center; }
    .site-shell > header nav { grid-column: 1; grid-row: auto; justify-content: center; }
    .site-language-switch { padding-left: 0; justify-content: flex-end; }
    .site-language-switch .site-brand-mark {
        left: 50%;
        width: 104px;
        height: 30px;
        transform: translate(-50%, -50%);
    }
    .site-shell > footer {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 6px;
        text-align: center;
    }
    .site-shell > footer .visitor-counter { grid-column: 1; grid-row: auto; }
    .site-footer-actions { grid-column: 1; flex-wrap: wrap; }
}

/* Fekvő tablet: több hasznos függőleges hely, változatlan menüszerkezet. */
@media (min-width: 901px) and (max-width: 1366px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .site-shell > header {
        min-height: 0;
        padding: 7px 2.5%;
        gap: 4px 18px;
    }

    .site-shell > header .logo {
        font-size: 23px;
        line-height: 1.05;
    }

    .site-shell > header nav {
        min-height: 28px;
        gap: 5px 14px;
    }

    .site-shell > header nav a,
    .site-shell > header nav button,
    .site-shell > header nav summary { font-size: 14px; }

    .site-language-switch {
        min-height: 30px;
        padding-top: 3px;
        gap: 8px;
    }

    .site-language-switch .site-brand-mark {
        width: 92px;
        height: 26px;
    }

    .site-language-button {
        width: 34px;
        height: 25px;
    }

    .site-language-button svg {
        width: 27px;
        height: 16px;
    }

    .sfy-secondary-search {
        min-height: 28px;
        padding: 0 11px;
        font-size: 13px;
    }

    .home-opening .hero {
        gap: clamp(22px, 2.2vw, 30px);
        padding: clamp(14px, 1.7vw, 24px) 6% clamp(222px, 19vw, 260px);
    }

    .home-opening .hero-text { max-width: clamp(390px, 35vw, 480px); }

    .home-opening .hero-text h1 {
        font-size: clamp(40px, 3.82vw, 52px);
        line-height: 1.01;
    }

    .home-opening .hero-text p {
        font-size: clamp(14px, 1.18vw, 16px);
        line-height: 1.48;
    }

    .home-opening .hero-text .button {
        margin-top: 14px;
        padding: 12px 18px;
    }

    .home-opening .hero-visual {
        flex-basis: clamp(238px, 22vw, 300px);
        gap: clamp(8px, .75vw, 10px);
    }

    .home-opening .active-visitors-box {
        min-width: clamp(205px, 18vw, 245px);
        padding: clamp(7px, .66vw, 9px) clamp(13px, 1.18vw, 16px);
        font-size: clamp(13px, 1.03vw, 14px);
        transform: none;
    }

    .home-opening .stamp-picture {
        width: clamp(224px, 20.65vw, 282px);
        height: clamp(250px, 23.58vw, 322px);
        flex-basis: clamp(224px, 20.65vw, 282px);
        border-width: clamp(10px, .81vw, 11px);
    }

    .home-opening .home-scroll-invitation { bottom: clamp(213px, 19.62vw, 268px); }
}

@media (max-width: 1100px) and (orientation: landscape) {
    :root { --shell-side-width: clamp(72px, 12vw, 125px); }

    body.site-shell {
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }

    .site-banner-column {
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 10;
        width: var(--shell-side-width);
        height: 100dvh;
        grid-template-columns: none;
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .site-banner-column--left { left: 0; right: auto; }
    .site-banner-column--right { right: 0; left: auto; }
}

@media (max-width: 900px) and (orientation: landscape) {
    html,
    body.site-shell {
        overflow-x: clip !important;
        overscroll-behavior-x: none;
        touch-action: pan-y;
    }

    body.site-shell {
        padding-left: 0;
        padding-right: 0;
    }

    /* Mobil nyitókép: a termékfotó maradjon a hangsúlyos elem. */
    .home-opening .hero {
        height: auto;
        min-height: calc(100dvh - var(--home-header-height, 150px));
        padding: 10px 4% 12px;
        align-items: center;
        flex-direction: row;
        gap: clamp(10px, 2.2vw, 18px);
        overflow: hidden;
        box-sizing: border-box;
    }

    .home-opening .hero-text {
        min-width: 0;
        max-width: none;
        flex: 1 1 auto;
    }

    .home-opening .hero-text h1 {
        margin: 7px 0 10px;
        font-size: clamp(27px, 5vw, 39px);
        line-height: .98;
    }

    .home-opening .hero-text p {
        margin: 0;
        font-size: clamp(11px, 1.6vw, 13px);
        line-height: 1.4;
    }

    .home-opening .hero-visual {
        min-width: 0;
        flex: 0 0 clamp(215px, 30vw, 250px);
        gap: 0;
    }

    .home-opening .active-visitors-box {
        display: none;
    }

    .home-opening .stamp-picture {
        width: clamp(215px, 30vw, 250px);
        height: clamp(230px, 33vw, 260px);
        flex-basis: clamp(215px, 30vw, 250px);
        border-width: 8px;
        transform: none;
    }

    .home-opening .daily-offer-card {
        display: grid;
        grid-template-rows: 30px minmax(0, 1fr) 30px;
        background: #efe4cc;
    }

    .home-opening .stamp-picture .daily-offer-image {
        position: static;
        grid-row: 2;
        height: 100%;
        object-fit: contain;
    }

    .home-opening .daily-offer-discount {
        position: static;
        grid-row: 1;
        width: 100%;
        min-height: 0;
        padding: 5px 8px;
        gap: 5px;
        border: 0;
        border-radius: 0;
        font-size: 17px;
        line-height: 1;
        box-shadow: none;
    }

    .home-opening .daily-offer-discount small {
        font-size: 9px;
    }

    .home-opening .daily-offer-info {
        position: static;
        grid-row: 3;
        padding: 6px 8px;
        border-radius: 0;
        background: #14231b;
        line-height: 1;
        text-align: center;
    }

    .home-opening .daily-offer-name {
        display: none;
    }

    .home-opening .daily-offer-old-price {
        margin-right: 5px;
        font-size: 11px;
    }

    .home-opening .daily-offer-sale-price {
        font-size: 16px;
    }

    .home-opening .home-scroll-invitation {
        display: none;
    }
}

@media (max-width: 900px) and (orientation: portrait) {
    body.site-shell { width: 100%; margin: 0; padding: 0; overflow-x: hidden; }
    .site-banner-column {
        position: relative;
        inset: auto;
        z-index: 1;
        width: 100%;
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }
    .site-banner-slot {
        min-height: 86px;
        writing-mode: horizontal-tb;
    }
}

/* Telefonok, köztük az iPhone 16 Pro akkor is, ha asztali szélességet jelentenek. */
@media (max-width: 480px),
       (max-device-width: 480px),
       (max-width: 956px) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
    .home-opening .active-visitors-box {
        display: none !important;
    }

    .home-opening .hero-visual {
        min-width: 0;
        flex-basis: min(72vw, 270px);
        gap: 0;
    }

    .home-opening .stamp-picture {
        width: min(72vw, 270px);
        height: min(74vw, 280px);
        flex-basis: min(72vw, 270px);
        transform: none;
    }

    .home-opening .daily-offer-card {
        display: grid;
        grid-template-rows: 30px minmax(0, 1fr) 30px;
        background: #efe4cc;
    }

    .home-opening .stamp-picture .daily-offer-image {
        position: static;
        grid-row: 2;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .home-opening .daily-offer-discount {
        position: static;
        grid-row: 1;
        width: 100%;
        min-height: 0;
        padding: 5px 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .home-opening .daily-offer-info {
        position: static;
        grid-row: 3;
        padding: 6px 8px;
        border-radius: 0;
        background: #14231b;
        text-align: center;
    }

    .home-opening .daily-offer-name,
    .home-opening .home-scroll-invitation {
        display: none;
    }
}

@media (max-width: 900px) {
    .site-shell > header { grid-template-columns: 1fr; justify-content: center; text-align: center; }
    .site-shell > header .logo { grid-row: auto; width: 100%; }
    .site-shell > header nav { grid-column: 1; grid-row: auto; flex-basis: 100%; justify-content: center; }
    .site-language-switch { padding-left: 0; justify-content: flex-end; }
    .site-language-switch .site-brand-mark {
        left: 50%;
        width: 100px;
        height: 30px;
        transform: translate(-50%, -50%);
    }
    .site-shell > footer {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 6px;
        text-align: center;
    }
    .site-shell > footer .visitor-counter { grid-column: 1; grid-row: auto; }
    .site-footer-actions { grid-column: 1; flex-wrap: wrap; }
}

@media (max-width: 620px) {
    .site-language-switch {
        padding-top: 48px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .site-language-switch .site-brand-mark {
        top: 5px;
        width: 120px;
        height: 38px;
        transform: translateX(-50%);
    }
}
.sfy-seo-content {
    width: min(100% - 32px, 1050px);
    box-sizing: border-box;
    margin: 42px auto 12px;
    padding: 28px 32px;
    border: 1px solid #d8d0c0;
    border-radius: 12px;
    background: #fffdf8;
    color: #26352b;
    line-height: 1.65;
}

.sfy-seo-content h2 {
    margin: 0 0 14px;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.sfy-seo-content p {
    margin: 0 0 13px;
}

.sfy-seo-content p:last-child {
    margin-bottom: 0;
}

.sfy-server-product-content {
    width: min(100%, 1050px);
    box-sizing: border-box;
    margin: 0 auto;
    padding: 28px 32px;
    border: 1px solid #d8d0c0;
    border-radius: 12px;
    background: #fff;
    color: #26352b;
}

.sfy-server-product-content h1 {
    margin: 6px 0 16px;
}

.sfy-server-product-label {
    margin: 0;
    color: #7d342d;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sfy-server-product-content dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.sfy-server-product-content dl div {
    padding: 10px;
    background: #f5f0e8;
}

.sfy-server-product-content dt {
    font-size: .82rem;
    font-weight: 700;
}

.sfy-server-product-content dd {
    margin: 4px 0 0;
}

.sfy-server-product-price {
    font-size: 1.35rem;
    font-weight: 800;
}

.sfy-seo-links {
    padding-top: 6px;
    font-weight: 700;
}

.sfy-seo-links a,
.sfy-server-category-link,
.sfy-server-product-card a {
    color: #7d342d;
}

/* Bemutatkozás és Kapcsolat: a régi és a kiegészítő tartalom egyetlen oldalként jelenjen meg. */
.page-content:has(> .sfy-seo-content[data-seo-content="about"]),
.page-content:has(> .sfy-seo-content[data-seo-content="contact"]) {
    display: block;
    min-height: 0;
    padding: clamp(44px, 7vw, 82px) clamp(24px, 7vw, 76px);
    text-align: left;
}

.page-content:has(> .sfy-seo-content[data-seo-content="about"]) > h1,
.page-content:has(> .sfy-seo-content[data-seo-content="contact"]) .contact-card,
.page-content:has(> .sfy-seo-content[data-seo-content="about"]) > .sfy-seo-content,
.page-content:has(> .sfy-seo-content[data-seo-content="contact"]) > .sfy-seo-content {
    width: min(100%, 820px);
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
}

.page-content:has(> .sfy-seo-content[data-seo-content="about"]) > h1 {
    margin-top: 0;
    margin-bottom: 28px;
    text-align: center;
}

.page-content:has(> .sfy-seo-content[data-seo-content="about"]) > .sfy-seo-content,
.page-content:has(> .sfy-seo-content[data-seo-content="contact"]) > .sfy-seo-content {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.page-content:has(> .sfy-seo-content[data-seo-content="about"]) > .sfy-seo-content > h2 {
    display: none;
}

.page-content:has(> .sfy-seo-content[data-seo-content="contact"]) .contact-card {
    max-width: 820px;
    padding: 0 0 24px;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.page-content:has(> .sfy-seo-content[data-seo-content="contact"]) .contact-card h1 {
    margin-top: 0;
    margin-bottom: 24px;
    text-align: center;
}

@media (max-width: 700px) {
    .page-content:has(> .sfy-seo-content[data-seo-content="about"]),
    .page-content:has(> .sfy-seo-content[data-seo-content="contact"]) {
        padding: 34px 20px;
    }
}

.sfy-server-product-card {
    min-height: 110px;
    padding: 18px;
}

.sfy-server-product-card h2 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.sfy-server-product-card p {
    margin: 0;
}

@media (max-width: 700px) {
    .sfy-seo-content,
    .sfy-server-product-content {
        width: min(100% - 20px, 1050px);
        padding: 20px;
    }
}
.empty-category-dialog {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(24, 33, 27, 0.58);
}

.empty-category-dialog.open {
    display: flex;
}

.empty-category-dialog-card {
    width: min(440px, 100%);
    padding: 28px;
    border-radius: 16px;
    background: #fffdf8;
    color: #26352b;
    text-align: center;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.empty-category-dialog-card h2 {
    margin: 0 0 14px;
    font-family: Georgia, serif;
}

.empty-category-dialog-card p {
    margin: 0 0 22px;
    line-height: 1.55;
}

.empty-category-dialog-card button {
    min-width: 120px;
    padding: 11px 20px;
    border: 0;
    border-radius: 9px;
    background: #385443;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.empty-category-dialog-card button:focus-visible {
    outline: 3px solid #d5a94e;
    outline-offset: 3px;
}

.sfy-category-countries {
    margin: 22px 0 30px;
}

.sfy-category-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.sfy-category-title-row h1 {
    margin-bottom: 0;
}

.sfy-products-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    background: #385443;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.sfy-products-back-button:hover {
    background: #263d31;
    color: #fff;
}

.sfy-products-back-button:focus-visible {
    outline: 3px solid #d5a94e;
    outline-offset: 3px;
}

.sfy-category-hidden,
.sfy-country-filter-hidden {
    display: none !important;
}

.sfy-category-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 20px 0 16px;
    padding: 14px 16px;
    border: 1px solid #d1c7b7;
    border-radius: 10px;
    background: #fffdf8;
}

.sfy-category-result-header h2 {
    margin: 0;
    color: #26352b;
    font-family: Georgia, serif;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.sfy-category-result-header h2 span {
    margin-left: 8px;
    color: #667068;
    font-family: inherit;
    font-size: .78em;
    font-weight: 600;
}

.sfy-category-back-button {
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: #9a3f35;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.sfy-category-back-button:hover {
    background: #7d342d;
}

.sfy-category-back-button:focus-visible {
    outline: 3px solid #d5a94e;
    outline-offset: 3px;
}

.sfy-category-countries h2 {
    margin: 0 0 14px;
    color: #26352b;
    font-family: Georgia, serif;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.sfy-category-country-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sfy-category-country-card {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 13px 10px;
    border: 1px solid #d1c7b7;
    border-radius: 10px;
    background: #fffdf8;
    color: #26352b;
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.sfy-category-country-card:hover,
.sfy-category-country-card.selected {
    border-color: #416b62;
    background: #416b62;
    color: #fff;
    transform: translateY(-2px);
}

.sfy-category-country-card strong {
    font-family: Georgia, serif;
    font-size: 1rem;
}

.sfy-category-country-card span {
    margin-top: 7px;
    color: #667068;
    font-size: .78rem;
}

.sfy-category-country-card:hover span,
.sfy-category-country-card.selected span {
    color: #fff;
}

.sfy-category-country-card.sfy-country-uploading span {
    color: #9a3f35;
    font-weight: 700;
}

.sfy-category-country-card.sfy-country-uploading:hover span,
.sfy-category-country-card.sfy-country-uploading.selected span {
    color: #fff;
}

.sfy-category-country-card.sfy-all-countries {
    border-color: #9a3f35;
}

.sfy-category-country-card.sfy-all-countries.selected {
    background: #9a3f35;
}

.sfy-category-country-card:focus-visible {
    outline: 3px solid #d5a94e;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .sfy-category-country-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .sfy-category-title-row {
        align-items: stretch;
        flex-direction: column;
    }

    .sfy-category-result-header {
        align-items: stretch;
        flex-direction: column;
    }

    .sfy-category-country-grid {
        grid-template-columns: 1fr;
    }
}
