/* Old Product Stuff  */

.outermost {
  display: flex;
  flex-wrap: nowrap;
  margin: 72px 15%;
  height: max-content;
}

.left {
  display: flex;
  flex-direction: row;
  width: 700px;
  gap: 20px;
  align-items: flex-start;
}

.prodName h2 {
  font-size: var(--fs-l);
  font-weight: bold;
  color: #fe6b16;
  padding: 20px 0 20px;
}

.prodDesc {
  padding-bottom: 20px;
}

.prodDesc p {
  padding-bottom: 8px;
  line-height: 1.5;
  font-size: var(--fs-400);
}

.inqButton {
  background-color: #fe6b16;
  padding: 2% 8%;
  text-align: center;
  font-weight: bold;
  font-size: var(--fs-400);
  color: white;
  cursor: pointer;
  border: 0;
  text-decoration: none;
}

.inqButton:hover {
  opacity: 0.8;
}

.inqButton:active {
  scale: 0.9;
}

.row {
  width: fit-content;
  padding-bottom: 4px;
  padding-right: 8px;
  position: relative;
}

.row img {
  opacity: 1;
  cursor: pointer;
  width: 100px;
  height: 100px;
  border: 1px solid #d9d9d9;
  object-fit: contain;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.row img:hover {
  opacity: 0.8;
  border-color: #fe6b16;
  box-shadow: 0 2px 8px rgba(254, 107, 22, 0.3);
}

.row img.active {
  border: 2px solid #fe6b16;
  box-shadow: 0 2px 8px rgba(254, 107, 22, 0.4);
}



.column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#expandedImg {
  height: 424px;
  width: 424px;
  object-fit: contain;
  transition: all 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.expand {
  padding-right: 20px;
  margin-right: 32px;
  border: 1px solid #d8d8d8;
  display: block;
  visibility: visible;
  background: white;
  border-radius: 8px;
  padding: 16px;
}
.box {
  margin: 72px 15%;
  padding: 2%;
  outline: 1px solid #d9d9d9;
  font-size: var(--fs-400);
}

.box a {
  color: #fe6b16;
  text-decoration: underline;
}

.list {
  padding: 1% 0 1%;
  list-style-position: inside;
}

.browse {
  margin: 0 15%;
}

.browse h3 {
  margin-bottom: 20px;
}

.browseGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.browseGrid a {
  color: black;
  font-weight: 500;
  text-decoration: underline;
}

.gridItem {
  border: 1px solid #d8d8d8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.itemPic {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  /* width: 240px;
  height: 240px; */
}

.itemPic img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.itemPic:hover img {
  transform: scale(1.05); /* Scale the image independently for emphasis */
}

.itemName {
  margin: 12px 0;
  text-align: center;
  max-width: 324px;
  padding: 0 12px;
}

.box li {
  text-decoration: none;
  font-size: var(--fs-400);
  margin: 12px;
  list-style-position: outside;
}

.box h3 {
  font-size: var(--fs-400);
  text-transform: uppercase;
  color: var(--torr-blue-color);
}

.itemName a {
  text-decoration: none;
}

.product-container {
  display: flex;
  gap: 24px;
  padding-bottom: 24px;
  padding-top: 24px;
  margin: 0px 15% 0px 15%;
}
/* product php  */
.products {
  border-bottom: 1px solid #d8d8d8;
}

.product-types {
  margin-bottom: var(--m-bottom__xl);
  padding-top: 24px;
}

.product-types h2 {
  font-weight: 600;
  font-size: var(--fs-600);
}

.product-types,
.product-title-a {
  display: flex;
}

.product-list a {
  text-decoration: none;
  color: black;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.product-details {
  padding: 12px 8px;
  text-align: center;
  margin-right: var(--m-bottom__xl);
  width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #dfdfdf;
  margin-bottom: var(--m-bottom__xl);
  border-radius: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-details:hover {
  transform: scale(1.01); /* Slightly scale up the product */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}
.product-details img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  /* border: 1px solid #dfdfdf; */

  border-radius: 4px;
  background-color: white;
  transition: transform 0.3s ease;
}
.product-details:hover img {
  transform: scale(1.1); /* Scale the image independently for emphasis */
}
.product-details p {
  margin-bottom: var(--m-bottom__l);
  margin-top: var(--m-bottom__l);
  font-size: var(--fs-200);
  font-weight: 400;
}

.btn {
  padding: 8px 16px;
  border: 0px;
  background-color: #fe6b16;
  color: white !important;
  font-weight: 400;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: var(--fs-200);
  transition: all 0.5s;
}

.btn:hover {
  font-weight: 600;
}

@media screen and (max-width: 1280px) {
  /* Product Details  */
  .left {
    flex-wrap: wrap;
    flex-direction: column-reverse;

    justify-content: center;
  }
  .column {
    display: flex;
    margin-top: 8px;
    flex-direction: row;
  }

  .outermost {
    margin: 24px 8%;
  }

  #expandedImg {
    height: 300px;
    width: 300px;
    object-fit: contain;
  }

  .expand {
    padding-right: 20px;
    margin-right: 32px;
    border: 1px solid #d8d8d8;
    display: flex;
    justify-content: center;
  }

  .box {
    margin: 42px 8%;
    padding: 2%;
    outline: 1px solid #d9d9d9;
    font-size: var(--fs-400);
  }

  .browse {
    margin: 42px 8%;
  }
  /* End of Product Details */

  .product-container {
    margin: 0px 8%;
  }

  .product-details {
    margin-right: 4px;
  }
}

@media screen and (max-width: 768px) {
  /* Product Details  */
  .outermost {
    flex-wrap: wrap;
    margin: 24px 8%;
  }

  .browseGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .left {
    width: 300px;
  }

  /* End of Product Details */
  .product-container {
    margin: 0px 4%;
    display: block;
  }
}
@media screen and (max-width: 450px) {
  /* Product Details  */
  .product-list {
    /* display: flex; */
    flex-direction: column;
    align-items: center;
  }
  .product-container {
    /* margin: 0px 4%; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #expandedImg {
    height: 240px;
    max-width: 450px;
    /* width: 100%; */
    object-fit: contain;
  }

  .browseGrid {
    display: block;
  }

  .browseGrid .gridItem {
    margin-bottom: 12px;
  }

  .column {
    display: none;
  }
  /* End of Product Details */
}

