.component-shop{max-width:1120px;margin:2rem auto;padding:0 16px;overflow-wrap:anywhere}.component-shop h1{font-size:clamp(1.35rem,4vw,2rem);line-height:1.7}.component-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}.component-panel{border:1px solid #ddd;border-radius:14px;padding:20px;margin:16px 0;background:#fff;min-width:0}.component-panel h2{font-size:1.15rem;line-height:1.8}.component-mpn{text-align:start;unicode-bidi:plaintext;overflow-wrap:anywhere}.component-price{font-weight:700;font-size:1.15rem}.component-description{line-height:2}.component-buy{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.component-buy input{width:80px;min-height:44px;font-size:16px}.component-buy button,.component-buy a{min-height:44px;display:inline-flex;align-items:center}.component-delivery li{margin-block:16px;line-height:1.8}.component-shop a:focus-visible,.component-shop button:focus-visible{outline:3px solid #b00020;outline-offset:3px}@media(max-width:480px){.component-panel{padding:16px}.component-buy button{width:100%;justify-content:center}}
.component-shop .component-specs,.component-shop .component-mpn{direction:ltr!important;text-align:left!important;unicode-bidi:isolate}.component-buy input{direction:ltr!important;text-align:center!important}html[lang="en"] .component-shop,html[lang="en"] .component-shop *{direction:ltr!important;text-align:left!important}html[lang="en"] .component-shop .component-buy input{text-align:center!important}

html[lang="en"] .component-shop p{margin-left:0!important;margin-right:0!important}

html[lang="en"] .invoice-container{direction:ltr!important;text-align:left!important}html[lang="en"] .invoice-container :is(h1,h2,h3,p,label,span,th,td,input,select,textarea){direction:ltr!important;text-align:left!important}

@media(max-width:600px){
html[lang] body main.invoice-container .invoice-table tbody tr{display:grid!important;grid-template-columns:1fr!important;gap:0!important}
html[lang] body main.invoice-container .invoice-table tbody tr td{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:auto!important;min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;padding:10px!important;line-height:1.7!important}
html[lang] body main.invoice-container .invoice-table tbody tr td::before{display:block!important;flex-shrink:0!important;font-size:13px!important}
html[lang="fa"] main.invoice-container .invoice-table td:nth-child(1)::before{content:"محصول"!important}
html[lang="fa"] main.invoice-container .invoice-table td:nth-child(2)::before{content:"تعداد"!important}
html[lang="fa"] main.invoice-container .invoice-table td:nth-child(3)::before{content:"قیمت واحد"!important}
html[lang="fa"] main.invoice-container .invoice-table td:nth-child(4)::before{content:"جمع"!important}
html[lang="en"] main.invoice-container .invoice-table td:nth-child(1)::before{content:"Item"!important}
html[lang="en"] main.invoice-container .invoice-table td:nth-child(2)::before{content:"Quantity"!important}
html[lang="en"] main.invoice-container .invoice-table td:nth-child(3)::before{content:"Unit price"!important}
html[lang="en"] main.invoice-container .invoice-table td:nth-child(4)::before{content:"Total"!important}
html[lang="fa"] main.invoice-container .invoice-card .invoice-table td:nth-child(2)::before{content:"قیمت واحد"!important}
html[lang="fa"] main.invoice-container .invoice-card .invoice-table td:nth-child(3)::before{content:"تعداد"!important}
html[lang="fa"] main.invoice-container .invoice-card .invoice-table td:nth-child(5)::before{content:"عملیات"!important}
html[lang="en"] main.invoice-container .invoice-card .invoice-table td:nth-child(2)::before{content:"Unit price"!important}
html[lang="en"] main.invoice-container .invoice-card .invoice-table td:nth-child(3)::before{content:"Quantity"!important}
html[lang="en"] main.invoice-container .invoice-card .invoice-table td:nth-child(5)::before{content:"Actions"!important}
}

@media(max-width:600px){
html[lang] body main.invoice-container .table-scroll{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html[lang] body main.invoice-container .table-scroll .invoice-table{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;table-layout:fixed!important}
html[lang] body main.invoice-container .table-scroll .invoice-table thead{display:none!important}
html[lang] body main.invoice-container .table-scroll .invoice-table tbody{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html[lang] body main.invoice-container .table-scroll .invoice-table tbody tr{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html[lang] body main.invoice-container .table-scroll .invoice-table tbody tr td{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow-wrap:anywhere!important}
html[lang] body main.invoice-container .table-scroll .invoice-table .table-qty{width:72px!important;min-width:0!important;max-width:50%!important;flex:0 0 72px!important}
}

/* Source-bound, honestly labelled package illustrations. */
.component-shop .component-figure,.component-shop .component-card-figure{margin:0 0 1rem;background:#fbf7f1;border-radius:12px;overflow:hidden}
.component-shop .component-figure img{display:block;width:100%;max-width:480px;height:auto;max-height:380px;object-fit:contain;margin:auto}
.component-shop .component-card-figure img{display:block;width:100%;height:210px;object-fit:contain}
.component-shop figure figcaption{padding:.6rem .8rem;color:#4d4d4d;font-size:.8rem;line-height:1.6;background:#fafafa}
.component-shop .component-source{margin-top:1rem}
.invoice-container .checkout-steps{padding-inline-start:1.4rem;line-height:1.9}
.invoice-container .status-msg{color:#a11c1c}
@media(max-width:600px){.component-shop .component-figure img{max-height:300px}.component-shop .component-card-figure img{height:180px}}

/* Scoped component gallery; all views remain available when JavaScript is off. */
.component-gallery [hidden]{display:none!important}
.component-gallery-controls{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:12px 0}
.component-gallery-controls button{display:flex;flex-direction:column;align-items:center;gap:5px;width:144px;max-width:30%;padding:7px;border:2px solid #a7afb9;border-radius:8px;background:#fff;color:#202734;cursor:pointer;font:inherit;font-size:.85rem}
.component-gallery-controls button[aria-pressed=true]{border-color:#ae1717;background:#fff5f5}
.component-gallery-controls button:focus-visible{outline:3px solid #1858b8;outline-offset:3px}
.component-gallery-controls img{display:block;width:100%;height:80px;object-fit:contain;border:0;box-shadow:none}
.component-gallery .component-gallery-view img{width:100%;max-width:900px;max-height:none;height:auto;object-fit:contain;border:0;box-shadow:none}
.component-gallery .component-gallery-view:first-of-type img{max-width:480px;max-height:380px}
.component-gallery-view[data-gallery-view="1"] img{max-width:600px;max-height:500px}
.component-gallery-view[data-gallery-view="2"] img{max-width:660px}
.component-gallery .component-gallery-view{background:#fff;margin:10px 0}
.component-gallery-view figcaption{line-height:1.9;padding:10px 4px}
.component-gallery-status:empty{display:none}
.component-technical{margin:22px 0;padding:18px;border:1px solid #d2d6dc;border-radius:10px;background:#fafbfc;overflow-wrap:anywhere}
.component-technical h2{font-size:1.25rem;margin-top:0}
.component-source{font-size:.85rem;color:#4b5563;overflow-wrap:anywhere}
.component-datasheet{font-weight:700}
.component-dimensions{margin:14px 0}
.component-dimensions>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #dde1e7}
.component-dimensions dt,.component-dimensions dd{margin:0;min-width:0}
.component-dimensions dd{text-align:end;font-family:Arial,sans-serif;unicode-bidi:isolate}
.component-package-note{padding:10px;border-inline-start:4px solid #a31717;background:#fff3f3}
@media(max-width:420px){.component-gallery-controls{gap:5px}.component-gallery-controls button{padding:4px;font-size:.72rem;max-width:31%}.component-gallery-controls img{height:56px}.component-technical{padding:12px}.component-dimensions>div{grid-template-columns:1fr;gap:5px}.component-dimensions dd{text-align:start}}
