/* Woocommerce layout Rtl */
.woocommerce-error .button,.woocommerce-info .button,.woocommerce-message .button{float:left}
.product .images{float:right;width:48%}
.custom-product-fields{display:flex;justify-content:space-between}
.custom-visitor-count{color:#294458;padding:0 0 12px 0;font-weight:700}
.shelf-num-top span{color:#aaa}
.single-product .summary{display:inline-block;margin-right:80px;width:44%}
#tab-description p{font-size:19px}
.woocommerce-product-details__description{padding:15px 0 50px;}
.woocommerce-tabs{clear:both;padding-top:35px;max-width:100%}
.woocommerce-tabs .tabs::after, .woocommerce-tabs .tabs::before{content:" ";display:table}
.woocommerce-tabs .tabs::after {clear:both}.woocommerce-tabs .tabs li{display:inline-block}
/* Woocommerce Rtl */
.clear{clear:both}
.woocommerce .blockUI.blockOverlay{position:relative}
.woocommerce a.remove{display:block;font-size:1.5em;height:1em;width:1em;text-align:center;line-height:1;border-radius:100%;color:red!important;text-decoration:none;font-weight:700;border:0}
.woocommerce a.remove:hover{color:#fff!important;background:red}
.woocommerce small.note{display:block;color:#767676;font-size:.857em;margin-top:10px}
.woocommerce .woocommerce-breadcrumb{margin:0 0 1em;padding:0;font-size:.92em;color:#767676}
.woocommerce .woocommerce-breadcrumb::after,.woocommerce .woocommerce-breadcrumb::before{content:" ";display:table}
.woocommerce .woocommerce-breadcrumb::after{clear:both}
.woocommerce .woocommerce-breadcrumb a{color:#767676}
.single-product .quantity{display:none}
.woocommerce .quantity .qty{width:3.631em;text-align:center}
.woocommerce .product{margin-bottom:0;position:relative}
.woocommerce .product .product_title{font-size:24px;margin:0 0 8px 0}
.woocommerce .product .product_title a:hover{text-decoration:underline;color:#34495e;transition-property:none}
.woocommerce .product .summary div{padding:2px 0}
.woocommerce .product .price ins,.woocommerce .product .price ins{background:inherit;font-weight:700;display:inline-block}
.woocommerce .product .price del,.woocommerce .product .price del{opacity:.5;display:inline-block}
.price bdi{color:#097b6b;font-weight:400}
.price .admin-price span bdi{color:red}
.woocommerce .product .stock{color:#097b6b}
.woocommerce .product .out-of-stock{color:#DB2B39}
.woocommerce .product .images{margin-bottom:2em}
.woocommerce .product .images .thumbnails{padding-top:1em}
.woocommerce .product .images.woocommerce-product-gallery{position:relative;float:right;width:auto;clear:none}
.product-publishers a,.product-authors a{text-decoration:underline}
.product-publishers a:hover,.product-authors a:hover{color:hotpink}
.product-publishers strong,.product-authors strong{color:#000}
.on-sale-tag{position:absolute;top:0;left:10px;background-color:#4f45b2;color:#fff;padding:10px;font-size:14px;font-weight:bold;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;z-index:10;}
/* Shop content */.page-description{margin-bottom:50px}
.hidden{display:none}
.short-content h2{font-size:24px;color:#240a30;border-bottom:1px solid #666;padding-bottom:10px;margin-bottom:20px}
.woocommerce .product .images.woocommerce-product-gallery{position:relative;float:right;width:auto;clear:none}
.woocommerce-product-gallery__image a img{box-shadow:rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;border-radius:8px}
.woocommerce .product .images .woocommerce-product-gallery__wrapper .zoomImg{background-color:#fff;opacity:0;cursor:zoom-in}
.woocommerce .product .images .woocommerce-product-gallery__image--placeholder{border:1px solid #f2f2f2}
.woocommerce .product .images .woocommerce-product-gallery__image:nth-child(n+2){width:25%;display:inline-block}
.woocommerce .product .images .woocommerce-product-gallery__trigger{position:absolute;top:.5em;left:.5em;font-size:2em;z-index:9;width:36px;height:36px;background:#fff;text-indent:-9999px;border-radius:100%;box-sizing:content-box}
.woocommerce .product .images .woocommerce-product-gallery__trigger::before{content:"";display:block;width:10px;height:10px;border:2px solid #000;border-radius:100%;position:absolute;top:9px;right:9px;box-sizing:content-box}
.woocommerce .product .images .woocommerce-product-gallery__trigger::after{content:"";display:block;width:2px;height:8px;background:#000;border-radius:6px;position:absolute;top:19px;right:22px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);box-sizing:content-box}
.woocommerce .product .images .flex-control-thumbs{overflow:hidden;isolation:isolate;margin:0;padding:0}
.woocommerce .product .images .flex-control-thumbs li{width:25%;float:right;margin:0;list-style:none}
.woocommerce .product .images .flex-control-thumbs li img{cursor:pointer;opacity:.5;margin:0}
.woocommerce .product .images .flex-control-thumbs li img.flex-active,.woocommerce .product .images .flex-control-thumbs li img:hover{opacity:1}.woocommerce .product .summary{margin-bottom:2em}
.woocommerce .tabs{list-style:none;padding:0 1em 0 0;margin:0 0 1.618em;overflow:hidden;position:relative;display:flex}
.woocommerce .tabs li{background:#eee;border:1px solid #ccc;color:#333;display:inline-block;position:relative;z-index:0;border-radius:4px 4px 0 0;margin:0 -5px;padding:0 1em;border-bottom-color:#fff}
.woocommerce .tabs li a{display:inline-block;padding:.5em 0;font-weight:700;color:#333;text-decoration:none;font-size:1.2em}.woocommerce .tabs li a:hover{text-decoration:none;color:#6b6b6b}
.woocommerce .tabs .active{background:#240A30;color:#fff;z-index:2;border-bottom-color:#4f34eb}
.woocommerce .tabs .active a{color:#fff;text-shadow:inherit;border-bottom:3px solid #4f34eb}
.woocommerce .tabs .active a:hover{color:#ddd}
.woocommerce .tabs .active::before{box-shadow:-2px 2px 0 #4f34eb}
.woocommerce .tabs .active::after{box-shadow:2px 2px 0 #4f34eb}
.woocommerce .tabs li::after,.woocommerce .tabs li::before{border:1px solid #d3ced2;position:absolute;bottom:-1px;width:5px;height:5px;content:" ";box-sizing:border-box}
.woocommerce .tabs li::before{right:-5px;border-bottom-left-radius:4px;border-width:0 0 1px 1px}
.woocommerce .tabs li::after{left:-5px;border-bottom-right-radius:4px;border-width:0 1px 1px 0}
.woocommerce .tabs::before{position:absolute;content:" ";width:100%;bottom:0;right:0;border-bottom:1px solid #d3ced2;z-index:1}
.read-more-btn,.read-less-btn {background:#ff4500;border-radius:999px;box-shadow:#000 0 10px 20px -10px;box-sizing:border-box;color:#fff;cursor:pointer;font-size:16px;font-weight:700;line-height:24px;opacity:1;outline:0 solid transparent;padding:8px 18px;user-select:none;touch-action:manipulation;width:fit-content;word-break:break-word;border:0;margin:20px 0 15px;font-family:'Miriam';font-size:19px;transition:background-color 0.3s ease;}
.read-more-btn:hover,.read-less-btn:hover{background-color:#ff4500}
    .description-content{max-height:100px;overflow:hidden;transition:max-height 0.5s ease-in-out;}
    .expanded{max-height:1000px;}

.woocommerce .woocommerce-tabs .panel{margin:0 0 .8em;padding:0px 15px 15px}
.woocommerce-tabs p a{text-decoration:underline;color:#0000ee}
.product_meta {display: grid;grid-template-columns:repeat(2, 1fr);gap:5px;padding-bottom:50px;border-bottom:1px solid #ccc}
.product_meta div,.product_meta .rank-math-gtin-wrapper{display:flex;align-items:center;background-color:#eeefff;padding:10px;border-radius:4px;box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1)}.custom-text{font-size:.76em;margin-top:5px}
.series-title{display:none}.series-title-link{text-decoration:underline;color:#0000ee}
.series-title-link:hover{color:hotpink}
.book-name-english{text-align:left}
/*Other-sellers*/
#advanced-seller-inventory-form{border:1px solid #ddd;padding:20px;margin-top:20px;background-color:#f8f8f8;display:inline-block;width:30%}#advanced-seller-inventory-form label{display:block;margin-top:10px}#advanced-seller-inventory-form input[type="text"],#advanced-seller-inventory-form input[type="email"]{width:100%;padding:8px;margin-top:5px}#advanced-seller-inventory-form button{margin-top:15px;padding:10px 15px;background-color:#0071a1;color:#fff;border:none;cursor:pointer}#advanced-seller-inventory-form button:hover{background-color:#005a87}#seller-inventory-response p{color:#3DDC97;font-family:'MiriamBold';padding:20px 5px 0;} .seller-info-hr{margin:0 0 25px}@media (max-width:768px){#advanced-seller-inventory-form{width:100%}}.seller-info-wrapper{background-color:#000}.seller-info{border:1px solid #ddd;border-radius:5px;padding:15px;margin-bottom:15px;background-color:#f9f9f9}.seller-info p{margin:8px 0;font-size:15px;color:#333;padding:0 8px 0}.seller-info p strong{font-weight:600;color:#555}.seller-info a{color:#0071a1;text-decoration:none}.seller-info a:hover{text-decoration:underline}.seller-info h3{font-size:18px;color:#333;margin-bottom:10px;font-weight:700}.seller-info .contact-options{display:flex;gap:10px;margin-top:10px}.seller-info .contact-options a{background-color:#0071a1;color:#fff;padding:8px 12px;border-radius:3px;text-decoration:none;font-size:14px;font-weight:bold}.seller-info .contact-options a:hover{background-color:#005a87}
#advanced-seller-inventory-form select[name="shelf_number"]{width:30%;padding:10px;margin-top:8px;border:1px solid #666;border-radius:4px;background-color:#fff;}
#advanced-seller-inventory-form select[name="shelf_number"]:focus{border-color:#0071a1;outline:none;background-color:#fff;}
#advanced-seller-inventory-form label {font-weight:bold;margin-top:15px;display:block;}
#advanced-seller-inventory-form select[name="shelf_number"] option {padding:10px;}
@media (max-width:768px){.seller-info{padding:12px}.seller-info h3{font-size:16px}.seller-info p{font-size:14px}.seller-info .contact-options{flex-direction:column;gap:5px}.seller-info .contact-options a{width:100%;text-align:center;padding:10px 0;font-size:14px}}@media (max-width:480px){.seller-info{padding:10px}.seller-info h3{font-size:15px}.seller-info p{font-size:13px}.seller-info .contact-options a{padding:8px 0;font-size:13px}}
/* Products */
.woocommerce .products,.woocommerce .products .product{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;text-align:center}
.woocommerce .products .product{flex:1 1 calc(24.333% - 20px);display:flex;flex-direction:column;align-items:center;margin-bottom:20px;box-shadow: 0 4px 6px rgba(0,0,0,0.1);background:#fff;padding:10px;transition: box-shadow 0.3s ease, transform 0.3s ease;justify-content:space-between;border-radius:8px}
.woocommerce .products .product:hover{box-shadow: 0 6px 10px rgba(0,0,0,0.15);   transform:translateY(-5px);}
.woocommerce .products .product a{font-family:'Miriam';font-size:18px}
.woocommerce .products .product .woocommerce-LoopProduct-link{width:100%;text-align:center;padding:10px}
.woocommerce-loop-category__title,.woocommerce-loop-product__title{padding:.5em 0;margin:0 auto 5px;font-size:22px;width:88%}
.woocommerce .products .product a img{height:auto;display:block;margin:0 auto 10px;box-shadow:none}
.woocommerce .products .product strong{display:block}
.woocommerce .products .product .woocommerce-placeholder{border:1px solid #f2f2f2}
.woocommerce .products .product .icon-cart{margin-right:10px;font-size:15px;color:#fff;border-radius:5px;font-size:15px;border-top-right-radius:0;border-bottom-right-radius:0}
.woocommerce .products .product .price{color:#097b6b;display:block;font-weight:400;margin-bottom:.5em;font-size:1.143em}
.woocommerce .products .product .price .from{font-size:1em;margin:-2px 0 0 0;text-transform:uppercase;color:rgba(132,132,132,.5)}
.woocommerce .woocommerce-result-count{margin:0 0 1em}
.woocommerce-Tabs-panel--test_tab{display:flex}
.woocommerce .onsale-page-btn .button{background-color:#4f45b2}
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{cursor:pointer;position:relative;text-decoration:none;overflow:visible;font-size:17px;padding:10px 20px;border-radius:8px;right:auto;color:#fff;background:#3B60E4;border:0;display:inline-block;text-shadow:none;margin-bottom:13px;margin-top:10px;transition:background-color 0.3s, box-shadow 0.3s;box-shadow:0 4px 8px rgba(0, 0, 0, 0.1);}
.single-product .cart button.button:after{font-family:'icomoon';content:"\e900";margin-right:8px;font-size:17px}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{opacity:.7;text-decoration:none;color:#fff}input#submit.disabled,a.button.disabled,button.button:disabled[disabled],input.button.disabled,input.button:disabled,input.button:disabled[disabled]{color:inherit;cursor:not-allowed;opacity:.5;padding:.618em 1em;color:#eee}.woocommerce td.product-quantity{min-width:80px}
.woocommerce form .form-row{padding:3px;margin:0 0 6px}
/* WooCommerce Messages Styling */
.woocommerce-error, .woocommerce-info, .woocommerce-message { 
display:flex;align-items:center;justify-content:space-between;border-radius: 12px; padding:15px;padding: 15px 25px 15px 0px;background:lavender;margin:20px 0 40px}
.woocommerce-error{border-top:3px solid #ff5a5f}
.woocommerce-info{border-top:3px solid #2196f3}
.woocommerce-message {min-height: 67px;width: 560px;border-radius: 12px;padding: 16px 22px 17px 20px;display:flex;align-items:center;justify-content: space-between;border-top:3px solid #12c99b}
/* Single Bottom Content */
.colour-block{background:#383740;border-radius:50px;box-shadow:rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;width:100%;padding:3% 5% 2% 10%;color:#fff;margin-top:60px}.colour-block img{margin-top:25px}
.colour-block span{margin:20px 10px 15px;display:block;padding:5px 0 0 0;text-align:left}
.colour-block span:after{font-family:icomoon;content:"\e98f \e93f";font-size:20px;margin-right:5px;vertical-align:middle}
.colour-block p{padding:10px 15px 0 5px}
/* Book Rarity */
.book-rarity{font-weight:bold;position:relative;display:inline-block;right:22px}
.woocommerce .product .summary .book-rarity{padding:10px 6px 0}
.diamond-icon::after{content:"\e902";font-family:icomoon;position:absolute;right:-25px;top:54%;transform:translateY(-50%);font-size:1.55em;animation:shine 1.5s infinite alternate;font-weight:100}
.common .diamond-icon::after,.common{color:#666;content:"\e902";}
.uncommon .diamond-icon::after,.uncommon{color:#27AE60;content:"\e903"}
.uncommon .diamond-icon::after{font-size: 21px}
.rare .diamond-icon::after,.rare{color:#CC9933;content:"\e904"}
.rare .diamond-icon::after{font-size: 24px}.epic .diamond-icon::after,.epic{color:#6528F7;content:"\e905"}
.legendary .diamond-icon::after,.legendary{color:#FF5B00;content:"\e906"}
@keyframes shine{0%{opacity:1}50%{opacity:.7}100%{opacity:1}}
/*Summery*/.summary.entry-summary p{margin:0;line-height:1.8}
/* My Woocommerce Style */
.woocommerce-product-details__short-description{margin-top:5px}
.woocommerce-product-details__short-description a{text-decoration:underline;color:#0033ff;font-size:1em}
.woocommerce .related{margin-top:40px}
.related-title{padding:30px 0 20px}
.page-title{position:relative;font-weight:300;font-size:32px;padding-bottom:20px}
.related-h4{position:relative;font-size:24px;padding-bottom:20px}
.page-title:before, .related-h4:before{width:30px;height:3px;content:"";position:absolute;bottom:8px;right:0;background-color:#5f57fa}
.author-new-field p a{text-decoration:underline;color:#0033ff}
.page_content .woocommerce{width:1020px;margin:0 auto;padding:0}
.woocommerce-pagination{padding:20px;text-align:center;margin-top:60px;}
/* Product Cat Dropdown */
.woocommerce .woocommerce-ordering{margin:0 0 1em;right:480px;position:absolute}
#product_cat{margin-bottom:40px}
#product_cat:checked,#product_cat:not(:checked), .woocommerce-ordering .orderby:checked,.woocommerce-ordering .orderby:not(:checked){position:relative;font-size:13px;height:40px;transition:all 200ms linear;border-radius:4px;width:190px;letter-spacing:0.6px;text-align:center;border:none;background-color:#ddd;cursor:pointer;color:#102770;padding:0 10px}
/*product-tags*/
.term-description p img{box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;border-radius:12px}
/* Out of Stock Alert */
#out_of_stock_notify{background-color:#cef9f2;color:#fff;padding:15px;border-radius:10px;width:68%;}
#out_of_stock_notify h5{font-size:1.1em;margin-bottom:15px;font-weight:400}
#out_of_stock_notify input[type="email"]{width:80%;padding:10px;margin-bottom:10px;border:0;border-radius:5px;}
#out_of_stock_notify button{background-color:#590925;color:#fff;padding:10px 20px;border:0;border-radius:5px;cursor:pointer;box-shadow:0 4px 8px rgba(0,0,0,0.1);transition:all .3s;}
#form_response{margin-top:10px;color:#590925;}
#show_out_of_stock_popup{background-color:transparent;color:#590925;border:none;border-radius:4px;padding:5px 0;font-size:15px;cursor:pointer;transition:0.3s ease;text-decoration:underline}
#show_out_of_stock_popup:hover{color:#999}
.popup{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.8);z-index:9999;}
.popup-content{position:relative;margin:10% auto;padding:20px;background:#fff;width:50%;background:transparent}
.popup-close{cursor:pointer;font-size:21px;color:#fff;background:#000;width:30px;height:30px;line-height:1.2;text-align:center;border-radius:50%;display:block;float:left}
.total-subscriber-count{color:#3b60e4;margin-top:20px}
/* other books by this author */
.other-books-by-author{padding:20px 30px;margin:25px auto;display:inline-block;width:100%}
/* Author's Page */
.author-wikipedia{border:1px solid #ccc;padding:20px;margin-top:20px;border-radius:8px;background-color:#f9f9f9;font-size:19px}
.author-wikipedia strong{font-size:18px;margin-bottom:10px;display:block}
.wiki-paragraph{font-size:16px;margin-top:10px}.wiki-image img{max-width:100%;height:auto;margin-top:10px}
.author-wikipedia a{text-decoration:underline;font-style:italic;font-weight:700;padding-right:5px}
/* Magnificent Popup *//* Adjust close button size for mobile devices */
@media (max-width: 767px) {
	.woocommerce .product .product_title{font-size:20px}
		.product_meta{display:inline-block;width:100%;}
	.product_meta div{margin:5px;width:100%}
	.short-content{padding:25px 15px 0 10px}
	.button-container{padding:0 15px 0 0}
	.short-content h2{font-size:21px}
	.mfp-close {font-size:28px;top:0;right:0;width:44px;height:44px;line-height:44px}
	.mfp-content{padding:5px}
	.product .summary{margin-right:5px;width:100%}
	.woocommerce .products .product a img{width:90%}
	.woocommerce-loop-product__title{font-size:1em}
	.woocommerce .products .product .price{font-size:1.05em}
	.woocommerce a.button{padding:0.92em 1.3em}
	.woocommerce-message{width:100%;display:flex;flex-wrap:wrap;padding:15px}
		#out_of_stock_notify{width:100%;}.popup-content{width:100%;}
	.other-books-by-author{padding:15px 20px;display:block;width:100%}
	.lower-header{width:100%}
.custom-visitor-count{padding:0 0 10px 0}
.woocommerce .tabs{padding:0 0 0 .7em}
		.woocommerce .woocommerce-tabs .panel{padding:0}
	.woocommerce .tabs li a{letter-spacing:0;font-size:0.92em}}
@media screen and (max-width: 1170px){
	.woocommerce .woocommerce-ordering{position:static}
	.page_content .woocommerce{width:100%}}
@media screen and (min-width: 767px){
	#customHeader .container{height:155px;display:flex;flex-direction:column;}
	.woocommerce-pagination{padding:20px 0}}
@media (max-width:1170px){.woocommerce .products .product{width:33%}}
@media (max-width:767px){.woocommerce .products .product{width:42%}}
@media (max-width:480px){.woocommerce .products .product{width:48%}}
@media (max-width: 768px){.woocommerce .products .product{flex-basis:calc(50% - 20px);}}
@media (max-width: 480px){.woocommerce .products .product{flex-basis:100%;}}
