.pack-case-options {
  margin: 25px 0;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pack-case-options h4 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.2em;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.pack-quantity,
.case-quantity {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.pack-quantity label,
.case-quantity label {
  width: 200px;
  margin-right: 10px;
}

.pack-quantity input,
.case-quantity input {
  width: 80px;
  margin-right: 10px;
}

.pack-case-total {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 1.1em;
}

/* Cart page styles */
.pack-case-cart-controls {
  margin-top: 10px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 3px;
}

.pack-case-cart-controls .pack-quantity,
.pack-case-cart-controls .case-quantity {
  margin-bottom: 8px;
}

.pack-case-cart-controls label {
  display: inline-block;
  width: 60px;
}

.pack-case-cart-controls input {
  width: 60px;
}

.pack-case-cart-controls button {
  margin-top: 5px;
}

form.cart {
  display: block !important;
}

.pack-case-options label {
  font-size: 20px !important;
}

.caseANDpackWrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Modern Radio Button Styling */
.caseANDpackWrap {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 500px;
  margin: 25px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.pack-case-option {
  position: relative;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 2px solid #eaeaea;
}

.pack-case-option:hover {
  border-color: #d1d1d1;
  background-color: #f9f9f9;
}

.pack-case-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.pack-case-option label {
  display: block;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.5;
  color: #555;
}

.pack-case-option label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.pack-case-option input[type="radio"]:checked + label::before {
  border-color: #4A90E2;
  background-color: #fff;
}

.pack-case-option input[type="radio"]:checked + label::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4A90E2;
}

.pack-case-option input[type="radio"]:checked + label {
  color: #333;
  font-weight: 600;
}

.pack-case-option:has(input[type="radio"]:checked) {
  border-color: #4A90E2;
  background-color: #f5f9ff;
}

.woocommerce-Price-amount {
  font-weight: 600;
  color: #2d9d5a;
}

/* Make it responsive */
@media (max-width: 576px) {
  .caseANDpackWrap {
    padding: 15px;
  }
  
  .pack-case-option {
    padding: 12px;
  }
  
  .pack-case-option label {
    font-size: 14px;
    padding-left: 30px;
  }
  
  .pack-case-option label::before {
    width: 18px;
    height: 18px;
  }
  
  .pack-case-option input[type="radio"]:checked + label::after {
    left: 6px;
    width: 10px;
    height: 10px;
  }
}


p.price {
  display: none;
}

.pack-case-qty-wrap {
display: flex;
justify-content: space-between;
gap: 10px;
}



.packNcaseWrap {
margin: 20px 0px;
display: flex;
justify-content: space-between;
align-items: center;
}

.casepackData {
display: flex;
flex-direction: column;
width: 200px;
}

input#pack_quantity ,input#case_quantity,input.pack_quantity,input.case_quantity {
    width: 50px !important;
    height: 40px !important;
    border: 2px solid #2e5e47 !important;
    border-radius: 10px  !important;
    -webkit-border-radius: 10px  !important;
    -moz-border-radius: 10px  !important;
    -ms-border-radius: 10px  !important;
    -o-border-radius: 10px  !important;
}

span.pncwrp {
  font-size: 20px;
  font-weight: 600;
  color: #2e5e47;
}


.cNpsub span.woocommerce-Price-amount.amount {
  color: #000 !important;
  font-size: 20px;
}
