/* ================== INNER PAGE ================== */
.inner-page {
    background: #F5F3EF;
    color: #333;
}

.inner-page .page-header .header__list a {
    color: #7A7570 !important;
    opacity: 1 !important;
}

.inner-page .page-header .header__list a:hover,
.inner-page .page-header .header__list a.active {
    color: #1C1C1C !important;
}

.inner-page .page-header .logo__text {
    color: #1a1a1a !important;
}

.inner-page .page-header .header__lang a {
    color: #7A7570 !important;
}

/* ================== PRODUCTS HERO ================== */
.products-hero {
    background: #E8E3DB;
    padding: 64px 0 52px;
    text-align: center;
    border-bottom: 1px solid #DDD8CF;
}

.products-hero__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3587D9;
    margin-bottom: 14px;
}

.products-hero__title {
    font-size: 38px;
    font-weight: 700;
    color: #1C1C1C;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.products-hero__subtitle {
    font-size: 15px;
    color: #7A7570;
    margin-top: 10px;
    font-weight: 400;
}

/* ================== PRODUCTS SECTIONS ================== */
.iz-section {
    padding: 80px 0;
    background: #F5F3EF;
}

.iz-section--alt {
    background: #EDE9E3;
}

.iz-section + .iz-section {
    border-top: 1px solid #E4DED6;
}

/* ================== CARD LAYOUT ================== */
.iz-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.iz-section--alt .iz-card {
    direction: rtl;
}

.iz-section--alt .iz-card > * {
    direction: ltr;
}

/* ================== SLIDER STYLES ================== */
.iz-slider-wrap {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    justify-self: center;
}

.iz-slider-wrap .swiper {
    width: 100%;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.iz-slider-wrap .swiper-slide {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
}

.iz-slider-wrap .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

.iz-slider-wrap .swiper-button-next,
.iz-slider-wrap .swiper-button-prev {
    color: #444 !important;
    background: transparent;
    width: 28px !important;
    height: 28px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.iz-slider-wrap .swiper-button-next:hover,
.iz-slider-wrap .swiper-button-prev:hover {
    opacity: 0.7;
}

.iz-slider-wrap .swiper-button-next::after,
.iz-slider-wrap .swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: 700;
}

.iz-slider-wrap .swiper-button-next {
    right: 10px;
}

.iz-slider-wrap .swiper-button-prev {
    left: 10px;
}

.iz-slider-wrap .swiper-pagination {
    position: relative !important;
    margin-top: 25px;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
}

.iz-slider-wrap .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #aaa !important;
    opacity: 1 !important;
    border-radius: 50%;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.iz-slider-wrap .swiper-pagination-bullet-active {
    background: #333 !important;
    transform: scale(1.1);
}

/* ================== INFO BLOCK ================== */
.iz-info {
    display: flex;
    flex-direction: column;
    padding-top: 6px;
}

.iz-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3587D9;
    margin-bottom: 10px;
}

.iz-title {
    font-size: 34px;
    font-weight: 700;
    color: #1C1C1C;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.iz-subtitle {
    font-size: 15px;
    color: #7A7570;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 24px;
    max-width: 380px;
}

/* ================== TYPES ================== */
.iz-types {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.iz-type {
    background: #fff;
    border: 1px solid #E8E3DB;
    border-radius: 12px;
    padding: 14px 18px;
    transition: all 0.2s ease;
}

.iz-section--alt .iz-type {
    background: #F5F3EF;
}

.iz-type:hover {
    border-color: #3587D9;
    box-shadow: 0 4px 14px rgba(53, 135, 217, 0.1);
    transform: translateX(4px);
}

.iz-type__name {
    font-size: 14px;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 4px;
}

.iz-type__desc {
    font-size: 13px;
    color: #7A7570;
    line-height: 1.5;
    margin: 0;
}

/* ========== BURGER=MENU ========== */


.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    margin-left: auto;
}

.burger span {
    width: 100%;
    height: 2px;
    background-color: #fff; 
    transition: all 0.3s ease;
}

.inner-page .burger span {
    background-color: #333;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: left 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome .menu-overlay {
    background: rgba(0, 0, 0, 0.9); 
}

.menu-overlay.active {
    left: 0;
}

.menu-overlay-content {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1002;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.mobile-list a {
    color: #333;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 15px 10px;
}

.welcome .mobile-list a {
    color: #fff;
}

.mobile-list a:hover,
.mobile-list a.active {
    color: #3587D9;
}

.mobile-lang {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.mobile-lang a {
    color: #333;
    text-decoration: none;
    font-size: 20px;
    padding: 12px 30px;
    border: 1px solid #ddd;
    border-radius: 30px;
    transition: all 0.3s;
}

.welcome .mobile-lang a {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-lang a:hover,
.mobile-lang a.active {
    border-color: #3587D9;
    color: #3587D9;
}

.menu-overlay.active ~ .hero-content,
.menu-overlay.active ~ .welcome__text,
.menu-overlay.active ~ .buttons-container,
.menu-overlay.active ~ .products-hero,
.menu-overlay.active ~ .iz-section,
.menu-overlay.active ~ .popular-goods,
.menu-overlay.active ~ .lumber,
.menu-overlay.active ~ .carpentry,
.menu-overlay.active ~ .address,
.menu-overlay.active ~ .about-contacts,
.menu-overlay.active ~ .footer {
    opacity: 0.2;
    pointer-events: none;
    filter: blur(2px);
    transition: all 0.3s ease;
}

/* ================== RESPONSIVE ================== */

/* ── 1100px ── */
@media screen and (max-width: 1100px) {
  .iz-card {
    gap: 48px;
    padding: 0 20px;
  }
  .iz-title {
    font-size: 30px;
  }
}

/* ── 960px ── */
@media screen and (max-width: 960px) {
  .burger {
    display: flex;
  }
  .header__nav:not(.mobile-nav) {
    display: none !important;
  }
  .header__lang:not(.mobile-lang) {
    display: none !important;
  }
  .header__inner {
    padding: 15px 20px;
  }
  .logo__text {
    font-size: 18px;
  }
  .logo img {
    width: 40px;
    height: 40px;
  }

  .iz-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .iz-section--alt .iz-card {
    direction: ltr;
  }
  .iz-slider-wrap .swiper-slide {
    aspect-ratio: 2/3;
  }
  .iz-subtitle {
    max-width: 100%;
  }
  .iz-type:hover {
    transform: translateX(0) translateY(-2px);
  }
}

@media screen and (min-width: 961px) {
  .menu-overlay {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .iz-section {
    padding: 60px 0;
  }
  .iz-title {
    font-size: 26px;
  }
  .iz-slider-wrap {
    max-width: 75vw;
  }
  .iz-slider-wrap .swiper-button-next::after,
  .iz-slider-wrap .swiper-button-prev::after {
    font-size: 13px !important;
  }
  .iz-slider-wrap .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
  }

  /* Products hero */
  .products-hero {
    padding: 44px 20px 36px;
  }
  .products-hero__title {
    font-size: 28px;
  }
  .products-hero__subtitle {
    font-size: 13px;
  }
}

/* ── 480px ── */
@media screen and (max-width: 480px) {
  .iz-section {
    padding: 40px 0;
  }

  /* Products hero */
  .products-hero {
    padding: 36px 16px 28px;
  }
  .products-hero__title {
    font-size: 24px;
  }
  .products-hero__label {
    font-size: 10px;
  }

  /* iz-card */
  .iz-card {
    gap: 28px;
    padding: 0;
  }
  .iz-info {
    padding-top: 0;
  }
  .iz-title {
    font-size: 22px;
  }
  .iz-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .iz-label {
    font-size: 10px;
  }
  .iz-types {
    gap: 6px;
  }

  /* iz-type */
  .iz-type {
    padding: 12px 16px;
  }
  .iz-type__name {
    font-size: 13px;
  }
  .iz-type__desc {
    font-size: 12px;
  }

  /* Swiper */
  .iz-slider-wrap {
    max-width: 75vw;
  }
  .iz-slider-wrap .swiper-button-next,
  .iz-slider-wrap .swiper-button-prev {
    display: none !important;
  }
  .iz-slider-wrap .swiper-pagination {
    margin-top: 14px;
    gap: 7px !important;
  }
  .iz-slider-wrap .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
  }
  .iz-slider-wrap .swiper-slide {
    aspect-ratio: 2/3;
  }
}

/* ── 360px ── */
@media screen and (max-width: 360px) {
  .iz-section {
    padding: 32px 0;
  }
  .products-hero__title {
    font-size: 21px;
  }
  .iz-title {
    font-size: 20px;
  }
  .iz-type {
    padding: 10px 12px;
  }
  .iz-slider-wrap {
    max-width: 70vw;
  }
}