.product-order-page {
    --order-primary: var(--color-primary, #C13632);
    --order-secondary: var(--color-secondary, #990000);
    --order-dark: var(--dark, #01273B);
    --order-heading: var(--color-heading, #04000B);
    --order-text: var(--color-paragraph, #666666);
    --order-white: var(--white, #FFFFFF);
    --order-bg-soft: var(--bg-gray, #FFF7F7);
    --order-bg: var(--bg-gray-secondary, #F8FAFB);
    --order-border: rgba(193, 54, 50, 0.16);
    --order-border-strong: rgba(193, 54, 50, 0.35);
    --order-shadow: 0 16px 50px rgba(1, 39, 59, 0.09);

    min-height: 100vh;
    font-family: var(--font-style-two, "Manrope", sans-serif);
    color: var(--order-text);
    background: #FFFFFF;
}

.product-order-page *,
.product-order-page *::before,
.product-order-page *::after {
    box-sizing: border-box;
}

.product-order-page button,
.product-order-page input,
.product-order-page textarea {
    font-family: inherit;
}

.product-order-page .order-page-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 16px;
}

.product-order-page .order-page-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

html[dir="rtl"] .product-order-page .order-page-topbar {
    flex-direction: row-reverse;
}

.product-order-page .order-page-brand img {
    display: block;
    width: auto;
    height: 28px;
}

.product-order-page .order-page-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--order-dark);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--order-border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(1, 39, 59, 0.05);
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.product-order-page .order-page-back i {
    color: var(--order-primary);
}

.product-order-page .order-page-back:hover {
    color: var(--order-primary);
    background: var(--order-white);
    border-color: var(--order-border-strong);
    transform: translateY(-1px);
}

.product-order-page .order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 470px);
    align-items: stretch;
    gap: 18px;
}

.product-order-page .order-card,
.product-order-page .product-showcase-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--order-border);
    border-radius: 20px;
    box-shadow: var(--order-shadow);
}

.product-order-page .order-card {
    position: relative;
    padding: 34px 36px 24px;
    overflow: hidden;
}

.product-order-page .order-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg,
            var(--order-primary) 0%,
            var(--order-secondary) 100%);
}

.product-order-page .order-title {
    margin: 0 0 8px;
    color: var(--order-heading);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
}

.product-order-page .order-title::after {
    display: block;
    width: 52px;
    height: 3px;
    margin: 13px auto 0;
    content: "";
    background: linear-gradient(90deg,
            var(--order-primary),
            var(--order-secondary));
    border-radius: 999px;
}

.product-order-page .order-subtitle {
    margin: 0 0 22px;
    color: var(--order-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
}

.product-order-page .order-message {
    margin-bottom: 16px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.product-order-page .order-message-success {
    color: #397622;
    background: #F1F9ED;
    border: 1px solid #CDE7BF;
}

.product-order-page .order-message-error {
    color: #9D1F1B;
    background: #FFF1F1;
    border: 1px solid rgba(193, 54, 50, 0.25);
}

.product-order-page .order-form-grid {
    display: grid;
    gap: 12px;
}

.product-order-page .order-field {
    min-width: 0;
}

.product-order-page .order-input-wrap {
    position: relative;
}

.product-order-page .order-input-wrap i {
    position: absolute;
    inset-inline-end: 16px;
    top: 50%;
    z-index: 1;
    color: var(--order-primary);
    font-size: 14px;
    pointer-events: none;
    transform: translateY(-50%);
}

.product-order-page .order-input-wrap .order-textarea-icon {
    top: 18px;
    transform: none;
}

.product-order-page .order-input[type="tel"] {
    direction: inherit;
    text-align: start;
}

.product-order-page .order-input,
.product-order-page .order-textarea {
    width: 100%;
    min-height: 50px;
    padding-inline: 16px 42px;
    color: var(--order-heading);
    background: var(--order-white);
    border: 1px solid #E3E6E9;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    box-shadow: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.product-order-page .order-input:hover,
.product-order-page .order-textarea:hover {
    border-color: rgba(193, 54, 50, 0.32);
}

.product-order-page .order-input:focus,
.product-order-page .order-textarea:focus {
    background: #FFFFFF;
    border-color: var(--order-primary);
    box-shadow: 0 0 0 3px rgba(193, 54, 50, 0.1);
}

.product-order-page .order-input::placeholder,
.product-order-page .order-textarea::placeholder {
    color: #8B8B8B;
    font-weight: 400;
    opacity: 1;
}

.product-order-page .order-textarea {
    min-height: 88px;
    padding-top: 14px;
    line-height: 1.7;
    resize: vertical;
}

.product-order-page .order-input.is-invalid,
.product-order-page .order-textarea.is-invalid {
    border-color: var(--order-primary);
    box-shadow: 0 0 0 3px rgba(193, 54, 50, 0.08);
}

.product-order-page .order-validation-error {
    margin-top: 6px;
    color: var(--order-secondary);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.product-order-page .turnstile-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    padding: 14px 16px;
    overflow: hidden;
    background: linear-gradient(180deg,
            #FFFFFF 0%,
            var(--order-bg-soft) 100%);
    border: 1px solid var(--order-border);
    border-radius: 12px;
}

.product-order-page .turnstile-box .cf-turnstile {
    width: 100%;
}

.product-order-page .turnstile-client-error {
    margin-top: 7px;
}

.product-order-page .order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.product-order-page .order-submit-btn,
.product-order-page .order-reset-btn {
    min-height: 50px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, filter, box-shadow;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        filter 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.product-order-page .order-submit-btn {
    color: var(--order-white);
    background: linear-gradient(135deg,
            var(--order-primary) 0%,
            var(--order-secondary) 100%);
    border: 1px solid var(--order-primary);
    box-shadow: 0 8px 20px rgba(193, 54, 50, 0.22);
}

.product-order-page .order-submit-btn:hover,
.product-order-page .order-submit-btn:focus-visible {
    color: var(--order-white);
    background: linear-gradient(135deg,
            var(--order-primary) 0%,
            var(--order-secondary) 100%);
    border-color: var(--order-secondary);
    box-shadow: 0 12px 26px rgba(153, 0, 0, 0.28);
    filter: brightness(0.94);
    transform: translateY(-2px) scale(1.005);
}

.product-order-page .order-submit-btn:active {
    box-shadow: 0 6px 16px rgba(153, 0, 0, 0.22);
    filter: brightness(0.9);
    transform: translateY(0) scale(0.995);
    transition-duration: 0.08s;
}

.product-order-page .order-submit-btn:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.product-order-page .order-reset-btn {
    color: var(--order-primary);
    background: var(--order-white);
    border: 1px solid var(--order-primary);
}

.product-order-page .order-reset-btn:hover,
.product-order-page .order-reset-btn:focus-visible {
    color: var(--order-primary);
    background: var(--order-white);
    border-color: var(--order-primary);
    box-shadow: 0 10px 22px rgba(193, 54, 50, 0.22);
    transform: translateY(-2px) scale(1.005);
}

.product-order-page .order-reset-btn:active {
    color: var(--order-primary);
    background: var(--order-white);
    border-color: var(--order-primary);
    box-shadow: 0 5px 14px rgba(193, 54, 50, 0.16);
    transform: translateY(0) scale(0.995);
    transition-duration: 0.08s;
}

.product-order-page .order-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--order-text);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.product-order-page .order-security i {
    color: var(--order-primary);
}

.product-order-page .product-showcase-card {
    min-height: 100%;
    padding: 14px;
}

.product-order-page .showcase-stage {
    position: relative;
    min-height: 540px;
    padding: 18px 18px 128px;
    overflow: hidden;
    background: transparent;
    border-radius: 16px;
}

.product-order-page .showcase-shape-lines {
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image:
        linear-gradient(120deg,
            transparent 0 20%,
            var(--order-primary) 20% 20.8%,
            transparent 20.8% 100%),
        linear-gradient(30deg,
            transparent 0 54%,
            var(--order-secondary) 54% 54.7%,
            transparent 54.7% 100%),
        linear-gradient(150deg,
            transparent 0 36%,
            var(--order-primary) 36% 36.6%,
            transparent 36.6% 100%);
    pointer-events: none;
}

.product-order-page .showcase-plant {
    position: absolute;
    inset-inline-start: 34px;
    bottom: 166px;
    width: 86px;
    height: 112px;
}

.product-order-page .showcase-plant::before,
.product-order-page .showcase-plant::after {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 94px;
    content: "";
    background: linear-gradient(180deg,
            rgba(193, 54, 50, 0.72) 0%,
            var(--order-secondary) 100%);
    border-radius: 100px 100px 0 100px;
    transform-origin: bottom center;
}

.product-order-page .showcase-plant::before {
    inset-inline-start: 18px;
    transform: rotate(-18deg);
}

.product-order-page .showcase-plant::after {
    inset-inline-end: 12px;
    opacity: 0.82;
    transform: rotate(16deg);
}

.product-order-page .showcase-rock {
    position: absolute;
    inset-inline-start: 24px;
    bottom: 146px;
    width: 74px;
    height: 70px;
    background: linear-gradient(180deg,
            #FFFFFF 0%,
            #E9E9E9 100%);
    border-radius: 44px 44px 28px 28px;
    box-shadow: 0 10px 30px rgba(1, 39, 59, 0.1);
}

.product-order-page .showcase-rock.small {
    inset-inline-start: 6px;
    bottom: 152px;
    width: 34px;
    height: 30px;
    border-radius: 26px;
}

.product-order-page .showcase-pedestal {
    position: absolute;
    left: 50%;
    bottom: 132px;
    width: min(72%, 300px);
    height: 58px;
    background: linear-gradient(180deg,
            #FFFFFF 0%,
            #EAEAEA 100%);
    border: 1px solid rgba(193, 54, 50, 0.08);
    border-radius: 50%;
    box-shadow: 0 12px 36px rgba(1, 39, 59, 0.12);
    transform: translateX(-50%);
}

.product-order-page .showcase-product {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    filter: none;
    transform: none;
}

.product-order-page .showcase-details {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 3;
    display: grid;
    grid-template-columns: 120px 1px 1fr;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--order-border);
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(1, 39, 59, 0.08);
}

.product-order-page .showcase-separator {
    width: 1px;
    height: 58px;
    background: rgba(193, 54, 50, 0.18);
}

.product-order-page .availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 5px 10px;
    color: #397622;
    background: #F1F9ED;
    border: 1px solid #D6EBCB;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.product-order-page .availability-badge::before {
    width: 8px;
    height: 8px;
    content: "";
    background: #61B439;
    border-radius: 50%;
}

.product-order-page .showcase-price {
    margin-bottom: 2px;
    color: var(--order-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.product-order-page .showcase-price small {
    display: block;
    margin-top: 4px;
    color: var(--order-text);
    font-size: 12px;
    font-weight: 400;
}

.product-order-page .showcase-name {
    margin: 0 0 6px;
    color: var(--order-heading);
    font-size: 19px;
    font-weight: 600;
}

.product-order-page .showcase-description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--order-text);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-order-page .showcase-features {
    display: none;
}

.product-order-page .showcase-feature {
    padding: 8px 12px;
    color: var(--order-dark);
    background: var(--order-bg-soft);
    border: 1px solid var(--order-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .product-order-page .order-layout {
        grid-template-columns: 1fr;
    }

    .product-order-page .showcase-stage {
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .product-order-page .order-page-wrap {
        padding: 16px 10px 24px;
    }

    .product-order-page .order-page-topbar {
        align-items: flex-start;
    }

    .product-order-page .order-page-brand img {
        height: 25px;
    }

    .product-order-page .order-page-back {
        padding: 9px 11px;
        font-size: 12px;
    }

    .product-order-page .order-card {
        padding: 22px 16px 20px;
    }

    .product-order-page .order-title {
        font-size: 30px;
    }

    .product-order-page .order-actions,
    .product-order-page .showcase-details {
        grid-template-columns: 1fr;
    }

    .product-order-page .showcase-separator {
        display: none;
    }

    .product-order-page .showcase-stage {
        min-height: 420px;
        padding: 14px 14px 120px;
    }

    .product-order-page .showcase-pedestal {
        bottom: 124px;
        width: min(80%, 240px);
        height: 50px;
    }



    .product-order-page .showcase-plant {
        bottom: 156px;
        width: 68px;
        height: 92px;
    }

    .product-order-page .showcase-rock {
        bottom: 140px;
        width: 58px;
        height: 54px;
    }

    .product-order-page .showcase-rock.small {
        bottom: 146px;
    }

    .product-order-page .showcase-details {
        right: 12px;
        bottom: -14px;
        left: 12px;
        gap: 10px;
        padding: 14px;
        transform: translateY(50%);
    }

    .product-order-page .showcase-name {
        font-size: 17px;
    }

    .product-order-page .showcase-description {
        -webkit-line-clamp: 3;
    }

    .product-order-page .turnstile-box {
        padding-inline: 8px;
    }
}











/*dialog*/
.product-order-page .order-status-dialog {
    position: fixed;
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(calc(100vw - 32px), 480px);
    max-width: 480px;
    max-height: calc(100vh - 32px);
    margin: 0;
    padding: 0;
    overflow: visible;
    color: var(--order-text);
    background: transparent;
    border: none;
    outline: none;
    transform: translate(-50%, -50%);
}

.product-order-page .order-status-dialog[open] {
    display: block;
}

.product-order-page .order-status-dialog::backdrop {
    background: rgba(4, 0, 11, 0.58);
    backdrop-filter: blur(6px);
}

.product-order-page .order-status-dialog__panel {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 32px);
    padding: 42px 34px 32px;
    overflow-y: auto;
    text-align: center;
    background: var(--order-white);
    border: 1px solid rgba(193, 54, 50, 0.14);
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(4, 0, 11, 0.28);
    animation: order-status-dialog-enter 0.3s ease-out;
}

.product-order-page .order-status-dialog__panel::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    content: "";
    background: linear-gradient(90deg,
            var(--order-primary) 0%,
            var(--order-secondary) 100%);
}

.product-order-page .order-status-dialog--success .order-status-dialog__panel::before {
    background: linear-gradient(90deg,
            #61B439 0%,
            #397622 100%);
}

.product-order-page .order-status-dialog__close {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #777777;
    background: #F5F6F7;
    border: 1px solid #EBEDEF;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transform: translateZ(0);
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.product-order-page .order-status-dialog__close:hover,
.product-order-page .order-status-dialog__close:focus-visible {
    color: var(--order-primary);
    background: var(--order-bg-soft);
    border-color: var(--order-border);
    transform: rotate(90deg);
}

.product-order-page .order-status-dialog__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin: 2px auto 22px;
    color: var(--order-primary);
    background: #FFF1F1;
    border: 1px solid rgba(193, 54, 50, 0.2);
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 10px 28px rgba(193, 54, 50, 0.1);
}

.product-order-page .order-status-dialog--success .order-status-dialog__icon {
    color: #397622;
    background: #F1F9ED;
    border-color: #CDE7BF;
    box-shadow: 0 10px 28px rgba(97, 180, 57, 0.12);
}

.product-order-page .order-status-dialog__title {
    margin: 0 0 12px;
    color: var(--order-heading);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
}

.product-order-page .order-status-dialog__message {
    max-width: 390px;
    margin: 0 auto 22px;
    color: var(--order-text);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}

.product-order-page .order-status-dialog__reference {
    max-width: 330px;
    margin: 0 auto 26px;
    padding: 13px 16px;
    background: var(--order-bg-soft);
    border: 1px solid var(--order-border);
    border-radius: 12px;
}

.product-order-page .order-status-dialog__reference-label {
    display: block;
    margin-bottom: 5px;
    color: var(--order-text);
    font-size: 12px;
    font-weight: 500;
}

.product-order-page .order-status-dialog__reference-value {
    display: block;
    color: var(--order-primary);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.6px;
    direction: ltr;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}

.product-order-page .order-status-dialog__action {
    width: 100%;
    max-width: 220px;
    min-height: 48px;
    padding: 10px 24px;
    color: var(--order-white);
    background: linear-gradient(135deg,
            var(--order-primary) 0%,
            var(--order-secondary) 100%);
    border: 1px solid var(--order-primary);
    border-radius: 9px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(193, 54, 50, 0.22);
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, filter, box-shadow;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        filter 0.25s ease,
        box-shadow 0.25s ease;
}

.product-order-page .order-status-dialog__action:hover,
.product-order-page .order-status-dialog__action:focus-visible {
    color: var(--order-white);
    background: linear-gradient(135deg,
            var(--order-primary) 0%,
            var(--order-secondary) 100%);
    border-color: var(--order-secondary);
    box-shadow: 0 13px 28px rgba(153, 0, 0, 0.28);
    filter: brightness(0.94);
    transform: translateY(-2px) scale(1.01);
}

.product-order-page .order-status-dialog__action:active {
    box-shadow: 0 6px 16px rgba(153, 0, 0, 0.22);
    filter: brightness(0.9);
    transform: translateY(0) scale(0.99);
    transition-duration: 0.08s;
}

@keyframes order-status-dialog-enter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 575px) {
    .product-order-page .order-status-dialog {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
    }

    .product-order-page .order-status-dialog__panel {
        max-height: calc(100vh - 24px);
        padding: 38px 20px 24px;
        border-radius: 20px;
    }

    .product-order-page .order-status-dialog__close {
        top: 13px;
        inset-inline-end: 13px;
        width: 34px;
        height: 34px;
    }

    .product-order-page .order-status-dialog__icon {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
        font-size: 26px;
    }

    .product-order-page .order-status-dialog__title {
        font-size: 22px;
    }

    .product-order-page .order-status-dialog__message {
        font-size: 14px;
        line-height: 1.8;
    }

    .product-order-page .order-status-dialog__reference {
        margin-bottom: 22px;
    }

    .product-order-page .order-status-dialog__action {
        max-width: none;
    }
}