/**
* Theme Name: BookChoix Child
* Description: This is a child theme of BookChoix.
* Author: AcmeeDesign Softwares and Solutions
* Template: bookchoix
* Version: 1.0.0
*/
.related-post-title{
	font-size:16px;
    font-weight:500;
    line-height:normal;
    margin: 0;
    padding: .7rem 0;
}
#content-wrap .woocommerce-info:before, .entry-header .post-meta span.author, .entry-header .post-meta span.author a, .single-product .summary, .single-product label, .woocommerce-cart .woocommerce .shop_table td.product-price .amount, .woocommerce-input-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered{
	color:#000;
}

ul, ol {
	list-style:disc;
}
.content404 {
    height: calc(100vh - 250px);
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.blog-wrap .entry-header .entry-title{
	width:100%;
    max-width:100%;
    font-size:30px
}
.elementor-image-box-img{
	max-width:350px;
}
.elementor-section .elementor-container{
	height:100%;
}

.blog-content-wrap img, .blog-wrap .featured-image, .single figure img, body .elementor img, body .entry-content img, body figure, body img{
	border-radius:0;
}
.post-content p, .post-content ul{
	font-size:15px;
}

/**
* You can add your custom styles here
*/

/* Product card display */
.sap_card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sap_card-container a.no-lightbox,
.sap_card-container #book_box {
    text-align: center;
}

.sap_card.active {
    background-color: #efefef;
    opacity: 1;
    border: #747474 1px solid;
    border-radius: 11px;
}

.sap_card {
  flex: 0 0 auto;
  padding: 8px;
}

.sap_card img {
  width: 100px;
  height: auto;
}

.sap_card-details {
  text-align: center;
  font-size: 12px;
  margin: 0px !important;
}

.sap_card-format {
    margin: 5% 0%;
}

h5.sap_card-format {
    font-size: 12px;
}
.sap_card-container a.no-lightbox,
.sap_card-container #book_box {
    width: calc(50% - 10px);
    box-sizing: border-box;
}

/* Phone Portrait */
@media screen and (max-width: 400px) {
	.sap_card-details {
        font-size: 10px;
    }
    
    h5.sap_card-format {
        font-size: 10px;
    }
}

/* Tablet Portrait */
@media screen and (min-width: 768px) {
	.sap_card-container a.no-lightbox,
    .sap_card-container #book_box {
		width: calc(50% - 10px);
	}
}

/* Desktop Portrait */
@media screen and (min-width: 1200px) {
	.sap_card-container a.no-lightbox,
    .sap_card-container #book_box {
		width: calc(25% - 20px);
	}
}

/* Book extract / description display logic */
.bookContent {
    max-height: 650px; /* Adjust this value as needed */
    overflow: hidden;
    transition: max-height 0.3s ease;
	background-color: #F6F6F6;
    padding: 20px;
}

.displayButtons {
    display: flex;
}


/* Authors books */
.author_titles {
    display: flex;
    flex-wrap: wrap;
}

.author_box {
    width: 220px;
}

@media screen and (min-width: 1025px) {
    .author_box {
        width: 20%;
    }

    .author_box img {
        max-width: 80%;
        height: auto;
    }
}

/* Remove product categories from archive */
#sapnet_author_title .product-cats {
    display: none;
}

#sapnet_author_title a.shopengine_comparison_add_to_list_action.shopengine-comparison.badge.se-btn.active {
    display: none;
}

#sapnet_author_title a.shopengine_add_to_list_action.shopengine-wishlist.badge.se-btn.inactive {
    display: none;
}

/* Remove default list styles */
ul#buy_list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Style each list item's anchor tag as a button */
ul#buy_list li a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #efefef;
	border: 1px solid #747474;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    width: 248px;
    transition: background-color 0.3s ease;
}


ul#buy_list li a:hover {
    background-color: #ccc;
}

/* Style the image */
ul#buy_list li a img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

.c-retailers__retailer-arrow {
    margin-left: auto;
    margin-right: 5px;
    width: 7px;
    height: 11px;
}

/* Product categories and tags */
.product-category-tag {
    font-size: 14px;
    color: #101010;
    font-weight: 500;
}

.product-category-tag a,
.product-category-tag .posted_in span {
    color: #A0A0A0;
}

.product-category-tag a:hover {
    color: #101010;
}

/* Product Gallery */
.elementor-widget-container .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    width: 100%;
}

.pswp__zoom-wrap {
    transform: none !important;
}

.pswp__img {
    display: block;
    max-height: 90vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.blog-wrap .entry-header{
	text-align:left;
    width:100%;
}
.blog-wrap .entry-header .entry-title{
	margin:0 0 15px;
}
.extract {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.product-extract {
    padding: 0 1rem 1rem;
    width: 100%;
    flex: 1 1 300px;
}
.content{
	flex:1 1 600px;
}
.featured-image img, .blog-wrap .featured-image{
	border-radius:0;
    width:100%;
}
.blog-wrap .post .post-categories a{
	padding:0;
}
.post-date{
	text-transform:UPPERCASE;
    font-size:13px;
}
.extract-heading{
    width: calc(100% + 2rem);
    margin-left: -1rem;
    padding: 1rem;
    font-size: 14px;
    text-transform: UPPERCASE;
    background: #f1f1f1;
}
#content-wrap .apps-image {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    margin:0;
}
#content-wrap .apps-image > *{
    margin:0;
}
figure.related-post-media{
	max-height:none;
}