/* ============================================
   PERFECTO HERO BANNER - CORE STYLES
   ============================================ */

.pf-hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* --- Elementor Container Overrides --- */
.elementor-widget-perfecto-hero-banner {
    width: 100%;
    max-width: none;
}
.elementor-widget-perfecto-hero-banner .elementor-widget-container {
    width: 100%;
    max-width: none;
}

/* --- Layout Modes --- */
.pf-hero-banner.hero-width-full {
    width: 100% !important;
    max-width: none !important;
    position: relative;
    left: 0;
    right: 0;
    margin: 0 !important;
}

.pf-hero-banner.hero-width-boxed {
    max-width: 1400px;
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
}

/* Height Modes */
.pf-hero-banner.hero-height-viewport { height: 100vh; }
.pf-hero-banner.hero-height-auto { height: auto; min-height: 500px; }

/* --- Slider Core --- */
.pf-hero-banner .hero-swiper { width: 100%; height: 100%; }
.pf-hero-banner .swiper-slide { position: relative; width: 100%; height: 100%; }

.pf-hero-banner .hero-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}
.pf-hero-banner .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

/* ============================================
   CONTENT POSITIONING & ANIMATION
   ============================================ */

.pf-hero-banner .hero-content {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
}

.pf-hero-banner .hero-content-inner {
    max-width: 700px;
    width: 100%;
    opacity: 0; /* Hidden by default for animation */
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Show content when slide is active */
.pf-hero-banner .swiper-slide-active .hero-content-inner {
    opacity: 1;
    transform: translateY(0);
}

/* --- FIX: FORCE VISIBILITY IN ELEMENTOR EDITOR --- */
/* This prevents text from "disappearing" while editing */
.elementor-editor-active .pf-hero-banner .hero-content-inner {
    opacity: 1 !important;
    transform: none !important;
}

/* Desktop Positions */
.pf-hero-banner .hero-content-top-left       { align-items: flex-start; justify-content: flex-start; }
.pf-hero-banner .hero-content-top-center     { align-items: flex-start; justify-content: center; }
.pf-hero-banner .hero-content-top-right      { align-items: flex-start; justify-content: flex-end; }
.pf-hero-banner .hero-content-center-left    { align-items: center; justify-content: flex-start; }
.pf-hero-banner .hero-content-center-center  { align-items: center; justify-content: center; }
.pf-hero-banner .hero-content-center-right   { align-items: center; justify-content: flex-end; }
.pf-hero-banner .hero-content-bottom-left    { align-items: flex-end; justify-content: flex-start; }
.pf-hero-banner .hero-content-bottom-center  { align-items: flex-end; justify-content: center; }
.pf-hero-banner .hero-content-bottom-right   { align-items: flex-end; justify-content: flex-end; }

/* ============================================
   RESPONSIVE POSITIONS
   ============================================ */

@media (max-width: 1024px) {
    .pf-hero-banner .hero-tablet-top-left       { align-items: flex-start; justify-content: flex-start; }
    .pf-hero-banner .hero-tablet-top-center     { align-items: flex-start; justify-content: center; }
    .pf-hero-banner .hero-tablet-top-right      { align-items: flex-start; justify-content: flex-end; }
    .pf-hero-banner .hero-tablet-center-left    { align-items: center; justify-content: flex-start; }
    .pf-hero-banner .hero-tablet-center-center  { align-items: center; justify-content: center; }
    .pf-hero-banner .hero-tablet-center-right   { align-items: center; justify-content: flex-end; }
    .pf-hero-banner .hero-tablet-bottom-left    { align-items: flex-end; justify-content: flex-start; }
    .pf-hero-banner .hero-tablet-bottom-center  { align-items: flex-end; justify-content: center; }
    .pf-hero-banner .hero-tablet-bottom-right   { align-items: flex-end; justify-content: flex-end; }
}

@media (max-width: 767px) {
    .pf-hero-banner .hero-mobile-top-left       { align-items: flex-start; justify-content: flex-start; }
    .pf-hero-banner .hero-mobile-top-center     { align-items: flex-start; justify-content: center; }
    .pf-hero-banner .hero-mobile-top-right      { align-items: flex-start; justify-content: flex-end; }
    .pf-hero-banner .hero-mobile-center-left    { align-items: center; justify-content: flex-start; }
    .pf-hero-banner .hero-mobile-center-center  { align-items: center; justify-content: center; }
    .pf-hero-banner .hero-mobile-center-right   { align-items: center; justify-content: flex-end; }
    .pf-hero-banner .hero-mobile-bottom-left    { align-items: flex-end; justify-content: flex-start; }
    .pf-hero-banner .hero-mobile-bottom-center  { align-items: flex-end; justify-content: center; }
    .pf-hero-banner .hero-mobile-bottom-right   { align-items: flex-end; justify-content: flex-end; }
}

/* ============================================
   TYPOGRAPHY & ELEMENTS
   ============================================ */

.pf-hero-banner .hero-subtitle {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
    opacity: 0.9;
}

.pf-hero-banner .hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.pf-hero-banner .hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ffffff;
    opacity: 0.95;
}

/* Button */
.pf-hero-banner .hero-button {
    display: inline-block;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background-color: #000000;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Button Sizes */
.pf-hero-banner.button-size-small .hero-button  { padding: 10px 24px; font-size: 12px; }
.pf-hero-banner.button-size-medium .hero-button { padding: 14px 32px; font-size: 14px; }
.pf-hero-banner.button-size-large .hero-button  { padding: 18px 40px; font-size: 16px; }

.pf-hero-banner .hero-button:hover {
    color: #000000;
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================
   NAVIGATION & PAGINATION
   ============================================ */

.pf-hero-banner .hero-navigation {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.pf-hero-banner .hero-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    padding: 0;
    box-sizing: border-box;
}
.pf-hero-banner [class*="hero-nav-btn"] { max-width: none; max-height: none; }

.pf-hero-banner .hero-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000000;
    border-color: rgba(255, 255, 255, 0.9);
}

/* Nav Styles */
.pf-hero-banner.nav-style1 .hero-nav-btn { border-radius: 0; }
.pf-hero-banner.nav-style2 .hero-nav-btn { border-radius: 50%; border: 2px solid #ffffff; background-color: transparent; }
.pf-hero-banner.nav-style2 .hero-nav-btn:hover { background-color: #ffffff; color: #000000; }
.pf-hero-banner.nav-style3 .hero-nav-btn { border-radius: 0; border: none; background-color: transparent; }
.pf-hero-banner.nav-style3 .hero-nav-btn:hover { transform: translateX(-3px); }

/* Pagination */
.pf-hero-banner .hero-pagination {
    position: absolute !important;
    bottom: 40px !important;
    right: 40px !important;
    left: auto !important;
    width: auto !important;
    display: flex !important;
    gap: 8px;
    z-index: 99 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.pf-hero-banner .hero-pagination .swiper-pagination-bullet {
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.pf-hero-banner .hero-pagination .swiper-pagination-bullet-active {
    background-color: #ffffff !important;
    width: 30px !important;
    border-radius: 5px;
    opacity: 1 !important;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */

@media (max-width: 1024px) {
    .pf-hero-banner .hero-title { font-size: 56px; }
    .pf-hero-banner .hero-description { font-size: 16px; }
    .pf-hero-banner.hero-width-boxed { max-width: 100%; width: 100%; }
}

@media (max-width: 768px) {
    .pf-hero-banner { min-height: 500px; }

    /* !!! MOBILE WIDTH CORRECTION !!! */
    .pf-hero-banner,
    .pf-hero-banner.hero-width-boxed,
    .pf-hero-banner.hero-width-full {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }

    .elementor-widget-perfecto-hero-banner,
    .elementor-widget-perfecto-hero-banner .elementor-widget-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Mobile Text Sizes */
    .pf-hero-banner .hero-title { font-size: 42px; }
    .pf-hero-banner .hero-subtitle { font-size: 12px; margin-bottom: 16px; }
    .pf-hero-banner .hero-description { font-size: 15px; margin-bottom: 30px; }
    .pf-hero-banner .hero-button { padding: 12px 24px; font-size: 13px; }
    
    /* Center align fix for mobile */
    .pf-hero-banner .hero-mobile-center-center .hero-content-inner,
    .pf-hero-banner .hero-mobile-top-center .hero-content-inner,
    .pf-hero-banner .hero-mobile-bottom-center .hero-content-inner {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    /* Stack navigation */
    .pf-hero-banner .hero-navigation { bottom: 20px; left: 20px; gap: 8px; }
    .pf-hero-banner .hero-pagination { 
        bottom: 20px !important; 
        right: 20px !important; 
        left: auto !important; 
    }
}

@media (max-width: 480px) {
    .pf-hero-banner .hero-title { font-size: 32px; }
}



/* ============================================
   PERFECTO CATEGORY SHOWCASE WIDGET
   ============================================ */

/* CONTAINER */
.pf-category-showcase { width: 100%; position: relative; padding: 20px 0; }
.pf-section-header { text-align: center; margin-bottom: 40px; }
.pf-section-title { margin: 0 0 10px 0; color: #111; }
.pf-section-desc { margin: 0; color: #666; }

/* GRID */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    gap: var(--gap, 20px);
    width: 100%;
}

.pf-scroll-yes .categories-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px;
    -ms-overflow-style: none; scrollbar-width: none;
}
.pf-scroll-yes .categories-grid::-webkit-scrollbar { display: none; }
.pf-scroll-yes .category-card {
    flex: 0 0 auto;
    width: calc( ( 100% - ( (var(--columns) - 1) * var(--gap, 20px) ) ) / var(--columns) );
    scroll-snap-align: start;
}

/* CARD STRUCTURE */
.category-card { position: relative; margin: 0; }
.category-link { 
    display: flex; 
    text-decoration: none; 
    position: relative; 
    width: 100%; 
    flex-direction: column; 
    /* Allows content to float outside boundaries if offset is used */
    overflow: visible; 
}

/* IMAGE WRAPPER (Handles the zoom clipping) */
.category-image-wrap {
    width: 100%; 
    position: relative; 
    overflow: hidden; 
    background-color: #f4f4f4; 
    aspect-ratio: 1/1; 
    transform: translateZ(0); 
    z-index: 1;
    transition: transform 0.3s ease;
}

/* CIRCLE FIX */
.pf-shape-circle .category-image-wrap {
    border-radius: 50% !important; 
    aspect-ratio: 1/1 !important;
}

.category-image-wrap img { width: 100%; height: 100%; display: block; transition: transform 0.5s ease; }

/* --- HOVER ANIMATIONS --- */
.pf-anim-zoom .category-card:hover img { transform: scale(1.1); }
.pf-anim-slide .category-card:hover img { transform: translateX(10px) scale(1.05); }
.pf-anim-float .category-card:hover .category-image-wrap { transform: translateY(-8px); }

/* CONTENT STYLING */
.category-content {
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    position: relative; 
    z-index: 10; 
    transition: all 0.3s ease;
    pointer-events: none; /* Allows clicks to pass through to the link */
}

.category-name { 
    margin: 0; line-height: 1.2; 
    transition: all 0.3s ease;
}

/* === BACKGROUND MODES === */
.pf-name-bg-boxed .category-name { display: inline-block; width: auto; }

/* FIX: Full width background mode works edge-to-edge relative to the card */
.pf-name-bg-full .category-name { display: block; width: 100%; }

/* === OVERLAY POSITION (ABSOLUTE) === */
/* Places the content container visually ON TOP of the image */
.pf-pos-over .category-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    margin: 0; 
}
.pf-pos-over .category-name { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

/* === BELOW POSITION (NORMAL FLOW) === */
.pf-pos-below .category-content { 
    /* Spacing is handled by widget control (margin-top) */
}

/* GRADIENT OVERLAY (Remains inside image wrap) */
.pf-gradient-overlay {
    position: absolute; bottom: 0; left: 0; 
    width: 100%; height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    pointer-events: none; z-index: 2;
}

/* NAVIGATION DOTS */
.pf-dots-container { 
    display: flex; justify-content: center; gap: 6px; margin-top: 15px; 
}

.pf-dot { 
    width: 10px; height: 10px; 
    background: #e5e7eb; 
    border-radius: 50%; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    border: none; 
}

.pf-dot:hover { background: #9ca3af; }
.pf-dot.active { 
    width: 20px; background: #000000; border-radius: 10px; 
}

/* ============================================
   PERFECTO FETURED PRODUCTS EDITORIAL SPOTLIGHT
   ============================================ */

.pf-featured-editorial {
    width: 100%;
    box-sizing: border-box;
}

.pf-featured-editorial * {
    box-sizing: border-box;
}

/* --- LAYOUT --- */
.pf-editorial-layout {
    display: flex;
    flex-wrap: wrap; 
    width: 100%;
    position: relative;
    /* Gap set via PHP */
}

/* --- MAGAZINE COVER (LEFT) --- */
.pf-editorial-spotlight {
    position: relative;
    flex-shrink: 0;
    /* Width set via PHP */
}

@media (min-width: 1025px) {
    .pf-editorial-spotlight.pf-sticky {
        position: sticky;
        top: 40px;
        height: fit-content;
        z-index: 5;
    }
}

.spotlight-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; 
    border-radius: 4px;
    overflow: hidden;
    background: #e0e0e0;
}

.spotlight-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.spotlight-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.spotlight-card:hover .spotlight-image {
    transform: scale(1.05);
}

/* OVERLAY - POSITIONS THE CONTENT BLOCK */
.spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Default: Bottom Left */
    justify-content: flex-end;
    align-items: flex-start;
    padding: 40px;
    background-color: rgba(0,0,0,0.2);
}

/* CONTENT BLOCK - HOLDS TEXT & BUTTON */
.spotlight-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Alignment controlled by PHP */
}

/* ELEMENTS */
.cover-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #fff;
    color: #000;
    padding: 6px 12px;
    margin-bottom: 15px;
    display: inline-block;
    font-weight: 600;
    width: fit-content; /* Ensure background only wraps text */
}

.cover-headline {
    font-size: 38px;
    margin: 0 0 20px 0;
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    width: 100%; /* Allows text align to work */
}

.pf-btn-link {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 12px 28px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    max-width: fit-content;
    /* align-self handles positioning */
}

/* --- GRID (RIGHT) - AGGRESSIVE RESET --- */
.pf-editorial-grid {
    flex: 1;
    min-width: 0;
}

ul.pf-editorial-grid-list.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    column-gap: 20px !important;
    row-gap: 30px !important;
}

ul.pf-editorial-grid-list.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    max-width: none !important;
}

/* --- MOBILE --- */
@media (max-width: 1024px) {
    .pf-editorial-layout {
        flex-direction: column;
    }

    .pf-editorial-spotlight {
        width: 100% !important;
        margin-bottom: 30px;
    }
    
    .spotlight-card {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 767px) {
    .spotlight-card {
        aspect-ratio: 4 / 5; 
    }
    
    ul.pf-editorial-grid-list.products {
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 15px !important;
    }
}





/* ============================================
   PERFECTO LOOKBOOK - CORE STYLES
   ============================================ */

/* Global Reset */
.pf-lookbook-wrapper * { box-sizing: border-box; }
.pf-lookbook-wrapper { 
    width: 100%; 
    position: relative; 
    line-height: 0;
    /* FIX: Prevent any horizontal overflow from tooltips */
    overflow: hidden; 
}

.pf-lookbook-image-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    /* CRITICAL: Allow tooltip to be visible, but wrapper handles page overflow */
    overflow: visible !important; 
    z-index: 1;
}

.pf-lookbook-image-container img {
    border-radius: inherit;
    display: block;
    width: 100%;
    height: auto;
}

/* ===========================
   HOTSPOT WRAPPER & DOT
   =========================== */
.pf-hotspot-wrapper {
    position: absolute;
    z-index: 10;
    width: 0; height: 0;
    pointer-events: none;
}

.pf-hotspot-dot {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 20;
}

.pf-hotspot-dot i { font-size: 10px; line-height: 1; }
.pf-hotspot-dot svg { width: 10px; height: 10px; fill: currentColor; }

/* Pulse Animation */
.pf-hotspot-dot::after {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 200%; height: 200%;
    border-radius: 50%; border: 1px solid white;
    opacity: 0; 
    animation: pf-lookbook-pulse 2s infinite; 
    pointer-events: none;
    contain: layout;
}

@keyframes pf-lookbook-pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ===========================
   TOOLTIP CARD (Common)
   =========================== */
.pf-hotspot-tooltip {
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 999;
    pointer-events: auto;
    text-align: left;
    line-height: 1.4;
    position: absolute;
    /* Safety width max */
    max-width: 90vw; 
}

/* Show Logic */
.pf-hotspot-wrapper:hover .pf-hotspot-tooltip,
.pf-hotspot-wrapper.is-active .pf-hotspot-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Content Layout */
.pf-tooltip-link {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: inherit; padding: 10px; width: 100%;
}
.pf-tooltip-img {
    flex-shrink: 0; border-radius: 4px; overflow: hidden; background: #f5f5f5;
}
.pf-tooltip-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-tooltip-content { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.pf-tooltip-title { font-size: 14px; font-weight: 600; margin: 0; color: #111; line-height: 1.2; }
.pf-tooltip-price { font-size: 13px; color: #555; font-weight: 500; line-height: 1.2; margin-top: 2px;}

/* ===========================
   DESKTOP: TOP CENTERED
   =========================== */
@media (min-width: 768px) {
    .pf-hotspot-tooltip {
        width: 240px;
        border-radius: 8px;
        
        /* Center Horizontally relative to dot */
        left: 50%;
        transform: translateX(-50%) translateY(-100%);
        
        /* Position ABOVE the dot */
        top: -15px; 
        margin: 0;
        
        overflow: visible; 
    }

    /* Arrow */
    .pf-hotspot-tooltip::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px; height: 12px;
        background: #fff;
        box-shadow: 2px 2px 2px rgba(0,0,0,0.05);
        z-index: 0;
    }
    .pf-tooltip-link { position: relative; z-index: 1; }

    /* Hover Animation */
    .pf-hotspot-wrapper:hover .pf-hotspot-tooltip,
    .pf-hotspot-wrapper.is-active .pf-hotspot-tooltip {
        transform: translateX(-50%) translateY(calc(-100% - 10px));
    }

    .pf-tooltip-img { width: 50px; height: 50px; }
    .pf-tooltip-btn { font-size: 11px; font-weight: 800; text-transform: uppercase; margin-left: auto; }
}

/* ===========================
   MOBILE: SMART POSITIONING
   =========================== */
@media (max-width: 767px) {
    .pf-hotspot-tooltip {
        width: 200px !important;
        
        /* Center relative to dot */
        left: 50% !important;
        transform: translateX(-50%) translateY(-100%) !important;
        
        top: -15px !important;
        margin: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }

    /* Arrow */
    .pf-hotspot-tooltip::after { 
        display: block !important;
        content: '';
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px; height: 12px;
        background: #fff;
    }

    /* Show State */
    .pf-hotspot-wrapper:hover .pf-hotspot-tooltip,
    .pf-hotspot-wrapper.is-active .pf-hotspot-tooltip {
        transform: translateX(-50%) translateY(calc(-100% - 10px)) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* --- EDGE DETECTION FIXES --- */
    /* If dot is > 80% to the right, shift tooltip left */
    .pf-hotspot-wrapper[style*="left: 8"] .pf-hotspot-tooltip,
    .pf-hotspot-wrapper[style*="left: 9"] .pf-hotspot-tooltip {
        left: auto !important;
        right: -10px !important; /* Anchor right edge near dot */
        transform: translateY(-100%) !important; /* Remove X translate */
    }
    
    /* Move arrow to right side for edge cases */
    .pf-hotspot-wrapper[style*="left: 8"] .pf-hotspot-tooltip::after,
    .pf-hotspot-wrapper[style*="left: 9"] .pf-hotspot-tooltip::after {
        left: auto !important;
        right: 20px !important;
    }
    
    /* Hover state for right edge */
    .pf-hotspot-wrapper[style*="left: 8"]:hover .pf-hotspot-tooltip,
    .pf-hotspot-wrapper[style*="left: 9"]:hover .pf-hotspot-tooltip {
        transform: translateY(calc(-100% - 10px)) !important;
    }

    /* If dot is < 20% to the left, shift tooltip right */
    .pf-hotspot-wrapper[style*="left: 0"] .pf-hotspot-tooltip,
    .pf-hotspot-wrapper[style*="left: 1"] .pf-hotspot-tooltip {
        left: -10px !important; /* Anchor left edge near dot */
        transform: translateY(-100%) !important;
    }

    /* Move arrow to left side */
    .pf-hotspot-wrapper[style*="left: 0"] .pf-hotspot-tooltip::after,
    .pf-hotspot-wrapper[style*="left: 1"] .pf-hotspot-tooltip::after {
        left: 20px !important;
    }

    /* Hover state for left edge */
    .pf-hotspot-wrapper[style*="left: 0"]:hover .pf-hotspot-tooltip,
    .pf-hotspot-wrapper[style*="left: 1"]:hover .pf-hotspot-tooltip {
        transform: translateY(calc(-100% - 10px)) !important;
    }

    /* Content Tweaks */
    .pf-tooltip-img { width: 40px; height: 40px; }
    .pf-tooltip-title { font-size: 12px; }
    .pf-tooltip-price { font-size: 11px; }
    .pf-tooltip-btn { display: none; }
}


/* ============================================
   PERFECTO COMMERCE TESTIMONIALS
   ============================================ */

/* --- HEADER --- */
.pf-widget-header { margin-bottom: 50px; position: relative; max-width: 800px; margin-left: auto; margin-right: auto; }
.pf-header-tagline { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #F5A623; margin-bottom: 10px; }
.pf-header-title { font-size: 36px; font-weight: 700; color: #111; margin: 0 0 15px 0; line-height: 1.1; }
.pf-header-subtitle { font-size: 16px; color: #666; font-weight: 400; line-height: 1.6; }

/* --- SLIDER --- */
.pf-slider-outer-wrapper { position: relative; width: 100%; margin: 0 auto; }
.pf-testimonial-slider { padding-bottom: 50px; width: 100%; overflow: hidden; }
.swiper-wrapper { display: flex; }
.swiper-slide { height: auto; display: flex; }

/* --- ARROWS --- */
.pf-swiper-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: #fff; border: 1px solid #eee; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; color: #111; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.pf-swiper-btn svg { width: 20px; height: 20px; stroke: currentColor; display: block; }
.pf-swiper-btn:hover { background: #111; color: #fff; border-color: #111; }
.pf-swiper-button-prev { left: -25px; }
.pf-swiper-button-next { right: -25px; }
@media (max-width: 1024px) { .pf-swiper-btn { display: none; } }

/* --- CARD --- */
.pf-testi-card { background: #fff; border: 1px solid #eaeaea; border-radius: 12px; overflow: hidden; display: flex; width: 100%; height: 100%; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.3s ease; }
.pf-testi-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }

/* LAYOUTS */
.pf-layout-top .pf-testi-card { flex-direction: column; }
.pf-layout-top .pf-testi-img-wrap { width: 100%; position: relative; }
.pf-layout-top .pf-testi-img-wrap img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; }

.pf-layout-left .pf-testi-card { flex-direction: row; }
.pf-layout-left .pf-testi-img-wrap { width: 40%; height: auto; position: relative; }
.pf-layout-left .pf-testi-img-wrap img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; }

.pf-layout-right .pf-testi-card { flex-direction: row-reverse; }
.pf-layout-right .pf-testi-img-wrap { width: 40%; height: auto; position: relative; }
.pf-layout-right .pf-testi-img-wrap img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; }

/* --- CONTENT --- */
.pf-testi-content { flex-grow: 1; padding: 30px; display: flex; flex-direction: column; text-align: left; }
.pf-testi-rating { color: #F5A623; font-size: 16px; margin-bottom: 15px; }
.pf-testi-text { font-size: 16px; line-height: 1.6; color: #333; font-style: italic; margin-bottom: 25px; }

/* META FIX */
.pf-testi-meta { margin-bottom: 25px; }
.pf-testi-meta-top {
    display: flex;
    align-items: center; /* Vertically center badge with name */
    gap: 8px; /* Space between Name and Badge */
    margin-bottom: 3px;
}
.pf-testi-name { font-weight: 700; color: #000; font-size: 16px; line-height: 1.2; }
.pf-testi-badge { font-size: 14px; color: #27ae60; display: inline-flex; }
.pf-testi-location { font-size: 13px; color: #999; font-weight: 500; }

/* PRODUCT PILL */
.pf-testi-product-spacer { margin-top: auto; }
.pf-testi-product-pill { display: flex; align-items: center; gap: 12px; background: #F8F9FA; padding: 10px 14px; border-radius: 50px; text-decoration: none; transition: background 0.2s; border: 1px solid transparent; }
.pf-testi-product-pill:hover { background: #fff; border-color: #eee; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.pf-pill-thumb { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.pf-pill-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pf-pill-info { flex-grow: 1; min-width: 0; line-height: 1.3; }
.pf-pill-title { display: block; font-size: 13px; font-weight: 700; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-pill-price { font-size: 12px; color: #666; font-weight: 500; }
.pf-pill-arrow { font-size: 18px; color: #000; padding-right: 5px; transition: transform 0.2s; }
.pf-testi-product-pill:hover .pf-pill-arrow { transform: translateX(3px); }

/* MOBILE FIX */
@media (max-width: 767px) {
    .pf-testi-card { flex-direction: column !important; }
    .pf-testi-img-wrap { width: 100% !important; height: 240px !important; }
}



/**
 * Perfecto Product Showcase Styles
 */

/* ============================================
   CONTAINER
   ============================================ */
.pf-product-showcase-wrapper {
	width: 100%;
	position: relative;
	padding-bottom: 30px;
}

/* ============================================
   GRID LAYOUT
   ============================================ */
.pf-products-grid {
	display: grid;
	grid-template-columns: repeat(var(--pf-col-d, 4), 1fr);
	gap: 30px;
	width: 100%;
}

/* Tablet Grid */
@media (max-width: 1024px) {
	.pf-products-grid {
		grid-template-columns: repeat(var(--pf-col-t, 2), 1fr);
	}
}

/* Mobile Grid */
@media (max-width: 767px) {
	.pf-products-grid {
		grid-template-columns: repeat(var(--pf-col-m, 1), 1fr);
		gap: 20px;
	}
}

/* Grid Item Styles */
.pf-product-grid-item {
	width: 100%;
}

.pf-product-grid-item .product {
	width: 100% !important;
	margin: 0 !important;
}

/* ============================================
   HEADER SECTION
   ============================================ */
.pf-ps-top-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pf-ps-headers-container {
	flex: 1;
	min-width: 200px;
}

.pf-ps-title {
	font-size: 32px;
	font-weight: 700;
	color: #111;
	margin: 0;
	line-height: 1.1;
}

.pf-ps-subtitle {
	font-size: 14px;
	color: #666;
	margin-top: 5px;
}

.pf-ps-controls-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* ============================================
   HEADER ALIGNMENT - DESKTOP
   ============================================ */

/* Left Alignment (Default) */
.pf-align-left .pf-ps-top-bar {
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.pf-align-left .pf-ps-headers-container {
	text-align: left;
}

.pf-align-left .pf-ps-controls-right {
	margin-left: auto;
	justify-content: flex-end;
}

/* Right Alignment */
.pf-align-right .pf-ps-top-bar {
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
}

.pf-align-right .pf-ps-headers-container {
	text-align: right;
}

.pf-align-right .pf-ps-controls-right {
	margin-right: auto;
	justify-content: flex-start;
}

/* Center Alignment */
.pf-align-center .pf-ps-top-bar {
	flex-direction: column;
	align-items: center;
}

.pf-align-center .pf-ps-headers-container {
	text-align: center;
	width: 100%;
}

.pf-align-center .pf-ps-controls-right {
	justify-content: center;
	width: 100%;
}

/* ============================================
   HEADER ALIGNMENT - TABLET
   ============================================ */
@media (max-width: 1024px) {
	
	/* Left Alignment - Tablet */
	.pf-align-tablet-left .pf-ps-top-bar {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.pf-align-tablet-left .pf-ps-headers-container {
		text-align: left;
	}

	.pf-align-tablet-left .pf-ps-controls-right {
		margin-left: auto;
		margin-right: 0;
		justify-content: flex-end;
	}

	/* Right Alignment - Tablet */
	.pf-align-tablet-right .pf-ps-top-bar {
		flex-direction: row-reverse;
		justify-content: space-between;
		align-items: center;
	}

	.pf-align-tablet-right .pf-ps-headers-container {
		text-align: right;
	}

	.pf-align-tablet-right .pf-ps-controls-right {
		margin-right: auto;
		margin-left: 0;
		justify-content: flex-start;
	}

	/* Center Alignment - Tablet */
	.pf-align-tablet-center .pf-ps-top-bar {
		flex-direction: column;
		align-items: center;
	}

	.pf-align-tablet-center .pf-ps-headers-container {
		text-align: center;
		width: 100%;
	}

	.pf-align-tablet-center .pf-ps-controls-right {
		justify-content: center;
		width: 100%;
		margin: 0;
	}
}

/* ============================================
   HEADER ALIGNMENT - MOBILE
   ============================================ */
@media (max-width: 767px) {
	
	/* Left Alignment - Mobile */
	.pf-align-mobile-left .pf-ps-top-bar {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.pf-align-mobile-left .pf-ps-headers-container {
		text-align: left;
	}

	.pf-align-mobile-left .pf-ps-controls-right {
		margin-left: auto;
		margin-right: 0;
		justify-content: flex-end;
	}

	/* Right Alignment - Mobile */
	.pf-align-mobile-right .pf-ps-top-bar {
		flex-direction: row-reverse;
		justify-content: space-between;
		align-items: center;
	}

	.pf-align-mobile-right .pf-ps-headers-container {
		text-align: right;
	}

	.pf-align-mobile-right .pf-ps-controls-right {
		margin-right: auto;
		margin-left: 0;
		justify-content: flex-start;
	}

	/* Center Alignment - Mobile */
	.pf-align-mobile-center .pf-ps-top-bar {
		flex-direction: column;
		align-items: center;
	}

	.pf-align-mobile-center .pf-ps-headers-container {
		text-align: center;
		width: 100%;
	}

	.pf-align-mobile-center .pf-ps-controls-right {
		justify-content: center;
		width: 100%;
		margin: 0;
	}
}

/* ============================================
   CATEGORY TABS
   ============================================ */
.pf-ps-tabs {
	display: flex;
	gap: 8px;
	background: #f4f4f4;
	padding: 4px;
	border-radius: 50px;
	flex-wrap: wrap;
}

.pf-cat-tab {
	background: transparent;
	border: none;
	padding: 8px 20px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
}

.pf-cat-tab.active {
	background: #111;
	color: #fff !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ============================================
   VIEW ALL BUTTON
   ============================================ */
.pf-ps-view-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	padding: 10px 24px;
	border-radius: 50px;
	white-space: nowrap;
	transition: all 0.3s ease;
}

.pf-ps-view-link:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

/* ============================================
   SLIDER / CAROUSEL
   ============================================ */
.pf-product-slider {
	padding: 10px 5px;
	margin: -10px -5px;
}

.swiper-slide {
	height: auto;
	display: flex;
	flex-direction: column;
}

.swiper-slide .product {
	width: 100% !important;
	margin: 0 !important;
}

/* ============================================
   SLIDER FOOTER / NAVIGATION
   ============================================ */
.pf-ps-footer-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
	gap: 20px;
}

/* Navigation Arrows */
.pf-ps-nav-arrows {
	display: flex;
	gap: 10px;
}

.pf-ps-prev,
.pf-ps-next {
	width: 40px;
	height: 40px;
	border: 1px solid #e1e1e1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #111;
	transition: all 0.2s ease;
	background: transparent;
}

.pf-ps-prev:hover,
.pf-ps-next:hover {
	background: #111;
	color: #fff;
	border-color: #111;
}

/* Progress Bar */
.pf-ps-dots.swiper-pagination-progressbar {
	position: relative !important;
	height: 3px !important;
	background: #eee;
	border-radius: 3px;
	flex-grow: 1;
	overflow: hidden;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
	background: #111 !important;
}

/* ============================================
   LOAD MORE BUTTON
   ============================================ */
.pf-loadmore-container {
	margin-top: 50px;
	text-align: center;
	width: 100%;
}

.pf-loadmore-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: #111;
	color: #fff;
	padding: 16px 40px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: none;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.pf-loadmore-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pf-loadmore-btn:active {
	transform: translateY(-1px);
}

.pf-btn-icon svg {
	transition: transform 0.3s ease;
}

.pf-loadmore-btn:hover .pf-btn-icon svg {
	transform: rotate(45deg);
}

/* Loading State */
.pf-loadmore-btn.loading {
	pointer-events: none;
	opacity: 0.9;
}

.pf-loadmore-btn.loading .pf-btn-text,
.pf-loadmore-btn.loading .pf-btn-icon {
	opacity: 0;
}

/* Loader Spinner */
.pf-btn-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: pf-spin 0.8s linear infinite;
	display: none;
}

.pf-loadmore-btn.loading .pf-btn-loader {
	display: block;
}

/* Spin Animation */
@keyframes pf-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ============================================
   INFINITE SCROLL LOADER
   ============================================ */
.pf-infinite-loader {
	text-align: center;
	margin-top: 30px;
	display: none;
}

.pf-infinite-loader.loading {
	display: block;
}

.pf-spinner {
	width: 30px;
	height: 30px;
	border: 3px solid #eee;
	border-top-color: #111;
	border-radius: 50%;
	animation: pf-spin 1s linear infinite;
	margin: 0 auto;
}

/* ============================================
   NO PRODUCTS MESSAGE
   ============================================ */
.pf-no-products {
	text-align: center;
	padding: 60px 20px;
	font-size: 16px;
	color: #666;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
	
	.pf-ps-title {
		font-size: 24px;
	}

	.pf-ps-subtitle {
		font-size: 13px;
	}

	.pf-ps-tabs {
		width: 100%;
		justify-content: center;
	}

	.pf-ps-footer-bar {
		flex-wrap: wrap;
	}

	.pf-loadmore-btn {
		padding: 14px 32px;
		font-size: 12px;
	}
}





/* ============================================
   FLASH DEAL WIDGET
   ============================================ */



/* --- CONTAINER --- */
.pf-flash-deal-container {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #d63031;
    padding: 20px; 
}

.pf-flash-header { margin: -20px -20px 20px -20px; }
.pf-flash-slider { padding: 0 0 20px 0; }
.pf-flash-controls { padding: 0; }

/* EDITOR FIX: Force flex layout for columns before JS loads */
.pf-flash-slider .swiper-wrapper {
    display: flex;
}

/* --- HEADER ALIGNMENT --- */
.pf-flash-header {
    background: #d63031; 
    padding: 20px 30px;
    display: flex;
    align-items: center; 
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 20px;
    color: #fff;
}

/* Base (Desktop) */
.pf-align-left { flex-direction: row; text-align: left; }
.pf-align-right { flex-direction: row-reverse; text-align: right; }
.pf-align-center { justify-content: center; text-align: center; flex-direction: column; }

/* Tablet */
@media (max-width: 1024px) and (min-width: 768px) {
    .pf-align-tablet-center { flex-direction: column !important; text-align: center !important; }
    .pf-align-tablet-left { flex-direction: row !important; text-align: left !important; justify-content: space-between !important; }
    .pf-align-tablet-right { flex-direction: row-reverse !important; text-align: right !important; justify-content: space-between !important; }
    .pf-align-tablet-center .pf-header-timer-box { justify-content: center; width: 100%; }
}

/* Mobile */
@media (max-width: 767px) {
    .pf-align-mobile-center { flex-direction: column !important; text-align: center !important; }
    .pf-align-mobile-left { flex-direction: column !important; text-align: left !important; align-items: flex-start !important; }
    .pf-align-mobile-right { flex-direction: column-reverse !important; text-align: right !important; align-items: flex-end !important; }
    .pf-align-mobile-center .pf-header-timer-box { justify-content: center; width: 100%; }
}

.pf-header-content { flex: 1; min-width: 200px; }

.pf-flash-title {
    font-size: 32px; font-weight: 800; text-transform: uppercase;
    color: inherit; margin: 0; line-height: 1; letter-spacing: -1px;
}
.pf-flash-subtitle {
    font-size: 16px; font-weight: 500; margin: 5px 0 0;
    color: inherit; opacity: 0.9;
}

/* --- BIG HEADER TIMER --- */
.pf-header-timer-box {
    background: #fff; padding: 10px 15px; border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex; align-items: center; gap: 8px; color: #111;
}
.pf-big-time-unit { display: flex; flex-direction: column; align-items: center; min-width: 30px; }
.pf-big-val { font-size: 22px; font-weight: 800; line-height: 1; }
.pf-big-lbl { font-size: 9px; text-transform: uppercase; color: #777; margin-top: 2px; font-weight: 600; }
.pf-big-sep { font-size: 22px; font-weight: 300; color: #ccc; margin-bottom: 10px; }

/* --- CARD TIMER STYLES --- */
.pf-premium-timer { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #111; margin: 8px 0; }
.pf-time-unit { 
    display: flex; align-items: baseline; justify-content: center; gap: 2px;
    text-align: center; min-width: 28px; line-height: 1; 
}
.pf-time-lbl { display: inline-block !important; font-size: 9px; text-transform: uppercase; font-weight: 600; opacity: 0.7; }

/* 1. Boxed */
.pf-timer-boxed .pf-time-unit { background: #fff; padding: 5px 8px; border-radius: 4px; border: 1px solid #e0e0e0; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.pf-timer-boxed .pf-time-sep { display: none; }
.pf-timer-boxed { gap: 6px; }

/* 2. Outline */
.pf-timer-outline .pf-time-unit { background: transparent; border: 1px solid currentColor; padding: 4px 7px; border-radius: 4px; }
.pf-timer-outline .pf-time-sep { display: none; }

/* 3. Glass */
.pf-timer-glass .pf-time-unit { background: rgba(0,0,0,0.04); backdrop-filter: blur(4px); border: 1px solid rgba(0,0,0,0.05); padding: 4px 8px; border-radius: 6px; }
.pf-timer-glass .pf-time-sep { display: none; }

/* 4. Circle */
.pf-timer-circle .pf-time-unit { background: #fff; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e0e0e0; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.pf-timer-circle .pf-time-val { font-size: 12px; } .pf-timer-circle .pf-time-lbl { font-size: 7px; margin-top: 1px; }
.pf-timer-circle .pf-time-sep { display: none; }

/* 5. Dark */
.pf-timer-dark .pf-time-unit { background: #111; color: #fff; padding: 5px 9px; border-radius: 4px; }
.pf-timer-dark .pf-time-val { color: #fff; } .pf-timer-dark .pf-time-lbl { color: #ccc; }
.pf-timer-dark .pf-time-sep { display: none; } .pf-timer-dark { gap: 6px; }

/* --- CARD LAYOUT (RESPONSIVE STABLE) --- */

/* Desktop & Tablet: Horizontal layout */
.pf-deal-card {
    display: flex; flex-direction: row; 
    background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; padding: 15px; gap: 15px;
    height: 100%; align-items: stretch; transition: all 0.3s ease;
}
.pf-deal-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: #e0e0e0; }

.pf-deal-media { flex: 0 0 130px; width: 130px; position: relative; }
.pf-deal-thumb { display: block; height: 100%; width: 100%; }
.pf-deal-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.pf-deal-badge {
    position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
    background: #d63031; color: #fff; font-size: 8px; font-weight: 700;
    padding: 3px 8px; border-radius: 10px; z-index: 2; white-space: nowrap;
}

/* Mobile: Force vertical layout & standard image size */
@media (max-width: 767px) {
    .pf-deal-card {
        flex-direction: column; 
        text-align: center;
        padding: 10px;
    }
    .pf-deal-media { 
        width: 100%; height: 180px; /* Standard mobile height */
        margin-bottom: 15px; flex: none;
    }
    .pf-premium-timer { justify-content: center; } 
    .pf-deal-badge { left: 50%; transform: translateX(-50%); bottom: -10px; }
    
    /* Force slim button on mobile */
    .pf-deal-action .button {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
}

.pf-deal-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.pf-deal-title { font-size: 15px; margin: 0 0 5px; line-height: 1.3; font-weight: 700; }
.pf-deal-price { font-size: 15px; font-weight: 700; color: #222; }

/* --- STOCK BAR --- */
.pf-stock-premium { margin-bottom: 12px; }
.pf-stock-details { 
    display: flex; justify-content: space-between; 
    font-size: 10px; color: #777; font-weight: 700; 
    margin-bottom: 4px;
}
.pf-stock-bar-container { 
    width: 100%; height: 5px; background: #eee; border-radius: 10px; overflow: hidden; 
}
.pf-stock-bar-active { height: 100%; border-radius: 10px; transition: width 0.5s ease; }
.pf-stock-green .pf-stock-bar-active { background: #00b894; }
.pf-stock-red .pf-stock-bar-active { background: #d63031; }

/* --- BUTTON --- */
.pf-deal-action .button {
    width: 100%; display: block; text-align: center;
    background: #fff; color: #111;
    font-size: 12px; font-weight: 700;
    padding: 8px; border-radius: 4px; border: 1px solid #000 !important;
    text-transform: uppercase; transition: all 0.2s;
}
.pf-deal-action .button:hover { background: #111; color: #fff; border-color: #d63031 !important; }

/* --- CONTROLS --- */
.pf-flash-controls { display: flex; align-items: center; gap: 15px; }
.pf-flash-nav-buttons { display: flex; gap: 8px; }
.pf-flash-prev, .pf-flash-next {
    width: 32px; height: 32px; border: 1px solid #ddd; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #111; transition: all 0.2s ease;
}
.pf-flash-prev:hover, .pf-flash-next:hover { border-color: #111; background: #f9f9f9; }
.pf-flash-progress { flex: 1; height: 2px; background: #eee; border-radius: 2px; overflow: hidden; position: relative; }
.pf-flash-progress .swiper-pagination-progressbar-fill { background: #111 !important; }



/* =========================================
   OUR STORY WIDGET (SLIDER & RADIUS UPGRADE)
   ========================================= */

/* =========================================
   1. SLIDER BASE STYLES
   ========================================= */

/* The height is now controlled by Elementor, but we still lock the overflow */
.pf-arch-img-main, 
.pf-vogue-img-inner, 
.pf-zara-img-main, 
.pf-atelier-img-main {
    position: relative;
    width: 100%;
    /* aspect-ratio: REMOVED. Height is now dynamic! */
    overflow: hidden;
    background: #f5f5f5; /* Placeholder */
}

/* Trap the slider inside the new height limit */
.pf-swiper-slider { 
    position: absolute !important; 
    top: 0; left: 0; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
}

/* Force images to CROPS perfectly inside the new height limit */
.pf-swiper-slider img, 
.pf-img-static img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* <--- CRITICAL: Prevents stretching/squishing */
    display: block; 
}

/* Prevent vertical stacking */
.pf-swiper-slider .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
}

/* Hide extra slides until JS loads */
.pf-swiper-slider:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    display: none !important;
}
.pf-swiper-slider:not(.swiper-initialized) .swiper-slide:first-child {
    width: 100% !important;
    display: block !important;
}

/* --- COMMON TYPOGRAPHY --- */
.pf-story-wrapper { padding: 40px 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.pf-story-subtitle { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #d63031; display: inline-block; margin: 0; white-space: nowrap; }
.pf-subtitle-wrapper { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; flex-wrap: nowrap; }
.pf-subtitle-line { height: 1px; width: 50px; background-color: #d63031; flex: 0 0 50px; min-width: 50px; }
.pf-story-title { font-size: 42px; font-weight: 800; margin-bottom: 25px; line-height: 1.1; color: #111; }
.pf-story-desc { font-size: 16px; line-height: 1.6; color: #666; }
.pf-story-desc p { margin-bottom: 15px; }

/* =========================================
   1. ARCHITECTURAL (Overlap)
   ========================================= */
.pf-layout-architectural { display: flex; align-items: center; gap: 60px; }
.pf-arch-visuals { flex: 1; position: relative; padding: 0 30px 30px 0; }
.pf-arch-img-main { width: 85%; }
.pf-arch-img-float { position: absolute; bottom: 0; right: 0; width: 45%; z-index: 5; overflow: hidden; }.pf-arch-img-float img { width: 100%; display: block; }
.pf-story-badge { position: absolute; top: 30px; left: -10px; padding: 8px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; box-shadow: 0 5px 15px rgba(0,0,0,0.2); color: #fff; z-index: 10; }
.pf-story-content { flex: 1; }

/* =========================================
   2. VOGUE (BADGE & LINE FIX)
   ========================================= */
.pf-layout-vogue { display: flex; align-items: center; gap: 80px; position: relative; overflow: hidden; }
.pf-vogue-visual { flex: 1; position: relative; z-index: 2; }
.pf-vogue-img-inner { box-shadow: 20px 20px 0px rgba(0,0,0,0.03); }
.pf-vogue-badge { position: absolute; top: 20px; right: -50px; width: 100px; height: 100px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 20px rgba(0,0,0,0.1); z-index: 3; }
.pf-badge-spin { position: absolute; top: 0; left: 0; width: 100%; height: 100%; animation: pfSpin 20s linear infinite; }
.pf-badge-text { font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; fill: #111; }
.pf-badge-icon { font-size: 18px; z-index: 4; }
@keyframes pfSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.pf-vogue-content { flex: 1; position: relative; }
.pf-story-watermark { position: absolute; top: -100px; left: -40px; font-weight: 900; z-index: 0; line-height: 1; pointer-events: none; }.pf-story-inner { position: relative; z-index: 1; }
.pf-vogue-dropcap p:first-of-type::first-letter { float: left; font-size: 55px; line-height: 0.8; font-weight: 700; margin-right: 10px; color: #d63031; }

.pf-layout-vogue .pf-story-watermark {
    position: absolute;
    top: -100px;
    left: -40px;
    font-size: 250px; /* The massive Envato-style size */
    font-weight: 900;
    color: #f5f5f5; /* Ultra-light luxury grey */
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Mobile scaling so it doesn't break the screen */
@media (max-width: 767px) {
    .pf-layout-vogue .pf-story-watermark {
        font-size: 120px;
        top: -40px;
        left: -10px;
    }
}

/* =========================================
   3. CINEMATIC (Now supports Slider Background)
   ========================================= */
.pf-layout-cinematic { width: 100%; }
.pf-cine-wrapper { position: relative; width: 100%; height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pf-cine-bg-slider { position: absolute; inset: 0; z-index: 0; }
.pf-cine-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); z-index: 1; }
.pf-cine-card { position: relative; z-index: 2; width: 90%; max-width: 600px; }
.pf-cine-glass { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px); padding: 50px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); text-align: center; }
.pf-layout-cinematic .pf-story-title, .pf-layout-cinematic .pf-story-subtitle { color: #fff; }
.pf-layout-cinematic .pf-story-desc { color: #eee; }

/* =========================================
   4. ZARA
   ========================================= */
.pf-layout-zara .pf-zara-grid { display: flex; gap: 40px; }
.pf-zara-col-left { flex: 0 0 40%; display: flex; flex-direction: column; justify-content: space-between; }
.pf-zara-img-small img { width: 100%; height: auto; margin-top: 40px; filter: grayscale(100%); }
.pf-zara-col-right { flex: 1; margin-top: 80px; }
.pf-zara-img-main { height: 500px; margin-bottom: 30px; }
.pf-zara-text { padding-left: 20px; border-left: 1px solid #ddd; }

/* =========================================
   5. ATELIER
   ========================================= */
.pf-layout-atelier { 
    display: flex; 
    gap: 0; 
    align-items: stretch; 
    border: 1px solid #eee; 
    padding-top: 0 !important; 
    padding-bottom: 0 !important; 
    margin-top: 0 !important; 
    margin-bottom: 0 !important; 
    box-sizing: border-box !important; 
}

.pf-atelier-visual { flex: 1; position: relative; min-height: 500px; }
.pf-atelier-img-main { width: 100%; height: 100%; }
.pf-atelier-img-detail { position: absolute; bottom: 30px; left: 30px; width: 140px; z-index: 5; overflow: hidden; }.pf-atelier-img-detail img { width: 100%; display: block; }
.pf-atelier-card { flex: 0 0 45%; padding: 60px; background: #fff; display: flex; flex-direction: column; justify-content: center; }
.pf-atelier-line { width: 50px; height: 3px; background-color: #d63031; margin-bottom: 30px; }
.pf-atelier-meta { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; display: flex; gap: 40px; }
.pf-meta-item span { display: block; font-size: 10px; color: #999; letter-spacing: 1px; margin-bottom: 5px; }
.pf-meta-item strong { font-size: 14px; }


/* =========================================
   MOBILE RESPONSIVE FIXES
   ========================================= */
@media (max-width: 767px) {
    .pf-layout-architectural, .pf-layout-vogue, .pf-layout-zara .pf-zara-grid, .pf-layout-atelier { flex-direction: column !important; gap: 30px; }
    .pf-arch-visuals { padding: 0 0 40px 0; width: 100%; display: block; }
    .pf-arch-img-main { width: 85%; }
    .pf-arch-img-float { position: absolute; right: 0; bottom: 0; width: 55%; border-width: 4px; margin: 0; }
    .pf-story-badge { top: 10px; left: 10px; padding: 6px 12px; }
    .pf-vogue-badge { top: auto; bottom: -20px; right: -10px; width: 90px; height: 90px; }
    .pf-story-watermark { font-size: 120px; top: -40px; left: -10px; }
    .pf-vogue-content { padding: 0 10px; }
    .pf-zara-col-left, .pf-zara-col-right { width: 100%; margin: 0; }
    .pf-zara-img-main { height: 300px; }
    .pf-zara-text { padding-left: 0; border-left: none; border-top: 1px solid #ddd; padding-top: 20px; }
    .pf-atelier-visual { min-height: 250px; }
    .pf-atelier-card { padding: 30px 20px; }
    .pf-atelier-meta { flex-direction: column; gap: 15px; }
    .pf-cine-wrapper { height: 400px; }
    .pf-cine-glass { padding: 25px; }
    .pf-story-title { font-size: 28px; }
}


/* =========================================
   GLOBAL ALIGNMENT SYNC (TEXT + FLEXBOX)
   ========================================= */

/* 1. LEFT ALIGNMENT (Default) */
.pf-align-left .pf-story-content, 
.pf-align-left .pf-story-inner, 
.pf-align-left .pf-atelier-card { text-align: left; }
.pf-align-left .pf-subtitle-wrapper, 
.pf-align-left .pf-atelier-meta { justify-content: flex-start; }
.pf-align-left .pf-atelier-line { margin-left: 0; margin-right: auto; }

/* 2. CENTER ALIGNMENT */
.pf-align-center .pf-story-content, 
.pf-align-center .pf-story-inner, 
.pf-align-center .pf-atelier-card { text-align: center; }
/* Centers the Flexbox Subtitle/Dash and the Meta Location */
.pf-align-center .pf-subtitle-wrapper, 
.pf-align-center .pf-atelier-meta { justify-content: center; }
/* Centers the floating red line in Atelier layout */
.pf-align-center .pf-atelier-line { margin-left: auto; margin-right: auto; }

/* 3. RIGHT ALIGNMENT */
.pf-align-right .pf-story-content, 
.pf-align-right .pf-story-inner, 
.pf-align-right .pf-atelier-card { text-align: right; }
.pf-align-right .pf-subtitle-wrapper, 
.pf-align-right .pf-atelier-meta { justify-content: flex-end; }
/* Flips the subtitle components so the Dash is on the right of the text */
.pf-align-right .pf-subtitle-wrapper { flex-direction: row-reverse; } 
.pf-align-right .pf-atelier-line { margin-left: auto; margin-right: 0; }

/* 4. MOBILE SPECIFIC FIXES */
@media (max-width: 767px) {
    /* If Meta data breaks to a column on mobile, realign the items */
    .pf-align-mobile-center .pf-atelier-meta { align-items: center; text-align: center; }
    .pf-align-mobile-right .pf-atelier-meta { align-items: flex-end; text-align: right; }
}


/* =========================================
   Perfecto Service Highlights
   ========================================= */
   
   
   
/* CONTAINER */
.pf-services-wrapper { width: 100%; }

/* GRID LAYOUT */
.pf-services-grid {
    display: grid;
    /* PHP Variable controls columns (Default 4) */
    grid-template-columns: repeat(var(--pf-service-col, 4), 1fr);
    gap: 30px;
    width: 100%;
}
@media (max-width: 767px) {
    /* Fallback for Mobile if variable fails */
    .pf-services-grid { grid-template-columns: repeat(var(--pf-service-col, 1), 1fr); gap: 20px; }
}

/* =========================================
   UNIVERSAL ITEM STYLES
   ========================================= */
.pf-service-item {
    position: relative;
    box-sizing: border-box;
    transition: all 0.3s ease;
    /* KEY FIX: All skins use Flex Column by default to allow alignment */
    display: flex;
    flex-direction: column;
    /* Default Alignment (Center) */
    align-items: center;
    text-align: center; 
}

.pf-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.pf-service-title { margin: 0 0 5px; font-size: 16px; font-weight: 600; line-height: 1.2; }
.pf-service-desc { font-size: 14px; line-height: 1.5; color: #666; margin: 0; }

/* =========================================
   ALIGNMENT LOGIC (THE FIX)
   ========================================= */
/* Desktop */
.pf-align-left .pf-service-item { align-items: flex-start; text-align: left; }
.pf-align-center .pf-service-item { align-items: center; text-align: center; }
.pf-align-right .pf-service-item { align-items: flex-end; text-align: right; }

/* Tablet */
.pf-align-tablet-left .pf-service-item { align-items: flex-start; text-align: left; }
.pf-align-tablet-center .pf-service-item { align-items: center; text-align: center; }
.pf-align-tablet-right .pf-service-item { align-items: flex-end; text-align: right; }

/* Mobile */
.pf-align-mobile-left .pf-service-item { align-items: flex-start; text-align: left; }
.pf-align-mobile-center .pf-service-item { align-items: center; text-align: center; }
.pf-align-mobile-right .pf-service-item { align-items: flex-end; text-align: right; }

/* =========================================
   SKIN OVERRIDES
   ========================================= */

/* SKIN: MINIMAL (Icon Top) */
.pf-service-skin-minimal .pf-service-item { 
    /* Inherits Universal Flex Styles */ 
}

/* SKIN: BOXED (Icon Left - The Exception) */
/* This skin forces ROW direction, so alignment logic changes */
.pf-service-skin-boxed .pf-service-item {
    flex-direction: row;
    align-items: flex-start; /* Icon stays at top */
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 8px;
    background: #fff;
    text-align: left;
}
/* Re-map Alignment for Row Layout */
.pf-align-left .pf-service-skin-boxed .pf-service-item { justify-content: flex-start; }
.pf-align-center .pf-service-skin-boxed .pf-service-item { justify-content: center; text-align: center; }
.pf-align-right .pf-service-skin-boxed .pf-service-item { justify-content: flex-end; text-align: right; flex-direction: row-reverse; } /* Flip for Right Align */

.pf-service-skin-boxed .pf-service-item:hover { border-color: #111; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.pf-service-skin-boxed .pf-service-content { flex-grow: 1; }

/* SKIN: BADGE */
.pf-service-skin-badge .pf-service-item { padding: 20px; }
.pf-service-skin-badge .pf-service-icon { background: #f5f5f5; margin-bottom: 15px; }
/* Shapes */
.pf-badge-shape-circle .pf-service-icon { border-radius: 50%; }
.pf-badge-shape-rounded .pf-service-icon { border-radius: 12px; }
.pf-badge-shape-square .pf-service-icon { border-radius: 0; }

/* SKIN: SIDE LINE */
.pf-service-skin-sideline .pf-service-item {
    padding: 20px 20px 20px 25px;
    border-left: 3px solid #eee;
    background: #fff;
}
.pf-service-skin-sideline .pf-service-item:hover { border-left-color: #111; background: #fcfcfc; }

/* SKIN: GLASSMORPHISM */
.pf-service-skin-glass .pf-service-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}
.pf-service-skin-glass .pf-service-item:hover { transform: translateY(-5px); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1); }

/* SKIN: TABLE (ATTACHED GRID) */
.pf-service-skin-table .pf-services-grid { gap: 0 !important; }
.pf-service-skin-table .pf-service-item {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 20px;
    margin-right: -1px; margin-bottom: -1px; /* Collapse borders */
    z-index: 1;
    justify-content: center; /* Vertically center content */
}
.pf-service-skin-table .pf-service-item:hover { z-index: 2; border-color: #111; transform: scale(1.01); box-shadow: 0 5px 20px rgba(0,0,0,0.08); }





/* =========================================
   PERFCTO DUAL HERO
   ========================================= */
   
   
   /* WRAPPER */
.pf-dual-hero-wrapper { display: flex; width: 100%; position: relative; overflow: hidden; }

/* SIDES */
.pf-dual-side {
    position: relative; flex: 1 1 50%; display: flex;
    align-items: center; text-align: center;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden; min-height: 100%; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.pf-dual-hero-wrapper .pf-dual-side:only-child { flex: 1 1 100% !important; width: 100% !important; }

/* DESKTOP ACCORDION (HOVER) */
@media (min-width: 1025px) {
    .pf-dual-hero-wrapper.pf-accordion-active:hover .pf-dual-side { flex: 1 1 30%; }
    .pf-dual-hero-wrapper.pf-accordion-active .pf-dual-side:hover { flex: 1 1 70%; }
}

/* BACKGROUNDS */
.pf-dual-bg, .pf-dual-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.pf-dual-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 3s ease; }
.pf-dual-side:hover .pf-dual-img { transform: scale(1.05); }

/* CONTENT */
.pf-dual-content-wrap {
    position: relative; z-index: 10; width: 100%; padding: 40px;
    display: flex; justify-content: center; transition: all 0.5s ease;
}
.pf-dual-content { max-width: 600px; transition: all 0.5s ease; }
.pf-dual-subtitle { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 15px; display: block; font-weight: 600; }
.pf-dual-title { font-size: 56px; font-weight: 800; margin: 0 0 35px; line-height: 1.05; }

/* --- BUTTON PRESETS --- */
.pf-dual-btn {
    display: inline-block; padding: 15px 45px; text-transform: uppercase; font-weight: 700;
    font-size: 13px; letter-spacing: 1px; text-decoration: none; transition: all 0.3s;
    border: 2px solid transparent; /* Base for border styles */
}
/* Solid (Default handled by controls but here are defaults) */
.pf-btn-preset-solid .pf-dual-btn { background: #fff; color: #111; }
/* Outline */
.pf-btn-preset-outline .pf-dual-btn { background: transparent; border-color: #fff; color: #fff; }
.pf-btn-preset-outline .pf-dual-btn:hover { background: #fff; color: #111; }
/* Glass */
.pf-btn-preset-glass .pf-dual-btn { background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); border-color: rgba(255,255,255,0.5); color: #fff; }
.pf-btn-preset-glass .pf-dual-btn:hover { background: #fff; color: #111; border-color: #fff; }
/* Underline */
.pf-btn-preset-underline .pf-dual-btn { background: transparent; padding: 0 0 5px 0; border: none; border-bottom: 2px solid #fff; border-radius: 0 !important; color: #fff; }
.pf-btn-preset-underline .pf-dual-btn:hover { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.7); }


/* CATEGORIES (DESKTOP INTERACTION) */
.pf-dual-cats-wrap {
    position: absolute; top: 0; height: 100%; z-index: 15;
    display: flex; align-items: center; opacity: 0; pointer-events: none;
    transition: all 0.5s ease 0.1s;
}
.pf-dual-cats-inner { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.pf-dual-cats-wrap.pf-pos-left { right: 0; padding-right: 60px; transform: translateX(40px); }
.pf-dual-cats-wrap.pf-pos-right { left: 0; padding-left: 60px; transform: translateX(-40px); }

/* Desktop Hover Logic */
@media (min-width: 1025px) {
    .pf-dual-side.left:hover .pf-dual-content { transform: translateX(-80px); opacity: 0.5; }
    .pf-dual-side.left:hover .pf-dual-cats-wrap { opacity: 1; pointer-events: auto; transform: translateX(0); }
    .pf-dual-side.right:hover .pf-dual-content { transform: translateX(80px); opacity: 0.5; }
    .pf-dual-side.right:hover .pf-dual-cats-wrap { opacity: 1; pointer-events: auto; transform: translateX(0); }
}

/* BUBBLES */
.pf-cat-bubble { text-decoration: none; transition: transform 0.3s; }
.pf-bubble-style-circle .pf-cat-bubble { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; }
.pf-bubble-style-circle .pf-cat-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.8); margin-bottom: 12px; transition: all 0.3s; box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.pf-bubble-style-circle .pf-cat-bubble:hover .pf-cat-img { transform: scale(1.08); border-color: #fff; }
.pf-bubble-style-pill .pf-cat-bubble { display: inline-flex; align-items: center; gap: 15px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.3); padding: 8px 30px 8px 8px; border-radius: 60px; color: #fff; transition: 0.3s; }
.pf-bubble-style-pill .pf-cat-img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.pf-bubble-style-pill .pf-cat-bubble:hover { background: #fff; color: #111; transform: scale(1.05); }

/* --- MOBILE & TABLET INTERACTION (JS TRIGGERED) --- */
.pf-mobile-hint { display: none; }

@media (max-width: 1024px) {
    .pf-dual-hero-wrapper { flex-direction: column !important; height: auto !important; }
    .pf-dual-side { height: 50vh; width: 100%; flex: none !important; transition: height 0.5s ease; }
    
    .pf-dual-content-wrap { padding: 20px; }
    .pf-dual-title { font-size: 36px; margin-bottom: 20px; }
    
    /* Cats HIDDEN by default on Mobile */
    .pf-dual-cats-wrap { display: none; opacity: 0; } 

    /* ACTIVE STATE (Triggered via JS Tap) */
    .pf-dual-side.pf-mobile-active { height: 70vh; } /* Expand Active */
    .pf-dual-side.pf-mobile-inactive { height: 30vh; } /* Shrink Inactive */

    /* Reveal Content on Active */
    .pf-dual-side.pf-mobile-active .pf-dual-content { opacity: 0; transform: translateY(-20px); pointer-events: none; } /* Hide Text */
    
    .pf-dual-side.pf-mobile-active .pf-dual-cats-wrap {
        display: flex; opacity: 1; pointer-events: auto;
        position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        width: 100%; padding: 0; justify-content: center;
    }
    .pf-dual-side.pf-mobile-active .pf-dual-cats-inner { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 15px; }
    
    /* Smaller Bubbles */
    .pf-bubble-style-circle .pf-cat-img { width: 70px; height: 70px; }
    
    /* Hint */
    .pf-mobile-hint {
        display: block; position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
        color: rgba(255,255,255,0.6); font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
        z-index: 5; pointer-events: none;
    }
}






/* =========================================
   PERFCTO IMAGE WITH TEXT
   ========================================= */
   
   
/* WRAPPER */
.pf-edit-wrapper { position: relative; display: flex; width: 100%; box-sizing: border-box; }

/* IMAGE SIDE */
.pf-edit-image-wrap { position: relative; flex: 1; min-height: 300px; overflow: hidden; flex-shrink: 0; }
.pf-edit-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.pf-edit-wrapper:hover .pf-edit-img { transform: scale(1.03); }

/* OVERLAY DIV */
.pf-edit-img-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; transition: background 0.3s; }

/* CONTENT WRAPPER */
.pf-edit-content-wrap {
    flex: 1; display: flex; flex-direction: column;
    padding: 0; z-index: 5;
}

/* CONTENT BOX */
.pf-edit-content {
    width: 100%; max-width: 550px; 
    transition: all 0.3s ease; position: relative;
    /* Default padding if none selected */
    padding: 40px; 
}

/* TYPOGRAPHY */
.pf-edit-sub { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; font-weight: 700; color: #111; }
.pf-edit-title { font-size: 42px; font-weight: 700; line-height: 1.1; margin: 0 0 20px; color: #111; }
.pf-edit-desc { font-size: 16px; line-height: 1.6; color: #666; margin-bottom: 30px; }

/* BUTTONS */
.pf-edit-buttons { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 20px; width: 100%; }

/* ALIGNMENT LOGIC */
.pf-text-align-left .pf-edit-buttons { justify-content: flex-start; }
.pf-text-align-center .pf-edit-buttons { justify-content: center; }
.pf-text-align-right .pf-edit-buttons { justify-content: flex-end; }

/* POSITIONING LOGIC */
.pf-pos-top-left .pf-edit-content-wrap { justify-content: flex-start; align-items: flex-start; }
.pf-pos-top-center .pf-edit-content-wrap { justify-content: flex-start; align-items: center; }
.pf-pos-top-right .pf-edit-content-wrap { justify-content: flex-start; align-items: flex-end; }
.pf-pos-middle-left .pf-edit-content-wrap { justify-content: center; align-items: flex-start; }
.pf-pos-center .pf-edit-content-wrap { justify-content: center; align-items: center; }
.pf-pos-middle-right .pf-edit-content-wrap { justify-content: center; align-items: flex-end; }
.pf-pos-bottom-left .pf-edit-content-wrap { justify-content: flex-end; align-items: flex-start; }
.pf-pos-bottom-center .pf-edit-content-wrap { justify-content: flex-end; align-items: center; }
.pf-pos-bottom-right .pf-edit-content-wrap { justify-content: flex-end; align-items: flex-end; }

/* BUTTON DEFAULTS */
.pf-edit-btn { 
    display: inline-flex; align-items: center; justify-content: center; 
    padding: 12px 30px; font-size: 13px; font-weight: 700; 
    text-transform: uppercase; text-decoration: none; transition: all 0.3s; 
    border: 2px solid transparent; 
}
.pf-edit-btn.btn-1 { background: #111; color: #fff; }
.pf-edit-btn.btn-1:hover { opacity: 0.9; transform: translateY(-2px); }
.pf-edit-btn.btn-2 { background: transparent; color: #111; border-color: #111; }
.pf-edit-btn.btn-2:hover { background: #111; color: #fff; }

/* BADGE */
.pf-edit-badge { position: absolute; z-index: 10; width: 100px; animation: pf-float 6s ease-in-out infinite; }
.pf-edit-badge img { width: 100%; height: auto; display: block; }
@keyframes pf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pf-badge-pos-top-left .pf-edit-badge { top: 30px; left: 30px; }
.pf-badge-pos-top-right .pf-edit-badge { top: 30px; right: 30px; }
.pf-badge-pos-bottom-left .pf-edit-badge { bottom: 30px; left: 30px; }
.pf-badge-pos-bottom-right .pf-edit-badge { bottom: 30px; right: 30px; }

/* --- SKINS --- */

/* 1. CLASSIC SPLIT */
.pf-edit-skin-split .pf-edit-wrapper { flex-direction: row; }
.pf-img-pos-right.pf-edit-skin-split .pf-edit-wrapper { flex-direction: row-reverse; }
.pf-edit-skin-split .pf-edit-content-wrap { padding: 40px; }

/* 2. MODERN GRID (60/40) */
.pf-edit-skin-modern .pf-edit-wrapper { flex-direction: row; }
.pf-img-pos-right.pf-edit-skin-modern .pf-edit-wrapper { flex-direction: row-reverse; }
.pf-edit-skin-modern .pf-edit-image-wrap { flex: 0 0 60%; max-width: 60%; }
.pf-edit-skin-modern .pf-edit-content-wrap { flex: 0 0 40%; max-width: 40%; padding: 60px 40px; }

/* 3. FULL OVERLAY */
.pf-edit-skin-overlay .pf-edit-image-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.pf-edit-skin-overlay .pf-edit-content-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; padding: 0; }
.pf-edit-skin-overlay .pf-edit-content { pointer-events: auto; }
/* Overlay Colors */
.pf-edit-skin-overlay .pf-edit-sub, .pf-edit-skin-overlay .pf-edit-title, .pf-edit-skin-overlay .pf-edit-desc { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.pf-edit-skin-overlay .pf-edit-btn.btn-1 { background: #fff; color: #111; }
.pf-edit-skin-overlay .pf-edit-btn.btn-2 { border-color: #fff; color: #fff; }

/* 4. GLASSMORPHISM */
.pf-edit-skin-glass .pf-edit-image-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.pf-edit-skin-glass .pf-edit-content-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.pf-edit-skin-glass .pf-edit-content { 
    pointer-events: auto; background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); 
    border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-radius: 12px;
}
.pf-edit-skin-glass .pf-edit-sub, .pf-edit-skin-glass .pf-edit-title, .pf-edit-skin-glass .pf-edit-desc { color: #fff; }


/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 1024px) {
    /* Stack Skins */
    .pf-edit-skin-split .pf-edit-wrapper,
    .pf-edit-skin-modern .pf-edit-wrapper { flex-direction: column !important; }
    
    /* Overlay & Glass */
    .pf-edit-skin-overlay .pf-edit-image-wrap,
    .pf-edit-skin-glass .pf-edit-image-wrap { height: 100%; }
    .pf-edit-skin-glass .pf-edit-content { margin: 20px; width: auto; max-width: none; }

    /* Modern Grid Mobile */
    .pf-edit-skin-modern .pf-edit-image-wrap { width: 100%; max-width: 100%; flex: none; height: 350px; }
    .pf-edit-skin-modern .pf-edit-content-wrap { width: 100%; max-width: 100%; padding: 40px 20px; }
    
    .pf-edit-title { font-size: 32px; }
}





/* =========================================
   PERFECTO FAQ (COMPACT & ROUNDED)
   ========================================= */

/* --- 1. LAYOUT WRAPPER --- */
.pf-faq-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    width: 100%;
    align-items: flex-start;
}
.pf-faq-col-content {
    flex: 1;
    min-width: 300px;
}

/* IMAGE COLUMN */
.pf-faq-col-image {
    flex: 0 0 40%;
    max-width: 40%;
}
.pf-faq-img-inner img {
    width: 100%;
    border-radius: 16px; /* Premium Roundness */
    display: block;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.pf-sticky-image .pf-faq-img-inner { position: sticky; top: 100px; }
.pf-image-right { flex-direction: row-reverse; }

/* HEADER */
.pf-faq-header-wrap { margin-bottom: 35px; }
.pf-faq-sub { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #999; margin-bottom: 15px; font-weight: 700; }
.pf-faq-title { font-size: 36px; font-weight: 700; color: #111; margin: 0; line-height: 1.2; }

/* SEARCH BAR */
.pf-faq-search { position: relative; margin-bottom: 40px; }
.pf-faq-search input {
    width: 100%; padding: 16px 25px; padding-right: 50px;
    border: 1px solid #e5e5e5; border-radius: 50px; font-size: 15px;
    background: #f9f9f9; transition: 0.3s;
}
.pf-faq-search input:focus { border-color: #000; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); outline: none; }
.pf-faq-search i { position: absolute; right: 25px; top: 50%; transform: translateY(-50%); color: #aaa; font-size: 18px; }

/* --- 2. FAQ LIST --- */
.pf-faq-list { display: flex; flex-direction: column; gap: 12px; } /* Tighter gap */
.pf-faq-item { overflow: hidden; transition: all 0.3s ease; border-radius: 12px; /* Smooth Corners */ }

.pf-faq-trigger {
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; padding: 20px 0; user-select: none;
}
.pf-faq-question { font-size: 17px; font-weight: 600; color: #222; transition: color 0.3s; line-height: 1.4; }
.pf-faq-icon { font-size: 14px; color: #999; transition: transform 0.3s; display: flex; align-items: center; }
.pf-faq-body { display: none; }
.pf-faq-answer { padding-bottom: 20px; color: #666; font-size: 15px; line-height: 1.6; }

/* Active States */
.pf-faq-item.active .pf-faq-trigger .pf-faq-icon { transform: rotate(45deg); color: #000; }
.pf-faq-item.active .pf-faq-question { color: #000; }
.pf-faq-no-results { color: #999; font-style: italic; text-align: center; padding: 20px 0; }


/* =========================================
   3. SKINS (ROUNDED & COMPACT)
   ========================================= */

/* Minimal */
.pf-faq-skin-minimal .pf-faq-item { border-bottom: 1px solid #eee; border-radius: 0; }
.pf-faq-skin-minimal .pf-faq-item:last-child { border-bottom: none; }

/* Boxed (Card Style) */
.pf-faq-skin-boxed .pf-faq-item {
    background: #fff; border: 1px solid #f0f0f0;
    padding: 0 25px; box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.pf-faq-skin-boxed .pf-faq-item.active { box-shadow: 0 15px 30px rgba(0,0,0,0.06); border-color: transparent; }
.pf-faq-skin-boxed .pf-faq-trigger { padding: 22px 0; }

/* Classic (Bordered Accordion) */
.pf-faq-skin-classic .pf-faq-item { border: 1px solid #e5e5e5; }
.pf-faq-skin-classic .pf-faq-trigger { padding: 18px 25px; background: #fcfcfc; transition: 0.3s; }
.pf-faq-skin-classic .pf-faq-item.active .pf-faq-trigger { background: #f9f9f9; border-bottom: 1px solid #eee; }
.pf-faq-skin-classic .pf-faq-answer { padding: 20px 25px; }

/* Modern (Left Accent) */
.pf-faq-skin-modern .pf-faq-item {
    background: #fbfbfb; padding: 0 25px; border-radius: 0 12px 12px 0;
    border-left: 4px solid transparent;
}
.pf-faq-skin-modern .pf-faq-item.active {
    background: #fff; border-left-color: #000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.pf-faq-skin-modern .pf-faq-trigger { padding: 20px 0; }


/* =========================================
   4. MOBILE & TABLET RESPONSIVE FIX (IMPORTANT)
   ========================================= */

/* Ensure padding doesn't push elements off-screen */
.pf-faq-wrapper * {
    box-sizing: border-box;
}

/* Breakpoint pushed to 991px to fix Tablets/iPads too */
@media (max-width: 991px) { 
    .pf-faq-wrapper { 
        flex-direction: column !important; 
        gap: 25px; 
    }
    
    /* 🔥 THE FIX: Force BOTH image and content to take up exact 100% width */
    .pf-faq-col-image,
    .pf-faq-col-content { 
        flex: 0 0 100% !important;
        max-width: 100% !important; 
        width: 100% !important; 
    }
    
    /* Compact Header */
    .pf-faq-title { font-size: 24px; }
    .pf-faq-sub { font-size: 10px; margin-bottom: 10px; }
    .pf-faq-header-wrap { margin-bottom: 20px; }
    .pf-faq-search { margin-bottom: 25px; }
    
    /* Compact List */
    .pf-faq-question { font-size: 15px; } 
    .pf-faq-answer { font-size: 14px; padding-bottom: 15px; }
    
    /* Compact Padding for Skins */
    .pf-faq-skin-boxed .pf-faq-item,
    .pf-faq-skin-modern .pf-faq-item { padding: 0 15px; }
    .pf-faq-skin-boxed .pf-faq-trigger,
    .pf-faq-skin-modern .pf-faq-trigger { padding: 15px 0; }
    
    .pf-faq-skin-classic .pf-faq-trigger { padding: 15px; }
    .pf-faq-skin-classic .pf-faq-answer { padding: 15px; padding-top: 10px; }
}






/* ====================================================================
   PERFECTO PREMIUM HEADINGS (V5 - FINAL EDITION)
   ==================================================================== */

.pf-heading-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

/* --------------------------------------------------------
   LAYOUT MODES (Stacked vs. Split Row)
   -------------------------------------------------------- */

/* 1. Stacked Mode (Default) */
.pf-layout-stacked { display: flex; flex-direction: column; }
.pf-layout-stacked .pf-text-wrap { display: flex; flex-direction: column; }
.pf-layout-stacked .pf-action-wrap { margin-top: 10px; }

/* FIX: Connect Native Elementor Alignment to Flexbox Grid */
.pf-align-left .pf-text-wrap { text-align: left; align-items: flex-start; }
.pf-align-left .pf-layout-stacked .pf-action-wrap { align-self: flex-start; }

.pf-align-center .pf-text-wrap { text-align: center; align-items: center; }
.pf-align-center .pf-layout-stacked .pf-action-wrap { align-self: center; }

.pf-align-right .pf-text-wrap { text-align: right; align-items: flex-end; }
.pf-align-right .pf-layout-stacked .pf-action-wrap { align-self: flex-end; }

/* 2. Split Row Mode (Heading Left, Button Right) */
.pf-layout-split { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 30px; }
.pf-layout-split .pf-text-wrap { flex: 1; max-width: 65%; text-align: left; align-items: flex-start; }
.pf-layout-split .pf-action-wrap { flex-shrink: 0; margin-bottom: 15px; }


/* --------------------------------------------------------
   BASE TYPOGRAPHY (Fallbacks, overridden by Elementor)
   -------------------------------------------------------- */
.pf-text-wrap .pf-sub { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #888; margin-bottom: 12px; display: inline-flex; align-items: center; }
.pf-text-wrap .pf-title { font-size: 48px; font-weight: 800; color: #111; line-height: 1.1; margin: 0 0 16px 0; letter-spacing: -1px; }
.pf-text-wrap .pf-desc { font-size: 16px; color: #666; max-width: 600px; line-height: 1.6; margin: 0 0 15px 0; }

/* --------------------------------------------------------
   THE 6 PREMIUM DESIGNS
   -------------------------------------------------------- */

/* STYLE 1: Modern Watermark (Now follows Elementor Alignment) */
.pf-heading-style-1 { padding-top: 30px; position: relative; }
.pf-heading-style-1 .pf-watermark { 
    position: absolute; top: -20px; font-size: 100px; font-weight: 900; 
    color: rgba(0,0,0,0.03); text-transform: uppercase; z-index: -1; 
    pointer-events: none; transition: all 0.3s ease; white-space: nowrap;
}
.pf-heading-style-1 .pf-sub::before { content: ''; width: 30px; height: 2px; background: currentColor; margin-right: 10px; }

/* Watermark Alignment Fixes */
.pf-align-left .pf-heading-style-1 .pf-watermark { left: 0; transform: none; right: auto; }
.pf-align-center .pf-heading-style-1 .pf-watermark { left: 50%; transform: translateX(-50%); right: auto; }
.pf-align-right .pf-heading-style-1 .pf-watermark { right: 0; left: auto; transform: none; }


/* STYLE 2: Stroke Outline */
.pf-heading-style-2 .pf-title { color: transparent !important; -webkit-text-stroke: 1.5px #111; font-size: 60px; letter-spacing: 1px; }

/* STYLE 3: SaaS Pill Badge */
.pf-heading-style-3 .pf-sub { background: #f0fdf4; color: #059669; padding: 6px 16px; border-radius: 99px; font-size: 11px; margin-bottom: 20px; }

/* STYLE 4: Animated Gradient Flow */
.pf-heading-style-4 .pf-title {
    background: linear-gradient(270deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease infinite;
    display: inline-block;
}
@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* STYLE 5: Editorial Vogue */
.pf-heading-style-5 .pf-sub { font-size: 11px; letter-spacing: 4px; color: #999; margin-bottom: -15px; position: relative; z-index: 2; }
.pf-heading-style-5 .pf-title { font-family: "Playfair Display", serif; font-style: italic; font-size: 64px; font-weight: 400; letter-spacing: -2px; }

/* STYLE 6: Modern Accent Bar */
.pf-heading-style-6 .pf-text-wrap { position: relative; padding-left: 30px; }
.pf-heading-style-6 .pf-text-wrap::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 6px; background: currentColor; border-radius: 6px; }
.pf-align-center .pf-heading-style-6 .pf-text-wrap::before { display: none; }
.pf-align-center .pf-heading-style-6 .pf-text-wrap { padding-left: 0; }


/* --------------------------------------------------------
   ACTION BUTTONS (Structural base)
   -------------------------------------------------------- */
.pf-btn-action { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; padding: 14px 28px; }

.pf-btn-solid { background: #000; color: #fff; }
.pf-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.pf-btn-outline { background: transparent; color: #000; border: 1px solid #000; }

.pf-btn-ghost { padding: 0 !important; background: transparent; color: #000; border: none; }
.pf-btn-ghost svg { transition: transform 0.3s ease; }
.pf-btn-ghost:hover svg { transform: translateX(5px); }

.pf-btn-pill { background: #111; color: #fff; border-radius: 99px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.pf-btn-pill:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.15); transform: translateY(-2px); }


/* ====================================================================
   MOBILE RESPONSIVENESS (Auto-Collapse)
   ==================================================================== */
@media (max-width: 768px) {
    /* Auto-collapse Split Row on mobile */
    .pf-layout-split { flex-direction: column !important; align-items: flex-start; gap: 15px; }
    .pf-layout-split .pf-text-wrap { max-width: 100%; text-align: left; }
    .pf-layout-split .pf-action-wrap { align-self: flex-start; margin-bottom: 0; }

    /* Size adjustments */
    .pf-text-wrap .pf-title { font-size: 32px !important; }
    .pf-text-wrap .pf-desc { font-size: 14px; }
    .pf-heading-style-1 .pf-watermark { font-size: 50px; top: -10px; }
    .pf-heading-style-2 .pf-title { font-size: 38px !important; }
}