/* ==========================================================================
           1. GLOBAL STYLE VARIABLES & DESIGN SYSTEM
           [📝 EDITING GUIDE: Customize these variables to globally change the site aesthetic]
           ========================================================================== */
:root {
    /* Background System - Slates & Whites */
    --bg-body: #f8fafc;
    /* Soft Slate - Used to contrast section panels */
    --bg-surface: #ffffff;
    /* Pure White - Main backing */
    --bg-grid-section: #f1f5f9;
    /* Contrast blueprint-grid backing */

    /* Typography Scale */
    --text-main: #0f172a;
    /* Bold Dark - Primary Headings */
    --text-body: #334155;
    /* Slate Navy - Body Copy */
    --text-muted: #64748b;
    /* Slate Grey - Accessory details & secondary text */

    /* Premium Accent Palette */
    --brand-primary: #4f46e5;
    /* Indigo - Primary interactive triggers */
    --brand-primary-hover: #3730a3;
    /* Darker Indigo - Button hover feed back */
    --brand-accent: #0ea5e9;
    /* Technical Cyan - Used for graphic highlights & gradient waves */

    /* Layout Borders */
    --border-color: #f1f5f9;
    --border-interactive: #e2e8f0;
    --border-blueprint: #cbd5e1;

    /* Elevation & Focus Shadows */
    --shadow-soft-sm: 0 2px 8px rgba(15, 23, 42, 0.03);
    --shadow-soft-md: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
    --shadow-soft-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    --shadow-soft-xl: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-body);
    overflow-x: hidden;
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* ==========================================================================
           2. NAVIGATION HEADER
           ========================================================================== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    padding: 1.1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.navbar-brand span {
    color: var(--brand-primary);
}

.nav-link {
    color: var(--text-body) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary) !important;
}

/* Link Underline Hover Slider Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background-color: var(--brand-primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown Desktop Hover Trigger */
@media (min-width: 992px) {
    .navbar-custom .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-custom .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        margin-top: 0;
    }
}

.dropdown-menu {
    border: 1px solid var(--border-interactive);
    box-shadow: var(--shadow-soft-lg);
    border-radius: 16px;
    padding: 0.75rem;
    max-height: 500px;

    /* 1. Only show vertical scrollbar, and only when needed */
    overflow-y: auto;
    overflow-x: hidden;

    /* 2. Firefox scrollbar support */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* 3. WebKit (Chrome, Safari, Edge) scrollbar styling */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
    /* Makes the scrollbar very thin */
}

.dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
    /* Prevents the scrollbar from overlapping your rounded corners */
    margin-block: 0.5rem;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    /* Subtle semi-transparent gray */
    border-radius: 10px;
    /* Gives the scrollbar a rounded 'pill' shape */
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
    /* Darkens slightly when hovered */
}

.dropdown-item {
    border-radius: 10px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-body);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8fafc;
    color: var(--brand-primary);

}

.btn-hire-us {
    background-color: #f1f5f9;
    color: var(--text-main);
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.btn-hire-us:hover {
    background-color: var(--text-main);
    color: white;
    transform: translateY(-1px);
}

/* ==========================================================================
           3. HERO SECTION WITH NATURAL DIAGONAL SPLIT
           [🎨 DESIGN EXPLANATION: Uses a custom polygon clip-path to slice the bottom 
           of the hero section. This creates a beautifully organic slanted transition 
           into the pure white Featured Section below, just like your reference image.]
           ========================================================================== */
.hero-section {
    position: relative;
    padding: 10rem 0 14rem 0;
    /* Expanded bottom padding to accommodate the slant */
    background-color: var(--bg-surface);
    overflow: hidden;

    /* Slanted bottom crop */
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

/* Ambient Glowing Background Elements */
.hero-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.blueprint-ambient-glow {
    position: absolute;
    filter: blur(140px);
    border-radius: 50%;
    opacity: 0.55;
}

.glow-indigo {
    background-color: #e0e7ff;
    width: 600px;
    height: 600px;
    top: -100px;
    right: 5%;
}

.glow-cyan {
    background-color: #ecfeff;
    width: 550px;
    height: 550px;
    bottom: 50px;
    left: 5%;
}

/* Dynamic SVG Wave paths floating in the canvas background */
.hero-vector-canvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.vector-wave-line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawWave 14s ease-in-out infinite alternate;
    opacity: 0.22;
}

.vector-wave-line-alt {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: drawWaveAlt 18s ease-in-out infinite alternate;
    opacity: 0.16;
}

@keyframes drawWave {
    0% {
        stroke-dashoffset: 1200;
        transform: translateY(-15px) scaleY(0.9);
    }

    100% {
        stroke-dashoffset: 0;
        transform: translateY(15px) scaleY(1.05);
    }
}

@keyframes drawWaveAlt {
    0% {
        stroke-dashoffset: 1400;
        transform: translateY(15px) scaleY(1.05);
    }

    100% {
        stroke-dashoffset: 0;
        transform: translateY(-20px) scaleY(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.hero-headline {
    font-size: clamp(2.35rem, 5vw, 3.85rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--text-main);
    margin-bottom: 1.35rem;
    letter-spacing: -0.035em;
}

.hero-headline span {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* ==========================================================================
           4. STYLISH SEARCH CONTAINER WITH REFINED RESPONSIVE STACKING
           ========================================================================== */
.premium-search-container {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 100px;
    padding: 0.65rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-soft-xl);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 10;
}

.premium-search-container:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 35px 70px -15px rgba(79, 70, 229, 0.18);
    border-color: rgba(79, 70, 229, 0.35);
}

.search-icon-decor {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-left: 1.25rem;
}

.premium-search-input {
    border: none;
    background: transparent;
    padding: 0.8rem 1.25rem;
    font-size: 1.05rem;
    width: 100%;
    color: var(--text-main);
    font-weight: 500;
}

.premium-search-input:focus {
    outline: none;
}

/* Elegantly styled select overlay (no generic browser arrow) */
.dropdown-search-cat {
    border: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 12px;
    padding-right: 38px;
    padding-left: 1.25rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.92rem;
    outline: none;
    border-left: 1px solid var(--border-interactive);
    height: 35px;
    border-radius: 0;
    transition: color 0.2s ease;
}

.dropdown-search-cat:hover {
    color: var(--brand-primary);
}

.btn-premium-search {
    background-color: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn-premium-search:hover {
    background-color: var(--brand-primary-hover);
    transform: scale(1.02);
}

/* SEARCH BAR MOBILE STYLING FIX (Prevents ugly horizontal clipping) */
@media (max-width: 767.98px) {
    .premium-search-container {
        flex-direction: column;
        border-radius: 28px;
        padding: 1rem;
        gap: 0.75rem;
    }

    .search-icon-decor {
        display: none;
    }

    .premium-search-input {
        padding: 0.6rem;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        text-align: center;
        font-size: 0.98rem;
    }

    .dropdown-search-cat {
        border-left: none;
        width: 100%;
        text-align: center;
        background-position: calc(50% + 60px) center;
        padding: 0.5rem 0;
    }

    .btn-premium-search {
        width: 100%;
        margin-left: 0 !important;
        padding: 0.85rem;
    }
}

/* ==========================================================================
           5. UNIFIED GRID SYSTEMS (PRECISE 16:10 ALIGNMENT SCHEME)
           ========================================================================== */
.section-showcase {
    position: relative;
    padding: 7rem 0 9rem 0;
}

/* Pure Surface Finish Section (Featured) */
.bg-pure-surface {
    background-color: var(--bg-surface);
    padding-top: 4rem;
    /* Balanced gap spacing beneath hero's bottom slant */
}

/* 📝 DISTINCT LATEST CONTAINER WITH OPPOSING SLANT
           To ensure section transitions feel completely organic and structured,
           we use clip-path to skew both the top and bottom edges. */
.bg-blueprint-texture {
    background-color: #f1f5f9;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: center;

    /* Double-sided custom slant clip */
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    -webkit-clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    padding: 11rem 0;
    /* Comfortable interior spacing for content protection */
}

/* Pure Free section container */
.bg-glow-texture {
    background-color: var(--bg-surface);
    padding-top: 6rem;
}

/* Card Blueprint Structural Styles */
.human-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-interactive);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-soft-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.human-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft-lg);
    border-color: #cbd5e1;
}

/* MANDATORY ASPECT RATIO SLOT:
           aspect-ratio: 16 / 10 forces ALL grid card images to align perfectly. */
.card-preview-wrap {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
    width: 100%;
    aspect-ratio: 16 / 10;
    /* <--- No mismatched heights */
}

.card-preview-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.human-card:hover .card-preview-wrap img {
    transform: scale(1.04);
}

/* Responsive overlays on hover */
.card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.15);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.human-card:hover .card-hover-overlay {
    opacity: 1;
}

.overlay-action-trigger {
    background-color: white;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    box-shadow: var(--shadow-soft-md);
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.human-card:hover .overlay-action-trigger {
    transform: translateY(0);
    opacity: 1;
}

/* Badges Over the Top of Images */
.card-floating-badges {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.card-pill {
    padding: 0.4rem 0.85rem;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft-sm);
}

.pill-premium {
    background-color: var(--brand-primary);
    color: white;
}

.pill-free {
    background-color: #10b981;
    color: white;
}

.pill-framework {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
}

.card-content-block {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.theme-item-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.human-card:hover .theme-item-title {
    color: var(--brand-primary);
}

/* EXPLICIT DESCRIPTION CLAMP
           Limits text block to exactly two rows preventing card warping */
.theme-item-description {
    font-size: 0.92rem;
    color: var(--text-muted);

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    line-height: 1.5;
}

.theme-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.designer-profile img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
    border: 1px solid var(--border-interactive);
}

.item-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
}

/* ==========================================================================
           6. ABOUT US SECTION (EDITORIAL SLANTED BACKGROUND SYSTEM)
           ========================================================================== */
.about-vault-section {
    background-color: var(--bg-surface);
    padding: 9.5rem 0;
    position: relative;

    /* Custom diagonal slanting to slice into the clean layout footer */
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
    margin-top: -3rem;
    /* Integrates gracefully with previous section transitions */
}

.about-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.about-main-title {
    font-size: clamp(2.15rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.about-narrative {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.collage-frame {
    position: relative;
    height: 100%;
    min-height: 480px;
}

.collage-item {
    position: absolute;
    border-radius: 24px;
    box-shadow: var(--shadow-soft-xl);
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-item:hover {
    transform: scale(1.02);
    z-index: 10 !important;
}

.collage-primary {
    width: 75%;
    height: 85%;
    top: 0;
    right: 0;
    z-index: 1;
}

.collage-secondary {
    width: 55%;
    height: 55%;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 10px solid var(--bg-surface);
}

/* ==========================================================================
           7. DETAILED PREMIUM FOOTER
           ========================================================================== */
/* .footer-premium {
            background-color: #0b0f19;
            color: #94a3b8;
            padding: 6.5rem 0 2.5rem 0;
            font-size: 0.95rem;
        }

        .footer-brand-title {
            font-size: 1.65rem;
            font-weight: 800;
            color: white;
            text-decoration: none;
            display: inline-block;
            margin-bottom: 1.25rem;
            letter-spacing: -0.03em;
        }

        .footer-brand-title span {
            color: var(--brand-accent);
        }

        .footer-premium a {
            transition: color 0.2s ease;
        }

        .footer-premium a:hover {
            color: white !important;
        }

        .newsletter-input-box {
            background-color: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 0.4rem;
        }

        .newsletter-input-box input {
            color: white !important;
        }

        .newsletter-input-box input::placeholder {
            color: #475569;
        } */


/* View all themes page css start  */
/* ==========================================================================
           PAGE-SPECIFIC STYLES FOR THE FEATURED COLLECTION LISTING
           [📝 NOTE: All global styles (Navbar, Footer, Human-Cards, Typography, 
           and color variables) are inherited automatically from your main CSS stylesheet]
           ========================================================================== */

/* 1. MINIMAL LISTING HERO (SLANTED GEOMETRIC ACCENT) */
.listing-hero {
    position: relative;
    padding: 5.5rem 0 7.5rem 0;
    background-color: var(--bg-surface);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.blueprint-ambient-glow {
    position: absolute;
    filter: blur(140px);
    border-radius: 50%;
    opacity: 0.45;
    pointer-events: none;
}

.glow-indigo {
    background-color: #e0e7ff;
    width: 500px;
    height: 500px;
    top: -150px;
    right: 10%;
}

.glow-cyan {
    background-color: #ecfeff;
    width: 450px;
    height: 450px;
    bottom: -50px;
    left: 5%;
}

.breadcrumb-custom {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb-custom a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-custom a:hover {
    color: var(--brand-primary-hover);
}

.listing-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.listing-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* 2. SEARCH & SIDEBAR FILTER CONTROLS */
.search-filter-row {
    background: var(--bg-surface);
    border: 1px solid var(--border-interactive);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-soft-sm);
    margin-bottom: 2.5rem;
}

.filter-search-box {
    position: relative;
    width: 100%;
}

.filter-search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.filter-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-interactive);
    background-color: #f8fafc;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.filter-search-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background-color: var(--bg-surface);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.top-filter-dropdown {
    border: 1px solid var(--border-interactive);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-body);
    background-color: var(--bg-surface);
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.top-filter-dropdown:focus {
    outline: none;
    border-color: var(--brand-primary);
}

/* Category pills list styling */
.category-pills-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    white-space: nowrap;
}

.category-pills-container::-webkit-scrollbar {
    height: 5px;
}

.category-pills-container::-webkit-scrollbar-thumb {
    background-color: var(--border-interactive);
    border-radius: 10px;
}

.pill-category-btn {
    border: 1px solid var(--border-interactive);
    background-color: var(--bg-surface);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-body);
    transition: all 0.2s ease;
}

.pill-category-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.pill-category-btn.active {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

/* 3. SHOWCASE LAYOUT SPACER */
.showcase-content {
    padding-bottom: 8rem;
}

/* 4. CUSTOM PAGINATION MODULE */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination-btn {
    border: 1px solid var(--border-interactive);
    background-color: var(--bg-surface);
    color: var(--text-body);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.pagination-btn.active {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

/* View all themes page css end  */







/* ads banner */

/* ==========================================================================
                   1. LAYOUT RESIZING AND COLLAPSIBLE SIDE BANNER DRAWER STYLES
                   ========================================================================== */

/* Master outer viewport containing the side gutters alongside content */
.details-viewport-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 0 15px;
    margin: 0 auto;
}

/* 📝 Strict max-width container restriction - Redefined to 1000px for zoomed look */
.custom-bounded-container {
    max-width: 1000px !important;
    width: 100%;
    flex-shrink: 0;
}

/* 📝 CORNER PINNED SIDE AD BANNERS (Resolves layout alignment seen in image_463204.jpg)
                   These now float directly on the left and right viewport edges, leaving an elegant gap */
.side-ad-wrapper {
    position: fixed;
    top: 160px;
    /* Pinned comfortably below the header */
    height: auto;
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1), right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
}

.left-ad-outer {
    left: 24px;
}

.left-ad-outer.collapsed {
    left: -160px;
    /* Slides off-screen dynamically */
}

.right-ad-outer {
    right: 24px;
}

.right-ad-outer.collapsed {
    right: -160px;
    /* Slides off-screen dynamically */
}

/* Internal banner placeholders to protect layout inside drawers */
.side-ad-inner {
    width: 160px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft-md);
    border: 1px solid var(--border-interactive);
    background-color: var(--bg-surface);
}

/* Toggle triggers pinned cleanly onto the container borders */
.side-ad-toggle {
    position: absolute;
    top: 30px;
    width: 26px;
    height: 44px;
    background-color: var(--brand-primary);
    color: white;
    border: 1px solid var(--border-interactive);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    padding: 0;
    box-shadow: var(--shadow-soft-sm);
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.side-ad-toggle:hover {
    background-color: var(--brand-primary-hover);
}

.left-ad-outer .side-ad-toggle {
    right: -26px;
    border-radius: 0 8px 8px 0;
}

.right-ad-outer .side-ad-toggle {
    left: -26px;
    border-radius: 8px 0 0 8px;
}

/* Ad creative visual configurations */
.ad-placeholder-600 {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: #e0e7ff;
    padding: 24px 15px;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.ad-placeholder-300 {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #f1f5f9;
    padding: 20px 15px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.ad-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #38bdf8;
    text-transform: uppercase;
}

.ad-banner-title {
    font-size: 1rem;
    font-weight: 800;
    margin-top: 10px;
    line-height: 1.3;
}

.ad-banner-text {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 10px;
    line-height: 1.4;
}

/* 📝 Screen Breaker Requirement - Pushes side gutters off screen under 1240px width */
@media (max-width: 1240px) {
    .side-ad-wrapper {
        display: none !important;
    }
}

/* ==========================================================================
                   2. FLUSH FIXED BOTTOM BANNER WITH RESPONSIVE SIZES
                   ========================================================================== */

#bottom-flush-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1040;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-interactive);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: visible;
}

/* Slides banner cleanly down off-screen when collapsed */
#bottom-flush-banner.collapsed {
    transform: translate(-50%, 100%);
}

/* Responsive sizing slots */
@media (min-width: 768px) {
    #bottom-flush-banner {
        width: 728px;
        height: 90px;
    }

    .bottom-ad-desktop {
        display: block;
    }

    .bottom-ad-mobile {
        display: none;
    }
}

@media (max-width: 767.98px) {
    #bottom-flush-banner {
        width: 320px;
        height: 50px;
    }

    .bottom-ad-desktop {
        display: none;
    }

    .bottom-ad-mobile {
        display: block;
    }
}

/* Toggle control tab bound to the top border */
.bottom-ad-toggle-tab {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: white;
    border: 1px solid var(--border-interactive);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    width: 54px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    transition: background-color 0.2s;
}

.bottom-ad-toggle-tab:hover {
    background-color: var(--brand-primary-hover);
}

.bottom-ad-creative {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
    font-size: 0.85rem;
}

/* ==========================================================================
                   3. PREMIUM COVER IMAGE HOVER & INTERACTION UTILITIES
                   ========================================================================== */

.browser-preview-shell {
    background: var(--bg-surface);
    border: 1px solid var(--border-interactive);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft-lg);
    margin-bottom: 1.5rem;
    position: relative;
}

/* Interactive browser window control dots */
.browser-top-bar {
    background-color: #f1f5f9;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-interactive);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.browser-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red {
    background-color: #ef4444;
}

.dot-yellow {
    background-color: #eab308;
}

.dot-green {
    background-color: #22c55e;
}

/* Elegant Mock Address Bar inside the top frame for a non-AI human feel */
.browser-address-bar {
    flex-grow: 1;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.15rem 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: monospace;
}

/* 📝 OPTIMIZED BROWSER PREVIEW VIEWPORT
                   Heavily restricted height (380px) to prevent screen dominance, solving image_50b24b.jpg issue */
.browser-preview-viewport {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
}

.browser-preview-viewport img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Beautiful cropped presentation fit */
    display: block;
    transition: transform 0.5s ease-in-out;
}

/* Elegant Hover Wrapper Zoom */
.image-hover-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-hover-wrapper:hover .browser-preview-viewport img {
    transform: scale(1.03);
    /* Subtle premium interaction motion */
}

/* Single Action Button row under image preview shell - NO Redundant duplicates */
.preview-action-row {
    margin-bottom: 2rem;
}

.preview-action-row .btn {
    padding: 0.7rem 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.preview-action-row .btn-primary:hover {
    background-color: var(--brand-primary-hover);
    transform: translateY(-1px);
}

.preview-action-row .btn-outline-dark:hover {
    background-color: var(--text-main);
    color: white;
    transform: translateY(-1px);
}