/* ===========================
   Single Product (Diamond) UI
   =========================== */

/* Make all buttons same design */
.az-diamond-cta{
  margin-top:12px;
  display:grid;
  gap:10px;
}

.az-diamond-cta a,
.single-product .summary .single_add_to_cart_button{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 16px;
  border-radius:10px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  text-decoration:none !important;
  background:#111;
  border:2px solid #111;
  color:#fff;
}

.az-diamond-cta a:hover,
.single-product .summary .single_add_to_cart_button:hover{
  opacity:.9;
}

/* GIA badge */
.az-gia-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:22px;
  border-radius:4px;
  font-weight:900;
  font-size:12px;
  line-height:1;
  background:#fff;
  color:#111;
}

/* Remove quantity (+/-) */
.single-product .summary form.cart .quantity{
  display:none !important;
}
.single-product .summary form.cart{
  display:block;
}
.single-product .summary form.cart .single_add_to_cart_button{
  width:100% !important;
}

/* Accordions base */
.az-accordions{
  margin-top:18px;
  border-top:1px solid #eee;
}
.az-accordions details{
  border-bottom:1px solid #eee;
  padding:14px 0;
}
.az-accordions summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:700;
}
.az-accordions summary::-webkit-details-marker{ display:none; }

/* + / – icon */
.az-accordions summary:after{
  content:'+';
  font-size:18px;
  line-height:1;
  opacity:.8;
}
.az-accordions details[open] summary:after{ content:'–'; }

/* Smooth IN + OUT (fade + slide + slow) */
.az-accordion-content{
  padding-top:10px;
  color:#444;
  font-size:14px;
  line-height:1.6;

  overflow:hidden;
  max-height:0;
  opacity:0;
  transform: translateY(-10px);
  transition: max-height .45s ease, opacity .35s ease, transform .35s ease;
}

.az-accordions details[open] .az-accordion-content{
  max-height:2000px; /* increase if you add long text */
  opacity:1;
  transform: translateY(0);
}

.az-accordion-content ul{ margin:0; padding-left:18px; }
.az-accordion-content li{ margin:6px 0; }

/* Small link inside accordion */
.az-mini-link{
  color:#111;
  text-decoration:underline;
  font-weight:700;
}


/* ================================
   FIX: All 3 buttons same size + spacing + hover
   ================================ */

/* remove theme margins around cart area */
.single-product .summary form.cart,
.single-product .summary .cart{
  margin: 0 !important;
  padding: 0 !important;
}

/* remove extra bottom spacing under the first button */
.single-product .summary .single_add_to_cart_button{
  margin: 0 !important;
}

/* wrapper spacing */
.az-diamond-cta{
  margin-top: 12px !important;
  gap: 12px !important; /* same spacing between buttons */
}

/* FORCE all buttons to identical sizing */
.az-diamond-cta a,
.single-product .summary .single_add_to_cart_button{
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 56px !important;   /* uniform height */
  padding: 0 18px !important;    /* no vertical padding mismatch */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 12px !important;
  border: 2px solid #111 !important;

  background: #111 !important;
  color: #fff !important;

  text-transform: uppercase !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  line-height: 1 !important;

  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* keep same color even if link is visited */
.az-diamond-cta a:visited{
  color: #fff !important;
}

/* LOGICAL hover (slightly lighter, consistent) */
.az-diamond-cta a:hover,
.single-product .summary .single_add_to_cart_button:hover{
  background: #1f1f1f !important;
  border-color: #1f1f1f !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* active press */
.az-diamond-cta a:active,
.single-product .summary .single_add_to_cart_button:active{
  transform: translateY(1px);
}

/* GIA badge style inside button (clean) */
.az-gia-badge{
     width:auto !important;
     white-space: nowrap;
  background: #fff !important;
  color: #111 !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Hide availability text on single product */
.single-product .summary .stock,
.single-product .summary .stock-availability,
.single-product .summary p.stock,
.single-product .summary .availability{
  display:none !important;
}


@media (min-width: 768px) {

  /* Target only the product top two-column row */
  .single-product .pls-single-product-wrapper .single-product-content.row{
    justify-content: center !important;   /* equal space left & right */
  }

  /* Force both columns to be exactly 5/12 */
  .single-product .pls-single-product-wrapper .single-product-content.row > .col-md-5{
    flex: 0 0 41.6666667% !important;     /* 5/12 */
    max-width: 41.6666667% !important;
  }

  /* Remove the one-sided offset (otherwise left side becomes bigger) */
  .single-product .pls-single-product-wrapper .single-product-content.row > .offset-md-1{
    margin-left: 0 !important;
  }
}


