:root {
	--theme: #036280;
	--theme2: #FF6500;
	--header: #012E4A;
	--text: #4F536C;
	--border: #D4DCFF;
	--bg: #D0E1E7;
	--bg2: #F5F5F5;
	--white: #fff;
	--black: #000;
	--container: 1320px;
	--transition: 0.4s ease-in-out;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	margin: 0;
	padding: 0;
}

body.ludolibros-theme {
	margin: 0;
	padding: 0;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	color: var(--text);
	background: var(--white);
	line-height: 1.7;
	overflow-x: hidden;
}

/* Kill WP block theme top gaps above topbar */
html, body {
	margin: 0 !important;
	padding: 0 !important;
}
.wp-site-blocks {
	padding: 0 !important;
	margin: 0 !important;
}
.wp-site-blocks > header.wp-block-template-part,
header.wp-block-template-part,
.wp-block-template-part {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}
.wp-site-blocks > * {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}
.wp-site-blocks > .wp-block-group,
.wp-site-blocks > main {
	margin-block-start: 0 !important;
}
/* Ensure topbar is flush to viewport top */
.ludo-topbar {
	margin: 0 !important;
	position: relative;
	z-index: 50;
}
.skip-link.screen-reader-text {
	position: absolute !important;
	height: 1px !important;
	width: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip-path: inset(50%) !important;
}

.ludo-preloader {
	position: fixed !important;
	inset: 0 !important;
	z-index: 99999;
	display: grid;
	place-items: center;
	background: rgba(208, 225, 231, 0.97);
	transition: opacity 0.4s ease, visibility 0.4s ease;
	margin: 0 !important;
	padding: 0 !important;
	height: 100vh !important;
	width: 100% !important;
	max-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--theme); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--theme2); }

h1, h2, h3, h4, h5, h6 {
	font-family: "Inter", sans-serif;
	color: var(--header);
	font-weight: 700;
	line-height: 1.25;
}

.ludo-container {
	width: min(100% - 2rem, var(--container));
	margin-inline: auto;
}

/* Theme buttons — Bookle pill style */
.theme-btn,
.ludo-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link,
.wc-block-components-button,
ul.products li.product .button,
.shop-list-items .theme-btn,
.shop-box-items .button {
	position: relative;
	z-index: 2;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	border: none !important;
	text-transform: capitalize !important;
	text-align: center;
	background-color: var(--theme) !important;
	color: var(--white) !important;
	font-family: "Inter", sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	padding: 18px 36px !important;
	min-width: 150px;
	border-radius: 100px !important;
	cursor: pointer;
	transition: color 0.3s ease !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.theme-btn::before,
.woocommerce a.button::before,
.woocommerce button.button::before,
ul.products li.product .button::before,
.shop-list-items .theme-btn::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background-color: var(--theme2);
	z-index: -1;
	transition: width 0.4s ease-out;
	border-radius: inherit;
}

.theme-btn:hover::before,
.woocommerce a.button:hover::before,
.woocommerce button.button:hover::before,
ul.products li.product .button:hover::before {
	width: 100%;
}

.theme-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
ul.products li.product .button:hover {
	color: var(--white) !important;
	transform: none;
}

.theme-btn.transparent-btn {
	background: transparent !important;
	color: var(--text) !important;
	border: 1px solid rgba(92, 112, 126, 0.3) !important;
}

.theme-btn.transparent-btn::before { background-color: var(--theme2); }
.theme-btn.transparent-btn:hover { color: var(--white) !important; }

/* Circular icon buttons */
.ludo-circle-btn {
	position: relative;
	width: 50px;
	height: 50px;
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(79, 83, 107, 0.3);
	background: transparent;
	color: var(--header);
	cursor: pointer;
	padding: 0;
	transition: background var(--transition), color var(--transition), border-color var(--transition);
	text-decoration: none;
	flex-shrink: 0;
}

.ludo-circle-btn:hover {
	background: var(--theme);
	border-color: var(--theme);
	color: var(--white);
}

.ludo-circle-btn--accent {
	background: var(--theme2);
	border-color: var(--theme2);
	color: var(--white);
}

.ludo-circle-btn--accent:hover {
	background: var(--theme);
	border-color: var(--theme);
}

.ludo-cart-count {
	position: absolute;
	top: -7px;
	left: 0;
	min-width: 18px;
	height: 18px;
	line-height: 18px;
	border-radius: 18px;
	background: var(--theme);
	color: var(--white);
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	padding: 0 4px;
}

/* Preloader */
.ludo-preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.ludo-preloader__inner { text-align: center; color: var(--theme); }
.ludo-preloader__inner strong { display: block; font-size: 1.75rem; letter-spacing: 0.12em; margin-top: 1rem; }
.ludo-preloader__inner span { font-size: 0.75rem; letter-spacing: 0.2em; opacity: 0.7; }
.ludo-spinner {
	width: 48px; height: 48px; margin: 0 auto;
	border: 3px solid rgba(3, 98, 128, 0.2);
	border-top-color: var(--theme);
	border-radius: 50%;
	animation: ludo-spin 0.8s linear infinite;
}
@keyframes ludo-spin { to { transform: rotate(360deg); } }
@keyframes cir36 { to { transform: rotate(360deg); } }

/* Animate.css scroll reveal helpers */
.ludo-animate-pending {
	opacity: 0;
	visibility: hidden;
}
.ludo-animated {
	visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
	.ludo-animate-pending {
		opacity: 1;
		visibility: visible;
	}
	.animate__animated {
		animation: none !important;
	}
}

/* Topbar + Header */
.ludo-topbar {
	background: var(--theme);
	color: var(--white);
	font-size: 14px;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1001;
	width: 100%;
}
.ludo-topbar a { color: var(--white); }
.ludo-topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; flex-wrap: wrap; }
.ludo-topbar ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

.ludo-header {
	position: sticky; top: 0; z-index: 1000;
	background: var(--white);
	border-bottom: 1px solid #eee;
	transition: box-shadow var(--transition);
	margin: 0;
}
.ludo-header.is-sticky { box-shadow: 0 10px 30px rgba(1, 46, 74, 0.08); }
.ludo-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem; padding: 0.95rem 0;
}
.ludo-logo,
.ludo-logo.custom-logo-link {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
}
.ludo-logo img,
.ludo-logo .custom-logo,
.custom-logo-link img {
	max-height: 70px;
	width: auto;
	height: auto;
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0;
	display: block;
}
.ludo-header .ludo-logo img,
.ludo-header .ludo-logo .custom-logo,
.ludo-header .custom-logo-link img {
	max-height: 100px;
}
.ludo-logo--text {
	font-family: "Inter", sans-serif;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--header);
	letter-spacing: 0.02em;
	text-decoration: none;
	line-height: 1.2;
}
.ludo-footer__brand .ludo-logo--text {
	color: var(--white);
	display: inline-block;
	margin-bottom: 1rem;
}
.ludo-nav__list {
	display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0;
}
.ludo-nav__list a {
	color: var(--header); font-weight: 600; font-size: 15px;
	text-transform: capitalize; position: relative;
}
.ludo-nav__list a::after {
	content: ""; position: absolute; left: 0; bottom: -6px;
	width: 0; height: 2px; background: var(--theme2); transition: width var(--transition);
}
.ludo-nav__list a:hover::after { width: 100%; }

.ludo-header__actions {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 0.65rem;
	margin: 0;
}
.ludo-header__actions > p {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 0.65rem !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
}
.ludo-header__actions br,
.ludo-author-search br,
.ludo-header-search br,
.ludo-author-grid br {
	display: none !important;
}
.ludo-author-search {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	border: 1px solid #E5E5E5; border-radius: 30px;
	overflow: hidden; background: var(--bg2);
}
.ludo-author-search input {
	border: 0; background: transparent; padding: 0.55rem 0.9rem;
	min-width: 110px; outline: none; font: inherit; font-size: 14px;
}
.ludo-author-search .ludo-circle-btn {
	width: 42px; height: 42px; border: 0; border-radius: 0 30px 30px 0;
}
.ludo-author-search .ludo-circle-btn svg {
	display: block;
}

.ludo-burger { display: none; }
.ludo-burger span {
	display: block; width: 18px; height: 2px; background: currentColor; margin: 3px 0;
}

/* Search modal */
.ludo-search-modal {
	position: fixed; inset: 0; z-index: 10001;
	background: rgba(1, 46, 74, 0.92);
	display: grid; place-items: center; padding: 1.5rem;
}
.ludo-search-modal[hidden] { display: none; }
.ludo-search-modal__form {
	display: flex; width: min(640px, 100%);
	background: var(--white); border-radius: 50px; overflow: hidden;
}
.ludo-search-modal__form input {
	flex: 1; border: 0; padding: 1.1rem 1.25rem; font: inherit; font-size: 1.05rem; outline: none;
}
.ludo-search-modal__form .ludo-circle-btn {
	width: 56px; height: 56px; border: 0; border-radius: 0;
	background: var(--theme2); color: var(--white);
}
.ludo-search-modal__close {
	position: absolute; top: 1.25rem; right: 1.25rem;
	border: 0; background: transparent; color: var(--white); font-size: 2rem; cursor: pointer;
}

/* Hero */
.ludo-hero {
	position: relative; min-height: min(88vh, 720px);
	display: grid; align-items: center; color: var(--white); overflow: hidden;
}
.ludo-hero__bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	transform: scale(1.05);
	animation: ludo-kenburns 18s ease-in-out infinite alternate;
}
.ludo-hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, #012E4A 0.13%, rgba(1, 46, 74, 0.89) 11.56%, rgba(1, 46, 74, 0.78) 24.08%, rgba(1, 46, 74, 0.63) 40.96%, rgba(1, 46, 74, 0.45) 60.02%, rgba(1, 46, 74, 0) 109.02%);
}
@keyframes ludo-kenburns {
	from { transform: scale(1.05); }
	to { transform: scale(1.12); }
}
.ludo-hero__content {
	position: relative; z-index: 1; padding: 5rem 0; max-width: 640px;
	margin-left: max(1rem, calc((100% - var(--container)) / 2));
	animation: ludo-fade-up 0.9s ease both;
}
@keyframes ludo-fade-up {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}
.ludo-eyebrow {
	color: var(--theme2); font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.12em; font-size: 0.8rem; margin: 0 0 0.75rem;
}
.ludo-hero h1 {
	font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 1rem; color: var(--white);
}
.ludo-hero h1 span { color: var(--theme2); }
.ludo-hero__text { font-size: 1.05rem; opacity: 0.92; margin: 0 0 1.75rem; max-width: 34rem; }
.ludo-hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.ludo-hero .transparent-btn {
	color: var(--white) !important;
	border-color: rgba(255,255,255,0.45) !important;
}

/* Features */
.ludo-features { background: var(--bg); padding: 1.5rem 0; }
.ludo-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ludo-feature {
	display: flex; align-items: center; gap: 0.85rem;
	background: var(--white); padding: 1rem 1.15rem; border-radius: 8px;
	box-shadow: 0 10px 30px rgba(1, 46, 74, 0.06);
	transition: transform var(--transition);
}
.ludo-feature:hover { transform: translateY(-4px); }
.ludo-feature__icon {
	width: 44px; height: 44px; border-radius: 50%;
	background: rgba(255, 101, 0, 0.12); color: var(--theme2);
	display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}
.ludo-feature strong { display: block; color: var(--header); font-size: 0.95rem; }
.ludo-feature p { margin: 0; font-size: 0.85rem; }

/* About */
.ludo-about { background: var(--bg2); }
.ludo-about__inner {
	display: grid;
	grid-template-columns: 1.4fr 0.9fr;
	gap: 2.5rem;
	align-items: center;
}
.ludo-about__copy h2 {
	margin: 0 0 1.25rem;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	color: var(--header);
}
.ludo-about__copy p {
	margin: 0 0 1rem;
	color: var(--text);
	line-height: 1.7;
	max-width: 42rem;
}
.ludo-about__aside blockquote {
	margin: 0;
	padding: 2rem 1.75rem;
	background: var(--header);
	color: var(--white);
	border-radius: 12px;
	position: relative;
}
.ludo-about__aside blockquote::before {
	content: "“";
	font-size: 4rem;
	line-height: 1;
	color: var(--theme2);
	display: block;
	margin-bottom: 0.5rem;
}
.ludo-about__aside p {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.55;
	font-weight: 500;
}

/* Sections */
.ludo-section { padding: 4.5rem 0; }
.ludo-section__head { margin-bottom: 2rem; text-align: center; }
.ludo-section__head h2 { margin: 0; font-size: 2rem; }
.ludo-section__head--light h2 { color: var(--white); }
.ludo-section__head--light .ludo-eyebrow { color: var(--theme2); }

.section-title-area {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.section-title h2 { margin: 0; font-size: 2rem; color: var(--header); }

/* ========== Featured Books / Product cards (Bookle style-2) ========== */
.ludo-featured-source { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.book-slider { position: relative; padding: 0 0 1rem; overflow: hidden; }
.book-slider .swiper-slide { height: auto; }

.shop-box-items.style-2,
.ludo-shop-grid-item .shop-box-items {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin-top: 0;
}

.shop-box-items .book-thumb {
	background-color: var(--bg2);
	padding: 30px;
	border-radius: 10px;
	position: relative;
	overflow: hidden;
	height: 285px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shop-box-items .book-thumb > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.shop-box-items .book-thumb img {
	max-width: 100%;
	max-height: 225px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
	transition: transform 0.4s ease-in-out;
}

.shop-box-items:hover .book-thumb img { transform: scale(1.1); }

.shop-box-items .book-thumb .post-box {
	position: absolute; left: 24px; top: 20px;
	display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; z-index: 2;
}
.shop-box-items .book-thumb .post-box li {
	background-color: var(--theme2); color: var(--white);
	font-weight: 600; display: inline-block; border-radius: 4px;
	padding: 8px 16px; line-height: 1; font-size: 13px;
}
.shop-box-items .book-thumb .post-box li:nth-child(2) { background-color: var(--theme); }

.shop-box-items .book-thumb .shop-icon {
	gap: 8px; position: absolute; top: 26px; right: 26px;
	display: grid; list-style: none; margin: 0; padding: 0; z-index: 3;
}
.shop-box-items .book-thumb .shop-icon li {
	transform: scaleX(0);
	transition: 0.4s ease-in-out;
	width: 40px; height: 40px;
	border: 1px solid rgba(92, 112, 126, 0.3);
	border-radius: 50%;
	display: grid; place-items: center;
	background: var(--white);
}
.shop-box-items .book-thumb .shop-icon li a {
	color: var(--text); display: grid; place-items: center; width: 100%; height: 100%;
}
.shop-box-items .book-thumb .shop-icon li:hover {
	background-color: var(--theme); border-color: var(--theme);
}
.shop-box-items .book-thumb .shop-icon li:hover a { color: var(--white); }
.shop-box-items:hover .book-thumb .shop-icon li { transform: scaleX(1); }

.shop-box-items.style-2 .book-thumb .shop-button {
	display: none;
}

.shop-box-items .shop-content {
	margin-top: 18px;
	flex: 1;
	display: flex;
	flex-direction: column;
	text-align: left;
}
.shop-box-items .shop-content h5 {
	color: var(--text);
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 26px;
	text-transform: capitalize;
	margin: 0 0 6px;
}
.shop-box-items .shop-content h3 {
	color: var(--header);
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
	text-transform: capitalize;
	margin: 0 0 8px;
	min-height: 52px;
}
.shop-box-items .shop-content h3 a { color: inherit; }
.shop-box-items .shop-content h3 a:hover { color: var(--theme2); }

.shop-box-items .shop-content .price-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 4px 0 0;
	justify-content: flex-start;
	gap: 10px;
	list-style: none;
	padding: 0;
}
.shop-box-items .shop-content .price-list li,
.shop-box-items .shop-content .price-list .amount,
.shop-box-items .shop-content .price-list ins,
.shop-box-items .shop-content .price-list ins .amount {
	font-size: 16px;
	font-weight: 700;
	color: var(--theme2);
	text-decoration: none;
}
.shop-box-items .shop-content .price-list del,
.shop-box-items .shop-content .price-list del .amount {
	color: #5C707E !important;
	font-weight: 500 !important;
	font-size: 15px !important;
}

.shop-box-items .shop-content .author-post {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	list-style: none;
	padding: 0;
}
.shop-box-items .shop-content .author-post .authot-list {
	display: flex;
	align-items: center;
	gap: 10px;
}
.shop-box-items .shop-content .author-post .thumb {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--theme), var(--theme2));
	display: inline-block;
	flex-shrink: 0;
}
.shop-box-items .shop-content .author-post .content,
.shop-box-items .shop-content .author-post .content a {
	font-weight: 500;
	color: var(--text);
	font-size: 14px;
}
.shop-box-items .shop-content .author-post .star {
	color: #FFA900;
	font-size: 12px;
	letter-spacing: 1px;
	line-height: 1;
	white-space: nowrap;
}

/* Featured / grid Add to Cart — Bookle pill button */
.shop-box-items .shop-content .shop-button {
	margin-top: 18px;
}
.shop-box-items .shop-content .shop-button .button,
.shop-box-items .shop-content .shop-button .theme-btn,
.ludo-featured-books .shop-box-items .shop-content .shop-button a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	min-width: 0 !important;
	padding: 16px 20px !important;
	border-radius: 100px !important;
	border: none !important;
	background: #E2EDF2 !important;
	color: var(--header) !important;
	font-family: "Inter", sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: capitalize !important;
	line-height: 1 !important;
	box-shadow: none !important;
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.shop-box-items .shop-content .shop-button .button::before,
.shop-box-items .shop-content .shop-button .theme-btn::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: var(--theme2);
	z-index: -1;
	transition: width 0.4s ease-out;
	border-radius: inherit;
}
.shop-box-items .shop-content .shop-button .button:hover,
.shop-box-items .shop-content .shop-button .theme-btn:hover {
	color: var(--white) !important;
	background: #E2EDF2 !important;
}
.shop-box-items .shop-content .shop-button .button:hover::before,
.shop-box-items .shop-content .shop-button .theme-btn:hover::before {
	width: 100%;
}
.shop-box-items .shop-content .shop-button .ludo-cart-ico {
	flex-shrink: 0;
}

/* Featured section title match */
.ludo-featured-books .section-title h2 {
	font-family: "Inter", sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: var(--header);
}

/* ========== Related / Upsells — same as Featured Books ========== */
.related.products,
.upsells.products,
section.related.products,
.ludo-single-product .related.products {
	margin-top: 3.5rem;
	padding-top: 1rem;
	clear: both;
}

.related.products > h2,
.upsells.products > h2,
.ludo-single-product .related.products > h2 {
	font-family: "Inter", sans-serif !important;
	font-size: 36px !important;
	font-weight: 700 !important;
	color: var(--header) !important;
	margin: 0 0 1.75rem !important;
	text-align: left;
}

.related.products ul.products,
.upsells.products ul.products,
.ludo-single-product .related ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 30px !important;
	align-items: stretch !important;
}

.related.products ul.products li.product,
.upsells.products ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column;
	height: 100%;
}

.related.products .shop-box-items,
.upsells.products .shop-box-items {
	height: 100%;
}

.related.products .shop-box-items .book-thumb,
.upsells.products .shop-box-items .book-thumb {
	height: 285px;
}

.related.products .shop-content h5,
.upsells.products .shop-content h5 {
	font-size: 15px !important;
	font-weight: 400 !important;
	color: var(--text) !important;
}

.related.products .shop-content h3,
.upsells.products .shop-content h3 {
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 26px !important;
	color: var(--header) !important;
	min-height: 52px;
}

.related.products .shop-content .price-list .amount,
.related.products .shop-content .price-list ins .amount,
.upsells.products .shop-content .price-list .amount,
.upsells.products .shop-content .price-list ins .amount {
	color: var(--theme2) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
}

.related.products .shop-content .price-list del .amount,
.upsells.products .shop-content .price-list del .amount {
	color: #5C707E !important;
	font-weight: 500 !important;
	font-size: 15px !important;
}

.related.products .shop-content .shop-button .button,
.related.products .shop-content .shop-button .theme-btn,
.related.products .shop-content .shop-button a.button,
.upsells.products .shop-content .shop-button .button,
.upsells.products .shop-content .shop-button .theme-btn,
.ludo-single-product .related .shop-button a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	min-width: 0 !important;
	padding: 16px 20px !important;
	border-radius: 100px !important;
	border: none !important;
	background: #E2EDF2 !important;
	color: var(--header) !important;
	font-family: "Inter", sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: capitalize !important;
	line-height: 1 !important;
	box-shadow: none !important;
}

.related.products .shop-content .shop-button .button:hover,
.related.products .shop-content .shop-button .theme-btn:hover,
.related.products .shop-content .shop-button a.button:hover,
.upsells.products .shop-content .shop-button .button:hover,
.ludo-single-product .related .shop-button a:hover {
	color: var(--white) !important;
}

@media (max-width: 1100px) {
	.related.products ul.products,
	.upsells.products ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 640px) {
	.related.products ul.products,
	.upsells.products ul.products {
		grid-template-columns: 1fr !important;
	}
	.related.products > h2,
	.upsells.products > h2 {
		font-size: 28px !important;
	}
}

/* Woo loop grid equal cards */
.woocommerce ul.products,
ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	align-items: stretch;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product,
ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: transparent;
	border: 0;
}
.woocommerce ul.products li.product .onsale,
span.onsale { display: none !important; }

.ludo-array-prev,
.ludo-array-next,
.book-slider .swiper-button-prev,
.book-slider .swiper-button-next {
	width: 50px !important; height: 50px !important;
	border-radius: 50%;
	background: var(--white) !important;
	border: 1px solid rgba(79, 83, 107, 0.3);
	color: var(--header) !important;
	box-shadow: 0 8px 20px rgba(1,46,74,0.08);
}
.book-slider .swiper-button-prev::after,
.book-slider .swiper-button-next::after {
	font-size: 16px !important; font-weight: 700;
}

/* ========== Top Categories (Bookle) ========== */
.book-catagories-section {
	background: var(--bg);
	padding: 80px 0 100px;
	position: relative;
}
.book-catagories-wrapper {
	position: relative;
	padding: 40px 30px 50px;
}
.book-catagories-wrapper::before {
	position: absolute; top: 20px; left: 0;
	width: 100%; height: calc(100% - 20px);
	content: "";
	border: 2px solid var(--theme);
	border-radius: 30px;
	pointer-events: none;
}
.book-catagories-wrapper .section-title {
	background: var(--bg);
	max-width: 430px;
	margin: 0 auto 30px;
	text-align: center;
	position: relative;
	z-index: 2;
	padding: 0 1rem;
}
.book-catagories-wrapper .section-title h2 {
	margin: 0; font-size: 2rem;
}
.book-catagories-section .array-button {
	opacity: 0; visibility: hidden;
	transition: all 0.4s ease-in-out;
}
.book-catagories-section:hover .array-button {
	opacity: 1; visibility: visible;
}
.book-catagories-section .array-prev,
.book-catagories-section .array-next {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 9; width: 50px; height: 50px; border-radius: 50%;
	border: 1px solid rgba(79, 83, 107, 0.3);
	background: var(--white); color: var(--header);
	font-size: 22px; cursor: pointer; line-height: 1;
}
.book-catagories-section .array-prev { left: -8px; }
.book-catagories-section .array-next { right: -8px; }
.book-catagories-section .array-prev:hover,
.book-catagories-section .array-next:hover {
	background: var(--theme); color: var(--white); border-color: var(--theme);
}

.book-catagories-items {
	margin-top: 30px; position: relative; text-align: center;
	display: block; color: inherit;
}
.book-catagories-items .number {
	position: absolute; top: 16px; right: 50px;
	width: 34px; height: 34px;
	background-color: var(--header); color: var(--white);
	text-align: center; font-size: 15px; font-weight: 600;
	line-height: 34px; border-radius: 50%; z-index: 1;
}
.book-catagories-items .book-thumb {
	width: 245px; height: 245px;
	border-radius: 50%; background-color: var(--white);
	position: relative; margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.book-catagories-items .book-thumb img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 140px;
	height: 180px;
	max-width: 58%;
	max-height: 74%;
	object-fit: cover;
	object-position: center center;
	border-radius: 4px;
	z-index: 1;
	margin: 0;
	display: block;
}
.book-catagories-items .book-thumb .circle-shape {
	position: absolute; inset: -2px;
	border: 2px dashed rgba(3, 98, 128, 0.35);
	border-radius: 50%;
	animation: cir36 10s linear infinite;
}
.book-catagories-items h3 {
	margin-top: 20px; font-size: 18px; color: var(--header);
}
.book-catagories-items:hover h3 { color: var(--theme); }

/* ========== Shop List (Bookle) ========== */
.shop-default-wrapper,
.ludo-shop-list {
	padding: 2.5rem 0 4rem;
}

body.ludo-shop-list ul.products,
.ludo-shop-list ul.products {
	grid-template-columns: 1fr !important;
	gap: 30px !important;
}

.shop-list-items {
	margin-top: 0;
	border: 1px solid rgba(92, 112, 126, 0.3);
	border-radius: 16px;
	display: flex;
	align-items: center;
	gap: 45px;
	background: var(--white);
	width: 100%;
	min-height: 320px;
}

.shop-list-items .shop-list-thumb {
	border-radius: 10px;
	background: rgba(248, 248, 248, 0.97);
	padding: 40px 70px;
	margin: 10px;
	position: relative;
	flex: 0 0 280px;
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shop-list-items .shop-list-thumb img {
	max-height: 220px;
	width: auto;
	object-fit: contain;
}

.shop-list-items .shop-list-thumb .post-box {
	position: absolute; left: 24px; top: 20px;
	display: grid; gap: 6px; list-style: none; margin: 0; padding: 0;
}
.shop-list-items .shop-list-thumb .post-box li {
	background-color: var(--theme); color: var(--white);
	font-weight: 600; display: inline-block; border-radius: 4px;
	padding: 8px 16px; line-height: 1; font-size: 13px;
}
.shop-list-items .shop-list-thumb .post-box li:nth-child(2) { background-color: var(--theme2); }

.shop-list-items .shop-list-content {
	padding-right: 50px; flex: 1;
}
.shop-list-items .shop-list-content h3 {
	font-size: 22px; margin: 0 0 7px; font-family: "Inter", sans-serif;
}
.shop-list-items .shop-list-content h3 a { color: var(--header); }
.shop-list-items .shop-list-content h5,
.shop-list-items .shop-list-content h5 .amount {
	font-weight: 700; color: var(--theme); font-size: 18px; margin: 0;
}
.shop-list-items .shop-list-content .star {
	color: #FFA900; margin: 10px 0; letter-spacing: 2px; font-size: 14px;
}
.shop-list-items .shop-list-content p {
	font-weight: 500; margin: 0 0 1rem; color: var(--text); font-size: 15px;
}
.shop-list-items .shop-list-content .shop-btn {
	display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap;
}
.shop-list-items .shop-list-content .shop-btn .theme-btn,
.shop-list-items .shop-list-content .shop-btn .button {
	background: rgba(3, 98, 128, 0.1) !important;
	color: var(--theme) !important;
	padding: 15px 40px !important;
}
.shop-list-items .shop-list-content .shop-btn .theme-btn::before,
.shop-list-items .shop-list-content .shop-btn .button::before {
	background-color: var(--theme2);
}
.shop-list-items .shop-list-content .shop-btn .theme-btn:hover,
.shop-list-items .shop-list-content .shop-btn .button:hover {
	color: var(--white) !important;
}

.shop-list-items .shop-icon {
	display: flex; gap: 8px; list-style: none; margin: 0; padding: 0;
}
.shop-list-items .shop-icon li {
	width: 40px; height: 40px;
	border: 1px solid rgba(92, 112, 126, 0.3);
	border-radius: 50%;
	display: grid; place-items: center;
	transition: all 0.4s ease-in-out;
	background: transparent;
}
.shop-list-items .shop-icon li a {
	color: var(--text); display: grid; place-items: center; width: 100%; height: 100%;
}
.shop-list-items .shop-icon li:hover {
	background: var(--theme); border-color: var(--theme);
}
.shop-list-items .shop-icon li:hover a { color: var(--white); }

/* Single product — Bookle layout */
.ludo-single-product {
	padding: 2.5rem 0 4rem;
}
.ludo-product-single {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1rem;
}
.ludo-product-layout {
	display: grid;
	grid-template-columns: 400px minmax(0, 1fr);
	gap: 2.75rem 3.25rem;
	align-items: start;
	width: 100%;
}
.ludo-product-gallery {
	max-width: 400px;
	width: 100%;
}
.ludo-product-gallery .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}
.ludo-product-gallery .woocommerce-product-gallery__wrapper,
.ludo-product-gallery .woocommerce-product-gallery__image,
.ludo-product-gallery .flex-viewport {
	border-radius: 12px;
	overflow: hidden;
	background: #f3f3f3;
	border: 1px solid #ececec;
}
.ludo-product-gallery .woocommerce-product-gallery__image img {
	width: 100%;
	max-height: 520px;
	border-radius: 12px;
	object-fit: cover;
}
.ludo-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 0.75rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}
.ludo-product-gallery .flex-control-thumbs li {
	width: calc(20% - 0.6rem);
	float: none;
	margin: 0;
}
.ludo-product-gallery .flex-control-thumbs li img {
	border-radius: 8px;
	border: 1px solid #e5e5e5;
	opacity: 1;
}
.ludo-product-gallery .flex-control-thumbs li img.flex-active {
	border-color: var(--theme);
}

.ludo-product-summary,
.ludo-product-single div.summary.entry-summary,
.woocommerce div.product .ludo-product-summary,
.woocommerce div.product div.summary {
	max-width: none !important;
	width: 100% !important;
	float: none !important;
	clear: none !important;
	padding-top: 0.25rem;
	min-width: 0;
	margin: 0 !important;
}
.ludo-product-title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.25rem 1.5rem;
	margin-bottom: 1.15rem;
}
.ludo-product-title {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: clamp(1.85rem, 2.8vw, 2.5rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--header);
	max-width: none;
	flex: 1;
}
.ludo-stock-badge {
	flex-shrink: 0;
	margin-top: 0.45rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #22c55e;
	white-space: nowrap;
}
.ludo-stock-badge--out { color: #dc2626; }

.ludo-product-excerpt {
	color: var(--text);
	font-size: 1.05rem;
	line-height: 1.85;
	margin: 0 0 1.5rem;
	max-width: none;
	width: 100%;
}
.ludo-product-excerpt p { margin: 0; }

.ludo-product-price,
.ludo-single-product .ludo-product-price,
.ludo-single-product .woocommerce-Price-amount {
	color: var(--theme2) !important;
	font-weight: 700 !important;
	font-size: 1.85rem !important;
	font-family: "Inter", sans-serif !important;
	margin: 0 0 1.5rem;
}
.ludo-product-price del .woocommerce-Price-amount {
	font-size: 1.1rem !important;
	font-weight: 500 !important;
	opacity: 0.55;
	margin-right: 0.4rem;
}

.ludo-product-actions form.cart {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.75rem !important;
}
.ludo-product-actions .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e5e5e5;
	border-radius: 100px;
	overflow: hidden;
	background: var(--white);
	height: 48px;
	margin: 0 !important;
}
.ludo-product-actions .quantity .ludo-qty-btn {
	width: 40px;
	height: 48px;
	border: 0;
	background: transparent;
	color: var(--header);
	font-size: 1.15rem;
	cursor: pointer;
	line-height: 1;
}
.ludo-product-actions .quantity .qty {
	width: 48px !important;
	height: 48px !important;
	border: 0 !important;
	border-radius: 0 !important;
	text-align: center;
	font-weight: 600;
	color: var(--header);
	background: transparent;
	-moz-appearance: textfield;
}
.ludo-product-actions .quantity .qty::-webkit-outer-spin-button,
.ludo-product-actions .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.ludo-product-actions .single_add_to_cart_button,
.ludo-product-actions button.button.alt {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 48px;
	padding: 0 1.6rem !important;
	border-radius: 100px !important;
	border: 0 !important;
	background: var(--theme) !important;
	color: var(--white) !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
	text-transform: capitalize !important;
	box-shadow: none !important;
}
.ludo-product-actions .single_add_to_cart_button:hover {
	background: var(--theme2) !important;
}

.ludo-product-meta-box {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem 1.5rem;
	background: #f3f3f3;
	border-radius: 12px;
	padding: 1.5rem 1.6rem;
	margin-bottom: 0;
}
.ludo-product-meta-item {
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--text);
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}
.ludo-product-meta-item strong {
	display: block;
	color: var(--header);
	font-weight: 700;
	margin-right: 0;
}
.ludo-product-meta-item span {
	word-break: break-word;
}

.ludo-single-product .woocommerce-tabs {
	max-width: var(--container);
	margin: 2.5rem auto 0;
	padding: 0 1rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0; margin: 0 0 1.25rem; display: flex; gap: 0.5rem; border: 0; flex-wrap: wrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 1px solid #E5E5E5 !important; background: var(--bg2) !important;
	border-radius: 100px !important; margin: 0 !important; padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: var(--theme) !important; border-color: var(--theme) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 0.75rem 1.1rem !important; font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--white) !important; }

@media (max-width: 991px) {
	.ludo-product-layout { grid-template-columns: 1fr; gap: 1.75rem; }
	.ludo-product-gallery { max-width: 380px; margin: 0 auto; }
	.ludo-product-meta-box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
	.ludo-product-title-row { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
	.ludo-product-meta-box { grid-template-columns: 1fr; }
}

/* Page banner */
.ludo-page-banner {
	background: linear-gradient(90deg, rgba(1, 46, 74, 0.88), rgba(3, 98, 128, 0.75)),
		url("../images/hero.jpg") center/cover;
	color: var(--white); padding: 4rem 0 3rem; text-align: center;
	margin: 0 !important;
	width: 100%;
}
.ludo-page-banner__title {
	margin: 0 0 0.75rem; color: var(--white); font-size: clamp(2rem, 4vw, 3rem);
}
.ludo-breadcrumb ul {
	display: flex; justify-content: center; gap: 0.5rem;
	list-style: none; padding: 0; margin: 0; flex-wrap: wrap;
}
.ludo-breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.7; }
.ludo-breadcrumb a, .ludo-breadcrumb span { color: var(--white); }

/* Authors / testimonials / deal / footer */
.ludo-authors-band { background: var(--header); }
.ludo-author-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 1rem;
	align-items: stretch;
}
.ludo-author-grid > br { display: none !important; }
.ludo-author-grid > p {
	display: contents;
}
.ludo-author-grid a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
	color: var(--white); padding: 1.25rem 1rem; text-align: center; border-radius: 8px;
	font-weight: 600; transition: background var(--transition), transform var(--transition);
	margin: 0 !important;
}
.ludo-author-grid a:hover { background: var(--theme2); color: var(--white); transform: translateY(-3px); }

.ludo-testimonials { background: var(--bg2); }
.ludo-testimonial-slider { max-width: 760px; margin: 0 auto; min-height: 160px; }
.ludo-testimonial { display: none; text-align: center; animation: ludo-fade-up 0.5s ease; }
.ludo-testimonial.is-active { display: block; }
.ludo-testimonial p { font-size: 1.15rem; color: var(--header); margin-bottom: 1rem; }
.ludo-testimonial strong { display: block; color: var(--theme2); }
.ludo-testimonial-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.ludo-testimonial-dots button {
	width: 10px; height: 10px; border-radius: 50%; border: 0; background: #c9d3d8; cursor: pointer;
}
.ludo-testimonial-dots button.is-active { background: var(--theme2); }

.ludo-deal__inner {
	display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
	background: var(--bg); border-radius: 16px; overflow: hidden; padding: 2rem;
}
.ludo-deal__inner img { width: 100%; border-radius: 12px; object-fit: cover; max-height: 340px; }

.ludo-cta-band { background: var(--theme); color: var(--white); padding: 2rem 0; }
.ludo-cta-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ludo-cta-band span { display: block; opacity: 0.8; font-size: 0.85rem; }
.ludo-cta-band strong { font-size: 1.1rem; }

.ludo-footer { background: var(--header); color: rgba(255,255,255,0.85); padding-top: 3.5rem; }
.ludo-footer a { color: rgba(255,255,255,0.85); }
.ludo-footer a:hover { color: var(--theme2); }
.ludo-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.ludo-footer h3 { color: var(--white); font-size: 1.15rem; margin-top: 0; }
.ludo-footer ul { list-style: none; padding: 0; margin: 0; }
.ludo-footer li + li { margin-top: 0.45rem; }
.ludo-footer__brand img {
	background: #000; padding: 0.4rem 0.6rem; border-radius: 6px; margin-bottom: 1rem; max-width: 160px;
}
.ludo-newsletter { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ludo-newsletter input {
	flex: 1; min-width: 160px; border: 1px solid rgba(255,255,255,0.2);
	background: rgba(255,255,255,0.06); color: var(--white); padding: 0.75rem 0.9rem; border-radius: 100px;
}
.ludo-footer__copy { border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem 0; font-size: 0.9rem; }
.ludo-footer__copy p { margin: 0; }

.woocommerce-cart .cart-collaterals .cart_totals,
.wc-block-components-sidebar {
	background: var(--bg2); border-radius: 12px; padding: 1.25rem;
}
.woocommerce table.shop_table { border: 1px solid #E5E5E5 !important; border-radius: 10px; overflow: hidden; }

/* Responsive */
@media (max-width: 1100px) {
	.ludo-features__grid,
	.woocommerce ul.products,
	ul.products { grid-template-columns: repeat(2, 1fr) !important; }
	.ludo-footer__grid, .ludo-cta-band__grid { grid-template-columns: repeat(2, 1fr); }
	.ludo-deal__inner { grid-template-columns: 1fr; }
	.shop-list-items { flex-wrap: wrap; gap: 20px; justify-content: center; }
	.shop-list-items .shop-list-content { padding: 0 30px 20px; text-align: center; }
	.shop-list-items .shop-list-content .shop-btn { justify-content: center; }
}

@media (max-width: 900px) {
	.ludo-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--white); border-bottom: 1px solid #eee; padding: 1rem;
	}
	.ludo-nav.is-open { display: block; }
	.ludo-nav__list { flex-direction: column; gap: 0.85rem; }
	.ludo-burger { display: inline-grid; }
	.ludo-header-search { display: none; }
	.ludo-topbar { display: none !important; }
	.ludo-header { position: relative; }
	.ludo-header__inner { position: relative; }
	.ludo-header .ludo-logo img,
	.ludo-header .ludo-logo .custom-logo,
	.ludo-header .custom-logo-link img { max-height: 82px; }
	.ludo-about__inner { grid-template-columns: 1fr; }
	.book-catagories-items .book-thumb { width: 200px; height: 200px; }
}

@media (max-width: 640px) {
	.ludo-features__grid,
	.ludo-author-grid,
	.woocommerce ul.products,
	ul.products,
	.ludo-footer__grid,
	.ludo-cta-band__grid { grid-template-columns: 1fr !important; }
	.ludo-hero { min-height: 70vh; }
	.shop-list-items .shop-list-thumb { flex-basis: 100%; width: calc(100% - 20px); }
}
