/* =========================================================
   PIXELL.BG — HOMEPAGE MOBILE POLISH
   Version: 2.0.0
   Scope: mobile only (max-width: 768px)
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       Global mobile rhythm
    ----------------------------------------------------- */

    body.pixell-site {
        overflow-x: hidden;
        font-size: 16px;
    }

    body.pixell-site .site-container {
        width: min(calc(100% - 24px), var(--container));
    }

    body.pixell-site .section-heading {
        max-width: 100%;
        margin-bottom: 24px;
        padding-inline: 4px;
    }

    body.pixell-site .section-heading h2,
    body.pixell-site .proof-heading h2 {
        font-size: clamp(30px, 9vw, 38px);
        line-height: 1.08;
        letter-spacing: -0.03em;
        text-wrap: balance;
    }

    body.pixell-site .section-heading p,
    body.pixell-site .proof-heading p {
        font-size: 16px;
        line-height: 1.55;
        text-wrap: pretty;
    }

    /* -----------------------------------------------------
       Header
    ----------------------------------------------------- */

    body.pixell-site .site-header {
        padding-top: 8px;
    }

    body.pixell-site .header-container {
        min-height: 62px;
        padding: 9px 10px 9px 15px;
        border-radius: 17px;
    }

    body.pixell-site .site-logo {
        font-size: 22px;
    }

    body.pixell-site .menu-toggle {
        width: 44px;
        height: 42px;
        padding: 7px 8px;
    }

    body.pixell-site .main-navigation {
        top: calc(100% + 8px);
        padding: 14px;
        border-radius: 17px;
    }

    body.pixell-site .main-menu a {
        min-height: 44px;
        padding: 12px 8px;
        font-size: 15px;
    }

    /* -----------------------------------------------------
       Hero
    ----------------------------------------------------- */

    body.pixell-site .hero-section {
        padding: 22px 0 18px;
    }

    body.pixell-site .hero-grid {
        gap: 0;
    }

    body.pixell-site .hero-content {
        padding: 8px 0 0;
        text-align: center;
    }

    body.pixell-site .hero-label {
        margin-bottom: 14px;
        padding: 7px 12px;
        font-size: 11px;
    }

    body.pixell-site .hero-content h1 {
        max-width: 360px;
        margin: 0 auto 14px;
        font-size: clamp(36px, 10.4vw, 46px);
        line-height: 1.04;
        letter-spacing: -0.04em;
        text-wrap: balance;
    }

    body.pixell-site .hero-description {
        max-width: 360px;
        margin: 0 auto 20px;
        font-size: 16px;
        line-height: 1.55;
        text-wrap: pretty;
    }

    body.pixell-site .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 360px;
        margin: 0 auto 18px;
    }

    body.pixell-site .hero-buttons .button {
        width: 100%;
        min-height: 50px;
        padding: 12px 18px;
        font-size: 15px;
        border-radius: 14px;
    }

    body.pixell-site .hero-benefits {
        grid-template-columns: 1fr;
        gap: 9px;
        max-width: 360px;
        margin-inline: auto;
    }

    body.pixell-site .hero-benefit {
        min-height: 58px;
        padding: 9px 12px;
        justify-content: flex-start;
        font-size: 14px;
        line-height: 1.25;
        text-align: left;
    }

    body.pixell-site .hero-benefit br {
        display: none;
    }

    body.pixell-site .benefit-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    body.pixell-site .hero-image {
        min-height: 300px;
        margin-top: 2px;
    }

    body.pixell-site .hero-image img {
        width: min(92%, 390px);
        max-height: 330px;
    }

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

    /* -----------------------------------------------------
       Occasions
    ----------------------------------------------------- */

    body.pixell-site .occasions-section {
        padding: 44px 0 50px;
    }

    body.pixell-site .occasions-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    body.pixell-site .occasion-card,
    body.pixell-site .occasion-copy {
        min-height: 230px;
    }

    body.pixell-site .occasion-card {
        border-radius: 20px;
    }

    body.pixell-site .occasion-copy {
        width: 54%;
        padding: 22px 18px;
    }

    body.pixell-site .occasion-title {
        font-size: 23px;
        line-height: 1.08;
    }

    body.pixell-site .occasion-link {
        min-height: 40px;
        font-size: 14px;
    }

    body.pixell-site .occasion-card img {
        width: 64%;
        height: 84%;
    }

    body.pixell-site .occasions-grid .occasion-card:nth-child(1) > img,
    body.pixell-site .occasions-grid .occasion-card:nth-child(4) > img {
        width: 52% !important;
        max-width: 52% !important;
        height: 86% !important;
        max-height: 86% !important;
    }

    /* -----------------------------------------------------
       Gender reveal block
    ----------------------------------------------------- */

    body.pixell-site .gender-reveal-feature {
        min-height: 0;
        margin-top: 16px;
        padding: 24px 18px 16px;
        grid-template-columns: 1fr;
        gap: 14px;
        border-radius: 20px;
    }

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

    body.pixell-site .gender-reveal-label {
        font-size: 9px;
    }

    body.pixell-site .gender-reveal-title {
        margin-top: 12px;
        font-size: clamp(29px, 8.6vw, 36px) !important;
        line-height: 1.05;
        white-space: normal !important;
        text-wrap: balance;
    }

    body.pixell-site .gender-reveal-description {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.55;
    }

    body.pixell-site .gender-reveal-link {
        width: 100%;
        max-width: 290px;
        min-height: 48px;
        margin-top: 16px;
        font-size: 13px;
    }

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

    /* -----------------------------------------------------
       Products
    ----------------------------------------------------- */

    body.pixell-site .products-section {
        padding: 18px 0 50px;
    }

    body.pixell-site .products-heading {
        margin-bottom: 22px;
    }

    body.pixell-site .product-filters {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 7px !important;
        padding: 2px 2px 10px !important;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    body.pixell-site .product-filters .product-filter {
        flex: 0 0 auto;
        min-height: 40px !important;
        padding: 9px 13px !important;
        font-size: 12px !important;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    body.pixell-site .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    body.pixell-site .product-card {
        width: 100%;
        border-radius: 19px;
    }

    body.pixell-site .products-section .product-image,
    body.pixell-site .products-section .product-blue,
    body.pixell-site .products-section .product-mint,
    body.pixell-site .products-section .product-lavender,
    body.pixell-site .products-section .product-night {
        height: 315px;
        padding: 15px;
    }

    body.pixell-site .products-section .product-image > img {
        width: auto;
        max-width: 76%;
        height: 94%;
        max-height: 290px;
    }

    body.pixell-site .products-section .product-content {
        padding: 8px 16px 17px;
    }

    body.pixell-site .products-section .product-content h3 {
        min-height: 0;
        margin-bottom: 9px;
        font-size: 19px;
        line-height: 1.25;
    }

    body.pixell-site .products-section .product-category {
        margin-bottom: 12px;
        font-size: 12px;
    }

    body.pixell-site .products-section .product-bottom {
        margin-top: 12px;
    }

    body.pixell-site .products-section .product-bottom strong {
        font-size: 20px;
    }

    body.pixell-site .products-section .product-bottom a {
        min-width: 104px;
        min-height: 48px;
        padding: 12px 20px;
        font-size: 14px;
    }

    /* -----------------------------------------------------
       Process
    ----------------------------------------------------- */

    body.pixell-site .process-section {
        padding: 18px 0 46px;
    }

    body.pixell-site .process-panel {
        padding: 26px 16px 16px;
        border-radius: 20px;
    }

    body.pixell-site .process-panel > h2 {
        max-width: 330px;
        margin: 0 auto 16px;
        font-size: clamp(27px, 8vw, 33px);
        line-height: 1.12;
        text-wrap: balance;
    }

    body.pixell-site .process-grid {
        grid-template-columns: 1fr;
    }

    body.pixell-site .process-step {
        min-height: 0;
        padding: 22px 4px 14px;
    }

    body.pixell-site .process-step + .process-step {
        border-top-width: 1px;
    }

    body.pixell-site .process-heading {
        gap: 11px;
    }

    body.pixell-site .process-number {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 19px;
    }

    body.pixell-site .process-heading h3 {
        font-size: 20px;
    }

    body.pixell-site .process-step > p {
        margin: 12px 0 4px;
        font-size: 15px;
        line-height: 1.55;
    }

    body.pixell-site .process-step > img {
        width: 190px;
        height: 175px;
        margin-top: 8px;
    }

    /* -----------------------------------------------------
       Luxury video section
    ----------------------------------------------------- */

    body.pixell-site .home-video-lux-section {
        padding: 16px 0 46px;
    }

    body.pixell-site .home-video-lux-panel {
        min-height: 0;
        padding: 27px 15px 20px;
        gap: 25px;
        border-radius: 21px;
    }

    body.pixell-site .home-video-lux-eyebrow {
        min-height: 30px;
        margin-bottom: 13px;
        font-size: 10px;
    }

    body.pixell-site .home-video-lux-section #home-video-lux-title {
        max-width: 330px !important;
        margin-inline: auto !important;
        font-size: clamp(30px, 8.5vw, 37px) !important;
        line-height: 1.07 !important;
    }

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

    body.pixell-site .home-video-lux-intro {
        margin-top: 17px;
        font-size: 15px;
        line-height: 1.6;
    }

    body.pixell-site .home-video-lux-benefits {
        margin-top: 20px;
        gap: 8px;
    }

    body.pixell-site .home-video-lux-benefits article {
        padding: 11px;
        grid-template-columns: 40px 1fr;
        gap: 11px;
        border-radius: 13px;
    }

    body.pixell-site .home-video-lux-benefit-icon {
        width: 38px;
        height: 38px;
    }

    body.pixell-site .home-video-lux-benefits strong {
        font-size: 14px;
    }

    body.pixell-site .home-video-lux-benefits p {
        font-size: 12px;
    }

    body.pixell-site .home-video-lux-actions {
        margin-top: 20px;
        gap: 9px;
    }

    body.pixell-site .home-video-lux-primary,
    body.pixell-site .home-video-lux-secondary {
        min-height: 49px;
        font-size: 13px;
    }

    body.pixell-site .home-video-lux-specs {
        grid-template-columns: 1fr !important;
        margin-top: 17px;
        gap: 6px;
    }

    body.pixell-site .home-video-lux-specs > span {
        min-height: 48px;
        padding: 8px 11px;
        text-align: left;
    }

    body.pixell-site .home-video-lux-stage {
        min-height: 385px;
    }

    body.pixell-site .home-video-lux-phone {
        top: 8px;
        width: 184px;
        height: 360px;
    }

    body.pixell-site .home-video-lux-chip {
        font-size: 8px;
    }

    body.pixell-site .lux-chip-audio {
        top: 44px;
        left: 0;
    }

    body.pixell-site .lux-chip-format {
        top: 55px;
        right: 0;
    }

    body.pixell-site .lux-chip-share,
    body.pixell-site .home-video-lux-filmstrip {
        display: none;
    }

    /* -----------------------------------------------------
       Proof / trust section
    ----------------------------------------------------- */

    body.pixell-site .proof-section {
        padding: 48px 0 52px;
    }

    body.pixell-site .proof-heading {
        margin-bottom: 24px;
    }

    body.pixell-site .proof-grid {
        gap: 12px;
    }

    body.pixell-site .proof-card,
    body.pixell-site .proof-card:last-child {
        min-height: 0;
        padding: 22px 18px 19px;
        border-radius: 20px;
    }

    body.pixell-site .proof-card-heading {
        padding-right: 34px;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 11px;
    }

    body.pixell-site .proof-avatar {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 16px;
    }

    body.pixell-site .proof-avatar svg {
        width: 24px;
        height: 24px;
    }

    body.pixell-site .proof-card h3 {
        font-size: 18px;
    }

    body.pixell-site .proof-meta {
        font-size: 11px;
    }

    body.pixell-site .proof-text {
        margin: 17px 0;
        font-size: 14px;
        line-height: 1.58;
    }

    body.pixell-site .proof-card-tag {
        min-height: 32px;
        font-size: 10px;
    }

    body.pixell-site .proof-feature-strip {
        margin-top: 12px;
        padding: 8px 12px;
        border-radius: 16px;
    }

    body.pixell-site .proof-feature-strip > span {
        min-height: 44px;
        padding: 8px 5px;
        font-size: 12px;
    }

    /* -----------------------------------------------------
       Footer
    ----------------------------------------------------- */

    body.pixell-site .site-footer {
        width: calc(100% - 24px);
        padding: 30px 18px 17px;
        margin: 12px auto;
        border-radius: 20px;
    }

    body.pixell-site .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    body.pixell-site .footer-brand,
    body.pixell-site .footer-contact {
        grid-column: auto;
    }

    body.pixell-site .footer-logo {
        margin-bottom: 12px;
        font-size: 26px;
    }

    body.pixell-site .footer-brand p {
        max-width: none;
        font-size: 14px;
    }

    body.pixell-site .site-footer h2 {
        margin-bottom: 12px;
    }

    body.pixell-site .footer-menu li + li {
        margin-top: 5px;
    }

    body.pixell-site .footer-menu a,
    body.pixell-site .footer-menu span,
    body.pixell-site .footer-contact a {
        display: inline-flex;
        min-height: 38px;
        align-items: center;
        font-size: 14px;
    }

    body.pixell-site .footer-bottom {
        display: grid;
        gap: 7px;
        padding-top: 18px;
        margin-top: 24px;
        text-align: center;
    }
}

/* Extra-small phones */
@media (max-width: 360px) {
    body.pixell-site .hero-content h1 {
        font-size: 34px;
    }

    body.pixell-site .occasion-card,
    body.pixell-site .occasion-copy {
        min-height: 215px;
    }

    body.pixell-site .occasion-title {
        font-size: 21px;
    }

    body.pixell-site .products-section .product-image,
    body.pixell-site .products-section .product-blue,
    body.pixell-site .products-section .product-mint,
    body.pixell-site .products-section .product-lavender,
    body.pixell-site .products-section .product-night {
        height: 285px;
    }

    body.pixell-site .home-video-lux-stage {
        min-height: 360px;
    }

    body.pixell-site .home-video-lux-phone {
        width: 174px;
        height: 340px;
    }
}

/* Touch devices: avoid hover jumps */
@media (hover: none) and (pointer: coarse) {
    body.pixell-site .hero-benefit:hover,
    body.pixell-site .occasion-card:hover,
    body.pixell-site .product-card:hover,
    body.pixell-site .proof-card:hover,
    body.pixell-site .gender-reveal-feature:hover {
        transform: none;
    }
}