:root {
  --mobile-breakpoint: 900px; /* You can adjust this value as needed */
}

/* Flex Order */

.competition-product .entry-summary h1 {
  order: 10;
}

.competition-product .entry-summary .woocommerce-product-gallery {
  order: 20;
}

.competition-product .entry-summary .price {
  order: 30;
}

.competition-product .entry-summary .kcp-below-image-countdown {
  order: 40;
}

.competition-product .entry-summary .kcp-product--multibuy {
  order: 50;
}

.competition-product .entry-summary .skipToQuestions {
  order: 60;
}
.competition-product
  .entry-summary
  .woocommerce-product-details__short-description {
  order: 70;
}

.competition-product .kcp-block {
  order: 80;
}

.kcp-product--accordian {
  order: 90;
}

.kcp-entry-form {
  order: 100;
}

.backToCompetitions,
#mwb_crp_shortcode_btn {
  order: 110;
}

@media screen and (min-width: 999px) {
  .competition-product .entry-summary .skipToQuestions {
    order: 40;
  }
}

/* Base Styles */
.competition-product .container-wrap {
  padding: 0 !important;
}
.competition-product {
  text-align: center;
}

.competition-product .entry-summary {
  margin: 0 !important;
}

.competition-product .product-type-competition_product {
  width: 100% !important;
  margin-top: 40px;
}

.competition-product .woocommerce-tabs {
  display: none !important;
}

.competition-product .woocommerce-product-details__short-description {
  width: 100%;
  margin-top: 20px;
}
.competition-product .product-type-competition_product .entry-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 40px;
}
@media screen and (min-width: 999px) {
  .competition-product {
    text-align: left !important;
  }
  .competition-product .kcp-entry-form {
    text-align: center !important;
  }
}

/* Header */
.single-product div.product h1.product_title {
  font-size: 44px !important;
  line-height: 1.2 !important;
  width: 100%;
}

.competition-product .product-type-competition_product h1 {
  margin-bottom: 30px !important;
}

/* Breadcrumbs */
.competition-product .woocommerce-breadcrumb {
  display: none;
}

/* Product Image */
.competition-product .span_5.col.single-product-main-image,
.competition-product .woocommerce-product-gallery__trigger {
  display: none !important;
}
.competition-product .woocommerce-product-gallery__image a {
  pointer-events: none !important;
}

@media screen and (min-width: 999px) {
  .competition-product .span_5.col.single-product-main-image {
    display: block !important;
  }
  .competition-product div:not(.span_5) > .woocommerce-product-gallery {
    display: none !important;
  }
}

/* Below Image Countdowmn */
.kcp-below-image-countdown {
  width: 100%;
  text-transform: uppercase;
  font-size: 19px;
}

@media screen and (min-width: 999px) {
  .kcp-below-image-countdown {
    font-size: 24px;
  }

  .span_5.col.single-product-main-image .kcp-below-image-countdown {
    margin-top: 30px;
    text-align: center;
    font-size: 20px;
  }
}

/* Mutli Buy */
.competition-product .kcp-product--multibuy {
  width: 100%;
  margin-top: 0px;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #152a69;
  font-size: 13px;
}

@media screen and (min-width: 999px) {
  .competition-product .kcp-product--multibuy {
    margin-bottom: 30px;

    font-size: 16px;
  }
}

/* Product Countdown */

.competition-product
  .product-type-competition_product
  .entry-summary
  .kcp-block {
  width: 100%;
  background: #152b69;
  padding: 20px;
  border-radius: 4px;
  margin: 20px 0 40px 0;
}

.kcp-product--countdown h2 {
  color: white !important;
  font-size: 26px;
  line-height: 1.2;
}
.kcp-product--countdown div > div {
  background-color: #ff9986;
  font-weight: 800;
}
.kcp-product--countdown div > div span {
  color: #152b69;
  font-size: 28px !important;
}
.kcp-product--countdown div > div label {
  font-weight: 700;
}
.kitchen-ticket-bar__v2 {
  margin: 0 !important;
}
.kitchen-ticket-bar__v2 small {
  font-size: 12px !important;
}
.kitchen-ticket-bar__v2--remaining {
  display: block;
  font-size: 13px;
  line-height: 1;
  margin: 10px 0;
}
.kitchen-ticket-bar__v2--sold {
  font-weight: 700;
  display: block;
  margin-bottom: 5px !important;
  margin-top: 0 !important;
}
.kcp-product--sold-tickets {
  color: white;
}

/* Entry Form */
.kcp-entry-form {
  background: #152a69;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 30px;
  width: 100%;
  margin-top: 20px;
}

.kcp-entry-form h2,
.kcp-entry-form p,
.kcp-entry-form b,
.kcp-entry-form input {
  color: white !important;
}
.kcp-entry-form h2 {
  font-size: 29px;
  line-height: 1.2;
  margin: 0 0 25px 0 !important;
}
.kcp-entry-form b {
  font-size: 14px;
  line-height: 1.2;
  display: block;
  margin: 10px 0 20px;
}

.kcp-entry-form__qa {
  margin-bottom: 40px;
}
.kcp-entry-form__qa--answer input {
  visibility: hidden;
  display: none;
}
.kcp-entry-form__qa--answer input:checked + span {
  background: #629fd4;
  color: black;
}
.kcp-entry-form__qa--answer label span {
  color: #00000089;
  font-weight: 700;
  background: #cae1f5;
  display: block;
  padding: 14px;
  margin-bottom: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.kcp-entry-form .quantity .qty {
  border: none !important;
  font-weight: 600;
  font-size: 19px;
  -moz-appearance: textfield;
}
.kcp-entry-form .quantity .minus,
.kcp-entry-form .quantity .plus {
  background: white;
  color: black !important;
  border-radius: 50% !important;
  width: 35px !important;
  height: 35px !important;
}

.kcp-entry-form__tabs--nav {
  margin-bottom: 20px;
}

.kcp-entry-form .quantity span {
  display: inline-block;
  margin-left: 20px;
  color: white;
}

.kcp-entry-form .quantity input {
  background: transparent;
}

.kcp-entry-form__footer {
  display: flex;
  column-gap: 40px;
  margin-top: 30px;
  justify-content: space-between;
}

.kcp-entry-form__footer span {
  display: flex;
  color: white;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.kcp-entry-form__footer .icon {
  width: 22px;
}

.kcp-entry-form__tabs--nav {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  column-gap: 10px;
  margin-bottom: 30px;
}

.kcp-entry-form__tabs--nav a {
  display: block;
  border-radius: 4px;
  padding: 10px;
  width: 50%;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  transition: none !important;
}

.kcp-entry-form__tabs--nav a.active {
  background-color: #cae1f5;
  color: black !important;
}

.kcp-entry-form .quantity {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kcp-entry-form .kcp-how-many {
  text-align: center;
  margin: 0;
  font-weight: bold;
  font-size: 20px;
}

.kcp-entry-form .kitchen-add-to-cart {
  margin-right: 0 !important;
  width: 100% !important;
  display: block !important;
  border-radius: 4px !important;
}
body[data-button-style^="rounded"]
  .kcp-entry-form
  button[type="submit"].kitchen-add-to-cart {
  border-radius: 4px !important;
}

@media screen and (min-width: 999px) {
  .kcp-entry-form .kcp-product--multibuy {
    text-align: center;
  }

  body.competition-product .quantity,
  body.competition-product .quantity {
    width: max-content !important;
    margin-left: auto;
    margin-right: auto;
  }

  .kcp-entry-form .kitchen-add-to-cart {
    margin: 30px auto !important;
  }
}

/* Referral Button */
/* KCP Button */
.kcp-button,
#mwb_crp_shortcode_btn {
  display: inline-block;
  background: #152a69;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: "Proxima Nova" !important;
  text-transform: uppercase;
  padding: 10px 30px !important;
  border-radius: 4px !important;
  text-align: center;
  margin-bottom: 20px !important;
  width: 100%;
  height: unset !important;
  line-height: unset !important;
  box-shadow: unset !important;
}

.skipToQuestions {
  margin-bottom: 50px;
}

@media screen and (min-width: 999px) {
  .kcp-button {
    width: unset;
  }

  #mwb_crp_shortcode_btn,
  #mwb_crp_shortcode_btn + .kcp-button {
    width: 47%;
    font-size: 12px !important;
  }
}

.kcp-button--light-blue {
  background-color: #629fd4 !important;
}

/* Product Pricing */

.competition-product
  .product-type-competition_product
  .entry-summary
  ins
  .woocommerce-Price-amount.amount,
.competition-product
  .product-type-competition_product
  .entry-summary
  .woocommerce-Price-amount.amount {
  font-weight: 700;
  width: 100% !important;
  display: block !important;
}

.woocommerce div.product .summary p.price {
  margin: 50px auto 30px !important;
  background: #152a69;
  padding: 15px 30px !important;
  border-radius: 4px !important;
  color: white !important;
  margin-bottom: 20px !important;
  width: 100%;
}

.competition-product:not(.competition-product-free)
  .product-type-competition_product
  .entry-summary
  .woocommerce-Price-amount.amount
  bdi::after {
  content: " Per Entry";
}
.competition-product
  .product-type-competition_product
  .entry-summary
  del
  ::after {
  content: none !important;
}

@media screen and (min-width: 999px) {
  .woocommerce div.product .summary p.price {
    margin: 0 !important;
    background: unset !important;
    padding: unset !important;
    color: unset !important;
    margin-bottom: 20px !important;
    width: unset !important;
  }
}

/* Flicky Navigation */
body.single-product .product-thumbs:hover .flickity-prev-next-button {
  opacity: 0.7;
}

body.single-product .product-thumbs .flickity-prev-next-button {
  background: #152b69 !important;
}

body.single-product .product-thumbs .flickity-prev-next-button svg path {
  fill: white !important;
  color: white !important;
}

.kcp-entry-form__tabs--content * {
  color: white;
}

.kcp-product--accordian__tab-content p {
  padding: 0 !important;
}

.kcp-product--accordian__tab-content ul {
  margin-bottom: 0 !important;
}
