.twisty-front {
    --twisty-black: #050505;
    --twisty-ink: #171717;
    --twisty-panel: #101010;
    --twisty-orange: #ff922e;
    --twisty-red: #ef1f2f;
    --twisty-cream: #fff5e3;
    --twisty-muted: #b9b0a5;
    background: var(--twisty-black);
    color: var(--twisty-cream);
    font-family: Inter, Arial, sans-serif;
}

body.home #pxl-page-title-default,
body.home #pxl-page-title-elementor,
body.front-page #pxl-page-title-default,
body.front-page #pxl-page-title-elementor {
    display: none;
}

body.home #pxl-header-elementor .pxl-header-content > .row,
body.front-page #pxl-header-elementor .pxl-header-content > .row {
    flex-wrap: nowrap;
    align-items: center;
}

body.home #pxl-header-elementor .elementor-widget-pxl_logo img,
body.front-page #pxl-header-elementor .elementor-widget-pxl_logo img {
    width: auto;
    max-width: 150px;
    height: 112px;
    max-height: 112px;
    object-fit: contain;
}

body.home #pxl-header-elementor .pxl-menu-primary,
body.front-page #pxl-header-elementor .pxl-menu-primary {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(14px, 1.5vw, 28px);
}

body.home #pxl-header-elementor .pxl-menu-primary > li,
body.front-page #pxl-header-elementor .pxl-menu-primary > li {
    margin: 0;
    flex: 0 0 auto;
}

body.home #pxl-header-elementor .pxl-menu-item-text,
body.front-page #pxl-header-elementor .pxl-menu-item-text {
    font-size: clamp(13px, 1vw, 16px);
    white-space: nowrap;
}

.twisty-front * {
    box-sizing: border-box;
}

.twisty-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.twisty-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 18% 10%, rgba(239, 31, 47, 0.24), transparent 30%),
        linear-gradient(135deg, #050505 0%, #111 54%, #211005 100%);
    padding: 220px 0 72px;
}

.twisty-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    gap: 48px;
    align-items: center;
}

.twisty-kicker {
    color: var(--twisty-orange);
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.twisty-hero h1,
.twisty-section h2 {
    color: #fff;
    font-weight: 900;
    line-height: 1.02;
    margin: 0;
}

.twisty-hero h1 {
    font-size: clamp(44px, 8vw, 88px);
    max-width: 760px;
}

.twisty-hero p,
.twisty-application__intro p {
    color: var(--twisty-muted);
    font-size: 18px;
    line-height: 1.65;
}

.twisty-hero__copy > p:last-of-type {
    max-width: 620px;
    margin: 24px 0 0;
}

.twisty-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.twisty-button {
    appearance: none;
    border: 2px solid var(--twisty-orange);
    border-radius: 6px;
    background: var(--twisty-orange);
    color: #160800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.twisty-button:hover,
.twisty-button:focus {
    color: #160800;
    transform: translateY(-2px);
}

.twisty-button--ghost {
    background: transparent;
    color: var(--twisty-cream);
}

.twisty-button--catalog {
    border-color: var(--twisty-red);
    background: var(--twisty-red);
    color: #fff;
}

.twisty-button--catalog:hover,
.twisty-button--catalog:focus {
    background: #ff3948;
    color: #fff;
}

.twisty-button--ghost:hover,
.twisty-button--ghost:focus {
    background: var(--twisty-orange);
}

.twisty-hero-slider {
    position: relative;
    min-width: 0;
    aspect-ratio: 3 / 2;
    border: 1px solid rgba(255, 146, 46, 0.28);
    border-radius: 8px;
    background: #090909;
    overflow: hidden;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
}

.twisty-hero-slider__track {
    position: absolute;
    inset: 0;
}

.twisty-hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97);
    transition: opacity 520ms ease, transform 720ms ease;
}

.twisty-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 1;
}

.twisty-hero-slide img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

.twisty-hero-slide.twisty-product-card--twisty-product-coleslaw-pur-transparent img {
    object-fit: contain;
    padding: 18px;
}

.twisty-hero-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(5, 5, 5, 0.76);
    color: #fff;
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
    padding: 0 0 4px;
    transform: translateY(-50%);
    transition: background-color 180ms ease, border-color 180ms ease;
}

.twisty-hero-slider__arrow:hover,
.twisty-hero-slider__arrow:focus-visible {
    border-color: var(--twisty-orange);
    background: var(--twisty-orange);
    color: #160800;
}

.twisty-hero-slider__arrow--prev {
    left: 16px;
}

.twisty-hero-slider__arrow--next {
    right: 16px;
}

.twisty-hero-slider__dots {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.twisty-hero-slider__dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    cursor: pointer;
    padding: 0;
    transition: width 180ms ease, background-color 180ms ease;
}

.twisty-hero-slider__dot.is-active {
    width: 22px;
    background: var(--twisty-orange);
}

.twisty-hero-slider:focus-visible {
    outline: 2px solid var(--twisty-orange);
    outline-offset: 4px;
}

.twisty-section {
    padding: 84px 0;
}

.twisty-section--dark {
    background: #080808;
}

.twisty-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.twisty-section h2 {
    font-size: clamp(34px, 5vw, 58px);
}

.twisty-menu-sections {
    display: grid;
    gap: 46px;
}

.twisty-menu-category {
    display: grid;
    gap: 18px;
}

.twisty-declaration-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.twisty-declaration-card {
    min-height: 122px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 146, 46, 0.28);
    border-radius: 6px;
    background: #111;
    padding: 20px;
}

.twisty-declaration-card h4 {
    color: #fff;
    font-size: 20px;
    margin: 0;
}

.twisty-declaration-card p {
    color: var(--twisty-orange);
    font-size: 17px;
    font-weight: 900;
    margin: 12px 0 0;
}

.twisty-menu-category__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 146, 46, 0.26);
    padding-bottom: 14px;
}

.twisty-menu-category__header h3 {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1;
    margin: 0;
}

.twisty-menu-category__header p {
    color: var(--twisty-muted);
    line-height: 1.55;
    margin: 0;
    max-width: 460px;
    text-align: right;
}

.twisty-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.twisty-product-card {
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #050505;
    overflow: hidden;
}

.twisty-product-card__image {
    aspect-ratio: 3 / 2;
    margin: 0;
    background: #050505;
    overflow: hidden;
}

.twisty-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
}

.twisty-product-card.twisty-product-card--twisty-product-salat-popchicken img,
.twisty-product-card.twisty-product-card--twisty-product-wings-box img,
.twisty-product-card.twisty-product-card--twisty-product-tenders-box img,
.twisty-hero-slide.twisty-product-card--twisty-product-salat-popchicken img,
.twisty-hero-slide.twisty-product-card--twisty-product-wings-box img,
.twisty-hero-slide.twisty-product-card--twisty-product-tenders-box img {
    object-position: center 42%;
}

.twisty-product-card.twisty-product-card--twisty-product-coleslaw-salat img,
.twisty-product-card.twisty-product-card--twisty-product-crispy-burger img,
.twisty-hero-slide.twisty-product-card--twisty-product-coleslaw-salat img,
.twisty-hero-slide.twisty-product-card--twisty-product-crispy-burger img {
    object-position: center 45%;
}

.twisty-product-card.twisty-product-card--twisty-product-smile-menu img,
.twisty-product-card.twisty-product-card--twisty-product-family-menu img,
.twisty-hero-slide.twisty-product-card--twisty-product-smile-menu img,
.twisty-hero-slide.twisty-product-card--twisty-product-family-menu img {
    object-position: center 31%;
}

.twisty-product-card.twisty-product-card--twisty-product-chicken-wrap img,
.twisty-hero-slide.twisty-product-card--twisty-product-chicken-wrap img {
    object-position: center 47%;
}

.twisty-product-card.twisty-product-card--twisty-product-vegi-burger img,
.twisty-hero-slide.twisty-product-card--twisty-product-vegi-burger img {
    object-position: center 43%;
}

.twisty-product-card.twisty-product-card--twisty-product-donuts img,
.twisty-hero-slide.twisty-product-card--twisty-product-donuts img {
    object-position: center 31%;
}

.twisty-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 18px;
    justify-content: space-between;
    padding: 18px;
}

.twisty-product-card h4 {
    color: #fff;
    font-size: 22px;
    line-height: 1.15;
    margin: 0 0 10px;
}

.twisty-product-card p {
    color: var(--twisty-muted);
    line-height: 1.55;
    margin: 0;
}

.twisty-product-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.twisty-product-card__tags span {
    border: 1px solid rgba(255, 146, 46, 0.36);
    border-radius: 999px;
    color: #ffd4a7;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    padding: 8px 10px;
}

.twisty-product-card strong {
    color: var(--twisty-orange);
    font-size: 28px;
    line-height: 1;
}

.twisty-section--catalog {
    background: #15110d;
}

.twisty-catalog {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.65fr);
    gap: 56px;
    align-items: center;
}

.twisty-catalog__copy > p:not(.twisty-kicker) {
    color: var(--twisty-muted);
    font-size: 18px;
    line-height: 1.65;
    margin: 24px 0 30px;
    max-width: 620px;
}

.twisty-button--download {
    gap: 10px;
}

.twisty-button--download span {
    font-size: 24px;
    line-height: 1;
}

.twisty-catalog__preview {
    margin: 0;
    border: 1px solid rgba(255, 146, 46, 0.32);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.twisty-catalog__preview img {
    display: block;
    width: 100%;
    height: auto;
}

.twisty-section--contact {
    background: #090909;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.twisty-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 64px;
    align-items: center;
}

.twisty-contact > div > p:not(.twisty-kicker) {
    max-width: 650px;
    color: var(--twisty-muted);
    font-size: 18px;
    line-height: 1.65;
    margin: 22px 0 0;
}

.twisty-contact__details {
    display: grid;
    gap: 20px;
    border-left: 2px solid var(--twisty-orange);
    font-style: normal;
    padding-left: 30px;
}

.twisty-contact__details div {
    display: grid;
    gap: 5px;
}

.twisty-contact__details span,
.twisty-partner-card dt {
    color: var(--twisty-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.twisty-contact__details strong,
.twisty-contact__details > div a {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.twisty-contact__details .twisty-button {
    justify-self: start;
}

.twisty-section--partners {
    background: #111;
}

.twisty-section__header--actions {
    align-items: center;
}

.twisty-button--compact {
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
}

.twisty-button--compact span {
    font-size: 23px;
    line-height: 1;
}

.twisty-partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.twisty-partner-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #080808;
    overflow: hidden;
}

.twisty-partner-card__image {
    aspect-ratio: 4 / 3;
    margin: 0;
    background: #171717;
    overflow: hidden;
}

.twisty-partner-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.twisty-partner-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--twisty-muted);
    font-weight: 800;
}

.twisty-partner-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 17px;
    padding: 22px;
}

.twisty-partner-card h3 {
    color: #fff;
    font-size: 25px;
    line-height: 1.15;
    margin: 0;
}

.twisty-partner-card__description,
.twisty-partner-card__description p {
    color: var(--twisty-muted);
    line-height: 1.55;
    margin: 0;
}

.twisty-partner-card dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.twisty-partner-card dl div {
    display: grid;
    gap: 3px;
}

.twisty-partner-card dd {
    color: #fff;
    line-height: 1.45;
    margin: 0;
    overflow-wrap: anywhere;
}

.twisty-partner-card a {
    color: var(--twisty-orange);
}

.twisty-partner-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: auto;
}

.twisty-partner-card__actions a {
    font-weight: 800;
}

.twisty-empty-state {
    border-top: 1px solid rgba(255, 146, 46, 0.3);
    padding: 30px 0 0;
}

.twisty-empty-state strong {
    color: #fff;
    font-size: 24px;
}

.twisty-empty-state p {
    max-width: 700px;
    color: var(--twisty-muted);
    line-height: 1.55;
    margin: 10px 0 22px;
}

.twisty-section--form {
    background:
        linear-gradient(180deg, #080808 0%, #121212 100%);
}

.twisty-section--order {
    background: #15110d;
}

.twisty-application {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
    gap: 48px;
    align-items: start;
}

.twisty-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #0c0c0c;
    padding: 26px;
}

.twisty-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.twisty-form span {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.twisty-form input,
.twisty-form select,
.twisty-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: #171717;
    color: #fff;
    min-height: 48px;
    padding: 12px 14px;
}

.twisty-form textarea {
    min-height: 132px;
    resize: vertical;
}

.twisty-form input:focus,
.twisty-form select:focus,
.twisty-form textarea:focus {
    border-color: var(--twisty-orange);
    outline: 2px solid rgba(255, 146, 46, 0.24);
}

.twisty-form__full,
.twisty-form__message {
    grid-column: 1 / -1;
}

.twisty-order-products {
    min-width: 0;
    border: 0;
    margin: 0;
    padding: 0;
}

.twisty-order-products legend {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
    padding: 0;
}

.twisty-order-products__help {
    color: var(--twisty-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.twisty-order-products__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.twisty-form .twisty-order-product {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: #151515;
    padding: 16px;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.twisty-form .twisty-order-product:has([type="checkbox"]:checked) {
    border-color: var(--twisty-orange);
    background: #20160d;
}

.twisty-order-product__choice {
    display: flex;
    align-items: center;
    gap: 10px;
}

.twisty-form .twisty-order-product__choice input {
    width: 22px;
    height: 22px;
    min-height: 0;
    margin: 0;
    padding: 0;
    accent-color: var(--twisty-orange);
}

.twisty-order-product__choice strong {
    color: #fff;
    font-size: 18px;
}

.twisty-order-product__quantity {
    display: grid;
    gap: 7px;
}

.twisty-form .twisty-order-product__quantity input:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.twisty-order-products__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 146, 46, 0.3);
    margin-top: 14px;
    padding-top: 14px;
}

.twisty-order-products__total strong,
.twisty-order-products__total strong span {
    color: var(--twisty-orange);
    font-size: 22px;
}

.twisty-form__message {
    border-radius: 6px;
    font-weight: 800;
    margin: 0;
    padding: 14px 16px;
}

.twisty-form__message--success {
    background: rgba(48, 164, 91, 0.18);
    color: #a9ffc7;
}

.twisty-form__message--error {
    background: rgba(239, 31, 47, 0.18);
    color: #ffc0c6;
}

.twisty-order-note {
    display: flex;
    align-items: baseline;
    gap: 16px;
    border-top: 1px solid rgba(255, 146, 46, 0.3);
    margin-top: 28px;
    padding-top: 18px;
}

.twisty-order-note strong {
    color: #fff;
}

.twisty-order-note span {
    color: var(--twisty-orange);
    font-size: 32px;
    font-weight: 900;
}

@media (max-width: 1024px) {
    .twisty-hero {
        min-height: auto;
        padding-top: 150px;
    }

    .twisty-hero__grid,
    .twisty-catalog,
    .twisty-application,
    .twisty-contact {
        grid-template-columns: 1fr;
    }

    .twisty-product-grid,
    .twisty-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .twisty-declaration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .twisty-shell {
        width: min(100% - 24px, 1180px);
    }

    .twisty-hero,
    .twisty-section {
        padding: 52px 0;
    }

    .twisty-hero {
        padding-top: 110px;
    }

    .twisty-product-grid,
    .twisty-partner-grid,
    .twisty-form,
    .twisty-order-products__grid,
    .twisty-declaration-grid {
        grid-template-columns: 1fr;
    }

    .twisty-section__header--actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .twisty-contact__details {
        border-top: 2px solid var(--twisty-orange);
        border-left: 0;
        padding-top: 24px;
        padding-left: 0;
    }

    .twisty-menu-category__header {
        align-items: start;
        flex-direction: column;
    }

    .twisty-menu-category__header p {
        text-align: left;
    }

    .twisty-product-card {
        min-height: 0;
    }

    .twisty-hero-slider__arrow {
        width: 40px;
        height: 40px;
    }

    .twisty-hero-slider__arrow--prev {
        left: 10px;
    }

    .twisty-hero-slider__arrow--next {
        right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .twisty-hero-slide,
    .twisty-hero-slider__dot {
        transition: none;
    }
}
