/* Hero - breadcrumbs */

.pub-product-hero {
    position: relative;
    min-height: 60px;
    background-size: 0 0;
    overflow: hidden;
}

@media screen and (max-width: 840px) {
    .pub-product-hero {
        display: none;
    }
}

.single-product .breadcrumb-wrapper {
    top: 44px;
    position: relative;
}


.inner-pub-prod-info {
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: start;
    margin-bottom: 4rem;
}


/* Product info - top */

.product-buy-info {
    /* right: 0;
    position: absolute;
    top: 0; */

    display: flex;
    order: 2;
}

@media screen and (max-width: 1024px) and (min-width: 601px) {
    .product-buy-info {
        margin-right: auto;
        margin-left: auto;
        width: 58.3%;
    }
}

@media screen and (max-width: 1148px) and (min-width: 1024px) {
    .product-buy-info {
        width: 33.3%;
    }
}

.pub-prod-imgbox {
    order: 1;
}

section.layout--pub-product-info {
    margin-bottom: 0;
}



.product-buy-box-wrapper {
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.07);
    background: rgba(12, 12, 12, 0.2);
    width: 100%;
    max-width: 1248px;
    margin: 0 auto;
    margin-top: 0px;
    margin-top: 0;
    background: #fff;
    padding: 32px;
    padding-top: 32px;
    padding-top: 40px;
    position: relative;
}

.pub-product-image {
    display: block;
    width: 100%;
    max-width: 530px;
    height: auto;
    margin: auto;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.07);
}

@media screen and (min-width: 1024px) {
    .pub-product-image {
        width: auto;
        height: auto;
        max-height: 530px;
    }
}

@media screen and (max-width: 600px) {
    .pub-product-image {
        max-width: 200px;
        margin-bottom: 40px;
    }
}

.layout--pub-product-info .woocommerce-placeholder {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 530px;
    margin: auto;
}

.product-buy-box {
    height: 200px;
    background: #bbb;
}

.product-buy-box::after {
    content: "";
    display: table;
    clear: both;
}

.category--publications .factfile_tag {
    background-image: url(../img/img-hg-pubs/tag-ribbon-burgundy.svg);
}

/*
section p + h3 {
    margin-top: 0;
}
*/

/* FACTFILE */
/* price */

.factfile__wrapper ul.pricing_highlights li .current_price {
    font-weight: 600;
    color: #b12a30;
}

.category--publications h4.special_offer {
    color: #b12a30;
}

.woocommerce-variation-price {
    font-size: 2.2rem;
    font-weight: 600;
}

.woocommerce-variation-price .woocommerce-Price-amount {
    color: #b12a30;
}

.woocommerce-variation-price .woocommerce-Price-currencySymbol {
    color: #b12a30;
}

/* .woocommerce-Price-amount::before {
    content: 'Price: ';
    color: #3a444a;
} */

.category--publications .factfile__wrapper .purchase .single_variation_wrap::before {
    content: 'Quantity';
    padding-right: 1.4rem;
    float: left;
    padding-top: 5px;
}

.purchase select option {
    font-size: 1.6rem;
}

.category--publications
.factfile__wrapper
.factfile_rating
.star-rating > span {
    background-image: url(../img/five-stars-crimson.svg);
}

.pub-stock {
    float: right;
}

.layout--pub-product-info .in-stock {
    display: none;
}

#pub-in-stock {
    font-weight: 600;
}

p#pub-in-stock::before {
    content: url(../img/img-hg-pubs/tick-green.svg);
    margin-right: 10px;
}

.reset_variations {
    display: none !important;
}

/* qty box */
.category--publications .layout--pub-product-info .factfile__wrapper .purchase #price label {
    float: left;
    padding-right: 1.4rem;
    padding-top: 5px;
}


/* product title */

section h3, section p, section ul, section ol {
    margin-bottom: 0.5rem;
}

h3.pub-title::after {
    display: none;
}

p.pub-subtitle::after {
    background-color: rgba(221, 50, 64, 0.25);
    height: 8px;
    display: block;
    width: 72px;
    margin: 10px 0 12px;
    content: "";
}

/* variation purchase section */

.factfile__wrapper .purchase .variations {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f7f9fa;
}

.factfile__wrapper .purchase .variations label {
    margin-right: 10px;
}

.factfile__wrapper .purchase .variations select {
    padding: 2px;
    font-size: 2rem;
    width: auto;
    float: right;
    border: none;
}

/* Sidebar */

.pub-sidebar-col {
    position: absolute;
    right: 0;
    top: auto;
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 6.4rem;
}

.sidebar {
    margin: auto 10%;
}

.pub-promo-sidebox {
    background: #faefed;
    padding: 20px 10%;
}


/* Reviews section */

.category--publications
section.layout--reviews #reviews
ol.commentlist
li .comment_container
.comment-text
.star-rating > span,
.category--attended-courses
section.layout--reviews #reviews
.review__statistics .star-rating > span {
    background-image: url(../img/five-stars-crimson.svg);
}

.category--attended-courses
section.layout--reviews #reviews
ol.commentlist li
.comment_container
.comment-text .star-rating > span,
.category--attended-courses
section.layout--reviews #reviews
.review__statistics .star-rating > span {
    background-image: url(../img/five-stars-crimson.svg);
}

.category--publications
section.layout--reviews #reviews
ol.commentlist li
.comment_container
.comment-text .star-rating,
.category--attended-courses
section.layout--reviews #reviews
.review__statistics
.star-rating {
    background-image: url(../img/five-stars-outline-crimson.svg);
}

.category--publications
section.layout--reviews
#reviews
ol.commentlist
li {
    background-image: url(../img/motifs/motif-marshmallow.svg);
}

section.layout--reviews
#reviews
.review__statistics
.star-rating > span {
    display: inline-block;
    height: 18px;
    text-indent: -1000px;
    overflow: hidden;
    background-size: 92px;
    background-repeat: no-repeat;
    float: left;
}


/* Product cards */

.category--publications.card--product
a:hover h2,
.category--publications.card--product
a:focus h2,
.category--publications.card--product
a:active h2 {
    color: #b12a30;
}

.category--publications.card--product
.card__footer
.card__view {
    color: #b12a30;
    background-image: url(../img/arrow-right-burgundy-1.svg);
}

.category--publications.card--product
.card__footer
.product__rating {
    background-image: url(../img/five-stars-outline-crimson.svg);
}

.category--publications.card--product
.card__footer .product__rating > span {
    background-image: url(../img/five-stars-crimson.svg);
}

.category--publications.card--product
.card__image .category {
    background-color: #b12a30;
}

.category--publications.card--product
.card__image .tag {
    background-image: url(../img/img-hg-pubs/tag-ribbon-burgundy.svg);
}

.category--publications.card--product
.card__content h2 span {
    background-image: url(../img/img-hg-pubs/new-flash-burgundy-72-px.svg);
}

.single-product.category--publications
.factfile h3.pub-title span {
    background-image: url(../img/img-hg-pubs/new-flash-burgundy-72-px.svg);
    display: inline-block;
    width: 4.8rem;
    height: 2.8rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    text-indent: -1000px;
    overflow: hidden;
    margin-left: 5px;
}


/* Product listing */

.publications-template-product-listing
.product_listing-outer
.product_listing,
.archive .product_listing-outer .product_listing {
    float: left;
    display: flex;
    flex-wrap: wrap;
}

.publications-template-product-listing
.product_listing_load_more, .archive .product_listing_load_more {
    text-align: center;
    margin-bottom: 4.8rem;
    margin-top: 4.8rem;
}

.publications-template-product-listing
.product_listing_load_more button,
.archive .product_listing_load_more button {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    font-weight: 600 !important;
    line-height: 1.2;
    border-radius: 9999px;
    background-size: auto 2rem;
    background-repeat: no-repeat;
    background-position: right 1.8rem top 53%;
    overflow: hidden;
    background-color: transparent;
    white-space: nowrap;
    min-width: 18rem;
    border: 1px solid transparent;
    padding-bottom: 1.6rem;
    padding-left: 2.2rem;
    padding-right: 5rem;
    padding-top: 1.4rem;
    font-size: 2.2rem;
    line-height: 1.2;
    color: #919da5;
    background-color: transparent;
    background-image: url(../img/arrow-right-granite-1.svg);
    border: 1px solid #919da5;
}

.publications-template-product-listing
.product_listing_load_more button:hover,
.publications-template-product-listing
.product_listing_load_more button:active,
.publications-template-product-listing
.product_listing_load_more button:focus,
.archive .product_listing_load_more button:hover,
.archive .product_listing_load_more button:active,
.archive .product_listing_load_more button:focus {
    border: 1px solid #4a575f !important;
    background-color: #4a575f !important;
    background-image: url(../img/arrow-right-white-1.svg) !important;
    color: #fff !important;
}