/*
Theme Name: SmartLPG
Theme URI: https://smartlpg.pl/
Author: SmartLPG
Description: Lekki motyw SmartLPG bez Elementora i płatnych zależności.
Version: 0.1.14
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: smartlpg
*/

@font-face {
  font-family: "Rubik";
  src: url("assets/fonts/rubik-latin-ext.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Rubik";
  src: url("assets/fonts/rubik.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-300-latin-ext.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-300-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-400-latin-ext.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-400-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-700-latin-ext.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-700-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

:root {
  --navy: #064982;
  --ink: #010927;
  --mint: #65c39c;
  --mint-dark: #31bf8f;
  --surface: #f2f2f2;
  --white: #fff;
  --content: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Rubik", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 150px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 32, 77, 0);
  transition: min-height .28s ease, box-shadow .28s ease;
}

.header-inner {
  display: grid;
  grid-template-columns: clamp(300px, 32vw, 600px) minmax(0, 1fr) clamp(280px, 17.5vw, 300px);
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(24px, calc((100% - 1500px) / 2));
  min-height: 150px;
  align-items: center;
  transition: min-height .28s ease;
}

.admin-bar .site-header { top: 32px; }

.brand img { width: 191px; transition: width .28s ease; }

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 2.55vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-navigation { display: flex; gap: 0; align-items: center; justify-content: center; }

.primary-menu a {
  color: var(--navy);
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color .2s ease, font-size .28s ease;
}

.primary-menu .current-menu-item > a,
.primary-menu a:hover,
.primary-menu a:focus-visible { color: var(--mint-dark); }

.header-shop-link {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  margin-left: clamp(36px, 2.55vw, 48px);
  color: var(--navy);
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color .2s ease, font-size .28s ease;
}
.header-shop-link svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.header-shop-link:hover,
.header-shop-link:focus-visible { color: var(--mint-dark); }

.header-contact {
  align-self: stretch;
  display: grid;
  grid-template-columns: 36px auto;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  color: var(--white);
  background: var(--mint);
}

.phone-symbol { display: grid; place-items: center; }
.phone-symbol svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.contact-copy small { display: block; font-size: 10px; }
.contact-copy strong { display: block; font-size: 20px; line-height: 1.05; white-space: nowrap; }

.menu-toggle { display: none; }

.offer-section {
  min-height: 0;
  padding: 62px 0 92px;
  background: var(--surface);
}

.section-title {
  margin: 0 0 66px;
  text-align: center;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 42px);
  font-weight: 300;
}

.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; }

.offer-card {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 305px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .25s ease, transform .25s ease;
}

.offer-card:hover,
.offer-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 25, 67, .15);
}

.offer-image { min-height: 305px; background-position: center; background-size: cover; }

.offer-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 24px 14px 20px;
}

.offer-copy h2 { margin: 0 0 16px; color: #080808; font-size: 25px; font-weight: 400; line-height: 1.15; }
.offer-copy ul { margin: 0; padding: 0; list-style: none; color: #080808; font-size: 13px; }
.offer-copy li::before { content: "+ "; }

.offer-link {
  margin-top: auto;
  color: var(--mint-dark);
  font: 500 15px/1.2 "Lato", Arial, sans-serif;
}
.offer-link:hover, .offer-link:focus-visible { color: var(--navy); }

.partners-section { padding: 80px 0 92px; background: var(--white); }
.partners-title { margin: 0 0 44px; text-align: center; font-size: 18px; font-weight: 400; color: #64748b; }
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 34px; align-items: center; }
.partners-grid img { max-width: 135px; max-height: 70px; margin: auto; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.partners-grid img:hover { filter: none; opacity: 1; }

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #1438df url("assets/images/footer-bg.png") center/cover no-repeat;
}

.footer-main { position: relative; display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 70px; min-height: 395px; padding: 52px 0 45px; }
.footer-main::after { content: ""; position: absolute; right: -210px; bottom: -120px; width: 287px; height: 315px; background: url("assets/images/footer-shape.png") center/contain no-repeat; opacity: .85; }
.footer-logo { width: 198px; margin: 0 auto 68px; }
.contact-button { display: inline-flex; gap: 40px; align-items: center; padding: 17px 18px 15px 22px; border-radius: 5px; color: #090909; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.contact-button::after { content: "›"; font-size: 30px; line-height: 16px; }
.privacy-link { display: block; margin-top: 86px; font-size: 14px; text-align: center; }
.footer-menu { flex-direction: column; gap: 36px; align-items: flex-start; padding-top: 32px; }
.footer-menu a { font: 500 22px/1.2 "Lato", Arial, sans-serif; }
.footer-details { padding-top: 32px; font: 400 16px/1.55 "Lato", Arial, sans-serif; }
.footer-details p { margin: 0 0 50px; }
.footer-details a { font-weight: 700; }
.footer-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 16px 0; color: #111827; background: var(--surface); font: 400 12px/1.3 "Lato", Arial, sans-serif; }
.footer-legal span:last-child { text-align: right; }

.cookie-notice {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 9px 28px;
  color: #fff;
  background: #303038;
  font: 400 12px/1.35 "Lato", Arial, sans-serif;
  transition: opacity .25s, transform .25s;
}
.cookie-notice.is-hidden { pointer-events: none; opacity: 0; transform: translateY(100%); }
.cookie-actions { display: flex; gap: 10px; white-space: nowrap; }
.cookie-actions button, .cookie-actions a { padding: 8px 13px; border: 0; border-radius: 18px; color: #fff; background: var(--mint); cursor: pointer; }

.preloader {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.preloader.is-complete { pointer-events: none; visibility: hidden; opacity: 0; }
.preloader-mark {
  position: relative;
  width: 191px;
  height: 92px;
}
.preloader-mark img {
  position: absolute;
  inset: 0;
  width: 191px;
  height: 92px;
  mix-blend-mode: multiply;
}
.preloader-logo-base {
  opacity: .13;
  filter: saturate(.65);
}
.preloader-logo-glow {
  opacity: 1;
  filter: saturate(1.08);
  clip-path: polygon(-36% -10%, -6% -10%, 10% 110%, -20% 110%);
  animation: logo-scan 1.05s linear infinite;
}
@keyframes logo-scan {
  from { clip-path: polygon(-36% -10%, -6% -10%, 10% 110%, -20% 110%); }
  to { clip-path: polygon(120% -10%, 150% -10%, 166% 110%, 136% 110%); }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.from-left { transform: translateX(-42px); }
.reveal.from-right { transform: translateX(42px); }
.reveal.is-visible { opacity: 1; transform: none; }

.content-page { width: min(900px, calc(100% - 48px)); min-height: 55vh; margin: 70px auto; }
.content-page h1 { font-size: 42px; font-weight: 300; }

.about-hero {
  overflow: hidden;
  padding: 96px 0 104px;
  color: var(--white);
  background: linear-gradient(118deg, #041a62 0%, #07528f 48%, #6bd7d5 100%);
}
.about-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; }
.eyebrow { margin: 0 0 15px; color: var(--mint-dark); font: 600 13px/1.2 "Lato", Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.about-hero .eyebrow { color: #c8ffe9; }
.about-intro h1 { max-width: 680px; margin: 0 0 25px; font-size: clamp(42px, 5.4vw, 68px); font-weight: 300; line-height: 1.05; }
.about-lead { max-width: 640px; margin: 0; color: rgba(255,255,255,.92); font: 300 21px/1.55 "Lato", Arial, sans-serif; }
.about-cta { display: inline-flex; align-items: center; gap: 30px; margin-top: 36px; padding: 15px 20px 15px 23px; border: 1px solid rgba(255,255,255,.85); border-radius: 5px; color: var(--white); transition: color .2s, background .2s; }
.about-cta span { font-size: 30px; line-height: 16px; }
.about-cta:hover, .about-cta:focus-visible { color: var(--navy); background: var(--white); }
.about-image-wrap { position: relative; padding: 22px 0 0 22px; }
.about-image-wrap::before { content: ""; position: absolute; inset: 0 22px 22px 0; border: 1px solid var(--mint); }
.about-image-wrap img { position: relative; width: 100%; box-shadow: 18px 20px 40px rgba(0, 12, 44, .26); }

.about-story { padding: 120px 0 105px; background: var(--white); }
.about-story-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(45px, 9vw, 130px); }
.about-statement h2 { max-width: 420px; margin: 0; color: var(--ink); font-size: clamp(32px, 4vw, 48px); font-weight: 300; line-height: 1.13; }
.about-copy { font: 400 18px/1.75 "Lato", Arial, sans-serif; color: #26344e; }
.about-copy p { margin: 0 0 26px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-novacomet { display: flex; align-items: center; gap: 24px; margin-top: 34px; padding: 18px 24px; border: 1px solid #050505; border-radius: 4px; background: #050505; }
.about-novacomet span { flex: 0 0 auto; color: rgba(255, 255, 255, .82); font-size: 12px; font-weight: 700; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; }
.about-novacomet img { display: block; width: min(100%, 340px); height: auto; margin-left: auto; }

.about-assurance { padding: 0 0 105px; background: var(--white); }
.assurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.assurance-card { min-height: 250px; padding: 34px; border-top: 3px solid var(--mint-dark); background: var(--surface); }
.assurance-number { display: block; margin-bottom: 35px; color: var(--navy); font: 400 29px/1 "Rubik", Arial, sans-serif; }
.assurance-card h2 { margin: 0 0 10px; color: var(--ink); font-size: 20px; font-weight: 400; }
.assurance-card p { margin: 0; color: #4b5568; font: 400 15px/1.55 "Lato", Arial, sans-serif; }
.about-closing { padding: 74px 0; color: var(--white); background: var(--navy); }
.about-closing p { max-width: 920px; margin: 0; font-size: clamp(25px, 3vw, 37px); font-weight: 300; line-height: 1.28; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .preloader-logo-base { opacity: 1; filter: none; }
  .preloader-logo-glow { display: none; }
}

@media (max-width: 1050px) {
  .site-shell { width: min(920px, calc(100% - 36px)); }
  .header-inner { grid-template-columns: 190px 1fr 250px; width: 100%; padding-left: 18px; }
  .primary-menu { gap: 20px; }
  .primary-menu a { font-size: 15px; }
  .header-shop-link { margin-left: 20px; }
  .header-shop-link span { display: none; }
  .header-contact { padding-inline: 14px; grid-template-columns: 30px auto; gap: 10px; }
  .contact-copy strong { font-size: 17px; }
  .offer-grid { gap: 24px; }
  .offer-card { grid-template-columns: 52% 48%; }
  .footer-main { gap: 35px; }
  .about-hero-grid { gap: 44px; }
}

@media (max-width: 780px) {
  .site-header, .header-inner { min-height: 90px; }
  .header-inner { grid-template-columns: 1fr auto; width: min(100% - 36px, var(--content)); margin-inline: auto; padding-left: 0; }
  .brand img { width: 145px; }
  .header-contact { display: none; }
  .menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 0;
    color: var(--navy);
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 28px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle-lines { position: relative; }
  .menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-lines::before { top: -8px; }
  .menu-toggle-lines::after { top: 8px; }
  .menu-open .menu-toggle-lines { background: transparent; }
  .menu-open .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
  .menu-open .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }
  .site-navigation {
    position: fixed;
    z-index: 15;
    top: 90px;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
    padding: 50px 30px;
    background: rgba(255,255,255,.98);
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-navigation { flex-direction: column; justify-content: flex-start; }
  .site-navigation .header-shop-link { margin-top: 30px; margin-left: 0; font-size: 17px; }
  .site-navigation .header-shop-link span { display: inline; }
  .menu-open .site-navigation { visibility: visible; opacity: 1; transform: none; }
  .primary-menu { flex-direction: column; gap: 28px; }
  .primary-menu a { font-size: 22px; }
  .offer-section { min-height: 0; padding: 48px 0 70px; }
  .section-title { margin-bottom: 42px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 290px; }
  .offer-image { min-height: 290px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-logo { margin-bottom: 30px; }
  .privacy-link { margin-top: 34px; }
  .footer-menu { align-items: center; gap: 18px; padding-top: 12px; }
  .footer-details { padding-top: 10px; }
  .footer-details p { margin-bottom: 24px; }
  .footer-legal { grid-template-columns: 1fr; text-align: center; }
  .footer-legal span:last-child { text-align: center; }
  .cookie-notice { align-items: flex-start; flex-direction: column; }
  .about-hero { padding: 70px 0; }
  .about-hero-grid, .about-story-grid { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 600px; }
  .about-story { padding: 76px 0; }
	.about-novacomet { align-items: flex-start; flex-direction: column; }
	.about-novacomet img { margin-left: 0; }
  .about-assurance { padding-bottom: 76px; }
  .assurance-grid { grid-template-columns: 1fr; gap: 14px; }
  .assurance-card { min-height: 0; }
}

@media (max-width: 520px) {
  .site-shell { width: min(100% - 28px, var(--content)); }
  .offer-card { grid-template-columns: 1fr; }
  .offer-image { min-height: 245px; }
  .offer-copy { min-height: 260px; padding: 22px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Offer catalogue */
.offer-hero {
  display: flex;
  min-height: 140px;
  align-items: center;
  color: var(--white);
  background: #113b98 url("assets/images/offer-banner.png") center/cover no-repeat;
}

.offer-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 300;
}

.offer-catalog {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
  padding-top: 50px;
  padding-bottom: 95px;
}

.offer-sidebar {
  position: sticky;
  top: 24px;
  padding: 20px 18px 22px;
  border: 1px solid var(--mint-dark);
  border-radius: 15px;
  background: var(--white);
}

.offer-sidebar-title {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

.offer-category-tree ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-category-tree > ul > li + li {
  margin-top: 13px;
}

.offer-category-tree > ul > li > a {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.offer-category-tree ul ul {
  padding: 5px 0 0 15px;
}

.offer-category-tree ul ul li {
  margin: 3px 0;
}

.offer-category-tree ul ul ul {
  padding-left: 16px;
}

.offer-category-tree ul ul a {
  display: inline-block;
  color: #151b29;
  font: 600 13px/1.35 "Lato", Arial, sans-serif;
}

.offer-category-tree a {
  border-radius: 3px;
  transition: color .2s ease, background .2s ease;
}

.offer-category-tree a:hover,
.offer-category-tree a:focus-visible,
.offer-category-tree .is-current > a,
.offer-category-tree .is-ancestor > a {
  color: var(--mint-dark);
}

.offer-category-tree .is-current > a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.offer-results {
  min-width: 0;
}

.offer-results-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.offer-results-heading h2 {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.15;
}

.offer-results-heading > p:last-child {
  margin: 0;
  color: #526078;
  font: 400 16px/1.65 "Lato", Arial, sans-serif;
}

.offer-breadcrumb {
  margin: 0 0 12px;
  color: #69758a;
  font: 600 12px/1.4 "Lato", Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.offer-breadcrumb a {
  color: var(--navy);
}

.offer-breadcrumb span {
  padding: 0 7px;
}

.offer-root-categories,
.offer-child-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 45px;
}

.offer-root-categories a,
.offer-child-categories a {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #dbe4ec;
  border-radius: 7px;
  color: var(--navy);
  background: #f8fafc;
  font-weight: 600;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.offer-root-categories a:hover,
.offer-root-categories a:focus-visible,
.offer-child-categories a:hover,
.offer-child-categories a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--mint-dark);
  box-shadow: 0 8px 22px rgba(0, 42, 88, .08);
}

.offer-root-categories small {
  color: var(--mint-dark);
  font: 600 12px/1.3 "Lato", Arial, sans-serif;
}

.offer-child-categories a span {
  color: var(--mint-dark);
  font-size: 24px;
}

.catalog-section-title {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 500;
}

.catalog-product {
  display: grid;
  grid-template-columns: minmax(190px, 29%) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  min-height: 245px;
  padding: 24px 0;
  border-top: 1px solid var(--mint);
}

.catalog-products .catalog-product:last-child {
  border-bottom: 1px solid var(--mint);
}

.catalog-product-image {
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #f7f8fa;
}

.catalog-product-image img {
  width: 100%;
  height: 205px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-lightbox-trigger { cursor: zoom-in; }
.product-lightbox-trigger img { transition: transform .25s ease; }
.product-lightbox-trigger:hover img,
.product-lightbox-trigger:focus-visible img { transform: scale(1.035); }

body.lightbox-open { overflow: hidden; }

.product-lightbox {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: clamp(20px, 4vw, 58px);
  background: rgba(0, 18, 48, .86);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, visibility 0s linear .24s;
}

.product-lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.product-lightbox-content {
  display: grid;
  width: min(1050px, 92vw);
  height: min(820px, 84vh);
  place-items: center;
  padding: clamp(12px, 2vw, 26px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .32);
  transform: scale(.97);
  transition: transform .24s ease;
}

.product-lightbox.is-open .product-lightbox-content { transform: none; }

.product-lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-lightbox-close {
  position: absolute;
  z-index: 1;
  top: max(18px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 18, 48, .45);
  font: 300 36px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.product-lightbox-close:hover,
.product-lightbox-close:focus-visible { background: var(--mint-dark); transform: scale(1.05); }

.catalog-product-image > span {
  color: #7b8797;
  font-size: 13px;
}

.catalog-product-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 17px;
}

.catalog-product-documents .product-document {
  display: inline-flex;
  gap: 7px;
  width: auto;
  min-height: 32px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.catalog-product-documents .product-document-icon {
  width: 27px;
  height: 18px;
  padding: 0;
  border-radius: 3px;
  background: #ff680f;
}

.catalog-product-documents .product-document-icon::after {
  inset: 0;
  height: auto;
  border-radius: 3px;
  font-size: 8px;
}

.product-document {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  justify-items: start;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid #dbe4ec;
  border-radius: 6px;
  color: var(--navy);
  background: #fff;
  text-align: left;
  font: 600 12px/1.3 "Lato", Arial, sans-serif;
  transition: color .2s ease, background .2s ease;
}

.product-document:hover,
.product-document:focus-visible {
  color: var(--mint-dark);
  border-color: var(--mint);
  background: #f1fbf7;
}

.product-document-icon {
  position: relative;
  display: grid;
  width: 38px;
  height: 45px;
  place-items: end center;
  padding-bottom: 7px;
  border-radius: 3px;
  color: transparent;
  background: linear-gradient(135deg, #edf0f3 0 72%, #d8dde3 72%);
  font: 800 10px/1 "Lato", Arial, sans-serif;
}

.product-document-icon::after {
  content: "PDF";
  position: absolute;
  right: 3px;
  bottom: 7px;
  left: 3px;
  display: grid;
  height: 15px;
  place-items: center;
  border-radius: 2px;
  color: #fff;
  background: #ff680f;
}

.catalog-product-copy h2 {
  margin: 0 0 24px;
  color: #111827;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.catalog-product-copy h2 a:hover,
.catalog-product-copy h2 a:focus-visible {
  color: var(--mint-dark);
}

.catalog-product-copy dl,
.catalog-product-copy dd {
  margin: 0;
}

.catalog-product-copy dl {
  display: grid;
  gap: 9px;
  color: #4c5565;
  font: 400 14px/1.45 "Lato", Arial, sans-serif;
}

.catalog-product-copy dl div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.catalog-product-copy dt {
  font-weight: 700;
}

.catalog-empty {
  padding: 25px;
  border-left: 3px solid var(--mint-dark);
  background: #f5f8fa;
}

.product-long-description {
  margin-top: 35px;
  font: 400 16px/1.7 "Lato", Arial, sans-serif;
}

.product-detail {
  padding-top: 20px;
  border-top: 1px solid var(--mint);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 62px);
  align-items: center;
}

.product-detail-media {
  display: grid;
  min-height: 390px;
  place-items: center;
  padding: 24px;
  border-radius: 8px;
  background: #f7f8fa;
}

.product-detail-media img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-detail-media > span { color: #7b8797; font-size: 13px; }
.product-detail-copy h1 { margin: 0 0 30px; color: var(--ink); font-size: clamp(30px, 4vw, 43px); font-weight: 300; line-height: 1.12; }
.product-detail-specs, .product-detail-specs dd { margin: 0; }
.product-detail-specs { border-top: 1px solid #dce5eb; font: 400 15px/1.45 "Lato", Arial, sans-serif; }
.product-detail-specs div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid #dce5eb; }
.product-detail-specs dt { color: var(--navy); font-weight: 700; }
.product-detail-specs dd { color: #3f4a5d; }
.product-detail-documents { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.product-detail-documents .product-document { grid-template-columns: 38px auto; align-items: center; justify-items: start; min-width: 150px; border: 1px solid #dbe4ec; text-align: left; }
.product-detail .product-long-description { padding-top: 30px; border-top: 1px solid #dce5eb; }

@media (max-width: 900px) {
  .offer-catalog {
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 30px;
  }

  .catalog-product {
    grid-template-columns: minmax(150px, 36%) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-media { min-height: 300px; }
  .product-detail-media img { height: 300px; }
  .product-detail-specs div { grid-template-columns: 115px minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 680px) {
  .offer-hero {
    min-height: 105px;
  }

  .offer-catalog {
    grid-template-columns: 1fr;
    padding-top: 28px;
    padding-bottom: 65px;
  }

  .offer-sidebar {
    position: static;
  }

  .offer-root-categories,
  .offer-child-categories {
    grid-template-columns: 1fr;
  }

  .catalog-product {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 0;
  }

  .catalog-product-image {
    min-height: 230px;
  }

  .catalog-product-image img {
    height: 250px;
  }

}

/* Contact page */
.contact-section {
  padding: 105px 0 115px;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(480px, 1.22fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: center;
}

.contact-details {
  padding-left: 4px;
}

.contact-logo {
  width: 191px;
  margin-bottom: 34px;
}

.contact-details h2 {
  margin: 0 0 34px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 300;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid #e7ebf0;
  color: #111827;
  font: 400 18px/1.4 "Lato", Arial, sans-serif;
}

.contact-list svg {
  width: 22px;
  height: 22px;
  fill: var(--navy);
}

.contact-list a {
  transition: color .2s ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--mint-dark);
}

.contact-map {
  position: relative;
  padding: 14px 14px 0;
  border: 1px solid #dce4ea;
  background: #f5f7f8;
  box-shadow: 18px 20px 40px rgba(0, 12, 44, .12);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

.contact-map-link {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
  min-height: 56px;
  color: var(--navy);
  font: 700 14px/1.2 "Lato", Arial, sans-serif;
}

.contact-map-link span { font-size: 27px; line-height: 1; }

 (max-width: 900px) {
  .contact-section { padding: 72px 0 85px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-details { max-width: 580px; }
}

 (max-width: 520px) {
  .contact-section { padding: 55px 0 70px; }
  .contact-map { padding: 8px 8px 0; }
  .contact-map iframe { height: 390px; }
  .contact-list li { font-size: 17px; }
}

/* News */
.news-section { padding: 92px 0 115px; background: var(--surface); }
.news-heading { max-width: 720px; margin-bottom: 48px; }
.news-heading h2 { margin: 0; font-size: clamp(31px, 4vw, 46px); font-weight: 300; line-height: 1.16; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }

.news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 24, 66, .07);
  transition: box-shadow .25s ease, transform .25s ease;
}

.news-card:hover,
.news-card:focus-within { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 24, 66, .14); }
.news-card-image { display: block; height: 235px; overflow: hidden; background: #e8edf1; }
.news-card-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card-image > img { transform: scale(1.035); }
.news-card-placeholder { display: grid; height: 100%; place-items: center; background: linear-gradient(135deg, #f8fafb, #e6eef3); }
.news-card-placeholder img { width: 155px; opacity: .7; }
.news-card-body { display: flex; min-height: 290px; flex: 1; flex-direction: column; padding: 27px 28px 25px; }
.news-card time,
.news-single-header time { color: var(--mint-dark); font: 700 12px/1.2 "Lato", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.news-card h3 { margin: 12px 0 14px; color: var(--ink); font-size: 23px; font-weight: 400; line-height: 1.25; }
.news-card h3 a:hover,
.news-card h3 a:focus-visible { color: var(--navy); }
.news-card p { margin: 0; color: #4b5568; font: 400 15px/1.6 "Lato", Arial, sans-serif; }
.news-card-link { display: flex; gap: 14px; align-items: center; margin-top: auto; padding-top: 24px; color: var(--navy); font: 700 14px/1.2 "Lato", Arial, sans-serif; }
.news-card-link span { color: var(--mint-dark); font-size: 28px; line-height: .7; }
.news-empty { padding: 55px; background: var(--white); }
.news-empty h2 { margin-top: 0; font-weight: 300; }

.news-pagination { margin-top: 54px; }
.news-pagination ul { display: flex; gap: 8px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.news-pagination a,
.news-pagination span { display: grid; min-width: 42px; height: 42px; padding: 0 12px; place-items: center; border: 1px solid #d7e0e8; background: var(--white); }
.news-pagination .current { color: var(--white); border-color: var(--navy); background: var(--navy); }

.news-hero-label { margin: 0; font-size: clamp(38px, 5vw, 58px); font-weight: 300; }
.news-single { padding: 82px 0 110px; background: var(--white); }
.news-single-shell { max-width: 900px; }
.news-back { display: inline-block; margin-bottom: 40px; color: var(--navy); font: 700 14px/1.2 "Lato", Arial, sans-serif; }
.news-single-header { max-width: 820px; }
.news-single-header h1 { margin: 13px 0 42px; color: var(--ink); font-size: clamp(36px, 5vw, 58px); font-weight: 300; line-height: 1.12; }
.news-single-image { margin: 0 0 46px; overflow: hidden; background: var(--surface); }
.news-single-image img { width: 100%; max-height: 590px; object-fit: contain; }
.news-single-content { color: #28364d; font: 400 18px/1.75 "Lato", Arial, sans-serif; }
.news-single-content > * { max-width: 760px; margin-right: auto; margin-left: auto; }
.news-single-content h2,
.news-single-content h3 { margin-top: 1.7em; color: var(--ink); line-height: 1.25; }
.news-single-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.news-single-content img { border-radius: 3px; }
.news-single-footer { max-width: 760px; margin: 52px auto 0; padding-top: 30px; border-top: 1px solid #dce4ea; }
.news-single-footer a { display: inline-flex; gap: 22px; align-items: center; color: var(--navy); font-weight: 700; }
.news-single-footer span { color: var(--mint-dark); font-size: 28px; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .news-section { padding: 62px 0 75px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-image { height: 225px; }
  .news-card-body { min-height: 0; }
  .news-single { padding: 58px 0 76px; }
  .news-single-content { font-size: 17px; }
}

/* Privacy policy */
.privacy-section { padding: 92px 0 115px; background: var(--white); }
.privacy-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(55px, 8vw, 120px); align-items: start; }
.privacy-summary { position: sticky; top: 35px; padding: 30px; border-top: 3px solid var(--mint-dark); background: var(--surface); }
.privacy-summary h2 { margin: 0 0 18px; color: var(--ink); font-size: 27px; font-weight: 300; line-height: 1.2; }
.privacy-summary > p:not(.eyebrow) { margin: 0 0 25px; color: #4b5568; font: 400 15px/1.6 "Lato", Arial, sans-serif; }
.privacy-summary a { color: var(--navy); font: 700 14px/1.3 "Lato", Arial, sans-serif; }
.privacy-content { min-width: 0; color: #303d52; font: 400 17px/1.72 "Lato", Arial, sans-serif; }
.privacy-content > :first-child { margin-top: 0; }
.privacy-content h2 { margin: 58px 0 18px; padding-top: 6px; color: var(--ink); font: 400 clamp(25px, 3vw, 32px)/1.25 "Rubik", Arial, sans-serif; }
.privacy-content h3 { margin: 32px 0 12px; color: var(--navy); font: 500 20px/1.3 "Rubik", Arial, sans-serif; }
.privacy-content p { margin: 0 0 18px; }
.privacy-content ul { margin: 0 0 24px; padding-left: 24px; }
.privacy-content li { margin-bottom: 9px; }
.privacy-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.privacy-content strong { color: var(--ink); }
.privacy-updated { margin-top: 55px !important; padding-top: 24px; border-top: 1px solid #dce4ea; color: #667085; font-size: 14px; }

@media (max-width: 820px) {
  .privacy-section { padding: 70px 0 85px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 48px; }
  .privacy-summary { position: static; max-width: 520px; }
}

@media (max-width: 520px) {
  .privacy-section { padding: 55px 0 70px; }
  .privacy-summary { padding: 24px; }
  .privacy-content { font-size: 16px; }
  .privacy-content h2 { margin-top: 45px; }
}

/* Compact sticky header */
@media (min-width: 781px) {
  .site-header.is-compact,
  .site-header.is-compact .header-inner { min-height: 106px; }
  .site-header.is-compact { box-shadow: 0 8px 24px rgba(0, 26, 69, .1); }
  .site-header.is-compact .brand img { width: 158px; }
  .site-header.is-compact .primary-menu a { font-size: 16px; }
  .site-header.is-compact .header-shop-link { font-size: 16px; }
  .site-header.is-compact .header-contact { padding-inline: 26px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* Mobile and narrow-screen refinements */
main,
.site-shell,
.offer-results,
.catalog-product-copy,
.product-detail-copy,
.privacy-content { min-width: 0; }

.offer-sidebar,
.privacy-summary { scroll-margin-top: 130px; }

@media (min-width: 681px) {
  .offer-sidebar { top: 130px; }
  .privacy-summary { top: 130px; }
}

@media (max-width: 780px) {
  .site-header,
  .header-inner { min-height: 82px; }
  .brand img { width: 136px; }
  .site-navigation {
    top: 82px;
    overflow-y: auto;
    padding: 34px 24px max(38px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }
  .admin-bar .site-navigation { top: 128px; }
  .primary-menu { gap: 20px; }
  .primary-menu a { display: block; padding: 7px 12px; font-size: 20px; }
  .site-navigation .header-shop-link { min-height: 46px; margin-top: 18px; padding: 8px 14px; }

  .offer-hero { min-height: 100px; }
  .offer-hero h1,
  .news-hero-label { font-size: clamp(32px, 9vw, 44px); line-height: 1.1; }

  .about-hero { padding: 54px 0 62px; }
  .about-hero-grid { gap: 42px; }
  .about-intro h1 { font-size: clamp(38px, 10vw, 52px); }
  .about-lead { font-size: 18px; }
  .about-story { padding: 64px 0; }
  .about-story-grid { gap: 38px; }
  .about-copy { font-size: 17px; line-height: 1.68; }
  .about-closing { padding: 56px 0; }

  .footer-main { min-height: 0; padding: 48px 0 40px; }
  .footer-main::after { opacity: .35; }
  .footer-menu a { display: block; padding: 7px 12px; }
  .contact-button { min-height: 52px; }

  .cookie-notice {
    gap: 12px;
    max-height: min(70vh, 360px);
    overflow-y: auto;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  }
  .cookie-actions { flex-wrap: wrap; white-space: normal; }

  .catalog-product-documents,
  .product-detail-documents { flex-wrap: wrap; }
  .product-document { min-height: 56px; }
  .product-detail { padding-top: 6px; }
  .product-detail-grid { gap: 28px; }
  .product-detail-copy h1 { margin-bottom: 24px; }

  .contact-section { padding: 62px 0 78px; }
  .contact-grid { gap: 42px; }
  .contact-list li { min-width: 0; }
  .contact-list a,
  .contact-list span { min-width: 0; overflow-wrap: anywhere; }
  .contact-map { box-shadow: 10px 12px 28px rgba(0, 12, 44, .1); }

  .news-heading { margin-bottom: 34px; }
  .news-card-body { padding: 24px 22px; }
  .news-single-header h1 { margin-bottom: 32px; }
  .news-single-image { margin-bottom: 34px; }

  .privacy-content,
  .privacy-content a { overflow-wrap: anywhere; word-break: normal; }
  .privacy-content h2 { font-size: 26px; }
}

@media (max-width: 520px) {
  .site-shell { width: min(100% - 32px, var(--content)); }
  .offer-section { padding: 42px 0 58px; }
  .section-title { margin-bottom: 32px; font-size: 34px; }
  .offer-card { min-height: 0; }
  .offer-image { min-height: 215px; }
  .offer-copy { min-height: 225px; padding: 20px; }
  .offer-copy h2 { font-size: 23px; }

  .about-image-wrap { padding: 14px 0 0 14px; }
  .about-image-wrap::before { inset: 0 14px 14px 0; }
  .about-novacomet { gap: 16px; padding: 18px; }
  .assurance-card { padding: 28px 24px; }

  .offer-catalog { gap: 30px; }
  .offer-sidebar { padding: 18px 16px 20px; border-radius: 11px; }
  .offer-category-tree ul ul { padding-left: 12px; }
  .offer-category-tree ul ul ul { padding-left: 13px; }
  .offer-root-categories a,
  .offer-child-categories a { min-height: 62px; }
  .catalog-product-image { min-height: 210px; }
  .catalog-product-image img { height: 225px; }
  .catalog-product-copy h2 { margin-bottom: 18px; }
  .catalog-product-documents { gap: 8px; }
  .product-detail-media { min-height: 250px; padding: 16px; }
  .product-detail-media img { height: 255px; }
  .product-detail-specs div { grid-template-columns: 1fr; gap: 3px; }
  .product-detail-documents .product-document { width: 100%; }

  .contact-logo { width: 165px; margin-bottom: 26px; }
  .contact-details h2 { margin-bottom: 24px; }
  .contact-list li { min-height: 62px; font-size: 16px; }
  .contact-map iframe { height: 320px; }
  .contact-map-link { justify-content: flex-start; min-height: 60px; }

  .news-card-image { height: 210px; }
  .news-card h3 { font-size: 21px; }
  .news-pagination ul { flex-wrap: wrap; }
  .news-single-header h1 { font-size: 34px; }
  .news-single-content img { width: auto; max-width: 100%; height: auto; }

  .privacy-summary { padding: 22px; }
  .privacy-content { font-size: 16px; line-height: 1.65; }
}
