.product-detail-main{
    --product-navy:#000257;
    --product-orange:#f37024;
    --product-ink:#0a2258;
    --product-muted:#71809c;
    --product-line:#dce4ef;
    --product-surface:#fff;
    --product-soft:#f6f8fc;
    padding:18px 0 70px;
    color:var(--product-ink);
}

/* Breadcrumb */
.product-breadcrumb{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:24px;
    color:var(--product-muted);
    font-size:.78rem;
    line-height:1.6;
}

.product-breadcrumb a{
    color:inherit;
    text-decoration:none;
    transition:color .2s ease;
}

.product-breadcrumb a:hover{
    color:var(--product-orange);
}

.product-breadcrumb strong{
    color:var(--product-ink);
    font-weight:800;
}

/* Hero */
/* =========================================================
   PRODUCT HERO + PRICE CTA
   ========================================================= */

.product-hero{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
    align-items:center;
    gap:54px;
    min-height:0;
    margin:0;
    padding:54px 56px;
    border:1px solid var(--product-line);
    border-radius:15px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,2,87,.035);
}

.product-hero-visual{
    min-height:386px;
    margin:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:26px;
    border:0;
    border-radius:12px;
    background:#f5f8fc;
    overflow:hidden;
}

.product-hero-visual img{
    display:block;
    width:100%;
    max-width:570px;
    height:350px;
    object-fit:contain;
    transition:transform .45s cubic-bezier(.2,.7,.2,1);
}

.product-hero-visual:hover img{
    transform:scale(1.025);
}

.product-hero-copy{
    direction:rtl;
    text-align:right;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
}

.product-kicker{
    display:inline-block;
    margin:0 0 10px;
    color:var(--product-orange);
    font-size:.78rem;
    font-weight:950;
}

.product-hero-copy h1{
    margin:0;
    color:var(--product-navy);
    font-size:clamp(2.6rem,4vw,4.35rem);
    line-height:1.18;
    font-weight:950;
    letter-spacing:-.025em;
}

.product-en{
    margin:12px 0 22px;
    color:var(--product-muted);
    font-size:1rem;
    font-weight:700;
    direction:ltr;
}

.product-summary{
    max-width:590px;
    margin:0 0 24px;
    color:var(--product-muted);
    font-size:.92rem;
    line-height:2.15;
}

.product-meta{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:8px;
}

.product-meta span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:35px;
    padding:0 13px;
    border:1px solid var(--product-line);
    border-radius:7px;
    background:#f8faff;
    color:var(--product-ink);
    font-size:.7rem;
    font-weight:850;
    direction:ltr;
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.product-meta span:hover{
    transform:translateY(-2px);
    border-color:var(--product-orange);
    background:#fff8f3;
}

/* ---------- Price CTA ---------- */

.price-action{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    margin-top:20px;
    padding:17px 22px;
    border:1px solid var(--product-orange);
    border-radius:11px;
    background:#fff;
    color:var(--product-ink);
    box-shadow:0 7px 22px rgba(243,112,36,.045);
}

.price-action strong{
    color:var(--product-ink);
    font-size:.9rem;
    font-weight:900;
}

.price-action a{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:45px;
    padding:0 24px;
    border:1px solid var(--product-orange);
    border-radius:7px;
    background:var(--product-orange);
    color:#fff;
    text-decoration:none;
    font-size:.8rem;
    font-weight:900;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease;
}

.price-action a:hover{
    transform:translateY(-2px);
    background:#e8661c;
    box-shadow:0 9px 20px rgba(243,112,36,.22);
}

.price-action a:active{
    transform:translateY(0);
}

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

@media(max-width:900px){
    .product-hero{
        grid-template-columns:1fr;
        gap:30px;
        padding:34px 28px;
    }

    .product-hero-visual{
        min-height:300px;
        order:1;
    }

    .product-hero-copy{
        order:2;
    }

    .product-hero-copy h1{
        font-size:clamp(2rem,7vw,3rem);
    }
}

@media(max-width:600px){
    .product-hero{
        gap:22px;
        padding:22px 16px;
        border-radius:12px;
    }

    .product-hero-visual{
        min-height:235px;
        padding:14px;
        border-radius:9px;
    }

    .product-hero-visual img{
        height:215px;
    }

    .product-hero-copy h1{
        font-size:2rem;
    }

    .product-summary{
        font-size:.8rem;
        line-height:2;
    }

    .price-action{
        flex-direction:column;
        align-items:stretch;
        gap:13px;
        margin-top:16px;
        padding:15px;
        text-align:center;
    }

    .price-action a{
        width:100%;
    }
}

.product-information{
    margin-top:44px;
}

/* Tabs */
.product-tabs{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    margin:0 0 26px;
    padding:0;
    border-bottom:1px solid var(--product-line);
    background:transparent;
}

.product-tabs button{
    position:relative;
    min-width:130px;
    min-height:42px;
    padding:0 18px;
    border:0;
    border-radius:0;
    background:transparent;
    color:var(--product-muted);
    font:800 .78rem Peyda,Tahoma,sans-serif;
    cursor:pointer;
    transition:color .2s ease;
}

.product-tabs button::after{
    content:"";
    position:absolute;
    right:12px;
    left:12px;
    bottom:-1px;
    height:2px;
    border-radius:2px 2px 0 0;
    background:transparent;
    transition:background .2s ease;
}

.product-tabs button:hover,
.product-tabs button.is-active{
    color:var(--product-navy);
}

.product-tabs button.is-active::after{
    background:var(--product-orange);
}

/* Sections */
.product-detail-section{
    scroll-margin-top:100px;
    padding:34px 0 38px;
    border-bottom:1px solid var(--product-line);
}

.product-section-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:22px;
}

.product-section-heading h2{
    margin:0;
    color:var(--product-navy);
    font-size:1.3rem;
    font-weight:950;
}

.product-section-heading span{
    color:var(--product-muted);
    font-size:.68rem;
    font-weight:800;
}

/* Description */
.description-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 290px;
    gap:28px;
    direction:rtl;
}

.description-copy{
    min-width:0;
    color:var(--product-muted);
    font-size:.86rem;
    line-height:2.05;
}

.description-copy p{
    margin:0 0 13px;
}

.description-copy strong{
    color:var(--product-ink);
}


/* Expert contact — clean final design */
.expert-contact{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    width:100%;
    min-height:104px;
    margin:34px 0 0;
    padding:18px 24px;
    box-sizing:border-box;
    border:1px solid var(--product-line);
    border-radius:10px;
    background:var(--product-soft);
    direction:ltr;
}

.expert-contact-content{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
    direction:rtl;
}

.expert-contact-icon{
    flex:0 0 38px;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--product-orange);
    color:#fff;
    font-size:1rem;
    font-weight:950;
}

.expert-contact-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    text-align:right;
    direction:rtl;
}

.expert-contact-text strong{
    display:block;
    margin:0 0 4px;
    color:var(--product-ink);
    font-size:.98rem;
    line-height:1.7;
    font-weight:900;
}

.expert-contact-text p{
    margin:0;
    color:var(--product-muted);
    font-size:.86rem;
    line-height:1.8;
}

.expert-contact-button{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 22px;
    border:1px solid var(--product-orange);
    border-radius:8px;
    background:var(--product-orange);
    color:#fff;
    font-size:.86rem;
    line-height:1;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
    direction:rtl;
    transition:transform .18s ease,box-shadow .18s ease;
}

.expert-contact-button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(243,112,36,.22);
}

/* Specifications */
.specification-layout{
    display:block;
    direction:rtl;
}

.specification-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    margin:0;
    border:1px solid var(--product-line);
    border-radius:9px;
    overflow:hidden;
    background:var(--product-surface);
}

.specification-item{
    display:grid;
    grid-template-columns:minmax(115px,.7fr) minmax(0,1.3fr);
    gap:13px;
    min-width:0;
    padding:13px 15px;
    border-left:1px solid var(--product-line);
    border-bottom:1px solid var(--product-line);
}

.specification-item:nth-child(2n){
    border-left:0;
}

.specification-item:nth-last-child(-n+2){
    border-bottom:0;
}

.specification-item dt{
    min-width:0;
    color:var(--product-ink);
    font-size:.76rem;
    font-weight:900;
}

.specification-item dt small{
    display:block;
    margin-top:2px;
    color:var(--product-muted);
    font-size:.58rem;
    font-weight:600;
}

.specification-item dd{
    min-width:0;
    margin:0;
    color:var(--product-muted);
    font-size:.75rem;
    line-height:1.8;
}

/* Technical tables */
.technical-tables{
    min-width:0;
    margin-top:28px;
}

.technical-tables h3{
    margin:0 0 10px;
    color:var(--product-ink);
    font-size:.9rem;
    font-weight:900;
}

.technical-table-wrap{
    width:100%;
    overflow-x:auto;
    border:1px solid var(--product-line);
    border-radius:8px;
    background:var(--product-surface);
}

.technical-table{
    width:100%;
    min-width:760px;
    border-collapse:collapse;
    direction:rtl;
    background:var(--product-surface);
    font-size:.69rem;
}

.technical-table th,
.technical-table td{
    padding:9px 8px;
    border-left:1px solid var(--product-line);
    border-bottom:1px solid var(--product-line);
    text-align:center;
    vertical-align:middle;
}

.technical-table th:last-child,
.technical-table td:last-child{
    border-left:0;
}

.technical-table tr:last-child td{
    border-bottom:0;
}

.technical-table th{
    background:var(--product-soft);
    color:var(--product-ink);
    font-weight:900;
    white-space:nowrap;
}

.technical-table td{
    color:var(--product-muted);
    white-space:nowrap;
}

/* Catalog */
.catalog-layout-detail{
    display:grid;
    grid-template-columns:minmax(270px,.72fr) minmax(0,1.28fr);
    gap:34px;
    align-items:center;
    direction:rtl;
}

.catalog-preview{
    min-height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:20px;
    border:1px solid var(--product-line);
    border-radius:9px;
    background:var(--product-soft);
}

.catalog-preview img{
    width:100%;
    height:230px;
    object-fit:contain;
}

.catalog-copy h3{
    margin:0 0 9px;
    color:var(--product-navy);
    font-size:1.15rem;
    font-weight:950;
}

.catalog-copy p{
    max-width:620px;
    margin:0 0 16px;
    color:var(--product-muted);
    font-size:.84rem;
    line-height:2;
}

.catalog-copy a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 17px;
    border:1px solid var(--product-navy);
    border-radius:6px;
    color:var(--product-navy);
    text-decoration:none;
    font-size:.74rem;
    font-weight:900;
    transition:.2s ease;
}

.catalog-copy a:hover{
    background:var(--product-navy);
    color:#fff;
}

/* Other products — reference layout */
.other-products{
    margin-top:44px;
}

.other-products-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:24px;
}

.other-products-head h2{
    margin:0;
    color:var(--product-navy);
    font-size:1.5rem;
    line-height:1.4;
    font-weight:950;
}

.other-products-head a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 20px;
    border:1px solid var(--product-navy);
    border-radius:8px;
    background:transparent;
    color:var(--product-navy);
    font-size:.82rem;
    font-weight:900;
    text-decoration:none;
    transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}

.other-products-head a:hover{
    transform:translateY(-2px);
    background:var(--product-navy);
    color:#fff;
    box-shadow:0 7px 18px rgba(0,2,87,.12);
}

.other-products-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
}

.other-product-card{
    min-width:0;
    overflow:hidden;
    border:1px solid var(--product-line);
    border-radius:12px;
    background:var(--product-surface);
    text-decoration:none;
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.other-product-card:hover{
    transform:translateY(-3px);
    border-color:var(--product-navy);
    box-shadow:0 10px 26px rgba(0,2,87,.09);
}

.other-product-image{
    width:100%;
    height:225px;
    padding:0;
    display:block;
    overflow:hidden;
    background:var(--product-soft);
}

.other-product-image img{
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center;
    transition:transform .35s ease;
}

.other-product-card:hover .other-product-image img{
    transform:scale(1.03);
}

.other-product-copy{
    min-height:98px;
    box-sizing:border-box;
    padding:16px 18px 15px;
    direction:rtl;
    text-align:right;
}

.other-product-copy span{
    display:block;
    margin:0 0 5px;
    color:var(--product-orange);
    font-size:.68rem;
    line-height:1.5;
    font-weight:800;
}

.other-product-copy h3{
    margin:0 0 7px;
    color:var(--product-ink);
    font-size:.95rem;
    line-height:1.7;
    font-weight:900;
}

.other-product-copy small{
    color:var(--product-muted);
    font-size:.7rem;
    line-height:1.5;
}

/* Tablet */

@media(max-width:1000px){
    .product-hero{
        grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);
        gap:34px;
    }

    .product-hero-visual{
        min-height:280px;
    }

    .product-hero-visual img{
        height:245px;
    }

    .description-layout{
        grid-template-columns:minmax(0,1fr) 250px;
        gap:22px;
    }

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

/* Mobile */
@media(max-width:700px){
    .product-detail-main{
        padding:14px 0 48px;
    }

    .product-breadcrumb{
        margin-bottom:17px;
        font-size:.68rem;
    }

    .product-hero{
        grid-template-columns:1fr;
        gap:20px;
        min-height:0;
    }

    .product-hero-visual{
        min-height:220px;
        padding:14px;
        border-radius:9px;
    }

    .product-hero-visual img{
        height:205px;
        max-width:300px;
    }

    .product-hero-copy h1{
        font-size:1.75rem;
        line-height:1.4;
    }

    .product-en{
        margin:5px 0 12px;
        font-size:.82rem;
    }

    .product-summary{
        font-size:.78rem;
        line-height:2;
    }

    .product-meta span{
        min-height:29px;
        font-size:.64rem;
    }

    .price-action{
        flex-direction:column;
        align-items:stretch;
        gap:11px;
        margin-top:24px;
        padding:14px;
        text-align:center;
    }

    .price-action strong{
        font-size:.77rem;
    }

    .price-action a{
        width:100%;
    }

    .product-information{
        margin-top:32px;
    }

    .product-tabs{
        position:sticky;
        top:70px;
        z-index:20;
        justify-content:stretch;
        margin-bottom:20px;
        background:var(--product-surface);
    }

    .product-tabs button{
        flex:1 1 33.33%;
        min-width:0;
        min-height:40px;
        padding:0 7px;
        font-size:.68rem;
    }

    .product-tabs button::after{
        right:5px;
        left:5px;
    }

    .product-detail-section{
        padding:27px 0 30px;
    }

    .product-section-heading{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
        margin-bottom:17px;
    }

    .product-section-heading h2{
        font-size:1.18rem;
    }

    .description-layout{
        grid-template-columns:1fr;
        gap:18px;
    }

    .description-copy{
        font-size:.78rem;
    }

    .expert-contact{
        padding:15px;
    }

    .specification-list{
        grid-template-columns:1fr;
    }

    .specification-item,
    .specification-item:nth-child(2n){
        grid-template-columns:110px minmax(0,1fr);
        border-left:0;
        border-bottom:1px solid var(--product-line);
    }

    .specification-item:last-child{
        border-bottom:0;
    }

    .technical-tables{
        margin-top:22px;
    }

    .technical-table{
        min-width:700px;
        font-size:.64rem;
    }

    .technical-table th,
    .technical-table td{
        padding:8px 7px;
    }

    .catalog-layout-detail{
        grid-template-columns:1fr;
        gap:20px;
    }

    .catalog-preview{
        min-height:220px;
    }

    .catalog-preview img{
        height:200px;
    }

    .catalog-copy h3{
        font-size:1.05rem;
    }

    .catalog-copy p{
        font-size:.77rem;
    }

    .other-products{
        margin-top:34px;
    }

    .other-products-grid{
        grid-template-columns:1fr 1fr;
        gap:9px;
    }

    .other-product-image{
        height:115px;
        padding:10px;
    }

    .other-product-copy{
        padding:9px;
    }

    .other-product-copy h3{
        font-size:.7rem;
    }
}

/* Dark theme */
html[data-theme="dark"] .product-detail-main{
    --product-navy:#8eb2ff;
    --product-orange:#f37024;
    --product-ink:#eef3ff;
    --product-muted:#94a2bd;
    --product-line:#26314a;
    --product-surface:#121c2e;
    --product-soft:#151f33;
}

html[data-theme="dark"] .product-hero-copy h1,
html[data-theme="dark"] .product-section-heading h2,
html[data-theme="dark"] .catalog-copy h3,
html[data-theme="dark"] .other-products-head h2{
    color:var(--product-navy);
}

html[data-theme="dark"] .product-hero-visual,
html[data-theme="dark"] .catalog-preview,
html[data-theme="dark"] .other-product-card,
html[data-theme="dark"] .technical-table-wrap,
html[data-theme="dark"] .specification-list{
    background:var(--product-surface);
}

html[data-theme="dark"] .product-tabs{
    background:transparent;
}

html[data-theme="dark"] .product-tabs button.is-active{
    color:var(--product-navy);
}

/* Technical specification layout — reference-inspired */
.specification-layout{
    display:grid;
    grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);
    gap:30px;
    align-items:start;
    direction:rtl;
}

.specification-list{
    grid-column:2;
    grid-row:1;
}

.technical-tables{
    grid-column:1;
    grid-row:1;
    min-width:0;
    margin-top:0;
}

.technical-tables h3{
    margin:0 0 12px;
    color:var(--product-ink);
    font-size:.88rem;
    font-weight:900;
}

.technical-table-wrap{
    width:100%;
    overflow-x:auto;
    border:1px solid var(--product-line);
    border-radius:9px;
    background:var(--product-surface);
    box-shadow:0 2px 8px rgba(0,2,87,.025);
}

.technical-table{
    width:100%;
    min-width:680px;
    border-collapse:separate;
    border-spacing:0;
    direction:rtl;
    background:var(--product-surface);
    font-size:.68rem;
}

.technical-table th{
    padding:10px 8px;
    background:var(--product-navy);
    color:#fff;
    border-left:1px solid rgba(255,255,255,.18);
    border-bottom:1px solid var(--product-navy);
    text-align:center;
    vertical-align:middle;
    font-weight:900;
    line-height:1.5;
    white-space:nowrap;
}

.technical-table th:first-child{
    border-top-right-radius:7px;
}

.technical-table th:last-child{
    border-left:0;
    border-top-left-radius:7px;
}

.technical-table td{
    padding:8px 7px;
    background:var(--product-surface);
    color:var(--product-ink);
    border-left:1px solid var(--product-line);
    border-bottom:1px solid var(--product-line);
    text-align:center;
    vertical-align:middle;
    line-height:1.55;
    white-space:nowrap;
}

.technical-table td:last-child{
    border-left:0;
}

.technical-table tbody tr:nth-child(even) td{
    background:var(--product-soft);
}

.technical-table tbody tr:last-child td{
    border-bottom:0;
}

.catalog-copy-only{
    width:min(760px,100%);
    margin-inline:auto;
    text-align:center;
}

.catalog-copy-only p{
    margin-inline:auto;
}

.catalog-copy-only a{
    margin-inline:auto;
}

@media(max-width:900px){
    .specification-layout{
        grid-template-columns:1fr;
        gap:22px;
    }

    .specification-list,
    .technical-tables{
        grid-column:1;
        grid-row:auto;
    }

    .technical-tables{
        margin-top:0;
    }
}

@media(max-width:700px){
    .specification-layout{
        display:flex;
        flex-direction:column;
    }

    .specification-list,
    .technical-tables{
        width:100%;
    }

    .technical-table{
        min-width:680px;
    }
}

html[data-theme="dark"] .technical-table th{
    background:#17285b;
    color:#fff;
}

html[data-theme="dark"] .technical-table td{
    background:var(--product-surface);
    color:var(--product-ink);
}

html[data-theme="dark"] .technical-table tbody tr:nth-child(even) td{
    background:var(--product-soft);
}

/* ===== Technical section: match reference surface ===== */

.product-detail-main{
    background:#edf2f7;
}

.product-information{
    background:#fff;
    border:1px solid var(--product-line);
    border-radius:14px;
    padding:0 34px 28px;
    box-sizing:border-box;
}

.product-tabs{
    margin-inline:-34px;
    padding-inline:34px;
    background:#fff;
    border-bottom:1px solid var(--product-line);
}

/* Keep the two technical blocks aligned without stretching the specification card */
.specification-layout{
    align-items:start;
}

.specification-list{
    height:max-content;
    align-self:start;
}

.technical-tables{
    align-self:start;
}

/* Real table header — higher specificity than global table rules */
.product-detail-main .technical-table thead th{
    background:#000257 !important;
    color:#fff !important;
    border-color:rgba(255,255,255,.18) !important;
    font-weight:900;
}

.product-detail-main .technical-table{
    width:100%;
    min-width:0;
    table-layout:fixed;
}

.product-detail-main .technical-table th,
.product-detail-main .technical-table td{
    width:auto;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
}

.product-detail-main .technical-table td{
    background:#fff;
    color:#52627f;
}

.product-detail-main .technical-table tbody tr:nth-child(even) td{
    background:#f7f9fc;
}

.product-detail-main .technical-table-wrap{
    overflow-x:hidden;
}

/* Make technical columns compact and balanced */
.product-detail-main .technical-table th,
.product-detail-main .technical-table td{
    padding:9px 6px;
    line-height:1.45;
    font-size:.66rem;
}

/* Reference-like specification card */
.product-detail-main .specification-list{
    border-radius:9px;
    background:#fff;
}

.product-detail-main .specification-item{
    min-height:58px;
    box-sizing:border-box;
}

.product-detail-main .specification-item dt{
    text-align:right;
}

.product-detail-main .specification-item dd{
    text-align:center;
}

/* Outer page remains light, content remains white */
.product-detail-main > .shell{
    position:relative;
}

.other-products{
    background:transparent;
}

/* Mobile */
@media(max-width:700px){
    .product-information{
        padding:0 16px 22px;
        border-radius:10px;
    }

    .product-tabs{
        margin-inline:-16px;
        padding-inline:16px;
    }

    .product-detail-main .technical-table-wrap{
        overflow-x:auto;
    }

    .product-detail-main .technical-table{
        min-width:650px;
        table-layout:auto;
    }
}

/* =========================================================
   PRODUCT TECHNICAL SECTION — FINAL STRUCTURE
   ========================================================= */

.product-detail-main{
    background:#edf2f7;
}

/* White content surface */
.product-information{
    background:#fff;
    border:1px solid #dce4ef;
    border-radius:14px;
    overflow:hidden;
}

/* Technical section itself */
.product-detail-main #specifications{
    padding:34px 0 38px;
}

/* Two-column reference layout */
.product-detail-main .technical-reference-layout{
    display:grid;
    grid-template-columns:minmax(0,1.22fr) minmax(330px,.78fr);
    gap:30px;
    align-items:start;
    direction:ltr;
}

.product-detail-main .technical-reference-table,
.product-detail-main .technical-reference-specs{
    direction:rtl;
}

/* Right-side specification card */
.product-detail-main .technical-reference-specs{
    min-width:0;
}

.product-detail-main .technical-reference-specs .specification-list{
    display:block;
    width:100%;
    margin:0;
    border:1px solid #dce4ef;
    border-radius:9px;
    overflow:hidden;
    background:#fff;
}

.product-detail-main .technical-reference-specs .specification-item{
    display:grid;
    grid-template-columns:minmax(105px,.55fr) minmax(0,1.45fr);
    align-items:start;
    gap:15px;
    min-height:58px;
    padding:14px 16px;
    box-sizing:border-box;
    border:0;
    border-bottom:1px solid #dce4ef;
}

.product-detail-main .technical-reference-specs .specification-item:last-child{
    border-bottom:0;
}

.product-detail-main .technical-reference-specs .specification-item dt{
    color:#0a2258;
    font-size:.75rem;
    font-weight:900;
    text-align:right;
}

.product-detail-main .technical-reference-specs .specification-item dt small{
    display:block;
    margin-top:3px;
    color:#71809c;
    font-size:.58rem;
}

.product-detail-main .technical-reference-specs .specification-item dd{
    margin:0;
    color:#71809c;
    font-size:.75rem;
    line-height:1.9;
    text-align:center;
}

/* Left-side technical table */
.product-detail-main .technical-reference-table{
    min-width:0;
    direction:rtl;
}

.product-detail-main .technical-reference-table h3{
    margin:0 0 11px;
    color:#0a2258;
    font-size:.9rem;
    font-weight:900;
}

.product-detail-main .technical-reference-table .technical-table-wrap{
    width:100%;
    overflow:hidden;
    border:1px solid #dce4ef;
    border-radius:9px;
    background:#fff;
}

.product-detail-main .technical-reference-table .technical-table{
    display:table;
    width:100%;
    min-width:0;
    table-layout:fixed;
    border-collapse:collapse;
    background:#fff;
    font-size:.64rem;
}

.product-detail-main .technical-reference-table .technical-table th{
    padding:10px 6px;
    background:#000257 !important;
    color:#fff !important;
    border:1px solid #27316c !important;
    text-align:center;
    vertical-align:middle;
    font-weight:900;
    line-height:1.45;
    white-space:normal;
}

.product-detail-main .technical-reference-table .technical-table td{
    padding:8px 5px;
    background:#fff !important;
    color:#61718d !important;
    border:1px solid #dce4ef !important;
    text-align:center;
    vertical-align:middle;
    line-height:1.5;
    white-space:normal;
    overflow-wrap:anywhere;
}

.product-detail-main .technical-reference-table .technical-table tbody tr:nth-child(even) td{
    background:#f7f9fc !important;
}

/* Remove old technical layout rules from affecting this section */
.product-detail-main #specifications .technical-tables,
.product-detail-main #specifications .specification-layout{
    display:none !important;
}

/* Mobile */
@media(max-width:900px){
    .product-detail-main .technical-reference-layout{
        grid-template-columns:1fr;
        gap:22px;
    }

    .product-detail-main .technical-reference-table{
        order:2;
    }

    .product-detail-main .technical-reference-specs{
        order:1;
    }

    .product-detail-main .technical-reference-table .technical-table-wrap{
        overflow-x:auto;
    }

    .product-detail-main .technical-reference-table .technical-table{
        min-width:680px;
        table-layout:auto;
    }
}

@media(max-width:700px){
    .product-information{
        border-radius:10px;
    }

    .product-detail-main #specifications{
        padding:27px 0 30px;
    }

    .product-detail-main .technical-reference-specs .specification-item{
        grid-template-columns:105px minmax(0,1fr);
        padding:13px 12px;
    }

    .product-detail-main .technical-reference-table .technical-table{
        min-width:680px;
    }
}

/* =========================================================
   PRODUCT DETAIL — FINAL VISUAL POLISH
   Technical section + interactions
   ========================================================= */

/* ---------- Technical section surface ---------- */

.product-detail-main #specifications{
    padding:34px 0 42px;
    background:#fff;
}

.product-detail-main #specifications .product-section-heading{
    direction:rtl;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin:0 0 24px;
}

.product-detail-main #specifications .product-section-heading h2{
    order:1;
    margin:0;
    color:#000257;
    font-size:1.45rem;
    line-height:1.4;
    font-weight:950;
}

.product-detail-main #specifications .product-section-heading span{
    order:2;
    color:#71809c;
    font-size:.66rem;
    font-weight:800;
    letter-spacing:.02em;
}

/* ---------- Technical two-column composition ---------- */

.product-detail-main .technical-reference-layout{
    display:grid;
    grid-template-columns:minmax(0,1.22fr) minmax(330px,.78fr);
    gap:28px;
    align-items:start;
    direction:ltr;
}

.product-detail-main .technical-reference-table,
.product-detail-main .technical-reference-specs{
    direction:rtl;
    min-width:0;
}

/* ---------- Specification card ---------- */

.product-detail-main .technical-reference-specs .specification-list{
    margin:0;
    width:100%;
    border:1px solid #dce4ef;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 5px 18px rgba(0,2,87,.035);
}

.product-detail-main .technical-reference-specs .specification-item{
    display:grid;
    grid-template-columns:110px minmax(0,1fr);
    align-items:center;
    gap:16px;
    min-height:58px;
    padding:14px 16px;
    border:0;
    border-bottom:1px solid #dce4ef;
    transition:
        background .22s ease,
        padding .22s ease;
}

.product-detail-main .technical-reference-specs .specification-item:last-child{
    border-bottom:0;
}

.product-detail-main .technical-reference-specs .specification-item:hover{
    background:#f8faff;
    padding-inline:19px;
}

.product-detail-main .technical-reference-specs .specification-item dt{
    margin:0;
    color:#0a2258;
    font-size:.75rem;
    font-weight:900;
    line-height:1.7;
    text-align:right;
}

.product-detail-main .technical-reference-specs .specification-item dt small{
    display:block;
    margin-top:2px;
    color:#8a96aa;
    font-size:.58rem;
    font-weight:600;
}

.product-detail-main .technical-reference-specs .specification-item dd{
    margin:0;
    color:#71809c;
    font-size:.75rem;
    line-height:1.9;
    text-align:center;
}

/* ---------- Technical table ---------- */

.product-detail-main .technical-reference-table h3{
    margin:0 0 11px;
    color:#0a2258;
    font-size:.86rem;
    font-weight:900;
}

.product-detail-main .technical-reference-table .technical-table-wrap{
    width:100%;
    overflow:hidden;
    border:1px solid #dce4ef;
    border-radius:10px;
    background:#fff;
    box-shadow:0 5px 18px rgba(0,2,87,.035);
}

.product-detail-main .technical-reference-table .technical-table{
    width:100%;
    min-width:0;
    table-layout:fixed;
    border-collapse:collapse;
    background:#fff;
    font-size:.65rem;
}

.product-detail-main .technical-reference-table .technical-table th{
    padding:10px 6px;
    background:#000257 !important;
    color:#fff !important;
    border:1px solid rgba(255,255,255,.18) !important;
    text-align:center;
    vertical-align:middle;
    font-weight:900;
    line-height:1.45;
}

.product-detail-main .technical-reference-table .technical-table td{
    padding:8px 5px;
    background:#fff !important;
    color:#61718d !important;
    border:1px solid #dce4ef !important;
    text-align:center;
    vertical-align:middle;
    line-height:1.55;
    transition:
        background .18s ease,
        color .18s ease;
}

.product-detail-main .technical-reference-table .technical-table tbody tr:nth-child(even) td{
    background:#f7f9fc !important;
}

.product-detail-main .technical-reference-table .technical-table tbody tr:hover td{
    background:#eef3ff !important;
    color:#0a2258 !important;
}

/* ---------- Tabs ---------- */

.product-detail-main .product-tabs{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    padding:0;
    margin:0 -34px 0;
    border:0;
    border-bottom:1px solid #dce4ef;
    border-radius:0;
    background:#fff;
}

.product-detail-main .product-tabs button{
    position:relative;
    min-height:58px;
    padding:0 18px;
    border:0;
    border-radius:0;
    background:transparent;
    color:#71809c;
    font:800 .82rem Peyda,Tahoma,sans-serif;
    cursor:pointer;
    transition:
        color .22s ease,
        background .22s ease;
}

.product-detail-main .product-tabs button::after{
    content:"";
    position:absolute;
    right:24%;
    bottom:-1px;
    width:52%;
    height:3px;
    border-radius:3px 3px 0 0;
    background:#f37024;
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .25s ease;
}

.product-detail-main .product-tabs button:hover{
    color:#000257;
    background:#fafbfe;
}

.product-detail-main .product-tabs button:hover::after,
.product-detail-main .product-tabs button.is-active::after{
    transform:scaleX(1);
}

.product-detail-main .product-tabs button.is-active{
    background:#fff;
    color:#000257;
}

/* ---------- Product-page buttons ---------- */

.product-detail-main .price-action a,
.product-detail-main .catalog-copy a,
.product-detail-main .other-products-head a,
.product-detail-main .site-outline-button{
    transition:
        transform .22s ease,
        background-color .22s ease,
        border-color .22s ease,
        color .22s ease,
        box-shadow .22s ease;
}

.product-detail-main .price-action a:hover,
.product-detail-main .catalog-copy a:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(243,112,36,.20);
}

.product-detail-main .catalog-copy a:active,
.product-detail-main .price-action a:active{
    transform:translateY(0);
}

.product-detail-main .other-product-card{
    transition:
        transform .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;
}

.product-detail-main .other-product-card:hover{
    transform:translateY(-4px);
    border-color:#000257;
    box-shadow:0 14px 32px rgba(0,2,87,.10);
}

.product-detail-main .other-product-image img{
    transition:transform .3s ease;
}

.product-detail-main .other-product-card:hover .other-product-image img{
    transform:scale(1.035);
}

/* ---------- Catalog empty state ---------- */

.product-detail-main #catalog{
    min-height:250px;
}

.product-detail-main .catalog-copy-only{
    width:min(700px,100%);
    margin-inline:auto;
    text-align:center;
}

.product-detail-main .catalog-copy-only h3{
    margin-bottom:12px;
}

/* ---------- Reduced motion ---------- */

@media(prefers-reduced-motion:reduce){
    .product-detail-main *,
    .product-detail-main *::before,
    .product-detail-main *::after{
        transition:none !important;
        animation:none !important;
    }
}

/* ---------- Responsive ---------- */

@media(max-width:900px){
    .product-detail-main #specifications{
        padding:28px 0 34px;
    }

    .product-detail-main .technical-reference-layout{
        grid-template-columns:1fr;
        gap:20px;
    }

    .product-detail-main .technical-reference-table{
        order:2;
    }

    .product-detail-main .technical-reference-specs{
        order:1;
    }
}

@media(max-width:700px){
    .product-detail-main .product-tabs{
        margin-inline:-16px;
    }

    .product-detail-main .product-tabs button{
        min-height:50px;
        padding:0 8px;
        font-size:.72rem;
    }

    .product-detail-main .product-tabs button::after{
        right:20%;
        width:60%;
    }

    .product-detail-main .technical-reference-table .technical-table-wrap{
        overflow-x:auto;
    }

    .product-detail-main .technical-reference-table .technical-table{
        min-width:680px;
        table-layout:auto;
    }

    .product-detail-main .technical-reference-specs .specification-item{
        grid-template-columns:100px minmax(0,1fr);
        padding:12px;
    }
}

/* ---------- Dark theme ---------- */

html[data-theme="dark"] .product-detail-main #specifications{
    background:#121c2e;
}

html[data-theme="dark"] .product-detail-main #specifications .product-section-heading h2,
html[data-theme="dark"] .product-detail-main .technical-reference-table h3{
    color:#8eb2ff;
}

html[data-theme="dark"] .product-detail-main .technical-reference-specs .specification-list,
html[data-theme="dark"] .product-detail-main .technical-reference-table .technical-table-wrap{
    background:#121c2e;
    border-color:#26314a;
}

html[data-theme="dark"] .product-detail-main .technical-reference-specs .specification-item{
    border-color:#26314a;
}

html[data-theme="dark"] .product-detail-main .technical-reference-specs .specification-item:hover{
    background:#151f33;
}

html[data-theme="dark"] .product-detail-main .technical-reference-specs .specification-item dt{
    color:#eef3ff;
}

html[data-theme="dark"] .product-detail-main .technical-reference-table .technical-table td{
    background:#121c2e !important;
    color:#94a2bd !important;
    border-color:#26314a !important;
}

html[data-theme="dark"] .product-detail-main .technical-reference-table .technical-table tbody tr:nth-child(even) td{
    background:#151f33 !important;
}

html[data-theme="dark"] .product-detail-main .technical-reference-table .technical-table tbody tr:hover td{
    background:#1c2b49 !important;
    color:#eef3ff !important;
}

/* Technical section alignment — final */
.product-detail-main #specifications .product-section-heading span{
    display:none !important;
}

.product-detail-main #specifications .product-section-heading{
    margin-bottom:26px;
}

.product-detail-main #specifications .technical-reference-layout{
    align-items:start;
}

.product-detail-main #specifications .technical-reference-table h3{
    display:none !important;
}

.product-detail-main #specifications .technical-reference-table,
.product-detail-main #specifications .technical-reference-specs{
    margin-top:0 !important;
    padding-top:0 !important;
}

.product-detail-main #specifications .technical-reference-table .technical-table-wrap,
.product-detail-main #specifications .technical-reference-specs .specification-list{
    margin-top:0 !important;
}

/* Same visual starting line */
.product-detail-main #specifications .technical-reference-table,
.product-detail-main #specifications .technical-reference-specs{
    align-self:start;
}


/* Keep conductor construction values in their stored Excel order */
.product-detail-main .technical-reference-table .technical-table tbody td:nth-child(2){
    direction:ltr;
    unicode-bidi:isolate;
    text-align:center;
}

/* =========================================================
   FINAL PRODUCT INTRO — REFERENCE LAYOUT
   Hero + Price CTA are one unified surface
   ========================================================= */

.product-detail-main .product-intro-shell{
    width:min(1320px,calc(100% - 32px));
    margin:0 auto;
    padding:34px 42px 24px;
    box-sizing:border-box;
    border:1px solid var(--product-line);
    border-radius:16px;
    background:var(--product-surface);
    box-shadow:0 10px 30px rgba(0,2,87,.035);
}

/* Image LEFT — content RIGHT */
.product-detail-main .product-intro-shell .product-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:center;
    gap:54px;
    min-height:360px;
    margin:0;
    padding:0 0 28px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    direction:ltr;
}

/* Image */
.product-detail-main .product-intro-shell .product-hero-visual{
    grid-column:1;
    grid-row:1;
    width:100%;
    min-height:350px;
    margin:0;
    padding:22px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:13px;
    background:var(--product-soft);
    overflow:hidden;
}

.product-detail-main .product-intro-shell .product-hero-visual img{
    display:block;
    width:100%;
    max-width:520px;
    height:320px;
    object-fit:contain;
    transition:transform .45s cubic-bezier(.2,.7,.2,1);
}

.product-detail-main .product-intro-shell .product-hero-visual:hover img{
    transform:scale(1.035);
}

/* Text RIGHT */
.product-detail-main .product-intro-shell .product-hero-copy{
    grid-column:2;
    grid-row:1;
    min-width:0;
    direction:rtl;
    text-align:right;
    align-items:flex-end;
}

.product-detail-main .product-intro-shell .product-kicker{
    margin:0 0 9px;
    color:var(--product-orange);
    font-size:.78rem;
    font-weight:950;
}

.product-detail-main .product-intro-shell .product-hero-copy h1{
    width:100%;
    margin:0;
    color:var(--product-navy);
    text-align:right;
    font-size:clamp(2.025rem,3.24vw,3.32rem);
    line-height:1.2;
    font-weight:950;
    letter-spacing:-.025em;
}

.product-detail-main .product-intro-shell .product-en{
    width:100%;
    margin:10px 0 20px;
    color:var(--product-muted);
    text-align:right;
    direction:ltr;
    font-size:1rem;
    font-weight:700;
}

.product-detail-main .product-intro-shell .product-summary{
    width:100%;
    max-width:620px;
    margin:0 0 22px 0;
    color:var(--product-muted);
    text-align:right;
    direction:rtl;
    font-size:.9rem;
    line-height:2.15;
}

.product-detail-main .product-intro-shell .product-meta{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    align-items:center;
    gap:8px;
    direction:rtl;
}

.product-detail-main .product-intro-shell .product-meta span{
    min-height:34px;
    padding:0 12px;
    border:1px solid var(--product-line);
    border-radius:7px;
    background:var(--product-soft);
    color:var(--product-ink);
    direction:ltr;
    transition:
        transform .22s ease,
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease;
}

.product-detail-main .product-intro-shell .product-meta span:hover{
    transform:translateY(-2px);
    border-color:var(--product-orange);
    background:color-mix(in srgb,var(--product-orange) 8%,var(--product-soft));
    box-shadow:0 7px 18px rgba(243,112,36,.12);
}

/* Price CTA stays INSIDE the same white surface */
.product-detail-main .product-intro-shell .price-action{
    width:100%;
    min-height:72px;
    margin:0;
    padding:12px 14px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    border:1px solid var(--product-orange);
    border-radius:11px;
    background:transparent;
    color:var(--product-ink);
    box-shadow:none;
    direction:rtl;
}

.product-detail-main .product-intro-shell .price-action strong{
    color:var(--product-ink);
    font-size:.88rem;
    font-weight:900;
}

.product-detail-main .product-intro-shell .price-action a{
    min-height:44px;
    padding:0 23px;
    border:1px solid var(--product-orange);
    border-radius:7px;
    background:var(--product-orange);
    color:#fff;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease;
}

.product-detail-main .product-intro-shell .price-action a:hover{
    transform:translateY(-2px);
    background:#e8661c;
    box-shadow:0 9px 22px rgba(243,112,36,.24);
}

.product-detail-main .product-intro-shell .price-action a:active{
    transform:translateY(0);
    box-shadow:none;
}

/* DARK MODE */
html[data-theme="dark"] .product-detail-main{
    --product-navy:#8eb2ff;
    --product-orange:#f37024;
    --product-ink:#eef3ff;
    --product-muted:#a7b4cc;
    --product-line:#2b3852;
    --product-surface:#121c2e;
    --product-soft:#182338;
    background:#0b1424;
}

html[data-theme="dark"] .product-detail-main .product-intro-shell{
    background:#121c2e;
    border-color:#2b3852;
    box-shadow:0 12px 34px rgba(0,0,0,.24);
}

html[data-theme="dark"] .product-detail-main .product-hero-visual{
    background:#182338;
    border-color:#2b3852;
}

html[data-theme="dark"] .product-detail-main .product-hero-copy h1{
    color:#eef3ff;
}

html[data-theme="dark"] .product-detail-main .product-kicker{
    color:#f58a48;
}

html[data-theme="dark"] .product-detail-main .product-en,
html[data-theme="dark"] .product-detail-main .product-summary{
    color:#a7b4cc;
}

html[data-theme="dark"] .product-detail-main .product-meta span{
    background:#182338;
    border-color:#34435f;
    color:#eef3ff;
}

html[data-theme="dark"] .product-detail-main .product-meta span:hover{
    background:#222f48;
    border-color:#f37024;
}

html[data-theme="dark"] .product-detail-main .price-action{
    border-color:#f37024;
    background:#121c2e;
}

html[data-theme="dark"] .product-detail-main .price-action strong{
    color:#eef3ff;
}

/* TABLET / MOBILE — PRODUCT INTRO */
@media(max-width:900px){
    .product-detail-main .product-intro-shell{
        width:calc(100% - 24px);
        padding:24px 20px 18px;
    }

    .product-detail-main .product-intro-shell .product-hero{
        grid-template-columns:minmax(0,1fr);
        gap:22px;
        min-height:0;
        padding-bottom:22px;
        direction:rtl;
    }

    .product-detail-main .product-intro-shell .product-hero-visual{
        grid-column:1;
        grid-row:1;
        width:min(100%,430px);
        max-width:430px;
        aspect-ratio:1 / 1;
        min-height:0;
        justify-self:center;
    }

    .product-detail-main .product-intro-shell .product-hero-visual img{
        width:100%;
        height:100%;
        max-width:none;
        object-fit:cover;
    }

    .product-detail-main .product-intro-shell .product-hero-copy{
        grid-column:1;
        grid-row:2;
        width:100%;
        min-width:0;
        align-items:stretch;
        direction:rtl;
    }

    .product-detail-main .product-intro-shell .product-kicker{
        width:100%;
        text-align:right;
    }

    .product-detail-main .product-intro-shell .product-title-line{
        width:100%;
        min-width:0;
        display:grid;
        grid-template-columns:minmax(0,1fr);
        justify-items:stretch;
        gap:6px;
        direction:ltr;
    }

    .product-detail-main .product-intro-shell .product-title-line .product-title-fa{
        justify-self:stretch;
        max-width:100%;
        white-space:normal;
        overflow-wrap:anywhere;
        text-align:right;
        font-size:clamp(1.7rem,5vw,2.2rem);
    }

    .product-detail-main .product-intro-shell .product-title-line .product-en{
        justify-self:start;
        max-width:100%;
        white-space:normal;
        overflow-wrap:anywhere;
        font-size:.9rem;
    }

    .product-detail-main .product-intro-shell .product-summary{
        max-width:none;
        text-align:right;
        overflow-wrap:anywhere;
        font-size:.9rem;
        line-height:2;
    }

    .product-detail-main .product-intro-shell .product-meta{
        justify-content:flex-start;
    }
}

@media(max-width:600px){
    .product-detail-main .product-intro-shell{
        width:calc(100% - 20px);
        padding:16px 14px 14px;
        border-radius:12px;
    }

    .product-detail-main .product-intro-shell .product-hero{
        gap:18px;
        padding-bottom:18px;
    }

    .product-detail-main .product-intro-shell .product-hero-visual{
        width:100%;
        max-width:360px;
    }

    .product-detail-main .product-intro-shell .product-title-line .product-title-fa{
        font-size:1.7rem;
        line-height:1.45;
    }

    .product-detail-main .product-intro-shell .product-title-line .product-en{
        font-size:.85rem;
    }

    .product-detail-main .product-intro-shell .product-summary{
        font-size:.82rem;
        line-height:2;
    }

    .product-detail-main .product-intro-shell .product-meta{
        gap:6px;
    }

    .product-detail-main .product-intro-shell .product-meta span{
        max-width:100%;
        white-space:normal;
        overflow-wrap:anywhere;
    }

    .product-detail-main .product-intro-shell .price-action{
        flex-direction:column;
        align-items:stretch;
        gap:10px;
        min-height:0;
        padding-top:12px;
    }

    .product-detail-main .product-intro-shell .price-action strong{
        text-align:right;
        font-size:.9rem;
        line-height:1.9;
    }

    .product-detail-main .product-intro-shell .price-action a{
        width:100%;
        box-sizing:border-box;
        justify-content:center;
    }
}

/* =========================================================
   PRODUCT INTRO — FINAL SURFACE + SQUARE IMAGE
   ========================================================= */

/* Hero and price CTA visually become one continuous white surface */
.product-detail-main .product-intro-shell{
    padding-bottom:18px;
}

.product-detail-main .product-intro-shell .product-hero{
    padding-bottom:24px;
}

/* Remove the separate white-box feeling from the price area */
.product-detail-main .product-intro-shell .price-action{
    border:0;
    border-top:1px solid var(--product-line);
    border-radius:0;
    padding:18px 0 0;
    background:transparent;
    box-shadow:none;
}

/* Keep the orange CTA button itself */
.product-detail-main .product-intro-shell .price-action a{
    flex:0 0 auto;
}

/* =========================================================
   SQUARE PRODUCT IMAGE
   ========================================================= */

.product-detail-main .product-intro-shell .product-hero-visual{
    width:100%;
    max-width:430px;
    aspect-ratio:1 / 1;
    min-height:0;
    height:auto;
    padding:0;
    justify-self:start;
    align-self:center;
    border-radius:13px;
    overflow:hidden;
    background:var(--product-soft);
}

/* Image completely fills the square frame */
.product-detail-main .product-intro-shell .product-hero-visual img{
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center;
    transition:transform .45s cubic-bezier(.2,.7,.2,1);
}

.product-detail-main .product-intro-shell .product-hero-visual:hover img{
    transform:scale(1.035);
}

/* Keep the square centered in its column */
.product-detail-main .product-intro-shell .product-hero{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}

@media(max-width:900px){
    .product-detail-main .product-intro-shell .product-hero-visual{
        width:min(100%,430px);
        max-width:430px;
        justify-self:center;
        aspect-ratio:1 / 1;
    }

    .product-detail-main .product-intro-shell .price-action{
        padding-top:16px;
    }
}

@media(max-width:600px){
    .product-detail-main .product-intro-shell .product-hero-visual{
        width:100%;
        max-width:100%;
        aspect-ratio:1 / 1;
        padding:0;
    }

    .product-detail-main .product-intro-shell .price-action{
        border-top:1px solid var(--product-line);
        padding-top:12px;
    }
}

/* Dark theme: same unified surface */
html[data-theme="dark"] .product-detail-main .product-intro-shell .price-action{
    background:transparent;
    border-top-color:#2b3852;
}



/* =========================================================
   PRODUCT HERO — FINAL TYPOGRAPHY
   ========================================================= */

.product-detail-main .product-kicker{
    font-size:1rem;
    font-weight:900;
}

/* Persian title + English name on one visual line */
.product-detail-main .product-title-line{
    display:flex;
    align-items:baseline;
    justify-content:flex-start;
    direction:rtl;
    gap:18px;
    flex-wrap:wrap;
}

.product-detail-main .product-title-line h1{
    margin:0;
}

.product-detail-main .product-title-line .product-en{
    margin:0;
    font-size:1rem;
    font-weight:700;
    line-height:1;
    color:var(--product-muted);
    white-space:nowrap;
    direction:ltr;
    order:2;
}

/* Bigger product summary */
.product-detail-main .product-summary{
    font-size:1.02rem;
    line-height:2.15;
    font-weight:500;
}

/* Price message: deliberately prominent */
.product-detail-main .price-action strong{
    font-size:1.18rem;
    line-height:1.8;
    font-weight:900;
}

/* Price button ~20% larger */
.product-detail-main .price-action a{
    min-height:52px;
    padding:0 28px;
    font-size:1rem;
    font-weight:900;
}

/* Button interaction */
.product-detail-main .price-action a{
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.product-detail-main .price-action a:hover{
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 8px 20px rgba(243,112,36,.22);
}

.product-detail-main .price-action a:active{
    transform:translateY(0) scale(.98);
}

@media(max-width:700px){
    .product-detail-main .product-title-line{
        gap:10px;
    }

    .product-detail-main .product-title-line .product-en{
        width:100%;
        order:2;
    }

    .product-detail-main .product-summary{
        font-size:.92rem;
    }

    .product-detail-main .price-action strong{
        font-size:1rem;
    }
}

/* =========================================================
   HERO TITLE — PERSIAN TITLE + ENGLISH NAME IN ONE LINE
   ========================================================= */

.product-detail-main .product-title-line{
    display:flex;
    flex-direction:row-reverse;
    flex-wrap:nowrap;
    align-items:baseline;
    justify-content:flex-start;
    direction:ltr;
    gap:18px;
    width:100%;
    white-space:nowrap;
}

.product-detail-main .product-title-line h1{
    flex:0 0 auto;
    margin:0;
    direction:rtl;
    white-space:nowrap;
}

.product-detail-main .product-title-line .product-en{
    flex:0 0 auto;
    order:initial;
    width:auto;
    margin:0;
    direction:ltr;
    white-space:nowrap;
    font-size:1rem;
    font-weight:700;
    color:var(--product-muted);
}

@media(max-width:900px){
    .product-detail-main .product-title-line{
        flex-wrap:wrap;
        white-space:normal;
        justify-content:flex-start;
    }

    .product-detail-main .product-title-line .product-en{
        width:auto;
    }
}

@media(max-width:600px){
    .product-detail-main .product-title-line{
        gap:10px;
    }

    .product-detail-main .product-title-line .product-en{
        font-size:.9rem;
    }
}


/* Price CTA — prominent message */
.product-detail-main .price-action strong{
    font-size:1rem;
    line-height:1.8;
    font-weight:900;
}

@media(max-width:600px){
    .product-detail-main .product-intro-shell .price-action strong{
        font-size:.9rem;
        line-height:1.9;
    }
}

@media(max-width:900px){
    .product-detail-main .price-action strong{
        font-size:1.4rem;
    }
}

@media(max-width:600px){
    .product-detail-main .price-action strong{
        font-size:1.15rem;
    }
}


/* Product kicker above the Persian product title */
.product-detail-main .product-hero-copy{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.product-detail-main .product-kicker{
    display:block;
    align-self:flex-end;
    width:max-content;
    margin:0 0 8px;
    text-align:right;
}

.product-detail-main .product-title-line{
    display:flex;
    flex-direction:row-reverse;
    flex-wrap:nowrap;
    align-items:baseline;
    justify-content:flex-start;
    direction:ltr;
    gap:18px;
    width:100%;
}



/* =========================================================
   FINAL HERO TITLE STRUCTURE
   ========================================================= */

.product-detail-main .product-hero-copy{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    direction:rtl;
}

.product-detail-main .product-kicker{
    display:block;
    width:100%;
    margin:0 0 7px;
    text-align:right;
    direction:rtl;
    color:var(--product-orange);
    font-size:1rem;
    font-weight:900;
}

.product-detail-main .product-title-line{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    direction:ltr;
    justify-items:start;
}

.product-detail-main .product-title-line .product-title-fa{
    display:block;
    justify-self:end;
    max-width:100%;
    direction:rtl;
    color:var(--product-navy);
    font-size:clamp(2rem,3.2vw,3.28rem);
    line-height:1.2;
    font-weight:950;
    letter-spacing:-.025em;
    white-space:normal;
    overflow-wrap:anywhere;
    text-align:right;
}

.product-detail-main .product-title-line .product-en{
    display:block;
    justify-self:start;
    width:auto;
    margin:0;
    direction:ltr;
    color:var(--product-muted);
    font-size:1rem;
    font-weight:700;
    white-space:nowrap;
}

html[data-theme="dark"] .product-detail-main .product-title-line .product-title-fa{
    color:#eef3ff;
}

html[data-theme="dark"] .product-detail-main .product-title-line .product-en{
    color:#a7b4cc;
}

@media(max-width:700px){
    .product-detail-main .product-title-line{
        gap:10px;
        flex-wrap:wrap;
        white-space:normal;
    }

    .product-detail-main .product-title-line .product-title-fa{
        font-size:2rem;
    }

    .product-detail-main .product-title-line .product-en{
        font-size:.9rem;
    }
}


/* Product detail — align information surface with intro card */
.product-detail-main .product-information.shell{
    width:min(1320px,calc(100% - 32px));
}

/* Product description — reference layout */
.product-detail-main .product-description-section{
    padding:34px 32px 38px;
}

.product-detail-main .product-description-section .product-section-heading{
    display:block;
    margin:0 0 28px;
    text-align:right;
}

.product-detail-main .product-description-section .product-section-heading span{
    display:none;
}

.product-detail-main .product-description-section .product-section-heading h2{
    margin:0;
    color:var(--product-navy);
    font-size:1.45rem;
    line-height:1.4;
    font-weight:900;
}

.product-detail-main .product-description-section .description-copy{
    width:100%;
    margin:0;
}

.product-detail-main .product-description-section .description-lead{
    margin:0 0 24px;
    color:var(--product-muted);
    font-size:.98rem;
    line-height:2.15;
    text-align:right;
}

.product-detail-main .product-description-section .description-facts{
    display:grid;
    gap:10px;
    margin:0;
}

.product-detail-main .product-description-section .description-facts p{
    display:flex;
    justify-content:flex-start;
    align-items:baseline;
    gap:7px;
    margin:0;
    color:var(--product-muted);
    font-size:.9rem;
    line-height:2;
}

.product-detail-main .product-description-section .description-facts strong{
    color:var(--product-ink);
    font-weight:900;
    flex:none;
}

.product-detail-main .product-description-section .expert-contact{
    width:100%;
    margin-top:34px;
}

@media(max-width:900px){
    .product-detail-main .product-information.shell{
        width:calc(100% - 24px);
    }

    .product-detail-main .product-description-section{
        padding:26px 20px 30px;
    }
}


/* Expert contact — final layout */
.product-detail-main .product-description-section .expert-contact{
    position:relative;
    width:calc(100% - 40px);
    min-height:112px;
    margin:34px auto 0;
    padding:18px 24px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    gap:12px;
    direction:rtl;
}

.product-detail-main .product-description-section .expert-contact > div{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    text-align:right;
    margin:0;
    transform:none;
}

.product-detail-main .product-description-section .expert-contact a{
    position:static;
    flex:0 0 auto;
    margin-right:auto;
    transform:none;
}

.product-detail-main .product-description-section .expert-contact a:hover{
    transform:translateY(-2px);
}

@media(max-width:900px){
    .product-detail-main .product-description-section .expert-contact{
        width:100%;
    }
}

/* Expert contact — clean three-part alignment */
.product-detail-main .product-description-section .expert-contact{
    display:grid;
    grid-template-columns:auto 1fr auto;
    grid-template-areas:"button content icon";
    align-items:center;
    column-gap:12px;
    direction:ltr;
    min-height:112px;
    padding:18px 24px;
}

.product-detail-main .product-description-section .expert-contact-icon{
    grid-area:icon;
    justify-self:end;
}

.product-detail-main .product-description-section .expert-contact > div{
    grid-area:content;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    text-align:right;
    direction:rtl;
    margin:0;
    transform:none;
}

.product-detail-main .product-description-section .expert-contact a{
    grid-area:button;
    position:static;
    justify-self:start;
    align-self:center;
    margin:0;
    transform:none;
}

.product-detail-main .product-description-section .expert-contact a:hover{
    transform:translateY(-2px);
}

@media(max-width:600px){
    .product-detail-main .product-description-section .expert-contact{
        grid-template-columns:auto 1fr auto;
        column-gap:8px;
        padding:16px;
    }

    .product-detail-main .product-description-section .expert-contact > div{
        min-width:0;
    }

    .product-detail-main .product-description-section .expert-contact a{
        padding-inline:14px;
    }
}


/* Expert contact — responsive */
@media(max-width:900px){
    .expert-contact{
        min-height:100px;
        padding:16px 20px;
    }

    .expert-contact-content{
        gap:11px;
    }

    .expert-contact-icon{
        flex-basis:36px;
        width:36px;
        height:36px;
    }
}

@media(max-width:600px){
    .expert-contact{
        flex-direction:column;
        align-items:stretch;
        gap:16px;
        padding:18px;
    }

    .expert-contact-content{
        justify-content:flex-start;
    }

    .expert-contact-button{
        align-self:flex-start;
        min-height:42px;
        padding-inline:20px;
    }
}

/* Expert contact — exact reference alignment */
.product-detail-main .product-description-section .expert-contact{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    min-height:104px !important;
    padding:18px 24px !important;
    direction:ltr !important;
    box-sizing:border-box;
}

.product-detail-main .product-description-section .expert-contact-content{
    display:flex !important;
    flex-direction:row-reverse !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:14px !important;
    direction:rtl !important;
    margin:0 !important;
    min-width:0;
}

.product-detail-main .product-description-section .expert-contact-icon{
    position:static !important;
    flex:0 0 38px !important;
    width:38px !important;
    height:38px !important;
    margin:0 !important;
    transform:none !important;
    display:grid !important;
    place-items:center !important;
    border-radius:50% !important;
}

.product-detail-main .product-description-section .expert-contact-text{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    text-align:right !important;
    direction:rtl !important;
    margin:0 !important;
    transform:none !important;
}

.product-detail-main .product-description-section .expert-contact-text strong{
    margin:0 0 3px !important;
    line-height:1.7 !important;
}

.product-detail-main .product-description-section .expert-contact-text p{
    margin:0 !important;
    line-height:1.8 !important;
}

.product-detail-main .product-description-section .expert-contact-button{
    position:static !important;
    flex:0 0 auto !important;
    align-self:center !important;
    margin:0 !important;
    transform:none !important;
}

.product-detail-main .product-description-section .expert-contact-button:hover{
    transform:translateY(-2px) !important;
}

/* Expert contact — swap CTA and information sides */
.product-detail-main .product-description-section .expert-contact{
    direction:rtl !important;
}

.product-detail-main .product-description-section .expert-contact-content{
    order:1 !important;
}

.product-detail-main .product-description-section .expert-contact-button{
    order:2 !important;
}

/* Expert contact — question icon to the right of text */
.product-detail-main .product-description-section .expert-contact-content{
    flex-direction:row !important;
    direction:rtl !important;
}


/* Product catalog — reference layout */
.product-detail-main .product-catalog-section{
    padding-bottom:34px;
}

.product-detail-main .product-catalog-section .product-section-heading{
    margin-bottom:26px;
}

.product-detail-main .product-catalog-section .product-section-heading span{
    display:none;
}

.product-detail-main .product-catalog-section .catalog-layout-detail{
    display:grid;
    grid-template-columns:minmax(0,1fr) 410px;
    gap:52px;
    align-items:center;
    direction:ltr;
    min-height:420px;
}

.product-detail-main .product-catalog-section .catalog-copy{
    direction:rtl;
    text-align:right;
    padding:20px 10px;
}

.product-detail-main .product-catalog-section .catalog-copy h3{
    margin:0 0 16px;
    color:var(--product-ink);
    font-size:1.45rem;
    line-height:1.6;
    font-weight:900;
}

.product-detail-main .product-catalog-section .catalog-copy p{
    max-width:720px;
    margin:0 0 28px;
    color:var(--product-muted);
    font-size:.98rem;
    line-height:2.15;
}

.product-detail-main .product-catalog-section .catalog-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 22px;
    border:1px solid var(--product-navy);
    border-radius:8px;
    background:transparent;
    color:var(--product-navy);
    font-size:.9rem;
    font-weight:900;
    text-decoration:none;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
}

.product-detail-main .product-catalog-section .catalog-button:hover{
    transform:translateY(-2px);
    background:var(--product-navy);
    color:#fff;
    box-shadow:0 8px 20px rgba(0,2,87,.14);
}

.product-detail-main .product-catalog-section .catalog-preview{
    width:100%;
    max-width:410px;
    justify-self:end;
    padding:12px;
    box-sizing:border-box;
    border:1px solid var(--product-line);
    border-radius:12px;
    background:var(--product-soft);
    overflow:hidden;
}

.product-detail-main .product-catalog-section .catalog-preview img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:535 / 678;
    object-fit:cover;
    object-position:center;
    border-radius:6px;
}

@media(max-width:900px){
    .product-detail-main .product-catalog-section .catalog-layout-detail{
        grid-template-columns:1fr;
        gap:28px;
    }

    .product-detail-main .product-catalog-section .catalog-preview{
        order:-1;
        justify-self:center;
        max-width:430px;
    }

    .product-detail-main .product-catalog-section .catalog-copy{
        padding:0;
    }
}

@media(max-width:600px){
    .product-detail-main .product-catalog-section .catalog-copy h3{
        font-size:1.2rem;
    }

    .product-detail-main .product-catalog-section .catalog-copy p{
        font-size:.88rem;
    }
}


/* Other products — final spacing and header alignment */
.product-detail-main .other-products{
    margin-top:72px;
    padding-bottom:42px;
}

.product-detail-main .other-products-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:0 0 24px;
    padding:0;
}

.product-detail-main .other-products-head h2{
    margin:0;
    line-height:1.5;
}

.product-detail-main .other-products-head a{
    min-width:190px;
    min-height:50px;
    box-sizing:border-box;
    padding:0 20px;
    margin:0;
    border:1px solid var(--product-navy);
    border-radius:9px;
    background:transparent;
    color:var(--product-navy);
    font-size:.82rem;
    font-weight:900;
    line-height:1;
    white-space:nowrap;
}

.product-detail-main .other-products-head a:hover{
    background:var(--product-navy);
    color:#fff;
    transform:translateY(-2px);
}


/* Other products — align with main white surface */
.product-detail-main .other-products{
    width:min(1320px,calc(100% - 32px));
    margin-left:auto;
    margin-right:auto;
    margin-top:72px;
    box-sizing:border-box;
}

.product-detail-main .other-products-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}

.product-detail-main .other-product-image{
    height:205px;
}

.product-detail-main .other-product-copy{
    min-height:88px;
    padding:14px 16px;
}

.product-detail-main .other-product-copy h3{
    font-size:.9rem;
}


/* =========================================================
   PRODUCT DETAIL — FINAL DARK THEME
   Unified surfaces / text / catalog / description / products
   ========================================================= */

html[data-theme="dark"] .product-detail-main{
    background:#0b1424;
    color:#eef3ff;
}

/* Main information surface */
html[data-theme="dark"] .product-detail-main .product-information{
    background:#121c2e;
    border-color:#2b3852;
    color:#eef3ff;
}

/* Tabs */
html[data-theme="dark"] .product-detail-main .product-tabs{
    background:#121c2e;
    border-bottom-color:#2b3852;
}

html[data-theme="dark"] .product-detail-main .product-tabs button{
    color:#a7b4cc;
}

html[data-theme="dark"] .product-detail-main .product-tabs button:hover,
html[data-theme="dark"] .product-detail-main .product-tabs button.active{
    color:#eef3ff;
}

html[data-theme="dark"] .product-detail-main .product-tabs button::after{
    background:#f37024;
}

/* All information sections */
html[data-theme="dark"] .product-detail-main .product-detail-section{
    background:#121c2e;
    color:#eef3ff;
    border-color:#2b3852;
}

/* Section headings */
html[data-theme="dark"] .product-detail-main .product-section-heading h2,
html[data-theme="dark"] .product-detail-main .product-description-section h2{
    color:#8eb2ff;
}

html[data-theme="dark"] .product-detail-main .product-section-heading{
    color:#8eb2ff;
}

/* Description */
html[data-theme="dark"] .product-detail-main .description-copy{
    color:#a7b4cc;
}

html[data-theme="dark"] .product-detail-main .description-copy p{
    color:#a7b4cc;
}

html[data-theme="dark"] .product-detail-main .description-copy strong{
    color:#eef3ff;
}

html[data-theme="dark"] .product-detail-main .description-facts p{
    color:#a7b4cc;
}

html[data-theme="dark"] .product-detail-main .description-facts strong{
    color:#eef3ff;
}

/* Expert contact */
html[data-theme="dark"] .product-detail-main .expert-contact{
    background:#182338;
    border-color:#2b3852;
}

html[data-theme="dark"] .product-detail-main .expert-contact strong{
    color:#eef3ff;
}

html[data-theme="dark"] .product-detail-main .expert-contact p{
    color:#a7b4cc;
}

html[data-theme="dark"] .product-detail-main .expert-contact a{
    background:#f37024;
    color:#fff;
}

/* Catalog */
html[data-theme="dark"] .product-detail-main #catalog{
    background:#121c2e;
    color:#eef3ff;
}

html[data-theme="dark"] .product-detail-main #catalog .product-section-heading h2{
    color:#8eb2ff;
}

html[data-theme="dark"] .product-detail-main .catalog-copy h3{
    color:#eef3ff;
}

html[data-theme="dark"] .product-detail-main .catalog-copy p{
    color:#a7b4cc;
}

html[data-theme="dark"] .product-detail-main .catalog-copy a{
    border-color:#8eb2ff;
    color:#8eb2ff;
    background:transparent;
}

html[data-theme="dark"] .product-detail-main .catalog-copy a:hover{
    background:#8eb2ff;
    color:#0b1424;
}

/* Catalog image frame */
html[data-theme="dark"] .product-detail-main .catalog-image,
html[data-theme="dark"] .product-detail-main .catalog-preview{
    background:#182338;
    border-color:#2b3852;
}

/* Technical section surface */
html[data-theme="dark"] .product-detail-main #specifications{
    background:#121c2e;
    color:#eef3ff;
}

/* Other products */
html[data-theme="dark"] .product-detail-main .other-products{
    background:transparent;
}

html[data-theme="dark"] .product-detail-main .other-products-head h2{
    color:#8eb2ff;
}

html[data-theme="dark"] .product-detail-main .other-products-head a{
    border-color:#8eb2ff;
    color:#8eb2ff;
    background:transparent;
}

html[data-theme="dark"] .product-detail-main .other-products-head a:hover{
    background:#8eb2ff;
    color:#0b1424;
}

html[data-theme="dark"] .product-detail-main .other-product-card{
    background:#121c2e;
    border-color:#2b3852;
}

html[data-theme="dark"] .product-detail-main .other-product-card:hover{
    border-color:#8eb2ff;
    box-shadow:0 10px 26px rgba(0,0,0,.28);
}

html[data-theme="dark"] .product-detail-main .other-product-image{
    background:#182338;
}

html[data-theme="dark"] .product-detail-main .other-product-copy{
    background:#121c2e;
}

html[data-theme="dark"] .product-detail-main .other-product-copy h3{
    color:#eef3ff;
}

html[data-theme="dark"] .product-detail-main .other-product-copy span{
    color:#f58a48;
}

html[data-theme="dark"] .product-detail-main .other-product-copy small{
    color:#a7b4cc;
}

/* Separators */
html[data-theme="dark"] .product-detail-main .product-detail-section,
html[data-theme="dark"] .product-detail-main .product-description-section,
html[data-theme="dark"] .product-detail-main #catalog{
    border-color:#2b3852;
}


/* =========================================================
   DARK MODE — PRODUCT TABS FINAL
   ========================================================= */

html[data-theme="dark"] .product-detail-main .product-tabs{
    background:#121c2e !important;
    border-color:#2b3852 !important;
}

html[data-theme="dark"] .product-detail-main .product-tabs button{
    background:#121c2e !important;
    color:#a7b4cc !important;
    border-color:transparent !important;
}

html[data-theme="dark"] .product-detail-main .product-tabs button:hover{
    background:#182338 !important;
    color:#eef3ff !important;
}

html[data-theme="dark"] .product-detail-main .product-tabs button.active{
    background:#121c2e !important;
    color:#eef3ff !important;
}

html[data-theme="dark"] .product-detail-main .product-tabs button.active::after{
    background:#f37024 !important;
}


/* Mobile product intro — layout correction only */
@media (max-width: 600px) {
    .product-detail-main .product-intro-shell .product-hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        direction: rtl;
    }

    .product-detail-main .product-intro-shell .product-hero-visual {
        width: min(100%, 300px);
        max-width: 300px;
        aspect-ratio: 1 / 1;
        min-height: 0;
        height: auto;
        padding: 0;
        margin: 0 auto;
        align-self: center;
        justify-self: center;
    }

    .product-detail-main .product-intro-shell .product-hero-visual img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center;
    }

    .product-detail-main .product-intro-shell .product-hero-copy {
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        direction: rtl;
        text-align: right;
    }

    .product-detail-main .product-intro-shell .product-kicker {
        width: 100%;
        margin-bottom: 6px;
        text-align: right;
    }

    .product-detail-main .product-intro-shell .product-title-line {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        width: 100%;
        white-space: normal;
        direction: rtl;
    }

    .product-detail-main .product-intro-shell .product-title-line .product-title-fa {
        width: 100%;
        max-width: 100%;
        justify-self: auto;
        font-size: 1.65rem;
        line-height: 1.5;
        text-align: right;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .product-detail-main .product-intro-shell .product-title-line .product-en {
        width: 100%;
        max-width: 100%;
        justify-self: auto;
        font-size: .85rem;
        line-height: 1.7;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .product-detail-main .product-intro-shell .product-summary {
        width: 100%;
        max-width: none;
        margin: 10px 0 16px;
        font-size: .88rem;
        line-height: 2;
        text-align: right;
        overflow-wrap: anywhere;
    }

    .product-detail-main .product-intro-shell .product-meta {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 7px;
        direction: rtl;
    }

    .product-detail-main .product-intro-shell .product-meta span {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }
}

/* Expert contact — mobile-only layout */
@media (max-width: 600px) {
    .product-detail-main .product-description-section .expert-contact {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 38px !important;
        grid-template-areas:
            "content icon"
            "button button" !important;
        align-items: center !important;
        justify-content: stretch !important;
        gap: 14px 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 24px 0 0 !important;
        padding: 18px !important;
        direction: rtl !important;
        box-sizing: border-box !important;
    }

    .product-detail-main .product-description-section .expert-contact-content {
        grid-area: content !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 5px !important;
        width: 100% !important;
        min-width: 0 !important;
        direction: rtl !important;
    }

    .product-detail-main .product-description-section .expert-contact-text {
        width: 100% !important;
        min-width: 0 !important;
        text-align: right !important;
        overflow-wrap: anywhere !important;
    }

    .product-detail-main .product-description-section .expert-contact-text strong {
        font-size: 1rem !important;
        line-height: 1.8 !important;
    }

    .product-detail-main .product-description-section .expert-contact-text p {
        font-size: .82rem !important;
        line-height: 1.9 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .product-detail-main .product-description-section .expert-contact-icon {
        grid-area: icon !important;
        justify-self: center !important;
        align-self: start !important;
        width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
    }

    .product-detail-main .product-description-section .expert-contact-button {
        grid-area: button !important;
        justify-self: stretch !important;
        align-self: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 10px 16px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: normal !important;
    }
}

/* Other products — mobile card sizing only */
@media (max-width: 600px) {
    .product-detail-main .other-products {
        width: calc(100% - 24px);
        margin: 36px auto 0;
        padding-bottom: 24px;
        box-sizing: border-box;
    }

    .product-detail-main .other-products-head {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
    }

    .product-detail-main .other-products-head h2 {
        font-size: 1.2rem;
        line-height: 1.7;
    }

    .product-detail-main .other-products-head a {
        width: 100%;
        min-width: 0;
        min-height: 42px;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
    }

    .product-detail-main .other-products-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 12px;
    }

    .product-detail-main .other-product-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
        height: auto;
        min-height: 0;
        align-self: stretch;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .product-detail-main .other-product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        min-height: 0;
        padding: 0;
        flex: 0 0 auto;
        box-sizing: border-box;
    }

    .product-detail-main .other-product-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .product-detail-main .other-product-copy {
        display: flex;
        flex-direction: column;
        flex: 1 0 auto;
        min-height: 0;
        padding: 10px;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    .product-detail-main .other-product-copy span {
        margin-bottom: 5px;
        font-size: .65rem;
        line-height: 1.6;
    }

    .product-detail-main .other-product-copy h3 {
        margin: 0 0 6px;
        font-size: .8rem;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

    .product-detail-main .other-product-copy small {
        display: block;
        font-size: .65rem;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }
}

/* Other products — horizontal touch slider on mobile */
.product-detail-main .other-products-footer {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.product-detail-main .other-products-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    box-sizing: border-box;
    border: 1px solid var(--product-navy);
    border-radius: 9px;
    background: transparent;
    color: var(--product-navy);
    font-size: .85rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.product-detail-main .other-products-footer a:hover {
    background: var(--product-navy);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .product-detail-main .other-products {
        width: calc(100% - 24px);
        overflow: hidden;
    }

    .product-detail-main .other-products-head {
        margin-bottom: 14px;
    }

    .product-detail-main .other-products-grid {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 78%;
        gap: 12px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 1px 12px;
        box-sizing: border-box;
        direction: rtl;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: var(--product-line) transparent;
    }

    .product-detail-main .other-products-grid::-webkit-scrollbar {
        height: 4px;
    }

    .product-detail-main .other-products-grid::-webkit-scrollbar-thumb {
        background: var(--product-line);
        border-radius: 999px;
    }

    .product-detail-main .other-product-card {
        width: 100%;
        min-width: 0;
        height: auto;
        scroll-snap-align: start;
    }

    .product-detail-main .other-product-image {
        width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
        padding: 0;
    }

    .product-detail-main .other-product-copy {
        min-height: 0;
        padding: 12px;
    }

    .product-detail-main .other-product-copy h3 {
        font-size: .88rem;
        line-height: 1.8;
    }

    .product-detail-main .other-product-copy small {
        font-size: .68rem;
        line-height: 1.7;
    }

    .product-detail-main .other-products-footer {
        margin-top: 12px;
    }

    .product-detail-main .other-products-footer a {
        width: 100%;
        min-height: 44px;
    }
}
