/* =================== Product Images CSS [START] ========================= */
[data-dupercart-color]{
    display: none;
}
.dupercart-media--show[data-dupercart-color]{
    display: block;
}
/* =================== Product Images CSS [END] ========================= */


.dupercart-variant__swatches-title {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    font-size: 16px;
}

.dupercart-variant__swatches-color_available-text {
    font-size: 16px;
}

.dupercart-variant__swatches-title > span {
    white-space: nowrap;
}
.dupercart-variant__swatches-title .dupercart-variant__swatches-color_available{
    font-weight: normal;
    margin-left: .7rem;
}
.dupercart-variant__swatches-title .dupercart-variant__swatches-color_available .dupercart-variant__swatches-color_available-content{
    display:flex;
    flex-flow: row wrap;
    align-items: center;
    gap: .6rem;
}

.dupercart-variant__swatches-title .dupercart-variant__swatches-color_available .dupercart-variant__swatches-color_available-content .dupercart-variant__swatches-color_available-selection input[type="checkbox"] + label {
  display: block;
  margin: 0.2em;
  cursor: pointer;
  padding: 0.3em .5rem;
  border: 1px solid var(--dupercart-primary-color);
}

.dupercart-variant__swatches-title .dupercart-variant__swatches-color_available .dupercart-variant__swatches-color_available-content .dupercart-variant__swatches-color_available-selection input[type="checkbox"] {
  display: none;
}

.dupercart-variant__swatches-title .dupercart-variant__swatches-color_available .dupercart-variant__swatches-color_available-content .dupercart-variant__swatches-color_available-selection input[type="checkbox"] + label:before {
  content: "\2714";
  border: 0.1em solid #000;
  border-radius: 0.2em;
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  padding-left: 0.2em;
  padding-bottom: 0.3em;
  margin-right: 0.2em;
  vertical-align: bottom;
  color: transparent;
  transition: .2s;
}

.dupercart-variant__swatches-title .dupercart-variant__swatches-color_available .dupercart-variant__swatches-color_available-content .dupercart-variant__swatches-color_available-selection input[type="checkbox"] + label:active:before {
  transform: scale(0);
}

.dupercart-variant__swatches-title .dupercart-variant__swatches-color_available .dupercart-variant__swatches-color_available-content .dupercart-variant__swatches-color_available-selection input[type="checkbox"]:checked + label:before {
  background-color: var(--dupercart-primary-color);;
  border-color: var(--dupercart-primary-color);
  color: #fff;
}

.dupercart-variant__swatches-title .dupercart-variant__swatches-color_available .dupercart-variant__swatches-color_available-content .dupercart-variant__swatches-color_available-selection input[type="checkbox"]:disabled + label:before {
  transform: scale(1);
  border-color: #aaa;
}

.dupercart-variant__swatches-title .dupercart-variant__swatches-color_available .dupercart-variant__swatches-color_available-content .dupercart-variant__swatches-color_available-selection input[type="checkbox"]:checked:disabled + label:before {
  transform: scale(1);
  background-color: #bfb;
  border-color: #bfb;
}


.dupercart-atc--hidden{
    display: none;
}

.out-of-stock {
    color: #c62828;
}

/* ========== [ ATC - error Message ] ========== */
.product-form__error-message-wrapper{
    color: #eb5757;
    transition: all var(--duration-short) ease;
    border: 1px solid #eb5757;
    padding: 1rem;
}

.product-form__error-message-wrapper .product-form__error-message {
    margin-left: 3rem;
}

.product-form__error-message-wrapper ul{
    padding-left: 1rem;
    line-height: 1.25;
    margin: 0;
}

.product-form__error-message-wrapper ul li{
    margin-bottom: 10px;
}
/* ========== [ ATC - Success Message ] ========== */
.product-form__success-message-wrapper {
    color: #0f5132;
    transition: all var(--duration-short) ease;
    border: 1px solid #0f5132;
    border-radius: 5px;
    padding: 0px 1rem;
    position: fixed;
    left: 50%;
    background-color: #ececec;
    transform: translateX(-50%);
    z-index: 100;
    top: 125px;
    width: 85%;
}

.product-form__success-message-wrapper[hidden]{
  display: none;
}

.product-form__success-message-wrapper svg{
    width: 20px;
    vertical-align: top;
}

/* Swatches Styles */

/* please make sure to add .dupercart-swatch-pdp as a parent class to style product page swatches */

.dupercart-variant__swatches-color_title{
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}
.dupercart-variant__swatches-color_title .dupercart-variant__swatches-color_selector{
    width: 230px;
    margin-top: .6rem;
}

/* swatches */
.dupercart-swatch-pdp {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

/* Hide radio buttons.*/
.dupercart-swatch-pdp input {
    display: none;
}

.dupercart-swatch-pdp label {
    margin: 0;
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 43px;
    border-radius: 50%;
    cursor: pointer;
    background-size: cover;
}

.dupercart-swatch-pdp .dupercart-swatch-element {
    margin: 0 5px;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid transparent;
    cursor: pointer;
}

.dupercart-swatch-pdp .dupercart-swatch-element:has(input:checked) {
    border-color: #000 !important;
    box-shadow: 0 0 10px 1px #000;
}

.dupercart-swatch-pdp .dupercart-swatch-element:hover {
    border-color: #000 !important;
    box-shadow: 0 0 10px 1px #000;
}

/* Image with the cross in it */
.dupercart-swatch-pdp .crossed-out {
    position: absolute;
    width: 90%;
    height: 90%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.dupercart-swatch-pdp .dupercart-swatch-element .crossed-out {
    display: none;
}

.dupercart-swatch-pdp .dupercart-swatch-element.soldout .crossed-out {
    display: block;
}

/* Tooltips */
.dupercart-swatch-pdp .dupercart-swatch-element .tooltip {
    text-align: center;
    background: #fff;
    font-size: 12px;
    border: 1px solid #ccc;
    color: #000;
    top: 115%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 5px;
    display: none;
    position: absolute;
    width: max-content;
    margin-bottom: 6px;
    transition: all .25s ease-out;
    z-index: 2;
}

.dupercart-swatch-pdp .dupercart-swatch-element:hover .tooltip {
    display: block;
}

.dupercart-swatch-pdp .dupercart-swatch-element .tooltip:hover {
    display: none;
}

.dupercart-swatch-pdp.error {
    background-color: #E8D2D2 !important;
    color: #333 !important;
    padding: 1em;
    border-radius: 5px;
}

.dupercart-swatch-pdp.error p {
    margin: 0.7em 0;
}

.dupercart-swatch-pdp.error p:first-child {
    margin-top: 0;
}

.dupercart-swatch-pdp.error p:last-child {
    margin-bottom: 0;
}

.dupercart-swatch-pdp.error code {
    font-family: monospace;
}

/* =================== Product Table CSS ========================= */

.dupercart-variant__swatches-size_container {
    overflow: auto;
}

.wh_sizes {
    list-style: none;
    display: flex;
    padding: 0;
    margin-top: 3rem;
}

.wh_sizes-column-wrapper {
    display: flex;
    flex-direction: column;
}

.wh_sizes .wh_sizes-price {
    text-align: center;
    font-size: 14px;
    color: #000;
}

.wh_product_table ul.wh_sizes li .wh_sizes-price-break {
    color: #277ebb;
}

.wh_sizes-price:not(:last-child) {
    border-bottom: 2px solid #e8e8e8;
}

.ba-modal-image-ref {
    display: none !important;
}

.ba-modal-image {
    text-align: center;
    margin-top: 2rem;
}

.ba-video-iframe-container {
    margin-top: 2rem;
}

.ba-video-trigger-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-top: 3px;
    padding-bottom: 3px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-item-align: center;
    align-self: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.ba-video-trigger-wrapper a {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

.ba-video-trigger-wrapper span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 100%;
    font-size: 36px;
    cursor: pointer;
}

.wh_product_table ul.wh_sizes li .wh_sizes-breaks-title {
    min-width: 140px;
    color: #fff;
    background-color: #000;
}

.wh_sizes li .wh_sizes-title {
    background: #f0f0f0;
    color: #686868;
    font-size: 14px;
    font-weight: 500;
    height: 30px;
    line-height: 15px;
    cursor: default !important;
    border-radius: 3px;
    min-width: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.5rem 0 0;
    padding: 0;
}

.wh_product_table .wh_qty-container {
    display: flex;
}

.wh_sizes-container {
    cursor: default;
}

.wh_sizes-container-content {
    display: flex;
    flex-flow: row wrap;
}

.wh_sizes-container-content .wh_sizes-color-wrapper .wh_sizes-color-image {
    margin-bottom: .5rem;

}

.wh_sizes-container-content .wh_sizes-color-wrapper .wh_sizes-color-image .wh_sizes-color-image-content {
    margin: 0 auto;
    width: 50px;
    min-height: 50px;
    background-size: 100% 100% !important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid var(--et_border-color);
}

.wh_qty-inner-wrapper {
    display: flex;
    background-color: #f5f5f5;
    padding: 10px 0;
    border-bottom: 1px solid #fff;
}

.wh_qty-outer-wrapper {
    width: fit-content;
}

.wh_qty-outer-wrapper .wh_name {
    display: block;
    margin: 10px 5px 0 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    width: 125px;
    color: #000;
}

.warehouse-stock-caption {
    margin: 0;
    font-size: 10px;
    font-weight: bold;
    display: inline-block;
}

.wh_qty-inner-wrapper .wh_qty--item {
    margin-right: 4px;
    width: 52px;
}

.wh_qty-inner-wrapper .wh_qty--item.wh_qty--disabled {
    cursor: default;
}

.wh_qty-outer-wrapper .wh_qty {
    position: relative;
}

.wh_qty-outer-wrapper .wh_qty input {
    width: 100%;
    height: 36px;
    color: #000;
    text-align: center;
    background: #fff;
    padding: 0;
    font-size: 14px;
    border: 1px solid #ddd;
    cursor: text;
}

.wh_qty-outer-wrapper .wh_qty--disabled .wh_qty input {
    opacity: .5;
}

.wh_qty-outer-wrapper .wh_qty-title {
    text-align: center;
    line-height: 16px;
    font-weight: 600;
    padding-bottom: 0.2rem;
    font-size: 90%;
    display: block;
}
/* Chrome, Safari, Edge, Opera */
.wh_qty-outer-wrapper .wh_qty input::-webkit-outer-spin-button,
.wh_qty-outer-wrapper .wh_qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wh_qty-outer-wrapper .wh_qty input:focus {
    outline: none;
    box-shadow: 0 0 3px 1px #00699d;
}

.wh_qty-outer-wrapper .wh_qty>span {
    display: block;
    width: 100%;
    font-size: 13px;
    line-height: 13px;
    margin: 4px auto 0;
    text-align: center;
    color: #4E81DB;
}

.wh_qty-outer-wrapper .wh_qty .wh_qty-price {
    font-size: 12px;
    font-weight: 600;
}

.wh-spinner__container {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    left: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wh-spinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.wh-spinner div {
    transform-origin: 40px 40px;
    animation: wh-spinner 1.2s linear infinite;
}

.wh-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #FFF;
}

.wh-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.wh-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.wh-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.wh-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.wh-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.wh-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.wh-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.wh-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.wh-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.wh-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.wh-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.wh-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes wh-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


.cart__error-container {
    margin: 0 0 10px;
    padding: 12px 20px 12px 25px;
    display: block;
    font-size: 1rem;
    background: #fdd5d5;
    color: #6f0000;
    position: relative;
    text-align: left;
}

.cart__error-container ul li {
    font-size: 1rem !important;
}

.dupercart-cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    flex-direction: column;
}

.dupercart-cta-buttons hr {
    margin: 0 0 1.5rem 0;
    width: 100%;
}

.dupercart-total-price {
    margin: .5rem 0;
    color: #000;
    font-size: 1.8rem;
    line-height: 1.6;
    display: block !important;
    width: 100%;
}
.dupercart-total-price .dupercart-footer-content {
    display: flex;
    align-items: center;
}

.dupercart-total-price .dupercart-total-quantity-value {
    margin-left: 1rem;
}

.dupercart-total-price .dupercart-total-price-value {
    margin: 0;
    margin-left: .5rem;
    color: #277ebb;
    font-weight: bold;
}

.dupercart-total-price .dupercart-total-price-value.dupercart-total-price-value--compareat{
    text-decoration: line-through;
    font-weight: 500;
    color: #9c9b9b;
}

.dupercart-total-price .dupercart-footer-content.dupercart-footer-content__price-container{
    min-height: 44.45px;
}

.dupercart-total-price-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.dupercart-total-saved-amount {
    color: #0f5132;
    background-color: #ceecde;
    border: 1px solid #0f5132;
    padding: 0 1.3rem;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    padding-left: 25px;
}

.dupercart-total-saved-amount .icon-discount {
    width: 15px;
    height: 15px;
    display: inline-block;
    position: absolute;
    top: 45%;
    left: 5px;
    transform: translateY(-50%);
    fill: #0f5132;
}

.product__info-container .dupercart-buy-buttons-container product-form {
    margin: 0 0 2.5rem;
}

/* Screens >= 988px */

@media screen and (min-width: 988px) {
    .product__info-container .dupercart-buy-buttons-container product-form {
        width: 100%;
        margin: 0;
        flex: 1;
    }

    .dupercart-buy-buttons-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .wh_sizes-column-wrapper {
        display: block;
    }

    .wh_product_table ul.wh_sizes li .wh_sizes-breaks-title {
        min-width: 125px;
    }

    .wh_qty-outer-wrapper .wh_qty-title {
        display: none;
    }

    .product-form__success-message-wrapper {
        width: auto;
    }

}
