/* sloggihuseg.hu */
@import url('roboto.css');
@font-face {
  font-family: 'gilroy-regular';
  src: url('/wp-content/uploads/useanyfont/1690Gilroy-Regular.woff2') format('woff2'),
       url('/wp-content/uploads/useanyfont/1690Gilroy-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
/* 2026-11-18: valódi Gilroy SemiBold a félkövér szövegekhez (címek, claim). Enélkül a böngésző a Regularból
   „műfélkövéret” rajzolt, és az ékezetek (ő, ű, ó…) üresek, torzak lettek. */
@font-face {
  font-family: 'gilroy-regular';
  src: url('/assets/fonts/gilroy-semibold.woff2') format('woff2');
  font-weight: 600 900;
  font-display: swap;
}

/* 2026-11-18: visszafogott paletta a kampányfotók hátteréből (tompa kékeszöld + púderrózsaszín),
   a korábbi neonzöld / sárgászöld / barack helyett */
.brand-sloggi {
  --sl-teal: #6a9394;        /* HOL? doboz, képcellák alapszíne */
  --sl-teal-dark: #557b7c;
  --sl-teal-light: #b7d4d5;  /* DE MIÉRT doboz */
  --sl-ink-teal: #284546;
  --sl-rose: #efb4bd;        /* ÜDVÖZLŐ 10% doboz */
  --sl-blush: #f7e1e4;
  --sl-ink-rose: #5b2f37;
}
body.brand-sloggi {
  font-family: 'Roboto', sans-serif;
  /* 2026-11-18: új háttérkép (álló kép, a fejek maradjanak látszanak) */
  background-image: url('/assets/img/sloggi/hatter-1333.jpg');
  background-position: center 22%;
}
/* Mobilon a háttér a képernyőhöz rögzített réteg (a background-attachment: fixed iOS-en nem működik,
   nélküle a hosszú oldalon a kép óriásira nagyítódik) */
@media (max-width: 1024px) {
  body.brand-sloggi { background-image: none; }
  body.brand-sloggi::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: #fff url('/assets/img/sloggi/hatter-800.jpg') center 22% / cover no-repeat;
  }
}
.brand-sloggi .site-nav a { font-family: 'Roboto', sans-serif; }
.brand-sloggi .page-heading { color: #008ea6; font-weight: 600; padding: 5px 0; }

/* Instagram gomb a kezdőlapon (ahogy a korábbi hírfolyam-modul mutatta) */
.ig-follow { text-align: center; padding: 20px 0 10px; }
.ig-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 4px;
  background: #408bd1; color: #fff; font-size: 13px; line-height: 1.4;
}
.ig-btn:hover { color: #fff; background: #3577b5; }
.ig-btn svg { width: 14px; height: 14px; }

/* Információk (2026-11-18: egyforma, négyzetes cellák, a szöveg függőlegesen középen,
   egységes cím- és szövegméret) */
.info-heading { color: #3d8ca3; margin: 20px 0; }
.info-grid { max-width: 1100px; margin: 0 auto 40px; display: grid; grid-template-columns: 1fr 1fr; }
.info-grid .cell { aspect-ratio: 1 / 1; min-height: 0; text-align: center; font-family: 'gilroy-regular', 'Roboto', sans-serif; }
.info-grid .cell-photo { padding: 0; overflow: hidden; background: var(--sl-teal); }
.info-grid .cell-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.info-grid .cell-text { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px); }
.info-grid .cell-inner { max-width: 400px; }
.info-grid .cell-title {
  margin: 0 0 22px; padding-bottom: 18px; position: relative;
  font-family: inherit; font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; line-height: 1.15; letter-spacing: .04em;
}
.info-grid .cell-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 2px;
  transform: translateX(-50%); background: currentColor; opacity: .6;
}
.info-grid .cell-text p { margin: 0 0 .9em; font-size: clamp(16px, 1.55vw, 19px); line-height: 1.6; text-wrap: pretty; }
.info-grid .cell-text p:last-child { margin-bottom: 0; }
.info-grid .cell-highlight { font-weight: 600; letter-spacing: .02em; }
.info-grid .cell-green { background: var(--sl-teal); color: #fff; }
.info-grid .cell-peach { background: var(--sl-rose); color: var(--sl-ink-rose); }
.info-grid .cell-blue { background: var(--sl-teal-light); color: var(--sl-ink-teal); }
@media (max-width: 767px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .cell-text { aspect-ratio: auto; padding: 40px 24px; }
  .info-grid .cell-photo { aspect-ratio: 4 / 5; }
  .info-grid .cell-photo:first-child { aspect-ratio: 4 / 3; }  /* a kirakat fekvő kép */
  /* mobilon minden kép a saját szövege fölött legyen (a 2. sorban a kép van jobb oldalt) */
  .info-grid .cell-peach { order: 1; }
  .info-grid .cell:nth-child(n+5) { order: 2; }
}

/* Ajándékutalvány */
.voucher { background: rgba(255, 255, 255, .73); padding: 20px; color: #2c2c2c; }
.voucher table { width: 100%; border-collapse: collapse; margin: 0 0 15px; background: rgba(128, 128, 128, .07); }
.voucher td { border: 1px solid hsla(0, 0%, 50%, .5); padding: 15px; vertical-align: top; }
.voucher img { margin: 15px auto 0; }

/* Üzletkereső */
/* 2026-11-18: ne fusson ki a képernyő széléig, két oldalt maradjon a háttér látszani */
.locator { background: rgba(255, 255, 255, .79); max-width: 1100px; margin: 30px auto 40px; width: calc(100% - 2 * clamp(16px, 4vw, 40px)); }
.locator-search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; background: #f2f2f2; }
.locator-search input, .locator-search select { height: 40px; padding: 6px 10px; font: inherit; border: 1px solid #ddd; border-radius: 3px; background: #fff; }
.locator-search input { width: 180px; }
.locator-search button { height: 40px; padding: 0 12px; font: inherit; color: #555; background: #eee; border: 1px solid #ccc; border-radius: 3px; cursor: pointer; }
.locator-body { display: grid; grid-template-columns: 1fr 2fr; min-height: 460px; }
.locator-list { list-style: none; margin: 0; padding: 0 10px; max-height: 460px; overflow-y: auto; }
.locator-list li { padding: 15px 0; border-bottom: 1px dotted #ccc; font-size: 15px; line-height: 1.4; cursor: pointer; }
.locator-list li strong { display: block; color: #c36; margin-bottom: 4px; }
.locator-list .dist { margin-top: 8px; }
.locator-list .empty { cursor: default; }
.locator-map { min-height: 460px; }
@media (max-width: 767px) {
  .locator-body { grid-template-columns: 1fr; }
  .locator-map { min-height: 340px; order: -1; }
}

/* Lábléc */
.footer-cta { background: var(--sl-rose); min-height: 250px; display: flex; align-items: center; }
.footer-cta .wrap-1024 { width: 100%; }
.cta-text { font-family: 'gilroy-regular', 'Roboto', sans-serif; font-size: 23px; color: var(--sl-ink-rose); }
.cta-text p { margin: 0 0 .5em; }
.btn-outline { display: inline-block; padding: 12px 24px; border: 1px solid var(--sl-ink-rose); color: var(--sl-ink-rose); font-size: 15px; }
.btn-outline:hover { background: var(--sl-ink-rose); color: #fff; }
.footer-main { background: var(--sl-teal); min-height: 250px; display: flex; align-items: center; }
.footer-main .wrap-1024 { width: 100%; }
.footer-cols { display: flex; align-items: center; gap: 20px; }
.footer-left { flex: 0 0 33%; }
.footer-right { flex: 1; text-align: center; }
.copyright { color: #fff; margin: 30px 0 0; font-size: 15px; }
.claim { font-family: 'gilroy-regular', 'Roboto', sans-serif; font-weight: 600; color: #fff; font-size: 32px; }
@media (max-width: 767px) {
  .footer-cols { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }
}

/* Adatkezelési tájékoztató (2026-11-18, a korábbi PDF weboldalként) */
.brand-sloggi .legal { background: #fff; padding: clamp(20px, 4vw, 50px) clamp(16px, 5vw, 60px); margin-top: 20px; margin-bottom: 40px; color: #2c2c2c; font-size: 16px; line-height: 1.65; }
.legal h1 { color: #008ea6; font-size: clamp(26px, 4vw, 36px); font-weight: 600; margin: 0 0 24px; line-height: 1.2; }
.legal h2 { color: #3d8ca3; font-size: clamp(20px, 2.6vw, 24px); font-weight: 600; margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--sl-rose); line-height: 1.3; }
.legal h2 .num { color: #008ea6; margin-right: 6px; }
.legal h3 { color: #2c2c2c; font-size: 18px; font-weight: 600; margin: 30px 0 10px; }
.legal p { margin: 0 0 1em; }
.legal ul, .legal ol { margin: 0 0 1em; padding-left: 1.6em; }
.legal li { margin-bottom: .35em; }
.legal ol.alpha { list-style-type: lower-alpha; }
.legal ol.alpha li::marker { content: counter(list-item, lower-alpha) ") "; }
.legal .legal-or { display: inline-block; margin-top: .35em; font-weight: 600; letter-spacing: .05em; }
.legal a { color: #008ea6; text-decoration: underline; overflow-wrap: anywhere; }
.legal-table-wrap { margin: 18px 0 28px; overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal-table th, .legal-table td { padding: 10px 14px; border: 1px solid #cfe3e8; vertical-align: top; text-align: left; }
.legal-table th { width: 32%; background: #e8f4f6; color: #2f475d; font-weight: 600; }
@media (max-width: 600px) {
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table tr { margin-bottom: 10px; border: 1px solid #cfe3e8; }
  .legal-table th, .legal-table td { border: 0; }
}
.footer-legal { margin: 8px 0 0; font-size: 14px; }
.footer-legal a { color: #fff; text-decoration: underline; }
