/* Automotive Page Styles */

/* Global min-width for all sections */
.automotive-hero,
.automotive-description,
.automotive-tabs,
.catalog-banner {
  min-width: 320px;
}

/* Hero Section */
.automotive-hero {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  padding: 0;
}

.automotive-hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.automotive-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.automotive-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.automotive-hero-title {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 100px;
  letter-spacing: 5px;
  line-height: 1.4;
  margin: 0;
}

/* Description Section */
.automotive-description {
  background-color: #fafafa;
  padding: 40px 0 46px;
}

.automotive-desc-content {
  text-align: center;
}

.automotive-desc-text {
  font-family: "Inter", Helvetica;
  font-weight: 200;
  color: #0f1111;
  font-size: 24px;
  line-height: 44px;
  margin: 0;
  max-width: 962px;
  margin: 0 auto;
}

/* Product Tabs */
.automotive-tabs {
  padding: 40px 0 55px;
  background-color: #ffffff;
}

.automotive-products-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  max-width: 1100px;
  min-width: 320px;
  margin: 0 auto;
}

.automotive-tabs-arrow {
  width: 50px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  user-select: none;
}

.automotive-tabs-arrow .arrow-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease;
}

.automotive-tabs-arrow .arrow-left {
  transform: rotate(180deg);
}

.automotive-tabs-arrow:hover .arrow-icon {
  transform: scale(1.1);
}

.automotive-tabs-arrow:hover .arrow-left {
  transform: rotate(180deg) scale(1.1);
}

.automotive-tabs-navigation {
  display: flex;
  gap: 18px;
  margin-bottom: 0;
}

.automotive-tab-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc((100vw - 280px) / 3);
  max-width: 316px;
  min-width: 200px;
  height: 96px;
  background-color: #f6f7f7;
  border-radius: 0 36px 0 0;
  border-bottom: 3px solid #757575cc;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.automotive-tab-nav:hover {
  box-shadow: 0px 0px 10px 0px rgba(40, 40, 40, 0.1);
  z-index: 5;
  position: relative;
}

.automotive-tab-nav.active {
  background-color: #f6f7f7;
  border-bottom-color: #e7252b;
  box-shadow: 0px 0px 10px 0px rgba(40, 40, 40, 0.1);
  z-index: 10;
  position: relative;
}

.automotive-tab-nav .tab-label {
  font-family: "Inter", Helvetica;
  font-weight: 300;
  color: #000000;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 120%;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  margin-right: 10px;
  margin-left: clamp(15px, 1.8vw, 21px);
}

.automotive-tab-nav .tab-icon-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-shrink: 0;
  align-self: flex-end;
  height: 100%;
}

.automotive-tab-nav .tab-icon {
  width: auto;
  height: 77px;
  display: block;
}

/* Product Details */
.automotive-product-content {
  display: none;
  max-width: 1100px;
  min-width: 290px;
  margin: 36px auto 0;
  background-color: #f6f7f7;
  padding: 60px 40px;
}

.automotive-product-content.active {
  display: block;
}

.product-details-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #75757533;
}

.automotive-product-content .product-title {
  font-family: "Inter", Helvetica;
  font-weight: 300;
  color: #282828 !important;
  font-size: 40px;
  line-height: 52px;
  margin: 0;
}

.automotive-product-content .feature-title {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #0f1111 !important;
  font-size: 20px;
  line-height: 30px;
  margin: 0 0 10px 0;
}

.product-details-body {
  display: flex;
  align-items: flex-start;
  gap: 70px;
  padding-top: 20px;
}

.product-image-section {
  flex: 0 0 35%;
  text-align: center;
}

.product-main-image {
  max-width: 100%;
  height: auto;
}

.product-info-section {
  flex: 1;
}

.product-feature {
  margin-bottom: 30px;
}

.product-feature:last-child {
  margin-bottom: 0;
}

.feature-title {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #0f1111;
  font-size: 20px;
  line-height: 30px;
  margin: 0 0 10px 0;
}

.feature-description {
  font-family: "Inter", Helvetica;
  font-weight: 200;
  color: #0f1111;
  font-size: 18px;
  line-height: 30px;
  margin: 0;
}

/* 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;
}

/* 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: 300px;
  background: #FFFFFF;
}

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

.catalog-banner-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(245, 245, 245, 0.6);
  pointer-events: none;
}

.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;
}

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

.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;
}

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

  .automotive-product-content {
    padding: 55px 30px;
  }
  
  .product-details-body {
    gap: 60px;
  }
  
  .automotive-product-content .product-title {
    font-size: 38px;
  }
  
  .automotive-products-wrapper {
    padding: 0 30px;
  }
  
  .automotive-tab-nav {
    width: calc((100vw - 220px) / 3);
    max-width: 300px;
    min-width: 200px;
  }
  
  .automotive-tab-nav .tab-label {
    font-size: clamp(18px, 2.2vw, 26px);
    margin-left: clamp(13px, 1.6vw, 19px);
  }
}

@media (max-width: 1024px) {
  .automotive-product-content {
    padding: 50px 30px;
  }
  
  .product-details-body {
    gap: 55px;
  }
  
  .automotive-product-content .product-title {
    font-size: 36px;
  }

  .automotive-desc-text br {
    display: none;
  }
} 

@media (max-width: 900px) {
  .automotive-product-content {
    padding: 45px 30px;
  }
  
  .product-details-body {
    gap: 45px;
  }
  
  .automotive-product-content .product-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .automotive-products-wrapper {
    padding: 0 20px;
  }
  
  .automotive-product-content {
    padding: 40px 20px;
  }
  
  .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;
  }

  .automotive-products-wrapper {
    gap: 0;
    padding: 0 20px;
    justify-content: center;
  }
  
  .automotive-tab-nav {
    width: 100%;
    max-width: none;
    min-width: auto;
    display: flex;
  }
  
  .automotive-tab-nav .tab-label {
    font-size: clamp(16px, 3vw, 24px);
    line-height: 120%;
    margin-left: clamp(11px, 1.4vw, 17px);
  }
  
  .automotive-tab-nav .tab-icon {
    height: 60px;
    max-width: 80px;
  }

  .automotive-hero-title {
    font-size: 60px;
    letter-spacing: 3px;
  }
  
  .automotive-desc-text {
    font-size: 18px;
    line-height: 32px;
    padding: 0 20px;
  }
  
  .automotive-tabs-arrow {
    display: none;
  }
  
  .automotive-tabs-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 768px;
  }
  
  .product-details-body {
    flex-direction: column;
    gap: 35px;
  }
  
  .automotive-product-content .product-title {
    font-size: 28px;
  }
  
  .product-image-section {
    flex: none;
  }

  .product-main-image {
    max-width: 70%;
  }
}

@media (max-width: 480px) {
  .automotive-product-content {
    padding: 35px 15px;
  }
  
  .product-details-body {
    gap: 30px;
  }
  
  .automotive-hero {
    height: 300px;
  }
  
  .automotive-hero-title {
    font-size: 48px;
  }
  
  .automotive-products-wrapper {
    gap: 0;
    padding: 0 15px;
  }
  
  .automotive-tabs-arrow {
    display: none;
  }
  
  .automotive-tabs-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 500px;
  }
  
  .automotive-tab-nav {
    width: 100%;
    max-width: none;
    min-width: auto;
    height: 80px;
  }
  
  .automotive-tab-nav .tab-label {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 120%;
    margin-left: clamp(9px, 1.2vw, 15px);
  }
  
  .automotive-tab-nav .tab-icon {
    height: 50px;
    max-width: 65px;
  }
  
  .automotive-product-content .product-title {
    font-size: 32px;
  }

  .product-main-image {
    max-width: 90%;
  }
}