@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #173653;
  --muted: #64798d;
  --blue: #2867b4;
  --deep: #1c528d;
  --ice: #edf5fd;
  --line: #dce6f0;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: 'DM Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 36px; }

/* Fejléc */
.announcement { background: #eaf2fb; color: #4d6986; text-align: center; padding: 10px 16px; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.separator { padding: 0 12px; color: #9cb4cd; }
.site-header { background: #fff; border-bottom: 1px solid #e9eff6; }
.header-content { min-height: 80px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: Manrope, Arial, sans-serif; font-size: 16px; font-weight: 800; letter-spacing: .07em; white-space: nowrap; }
.brand-mark { font-size: 18px; letter-spacing: -.09em; color: #fff; background: #2867b4; padding: 9px 13px; border-radius: 3px; }
.brand-mark span { color: #a8d7ff; }
.site-header nav { display: flex; gap: 32px; margin-left: auto; }
.site-header nav a { font-size: 13px; font-weight: 600; color: #506985; }
.site-header nav a:hover, .text-link:hover { color: var(--blue); }
.header-cta { padding: 13px 17px; border: 1px solid #c7d8ea; font-size: 12px; font-weight: 700; color: #205b9b; }
.header-cta span { margin-left: 10px; }

/* Fő termékbemutató */
.hero { background: linear-gradient(110deg, #f4f9fe 0%, #eaf3fc 58%, #e0eefb 100%); overflow: hidden; }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: 52% 48%; align-items: stretch; }
.hero-copy { padding: 70px 10px 80px 0; position: relative; z-index: 1; align-self: center; }
.eyebrow, .kicker { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: #3374b5; }
.eyebrow { display: flex; align-items: center; gap: 13px; }
.eyebrow-rule { height: 1px; width: 27px; background: #3374b5; }
.hero h1, h2 { font-family: Manrope, Arial, sans-serif; letter-spacing: -.055em; font-weight: 800; }
.hero h1 { font-size: clamp(45px, 5vw, 72px); line-height: 1.13; margin: 28px 0 22px; }
.hero h1 em { font-style: normal; color: #3475bc; }
.hero-lead { font-size: 16px; line-height: 1.9; max-width: 530px; color: #56718b; margin: 0 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 23px; font-size: 13px; font-weight: 700; transition: background .2s; }
.btn-primary { background: #2466b0; color: #fff; }
.btn-primary:hover { background: #194f8b; }
.text-link { font-size: 13px; font-weight: 700; color: #2b608f; }
.hero-meta { display: flex; gap: 29px; margin-top: 60px; flex-wrap: wrap; }
.hero-meta span { font-size: 12px; color: #6a8095; padding-right: 29px; border-right: 1px solid #c9d8e8; }
.hero-meta span:last-child { border: 0; }
.hero-meta b { display: block; color: #234f80; font-family: Manrope, Arial, sans-serif; font-size: 20px; margin-bottom: 4px; }

/* A kör és a termékkép közös, valódi középpontja */
.hero-media {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 610px;
  display: grid;
  place-items: center;
  padding: 0;
}
.hero-media::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(600px, 112%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.37);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-media > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  margin: 0;
  transform: none;
  filter: drop-shadow(0 22px 25px rgba(43,78,115,.14));
}
.image-fallback { position: relative; z-index: 1; border: 1px solid #c4d9eb; padding: 70px 30px; text-align: center; font-weight: 800; color: #3a6a9d; }
.image-fallback small { display: block; margin-top: 12px; font-weight: 400; }
.media-index { position: absolute; z-index: 2; right: 0; bottom: 32px; font-size: 10px; letter-spacing: .17em; color: #6986a1; }

/* Termékadatok */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 29px; padding-bottom: 29px; }
.facts-grid > div { padding-left: 34px; border-left: 1px solid var(--line); }
.facts-grid > div:first-child { padding-left: 0; border: 0; }
.fact-label { display: block; font-size: 10px; font-weight: 800; color: #7290ac; letter-spacing: .15em; margin-bottom: 9px; }
.facts-grid strong { font-size: 14px; }
.section { padding: 35px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
h2 { font-size: clamp(34px, 3.7vw, 53px); line-height: 1.2; margin: 23px 0; }
h2 span { color: #3777b8; }
.intro-right { padding-top: 35px; }
.intro-right p, .purchase-grid > div > p { font-size: 16px; line-height: 1.95; color: #5d7184; margin: 0 0 19px; }
.feature-band { background: #f3f8fd; padding: 60px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.feature-grid article { padding: 10px 35px 10px 0; border-right: 1px solid #d5e3f1; }
.feature-grid article:last-child { border: 0; }
.feature-number { font-size: 11px; color: #3a77b5; font-weight: 800; letter-spacing: .14em; }
.feature-grid h3 { font: 800 22px Manrope, Arial, sans-serif; margin: 20px 0 12px; }
.feature-grid p { font-size: 14px; color: #667f95; line-height: 1.8; margin: 0; }

/* Galéria */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; }
.section-heading p { font-size: 13px; color: #73899d; margin-bottom: 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.gallery-item { background: #f4f8fc; min-height: 310px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gallery-item img { width: 100%; height: 290px; object-fit: contain; }

/* Műszaki adatok */
.spec-section { background: #f6f9fd; }
.specs-grid { display: grid; grid-template-columns: 40% 60%; gap: 40px; }
.spec-note { font-size: 13px; line-height: 1.8; color: #73899d; max-width: 330px; }
.spec-table { padding-right: 40px; min-width: 0; }
.spec-row { display: grid; grid-template-columns: 42% 58%; padding: 16px 0; border-bottom: 1px solid #dce7f2; gap: 16px; font-size: 13px; line-height: 1.6; }
.spec-row span { color: #73899d; }
.spec-row strong { font-weight: 700; overflow-wrap: anywhere; }

/* Vásárlási szakasz */
.purchase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.purchase-panel { border: 1px solid #d9e5f1; padding: 38px 40px; background: #fff; box-shadow: 0 18px 45px rgba(35,74,116,.06); }
.purchase-name { font: 800 20px/1.45 Manrope, Arial, sans-serif; margin-bottom: 20px; }
.purchase-status { font-size: 12px; color: #377b58; display: flex; align-items: center; gap: 9px; margin-bottom: 35px; }
.out-stock { color: #9b623f; }
.status-dot { height: 7px; width: 7px; border-radius: 50%; background: currentColor; }
.price-label { font-size: 12px; color: #7b91a6; }
.old-price { font-size: 14px; text-decoration: line-through; color: #8398a9; margin-top: 12px; }
.price { font: 800 37px Manrope, Arial, sans-serif; letter-spacing: -.04em; margin: 8px 0 25px; }
.purchase-btn { width: 100%; }
.purchase-panel small { display: block; margin-top: 19px; font-size: 11px; line-height: 1.7; color: #7b8fa1; }
.missing-link { font-size: 13px; color: #8b5b49; }
footer { background: #f4f8fc; border-top: 1px solid #e4edf5; }
.footer-grid { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-grid > span { font-size: 12px; color: #72889e; }

/* Vásárlás gomb tartalmának középre igazítása */
.purchase-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    margin-top: 10px;
}

.purchase-btn span {
    margin: 0;
    font-size: 18px;
}

@media (max-width: 1000px) {
  .site-header nav { gap: 16px; }
  .hero-grid { grid-template-columns: 55% 45%; }
  .hero h1 { font-size: 50px; }
  .hero-media { min-height: 540px; }
  .hero-media::before { width: min(500px, 115%); }
  .purchase-grid { gap: 35px; }
  .specs-grid { gap: 20px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .announcement { font-size: 9px; }
  .header-content { min-height: 70px; }
  .site-header nav { display: none; }
  .header-cta { margin-left: auto; padding: 11px; font-size: 11px; }
  .brand { font-size: 13px; }
  .hero-grid { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { padding: 64px 0 20px; }
  .hero h1 { font-size: clamp(38px, 9vw, 56px); }
  .hero-lead { font-size: 14px; }
  .hero-meta { margin-top: 38px; gap: 13px; }
  .hero-meta span { padding-right: 13px; font-size: 10px; }
  .hero-meta b { font-size: 17px; }
  .hero-media { min-height: 340px; width: 100%; padding: 0 0 35px; }
  .hero-media::before { width: min(320px, 100%); top: calc(50% - 17.5px); }
  .hero-media > img { max-height: 310px; }
  .media-index { bottom: 12px; }
  .facts-grid { grid-template-columns: 1fr; gap: 18px; }
  .facts-grid > div { padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--line); }
  .facts-grid > div:last-child { border: 0; padding-bottom: 0; }
  .section { padding: 68px 0; }
  .intro-grid, .feature-grid, .specs-grid, .purchase-grid { grid-template-columns: 1fr; gap: 20px; }
  .intro-right { padding: 0; }
  .feature-band { padding: 40px 0; }
  .feature-grid article { padding: 15px 0 22px; border-right: 0; border-bottom: 1px solid #d5e3f1; }
  .feature-grid article:last-child { border: 0; }
  .section-heading { display: block; }
  .gallery-grid { gap: 10px; }
  .gallery-item { min-height: 170px; padding: 10px; }
  .gallery-item img { height: 160px; }
  .spec-table { padding: 0; }
  .spec-row { grid-template-columns: 40% 60%; font-size: 12px; }
  .purchase-panel { padding: 25px; }
  .price { font-size: 30px; }
  .footer-grid { padding-top: 25px; padding-bottom: 25px; flex-wrap: wrap; }
  .footer-grid > span { font-size: 11px; }
}

/* IT PAVILON admin galéria és képnagyító */
.gallery-item { border: 1px solid #e1ebf5; cursor: zoom-in; width: 100%; font: inherit; transition: border-color .2s, box-shadow .2s; }
.gallery-item:hover, .gallery-item:focus-visible { border-color: #2867b4; box-shadow: 0 8px 25px rgba(35,74,116,.12); }
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(12,29,49,.93); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 60px 24px 35px; color: #fff; }
.gallery-lightbox figure { margin: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gallery-lightbox figure img { max-width: 100%; max-height: calc(100dvh - 135px); object-fit: contain; background: #fff; border-radius: 4px; }
.gallery-lightbox figcaption { font-size: 13px; letter-spacing: .1em; }
.gallery-lightbox button { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 5px; cursor: pointer; width: 48px; height: 48px; font-size: 32px; flex-shrink: 0; }
.gallery-lightbox button:hover { background: rgba(255,255,255,.3); }
.gallery-lightbox .lightbox-close { position: absolute; top: 12px; right: 20px; }
body.lightbox-open { overflow: hidden; }
.custom-specs { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.custom-specs li { margin-bottom: 7px; }
@media(max-width:720px) { .gallery-lightbox { padding: 70px 8px 25px; gap: 4px; } .gallery-lightbox button { width: 36px; height: 44px; font-size: 27px; } }
