:root {
    --primary-color: #004a99;
}
.bg-primary { background-color: var(--primary-color); }
.text-primary { color: var(--primary-color); }
.border-primary { border-color: var(--primary-color); }
.hover-primary:hover { background-color: #003a7a; }

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Front Page Header Styles */
#front-page-header {
    background: transparent !important;
}

#front-page-header .header-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

#front-page-header .header-content {
    position: relative;
    z-index: 1;
}

/* Top Bar Fixed */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 51;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Add padding to body when topbar is fixed (only on front page) */
body.home {
    padding-top: 25px;
}

.top-bar.top-bar-transparent {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Initial state: white text for front page header */
#front-page-header .header-nav-color a,
#front-page-header #mobile-menu-toggle {
    color: #ffffff;
    transition: color 0.3s ease;
}

#front-page-header .header-quote-btn {
    color: #ffffff;
    border-color: #ffffff;
    transition: color 0.3s ease, border-color 0.3s ease;
}

/* Keep logo primary color */
#front-page-header .text-primary {
    color: var(--primary-color) !important;
}

/* 鈿狅笍 FIX: Mobile menu text color on front page - must override white text */
#front-page-header #mobile-menu,
#front-page-header #mobile-menu *,
#front-page-header #mobile-menu a,
#front-page-header #mobile-menu .header-nav-color,
#front-page-header #mobile-menu li a,
#front-page-header #mobile-menu ul a,
#front-page-header #mobile-menu .menu-item a {
    color: #374151 !important;
}

#front-page-header #mobile-menu a:hover,
#front-page-header #mobile-menu .menu-item a:hover {
    color: var(--primary-color) !important;
}

/* 鈿狅笍 FIX: Mobile quote button and menu toggle - visible on white background */
#front-page-header .header-quote-btn,
#front-page-header #mobile-menu-toggle {
    color: #374151 !important;
    border-color: #374151 !important;
}

#front-page-header .header-quote-btn:hover,
#front-page-header #mobile-menu-toggle:hover {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* 鈿狅笍 FIX: When mobile menu is open, force header to solid state */
#front-page-header.menu-open,
.header-wrapper.menu-open {
    background: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

#front-page-header.menu-open .header-nav-color a,
#front-page-header.menu-open #mobile-menu-toggle,
#front-page-header.menu-open .header-quote-btn {
    color: #374151 !important;
    border-color: #374151 !important;
}

#front-page-header.menu-open .header-nav-color a:hover,
#front-page-header.menu-open #mobile-menu-toggle:hover,
#front-page-header.menu-open .header-quote-btn:hover {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Ensure header glass overlay doesn't interfere when menu is open */
#front-page-header.menu-open .header-glass-overlay {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* Global text alignment for better readability */
p, .description, .content, .text-content, .card-content,
.timeline-description, .qa-answer, .product-description {
    text-align: left;
    word-break: break-word;
}

/* Center alignment for certificate section description */
section.py-20.bg-gray-50 .text-center .text-gray-500 {
    text-align: center !important;
}

/* Override global p text alignment for center-aligned contexts */
.text-center p,
section.py-20.bg-gray-50 .text-center p {
    text-align: center !important;
}

/* Mega menu simulation */
.mega-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
    transform: translateY(10px);
}
.group:hover .mega-menu { 
    opacity: 100;
    visibility: visible;
    transform: translateY(0);
}
.mega-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

/* WhatsApp Floating Button Styling (if needed beyond Tailwind) */
.whatsapp-float {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

[data-animate] {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform;
}

[data-animate="fade-left"] { transform: translate3d(-18px, 0, 0); }
[data-animate="fade-right"] { transform: translate3d(18px, 0, 0); }

/* When section is visible */
[data-animate].animated {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Animated children - only for direct children with specific animation classes */
[data-animate].animated > .animate-item {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Initial state for animated items */
[data-animate] > .animate-item {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}

[data-animate="fade-left"] > .animate-item {
    transform: translate3d(-18px, 0, 0);
}

[data-animate="fade-right"] > .animate-item {
    transform: translate3d(18px, 0, 0);
}

/* Q&A Accordion Styles */
.yichuhui-qa-section {
    background: #ffffff;
}

.qa-accordion {
    max-width: 100%;
    margin: 0 auto;
}

.qa-item {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.qa-item:hover {
    border-color: #d1d5db;
    background: #f3f4f6;
}

.qa-item.active {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qa-question {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    color: #1f2937;
}

.qa-question:hover {
    color: var(--primary-color);
}

.qa-icon {
    transition: all 0.3s ease;
}

.qa-item.active .qa-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: rotate(45deg);
}

.qa-item.active .qa-icon .fa-plus {
    transform: rotate(0deg);
}

.qa-answer {
    line-height: 1.7;
    color: #4b5563;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Q&A */
@media (max-width: 768px) {
    .yichuhui-qa-section {
        padding: 3rem 1rem;
    }
    
    .qa-question {
        font-size: 0.95rem;
        padding: 1rem !important;
    }
    
    .qa-answer {
        padding: 0 1rem 1.5rem !important;
        font-size: 0.9rem;
    }
    
    .yichuhui-qa-section h2 {
        font-size: 1.75rem !important;
    }
}

[data-animate="zoom-in"] { transform: translate3d(0, 0, 0) scale(.96); }

.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.hero-bg {
    transform: scale(1.08);
    animation: heroZoom 16s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.06); }
    to { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hero-bg { animation: none !important; }
}

.ych-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 74, 153, 0.18);
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.ych-social-icon:hover {
    background: #003a7a;
    transform: translateY(-1px) scale(1.06);
    box-shadow: 0 10px 20px rgba(0, 74, 153, 0.26);
}

.ych-social-icon i {
    font-size: 14px;
}

/* Pagination Component Styles - Clean & Simple */
.pagination-wrapper {
    margin-top: 3rem;
    display: flex !important;
    justify-content: center !important;
}

.pagination-wrapper .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pagination-wrapper .page-numbers,
.pagination-wrapper a.page-numbers,
.pagination-wrapper span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 16px !important;
    margin: 0 6px !important;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.pagination-wrapper a.page-numbers:hover {
    background: #e5e7eb !important;
    color: var(--primary-color) !important;
}

.pagination-wrapper .page-numbers.current {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.pagination-wrapper .prev.page-numbers,
.pagination-wrapper .next.page-numbers {
    background: transparent !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.pagination-wrapper .prev.page-numbers:hover,
.pagination-wrapper .next.page-numbers:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.pagination-wrapper .dots {
    background: transparent !important;
    min-width: 20px !important;
    padding: 0 4px !important;
    color: #9ca3af !important;
}

/* Legacy pagination styles */
.pagination-page {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pagination-page a,
.pagination-page span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    margin: 0 3px !important;
    background: #f3f4f6 !important;
    color: #374151 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.pagination-page a:hover {
    background: #e5e7eb !important;
    color: var(--primary-color) !important;
}

.pagination-page span.current {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.pagination-page .prev,
.pagination-page .next {
    background: transparent !important;
    color: var(--primary-color) !important;
}

.pagination-page .prev:hover,
.pagination-page .next:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Legacy pagination styles */
.pagination-list {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.pagination-list li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.pagination-list .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-list .page-numbers:hover {
    background: #e5e7eb;
    color: var(--primary-color);
}

.pagination-list .page-numbers.current {
    background: var(--primary-color);
    color: #fff;
}

.pagination-list .prev,
.pagination-list .next {
    background: transparent;
    color: var(--primary-color);
}

.pagination-list .prev:hover,
.pagination-list .next:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Paginate Links - Horizontal */
.pagination-list,
.wp-pagenavi,
.pagination {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pagination-list li,
.wp-pagenavi li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pagination-list li a,
.pagination-list li span,
.wp-pagenavi a,
.wp-pagenavi .current,
.pagination a,
.pagination span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px !important;
    margin: 0 2px !important;
    background: #f3f4f6 !important;
    color: #374151 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.pagination-list li a:hover,
.pagination a:hover,
.wp-pagenavi a:hover {
    background: #e5e7eb !important;
    color: var(--primary-color) !important;
}

.pagination-list li span.current,
.pagination .current,
.wp-pagenavi .current {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.pagination-list li .prev,
.pagination-list li .next,
.pagination .prev,
.pagination .next {
    background: transparent !important;
    color: var(--primary-color) !important;
}

.pagination-list li .prev:hover,
.pagination-list li .next:hover,
.pagination .prev:hover,
.pagination .next:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Paginate Links (non-list type) */
.wp-pagenavi {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.wp-pagenavi .page,
.wp-pagenavi .current,
.wp-pagenavi a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wp-pagenavi .current {
    background: var(--primary-color);
    color: #fff;
}

.wp-pagenavi a:hover {
    background: #e5e7eb;
    color: var(--primary-color);
}

/* ========================================
   1. Header Transparent (Front Page)
   ======================================== */

/* Top bar transparent on front page */
.top-bar-transparent {
    background: rgba(0, 0, 0, 0.6);
}

.top-bar-transparent .border-gray-700 {
    border-color: rgba(255, 255, 255, 0.2);
}

.top-bar-transparent .bg-gray-800 {
    background: rgba(255, 255, 255, 0.15);
}

.top-bar-solid {
    background: #111827;
}

/* Header transparent state - glass effect over hero */
.header-transparent {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none !important;
}

.header-transparent .header-nav-color {
    color: #ffffff;
}

.header-transparent .header-nav-color:hover {
    color: rgba(255, 255, 255, 0.85);
}

.header-transparent .header-quote-btn {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.header-transparent .header-quote-btn:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile menu transparent - override to always show on white background */
.header-transparent #mobile-menu {
    background: #ffffff !important;
    border-color: #e5e7eb;
    position: relative;
    z-index: 100;
}

/* 鈿狅笍 Use multiple selectors with higher specificity */
.header-transparent #mobile-menu,
.header-transparent #mobile-menu *,
.header-transparent #mobile-menu a,
.header-transparent #mobile-menu .header-nav-color,
.header-transparent #mobile-menu li a,
.header-transparent #mobile-menu ul a,
.header-transparent #mobile-menu .menu-item a {
    color: #374151 !important;
}

.header-transparent #mobile-menu a:hover,
.header-transparent #mobile-menu .menu-item a:hover {
    color: var(--primary-color) !important;
}

/* Header solid state (after scroll) */
.header-solid {
    background: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* Mobile menu text color - always visible */
#mobile-menu {
    background: #ffffff !important;
    position: relative;
    z-index: 100;
}

/* 鈿狅笍 Use multiple selectors to ensure coverage */
#mobile-menu,
#mobile-menu *,
#mobile-menu a,
#mobile-menu .header-nav-color,
#mobile-menu li a,
#mobile-menu ul a,
#mobile-menu .menu-item a {
    color: #374151 !important;
}

#mobile-menu a:hover,
#mobile-menu .header-nav-color:hover,
#mobile-menu li a:hover,
#mobile-menu .menu-item a:hover {
    color: var(--primary-color) !important;
}

.header-solid .header-nav-color {
    color: #374151;
}

.header-solid .header-nav-color:hover {
    color: var(--primary-color);
}

.header-solid .header-quote-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.header-solid .header-quote-btn:hover {
    color: #ffffff;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.header-solid #mobile-menu {
    background: #ffffff;
    border-color: #f3f4f6;
}

.header-solid #mobile-menu .header-nav-color {
    color: #374151;
}

/* ========================================
   2. Product Filter Panel
   ======================================== */

.product-filter-search {
    position: relative;
}

.product-filter-search input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f9fafb;
}

.product-filter-search input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 74, 153, 0.1);
    background: #ffffff;
}

.product-filter-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
}

/* Filter category checkboxes */
.filter-cat-list {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.filter-cat-list::-webkit-scrollbar {
    width: 4px;
}

.filter-cat-list::-webkit-scrollbar-track {
    background: transparent;
}

.filter-cat-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.filter-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.15s;
}

.filter-cat-item:last-child {
    border-bottom: none;
}

.filter-cat-item:hover {
    background: #f9fafb;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 6px;
}

.filter-cat-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.filter-cat-item label {
    flex: 1;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    line-height: 1.4;
    min-width: 0;
}

.filter-cat-item label:hover {
    color: var(--primary-color);
}

.filter-cat-count {
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
    background: #f3f4f6;
    padding: 1px 8px;
    border-radius: 10px;
}

/* Filter actions */
.filter-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.filter-actions button {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn-select-all {
    background: #f3f4f6;
    color: #374151;
}

.filter-btn-select-all:hover {
    background: #e5e7eb;
}

.filter-btn-clear {
    background: transparent;
    color: #6b7280;
    border: 1px solid #e5e7eb !important;
}

.filter-btn-clear:hover {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fecaca !important;
}

/* Active filter count badge */
.active-filter-badge {
    display: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    margin-left: 8px;
}

.active-filter-badge.visible {
    display: inline-flex;
}

/* Product grid loading state */
.products-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    color: #9ca3af;
    font-size: 14px;
    gap: 8px;
}

.products-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* No products found */
.products-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.products-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.products-empty p {
    font-size: 16px;
}

/* Product card title - fixed 2 lines height */
.product-card h3,
div.border.rounded-lg.p-4 h3 {
    min-height: 3rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ensure product cards have equal height - Removed fixed min-height to allow responsiveness */
div.border.rounded-lg.p-4 {
    /* min-height: 460px; */
}

/* Product title fixed height for 2 lines - Removed forced height to allow responsiveness */
div.border.rounded-lg.p-4 h3 {
    /* height: 2.8em !important; */
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: clip !important;
}

/* ========================================== */
/* style.css */
/* ========================================== */
/*
Theme Name: Yichuhui Refrigeration Theme
Theme URI: http://yichuhui.com/
Author: AI Assistant
Description: A custom SEO-friendly WordPress theme for Yichuhui Refrigeration.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yichuhui
*/

/* 
 * The main styles are in css/common.css. 
 * This file is required for WordPress theme identification.
 */

.drift-zoom-pane {
    z-index: 9999;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

/* xZoom Custom Styling */
.xzoom-source, .xzoom-ghost {
    z-index: 1000;
}
.xzoom-lens {
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: none;
    cursor: crosshair;
}
.xzoom-preview {
    border: 1px solid #eee;
    background: #fff;
    box-shadow: none;
    border-radius: 4px;
    z-index: 9999;
}

/* xZoom Thumbs styling - Simple & Clean */
.xzoom-thumbs {
    margin-top: 15px;
}
.xzoom-thumbs a {
    display: block;
    border: 2px solid transparent; /* Transparent border for placeholder */
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.3s ease;
    box-sizing: border-box; /* The ultimate fix for box model issues */
}
.xzoom-thumbs a:hover {
    border-color: #dbeafe; /* A light blue for hover */
}
.xzoom-thumbs a.xactive {
    border-color: #004a99; /* Primary color for active */
}
.xzoom-thumbs img.xzoom-gallery {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: contain;
    padding: 4px; /* Inner spacing */
}

/* Lightbox Animation */
#image-lightbox {
    transition: all 0.3s ease-in-out;
}
#lightbox-img {
    transition: transform 0.3s ease-out;
    cursor: zoom-out;
}
#image-lightbox.flex #lightbox-img {
    animation: zoomIn 0.3s ease-out forwards;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Admin Gallery Styling */
#product_gallery_container .product_gallery_list li:hover {
    border-color: #2271b1;
}
#product_gallery_container .product_gallery_list li img {
    max-width: 100%;
    max-height: 100%;
}
#product_gallery_container .remove-gallery-img:hover {
    background: #cc0000 !important;
}

.bg-gray-50.rounded-lg.p-10.mb-4.flex.items-center.justify-center.border.h-\[500px\] {
    position: relative;
}

/* Inner Page Banner Effects */
.inner-banner-title {
    text-shadow: 
        -1px -1px 0 #666666,  
         1px -1px 0 #666666,
        -1px  1px 0 #666666,
         1px  1px 0 #666666,
         0px 4px 12px rgba(0,0,0,0.6);
}

.inner-banner-subtitle {
    text-shadow: 
         0px 0px 0 #666666,  
         1px 0px 0 #666666,
         0px  1px 0 #666666,
         1px  1px 0 #666666,
         0px 2px 6px rgba(0,0,0,0.6);
}

.inner-banner-overlay-hidden {
    display: none !important;
}

/* Line Clamp Fallbacks */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Modal Content Formatting Fallbacks */
.prose h1, .prose h2, .prose h3, .prose h4 {
    color: #111827;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}
.prose h1 { font-size: 2.25em; }
.prose h2 { font-size: 1.5em; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.3em; }
.prose h3 { font-size: 1.25em; }

.prose p {
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.75;
}

.prose strong, .prose b {
    font-weight: 700;
    color: #111827;
}

.prose ul, .prose ol {
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 1.625em;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2em 0;
}
