/**
* Theme Name: Bookory Child
* Description: This is a child theme of Bookory, generated by Merlin WP.
* Author: <a href="https://pavothemes.com/">PavoThemes</a>
* Template: bookory
* Version: 2.2.5
*/
.hero-banner {
    position: relative;
    padding: 120px 20px;
    background: url('your-banner-image.jpg') center/cover no-repeat;
    text-align: center;
    color: #fff;
}

.book-search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50px;
    padding: 10px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.book-search-bar input,
.book-search-bar select {
    border: none;
    outline: none;
    padding: 12px 15px;
    flex: 1;
    font-size: 14px;
}

.book-search-bar button {
    background: #ffaa00;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.book-search-bar button:hover {
    background: #e69900;
}
div#transparent-header {
    position: absolute !important;
	top:30px;
}
.widget-area .bfb-field select {
    min-width: 220px;
}
.hero-book-filter .bfb-field.board-custom {
    display: none;
}
.hero-book-filter .subject-custom {
    display: none;
}
.hero-book-filter .bfb-row {
    background: #fff;
    padding: 5px 15px;
	border-radius:50px;
}
.hero-book-filter .bfb-field select {
    border: none !important;
}
.page-id-9811 #page .site-content {
    margin-top: 0px;
    margin-bottom: 0px;
}
.class-badge {
      
/*     background: #000; */
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 400;
    z-index: 9;
   padding: 1px 5px !important;
	border:1px solid #6a6a6a;
}
#footer-cart .header-group-action {
    justify-content: center;
}
.class-badge a {
color:#6a6a6a !important;
}
.most-bought-product-card p {
	margin:0px;
}
.page-id-9811 .header-one {
    position: absolute;
}
.price-cart-wrap.custom {
    display: flex
;
    justify-content: space-between;
    align-items: center;
	margin-top:10px;
}
.price-cart-wrap.custom a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    padding: 10px 16px;
}
.price-cart-wrap.custom  a.button.product_type_grouped {
	padding: 10px 16px;
}
ul.bookory-products.products.columns-3 .product-block {
    min-height: 420px !important;
}
.bookory-sorting form.woocommerce-product-search input {
    padding: 16px 30px;
}
.mini-cart-qty-wrap {
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}

.mini-cart-qty-wrap button {
  background: none;
  border: none;
  padding: 0px 10px;
  font-size: 18px;
  cursor: pointer;
  color: #555;
}

.mini-cart-qty-wrap button:hover {
  background: #f2f2f2;
}

.mini-cart-qty-wrap input.qty {
  width: 45px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 15px;
  padding: 0px 0;
  margin: 0;
  box-shadow: none;
  outline: none;
	background:transparent;
}
.bookory-sorting .bfb-field select {
    min-width: 180px !important;
	width:180px;
    padding: 4px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    color: #555;
    outline: none;
    height: 38px !important;
    font-size: 16px;
    border-radius: 5px !important;
	height: 48px !important;
}
.bookory-sorting  {
	display:flex;
	justify-content:space-between;
	align-items:center;
}
.bookory-sorting .bfb-filter-bar {
    margin:0px;
	background: #FFF4E0;
    padding: 10px 30px;
    border-radius: 32px;
}
.bookory-sorting .bfb-action .bfb-button {
        height:38px;
    }
.bfb-filter-bar { margin: 10px 0 24px; }
    .bfb-row { display:flex; gap:24px; align-items:center; flex-wrap:wrap;    justify-content: space-between; }
    .bfb-title { font-size:22px; font-weight:600; color:#000; margin-right:8px; }
    .bfb-field select {
		min-width:280px;
		max-width:300px !important;
        padding: 12px 14px;
        border: 1px solid #d9d9d9;
        border-radius: 6px;
        background: #fff;
        color:#555;
        outline:none;
        height: 55px;
        font-size:16px;
    }
    .bfb-field select:focus { border-color:#bdbdbd; }
    .bfb-action .bfb-button {
        height:44px;
        padding: 0 22px;
        border: none;
        border-radius: 30px;
        font-weight:700;
        letter-spacing:.3px;
        background:#fe4d41; /* green button like screenshot */
        color:#fff;
        cursor:pointer;
        transition: filter .2s ease;
    }
    
    .bfb-action .bfb-button:hover { filter: brightness(0.95); }
.custom-taxonomies {
    margin-bottom: 8px;
}

.taxonomy-label {
        /* background: #000; */
    border-radius: 3px;
    font-size: 14px;
    font-weight: 400;
    z-index: 9;
    padding: 4px 5px !important;
    border: 1px solid #6a6a6a;
	margin-right:10px;
}
li.woocommerce-mini-cart-item.mini_cart_item {
    display: flex;
	padding-right:0px !important;
	justify-content: start;
}
li.woocommerce-mini-cart-item.mini_cart_item a.remove::before {
display:none;
}
.site-header-cart-side .widget_shopping_cart .mini_cart_item a.remove {
    top: 26px !important;
	    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    text-align: center;
	border-radius:0px;
}
.site-header-cart-side .widget_shopping_cart .mini_cart_item a.remove img {
	margin-right:unset !important;
}
.site-header-cart-side .widget_shopping_cart .mini_cart_item a.remove:hover {
	background:#EBE4D2;
}
.price_quantity_custom {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.single-product .price-cart-wrap.custom a.button.product_type_grouped {
    padding: 10px 7px;
    font-size: 12px;
}
.single-product div.product .inventory_status {
   display:none;
}
.page-id-9094 #page .site-content {
   margin-top: 0px;
 margin-bottom: 0px;
}
.page-id-9811 .col-full {
max-width:100% !important;
	padding:0px;
}
/* Style for checkout login message */
.woocommerce-info, 
.woocommerce-error, 
.checkout-login-required {
    background: #fff3cd; /* light yellow background */
    border: 2px solid #ff9800; /* orange border */
    color: #333; 
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.1);
}

.checkout-login-required a {
    color: #d32f2f; /* red link */
    text-decoration: none;
    font-weight: bold;
}

.checkout-login-required a:hover {
    text-decoration: underline;
}
.wc-block-must-login-prompt {
    font-size: 16px;
    font-weight: 600;
}
.wc-block-must-login-prompt a {
	color:#fe4d41;
}
.site-header-account i.bookory-icon-account {
    background: #f3f3f3;
    padding: 18px;
    border-radius: 50%;
    margin-left: 15px;
}
span.account-greeting {
    font-size: 18px;
    font-weight: 600;
}
#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
	transform:translatex(-50%);
    z-index: 99999;
}

.toast {
    background: #333;
    color: #fff;
    padding: 12px 20px;
    margin-top: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    font-size: 14px;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}
.woocommerce-add-shipping-wrapper #add-new-shipping {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 6px 12px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}
.woocommerce-add-shipping-wrapper #add-new-shipping:hover {
    background: #218838;
}
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a, .woocommerce-noreviews a, p.no-comments a {
    color: #fff;
}
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button, .woocommerce-noreviews .button, p.no-comments .button {
   color:#000 !important;
}
.custom-email-input input {
    max-width: 400px;
}
.woocommerce-message a:hover, .woocommerce-info a:hover, .woocommerce-error a:hover, .woocommerce-noreviews a:hover, p.no-comments a:hover {
    color: #000 !important;
}
.hentry .woocommerce-message strong, .hentry .woocommerce-info strong, .hentry .woocommerce-error strong, .hentry .woocommerce-noreviews strong, .hentry p.no-comments strong {
    color: #000 !important;
}
.form-row.woocommerce-validated input.input-text {
    box-shadow: none !important;
}
.woocommerce-checkout .elementor-element-45e0733 {
display:none;
}
.form-row .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-weight: 400;
}
.content-mini a {
    max-width: 80%;
}
.mini-cart-item-count {
    font-weight: bold;
    font-size: 14px;
    margin: 5px 0;
    color: #000; 
	display: flex;
    justify-content: space-between;
    align-items: center;
}
span.cart-count {
    font-size: 18px;
    font-weight: 600;
}
.thumbnail-mini {
    width: 22%;
}
.content-mini {
    width: 74%;
}
span.password-hint {
       font-size: 12px;
    color: #fe4e42;
    font-weight: 500;
    display: block;
}
.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
    display: none;
}
.checkout-inline-error-message {
	color:#fe4e42;
	font-weight:500;
}
.billing-summary {
    display: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-family: "Inter", sans-serif;
    transition: all 0.3s ease;
}

.billing-summary h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.billing-summary .summary-text {
    white-space: pre-line;
    line-height: 1.6;
    font-size: 14px;
    color: #555;
    background: #f8fafc;
    border-radius: 6px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.billing-summary .edit-billing {
    background-color: #007cba;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.billing-summary .edit-billing:hover {
    background-color: #005f8f;
}
p.no-school-msg {
    position: absolute;
}
.woocommerce-info, .woocommerce-error, .checkout-login-required {
   background: #fd4d42 !important;
    border: 0px solid #fc4c48 !important;
    color: #fff !important;
}
.qty-minus.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed;
  }
.bundle-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #fe4d41;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}
.woocommerce-checkout table td, table th {
    word-break: break-word;
}
table.woocommerce-orders-table.woocommerce-MyAccount-orders th, table.woocommerce-orders-table.woocommerce-MyAccount-orders td {
	text-align:center;
}
ul#shipping_method label:after {
    display: none;
}
.single-product div.product form.cart table.group_table .woocommerce-grouped-product-image img {
    max-width: 100px !important;
    height: 100px !important;
}
.single-product td.woocommerce-grouped-product-list-item__quantity {
    display: none;
}
.password-input {
    position: relative;
    display: inline-block;
    width: 100%;
}
 .school-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 20px;
        }
.password-input .show-password-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.6;
    background: url("") no-repeat center center;
    background-size: contain;
}

.password-input .show-password-input.display-password {
    opacity: 1;
}
.back-to-home-wrap {
    display: flex
;
    justify-content: end;
    margin-top: -30px;
}
.footer-search i.bookory-icon-search {
    color: #2e4075 !important;
    background: #f3f3f3;
    padding: 12px;
    border-radius: 50%;
    font-size: 18px !important;
	margin-bottom: 0px !important;
}
.footer-search span.content {
display:none !important;
}
.board-tab-custom {
    border: 1px solid #000000;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    background: none !important;
    color: #000000 !important;
    font-weight: 500;
    padding: 10px 16px;

}
/* Remove arrows in Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove arrows in Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.bfb-field select {
    min-width: 140px;
    max-width: 160px !important;
}
}
@media screen and (max-width: 767px) {
.hero-book-filter .bfb-row {
    background: #fff;
    padding: 20px 20px;
    border-radius: 8px;
	gap:15px;
}
.hero-book-filter .bfb-field select {
    border: 1px solid #e6e6e6 !important;
	        padding: 5px 10px;
        height: 36px;
        border-radius: 20px;
        min-width: 85vw;
}
	.price-cart-wrap.custom {
    flex-direction: column;
		gap:10px;
		align-items: self-start;
}
	.bookory-sorting .bfb-field select {
    min-width: 160px !important;
    width: 160px;
}
	.bfb-row {
    display: flex
;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: start;
}
 	.bookory-sorting form.woocommerce-product-search {
    height:48px;
} 
	.board-filter {
    flex-wrap: nowrap !important;
    overflow-x: auto;
}
	.board-tab-custom {
    min-width: unset !important;
        }
	.school-grid {
    display: grid;
    overflow-x: auto;
}
	.board-filter::-webkit-scrollbar {
display:none;
	}

	.bfb-action .bfb-button {
    height: 36px;
}
.toast {
    padding: 6px 10px;
    font-size: 11px;
}
	#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
	transform:translatex(-50%);
    z-index: 99999;
		max-width:100%;
}
	.woocommerce-info, .woocommerce-error, .checkout-login-required {
   font-size:12px;
}
p.no-school-msg {
    font-size: 12px;
}
	.bookory-sorting .widget.woocommerce.widget_product_search {
    width: 100%;
		margin-bottom:15px;
		margin-right:5px;
}
}