/* =====================================================================
   S-041: a creals.com (PromoTron) fejlece es lablece a shopban.
   Ertekek a creals.com elo oldalarol (2026-12-03) mérve.
   Csak a site-* osztalyokra hat; a shop oldalai valtozatlanok.
   ===================================================================== */
:root {
  --site-ink: #0D0D0D;
  --site-violet: #6A6AA9;
  --site-violet-dark: #55558C;
  --site-foot: #222222;
  --site-green: #27AE60;
}

/* ---------- Fejlec ---------- */
.site-header-wrap {
  position: sticky; top: 0; z-index: 60;
  padding: 12px 36px 0;
  margin-bottom: 12px;
  pointer-events: none; /* a kapszula melletti sav ne takarja az oldalt */
}
.site-header-wrap > * { pointer-events: auto; }
.site-header {
  position: relative;
  max-width: 1440px; height: 60px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px 0 24px;
  background: var(--site-ink); color: #fff;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  font-family: Roboto, Arial, sans-serif;
}
.site-header a, .site-header button { color: inherit; text-decoration: none; }
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 8px; }
.site-header__logo img { height: 20px; width: auto; display: block; }

.site-header__products {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px;
  background: var(--site-violet); color: #fff !important; border: 1px solid var(--site-violet);
  border-radius: 999px; font-size: 15px; font-weight: 500; text-transform: uppercase; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.site-header__products svg { width: 14px; height: 14px; }
.site-header__cats:hover .site-header__products,
.site-header__products[aria-expanded="true"] { background: transparent; color: #A9A9E0 !important; }

.site-header__nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.site-header__nav a {
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background-color .15s ease;
}
.site-header__nav a:hover { background: rgba(255, 255, 255, .1); }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: transparent; border: 0; cursor: pointer;
}
.site-icon-btn:hover { background: rgba(255, 255, 255, .1); }
.site-icon-btn svg { width: 20px; height: 20px; }

.site-header__account {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
}
.site-header__account:hover { background: rgba(255, 255, 255, .1); }
.site-header__account svg { width: 20px; height: 20px; }

.site-header__cart {
  display: inline-flex; align-items: center; gap: 8px; height: 39px; padding: 0 18px 0 16px;
  background: #fff; color: var(--site-ink) !important; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
}
.site-header__cart-icon { position: relative; display: inline-flex; }
.site-header__cart-icon svg { width: 22px; height: 22px; }
.site-header__cart-count {
  position: absolute; top: -9px; left: 8px; min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--site-green); color: #fff; border-radius: 999px; font-size: 10px; font-weight: 700; line-height: 1;
}

.site-header__burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 0; background: transparent; cursor: pointer;
}
.site-header__burger svg { width: 26px; height: 26px; }

/* Termekek lenyilo */
.site-mega {
  position: absolute; top: calc(100% + 10px); left: 24px; right: 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: #fff; color: var(--site-ink); border-radius: 8px;
  padding: 24px 32px; box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}
.site-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover-hid */
.site-mega__group { padding: 0 24px; border-left: 1px solid #E5E5E5; }
.site-mega__group:first-child { border-left: 0; padding-left: 16px; }
.site-mega__head { display: block; font-size: 13px; font-weight: 600; color: #6B6B6B !important; text-transform: uppercase; letter-spacing: .04em; margin: 4px 0 14px; }
.site-mega ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.site-mega li a { display: block; padding: 7px 0; font-size: 16px; font-weight: 700; color: var(--site-ink) !important; }
.site-mega li a:hover, .site-mega__head:hover { text-decoration: underline; }

/* Nyelv / penznem */
.site-lang { position: relative; }
.site-lang__panel {
  position: absolute; top: calc(100% + 14px); right: -4px; z-index: 5;
  background: #fff; color: var(--site-ink); border-radius: 8px; padding: 14px 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}
.site-lang__panel > div { margin: 0 !important; }
.site-lang__panel select {
  appearance: auto; border: 1px solid #D9D9D9; border-radius: 6px; padding: 6px 8px; font-size: 14px; color: var(--site-ink); background: #fff;
}

/* Fiok-lenyilo (bejelentkezve) */
.site-account { position: relative; }
.site-account__panel {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 210px; z-index: 5;
  background: #fff; color: var(--site-ink); border-radius: 8px; padding: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}
.site-account__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.site-account__panel a, .site-account__panel button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 6px;
  font-size: 15px; font-weight: 500; color: var(--site-ink) !important; background: none; border: 0; cursor: pointer;
}
.site-account__panel a:hover, .site-account__panel button:hover { background: #F4F3F6; }

/* Kereso */
.site-search {
  max-width: 1440px; margin: 10px auto 0; padding: 12px;
  background: #fff; border-radius: 999px; box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}
.site-search form { display: flex; gap: 8px; }
.site-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 8px 16px; font-size: 16px; color: var(--site-ink); background: transparent;
}
.site-search button {
  height: 40px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--site-violet); color: #fff; font-size: 15px; font-weight: 600;
}
.site-search button:hover { background: var(--site-violet-dark); }

/* Mobil menu */
.site-mobile {
  max-width: 1440px; margin: 10px auto 0; padding: 12px 20px 20px; max-height: calc(100vh - 110px); overflow: auto;
  background: #fff; color: var(--site-ink); border-radius: 16px; box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
  font-family: Roboto, Arial, sans-serif;
}
.site-mobile a { color: var(--site-ink); text-decoration: none; }
.site-mobile__products {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; margin: 6px 0 10px;
  background: var(--site-violet); color: #fff !important; border-radius: 999px; font-weight: 500; text-transform: uppercase; font-size: 15px;
}
.site-mobile__group { border-bottom: 1px solid #EEE; }
.site-mobile__group summary { padding: 12px 0; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
.site-mobile__group summary::-webkit-details-marker { display: none; }
.site-mobile__group summary::after { content: "+"; float: right; font-weight: 400; }
.site-mobile__group[open] summary::after { content: "–"; }
.site-mobile__group ul { list-style: none; margin: 0 0 10px; padding: 0 0 0 12px; }
.site-mobile__group li a { display: block; padding: 7px 0; font-size: 15px; }
.site-mobile__nav { display: flex; flex-direction: column; padding: 8px 0; }
.site-mobile__nav a { padding: 11px 0; font-size: 16px; font-weight: 600; border-bottom: 1px solid #EEE; }
.site-mobile__logout button, .site-mobile__register {
  display: inline-block; margin-top: 14px; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--site-ink);
  background: transparent; font-weight: 600; font-size: 15px; color: var(--site-ink); cursor: pointer;
}

@media (max-width: 1279px) {
  .site-header__nav a { padding: 8px 10px; }
  .site-header__account span { display: none; }
  .site-header__account { padding: 8px 10px; }
}
@media (max-width: 1099px) {
  .site-header__nav { display: none; }
  .site-header__burger { display: inline-flex; }
}
@media (max-width: 767px) {
  .site-header-wrap { padding: 8px 10px 0; margin-bottom: 8px; }
  .site-header { height: 56px; padding: 0 6px 0 18px; gap: 4px; }
  .site-header__cats { display: none; }
  .site-header__account { display: none; }
  .site-account { display: none; }
  .site-header__cart { padding: 0 12px; height: 38px; }
  .site-header__cart-label { display: none; }
  .site-lang__panel { right: -48px; }
  .site-search { border-radius: 16px; }
  .site-search form { flex-direction: column; }
}
@media (min-width: 768px) { .site-mobile__products, .site-mobile__group { display: none; } }

.site-header a:focus-visible, .site-header button:focus-visible,
.site-mega a:focus-visible, .site-mobile a:focus-visible, .site-footer a:focus-visible {
  outline: 2px solid #A9A9E0; outline-offset: 2px;
}

/* ---------- Lablec ---------- */
.cs-footer { margin-top: 64px; }
.site-footer { background: var(--site-foot); color: #EEEEEE; font-family: Roboto, Arial, sans-serif; }
.site-footer a { color: #EEEEEE; }
.site-footer__inner {
  max-width: 1440px; margin: 0 auto; padding: 48px 36px 32px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px;
}
.site-footer__brand img { width: 60px; height: auto; display: block; margin-bottom: 18px; }
.site-footer__label { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.site-footer address { font-style: normal; font-size: 14px; line-height: 1.6; color: #CCCCCC; }
.site-footer address a { color: #CCCCCC; text-decoration: none; }
.site-footer address a:hover { color: #fff; text-decoration: underline; }
.site-footer__social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 20px 0 0; }
.site-footer__social a { display: inline-flex; width: 28px; height: 28px; }
.site-footer__social svg { width: 28px; height: 28px; }
.site-footer__title { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin: 6px 0 0; }
.site-footer__title::after { content: ""; display: block; width: 16px; height: 2px; background: var(--site-violet); margin: 14px 0 16px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin: 0 0 6px; }
.site-footer__col a { font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__col a:hover { color: #fff; text-decoration-color: var(--site-violet); }
.site-footer__bottom {
  max-width: 1440px; margin: 0 auto; padding: 16px 36px 22px; border-top: 1px solid #333;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #BBBBBB;
}
.site-footer__bottom a { color: #EEEEEE; text-decoration: none; }
.site-footer__bottom a:hover { text-decoration: underline; }
.site-footer__simplepay img { height: 28px; width: auto; display: block; background: #fff; border-radius: 6px; padding: 3px 8px; }
@media (max-width: 1023px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
  .site-footer__inner { grid-template-columns: 1fr; padding: 40px 20px 24px; }
  .site-footer__bottom { padding: 16px 20px 22px; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *, .site-mega, .site-search, .site-mobile { transition: none !important; }
}

/* A regi, fix poziciojú shop-fejlec helye (<1280 px) mar nem kell: a fejlec sticky. */
@media (max-width: 1279px) { body.cs { padding-top: 0 !important; } }
/* A szuro-oldalsav fiokja a fejlec ala kerul. */
@media (max-width: 1279px) { body.cs aside.w-\[337px\] { top: 76px; height: calc(100vh - 76px); } }
@media (max-width: 767px) { body.cs aside.w-\[337px\] { top: 68px; height: calc(100vh - 68px); } }

/* Lenyilo: a hosszu csoportok ket hasabban */
.site-mega { display: flex; align-items: flex-start; }
.site-mega[x-cloak], .site-mega[style*="display: none"] { display: none; }
.site-mega__group { flex: 1 1 0; min-width: 0; }
.site-mega__group.is-wide { flex-grow: 2; }
.site-mega__group.is-wide ul { columns: 2; column-gap: 24px; }
.site-mega li { break-inside: avoid; }
/* A sticky fejleches tarolo a teljes oldalmagassag legyen (a body h-full miatt a fejlec kigorgott) */
body.cs { height: auto !important; min-height: 100%; }
.site-footer__social svg { filter: brightness(0) invert(.92); transition: opacity .15s ease; }
.site-footer__social a:hover svg { opacity: .75; }

/* ---------- S-042: tartalmi oldalak ---------- */
/* Roboto Flex helyben (a creals.com oldalai ezt hasznaljak; a Google Fonts kulso hivasa helyett) */
@font-face { font-family: 'Roboto Flex'; font-style: normal; font-weight: 100 1000; font-stretch: 100%; font-display: swap;
  src: url('/fonts/roboto-flex/roboto-flex-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto Flex'; font-style: normal; font-weight: 100 1000; font-stretch: 100%; font-display: swap;
  src: url('/fonts/roboto-flex/roboto-flex-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.site-page { font-family: 'Roboto Flex', Roboto, Arial, sans-serif; color: #0D0D0D; }
.site-page__inner { max-width: 1440px; margin: 0 auto; padding: 24px 36px 0; }
.site-page img { max-width: 100%; height: auto; }
@media (max-width: 767px) { .site-page__inner { padding: 12px 12px 0; } }
/* Termeksav a tartalmi oldalakon: a sotet szekcio feher szovegszine ne oroklodjon a shop termekkartyajara */
.site-page .site-product-strip .product-card *:not(.product-badge):not(.product-badge *):not(.promo-badge) { color: #2C2C2C !important; }
.site-page .site-product-strip .product-card .text-gray-400,
.site-page .site-product-strip .product-card .text-gray3 { color: #8A8A8A !important; }
.site-page .site-product-strip .product-card > div { height: 100%; }
/* A PromoTron-oldalak nehany dekor-sora (pl. Rolunk csapat-racs) keskenyebb kijelzon kilogna: levagjuk, gorgetosav nelkul */
.site-page { overflow-x: clip; }
