/* Make header sticky */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white; /* Match your header's background */
}

/* Add spacing to prevent content overlap */
.bottom-header-wrapper {
  position: relative;
  margin-top: 0; /* Will be set via JavaScript */
}

.book-card {
	border-radius: 16px;
	background-color: transparent;
	/*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
	height: 100%;
	padding: 0px;
	position: relative;
}

.book-image {
	width: 100%;
	object-fit: cover;
	height: 240px;
}

.book-title {
	font-size: 14px !important;
	font-weight: 500;
	margin-top: 10px;
	height: 40px;
	padding: 10px;
}

.book-title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.4;
	word-break: break-word;
}

.custom-global-select {
  position: relative;
}

.custom-global-select select.form-control {
  appearance: none;
  background-color: #f9f9f9;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  color: #666;
  width: 100%;
}

.custom-global-select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 10px;
  height: 7px;
  background-image: url('../img/select-drop-down.png');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}


.book-title a{
	font-size: 14px !important;
	
}

.book-footer {
	display: flex;
	padding: 10px;
	justify-content: space-between;
	align-items: center;
}

.price {
	font-weight: 600;
	font-size: .9rem;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 10px;
    pointer-events: none;
}

.image-wrapper:hover .overlay {
    opacity: 1;
}

.overlay .wishlist-btn,
.overlay .add-to-cart {
	position: unset;
    pointer-events: auto;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
   
    
    transform: translateY(20px);
    transition: transform 0.3s ease, color 0.2s;
}
.overlay .add-to-cart{
   background: #fff!important;
}
.image-wrapper:hover .overlay .wishlist-btn,
.image-wrapper:hover .overlay .add-to-cart {
    transform: translateY(0);
}

.overlay .wishlist-btn:hover,
.overlay .add-to-cart:hover {
    color: #02A650;
}


.add-btn {
	background-color: #fbe302;
	border: none;
	border-radius: 20px;
	padding: 2px 12px;
	font-weight: bold;
	font-size: 14px;
}

.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 30px;
    background-color: #02a650;
    border-radius: 50%;
    font-size: 18px;
    color: #222;
    border: none;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn i{
	margin: 0!important;
	color: #fff;
}

.wishlist-btn.added-favorite{
	color: #fff;
}
.md-icon{
	font-size: 1.5em;
	padding: 0 5px;
}

.breadcrump-container {
    background-image: url('../img/breadcrump-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.breadcrump-container a{
	
	color: #333;
	font-size: 1.2rem;
	
}
.bold-text{
	
	font-weight: bold;
}
.custom-drop-down {
	position: absolute;
	transform: translate3d(0px, 38px, 0px);
	top: 4px;
	left: 30px;
	right: 30px;
	will-change: transform;
	z-index: 9999999999999;
	background-color: #f9f9f9;
	border: 1px solid #dddddd;
	display: none;
}

.custom-drop-down .cart_list {
	width: 100%;
	padding: 0 !important;
	max-height: 450px !important;
	overflow-y: auto;
}

.custom-drop-down-mini .cart_list {
	width: 100%;
	padding: 0 !important;
	max-height: 450px !important;
	overflow-y: auto;
}

.custom-drop-down ul li {
	cursor: pointer;
}

.custom-drop-down-mini ul li {
	cursor: pointer;
}

.custom-drop-down ul li:hover {
	cursor: pointer;
	background: #ffff;
}

.custom-drop-down ul li a:hover {
	cursor: pointer;
	color: #fc9c45;
}

.custom-drop-down-mini ul li:hover {
	cursor: pointer;
	background: #ffff;
}

.cart_list li {
	display: inline-block;
	width: 100%;
}

.dropdown-menu .cart_list li a i {
	width: auto;
}

.navbar-nav .dropdown-menu.cart_box {
	width: 320px;
	position: absolute !important;
	-webkit-transform: scale(0) !important;
	transform: scale(0) !important;
	-webkit-transform-origin: -webkit-calc(100% - 30px) 0;
	transform-origin: calc(100% - 30px) 0;
	display: block;
	transition: all 0.25s ease-in-out;
	padding: 0;
	top: 100% !important;
	left: auto !important;
	right: 0;
}

.navbar-nav .dropdown-menu.cart_box.show {
	-webkit-transform: scale(1) !important;
	transform: scale(1) !important;
}

.cart_list li {
	border-bottom: 1px solid #dddddd;
	padding: 10px;
	width: 100%;
}

.item_remove {
	float: right;
	margin-left: 5px;
	color: #333 !important;
}

.cart_list img {
	border: 1px solid #ddd;
	background-color: #ffffff;
	float: left;
	margin-right: 10px;
	max-width: 80px;
}

.cart_list a {
	font-size: 14px;
	vertical-align: top;
	padding: 0 !important;
	text-transform: capitalize;
	color: #292B2C;
	font-weight: 600;
}

.cart_quantity {
	display: table;
	margin-top: 5px;
	font-weight: 500;
}

.cart_total .cart_amount {
	float: right;
	color: #F32B56;
}

.cart_box .cart_list {
	width: 100%;
	padding: 0 !important;
	max-height: 242px;
	overflow-y: auto;
}

.topbar-icon {
  width: 25px;
  height: 25px;
}
.topbar-icon.medium {
  width: 30px;
  height: 30px;
}
.icon-wrapper {
	display: flex;
	align-items: center;
	justify-content:center;
	width: 26px;
	height: 26px;
}
.language-icon {
  width: auto;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.gap-2 > * + * {
  margin-left: 0.5rem !important; /* Bootstrap-style spacing between items */
}

.gap-4 > * + * {
  margin-left: 2rem !important; /* Bootstrap-style spacing between items */
}
.main-menu{
	font-size: 1rem;
	color: #303030;
}

.main-menu {
  position: relative;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.main-menu.active,
.main-menu:hover {
  color: #02A650;
}

.main-menu::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  background-color: #02A650;
  transition: width 0.3s ease;
}

.main-menu:hover::after,
.main-menu.active::after {
  width: 100%;
}

.logo-icon{
	
	width: 100px !important;
	height: 100px !important;
	object-fit: conver;
	
}

/* On mobile, the image will fill the width */
@media (max-width: 767px) {
  .listingLazyImage {
     height: 70% !important;
   /* height: 200px !important; */
    width: 100% !important;
  }
}

/* On desktop, the image will fill the height */
@media (min-width: 768px) {
  .listingLazyImage {
    height: 80% !important; /* Fill height on desktop */
    width: 100%  !important;  /* Maintain aspect ratio */
   /*  height: 300px !important; */
   /*  width: auto !important; */
  }
}

/* ========== Shopping Cart Page ========== */
.cart-section-title {
	position: relative;
	font-weight: 700;
	font-size: 20px;
	padding-bottom: 8px;
	margin-bottom: 0;
}

.cart-section-title::after {
	content: '';
	height: 3px;
	width: 114px;
	display: block;
	background-color: #02A650;
	position: absolute;
	bottom: -1px;
	left: 0;
}

.cart-product-card {
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 15px;
	background-color: #fff;
	position: relative;
	transition: box-shadow 0.2s ease;
}

.cart-product-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cart-product-img-wrapper {
	flex-shrink: 0;
	width: 90px;
	margin-right: 15px;
}

.cart-product-img-wrapper a {
	display: block;
}

.cart-product-img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
	max-height: 110px;
	border: 1px solid #eee;
}

.cart-product-info {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	min-height: 90px;
}

.cart-product-name {
	font-size: 15px;
	font-weight: 500;
	color: #333;
	margin-bottom: 4px;
	line-height: 1.3;
}

.cart-product-price {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
}

.cart-product-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: auto;
}

.cart-qty-control {
	display: inline-flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 20px;
	overflow: hidden;
	background-color: #fff;
}

.cart-qty-btn {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	text-decoration: none !important;
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 11px;
	transition: background-color 0.15s;
}

.cart-qty-btn:hover {
	background-color: #f0f0f0;
	color: #333;
	text-decoration: none !important;
}

.cart-qty-input {
	width: 30px;
	text-align: center;
	border: none;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	font-size: 14px;
	font-weight: 500;
	background: transparent;
	outline: none;
	padding: 0;
	height: 30px;
	line-height: 30px;
}

.cart-delete-btn {
	color: #dc3545;
	font-size: 13px;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	transition: color 0.15s;
	cursor: pointer;
}

.cart-delete-btn:hover {
	color: #a71d2a;
	text-decoration: none !important;
}

.cart-delete-btn i {
	font-size: 14px;
	margin-right: 4px;
}

/* Cart Totals Sidebar */
.cart-totals-box {
	background-color: #f3f3f3;
	border: none;
	border-radius: 0px;
	padding: 35px 30px;
}

.cart-totals-box .table {
	margin-bottom: 25px;
	background: transparent;
}

.cart-totals-box .table tr {
	border-bottom: 1px solid #e2e2e2;
}

.cart-totals-box .table th,
.cart-totals-box .table td {
	border-top: none;
	padding: 15px 0;
	font-size: 15px;
	background: transparent;
}

.cart-totals-box .table th {
	font-weight: 500;
	color: #000;
}

.cart-totals-box .table td {
	text-align: right;
	color: #000;
}

.cart-totals-box .table tr.order-total th {
	font-weight: 600;
}

.cart-totals-box .table tr.order-total td strong {
	font-weight: 700;
}

.cart-checkout-btn {
	display: block;
	width: 100%;
	padding: 14px 20px;
	background-color: #ffe300;
	color: #000;
	font-weight: 600;
	font-size: 16px;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	text-align: center;
	margin-top: 15px;
	transition: background-color 0.2s, transform 0.1s;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.cart-checkout-btn:hover {
	background-color: #ffd400;
	color: #000;
	text-decoration: none !important;
}

.cart-checkout-btn:active {
	transform: translateY(0);
}

.cart-empty-message {
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-size: 16px;
}

/* Shopping Cart Responsive */
@media (max-width: 767px) {
	.cart-product-img-wrapper {
		width: 70px;
		margin-right: 12px;
	}

	.cart-product-img {
		max-height: 85px;
	}

	.cart-product-name {
		font-size: 13px;
	}

	.cart-product-price {
		font-size: 13px;
	}

	.cart-qty-btn {
		width: 28px;
		height: 28px;
	}

	.cart-qty-input {
		width: 28px;
		height: 28px;
		line-height: 28px;
		font-size: 13px;
	}

	.cart-totals-box {
		padding: 16px;
	}
}

/* ========== Checkout Page ========== */
.checkout-form-label {
	font-weight: 600;
	color: #000;
	font-size: 14px;
	margin-bottom: 6px;
	display: block;
}

.checkout-form-control {
	background-color: #fafafa !important;
	border: 1px solid #e2e2e2 !important;
	border-radius: 30px !important;
	padding: 10px 20px !important;
	font-size: 14px !important;
	color: #777 !important;
	height: 42px !important;
	box-shadow: none !important;
}

.checkout-textarea {
	background-color: #fff !important;
	border: 1px solid #e2e2e2 !important;
	border-radius: 20px !important;
	padding: 15px 20px !important;
	font-size: 14px !important;
	color: #333 !important;
	box-shadow: none !important;
	resize: none;
}

.checkout-edit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 30px;
	background-color: #ffe300;
	color: #000;
	font-weight: 600;
	font-size: 14px;
	border-radius: 30px;
	cursor: pointer;
	text-decoration: none !important;
	flex-shrink: 0;
	border: none;
	transition: background-color 0.2s;
}

.checkout-edit-btn:hover {
	background-color: #ffd400;
	color: #000;
	text-decoration: none !important;
}

/* Custom radio button styling */
.checkout-payment-item {
	display: flex;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid #e2e2e2;
	cursor: pointer;
	position: relative;
	margin: 0;
}

.checkout-payment-item:last-child {
	border-bottom: none;
}

.checkout-payment-item input[type="radio"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.checkout-radio-circle {
	width: 20px;
	height: 20px;
	border: 2px solid #ccc;
	border-radius: 50%;
	margin-right: 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: border-color 0.2s;
}

.checkout-payment-item input[type="radio"]:checked ~ .checkout-radio-circle {
	border-color: #02A650;
}

.checkout-radio-circle::after {
	content: '';
	width: 10px;
	height: 10px;
	background-color: transparent;
	border-radius: 50%;
	transition: background-color 0.2s;
}

.checkout-payment-item input[type="radio"]:checked ~ .checkout-radio-circle::after {
	background-color: #02A650;
}

.checkout-payment-label {
	display: inline-flex;
	align-items: center;
	font-weight: 500;
	color: #000;
	cursor: pointer;
	margin: 0;
}

.payment-icon {
	display: inline-flex;
	align-items: center;
	margin-right: 10px;
}

.payment-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 10px;
	text-transform: uppercase;
	flex-shrink: 0;
}

.payment-logo.kpay-logo {
	background-color: #0d5ca9;
	color: #fff;
	width: 28px;
	height: 28px;
}

.payment-logo.wave-logo {
	background-color: #fbe302;
	color: #0d5ca9;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 800;
	font-family: Arial, sans-serif;
	border: 1px solid #e0c800;
	width: 28px;
	height: 28px;
}

.payment-logo.cod-logo {
	font-size: 18px;
	width: auto;
	height: auto;
}

