/* Productdetails pages-Product-details-12 */

/* ✅ Thumbnail Images */
.thumbnail-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.thumbnail-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--border-radius);
  cursor: pointer;
  border: 1px solid rgb(207, 207, 207);
  transition: var(--transition);
  background-color: #ffffff;
}

.thumbnail-img:hover,
.thumbnail-img.active {
  border: 2px solid var(--color-pink);
  transform: scale(1.05);
}

.thumbnail-img:focus {
  outline: 2px solid var(--color-pink);
  outline-offset: 2px;
}

/* Main Container */
.container-details-12 {
  padding: 2%;
  background-color: #ffffff;
  border-radius: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
}

/* Product Layout */
.container-details-1 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.container-details-1-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
}

.container-details-1-1-1 {
  max-height: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
}

.container-details-img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: auto;
  border: 1px solid var(--color-border);
  padding: 8px;
  transition: var(--transition);
}

.container-details-img:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Product Info */
.container-details-1-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
  width: 100%;
}

.container-details-1-2 a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container-details-1-2 a:hover {
  text-decoration: none;
  color: var(--color-pink);
}

/* Product Name */
.container-details-1-2 h1 {
  font-weight: 600;
  word-break: break-word;
  color: var(--color-header);
  padding-top: 0.5rem;
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

/* Product Description */
.container-details-1-2 p {
  font-weight: 500;
  font-size: var(--font-md);
  white-space: normal;
  width: 100%;
  max-width: 100%;
  word-break: break-word;
  text-align: left;
  line-height: 1.6;
  color: var(--color-text);
  letter-spacing: 0.03rem;
  margin-bottom: 0.5rem;
}

/* Button Styles */
.container-details-1-2 button {
  padding: 14px 32px;
  background-color: var(--color-pink);
  color: white;
  border-radius: 10px;
  white-space: nowrap;
  user-select: none;
  border: none;
  cursor: pointer;
  font-size: var(--font-md);
  font-weight: 600;
  transition: var(--transition);
  margin-top: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container-details-1-2 button:hover {
  background-color: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.container-details-1-2 button:active {
  transform: translateY(0);
}


/* Print Button Specific Styles */
.print-btn {
  background-color: #6c757d !important;
  margin-left: 12px;
}

.print-btn:hover {
  background-color: #545b62 !important;
}

/* Specifications Section */
.container-details-2 {
  width: 100%;
  letter-spacing: 0.02rem;
  overflow: hidden;
  margin-top: 20px;
}

.container-details-2-1 h2 {
  color: var(-color-orange);
  font-size: 1.3rem;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--color-pink);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Enhanced Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: var(--font-sm);
  text-align: left;
  background: #ffffff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

}

/* Table Header */
thead {
  background-color: var(--color-pink);
  color: white;
}

thead th {
  padding: 16px 15px;
  font-weight: 500;
  text-align: left;
  font-size: var(--font-md);
}



/* Table Body */
tbody tr {
  transition: var(--transition);
  border-bottom: 1px solid #f0f0f0;
}

tbody tr:last-child {
  border-bottom: none;
}

/* Alternate Row Background */
tbody tr:nth-child(odd) {
  background-color: #f8fafc;
}

tbody tr:nth-child(even) {
  background-color: #ffffff;
}

/* Hover Effect */
tbody tr:hover {
  background-color: #e3f2fd;
}

/* Table Cells */
.td-1 {
  width: 30%;
  padding: 14px 15px;
  font-weight: 600;
  color: var(--color-header);
  background-color: #f8f9fa;
  border-right: 2px solid var(--color-border);
  font-size: var(--font-sm);
}

.td-2 {
  width: 70%;
  padding: 14px 15px;
  font-weight: 700;
  word-break: break-word;
  color: #5e5e5e;
  line-height: 1.5;
}

/* No Specifications Message */
.no-specs {
  text-align: center;
  color: var(--color-text-light);
  font-style: italic;
  padding: 2rem !important;
}

/* Responsive Design */
@media (min-width: 768px) {
  .container-details-1 {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
  }

  .container-details-1-1 {
    width: 30%;
    min-width: 250px;
  }

  .container-details-1-2 {
    flex: 1;
    padding: 0 8px;
  }

  .container-details-1-2 h1 {
    font-size: 1.6rem;
    padding-top: 0;
  }

  .container-details-img {
    height: 300px;
    max-width: 100%;
  }

  .thumbnail-img {
    width: 75px;
    height: 75px;
  }

  /* Button group for desktop */
  .container-details-1-2>div {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .container-details-12 {
    padding: 24px;
    gap: 24px;
  }

  .container-details-1 {
    gap: 32px;
  }

  .container-details-1-1 {
    width: 28%;
    min-width: 280px;
  }

  .container-details-1-2 {
    padding: 0 16px;
  }

  .container-details-1-2 h1 {
    font-size: 1.8rem;
  }

  .container-details-img {
    height: 350px;
  }

  .thumbnail-img {
    width: 80px;
    height: 80px;
  }

  table {
    font-size: var(--font-md);
  }

  .td-1,
  .td-2 {
    padding: 16px 20px;
  }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
  .container-details-12 {
    border: 2px solid #000;
  }

  .thumbnail-img {
    border: 2px solid #000;
  }

  .container-details-img {
    border: 2px solid #000;
  }

  table {
    border: 2px solid #000;
  }

  .td-1 {
    border-right: 2px solid #000;
    background: #333;
    color: #fff;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  .thumbnail-img,
  .container-details-img,
  .container-details-1-2 button,
  tbody tr {
    transition: none;
  }

  .thumbnail-img:hover {
    transform: none;
  }

  .container-details-1-2 button:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  body * {
    visibility: hidden;
  }

  #print-area,
  #print-area * {
    visibility: visible;
  }

  #print-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .container-details-1-2 button,
  .thumbnail-container {
    display: none;
  }

  .container-details-12 {
    box-shadow: none;
    border: 1px solid #000;
    padding: 0;
  }

  .container-details-img {
    max-height: 250px;
    border: 1px solid #000;
  }

  table {
    box-shadow: none;
    border: 1px solid #000;
  }



  a[href]:after {
    content: " (" attr(href) ")";
    font-size: var(--font-sm);
  }
}

.synonym-list {
  list-style-type: disc !important;
  /* force bullets */
  margin: 0.5em 0 0.5em 1em !important;
  /* spacing */
  padding: 0 !important;
}

.synonym-list li {
  margin-bottom: 0.25em !important;
}