/* ==========================================================================
   Kitabzo Bookstore CSS Framework & Design System
   ========================================================================== */

/* Fallback Google Fonts import — overridden dynamically via Customizer */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
#kb-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.kb-toast {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    pointer-events: auto;
    animation: kbToastIn 0.35s ease;
    max-width: 400px;
}

@keyframes kbToastIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes kbToastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

.kb-toast--success {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.kb-toast--error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.kb-toast--info {
    background: #eff6ff;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.kb-toast-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.6;
    padding: 0 4px;
    color: inherit;
}

.kb-toast-close:hover {
    opacity: 1;
}

/* ==========================================================================
   Resets & Base Styles
   ========================================================================== */

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

:root {
    --color-accent: #E07A5F;
    --color-accent-hover: #C2593F;
    --color-accent-light: rgba(224, 122, 95, 0.12);
    --color-primary: #9F1239;
    --color-primary-light: #BE185D;
    --color-primary-dark: #1E122B;
    --color-secondary: #BE185D;
    --color-bg-light: #FAF8F5;
    --color-bg-cream: #FAF8F5;
    --color-bg-white: #FFFFFF;
    --color-text-dark: #2D3748;
    --color-text-light: #F7FAFC;
    --color-text-light-muted: rgba(255,255,255,0.7);
    --color-text-muted: #718096;
    --color-whatsapp: #25D366;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50%;
    --shadow-subtle: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-medium: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-strong: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-large: 0 20px 40px rgba(0,0,0,0.15);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-border: rgba(255,255,255,0.25);
    --glass-shadow: 0 8px 32px rgba(0,0,0,0.08);
    --glow-primary: 0 0 20px rgba(159,18,57,0.3);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; letter-spacing: -0.5px; }
h2 { font-size: 2.75rem; letter-spacing: -0.2px; }
h3 { font-size: 2rem; }
h4 { font-size: 1.35rem; }

.single-product .product_title { font-size: 2rem; }

a {
    color: var(--color-primary);
    text-decoration: none;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-normal);
}

.header-sticky {
    position: sticky !important;
    top: 0;
    z-index: 1000;
}

.admin-bar .header-sticky {
    top: 32px;
}

.site-header.scrolled {
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
}

/* Header Background Style Variants (Configurable) */
.site-header.header-solid {
    background: var(--color-bg-white);
    border-bottom: 1px solid rgba(42, 27, 61, 0.06);
    box-shadow: var(--shadow-subtle);
}

.site-header.header-glass {
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
}

.header-logo-img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-normal);
}

.site-header.scrolled .header-container {
    height: 70px;
}

.site-brand a {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-brand span {
    color: var(--color-accent);
}

.main-navigation ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-navigation a {
    font-weight: 500;
    color: var(--color-text-dark);
    position: relative;
    padding: 8px 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-fast);
}

.main-navigation a:hover::after,
.main-navigation li.current-menu-item a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-toggle-btn {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-accent);
}

/* Sliding Header Search Overlay CSS */
.header-search-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-white);
    display: flex;
    align-items: center;
    z-index: 150;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-search-bar.active {
    transform: translateY(0);
}

.nav-toggle-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    cursor: pointer;
}

/* Responsive Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--color-bg-white);
    z-index: 1010;
    padding: 40px 24px;
    box-shadow: var(--shadow-strong);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mobile-nav-drawer.active {
    right: 0;
}

.drawer-close-btn {
    align-self: flex-end;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--color-text-dark);
}

.mobile-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-navigation a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 17, 39, 0.4);
    z-index: 1005;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, hsl(38, 25%, 90%) 0%, var(--color-bg-light) 60%);
}

.hero-shape-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255,255,255,0) 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
    pointer-events: none;
}

.hero-shape-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(224, 122, 95, 0.12) 0%, rgba(255,255,255,0) 70%);
    bottom: -100px;
    left: -100px;
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 24px;
    font-size: 3.5rem;
}

.hero-content h1 span {
    color: var(--color-accent);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.35);
}

.btn-secondary {
    background: var(--color-bg-white);
    color: var(--color-primary-dark);
    border: 1px solid rgba(42, 27, 61, 0.1);
}

.btn-secondary:hover {
    background: var(--color-bg-cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: var(--color-text-light);
}

.btn-whatsapp:hover {
    background: var(--color-whatsapp-hover);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 178, 76, 0.35);
}

.hero-image-showcase {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-main-banner {
    position: relative;
    width: 320px;
    height: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transform: rotate(-3deg);
    transition: var(--transition-normal);
}

.hero-main-banner:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-glass-badge {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    transform: rotate(3deg);
}

.hero-glass-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--color-accent-light);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-glass-badge-text h5 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
}

.hero-glass-badge-text p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   Hero Slider Section (Dynamic & Custom Layouts)
   ========================================================================== */

.hero-slider-section {
    padding: 180px 0 110px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, hsl(336, 40%, 93%) 0%, var(--color-bg-light) 60%);
    min-height: 650px;
    display: flex;
    align-items: center;
}

.hero-slider-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-slide {
    width: 100%;
    display: none;
    position: relative;
}

.hero-slide.active {
    display: block;
}

.hero-slide.active .hero-content {
    animation: slideTextUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.active .hero-image-showcase {
    animation: slideImageIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.93);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    transform: scale(1.15);
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

@keyframes slideTextUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideImageIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9) rotate(-6deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(-3deg);
    }
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
}

.prev-arrow {
    left: 30px;
}

.next-arrow {
    right: 30px;
}

.prev-arrow:hover {
    background: var(--color-accent);
    color: var(--color-text-light);
    border-color: var(--color-accent);
    transform: translateY(-50%) translateX(-4px) scale(1.12);
    box-shadow: var(--glow-accent);
}

.next-arrow:hover {
    background: var(--color-accent);
    color: var(--color-text-light);
    border-color: var(--color-accent);
    transform: translateY(-50%) translateX(4px) scale(1.12);
    box-shadow: var(--glow-accent);
}

.hero-slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(131, 24, 67, 0.15);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot:hover {
    background: rgba(131, 24, 67, 0.4);
}

.slider-dot.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 6px;
}

.hero-meta-slider-tag {
    background: rgba(131, 24, 67, 0.03);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(131, 24, 67, 0.05);
    display: inline-flex;
    gap: 24px;
}

.hero-image-showcase {
    perspective: 1200px;
}

.hero-slide-cover {
    box-shadow: var(--shadow-large);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 280px;
    height: 390px;
    transform: rotateY(-10deg) rotateX(5deg) rotateZ(-3deg);
    transform-style: preserve-3d;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-slide:hover .hero-slide-cover {
    transform: rotateY(8deg) rotateX(2deg) rotateZ(0deg) scale(1.05);
    box-shadow: var(--glow-primary), var(--shadow-large);
}

.hero-slide-promo-banner {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #fff;
    text-align: center;
    border-radius: var(--radius-lg);
    width: 280px;
    height: 390px;
    box-shadow: var(--shadow-large);
}

.hero-content-spacer {
    min-height: 400px;
    width: 100%;
}

.hero-main-banner {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #fff;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-glass-badge {
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ==========================================================================
   Genre Tabs / Categories Slider
   ========================================================================== */

.genres-section {
    padding: 60px 0;
    background: var(--color-bg-white);
    border-bottom: 1px solid rgba(42, 27, 61, 0.05);
}

.genres-scroller {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 16px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.genres-scroller::before,
.genres-scroller::after {
    content: '';
    margin: auto;
}

.genres-scroller::-webkit-scrollbar {
    display: none; /* Safari / Chrome */
}

.genre-pill {
    padding: 12px 24px;
    background: var(--color-bg-light);
    border: 1px solid rgba(42, 27, 61, 0.05);
    border-radius: var(--radius-round);
    font-weight: 500;
    color: var(--color-text-dark);
    white-space: nowrap;
    transition: var(--transition-fast);
}

.genre-pill:hover, .genre-pill.active {
    background: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-subtle);
}

/* ==========================================================================
   Spotlight Section (Book of the Month)
   ========================================================================== */

.spotlight-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.spotlight-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    padding: 48px;
    box-shadow: var(--shadow-medium);
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.spotlight-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(219, 39, 119, 0.12) 0%, rgba(255,255,255,0) 70%);
    top: -150px;
    left: -150px;
    pointer-events: none;
}

.spotlight-cover-container {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.spotlight-cover {
    width: 260px;
    height: 380px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    transform: rotateY(-8deg) rotateX(4deg);
    transform-style: preserve-3d;
    transition: var(--transition-normal);
}

.spotlight-cover:hover {
    transform: rotateY(6deg) rotateX(2deg) scale(1.04);
    box-shadow: var(--glow-primary), var(--shadow-strong);
}

.spotlight-cover-big {
    width: 320px;
    height: 460px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.spotlight-cover-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
}

.spotlight-title {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.spotlight-author {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    font-style: italic;
}

.spotlight-description {
    color: var(--color-text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.spotlight-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(42, 27, 61, 0.06);
    border-bottom: 1px solid rgba(42, 27, 61, 0.06);
}

.meta-item span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.meta-item strong {
    font-size: 1.125rem;
    color: var(--color-primary-dark);
}

.meta-item .price-tag {
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* ==========================================================================
   Book Grid Catalog Section
   ========================================================================== */

.catalog-section {
    padding: 80px 0 120px;
    background: radial-gradient(circle at 50% 0%, hsl(336, 40%, 94%) 0%, var(--color-bg-light) 70%);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
}

@media (max-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .books-grid {
        grid-template-columns: 1fr !important;
    }
}

.book-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    padding: 16px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.book-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--glow-primary), var(--shadow-strong);
    border-color: rgba(219, 39, 119, 0.4);
}

.book-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    background: var(--color-primary);
    color: var(--color-text-light);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    line-height: 1.3;
}

.book-card-badge.sale {
    background: var(--color-accent);
}

.book-cover-wrap {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-bg-light);
}

.book-cover-wrap img {
    height: 100%;
    width: auto;
    object-fit: cover;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-normal);
}

.book-card:hover .book-cover-wrap img {
    transform: scale(1.05);
}

.book-card-placeholder {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.book-card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-genre {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-accent);
    margin-bottom: 4px;
    line-height: 1.2;
}

.book-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.book-title a {
    color: var(--color-primary-dark);
}

.book-title a:hover {
    color: var(--color-accent);
}

.book-author {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.3;
}

.book-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(42, 27, 61, 0.05);
}

.book-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.book-price .woocommerce-Price-amount {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-accent);
}

.book-price del,
.book-price .woocommerce-Price-amount + .woocommerce-Price-amount {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--color-text-muted);
    margin-left: 6px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    opacity: 0.6;
}

.book-price ins {
    text-decoration: none;
}

.book-price .woocommerce-Price-currencySymbol {
    font-size: 0.75em;
    font-weight: 600;
}

.book-card-actions {
    margin-top: 12px;
}

.book-card-actions .btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.8rem;
}

/* ==========================================================================
   Testimonials & Book Quotes Section
   ========================================================================== */

.testimonials-section {
    padding: 100px 0;
    background: radial-gradient(circle at 80% 20%, var(--color-accent)08 0%, var(--color-bg-light) 60%);
    color: var(--color-text-dark);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-accent)10 0%, transparent 70%);
    top: -150px;
    right: -150px;
    z-index: 0;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-primary)08 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    z-index: 0;
    pointer-events: none;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-section .section-header h2 {
    color: var(--color-text-dark);
}

.testimonials-section .section-header p {
    color: var(--color-text-muted);
}

.testimonial-slider {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition-normal);
}

.testimonial-slide {
    min-width: 100%;
    padding: 10px;
}

.testimonial-card {
    background: var(--color-bg-white);
    border-radius: 16px;
    padding: 40px 35px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: var(--color-accent);
    opacity: 0.25;
    margin-bottom: 8px;
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
    color: #f59e0b;
    font-size: 0.95rem;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 28px;
    color: var(--color-text-dark);
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-author-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.3;
}

.testimonial-author-title {
    font-size: 0.813rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonials-section .slider-dot {
    background: rgba(0, 0, 0, 0.12);
}

.hero-slider-section .slider-dot {
    background: rgba(255, 255, 255, 0.25);
}

.slider-dot.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 5px;
}

/* ==========================================================================
   Page layouts, Posts, Search, 404
   ========================================================================== */

.page-banner {
    padding: 120px 0 60px;
    background: var(--color-primary-dark);
    color: var(--color-text-light);
    text-align: center;
    position: relative;
}

.page-banner h1 {
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.breadcrumbs {
    font-size: 0.875rem;
    color: var(--color-text-light-muted);
}

.breadcrumbs a {
    color: var(--color-text-light-muted);
}

.breadcrumbs a:hover {
    color: var(--color-accent);
}

.main-content-area {
    padding: 80px 0;
}

.post-layout-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 48px;
}

@media (max-width: 991px) {
    .post-layout-grid {
        grid-template-columns: 1fr;
    }
}

.article-content {
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(42, 27, 61, 0.04);
}

.article-header {
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 12px;
}

.entry-content {
    font-size: 1.063rem;
    color: var(--color-text-dark);
}

.entry-content p {
    margin-bottom: 24px;
}

.entry-content h2, .entry-content h3 {
    margin: 32px 0 16px;
}

.entry-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
    margin: 32px 0;
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
}

.sidebar-area {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.widget {
    background: var(--color-bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(42, 27, 61, 0.04);
    box-shadow: var(--shadow-subtle);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(42, 27, 61, 0.05);
}

/* 404 Layout */
.error-404-layout {
    text-align: center;
    padding: 100px 0;
    max-width: 600px;
    margin: 0 auto;
}

.error-404-code {
    font-size: 8rem;
    font-family: var(--font-heading);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 700;
}

.error-404-layout h2 {
    margin-bottom: 16px;
}

.error-404-layout p {
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.site-footer {
    background: var(--color-bg-light);
    color: var(--color-text-muted);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-widget h4 {
    color: var(--color-text-dark);
    margin-bottom: 24px;
    font-size: 1.188rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.footer-widget p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-widget ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-widget a {
    color: var(--color-text-muted);
}

.footer-widget a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    background: var(--color-bg-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--color-text-dark);
    flex-grow: 1;
}

.newsletter-form input::placeholder {
    color: var(--color-text-muted);
}

.newsletter-form .btn {
    padding: 12px 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.875rem;
}

/* ==========================================================================
   Utility Classes (replaces inline styles)
   ========================================================================== */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Colors */
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }
.text-light { color: var(--color-text-light); }
.text-light-muted { color: var(--color-text-light-muted); }
.text-dark { color: var(--color-primary-dark); }
.text-whatsapp { color: var(--color-whatsapp); }
.text-white { color: #fff; }
.bg-light { background: var(--color-bg-light); }
.bg-primary { background: var(--color-primary); }
.bg-white { background: var(--color-bg-white); }
.bg-cream { background: var(--color-bg-cream); }
.bg-accent { background: var(--color-accent); }
.has-bg-light { background: var(--color-bg-light); }

/* Flex & Grid */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-grow { flex-grow: 1; }
.gap-xs { gap: 4px; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-lg { gap: 24px; }
.gap-xl { gap: 32px; }
.gap-2xl { gap: 48px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Spacing */
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 32px; }
.mt-2xl { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 32px; }
.mb-2xl { margin-bottom: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-sm { padding: 8px; }
.p-md { padding: 16px; }
.p-lg { padding: 24px; }
.p-xl { padding: 32px; }
.py-sm { padding-top: 8px; padding-bottom: 8px; }
.py-md { padding-top: 16px; padding-bottom: 16px; }
.py-lg { padding-top: 24px; padding-bottom: 24px; }
.py-xl { padding-top: 32px; padding-bottom: 32px; }
.px-md { padding-left: 16px; padding-right: 16px; }

/* Width / Height */
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.max-w-sm { max-width: 400px; }
.max-w-md { max-width: 500px; }
.max-w-lg { max-width: 600px; }
.max-w-xl { max-width: 800px; }

/* Shadows */
.shadow-subtle { box-shadow: var(--shadow-subtle); }
.shadow-medium { box-shadow: var(--shadow-medium); }
.shadow-strong { box-shadow: var(--shadow-strong); }
.shadow-large { box-shadow: var(--shadow-large); }

/* Border Radius */
.radius-sm { border-radius: var(--radius-sm); }
.radius-md { border-radius: var(--radius-md); }
.radius-lg { border-radius: var(--radius-lg); }
.radius-round { border-radius: var(--radius-round); }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }

/* Typography */
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.813rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.5px; }
.tracking-wider { letter-spacing: 1px; }
.line-through { text-decoration: line-through; }
.opacity-80 { opacity: 0.8; }
.text-meta-label { font-size: 0.75rem; opacity: 0.8; text-transform: uppercase; display: block; letter-spacing: 1px; font-weight: 700; }

/* Buttons Sizes */
.btn-lg { padding: 16px 40px; font-size: 1.063rem; border-radius: var(--radius-md); }
.btn-sm { padding: 10px 16px; font-size: 0.875rem; }

/* Article Styles */
.article-thumbnail { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow-subtle); }
.article-title { font-size: 2rem; margin-bottom: 12px; }
.article-title a { color: var(--color-primary-dark); }
.article-title a:hover { color: var(--color-accent); }
.article-footer { margin-top: 24px; }

/* Archive */
.archive-posts-list { display: flex; flex-direction: column; gap: 40px; margin-bottom: 55px; }
.archive-empty-title { font-size: 2rem; color: var(--color-primary-dark); margin-bottom: 12px; }
.pagination-wrap { display: flex; justify-content: center; gap: 16px; }

/* Taxonomy Description */
.taxonomy-description { max-width: 800px; margin: 0 auto 40px; text-align: center; color: var(--color-text-muted); }

/* Comments */
.comments-area { max-width: 800px; margin: 40px auto; background: var(--color-bg-white); padding: 32px; border-radius: var(--radius-md); box-shadow: var(--shadow-subtle); }
.comments-title { font-size: 1.5rem; margin-bottom: 24px; }
.comment-list { list-style: none; margin-bottom: 32px; }
.comment-list .children { list-style: none; margin-left: 40px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid rgba(42, 27, 61, 0.05); }
.comment-meta { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 12px; }
.comment-author .avatar { border-radius: 50%; margin-right: 8px; }
.reply { margin-top: 8px; }
.no-comments { text-align: center; color: var(--color-text-muted); padding: 20px; }

/* Breadcrumbs */
.breadcrumb-sep { font-size: 10px; margin: 0 8px; color: var(--color-accent); }

/* Hero badge */
.kb-badge-version { font-size: 11px; background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.15); white-space: nowrap; display: inline-block; }

/* Admin sub-sections */
.kb-sub-section { background: #faf9f6; padding: 20px; border-radius: 8px; border: 1px dashed #cbd5e0; margin-bottom: 20px; }
.kb-sub-section h4 { margin: 0 0 15px 0; color: #2a1b3d; }
.kb-sub-section-title { color: #e07a5f; text-transform: uppercase; border-bottom: 1px solid #cbd5e0; padding-bottom: 8px; }
.kb-sub-section-footer { background: #edf2f7; border-style: solid; }
.kb-media-row { display: flex; gap: 8px; }
.kb-media-row input[type="text"] { flex-grow: 1; }
.kb-color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: #faf9f6; padding: 25px; border-radius: 8px; border: 1px solid #cbd5e0; margin-bottom: 25px; }
.kb-color-picker-row { display: flex; gap: 8px; align-items: center; }
.kb-range-row { display: flex; align-items: center; gap: 15px; }
.kb-social-section { border-top: 1px solid #cbd5e0; margin: 20px 0; padding-top: 20px; }
.kb-social-label { display: block; font-weight: 700; color: #2a1b3d; margin-bottom: 12px; font-size: 14px; }
.kb-section-divider { margin-top: 35px; border-top: 1px solid #edf2f7; padding-top: 25px; }
.kb-section-divider h4 { margin-bottom: 20px; color: #2a1b3d; }
.kb-flex-row { display: flex; gap: 20px; }
.kb-flex-half { flex: 1; }
.kb-slide-item { background: #fff; border: 1px solid #cbd5e0; padding: 20px; border-radius: 8px; margin-bottom: 15px; position: relative; }
.kb-remove-slide-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #e53e3e; cursor: pointer; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.kb-slide-label { color: #2a1b3d; font-size: 14px; display: block; margin-bottom: 15px; }
.kb-sidebar-save { padding: 20px 24px; border-top: 1px solid #edf2f7; margin-top: 60px; }
.kb-checkbox-label { display: flex; align-items: center; gap: 8px; font-weight: bold; }
.kb-metabox { padding: 10px 0; }
.kb-metabox-field { margin-bottom: 15px; }
.kb-metabox-field label { display: block; font-weight: bold; margin-bottom: 5px; }

/* Page Banner Title */
.page-banner-title { color: var(--color-text-light); font-size: 2.5rem; }

/* Footer extras */
.footer-logo-img { max-height: 36px; width: auto; }
.social-footer-links { display: flex; gap: 12px; margin-top: 20px; }
.social-footer-link { width: 38px; height: 38px; border-radius: var(--radius-round); background: var(--color-bg-white); display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); transition: var(--transition-fast); border: 1px solid rgba(0,0,0,0.06); }
.social-footer-link:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.footer-contact-label { font-size: 11px; display: block; text-transform: uppercase; color: var(--color-text-muted); font-weight: 700; letter-spacing: 0.5px; }
.footer-contact-link { font-weight: 600; color: var(--color-text-dark); }
.footer-contact-link i { margin-right: 6px; }
.footer-hours { color: var(--color-text-dark); font-weight: 600; font-size: 0.938rem; }
.header-search-input { flex-grow: 1; border: none; background: transparent; font-size: 1.125rem; color: var(--color-primary-dark); outline: none; padding: 10px 0; }
.header-search-close-btn { background: none; border: none; font-size: 1.2rem; color: var(--color-text-muted); cursor: pointer; padding: 8px; }
.header-search-form { display: flex; align-items: center; width: 100%; gap: 16px; }

.search-field { background: var(--color-bg-light); border: 1px solid rgba(0,0,0,0.1); padding: 10px 14px; border-radius: var(--radius-sm); width: 100%; outline: none; color: var(--color-primary-dark); }
.search-page-form-wrap .search-field { background: var(--color-bg-light); border: 1px solid rgba(42,27,61,0.08); padding: 12px 18px; border-radius: var(--radius-sm); flex-grow: 1; outline: none; font-size: 0.938rem; color: var(--color-primary-dark); }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 991px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    
    .hero-section, .hero-slider-section {
        padding: 130px 0 80px;
        min-height: auto;
    }

    .spotlight-section, .catalog-section, .testimonials-section {
        padding: 60px 0;
    }
    
    .hero-image-showcase {
        display: flex !important;
        justify-content: center;
        margin-top: 20px;
        perspective: 1200px;
        order: 2;
    }

    .hero-main-banner {
        width: 240px;
        height: 330px;
        transform: rotate(-2deg);
        margin: 0 auto;
    }

    .hero-slide-cover {
        width: 220px;
        height: 310px;
        transform: rotateY(-8deg) rotateX(3deg) rotateZ(-2deg);
        margin: 0 auto;
    }

    .hero-glass-badge {
        left: 50% !important;
        transform: translateX(-50%) rotate(2deg) !important;
        bottom: -20px;
        padding: 10px 18px;
        white-space: nowrap;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        order: 1;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-meta-slider-tag {
        justify-content: center;
        gap: 20px;
        width: 100%;
        margin-bottom: 24px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .spotlight-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
        text-align: center;
    }

    .spotlight-cover-container {
        justify-content: center;
        perspective: 1000px;
    }

    .spotlight-cover {
        width: 220px;
        height: 320px;
        transform: rotateY(-6deg) rotateX(3deg) rotateZ(-1deg);
        margin: 0 auto;
    }

    .spotlight-info {
        text-align: center;
    }

    .spotlight-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px;
        margin-bottom: 30px;
    }

    .spotlight-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .main-navigation {
        display: none;
    }
    
    .nav-toggle-btn {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   WooCommerce Visual Layout Overrides
   ========================================================================== */

.woocommerce-message, .woocommerce-info, .woocommerce-error {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-top: 4px solid var(--color-accent) !important;
    color: var(--color-text-dark) !important;
    padding: 20px !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--glass-shadow) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    margin-bottom: 30px !important;
    list-style: none !important;
}

.woocommerce-error {
    border-top-color: #d9534f !important;
}

.woocommerce-message {
    border-top-color: var(--color-whatsapp) !important;
}

/* Style standard WC Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
    background: var(--color-accent) !important;
    color: var(--color-text-light) !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    border-radius: var(--radius-md) !important;
    transition: var(--transition-fast) !important;
    box-shadow: var(--shadow-subtle) !important;
    border: none !important;
    cursor: pointer !important;
}

.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover {
    background: var(--color-accent-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(202, 138, 4, 0.35) !important;
}

/* Checkout Form Layout */
.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
    }
}

.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review {
    background: var(--color-bg-white) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    padding: 30px !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-subtle) !important;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    background: var(--color-bg-light) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 12px 16px !important;
    border-radius: var(--radius-sm) !important;
    width: 100% !important;
    color: var(--color-text-dark) !important;
    transition: var(--transition-fast) !important;
}

.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus {
    border-color: var(--color-accent) !important;
    background: var(--color-bg-white) !important;
    box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.15) !important;
}

/* WooCommerce Tabs & Reviews
   ========================================================================== */

.woocommerce-tabs {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.woocommerce-tabs ul.tabs {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 0;
    border-bottom: 2px solid rgba(0,0,0,0.06);
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition-fast);
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--color-primary-dark);
    border-bottom-color: var(--color-accent);
}

.woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-primary-dark);
}

.woocommerce-tabs .panel {
    padding: 30px 0;
}

.woocommerce-tabs .panel h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

/* Review Form Card */
#reviews {
    max-width: 700px;
}

#reviews #comments {
    margin-bottom: 30px;
}

#reviews .woocommerce-Reviews-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

#reviews .woocommerce-noreviews {
    color: var(--color-text-muted);
    font-style: italic;
    padding: 16px 0;
}

#reviews #review_form_wrapper {
    background: var(--color-bg-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-subtle);
}

#reviews #review_form_wrapper .comment-reply-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

#reviews #review_form_wrapper .comment-notes {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

#reviews #review_form_wrapper .comment-form-rating label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

#reviews #review_form_wrapper .comment-form-rating select {
    background: var(--color-bg-light);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 1rem;
    color: var(--color-text-dark);
    width: 100%;
    max-width: 200px;
    cursor: pointer;
}

#reviews #review_form_wrapper .comment-form-rating select:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(224,122,95,0.15);
}

#reviews #review_form_wrapper .comment-form-comment label,
#reviews #review_form_wrapper .comment-form-author label,
#reviews #review_form_wrapper .comment-form-email label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text-dark);
    font-size: 0.95rem;
}

#reviews #review_form_wrapper textarea {
    background: var(--color-bg-light);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    min-height: 120px;
    resize: vertical;
    transition: var(--transition-fast);
}

#reviews #review_form_wrapper textarea:focus {
    border-color: var(--color-accent);
    background: var(--color-bg-white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(224,122,95,0.15);
}

#reviews #review_form_wrapper input[type="text"],
#reviews #review_form_wrapper input[type="email"] {
    background: var(--color-bg-light);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

#reviews #review_form_wrapper input[type="text"]:focus,
#reviews #review_form_wrapper input[type="email"]:focus {
    border-color: var(--color-accent);
    background: var(--color-bg-white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(224,122,95,0.15);
}

#reviews #review_form_wrapper .comment-form-author,
#reviews #review_form_wrapper .comment-form-email {
    display: inline-block;
    width: calc(50% - 8px);
    vertical-align: top;
}

#reviews #review_form_wrapper .comment-form-author {
    margin-right: 16px;
}

#reviews #review_form_wrapper .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

#reviews #review_form_wrapper .comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

#reviews #review_form_wrapper .form-submit {
    margin-top: 20px;
}

#reviews #review_form_wrapper .form-submit input[type="submit"] {
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: 0.3px;
}

#reviews #review_form_wrapper .form-submit input[type="submit"]:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* Star Rating Styles */
.star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1em;
    width: 5.4em;
    font-family: star;
    color: #f59e0b;
}

.star-rating::before {
    content: "\73\73\73\73\73";
    color: #d1d5db;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: "\53\53\53\53\53";
    top: 0;
    position: absolute;
    left: 0;
    color: #f59e0b;
}

#reviews .star-rating {
    float: right;
}

#reviews p.stars {
    display: flex;
    margin: 0;
    line-height: 1;
}

#reviews p.stars a {
    position: relative;
    height: 1.5em;
    text-indent: -999em;
    text-decoration: none;
    font-size: 1.2rem;
}

#reviews p.stars a::before {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 1.5em;
    height: 1.5em;
    font-family: star;
    content: "\73";
    color: #d1d5db;
    text-indent: 0;
    transition: var(--transition-fast);
}

#reviews p.stars a:hover ~ a::before {
    color: #d1d5db;
}

#reviews p.stars:hover a::before {
    color: #f59e0b;
}

#reviews p.stars:has(a.active) a::before {
    color: #f59e0b;
}

#reviews p.stars a.active ~ a::before {
    color: #d1d5db;
}

#reviews p.stars a.star-1,
#reviews p.stars a.star-2,
#reviews p.stars a.star-3,
#reviews p.stars a.star-4,
#reviews p.stars a.star-5 {
    width: 1.5em;
    flex-shrink: 0;
}

/* Review List */
#reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

#reviews .commentlist li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

#reviews .commentlist li:last-child {
    border-bottom: none;
}

#reviews .commentlist li .avatar {
    float: left;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-round);
    margin-right: 16px;
}

#reviews .commentlist li .comment-text {
    margin-left: 66px;
}

#reviews .commentlist li .comment-text .meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

#reviews .commentlist li .comment-text .description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-dark);
}

@media (max-width: 600px) {
    #reviews #review_form_wrapper .comment-form-author,
    #reviews #review_form_wrapper .comment-form-email {
        width: 100%;
        margin-right: 0;
    }
}

/* ==========================================================================
   WooCommerce Shop Page (Catalog)
   ========================================================================== */

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 16px 20px;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.shop-toolbar-count {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.shop-toolbar .woocommerce-ordering {
    margin: 0;
}

.shop-toolbar .woocommerce-ordering select {
    background: var(--color-bg-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--color-text-dark);
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
}

.shop-toolbar .woocommerce-ordering select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
}

/* Shop Layout with Sidebar */
.shop-layout {
    display: block;
}

.shop-layout--with-sidebar {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}

.shop-sidebar {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    padding: 24px 20px;
    position: sticky;
    top: 100px;
}

.shop-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
}

.shop-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-categories-list li {
    margin: 0;
    padding: 0;
}

.shop-categories-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.shop-categories-list li a:hover {
    background: var(--color-bg-light);
    color: var(--color-accent);
}

.shop-categories-list li.current-cat a {
    background: var(--color-bg-light);
    color: var(--color-accent);
    font-weight: 600;
}

.cat-count {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

.shop-categories-list li.current-cat .cat-count {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .shop-layout--with-sidebar {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        position: static;
    }
}

/* WooCommerce Pagination */
.woocommerce nav.woocommerce-pagination {
    margin-top: 60px;
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    border: none;
    margin: 0;
    padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0;
    padding: 0;
    float: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-white);
    border: 1px solid var(--glass-border);
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-light);
}

.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
    font-size: 0;
}

.woocommerce nav.woocommerce-pagination ul li a.prev::before {
    content: '\f053';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.875rem;
}

.woocommerce nav.woocommerce-pagination ul li a.next::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.875rem;
}

/* WooCommerce Category / Archive Header */
.woocommerce-products-header {
    text-align: center;
    margin-bottom: 10px;
}

.woocommerce-products-header .term-description {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item {
    padding: 8px 0;
}

.woocommerce .widget_layered_nav_filters ul li {
    margin: 0 8px 8px 0;
}

.woocommerce .widget_layered_nav_filters ul li a {
    background: var(--color-bg-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 0.813rem;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.woocommerce .widget_layered_nav_filters ul li a:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent);
}

.woocommerce .widget_layered_nav_filters ul li a::before {
    color: var(--color-accent);
}

/* No products found state */
.woocommerce .woocommerce-info {
    text-align: center;
}

.woocommerce-page .main-content-area {
    padding: 60px 0 100px;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */

#kb-back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-round);
    background: var(--color-accent);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    z-index: 999;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

#kb-back-to-top-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

@media (max-width: 640px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.65rem; }
    .hero-glass-badge {
        padding: 8px 12px;
    }
    .hero-glass-badge-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .hero-glass-badge {
        display: none !important;
    }
    .hero-meta-slider-tag {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        padding: 10px;
    }
}

/* ==========================================================================
   Accessibility & Prefers-Reduced-Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .book-card:hover, 
    .hero-main-banner:hover, 
    .spotlight-cover:hover, 
    .hero-slide-cover:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}
