/*=== Secondary Mobile Highlight Menu ===*/
@media only screen and (min-width: 768px) {
    .chistory {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .tag,
    .tag:active,
    .tag:visited {
        display: inline-block;
        background-color: white;
        color: black !important;
        text-decoration: none;
        padding: .8em .5em;
        font-size: 1em;
        font-weight: bold;
        flex: none;
        text-transform: uppercase;
    }

    .red {
        color: var(--color-tertiary) !important;
    }

    .chistory {
        width: 100%;
        position: relative;
        margin: 4px 0 16px 0;
    }

    .chistory .scroller {
        overflow-x: scroll;
        overflow-y: hidden;
        display: flex;
        flex-wrap: nowrap;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: -20px;
    }
}

/*=== Related Products App ===*/
.related_products_app_block {
    text-align: center !important;
}

.related_products_app_image img {
    max-width: 69% !important;
    width: 69% !important;
}

#related_products_app_html {
    max-width: 1400px;
}

.related_products_app_body {
    flex-wrap: wrap;
    overflow-x: auto;
    overflow-y: auto;
    align-items: start !important;
}

@media only screen and (max-width: 1119px) {
    .related_products_app_image img {
        max-width: 53% !important;
        width: 53% !important;
    }
    .related_products_app_block {
        flex-basis: 33% !important;
        margin: 4px 0px !important;
    }
}

@media only screen and (max-width: 1000px) {
    .related_products_app_image img {
        max-width: 63% !important;
        width: 63% !important;
    }
}

@media only screen and (max-width: 775px) {
    .related_products_app_image img {
        max-width: 73% !important;
        width: 73% !important;
    }
}

@media only screen and (max-width: 700px) {
    .related_products_app_image img {
        max-width: 82% !important;
        width: 82% !important;
    }
}

@media only screen and (max-width: 625px) {
    .related_products_app_image img {
        max-width: 96% !important;
        width: 96% !important;
    }
}

@media only screen and (max-width: 414px) {
    .related_products_app_block {
        flex-basis: 50% !important;
        margin: 4px 0px !important;
    }
}

/*=== Dynamic Carousel ===*/
.list-size__five {
    width: 19%;
  	margin-left: .5%;
  	margin-right: .5%;
}
.list-size__four {
	width: 24%;
  	margin-left: .5%;
  	margin-right: .5%;
}
.list-size__three {
	width: 32.3%;
  	margin-left: .5%;
  	margin-right: .5%;
}
.list-size__two {
	width: 49%;
  	margin-left: .5%;
  	margin-right: .5%;
}
.list-size__one {
	width: 99%;
  	margin-left: .5%;
  	margin-right: .5%;
}

.swiper-button__wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    z-index: 10000;
    position: absolute;
    top: 48%;
}

.swiper-button__carousel {
    padding: 0.5em;
    border-radius: 100%;
    margin: 0.2em;
    color: black;
    background-color: white;
    opacity: 60%;
    font-size: 1.3em;
}

.swiper-button__carousel.a-carousel-indicator__arrow--disabled {
    color: darkGrey;
    opacity: 40%;
}

.swiper-button__carousel:hover {
    background: white;
    color: var(--color-tertiary);
    opacity: 100%;
    cursor: pointer;
}

.dynamic-product-carousel__scroll {
    height: 0.5em;
    margin-top: 0.5em;
    opacity: 50%;
}

.dynamic-product-carousel__scroll:hover {
    opacity: 100%;
}

.dynamic-product-carousel__scroll > .swiper-scrollbar {
    height: 100%;
    background: #f8f8f8;
    border-radius: 2em;
}

.dynamic-product-carousel__scroll > .swiper-scrollbar > .swiper-scrollbar-drag {
    border-radius: 2em;
}
.dynamic-product-carousel__header {
  	padding: .25em;
    font-size: 2rem;
}
.dynamic-carousel__upsell .dynamic-product-carousel__header {
  	font-size: 1.5rem;
}

.dynamic-carousel__related-products .m-product-card {
	overflow:hidden;
}

.m-add-confirmation .dynamic-product-card-carousel {
  	margin: 0 20px;
}

.dynamic-carousel__upsell .m-product-card__expandable,
.dynamic-carousel__upsell .m-add-to-cart {
	width: 100%!important;
}
.dynamic-carousel__upsell {
    display: flex;
    margin: 16px 20px!important;
    flex-flow: column;
}
.dynamic-carousel__upsell button {
  	padding-left: unset!important;
    padding-right: unset!important;
    height: 3em;
    display: block!important;
}
/*.dynamic-carousel__upsell .m-product-card__image {
  	transform: none!important;
}*/

.add-to-cart__upsell {
  height: unset!important;
}

@media (min-width: 768px)
    .dynamic-carousel__upsell {
        margin-left: 48px!important;
        margin-right: 48px!important;
    }
}

  /* yandy additions */
  
  .dynamic-product-carousel__header {
    margin-bottom: 15px;
    font-size: 18px;
    padding-top: 30px;
  }

.a-ribbon__in_cart {
  	-webkit-text-fill-color: black;
    bottom: 17%;
    z-index: 100;
  	top: unset;
}
.a-ribbon__in_cart .a-ribbon {
  	background: lime;
}
.upsell-card__info {
  	padding: .5em;
    width: 100%!important;
    position: absolute;
    bottom: 0em;
    background: white;
  	height: 40%;
    display: flex;
    flex-direction: column;
}

.m-add-confirmation {
    overflow:auto !important;
    height:100% !important;
}

body , html {
    overflow: visible !important;
  	overflow-x: hidden !important;
    position: relative !important;
    height: 100% !important;
}

.m-add-confirmation__actions {
  	margin-bottom: 2em;
}

/* yandy product page size chart css */
.size-table {
    width: 100%;
    font-size: 12px;
    text-transform: uppercase;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
tbody {
    display: table-row-group;
    vertical-align: middle;
}
.size-table .hd {
    background-color: #efeeee;
    font-weight: 700;
}
.size-table td {
    padding: 4px 8px;
    text-align: center;
    border: 1px solid #f8f8f8;
}

/* yotpo insta gallery */
#yotpo__insta-gallery {
  	display: flex;
  	flex-flow: column;
    text-align: center;
    padding: 0 10px;
}
.yandy-pink {
  color: #2B2B2B;
}