html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #f2f1ed;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* background-image: url("/images/bg.jpg");  */
  background-position: center;
  background-blend-mode: screen;
  /* background-color: rgba(242,
    241,
    237, 0.999); */
  /* background-color: #FBF9F5; */
  /* background-color: #F4F3EF; */
  background-color:#EDEDED;
  color: #332f2b;
}

#app {
  padding-top: 64px;
  position: relative;
}

header {
  height: 64px;
  box-shadow: 0 2px 4px #0000001a;
  display: flex;
  position: fixed;
  width: 100%;
  background-color: white;
  top: 0;
  z-index: 9;
}

header .header-content {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

header .logo {
  /* width: 30px; */
  width: 60px;
  /* height: 30px; */
  border-radius: 50%;
  /* background-color: #252525; */
  display: flex;
  align-items: center;
  column-gap: 20px;
}

header .logo img{
  width: 60px;
}

header .logo .site-name {
  color: #332f2b;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
}

header .actions {
  display: flex;
  column-gap: 20px;
  align-items: center;
}

header .links {
  display: flex;
  column-gap: 20px;
}

header .links .link {
  
}

header .actions .lang-switch {
  padding: 0 4px;
    border-radius: 4px;
}

.title {
  text-align: center;
  padding: 60px 0 30px 0;
  /* background-color: #0a0a0a; */
  /* background-image: linear-gradient(to bottom, #0a0a0a, #121212); */
  max-width: 1200px;
  margin: 0 auto;
}

.title h1:nth-child(1) {
  margin: 0;
  font-size: 42px;
  color: #332f2b;
  font-family: "Orbitron", sans-serif;
  text-align: left;
  text-shadow: #d8c8ae 3px 2px;
}

.title h1:nth-child(2) {
  color: #332f2b;
  margin: 10px 0;
  font-size: 22px;
  font-weight: 400;
  text-align: left;
}

.title h2 {
  font-size: 16px;
  /* font-weight: 300; */
  color: #c67137;
  margin-top: 16px;
  text-align: left;
  /* text-shadow: #d8c8ae 3px 2px; */
}

.title .website-link {
  color: #ff7e29;
  text-decoration: none;
  font-size: 16px;
}

.title {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.title .title-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: #252525;
  position: absolute;
  bottom: -30px;
  right: 30px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-text {
  font-size: 1rem;
  color: #332f2b;
  max-width: 1200px;
  margin: 40px auto;
  line-height: 20px;
}

/* Product Cards Section */
.product-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  /* background-color: #121212; */
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  /* background-color: #807A56; */
  /* background-color: #332F2B; */
  background-color: white;
  width: calc((100% - 80px) / 5);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  border-radius: 4px;
  display: block;
  color: #333333;
}

.product-card:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 8px 20px rgba(255, 126, 41, 0.3); */
  background-color: #D96043;
  color: white;
}

.product-card .product-image {
  background-color: white;
  width: 100%;
  height: 395px;
  background-size: auto 110%;
  background-position: right 30% center;
}

.product-card .product-image img{
  width: 100%;
}


.product-card .product-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 160px;
}

.product-card .product-name {
  font-size: 20px;
  padding: 20px 20px 0 20px;
  line-height: 22px;
  display: flex;
  flex-wrap: wrap;
  /* column-gap: 6px; */
}

.product-card .product-name .name {
  flex: 1;
}

.product-card .product-name .icon {
  width: 20px;
  height: 20px;
  background-image: url(/images/icon_more_orange.png);
}

.product-card .product-subname {
  font-weight: 500;
  font-size: 13px;
  margin-top: 10px;
  line-height: 14px;
  width: 100%;
  padding: 0 16px;
}

.product-card .product-description {
  /* color: #332f2b;
  color: #ff7e29;
  color: white; */
  font-weight: 500;
  text-align: center;
  width: 100%;
  height: 50px;
  font-family: "Orbitron", sans-serif;
  padding: 0 20px;
  height: 50px;
}

.product-card .product-description .read-more {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border-top: 1px solid white;
   */
  border-top: 1px solid #333333;;
  padding: 20px;
}

.product-card:hover  .product-description .read-more{
  border-top: 1px solid white;
}

.product-card:hover .product-name .icon {
  width: 20px;
  height: 20px;
  background-image: url(/images/icon_more.png);
}

.divider-block {
  max-width: 1200px;
  margin: 100px auto;
}

/* Product Details Section */
.product-details {
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  align-items: center;
}

.product-details .section-title {
  font-size: 30px;
  font-weight: 700;
  color: #ff7e29;
  color: #332F2B;
  text-align: center;
  margin-bottom: 50px;
}

.product-detail {
  max-width: 1200px;
  width: 100%;
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6); */
  box-shadow: 0 2px 4px #0000001A;
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
}

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

.product-detail .product-image-wrapper {
  width: calc((100% - 40px) / 5 * 2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 5px;
  min-height: 500px;
}

/* Image placeholder */
.product-detail .product-image {
  width: 100%;
  padding-top: 80%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  background-image: url("/images/product-1.jpg");
  background-size: cover;
  background-position: center;
}

.product-detail .product-image.onlyOne {
  flex: 1;
}

.product-detail .product-image-wrapper .other-images{
 display: flex;
 justify-content: space-between;
 flex: 1;
 column-gap: 5px;
}

.product-detail .product-image-wrapper .other-images .image{
  border-radius: 8px;
  width: calc((100% - 10px) / 3);
  cursor: pointer;
  background-size: cover;
  background-position: center;
  max-width: calc((100% - 10px) / 3);
}

/* .product-detail .product-image-wrapper .other-images .image-1 {
  background-image: url("/images/product-2.jpg");
  background-size: cover;
  background-position: center;
}

.product-detail .product-image-wrapper .other-images .image-2 {
  background-image: url("/images/product-3.jpg");
  background-size: cover;
  background-position: center;
}

.product-detail .product-image-wrapper .other-images .image-3 {
  background-image: url("/images/product-4.png");
  background-size: cover;
  background-position: center;
}*/

.product-detail .product-info-wrapper {
  width: calc((100% - 40px) / 5 * 3);
}

.product-detail .product-info-wrapper.noImages {
  width: 100%;
}

.product-detail .product-info-wrapper .product-header {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  /* color: white; */
  color: #000000;
  height: 50px;
  position: relative;

}

/* .product-detail .product-info-wrapper .product-header .product-avatar{
  background-color: #332f2b;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  padding: 5px;
}

.product-detail .product-info-wrapper .product-header .product-avatar img{
  border-radius: 50%;
  width: 70px;
  height: 70px;
} */

.product-detail .product-info-wrapper .product-header .product-name {
  /* background-color: #332f2b; */
  /* height: 50px; */
  /* transform: translateX(-40px); */
  width: 100%;
  /* margin-left: 40px; */
  /* padding-left: 60px; */
  /* margin-right: 20px; */
  line-height: 50px;
  font-weight: 800;
  font-size: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-detail .product-info-wrapper .product-header .product-name .name{
 max-width: 90%;
  /* word-break: ; */
}

.product-detail .product-info-wrapper .product-header .product-name .share-btn {
  /* background-color: #332f2b; */
  background-image: url('/images/share.svg');
  background-repeat: no-repeat;
  background-position: center;
  /* background-size: 50%; */
  /* border-radius: 50%; */
  width: 20px;
  height: 20px;
  /* position: absolute; */
  /* right: 0px; */
  /* top: 0; */
  cursor: pointer;
  /* transform: translateX(25px); */
}

.product-detail .product-info-wrapper .product-short-content {
  margin-top: 22px;
  font-size: 16px;
  line-height: 20px;
  /* border-left: 3px solid #ff7e29; */
  /* padding-left: 16px; */
  /* background-color: #DECCAD; */
  color: #332f2b;
  position: relative;
  /* padding: 20px; */
  font-weight: 500;
}

/* .product-detail .product-info-wrapper .product-short-content::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid gray;
  left: 5px;
  top: -9px;
  /* z-index: -1;
}*/

.product-detail .product-info-wrapper .product-long-content {
  margin-top: 22px;
  font-size: 12px;
  line-height: 18px;
  /* color: #332f2b; */
  color: #666666;
}


/* Tech specs */
.product-detail .tech-specs {
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 30px;
  text-align: center;
}

.product-detail .tech-specs .spec-item {
  margin: 10px;
  min-width: 200px;
}

.product-detail .tech-specs .spec-title {
  font-size: 14px;
  color: #c67137;
  color: #332F2B;
  font-weight: 600;
  margin-bottom: 5px;
}

.product-detail .tech-specs .spec-value {
  font-size: 30px;
  /* color: #ff7e29; */
  color: #D96043;
  color: #E6B12F;
  font-weight: 700;
  margin-right: 8px;
}

.product-detail .tech-specs .spec-unit {
  font-size: 20px;
  color: #999999;
}

.product-detail .spec-table {
  margin-top: 20px;
  width: 100%;
  border: 1px solid #332f2b;
  border-radius: 8px;
}

.product-detail .spec-table .table-title{
  background-color: #332f2b;
  color: white;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 15px;
}

.product-detail .spec-table .table-content{
  display: flex;
  flex-wrap: wrap;
}

.product-detail .spec-table .table-content .spec-item{
  display: flex;
  flex-direction: row;
  width: 50%;
  border-top: 1px solid #332f2b;
}

.product-detail .spec-table .table-content .spec-item .spec-title{
  width: 30%;
  padding: 8px 8px;
  display: flex;
  align-items: center;
  background-color: #EDEDED;
}

.product-detail .spec-table .table-content .spec-item .spec-content {
  flex: 1;
  padding: 8px 8px;
  display: flex;
  align-items: center;
}


.product-detail .actions {
  width: 100%;
  display: flex;
  margin-top: 10px;
  width: 100%;
  display: flex;
  margin: 40px 0;
}

.product-detail .actions .action {
  /* width: 100px;
  height: 30px; */
  padding: 10px 20px;
  background-color: #332f2b;
  color: white;
  margin-left: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  border-radius: 16px;
}


/* .actions .action {
  padding: 10px 20px;
  background-color: #332f2b;
  color: white;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  border-radius: 24px;
} */

.form-content {
font-family: "Orbitron", sans-serif;
}

.contact-block .section-title {
  font-size: 30px;
  font-weight: 700;
  color: #ff7e29;
  color: #332F2B;
  text-align: center;
  margin: 50px 0;
}

.contact-block .form-block {
  max-width: 600px;
  width: 100%;
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 4px #0000001A;
  display: flex;
  flex-wrap: wrap;
  row-gap: 40px;
  margin: 0 auto;
  flex-direction: column;
}

.contact-block .form-block .form-item.required .item-title::after {
  content: " *";
  color: red;
  margin-right: 4px;
}

.contact-block .form-block .form-item.required .item-title {
  /* margin-bottom: 12px; */
}

.contact-block .form-block .form-item .item-title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.contact-block .form-block .form-item .item-input input {
  font-size: 14px;
  border: 0;
  background-color: #f8f8f8;
  width: 100%;
  height: 50px;
  border-radius: 8px;
  padding-left: 10px;
}

.contact-block .form-block .form-item .item-input textarea {
  font-size: 14px;
  border: 0;
  background-color: #f8f8f8;
  width: 100%;
  min-height: 50px;
  border-radius: 8px;
  padding-left: 10px;
  resize: vertical;
  padding-top: 10px;
}

.contact-block .form-block .submit-button{
  /* margin-bottom: 12px; */
  font-size: 18px;
  font-weight: 600;
  border: 0;
  background-color: #f8f8f8;
  width: 100%;
  height: 50px;
  border-radius: 8px;
  padding-left: 10px;
  background-color: #332f2b;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.contact-block .form-block .submit-button.disable {
  cursor: not-allowed;
  /* pointer-events: none; */
}

footer {
  background-color: white;;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-weight: 500;
  font-size: 14px;
}

.scroll-to-top {
  position: fixed;
  bottom: 50px;
  right: 50px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  background-color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;  
}

.scroll-to-top img{
  width: 30px;
  height: 30px;
}

@media (max-width: 1200px) {

  .header-content {
    padding: 0 20px;
  }

  .header-content .logo .site-name {
    display: none;
  }

  .product-cards {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
  }

  .product-card {
    width: 100%;
    max-width: 400px;
  }

  .product-card .product-image {
    height: 300px;
    background-size: cover;
  }

  .product-details {
    padding: 10px 10px;
  }

  .product-detail .product-image-wrapper {
    width: 100%;
    min-height: auto;
  }

  .product-detail .product-info-wrapper {
    width: 100%;
    margin-top: 20px;
  }

  .product-detail .product-image {
    padding-top: 60%;
  }


  .product-detail .product-image-wrapper .other-images {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .product-detail .product-image-wrapper .other-images .image {
    flex: 0 0 100px;
    height: 100px;
    scroll-snap-align: start;
    flex: 1;
  }

  .product-detail .product-image-wrapper .other-images::-webkit-scrollbar {
    display: none;
  }

  .product-detail .product-image-wrapper .other-images {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .title h1:nth-child(1) {
    font-size: 32px;
    padding: 0 10px;
  }

  .title h1:nth-child(2) {
    font-size: 18px;
    padding: 0 10px;
  }

  .main-text {
    font-size: 14px;
    line-height: 18px;
    margin: 40px auto;
    padding: 0 10px;
  }

  .product-details .section-title {
    font-size: 24px;
  }

  .product-detail {
    padding: 20px;
  }

  .product-detail .product-info-wrapper .product-header .product-name {
    /* font-size: 20px; */
    /* padding-left: 30px; */
    /* padding-right: 25px; */
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
    line-height: 40px;
  }

  .product-detail .product-info-wrapper .product-header .product-avatar {
    width: 60px;
    height: 60px;
  }

  .product-detail .product-info-wrapper .product-header .product-avatar img {
    width: 50px;
    height: 50px;
  }

  .product-detail .product-info-wrapper .product-header .product-name .share-btn {

   
  }

  .product-detail .spec-table .table-content .spec-item {

    width: 100%;
    
  }

  .scroll-to-top {
    bottom: 30px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .scroll-to-top img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 600px) {
  .contact-block {
    padding: 0 10px;
  }
  .contact-block .form-block{
    padding: 40px 20px;
  }
}

@media (max-width: 500px) {
  .product-detail .product-info-wrapper .product-header .product-name {
    font-size: 20px;
  }
}
