/* =========================================================
   Pixell.bg — homepage visual/mobile fixes
   Version: 1.4.0
========================================================= */

/*
 * Шест различни пастелни цвята.
 * Няма повторение между:
 * Детски рожден ден / Кръщене / Месечинка.
 */

body.pixell-site .occasion-blue {
    background:
        linear-gradient(
            145deg,
            #f4faff 0%,
            #e7f3fb 100%
        ) !important;
    border-color: #d3e7f3 !important;
}

body.pixell-site .occasion-mint {
    background:
        linear-gradient(
            145deg,
            #f7fcf8 0%,
            #eaf6ed 100%
        ) !important;
    border-color: #d5e9d9 !important;
}

body.pixell-site .occasion-lavender {
    background:
        linear-gradient(
            145deg,
            #fbf9fe 0%,
            #f0ebfa 100%
        ) !important;
    border-color: #dfd6f1 !important;
}

body.pixell-site .occasion-peach {
    background:
        linear-gradient(
            145deg,
            #fffaf0 0%,
            #fff0d4 100%
        ) !important;
    border-color: #f0deba !important;
}

/* Кръщене — нежно пудрено розово */

body.pixell-site .occasion-baby-blue {
    background:
        linear-gradient(
            145deg,
            #fffafb 0%,
            #f8eaf0 100%
        ) !important;
    border-color: #ecd3dd !important;
}

/* Месечинка — мек синьо-сив нюанс */

body.pixell-site .occasion-sky {
    background:
        linear-gradient(
            145deg,
            #fafbfe 0%,
            #e9eef6 100%
        ) !important;
    border-color: #d7e0ed !important;
}

/*
 * На телефон hotspot подсказките се скриват.
 * Информацията вече присъства в трите benefit карти,
 * а телефонът остава чист и без бял застъпващ панел.
 */

@media (max-width: 650px) {
    body.pixell-site .home-video-hotspot,
    body.pixell-site
    .home-video-hotspot-tooltip {
        display: none !important;
    }

    body.pixell-site .home-video-lux-screen {
        overflow: hidden !important;
    }

    body.pixell-site .home-video-lux-stage {
        overflow: visible;
    }
}

/* =========================================================
   Gender Reveal — 3D image matching the occasion cards
========================================================= */

body.pixell-site .gender-reveal-feature {
    position: relative;
    display: grid;
    min-height: 318px;
    margin-top: 28px;
    padding: clamp(30px, 4vw, 54px);
    overflow: hidden;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(320px, 0.78fr);
    align-items: center;
    gap: clamp(28px, 5vw, 74px);
    color: #24344d;
    background:
        radial-gradient(
            circle at 10% 16%,
            rgba(255, 255, 255, 0.92),
            transparent 15rem
        ),
        linear-gradient(
            135deg,
            #fff7fa 0%,
            #fcedf4 43%,
            #f6fbff 61%,
            #eaf6fd 100%
        );
    border: 1px solid rgba(36, 52, 77, 0.08);
    border-radius: 27px;
    box-shadow:
        0 20px 47px rgba(36, 52, 77, 0.09);
    text-decoration: none;
    isolation: isolate;
    transition:
        box-shadow 220ms ease,
        transform 220ms ease;
}

body.pixell-site .gender-reveal-feature::before {
    position: absolute;
    top: -80px;
    right: -70px;
    z-index: 0;
    width: 310px;
    height: 310px;
    content: "";
    pointer-events: none;
    background:
        radial-gradient(
            circle,
            rgba(158, 213, 241, 0.22),
            transparent 69%
        );
    border-radius: 50%;
}

body.pixell-site .gender-reveal-feature:hover {
    color: #24344d;
    box-shadow:
        0 29px 62px rgba(36, 52, 77, 0.14);
    transform: translateY(-5px);
}

body.pixell-site .gender-reveal-feature:focus-visible {
    outline: 4px solid rgba(89, 157, 200, 0.27);
    outline-offset: 4px;
}

body.pixell-site .gender-reveal-copy {
    position: relative;
    z-index: 2;
    display: flex;
    max-width: 610px;
    flex-direction: column;
    align-items: flex-start;
}

body.pixell-site .gender-reveal-label {
    display: inline-flex;
    min-height: 29px;
    padding: 7px 11px;
    align-items: center;
    color: #734052;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(114, 64, 82, 0.13);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.10em;
}

body.pixell-site .gender-reveal-title {
    max-width: 600px;
    margin-top: 15px;
    color: #24344d;
    font-family: "Nunito", Arial, sans-serif;
    font-size: clamp(34px, 4vw, 55px);
    font-weight: 950;
    line-height: 1.03;
    letter-spacing: -0.04em;
}

body.pixell-site .gender-reveal-description {
    max-width: 560px;
    margin-top: 14px;
    color: #53657c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
}

body.pixell-site .gender-reveal-link {
    display: inline-flex;
    min-height: 48px;
    margin-top: 23px;
    padding: 12px 18px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #ffffff;
    background: #24344d;
    border-radius: 13px;
    box-shadow:
        0 12px 25px rgba(36, 52, 77, 0.17);
    font-size: 11px;
    font-weight: 950;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

body.pixell-site
.gender-reveal-feature:hover
.gender-reveal-link {
    background: #172a45;
    transform: translateX(3px);
}

body.pixell-site .gender-reveal-image-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(100%, 540px);
    justify-self: end;
    place-items: center;
}

body.pixell-site .gender-reveal-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    filter:
        drop-shadow(
            0 18px 22px rgba(36, 52, 77, 0.11)
        );
    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0, 0, 0, 0.78) 8%,
            #000 18%,
            #000 100%
        );
    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0, 0, 0, 0.78) 8%,
            #000 18%,
            #000 100%
        );
    transition: transform 260ms ease;
}

body.pixell-site
.gender-reveal-feature:hover
.gender-reveal-image-wrap img {
    transform:
        translateY(-4px)
        scale(1.015);
}

@media (max-width: 900px) {
    body.pixell-site .gender-reveal-feature {
        min-height: 530px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.pixell-site .gender-reveal-copy {
        max-width: 650px;
        align-items: center;
        text-align: center;
    }

    body.pixell-site .gender-reveal-image-wrap {
        width: min(100%, 500px);
        justify-self: center;
    }
}

@media (max-width: 560px) {
    body.pixell-site .gender-reveal-feature {
        min-height: 510px;
        margin-top: 20px;
        padding: 27px 20px 20px;
        border-radius: 22px;
    }

    body.pixell-site .gender-reveal-title {
        font-size: 35px;
    }

    body.pixell-site .gender-reveal-description {
        font-size: 13px;
    }

    body.pixell-site .gender-reveal-link {
        min-height: 46px;
        margin-top: 18px;
    }

    body.pixell-site .gender-reveal-image-wrap {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pixell-site .gender-reveal-feature,
    body.pixell-site .gender-reveal-link,
    body.pixell-site .gender-reveal-image-wrap img {
        transition: none !important;
    }
}


/* =========================================================
   V1.4 — visual balance, headings, category links and hero FX
========================================================= */

/* Portrait source images: show the complete illustration. */
body.pixell-site .occasions-grid .occasion-card:nth-child(1) > img,
body.pixell-site .occasions-grid .occasion-card:nth-child(4) > img {
    width: 56% !important;
    max-width: 56% !important;
    height: 94% !important;
    max-height: 94% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    right: 1.5% !important;
    bottom: 0 !important;
}

/* Gender Reveal copy: one desktop line and stronger keyword text. */
body.pixell-site .gender-reveal-title {
    font-size: clamp(28px, 3.15vw, 47px) !important;
    white-space: nowrap;
}

body.pixell-site .gender-reveal-label {
    color: #624052;
    letter-spacing: 0.075em;
}

body.pixell-site .gender-reveal-description {
    max-width: 680px;
    text-wrap: pretty;
}

/* Category links — all categories remain visible and clickable. */
body.pixell-site .products-heading {
    align-items: center;
}

body.pixell-site .product-filters {
    display: flex;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

body.pixell-site .product-filters .product-filter {
    display: inline-flex;
    min-height: 38px;
    padding: 9px 14px;
    align-items: center;
    justify-content: center;
    color: #42546c;
    background: #ffffff;
    border: 1px solid rgba(36, 52, 77, 0.12);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    transition: color 170ms ease, background-color 170ms ease, border-color 170ms ease, transform 170ms ease;
}

body.pixell-site .product-filters .product-filter:hover,
body.pixell-site .product-filters .product-filter:focus-visible {
    color: #24344d;
    background: #fff8dd;
    border-color: rgba(222, 177, 53, 0.42);
    transform: translateY(-1px);
}

body.pixell-site .product-filters .product-filter.active {
    color: #ffffff;
    background: #24344d;
    border-color: #24344d;
}

/* Longer SEO-friendly product names without changing heading hierarchy. */
body.pixell-site .products-grid .product-content h3 {
    min-height: 2.65em;
    font-size: clamp(17px, 1.45vw, 22px);
    line-height: 1.25;
    text-wrap: balance;
}

/* Video title: exactly two lines on desktop. */
body.pixell-site .home-video-lux-title-line {
    display: block;
    white-space: nowrap;
}

body.pixell-site .home-video-lux-title-accent {
    color: #ff9488;
}

body.pixell-site .home-video-lux-intro {
    width: 100%;
    max-width: 760px !important;
    text-wrap: pretty;
}

/* Soft celebratory effects around the main hero, matching video invitations. */
body.pixell-site .hero-image {
    position: relative;
    isolation: isolate;
}

body.pixell-site .hero-image > img {
    position: relative;
    z-index: 2;
}

body.pixell-site .hero-celebration-effects {
    position: absolute;
    inset: 2% -5% 1% -5%;
    z-index: 3;
    display: block;
    pointer-events: none;
}

body.pixell-site .hero-effect {
    position: absolute;
    display: block;
    font-style: normal;
    filter: drop-shadow(0 6px 8px rgba(36, 52, 77, 0.10));
    animation: pixell-hero-float 5.2s ease-in-out infinite;
}

body.pixell-site .hero-effect-star-one {
    top: 18%;
    left: 4%;
    color: #ffd34f;
    font-size: 29px;
}

body.pixell-site .hero-effect-star-two {
    right: 5%;
    bottom: 24%;
    color: #ff9a84;
    font-size: 23px;
    animation-delay: -2.1s;
}

body.pixell-site .hero-effect-confetti-one,
body.pixell-site .hero-effect-confetti-two,
body.pixell-site .hero-effect-confetti-three {
    width: 10px;
    height: 22px;
    border-radius: 999px;
}

body.pixell-site .hero-effect-confetti-one {
    top: 12%;
    right: 22%;
    background: #73c6eb;
    transform: rotate(30deg);
    animation-delay: -1s;
}

body.pixell-site .hero-effect-confetti-two {
    bottom: 18%;
    left: 12%;
    background: #ff9a84;
    transform: rotate(-28deg);
    animation-delay: -3s;
}

body.pixell-site .hero-effect-confetti-three {
    top: 45%;
    right: 1%;
    width: 9px;
    height: 9px;
    background: #a7ce88;
    border-radius: 50%;
    animation-delay: -4.2s;
}

@keyframes pixell-hero-float {
    0%, 100% { translate: 0 0; rotate: 0deg; }
    50% { translate: 0 -10px; rotate: 8deg; }
}

@media (max-width: 900px) {
    body.pixell-site .gender-reveal-title {
        white-space: normal;
    }

    body.pixell-site .home-video-lux-title-line {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    body.pixell-site .occasions-grid .occasion-card:nth-child(1) > img,
    body.pixell-site .occasions-grid .occasion-card:nth-child(4) > img {
        width: 54% !important;
        max-width: 54% !important;
        height: 88% !important;
        max-height: 88% !important;
        right: 0 !important;
    }

    body.pixell-site .product-filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 2px 2px 8px;
        scrollbar-width: thin;
    }

    body.pixell-site .product-filters .product-filter {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    body.pixell-site .products-grid .product-content h3 {
        min-height: auto;
        font-size: 18px;
    }

    body.pixell-site .hero-celebration-effects {
        inset: 3% 0 2%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pixell-site .hero-effect {
        animation: none !important;
    }
}


/* =========================================================
   V6.23.6 — readable filters and two-line video heading
========================================================= */

/* По-едри и четими филтри под „Любими дизайни“. */
body.pixell-site .products-section .product-filters {
    gap: 10px !important;
}

body.pixell-site
.products-section
.product-filters
.product-filter {
    min-height: 44px !important;
    padding: 11px 18px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
}

body.pixell-site
.products-section
.product-filters
.product-filter.active {
    color: #ffffff !important;
}

/* Видео заглавие — точно два реда на desktop. */
body.pixell-site
.home-video-lux-section
#home-video-lux-title {
    max-width: 760px !important;
    margin-right: 0 !important;
    font-size: 60px !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
}

body.pixell-site
.home-video-lux-section
#home-video-lux-title
.home-video-title-line {
    display: block !important;
    color: #ffffff !important;
    white-space: nowrap !important;
}

body.pixell-site
.home-video-lux-section
#home-video-lux-title
.home-video-title-accent {
    color: #ff9488 !important;
}

@media (max-width: 1100px) {
    body.pixell-site
    .home-video-lux-section
    #home-video-lux-title {
        font-size: 52px !important;
    }
}

@media (max-width: 900px) {
    body.pixell-site
    .home-video-lux-section
    #home-video-lux-title {
        max-width: 680px !important;
        font-size: 45px !important;
    }
}

@media (max-width: 640px) {
    body.pixell-site
    .products-section
    .product-filters {
        gap: 8px !important;
        padding-bottom: 10px !important;
    }

    body.pixell-site
    .products-section
    .product-filters
    .product-filter {
        min-height: 42px !important;
        padding: 10px 15px !important;
        font-size: 13px !important;
    }

    body.pixell-site
    .home-video-lux-section
    #home-video-lux-title {
        max-width: 100% !important;
        font-size: 36px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.035em !important;
    }

    body.pixell-site
    .home-video-lux-section
    #home-video-lux-title
    .home-video-title-line {
        white-space: nowrap !important;
    }
}

@media (max-width: 390px) {
    body.pixell-site
    .home-video-lux-section
    #home-video-lux-title {
        font-size: 31px !important;
    }
}
