/* Egyszerű terméknavigáció: négy főcsoport, három egyoszlopos almenü. */
:root{--header-height:96px}
.header{height:var(--header-height);padding-inline:var(--gutter)}
.header #navigation{gap:clamp(10px,1vw,18px)}
.header .nav-group,.header .nav-direct{position:relative;display:flex;align-items:center;min-width:0;border:0}
.header .product-nav-link{display:flex;align-items:center;min-height:48px;font-size:11px;letter-spacing:.015em;line-height:1.45;padding:4px 0;white-space:nowrap;color:var(--paper)}
.header .nav-group>.submenu-toggle{display:inline-flex;align-items:center;justify-content:center;width:30px;min-width:30px;min-height:44px;margin:0;padding:0;border:0;background:transparent;color:#c6b28e}
.submenu-chevron{transition:transform .18s ease}.nav-group.open .submenu-chevron{transform:rotate(180deg)}
.header .product-nav-link:hover,.header .submenu-toggle:hover{color:#e1c79f}
.header .category-dropdown{position:absolute;inset:100% auto auto 0;width:440px;max-width:calc(100vw - 40px);max-height:calc(100dvh - var(--header-height) - 24px);overflow-y:auto;overscroll-behavior:contain;display:none;margin:0;padding:10px 24px;background:#1b1c18;border:1px solid #ffffff24;border-top:1px solid #a48a6577;box-shadow:0 18px 38px #0005}
.header .nav-group:nth-child(3) .category-dropdown{left:auto;right:0}
.header .nav-group.open .category-dropdown{display:block}
.category-dropdown ul{display:block;margin:0;padding:0;list-style:none}
.category-dropdown li{margin:0;padding:0}
.header .category-dropdown li+li{border-top:1px solid #ffffff15}
.header .category-dropdown a{display:block;padding:15px 0;border:0;min-height:48px;color:#e3ddd1;font-size:14px;letter-spacing:0;line-height:1.55;transition:color .18s}
.header .category-dropdown a:hover{color:#e3c394}
.header .category-dropdown a:focus-visible{outline:1px solid #bda17a;outline-offset:3px;color:#f3dcc0}
.header #navigation>.nav-cta{font-size:9px;padding:13px 17px;margin-left:6px;gap:16px;white-space:nowrap}
.header #navigation>a:not(.nav-cta){font-size:9px;letter-spacing:.04em;white-space:nowrap}
.nav-scrim{display:none}
.subcategories{border-top:1px solid var(--line);background:var(--stone)}
.subcategories>h2{font-size:clamp(28px,3vw,42px);max-width:30ch;margin-bottom:32px}
.subcategory-list{display:block}
.subcategory-list>article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:36px;padding:28px 0;border-top:1px solid var(--line);scroll-margin-top:28px}
.subcategory-list h3{font-size:23px;line-height:1.35;max-width:30ch;margin:0}
.subcategory-list p{font-size:15px;line-height:1.75;max-width:66ch;margin:0}
.subcategory-list .text-link{margin-top:14px}
.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 30px}
.home-category-grid .image-link{aspect-ratio:1.65;display:block;position:relative}
/* A régi és az új képek egyaránt a teljes kártyafelületet töltik ki. */
.home-category-grid .category-card .image-link img{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;object-position:center}
.home-category-grid .card-description h3{max-width:34ch}
@media(min-width:1200px) and (max-width:1390px){
 .header .wordmark{font-size:26px}.header .tagline{font-size:6px}
 .header #navigation{gap:9px}.header .product-nav-link{font-size:10px}
 .header .nav-group>.submenu-toggle{width:25px;min-width:25px}.header #navigation>.nav-cta{font-size:8px;padding:12px;margin-left:0;gap:12px}
 .header #navigation>a:not(.nav-cta){font-size:8px}
}
@media(max-width:1199px){
 :root{--header-height:80px}
 .header .mobile-toggle{display:flex;gap:15px;align-items:center;background:transparent;border:1px solid #ffffff45;color:var(--paper);padding:12px 15px;min-height:44px;font-size:10px;letter-spacing:.1em}
 .header #navigation{display:none;position:fixed;inset:var(--header-height) 0 0;max-height:none;height:auto;overflow-y:auto;overscroll-behavior:contain;background:#171715;padding:22px var(--gutter) max(32px,env(safe-area-inset-bottom));flex-direction:column;align-items:stretch;gap:0;border-top:1px solid #ffffff20;border-bottom:0}
 .header.menu-open{position:fixed;inset:0 0 auto;z-index:60;background:#171715}
 .header.menu-open #navigation{display:flex}
 .header .nav-group,.header .nav-direct{display:flex;flex-wrap:wrap;align-items:center;width:100%;border-bottom:1px solid #ffffff20}
 .header .product-nav-link{flex:1;min-width:0;min-height:60px;padding:17px 0;white-space:normal;font-size:14px;line-height:1.55;letter-spacing:.02em}
 .header .nav-group>.submenu-toggle{flex:0 0 48px;width:48px;min-width:48px;min-height:52px}
 .header .category-dropdown,.header .nav-group:nth-child(3) .category-dropdown{position:static;inset:auto;flex:0 0 100%;width:100%;max-width:none;max-height:none;height:auto;overflow:visible;display:none;padding:0 0 16px 18px;margin:0;background:none;border:0;border-left:1px solid #a48a6570;box-shadow:none}
 .header .nav-group.open .category-dropdown{display:block}
 .header .category-dropdown a{font-size:14px;min-height:48px;padding:14px 0;line-height:1.65}
 .header #navigation>a:not(.nav-cta){font-size:12px;line-height:1.5;min-height:50px;padding:17px 0;white-space:normal;border-bottom:1px solid #ffffff20}
 .header #navigation>.nav-cta{margin:24px 0 0;padding:16px 20px;font-size:10px;min-height:52px;max-width:370px}
 html.mobile-menu-open{overflow:hidden;scroll-behavior:auto}
 body.mobile-menu-open{position:fixed;top:var(--menu-scroll-top);inset-inline:0;width:100%;overflow:hidden}
}
@media(max-width:600px){
 :root{--header-height:74px}.header .mobile-toggle{padding:10px 12px}
 .header .category-dropdown{padding-left:14px}.header .product-nav-link{font-size:14px}
 .home-category-grid{grid-template-columns:1fr;gap:36px}.home-category-grid .image-link{aspect-ratio:1.35}
 .subcategory-list>article{grid-template-columns:1fr;gap:16px;padding:25px 0;scroll-margin-top:20px}
 .subcategory-list h3{font-size:22px;max-width:none}.subcategory-list p{font-size:15px}
}
