/*
Theme Name:        Portfolix
Theme URI:         https://portfolix-theme.com
Author:            Portfolix Team
Author URI:        https://portfolix-theme.com
Description:       A premium portfolio WordPress theme with Elementor integration, masonry/grid/carousel galleries, WooCommerce support, advanced header options, AJAX filters, and a complete feature set for creative professionals and agencies.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.5
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:       portfolix
Tags:              portfolio, elementor, responsive, woocommerce, custom-header, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support, footer-widgets, full-width-template, sticky-post, theme-options, two-columns, grid-layout, one-column, left-sidebar, right-sidebar, custom-background, custom-colors, editor-style, blog, e-commerce, photography
*/

/* ========================================
   PORTFOLIX THEME - MAIN STYLESHEET
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Brand Colors */
    --px-primary:        #0A0A0A;
    --px-secondary:      #1A1A2E;
    --px-accent:         #E94560;
    --px-accent-2:       #F5A623;
    --px-light:          #F8F9FA;
    --px-white:          #FFFFFF;
    --px-dark:           #0D0D0D;
    --px-text:           #333333;
    --px-text-muted:     #777777;
    --px-border:         #E5E5E5;

    /* Typography */
    --px-font-heading:   'Playfair Display', Georgia, serif;
    --px-font-body:      'DM Sans', sans-serif;
    --px-font-mono:      'JetBrains Mono', monospace;

    /* Spacing Scale */
    --px-xs:   0.25rem;
    --px-sm:   0.5rem;
    --px-md:   1rem;
    --px-lg:   1.5rem;
    --px-xl:   2rem;
    --px-2xl:  3rem;
    --px-3xl:  4rem;
    --px-4xl:  6rem;

    /* Layout */
    --px-container:     1320px;
    --px-radius:        8px;
    --px-radius-lg:     16px;
    --px-radius-xl:     24px;
    --px-shadow:        0 4px 24px rgba(0,0,0,0.08);
    --px-shadow-lg:     0 8px 48px rgba(0,0,0,0.16);
    --px-shadow-hover:  0 16px 64px rgba(0,0,0,0.20);

    /* Transitions */
    --px-transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --px-transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Header Heights */
    --px-header-height:  80px;
    --px-header-sticky:  70px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--px-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--px-text);
    background-color: var(--px-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--px-accent);
    text-decoration: none;
    transition: var(--px-transition);
}

a:hover { color: var(--px-secondary); }

ul, ol { list-style: none; }

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--px-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--px-primary);
    margin-bottom: var(--px-md);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.375rem); }
h6 { font-size: 1.125rem; }

p { margin-bottom: var(--px-md); }

.px-lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--px-text-muted);
}

/* ========================================
   LAYOUT & CONTAINER
   ======================================== */
.px-container {
    max-width: var(--px-container);
    margin: 0 auto;
    padding: 0 var(--px-xl);
}

.px-container-fluid {
    width: 100%;
    padding: 0 var(--px-xl);
}

.px-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(-1 * var(--px-md));
}

/* ========================================
   HEADER STYLES
   ======================================== */
.px-header {
    position: relative;
    width: 100%;
    z-index: 1000;
    transition: var(--px-transition);
}

/* Default Header */
.px-header--default {
    background-color: var(--px-white);
    border-bottom: 1px solid var(--px-border);
    height: var(--px-header-height);
}

/* Fixed Header */
.px-header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--px-white);
    box-shadow: var(--px-shadow);
    height: var(--px-header-height);
}

/* Smart Sticky Header */
.px-header--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--px-white);
    box-shadow: var(--px-shadow-lg);
    height: var(--px-header-sticky);
}

.px-header--sticky.is-visible {
    transform: translateY(0);
}

.px-header--sticky.is-hidden {
    transform: translateY(-100%);
}

/* Transparent Header */
.px-header--transparent {
    position: absolute;
    background: transparent;
}

.px-header--transparent .px-nav-link {
    color: var(--px-white);
}

/* Centered Header */
.px-header--centered .px-header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--px-md);
    padding: var(--px-md) 0;
}

/* Minimal Header */
.px-header--minimal {
    background: transparent;
    border: none;
    padding: var(--px-lg) 0;
}

/* Colored Header */
.px-header--colored {
    background-color: var(--px-primary);
}

.px-header--colored .px-nav-link {
    color: var(--px-white);
}

/* Header Inner */
.px-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--px-xl);
}

/* Logo */
.px-logo {
    display: flex;
    align-items: center;
    gap: var(--px-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.px-logo img {
    height: 40px;
    width: auto;
}

.px-logo-text {
    font-family: var(--px-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--px-primary);
    letter-spacing: -0.02em;
}

.px-logo-text span {
    color: var(--px-accent);
}

/* ========================================
   NAVIGATION
   ======================================== */
.px-nav {
    display: flex;
    align-items: center;
}

.px-nav-list {
    display: flex;
    align-items: center;
    gap: var(--px-xs);
}

.px-nav-item {
    position: relative;
}

.px-nav-link {
    display: flex;
    align-items: center;
    gap: var(--px-xs);
    padding: var(--px-sm) var(--px-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--px-text);
    border-radius: var(--px-radius);
    transition: var(--px-transition);
    white-space: nowrap;
}

.px-nav-link:hover,
.px-nav-item.current-menu-item > .px-nav-link {
    color: var(--px-accent);
    background-color: rgba(233, 69, 96, 0.06);
}

/* Dropdown */
.px-dropdown {
    position: absolute;
    top: calc(100% + var(--px-sm));
    left: 0;
    min-width: 220px;
    background: var(--px-white);
    border-radius: var(--px-radius-lg);
    box-shadow: var(--px-shadow-lg);
    border: 1px solid var(--px-border);
    padding: var(--px-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--px-transition);
    z-index: 100;
}

.px-nav-item:hover > .px-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.px-dropdown-link {
    display: block;
    padding: var(--px-sm) var(--px-md);
    font-size: 0.9rem;
    color: var(--px-text);
    border-radius: var(--px-radius);
    transition: var(--px-transition);
}

.px-dropdown-link:hover {
    color: var(--px-accent);
    background-color: rgba(233, 69, 96, 0.06);
    padding-left: calc(var(--px-md) + 4px);
}

/* Mega Menu */
.px-mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--px-header-height);
    background: var(--px-white);
    box-shadow: var(--px-shadow-lg);
    border-top: 2px solid var(--px-accent);
    padding: var(--px-2xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--px-transition);
    z-index: 99;
}

.px-nav-item:hover > .px-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.px-mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--px-2xl);
    max-width: var(--px-container);
    margin: 0 auto;
}

.px-mega-menu-col-title {
    font-family: var(--px-font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--px-accent);
    margin-bottom: var(--px-md);
}

/* Header Actions */
.px-header-actions {
    display: flex;
    align-items: center;
    gap: var(--px-md);
}

.px-header-search-btn,
.px-header-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--px-border);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--px-transition);
    color: var(--px-text);
    font-size: 1rem;
}

.px-header-search-btn:hover,
.px-header-cart-btn:hover {
    border-color: var(--px-accent);
    color: var(--px-accent);
    background: rgba(233, 69, 96, 0.06);
}

/* Mobile Menu Toggle */
.px-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--px-sm);
    z-index: 1001;
}

.px-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--px-primary);
    border-radius: 2px;
    transition: var(--px-transition);
}

.px-mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.px-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.px-mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
   ======================================== */
.px-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.px-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.px-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.75) 0%, rgba(26,26,46,0.5) 100%);
}

.px-hero-content {
    position: relative;
    z-index: 2;
    color: var(--px-white);
    max-width: 800px;
}

.px-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--px-sm);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    padding: var(--px-xs) var(--px-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--px-lg);
    color: var(--px-white);
}

.px-hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--px-accent);
    animation: pulse 2s infinite;
}

.px-hero-title {
    color: var(--px-white);
    margin-bottom: var(--px-lg);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
}

.px-hero-title em {
    font-style: italic;
    color: var(--px-accent);
}

.px-hero-desc {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: var(--px-2xl);
    max-width: 600px;
}

.px-hero-actions {
    display: flex;
    gap: var(--px-md);
    flex-wrap: wrap;
}

/* Parallax Hero */
.px-hero--parallax .px-hero-bg {
    will-change: transform;
}

/* ========================================
   BUTTONS
   ======================================== */
.px-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--px-sm);
    padding: 0.875rem 2rem;
    font-family: var(--px-font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--px-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--px-transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.px-btn-primary {
    background: var(--px-accent);
    color: var(--px-white);
    border-color: var(--px-accent);
}

.px-btn-primary:hover {
    background: #c73652;
    border-color: #c73652;
    color: var(--px-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.35);
}

.px-btn-outline {
    background: transparent;
    color: var(--px-white);
    border-color: rgba(255,255,255,0.6);
}

.px-btn-outline:hover {
    background: var(--px-white);
    color: var(--px-primary);
    border-color: var(--px-white);
}

.px-btn-dark {
    background: var(--px-primary);
    color: var(--px-white);
    border-color: var(--px-primary);
}

.px-btn-dark:hover {
    background: var(--px-secondary);
    border-color: var(--px-secondary);
    color: var(--px-white);
    transform: translateY(-2px);
}

.px-btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.px-btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

.px-btn-xl {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    border-radius: var(--px-radius-lg);
}

/* ========================================
   PORTFOLIO GALLERY
   ======================================== */
.px-portfolio-section {
    padding: var(--px-4xl) 0;
}

/* Filter Bar */
.px-portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--px-sm);
    margin-bottom: var(--px-2xl);
    justify-content: center;
}

.px-filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 2px solid var(--px-border);
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--px-text-muted);
    cursor: pointer;
    transition: var(--px-transition);
}

.px-filter-btn:hover,
.px-filter-btn.is-active {
    border-color: var(--px-accent);
    color: var(--px-accent);
    background: rgba(233, 69, 96, 0.06);
}

/* Grid Layout */
.px-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--px-lg);
}

/* Masonry Layout */
.px-portfolio-masonry {
    columns: 3;
    column-gap: var(--px-lg);
}

.px-portfolio-masonry .px-portfolio-item {
    break-inside: avoid;
    margin-bottom: var(--px-lg);
}

/* Portfolio Item */
.px-portfolio-item {
    position: relative;
    border-radius: var(--px-radius-lg);
    overflow: hidden;
    background: var(--px-primary);
    cursor: pointer;
}

.px-portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.px-portfolio-item:hover img {
    transform: scale(1.08);
}

.px-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
    opacity: 0;
    transition: var(--px-transition);
    display: flex;
    align-items: flex-end;
    padding: var(--px-xl);
}

.px-portfolio-item:hover .px-portfolio-overlay {
    opacity: 1;
}

.px-portfolio-info {
    color: var(--px-white);
    transform: translateY(12px);
    transition: var(--px-transition);
}

.px-portfolio-item:hover .px-portfolio-info {
    transform: translateY(0);
}

.px-portfolio-cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--px-accent);
    margin-bottom: var(--px-xs);
}

.px-portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--px-white);
    margin: 0;
}

.px-portfolio-actions {
    position: absolute;
    top: var(--px-lg);
    right: var(--px-lg);
    display: flex;
    gap: var(--px-sm);
    opacity: 0;
    transform: translateY(-8px);
    transition: var(--px-transition);
}

.px-portfolio-item:hover .px-portfolio-actions {
    opacity: 1;
    transform: translateY(0);
}

.px-portfolio-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--px-primary);
    transition: var(--px-transition);
}

.px-portfolio-action-btn:hover {
    background: var(--px-accent);
    color: var(--px-white);
    transform: scale(1.1);
}

/* Carousel */
.px-portfolio-carousel {
    position: relative;
}

.px-carousel-track {
    display: flex;
    gap: var(--px-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: var(--px-md);
}

.px-carousel-track::-webkit-scrollbar { display: none; }

.px-carousel-item {
    flex: 0 0 calc(33.333% - var(--px-lg));
    scroll-snap-align: start;
}

.px-carousel-nav {
    display: flex;
    gap: var(--px-sm);
    justify-content: center;
    margin-top: var(--px-xl);
}

.px-carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--px-border);
    background: var(--px-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--px-transition);
}

.px-carousel-btn:hover {
    border-color: var(--px-accent);
    color: var(--px-accent);
}

/* AJAX Pagination */
.px-pagination {
    display: flex;
    justify-content: center;
    gap: var(--px-sm);
    margin-top: var(--px-3xl);
}

.px-page-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--px-radius);
    border: 2px solid var(--px-border);
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--px-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--px-transition);
}

.px-page-btn:hover,
.px-page-btn.is-active {
    border-color: var(--px-accent);
    background: var(--px-accent);
    color: var(--px-white);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.px-section {
    padding: var(--px-4xl) 0;
}

.px-section-sm { padding: var(--px-2xl) 0; }
.px-section-lg { padding: calc(var(--px-4xl) * 1.5) 0; }

.px-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--px-3xl);
}

.px-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--px-accent);
    margin-bottom: var(--px-md);
    position: relative;
}

.px-section-label::before,
.px-section-label::after {
    content: '—';
    margin: 0 var(--px-sm);
    opacity: 0.4;
}

.px-section-title { margin-bottom: var(--px-md); }
.px-section-desc { color: var(--px-text-muted); font-size: 1.0625rem; margin: 0; }

/* Dark Section */
.px-section-dark {
    background: var(--px-primary);
    color: var(--px-white);
}

.px-section-dark .px-section-title,
.px-section-dark h1,
.px-section-dark h2,
.px-section-dark h3 {
    color: var(--px-white);
}

.px-section-dark .px-section-desc { color: rgba(255,255,255,0.65); }

/* Gray Section */
.px-section-gray { background: #F5F5F7; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.px-testimonial-card {
    background: var(--px-white);
    border-radius: var(--px-radius-xl);
    padding: var(--px-2xl);
    box-shadow: var(--px-shadow);
    border: 1px solid var(--px-border);
    transition: var(--px-transition);
    position: relative;
}

.px-testimonial-card:hover {
    box-shadow: var(--px-shadow-hover);
    transform: translateY(-4px);
}

.px-testimonial-quote {
    font-size: 4rem;
    line-height: 1;
    color: var(--px-accent);
    font-family: Georgia, serif;
    margin-bottom: var(--px-md);
    opacity: 0.3;
}

.px-testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--px-text);
    margin-bottom: var(--px-xl);
    font-style: italic;
}

.px-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--px-md);
}

.px-testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--px-accent);
}

.px-testimonial-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--px-primary);
}

.px-testimonial-role {
    font-size: 0.875rem;
    color: var(--px-text-muted);
}

.px-testimonial-stars {
    color: var(--px-accent-2);
    font-size: 0.875rem;
    margin-bottom: var(--px-xs);
    letter-spacing: 2px;
}

/* ========================================
   PRICING TABLE
   ======================================== */
.px-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--px-xl);
    align-items: start;
}

.px-pricing-card {
    background: var(--px-white);
    border-radius: var(--px-radius-xl);
    padding: var(--px-2xl);
    border: 2px solid var(--px-border);
    transition: var(--px-transition);
    position: relative;
    overflow: hidden;
}

.px-pricing-card:hover {
    border-color: var(--px-accent);
    box-shadow: var(--px-shadow-hover);
    transform: translateY(-4px);
}

.px-pricing-card--featured {
    border-color: var(--px-accent);
    background: var(--px-primary);
    color: var(--px-white);
    transform: scale(1.04);
}

.px-pricing-card--featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.px-pricing-badge {
    position: absolute;
    top: var(--px-lg);
    right: var(--px-lg);
    background: var(--px-accent);
    color: var(--px-white);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.px-pricing-plan {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--px-accent);
    margin-bottom: var(--px-md);
}

.px-pricing-price {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    margin-bottom: var(--px-sm);
}

.px-pricing-currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.px-pricing-amount {
    font-family: var(--px-font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.px-pricing-period {
    font-size: 0.875rem;
    color: var(--px-text-muted);
    margin-top: var(--px-md);
    margin-bottom: var(--px-xl);
    padding-bottom: var(--px-xl);
    border-bottom: 1px solid var(--px-border);
}

.px-pricing-card--featured .px-pricing-period { border-color: rgba(255,255,255,0.15); }

.px-pricing-features {
    margin-bottom: var(--px-xl);
}

.px-pricing-feature {
    display: flex;
    align-items: center;
    gap: var(--px-sm);
    padding: var(--px-sm) 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.px-pricing-card--featured .px-pricing-feature {
    border-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
}

.px-pricing-feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(233, 69, 96, 0.1);
    color: var(--px-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ========================================
   TEAM MEMBERS
   ======================================== */
.px-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--px-xl);
}

.px-team-card {
    text-align: center;
}

.px-team-photo {
    position: relative;
    border-radius: var(--px-radius-xl);
    overflow: hidden;
    margin-bottom: var(--px-lg);
    aspect-ratio: 3/4;
}

.px-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.px-team-card:hover .px-team-photo img {
    transform: scale(1.06);
}

.px-team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--px-lg);
    background: linear-gradient(to top, rgba(10,10,10,0.9), transparent);
    display: flex;
    justify-content: center;
    gap: var(--px-sm);
    transform: translateY(100%);
    transition: var(--px-transition);
}

.px-team-card:hover .px-team-social {
    transform: translateY(0);
}

.px-team-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--px-white);
    font-size: 0.9rem;
    transition: var(--px-transition);
}

.px-team-social-link:hover {
    background: var(--px-accent);
    color: var(--px-white);
}

.px-team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--px-xs);
}

.px-team-role {
    font-size: 0.875rem;
    color: var(--px-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========================================
   TEXT TICKER / MARQUEE
   ======================================== */
.px-ticker {
    background: var(--px-accent);
    overflow: hidden;
    padding: var(--px-md) 0;
}

.px-ticker-track {
    display: flex;
    gap: var(--px-3xl);
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.px-ticker-item {
    display: flex;
    align-items: center;
    gap: var(--px-lg);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--px-white);
    flex-shrink: 0;
}

.px-ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
}

/* ========================================
   STATS / COUNTER
   ======================================== */
.px-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--px-xl);
}

.px-stat-item {
    text-align: center;
    padding: var(--px-xl);
}

.px-stat-number {
    font-family: var(--px-font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--px-accent);
    line-height: 1;
    margin-bottom: var(--px-sm);
}

.px-stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--px-text-muted);
}

/* ========================================
   BLOG
   ======================================== */
.px-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--px-xl);
}

.px-post-card {
    border-radius: var(--px-radius-xl);
    overflow: hidden;
    background: var(--px-white);
    box-shadow: var(--px-shadow);
    transition: var(--px-transition);
    border: 1px solid var(--px-border);
}

.px-post-card:hover {
    box-shadow: var(--px-shadow-hover);
    transform: translateY(-4px);
}

.px-post-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.px-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.px-post-card:hover .px-post-thumb img {
    transform: scale(1.06);
}

.px-post-format-badge {
    position: absolute;
    top: var(--px-md);
    left: var(--px-md);
    background: var(--px-accent);
    color: var(--px-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.625rem;
    border-radius: var(--px-radius);
}

.px-post-body {
    padding: var(--px-xl);
}

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

.px-post-cat-link {
    color: var(--px-accent);
    font-weight: 600;
}

.px-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--px-md);
    color: var(--px-primary);
}

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

.px-post-excerpt {
    font-size: 0.9375rem;
    color: var(--px-text-muted);
    line-height: 1.7;
    margin-bottom: var(--px-lg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.px-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--px-md);
    border-top: 1px solid var(--px-border);
}

.px-post-author {
    display: flex;
    align-items: center;
    gap: var(--px-sm);
}

.px-post-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.px-post-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--px-text);
}

/* ========================================
   FOOTER
   ======================================== */
.px-footer {
    background: var(--px-primary);
    color: var(--px-white);
}

.px-footer-top {
    padding: var(--px-4xl) 0 var(--px-2xl);
}

.px-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--px-3xl);
}

.px-footer-brand .px-logo-text {
    color: var(--px-white);
    font-size: 1.75rem;
}

.px-footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    line-height: 1.8;
    margin: var(--px-lg) 0;
}

.px-footer-social {
    display: flex;
    gap: var(--px-sm);
}

.px-social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--px-radius);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--px-transition);
}

.px-social-link:hover {
    background: var(--px-accent);
    color: var(--px-white);
    transform: translateY(-2px);
}

.px-footer-col-title {
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--px-white);
    margin-bottom: var(--px-xl);
}

.px-footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--px-sm);
}

.px-footer-link {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    transition: var(--px-transition);
    display: flex;
    align-items: center;
    gap: var(--px-sm);
}

.px-footer-link:hover {
    color: var(--px-white);
    padding-left: var(--px-xs);
}

.px-footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 0;
}

.px-footer-bottom {
    padding: var(--px-xl) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--px-md);
}

.px-footer-copy {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
}

.px-footer-bottom-links {
    display: flex;
    gap: var(--px-lg);
}

.px-footer-bottom-link {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    transition: var(--px-transition);
}

.px-footer-bottom-link:hover { color: var(--px-white); }

/* ========================================
   BACK TO TOP
   ======================================== */
.px-back-to-top {
    position: fixed;
    bottom: var(--px-xl);
    right: var(--px-xl);
    width: 48px;
    height: 48px;
    border-radius: var(--px-radius);
    background: var(--px-accent);
    color: var(--px-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(233, 69, 96, 0.4);
    transition: var(--px-transition);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
}

.px-back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.px-back-to-top:hover {
    background: #c73652;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.5);
}

/* ========================================
   SEARCH OVERLAY
   ======================================== */
.px-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--px-transition);
}

.px-search-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.px-search-form {
    width: 100%;
    max-width: 700px;
    padding: 0 var(--px-xl);
}

.px-search-input-wrap {
    position: relative;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: var(--px-md);
}

.px-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--px-white);
    font-family: var(--px-font-heading);
    caret-color: var(--px-accent);
}

.px-search-input::placeholder { color: rgba(255,255,255,0.3); }

.px-search-close {
    position: absolute;
    top: var(--px-xl);
    right: var(--px-xl);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    color: var(--px-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--px-transition);
}

.px-search-close:hover { background: var(--px-accent); }

/* ========================================
   SIDEBAR
   ======================================== */
.px-sidebar-widget {
    background: var(--px-white);
    border-radius: var(--px-radius-xl);
    padding: var(--px-xl);
    margin-bottom: var(--px-xl);
    border: 1px solid var(--px-border);
}

.px-widget-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--px-primary);
    margin-bottom: var(--px-lg);
    padding-bottom: var(--px-md);
    border-bottom: 2px solid var(--px-accent);
    display: inline-block;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.px-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.px-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.px-animate-delay-1 { transition-delay: 0.1s; }
.px-animate-delay-2 { transition-delay: 0.2s; }
.px-animate-delay-3 { transition-delay: 0.3s; }
.px-animate-delay-4 { transition-delay: 0.4s; }
.px-animate-delay-5 { transition-delay: 0.5s; }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.px-text-center { text-align: center; }
.px-text-right { text-align: right; }
.px-text-accent { color: var(--px-accent); }
.px-text-muted { color: var(--px-text-muted); }
.px-text-white { color: var(--px-white); }

.px-bg-primary { background-color: var(--px-primary); }
.px-bg-accent { background-color: var(--px-accent); }
.px-bg-light { background-color: var(--px-light); }

.px-mt-auto { margin-top: auto; }
.px-w-full { width: 100%; }

/* Loading Spinner */
.px-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--px-3xl);
}

.px-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--px-border);
    border-top-color: var(--px-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ========================================
   WOOCOMMERCE OVERRIDES
   ======================================== */
.woocommerce .products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--px-xl) !important;
    list-style: none !important;
}

.woocommerce .product {
    border-radius: var(--px-radius-xl);
    overflow: hidden;
    border: 1px solid var(--px-border);
    transition: var(--px-transition);
}

.woocommerce .product:hover {
    box-shadow: var(--px-shadow-hover);
    transform: translateY(-4px);
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    background: var(--px-accent) !important;
    color: var(--px-white) !important;
    border-radius: var(--px-radius) !important;
    font-family: var(--px-font-body) !important;
    font-weight: 600 !important;
    transition: var(--px-transition) !important;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background: #c73652 !important;
    transform: translateY(-1px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .px-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .px-team-grid { grid-template-columns: repeat(3, 1fr); }
    .px-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .px-footer-grid { grid-template-columns: 1fr 1fr; gap: var(--px-2xl); }
    .px-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .px-mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    :root { --px-header-height: 70px; }
    .px-nav { display: none; }
    .px-mobile-toggle { display: flex; }
    .px-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .px-team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .px-portfolio-grid { grid-template-columns: 1fr; }
    .px-portfolio-masonry { columns: 1; }
    .px-blog-grid { grid-template-columns: 1fr; }
    .px-pricing-grid { grid-template-columns: 1fr; }
    .px-pricing-card--featured { transform: none; }
    .px-team-grid { grid-template-columns: repeat(2, 1fr); }
    .px-footer-grid { grid-template-columns: 1fr; }
    .px-footer-bottom { flex-direction: column; text-align: center; }
    .px-carousel-item { flex: 0 0 calc(80% - var(--px-lg)); }
    .px-container { padding: 0 var(--px-lg); }
    .px-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .px-stats-grid { grid-template-columns: 1fr; }
    .px-team-grid { grid-template-columns: 1fr; }
    .px-hero-actions { flex-direction: column; }
    .px-hero-actions .px-btn { width: 100%; justify-content: center; }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .px-header,
    .px-footer,
    .px-back-to-top,
    .px-ticker { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; }
}
