/*
Theme Name: PowerX
Theme URI: https://powerx.com
Author: Nizam
Author URI: https://powerx.com
Description: PowerX is a modern, fast, and highly customizable WordPress theme.
Version: 0.0.1
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: powerx
Tags: blog, e-commerce, custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

/**
 * PowerX Theme Master Stylesheet
 * ⚡ COMPILED ASSET - DO NOT EDIT DIRECTLY.
 * Source files located in: assets/css/src/components/
 * Run build via: php bin/build-theme-css.php
 *
 * @package PowerX
 * @version 0.0.1
 */



:root {
	/* =====================================================================
	 * 1.0 NEUTRAL COLOR PALETTE
	 * High-contrast, clean neutral shades optimized for light canvas.
	 * ===================================================================== */
	--powerx-neutral-0: #ffffff;
	--powerx-neutral-100: #f6f6f9;
	--powerx-neutral-150: #eaeaef;
	--powerx-neutral-200: #dcdce4;
	--powerx-neutral-300: #c0c0cf;
	--powerx-neutral-400: #a5a5ba;
	--powerx-neutral-500: #8e8ea9;
	--powerx-neutral-600: #666687;
	--powerx-neutral-700: #4a4a6a;
	--powerx-neutral-800: #32324d;
	--powerx-neutral-900: #212134;

	/* =====================================================================
	 * 2.0 PRIMARY & ACCENT PALETTE
	 * Vibrant, modern corporate primary shades with smooth hover states.
	 * ===================================================================== */
	--powerx-primary-50: #f0f0ff;
	--powerx-primary-100: #d9d8ff;
	--powerx-primary-200: #b8b6ff;
	--powerx-primary-500: #4945ff;
	--powerx-primary-600: #3b36e0;
	--powerx-primary-700: #271fe0;
	--powerx-primary-hover: var(--powerx-primary-600, #3b36e0);
	--powerx-primary-active: var(--powerx-primary-700, #271fe0);

	/* =====================================================================
	 * 3.0 SYSTEM STATUS TOKENS
	 * Semantic feedback colors for alerts, badges, and validation states.
	 * ===================================================================== */
	--powerx-success-50: #f0fdf4;
	--powerx-success-500: #16a34a;
	--powerx-success-700: #15803d;

	--powerx-warning-50: #fffbeb;
	--powerx-warning-500: #d97706;
	--powerx-warning-700: #b45309;

	--powerx-danger-50: #fef2f2;
	--powerx-danger-500: #dc2626;
	--powerx-danger-700: #b91c1c;

	/* =====================================================================
	 * 4.0 BORDER RADIUS SCALE
	 * Harmonious radius tokens applicable across components (4px SSOT).
	 * ===================================================================== */
	--powerx-radius-none: 0;
	--powerx-radius-xs: 4px;
	--powerx-radius-sm: 4px;
	--powerx-radius-md: 4px;
	--powerx-radius-lg: 4px;
	--powerx-radius-xl: 4px;
	--powerx-radius-full: 9999px;

	/* =====================================================================
	 * 5.0 ELEVATION & SHADOW SYSTEM
	 * Subtle, soft drop shadows engineered for elegant card and menu depth.
	 * ===================================================================== */
	--powerx-shadow-xs: 0 1px 2px 0 rgba(33, 33, 52, 0.05);
	--powerx-shadow-sm: 0 1px 3px 0 rgba(33, 33, 52, 0.08), 0 1px 2px -1px rgba(33, 33, 52, 0.08);
	--powerx-shadow-md: 0 4px 6px -1px rgba(33, 33, 52, 0.08), 0 2px 4px -2px rgba(33, 33, 52, 0.05);
	--powerx-shadow-lg: 0 10px 15px -3px rgba(33, 33, 52, 0.08), 0 4px 6px -4px rgba(33, 33, 52, 0.05);
	--powerx-shadow-dropdown: 0 1px 4px 0 rgba(33, 33, 52, 0.10);

	/* =====================================================================
	 * 6.0 TRANSITIONS & MOTION
	 * Micro-interaction timing curves for smooth interactive states.
	 * ===================================================================== */
	--powerx-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
	--powerx-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
	--powerx-transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);

	/* =====================================================================
	 * 7.0 THEME SEMANTIC VARIABLES (Synced with Theme Settings & Elementor Kit)
	 * ===================================================================== */
	--powerx-font-family: var(--powerx-font-text, var(--e-global-typography-text-font-family, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif));
	--powerx-font-primary: var(--powerx-font-heading, var(--e-global-typography-primary-font-family, 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif));
	--powerx-bg-color: var(--powerx-neutral-0, #ffffff);
	--powerx-text-color: var(--powerx-color-text, var(--powerx-neutral-800, #32324d));
	--powerx-heading-color: var(--powerx-color-heading, var(--powerx-neutral-900, #212134));
	--powerx-primary-color: var(--powerx-color-primary, var(--powerx-primary-500, #4945ff));
	--powerx-color-primary-hover: var(--powerx-primary-600, #3b36e0);
	--powerx-secondary-color: var(--powerx-color-secondary, var(--powerx-neutral-600, #666687));
	--powerx-accent-color: var(--powerx-color-accent, var(--powerx-primary-600, #3b36e0));
	--powerx-border-color: var(--powerx-neutral-150, #eaeaef);
	--powerx-body-font-size: var(--powerx-font-size-base, 16px);
	--powerx-card-title-size: 20px;
	--powerx-card-desc-size: 14px;
	--powerx-card-desc-color: var(--powerx-neutral-600, #666687);

	/* Elementor v4 Custom Variable Fallbacks (Theme Standards) */
	--powerx-white: #ffffff;
	--powerx-dark: #212134;
	--powerx-dark-transparent: rgba(33, 33, 52, 0.65);
	--powerx-border-subtle: var(--powerx-neutral-150, #eaeaef);
	--powerx-border-medium: var(--powerx-neutral-200, #dcdce4);

	/* Radius System (4px SSOT Standard) */
	--powerx-radius: var(--powerx-radius-md, 4px);
	--powerx-card-radius: var(--powerx-radius-lg, 4px);
	--powerx-btn-radius: var(--powerx-radius-md, 4px);
}

/* ==========================================================================
   Responsive Full Width for Embedded Maps / Iframes
   ========================================================================== */

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Universal SVG & Elementor Icon Reset (Prevents Giant SVG Flash on load) */
svg {
    max-width: 100%;
    vertical-align: middle;
}
.e-font-icon-svg,
.elementor-icon svg,
.elementor-icon-list-icon svg,
.elementor-widget-icon-list svg,
.elementor-button-icon svg,
.elementor-icon-box-icon svg,
.e-contact-buttons__send-cta svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    box-sizing: content-box;
}


html {
    font-size: 100%;
    scrollbar-gutter: stable;
    overflow-x: hidden;
    max-width: 100%;
    height: 100%;
}

/* WordPress Required Alignment & Caption Styles */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}
.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption-text,
.gallery-caption {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-secondary, #64748b);
    text-align: center;
    padding: 0.5rem 0;
}
.bypostauthor {
    display: block;
}

body {
    margin: 0;
    font-family: var(--powerx-font-family);
    font-size: var(--powerx-body-font-size, 15px);
    background-color: var(--powerx-bg-color);
    color: var(--powerx-text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Critical Header & Navigation Skeleton (Prevents FOUC and 324px -> 47px Layout Shift on Desktop) */
@media (min-width: 1025px) {
    .powerx-mega-menu-widget,
    .powerx-mega-menu-nav {
        display: flex;
        align-items: center;
    }

    .powerx-menu-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: var(--px-menu-gap, 24px);
    }

    .powerx-menu-list > li:not(.px-has-megamenu) {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
        white-space: nowrap;
        position: relative;
    }



/* Sticky Footer Layout: Pins footer to bottom of viewport on short pages, eliminating bottom void */
#page.site {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}

#primary.site-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

#primary.site-main > article,
#primary.site-main .powerx-elementor-page {
    flex: 1 0 auto;
}

#colophon.elementor-location-footer,
#colophon.site-footer {
    margin-top: auto;
    width: 100%;
}

/* Fix Flexbox Container & Slider Layout Jitter / Infinite Loop */
.elementor-widget-slider_revolution,
.wp-block-themepunch-revslider,
sr7-module,
.rev_slider_wrapper,
.px-marquee-wrap,
.px-brands-wrapper {
    max-width: 100%;
    min-width: 0;
}

.elementor-widget-slider_revolution,
.wp-block-themepunch-revslider,
sr7-module,
.rev_slider_wrapper {
    overflow: hidden;
}

/* PowerX Classic Widgets Flush Alignment (0 default fallback padding & margin) */
.elementor-widget[class*="elementor-widget-px-"],
.elementor-widget[class*="elementor-widget-powerx-"],
.elementor-widget[class*="elementor-widget-px-"] > .elementor-widget-container,
.elementor-widget[class*="elementor-widget-powerx-"] > .elementor-widget-container {
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
    font-family: var(--powerx-font-primary, 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: var(--powerx-spacing-unit, 1rem);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.625rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

a {
    color: var(--powerx-primary-color, #4945ff);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--powerx-primary-hover, #2563eb);
    text-decoration: none;
}

/* Paragraph and Elementor Text Editor Resets */
p {
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--powerx-text-color, var(--powerx-neutral-800, #32324d));
    line-height: 1.65;
}

.elementor-widget-text-editor p,
.elementor-widget-px-text-editor p,
.elementor-text-editor p {
    color: inherit;
}

.elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Buttons & Interactive Elements (PowerX Design Set & WordPress Gutenberg)
   Strictly scoped to Gutenberg blocks and PowerX buttons. Never global tags!
   ========================================================================== */
.wp-block-button__link,
.wp-element-button,
.powerx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--powerx-font-family, inherit);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 12px 28px;
    color: var(--powerx-neutral-0, #ffffff);
    background-color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
    border: 1px solid transparent;
    border-radius: var(--powerx-btn-radius, var(--powerx-radius-sm, 4px));
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px var(--powerx-color-alpha, rgba(73, 69, 255, 0.2));
    white-space: nowrap;
}

.wp-block-button__link:hover,
.wp-element-button:hover,
.powerx-btn:hover {
    background-color: var(--powerx-primary-hover, #2563eb);
    color: var(--powerx-neutral-0, #ffffff);
    box-shadow: 0 6px 16px var(--powerx-color-alpha, rgba(73, 69, 255, 0.35));
}

.wp-block-button__link:active,
.wp-element-button:active,
.powerx-btn:active {
    box-shadow: 0 1px 3px var(--powerx-color-alpha, rgba(73, 69, 255, 0.2));
}

/* Gutenberg Outline Button */
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-element-button {
    background-color: transparent;
    border: 1.5px solid var(--powerx-primary-color, #4945ff);
    color: var(--powerx-primary-color, #4945ff);
    box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-element-button:hover {
    background-color: var(--powerx-primary-color, #4945ff);
    color: var(--powerx-neutral-0, #ffffff);
    box-shadow: 0 4px 12px var(--powerx-color-alpha, rgba(73, 69, 255, 0.25));
}

.wp-block-buttons {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Universal Table Styling (Clean, Token-Compliant & Scoped to Content & Dynamic Blocks) */
.powerx-entry-content table,
.elementor-widget-text-editor table,
.elementor-widget-px-text-editor table,
.px-text-editor table,
.px-heading-description table,
.px-raw-table-wrap table,
.ga-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.875rem;
    line-height: 1.35;
}

.powerx-entry-content th,
.powerx-entry-content td,
.elementor-widget-text-editor th,
.elementor-widget-text-editor td,
.elementor-widget-px-text-editor th,
.elementor-widget-px-text-editor td,
.px-text-editor th,
.px-text-editor td,
.px-heading-description th,
.px-heading-description td,
.px-raw-table-wrap th,
.px-raw-table-wrap td,
.ga-table-wrap th,
.ga-table-wrap td {
    padding: 5px 12px;
    border: 1px solid var(--powerx-border-color, #e2e8f0);
    text-align: left;
    vertical-align: middle;
    line-height: 1.35;
}

.powerx-entry-content th,
.elementor-widget-text-editor th,
.elementor-widget-px-text-editor th,
.px-text-editor th,
.px-heading-description th,
.px-raw-table-wrap th,
.ga-table-wrap th {
    font-weight: 600;
    background-color: var(--powerx-overlay-navy, rgba(15, 23, 42, 0.04));
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
}

.powerx-entry-content tbody tr:nth-child(even),
.elementor-widget-text-editor tbody tr:nth-child(even),
.elementor-widget-px-text-editor tbody tr:nth-child(even),
.px-text-editor tbody tr:nth-child(even),
.px-heading-description tbody tr:nth-child(even),
.px-raw-table-wrap tbody tr:nth-child(even),
.ga-table-wrap tbody tr:nth-child(even) {
    background-color: var(--powerx-color-alpha, rgba(248, 250, 252, 0.6));
}

.powerx-entry-content tbody tr:hover,
.elementor-widget-text-editor tbody tr:hover,
.elementor-widget-px-text-editor tbody tr:hover,
.px-text-editor tbody tr:hover,
.px-heading-description tbody tr:hover,
.px-raw-table-wrap tbody tr:hover,
.ga-table-wrap tbody tr:hover {
    background-color: var(--powerx-color-alpha, rgba(241, 245, 249, 0.8));
}

/* Responsive Table Wrapper (Mobile Scroll Guard) */
.px-raw-table-wrap,
.ga-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
}

/* ==========================================================================
   Layout Classes
   ========================================================================== */
.site {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.site-main {
    position: relative;
    z-index: var(--powerx-z-content, 1);
    flex: 1 0 auto;
    width: 100%;
    padding-top: var(--powerx-content-padding-top, 60px);
    padding-bottom: var(--powerx-content-padding-bottom, 60px);
}

.site-main.is-elementor-page {
    padding-top: var(--powerx-content-padding-top, 0);
    padding-bottom: var(--powerx-content-padding-bottom, 0);
}

.powerx-elementor-page,
.is-elementor-page .powerx-entry-content {
    width: 100%;
}


.site-container {
    max-width: var(--powerx-container-width, 1440px);
    margin: 0 auto;
    padding-left: var(--powerx-container-padding-x, 24px);
    padding-right: var(--powerx-container-padding-x, 24px);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1440px) {
    .site-container {
        padding-left: min(var(--powerx-container-padding-x, 24px), 24px);
        padding-right: min(var(--powerx-container-padding-x, 24px), 24px);
    }
}

@media (max-width: 1024px) {
    .site-container {
        padding-left: min(var(--powerx-container-padding-x, 24px), 24px);
        padding-right: min(var(--powerx-container-padding-x, 24px), 24px);
    }
}

@media (max-width: 767px) {
    .site-container {
        padding-left: min(var(--powerx-container-padding-x, 24px), 16px);
        padding-right: min(var(--powerx-container-padding-x, 24px), 16px);
    }
}



/* ==========================================================================
   WordPress Core Classes
   ========================================================================== */
.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 !important;
    width: 1px;
    word-wrap: normal !important;
}

img {
    max-width: 100%;
    height: auto;
}

.elementor-widget-image img {
    width: auto;
}



/* ==========================================================================
   PowerX Responsive Visibility Utility Classes (Elementor Free Compatible)
   ========================================================================== */
@media (min-width: 1025px) {
    .px-hide-desktop,
    .elementor-element.px-hide-desktop {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .px-hide-tablet,
    .elementor-element.px-hide-tablet {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .px-hide-mobile,
    .elementor-element.px-hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .px-show-mobile,
    .elementor-element.px-show-mobile {
        display: none !important;
    }
}

.powerx-menu-list > li.px-has-megamenu {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
        position: static !important; /* Elementor compat: break li relative positioning context for full-width overlay */
        white-space: normal;
    }

    .powerx-menu-list .sub-menu {
        display: none;
        position: absolute;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .powerx-menu-list li:hover > .sub-menu {
        display: block;
    }
}

/* PowerX Mega Menu Architecture (Woodmart / Astra Full-Width Standard) */
.px-has-megamenu {
    position: static !important;
}

@media (min-width: 1025px) {
    .powerx-mega-menu-widget .px-has-megamenu > .px-megamenu-wrapper,
    .px-megamenu-wrapper {
        position: fixed !important; /* Elementor breakout: escape header container boundary */
        top: var(--px-megamenu-top, 100%) !important;
        background: var(--powerx-neutral-0, #ffffff);
        box-shadow: 0 15px 45px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.15));
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        z-index: 999999 !important; /* Stacking above header and page content */
        pointer-events: none;
        white-space: normal;
        padding: 0;
        border-radius: var(--powerx-radius-sm, 4px);
    }

    .powerx-mega-menu-widget .px-has-megamenu.px-megamenu-full-width > .px-megamenu-wrapper,
    .powerx-mega-menu-widget .px-megamenu-wrapper.px-megamenu-design-full-width,
    .px-megamenu-wrapper.px-megamenu-design-full-width {
        left: 0 !important; /* Screen breakout: full viewport width */
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        transform: none !important;
        /* Layout Exception: Full-width viewport container spans flush edge-to-edge */
        border-radius: 0;
        padding: 0;
    }

    .powerx-mega-menu-widget .px-has-megamenu.px-megamenu-container > .px-megamenu-wrapper,
    .powerx-mega-menu-widget .px-megamenu-wrapper.px-megamenu-design-container,
    .px-megamenu-wrapper.px-megamenu-design-container {
        left: 50% !important; /* Center-anchored container width */
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(1240px, calc(100vw - 32px)) !important;
        max-width: 1240px !important;
    }

    .powerx-mega-menu-widget .px-has-megamenu.px-megamenu-custom > .px-megamenu-wrapper,
    .powerx-mega-menu-widget .px-megamenu-wrapper.px-megamenu-design-custom,
    .px-megamenu-wrapper.px-megamenu-design-custom {
        left: 50% !important; /* Custom width container */
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(var(--px-megamenu-custom-width, 1240px), calc(100vw - 32px)) !important;
        max-width: 100vw !important;
    }

    .powerx-mega-menu-widget .px-has-megamenu:hover > .px-megamenu-wrapper,
    .powerx-mega-menu-widget .px-megamenu-wrapper:hover,
    .px-has-megamenu:hover > .px-megamenu-wrapper,
    .px-megamenu-wrapper:hover {
        opacity: 1 !important; /* State activation */
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .powerx-mega-menu-widget .px-has-megamenu > .px-megamenu-wrapper::before,
    .px-megamenu-wrapper::before {
        content: '';
        position: absolute;
        top: -30px;
        left: 0;
        right: 0;
        height: 35px;
        background: transparent;
        display: block;
        pointer-events: auto;
        z-index: var(--powerx-z-active, 10);
    }
}

.px-megamenu-wrapper,
.px-megamenu-wrapper *,
.px-megamenu-wrapper .px-megamenu-container,
.px-megamenu-wrapper .px-megamenu-container * {
    white-space: normal;
}

.px-megamenu-wrapper .elementor-heading-title,
.px-megamenu-wrapper h1,
.px-megamenu-wrapper h2,
.px-megamenu-wrapper h3,
.px-megamenu-wrapper h4,
.px-megamenu-wrapper h5,
.px-megamenu-wrapper h6 {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
}

.px-megamenu-wrapper .px-vmenu-list,
.px-megamenu-wrapper .px-vmenu-list li,
.px-megamenu-wrapper .px-vmenu-list a,
.px-megamenu-wrapper .menu-item,
.px-megamenu-wrapper .menu-item a {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.px-megamenu-wrapper .px-megamenu-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}



/* ==========================================================================
   Header Styling
   ========================================================================== */
.site-header {
    background-color: var(--powerx-header-bg, #ffffff);
    border-bottom: 1px solid var(--powerx-border-color, #eaeaef);
    box-shadow: var(--powerx-shadow-xs, 0 1px 3px 0 rgba(33, 33, 52, 0.05));
    padding: 1.25rem 0;
    position: relative;
    z-index: var(--powerx-z-sticky, 90);
    width: 100%;
}

.site-header .site-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    font-family: var(--powerx-font-primary, inherit);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-title a {
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-title a:hover {
    text-decoration: none;
    color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
}

.site-description {
    margin: 0.25rem 0 0;
    font-family: var(--powerx-font-family, inherit);
    font-size: 0.875rem;
    color: var(--powerx-neutral-500, #8e8ea9);
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.main-navigation a {
    color: var(--powerx-text-color, var(--powerx-neutral-700, #4a4a6a));
    font-family: var(--powerx-font-family, inherit);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
    text-decoration: none;
}



/* ==========================================================================
   PowerX Custom Sticky Header (Elementor)
   ========================================================================== */
.powerx-header-elementor-sticky {
    position: fixed !important; /* Elementor compat: ensure fixed sticky header pins above full page */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 999999 !important; /* High z-index to overlay theme/Elementor content */
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--powerx-sticky-speed, 0.35s) cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.3s, box-shadow 0.3s ease;
    background-color: var(--powerx-sticky-bg, #ffffff);
    pointer-events: none;
}

.powerx-header-elementor-sticky.is-sticky {
    z-index: 999999 !important;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    background-color: var(--powerx-sticky-bg, #ffffff);
    box-shadow: 0 4px 20px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.08));
    pointer-events: auto;
}

.powerx-header-elementor-sticky .elementor,
.elementor-location-header .elementor,
.elementor-location-footer .elementor,
.powerx-template-container .elementor {
    width: 100%;
    max-width: 100%;
}



/* ==========================================================================
   PowerX Header Responsive Structure Guarantee
   ========================================================================== */
@media (min-width: 1025px) {
    .px-header-mobile {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    /* Hide Top Bar & Header Main on Tablet and Mobile */
    .px-header-top,
    .px-header-main {
        display: none !important;
    }

    /* Ensure Mobile Header is active, 100% full width and never overflows */
    .px-header-mobile {
        display: flex !important; /* Responsive utility: activates flex container at <=1024px */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    /* Inner Flexbox: Lock to 100% width, space-between alignment */
    .px-header-mobile-inner {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Logo Container: stays on left, shrink 0 */
    .px-header-logo-container {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        width: auto;
    }

    /* Button Container (Hamburger): stays pinned on right, shrink 0 */
    .px-header-trigger-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-shrink: 0;
        width: auto;
    }
}



/* ==========================================================================
   PowerX Header, Overlap, Page Title & Footer Z-Index Hierarchy
   ========================================================================== */
.powerx-header-elementor-main,
.elementor-location-header {
    position: relative;
    z-index: var(--powerx-z-sticky, 90);
    width: 100%;
    margin-bottom: -1px;
}

/* Prevent Chromium GPU backdrop-filter blur edge-bleed and subpixel fringe on headers */
.elementor-location-header .e-con,
.site-header .e-con {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: var(--powerx-z-sticky, 100);
}

body.powerx-header-overlap .powerx-header-elementor-main,
body.powerx-header-overlap .site-header,
body.powerx-header-overlap .elementor-location-header,
body.powerx-header-overlap #masthead {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    background: transparent !important;
}



/* ==========================================================================
   PowerX Mega Menu FOUC Prevention (Anti-Jitter/Layout Shift)
   ========================================================================== */
.powerx-mega-menu-nav ul.powerx-menu-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.powerx-mega-menu-nav .sub-menu {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
@media (max-width: 1024px) {
    .powerx-mega-menu-widget.px-break-tablet:not(.is-mobile-open) .powerx-mega-menu-nav {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .powerx-mega-menu-widget.px-break-mobile:not(.is-mobile-open) .powerx-mega-menu-nav {
        display: none !important;
    }
}

/* Header & Footer Base Layouts */
header.elementor-location-header,
header#masthead,
.site-header {
    width: 100%;
    max-width: 100%;
    display: block;
}

footer.elementor-location-footer,
footer#colophon,
.site-footer {
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
    z-index: var(--powerx-z-active, 10);
}

body:not(.powerx-header-overlap) header.elementor-location-header,
body:not(.powerx-header-overlap) header#masthead {
    position: relative;
}

/* ==========================================================================
   PowerX Main Content & Sidebar Grid
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .powerx-entry-title {
    font-family: var(--powerx-font-primary, inherit);
}

.powerx-single-post .powerx-entry-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
    line-height: 1.3;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.015em;
}

.powerx-entry-header {
    margin-bottom: 1.25rem;
}

.powerx-post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: var(--powerx-radius, var(--powerx-radius-sm, 4px));
    display: block;
}

@media (max-width: 768px) {
    .powerx-single-post .powerx-entry-title {
        font-size: 1.4rem;
    }
}

.powerx-entry-excerpt {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--powerx-text-muted, #475569);
    font-weight: 500;
    margin: 0 0 1.25rem 0;
}

.powerx-entry-excerpt p {
    margin-bottom: 0.75rem;
    line-height: 1.65;
}

.powerx-entry-excerpt p:last-child {
    margin-bottom: 0;
}

.powerx-entry-divider {
    border: none;
    height: 1px;
    background: var(--powerx-neutral-150, #e2e8f0);
    margin: 1.25rem 0 1.5rem 0;
}



.powerx-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.powerx-layout-fullwidth {
    width: 100%;
}

@media (min-width: 992px) {
    .powerx-layout-grid {
        grid-template-columns: 1fr var(--powerx-sidebar-width, 340px);
    }
    .powerx-layout-grid.powerx-sidebar-left {
        grid-template-columns: var(--powerx-sidebar-width, 340px) 1fr;
    }
    .powerx-layout-grid.powerx-sidebar-left .powerx-content-area {
        order: 2;
    }
    .powerx-layout-grid.powerx-sidebar-left .widget-area,
    .powerx-layout-grid.powerx-sidebar-left .powerx-sidebar-area {
        order: 1;
    }
}

/* ==========================================================================
   PowerX Modern Sidebar & Widget Styling - Clean Card & Framed
   ========================================================================== */
.widget-area .widget,
.widget-area section.widget,
.powerx-sidebar .widget {
    background: var(--powerx-neutral-0, #ffffff);
    border: 1px solid var(--powerx-neutral-150, #e2e8f0);
    border-radius: var(--powerx-radius-sm, 4px);
    padding: 24px 28px;
    margin-bottom: 36px;
    box-shadow: 0 2px 8px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.02));
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.widget-area .widget:hover,
.widget-area section.widget:hover,
.powerx-sidebar .widget:hover {
    border-color: var(--powerx-neutral-200, #cbd5e1);
    box-shadow: 0 4px 16px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.04));
}

/* Allow Elementor templates & banners to display unconstrained with native backgrounds */
.widget-area .widget:has(.elementor),
.powerx-sidebar .widget:has(.elementor),
.widget-area .widget:has(.powerx-template-container),
.powerx-sidebar .widget:has(.powerx-template-container) {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.powerx-template-container {
    width: 100%;
}

.powerx-template-container > .elementor {
    width: 100%;
}


/* Sidebar Widget Headings & Typography Hierarchy */
.widget-area .widget-title,
.widget-area .wp-block-heading,
.widget-area h2,
.widget-area h3,
.widget-area h4,
.powerx-sidebar .widget-title,
.powerx-sidebar .wp-block-heading,
.powerx-sidebar h2,
.powerx-sidebar h3,
.powerx-sidebar h4 {
    font-family: var(--powerx-font-primary, inherit);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--powerx-neutral-900, #0f172a);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--powerx-border-color, #f1f5f9);
    position: relative;
}

.widget-area .widget-title::after,
.widget-area .wp-block-heading::after,
.powerx-sidebar .widget-title::after,
.powerx-sidebar .wp-block-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--powerx-primary-color, #2563eb);
    border-radius: 2px;
}



/* Modern Unified Search Form */
.widget_search .search-form,
.search-form {
    display: flex;
    align-items: stretch;
    background: var(--powerx-neutral-100, #f8fafc);
    border: 1.5px solid var(--powerx-neutral-150, #e2e8f0);
    border-radius: var(--powerx-input-radius, var(--powerx-radius-sm, 4px));
    overflow: hidden;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.widget_search .search-form:focus-within,
.search-form:focus-within {
    background: var(--powerx-neutral-0, #ffffff);
    border-color: var(--powerx-primary-color, #2563eb);
    box-shadow: 0 0 0 3.5px var(--powerx-color-alpha, rgba(37, 99, 235, 0.12));
}

.widget_search .search-form label,
.search-form label {
    flex: 1;
    margin: 0;
    display: flex;
    align-items: center;
}

.widget_search .search-form .search-field,
.search-form .search-field {
    width: 100%;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--powerx-neutral-900, #212134);
    font-family: inherit;
    outline: none;
}

.widget_search .search-form .search-field::placeholder,
.search-form .search-field::placeholder {
    color: var(--powerx-neutral-400, #94a3b8);
}

.widget_search .search-form .search-submit,
.search-form .search-submit {
    background: var(--powerx-neutral-900, #212134);
    color: var(--powerx-neutral-0, #ffffff);
    border: none;
    padding: 0 22px;
    font-weight: 600;
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.widget_search .search-form .search-submit:hover,
.search-form .search-submit:hover {
    background: var(--powerx-primary-color, #2563eb);
    color: var(--powerx-neutral-0, #ffffff);
}

/* Modern Widget Navigation Lists */
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget ul li {
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--powerx-neutral-600, #64748b);
}

.widget ul li a {
    color: var(--powerx-neutral-800, #334155);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 4px 0;
}

.widget ul li a:hover {
    color: var(--powerx-primary-color, #2563eb);
    transform: translateX(4px);
}

.widget ul li .post-date {
    font-size: 12px;
    color: var(--powerx-neutral-400, #94a3b8);
    margin-top: 2px;
    display: block;
}

.powerx-posts-grid {
    display: grid;
    grid-template-columns: repeat(var(--powerx-grid-cols, 3), minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 0;
}

.powerx-posts-grid.powerx-grid-cols-1 { grid-template-columns: 1fr; }
.powerx-posts-grid.powerx-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.powerx-posts-grid.powerx-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.powerx-posts-grid.powerx-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.powerx-posts-grid.powerx-grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.powerx-posts-grid.powerx-grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1024px) {
    .powerx-posts-grid,
    .powerx-posts-grid.powerx-grid-cols-3,
    .powerx-posts-grid.powerx-grid-cols-4,
    .powerx-posts-grid.powerx-grid-cols-5,
    .powerx-posts-grid.powerx-grid-cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .powerx-posts-grid,
    .powerx-posts-grid.powerx-grid-cols-1,
    .powerx-posts-grid.powerx-grid-cols-2,
    .powerx-posts-grid.powerx-grid-cols-3,
    .powerx-posts-grid.powerx-grid-cols-4,
    .powerx-posts-grid.powerx-grid-cols-5,
    .powerx-posts-grid.powerx-grid-cols-6 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 0;
    }
}

/* Subcategory & Direct Items Hybrid Section */
.powerx-archive-sub-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--powerx-border-color, #e2e8f0);
}

.powerx-archive-section-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
    margin: 0 0 1.75rem 0;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.powerx-archive-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--powerx-primary-color, #ffd400);
    border-radius: var(--powerx-radius-xs, 4px);
}

/* WooCommerce Dynamic Grid Columns Support */
.woocommerce ul.products::before,
.woocommerce-page ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::after {
    content: none;
    display: none;
}

.woocommerce ul.products.columns-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.woocommerce ul.products.columns-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.woocommerce ul.products.columns-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.woocommerce ul.products.columns-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.woocommerce ul.products.columns-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }

@media (max-width: 1024px) {
    .woocommerce ul.products[class*="columns-"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .woocommerce ul.products[class*="columns-"] {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}



/* ==========================================================================
   PowerX Sidebar Widgets UI (Modern Cards & Clean Hierarchy)
   ========================================================================== */
.widget-area .widget,
.powerx-sidebar .widget {
    background: var(--powerx-neutral-0, #ffffff);
    border-radius: var(--powerx-widget-radius, var(--powerx-radius-md, 8px));
    padding: 20px 22px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px 0 var(--powerx-overlay-dark, rgba(0, 0, 0, 0.04)), 0 1px 2px -1px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.04));
    border: 1px solid var(--powerx-border-color, #e2e8f0);
}

/* Sidebar Lists & Links */
.widget-area .widget ul,
.powerx-sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget-area .widget ul li,
.powerx-sidebar .widget ul li {
    font-size: 13.5px;
    color: var(--powerx-neutral-700, #334155);
    padding: 8px 0;
    border-bottom: 1px solid #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.45;
}

.widget-area .widget ul li:last-child,
.powerx-sidebar .widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-area .widget ul li a,
.powerx-sidebar .widget ul li a {
    color: var(--powerx-neutral-700, #334155);
    text-decoration: none;
    transition: color 0.15s ease;
}

.widget-area .widget ul li a:hover,
.powerx-sidebar .widget ul li a:hover {
    color: var(--powerx-primary-color, #2563eb);
    transform: none; /* STRICT HOVER FLOAT YASAĞI */
}

/* Empty State / Notice Text in Widgets */
.widget-area .widget p,
.powerx-sidebar .widget p,
.widget-area .no-comments,
.widget-area .widget_recent_comments .no-comments {
    font-size: 13px;
    color: var(--powerx-neutral-500, #64748b);
    line-height: 1.5;
    margin: 0;
}



.powerx-pagination {
    margin-top: 2rem;
}
.powerx-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}
.powerx-pagination .page-numbers {
    padding: 0.5rem 1rem;
    background: var(--powerx-neutral-0, #ffffff);
    border: 1px solid var(--powerx-border-color);
    border-radius: var(--powerx-btn-radius, var(--powerx-radius-sm, 4px));
    color: var(--powerx-text-color);
    font-weight: 500;
}
.powerx-pagination .page-numbers.current,
.powerx-pagination .page-numbers:hover {
    background: var(--powerx-primary-color);
    color: var(--powerx-neutral-0, #ffffff);
    border-color: var(--powerx-primary-color);
    text-decoration: none;
}



/* ==========================================================================
   PowerX Layout Grid (2-Column Main + Sidebar Layout)
   ========================================================================== */
.site-container.powerx-layout-grid {
    display: grid;
    grid-template-columns: 1fr var(--powerx-sidebar-width, 320px);
    gap: 32px;
    align-items: start;
    max-width: var(--powerx-container-width, 1340px);
    margin: 0 auto;
}
.site-container.powerx-layout-grid.powerx-sidebar-left {
    grid-template-columns: var(--powerx-sidebar-width, 320px) 1fr;
}
.site-container.powerx-layout-grid.powerx-sidebar-left > .powerx-sidebar {
    order: -1;
}

@media (max-width: 991px) {
    .site-container.powerx-layout-grid,
    .site-container.powerx-layout-grid.powerx-sidebar-left {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .site-container.powerx-layout-grid.powerx-sidebar-left > .powerx-sidebar {
        order: 2;
    }
}
.powerx-content-area {
    min-width: 0;
    width: 100%;
}
.powerx-sidebar {
    min-width: 0;
    width: 100%;
}

/* ==========================================================================
   PowerX Search Template (search.php)
   ========================================================================== */
.powerx-search-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--powerx-border-color, rgba(0, 0, 0, 0.08));
    padding-bottom: var(--px-search-header-pb, 20px);
}

.powerx-search-title {
    font-size: 28px;
    font-weight: 700;
    margin: var(--px-search-title-mb, 0 0 8px);
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
}

.powerx-search-query {
    color: var(--powerx-primary-500, #4945ff);
}

.powerx-search-summary {
    margin: 0;
    color: var(--powerx-text-muted, #64748b);
    font-size: 14px;
}

.powerx-search-no-results-box {
    padding: var(--px-search-no-results-pad, 40px 0);
    text-align: center;
}

.powerx-search-empty-title {
    font-size: 22px;
    margin-bottom: var(--px-search-empty-title-mb, 12px);
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
}

.powerx-search-empty-text {
    color: var(--powerx-text-muted, #64748b);
    max-width: 500px;
    margin: 0 auto 24px;
}

.powerx-search-empty-form-wrap {
    max-width: 480px;
    margin: 0 auto;
}



.powerx-cat-title,
.px-product-title {
    font-family: var(--powerx-font-primary, inherit);
    font-size: var(--powerx-card-title-size, 20px);
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.powerx-cat-footer {
    margin-top: auto;
    padding-top: var(--px-archive-cat-footer-pt, 0.75rem);
}



/* ==========================================================================
   PowerX Post Card UI
   ========================================================================== */
.powerx-post-card {
    background: var(--powerx-neutral-0, #ffffff);
    border: 1px solid var(--powerx-border-color, #e2e8f0);
    border-radius: var(--powerx-card-radius, var(--powerx-radius-sm, 4px));
    box-shadow: 0 4px 20px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.03));
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.powerx-post-card:hover {
    border-color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
    box-shadow: 0 6px 18px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.06));
}

.powerx-post-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: var(--powerx-neutral-100, #f1f5f9);
}

.powerx-post-card .powerx-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.powerx-post-card:hover .powerx-post-thumbnail img {
    transform: scale(1.05);
}

.powerx-post-content {
    padding: var(--px-archive-post-content-pad, 24px);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.powerx-post-meta {
    font-size: 13px;
    color: var(--powerx-text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.powerx-post-title,
.powerx-entry-title {
    font-family: var(--powerx-font-primary, inherit);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--px-archive-post-title-mb, 0.5rem);
    line-height: 1.35;
}

.powerx-post-title a,
.powerx-entry-title a {
    color: var(--powerx-heading-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.powerx-post-card:hover .powerx-post-title a,
.powerx-post-card:hover .powerx-entry-title a {
    color: var(--powerx-primary-color);
}

.powerx-post-excerpt,
.powerx-entry-summary {
    color: var(--powerx-neutral-600, #64748b);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.powerx-post-footer {
    margin-top: auto;
    padding-top: var(--px-archive-post-footer-pt, 0.75rem);
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.powerx-post-link,
.powerx-read-more a,
.powerx-read-more .powerx-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--powerx-primary-color);
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.powerx-post-card:hover .powerx-post-link,
.powerx-post-card:hover .powerx-read-more a,
.powerx-post-card:hover .powerx-read-more .powerx-btn {
    color: var(--powerx-primary-hover);
    transform: translateX(4px);
}



/* ==========================================================================
   PowerX Category Cards (Products & Services Categories)
   ========================================================================== */
.powerx-cat-card-product,
.powerx-cat-card-collection {
    --powerx-cat-bg: var(--powerx-collection-cat-card-bg, var(--powerx-product-cat-card-bg, #ffffff));
    --powerx-cat-border: var(--powerx-collection-cat-card-border, var(--powerx-product-cat-card-border, var(--powerx-border-color)));
    --powerx-cat-btn-clr: var(--powerx-item-btn-color, var(--powerx-collection-item-btn-color, var(--powerx-collection-cat-btn-color, var(--powerx-product-cat-btn-color, var(--powerx-primary-color, var(--powerx-primary-500, #4945ff))))));
    --powerx-cat-btn-hvr: var(--powerx-item-btn-hover, var(--powerx-collection-item-btn-hover, var(--powerx-collection-cat-btn-hover, var(--powerx-product-cat-btn-hover, var(--powerx-primary-hover, #ffffff)))));
    --powerx-cat-title-clr: var(--powerx-collection-cat-title-color, var(--powerx-product-cat-title-color, var(--powerx-cat-btn-clr, var(--powerx-neutral-900, #212134))));
    --powerx-cat-title-hvr: var(--powerx-collection-cat-title-hover, var(--powerx-product-cat-title-hover, var(--powerx-primary-color, #ffd400)));
    --powerx-cat-badge-bg-clr: var(--powerx-collection-cat-badge-bg, var(--powerx-product-cat-badge-bg, #f1f5f9));
    --powerx-cat-badge-text-clr: var(--powerx-collection-cat-badge-color, var(--powerx-product-cat-badge-color, #475569));
}

.powerx-cat-card-service {
    --powerx-cat-bg: var(--powerx-service-cat-card-bg, #ffffff);
    --powerx-cat-border: var(--powerx-service-cat-card-border, var(--powerx-border-color));
    --powerx-cat-title-clr: var(--powerx-service-cat-title-color, var(--powerx-heading-color, var(--powerx-neutral-900, #212134)));
    --powerx-cat-title-hvr: var(--powerx-service-cat-title-hover, var(--powerx-primary-color, #ffd400));
    --powerx-cat-btn-clr: var(--powerx-service-cat-btn-color, var(--powerx-heading-color, var(--powerx-neutral-900, #212134)));
    --powerx-cat-btn-hvr: var(--powerx-service-cat-btn-hover, var(--powerx-primary-color, #ffd400));
    --powerx-cat-badge-bg-clr: var(--powerx-service-cat-badge-bg, #f1f5f9);
    --powerx-cat-badge-text-clr: var(--powerx-service-cat-badge-color, #475569);
}

.powerx-cat-card {
    background: var(--powerx-cat-bg, #ffffff);
    border-radius: var(--powerx-card-radius, var(--powerx-radius-sm, 4px));
    overflow: hidden;
    border: 1px solid var(--powerx-cat-border, var(--powerx-border-color));
    box-shadow: 0 2px 4px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.03));
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.powerx-cat-card:hover {
    border-color: var(--powerx-neutral-200, #cbd5e1);
    box-shadow: 0 6px 18px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.06));
}

.powerx-cat-thumbnail-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: var(--powerx-collection-img-ar, 4 / 3);
    height: var(--powerx-collection-img-height, auto);
    max-height: var(--powerx-collection-img-max-height, none);
    background: var(--powerx-cat-thumb-bg, #ffffff);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.powerx-cat-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: var(--powerx-collection-img-fit, contain);
    object-position: center;
    transition: transform 0.4s ease;
}

.powerx-cat-card:hover .powerx-cat-thumbnail {
    transform: scale(1.06);
}

/* Secondary Gallery Hover Image Transition */
.powerx-cat-thumbnail-wrap.has-hover-image {
    background: transparent;
}

.powerx-cat-thumbnail-wrap.has-hover-image .powerx-primary-img {
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.powerx-cat-thumbnail-wrap.has-hover-image .powerx-secondary-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: var(--powerx-collection-img-fit, contain);
    object-position: center;
    opacity: 0;
    background: transparent;
    transition: opacity 0.35s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: var(--powerx-z-content, 1);
}

.powerx-cat-card:hover .powerx-cat-thumbnail-wrap.has-hover-image .powerx-primary-img {
    opacity: 0;
}

.powerx-cat-card:hover .powerx-cat-thumbnail-wrap.has-hover-image .powerx-secondary-hover-img {
    opacity: 1;
    transform: scale(1.06);
}

/* Product Card Specific Hover Image: Contain In 4:3 Frame */
.powerx-cat-card-product .powerx-cat-thumbnail-wrap.has-hover-image .powerx-secondary-hover-img,
.px-product-card .powerx-cat-thumbnail-wrap.has-hover-image .powerx-secondary-hover-img {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: var(--powerx-collection-img-fit, var(--powerx-product-img-fit, contain));
    object-position: center;
}

.powerx-cat-card-product:hover .powerx-cat-thumbnail-wrap.has-hover-image .powerx-secondary-hover-img,
.px-product-card:hover .powerx-cat-thumbnail-wrap.has-hover-image .powerx-secondary-hover-img {
    opacity: 1;
    transform: scale(1.06);
}

.powerx-cat-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--powerx-neutral-100, #f1f5f9) 0%, var(--powerx-neutral-150, #e2e8f0) 100%);
    color: var(--powerx-neutral-400, #94a3b8);
}

.powerx-cat-placeholder .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
}

.powerx-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, var(--powerx-overlay-navy, rgba(15, 23, 42, 0.15)) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.powerx-cat-card:hover .powerx-cat-overlay {
    opacity: 1;
}

.powerx-cat-body {
    padding: var(--px-archive-cat-body-pad, 1.25rem 1.4rem);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.powerx-cat-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-bottom: 0.35rem;
}

.powerx-cat-title,
.px-product-title,
.powerx-cat-card .powerx-cat-title,
.px-product-card .px-product-title,
.powerx-cat-card h3.powerx-cat-title,
.px-product-card h3.px-product-title {
    width: 100%;
    font-family: var(--powerx-font-primary, inherit);
    font-size: var(--powerx-card-title-size, 20px);
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    color: var(--powerx-cat-title-clr, var(--powerx-heading-color, var(--powerx-color-secondary, #10161b)));
}

.powerx-cat-title a,
.px-product-title a,
.powerx-cat-card .powerx-cat-title a,
.px-product-card .px-product-title a,
.powerx-cat-card h3.powerx-cat-title a,
.px-product-card h3.px-product-title a,
.powerx-cat-card .powerx-cat-title span,
.px-product-card .px-product-title span {
    color: var(--powerx-cat-title-clr, var(--powerx-heading-color, var(--powerx-color-secondary, #10161b)));
    font-size: var(--powerx-card-title-size, 20px);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.powerx-cat-card:hover .powerx-cat-title a,
.powerx-cat-title a:hover,
.px-product-card:hover .px-product-title a,
.px-product-title a:hover {
    color: var(--powerx-cat-title-hvr, var(--powerx-primary-color, #ffd400));
}

.powerx-cat-badge-wrap {
    display: inline-flex;
    margin-top: var(--px-archive-cat-badge-mt, 0.15rem);
}

.powerx-cat-count {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--powerx-cat-badge-text-clr, #475569);
    background: var(--powerx-cat-badge-bg-clr, #f1f5f9);
    padding: 3px 10px;
    border-radius: var(--powerx-radius-sm, 4px);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.powerx-cat-desc {
    font-size: var(--powerx-card-desc-size, 16px);
    color: var(--powerx-card-desc-color, #64748b);
    margin: 0 0 1rem;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--powerx-cat-desc-lines, 2);
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

@media (max-width: 1024px) {
    .powerx-cat-desc {
        font-size: var(--powerx-card-desc-size-tablet, 15px);
    }
}

@media (max-width: 767px) {
    .powerx-cat-desc {
        font-size: var(--powerx-card-desc-size-mobile, 15px);
    }
}

.powerx-cat-footer {
    margin-top: auto;
    padding-top: var(--px-archive-cat-footer-pt, 0.75rem);
    border-top: 1px solid #f1f5f9;
}

.powerx-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--powerx-item-btn-color, var(--powerx-cat-btn-clr, var(--powerx-heading-color, var(--powerx-neutral-900, #212134))));
    background: var(--powerx-item-btn-bg, transparent);
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.powerx-cat-card:hover .powerx-cat-btn,
.powerx-cat-btn:hover {
    color: var(--powerx-item-btn-hover, var(--powerx-cat-btn-hvr, var(--powerx-primary-color, #ffd400)));
    background: var(--powerx-item-btn-hover-bg, transparent);
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Modular Card Design: Minimal Centered / Catalog
   -------------------------------------------------------------------------- */
.powerx-card-design-minimal {
    text-align: center;
}

.powerx-card-design-minimal .powerx-cat-card-inner,
.powerx-card-design-minimal.px-product-card .px-product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.powerx-card-design-minimal .powerx-cat-thumbnail-wrap {
    aspect-ratio: var(--px-prod-img-ar, 4 / 3);
    background: var(--px-prod-thumb-bg, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--px-prod-img-pad, 0);
}

.powerx-card-design-minimal .powerx-cat-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: var(--powerx-collection-img-fit, var(--px-prod-img-fit, contain));
    object-position: center;
}

.powerx-card-design-minimal .powerx-cat-body {
    padding: var(--px-archive-minimal-body-pad, 12px 14px 16px);
    text-align: center;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.powerx-card-design-minimal .powerx-cat-title {
    text-align: center;
    font-size: var(--px-prod-title-size, var(--powerx-card-title-size, 20px));
    font-weight: var(--px-prod-title-weight, 600);
    line-height: 1.35;
    margin: 0;
}

.powerx-card-design-minimal:hover .powerx-cat-title,
.powerx-card-design-minimal:hover .powerx-cat-title span {
    color: var(--powerx-cat-title-hvr, var(--powerx-color-primary));
}

/* --------------------------------------------------------------------------
   Modular Card Design: Modern Hover Overlay Action
   -------------------------------------------------------------------------- */
.powerx-card-design-hover-action .powerx-cat-thumbnail-wrap {
    position: relative;
    overflow: hidden;
}

.powerx-card-design-hover-action .powerx-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.powerx-card-design-hover-action .powerx-card-action-trigger:hover {
    background: var(--powerx-color-primary, #ffd400);
    color: var(--powerx-neutral-900, #000000);
}

/* --------------------------------------------------------------------------
   Modular Card Design: Modern Poster Overlay (Anasayfa Tasarımı)
   -------------------------------------------------------------------------- */
.powerx-card-design-overlay,
.powerx-cat-style-overlay {
    position: relative;
    overflow: hidden;
    border: none;
    background: transparent;
    box-shadow: 0 4px 14px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.08));
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    border-radius: var(--powerx-card-radius, var(--powerx-radius-sm, 4px));
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.powerx-card-design-overlay:hover,
.powerx-cat-style-overlay:hover {
    box-shadow: 0 16px 36px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.22));
    border-color: transparent;
}

.powerx-card-design-overlay .powerx-cat-overlay-link,
.powerx-cat-style-overlay .powerx-cat-overlay-link {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--powerx-neutral-0, #ffffff);
    overflow: hidden;
    border-radius: inherit;
}

.powerx-card-design-overlay .powerx-cat-thumbnail-wrap,
.powerx-cat-style-overlay .powerx-cat-thumbnail-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: inherit;
    width: 100%;
    height: var(--powerx-collection-img-height, 100%);
    max-height: var(--powerx-collection-img-max-height, none);
    aspect-ratio: var(--powerx-collection-img-ar, var(--px-prod-img-ar, 4 / 3));
    background: transparent;
}

.powerx-card-design-overlay .powerx-cat-thumbnail,
.powerx-cat-style-overlay .powerx-cat-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: var(--powerx-collection-img-fit, cover);
    display: block;
    border-radius: inherit;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.powerx-card-design-overlay:hover .powerx-cat-thumbnail,
.powerx-cat-style-overlay:hover .powerx-cat-thumbnail {
    transform: scale(1.06);
    filter: brightness(1.03);
}

.powerx-card-design-overlay .powerx-cat-dark-overlay,
.powerx-cat-style-overlay .powerx-cat-dark-overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 48%,
        rgba(0, 0, 0, 0.42) 72%,
        rgba(0, 0, 0, 0.88) 100%
    );
    opacity: 1;
    transition: opacity 0.35s ease, background 0.35s ease;
    pointer-events: none;
    z-index: var(--powerx-z-content, 1);
}

.powerx-card-design-overlay:hover .powerx-cat-dark-overlay,
.powerx-cat-style-overlay:hover .powerx-cat-dark-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.52) 68%,
        rgba(0, 0, 0, 0.92) 100%
    );
}

.powerx-card-design-overlay .powerx-cat-overlay-content,
.powerx-card-design-overlay .powerx-cat-overlay-body,
.powerx-cat-style-overlay .powerx-cat-overlay-content,
.powerx-cat-style-overlay .powerx-cat-overlay-body {
    position: absolute;
    inset: 0;
    z-index: var(--powerx-z-card, 2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--px-archive-overlay-content-pad, 12px 14px);
    box-sizing: border-box;
    pointer-events: none;
}

.powerx-card-design-overlay .powerx-cat-title,
.powerx-card-design-overlay .powerx-cat-overlay-title,
.powerx-cat-card.powerx-cat-style-overlay .powerx-cat-title,
.powerx-cat-card.powerx-card-design-overlay h3.powerx-cat-title,
.powerx-cat-style-overlay .powerx-cat-title,
.powerx-cat-style-overlay .powerx-cat-overlay-title {
    font-family: inherit;
    font-size: var(--px-prod-title-size, 1.15rem);
    font-weight: var(--px-prod-title-weight, 700);
    letter-spacing: 0.2px;
    color: var(--powerx-neutral-0, #ffffff);
    margin: 0;
    padding: 0;
    min-height: 0;
    line-height: 1.25;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    width: 100%;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    transition: color 0.25s ease;
}

.powerx-card-design-overlay:hover .powerx-cat-title,
.powerx-card-design-overlay:hover .powerx-cat-overlay-title,
.powerx-cat-card.powerx-cat-style-overlay:hover .powerx-cat-title,
.powerx-cat-style-overlay:hover .powerx-cat-title,
.powerx-cat-style-overlay:hover .powerx-cat-overlay-title {
    color: var(--powerx-neutral-0, #ffffff);
}

.powerx-card-design-overlay.has-no-btn .powerx-cat-overlay-content,
.powerx-card-design-overlay.has-no-btn .powerx-cat-overlay-body,
.powerx-cat-style-overlay.has-no-btn .powerx-cat-overlay-content,
.powerx-cat-style-overlay.has-no-btn .powerx-cat-overlay-body {
    justify-content: flex-end;
    padding-bottom: var(--px-archive-overlay-nobtn-pb, 12px);
}

.powerx-card-design-overlay.has-no-btn .powerx-cat-title,
.powerx-card-design-overlay.has-no-btn .powerx-cat-overlay-title,
.powerx-cat-style-overlay.has-no-btn .powerx-cat-title,
.powerx-cat-style-overlay.has-no-btn .powerx-cat-overlay-title {
    margin: 0;
    padding: 0;
    min-height: 0;
}

.powerx-card-design-overlay .powerx-cat-badge,
.powerx-cat-style-overlay .powerx-cat-badge {
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--powerx-overlay-light, rgba(255, 255, 255, 0.9));
    background: var(--powerx-overlay-dark, rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(4px);
    padding: var(--px-archive-overlay-badge-pad, 2px 8px);
    border-radius: var(--powerx-radius-xs, 4px);
    margin-bottom: var(--px-archive-overlay-badge-mb, 6px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.powerx-card-design-overlay .powerx-cat-btn,
.powerx-card-design-overlay .powerx-cat-overlay-btn,
.powerx-cat-style-overlay .powerx-cat-btn,
.powerx-cat-style-overlay .powerx-cat-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--powerx-item-btn-color, var(--powerx-collection-item-btn-color, var(--powerx-collection-cat-btn-color, var(--powerx-product-cat-btn-color, var(--powerx-cat-btn-clr, var(--powerx-primary-color, #ffd400))))));
    background: var(--powerx-item-btn-bg, transparent);
    margin-top: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
    border-radius: var(--powerx-radius-xs, 4px);
    padding: var(--powerx-item-btn-pad, 2px 6px);
}

.powerx-card-design-overlay:hover .powerx-cat-btn,
.powerx-card-design-overlay:hover .powerx-cat-overlay-btn,
.powerx-card-design-overlay .powerx-cat-btn:hover,
.powerx-cat-style-overlay:hover .powerx-cat-btn,
.powerx-cat-style-overlay:hover .powerx-cat-overlay-btn,
.powerx-cat-style-overlay .powerx-cat-btn:hover {
    color: var(--powerx-item-btn-hover, var(--powerx-collection-item-btn-hover, var(--powerx-collection-cat-btn-hover, var(--powerx-product-cat-btn-hover, var(--powerx-cat-btn-hvr, #ffffff))))));
    background: var(--powerx-item-btn-hover-bg, transparent);
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Modular Card Design: E-Commerce Retail Architecture (.powerx-ecommerce-card)
   ⚡ UNIVERSAL SINGLE SOURCE OF TRUTH (SSOT)
   Shared identically between WooCommerce Archives and Elementor Widgets.
   -------------------------------------------------------------------------- */
.powerx-ecommerce-card,
.powerx-card-design-ecommerce,
.px-products-grid-widget .powerx-ecommerce-card,
.px-products-grid-widget .powerx-card-design-ecommerce {
    background: var(--px-prod-card-bg, var(--powerx-neutral-0, #ffffff));
    background-color: var(--px-prod-card-bg, var(--powerx-neutral-0, #ffffff));
    border-width: var(--px-prod-card-border-width, 1px);
    border-style: var(--px-prod-card-border-style, solid);
    border-color: var(--px-prod-card-border, var(--powerx-neutral-150, #e2e8f0));
    border-radius: var(--px-prod-card-radius, 18px);
    padding: var(--px-prod-card-pad, var(--px-ecom-card-pad, 16px));
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 1px 3px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.04));
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform: none;
}

.powerx-ecommerce-card:hover,
.powerx-card-design-ecommerce:hover,
.px-products-grid-widget .powerx-ecommerce-card:hover,
.px-products-grid-widget .powerx-card-design-ecommerce:hover {
    transform: none !important; /* Strictly comply with Hover Float Prohibition */
    border-color: var(--px-prod-card-border-hover, var(--powerx-neutral-200, #cbd5e1));
    box-shadow: 0 8px 24px -4px var(--powerx-overlay-navy, rgba(15, 23, 42, 0.08));
    background-color: var(--px-prod-card-bg-hover, var(--px-prod-card-bg, var(--powerx-neutral-0, #ffffff)));
}

/* Zero Placeholder / Image-Only E-Commerce Card Precision */
.powerx-ecommerce-card.has-no-body,
.powerx-ecommerce-card.px-card-image-only,
.powerx-card-design-ecommerce.has-no-body,
.powerx-card-design-ecommerce.px-card-image-only {
    padding: 0 !important;
    border-radius: var(--px-prod-card-radius, 14px) !important;
    overflow: hidden !important;
    height: auto !important;
    min-height: 0 !important;
}

.powerx-ecommerce-card.has-no-body .px-product-media-wrap,
.powerx-ecommerce-card.px-card-image-only .px-product-media-wrap,
.powerx-card-design-ecommerce.has-no-body .px-product-media-wrap,
.powerx-card-design-ecommerce.px-card-image-only .px-product-media-wrap {
    border-radius: inherit !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: var(--px-prod-img-ar, 4/3) !important;
    max-height: var(--px-prod-img-max-h, none) !important;
}

.powerx-ecommerce-card.has-no-body .px-product-thumb-box,
.powerx-ecommerce-card.px-card-image-only .px-product-thumb-box,
.powerx-card-design-ecommerce.has-no-body .px-product-thumb-box,
.powerx-card-design-ecommerce.px-card-image-only .px-product-thumb-box {
    height: 100% !important;
    width: 100% !important;
}

.powerx-ecommerce-card.has-no-body .px-product-thumb,
.powerx-ecommerce-card.px-card-image-only .px-product-thumb,
.powerx-card-design-ecommerce.has-no-body .px-product-thumb,
.powerx-card-design-ecommerce.px-card-image-only .px-product-thumb {
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    padding: var(--px-prod-img-pad, 0) !important;
}

.powerx-ecommerce-card .powerx-cat-body:empty,
.powerx-ecommerce-card .px-product-info:empty,
.powerx-card-design-ecommerce .powerx-cat-body:empty,
.powerx-card-design-ecommerce .px-product-info:empty {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    height: 0 !important;
    min-height: 0 !important;
}

/* 1. Media Box & Pastel Image Container (Dynamic Aspect Ratio & Object Fit) */
.powerx-ecommerce-card .px-product-media-wrap,
.powerx-card-design-ecommerce .px-product-media-wrap,
.px-products-grid-widget .powerx-ecommerce-card .px-product-media-wrap,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: var(--px-prod-img-ar, 4/3);
    max-height: var(--px-prod-img-max-h, 300px);
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--px-prod-thumb-bg, var(--powerx-neutral-100, #f8fafc));
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    margin: 0;
}

.powerx-ecommerce-card .px-product-thumb-box,
.powerx-ecommerce-card .powerx-cat-thumbnail-wrap,
.powerx-card-design-ecommerce .px-product-thumb-box,
.powerx-card-design-ecommerce .powerx-cat-thumbnail-wrap,
.px-products-grid-widget .powerx-ecommerce-card .px-product-thumb-box,
.px-products-grid-widget .powerx-ecommerce-card .powerx-cat-thumbnail-wrap,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-thumb-box,
.px-products-grid-widget .powerx-card-design-ecommerce .powerx-cat-thumbnail-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.powerx-ecommerce-card .px-product-thumb,
.powerx-card-design-ecommerce .px-product-thumb,
.px-products-grid-widget .powerx-ecommerce-card .px-product-thumb,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-thumb {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: var(--px-prod-img-fit, contain);
    padding: var(--px-prod-img-pad, 0);
    box-sizing: border-box;
    transition: transform 0.3s ease;
    background: transparent;
    margin: auto;
    display: block;
}

.powerx-ecommerce-card:hover .px-product-thumb,
.powerx-card-design-ecommerce:hover .px-product-thumb,
.px-products-grid-widget .powerx-ecommerce-card:hover .px-product-thumb,
.px-products-grid-widget .powerx-card-design-ecommerce:hover .px-product-thumb {
    transform: scale(1.05);
}

/* Secondary Hover Image */
.powerx-ecommerce-card .px-product-thumb-box .px-secondary-img,
.powerx-card-design-ecommerce .px-product-thumb-box .px-secondary-img,
.px-products-grid-widget .powerx-ecommerce-card .px-product-thumb-box .px-secondary-img,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-thumb-box .px-secondary-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: var(--px-prod-img-fit, contain);
    padding: var(--px-prod-img-pad, 0);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: transparent;
}
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
    background: transparent !important;
}

.powerx-ecommerce-card:hover .px-product-thumb-box.has-hover-image .px-primary-img,
.powerx-card-design-ecommerce:hover .px-product-thumb-box.has-hover-image .px-primary-img,
.px-products-grid-widget .powerx-ecommerce-card:hover .px-product-thumb-box.has-hover-image .px-primary-img,
.px-products-grid-widget .powerx-card-design-ecommerce:hover .px-product-thumb-box.has-hover-image .px-primary-img {
    opacity: 0 !important;
}

.powerx-ecommerce-card:hover .px-product-thumb-box.has-hover-image .px-secondary-img,
.powerx-card-design-ecommerce:hover .px-product-thumb-box.has-hover-image .px-secondary-img,
.px-products-grid-widget .powerx-ecommerce-card:hover .px-product-thumb-box.has-hover-image .px-secondary-img,
.px-products-grid-widget .powerx-card-design-ecommerce:hover .px-product-thumb-box.has-hover-image .px-secondary-img {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1.05) !important;
}

/* Badges Stack (Top-Left) */
.powerx-ecommerce-card .px-badge-stack,
.powerx-card-design-ecommerce .px-badge-stack,
.px-products-grid-widget .powerx-ecommerce-card .px-badge-stack,
.px-products-grid-widget .powerx-card-design-ecommerce .px-badge-stack {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: var(--powerx-z-card, 3) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    pointer-events: none !important;
}

.powerx-ecommerce-card .px-badge,
.powerx-card-design-ecommerce .px-badge,
.px-products-grid-widget .powerx-ecommerce-card .px-badge,
.px-products-grid-widget .powerx-card-design-ecommerce .px-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    padding: var(--px-ecom-badge-pad, 3px 9px) !important;
    border-radius: 9999px !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
}

.powerx-ecommerce-card .px-badge-sale,
.powerx-ecommerce-card .px-badge-bestseller,
.powerx-card-design-ecommerce .px-badge-sale,
.powerx-card-design-ecommerce .px-badge-bestseller,
.px-products-grid-widget .powerx-ecommerce-card .px-badge-sale,
.px-products-grid-widget .powerx-card-design-ecommerce .px-badge-sale {
    background-color: var(--powerx-danger-50, #fef2f2) !important;
    color: var(--powerx-danger-500, #ef4444) !important;
}

.powerx-ecommerce-card .px-badge-featured,
.powerx-ecommerce-card .px-badge-pill-blue,
.powerx-card-design-ecommerce .px-badge-featured,
.powerx-card-design-ecommerce .px-badge-pill-blue,
.px-products-grid-widget .powerx-ecommerce-card .px-badge-featured,
.px-products-grid-widget .powerx-card-design-ecommerce .px-badge-featured {
    background-color: var(--powerx-primary-50, #eff6ff) !important;
    color: var(--powerx-primary-500, #2563eb) !important;
}

.powerx-ecommerce-card .px-badge-new,
.powerx-card-design-ecommerce .px-badge-new,
.px-products-grid-widget .powerx-ecommerce-card .px-badge-new,
.px-products-grid-widget .powerx-card-design-ecommerce .px-badge-new {
    background-color: var(--powerx-success-50, #f0fdf4) !important;
    color: var(--powerx-success-500, #16a34a) !important;
}

.powerx-ecommerce-card .px-badge-stockout,
.powerx-card-design-ecommerce .px-badge-stockout,
.px-products-grid-widget .powerx-ecommerce-card .px-badge-stockout,
.px-products-grid-widget .powerx-card-design-ecommerce .px-badge-stockout {
    background-color: var(--powerx-neutral-100, #f1f5f9) !important;
    color: var(--powerx-neutral-600, #64748b) !important;
}

/* Action Stack (Top-Right: Wishlist & Compare) */
.powerx-ecommerce-card .px-action-stack,
.powerx-card-design-ecommerce .px-action-stack,
.px-products-grid-widget .powerx-ecommerce-card .px-action-stack,
.px-products-grid-widget .powerx-card-design-ecommerce .px-action-stack {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.powerx-ecommerce-card .px-card-action-btn,
.powerx-card-design-ecommerce .px-card-action-btn,
.px-products-grid-widget .powerx-ecommerce-card .px-card-action-btn,
.px-products-grid-widget .powerx-card-design-ecommerce .px-card-action-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background-color: var(--powerx-neutral-0, #ffffff) !important;
    border: 1px solid var(--powerx-neutral-150, #e2e8f0) !important;
    box-shadow: 0 1px 3px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.05)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--powerx-neutral-600, #64748b) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
    text-decoration: none !important;
    padding: 0 !important;
    transform: none !important;
}

.powerx-ecommerce-card .px-card-action-btn:hover,
.powerx-card-design-ecommerce .px-card-action-btn:hover,
.px-products-grid-widget .powerx-ecommerce-card .px-card-action-btn:hover,
.px-products-grid-widget .powerx-card-design-ecommerce .px-card-action-btn:hover {
    background-color: var(--powerx-neutral-900, #0f172a) !important;
    border-color: var(--powerx-neutral-900, #0f172a) !important;
    color: var(--powerx-neutral-0, #ffffff) !important;
    transform: none !important;
}

.powerx-ecommerce-card .px-card-action-btn svg,
.powerx-card-design-ecommerce .px-card-action-btn svg,
.px-products-grid-widget .powerx-ecommerce-card .px-card-action-btn svg,
.px-products-grid-widget .powerx-card-design-ecommerce .px-card-action-btn svg {
    width: 15px !important;
    height: var(--px-ecom-action-svg-h, 15px) !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    fill: none !important;
}

/* 2. Product Body & Typography */
.powerx-ecommerce-card .px-product-info,
.powerx-ecommerce-card .powerx-cat-body,
.powerx-card-design-ecommerce .px-product-info,
.powerx-card-design-ecommerce .powerx-cat-body,
.px-products-grid-widget .powerx-ecommerce-card .px-product-info,
.px-products-grid-widget .powerx-ecommerce-card .powerx-cat-body,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-info,
.px-products-grid-widget .powerx-card-design-ecommerce .powerx-cat-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: var(--px-prod-body-pad, var(--px-ecom-info-pt, 14px 0 0 0));
    border-top: none;
}

.powerx-ecommerce-card .px-product-meta-row,
.powerx-card-design-ecommerce .px-product-meta-row,
.px-products-grid-widget .powerx-ecommerce-card .px-product-meta-row,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--px-ecom-meta-min-h, 18px);
    margin-bottom: 6px;
    gap: 8px;
}

.powerx-ecommerce-card .px-product-brand,
.powerx-card-design-ecommerce .px-product-brand,
.px-products-grid-widget .powerx-ecommerce-card .px-product-brand,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-brand {
    font-size: 11px;
    font-weight: 700;
    color: var(--powerx-neutral-600, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.15s ease;
}

.powerx-ecommerce-card .px-product-brand:hover,
.powerx-card-design-ecommerce .px-product-brand:hover,
.px-products-grid-widget .powerx-ecommerce-card .px-product-brand:hover,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-brand:hover {
    color: var(--powerx-neutral-900, #0f172a);
}

.powerx-ecommerce-card .px-product-rating-wrap,
.powerx-card-design-ecommerce .px-product-rating-wrap,
.px-products-grid-widget .powerx-ecommerce-card .px-product-rating-wrap,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-rating-wrap {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11.5px;
    font-weight: 700;
}

.powerx-ecommerce-card .px-stars,
.powerx-card-design-ecommerce .px-stars,
.px-products-grid-widget .powerx-ecommerce-card .px-stars,
.px-products-grid-widget .powerx-card-design-ecommerce .px-stars {
    color: var(--powerx-warning-500, #f59e0b);
    font-size: 11.5px;
    letter-spacing: 1px;
    line-height: 1;
}

.powerx-ecommerce-card .px-rating-val,
.powerx-card-design-ecommerce .px-rating-val,
.px-products-grid-widget .powerx-ecommerce-card .px-rating-val,
.px-products-grid-widget .powerx-card-design-ecommerce .px-rating-val {
    color: var(--powerx-warning-500, #d97706);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    margin-left: 2px;
}

.powerx-ecommerce-card .px-product-title,
.powerx-ecommerce-card .powerx-cat-title,
.powerx-card-design-ecommerce .px-product-title,
.powerx-card-design-ecommerce .powerx-cat-title,
.px-products-grid-widget .powerx-ecommerce-card .px-product-title,
.px-products-grid-widget .powerx-ecommerce-card .powerx-cat-title,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-title,
.px-products-grid-widget .powerx-card-design-ecommerce .powerx-cat-title {
    font-size: var(--px-prod-title-size, inherit);
    font-weight: var(--px-prod-title-weight, inherit);
    line-height: 1.35;
    margin: var(--px-ecom-title-margin, 0 0 8px 0);
}

.powerx-ecommerce-card .powerx-cat-body > :last-child,
.powerx-ecommerce-card .px-product-info > :last-child,
.px-products-grid-widget .powerx-ecommerce-card .px-product-title:last-child {
    margin-bottom: 0;
}

.powerx-ecommerce-card .px-product-title a,
.powerx-ecommerce-card .powerx-cat-title a,
.powerx-card-design-ecommerce .px-product-title a,
.powerx-card-design-ecommerce .powerx-cat-title a,
.px-products-grid-widget .powerx-ecommerce-card .px-product-title a,
.px-products-grid-widget .powerx-ecommerce-card .powerx-cat-title a,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-title a,
.px-products-grid-widget .powerx-card-design-ecommerce .powerx-cat-title a {
    color: var(--px-prod-title-color, var(--powerx-neutral-900, #0f172a));
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.powerx-ecommerce-card:hover .px-product-title a,
.powerx-ecommerce-card:hover .powerx-cat-title a,
.powerx-card-design-ecommerce:hover .px-product-title a,
.powerx-card-design-ecommerce:hover .powerx-cat-title a,
.powerx-ecommerce-card .px-product-title a:hover,
.powerx-ecommerce-card .powerx-cat-title a:hover,
.powerx-card-design-ecommerce .px-product-title a:hover,
.powerx-card-design-ecommerce .powerx-cat-title a:hover,
.px-products-grid-widget .powerx-ecommerce-card:hover .px-product-title a,
.px-products-grid-widget .powerx-ecommerce-card:hover .powerx-cat-title a,
.px-products-grid-widget .powerx-ecommerce-card .px-product-title a:hover,
.px-products-grid-widget .powerx-ecommerce-card .powerx-cat-title a:hover,
.px-products-grid-widget .powerx-card-design-ecommerce:hover .px-product-title a,
.px-products-grid-widget .powerx-card-design-ecommerce:hover .powerx-cat-title a,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-title a:hover,
.px-products-grid-widget .powerx-card-design-ecommerce .powerx-cat-title a:hover {
    color: var(--px-prod-title-hover, var(--powerx-primary-color, #0284c7));
}

.powerx-ecommerce-card .px-product-snippet,
.powerx-card-design-ecommerce .px-product-snippet,
.px-products-grid-widget .powerx-ecommerce-card .px-product-snippet,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-snippet {
    font-size: 12.5px;
    color: var(--powerx-neutral-600, #64748b);
    line-height: 1.45;
    margin: var(--px-ecom-snippet-margin, 0 0 16px 0);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 3. Card Footer: Price & Capsule Add-to-Cart Button */
.powerx-ecommerce-card .px-product-footer,
.powerx-ecommerce-card .powerx-cat-footer,
.powerx-card-design-ecommerce .px-product-footer,
.powerx-card-design-ecommerce .powerx-cat-footer,
.px-products-grid-widget .powerx-ecommerce-card .px-product-footer,
.px-products-grid-widget .powerx-ecommerce-card .powerx-cat-footer,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-footer,
.px-products-grid-widget .powerx-card-design-ecommerce .powerx-cat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0;
    gap: 6px;
    width: 100%;
}

.powerx-ecommerce-card .px-product-price-box,
.powerx-card-design-ecommerce .px-product-price-box,
.px-products-grid-widget .powerx-ecommerce-card .px-product-price-box,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-price-box {
    font-size: 16px;
    font-weight: 800;
    color: var(--powerx-neutral-900, #0f172a);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.powerx-ecommerce-card .px-product-price-box .price,
.powerx-card-design-ecommerce .px-product-price-box .price,
.px-products-grid-widget .powerx-ecommerce-card .px-product-price-box .price,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-price-box .price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--powerx-neutral-900, #0f172a);
}

.powerx-ecommerce-card .px-product-price-box del,
.powerx-card-design-ecommerce .px-product-price-box del,
.px-products-grid-widget .powerx-ecommerce-card .px-product-price-box del,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-price-box del {
    font-size: 11px;
    color: var(--powerx-neutral-400, #94a3b8);
    font-weight: 500;
    text-decoration: line-through;
}

.powerx-ecommerce-card .px-product-price-box ins,
.powerx-card-design-ecommerce .px-product-price-box ins,
.px-products-grid-widget .powerx-ecommerce-card .px-product-price-box ins,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-price-box ins {
    text-decoration: none;
    color: var(--powerx-danger-500, #dc2626);
    font-weight: 800;
}

.powerx-ecommerce-card .px-product-cart-btn-wrap,
.powerx-card-design-ecommerce .px-product-cart-btn-wrap,
.px-products-grid-widget .powerx-ecommerce-card .px-product-cart-btn-wrap,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-cart-btn-wrap {
    flex-shrink: 0;
}

.powerx-ecommerce-card .px-product-cart-btn-wrap .button,
.powerx-ecommerce-card .px-product-cart-btn-wrap a.button,
.powerx-card-design-ecommerce .px-product-cart-btn-wrap .button,
.powerx-card-design-ecommerce .px-product-cart-btn-wrap a.button,
.px-products-grid-widget .powerx-ecommerce-card .px-product-cart-btn-wrap .button,
.px-products-grid-widget .powerx-ecommerce-card .px-product-cart-btn-wrap a.button,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-cart-btn-wrap .button,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-cart-btn-wrap a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: var(--px-ecom-cart-btn-pad, 7px 12px);
    font-size: 11.5px;
    font-weight: 700;
    background-color: var(--powerx-neutral-900, #0f172a);
    color: var(--powerx-neutral-0, #ffffff);
    border-radius: 9999px;
    border: none;
    text-decoration: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    line-height: 1.2;
    margin: 0;
    width: auto;
    white-space: nowrap;
    transform: none;
}

.powerx-ecommerce-card .px-product-cart-btn-wrap .button:hover,
.powerx-ecommerce-card .px-product-cart-btn-wrap a.button:hover,
.powerx-card-design-ecommerce .px-product-cart-btn-wrap .button:hover,
.powerx-card-design-ecommerce .px-product-cart-btn-wrap a.button:hover,
.px-products-grid-widget .powerx-ecommerce-card .px-product-cart-btn-wrap .button:hover,
.px-products-grid-widget .powerx-ecommerce-card .px-product-cart-btn-wrap a.button:hover,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-cart-btn-wrap .button:hover,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-cart-btn-wrap a.button:hover {
    background-color: var(--powerx-neutral-900, #1e293b);
    color: var(--powerx-neutral-0, #ffffff);
    transform: none;
}

.powerx-ecommerce-card .px-product-cart-btn-wrap .button svg,
.powerx-ecommerce-card .px-product-cart-btn-wrap a.button svg,
.powerx-card-design-ecommerce .px-product-cart-btn-wrap .button svg,
.powerx-card-design-ecommerce .px-product-cart-btn-wrap a.button svg,
.px-products-grid-widget .powerx-ecommerce-card .px-product-cart-btn-wrap .button svg,
.px-products-grid-widget .powerx-ecommerce-card .px-product-cart-btn-wrap a.button svg,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-cart-btn-wrap .button svg,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-cart-btn-wrap a.button svg {
    width: 13px;
    height: var(--px-ecom-cart-svg-h, 13px);
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
    vertical-align: middle;
}

.powerx-ecommerce-card .px-product-cart-btn-wrap .button.loading,
.powerx-card-design-ecommerce .px-product-cart-btn-wrap .button.loading,
.px-products-grid-widget .powerx-ecommerce-card .px-product-cart-btn-wrap .button.loading,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-cart-btn-wrap .button.loading {
    opacity: 0.7 !important;
}

.powerx-ecommerce-card .px-product-cart-btn-wrap .button.added::after,
.powerx-card-design-ecommerce .px-product-cart-btn-wrap .button.added::after,
.px-products-grid-widget .powerx-ecommerce-card .px-product-cart-btn-wrap .button.added::after,
.px-products-grid-widget .powerx-card-design-ecommerce .px-product-cart-btn-wrap .button.added::after {
    margin-left: 4px !important;
}

/* Universal Unified Product Grid Wrapper (Used for Intercepted Blocks & Theme Loops) */
.powerx-unified-products-block {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 0 0 !important;
}

.powerx-unified-products-block ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.powerx-unified-products-block ul.products::before,
.powerx-unified-products-block ul.products::after {
    display: none !important;
}

.powerx-unified-products-block ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    float: none !important;
}

.powerx-unified-products-block ul.products li.product .powerx-ecommerce-card {
    width: 100% !important;
}

@media (max-width: 1100px) {
    .powerx-unified-products-block ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    .powerx-unified-products-block ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}

@media (max-width: 480px) {
    .powerx-unified-products-block ul.products {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* ==========================================================================
   PowerX Subcategories Grouped Sections (Parent Category View)
   ========================================================================== */
.powerx-subcategories-sections {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.powerx-subcat-section {
    display: flex;
    flex-direction: column;
}

.powerx-subcat-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: var(--px-archive-subcat-header-pb, 0.75rem);
    border-bottom: 2px solid var(--powerx-border-color, #f1f5f9);
    position: relative;
}

.powerx-subcat-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: var(--px-archive-subcat-line-h, 2px);
    background: var(--powerx-primary-color, #ffd400);
    border-radius: var(--powerx-radius-xs, 4px);
}

.powerx-subcat-title {
    font-family: var(--powerx-font-primary, inherit);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
    margin: 0;
    letter-spacing: -0.01em;
}

.powerx-subcat-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.powerx-subcat-title a:hover {
    color: var(--powerx-primary-color, #2563eb);
}

.powerx-subcat-view-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--powerx-primary-color, #2563eb);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.powerx-subcat-view-all:hover {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    .powerx-subcategories-sections {
        gap: 2.5rem;
    }
    .powerx-subcat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .powerx-subcat-title {
        font-size: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   Archive / Catalog Section Intro Header & Description
   -------------------------------------------------------------------------- */
.powerx-catalog-intro-header {
    margin: var(--px-archive-catalog-intro-margin, 0 0 28px 0);
    padding: 0;
    width: 100%;
}

.powerx-catalog-heading-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 10px 0;
}

.powerx-catalog-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--powerx-heading-color, var(--powerx-color-secondary, #10161b));
    text-transform: uppercase;
}

.powerx-catalog-heading-line {
    display: inline-block;
    flex: 1;
    max-width: 90px;
    height: 2px;
    background-color: var(--powerx-accent-color, var(--powerx-color-primary, #ffd400));
}

.powerx-catalog-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--powerx-text-color, var(--powerx-neutral-600, #64748b));
    max-width: 780px;
}

@media (max-width: 767px) {
    .powerx-catalog-intro-header {
        margin-bottom: 20px;
    }
    .powerx-catalog-title {
        font-size: 1.25rem;
    }
    .powerx-catalog-heading-line {
        max-width: 50px;
    }
    .powerx-catalog-desc {
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   PowerX Interactive Magic Cursor (GPU Accelerated)
   ========================================================================== */
body.elementor-editor-active .px-cursor-dot,
body.elementor-editor-active .px-cursor-ring,
.elementor-editor-active .px-cursor-dot,
.elementor-editor-active .px-cursor-ring,
.elementor-editor-preview .px-cursor-dot,
.elementor-editor-preview .px-cursor-ring {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.px-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    margin-left: -4px;
    background-color: var(--px-cursor-dot, var(--powerx-primary-color, var(--powerx-primary-500, #4945ff)));
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--powerx-z-modal, 999999);
    will-change: transform;
}

.px-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    margin-left: -17px;
    border: 2px solid var(--px-cursor-ring, var(--powerx-primary-color, var(--powerx-primary-500, #4945ff)));
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--powerx-z-modal, 999998);
    transition: background-color 0.25s ease;
    will-change: transform;
}

.px-cursor-ring.cursor-hover {
    background-color: var(--powerx-overlay-navy, rgba(15, 23, 42, 0.15));
}





/* ==========================================================================
   PowerX Widget Notices & Placeholders (Universal Clean Notice Box)
   ========================================================================== */
.px-widget-placeholder,
.px-widget-notice,
.px-widget-empty {
    padding: 24px 20px;
    border: 1px dashed var(--powerx-neutral-200, #dcdce4);
    border-radius: var(--powerx-radius-sm, 4px);
    text-align: center;
    color: var(--powerx-neutral-600, #666687);
    font-size: 14px;
    background: var(--powerx-neutral-100, #f6f6f9);
    width: 100%;
}
.px-widget-placeholder strong,
.px-widget-notice strong {
    display: block;
    font-size: 16px;
    color: var(--powerx-neutral-900, #212134);
    margin-bottom: 6px;
}
.px-widget-placeholder p,
.px-widget-notice p {
    margin: 0;
    font-size: 14px;
    color: var(--powerx-neutral-600, #64748b);
}



/* ==========================================================================
   PowerX Brands Carousel Track Universal Flex
   ========================================================================== */
.px-brands-wrapper .px-brands-carousel-track,
.px-brands-atomic-wrapper .px-brands-carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: var(--px-brand-gap, 20px);
}

.px-brands-wrapper .px-brand-card,
.px-brands-atomic-wrapper .px-brand-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}



/* ==========================================================================
   Search Modal Critical Anti-FOUC (Prevents inline modal flash on page load)
   ========================================================================== */
.px-search-modal-backdrop:not(.is-active) {
    display: none !important;
}

.px-search-modal-backdrop.is-active {
    display: flex !important;
}



/* ==========================================================================
   PowerX Universal Carousel & Slider Arrow Responsive Visibility
   ========================================================================== */
@media (max-width: 767px) {
    .px-arrows-hide-mobile .px-prod-nav-btn,
    .px-arrows-hide-mobile .px-cat-nav-btn,
    .px-arrows-hide-mobile .px-brand-nav-btn,
    .px-arrows-hide-mobile .swiper-button-prev,
    .px-arrows-hide-mobile .swiper-button-next,
    .px-arrows-hide-mobile .px-slider-nav-btn,
    .px-arrows-hide-mobile.swiper-button-prev,
    .px-arrows-hide-mobile.swiper-button-next,
    .px-arrows-hide-mobile.px-prod-nav-btn,
    .px-arrows-hide-mobile.px-cat-nav-btn,
    .px-arrows-hide-mobile.px-brand-nav-btn {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .px-arrows-hide-tablet .px-prod-nav-btn,
    .px-arrows-hide-tablet .px-cat-nav-btn,
    .px-arrows-hide-tablet .px-brand-nav-btn,
    .px-arrows-hide-tablet .swiper-button-prev,
    .px-arrows-hide-tablet .swiper-button-next,
    .px-arrows-hide-tablet .px-slider-nav-btn,
    .px-arrows-hide-tablet.swiper-button-prev,
    .px-arrows-hide-tablet.swiper-button-next,
    .px-arrows-hide-tablet.px-prod-nav-btn,
    .px-arrows-hide-tablet.px-cat-nav-btn,
    .px-arrows-hide-tablet.px-brand-nav-btn {
        display: none !important;
    }
}



/* ==========================================================================
   PowerX Universal GSAP Motion & Text FX Helpers
   ========================================================================== */
.px-liquid-shell {
    position: relative;
    display: inline-block;
    width: 100%;
}

.px-liquid-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--powerx-overlay-light, rgba(255, 255, 255, 0.35));
}

.px-liquid-layer {
    color: var(--px-accent, var(--powerx-primary-color, #2563eb));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(100% 0% 0% 0%);
}

.px-scramble-accent {
    color: var(--px-accent, var(--powerx-primary-color, #2563eb));
}

.px-scramble-muted {
    color: var(--powerx-neutral-500, #475569);
}

/* ==========================================================================
   Comments Area & Pagination Links (ThemeForest Standard)
   ========================================================================== */
.powerx-comments-area {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--powerx-border-color, #e2e8f0);
}
.powerx-comments-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
    margin-bottom: 24px;
}
.powerx-comment-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}
.powerx-comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--powerx-border-color, #e2e8f0);
}
.powerx-comment-list .comment-body {
    display: flex;
    gap: 16px;
}
.powerx-comment-list .comment-meta {
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--powerx-text-muted, #64748b);
}
.powerx-comment-list .comment-author b {
    font-size: 15px;
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
}
.powerx-comment-list .comment-content {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--powerx-text-color, #334155);
}
.powerx-comment-list .reply a {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
    text-decoration: none;
}
.comment-respond {
    margin-top: 36px;
}
.comment-reply-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
}
.comment-form p {
    margin-bottom: 16px;
}
.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--powerx-border-color, var(--powerx-neutral-150, #eaeaef));
    background: var(--powerx-neutral-0, #ffffff);
    font-size: 14px;
    border-radius: var(--powerx-input-radius, var(--powerx-radius-sm, 4px));
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
    outline: none;
}

/* Multi-page post navigation */
.page-links {
    margin: 24px 0;
    font-size: 14px;
    font-weight: 600;
}
.page-links a,
.page-links > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    margin: 0 3px;
    border: 1px solid var(--powerx-border-color, #e2e8f0);
    text-decoration: none;
    color: var(--powerx-text-color, #334155);
}
.page-links > span.current,
.page-links a:hover {
    background: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
    color: var(--powerx-neutral-0, #ffffff);
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */
#colophon.elementor-location-footer,
.elementor-location-footer {
    position: relative;
    width: 100%;
}








/* Hide floating sticky header completely inside Elementor editor when editing pages/posts */
body.elementor-editor-active .powerx-header-elementor-sticky:not(.is-editing-sticky) {
    display: none !important;
}



/* ==========================================================================
   PowerX Back to Top Button
   ========================================================================== */
.px-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--powerx-primary-color, var(--powerx-color-primary, #4945ff));
    color: var(--powerx-neutral-0, #ffffff);
    border-radius: var(--powerx-radius-sm, 0px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.15));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: var(--powerx-z-drawer, 999);
    cursor: pointer;
    border: none;
}

.px-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.px-back-to-top:focus {
    outline: none;
}

.px-back-to-top:focus-visible {
    opacity: 1;
    visibility: visible;
    outline: 2px solid var(--powerx-neutral-0, #ffffff);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--powerx-primary-500, #4945ff), 0 6px 20px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.35));
}

.px-back-to-top:hover {
    background: var(--powerx-primary-hover, var(--powerx-color-primary-hover, #3b37d6));
    box-shadow: 0 6px 18px var(--powerx-overlay-dark, rgba(0, 0, 0, 0.22));
}

@media (forced-colors: active) {
    .px-back-to-top:focus-visible {
        outline: 3px solid Highlight !important;
        outline-offset: 2px !important;
    }
}
