/* Body Background Override for Home Page */
body {
  background-color: #F6F7F7 !important;
}

/* Global min-width for all sections */
.hero-new,
.our-products-section,
.about-us-section,
.news-section,
.catalog-banner {
  min-width: 320px;
}

/* Hero Section */
.hero-new {
    position: relative;
    width: 100%;
    height: 635px;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }
  
  .hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
  .hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
  }
  
  .hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
  }
  
  .hero-content {
    position: absolute;
    left: 47px;
    top: 50%;
    transform: translateY(-50%);
    width: 667px;
    max-width: calc(100% - 94px);
    z-index: 3;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px 40px;
    gap: 30px;
    
    border-left: 2px solid #E7252B;
    box-sizing: border-box;
  }
  
  .hero-title {
    width: 432px;
    max-width: 100%;
    margin: 0;
    
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 130%;
    color: #FFFFFF;
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
    
    flex: none;
    order: 0;
    flex-grow: 0;
  }
  
  .hero-subtitle {
    width: 587px;
    max-width: 100%;
    margin: 0;
    
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 21px;
    line-height: 130%;
    color: #FFFFFF;
    
    flex: none;
    order: 1;
    flex-grow: 0;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .hero-new {
      height: 500px;
    }
    
    .hero-content {
      left: 20px;
      width: calc(100% - 40px);
      padding: 20px 30px;
      gap: 20px;
    }
    
    .hero-title {
      font-size: 28px;
      width: 100%;
    }
    
    .hero-subtitle {
      font-size: 18px;
      width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .hero-new {
      height: 400px;
    }
    
    .hero-content {
      left: 15px;
      width: calc(100% - 30px);
      padding: 15px 20px;
      gap: 15px;
    }
    
    .hero-title {
      font-size: 24px;
    }
    
    .hero-subtitle {
      font-size: 16px;
    }
  }

/* Our Products Section */
.our-products-section {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  padding: 45px 0;
}

.our-products-container {
  position: relative;
  width: 1200px;
  min-width: 320px;
  margin: 0 auto;
  padding: 0 47px;
  box-sizing: border-box;
}

/* Our Products Title */
.dark .our-products-section .our-products-title,
.our-products-section .our-products-title {
  width: 100%;
  margin: 0 auto 45px auto;
  
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 32px;
  line-height: 130%;
  text-align: center;
  text-transform: uppercase;
  color: #000000 !important;
}

/* Products Grid */
.products-grid {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* Product Categories */
.product-category {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 14px 10px;
  gap: 20px;
  isolation: isolate;
  
  width: 350px;
  height: 540px;
  
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  box-shadow: 0px 8px 10px rgba(79, 89, 101, 0.1);
  border-radius: 8px;
  
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-category:hover {
  transform: translateY(-5px);
  box-shadow: 0px 12px 20px rgba(79, 89, 101, 0.15);
  text-decoration: none;
  color: inherit;
}

/* Text Heading Container */
.product-text-heading {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0px;
  
  width: 290px;
  height: 29px;
  
  flex: none;
  order: 1;
  flex-grow: 0;
  z-index: 1;
}

/* Product Titles */
.dark .product-category .product-title,
.product-category .product-title {
  width: 290px;
  height: 29px;
  
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #0F1111 !important;
  margin: 0;
  
  flex: none;
  order: 0;
  flex-grow: 1;
}

/* Product Descriptions */
.product-description {
  width: 290px;
  height: 151px;
  
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 16px;
  line-height: 160%;
  color: #0F1111;
  margin: 0;
  
  flex: none;
  order: 2;
  flex-grow: 0;
  z-index: 2;
}

/* Product Icons */
.product-icon {
  position: absolute;
  width: 32px;
  height: 32px;
  right: 25px;
  bottom: 25px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  flex: none;
  order: 3;
  flex-grow: 0;
  
  background-image: url('/assets/images/icons/arrow-right.svg');
  background-size: 32px 32px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Product Icons in Catalog Banner */
.catalog-banner-title-wrapper .product-icon {
  position: relative;
  width: 36px;
  height: 36px;
  right: auto;
  bottom: auto;
  flex-shrink: 0;
  align-self: center;
  background-size: 36px 36px;
}

@media (min-width: 1601px) {
  .our-products-container {
    width: 65% !important;
  }
  
  .about-us-container {
    width: 1250px !important;
  }
  
  .about-us-content {
    gap: 100px !important;
  }
  
  .news-section {
    max-width: 65% !important;
  }
  
  .news-container {
    max-width: 100% !important;
  }
  
  .news-grid {
    max-width: 100% !important;
    gap: max(28px, calc((65vw - 1150px) / 2)) !important;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .our-products-container {
    width: 100%;
    padding: 0 20px;
  }
  
  .products-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .product-category {
    width: 350px;
  }
}

@media (max-width: 768px) {
  .our-products-section {
    padding: 45px 0;
  }
  
  .our-products-container {
    padding: 0 20px;
  }
  
  .dark .our-products-section .our-products-title,
  .our-products-section .our-products-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .products-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .product-category {
    width: 350px;
    height: auto;
    min-height: 540px;
  }
  
  .product-description {
    height: auto;
    flex: 1;
  }
}

@media (max-width: 600px) {
  .dark .our-products-section .our-products-title,
  .our-products-section .our-products-title {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .dark .our-products-section .our-products-title,
  .our-products-section .our-products-title {
    font-size: 24px;
  }
  
  .product-category {
    width: calc(100vw - 40px);
    min-width: 280px;
    max-width: 350px;
    padding: 20px 20px 10px;
  }
  
  .product-image,
  .product-text-heading,
  .product-category .product-title,
  .product-description {
    width: 100%;
  }
  
  .product-image {
    object-fit: contain;
  }
}

@media (max-width: 400px) {
  .dark .our-products-section .our-products-title,
  .our-products-section .our-products-title {
    font-size: 22px;
  }
  
  .our-products-section {
    padding: 30px 0;
  }
}

/* About Us Section */
.about-us-section {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  padding: 80px 0;
}

.about-us-container {
  position: relative;
  width: 1200px;
  min-width: 320px;
  margin: 0 auto;
  padding: 0 73px;
  box-sizing: border-box;
}

.about-us-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  gap: 75px;
  
  width: 100%;
  max-width: 1081px;
  height: 370px;
  margin: 0 auto;
}

.about-us-image {
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.about-us-image img {
  width: 507px;
  height: 370px;
  min-width: 270px;
  object-fit: cover;
}

.about-us-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0px;
  
  width: 501px;
  height: 370px;
  
  flex: none;
  order: 1;
  flex-grow: 0;
}

.about-us-section .about-us-title {
  margin: 0;
  
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 32px;
  line-height: 120%;
  letter-spacing: 0.01em;
  color: #E7252B !important;
  
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.about-us-description {
  width: 340px;
  flex: 1;
  
  flex: none;
  order: 1;
  flex-grow: 0;
}

.about-us-year {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 18px;
  line-height: 50%;
  color: #0F1111;
  margin: 0 0 50px 0;
}

.about-us-details {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 18px;
  line-height: 130%;
  color: #0F1111;
  margin: 0;
}

.about-us-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 23px;
  gap: 10px;
  
  width: 131px;
  height: 40px;
  
  background: #E7252B;
  border: none;
  text-decoration: none;
  
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 80%;
  color: #FFFFFF;
  
  flex: none;
  order: 2;
  flex-grow: 0;
  
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.about-us-button:hover {
  background: #d11e23;
  transform: translateY(-1px);
  text-decoration: none;
  color: #FFFFFF;
}

/* Responsive Design for About Us */
@media (max-width: 1200px) {
  .about-us-container {
    width: 100%;
    padding: 0 40px;
  }
  
  .about-us-content {
    flex-direction: column;
    align-items: center;
    gap: 60px;
    height: auto;
  }
  
  .about-us-image {
    display: flex;
    justify-content: center;
  }
  
  .about-us-image img {
    width: min(507px, calc(100vw - 50px));
    height: auto;
    object-fit: contain;
  }
  
  .about-us-text {
    width: 501px;
    height: 370px;
    align-items: center;
    text-align: center;
  }
  
  .about-us-title {
    text-align: center;
  }
  
  .about-us-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .about-us-section {
    padding: 60px 0;
  }
  
  .about-us-container {
    padding: 0 20px;
  }
  
  .about-us-content {
    gap: 40px;
  }
  
  .about-us-title {
    font-size: 28px;
    line-height: 70%;
  }
  
  .about-us-year,
  .about-us-details {
    font-size: 16px;
  }
  
  .about-us-details {
    line-height: 150%;
  }
  
  .about-us-button {
    font-size: 16px;
    padding: 12px 20px;
    width: auto;
    min-width: 120px;
  }
}

@media (max-width: 600px) {
  .about-us-section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .about-us-section {
    padding: 40px 0;
  }
}

@media (max-width: 400px) {
  .about-us-section {
    padding: 30px 0;
  }
}

/* News Section */
.news-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 40px 0px;
  gap: 30px;
  
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #F6F7F7;
}

.news-container {
  width: 100%;
  max-width: 1108px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.news-section .news-title {
  width: 100%;
  max-width: 1106px;
  margin: 0;
  
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 32px;
  line-height: 130%;
  text-align: center;
  text-transform: uppercase;
  color: #000000 !important;
  
  flex: none;
  order: 0;
  flex-grow: 0;
}

.news-slider-container {
  position: relative;
}

.news-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0px;
  gap: 28px;
  
  width: 100%;
  max-width: 1108px;
  
  flex: none;
  order: 1;
  flex-grow: 0;
}

.news-page {
  width: 100%;
}

.news-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 0px;
  gap: 16px;
  
  width: 350px;
  height: 360px;
  
  background: #FFFFFF;
  border: 1px solid #F1F1F1;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  
  flex: none;
  flex-grow: 0;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-date {
  width: 302px;
  height: 17px;
  
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.05em;
  color: #757575;
  
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.news-heading {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0px;
  
  width: 302px;
  height: 72px;
  
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
}

.news-section .news-card-title {
  width: 302px;
  height: 72px;
  margin: 0;
  
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #0F1111 !important;
  transition: color 0.3s ease;
  
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 1;
}

.news-section .news-card:hover .news-card-title {
  color: #E7252B !important;
}

.news-description {
  width: 302px;
  height: 148px;
  margin: 0;
  
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 14px;
  line-height: 160%;
  letter-spacing: 0.02em;
  color: #0F1111;
  
  flex: none;
  order: 2;
  align-self: stretch;
  flex-grow: 0;
}

.news-button {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0px;
  isolation: isolate;
  
  width: 302px;
  height: 32px;
  
  flex: none;
  order: 3;
  align-self: stretch;
  flex-grow: 0;
}

.news-arrow {
  position: relative;
  width: 32px;
  height: 32px;
  
  flex: none;
  order: 0;
  flex-grow: 0;
  z-index: 0;
  
  background-image: url('/assets/images/icons/news-arrow.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* News Slider Controls */
.news-slider-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  margin-top: 30px;
}

.news-slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.news-dot {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-dot.active {
  background-color: #666;
  width: 60px;
}

.news-dot:hover {
  background-color: #999;
}

/* Responsive Design for News Section */
@media (max-width: 1200px) {
  .news-section {
    padding: 40px 20px 0px;
  }
  
  .news-grid {
    gap: 20px;
    max-width: 728px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 30px 15px 0px;
  }
  
  .news-section .news-title {
    font-size: 28px;
  }
  
  .news-grid {
    gap: 20px;
    max-width: 350px;
  }
}

@media (max-width: 600px) {
  .news-section .news-title {
    font-size: 26px;
  }
  
  .news-section .news-card-title {
    font-size: 18px;
  }
  
  .news-description {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .news-section .news-title {
    font-size: 24px;
  }
  
  .news-card {
    width: calc(100vw - 40px);
    min-width: 280px;
    max-width: 350px;
  }
  
  .news-date,
  .news-heading,
  .news-section .news-card-title,
  .news-description,
  .news-button {
    width: 100%;
  }
  
  .news-section .news-card-title {
    font-size: 17px;
  }
  
  .news-description {
    font-size: 12.5px;
  }
}

@media (max-width: 400px) {
  .news-section .news-title {
    font-size: 22px;
  }
  
  .news-section .news-card-title {
    font-size: 17px;
  }
  
  .news-description {
    font-size: 13px;
  }
}

/* Catalog Banner Section */
.catalog-banner {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  padding: 0 !important;
}

.catalog-banner-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.catalog-banner-link:hover,
.catalog-banner-link:focus {
  text-decoration: none;
  color: inherit;
}

.catalog-banner-container {
  position: relative;
  width: 100%;
  min-width: 320px;
  height: 487px;
  background: #FFFFFF;
}

.catalog-banner-background {
  position: absolute;
  width: 100%;
  height: 487px;
  left: 0px;
  top: 0px;
  
  background: url('/assets/images/catalog.jpeg');
  background-size: cover;
  background-position: center;
}

.catalog-banner-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.catalog-banner-border {
  position: absolute;
  width: 3px;
  height: 148px;
  left: 73px;
  top: calc(50% - 148px/2 + 0.5px);
  
  background: #E7252B;
  border-radius: 3px;
}

.catalog-banner-text {
  position: absolute;
  width: 429px;
  height: 112px;
  left: 116px;
  top: calc(50% - 112px/2 + 0.5px);
}

.catalog-banner .catalog-banner-title {
  width: 429px;
  height: 112px;
  margin: 0;
  
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 40px;
  line-height: 130%;
  display: flex;
  align-items: center;
  color: #0F1111 !important;
  opacity: 0.7;
}

/* Hover Effects */
.catalog-banner-link:hover .catalog-banner-title {
  color: rgba(15, 17, 17, 0.9);
}

/* Catalog Banner Arrow */
.catalog-banner-arrow {
  width: 44px;
  height: 44px;
  display: none;
}

.catalog-banner-icon {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  
  background-image: url('/assets/images/icons/arrow-right.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0) saturate(100%) invert(6%) sepia(8%) saturate(1157%) hue-rotate(169deg) brightness(95%) contrast(95%);
  opacity: 0.5;
}

/* Responsive Design for Catalog Banner */
@media (max-width: 1200px) {
  .catalog-banner-container {
    width: 100%;
    max-width: 1201px;
  }
  
  .catalog-banner-background {
    width: 100%;
  }
}

.catalog-banner-title-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.catalog-banner-title-wrapper .catalog-banner-title {
  flex: 1;
  margin: 0;
  min-width: 0;
}

.catalog-banner-title-wrapper .product-icon {
  position: static;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

@media (max-width: 768px) {
  .catalog-banner-container {
    height: 300px;
  }
  
  .catalog-banner-background {
    height: 300px;
  }
  
  .catalog-banner-border {
    left: 20px;
    width: 2px;
    height: 80px;
    top: calc(50% - 40px);
  }
  
  .catalog-banner-text {
    left: 40px;
    right: 20px;
    top: calc(50% - 40px);
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 269px;
  }
  
  .catalog-banner .catalog-banner-title {
    font-size: 24px;
    height: auto;
    line-height: 120%;
    flex: 1;
    margin: 0;
    min-width: 0;
  }
  
  .catalog-banner-text .product-icon {
    position: static;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-size: 28px 28px;
    align-self: center;
  }
}