/* YBS site-wide restyle (2026-11-01) — keeps shop, product, cart, blog pages inside the new
   Shakespeare & Co / rounded "atmosphere" of the homepage. Relies on the variables in home-ybs.css. */
body.ybs-body{background:var(--ybs-cream);color:#3a3732;font-family:Montserrat,var(--ybs-mm)}
body.ybs-body .books-search{display:none!important}
body.ybs-body h1,body.ybs-body h2,body.ybs-body h3,body.ybs-body h4{color:var(--ybs-ink);font-family:Montserrat,var(--ybs-mm)}
body.ybs-body a{color:var(--ybs-teal)}
body.ybs-body .main-content{padding-top:26px}
body.ybs-body .main-content-container{max-width:1240px}

/* buttons everywhere -> pill */
body.ybs-body .button,body.ybs-body button.button,body.ybs-body input[type=submit],body.ybs-body .btn,
body.ybs-body .woocommerce #respond input#submit,body.ybs-body .woocommerce a.button,body.ybs-body .woocommerce button.button,body.ybs-body .woocommerce input.button,
body.ybs-body .wc-block-components-button,body.ybs-body .checkout-button,body.ybs-body .single_add_to_cart_button{
	border-radius:999px!important;background:var(--ybs-ink)!important;color:#fff!important;border:0!important;font-family:var(--ybs-mm)!important;font-weight:700!important;
	padding:10px 22px!important;line-height:1.7!important;text-transform:none!important;letter-spacing:.01em!important;transition:.2s!important;box-shadow:0 6px 16px rgba(0,0,0,.1)}
body.ybs-body .button:hover,body.ybs-body .woocommerce a.button:hover,body.ybs-body .woocommerce button.button:hover,body.ybs-body .single_add_to_cart_button:hover,body.ybs-body input[type=submit]:hover{background:var(--ybs-amber)!important;color:#fff!important;transform:translateY(-1px)}
body.ybs-body .single_add_to_cart_button,body.ybs-body .checkout-button,body.ybs-body #place_order{background:var(--ybs-amber)!important;font-size:15px!important;padding:12px 30px!important}
body.ybs-body .single_add_to_cart_button:hover,body.ybs-body .checkout-button:hover,body.ybs-body #place_order:hover{background:var(--ybs-ink)!important}

/* inputs */
body.ybs-body input[type=text],body.ybs-body input[type=email],body.ybs-body input[type=tel],body.ybs-body input[type=password],body.ybs-body input[type=number],body.ybs-body textarea,body.ybs-body select,body.ybs-body .form-control{border:1.5px solid var(--ybs-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;padding:9px 14px!important;font-family:var(--ybs-mm)!important}
body.ybs-body input:focus,body.ybs-body textarea:focus,body.ybs-body select:focus{border-color:var(--ybs-amber)!important;box-shadow:0 0 0 4px rgba(232,146,51,.15)!important;outline:0}
body.ybs-body .quantity .qty{width:72px;text-align:center;border-radius:999px!important}

/* shop / category grid cards */
body.ybs-body ul.products li.product .product-inner{background:#fff;border-radius:18px;padding:14px 14px 16px;box-shadow:0 4px 18px rgba(0,0,0,.05);transition:.25s;border:0}
body.ybs-body ul.products li.product:hover .product-inner{transform:translateY(-5px);box-shadow:0 16px 32px rgba(0,0,0,.12)}
body.ybs-body ul.products li.product .product-image-box{border-radius:12px;overflow:hidden;margin:0 0 12px;box-shadow:0 6px 16px rgba(0,0,0,.1)}
body.ybs-body ul.products li.product .product-image-box img{border-radius:12px;width:100%;height:auto}
body.ybs-body ul.products li.product .woocommerce-loop-product__title{font-family:var(--ybs-mm);font-size:13px;line-height:1.7;font-weight:700;color:var(--ybs-ink);margin:0 0 2px}
body.ybs-body ul.products li.product .person-name{font-size:12px;color:var(--ybs-muted);display:block}
body.ybs-body ul.products li.product .price{display:inline-block;background:var(--ybs-sun);color:var(--ybs-ink);border-radius:999px;padding:2px 10px;font-size:12px;font-weight:700;margin-top:6px}
body.ybs-body ul.products li.product .woo-button-wrapper{margin-top:10px}
body.ybs-body ul.products li.product .woo-button-border{border:0;display:flex;gap:6px}
body.ybs-body ul.products li.product .woo-button-border .button{flex:1;padding:7px 10px!important;font-size:12px!important;box-shadow:none;text-align:center}
body.ybs-body ul.products li.product .woo-button-border .product-button{background:var(--ybs-cream-2)!important;color:var(--ybs-ink)!important}
body.ybs-body ul.products li.product .woo-button-border .product-button:hover{background:var(--ybs-ink)!important;color:#fff!important}
body.ybs-body .term-description,body.ybs-body .taxonomy-description{background:#fff;border-radius:18px;padding:18px 22px;margin-bottom:22px;font-family:var(--ybs-mm);line-height:1.9;box-shadow:0 4px 18px rgba(0,0,0,.04)}
body.ybs-body .pagination .page-numbers,body.ybs-body .pagination a,body.ybs-body .pagination span{border-radius:999px!important;border:0!important;background:#fff;margin:0 3px;min-width:38px;padding:8px 12px;display:inline-block;color:var(--ybs-ink);font-weight:700}
body.ybs-body .pagination .current,body.ybs-body .pagination .page-numbers.current{background:var(--ybs-amber);color:#fff}

/* sidebar widgets */
body.ybs-body .widget{background:#fff;border-radius:18px;padding:20px 22px;margin-bottom:22px;box-shadow:0 4px 18px rgba(0,0,0,.05);border:0}
body.ybs-body .widget .widget-title,body.ybs-body .widget h3,body.ybs-body .widget h4{font-family:var(--ybs-mm);font-size:15px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--ybs-ink);border:0;padding:0 0 10px;margin:0 0 12px;position:relative}
body.ybs-body .widget .widget-title:after,body.ybs-body .widget h3:after{content:"";position:absolute;left:0;bottom:0;width:40px;height:3px;border-radius:3px;background:var(--ybs-amber)}
body.ybs-body .widget img{border-radius:8px}
body.ybs-body .widget_price_filter .ui-slider .ui-slider-range,body.ybs-body .widget_price_filter .ui-slider .ui-slider-handle{background:var(--ybs-amber)}
body.ybs-body .widget_price_filter .price_slider_wrapper .ui-widget-content{background:var(--ybs-cream-2)}

/* single product */
body.ybs-body.single-product .woocommerce-product-gallery{border-radius:22px;overflow:hidden;background:#fff;padding:18px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
body.ybs-body.single-product .woocommerce-product-gallery img{border-radius:14px}
body.ybs-body.single-product .woocommerce-product-gallery__trigger{border-radius:50%}
body.ybs-body.single-product .product_title{font-family:var(--ybs-mm);font-size:28px;line-height:1.5;font-weight:700;margin-bottom:10px}
body.ybs-body.single-product .woocommerce-product-details__short-description{font-family:var(--ybs-mm);line-height:1.9}
body.ybs-body.single-product .woocommerce-product-details__short-description h3{font-size:18px;line-height:1.7;background:var(--ybs-sun);border-radius:14px;padding:12px 16px}
body.ybs-body.single-product .product-offer-box{background:#fff;border-radius:18px;padding:18px 22px;margin:18px 0;box-shadow:0 6px 20px rgba(0,0,0,.06);display:flex;align-items:center;gap:18px;flex-wrap:wrap}
body.ybs-body.single-product .product-offer-box .price{margin:0;font-size:24px;font-weight:800;color:var(--ybs-green);font-family:Montserrat,sans-serif}
body.ybs-body.single-product .product-offer-box form.cart{display:flex;align-items:center;gap:10px;margin:0}
body.ybs-body.single-product .product_meta,body.ybs-body.single-product .section-book-details{background:#fff;border-radius:18px;padding:16px 22px;margin:14px 0;box-shadow:0 4px 18px rgba(0,0,0,.04);font-family:var(--ybs-mm);line-height:1.9}
body.ybs-body.single-product .section-book-details h3{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--ybs-muted);margin:0 0 4px}
body.ybs-body.single-product .section-book-details h4{font-size:17px;margin:0}
body.ybs-body.single-product .product_meta .sku_wrapper,body.ybs-body.single-product .product_meta .posted_in,body.ybs-body.single-product .product_meta .tagged_as{display:block;margin:2px 0}
body.ybs-body.single-product .product_meta a{display:inline-block;background:var(--ybs-cream-2);border-radius:999px;padding:1px 10px;margin:2px 2px 2px 0;color:var(--ybs-ink);font-size:12px}
body.ybs-body.single-product .product_meta a:hover{background:var(--ybs-amber);color:#fff}
body.ybs-body .woocommerce-tabs{background:#fff;border-radius:22px;padding:10px 26px 24px;margin:26px 0;box-shadow:0 6px 20px rgba(0,0,0,.05)}
body.ybs-body .woocommerce-tabs ul.tabs{border:0;padding:0;margin:0 0 14px;display:flex;gap:8px;flex-wrap:wrap}
body.ybs-body .woocommerce-tabs ul.tabs:before,body.ybs-body .woocommerce-tabs ul.tabs:after{display:none}
body.ybs-body .woocommerce-tabs ul.tabs li{border:0;background:var(--ybs-cream-2);border-radius:999px;margin:0;padding:0}
body.ybs-body .woocommerce-tabs ul.tabs li a{padding:8px 18px;color:var(--ybs-ink);font-family:var(--ybs-mm);font-weight:700;font-size:13px}
body.ybs-body .woocommerce-tabs ul.tabs li.active{background:var(--ybs-ink)}
body.ybs-body .woocommerce-tabs ul.tabs li.active a{color:#fff}
body.ybs-body .woocommerce-tabs .panel{font-family:var(--ybs-mm);line-height:1.9}
body.ybs-body .related > h2,body.ybs-body .up-sells > h2,body.ybs-body .cross-sells > h2{font-family:var(--ybs-mm);font-size:22px;position:relative;padding-bottom:10px;margin-bottom:22px}
body.ybs-body .related > h2:after,body.ybs-body .up-sells > h2:after{content:"";position:absolute;left:0;bottom:0;width:56px;height:4px;border-radius:4px;background:var(--ybs-amber)}

/* cart / checkout / account */
body.ybs-body .woocommerce table.shop_table,body.ybs-body .cart_totals,body.ybs-body .woocommerce-checkout #customer_details,body.ybs-body #order_review,body.ybs-body .woocommerce-MyAccount-content,body.ybs-body .woocommerce-MyAccount-navigation ul,body.ybs-body .woocommerce-form-login,body.ybs-body .woocommerce-form-register,body.ybs-body .woocommerce-order{background:#fff;border-radius:18px!important;border:0!important;padding:18px 22px;box-shadow:0 4px 18px rgba(0,0,0,.05)}
body.ybs-body .woocommerce table.shop_table td,body.ybs-body .woocommerce table.shop_table th{border-color:var(--ybs-cream-2)!important}
body.ybs-body .woocommerce-MyAccount-navigation ul li{list-style:none}
body.ybs-body .woocommerce-MyAccount-navigation ul li a{display:block;padding:8px 14px;border-radius:999px;color:var(--ybs-ink);font-family:var(--ybs-mm)}
body.ybs-body .woocommerce-MyAccount-navigation ul li.is-active a,body.ybs-body .woocommerce-MyAccount-navigation ul li a:hover{background:var(--ybs-sun)}
body.ybs-body .woocommerce-message,body.ybs-body .woocommerce-info,body.ybs-body .woocommerce-error{border-radius:14px;border:0;background:var(--ybs-sun);color:var(--ybs-ink);font-family:var(--ybs-mm);box-shadow:0 4px 14px rgba(0,0,0,.05)}
body.ybs-body .woocommerce-message:before{color:var(--ybs-amber)}
body.ybs-body .woocommerce-error{background:var(--ybs-rose)}

/* blog list + single post + pages */
body.ybs-body article.post,body.ybs-body .page .entry-content{background:#fff;border-radius:22px;padding:24px 28px;margin-bottom:26px;box-shadow:0 6px 20px rgba(0,0,0,.05)}
body.ybs-body.page-template-page-home-ybs .entry-content{background:none;box-shadow:none;padding:0}
body.ybs-body .post .entry-title,body.ybs-body .post .entry-title a{font-family:var(--ybs-mm);line-height:1.6;color:var(--ybs-ink)}
body.ybs-body .post .entry-content,body.ybs-body .post .entry-summary,body.ybs-body .page .entry-content{font-family:var(--ybs-mm);line-height:1.95}
body.ybs-body .post img,body.ybs-body .entry-content img{border-radius:14px;height:auto}
body.ybs-body .post-navigation,body.ybs-body #jp-relatedposts,body.ybs-body .comments-area{background:#fff;border-radius:18px;padding:18px 22px;margin:18px 0;box-shadow:0 4px 18px rgba(0,0,0,.04)}
body.ybs-body .breadcrumbs,body.ybs-body .woocommerce-breadcrumb{font-family:var(--ybs-mm);font-size:12px;color:var(--ybs-muted);margin-bottom:14px}

/* footer */
body.ybs-body .section-site-footer{margin-top:40px}
body.ybs-body .site-footer{background:var(--ybs-cream-2);color:var(--ybs-muted);border-top:1px solid var(--ybs-line);padding:34px 0 28px;border-radius:36px 36px 0 0}
body.ybs-body .site-footer a{color:var(--ybs-ink)}
body.ybs-body .footer-social ul li a{background:#fff;border-radius:50%;width:40px;height:40px;line-height:40px;display:inline-block;text-align:center;box-shadow:0 4px 12px rgba(0,0,0,.06);color:var(--ybs-ink)}
body.ybs-body .footer-social ul li a:hover{background:var(--ybs-amber);color:#fff}
body.ybs-body .footer-credit,body.ybs-body .footer-credit p{font-family:var(--ybs-mm);font-size:12px;color:var(--ybs-muted);margin:0}

@media (max-width:767px){
	body.ybs-body.single-product .product_title{font-size:22px}
	body.ybs-body.single-product .woocommerce-product-gallery{padding:10px;border-radius:16px}
	body.ybs-body .woocommerce-tabs{padding:10px 16px 18px}
	body.ybs-body ul.products li.product .product-inner{padding:10px 10px 12px;border-radius:14px}
}
