/* WIRES order UI - similar to CORO */

.wiresWrap{
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 8px 30px;
}

.wiresCard {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
  font-size:15px;
  width: 100%;
  max-width: 1400px;
}

.wiresHeader{
  padding: 10px 10px 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.wiresTitle{
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 2px;
}

.wiresSub{
  opacity: .75;
  font-size: 15px;
}

.wiresGrid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  padding: 18px;
}

@media (max-width: 920px){
  .wiresGrid{ grid-template-columns: 1fr; }
}

.wiresPreview{
  min-width: 0;
}

.wiresImgFrame{
  background: rgba(0,0,0,.03);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wiresProdImg{
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.wiresDesc{
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.5;
}

.wiresMeta{
  margin-top: 12px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

.wiresMetaLbl{
  font-weight: 600;
  margin-right: 6px;
  font-size:17px;
}

#wiresSku{
  font-size:15px;
}

.wiresPlaceholder{
  opacity: .7;
  padding: 12px 0;
}

.wiresForm{
  padding: 10px 12px;
  border-left: 1px solid rgba(0,0,0,.06);
}

@media (max-width: 920px){
  .wiresForm{ border-left: none; padding: 0; }
}

.wiresField{
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  column-gap: 12px;
  margin-bottom: 14px;
}

.wiresLbl{
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .6px;
  opacity: .75;
}

.wiresInput,
.wiresSelect{
  width: 250px;
  max-width: 250px;
  box-sizing: border-box;
  padding: 12px 12px;
  border-radius: 12px;
  font-size:17px;
}

@media (max-width: 520px){
  .wiresField{
    grid-template-columns: 1fr;
  }
  .wiresInput,
  .wiresSelect{
    width: 100%;
    max-width: 100%;
  }
  .wiresPriceBlock{
    width: 100%;
    max-width: 100%;
  }
}

.wiresActions{
  margin-top: 18px;
}

.wiresBtnDisabled{
  opacity: .5;
  cursor: not-allowed;
}

/* Price highlight block */
.wiresPriceBlock {
  background: linear-gradient(180deg, #fafafa, #f3f3f3);
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  width: 250px;
  max-width: 250px;
  box-sizing: border-box;
}

#wiresTotalPrice {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #111;
}

.wiresPriceMeta {
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

#wiresUnitPrice {
  font-weight: 600;
  color: #333;
}

/* Add to cart button */
#wiresAddBtn.wiresAddBtn{
  background: #c81e1e;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 12px;
  font-size: 15px;
}

#wiresAddBtn.wiresAddBtn.wiresBtnDisabled,
#wiresAddBtn.wiresAddBtn:disabled{
  background: #d7d7d7;
  color: #777;
  opacity: 1;
  cursor: not-allowed;
}

#wiresAddBtn.wiresAddBtn:not(:disabled):hover{
  filter: brightness(.95);
}

#wiresQtyHelp{
  grid-template-columns: 120px 220px;
  column-gap: 12px;  
  font-size: 12px;
  color: #666;
  margin-top: -14px;
  padding: 6px;
  opacity: 0.85;
  display:grid;
}

#wiresQtyHelp::before{
  content: "";
}

#wiresQtyHelp > span{
  grid-column: 2 / 3;
}

.wiresMsg{
  padding: 20px;
  text-align: center;
  opacity: .7;
}