div#popup_list_gift_cards {
  display: grid;

  grid-template-columns: 1fr;

  grid-row-gap: 13px;

  padding-top: 25px;

  position: relative;

  width: 465px;
}

/* Next & previous buttons */

.prev,
.next {
  cursor: pointer;

  position: absolute;

  top: 50%;

  width: auto;

  padding: 16px;

  margin-top: -22px;

  color: white;

  font-weight: bold;

  font-size: 18px;

  transition: 0.6s ease;

  border-radius: 0 3px 3px 0;

  user-select: none;
}

/* Position the "next button" to the right */

.next {
  right: 0;

  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.card_desc {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  padding: 10px 0px;
}

.card_desc .wrcc_extra_code {
  border: 1px solid;

  padding: 5px 10px;

  background-color: black;

  color: #fff;
}

.Wrcc_extra_giftcard {
  width: 350px;

  height: 200px;

  border-radius: 3.3333% / 5.298%;

  cursor: pointer;

  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); */

  box-shadow: 0 4px 1px #0000001c, 0 0 2px #0000003d;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 10px;

  background-color: #252e46;
}

.Wrcc_extra_giftcard {
  color: #fff;
}

.Wrcc_extra_giftcard {
  cursor: pointer;

  background-size: cover !important;
}

/* .Wrcc_giftcard_wrapper {display: none} */

.Wrcc_giftcard_wrapper img {
  vertical-align: middle;
}

.apply_giftcard_overlay {
  position: absolute;

  bottom: 0;

  background: rgb(0, 0, 0);

  background: rgba(0, 0, 0, 0.5); /* Black see-through */

  color: #f1f1f1;

  width: 100%;

  transition: 0.5s ease;

  opacity: 0;

  color: white;

  font-size: 20px;

  padding: 20px;

  text-align: center;
}

.Wrcc_giftcard_wrapper:hover .apply_giftcard_overlay {
  opacity: 1;
}

/* div#popup_list_gift_cards {

max-width: 1000px;

position: relative;

margin: auto;										

} */

/* Next & previous buttons */

.prev,
.next {
  cursor: pointer;

  position: absolute;

  top: 50%;

  width: auto;

  padding: 16px;

  margin-top: -22px;

  color: white;

  font-weight: bold;

  font-size: 18px;

  transition: 0.6s ease;

  border-radius: 0 3px 3px 0;

  user-select: none;
}

/* Position the "next button" to the right */

.next {
  right: 0;

  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.card_desc {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  padding: 10px 0px;
  position: absolute;
}

.card_desc .wrcc_extra_code {
  border: 1px solid;

  padding: 5px 10px;

  background-color: black;

  color: #fff;
}

/* .Wrcc_extra_giftcard{

width: 465px;

height: 300px;

border-radius: 20px;

box-shadow: 0px 0px 5.986px 0px rgb(144 157 162 / 28%);

display: flex;

flex-direction: column;

align-items: center;

justify-content: center;

gap: 10px;

background-color: #252E46;



} */

.Wrcc_extra_giftcard {
  color: #fff;
}

.Wrcc_extra_giftcard {
  cursor: pointer;

  background-size: cover !important;
}

/* .Wrcc_giftcard_wrapper {display: none} */

.Wrcc_giftcard_wrapper img {
  vertical-align: middle;
}

.apply_giftcard_overlay {
  position: absolute;

  bottom: 0;

  background: rgb(0, 0, 0);

  background: rgba(0, 0, 0, 0.5); /* Black see-through */

  color: #f1f1f1;

  width: 100%;

  transition: 0.5s ease;

  opacity: 0;

  color: white;

  font-size: 20px;

  padding: 20px;

  text-align: center;
}

.Wrcc_giftcard_wrapper:hover .apply_giftcard_overlay {
  opacity: 1;
}

/* Giftcard Redesign 03-06-2025 */

.wrcc_card_value .wrcc_box_design {
  margin-left: 18px;
  padding: 25px;
}
.wrcc_card_value .wrcc_box_design input {
  margin-top: 0px !important;
}
.wrcc_card_value .wrcc_box_design a {
  width: 100%;
}

.wrcc_box_design {
  width: 100%;
  height: 150px;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 10px;
}
.wrcc_box_design .wrcc_apply_btn {
  background-color: #252e46;
  color: #fff;
  width: 100%;
  padding: 5px 0px;
  border-radius: 5px;
  font-size: 16px;
  border: none;
}
.wrcc_box_design span {
  font-size: 18px;
  font-weight: 600;
}
.wrcc_box_design p {
  font-size: 16px;
  font-weight: 400;
}
.wrcc_coupon-container {
  position: relative;
  width: 100%;
  max-width: 300px;
  /*margin-bottom: 20px;*/
  margin-top: 20px;
}
.wrcc_coupon-container input {
  border-radius: 20px !important;
  /*min-width: 300px;*/
  width: 100%;
  box-shadow: 0 0 15px 0 rgba(167, 181, 187, 0.28) !important;
  padding: 7px 14px !important;
  border: 1px solid #eee !important;
}

.wpgi_giftcard_list {
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.08);
  padding: 25px;
  border-radius: 25px;
}
.wrcc_bottom_wave {
  position: absolute;
  bottom: 0;
  width: 350px;
  box-shadow: 0 2px 3px #0000003d;
  border-radius: 3.3333% / 5.298%;
  height: 120px;
  background: #fff;
  clip-path: path("M 0 26 Q 94 76 225 38 Q 316 10 390 70 L 479 230 L 0 243 Z");
  top: 36%;
  cursor: pointer;
}
.wrcc_coupon_code {
  position: absolute;
  flex-direction: row;
  width: 100%;
  justify-content: space-around;
  top: 52%;
  left: 0%;
  z-index: 99999;
}
.wrcc_coupon_code .wrcc_extra_code {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  background-color: #ff7a28;
  color: #fff;
  padding: 3px 22px;
  border-radius: 35px;
}
.card_desc.wrcc_coupon_code span:last-child {
  font-size: 22px;
  font-weight: 600;
  color: #000;
}
.wrcc_coupon_code_1 {
  position: relative;
}
.wrcc_giftcard_no_ {
  appearance: none !important;
}
.wpgi-field-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 15px;
}
.wpgi-field-container .wpgi-input-text {
  border: 1px solid #bbb;
  color: #4e4e4e;
  padding: 10px;
  height: 44px !important;
  border-radius: 5px;
}
#wpgi-message {
  height: 100px;
  border-radius: 5px;
}
.qib-button-wrapper.qib-button-wrapper-12306 {
  padding-top: 20px;
}
.product-type-giftcardzx button.single_add_to_cart_button.button.alt {
  margin-top: 25px;
}

/* 24-10-2025 giftcard toogle design */
div#wrcc_giftcardContent {
  position: relative;
}

.wrcc_giftcard-container {
  margin: auto;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  padding: 0;
  margin-bottom: 25px;
  box-shadow: unset;
  border-radius: 0;
}
.wpgi_giftcard_list.wrcc_giftcard-container .wrcc_giftcard-content {
  border: 1px solid #eee;
  margin-top: 25px;
  border-radius: 5px;
}

.wrcc_giftcard-header {
  background: #2f3854;
  color: white;
  padding: 15px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 0;
}

.wrcc_giftcard-content {
  display: none;
  padding: 20px;
  border-top: 1px solid #ddd;
  transition: all 0.3s ease;
}

.wrcc_giftcard-content.open {
  display: block;
}

.wrcc_giftcard-content p {
  margin-bottom: 10px;
  color: #555;
}

.wrcc_giftcard-input {
  display: flex;
  gap: 10px;
}

.wrcc_giftcard-input input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.wrcc_giftcard-input button {
  background: #e45c0a;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
}

.wrcc_giftcard-input button:hover {
  background: #c64c07;
}
.wpgi_giftcard_list.wrcc_giftcard-container .card_desc.wrcc_coupon_code {
  top: 65%;
  left: 50%;
  width: unset;
}
.wrcc_giftcard-content .prev,
.next {
  top: 32%;
  color: #000;
  background-color: #fff;
  box-shadow: 0 0 6px #0000003d, 0 8px 12px #00000024;
  border-radius: 211px;
  padding: 7px 14px;
}
.wrcc_giftcard-content .next {
  right: 2%;
}
.wrcc_giftcard-content .prev:hover,
.next:hover {
  color: #fff;
  background-color: #000;
}
/* .wrcc_giftcard-content .prev, .next:hover{
  color: #fff;
} */
.wrcc_giftcard_container {
  width: fit-content;
}

.wpgi_giftcard_list.wrcc_giftcard-container
  .wrcc_box_design.wrcc_coupon-container {
  padding-right: 0;
  padding-left: 0;
  margin-left: 0;
  box-shadow: unset;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: unset;
  height: unset;
  margin-top: 0;
}
.wpgi_giftcard_list.wrcc_giftcard-container
  .wrcc_box_design.wrcc_coupon-container
  input {
  width: 40%;
  max-width: 215px;
  -webkit-appearance: none;
  background-color: #eee;
  border-width: 0;
  border-radius: 0 !important;
  color: #999;
  font-size: 14px;
  padding: 16px !important;
  line-height: 1.7em;
  border-style: solid;
}
.wpgi_giftcard_list.wrcc_giftcard-container
  .wrcc_box_design.wrcc_coupon-container
  button {
  width: auto;
  /* max-width: 215px; */
  background: #e14a00 !important;
  border: #e14a00 solid thin !important;
  color: #fff !important;
  border-radius: 60px !important;
  padding: 0.3em 1em;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.7em;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.wpgi_giftcard_list.wrcc_giftcard-container
  .wrcc_box_design.wrcc_coupon-container
  button::after {
  font-family: "ETmodules";
  font-size: 32px;
  line-height: 1em;
  content: "\35";
  opacity: 0;
  position: absolute;
  margin-left: -1em;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.wpgi_giftcard_list.wrcc_giftcard-container
  .wrcc_box_design.wrcc_coupon-container
  button:hover::after {
  font-family: "ETmodules";
  font-size: 32px;
  line-height: 1em;
  margin-left: 0;
  content: "\35";
  opacity: 1;
  position: absolute;
  margin-left: 0;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.wpgi_giftcard_list.wrcc_giftcard-container
  .wrcc_box_design.wrcc_coupon-container
  button:hover {
  border: 2px solid transparent;
  padding: 0.3em 2em 0.3em 1em;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.wpgi_giftcard_list.wrcc_giftcard-container .wrcc_card_value p {
  margin: 0;
  padding-top: 5px;
}

#wrcc_giftcardContent {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease-in-out;
  -webkit-transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease-in-out;
  -moz-transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease-in-out;
}

#wrcc_giftcardContent.open {
  max-height: 600px; /* adjust this to fit your content */
  opacity: 1;
}

.Wrcc_giftcard_wrapper {
  position: relative;
}

.wrcc_giftcard-content .giftcard_number_manually.error {
  border: 1px solid #e14a00 !important;
}

@media only screen and (max-width: 480px) {
  .Wrcc_extra_giftcard {
    width: 100%;
  }
  .wrcc_bottom_wave {
    top: 16.3%;
    width: 100%;
  }
  .wrcc_giftcard-content .prev,
  .next {
    top: 17%;
    color: #000;
  }
  .wrcc_giftcard-content .next {
    right: 6%;
  }
  .wpgi_giftcard_list.wrcc_giftcard-container .card_desc.wrcc_coupon_code {
    top: 19%;
    left: 68%;
    width: unset;
  }

  .wrcc_bottom_wave {
    position: absolute;
    bottom: 0;
    width: 325px;
    clip-path: path(
      "M 0 27 Q 66 83 193 37 Q 277 14 325 46 L 327 120 L 0 126 Z"
    );
  }
  .wpgi_giftcard_list.wrcc_giftcard-container
    .wrcc_box_design.wrcc_coupon-container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    padding-bottom: 0;
  }
  .wpgi_giftcard_list.wrcc_giftcard-container
    .wrcc_box_design.wrcc_coupon-container
    input {
    width: 100%;
  }
  /* .wpgi_giftcard_list.wrcc_giftcard-container .wrcc_box_design.wrcc_coupon-container button{
  width: 100%;
} */
  .woocommerce-checkout div#payment {
    width: 100% !important;
  }
  .woocommerce-checkout
    table.shop_table.woocommerce-checkout-review-order-table {
    width: 100%;
  }
  .Wrcc_giftcard_wrapper {
    width: 100%;
  }
  .wrcc_bottom_wave {
    top: 36%;
  }
  .wpgi_giftcard_list.wrcc_giftcard-container .card_desc.wrcc_coupon_code {
    top: 64%;
  }
}

/*
New CSS Added By Biswajit On 25-11-2025
 */
.wrcc_gift_cart_text {
  display: none;
}

.giftcards_list .takeaway-product-grid .wrcc_gift_price_amt {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

.giftcards_list
  .takeaway-product-grid
  .wrcc_gift_price_amt
  h2.woocommerce-loop-product__title {
  text-align: left !important;
  font-size: 20px !important;
}
.giftcards_list .takeaway-product-grid .takeaway-product-image img {
  height: 375px !important;
}

.giftcards_list
  .takeaway-product-grid
  .takeaway-product-image
  .wrcc_gift_price_amt {
  padding-top: 50px !important;
  padding-bottom: 30px !important;
  position: absolute;
  background: #000000;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.7) 75%,
    rgba(0, 0, 0, 0.05) 100%
  );
}
.giftcards_list .takeaway-product-grid {
  position: relative;
  overflow: hidden !important;
}
.takeaway-product-grid h2.woocommerce-loop-product__title.custom-title-product {
  color: #fff !important;
  font-size: 20px !important;
}
.giftcards_list .takeaway-product-grid .woocommerce-Price-amount.amount bdi {
  font-size: 20px;
  color: #ff7a28;
  font-weight: bold !important;
}
.wrap_giftcard_step1 .woocommerce-product-gallery__image {
  border-radius: 25px;
  overflow: hidden;
}
.wrap_giftcard_step1 span.woocommerce-Price-amount.amount {
  font-weight: bold;
  font-size: 22px;
}
.single-form-div .wpgi-input-text {
  font-size: 22px;
  font-weight: bold;
}
a#cancel {
  display: none;
}
@media only screen and (max-width: 699px) {
  .giftcards_list .takeaway-product-grid {
    border-radius: 20px;
  }
  .giftcards_list .takeaway-product-grid .takeaway-product-image img {
    height: 225px !important;
    max-height: inherit;
  }
  .giftcards_list .takeaway-product-grid .takeaway-product-image img {
    border-radius: 20px 20px 0px 0px !important;
  }
  .giftcards_list .takeaway-product-grid .takeaway-product-image {
    border-radius: 20px 20px;
  }
  .takeaway-product-grid
    h2.woocommerce-loop-product__title.custom-title-product {
    color: #fff !important;
    font-size: 15px !important;
  }
  .giftcards_list .takeaway-product-grid .woocommerce-Price-amount.amount bdi {
    font-size: 15px;
    color: #ff7a28;
    font-weight: bold !important;
  }
  .giftcards_list .takeaway-product-grid .wrcc_gift_price_amt {
    padding-bottom: 25px !important;
  }
}
