/**
 * Hero Section - Slim Premium Landscape Marketplace Design
 * Location: /wp-content/plugins/daf-marketplace/assets/css/hero-section.css
 */

.daf-mp-hero-section {
    --daf-hero-max: 1320px;
    --daf-hero-pad-y: calc(1.35rem + 20px);
    --daf-hero-pad-x: 2rem;
    --daf-hero-gap: 1.55rem;

    --daf-hero-visual-w: 430px;
    --daf-hero-visual-h: 210px;
    --daf-hero-visual-radius: 18px;

    --daf-hero-badge-fs: 0.66rem;
    --daf-hero-badge-h: 28px;
    --daf-hero-badge-mb: 0.72rem;

    --daf-hero-title-max: 700px;
    --daf-hero-title-fs: clamp(1.82rem, 3.05vw, 2.99rem);
    --daf-hero-title-mb: 15px;

    --daf-hero-subtitle-max: 610px;
    --daf-hero-subtitle-fs: 0.86rem;
    --daf-hero-subtitle-mb: 0.88rem;

    --daf-hero-search-w: 680px;
--daf-hero-search-h: 32px;
--daf-hero-search-shell-h: 38px;
--daf-hero-search-pad: 3px;
--daf-hero-search-fs: 0.66rem;
--daf-hero-search-cat: 132px;
--daf-hero-search-btn: 76px;

    --daf-showcase-header-h: 34px;
    --daf-showcase-body-h: 176px;
    --daf-showcase-copy-title: 1.22rem;
    --daf-showcase-copy-text: 0.62rem;
    --daf-showcase-btn-h: 29px;
    --daf-showcase-products-h: 145px;
    --daf-showcase-products-w: 150px;

    --daf-card-theme-w: 132px;
    --daf-card-theme-h: 42px;
    --daf-card-plugin-w: 126px;
    --daf-card-plugin-h: 42px;
    --daf-card-template-w: 138px;
    --daf-card-template-h: 42px;

    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: var(--daf-hero-pad-y) var(--daf-hero-pad-x);
    background:
        radial-gradient(circle at 88% 14%, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0) 34%),
        radial-gradient(circle at 8% 88%, rgba(20, 184, 166, 0.16) 0%, rgba(20, 184, 166, 0) 32%),
        linear-gradient(135deg, #06101d 0%, #0d1727 48%, #06231f 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
}

.daf-mp-hero-section,
.daf-mp-hero-section *,
.daf-mp-hero-section *::before,
.daf-mp-hero-section *::after {
    box-sizing: border-box;
}

/* Layout */
.daf-mp-hero-container {
    position: relative;
    z-index: 10;
    width: min(100%, var(--daf-hero-max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--daf-hero-visual-w));
    align-items: center;
    gap: var(--daf-hero-gap);
    min-width: 0;
}

.daf-mp-hero-content,
.daf-mp-hero-visual {
    min-width: 0;
    max-width: 100%;
}

.daf-mp-hero-content {
    animation: daf-hero-slide-in 0.65s ease-out both;
}

.daf-mp-hero-visual {
    align-self: center;
    animation: daf-hero-fade-in-right 0.72s ease-out 0.06s both;
}

/* Badge */
.daf-mp-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.44rem;
    max-width: 100%;
    min-height: var(--daf-hero-badge-h);
    padding: 0.34rem 0.85rem;
    margin: 0 0 var(--daf-hero-badge-mb);
    color: #21d894;
    background: rgba(16, 185, 129, 0.105);
    border: 1px solid rgba(34, 211, 153, 0.4);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.08);
    font-size: var(--daf-hero-badge-fs);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.043em;
    text-transform: uppercase;
    white-space: normal;
}

.daf-mp-hero-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    color: #21d894;
    line-height: 1;
    flex: 0 0 auto;
}

/* Text */
.daf-mp-hero-title {
    max-width: var(--daf-hero-title-max);
    margin: 0 0 var(--daf-hero-title-mb);
    color: #ffffff;
    font-size: var(--daf-hero-title-fs);
    font-weight: 950;
    line-height: 1.06;
    letter-spacing: -0.052em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.daf-mp-hero-highlight {
    color: #16c987;
}

.daf-mp-hero-subtitle {
    max-width: var(--daf-hero-subtitle-max);
    margin: 0 0 var(--daf-hero-subtitle-mb);
    color: #bcc8d7;
    font-size: var(--daf-hero-subtitle-fs);
    font-weight: 450;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

/* Search */
.daf-mp-hero-search-wrapper {
    width: min(100%, var(--daf-hero-search-w));
    min-width: 0;
}

.daf-mp-hero-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: var(--daf-hero-search-shell-h);
    min-height: 0;
    margin: 0 0 0.46rem;
    padding: var(--daf-hero-search-pad);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.daf-mp-search-category {
    flex: 0 0 var(--daf-hero-search-cat);
    min-width: 0;
}

.daf-mp-search-select {
    width: 100%;
    height: var(--daf-hero-search-h);
    padding: 0 0.58rem;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.052);
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px 0 0 8px;
    outline: none;
    cursor: pointer;
    font-size: var(--daf-hero-search-fs);
    font-weight: 800;
    line-height: 1;
    appearance: auto;
}

.daf-mp-search-select:focus,
.daf-mp-search-select:active {
    color: #ffffff;
    background-color: rgba(15, 32, 45, 0.98);
}

.daf-mp-search-select option,
.daf-mp-search-select optgroup {
    color: #111827;
    background: #ffffff;
    font-weight: 650;
}

.daf-mp-search-select option:checked {
    color: #064e3b;
    background: #d1fae5;
}

.daf-mp-search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    flex: 1 1 auto;
    min-width: 0;
    height: var(--daf-hero-search-h);
    padding-left: 0.44rem;
}

.daf-mp-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: var(--daf-hero-search-h);
    padding: 0;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    background: transparent;
    border: 0;
    outline: none;
    font-size: var(--daf-hero-search-fs);
    font-weight: 520;
    line-height: var(--daf-hero-search-h);
}

.daf-mp-search-input::placeholder {
    color: rgba(203, 213, 225, 0.68);
    font-size: calc(var(--daf-hero-search-fs) - 0.03rem);
    font-weight: 600;
}

.daf-mp-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    flex: 0 0 auto;
    min-width: var(--daf-hero-search-btn);
    height: calc(var(--daf-hero-search-h) - 6px);
    padding: 0 0.42rem;
    color: #ffffff;
    background: linear-gradient(135deg, #17c98a 0%, #059669 100%);
    border: 0;
    border-radius: 7px;
    outline: none;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(16, 185, 129, 0.22);
    font-size: calc(var(--daf-hero-search-fs) - 0.02rem);
    font-weight: 900;
    line-height: 1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.daf-mp-search-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.3);
    filter: saturate(1.05);
}

.daf-mp-search-icon {
    line-height: 1;
}

/* Popular tags */
.daf-mp-popular-searches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.38rem;
    max-width: var(--daf-hero-search-w);
}

.daf-mp-popular-label {
    color: rgba(203, 213, 225, 0.84);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.daf-mp-popular-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0.24rem 0.56rem;
    color: #e1ebf5;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.daf-mp-popular-tag:hover {
    color: #34d399;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(52, 211, 153, 0.46);
    transform: translateY(-1px);
}

/* Showcase */
.daf-mp-hero-showcase {
    position: relative;
    width: min(100%, var(--daf-hero-visual-w));
    margin-left: auto;
}

.daf-mp-showcase-window {
    position: relative;
    width: 100%;
    min-height: var(--daf-hero-visual-h);
    border: 1px solid rgba(226, 232, 240, 0.33);
    border-radius: var(--daf-hero-visual-radius);
    background:
        radial-gradient(circle at 86% 18%, rgba(52, 211, 153, 0.18) 0%, rgba(52, 211, 153, 0) 37%),
        linear-gradient(145deg, rgba(7, 18, 33, 0.99), rgba(8, 31, 36, 0.99));
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.daf-mp-showcase-window::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.075), transparent 28%, transparent 72%, rgba(52, 211, 153, 0.08)),
        radial-gradient(circle at 73% 71%, rgba(109, 40, 217, 0.22), transparent 35%);
    opacity: 0.78;
}

.daf-mp-showcase-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.42rem;
    height: var(--daf-showcase-header-h);
    padding: 0 0.75rem;
    min-width: 0;
    background: rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.daf-mp-browser-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.daf-mp-browser-dot.red {
    background: #ef4444;
}

.daf-mp-browser-dot.yellow {
    background: #f59e0b;
}

.daf-mp-browser-dot.green {
    background: #10b981;
}

.daf-mp-showcase-tabs {
    display: flex;
    align-items: center;
    gap: 0.74rem;
    min-width: 0;
    margin-left: 0.58rem;
    color: #cbd5e1;
    font-size: 0.5rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
}

.daf-mp-showcase-tabs span:not(.daf-mp-showcase-deal) {
    opacity: 0.88;
}

.daf-mp-showcase-deal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 19px;
    padding: 0 0.56rem;
    color: #ffffff;
    background: linear-gradient(135deg, #16c987, #059669);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.24);
}

.daf-mp-showcase-body {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(110px, 0.9fr);
    align-items: center;
    gap: 0.72rem;
    min-height: var(--daf-showcase-body-h);
    padding: 0.82rem 0.78rem;
}

.daf-mp-showcase-copy {
    min-width: 0;
}

.daf-mp-showcase-copy h2 {
    margin: 0 0 0.42rem;
    color: #ffffff;
    font-size: var(--daf-showcase-copy-title);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.048em;
}

.daf-mp-showcase-copy h2 span,
.daf-mp-showcase-copy h2 strong {
    display: block;
}

.daf-mp-showcase-copy h2 strong {
    color: #16c987;
}

.daf-mp-showcase-copy p {
    max-width: 165px;
    margin: 0 0 0.62rem;
    color: #b8c4d3;
    font-size: var(--daf-showcase-copy-text);
    font-weight: 550;
    line-height: 1.42;
}

.daf-mp-showcase-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--daf-showcase-btn-h);
    padding: 0 0.76rem;
    color: #ffffff;
    background: linear-gradient(135deg, #16c987, #059669);
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.26);
    font-size: 0.6rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.daf-mp-showcase-products {
    position: relative;
    width: 100%;
    max-width: var(--daf-showcase-products-w);
    min-height: var(--daf-showcase-products-h);
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.38rem;
}

.daf-mp-showcase-product {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
    transform: none !important;
}

.daf-mp-showcase-product--theme {
    width: var(--daf-card-theme-w);
    height: var(--daf-card-theme-h);
    padding: 0.48rem 0.56rem;
    background:
        radial-gradient(circle at 86% 24%, rgba(59, 130, 246, 0.34), transparent 34%),
        linear-gradient(135deg, #111827, #172554 72%, #0f172a);
}

.daf-mp-showcase-product--plugin {
    width: var(--daf-card-plugin-w);
    height: var(--daf-card-plugin-h);
    padding: 0.48rem 0.56rem;
    color: #111827;
    background:
        radial-gradient(circle at 82% 46%, rgba(20, 184, 166, 0.26), transparent 38%),
        linear-gradient(135deg, #f8fafc, #ccfbf1 68%, #ecfeff);
}

.daf-mp-showcase-product--template {
    width: var(--daf-card-template-w);
    height: var(--daf-card-template-h);
    padding: 0.48rem 0.56rem;
    background:
        radial-gradient(circle at 85% 45%, rgba(168, 85, 247, 0.32), transparent 38%),
        linear-gradient(135deg, #241445, #432874 58%, #2e1065);
}

.daf-mp-showcase-brand {
    display: block;
    margin-bottom: 0.2rem;
    color: #22c98b;
    font-size: 0.56rem;
    font-weight: 950;
    line-height: 1;
}

.daf-mp-showcase-product--theme strong,
.daf-mp-showcase-product--template strong {
    display: block;
    color: #ffffff;
    font-size: 0.42rem;
    font-weight: 850;
    line-height: 1.16;
}

.daf-mp-showcase-product--plugin strong {
    display: block;
    color: #111827;
    font-size: 0.52rem;
    font-weight: 950;
    line-height: 1.1;
}

.daf-mp-showcase-product--theme small,
.daf-mp-showcase-product--template small {
    display: block;
    margin-top: 0.16rem;
    color: #aab7c7;
    font-size: 0.36rem;
    line-height: 1.18;
}

.daf-mp-showcase-product--template small {
    color: #d8c8ff;
}

.daf-mp-showcase-pro {
    position: absolute;
    top: 0.28rem;
    right: 0.34rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 12px;
    padding: 0 0.26rem;
    color: #ffffff;
    background: #14b8a6;
    border-radius: 999px;
    font-size: 0.3rem;
    font-weight: 950;
}

.daf-mp-showcase-product-art,
.daf-mp-showcase-cube,
.daf-mp-showcase-mini-icons {
    display: none;
}

/* Decoration */
.daf-mp-hero-bg-decoration {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.daf-mp-hero-bg-circle {
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%);
    filter: blur(34px);
}

.daf-mp-circle-1 {
    width: 380px;
    height: 380px;
    top: -190px;
    right: -155px;
}

.daf-mp-circle-2 {
    width: 280px;
    height: 280px;
    bottom: -145px;
    left: -130px;
}

/* Large desktop */
@media (min-width: 1440px) {
    .daf-mp-hero-section {
        --daf-hero-max: 1360px;
        --daf-hero-pad-y: calc(1.45rem + 20px);
        --daf-hero-visual-w: 455px;
        --daf-hero-visual-h: 218px;
        --daf-hero-title-fs: clamp(1.96rem, 3.05vw, 3.16rem);
        --daf-showcase-body-h: 184px;
        --daf-showcase-products-h: 152px;
        --daf-showcase-products-w: 156px;
    }
}

/* Laptop */
@media (max-width: 1280px) {
    .daf-mp-hero-section {
        --daf-hero-pad-y: calc(1.15rem + 20px);
        --daf-hero-pad-x: 1.35rem;
        --daf-hero-gap: 1.18rem;

        --daf-hero-visual-w: 398px;
        --daf-hero-visual-h: 190px;

        --daf-hero-title-max: 640px;
        --daf-hero-title-fs: clamp(1.64rem, 3.05vw, 2.54rem);
        --daf-hero-subtitle-fs: 0.8rem;

        --daf-hero-search-w: 650px;
        --daf-hero-search-h: 34px;
        --daf-hero-search-shell-h: 40px;
        --daf-hero-search-fs: 0.68rem;
        --daf-hero-search-cat: 132px;
        --daf-hero-search-btn: 80px;

        --daf-showcase-header-h: 31px;
        --daf-showcase-body-h: 159px;
        --daf-showcase-copy-title: 1.05rem;
        --daf-showcase-copy-text: 0.54rem;
        --daf-showcase-btn-h: 25px;
        --daf-showcase-products-h: 130px;
        --daf-showcase-products-w: 136px;

        --daf-card-theme-w: 118px;
        --daf-card-theme-h: 38px;
        --daf-card-plugin-w: 112px;
        --daf-card-plugin-h: 38px;
        --daf-card-template-w: 122px;
        --daf-card-template-h: 38px;
    }
}

/* Tablet landscape - same desktop style */
@media (max-width: 1024px) {
    .daf-mp-hero-section {
        --daf-hero-pad-y: 0.85rem;
        --daf-hero-pad-x: 0.85rem;
        --daf-hero-gap: 0.72rem;

        --daf-hero-max: 930px;
        --daf-hero-visual-w: 305px;
        --daf-hero-visual-h: 148px;
        --daf-hero-visual-radius: 14px;

        --daf-hero-badge-fs: 0.46rem;
        --daf-hero-badge-h: 22px;
        --daf-hero-badge-mb: 0.42rem;

        --daf-hero-title-max: 470px;
        --daf-hero-title-fs: clamp(1.13rem, 2.85vw, 1.76rem);
        --daf-hero-title-mb: 0.32rem;

        --daf-hero-subtitle-max: 430px;
        --daf-hero-subtitle-fs: 0.6rem;
        --daf-hero-subtitle-mb: 0.46rem;

        --daf-hero-search-w: 520px;
        --daf-hero-search-h: 24px;
        --daf-hero-search-shell-h: 29px;
        --daf-hero-search-pad: 0.14rem;
        --daf-hero-search-fs: 0.46rem;
        --daf-hero-search-cat: 90px;
        --daf-hero-search-btn: 56px;

        --daf-showcase-header-h: 24px;
        --daf-showcase-body-h: 123px;
        --daf-showcase-copy-title: 0.72rem;
        --daf-showcase-copy-text: 0.38rem;
        --daf-showcase-btn-h: 16px;
        --daf-showcase-products-h: 92px;
        --daf-showcase-products-w: 95px;

        --daf-card-theme-w: 82px;
        --daf-card-theme-h: 26px;
        --daf-card-plugin-w: 76px;
        --daf-card-plugin-h: 26px;
        --daf-card-template-w: 86px;
        --daf-card-template-h: 26px;
    }

    .daf-mp-popular-searches {
        display: none;
    }

    .daf-mp-showcase-tabs {
        gap: 0.32rem;
        margin-left: 0.24rem;
        font-size: 0.28rem;
    }

    .daf-mp-showcase-tabs span:not(.daf-mp-showcase-deal):nth-child(n+4) {
        display: none;
    }

    .daf-mp-showcase-copy p {
        max-width: 108px;
    }

    .daf-mp-showcase-button {
        font-size: 0.42rem;
        padding-inline: 0.46rem;
    }
}

/* Tablet portrait + large mobile - same desktop style */
@media (max-width: 820px) {
    .daf-mp-hero-section {
        --daf-hero-pad-y: 0.72rem;
        --daf-hero-pad-x: 0.7rem;
        --daf-hero-gap: 0.56rem;

        --daf-hero-visual-w: 235px;
        --daf-hero-visual-h: 122px;

        --daf-hero-badge-fs: 0.38rem;
        --daf-hero-badge-h: 19px;
        --daf-hero-badge-mb: 0.32rem;

        --daf-hero-title-max: 390px;
        --daf-hero-title-fs: clamp(0.95rem, 2.85vw, 1.36rem);
        --daf-hero-title-mb: 0.24rem;

        --daf-hero-subtitle-max: 350px;
        --daf-hero-subtitle-fs: 0.5rem;
        --daf-hero-subtitle-mb: 0.36rem;

        --daf-hero-search-w: 420px;
        --daf-hero-search-h: 21px;
        --daf-hero-search-shell-h: 26px;
        --daf-hero-search-pad: 0.12rem;
        --daf-hero-search-fs: 0.4rem;
        --daf-hero-search-cat: 74px;
        --daf-hero-search-btn: 26px;

        --daf-showcase-header-h: 20px;
        --daf-showcase-body-h: 101px;
        --daf-showcase-copy-title: 0.58rem;
        --daf-showcase-copy-text: 0.31rem;
        --daf-showcase-btn-h: 14px;
        --daf-showcase-products-h: 78px;
        --daf-showcase-products-w: 76px;

        --daf-card-theme-w: 66px;
        --daf-card-theme-h: 22px;
        --daf-card-plugin-w: 62px;
        --daf-card-plugin-h: 22px;
        --daf-card-template-w: 70px;
        --daf-card-template-h: 22px;
    }

    .daf-mp-search-text {
        display: none;
    }

    .daf-mp-showcase-tabs span:not(.daf-mp-showcase-deal):nth-child(n+3) {
        display: none;
    }

    .daf-mp-showcase-copy p {
        max-width: 88px;
    }

    .daf-mp-showcase-button {
        font-size: 0.34rem;
        padding-inline: 0.34rem;
    }
}

/* Mobile portrait - same desktop row */
@media (max-width: 540px) {
    .daf-mp-hero-section {
        --daf-hero-pad-y: 0.66rem;
        --daf-hero-pad-x: 0.58rem;
        --daf-hero-gap: 0.42rem;

        --daf-hero-visual-w: 150px;
        --daf-hero-visual-h: 94px;

        --daf-hero-badge-fs: 0.32rem;
        --daf-hero-badge-h: 17px;
        --daf-hero-badge-mb: 0.24rem;

        --daf-hero-title-max: 235px;
        --daf-hero-title-fs: clamp(0.7rem, 4.15vw, 1rem);
        --daf-hero-title-mb: 0.18rem;

        --daf-hero-subtitle-max: 225px;
        --daf-hero-subtitle-fs: 0.36rem;
        --daf-hero-subtitle-mb: 0.22rem;

        --daf-hero-search-w: 100%;
        --daf-hero-search-h: 18px;
--daf-hero-search-shell-h: 24px;
--daf-hero-search-pad: 3px;
--daf-hero-search-fs: 0.32rem;
--daf-hero-search-cat: 58px;
--daf-hero-search-btn: 18px;

        --daf-showcase-header-h: 17px;
        --daf-showcase-body-h: 77px;
        --daf-showcase-copy-title: 0.46rem;
        --daf-showcase-copy-text: 0.26rem;
        --daf-showcase-btn-h: 12px;
        --daf-showcase-products-h: 60px;
        --daf-showcase-products-w: 58px;

        --daf-card-theme-w: 52px;
        --daf-card-theme-h: 17px;
        --daf-card-plugin-w: 48px;
        --daf-card-plugin-h: 17px;
        --daf-card-template-w: 54px;
        --daf-card-template-h: 17px;
    }

    .daf-mp-search-select {
        padding-inline: 0.24rem;
    }

    .daf-mp-search-input-wrapper {
        gap: 0.12rem;
        padding-left: 0.18rem;
    }

    .daf-mp-search-button {
        padding: 0;
    }

    .daf-mp-showcase-body {
        grid-template-columns: minmax(0, 0.94fr) minmax(54px, 0.76fr);
        gap: 0.34rem;
        padding: 0.42rem;
    }

    .daf-mp-showcase-copy p {
        max-width: 68px;
        margin-bottom: 0.22rem;
    }

    .daf-mp-showcase-button {
        font-size: 0.26rem;
        padding-inline: 0.24rem;
        min-height: 11px;
        border-radius: 5px;
    }

    .daf-mp-showcase-tabs {
        gap: 0.18rem;
        margin-left: 0.18rem;
        font-size: 0.2rem;
    }

    .daf-mp-showcase-deal {
        min-height: 12px;
        padding-inline: 0.26rem;
    }

    .daf-mp-showcase-brand {
        font-size: 0.26rem;
        margin-bottom: 0.08rem;
    }

    .daf-mp-showcase-product--theme strong,
    .daf-mp-showcase-product--template strong {
        font-size: 0.18rem;
    }

    .daf-mp-showcase-product--plugin strong {
        font-size: 0.24rem;
    }

    .daf-mp-showcase-product--theme small,
    .daf-mp-showcase-product--template small {
        display: none;
    }

    .daf-mp-showcase-pro {
        display: none;
    }
}

/* Extra small */
@media (max-width: 360px) {
    .daf-mp-hero-section {
        --daf-hero-pad-x: 0.48rem;
        --daf-hero-gap: 0.34rem;

        --daf-hero-visual-w: 130px;
        --daf-hero-visual-h: 82px;

        --daf-hero-title-fs: clamp(0.64rem, 4vw, 0.9rem);
        --daf-hero-subtitle-fs: 0.32rem;

        --daf-hero-search-cat: 52px;
--daf-hero-search-h: 17px;
--daf-hero-search-shell-h: 23px;
--daf-hero-search-fs: 0.3rem;
--daf-hero-search-btn: 17px;

        --daf-showcase-products-w: 50px;
        --daf-card-theme-w: 45px;
        --daf-card-theme-h: 15px;
        --daf-card-plugin-w: 42px;
        --daf-card-plugin-h: 15px;
        --daf-card-template-w: 47px;
        --daf-card-template-h: 15px;
    }

    .daf-mp-showcase-copy p {
        max-width: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .daf-mp-hero-content,
    .daf-mp-hero-visual,
    .daf-mp-search-button,
    .daf-mp-popular-tag {
        animation: none !important;
        transition: none !important;
    }
}

@keyframes daf-hero-slide-in {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes daf-hero-fade-in-right {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================================
   Hero Search Mobile Height Hard Fix
   Fix select/category height overriding slim search bar
   ========================================================= */

@media (max-width: 540px) {
    .daf-mp-hero-section {
        --daf-hero-search-h: 18px;
        --daf-hero-search-shell-h: 24px;
        --daf-hero-search-pad: 2px;
        --daf-hero-search-fs: 0.3rem;
        --daf-hero-search-cat: 58px;
        --daf-hero-search-btn: 18px;
    }

    .daf-mp-hero-search-form {
        height: var(--daf-hero-search-shell-h) !important;
        min-height: var(--daf-hero-search-shell-h) !important;
        max-height: var(--daf-hero-search-shell-h) !important;
        padding: var(--daf-hero-search-pad) !important;
        align-items: center !important;
        overflow: hidden;
    }

    .daf-mp-search-category {
        flex: 0 0 var(--daf-hero-search-cat) !important;
        width: var(--daf-hero-search-cat) !important;
        height: var(--daf-hero-search-h) !important;
        min-height: var(--daf-hero-search-h) !important;
        max-height: var(--daf-hero-search-h) !important;
        display: flex !important;
        align-items: center !important;
        overflow: hidden;
    }

    .daf-mp-search-select {
        display: block !important;
        width: 100% !important;
        height: var(--daf-hero-search-h) !important;
        min-height: var(--daf-hero-search-h) !important;
        max-height: var(--daf-hero-search-h) !important;
        padding: 0 0.22rem !important;
        margin: 0 !important;
        border-radius: 6px 0 0 6px !important;
        font-size: var(--daf-hero-search-fs) !important;
        line-height: var(--daf-hero-search-h) !important;
        background-color: rgba(255, 255, 255, 0.052) !important;
        box-shadow: none !important;
        vertical-align: middle !important;
    }

    .daf-mp-search-input-wrapper {
        height: var(--daf-hero-search-h) !important;
        min-height: var(--daf-hero-search-h) !important;
        max-height: var(--daf-hero-search-h) !important;
        padding-left: 0.18rem !important;
        align-items: center !important;
    }

    .daf-mp-search-input {
        height: var(--daf-hero-search-h) !important;
        min-height: var(--daf-hero-search-h) !important;
        max-height: var(--daf-hero-search-h) !important;
        font-size: var(--daf-hero-search-fs) !important;
        line-height: var(--daf-hero-search-h) !important;
    }

    .daf-mp-search-input::placeholder {
        font-size: 0.28rem !important;
        line-height: var(--daf-hero-search-h) !important;
    }

    .daf-mp-search-button {
        min-width: var(--daf-hero-search-btn) !important;
        width: var(--daf-hero-search-btn) !important;
        height: 16px !important;
        min-height: 16px !important;
        max-height: 16px !important;
        padding: 0 !important;
        border-radius: 6px !important;
        font-size: 0.28rem !important;
        line-height: 1 !important;
    }
}

@media (max-width: 360px) {
    .daf-mp-hero-section {
        --daf-hero-search-h: 17px;
        --daf-hero-search-shell-h: 23px;
        --daf-hero-search-cat: 52px;
        --daf-hero-search-btn: 17px;
    }

    .daf-mp-search-button {
        height: 15px !important;
        min-height: 15px !important;
        max-height: 15px !important;
    }
}

/* =========================================================
   Hero Search Height Hard Fix - All Devices
   Prevent theme/global form styles from forcing select height
   ========================================================= */

.daf-mp-hero-section .daf-mp-hero-search-form {
    height: var(--daf-hero-search-shell-h) !important;
    min-height: var(--daf-hero-search-shell-h) !important;
    max-height: var(--daf-hero-search-shell-h) !important;
    padding: var(--daf-hero-search-pad) !important;
    align-items: center !important;
    overflow: hidden !important;
}

.daf-mp-hero-section .daf-mp-search-category {
    flex: 0 0 var(--daf-hero-search-cat) !important;
    width: var(--daf-hero-search-cat) !important;
    height: var(--daf-hero-search-h) !important;
    min-height: var(--daf-hero-search-h) !important;
    max-height: var(--daf-hero-search-h) !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

.daf-mp-hero-section .daf-mp-search-select {
    display: block !important;
    width: 100% !important;
    height: var(--daf-hero-search-h) !important;
    min-height: var(--daf-hero-search-h) !important;
    max-height: var(--daf-hero-search-h) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    border-radius: 8px 0 0 8px !important;
    font-size: var(--daf-hero-search-fs) !important;
    line-height: var(--daf-hero-search-h) !important;
    background-color: rgba(255, 255, 255, 0.052) !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

.daf-mp-hero-section .daf-mp-search-input-wrapper {
    height: var(--daf-hero-search-h) !important;
    min-height: var(--daf-hero-search-h) !important;
    max-height: var(--daf-hero-search-h) !important;
    align-items: center !important;
}

.daf-mp-hero-section .daf-mp-search-input {
    height: var(--daf-hero-search-h) !important;
    min-height: var(--daf-hero-search-h) !important;
    max-height: var(--daf-hero-search-h) !important;
    font-size: var(--daf-hero-search-fs) !important;
    line-height: var(--daf-hero-search-h) !important;
}

.daf-mp-hero-section .daf-mp-search-input::placeholder {
    font-size: calc(var(--daf-hero-search-fs) - 0.03rem) !important;
    line-height: var(--daf-hero-search-h) !important;
}

.daf-mp-hero-section .daf-mp-search-button {
    min-width: var(--daf-hero-search-btn) !important;
    height: calc(var(--daf-hero-search-h) - 6px) !important;
    min-height: calc(var(--daf-hero-search-h) - 6px) !important;
    max-height: calc(var(--daf-hero-search-h) - 6px) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
}

.daf-mp-hero-section .daf-mp-search-input,
.daf-mp-hero-section .daf-mp-search-input:focus,
.daf-mp-hero-section .daf-mp-search-input:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
}