.product-details {
  position: relative;
  overflow: hidden;
}

.product-details::after {
  content: "";
  display: table;
  clear: both;
}

.product-details .product-image-slider {
  width: 100%;
  max-width: 370px;
  float: left;
  margin-right: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: var(--shadow-light);
  border-radius: 3px;
  text-align: center;
  background: #fff;
}

.product-details .products-data {
  float: left;
  width: calc(100% - 390px);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.product-details .product-attributes {
  font-size: 1rem;
  font-weight: 700;
  background: #ddd;
  padding: 8px 15px;
  color: inherit;
  border-radius: 5px 5px 0 0;
  margin: 0;
  letter-spacing: 0.03125rem;
  border-bottom: 1px solid #ccc;
}

.product-specifications {
  background: #f5f5f5;
  padding: 0;
  border-radius: 0 0 5px 5px;
  border: 1px solid #ccc;
  border-top: none;
  overflow: hidden;
  font-size: 0.875rem;
}

.product-specifications table {
  width: 100%;
  border-spacing: 0;
}

.product-specifications table tr {
  border-bottom: 1px solid #ccc;
}

.product-specifications table .attribute-title {
  font-weight: 600;
  width: 35%;
  padding: 4px 12px;
  min-width: 160px;
  color: var(--text-primary);
}

.product-specifications table tr:last-child .attribute-title {
  border-bottom: none;
}

.product-category {
  width: 100%;
  float: left;
  text-align: right;
  font-size: 0.875rem;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
  color: #64748b;
}

.product-tags {
  display: inline-block;
  background-color: #e2e8f0;
  padding: 6px 12px;
  margin: 5px 8px 5px 0;
  border-radius: 16px;
  font-size: 0.8125rem;
  color: #475569;
  transition: all 0.2s ease;
}

.product-tags:hover {
  background-color: #cbd5e1;
  transform: translateY(-1px);
}

.product-specifications .attribute-addtitle {
  font-weight: 600;
  width: 35%;
  min-width: 160px;
  padding: 4px 12px;
  color: var(--text-primary);
  display: inline-block;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  vertical-align: top;
}

.product-specifications .attribute-addvalue {
  padding: 4px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid #ccc;
  background-color: #f5f5f5;
  display: inline-block;
  width: 65%;
  box-sizing: border-box;
  vertical-align: top;
  line-height: 1.5;
}

.product-specifications > div {
  display: flex;
  border-bottom: 1px solid #ccc;
}

.product-specifications > div:last-child .attribute-addtitle,
.product-specifications > div:last-child .attribute-addvalue {
  border-bottom: none;
}

.tab-wrapper {
  text-align: center;
  display: block;
  margin: 20px auto 0 auto;
  width: 100%;
  float: left;
}

.content-wrapper {
  width: 100%;
  float: left;
  margin-bottom: 30px;
}

.tabs {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.tab-link {
  margin: 0 2.5%;
  list-style: none;
  padding: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all ease 0.5s;
  border-bottom: solid 3px rgba(255,255,255,0.0);
}

.tab-link:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.tab-link.active {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeIn 0.2s ease forwards;
  width: 100%;
  float: left;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

#tab-3 ul {
  justify-content: center;
  display: flex;
}

#tab-3 .releated-release-sleeve {
  width: 20%;
  float: left;
  margin: 5% 5% 0 5%;
}

.structure-drawing-image {
  display: flex;
  flex-wrap: wrap;
  gap: 15%;
  margin-top: 40px;
  justify-content: center;
  align-items: flex-start;
}

.structure-drawing-image > div {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.structure-image{
  max-width:360px;
}

.drawing-image {
  max-width: 400px;
}

.structure-drawing-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-dimensions {
  margin: 30px 0 0 0;
  overflow-x: auto;
  position: relative;
}

.product-dimensions table {
  width: 100%;
  min-width: 800px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ccc;
  box-shadow: var(--shadow-light);
  animation: fadeInUp 0.5s ease;
}

.product-dimensions thead {
  background: #ddd;
  color: #000;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #ccc;
}

.product-dimensions thead tr {
  height: 50px;
}

.product-dimensions thead td {
  padding: 12px 10px;
  text-align: center;
  border-right: 1px solid #ccc;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

.product-dimensions thead td:first-child {
  left: 0;
  z-index: 20;
  background: #ddd;
  border-right: 1px solid #ccc;
}

.product-dimensions thead td:last-child {
  border-right: none;
}

.product-dimensions tbody {
  background-color: #ffffff;
}

.product-dimensions tbody tr {
  height: 60px;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #ccc;
}

.product-dimensions tbody tr:hover {
  background-color: #f5f5f5;
}

.product-dimensions tbody tr:last-child {
  border-bottom: none;
}

.product-dimensions tbody td {
  padding: 15px;
  text-align: center;
  font-size: 0.9375rem;
  color: #333;
  font-weight: 500;
  border-right: 1px solid #ccc;
  white-space: nowrap;
  background-color: inherit;
  transition: background-color 0.2s ease;
}

.product-dimensions tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  background-color: #f5f5f5;
  border-right: 1px solid #ccc;
  font-weight: 600;
  color: #2c3e50;
}

.product-dimensions tbody tr:nth-child(even) td:first-child {
  background-color: #f5f5f5;
}

.product-dimensions tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.product-dimensions tbody tr:nth-child(even):hover {
  background-color: #e8e8e8;
}

.product-dimensions tbody tr:nth-child(even):hover td:first-child {
  background-color: #e8e8e8;
}

.product-dimensions tbody td:last-child {
  border-right: none;
}

.product_bottom-description {
  float: left;
  width: 100%;
}

.article-ratings .rating-symbol span.rating-star {
  font-family: "Font Awesome 6 Free";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
}

.article-ratings {
  float: right;
  display: flex;
  align-items: center;
}

.rating-symbol {
  unicode-bidi: bidi-override;
  direction: rtl;
  font-size: 0.75rem;
  display: inline-block;
}

.rating-symbol span.rating-star.active::before {
  content: "\f005";
  font-weight: 900;
  color: #f6bc00;
}
.rating-symbol span.rating-star::before {
  content: "\f005";
  padding-right: 5px;
  cursor: pointer;
}

.ratings-count{font-size:0.875rem;}

@media (max-width: 768px) {
  .product-details .product-image-slider {
    width: 100%;
    max-width: 100%;
    float: none;
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .product-details .products-data {
    width: 100%;
    float: none;
  }
  
  .product-specifications {
    border-radius: 0 0 8px 8px;
  }
  
  .product-specifications table {
    display: block;
  }
  
  .product-specifications table .attribute-title {
    width: 100%;
    display: block;
    min-width: auto;
    border-bottom: none;
    border-right: none;
    padding-bottom: 8px;
    padding-left: 0;
  }
  
  .product-specifications table tr {
    display: block;
    padding: 3px 10px;
    border-bottom: 1px solid #ccc;
  }
  
  .product-specifications table tr:last-child {
    border-bottom: none;
    padding-bottom: 16px;
  }
  
  .product-category {
    text-align: left;
  }
  
  .product-specifications > div {
    display: block;
    padding: 3px 10px;
    border-bottom: 1px solid #ccc;
  }
  
  .product-specifications .attribute-addtitle {
    width: 100%;
    display: block;
    min-width: auto;
    border-bottom: none;
    border-right: none;
    padding: 0 0 8px 0;
    font-size: 0.875rem;
  }
  
  .product-specifications .attribute-addvalue {
    width: 100%;
    display: block;
    padding: 0;
    border-bottom: none;
    font-size: 0.875rem;
    background-color: #f5f5f5;
  }
  
  .product-dimensions table {
    min-width: 1200px;
  }
  
  .product-dimensions {
    margin: 20px -10px;
    box-shadow: none;
    border-left: none;
    border-right: none;
  }
  
  .product-dimensions thead {
    font-size: 0.8125rem;
  }
  
  .product-dimensions tbody td {
    font-size: 0.875rem;
  }

  .structure-drawing-image {
    gap: 15px;
  }
  
  .structure-drawing-image > div {
    flex: 1 1 100%;
  }
}

@media (max-width: 992px) {
  .product-dimensions {
    margin: 20px -15px;
    border-radius: 0;
  }
  
  .product-dimensions table {
    min-width: 1000px;
    font-size: 0.875rem;
  }
  
  .product-dimensions thead td,
  .product-dimensions tbody td {
    padding: 10px 12px;
  }
  
  .structure-drawing-image > div {
    flex: 1 1 350px;
  }
}

@media print {
  .product-dimensions {
    break-inside: avoid;
    margin: 20px 0;
  }
  
  .product-dimensions table {
    border: 1px solid #000;
    box-shadow: none;
  }
  
  .product-dimensions thead {
    background: #ddd !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  .product-dimensions tbody tr {
    background: #fff !important;
  }
  
  .product-dimensions tbody td:first-child {
    position: static;
    background: #f5f5f5 !important;
  }
}

@keyframes fadeIn {
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}