:root {
  --pu-insurance-primary: #94ca5f;
  --pu-insurance-secondary: #f3ffe8;

}


.insurance-wrapper.v2 .text-insurance-product-wrapper .text-insurance-product-price-wrapper {
  margin-left: 17px;
  margin-top: 7px;
}

.insurance-wrapper.v2 .text-insurance-product-wrapper span.insurance-sale-price>span.woocommerce-Price-amount.amount {
  color: #e8230b;
  font-size: 1.6em;
}

.text-insurance-product-wrapper {
  width: 100%;
}


.insurance-wrapper.v2 .actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 0.8rem;
}


.insurance-wrapper.v2 .wrapper-text {
  width: 100%;
  word-wrap: break-word;
  margin-right: 15px;
  word-break: break-word;
}


.insurance-wrapper.v2 .price-insurance{
  color: #e8230b;
  font-size: 1.6em;
}


.insurance-wrapper.v2 .add-button {
  min-width: 100px;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  text-align: center;
  margin-right: 17px;
  border-radius: 5px;
  cursor: pointer;
  /* background-color: #f3ca66; */
  /* background-color: #e8230b; */
  background-color: var(--pu-insurance-primary);
  color: white;

  margin-left: auto;
  font-weight: bold;
}


.text-insure-package-title {
  font-weight: bold;
  font-size: 1.2em;
}



.insurance-wrapper.v2 .wrapper-img {
  display: flex;
  flex-direction: column;
  margin-bottom: auto;
  margin-left: 17px;
  margin-right: 18px;
}


.insurance-wrapper.v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;

}

/* Hide input from view */
.insurance-wrapper.v2 input {
  margin-right: 5px;
  opacity: 0;
  position: absolute;
  top: 0;
}

.insurance-wrapper.v2 .insurance-container {
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: #fbfbfb;
  padding: 20px 0;
  box-shadow:

    1px 0 0 #c8c7c8 inset,
    -1px 0 0 #c8c7c8 inset,
    0 -1px 0 #c8c7c8 inset,
    0 1px 0 #c8c7c8 inset;
  border-radius: 8px;
}


#insurance-product:checked~.insurance-container {
  background-color: var(--pu-insurance-secondary);
  box-shadow:
    3px 0 0 var(--pu-insurance-primary) inset,
    -3px 0 0 var(--pu-insurance-primary) inset,
    0 -3px 0 var(--pu-insurance-primary) inset,
    0 3px 0 var(--pu-insurance-primary) inset;

}


#insurance-product:checked~.insurance-container #insure-img {
  display: block;
}

#insurance-product:checked~.insurance-container #insure-img-unchecked {
  display: none;
}

.insurance-container #insure-img {
  display: none;
}

.insurance-container #insure-img-unchecked {
  display: block;
}