/* for byob bundle info */
.byob-text-center {
  text-align: center;
}

.byob-text-left {
  text-align: left;
}

.byob-text-right {
  text-align: right;
}

/* Whole */
.medium-up--one-whole {
  width: 100%;
}

/* Halves */
.medium-up--one-half {
  width: 50%;
}

/* Thirds */
.medium-up--one-third {
  width: 33.33333%;
}

.medium-up--two-thirds {
  width: 66.66667%;
}

.byob-content-center {
  margin: 0 auto;
}

/* Set top banner to full width for mobile */
@media screen and (max-width: 600px) {
  .medium-up--one-half {
    width: 100%;
  }

  /* Thirds */
  .medium-up--one-third {
    width: 100%;
  }

  .medium-up--two-thirds {
    width: 100%;
  }

  .byob-bundle-description {
    line-height: normal;
  }
}

/* byob confirm modal begin */
.byob-modal-mask {
  position: fixed;
  z-index: 2147483647;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: table;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.byob-modal-wrapper {
  display: table-cell;
  vertical-align: middle;
  overflow: hidden;
  height: 100%;
}

.byob-modal-container {
  width: 500px;
  margin: 0px auto;
  padding: 30px;
  background-color: #fff;
  color: #444444;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  transition: all 0.3s ease;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  border-radius: 3px;
}

.byob-modal-header h3 {
  margin-top: 0;
  color: #3a3838;
}

.byob-modal-body {
  margin: 0px 0px 10px 0;
}

.byob-modal-message {
  margin-top: 0px;
}

.modal-enter {
  opacity: 0;
}

.modal-leave-active {
  opacity: 0;
}

.modal-enter .byob-modal-container,
.modal-leave-active .byob-modal-container {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.byob-modal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

@media screen and (max-width: 600px) {
  .byob-modal-container {
    width: 90%;
  }
}

@media screen and (max-width: 500px) {}

/* byob confirm modal end */
/* align product options boxes */
.byob-grid-product-options {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  align-items: center;
  text-align: left;
  padding-bottom: 15px;
}

.byob-product-no-image {
  height: 100%;
  min-height: 200px;
  background-color: #f3f3f3;
}

.byob-quantity-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.byob-quantity-input {
  margin-top: 0px;
  margin-bottom: 0px;
}

select.byob-max-w-full.byob-gpo-select {
  -webkit-appearance: none;
  appearance: none;
  height: 50px;
  background: #FFFFFF;
  color: #333333;
  border: 1px solid #C9C9C9;
  border-radius: 3px;
  padding-left: 9px;
  opacity: 1;
  background-repeat: no-repeat;
  background-size: 0.8em;
  background-position: right 5px center;
  padding-right: 1.5em;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="%236F6F6F"><path d="M225.9 94.1c-8.2-8.2-21.5-8.2-29.7 0L128 162.3 59.8 94.1c-8.2-8.2-21.5-8.2-29.7 0s-8.2 21.5 0 29.7l80 80c8.2 8.2 21.5 8.2 29.7 0l80-80c8.2-8.2 8.2-21.5 0-29.7z"/></svg>');
}

.no-fill {
  fill: none;
}

.lb-price-wrapper {
  margin-top: auto;
}

/* app integrations - hide widgets */
.lh-sale-popup {
  z-index: 0;
}

/* blocked layoutHub sales popup*/
div#tidio-chat {
  display: none;
}

iframe#ShopifyChat {
  display: none;
}

.sca-qv-button-wrap {
  display: none !important;
}

#admin-bar-iframe {
  /* change shopify preview footer */
  right: 0px;
  left: auto !important;
}

[v-cloak] {
  display: none;
}

.byob-footer-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #cfc9c9;
}

[id^="shopify-section-template--"][id$="__byob-empty-state-hint"],
#byob-empty-state-hint {
  display: none !important;
}

.byob-product-no-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.byob-page-margin {
  margin-bottom: 5em;
}

select:focus {
  /* remove select focus style in card */
  outline: none;
  box-shadow: none;
}

.cursor-pointer {
  cursor: pointer;
}

.byob-close {
  position: absolute;
  top: 2px;
  right: 0px;
  z-index: 9;
  color: black;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.byob-quantity-container {
  display: inline-flex;
  justify-content: center;
  height: 50px;
}

/* it will support chrome and firefox */
.byob-quantity-container input[type=number]::-webkit-inner-spin-button,
.byob-quantity-container input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.byob-quantity-container input,
.byob-quantity-container button {
  width: 2.5em;
  text-align: center;
  background: white;
  color: #aaa;
  border: 1px solid #aaa;
}

button.byob-btn-minus {
  border-right: none;
  cursor: pointer;
}

button.byob-btn-plus {
  border-left: none;
  cursor: pointer;
}

input.byob-quantity-input {
  border-left: none;
  border-right: none;
  width: 3.5em;
  border-radius: 0px;
}

.byob_button__progress {
  position: absolute;
  display: block;
  height: 100%;
  width: 50%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: width 0.3s;
}

.byob-total-price {
  text-decoration: line-through;
}

#byob-bundle-price {
  padding-left: 5px;
}

.byob-max-w-full {
  max-width: 100%;
}

.byob-w-full {
  width: 100%;
}

#byobCustomNote {
  width: 90%;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 10px;
}

.mt-10-px {
  margin-bottom: 10px;
}

.disabled {
  cursor: default
}

.byob-panel {
  transition: max-height 0.2s ease-out;
}

#app {
  padding: 1rem;
}

.grid-product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  grid-row-gap: 5px;
  padding: 10px;
  line-height: 1;
  border-radius: 5px;
  grid-template-rows: auto auto auto auto min-content;
  /* set button height */
}

.bg-red {
  background-color: red;
}

.byob-inline-block {
  display: inline-block;
}

.flex-item-right {
  align-items: baseline;
  padding-left: 30px;
  flex: 0.7;
}

#hide-footer-button {
  position: absolute;
  top: 10px;
  cursor: pointer;
  right: 10px;
  width: 24px;
  color: black;
}

.byob-footer-card-qty {
  top: -10px;
  left: 0px;
  position: absolute;
  background: rgba(58, 58, 58, 1);
  font-size: 10px;
  padding: 0px 6px;
  line-height: 18px;
  color: white;
  opacity: 0.8;
}

.byob-filters-area {
  margin: 0.5em 0.5em 0em 0.5em;
}

.byob-filter {
  margin-right: 0.5em;
}

#btn-add-to-cart {
  position: relative;
  min-width: 7em;
  line-height: 1.5;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.transition-all {
  transition-property: all;
}

.duration-500 {
  transition-duration: 500ms;
}

.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.byob-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.byob-spinner circle {
  stroke-dasharray: 128;
  stroke-dashoffset: 82;
}

#byobApp {
  min-height: 800px;
}

@media screen and (max-width: 992px) {
  #byobApp {
    min-height: 600px;
  }
}

@media screen and (max-width: 600px) {
  #byobApp {
    min-height: 500px;
  }
}

.byob-product-image {
  min-width: 100px;
  min-height: 100px;
  margin: auto;
}

#btn-checkout,
#btn-viewcart {
  display: flex;
  align-items: center;
  justify-content: center;
}