/* Scope to catalogue and detail: checkout and account keep their existing templates. */
.medbooks-store{--et_main-color:var(--mb-teal);--et_active-color:var(--mb-teal);background:#fff!important;color:var(--mb-ink);font-family:Arial,Helvetica,sans-serif}
.medbooks-store .content-page{background:#fff}.medbooks-store .container,.medbooks-store .shop-full-width{max-width:1240px;width:100%;padding-left:32px;padding-right:32px;margin-left:auto;margin-right:auto}
.medbooks-store .page-heading{background:#f2f6f6!important;padding:20px 0;margin-bottom:30px}.medbooks-store .woocommerce-breadcrumb,.medbooks-store .breadcrumbs{font-size:12px;color:#6a7d83;line-height:1.6}.medbooks-store .woocommerce-breadcrumb{padding:18px 0}.medbooks-store .page-heading .title{font-family:inherit;font-size:30px;letter-spacing:-.7px}
.mb-shop-intro{clear:both;flex-basis:100%;width:100%;padding:0 0 24px}.mb-shop-intro h1{font-size:36px;line-height:1.15;margin:0 0 12px}.mb-shop-intro>p:last-child{color:#64767c;font-size:15px;margin-bottom:0}.mb-shop-intro .mb-eyebrow{font-size:11px}
.medbooks-store .filter-content{flex-wrap:wrap;gap:15px}.medbooks-store .filter-wrap{padding:18px 0;border-bottom:1px solid #e4ebeb;margin-bottom:26px}.medbooks-store .woocommerce-result-count{font-size:13px;color:#64767c}.medbooks-store .woocommerce-ordering select{min-height:44px;border:1px solid #dce6e6;border-radius:8px;background:#fff;font:inherit;padding:8px 30px 8px 12px}
.medbooks-store .sidebar,.medbooks-store .shop-sidebar{font-size:14px}.medbooks-store .sidebar .widget{padding:20px;background:#f3f7f7;border:1px solid #e6eeee;border-radius:10px;margin-bottom:15px}.medbooks-store .sidebar .widget-title,.medbooks-store .sidebar .widgettitle{font-size:15px;font-weight:700;text-transform:none;letter-spacing:0;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #dce6e6}.medbooks-store .sidebar select,.medbooks-store .sidebar input:not([type=checkbox]):not([type=radio]){max-width:100%;border:1px solid #d7e2e2;border-radius:6px;background:#fff;min-height:42px;font-size:13px}.medbooks-store .sidebar li{margin-bottom:8px;line-height:1.6}.medbooks-store .sidebar .widget li a{color:#40585d}.medbooks-store .sidebar a:hover{color:var(--mb-teal)}
.medbooks-store .main-products-loop .products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px;margin:0!important;padding:0;list-style:none}.medbooks-store .main-products-loop .products:before,.medbooks-store .main-products-loop .products:after{display:none}.medbooks-store .main-products-loop .products>.product{float:none!important;width:100%!important;max-width:100%;padding:0!important;margin:0!important;min-width:0}
.medbooks-store .content-product{border:1px solid #e9eeee;border-radius:12px;background:#fff;padding:14px;overflow:hidden;box-shadow:none;transition:border-color .2s,box-shadow .2s}.medbooks-store .content-product:hover{border-color:#bcd3d1;box-shadow:0 7px 20px #173f3f0a}.medbooks-store .content-product .product-image-wrapper{background:#f3f6f6;border-radius:8px;overflow:hidden}.medbooks-store .content-product .product-content-image img{width:100%;height:265px;object-fit:contain;padding:12px}.medbooks-store .content-product .product-details{text-align:left!important;padding-top:16px}.medbooks-store .content-product .product-title{font-family:inherit;font-size:15px!important;line-height:1.5!important;font-weight:600;text-transform:none;letter-spacing:0;margin:0 0 12px;min-height:45px}.medbooks-store .content-product .price{font-size:18px;font-weight:700;color:var(--mb-ink);line-height:1.5}.medbooks-store .price del{color:#7c8b90;font-size:.75em;font-weight:400}.medbooks-store .price ins{background:none;text-decoration:none}.medbooks-store .content-product .button{border-radius:7px;text-transform:none;font-size:13px;letter-spacing:0}.medbooks-store .onsale,.medbooks-store .sale-wrapper{border-radius:20px;background:#bc4147;color:#fff;font-size:11px}
.medbooks-store .woocommerce-pagination{margin:35px 0}.medbooks-store .woocommerce-pagination .page-numbers{border-radius:7px}.medbooks-store .woocommerce-pagination .current{background:var(--mb-teal)!important;color:#fff!important}
.mb-product-page{padding-top:22px;padding-bottom:45px}.mb-book-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:65px;align-items:start;margin-top:22px;margin-bottom:48px}.mb-book-layout>.mb-book-gallery,.mb-book-layout>.mb-book-summary{float:none!important;width:100%!important;max-width:100%;margin:0!important;padding:0!important;min-width:0}.mb-book-gallery{position:relative;background:#f2f6f6;border-radius:14px;padding:28px!important}.mb-book-gallery .woocommerce-product-gallery{float:none!important;width:100%!important;margin:0!important}.mb-book-gallery .woocommerce-product-gallery__image img,.mb-book-gallery .main-images img{max-height:560px;width:100%;object-fit:contain}.mb-book-gallery .swiper-slide img{object-fit:contain}.mb-book-summary .product_title,.mb-book-summary h1{font-family:inherit;font-size:clamp(26px,3vw,38px)!important;line-height:1.18!important;letter-spacing:-.8px!important;margin:0 0 24px!important;font-weight:700;color:var(--mb-ink)}.mb-book-summary .price{font-size:30px;font-weight:700;color:var(--mb-teal);margin:0 0 22px}.mb-book-summary .woocommerce-product-details__short-description{font-size:15px;line-height:1.8;color:#52666d;margin-bottom:24px}.mb-book-summary .cart{padding:24px 0;margin:16px 0 22px;border-top:1px solid #e1e9e9;border-bottom:1px solid #e1e9e9}.mb-book-summary .quantity{border:1px solid #d7e2e2;border-radius:8px;min-height:48px;overflow:hidden}.mb-book-summary .quantity input{border:0;min-height:46px;width:48px;font-size:16px}.mb-book-summary .single_add_to_cart_button{background:var(--mb-teal)!important;border-color:var(--mb-teal)!important;color:white!important;min-height:48px;border-radius:8px;font:600 15px Arial,Helvetica,sans-serif!important;text-transform:none!important;letter-spacing:0!important;padding:12px 26px!important}.mb-book-summary .single_add_to_cart_button:hover{background:#074744!important}.mb-book-summary .single_add_to_cart_button.disabled{opacity:.5}.mb-book-summary .product_meta{font-size:13px;line-height:1.8;color:#61757b}.mb-book-summary .product_meta>span{display:block;margin-bottom:8px}.mb-book-summary .stock{font-size:13px;color:var(--mb-teal)}.mb-book-summary table.variations{width:100%}.mb-book-summary .variations select{border:1px solid #d7e2e2;border-radius:6px;min-height:44px;width:100%}
.mb-book-information{border-top:1px solid #e0e9e9;padding-top:28px;clear:both}.mb-book-information .woocommerce-tabs,.mb-book-information .tabs,.mb-book-information .tab-content{width:100%!important;float:none!important;max-width:100%;margin-left:0;margin-right:0}.mb-book-information .tab-content{font-size:16px;line-height:1.85;color:#40585f}.mb-book-information .tab-content-inner{padding:22px 0!important}.mb-book-information .tab-content p{max-width:85ch;line-height:1.85}.mb-book-information .tabs .tab-title{font-family:inherit;font-size:15px;font-weight:600;text-transform:none;letter-spacing:0}.mb-book-information table{width:100%;border-collapse:collapse}.mb-book-information th,.mb-book-information td{padding:13px 16px;text-align:left;border-bottom:1px solid #e6eded;font-size:14px}.mb-book-information tr:nth-child(odd){background:#f4f8f8}.mb-book-information .related-products-title,.mb-book-information .products-title{font-size:26px;margin:35px 0 25px}.mb-book-information .products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.mb-book-information .products:before,.mb-book-information .products:after{display:none}.mb-book-information .products>.product{width:100%!important;float:none;padding:0;margin:0}
@media(min-width:1100px){.medbooks-store .sidebar-position-without .main-products-loop .products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){.mb-book-layout{gap:30px}.medbooks-store .main-products-loop .products{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-book-information .products{grid-template-columns:repeat(2,minmax(0,1fr))}.medbooks-store .content-product .product-content-image img{height:230px}}
@media(max-width:700px){.medbooks-store .container,.medbooks-store .shop-full-width{padding-left:20px;padding-right:20px}.mb-product-page{padding-top:12px}.mb-book-layout{grid-template-columns:1fr;gap:28px;margin-top:15px;margin-bottom:30px}.mb-book-gallery{padding:20px!important}.mb-book-gallery .main-images img,.mb-book-gallery .woocommerce-product-gallery__image img{max-height:390px}.mb-book-summary h1{font-size:28px!important}.mb-book-summary .price{font-size:26px}.mb-book-summary .cart{padding:18px 0}.mb-book-summary .single_add_to_cart_button{padding:12px 18px!important}.medbooks-store .main-products-loop .products{gap:20px 12px}.medbooks-store .content-product{padding:8px;border-radius:8px}.medbooks-store .content-product .product-content-image img{height:195px;padding:6px}.medbooks-store .content-product .product-title{font-size:13px!important;min-height:58px}.medbooks-store .content-product .price{font-size:16px}.mb-book-information .tab-content{font-size:15px}.mb-shop-intro h1{font-size:30px}.mb-book-information .products{gap:12px}.medbooks-store .sidebar .widget{padding:15px}}
@media(prefers-reduced-motion:reduce){.medbooks-store .content-product{transition:none}}

/* XStore adds .ajax-content between .products and its cards when AJAX is on.
   Span the outer grid and share its tracks instead of nesting percentage columns. */
.medbooks-store .main-products-loop{min-width:0}
.medbooks-store .main-products-loop .products{width:100%;max-width:100%;min-width:0}
.medbooks-store .main-products-loop .products>.ajax-content,
.mb-book-information .products>.ajax-content{
 display:grid!important;
 grid-column:1 / -1;
 grid-template-columns:inherit;
 gap:inherit;
 width:100%!important;
 max-width:100%;
 min-width:0;
 margin:0!important;
 padding:0!important;
}
.medbooks-store .main-products-loop .products>.ajax-content:before,
.medbooks-store .main-products-loop .products>.ajax-content:after,
.mb-book-information .products>.ajax-content:before,
.mb-book-information .products>.ajax-content:after{display:none!important}
.medbooks-store .main-products-loop .products>.product,
.medbooks-store .main-products-loop .products>.ajax-content>.product,
.mb-book-information .products>.product,
.mb-book-information .products>.ajax-content>.product{
 float:none!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0;
 flex-basis:auto!important;
 margin:0!important;
 padding:0!important;
}
/* Keep the native list switch functional as well as the grid view. */
.medbooks-store .main-products-loop .products.products-list{grid-template-columns:minmax(0,1fr)!important}

/* A white canvas prevents grey letterboxing around white product photography. */
.medbooks-store .mb-book-gallery{background:#fff!important}
.mb-book-gallery .mb-static-product-image{display:block;cursor:default}
.mb-book-gallery .zoomImg,
.mb-book-gallery .woocommerce-product-gallery__trigger{display:none!important}
