/* =======================================
   STAL-GATE — custom.css
   Dodatkowe style dla WP / ACF blocks
   Mobile-first: 0–991.98px (default)
   Desktop: @media (min-width: 992px)
   ======================================= */

/* ===== CUSTOM SCROLLBAR — mobile horizontal-scroll grids ===== */
.offer-archive__scrollbar-wrap,
.offer-grid__scrollbar-wrap,
.blog-archive__scrollbar-wrap {
  position: relative;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}

.offer-archive__scrollbar-thumb,
.offer-grid__scrollbar-thumb,
.blog-archive__scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background-color: var(--blue);
  border-radius: 2px;
  transition: width 0.1s ease;
  min-width: 40px;
}

/* ===== MARGIN HELPERS ===== */
.margin-top {
  margin-top: 60px;
}
.margin-bottom {
  margin-bottom: 60px;
}

/* ===== MENU DESKTOP — fix multi-word link wrapping ===== */
@media (min-width: 992px) {
  .header__nav .menu-item > a {
    white-space: nowrap;
  }
}

/* ===== FOOTER MENU — reset WP nav_menu styles ===== */
.footer__col .menu {
  flex-direction: column;
  gap: 4px;
}

.footer__col .menu-item {
  width: auto;
  display: block;
}

.footer__col .menu-item > a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: rgb(255 255 255 / 80%);
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
    padding: 0;
    line-height: 30px;
    display: block;
}

.footer__col .menu-item > a:hover {
  color: var(--blue-light);
  opacity: 1;
}

.footer__col .menu-item-has-children {
  display: block;
  flex-wrap: unset;
  justify-content: unset;
}

.footer__col .submenu-toggle {
  display: none;
}

.footer__col .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: none;
  border: none;
  padding: 0;
  max-height: none;
  overflow: visible;
}

.footer__col .sub-menu .menu-item > a {
  font-size: 14px;
  line-height: 26px;
  padding: 0;
  color: var(--white);
  white-space: normal;
}

@media (min-width: 992px) {
  .footer__col .menu-item > a {
    font-size: 14px;
    line-height: 26px;
  }
}

/* ===== HERO CONTENT ANIMATION (slide change) ===== */
.hero__content {
  transition: opacity 0.2s ease;
}
.hero__content.is-animating {
  opacity: 0;
}

/* ===== HERO LIST WRAP (WYSIWYG output in hero block) ===== */
.hero__list-wrap ul {
  list-style: none;
  margin-bottom: 28px;
  padding: 0;
}

.hero__list-wrap ul li {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 20px;
  padding-left: 0;
  margin-bottom: 4px;
}

.hero__list-wrap ul strong {
  font-weight: 600;
}

/* ===== IMAGE-TEXT (formerly .about) ===== */
.image-text {
  padding: 60px 0;
  background-color: var(--white);
}

.image-text__wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.image-text__content {
  display: flex;
  flex-direction: column;
}

.image-text__content h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 40px;
  letter-spacing: -0.3px;
}

.image-text__content p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 20px;
  opacity: 0.8;
}

.image-text__content .text-link {
  color: var(--text-light);
  font-weight: 600;
}

.image-text__content .btn {
  margin-top: 8px;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.28px;
}

.image-text__image {
  position: relative;
}

.image-text__image img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  object-position: top;
}

.image-text__badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  text-align: center;
}

.image-text__badge img {
  width: 87px;
  height: auto;
}

.image-text__badge span {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  color: #939598;
  text-transform: uppercase;
  text-align: center;
  margin-top: 2px;
}

/* ===== STYLE.CSS about → custom.css image-text BRIDGE =====
   style.css still has .about rules - image-text block uses .image-text
   These rules mirror .about exactly so both work.
   ========================================================== */

/* ===== PAGE TITLE ===== */
.page-title {
  padding: 100px 0 50px;
  background-color: var(--dark-silver, #4F5963);
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.page-title .container {
  position: relative;
  z-index: 2;
}

.page-title .section-label {
  color: rgba(255,255,255,0.7);
}

.page-title .section-label img {
  filter: brightness(0) invert(1) opacity(0.7);
}

.page-title h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  color: var(--white);
  line-height: 44px;
  letter-spacing: -0.36px;
  margin-bottom: 16px;
}

.page-title.has-bg-image h1 {
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Blog single meta inside page-title */
.blog-single__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Breadcrumbs */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.breadcrumbs a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs__sep {
  color: rgba(255,255,255,0.4);
  margin: 0 2px;
}

/* ===== TEXT BLOCK ===== */
.text-block {
  padding: 40px 0;
  background-color: var(--white);
}

.text-block__inner {
  max-width: 100%;
}

.text-block__inner h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 36px;
  letter-spacing: -0.28px;
}

.text-block__inner h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 30px;
}

.text-block__inner p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 24px;
  margin-bottom: 16px;
  opacity: 0.85;
}

.text-block__inner ul,
.text-block__inner ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.text-block__inner ul {
  list-style: disc;
}

.text-block__inner ol {
  list-style: decimal;
}

.text-block__inner li {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 24px;
  opacity: 0.85;
  margin-bottom: 6px;
}

/* ===== OFFER GRID ===== */
.offer-grid {
  padding: 60px 0;
  background-color: var(--light-bg);
  overflow: hidden;
}

.offer-grid__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.offer-grid__header-left h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--black);
  line-height: 40px;
  letter-spacing: -0.3px;
}

.offer-grid__header-left h2 em {
  font-style: normal;
  font-weight: 600;
}

.offer-grid__header-right {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 20px;
  opacity: 0.8;
}

/* Mobile: horizontal scroll (1.5 card) */
.offer-grid__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  margin: -20px;
  width: calc(100% + 40px);
  scrollbar-width: none;
}

.offer-grid__grid::-webkit-scrollbar {
  display: none;
}

.offer-grid__grid .offer__card {
  flex: 0 0 calc(75% - 10px);
  scroll-snap-align: start;
}

/* ===== MAP ===== */
.map {
  background-color: var(--white);
}

.map__embed {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.map__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: var(--light-bg);
  color: var(--silver);
  font-size: 14px;
}

/* ===== FAQ ===== */
.faq {
  padding: 60px 0;
  background-color: var(--white);
}

.faq__header {
  margin-bottom: 40px;
}

.faq__header h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--black);
  line-height: 40px;
  letter-spacing: -0.3px;
}

.faq__header h2 em {
  font-style: normal;
  font-weight: 600;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.faq__item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
  letter-spacing: -0.16px;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--blue);
}

.faq__icon {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--blue);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 0 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 24px;
  opacity: 0.85;
}

.faq__answer p {
  margin-bottom: 10px;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

.faq__answer[hidden] {
  display: none;
}

/* ===== GALLERY SECTION (archive-galeria) ===== */
.gallery-section {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.gallery-section:nth-child(odd) {
  background-color: #fff;
  padding-top: 60px;
}

.gallery-section__header {
  margin-bottom: 28px;
}

.gallery-section__header h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--black);
  line-height: 40px;
  letter-spacing: -0.3px;
}

.gallery-section__header p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 20px;
  opacity: 0.8;
  margin-top: 8px;
}

/* Mobile: horizontal scroll */
.gallery-section__slider-wrap {
  overflow: hidden;
}

.gallery-section__swiper {
  overflow: visible;
}

.gallery-section__swiper .swiper-wrapper {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-wrap: nowrap;
}

.gallery-section__swiper .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.gallery-section__slide {
  flex: 0 0 calc(80% - 6px);
  scroll-snap-align: start;
}


.gallery-section__thumb {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
}

.gallery-section__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-section__thumb:hover img {
  transform: scale(1.04);
}

.gallery-section__arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  border: 1px solid var(--blue);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  transition: background-color var(--transition);
}

.gallery-section__arrow:hover {
  background-color: var(--blue);
}

.gallery-section__arrow:hover img {
  filter: brightness(0) invert(1);
}

.gallery-section__arrow--prev {
  left: -60px;
}

.gallery-section__arrow--next {
  right: -60px;
}

.gallery-section__arrow--next img {
  transform: rotate(180deg);
}

.gallery-section__footer {
  margin-top: 28px;
  text-align: center;
}

/* ===== OFFER ARCHIVE ===== */
.offer-archive {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.offer-archive__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.offer-archive__filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark-silver);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  transition: all var(--transition);
  background: var(--white);
}

.offer-archive__filter-btn:hover,
.offer-archive__filter-btn.is-active {
  background-color: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* Mobile: horizontal scroll (1.5 kart) */
.offer-archive__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  margin: -20px;
  width: calc(100% + 40px);
  scrollbar-width: none;
}

.offer-archive__grid::-webkit-scrollbar {
  display: none;
}

.offer-archive__grid .offer__card {
  flex: 0 0 calc(75% - 10px);
  scroll-snap-align: start;
}

.offer-archive__empty {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  opacity: 0.6;
  padding: 40px 0;
}

/* ===== PRODUCT SINGLE ===== */
.product-single {
  padding: 60px 0;
  background-color: var(--white);
}

.product-single__wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-single__gallery-images {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-single__gallery-img {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.product-single__gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-single__thumbs {
  margin-top: 8px;
}

.product-single__thumbs .swiper-slide {
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition);
  aspect-ratio: 4/3;
}

.product-single__thumbs .swiper-slide-thumb-active {
  opacity: 1;
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.product-single__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-single__main-image img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.product-single__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--blue);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  transition: background-color var(--transition);
  background: rgba(0,0,0,0.3);
}

.product-single__arrow:hover {
  background-color: var(--blue);
}

.product-single__arrow:hover img {
  filter: brightness(0) invert(1);
}

.product-single__arrow--prev { left: 10px; }
.product-single__arrow--next { right: 10px; }
.product-single__arrow--next img { transform: rotate(180deg); }

.product-single__info h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--black);
  line-height: 36px;
  letter-spacing: -0.28px;
  margin: 12px 0 16px;
}

.product-single__features {
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  line-height: 24px;
}

.product-single__features ul {
  list-style: disc;
  padding-left: 20px;
}

.product-single__features li {
  margin-bottom: 6px;
  opacity: 0.85;
}

.product-single__cta {
  margin-top: 24px;
}

.product-single__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.product-single__meta-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
}

.product-single__meta-row dt {
  flex: 0 0 80px;
  font-weight: 600;
  color: var(--black);
  opacity: 0.5;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.product-single__meta-row dd {
  color: var(--black);
  font-weight: 500;
}

.product-single__description {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 24px;
}

.product-single__description h2,
.product-single__description h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.product-single__description h2 { font-size: 24px; line-height: 32px; }
.product-single__description h3 { font-size: 20px; line-height: 28px; }

.product-single__description p {
  margin-bottom: 16px;
  opacity: 0.85;
}

.product-single__description ul,
.product-single__description ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.product-single__description ul { list-style: disc; }
.product-single__description ol { list-style: decimal; }

.product-single__description li {
  margin-bottom: 6px;
  opacity: 0.85;
}

/* ===== BLOG ARCHIVE ===== */
.blog-archive {
  padding: 60px 0;
  background-color: var(--light-bg);
}

/* Mobile: horizontal scroll (1.5 kart) */
.blog-archive__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  margin: -20px;
  width: calc(100% + 40px);
  scrollbar-width: none;
}

.blog-archive__grid::-webkit-scrollbar {
  display: none;
}

.blog-archive__card {
  flex: 0 0 calc(80% - 10px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-archive__card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

.blog-archive__card-image {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.blog-archive__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-archive__card:hover .blog-archive__card-image img {
  transform: scale(1.04);
}

.blog-archive__card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.blog-archive__cat {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.5px;
}

.blog-archive__card-body h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.35;
  letter-spacing: -0.17px;
}

.blog-archive__card-body h3 a {
  color: inherit;
  transition: color var(--transition);
}

.blog-archive__card-body h3 a:hover {
  color: var(--blue);
}

.blog-archive__meta {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--silver);
  text-transform: uppercase;
}

.blog-archive__card-body p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  line-height: 20px;
  opacity: 0.7;
  flex: 1;
}

.blog-archive__card-body .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.blog-archive__empty {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  opacity: 0.6;
  padding: 40px 0;
}

/* ===== BLOG SINGLE ===== */
.blog-single {
  padding: 60px 0;
  background-color: var(--white);
}

.blog-single__layout {
  max-width: 860px;
}

.blog-single__content h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--black);
  margin: 32px 0 12px;
  line-height: 34px;
  letter-spacing: -0.26px;
}

.blog-single__content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  margin: 24px 0 10px;
  line-height: 28px;
}

.blog-single__content p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 26px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.blog-single__content ul,
.blog-single__content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.blog-single__content ul { list-style: disc; }
.blog-single__content ol { list-style: decimal; }

.blog-single__content li {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 26px;
  margin-bottom: 6px;
  opacity: 0.9;
}

.blog-single__content img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 24px 0;
}

.blog-single__content blockquote {
  border-left: 3px solid var(--blue);
  padding: 12px 20px;
  margin: 24px 0;
  background-color: var(--light-bg);
  border-radius: 0 4px 4px 0;
}

.blog-single__content blockquote p {
  font-style: italic;
  opacity: 0.75;
  margin-bottom: 0;
}

.blog-single__footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.blog-single__categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-silver);
  text-transform: uppercase;
}

.blog-single__tag {
  padding: 4px 12px;
  background-color: var(--light-bg);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 4px;
  color: var(--dark-silver);
  font-size: 12px;
  transition: all var(--transition);
}

.blog-single__tag:hover {
  background-color: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ===== BLOG RELATED ===== */
.blog-related {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.blog-related__header {
  margin-bottom: 32px;
}

.blog-related__header h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--black);
  line-height: 40px;
  letter-spacing: -0.3px;
}

.blog-related__header h2 em {
  font-style: normal;
  font-weight: 600;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-silver);
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--white);
  transition: all var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background-color: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.pagination .page-numbers.dots {
  border: none;
  background: none;
  cursor: default;
}

/* ===== CF7 STYLES ===== */
.wpcf7-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--silver);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
  height: 40px;
  background: var(--white);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--blue);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.28px;
  border-radius: 4px;
  border: 2px solid var(--blue);
  background-color: var(--blue);
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  height: 44px;
  margin-top: 4px;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.wpcf7-not-valid-tip {
  font-family: var(--font-body);
  font-size: 12px;
  color: #dc2626;
  margin-top: 4px;
}

.wpcf7-response-output {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
}

.wpcf7-mail-sent-ok {
  background-color: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ===== OFFER IS-RELATED ===== */
.offer.is-related {
  padding: 60px 0;
  background-color: var(--light-bg);
}

/* =========================================
   DESKTOP — @media (min-width: 992px)
   ========================================= */
@media (min-width: 992px) {

  .margin-top { margin-top: 90px; }
  .margin-bottom { margin-bottom: 90px; }

  /* Hide mobile scrollbars on desktop */
  .offer-archive__scrollbar-wrap,
  .offer-grid__scrollbar-wrap,
  .blog-archive__scrollbar-wrap {
    display: none;
  }

  /* Image-text */
  .image-text {
    padding: 90px 0;
  }

  .image-text__wrapper {
    flex-direction: row;
    gap: 80px;
    align-items: center;
  }

  .image-text.is-right .image-text__content { order: 1; flex: 1; }
  .image-text.is-right .image-text__image   { order: 2; flex: 0 0 630px; }
  .image-text.is-left  .image-text__image   { order: 1; flex: 0 0 630px; }
  .image-text.is-left  .image-text__content { order: 2; flex: 1; }

  .image-text__content h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.4px;
  }

  .image-text__content p:first-of-type {
    font-size: 18px;
    line-height: 24px;
  }

  /* Page title */
  .page-title {
    padding: 140px 0 60px;
  }

  .page-title h1 {
    font-size: 52px;
    line-height: 60px;
    letter-spacing: -0.52px;
  }

  /* Text block */
  .text-block {
    padding: 60px 0;
  }

  .text-block__inner.is-narrow {
    max-width: 900px;
  }

  .text-block__inner h2 {
    font-size: 36px;
    line-height: 46px;
  }

  /* Offer grid */
  .offer-grid {
    padding: 90px 0;
  }

  .offer-grid__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
  }

  .offer-grid__header-left h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.4px;
  }

  .offer-grid__header-right {
    max-width: 444px;
    padding-top: 32px;
  }

  /* Desktop: grid layout */
  .offer-grid__grid {
    display: grid;
    gap: 24px;
    overflow: visible;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .offer-grid__grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .offer-grid__grid--cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .offer-grid__grid .offer__card {
    flex: none;
    scroll-snap-align: unset;
  }

  /* FAQ */
  .faq {
    padding: 90px 0;
  }

  .faq__header h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.4px;
  }

  .faq__question {
    font-size: 17px;
  }

  /* Gallery section */
  .gallery-section {
    padding: 90px 0;
  }

  .gallery-section:nth-child(odd) {
    padding-top: 90px;
  }

  .gallery-section__slider-wrap {
    overflow: visible;
    position: relative;
  }

  .gallery-section__swiper .swiper-wrapper {
    display: flex;
    gap: 0;
    overflow: visible;
    scroll-snap-type: none;
    flex-wrap: nowrap;
  }

  .gallery-section__slide {
    flex: none;
    scroll-snap-align: none;
  }

  .gallery-section__swiper {
    overflow: hidden;
  }

  .gallery-section__arrow {
    display: flex;
  }

  .gallery-section__header h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.4px;
  }

  /* Offer archive */
  .offer-archive {
    padding: 90px 0;
  }

  .offer-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .offer-archive__grid .offer__card {
    flex: none;
    scroll-snap-align: unset;
  }

  /* Product single */
  .product-single {
    padding: 90px 0;
  }

  .product-single__wrapper {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }

  .product-single__gallery {
    flex: 0 0 560px;
  }

  .product-single__info {
    flex: 1;
    padding-top: 8px;
  }

  .product-single__info h1 {
    font-size: 36px;
    line-height: 46px;
  }

  /* Blog archive */
  .blog-archive {
    padding: 90px 0;
  }

  .blog-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .blog-archive__card {
    flex: none;
    scroll-snap-align: unset;
  }

  /* Blog single */
  .blog-single {
    padding: 90px 0;
  }

  .blog-single__layout {
    max-width: 860px;
  }

  .blog-single__content h2 {
    font-size: 32px;
    line-height: 42px;
  }

  /* Blog related */
  .blog-related {
    padding: 90px 0;
  }

  .blog-related__header h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.4px;
  }

  /* Offer related */
  .offer.is-related {
    padding: 90px 0;
  }
}
