
:root{
  --cor-principal:#feb43f;
  --cor-secundaria:#000000;
}

	h3{
    text-transform: uppercase;
    font-weight: bold; 
    text-align: center;
  }
  strong{
    font-size: 12px;
    color:#666;
  }

  .estrelas .fa{
    font-size: xx-large !important;
  }

  .estrelas input[type=radio]{
    opacity: 0;
  }
  .estrelas label i.fa:before{
  content: '\f005';
  color: #FC0;
  }
  .estrelas  input[type=radio]:checked  ~ label i.fa:before{
  color: #CCC;
  }

#name_cor,#namecor,#name_tam,#nametam   {
  text-transform: uppercase !important;
}
#namecor, #nametam{
  color: #000 !important;
}
input[type="radio"].radio_ops  {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

input[type="radio"].radio_ops:not(:disabled) + label.radio_ops {
  cursor: pointer;
}


label.radio_ops  {
  background: white;
  border: 2px solid var(--cor-principal);
  border-radius: 5px;
  padding: 0.3rem;
  margin: 0;
  text-align: center;
  box-shadow: 0px 3px 10px -2px hsla(150, 5%, 65%, 0.5);
  position: relative;
}
input[type="radio"]:checked + label.radio_ops  {
  background: var(--cor-principal);
  color: var(--cor-secundaria);
}

input[type="radio"]:checked + label.radio_ops::after {
  color: #333;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  border: 2px solid #ccc;
  content: "\f00c";
  font-size: 10px;
  position: absolute;
  top: -10px;
  right: -8px;
  height: 20px;
  width: 20px;
  line-height: 17px;
  text-align: center;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

 input[type="radio"]:disabled + label.radio_ops{
  border: 1px solid #eee !important;
  color: #cccccc !important;
  box-shadow: 0px 0px 0px 0px hsla(0, 0%, 0%, 0.25);
}

.unavailable{
     background: url(../images/x.png) no-repeat;
    display: block;
    height: 11px;
    position: absolute;
    right: -5px;
    text-indent: -555555px;
    top: -5px;
    width: 11px;
}

/* Pagina do produto. As cores continuam definidas pelo backend. */
.product-detail {
  margin-top: 12px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.product-gallery,
.product-summary {
  min-width: 0;
}

.mainphoto {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 10px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
}

.mainphoto img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.product-thumbnails {
  display: flex;
  gap: 7px;
  margin-top: 8px;
  padding: 2px;
  overflow-x: auto;
}

.product-thumbnails .photo_item {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  margin: 0;
  padding: 5px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 9px;
  cursor: pointer;
}

.product-thumbnails .photo_item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-summary {
  padding-left: 20px;
}

.product-summary .title-product {
  margin-bottom: 8px;
  text-align: left;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
}

.purchase-panel {
  margin-top: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.purchase-panel hr {
  margin: 9px 0;
}

.variation-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.variation-title {
  flex: 0 0 100%;
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
}

label.radio_ops {
  min-width: 44px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

label.radio_ops:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

input[type="radio"]:checked + label.radio_ops {
  color: var(--cor-secundaria);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cor-principal);
}

.product-price-block {
  margin: 12px 0;
  line-height: 1.5;
}

.product-price-block .original_price {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
}

.purchase-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 12px;
}

.quantity-control {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dcdcdc;
  border-radius: 9px;
}

.quantity-control .changeQT {
  width: 42px;
  min-height: 48px;
  padding: 0;
  background: #f1f1f1;
  border: 0;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.quantity-control .addtocart_qt {
  width: 48px;
  min-height: 48px;
  padding: 0;
  background: #fff;
  border: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

.addtocart_submit {
  flex: 1;
  min-height: 48px;
  padding: 10px 22px;
  background: var(--cor-principal);
  color: var(--cor-secundaria);
  border: 1px solid var(--cor-principal);
  border-radius: 9px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.product-description-section,
.product-reviews-section {
  margin-top: 16px;
  padding: 15px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
}

@media only screen and (max-width: 768px) {
  .product-detail {
    margin-top: 8px;
  }

  .mainphoto {
    min-height: 250px;
    padding: 6px;
  }

  .mainphoto img {
    max-height: 280px;
  }

  .product-summary {
    padding: 12px 15px 0;
  }

  .product-summary .title-product {
    margin-top: 0;
    text-align: left;
  }

  .purchase-panel {
    padding: 11px;
  }

  .purchase-actions {
    flex-direction: column;
    gap: 10px;
  }

  .quantity-control {
    align-self: flex-start;
  }

  .addtocart_submit {
    width: 100%;
    min-height: 52px;
  }

  .product-description-section,
  .product-reviews-section {
    margin-right: 0;
    margin-left: 0;
    padding: 12px;
  }
}
 
 
