/* ===== GunPlace PDP – Cost per round below price, cleaner look ===== */

/* Price row: price and sale on one line; no inline CPR */
.single-product .summary .price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 0.35rem 0.6rem !important;
  margin-bottom: 0.15rem !important;
}
.single-product .summary .price del {
  font-size: 1.12em !important;
  color: #111 !important;
  font-weight: 700 !important;
  text-decoration-thickness: 2px !important;
}
.single-product .summary .price ins {
  font-size: 1.26em !important;
  color: #c62828 !important;
  font-weight: 800 !important;
}

/* CPR on its own line below the price – both output types */
.single-product .summary .calculated-cost-per-round,
.single-product .summary .gp-cpr {
  display: block !important;
  width: 100% !important;
  flex-basis: 100% !important; /* force onto next line when inside .price flex */
  margin: 0.4rem 0 0.5rem 0 !important;
  margin-left: 0 !important;
  padding: 0.4rem 0.5rem !important;
  font-size: 0.82em !important;
  line-height: 1.35 !important;
  color: var(--gp-text-secondary, #4a4a4a) !important;
  background: var(--gp-bg-light, #f8f9fa) !important;
  border-radius: 6px !important;
  border-left: 3px solid var(--gp-accent, #b30000) !important;
}
.single-product .summary .calculated-cost-per-round::before {
  content: none !important;
}

/* CPR label: subtle */
.single-product .summary .calculated-cost-per-round .cpr-label,
.single-product .summary .gp-cpr .gp-cpr-label {
  color: var(--gp-text-secondary, #5a5a5a) !important;
  font-weight: 600 !important;
  margin-right: 0.35rem !important;
}
/* CPR value: accent color, slightly bolder */
.single-product .summary .calculated-cost-per-round .cpr-value,
.single-product .summary .gp-cpr .gp-cpr-value {
  color: var(--gp-accent, #b30000) !important;
  font-weight: 700 !important;
}

/* Single icon only, subtle pulse */
.single-product .summary .calculated-cost-per-round > :is(i, svg, .icon, .et-icon),
.single-product .summary .gp-cpr > .gp-cpr-icon,
.single-product .summary .gp-cpr > svg {
  color: var(--gp-accent, #b30000) !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin-right: 0.3rem !important;
  animation: gpCprPulse 2s ease-in-out infinite !important;
}
.single-product .summary .calculated-cost-per-round > :is(i, svg, .icon, .et-icon):not(:first-of-type),
.single-product .summary .calculated-cost-per-round svg + svg {
  display: none !important;
}
@keyframes gpCprPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

/* UPC line under CPR */
.single-product .summary .gp-upc-line {
  margin: 0.35rem 0 0.65rem !important;
  font-size: 0.98em !important;
  color: #222 !important;
}
.single-product .summary .gp-upc-line strong {
  font-weight: 800 !important;
}

/* Stock row */
.single-product .summary .stock,
.single-product .summary [class*="stock"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  font-weight: 500 !important;
  margin: 0.1rem 0 0.6rem !important;
}

/* Quantity + button */
.single-product .summary .quantity {
  margin-right: 0.45rem !important;
}
.single-product .summary .single_add_to_cart_button {
  padding: 0.72rem 1.12rem !important;
  border-radius: 10px !important;
}

/* Mobile: same layout, slightly tighter */
@media (max-width: 600px) {
  .single-product .summary .calculated-cost-per-round,
  .single-product .summary .gp-cpr {
    margin: 0.35rem 0 0.4rem 0 !important;
    padding: 0.35rem 0.45rem !important;
    font-size: 0.8em !important;
  }
}
