/* =========================================================
   Pixell.bg — Payment and receiving page V1.1
========================================================= */

body.pixell-site.order-delivery-page {
    --order-navy: #17305d;
    --order-coral: #ff7c70;
    --order-yellow: #ffd75b;
    --order-mint: #78bd9d;
    --order-blue: #7eb8e7;
    --order-lilac: #aa9ce4;
}

/* Hero */

body.pixell-site .order-delivery-hero-panel {
    background:
        radial-gradient(
            circle at 92% 15%,
            rgba(126, 184, 231, 0.24),
            transparent 25rem
        ),
        radial-gradient(
            circle at 7% 88%,
            rgba(255, 215, 91, 0.21),
            transparent 22rem
        ),
        linear-gradient(
            135deg,
            #fffaf1 0%,
            #ffffff 43%,
            #f2f8fd 100%
        );
}

body.pixell-site .order-delivery-hero h1 span {
    color: var(--order-coral);
}

body.pixell-site .order-star-one {
    top: 24%;
    left: 3%;
    color: var(--order-yellow);
    font-size: 26px;
}

body.pixell-site .order-dot-one {
    right: 4%;
    bottom: 18%;
    width: 12px;
    height: 12px;
    background: var(--order-coral);
    border-radius: 50%;
    animation-delay: -2s;
}

body.pixell-site .order-spark-one {
    top: 17%;
    right: 7%;
    color: #a7d6ef;
    font-size: 21px;
    animation-delay: -3.2s;
}

/* Hero illustration */

body.pixell-site .order-delivery-visual {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
    aspect-ratio: 1;
    margin: 0 auto;
}

body.pixell-site .visual-phone {
    position: absolute;
    top: 9px;
    left: 61px;
    display: block;
    width: 205px;
    height: 335px;
    padding: 15px;
    background:
        linear-gradient(
            145deg,
            #203c68,
            #0e2449
        );
    border: 9px solid #ffffff;
    border-radius: 39px;
    box-shadow:
        0 28px 45px rgba(23, 48, 93, 0.23);
    transform: rotate(-5deg);
}

body.pixell-site .visual-phone-speaker {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 62px;
    height: 7px;
    background: #071932;
    border-radius: 999px;
    transform: translateX(-50%);
}

body.pixell-site .visual-phone-card {
    display: flex;
    height: 100%;
    padding: 33px 20px 24px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at 50% 13%,
            rgba(255, 215, 91, 0.33),
            transparent 9rem
        ),
        linear-gradient(
            145deg,
            #fffaf0,
            #eef8f4
        );
    border-radius: 25px;
}

body.pixell-site .visual-heart {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    color: #ff8174;
    background: #ffffff;
    border-radius: 24px;
    box-shadow:
        0 13px 24px rgba(23, 48, 93, 0.10);
    font-size: 37px;
}

body.pixell-site .visual-phone-line {
    display: block;
    height: 9px;
    margin-top: 20px;
    background: #cbd9e7;
    border-radius: 999px;
}

body.pixell-site .visual-phone-line.line-long {
    width: 115px;
}

body.pixell-site .visual-phone-line.line-short {
    width: 78px;
    margin-top: 10px;
}

body.pixell-site .visual-phone-button {
    display: inline-flex;
    min-height: 35px;
    margin-top: 27px;
    padding: 7px 18px;
    align-items: center;
    color: #ffffff;
    background: var(--order-mint);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

body.pixell-site .visual-plane {
    position: absolute;
    z-index: 5;
    top: 35px;
    right: 4px;
    display: grid;
    width: 83px;
    height: 83px;
    place-items: center;
    color: #7c5c18;
    background:
        linear-gradient(
            145deg,
            #ffed9c,
            #ffd34c
        );
    border: 7px solid #ffffff;
    border-radius: 26px;
    box-shadow:
        0 16px 29px rgba(156, 112, 19, 0.18);
    transform: rotate(8deg);
}

body.pixell-site .visual-plane svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.pixell-site .visual-envelope {
    position: absolute;
    z-index: 5;
    right: 2px;
    bottom: 24px;
    display: grid;
    width: 80px;
    height: 80px;
    place-items: center;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #82bce8,
            #5b91c7
        );
    border: 7px solid #ffffff;
    border-radius: 50%;
    box-shadow:
        0 15px 28px rgba(53, 105, 156, 0.22);
}

body.pixell-site .visual-envelope svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Product cards */

body.pixell-site .delivery-product-grid {
    display: grid;
    margin: 25px 0;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.pixell-site .delivery-product-grid article {
    padding: 22px;
    background: #f8faff;
    border: 1px solid #e1e8f1;
    border-radius: 17px;
}

body.pixell-site
.delivery-product-grid article:nth-child(2) {
    background: #eef8f3;
    border-color: #d6ebdf;
}

body.pixell-site
.delivery-product-grid article:nth-child(3) {
    background: #fff9e9;
    border-color: #ede0b6;
}

body.pixell-site .delivery-product-icon {
    display: grid;
    width: 49px;
    height: 49px;
    margin-bottom: 13px;
    place-items: center;
    color: #285f91;
    background: #ffffff;
    border: 1px solid rgba(23, 48, 93, 0.08);
    border-radius: 15px;
}

body.pixell-site .delivery-product-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.pixell-site .delivery-product-grid h3 {
    margin: 0 0 7px;
}

body.pixell-site .delivery-product-grid p {
    margin: 0;
    font-size: 13px;
    line-height: 1.62;
}

/* Process */

body.pixell-site .order-process {
    display: grid;
    margin: 25px 0;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

body.pixell-site .order-process article {
    display: grid;
    padding: 19px 20px;
    grid-template-columns: 45px 1fr;
    align-items: start;
    gap: 14px;
    background: #f8faff;
    border: 1px solid #e1e8f1;
    border-radius: 15px;
}

body.pixell-site .order-process article > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--order-navy);
    background: #ffe17a;
    border-radius: 13px;
    font-weight: 900;
}

body.pixell-site
.order-process article:nth-child(3n + 2) > span {
    color: #ffffff;
    background: var(--order-mint);
}

body.pixell-site
.order-process article:nth-child(3n) > span {
    color: #ffffff;
    background: var(--order-blue);
}

body.pixell-site .order-process h3 {
    margin: 0 0 5px;
}

body.pixell-site .order-process p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

/* File note */

body.pixell-site .delivery-file-note {
    display: grid;
    max-width: 820px;
    margin: 22px 0;
    padding: 20px;
    grid-template-columns: 54px 1fr;
    align-items: start;
    gap: 15px;
    background:
        linear-gradient(
            145deg,
            #f1f8fd,
            #ffffff
        );
    border: 1px solid #dbe7f1;
    border-radius: 17px;
}

body.pixell-site .delivery-file-note > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #ffffff;
    background: var(--order-blue);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 900;
}

body.pixell-site .delivery-file-note h3 {
    margin: 0 0 6px;
}

body.pixell-site .delivery-file-note p {
    margin: 0;
    font-size: 14px;
}

/* Start conditions */

body.pixell-site .delivery-condition-list {
    display: grid;
    max-width: 890px;
    margin: 20px 0 24px;
    padding: 0;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
}

body.pixell-site .delivery-condition-list li {
    position: relative;
    padding: 14px 15px 14px 47px;
    color: #526278;
    background: #f1f9f5;
    border: 1px solid #d8ebdf;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.5;
}

body.pixell-site
.delivery-condition-list li::before {
    position: absolute;
    top: 12px;
    left: 13px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #ffffff;
    background: #61a781;
    border-radius: 50%;
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

body.pixell-site .delivery-time-card {
    max-width: 600px;
    margin: 22px 0;
    padding: 22px;
    background:
        linear-gradient(
            145deg,
            #fff8df,
            #ffffff
        );
    border: 1px solid #efdfaa;
    border-radius: 18px;
}

body.pixell-site .delivery-time-card span {
    display: block;
    margin-bottom: 6px;
    color: #82621d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.pixell-site .delivery-time-card strong {
    display: block;
    margin-bottom: 7px;
    color: var(--order-navy);
    font-size: 28px;
}

body.pixell-site .delivery-time-card p {
    margin: 0;
    font-size: 13px;
}

/* Payment */

body.pixell-site .payment-status-card {
    display: grid;
    max-width: 860px;
    margin: 23px 0;
    padding: 22px;
    grid-template-columns: 54px 1fr;
    align-items: start;
    gap: 16px;
    background:
        linear-gradient(
            145deg,
            #f3f8fd,
            #ffffff
        );
    border: 1px solid #dce7f1;
    border-radius: 18px;
}

body.pixell-site .payment-status-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #83bce7,
            #5c91c5
        );
    border-radius: 16px;
}

body.pixell-site .payment-status-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.pixell-site .payment-status-card h3 {
    margin: 0 0 6px;
}

body.pixell-site .payment-status-card p {
    margin: 0;
    font-size: 14px;
}

/* Delivery links */

body.pixell-site .delivery-links-grid {
    display: grid;
    margin: 24px 0;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 15px;
}

body.pixell-site .delivery-links-grid article {
    padding: 23px;
    background:
        linear-gradient(
            145deg,
            #fff9e9,
            #ffffff
        );
    border: 1px solid #eee0b7;
    border-radius: 18px;
}

body.pixell-site
.delivery-links-grid article:last-child {
    background:
        linear-gradient(
            145deg,
            #eef8f3,
            #ffffff
        );
    border-color: #d5e9dd;
}

body.pixell-site .delivery-links-grid span {
    display: inline-block;
    margin-bottom: 9px;
    padding: 5px 9px;
    color: #7b671f;
    background: #ffecaa;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

body.pixell-site
.delivery-links-grid article:last-child span {
    color: #2c6e56;
    background: #d9efe3;
}

body.pixell-site .delivery-links-grid h3 {
    margin: 0 0 7px;
}

body.pixell-site .delivery-links-grid p {
    margin: 0;
    font-size: 13px;
    line-height: 1.62;
}

/* Technical */

body.pixell-site .technical-grid {
    display: grid;
    margin: 24px 0;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

body.pixell-site .technical-grid article {
    padding: 19px;
    background: #f8faff;
    border: 1px solid #e1e8f1;
    border-radius: 15px;
}

body.pixell-site
.technical-grid article:nth-child(even) {
    background: #f1f9f5;
    border-color: #d8ebdf;
}

body.pixell-site .technical-grid strong {
    display: block;
    margin-bottom: 7px;
    color: var(--order-navy);
    font-size: 14px;
}

body.pixell-site .technical-grid p {
    margin: 0;
    font-size: 13px;
    line-height: 1.58;
}

body.pixell-site
.order-delivery-page .legal-section a {
    color: #245d91;
    font-weight: 900;
    text-underline-offset: 3px;
}

body.pixell-site
.order-delivery-page .legal-section a:hover {
    color: var(--order-navy);
}

/* Responsive */

@media (max-width: 900px) {
    body.pixell-site .order-delivery-visual {
        width: min(78vw, 340px);
    }

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

@media (max-width: 700px) {
    body.pixell-site .order-process,
    body.pixell-site .delivery-condition-list,
    body.pixell-site .delivery-links-grid,
    body.pixell-site .technical-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    body.pixell-site .order-delivery-visual {
        width: min(83vw, 295px);
    }

    body.pixell-site .visual-phone {
        left: 42px;
        width: 175px;
        height: 290px;
    }

    body.pixell-site .visual-plane,
    body.pixell-site .visual-envelope {
        width: 67px;
        height: 67px;
    }

    body.pixell-site .delivery-product-grid article,
    body.pixell-site .order-process article {
        padding: 18px;
    }

    body.pixell-site .delivery-file-note,
    body.pixell-site .payment-status-card {
        grid-template-columns: 44px 1fr;
        padding: 17px;
    }

    body.pixell-site .delivery-file-note > span,
    body.pixell-site .payment-status-icon {
        width: 43px;
        height: 43px;
    }
}


/* =========================================================
   V1.1 — Effects matching the “Как работи” page
========================================================= */

body.pixell-site .order-delivery-hero {
    --payment-pointer-x: 0px;
    --payment-pointer-y: 0px;
    --payment-card-x: 0px;
    --payment-card-y: 0px;
}

body.pixell-site
.order-delivery-hero
.order-delivery-hero-panel {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 650ms ease,
        transform 650ms cubic-bezier(.2,.8,.2,1);
}

body.pixell-site
.order-delivery-hero.is-payment-visible
.order-delivery-hero-panel {
    opacity: 1;
    transform: translateY(0);
}

body.pixell-site
.order-delivery-hero
.legal-hero-copy {
    opacity: 0;
    transform: translateX(-16px);
    transition:
        opacity 620ms ease 120ms,
        transform 620ms cubic-bezier(.2,.8,.2,1) 120ms;
}

body.pixell-site
.order-delivery-hero.is-payment-visible
.legal-hero-copy {
    opacity: 1;
    transform: translateX(0);
}

body.pixell-site .order-delivery-visual {
    transform:
        translate3d(
            var(--payment-pointer-x),
            var(--payment-pointer-y),
            0
        );
    transition: transform 180ms ease-out;
    animation:
        payment-visual-float
        6.4s ease-in-out infinite;
}

body.pixell-site .visual-phone {
    transform:
        translate3d(
            var(--payment-card-x),
            var(--payment-card-y),
            0
        )
        rotate(-5deg);
    transition: transform 180ms ease-out;
}

body.pixell-site .visual-plane {
    animation:
        payment-plane-float
        5.4s ease-in-out infinite;
}

body.pixell-site .visual-envelope {
    animation:
        payment-envelope-pulse
        4.7s ease-in-out infinite;
}

body.pixell-site .order-star-one,
body.pixell-site .order-spark-one {
    animation:
        payment-star-float
        5.8s ease-in-out infinite;
}

body.pixell-site .order-spark-one {
    animation-delay: -2.6s;
}

body.pixell-site .order-dot-one {
    animation:
        payment-dot-drift
        4.8s ease-in-out infinite;
}

body.pixell-site .legal-summary-grid article,
body.pixell-site .legal-content-card,
body.pixell-site .delivery-product-grid article {
    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease;
}

body.pixell-site .legal-summary-grid article:hover,
body.pixell-site .legal-content-card:hover,
body.pixell-site .delivery-product-grid article:hover {
    border-color: rgba(92, 145, 185, 0.20);
    box-shadow:
        0 18px 42px
        rgba(36, 52, 77, 0.10);
    transform: translateY(-3px);
}

@keyframes payment-visual-float {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -8px;
    }
}

@keyframes payment-plane-float {
    0%,
    100% {
        translate: 0 0;
        rotate: 8deg;
    }

    50% {
        translate: 8px -8px;
        rotate: 13deg;
    }
}

@keyframes payment-envelope-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 15px 28px
            rgba(53, 105, 156, 0.22);
    }

    50% {
        transform: scale(1.06);
        box-shadow:
            0 20px 37px
            rgba(53, 105, 156, 0.30);
    }
}

@keyframes payment-star-float {
    0%,
    100% {
        opacity: .74;
        transform:
            translateY(0)
            rotate(0deg)
            scale(.94);
    }

    50% {
        opacity: 1;
        transform:
            translateY(-10px)
            rotate(12deg)
            scale(1.07);
    }
}

@keyframes payment-dot-drift {
    0%,
    100% {
        opacity: .70;
        transform: translate(0, 0);
    }

    50% {
        opacity: 1;
        transform: translate(6px, -8px);
    }
}

@media (max-width: 820px), (pointer: coarse) {
    body.pixell-site .order-delivery-visual,
    body.pixell-site .visual-phone {
        transform: none;
    }

    body.pixell-site .legal-summary-grid article:hover,
    body.pixell-site .legal-content-card:hover,
    body.pixell-site .delivery-product-grid article:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pixell-site
    .order-delivery-hero
    .order-delivery-hero-panel,
    body.pixell-site
    .order-delivery-hero
    .legal-hero-copy {
        opacity: 1;
        transform: none;
        transition: none;
    }

    body.pixell-site .order-delivery-visual,
    body.pixell-site .visual-phone,
    body.pixell-site .visual-plane,
    body.pixell-site .visual-envelope,
    body.pixell-site .order-star-one,
    body.pixell-site .order-spark-one,
    body.pixell-site .order-dot-one {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}
