.product-price {
  background-color: #343a40; /* dark bg */
  border-radius: 6px;
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  display: inline-block;
  color: #fff;
}

.product-price .woocommerce-Price-amount {
  font-size: 1.5rem;
  font-weight: 700;
}

.product-price del {
  color: #ccc;
  margin-right: 0.5rem;
}

.product-price ins {
  text-decoration: none;
  color: #fff;
}

.product-price .text-muted {
  font-size: 1rem;
  opacity: 0.7;
}
/* =======================================
   PRODUCT DETAIL CAROUSEL — SQUARE IMAGE ONLY
   ======================================= */

.square-carousel {
  position: relative;
  width: 100%;
  overflow: visible; /* penting: biar thumbnails tetap terlihat */
}

/* === GAMBAR dibuat benar-benar square === */
.square-carousel .carousel-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;  /* memaksa square */
  overflow: hidden;
  border-radius: 8px;
}

/* Item mengikuti tinggi square */
.square-carousel .carousel-item {
  width: 100%;
  height: 100%;
}

/* Inner box */
.square-carousel .aspect-ratio-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.square-carousel .aspect-ratio-box img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  border-radius: 8px;
}

/* ==========================================================
   FIX PANAH / CONTROL SELALU TEPAT DI TENGAH GAMBAR SAJA
   ========================================================== */
.square-carousel .carousel-control-prev,
.square-carousel .carousel-control-next {
  position: absolute;
  top: 50%;                 /* titik tengah gambar */
  transform: translateY(-50%); /* bener2 center */
  height: auto !important;  /* override bootstrap */
  width: 15%;
  z-index: 10;              /* pastikan di atas gambar */
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: auto !important;  /* cegah turun ke bawah thumbnail */
  margin: 0;
  padding: 0;
}

/* LEFT / RIGHT posisi */
.square-carousel .carousel-control-prev {
  left: 0;
}
.square-carousel .carousel-control-next {
  right: 0;
}

/* ==========================================================
   Indicators (Thumbnails)
   ========================================================== */
#productCarousel .carousel-indicators {
  position: static;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

#productCarousel .carousel-indicators [data-bs-target] {
  width: 80px;
  height: 80px;
  border: none;
  background: none;
  padding: 0;
}

#productCarousel .carousel-indicators [data-bs-target] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

#productCarousel .carousel-indicators .active {
  outline: 2px solid #b2fc4f;
  border-radius: 6px;
}

.variation-option {
    text-transform: uppercase;
}

.variations select option {
    text-transform: uppercase;
}

.attribute-radio + span {
    text-transform: uppercase;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  #productCarousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
  }
}
