/* Commercial Page Styles */

/* Global min-width for all sections */
.commercial-hero,
.commercial-description,
.commercial-features,
.astm-standards-section,
.catalog-banner {
  min-width: 320px;
}

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

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

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

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

.commercial-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 */
.commercial-description {
  background-color: #fafafa;
  padding: 40px 0 55px;
}

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

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

/* Commercial Features Section */
.commercial-features {
  background-color: #fafafa;
  padding: 10px 0 70px 0;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  justify-content: center;
  align-items: flex-start;
  padding: 0 40px;
}

.feature-item {
  text-align: center;
  max-width: 400px;
}

.feature-icon {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.feature-icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.feature-item:nth-child(2) .feature-icon-img {
  width: 120px;
  height: 80px;
}

.commercial-features .feature-item .feature-title {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #000000 !important;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.feature-description {
  font-family: "Inter", Helvetica;
  font-weight: 200;
  color: #0f1111;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 350px;
  margin: 0 auto;
}

/* ASTM Standards Section */
.astm-standards-section {
  padding: 0;
  background-color: #ffffff;
}

.astm-frame {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 86px 60px;
}

.astm-text-wrapper {
  font-family: "Inter", Helvetica;
  font-weight: 300;
  color: #000000;
  font-size: 32px;
  text-align: center;
  line-height: 41.6px;
  margin: 0 0 40px 0;
}

.astm-table {
  width: 100%;
  max-width: 1028px;
  margin: 0 auto;
  border: 1px solid #b9b9b980;
  border-radius: 4px;
  overflow: hidden;
}

.astm-row {
  display: flex;
}

.astm-row:not(:first-child) .astm-cell,
.astm-row:not(:first-child) .astm-content-wrapper,
.astm-row:not(:first-child) .astm-div-wrapper,
.astm-row-2 .astm-cell,
.astm-row-2 .astm-content-wrapper,
.astm-row-2 .astm-div-wrapper {
  border-top: 1px solid #b9b9b980;
}

.astm-cell:not(:first-child),
.astm-content-wrapper:not(:first-child),
.astm-div-wrapper:not(:first-child) {
  border-left: 1px solid #b9b9b980;
}

.astm-cell,
.astm-content-wrapper,
.astm-div-wrapper {
  flex: 1;
}

.astm-cell,
.astm-content-wrapper {
  background-color: #0f1111;
}

.astm-content {
  padding: 10px 12px;
}

.astm-text,
.astm-text-2 {
  font-family: "Inter", Helvetica;
  font-weight: 500;
  font-size: 16px;
  line-height: 20.8px;
  margin: 0;
}

.astm-text {
  color: #ffffff;
}

.astm-text-2 {
  color: #000000;
}

.astm-div {
  font-family: "Inter", Helvetica;
  font-weight: 300;
  color: #000000;
  font-size: 16px;
  line-height: 20.8px;
  margin: 0;
}

.astm-row-2 {
  display: flex;
  background-color: #f6f7f780;
}

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

.catalog-banner-background {
  position: absolute;
  width: 100%;
  height: 265px;
  left: 0px;
  top: 0px;
  
  background: url('/assets/images/our-products/commercial-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: 480px;
  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 .app-store-buttons {
  flex-shrink: 0;
}

.app-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.app-store-button {
  width: 140px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.app-store-button:hover {
  transform: scale(1.05);
}

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

@media (max-width: 1024px) {
  .commercial-description {
    padding: 40px 0 45px;
  }
  
  .commercial-desc-text br {
    display: none;
  }
}

@media (max-width: 768px) {
  .commercial-hero-title {
    font-size: 60px;
    letter-spacing: 3px;
  }
  
  .commercial-description {
    padding: 40px 0 35px;
  }
  
  .commercial-desc-text {
    font-size: 18px;
    line-height: 32px;
    padding: 0 20px;
  }
  
  .commercial-features {
    padding: 10px 0 40px 0;
  }
  
  .features-container {
    flex-direction: column;
    gap: 50px;
    padding: 0 20px;
    align-items: center;
  }
  
  .feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .feature-icon-img {
    width: 60px;
    height: 60px;
  }
  
  .feature-item:nth-child(2) .feature-icon-img {
    width: 90px;
    height: 60px;
  }
  
  .commercial-features .feature-item .feature-title {
    font-size: 28px;
    text-align: center;
  }
  
  .feature-description {
    font-size: 16px;
    text-align: center;
  }
  
  .astm-frame {
    padding: 30px 20px 40px;
  }
  
  .astm-text-wrapper {
    font-size: 24px;
    line-height: 32px;
    margin: 0 0 30px 0;
  }
  
  .astm-text,
  .astm-div,
  .astm-text-2 {
    font-size: 14px;
    line-height: 18px;
  }
  
  .astm-content {
    padding: 8px 10px;
  }
  
  .catalog-banner-container {
    height: 265px;
  }
  
  .catalog-banner-background {
    height: 265px;
  }
  
  .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: 310px;
  }
  
  .catalog-banner .catalog-banner-title {
    font-size: 24px;
    height: auto;
    line-height: 120%;
    flex: 1;
    margin: 0;
    min-width: 0;
  }
  
  .catalog-banner-text .app-store-buttons {
    flex-shrink: 0;
    align-self: center;
  }
  
  .app-store-button {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .commercial-hero {
    height: 300px;
  }
  
  .commercial-hero-title {
    font-size: 42px;
  }
  
  .commercial-description {
    padding: 40px 0 25px;
  }
  
  /* Features Section */
  .commercial-features {
    padding: 10px 0 30px 0;
  }
  
  .features-container {
    gap: 40px;
    padding: 0 15px;
    align-items: center;
  }
  
  .feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .feature-icon-img {
    width: 50px;
    height: 50px;
  }
  
  .feature-item:nth-child(2) .feature-icon-img {
    width: 75px;
    height: 50px;
  }
  
  .commercial-features .feature-item .feature-title {
    font-size: 24px;
    text-align: center;
  }
  
  .feature-description {
    font-size: 14px;
    text-align: center;
  }
  
  .astm-frame {
    padding: 20px 15px 30px;
  }
  
  .astm-text-wrapper {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 20px 0;
  }
  
  .astm-text,
  .astm-div,
  .astm-text-2 {
    font-size: 10px;
    line-height: 13px;
  }
  
  .astm-content {
    padding: 6px 8px;
  }
}

@media (max-width: 360px) {
  .commercial-description {
    padding: 40px 0 15px;
  }
  
  .catalog-banner .catalog-banner-title {
    font-size: 19px;
  }
  
  .catalog-banner-text {
    width: 270px;
  }
} 