/* =========================================================================
   RkBioHealth — Main Stylesheet
   A premium, modern healthcare-marketplace UI built on Bootstrap 5.3.
   Author: BiswaJit
   ========================================================================= */

/* ---------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------- */
:root {
	--rkbh-primary: #1958E8;
	--rkbh-primary-rgb: 25, 88, 232;
	--rkbh-secondary: #1FAE7A;
	--rkbh-secondary-rgb: 31, 174, 122;
	--rkbh-accent: #FF6B57;
	--rkbh-accent-rgb: 255, 107, 87;
	--rkbh-ink: #0B1F3A;
	--rkbh-surface: #F4F8FF;
	--rkbh-bg: #FFFFFF;
	--rkbh-card-bg: rgba(255, 255, 255, 0.72);
	--rkbh-card-border: rgba(255, 255, 255, 0.5);
	--rkbh-muted: #5C6B82;
	--rkbh-border: #E4ECF7;
	--rkbh-radius-sm: 10px;
	--rkbh-radius: 16px;
	--rkbh-radius-lg: 24px;
	--rkbh-shadow: 0 10px 30px -10px rgba(11, 31, 58, 0.12);
	--rkbh-shadow-lg: 0 24px 60px -20px rgba(11, 31, 58, 0.22);
	--rkbh-font-display: 'Sora', system-ui, sans-serif;
	--rkbh-font-body: 'Inter', system-ui, sans-serif;
	--rkbh-font-mono: 'IBM Plex Mono', 'Courier New', monospace;
	--rkbh-header-height: 76px;
	--rkbh-transition: 0.25s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
	--rkbh-ink: #EAF1FF;
	--rkbh-bg: #0A1322;
	--rkbh-surface: #101D33;
	--rkbh-card-bg: rgba(20, 32, 53, 0.65);
	--rkbh-card-border: rgba(255, 255, 255, 0.08);
	--rkbh-muted: #9FB0CC;
	--rkbh-border: #1E2D45;
	--rkbh-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
	--rkbh-shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
	font-family: var(--rkbh-font-body);
	background: var(--rkbh-bg);
	color: var(--rkbh-ink);
	transition: background var(--rkbh-transition), color var(--rkbh-transition);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .rkbh-font-display { font-family: var(--rkbh-font-display); letter-spacing: -0.01em; }
a { color: var(--rkbh-primary); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--rkbh-primary); color: #fff; padding: 10px 16px; z-index: 9999; }
.skip-link:focus { left: 10px; top: 10px; }

.rkbh-price, .rkbh-price bdi, .price, .price bdi, .rkbh-stat-value { font-family: var(--rkbh-font-mono); font-weight: 600; color: var(--rkbh-primary); }
.price del { color: var(--rkbh-muted); font-weight: 400; opacity: .7; }
.price ins { text-decoration: none; }

/* Glassmorphism */
.glass-card {
	background: var(--rkbh-card-bg);
	border: 1px solid var(--rkbh-card-border);
	border-radius: var(--rkbh-radius);
	backdrop-filter: blur(18px) saturate(160%);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	box-shadow: var(--rkbh-shadow);
	transition: box-shadow var(--rkbh-transition), transform var(--rkbh-transition);
}

.btn-primary { background: var(--rkbh-primary); border-color: var(--rkbh-primary); }
.btn-primary:hover, .btn-primary:focus { background: #1247c4; border-color: #1247c4; }
.btn-success { background: var(--rkbh-secondary); border-color: var(--rkbh-secondary); }
.btn-success:hover { background: #178f64; border-color: #178f64; }
.btn-outline-primary { color: var(--rkbh-primary); border-color: var(--rkbh-primary); }
.form-select:focus, .form-control:focus { border-color: var(--rkbh-primary); box-shadow: 0 0 0 .2rem rgba(var(--rkbh-primary-rgb), .15); }

.rkbh-skeleton { background: linear-gradient(90deg,#eef2f9 25%,#f8fafc 37%,#eef2f9 63%); background-size: 400% 100%; animation: rkbh-shimmer 1.4s ease infinite; border-radius: var(--rkbh-radius-sm); }
[data-theme="dark"] .rkbh-skeleton { background: linear-gradient(90deg,#16233a 25%,#1c2c47 37%,#16233a 63%); background-size: 400% 100%; }
@keyframes rkbh-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.rkbh-spinner { width: 36px; height: 36px; border: 3px solid var(--rkbh-border); border-top-color: var(--rkbh-primary); border-radius: 50%; margin: 0 auto; animation: rkbh-spin 0.8s linear infinite; }
@keyframes rkbh-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------
   3. Top bar + Header
   ------------------------------------------------------------------- */
.rkbh-topbar { background: var(--rkbh-ink); color: #fff; font-size: .8rem; }
[data-theme="dark"] .rkbh-topbar { background: #050B16; }
.rkbh-topbar a { color: #cfe0ff; text-decoration: none; }

.rkbh-header {
	position: sticky; top: 0; z-index: 1000;
	background: rgba(255,255,255,.78);
	backdrop-filter: blur(16px) saturate(160%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	border-bottom: 1px solid var(--rkbh-border);
	min-height: var(--rkbh-header-height);
}
[data-theme="dark"] .rkbh-header { background: rgba(10,19,34,.82); }

.rkbh-logo-text { font-family: var(--rkbh-font-display); font-weight: 800; font-size: 1.5rem; color: var(--rkbh-ink); text-decoration: none; }
.rkbh-logo-text span { color: var(--rkbh-secondary); }
.custom-logo { max-height: 48px; width: auto; }

.rkbh-search-wrap { position: relative; max-width: 560px; }
.rkbh-search-form { display: flex; align-items: center; background: var(--rkbh-surface); border-radius: 999px; padding: 4px 6px 4px 18px; border: 1px solid var(--rkbh-border); }
.rkbh-search-input { flex: 1; border: none; background: transparent; outline: none; padding: 8px 6px; font-size: .92rem; color: var(--rkbh-ink); }
.rkbh-voice-btn, .rkbh-search-submit { border: none; background: transparent; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--rkbh-muted); cursor: pointer; transition: var(--rkbh-transition); }
.rkbh-search-submit { background: var(--rkbh-primary); color: #fff; }
.rkbh-voice-btn:hover { color: var(--rkbh-primary); }
.rkbh-voice-btn.is-listening { color: var(--rkbh-accent); animation: rkbh-pulse 1s infinite; }
@keyframes rkbh-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.rkbh-search-results {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 1050;
	max-height: 70vh; overflow-y: auto; padding: 14px;
}
.rkbh-search-results .rkbh-search-section-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--rkbh-muted); margin: 10px 0 6px; }
.rkbh-search-result-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--rkbh-radius-sm); text-decoration: none; color: var(--rkbh-ink); }
.rkbh-search-result-item:hover { background: rgba(var(--rkbh-primary-rgb), .08); }
.rkbh-search-result-item img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.rkbh-search-suggestion-chip { display: inline-block; background: var(--rkbh-surface); border-radius: 999px; padding: 4px 12px; font-size: .8rem; margin: 2px; cursor: pointer; }

.rkbh-icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: none; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--rkbh-ink); cursor: pointer; transition: var(--rkbh-transition); }
.rkbh-icon-btn:hover { background: rgba(var(--rkbh-primary-rgb), .1); color: var(--rkbh-primary); }
.rkbh-icon-moon { display: none; }
[data-theme="dark"] .rkbh-icon-sun { display: none; }
[data-theme="dark"] .rkbh-icon-moon { display: block; }
.rkbh-badge-count { position: absolute; top: 2px; right: 2px; background: var(--rkbh-accent); color: #fff; font-size: .62rem; line-height: 1; min-width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }

.rkbh-primary-nav { padding: 6px 0 14px; }
.rkbh-nav-list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.rkbh-nav-list a { color: var(--rkbh-ink); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 6px 0; border-bottom: 2px solid transparent; transition: var(--rkbh-transition); }
.rkbh-nav-list a:hover, .rkbh-nav-list .current-menu-item > a { color: var(--rkbh-primary); border-color: var(--rkbh-primary); }
.rkbh-nav-list .sub-menu { display: none; }

.rkbh-mobile-menu-btn { border: none; background: transparent; color: var(--rkbh-ink); }
.rkbh-mobile-menu, .rkbh-mobile-menu-overlay { position: fixed; inset: 0; z-index: 1100; visibility: hidden; opacity: 0; transition: var(--rkbh-transition); }
.rkbh-mobile-menu.is-open, .rkbh-mobile-menu.is-open + .rkbh-mobile-menu-overlay, .rkbh-mobile-menu-overlay.is-open { visibility: visible; opacity: 1; }
.rkbh-mobile-menu-overlay { background: rgba(0,0,0,.4); }
.rkbh-mobile-menu-inner { position: absolute; left: 0; top: 0; bottom: 0; width: 82%; max-width: 340px; padding: 24px; border-radius: 0 var(--rkbh-radius-lg) var(--rkbh-radius-lg) 0; transform: translateX(-100%); transition: transform var(--rkbh-transition); overflow-y: auto; }
.rkbh-mobile-menu.is-open .rkbh-mobile-menu-inner { transform: translateX(0); }
.rkbh-mobile-menu-close { position: absolute; right: 16px; top: 16px; font-size: 1.8rem; background: none; border: none; line-height: 1; color: var(--rkbh-ink); }
.rkbh-mobile-nav-list { list-style: none; padding: 0; margin: 40px 0 0; }
.rkbh-mobile-nav-list a { display: block; padding: 12px 4px; color: var(--rkbh-ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--rkbh-border); }

/* ---------------------------------------------------------------------
   4. Hero Slider
   ------------------------------------------------------------------- */
.rkbh-hero { margin-bottom: 2.5rem; }
.rkbh-hero-slide {
	min-height: 420px; display: flex; align-items: center;
	background-size: cover; background-position: center;
	position: relative;
}
.rkbh-hero-demo-bg-1 { background: linear-gradient(120deg, #103a8c 0%, #1958E8 55%, #1FAE7A 130%); }
.rkbh-hero-demo-bg-2 { background: linear-gradient(120deg, #0c2a63 0%, #1FAE7A 60%, #1958E8 130%); }
.rkbh-hero-demo-bg-3 { background: linear-gradient(120deg, #7a1f3f 0%, #FF6B57 60%, #1958E8 140%); }
.rkbh-hero-slide::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.08), transparent 60%); }
.rkbh-hero-slide-content { position: relative; max-width: 560px; padding: 36px; color: #fff; background: rgba(11,31,58,.28); border-color: rgba(255,255,255,.25); }
.rkbh-theme-dark .rkbh-hero-slide-content { color: var(--rkbh-ink); background: rgba(255,255,255,.55); }
.rkbh-hero-slide-content h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: .5rem; }
.rkbh-hero-subtitle { opacity: .92; }
.carousel-control-prev, .carousel-control-next { width: 56px; }
.rkbh-carousel-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.25); backdrop-filter: blur(8px); color: #fff; font-size: 1.6rem; }
.rkbh-hero-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); }
.rkbh-hero-indicators .active { background: #fff; }

/* ---------------------------------------------------------------------
   5. Section layout
   ------------------------------------------------------------------- */
.rkbh-section { margin: 3rem 0; }
.rkbh-section-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 1.25rem; }
.rkbh-section-title { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; margin: 0; }
.rkbh-section-link { font-weight: 600; font-size: .9rem; text-decoration: none; }

.rkbh-category-scroll, .rkbh-brand-scroll, .rkbh-testimonial-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.rkbh-category-scroll::-webkit-scrollbar, .rkbh-brand-scroll::-webkit-scrollbar, .rkbh-testimonial-scroll::-webkit-scrollbar { height: 6px; }
.rkbh-category-card {
	flex: 0 0 150px; scroll-snap-align: start; text-align: center; padding: 18px 12px;
	text-decoration: none; color: var(--rkbh-ink); transition: var(--rkbh-transition);
}
.rkbh-category-card:hover { transform: translateY(-4px); box-shadow: var(--rkbh-shadow-lg); }
.rkbh-category-icon { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; background: var(--rkbh-surface); display: flex; align-items: center; justify-content: center; }
.rkbh-category-icon img { width: 100%; height: 100%; object-fit: cover; }
.rkbh-category-name { display: block; font-weight: 600; font-size: .92rem; }
.rkbh-category-count { display: block; font-size: .75rem; color: var(--rkbh-muted); }

.rkbh-brand-card { flex: 0 0 150px; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; height: 90px; padding: 14px; text-decoration: none; }
.rkbh-brand-card img { max-width: 100%; max-height: 50px; object-fit: contain; filter: grayscale(0.2); }
.rkbh-brand-name { font-weight: 700; color: var(--rkbh-ink); }

/* ---------------------------------------------------------------------
   6. Flash sale + countdown
   ------------------------------------------------------------------- */
.rkbh-flash-icon { display: inline-block; }
.rkbh-countdown { display: flex; gap: 8px; }
.rkbh-countdown-box { background: var(--rkbh-ink); color: #fff; border-radius: var(--rkbh-radius-sm); padding: 6px 10px; text-align: center; min-width: 48px; font-family: var(--rkbh-font-mono); }
.rkbh-countdown-box span { display: block; font-size: 1.1rem; font-weight: 700; }
.rkbh-countdown-box small { font-size: .6rem; opacity: .7; text-transform: uppercase; }

/* ---------------------------------------------------------------------
   7. Product cards (WooCommerce loop)
   ------------------------------------------------------------------- */
ul.products { display: contents; list-style: none; padding: 0; margin: 0; }
ul.products::before, ul.products::after { display: none !important; content: none !important; }
.rkbh-product-grid { list-style: none; }
li.product, .product {
	position: relative; list-style: none; background: var(--rkbh-card-bg); border: 1px solid var(--rkbh-card-border);
	border-radius: var(--rkbh-radius); padding: 14px; height: 100%; backdrop-filter: blur(14px);
	transition: transform var(--rkbh-transition), box-shadow var(--rkbh-transition);
}
li.product:hover, .product:hover { transform: translateY(-5px); box-shadow: var(--rkbh-shadow-lg); }
li.product a img, .product a img { border-radius: var(--rkbh-radius-sm); aspect-ratio: 1/1; object-fit: cover; width: 100%; }
li.product .woocommerce-loop-product__title, .product h2 { font-size: .92rem; font-weight: 600; margin: 10px 0 4px; color: var(--rkbh-ink); }
li.product .star-rating { font-size: .75rem; margin-bottom: 4px; }
li.product .price { font-size: 1rem; }
li.product .button { margin-top: 10px; }

.rkbh-card-badges { position: absolute; top: 10px; left: 10px; z-index: 5; display: flex; flex-direction: column; gap: 4px; }
.rkbh-badge { display: inline-block; font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: #fff; }
.rkbh-badge-sale { background: var(--rkbh-accent); }
.rkbh-badge-outofstock { background: #8a93a3; }
.rkbh-badge-lowstock { background: #e8a91e; }
.rkbh-badge-category { background: rgba(var(--rkbh-secondary-rgb), .15); color: var(--rkbh-secondary); }
.rkbh-badge-completed { background: var(--rkbh-secondary); }
.rkbh-badge-processing { background: var(--rkbh-primary); }
.rkbh-badge-pending, .rkbh-badge-on-hold { background: #e8a91e; }
.rkbh-badge-cancelled, .rkbh-badge-failed, .rkbh-badge-refunded { background: #d6493c; }

.rkbh-card-actions { position: absolute; top: 10px; right: 10px; z-index: 5; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateX(8px); transition: var(--rkbh-transition); }
li.product:hover .rkbh-card-actions, .product:hover .rkbh-card-actions { opacity: 1; transform: translateX(0); }
.rkbh-wishlist-btn, .rkbh-compare-btn, .rkbh-quickview-btn {
	width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255,255,255,.9);
	display: inline-flex; align-items: center; justify-content: center; color: var(--rkbh-ink); cursor: pointer;
	box-shadow: 0 4px 10px rgba(0,0,0,.12); transition: var(--rkbh-transition);
}
.rkbh-wishlist-btn:hover, .rkbh-compare-btn:hover, .rkbh-quickview-btn:hover { background: var(--rkbh-primary); color: #fff; }
.rkbh-wishlist-btn.is-active { color: var(--rkbh-accent); }
.rkbh-compare-btn.is-active { color: var(--rkbh-primary); background: rgba(var(--rkbh-primary-rgb),.15); }

.rkbh-stars { color: #d8dee8; display: inline-flex; gap: 1px; }
.rkbh-star.filled { color: #f6b93b; }
.rkbh-rating-count { font-size: .75rem; color: var(--rkbh-muted); margin-left: 4px; }

/* ---------------------------------------------------------------------
   8. Shop filters sidebar
   ------------------------------------------------------------------- */
.rkbh-widget-title { font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.rkbh-shop-filters .form-check { margin-bottom: 6px; }
#rkbh-shop-loading { width: 100%; }
.rkbh-no-results { padding: 40px; text-align: center; color: var(--rkbh-muted); width: 100%; }

@media (max-width: 991.98px) {
	.rkbh-shop-filters { position: fixed; top: 0; bottom: 0; left: 0; width: 86%; max-width: 360px; z-index: 1200; overflow-y: auto; padding: 20px; transform: translateX(-100%); transition: transform var(--rkbh-transition); background: var(--rkbh-bg); }
	.rkbh-shop-filters.is-open { transform: translateX(0); box-shadow: var(--rkbh-shadow-lg); }
}



/* ---------------------------------------------------------------------
   9. Single product page
   ------------------------------------------------------------------- */
.rkbh-product-gallery-wrap .woocommerce-product-gallery { position: relative; }
.rkbh-product-gallery-wrap .flex-control-thumbs { display: flex; gap: 8px; margin-top: 10px; list-style: none; padding: 0; }
.rkbh-product-gallery-wrap .flex-control-thumbs li { width: 70px; }
.rkbh-product-gallery-wrap .flex-control-thumbs img { border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.rkbh-product-gallery-wrap .flex-control-thumbs img.flex-active { border-color: var(--rkbh-primary); }

.rkbh-single-product .product_title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.rkbh-single-product .price { font-size: 1.6rem; margin: 10px 0; }
.rkbh-single-product .woocommerce-product-details__short-description { color: var(--rkbh-muted); }
.rkbh-single-product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; }
.rkbh-single-product .quantity input { width: 70px; border-radius: 999px; border: 1px solid var(--rkbh-border); text-align: center; height: 46px; }
.rkbh-single-product .single_add_to_cart_button { border-radius: 999px !important; padding: 12px 28px !important; font-weight: 700; }
.rkbh-product-actions-top { display: flex; gap: 8px; }

.woocommerce-tabs { margin-top: 1rem; }
.woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; border-bottom: 1px solid var(--rkbh-border); margin-bottom: 1.25rem; }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: inline-block; padding: 10px 18px; border-radius: 999px 999px 0 0; text-decoration: none; color: var(--rkbh-muted); font-weight: 600; }
.woocommerce-tabs ul.tabs li.active a { color: var(--rkbh-primary); background: rgba(var(--rkbh-primary-rgb), .08); }
.woocommerce-tabs .panel { background: var(--rkbh-card-bg); border: 1px solid var(--rkbh-card-border); border-radius: var(--rkbh-radius); padding: 22px; backdrop-filter: blur(14px); }

.rkbh-faq-accordion .accordion-item { border: none; margin-bottom: 10px; overflow: hidden; }
.rkbh-faq-accordion .accordion-button { font-weight: 600; background: var(--rkbh-surface); }
.rkbh-faq-accordion .accordion-button:not(.collapsed) { color: var(--rkbh-primary); background: rgba(var(--rkbh-primary-rgb), .08); }
.rkbh-faq-accordion .accordion-button:focus { box-shadow: none; }

.rkbh-fbt-row { display: flex; align-items: center; gap: 14px; padding: 20px; flex-wrap: wrap; }
.rkbh-fbt-item { text-align: center; }
.rkbh-fbt-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.rkbh-fbt-plus { font-size: 1.4rem; color: var(--rkbh-muted); }

.related.products, .upsells.upsell { margin-top: 2.5rem; }
.related.products > h2, .upsells.upsell > h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.25rem; }

/* Sticky add-to-cart bar */
.rkbh-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; background: var(--rkbh-bg); border-top: 1px solid var(--rkbh-border); box-shadow: 0 -10px 30px rgba(0,0,0,.08); transform: translateY(100%); transition: transform var(--rkbh-transition); }
.rkbh-sticky-atc.is-visible { transform: translateY(0); }
.rkbh-sticky-atc-img { width: 48px; height: 48px; object-fit: cover; }

/* ---------------------------------------------------------------------
   10. Testimonials + Newsletter + FAQ (homepage)
   ------------------------------------------------------------------- */
.rkbh-testimonial-card { flex: 0 0 320px; scroll-snap-align: start; padding: 24px; }
.rkbh-testimonial-text { font-size: .95rem; color: var(--rkbh-ink); margin: 10px 0; }
.rkbh-testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.rkbh-testimonial-avatar-fallback { width: 42px; height: 42px; border-radius: 50%; background: var(--rkbh-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

.rkbh-newsletter-section { margin: 3.5rem 0; }
.rkbh-newsletter-card { padding: 36px; background: linear-gradient(120deg, rgba(var(--rkbh-primary-rgb),.12), rgba(var(--rkbh-secondary-rgb),.12)); }
.rkbh-newsletter-feedback.is-success { color: var(--rkbh-secondary); }
.rkbh-newsletter-feedback.is-error { color: var(--rkbh-accent); }

/* ---------------------------------------------------------------------
   11. Cart drawer / mini-cart
   ------------------------------------------------------------------- */
.rkbh-cart-drawer, .rkbh-cart-drawer-overlay { position: fixed; inset: 0; z-index: 1200; visibility: hidden; opacity: 0; transition: var(--rkbh-transition); }
.rkbh-cart-drawer.is-open, .rkbh-cart-drawer-overlay.is-open { visibility: visible; opacity: 1; }
.rkbh-cart-drawer-overlay { background: rgba(0,0,0,.4); }
.rkbh-cart-drawer-inner { position: absolute; right: 0; top: 0; bottom: 0; width: 90%; max-width: 400px; padding: 24px; border-radius: var(--rkbh-radius-lg) 0 0 var(--rkbh-radius-lg); transform: translateX(100%); transition: transform var(--rkbh-transition); overflow-y: auto; }
.rkbh-cart-drawer.is-open .rkbh-cart-drawer-inner { transform: translateX(0); }

.widget_shopping_cart_content ul.woocommerce-mini-cart { list-style: none; padding: 0; margin: 0; }
.widget_shopping_cart_content ul.woocommerce-mini-cart li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rkbh-border); position: relative; }
.widget_shopping_cart_content ul.woocommerce-mini-cart li img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.widget_shopping_cart_content ul.woocommerce-mini-cart li a.remove { position: absolute; top: 8px; right: 0; color: var(--rkbh-accent); text-decoration: none; font-weight: 700; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; font-weight: 700; padding: 14px 0; border-top: 2px solid var(--rkbh-border); }
.woocommerce-mini-cart__buttons .button { width: 100%; margin-bottom: 8px; border-radius: 999px; text-align: center; padding: 10px; display: block; }

/* Toast */
.rkbh-toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--rkbh-ink); color: #fff; padding: 12px 22px; border-radius: 999px; z-index: 2000; opacity: 0; visibility: hidden; transition: var(--rkbh-transition); display: flex; align-items: center; gap: 8px; box-shadow: var(--rkbh-shadow-lg); }
.rkbh-toast.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (min-width: 992px) { .rkbh-toast { bottom: 30px; } }

/* Compare bar + modal */
.rkbh-compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: var(--rkbh-bg); border-top: 1px solid var(--rkbh-border); box-shadow: 0 -10px 24px rgba(0,0,0,.08); }
.rkbh-compare-bar-item { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
#rkbh-compare-modal-body table { width: 100%; }
#rkbh-compare-modal-body img { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; }

/* ---------------------------------------------------------------------
   12. Footer + mobile bottom nav
   ------------------------------------------------------------------- */
.rkbh-footer { background: var(--rkbh-surface); margin-top: 4rem; }
.rkbh-footer-heading { font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.rkbh-footer-links { list-style: none; padding: 0; margin: 0; }
.rkbh-footer-links li { margin-bottom: 8px; }
.rkbh-footer-links a { color: var(--rkbh-muted); text-decoration: none; font-size: .9rem; }
.rkbh-footer-links a:hover { color: var(--rkbh-primary); }
.rkbh-social-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--rkbh-card-bg); border: 1px solid var(--rkbh-card-border); display: inline-flex; align-items: center; justify-content: center; color: var(--rkbh-ink); }
.rkbh-pay-chip { background: var(--rkbh-bg); border: 1px solid var(--rkbh-border); border-radius: 8px; padding: 4px 10px; font-size: .78rem; font-weight: 600; }
.rkbh-footer-bottom { background: var(--rkbh-ink); color: rgba(255,255,255,.75); }

.rkbh-mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1090; background: var(--rkbh-card-bg); backdrop-filter: blur(18px); border-top: 1px solid var(--rkbh-card-border); display: flex; justify-content: space-around; align-items: center; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.rkbh-bottom-nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .65rem; color: var(--rkbh-muted); text-decoration: none; background: none; border: none; position: relative; padding: 4px 8px; }
.rkbh-bottom-nav-item.is-active { color: var(--rkbh-primary); }
.rkbh-bottom-nav-fab { width: 52px; height: 52px; border-radius: 50%; background: var(--rkbh-primary); color: #fff; margin-top: -26px; box-shadow: 0 8px 18px rgba(var(--rkbh-primary-rgb),.4); }
.rkbh-bottom-nav-badge { top: -4px; right: -2px; }
body { padding-bottom: 0; }
@media (max-width: 991.98px) { body.rkbh-theme { padding-bottom: 64px; } }

/* ---------------------------------------------------------------------
   13. My Account dashboard
   ------------------------------------------------------------------- */
.rkbh-account-nav ul li { border-radius: var(--rkbh-radius-sm); overflow: hidden; margin-bottom: 2px; }
.rkbh-account-nav-link { display: flex; align-items: center; gap: 10px; padding: 11px 14px; color: var(--rkbh-ink); text-decoration: none; font-weight: 600; font-size: .9rem; border-radius: var(--rkbh-radius-sm); }
.rkbh-account-nav li.is-active .rkbh-account-nav-link { background: var(--rkbh-primary); color: #fff; }
.rkbh-account-nav-link:hover { background: rgba(var(--rkbh-primary-rgb), .08); }

.rkbh-account-stat-card { background: var(--rkbh-card-bg); border: 1px solid var(--rkbh-card-border); border-radius: var(--rkbh-radius); padding: 20px; backdrop-filter: blur(14px); height: 100%; }
.rkbh-account-stat-value { font-family: var(--rkbh-font-mono); font-size: 1.8rem; font-weight: 700; color: var(--rkbh-primary); }
.rkbh-account-stat-label { color: var(--rkbh-muted); font-size: .85rem; margin-bottom: 6px; }
.rkbh-stat-link { font-size: .82rem; font-weight: 600; text-decoration: none; }

.rkbh-recent-order-card, .rkbh-invoice-table { background: var(--rkbh-card-bg); border-radius: var(--rkbh-radius); }
.rkbh-tracking-steps { display: flex; list-style: none; padding: 0; margin: 18px 0; }
.rkbh-tracking-steps li { flex: 1; text-align: center; position: relative; }
.rkbh-tracking-steps li::before { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 2px; background: var(--rkbh-border); z-index: 0; }
.rkbh-tracking-steps li:first-child::before { display: none; }
.rkbh-tracking-steps li.is-done::before, .rkbh-tracking-steps li.is-current::before { background: var(--rkbh-secondary); }
.rkbh-step-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--rkbh-border); margin: 0 auto 6px; position: relative; z-index: 1; }
.rkbh-tracking-steps li.is-done .rkbh-step-dot, .rkbh-tracking-steps li.is-current .rkbh-step-dot { background: var(--rkbh-secondary); }
.rkbh-step-label { font-size: .72rem; color: var(--rkbh-muted); }

/* Admin dashboard (wp-admin pages) */
.rkbh-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 20px 0; }
.rkbh-stat-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; }
.rkbh-stat-value { font-size: 1.6rem; font-weight: 700; }
.rkbh-stat-label { color: #64748b; font-size: .85rem; margin-bottom: 6px; }

/* ---------------------------------------------------------------------
   14. Breadcrumbs, pagination, misc utility
   ------------------------------------------------------------------- */
.rkbh-breadcrumbs { margin: 16px 0 20px; }
.rkbh-breadcrumbs .breadcrumb { background: none; padding: 0; font-size: .85rem; }
.rkbh-breadcrumbs a { color: var(--rkbh-muted); text-decoration: none; }
.rkbh-page-title { font-weight: 800; }
.rkbh-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; margin-right: 6px; text-decoration: none; color: var(--rkbh-ink); }
.rkbh-pagination .page-numbers.current { background: var(--rkbh-primary); color: #fff; }
.rkbh-empty-state { text-align: center; padding: 60px 20px; color: var(--rkbh-muted); }

.rkbh-blog-card-thumb img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.rkbh-readmore { text-decoration: none; }
.rkbh-404-pulse svg { opacity: .6; }

/* Quick view modal content reuse */
.modal-content.glass-card { backdrop-filter: blur(24px); }

/* Print */
@media print { .rkbh-header, .rkbh-footer, .rkbh-mobile-bottom-nav, .rkbh-sticky-atc, .rkbh-toast { display: none !important; } }
