/* ==================================================================
   BEARINGLANC — "NOVA" SABLON (4. sablon: központosított logó, szerkesztői/
   boutique jelleg)
   Irány: krémszínű, meleg alapszín, mély smaragd + rézarany akcentek,
   éles, letisztult sarkak (nem lekerekített, mint a Pulse), szerif
   kijelző-betűtípus (Fraunces) a címsorokhoz — ez önmagában is
   megkülönbözteti a másik három sablontól. A fejléc teljesen más
   elrendezésű: a logó mindig középen van (a keresőtől és a fiók/kosár
   gomboktól függetlenül, CSS-es középre igazítással), alatta pedig egy
   vékony, nagybetűs, aláhúzásos szöveges navigáció fut végig — nincs
   "pill" gomb-háttér, nincs oldalsáv, mint a másik három sablonnál.
   UGYANAZOKAT a HTML class-neveket használja, mint a többi sablon —
   a modulok PHP-kódja egy karaktert sem változik.
   ================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&family=Space+Mono:wght@500;700&display=swap');

:root {
    /* Alap paletta - meleg, krémszínű */
    --color-bg:          #FAF7F1;
    --color-surface:     #FFFFFF;
    --color-ink:          #14201C;   /* mély, zöldes fekete - lábléc, sötét felületek */
    --color-text:        #221D16;
    --color-text-muted:  #7A7264;
    --color-border:      #E7E0D3;

    /* Akcentek */
    --color-primary:     #0E6B57;   /* mély smaragdzöld */
    --color-primary-deep:#0A4F41;
    --color-accent:      #C08A34;   /* rézarany */
    --color-teal:        #0E6B57;
    --color-danger:      #C1483C;
    --color-success:     #2F8F5B;

    /* Tipó - szerif kijelző-betűtípus a másik három sablontól eltérően */
    --font-display: 'Fraunces', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 10px;

    --shadow-soft: 0 6px 20px rgba(20,32,28,0.06);
    --shadow-hover: 0 14px 32px rgba(14,107,87,0.14);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ==================================================================
   FEJLÉC — középre igazított logó, vékony aláhúzásos szöveges navigáció
   (teljesen más elrendezés, mint a másik három sablonnál). A logót és a
   két oldalán lévő tartalmat VALÓDI, 3 oszlopos CSS grid tartja középen
   (1fr / auto / 1fr) — ez garantáltan nem engedi, hogy bármi egymásba
   lógjon, függetlenül attól, mennyi aloldal-link vagy egyéb tartalom van
   az oldalakon. A jobb oldali elemek (aloldal-linkek, fiók, kosár) egy
   közös .header-actions dobozba kerülnek — a másik három sablonnál ez a
   doboz "display:contents"-szel láthatatlan (nulla hatással van rájuk),
   itt viszont valódi grid-cellát foglal.
   ================================================================== */
.site-topbar { font-size: 0.78rem; line-height: 30px; }
.site-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-topbar-links a { color: inherit; text-decoration: none; opacity: 0.85; }
.site-topbar-links a:hover { opacity: 1; text-decoration: underline; }
.site-topbar-social { display: flex; align-items: center; gap: 10px; }
.site-topbar-social a { color: inherit; display: flex; align-items: center; justify-content: center; opacity: 0.85; }
.site-topbar-social a:hover { opacity: 1; }
@media (max-width: 640px) {
    .site-topbar { font-size: 0.72rem; }
    .site-topbar-links { gap: 12px; }
    .site-topbar-links a { white-space: nowrap; }
    .site-topbar-inner { overflow-x: auto; scrollbar-width: none; }
    .site-topbar-inner::-webkit-scrollbar { display: none; }
}

.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 32px 0;
}

.header-row-single {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-bottom: 18px;
}

.header-search {
    order: 1;
    width: 100%;
    max-width: 260px;
    display: flex;
    align-items: center;
    border: none;
    border-bottom: 1.5px solid var(--color-border);
    background: none;
    transition: border-color 0.15s ease;
}
.header-search:focus-within { border-bottom-color: var(--color-primary); }
.header-search input {
    flex: 1; min-width: 0; border: none; background: transparent; padding: 7px 0;
    font-family: var(--font-body); font-size: 0.87rem; color: var(--color-text); line-height: 1.4;
}
.header-search input::placeholder { color: var(--color-text-muted); }
.header-search input:focus { outline: none; }
.header-search button {
    border: none; background: none; color: var(--color-text-muted); padding: 0 0 0 10px;
    cursor: pointer; display: flex; align-items: center; transition: color 0.15s ease;
}
.header-search button:hover { color: var(--color-primary); }

.logo {
    order: 2;
    display: flex;
    align-items: center;
    margin: 0 auto;
}
.logo img {
    width: auto;
    display: block;
}

.header-actions {
    order: 3;
    display: flex;
    align-items: center;
    gap: 26px;
}

.header-page-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}
.header-page-links a {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.15s ease;
    white-space: nowrap;
}
.header-page-links a:hover {
    color: var(--color-primary);
}

@media (max-width: 900px) {
    .header-page-links { display: none; }
}

.cart-button {
    display: flex; align-items: center; gap: 7px; padding: 0;
    border: none; background: none;
    font-weight: 600; font-size: 0.8rem; letter-spacing: 0.02em; position: relative; flex-shrink: 0; color: var(--color-text);
    transition: color 0.15s ease;
}
.cart-button:hover { color: var(--color-primary); }
.account-button {
    display: flex; align-items: center; justify-content: center; width: 22px; height: 22px;
    border: none; background: none; flex-shrink: 0; color: var(--color-text); padding: 0;
    transition: color 0.15s ease;
}
.account-button:hover { color: var(--color-primary); }
.cart-count {
    background: var(--color-primary); color: #fff; font-family: var(--font-mono); font-size: 0.65rem;
    min-width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

.mobile-menu-btn {
    order: 0;
    display: none; align-items: center; justify-content: center; width: 22px; height: 22px;
    border: none; background: none;
    color: var(--color-text); cursor: pointer; padding: 0;
}

.main-nav { max-width: 1280px; margin: 0 auto; padding: 14px 24px 16px; border-top: 1px solid var(--color-border); margin-top: 14px; }
.main-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.main-nav a {
    position: relative;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text); white-space: nowrap;
    padding: 4px 0; background: none;
    transition: color 0.15s ease;
}
.main-nav a::after {
    content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
    background: var(--color-primary); transition: right 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-primary); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.main-nav li.has-submenu { position: relative; }
.main-nav .submenu-arrow { font-size: 0.7em; opacity: 0.6; }
.main-nav .submenu {
    display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 0;
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-hover);
    min-width: 220px; padding: 20px 8px 8px; list-style: none; z-index: 70;
}
.main-nav li.has-submenu:hover > .submenu { display: block; }

.main-nav .submenu li.has-nested-submenu { position: relative; }
.main-nav .submenu li.has-nested-submenu > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.main-nav .submenu .submenu { top: -20px; left: 100%; transform: none; margin-left: -6px; }
.main-nav .submenu li.has-nested-submenu:hover > .submenu { display: block; }
.submenu-arrow-nested { font-size: 0.75em; opacity: 0.5; }
.main-nav .submenu li a {
    display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 0.8rem; letter-spacing: normal; text-transform: none;
    font-weight: 500; background: none; white-space: nowrap; color: var(--color-text);
}
.main-nav .submenu li a::after { display: none; }
.main-nav .submenu li a:hover { background: var(--color-bg); color: var(--color-primary); }

.mobile-nav-backdrop { display: none; }
.mobile-nav-drawer {
    position: fixed; top: 0; left: 0; height: 100vh; width: 300px; max-width: 85vw;
    background: var(--color-bg); z-index: 400; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(.16,1,.3,1);
    overflow-y: auto; padding: 20px; box-shadow: 4px 0 40px rgba(20,32,28,0.15);
}
.mobile-nav-drawer.open { transform: translateX(0); }
.mobile-nav-backdrop.open {
    display: block; position: fixed; inset: 0; background: rgba(20,32,28,0.4); backdrop-filter: blur(4px); z-index: 390;
}
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-nav-account {
    display: flex; align-items: center; gap: 10px; padding: 14px 16px; margin-bottom: 20px;
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; color: var(--color-text);
}
.mobile-nav-section { margin-bottom: 24px; }
.mobile-nav-section h3 {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: 10px; font-weight: 700;
}
.mobile-nav-section ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-section li a { display: block; padding: 11px 12px; font-size: 0.95rem; font-weight: 600; color: var(--color-text); border-radius: var(--radius-sm); }
.mobile-nav-section li a:hover { background: var(--color-bg); color: var(--color-primary); }

.nav-item-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.nav-item-row a { flex: 1; }
.nav-toggle {
    background: none; border: none; cursor: pointer; color: var(--color-text-muted); font-size: 0.8rem;
    padding: 8px; flex-shrink: 0; transition: transform 0.2s ease;
}
li.expanded > .nav-item-row .nav-toggle { transform: rotate(180deg); }

.subcategory-list {
    list-style: none; margin: 0 0 0 16px; padding: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, margin 0.35s ease;
}
li.expanded > .subcategory-list { max-height: 600px; margin: 2px 0 6px 16px; }
.subcategory-list a { font-size: 0.85rem !important; font-weight: 500 !important; color: var(--color-text-muted) !important; padding: 8px 12px !important; }
body.nav-open { overflow: hidden; }

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .main-nav { display: none; }
    .header-row-single {
        display: flex; flex-wrap: wrap; align-items: center;
        column-gap: 16px; row-gap: 12px; height: auto;
    }
    .mobile-menu-btn { order: 1; }
    .logo { order: 2; flex: 1; text-align: center; }
    .header-actions { order: 3; }
    .header-search { order: 4; flex: 1 1 100%; max-width: none; }
}

@media (max-width: 640px) {
    .header-inner { padding: 14px 16px 0; }
    .logo img { max-width: 65vw; }
    .cart-label { display: none; }
    .header-actions { gap: 18px; }
}

/* ==================================================================
   HERO — központosított, nagy tipográfia, elmosott "fény-glow" háttérben
   (NEM kétoszlopos, mint az Orbit sablon — valódi elrendezés-különbség)
   ================================================================== */
.hero {
    position: relative;
    background: var(--color-bg);
    color: var(--color-text);
    overflow: hidden;
    min-height: 480px;
    max-height: 640px;
    display: flex;
    align-items: center;
}
.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 72px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}
.hero-text { order: 1; display: flex; flex-direction: column; align-items: center; }

.hero::before {
    content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
    width: 900px; height: 900px; border-radius: 50%; z-index: 0;
    background: radial-gradient(circle, rgba(14,107,87,0.12), transparent 60%);
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: 20%;
    width: 600px; height: 600px; border-radius: 50%; z-index: 0;
    background: radial-gradient(circle, rgba(192,138,52,0.10), transparent 60%);
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em;
    color: var(--color-primary); background: rgba(14,107,87,0.08);
    padding: 6px 16px; border-radius: var(--radius-sm);
    text-transform: uppercase; margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.02;
    margin-bottom: 20px;
}
.hero h1 .accent {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero p.lead { font-size: 1.1rem; color: var(--color-text-muted); max-width: 520px; margin: 0 auto 32px; }

.hero-ctas { display: flex; gap: 14px; margin-bottom: 44px; flex-wrap: wrap; justify-content: center; }
.btn-hero-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: #fff; font-weight: 700; padding: 15px 30px;
    border-radius: var(--radius-sm); font-size: 0.95rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 12px 30px rgba(14,107,87,0.35);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(14,107,87,0.45); }
.btn-hero-secondary {
    background: var(--color-surface); color: var(--color-text); font-weight: 700; padding: 15px 30px;
    border-radius: var(--radius-sm); font-size: 0.95rem; box-shadow: var(--shadow-soft);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.btn-hero-secondary:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.hero-stats { display: flex; gap: 40px; justify-content: center; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--color-text); font-weight: 800; }
.hero-stat span { font-size: 0.76rem; color: var(--color-text-muted); }
.hero-image-banner { width: 100%; background: var(--color-bg); display: flex; justify-content: center; }
.hero-image-banner-inner { width: 100%; }
.hero-image-banner-inner picture, .hero-slide picture { display: block; }
.hero-image-banner-inner img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.hero-image-banner-inner a { display: block; }

.hero-slider { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-lg); }
.hero-slider-track { position: relative; width: 100%; aspect-ratio: 1600 / 568; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; z-index: 0;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide a, .hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-slider[data-animation="slide"] .hero-slide {
    opacity: 1; transition: none; transform: translateX(100%); z-index: 0;
}
.hero-slider[data-animation="slide"] .hero-slide.active {
    transform: translateX(0); z-index: 1;
}

.hero-slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px); color: var(--color-text); font-size: 1.4rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
    transition: box-shadow 0.15s ease;
}
.hero-slider-arrow:hover { box-shadow: var(--shadow-hover); }
.hero-slider-prev { left: 18px; }
.hero-slider-next { right: 18px; }

.hero-slider-dots { position: absolute; bottom: 18px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hero-slider-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.6); cursor: pointer; padding: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}
.hero-slider-dot.active { background: #fff; transform: scale(1.3); }

@media (max-width: 640px) {
    .hero-slider-track { aspect-ratio: auto; }
    .hero-slide {
        display: none;
        position: static;
        opacity: 1;
        transition: none;
        transform: none;
    }
    .hero-slide.active { display: block; }
    .hero-slide a, .hero-slide img { height: auto; object-fit: initial; }
    .hero-slider-arrow { width: 36px; height: 36px; font-size: 1.1rem; }
}


@media (max-width: 900px) {
    .hero { max-height: none; min-height: auto; overflow: visible; padding: 8px 0; }
    .hero-inner { padding: 48px 24px; }
    .hero-ctas, .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px 16px; }
    .hero-stat { min-width: 80px; }
}

/* ==================================================================
   MODULOK — általános
   ================================================================== */
.home-modules { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.module { padding: 64px 0; }
.module:last-child { border-bottom: none; }

.module-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.module-title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; position: relative; padding-bottom: 16px; }
.module-title::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 2px; background: var(--color-accent);
}
.module-link-all {
    font-size: 0.85rem; font-weight: 700; color: var(--color-primary);
    padding: 8px 16px; border-radius: var(--radius-sm); background: rgba(14,107,87,0.08);
}
.module-link-all:hover { background: rgba(14,107,87,0.14); }
.module-empty { color: var(--color-text-muted); font-style: italic; }

.module-title-link { font-size: 0.9rem; font-weight: 600; color: var(--color-primary); text-decoration: none; white-space: nowrap; }
.module-title-link:hover { text-decoration: underline; }

.blog-showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.blog-card-image { aspect-ratio: 16/9; background: var(--color-bg); overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-image-empty { background: linear-gradient(135deg, #F5F6FA, #ECEFF5); }
.blog-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-category { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-primary); }
.blog-card-title { margin: 0; font-size: 1.1rem; line-height: 1.35; }
.blog-card-excerpt { margin: 0; font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.5; flex: 1; }
.blog-card-date { font-size: 0.78rem; color: var(--color-text-muted); margin-top: auto; }

/* ---- Termékajánló csúszka ---- */
.product-slider-nav { display: flex; gap: 8px; }
.product-slider-arrow {
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: var(--color-surface); box-shadow: var(--shadow-soft); cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; line-height: 1; color: var(--color-text); transition: box-shadow 0.15s ease, color 0.15s ease;
}
.product-slider-arrow:hover { box-shadow: var(--shadow-hover); color: var(--color-primary); }

.product-slider-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 14px;
    -webkit-overflow-scrolling: touch;
}
.product-slider-track .product-card { flex: 0 0 250px; scroll-snap-align: start; }
.product-slider-track::-webkit-scrollbar { height: 6px; }
.product-slider-track::-webkit-scrollbar-track { background: transparent; }
.product-slider-track::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
.product-slider-track::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

@media (max-width: 640px) {
    .product-slider-track .product-card { flex-basis: 210px; }
}

/* ---- Kategória kirakat: lebegő kártyák, lekerekített, glass-chip felirat ---- */
.bento-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.bento-item {
    position: relative;
    width: 210px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s cubic-bezier(.16,1,.3,1), box-shadow 0.25s ease;
    text-decoration: none;
}

/* Felirat elhelyezése: a képen (overlay, alap, "glass chip") vagy a kép ALATT (below) */
.bento-item.bento-label-overlay { align-items: flex-end; padding: 14px; }
.bento-item.bento-label-overlay .bento-bg { position: absolute; inset: 0; z-index: 0; }

.bento-item.bento-label-below { align-items: stretch; padding: 0; }
.bento-item.bento-label-below .bento-bg { position: relative; z-index: 0; width: 100%; height: 0; padding-top: 100%; overflow: hidden; }
.bento-item.bento-label-below .bento-overlay { display: none; }
.bento-item.bento-label-below .bento-label {
    position: relative; z-index: 2; padding: 12px 14px; text-align: center; display: block;
    background: none; backdrop-filter: none; border-radius: 0;
}

.bento-item .bento-bg img { width: 100%; height: 100%; object-fit: cover; }
.bento-item.bento-label-below .bento-bg img { position: absolute; inset: 0; object-fit: contain; padding: 16px; box-sizing: border-box; }

.bento-item .bento-overlay { position: absolute; inset: 0; z-index: 1; }
.bento-overlay-style-gradient { background: linear-gradient(180deg, rgba(15,15,22,0) 40%, rgba(15,15,22,0.7) 100%); }
.bento-overlay-style-glass { background: rgba(15,15,22,0.15); backdrop-filter: blur(3px); }

.bento-item .bento-label {
    position: relative; z-index: 2; color: #fff; font-family: var(--font-display);
    font-weight: 700; font-size: 0.95rem;
    background: rgba(255,255,255,0.14); backdrop-filter: blur(8px);
    padding: 7px 14px; border-radius: var(--radius-sm);
}
.bento-label-style-solid, .bento-label-style-outline { backdrop-filter: none; }

/* Hover effektek */
.bento-hover-lift:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-hover); }
.bento-hover-zoom .bento-bg img { transition: transform 0.4s ease; }
.bento-hover-zoom:hover .bento-bg img { transform: scale(1.1); }
.bento-hover-glow:hover { box-shadow: 0 0 0 3px var(--color-primary), var(--shadow-hover); }

/* Alak */
.bento-shape-circle.bento-label-overlay { border-radius: 50% !important; }
.bento-shape-circle.bento-label-below .bento-bg { border-radius: 50%; overflow: hidden; }
.bento-shape-circle.bento-label-below { border-radius: 0 !important; box-shadow: none !important; background: none !important; }
.bento-shape-circle.bento-label-below .bento-label { text-align: center; }

@media (max-width: 480px) {
    .bento-item { max-width: calc(50% - 24px); }
    .bento-item.bento-label-overlay { aspect-ratio: 1 / 1; height: auto !important; }
    .bento-item.bento-label-below { height: auto !important; }
}

/* ---- Termékrács: lebegő, szegély nélküli kártyák, lágy árnyékkal ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, 240px); gap: 22px; justify-content: start; }
@media (max-width: 600px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; justify-content: stretch; }
    .product-name { font-size: 0.85rem; }
    .price-new { font-size: 0.95rem; }
}
.product-card {
    background: var(--color-surface);
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.product-card > a { display: block; }
.product-image { position: relative; aspect-ratio: 1/1; background: linear-gradient(135deg, #F1ECDF, #FAF7F1); }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }

.badge-stack { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 6px; align-items: flex-start; overflow: hidden; }
.sticker-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.badge { font-family: var(--font-mono); font-size: 0.66rem; padding: 4px 10px; border-radius: var(--radius-sm); color: #fff; white-space: nowrap; }
.badge-sale { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); }
.badge-new { background: var(--color-success); }
.badge-sticker { font-weight: 700; }

.product-info { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-name {
    font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; margin-bottom: 12px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.6em;
}
.product-price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; margin-top: auto; }
.price-current-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: nowrap; }
.price-unit { font-size: 0.75em; color: var(--color-text-muted); white-space: nowrap; }
.price-new { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--color-primary); }
.price-old { font-family: var(--font-mono); font-size: 0.8rem; color: var(--color-text-muted); text-decoration: line-through; }
.btn-add-cart {
    width: 100%; background: var(--color-ink); color: #fff; border: none; padding: 12px;
    border-radius: var(--radius-sm); font-weight: 700; font-size: 0.85rem; cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.btn-add-cart:hover { background: var(--color-primary); transform: translateY(-1px); }

.btn-compare-toggle {
    width: 100%; background: #fff; color: var(--color-text); border: 1.5px solid var(--color-border);
    padding: 8px; margin-top: 6px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.8rem;
    cursor: pointer; transition: all 0.15s ease; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-compare-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-compare-toggle.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.btn-wishlist-toggle {
    width: 100%; background: #fff; color: var(--color-text); border: 1.5px solid var(--color-border);
    padding: 8px; margin-top: 6px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.8rem;
    cursor: pointer; transition: all 0.15s ease; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-wishlist-toggle:hover { border-color: #E0457B; color: #E0457B; }
.btn-wishlist-toggle.active { background: #FDECF3; border-color: #E0457B; color: #E0457B; }
.btn-wishlist-remove {
    flex-shrink: 0; width: 42px; background: #fff; border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm); cursor: pointer; color: var(--color-text-muted); font-size: 0.9rem;
}
.btn-wishlist-remove:hover { border-color: var(--color-danger); color: var(--color-danger); }


.compare-bar {
    position: fixed; bottom: 20px; right: 20px; z-index: 500;
    background: var(--color-ink); border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.compare-bar a {
    display: flex; align-items: center; gap: 8px; padding: 12px 22px;
    color: #fff; font-weight: 700; font-size: 0.9rem; text-decoration: none;
}
.compare-bar #compare-bar-count {
    background: #fff; color: var(--color-ink); border-radius: 999px;
    min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.78rem; padding: 0 5px;
}
@media (max-width: 640px) {
    .compare-bar { bottom: 14px; right: 14px; }
    .compare-bar a { padding: 10px 16px; font-size: 0.82rem; }
}

/* ==================================================================
   TERMÉK ÖSSZEHASONLÍTÁS
   ================================================================== */
.compare-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
    padding: 14px 18px; text-align: center; vertical-align: middle;
    border-bottom: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
}
.compare-table th:last-child, .compare-table td:last-child { border-right: none; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-label-col {
    text-align: left !important; background: var(--color-bg); font-weight: 600; font-size: 0.85rem;
    white-space: nowrap; min-width: 140px;
}
.compare-table thead th { background: var(--color-bg); position: relative; padding-top: 36px; }
.compare-remove-btn {
    position: absolute; top: 8px; right: 10px; background: none; border: none; cursor: pointer;
    color: var(--color-text-muted); font-size: 1rem; line-height: 1; padding: 4px;
}
.compare-remove-btn:hover { color: var(--color-danger); }
.compare-table thead a { text-decoration: none; color: inherit; display: block; }
.compare-product-img { width: 90px; height: 90px; object-fit: contain; margin: 0 auto 8px; display: block; }
.compare-product-name { font-size: 0.85rem; font-weight: 600; color: var(--color-text); line-height: 1.3; }
.compare-table .btn-add-cart { width: auto; padding: 8px 20px; }

/* ==================================================================
   BREADCRUMB
   ================================================================== */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--color-text-muted); margin: 24px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--color-text); font-weight: 700; }

/* ==================================================================
   KATEGÓRIA LISTA OLDAL
   ================================================================== */
.category-page-header {
    background: linear-gradient(135deg, var(--color-primary), #4E3FD6);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-hover);
}
.category-page-header h1 { font-size: 1.3rem; margin-bottom: 4px; }
.category-page-header p { color: rgba(255,255,255,0.75); max-width: 600px; font-size: 0.85rem; }
.subcategory-grid { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0; }
.subcategory-card { display: flex; flex-direction: column; align-items: center; width: 100px; text-align: center; }
.subcategory-card-image {
    width: 100px; height: 100px; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--color-surface); box-shadow: var(--shadow-soft); margin-bottom: 8px;
    transition: transform 0.25s cubic-bezier(.16,1,.3,1), box-shadow 0.25s ease;
}
.subcategory-card-image img { width: 100%; height: 100%; object-fit: cover; }
.subcategory-card:hover .subcategory-card-image { transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow-hover); }
.subcategory-card-name { font-size: 0.82rem; font-weight: 700; color: var(--color-text); line-height: 1.3; }

.pagination { display: flex; gap: 8px; justify-content: center; margin: 44px 0; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border-radius: 50%; background: var(--color-surface); box-shadow: var(--shadow-soft); font-size: 0.85rem; font-weight: 700;
}
.pagination a:hover { color: var(--color-primary); box-shadow: var(--shadow-hover); }
.pagination .current { background: var(--color-primary); color: #fff; box-shadow: none; }

/* ==================================================================
   TERMÉK OLDAL
   ================================================================== */
.product-detail { display: grid; grid-template-columns: var(--product-left-fr, 1fr) var(--product-right-fr, 1fr); gap: 52px; align-items: start; margin: 32px 0 60px; }
.product-gallery { min-width: 0; }
.product-gallery-main { position: relative; border: none; border-radius: var(--radius-lg); background: linear-gradient(135deg, #F1ECDF, #FAF7F1); box-shadow: var(--shadow-soft); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; max-height: 560px; }
.product-gallery-main img { width: 78%; height: 78%; object-fit: contain; }
.product-gallery-thumbs-wrap { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.product-gallery-thumbs { display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px; }
.product-gallery-thumbs::-webkit-scrollbar { display: none; }
.product-gallery-thumbs img { box-sizing: border-box; width: 100%; height: 100%; flex-shrink: 0; object-fit: contain; border-radius: var(--radius-sm); padding: 6px; cursor: pointer; background: #fff; box-shadow: var(--shadow-soft); }
.product-gallery-thumbs img:hover, .product-gallery-thumbs img.active { box-shadow: var(--shadow-hover); }
.gallery-thumb-nav { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--color-border); background: var(--color-surface); cursor: pointer; font-size: 1rem; color: var(--color-text); display: flex; align-items: center; justify-content: center; }
.gallery-thumb-nav:hover { border-color: var(--color-primary); color: var(--color-primary); }
.gallery-zoom-btn { position: absolute; bottom: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,0.92); color: var(--color-text); font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

.gallery-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 68px; height: 68px; border-radius: 50%; border: none; background: rgba(0,0,0,0.65);
    color: #fff; font-size: 1.5rem; cursor: pointer; align-items: center; justify-content: center;
    display: flex; padding-left: 4px; transition: background 0.15s ease, transform 0.15s ease;
}
.gallery-play-btn:hover { background: rgba(0,0,0,0.8); transform: translate(-50%, -50%) scale(1.06); }
.gallery-video-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.gallery-thumb-video-badge {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.65); color: #fff;
    width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem; padding-left: 1px; pointer-events: none;
}
.gallery-zoom-btn:hover { background: #fff; }
.product-lightbox { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(11,17,28,0.92); align-items: center; justify-content: center; padding: 40px; }
.product-lightbox.open { display: flex; }
.product-lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.3rem; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.8rem; cursor: pointer; }
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
body.lightbox-locked { overflow: hidden; }
@media (max-width: 600px) {
    .lightbox-nav { width: 42px; height: 42px; font-size: 1.4rem; }
    .lightbox-nav.prev { left: 8px; }
    .lightbox-nav.next { right: 8px; }
    .product-lightbox { padding: 16px; }
}

.product-detail-info .sku-line { font-family: var(--font-mono); color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: 10px; }
.product-detail-info h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 18px; }
.product-detail-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.product-info-columns { display: flex; flex-direction: column; gap: 20px; }
.product-info-card { min-width: 0; }
.product-info-paired-row { display: flex; gap: 32px; align-items: flex-start; }
.product-info-paired-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.product-detail-price .price-new { font-size: 1.9rem; }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; padding: 7px 16px; border-radius: var(--radius-sm); margin-bottom: 26px; }
.stock-pill.in-stock { background: rgba(47,143,91,0.1); color: var(--color-success); }
.stock-pill.out-of-stock { background: rgba(255,71,87,0.1); color: var(--color-danger); }
.stock-pill::before { content:''; width:7px; height:7px; border-radius:50%; background: currentColor; }

.add-to-cart-form { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }

.product-price-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.product-price-cta-info { display: flex; flex-direction: column; gap: 8px; }
.product-price-cta-info .product-detail-price { margin-bottom: 0; }
.product-price-cta-info .stock-pill { margin-bottom: 0; }
.product-price-cta-action { flex-shrink: 0; }
.product-price-cta-action .add-to-cart-form { margin-bottom: 0; }
@media (max-width: 480px) {
    .product-price-cta-row { flex-direction: column; align-items: stretch; }
    .product-price-cta-action .add-to-cart-form { flex-wrap: wrap; }
}
.product-custom-upload { margin: 0 0 16px; width: 100%; }
.custom-upload-dropzone {
    border: 2px dashed var(--color-border); border-radius: var(--radius-md); padding: 18px;
    text-align: center; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.custom-upload-dropzone:hover, .custom-upload-dropzone.dragover { border-color: var(--color-primary); background: rgba(0,0,0,0.02); }
.custom-upload-placeholder { display: flex; flex-direction: column; gap: 4px; align-items: center; color: var(--color-text-muted); font-size: 0.88rem; }
.custom-upload-preview { position: relative; display: inline-block; }
.custom-upload-preview img { max-width: 140px; max-height: 140px; border-radius: var(--radius-sm); display: block; margin: 0 auto; object-fit: contain; background: #fff; }
.custom-upload-zoom-btn, .custom-upload-remove-btn {
    position: absolute; top: -6px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--color-border);
    background: #fff; cursor: pointer; font-size: 0.78rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15); padding: 0; line-height: 1;
}
.custom-upload-zoom-btn { right: 22px; }
.custom-upload-remove-btn { right: -6px; color: var(--color-danger, #D64545); }
.custom-upload-zoom-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.custom-upload-remove-btn:hover { background: var(--color-danger, #D64545); color: #fff; border-color: var(--color-danger, #D64545); }

.qty-input { width: 84px; padding: 13px; border: none; box-shadow: var(--shadow-soft); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 1rem; text-align: center; }

.product-options { margin: 0 0 20px; display: grid; grid-template-columns: 1fr; gap: 18px 20px; align-items: start; }
.product-options-cols-2 { grid-template-columns: 1fr 1fr; }
.product-option-group-color, .product-option-group-image { grid-column: 1 / -1; }
@media (max-width: 640px) {
    .product-options { grid-template-columns: 1fr; }
}
.product-option-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.product-option-label { font-weight: 600; font-size: 0.9rem; }
.product-option-select { padding: 10px 12px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.95rem; max-width: 260px; background: #fff; }
.product-option-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.option-value-btn { padding: 8px 16px; border: 1.5px solid var(--color-border); border-radius: 999px; background: #fff; cursor: pointer; font-size: 0.88rem; color: var(--color-text); }
.option-value-btn:hover { border-color: var(--color-primary); }
.option-value-btn.selected { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }

.option-value-btn.selected .option-price-mod { color: rgba(255,255,255,0.85); }

.product-option-swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.option-swatch-item { position: relative; display: inline-block; }
.option-swatch-select-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; padding: 0; }
.option-swatch { display: block; width: var(--option-swatch-size, 42px); height: var(--option-swatch-size, 42px); border: 2px solid var(--color-border); box-shadow: 0 1px 2px rgba(0,0,0,0.08); background-size: cover; background-position: center; }
.product-option-swatches-circle .option-swatch { border-radius: 50%; }
.product-option-swatches-square .option-swatch { border-radius: 8px; }
.option-swatch-select-btn:hover .option-swatch { border-color: var(--color-primary); }
.option-swatch-item.selected .option-swatch { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(0,0,0,0.06), 0 0 0 3px var(--color-primary); }
.option-swatch-label { font-size: 0.76rem; color: var(--color-text); text-align: center; max-width: 76px; line-height: 1.3; }
.option-swatch-zoom-btn {
    position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%;
    border: 1.5px solid var(--color-border); background: #fff; color: var(--color-text);
    font-size: 0.7rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15); padding: 0; line-height: 1; z-index: 1;
}
.option-swatch-zoom-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.option-price-mod { font-size: 0.85em; opacity: 0.7; }
.cart-item-options { display: block; font-size: 0.8rem; margin-top: 2px; }
.cart-item-upload { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-item-upload img { width: 32px; height: 32px; object-fit: cover; border-radius: 6px; border: 1px solid var(--color-border); }
.btn-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: #fff; font-weight: 700; padding: 13px 32px;
    border-radius: var(--radius-sm); border: none; cursor: pointer; font-size: 0.95rem;
    box-shadow: 0 12px 28px rgba(14,107,87,0.32);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(14,107,87,0.4); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table tr { border-bottom: 1px solid var(--color-border); }
.spec-table td { padding: 12px 0; font-size: 0.9rem; }
.spec-table td:first-child { color: var(--color-text-muted); width: 45%; }
.spec-table td:last-child { font-weight: 700; }

.product-substitutes { margin-top: 44px; }

.product-short-description-full { margin-top: 44px; line-height: 1.7; color: var(--color-text); }
.product-substitutes h3 { margin-bottom: 4px; }
.product-description { margin-top: 44px; line-height: 1.75; color: var(--color-text); }

.rich-text-content p { margin: 0 0 12px; }
.rich-text-content p:last-child { margin-bottom: 0; }
.rich-text-content a { color: var(--color-primary); text-decoration: underline; }
.product-description h3 { margin-bottom: 12px; font-size: 1.15rem; }

.product-rating-summary .star-rating { font-size: 1.1rem; }
.star-rating { display: inline-flex; gap: 1px; }
.star-rating .star { color: #D8DCE3; }
.star-rating .star-filled { color: #F5A623; }

.product-reviews { margin-top: 44px; }
.product-reviews h3 { margin-bottom: 12px; font-size: 1.1rem; }
.review-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.review-item { padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.review-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.review-verified-badge { font-size: 0.72rem; background: rgba(31,169,113,0.12); color: var(--color-success); padding: 2px 8px; border-radius: 999px; }
.review-date { font-size: 0.8rem; margin-left: auto; }
.review-text { margin: 0; line-height: 1.6; }
.review-admin-reply { margin-top: 10px; padding: 12px 14px; background: var(--color-bg); border-radius: var(--radius-sm); font-size: 0.9rem; }
.review-admin-reply p { margin: 4px 0 0; }

.review-form-toggle summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.review-submit-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; max-width: 480px; }
.review-submit-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 600; }
.review-submit-form input, .review-submit-form textarea { padding: 10px 12px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem; }
.review-submit-form .form-row { display: flex; gap: 14px; }
.review-submit-form .form-row label { flex: 1; }

.star-picker { display: flex; gap: 4px; }
.star-picker-btn { background: none; border: none; font-size: 1.8rem; color: #D8DCE3; cursor: pointer; padding: 0; line-height: 1; }
.star-picker-btn:hover, .star-picker-btn.star-picker-selected { color: #F5A623; }

@media (max-width: 800px) {
    .product-detail { grid-template-columns: 1fr; }
    .product-info-paired-row { flex-direction: column; gap: 20px; }
}

/* ==================================================================
   KOSÁR OLDAL
   ================================================================== */
.cart-page { margin: 32px 0 60px; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.cart-page > form { display: contents; }
.cart-item-row { display: grid; grid-template-columns: 64px 1fr auto auto auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--color-border); }
.cart-gift-row { background: #FFFBEB; margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 8px; }
.gift-badge {
    display: inline-block; background: var(--color-primary); color: #fff;
    font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-bottom: 4px;
}
.gift-coupon-preview {
    background: #FFFBEB; border: 1.5px dashed #F5C542; border-radius: var(--radius-sm);
    padding: 12px 16px; margin: 12px 0; font-size: 0.88rem; line-height: 1.5;
}
.cart-item-row img { width: 64px; height: 64px; object-fit: contain; background: var(--color-bg); border-radius: var(--radius-sm); }
.cart-item-name { font-weight: 700; font-size: 0.92rem; }
.cart-item-name .mono { display: block; color: var(--color-text-muted); font-size: 0.78rem; margin-top: 2px; }
.cart-qty-form { display: flex; gap: 6px; align-items: center; }
.cart-qty-form input { width: 60px; padding: 8px; border: none; box-shadow: var(--shadow-soft); border-radius: var(--radius-sm); text-align: center; font-family: var(--font-mono); }
.cart-remove-btn { background: none; border: none; color: var(--color-danger); font-size: 0.8rem; cursor: pointer; font-weight: 600; }
.cart-summary { background: var(--color-surface); box-shadow: var(--shadow-soft); border-radius: var(--radius-md); padding: 24px; align-self: start; }
.cart-summary h2 { font-size: 1rem; margin-bottom: 14px; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.87rem; color: var(--color-text-muted); }
.cart-summary-row.total { font-size: 1.1rem; font-weight: 800; color: var(--color-text); border-top: 1px solid var(--color-border); padding-top: 12px; margin-top: 10px; }
.cart-empty { text-align: center; padding: 80px 20px; color: var(--color-text-muted); }
.hidden-method { display: none !important; }

/* ==================================================================
   KATEGÓRIA SZŰRŐ + RENDEZÉS
   ================================================================== */
.category-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; margin-top: 24px; }
.category-layout.mode-toggle { grid-template-columns: 1fr; }

.filter-panel {
    background: var(--color-surface); box-shadow: var(--shadow-soft); border-radius: var(--radius-md);
    padding: 22px; align-self: start;
}
.filter-panel-header { display: none; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.filter-panel-header h2 { font-size: 1rem; }
.filter-close-btn { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--color-text-muted); }

.filter-group { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.filter-group:first-of-type { padding-top: 0; }
.filter-group:last-of-type { border-bottom: none; }
.filter-group h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); margin-bottom: 12px; font-weight: 700; }
.filter-group .checkbox-label { font-size: 0.9rem; margin-bottom: 8px; }
.filter-price-row { display: flex; align-items: center; gap: 8px; }
.filter-price-row input { width: 0; flex: 1; min-width: 0; }
.filter-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.filter-clear-link { font-size: 0.85rem; color: var(--color-text-muted); text-decoration: underline; }

.category-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.filter-toggle-btn {
    display: none; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-sm);
    border: none; background: var(--color-surface); box-shadow: var(--shadow-soft); font-weight: 700; font-size: 0.88rem; cursor: pointer;
}
.sort-select {
    margin-left: auto; padding: 10px 16px; border: none; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
    font-family: var(--font-body); font-size: 0.88rem; background: var(--color-surface); cursor: pointer;
}

.filter-backdrop { display: none; }

.category-layout.mode-toggle .filter-toggle-btn { display: flex; }
.category-layout.mode-toggle .filter-panel {
    position: fixed; top: 0; left: 0; height: 100vh; width: 320px; max-width: 88vw; z-index: 300;
    border-radius: 0; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(.16,1,.3,1); overflow-y: auto;
}
.category-layout.mode-toggle .filter-panel.open { transform: translateX(0); }
.category-layout.mode-toggle .filter-panel-header { display: flex; }
.category-layout.mode-toggle .filter-backdrop.open {
    display: block; position: fixed; inset: 0; background: rgba(15,15,22,0.4); backdrop-filter: blur(4px); z-index: 290;
}

@media (max-width: 900px) {
    .category-layout { grid-template-columns: 1fr; }
    .filter-toggle-btn { display: flex; }
    .filter-panel {
        position: fixed; top: 0; left: 0; height: 100vh; width: 320px; max-width: 88vw; z-index: 300;
        border-radius: 0; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(.16,1,.3,1); overflow-y: auto;
    }
    .filter-panel.open { transform: translateX(0); }
    .filter-panel-header { display: flex; }
    .filter-backdrop.open {
        display: block; position: fixed; inset: 0; background: rgba(15,15,22,0.4); backdrop-filter: blur(4px); z-index: 290;
    }
    .sort-select { margin-left: 0; }
}

.page-content { line-height: 1.8; color: var(--color-text); }
.page-content h2 { font-size: 1.3rem; margin: 32px 0 14px; }
.page-content h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.page-content p { margin: 0 0 16px; }
.page-content ul, .page-content ol { margin: 0 0 16px; padding-left: 24px; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--color-primary); text-decoration: underline; }
.page-content strong { font-weight: 700; }
.page-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.page-content table td, .page-content table th { padding: 8px 12px; border: 1px solid var(--color-border); }

/* ---- Banner-sáv modul ---- */
.module-banner-strip { padding: 0; }
.banner-strip-wrap { margin: 0 auto; }
.banner-strip-row { display: flex; gap: 20px; }
.banner-strip-item { flex: 1 1 0; min-width: 0; }
.banner-strip-item img, .banner-strip-item a { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

@media (max-width: 700px) {
    .banner-strip-row { flex-direction: column; }
}

/* ---- Vélemények modul ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.testimonial-card {
    background: var(--color-surface); box-shadow: var(--shadow-soft); border-radius: var(--radius-md);
    padding: 26px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.testimonial-stars { margin-bottom: 14px; font-size: 1.1rem; letter-spacing: 2px; }
.star-filled { color: var(--color-accent); }
.star-empty { color: var(--color-border); }
.testimonial-text { font-size: 0.95rem; line-height: 1.65; color: var(--color-text); margin-bottom: 16px; }
.testimonial-name { font-weight: 700; font-size: 0.88rem; color: var(--color-text-muted); }

/* ---- Gyártói logó szalag modul ---- */
.brand-logos-viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.brand-logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation-name: brand-logos-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.brand-logos-viewport:hover .brand-logos-track { animation-play-state: paused; }

.brand-logo-item {
    flex: 0 0 auto;
    padding: 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}
.brand-logo-item img {
    max-height: 44px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter 0.2s ease, opacity 0.2s ease;
}
.brand-logo-item img:hover { filter: grayscale(0%); opacity: 1; }

@keyframes brand-logos-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .brand-logos-track { animation: none; }
}

/* ---- Előny-sáv modul ---- */
.trust-badges-row { display: flex; gap: 16px; }
.trust-badge { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 16px; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.trust-badge-icon {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
}
.trust-badge-icon svg { width: 22px; height: 22px; }
.trust-badge-icon img { width: 100%; height: 100%; object-fit: cover; }
.trust-badge-text { display: flex; flex-direction: column; min-width: 0; }
.trust-badge-text strong { font-size: 0.92rem; font-weight: 700; color: var(--color-text); }
.trust-badge-text span { font-size: 0.8rem; color: var(--color-text-muted); }

.module-newsletter { background: var(--color-bg); }
.newsletter-box { max-width: 620px; margin: 0 auto; text-align: center; }
.newsletter-shadow-soft { box-shadow: 0 4px 16px rgba(16,21,31,0.08); }
.newsletter-shadow-medium { box-shadow: 0 10px 30px rgba(16,21,31,0.14); }
.newsletter-shadow-strong { box-shadow: 0 20px 48px rgba(16,21,31,0.22); }
.newsletter-box .module-title-row { justify-content: center; margin-bottom: 8px; }
.newsletter-box .module-title::after { left: 50%; transform: translateX(-50%); }
.newsletter-subtitle { color: var(--color-text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.newsletter-input {
    flex: 1; min-width: 220px; padding: 12px 16px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--color-border); font-family: var(--font-body); font-size: 0.92rem;
}
.newsletter-input:focus { outline: none; border-color: var(--color-primary); }
.newsletter-submit { flex-shrink: 0; padding: 12px 24px; }
.newsletter-privacy { color: var(--color-text-muted); font-size: 0.75rem; margin-top: 14px; }
.newsletter-message { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; }
.newsletter-message-success { background: rgba(47,143,91,0.12); color: var(--color-success); }
.newsletter-message-error { background: rgba(255,71,87,0.1); color: var(--color-danger); }

@media (max-width: 640px) {
    .module-trust-badges .module-title-row { margin-bottom: 16px; }
    .trust-badges-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .trust-badge { padding: 12px; }
}

@media (max-width: 800px) {
    .cart-page { grid-template-columns: 1fr; }
    .cart-item-row {
        display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    }
    .cart-item-row img { flex: 0 0 56px; width: 56px; height: 56px; }
    .cart-item-name { flex: 1 1 auto; min-width: 0; }
    .cart-item-row .cart-qty-form,
    .cart-item-row .line-total-cell,
    .cart-item-row .cart-remove-btn {
        flex: 1 1 auto;
    }
}

/* ==================================================================
   LÁBLÉC — közel fekete, lekerekített felső sarkokkal, "lebegő" hatás
   ================================================================== */
.site-footer { background: var(--color-ink); color: #A0A0B0; margin-top: 60px; border-radius: 40px 40px 0 0; }

/* ---- Süti-elfogadó sáv ---- */
.cookie-consent-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000;
    background: var(--color-ink); color: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    padding: 18px 24px;
}
.cookie-consent-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-consent-inner p { margin: 0; flex: 1; min-width: 240px; font-size: 0.88rem; line-height: 1.5; color: #E4E7EC; }
.cookie-consent-inner a { color: var(--color-primary); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.footer-cookie-settings-link {
    background: none; border: none; color: inherit; text-decoration: underline; cursor: pointer;
    font-size: inherit; padding: 0; margin-left: 8px; opacity: 0.85;
}
.footer-cookie-settings-link:hover { opacity: 1; }

/* Elhelyezés-variánsok (admin Beállítások → Sütik) */
.cookie-consent-top_bar { bottom: auto; top: 0; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.cookie-consent-bottom_corner {
    left: 20px; right: auto; bottom: 20px; max-width: 380px; border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.cookie-consent-bottom_corner .cookie-consent-inner { flex-direction: column; align-items: stretch; gap: 14px; }
.cookie-consent-bottom_corner .cookie-consent-actions { justify-content: stretch; }
.cookie-consent-bottom_corner .cookie-consent-actions .btn { flex: 1; }

@media (max-width: 640px) {
    .cookie-consent-inner { flex-direction: column; align-items: stretch; }
    .cookie-consent-actions { justify-content: stretch; }
    .cookie-consent-actions .btn { flex: 1; }
    .cookie-consent-bottom_corner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col p { font-size: 0.88rem; line-height: 1.7; margin: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.88rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: 20px 24px; font-size: 0.8rem; color: #6E6E80; }

@media (max-width: 900px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } .site-footer { border-radius: 24px 24px 0 0; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ==================================================================
   CHECKOUT / FORM PANELOK
   ================================================================== */
.checkout-panel {
    background: var(--color-surface);
    border: none;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    margin-bottom: 16px;
}
.checkout-panel h2 { font-size: 0.95rem; margin-bottom: 12px; }

.form-row { display: flex; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.form-row > label { flex: 1; min-width: 140px; }

label { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; font-weight: 700; margin-bottom: 10px; }
input, select, textarea {
    padding: 10px 14px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 0.9rem; background: #fff; color: var(--color-text);
    transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--color-primary); outline: none; }
textarea { resize: vertical; }
.checkbox-label { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important; margin-bottom: 0; flex-wrap: wrap; }
.checkbox-label input[type="checkbox"], .checkbox-label input[type="radio"] { flex-shrink: 0; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px;
    border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; cursor: pointer;
    border: none; text-decoration: none; font-family: var(--font-body);
}
.btn-secondary { background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-soft); }

.mono { font-family: var(--font-mono); font-size: 0.9rem; }
.text-muted { color: var(--color-text-muted); font-size: 0.9rem; }
.link-danger { background: none; border: none; color: var(--color-danger); font-size: 0.85rem; cursor: pointer; padding: 0; font-family: var(--font-body); font-weight: 600; }

.alert { padding: 14px 18px; border-radius: var(--radius-md); font-size: 0.9rem; margin-bottom: 16px; }
.alert-success { background: rgba(47,143,91,0.1); color: var(--color-success); }
.alert-error { background: rgba(255,71,87,0.1); color: var(--color-danger); }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-border); font-size: 0.88rem; }
.admin-table th { color: var(--color-text-muted); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; }

.terms-checkbox-row {
    display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding-top: 12px;
    border-top: 1px solid var(--color-border); font-size: 0.8rem; line-height: 1.35;
}
.terms-checkbox-row input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }

/* ==================================================================
   MOBIL VÉGSŐ FINOMHANGOLÁS
   ================================================================== */
body { overflow-x: hidden; }

/* Görgethető táblázat-konténer (rendeléslista, rendelés-összesítő) - keskeny
   telefonon ne törjön/lógjon ki a táblázat, hanem oldalra pörgethető legyen. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .admin-table { min-width: 480px; }

@media (max-width: 480px) {
    /* Kevesebb oldalpárnázás a legkeskenyebb telefonokon - több hasznos hely a tartalomnak */
    .container, .home-modules { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 640px) {
    /* iOS Safari automatikusan rázoomol minden 16px alatti betűméretű mezőre - ez feleslegesen
       zavaró minden érintésnél (keresés, checkout, bejelentkezés). Mobilon garantáltan 16px+. */
    input, select, textarea { font-size: 16px !important; }

    /* A modulok közötti nagy, asztali méretezésű térköz feleslegesen sok görgetést ad mobilon */
    .module { padding-top: 36px !important; padding-bottom: 36px !important; }
}
.product-card-rating { margin: 2px 0 4px; font-size: 0.85rem; }
