.itn-product {
    --ip-accent: #66e5bb;
    --ip-muted: #b5c8da;
    --ip-border: #30485e;
    width: min(1240px,calc(100% - 32px));
    margin: 32px auto 64px;
    color: #edf5ff;
    font-family: inherit;
    direction: rtl;
    overflow-wrap: anywhere
}

    .itn-product, .itn-product * {
        box-sizing: border-box
    }

        .itn-product [hidden] {
            display: none !important
        }

        .itn-product a {
            color: #91efd0;
            text-decoration: none
        }

            .itn-product a:hover {
                text-decoration: underline
            }

        .itn-product .ip-nav {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            align-items: center;
            margin-bottom: 20px;
            min-height: 44px
        }

        .itn-product .ip-heading {
            padding: clamp(22px,4vw,42px);
            border: 1px solid var(--ip-border);
            border-radius: 22px;
            background: radial-gradient(ellipse at 90% 0,#17433f,transparent 70%),#0c1c2e;
            margin-bottom: 22px
        }

        .itn-product h1 {
            font-size: clamp(1.5rem,3vw,2.6rem);
            color: #fff;
            line-height: 1.6;
            margin: 0 0 12px
        }

        .itn-product h2 {
            font-size: 1.15rem;
            color: #fff;
            line-height: 1.8;
            margin: 0 0 20px
        }

        .itn-product p {
            line-height: 2
        }

        .itn-product .ip-muted {
            color: var(--ip-muted);
            margin: 8px 0;
            line-height: 1.9
        }

        .itn-product .ip-grid {
            display: grid;
            grid-template-columns: minmax(0,1.7fr) minmax(0,1fr);
            gap: 22px;
            align-items: start
        }

        .itn-product .ip-stack {
            display: grid;
            gap: 22px;
            min-width: 0
        }

        .itn-product .ip-card {
            padding: clamp(18px,3vw,30px);
            border: 1px solid var(--ip-border);
            border-radius: 18px;
            background: #0e2033;
            min-width: 0
        }

        .itn-product .ip-media {
            position: relative;
            background: linear-gradient(145deg,#143d49,#081321);
            border: 1px solid var(--ip-border);
            border-radius: 14px;
            overflow: hidden;
            min-height: 230px;
            display: grid;
            place-items: center;
            margin-bottom: 20px
        }

            .itn-product .ip-media img {
                display: block;
                max-width: 100%;
                width: 100%;
                height: 320px;
                object-fit: contain;
                background: #081321
            }

        .itn-product .ip-placeholder {
            padding: 30px;
            text-align: center;
            color: var(--ip-muted);
            line-height: 2
        }

        .itn-product .ip-price {
            font-size: 2rem;
            font-weight: 800;
            color: var(--ip-accent);
            margin: 0 0 20px
        }

            .itn-product .ip-price small {
                font-size: .9rem;
                font-weight: 400;
                color: var(--ip-muted)
            }

        .itn-product .ip-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 46px;
            padding: 12px 18px;
            border: 1px solid var(--ip-accent);
            border-radius: 11px;
            background: var(--ip-accent);
            color: #06251c;
            font: inherit;
            font-weight: 700;
            cursor: pointer;
            text-align: center;
            line-height: 1.7;
            text-decoration: none;
            transition: background .18s,transform .18s
        }

            .itn-product .ip-button:hover {
                background: #9af4d4;
                color: #06251c;
                text-decoration: none;
                transform: translateY(-1px)
            }

        .itn-product .ip-button-secondary {
            background: #142d42;
            color: #d8f5ed;
            border-color: #426b79
        }

        .itn-product .ip-button:disabled {
            background: #263b4c;
            border-color: #4b6477;
            color: #bdcbd6;
            cursor: not-allowed;
            transform: none
        }

        .itn-product .ip-full {
            width: 100%;
            margin-top: 12px
        }

        .itn-product .ip-description {
            white-space: pre-line;
            line-height: 2.1;
            color: #d4e1ed
        }

        .itn-product .ip-meta {
            margin: 0
        }

            .itn-product .ip-meta div {
                display: flex;
                justify-content: space-between;
                gap: 16px;
                padding: 12px 0;
                border-bottom: 1px solid var(--ip-border)
            }

                .itn-product .ip-meta div:last-child {
                    border: 0
                }

        .itn-product dt {
            font-weight: 400;
            color: var(--ip-muted)
        }

        .itn-product dd {
            margin: 0;
            text-align: end
        }

        .itn-product .ip-field {
            margin-bottom: 20px;
            min-width: 0
        }

            .itn-product .ip-field label {
                display: block;
                margin-bottom: 8px;
                font-weight: 600
            }

        .itn-product .ip-input {
            width: 100%;
            min-height: 46px;
            border: 1px solid #4b6477;
            border-radius: 10px;
            background: #091827;
            color: #eef6ff;
            padding: 11px 13px;
            font: inherit;
            line-height: 1.7
        }

        .itn-product textarea.ip-input {
            resize: vertical;
            min-height: 160px
        }

        .itn-product .ip-input[readonly] {
            background: #213546;
            color: #b7cbdc
        }

        .itn-product .ip-input::placeholder {
            color: #91aabd
        }

        .itn-product .ip-input[type=file] {
            font-size: .85rem;
            white-space: normal
        }

        .itn-product .ip-input::file-selector-button {
            font: inherit;
            background: #244b5a;
            color: #fff;
            border: 0;
            border-radius: 6px;
            padding: 8px;
            margin-inline-end: 8px;
            cursor: pointer
        }

        .itn-product .ip-row {
            display: grid;
            grid-template-columns: minmax(0,1fr) minmax(0,1fr);
            gap: 18px
        }

        .itn-product .ip-check {
            display: flex;
            gap: 10px;
            align-items: flex-start;
            padding: 12px 0;
            line-height: 1.9
        }

            .itn-product .ip-check input {
                width: 20px;
                height: 20px;
                flex-shrink: 0;
                margin-top: 5px;
                accent-color: #3ddca6
            }

        .itn-product .ip-error, .itn-product .field-validation-error {
            display: block;
            color: #ffb5bf;
            font-size: .85rem;
            line-height: 1.9;
            margin-top: 7px
        }

        .itn-product .ip-alert {
            border: 1px solid #98616d;
            background: #3d2430;
            color: #ffdae0;
            border-radius: 12px;
            padding: 16px 20px;
            margin-bottom: 22px;
            line-height: 1.9
        }

        .itn-product .validation-summary-valid {
            display: none
        }

        .itn-product .ip-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 24px
        }

        .itn-product :is(a,button,input,textarea,select):focus-visible {
            outline: 3px solid #a9f6ff;
            outline-offset: 3px
        }

        .itn-product .ip-input.input-validation-error {
            border-color: #ff9cad
        }

@media(max-width:800px) {
    .itn-product .ip-grid {
        grid-template-columns: minmax(0,1fr)
    }

    .itn-product .ip-row {
        grid-template-columns: minmax(0,1fr)
    }
}

@media(max-width:480px) {
    .itn-product {
        width: calc(100% - 24px);
        margin-top: 18px
    }

        .itn-product .ip-actions .ip-button {
            width: 100%
        }

        .itn-product .ip-media img {
            height: 250px
        }
}

@media(prefers-reduced-motion:reduce) {
    .itn-product .ip-button {
        transition: none
    }

        .itn-product .ip-button:hover {
            transform: none
        }
}
