/* royaltech-modern.css - Premium Vibrant Design */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Original Vibrant Colors - Premium Design */
    --rtc-primary: #1e38ef;
    /* Electric Blue - Primary Action */
    --rtc-primary-dark: #0d2db5;
    /* Darker Blue for gradients */
    --rtc-accent: #f8bb2f;
    /* Vibrant Gold - Highlights */
    --rtc-accent-light: #ffd60a;
    /* Lighter Gold */
    --rtc-bg-light: #f8f9fa;
    /* Soft White */
    --rtc-text-dark: #212529;
    /* Dark Slate */
    --rtc-grey-light: #e9ecef;
    /* Light Grey */
    --rtc-grey-medium: #6c757d;
    /* Medium Grey */

    /* Premium Gradients */
    --rtc-gradient-primary: linear-gradient(135deg, #1e38ef 0%, #4361ee 100%);
    --rtc-gradient-accent: linear-gradient(135deg, #f8bb2f 0%, #ffd60a 100%);
    --rtc-gradient-bg: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Stagger animation delays */
.animate-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.4s;
}

/* ===== ANIMATED BUTTONS WITH GLOWING BORDERS ===== */
.rtc-btn,
a.rtc-btn,
button.rtc-btn,
.wp-block-button__link,
.woocommerce-button,
.button,
a[href*="shop"],
a[href*="contact"] {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: buttonPulse 2s ease-in-out infinite;
}

/* Glowing Border Animation */
.rtc-btn::before,
a.rtc-btn::before,
button.rtc-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #f8bb2f, #1e38ef, #f8bb2f, #1e38ef);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    animation: borderGlow 3s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rtc-btn:hover::before,
a.rtc-btn:hover::before,
button.rtc-btn:hover::before {
    opacity: 1;
}

/* Light Sweep Effect */
.rtc-btn::after,
a.rtc-btn::after,
button.rtc-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.rtc-btn:hover::after,
a.rtc-btn:hover::after,
button.rtc-btn:hover::after {
    left: 100%;
}

/* Button Animations */
@keyframes borderGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(248, 187, 47, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(248, 187, 47, 0.2);
    }
}

/* Hover Effects */
.rtc-btn:hover,
a.rtc-btn:hover,
button.rtc-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(30, 56, 239, 0.3);
}

/* Active/Click Effect */
.rtc-btn:active,
a.rtc-btn:active,
button.rtc-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* --- VISUAL RESET: REMOVE OLD THEME BOXES --- */
/* This forces the "Boxed" layout to become a "Seamless Canvas" */

/* TEMPORARILY DISABLED - Showing Astra header/footer during recovery */
/*
.site-header,
.ast-main-header-wrap,
.ast-above-header-wrap,
.ast-below-header-wrap,
.site-footer,
.ast-footer-copyright {
    display: none !important;
}
*/

body,
.site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body,
.site,
.site-content,
.ast-container,
#content,
.content-area,
.site-main,
.entry-content,
.entry-header,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-page {
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Force Light Background on BODY only */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background: #f8f9fa !important;
    /* Soft White from corporate branding */
    color: #2c3e50 !important;
    /* Charcoal Grey text */
    min-height: 100vh;
    overflow-x: hidden !important;
    line-height: 1.6;
}

/* --- SIMPLIFIED CONTAINER STYLES --- */
/* Removed aggressive full-width forcing that caused visual glitches */
.site-content,
.entry-content {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Allow natural container behavior */
.ast-container {
    max-width: 100% !important;
}

/* --- TYPOGRAPHY (Enhanced) --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 700;
    color: var(--rtc-primary);
    line-height: 1.4;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

p {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #6c757d;
}

/* --- ENHANCED BUTTONS --- */
.rtc-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f8bb2f 0%, #ffd60a 100%);
    color: #212529 !important;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(248, 187, 47, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.rtc-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffd60a 0%, #f8bb2f 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.rtc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(248, 187, 47, 0.5);
}

.rtc-btn:hover::before {
    left: 0;
}

.rtc-btn-outline {
    display: inline-block;
    border: 2px solid #1e38ef;
    color: #1e38ef !important;
    background: transparent;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.rtc-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #1e38ef;
    transition: width 0.4s ease;
    z-index: -1;
}

.rtc-btn-outline:hover {
    color: #ffffff !important;
    border-color: #1e38ef;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 56, 239, 0.3);
}

.rtc-btn-outline:hover::before {
    width: 100%;
}

/* --- CARDS (Light Glass) --- */

/* Apply glass to content containers */
.elementor-widget-wrap:not(:empty) {
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Specific White backgrounds become Dark Glass */
.elementor-element.has-white-background-color,
.elementor-widget-wrap[style*="#ffffff"] {
    background: var(--rtc-glass) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
}

/* --- FOLDED PAPER RIBBONS (The Orange Accent) --- */
.rtc-ribbon,
.widget-title,
h2.elementor-heading-title {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #f8bb2f 0%, #d97706 100%);
    color: #000 !important;
    padding: 10px 30px !important;
    /* clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%); Optional fancy shape */
    box-shadow: 0 10px 20px rgba(248, 187, 47, 0.3);
    border-radius: 4px;
    transform: perspective(500px) translateZ(20px);
}

/* --- BUTTONS (Neon Glow) --- */
.elementor-button,
button,
input[type="submit"] {
    background: linear-gradient(90deg, #1e38ef 0%, #3b82f6 100%) !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(30, 56, 239, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    /* Sharper for tech look */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.elementor-button:hover {
    box-shadow: 0 0 40px rgba(30, 56, 239, 0.9) !important;
    transform: translateY(-2px);
    filter: brightness(1.2);
}

/* --- HEADER (Dark Tech) --- */
.ast-main-header-wrap {
    background: rgba(5, 10, 24, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header-menu .menu-link {
    color: #fff !important;
}

.main-header-menu .menu-link:hover {
    color: var(--rtc-accent) !important;
    text-shadow: 0 0 10px var(--rtc-accent);
}

/* --- SUBMENU FIX --- */
.main-header-menu .sub-menu {
    background: var(--rtc-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    padding: 10px 0 !important;
    border-radius: 8px !important;
    min-width: 200px !important;
    z-index: 99999 !important;
    /* Ensure it's on top */
}

/* .main-header-menu .sub-menu .menu-item {
    background: transparent !important;
} */

.main-header-menu .sub-menu .menu-link {
    color: #e2e8f0 !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-header-menu .sub-menu .menu-link:hover {
    background: rgba(30, 56, 239, 0.2) !important;
    color: var(--rtc-accent) !important;
    padding-left: 25px !important;
    /* Slide effect */
}

/* --- 3D Hero Elements --- */
.elementor-widget-image img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    transition: transform 0.5s ease;
}

.elementor-widget-image:hover img {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
}

/* --- WOOCOMMERCE NEON THEME (Dark) --- */

/* Shop Container Reset */
.woocommerce-page {}

/* Product Cards - Neon Dark */
ul.products li.product {
    background: #1e293b !important;
    /* Dark Slate */
    border: 2px solid rgba(30, 56, 239, 0.3) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

ul.products li.product:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 0 30px rgba(248, 187, 47, 0.3) !important;
    border-color: #f8bb2f !important;
}

/* Product Title - Light Text */
.woocommerce-loop-product__title {
    color: #e2e8f0 !important;
    /* Light Grey */
    font-family: 'Manrope', sans-serif !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 10px !important;
}

/* Price - Gold/Blue */
.price {
    color: #f8bb2f !important;
    /* Gold Price */
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    text-shadow: 0 0 10px rgba(248, 187, 47, 0.3) !important;
}

/* Add to Cart Button (if visible) */
.button.add_to_cart_button {
    background: transparent !important;
    border: 1px solid #1e38ef !important;
    color: #1e38ef !important;
}

.button.add_to_cart_button:hover {
    background: #1e38ef !important;
    color: #ffffff !important;
}


/* Category Card Button Styles */
/* Category Card Button Styles */
.woocommerce-loop-category__title {
    color: #e2e8f0 !important;
    /* Light Text for Dark Card */
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin: 15px 0 10px !important;
}

.woocommerce-loop-category__title .count {
    color: #94a3b8 !important;
    /* Muted Grey */
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Clean up spacing */
/* --- Native WooCommerce Category Cards Redesign (High Specificity) --- */

/* 1. Card Container - Force Dark Background & Shape */
body ul.products li.product.product-category,
body .woocommerce ul.products li.product.product-category {
    background-color: #1e293b !important;
    /* Dark Slate */
    border: 2px solid rgba(30, 56, 239, 0.3) !important;
    border-radius: 12px !important;
    padding: 0 !important;
    /* Remove padding to let image fill */
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

body ul.products li.product.product-category:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(248, 187, 47, 0.2) !important;
    border-color: #f8bb2f !important;
}

/* 2. Link Structure - Flex Layout */
body ul.products li.product.product-category a,
body ul.products li.product a.woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 350px !important;
    /* Ensure consistent height */
    text-decoration: none !important;
    background: transparent !important;
}

/* 3. Image - Top Section */
body ul.products li.product.product-category a img,
body ul.products li.product a.woocommerce-loop-product__link img {
    order: 1 !important;
    width: 100% !important;
    height: 250px !important;
    /* Fixed height for image */
    object-fit: cover !important;
    margin: 0 !important;
    flex-grow: 1 !important;
    /* Allow image to fill space */
    border: none !important;
}


/* 4. Title Strip - Bottom Section */
body ul.products li.product.product-category .woocommerce-loop-category__title {
    order: 2 !important;
    background: linear-gradient(to top, #0f172a, #1e293b) !important;
    color: #f8bb2f !important;
    /* Gold Text */
    width: 100% !important;
    margin: 0 !important;
    padding: 15px 10px !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    /* Proper Font Size */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-top: 2px solid rgba(30, 56, 239, 0.3) !important;

    /* Logic to push to bottom */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Count Badge */
body ul.products li.product.product-category .woocommerce-loop-category__title .count {
    background: rgba(30, 56, 239, 0.2) !important;
    color: #a5b4fc !important;
    /* Light Blue */
    font-size: 0.8rem !important;
    margin-top: 5px !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    display: inline-block !important;
}

/* 5. Clean up old pseudo-elements */
body ul.products li.product.product-category a::after {
    display: none !important;
}



/* Product Title */
.woocommerce-loop-product__title {
    color: var(--rtc-text-main) !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 10px !important;
}

/* Price */
.price {
    color: var(--rtc-primary) !important;
    /* Blue Price */
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    text-shadow: none !important;
}

/* Filters & Sidebar */
.widget {
    background: #ffffff !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
}

.widget-title {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: var(--rtc-primary) !important;
    font-size: 1.2rem !important;
    margin-bottom: 20px !important;
}

/* Inputs & Dropdowns */
.woocommerce-ordering select,
.input-text {
    background: #ffffff !important;
    color: #333 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px !important;
}

/* Cart & Checkout Tables */
.shop_table {
    background: #ffffff !important;
    border-radius: 12px !important;
    color: #334155 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
}

.shop_table th {
    background: rgba(30, 56, 239, 0.1) !important;
    color: var(--rtc-primary) !important;
}

/* --- UTILITIES & LAYOUTS --- */
.rtc-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

@media (max-width: 768px) {
    .rtc-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* --- TESTIMONIAL CARDS --- */
.rtc-review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rtc-review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--rtc-accent) !important;
}

/* --- WOOCOMMERCE GRID FIX --- */
.rtc-woo-wrapper ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rtc-woo-wrapper ul.products::before,
.rtc-woo-wrapper ul.products::after {
    display: none !important;
}

.rtc-woo-wrapper ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

@media (max-width: 1024px) {
    .rtc-woo-wrapper ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* === CATEGORY CAROUSEL SLIDER === */
.rtc-category-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 80px;
}

.rtc-category-slider {
    overflow: hidden;
    border-radius: 25px;
}

.rtc-dynamic-cats-slider ul.products {
    display: flex !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0 !important;
}

.rtc-dynamic-cats-slider ul.products li.product.product-category {
    min-width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 2px solid rgba(30, 56, 239, 0.1) !important;
    border-radius: 25px !important;
    padding: 60px 40px !important;
    text-align: center !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.rtc-dynamic-cats-slider ul.products li.product.product-category img {
    border-radius: 12px !important;
    /* Fixed: Changed from 50% circle to rectangle */
    width: 100% !important;
    /* Full width */
    height: 220px !important;
    object-fit: cover !important;
    margin: 0 auto 20px auto !important;
    border: none !important;
    /* Removed thick border */
    transition: all 0.5s ease !important;
    box-shadow: none !important;
}

.rtc-dynamic-cats-slider ul.products li.product.product-category:hover img {
    border-color: #f8bb2f !important;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 50px rgba(248, 187, 47, 0.4);
}

.rtc-dynamic-cats-slider .woocommerce-loop-category__title {
    color: #1e38ef !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    margin-bottom: 15px !important;
}

.rtc-dynamic-cats-slider .count {
    display: inline-block !important;
    background: linear-gradient(135deg, #1e38ef, #4361ee);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(30, 56, 239, 0.3);
}

/* Carousel Navigation Arrows (Corporate) */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #1a3a52;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 58, 82, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: #2c3e50;
    box-shadow: 0 6px 16px rgba(26, 58, 82, 0.3);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

/* Category Dots */
.rtc-category-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.rtc-category-dots .dot {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rtc-category-dots .dot.active {
    background: #1e38ef;
    width: 40px;
    border-radius: 6px;
}

.rtc-category-dots .dot:hover {
    background: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .rtc-category-carousel {
        padding: 0 60px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .rtc-dynamic-cats-slider ul.products li.product.product-category {
        padding: 40px 20px !important;
    }

    .rtc-dynamic-cats-slider ul.products li.product.product-category img {
        width: 160px !important;
        height: 160px !important;
    }
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes rotateMesh {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideTrack {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.rtc-testimonial-slider {
    animation: slideTrack 40s linear infinite;
}

.rtc-testimonial-slider:hover {
    animation-play-state: paused;
}

@media (max-width: 600px) {
    .rtc-woo-wrapper ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* --- ANIMATIONS & BUTTON EXTRAS --- */
.rtc-btn:hover {
    background: #fff !important;
    color: var(--rtc-primary) !important;
    transform: translateY(-5px);
}

/* --- HERO SLIDER --- */
.rtc-hero-slider-container {
    position: relative;
    width: 100vw;
    height: 80vh;
    /* High impact like Harrison */
    overflow: hidden;
    margin-bottom: 50px;
}

.rtc-hero-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.rtc-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rtc-hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.rtc-slide-content {
    color: #fff;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
    animation: slideUp 1s ease-out;
}

.rtc-slide-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    color: #fff !important;
}

.rtc-slide-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Dots */
.rtc-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.rtc-slider-dots .dot {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.rtc-slider-dots .dot.active {
    background: var(--rtc-primary);
    /* Blue active dot */
    transform: scale(1.2);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .rtc-hero-slider-container {
        height: 60vh;
    }

    .rtc-slide-content h1 {
        font-size: 2.5rem;
    }
}

/* === TESTIMONIALS CAROUSEL (One-by-One) === */
.rtc-testimonial-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
}

.rtc-testimonial-slider-single {
    overflow: hidden;
    border-radius: 30px;
}

.rtc-testimonial-track-single {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.rtc-review-card-single {
    min-width: 100%;
    flex-shrink: 0;
    background: #ffffff;
    padding: 60px 50px;
    border-radius: 30px;
    border-left: 5px solid #1e38ef;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.rtc-review-card-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(30, 56, 239, 0.15);
}

/* Testimonial Dots */
.rtc-testimonial-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.rtc-testimonial-dots .dot {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rtc-testimonial-dots .dot.active {
    background: #1e38ef;
    width: 40px;
    border-radius: 6px;
}

.rtc-testimonial-dots .dot:hover {
    background: #94a3b8;
}

@media (max-width: 768px) {
    .rtc-testimonial-carousel {
        padding: 0 60px;
    }

    .rtc-review-card-single {
        padding: 40px 30px;
        width: 300px;
        min-width: 300px;
    }
}

/* === SMOOTH SCROLL & UTILITIES === */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

/* === ENHANCED GLASS EFFECTS === */
.rtc-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 56, 239, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.rtc-glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 56, 239, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.rtc-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(30, 56, 239, 0.2);
    border-color: #1e38ef;
}

.rtc-glass-card:hover::before {
    opacity: 1;
}

/* === TRUST BADGES STAGGER ANIMATION === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trust-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.trust-item:nth-child(1) {
    animation-delay: 0.1s;
}

.trust-item:nth-child(2) {
    animation-delay: 0.2s;
}

.trust-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* === GRADIENT TEXT UTILITY === */
.gradient-text {
    background: linear-gradient(135deg, #1e38ef 0%, #4361ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === HOVER GLOW EFFECT === */
.hover-glow {
    transition: all 0.4s ease;
}

.hover-glow:hover {
    filter: drop-shadow(0 0 20px rgba(30, 56, 239, 0.4));
}

/* === WHY CHOOSE US CAROUSEL === */
.rtc-why-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 80px;
}

.rtc-why-slider {
    overflow: hidden;
    border-radius: 30px;
}

.rtc-why-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.rtc-why-card {
    min-width: 100%;
    flex-shrink: 0;
    background: #ffffff;
    padding: 80px 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(30, 56, 239, 0.1);
    transition: all 0.5s ease;
}

.rtc-why-card:hover {
    box-shadow: 0 30px 80px rgba(30, 56, 239, 0.2);
    border-color: #1e38ef;
}

/* Why Dots */
.rtc-why-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.rtc-why-dots .dot {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rtc-why-dots .dot.active {
    background: #1e38ef;
    width: 40px;
    border-radius: 6px;
}

.rtc-why-dots .dot:hover {
    background: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .rtc-why-carousel {
        padding: 0 60px;
    }

    .rtc-why-card {
        padding: 50px 30px;
    }
}

/* === RESPONSIVE IMPROVEMENTS === */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .rtc-btn,
    .rtc-btn-outline {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* === MOBILE RESPONSIVE FIX FOR CATEGORY CARDS (High Specificity) === */
@media (max-width: 768px) {

    /* 1. Force Grid to 1 Column (Single Card on Mobile) */
    body .woocommerce ul.products,
    body ul.products {
        display: grid !important;
        grid-template-columns: 1fr !important;
        /* Single Column */
        gap: 20px !important;
    }

    body ul.products li.product,
    body ul.products li.product.product-category {
        width: 100% !important;
        margin-bottom: 0 !important;
        min-height: 250px !important;
        /* Smaller min-height */
    }

    /* 2. Adjust Image Height */
    body ul.products li.product.product-category a img {
        height: 160px !important;
        /* Smaller images */
    }

    /* 3. Smaller Title Text */
    body ul.products li.product.product-category .woocommerce-loop-category__title {
        padding: 10px 5px !important;
        font-size: 0.9rem !important;
    }

    body ul.products li.product.product-category .woocommerce-loop-category__title .count {
        font-size: 0.7rem !important;
        margin-top: 3px !important;
    }

    /* 4. Hide "View Collection" button on mobile if it takes too much space, or make it smaller */
    body ul.products li.product.product-category a::after {
        padding: 6px 15px !important;
        font-size: 0.75rem !important;
        margin: 10px auto 15px !important;
    }
}

/* ----------------------------------------------------
   eCommerce Store Page (page-product-for-your-needs)
   ---------------------------------------------------- */
.rtc-ecommerce-page .rtc-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

.rtc-ecommerce-page .rtc-btn-outline:hover {
    background: var(--neon-blue);
    color: #fff;
    box-shadow: 0 0 20px rgba(30, 56, 239, 0.4);
}

.rtc-ecommerce-page .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Ensure WooCommerce products grid on this page 
   doesn't break the layout */
.rtc-ecommerce-page ul.products {
    margin-bottom: 0 !important;
}

/* Responsive Font Sizes for Store Page */
@media (max-width: 768px) {
    .rtc-ecommerce-page .neon-heading {
        font-size: 2.2rem !important;
    }

}


/* ----------------------------------------------------
   eCommerce Store Page Enhancements
   ---------------------------------------------------- */

/* Details/Summary Accordion */
details>summary {
    list-style: none;
    /* remove standard arrow */
    position: relative;
}

details>summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
    color: var(--neon-gold);
}

details[open]>summary::after {
    content: '-';
    color: var(--neon-blue);
}

details[open] summary~* {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Section Hover */
.rtc-video-section iframe {
    transition: transform 0.3s ease;
}

.rtc-video-section iframe:hover {
    transform: scale(1.02);
}

/* === FORM VISIBILITY FIXES (WooCommerce & Affiliate) === */

/* Force Dark Inputs for better visibility on Neon Theme */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"],
.woocommerce input[type="tel"],
.woocommerce textarea,
.affwp-form input[type="text"],
.affwp-form input[type="email"],
.affwp-form input[type="password"],
.affwp-form select,
.affwp-form textarea,
form.login input.input-text,
form.register input.input-text,
#customer_login input.input-text,
#customer_login input:not([type="submit"]),
.forminator-ui input,
.forminator-ui textarea {
    background-color: #0f172a !important;
    /* Dark Blue Bg */
    color: #ffffff !important;
    /* White Text */
    border: 1px solid #334155 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    font-size: 1rem !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Focus State */
.woocommerce input:focus,
.affwp-form input:focus {
    border-color: #f8bb2f !important;
    /* Gold Border */
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(248, 187, 47, 0.2) !important;
}

/* Placeholder Color */
.woocommerce input::placeholder,
.affwp-form input::placeholder {
    color: #94a3b8 !important;
    /* Muted Blue-Grey */
    opacity: 1;
}

/* Labels */
.woocommerce label,
.affwp-form label {
    color: #cbd5e1 !important;
    /* Light Grey Text */
    font-weight: 600 !important;
}

/* Select Dropdowns */
.woocommerce select,
.affwp-form select {
    background-color: #0f172a !important;
    color: #fff !important;
    border: 1px solid #334155 !important;
    padding: 10px !important;
    border-radius: 6px !important;
}

/* Fix for Checkboxes */
.woocommerce form .form-row .input-checkbox {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
}