/* V6: natural image proportions, editable galleries and compact responsive controls. */
img{max-width:100%}button,input,select,textarea{font:inherit}input,select,textarea{max-width:100%}button{touch-action:manipulation}[hidden]{display:none!important}body{overflow-x:hidden}.workspace-main,.workspace-content,.store-hero-copy,.store-hero-visual,.product-info,.store-product-body{min-width:0}.workspace-content{overflow-wrap:anywhere}.store-brand{min-width:0;max-width:58%;gap:12px}.store-brand b{overflow-wrap:anywhere}.store-brand>img,.hero-business-name>img,.welcome-logo,.design-mini-nav img,.invoice-brand>img{object-fit:contain;object-position:center;padding:4px;background:#fff;border:1px solid #e7e8ec;flex-shrink:0;box-sizing:border-box}.store-brand>img{width:64px;height:54px;border-radius:12px}.hero-business-name>img{width:100px;height:72px;border-radius:14px}.hero-business-name{flex-wrap:wrap}.store-cover{display:block;object-fit:var(--cover-fit,contain);object-position:center;width:100%;height:100%;padding:var(--cover-padding,12px);box-sizing:border-box;background:rgba(255,255,255,.65);border:1px solid rgba(128,128,128,.14)}.store-hero-visual:has(.store-cover){overflow:hidden;border-radius:var(--store-radius);min-height:180px}.store-page[data-structure=minimal] .store-hero-visual:has(.store-cover){display:block;height:320px;width:100%}.store-product-image>img,.product-image>img,.detail-product-image{object-fit:contain;object-position:center;background:#fafbfc;padding:10px;box-sizing:border-box}.store-product-image>img{width:100%;height:100%}.detail-product-image{height:340px;max-height:45vh;margin-bottom:12px}.store-product-image img:hover{transform:none}.design-mini-hero:has(>img){padding-top:180px}.design-mini-hero>img{position:absolute;inset:8px 8px auto;width:calc(100% - 16px);height:160px;object-fit:var(--cover-fit,contain);opacity:1;background:rgba(255,255,255,.65);border-radius:12px;padding:5px}.design-mini-hero:has(>img) .preview-orb{display:none}.design-mini-nav>b{display:flex;align-items:center;gap:6px}.design-mini-nav img{width:46px;height:36px;border-radius:8px}.image-editor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.image-editor-card{border:1px solid #e4e3ef;border-radius:14px;overflow:hidden;background:#fff}.image-editor-card>img{width:100%;height:110px;object-fit:contain;padding:6px;background:#f6f5fa}.image-editor-card>span{display:block;padding:5px 9px;font-size:11px;color:#5d5572}.image-editor-card>div{display:flex;align-items:center;justify-content:space-between;padding:5px 9px;gap:5px}.image-editor-card button{border:0;background:#f2effa;color:#62469e;border-radius:6px;padding:6px;cursor:pointer;font-size:10px}.image-editor-card .ico{width:16px;height:16px}.product-offer-editor,.variant-editor,.shipping-editor{border:1px solid #e5dfee;border-radius:16px;padding:18px;min-width:0}.product-offer-editor{background:#fff9f2;border-color:#f0d7b2}.variant-row{display:grid;grid-template-columns:1.5fr 1fr 1fr auto auto;align-items:end;gap:9px;padding:12px 0;border-bottom:1px solid #e6e3eb}.variant-row .field>span{font-size:10px}.variant-row input{min-width:0;width:100%;padding:11px 8px}.variant-row .check{padding-bottom:12px}.variant-row .check input{width:auto}.variant-editor>button{margin-top:14px}.shipping-zone-row{display:grid;grid-template-columns:1.5fr 1fr auto;gap:12px;align-items:end;margin-bottom:12px}.shipping-order-edit{display:flex;align-items:end;gap:12px;margin-block:20px}.offer-pill,.deal-tag,.offer-label{background:#af3a17!important;color:#fff!important;border:1px solid #fff7e9;font-weight:800}.offer-pill{display:inline-flex;border-radius:50px;padding:6px 16px;margin-bottom:14px}.store-product.has-offer{border:2px solid #e4a448;box-shadow:0 9px 24px #c68d2720;position:relative}.store-product.has-offer .store-product-bottom{border-top:1px solid #edc58c;padding-top:12px}.store-product-bottom>strong{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.store-product-bottom del{width:100%;font-size:12px;opacity:.65;font-weight:400}.store-product-bottom strong small{font-size:11px}.gallery-thumbnails{display:flex;overflow:auto;gap:10px;margin:8px 0 22px;padding-bottom:5px}.gallery-thumbnails button{border:2px solid transparent;background:#f6f5f9;padding:5px;border-radius:12px;flex:0 0 70px;cursor:pointer}.gallery-thumbnails button.selected{border-color:var(--store-accent,#7047eb)}.gallery-thumbnails img{width:58px;height:58px;object-fit:contain}.notification-bell{position:relative}.notification-bell>b{position:absolute;top:-5px;inset-inline-end:-4px;background:#b33d56;color:white;border-radius:20px;font-size:10px;min-width:19px;padding:2px}.notification-row{width:100%;display:flex;align-items:center;gap:16px;text-align:start;border:0;background:transparent;border-bottom:1px solid #eae6f1;padding:18px 12px;cursor:pointer;border-radius:12px;color:inherit}.notification-row.unread{background:#f2edff}.notification-row>span:nth-child(2){flex:1;min-width:0}.notification-row b,.notification-row small{display:block}.notification-row small{font-size:11px;margin-top:6px;color:#756c83}.notification-row>small{flex-shrink:0}.notification-row .tile-icon{width:42px;height:42px;flex-shrink:0}.notification-row:hover{background:#eeebf8}.floating-chat.has-unread{box-shadow:0 0 0 5px #ffce58,0 8px 26px #0002}.floating-chat.has-unread i{background:#ffce58}.chat-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.credentials-text{background:#f5f3fb;white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;border-radius:12px;font:inherit;font-size:14px}#kind-select{height:270px;padding:6px;font-size:16px}#kind-select option{padding:9px 14px;border-radius:7px}#kind-select option:checked{background:#7047eb;color:white}.activity-row>div{min-width:0}.activity-row small{overflow-wrap:anywhere}.activity-row{flex-wrap:wrap}.activity-row>.icon-button{flex-shrink:0}.pos-product>img{height:80px;width:100%;object-fit:contain;background:#fff}.top-actions{flex-wrap:wrap}.top-actions .sound-toggle{font-size:11px;padding:9px 12px}.store-header nav{flex-shrink:0}.theme-card:hover .theme-mini{transform:translateY(-3px)}.theme-mini.structure-ribbon .theme-mini-hero{border-block:2px solid var(--mini-accent);padding-block:7px}.theme-mini.structure-panorama .theme-mini-hero{background:var(--mini-accent);color:white;margin-inline:-9px;padding-inline:10px}.theme-mini.structure-duet .theme-mini-hero{flex-direction:row-reverse;gap:8px}.theme-mini.structure-ledger .theme-mini-hero{border-inline-end:5px solid var(--mini-secondary);padding-inline-end:5px}.theme-mini.structure-showcase .theme-mini-hero{display:flex;flex-direction:column;height:65px;justify-content:center;gap:5px}.theme-mini.structure-showcase .theme-mini-hero>em{width:85%;height:28px}.theme-mini.structure-showcase .theme-mini-hero>span{width:80%}.design-mini.structure-ribbon .design-mini-hero{border-block:3px solid var(--preview-accent)}.design-mini.structure-panorama .design-mini-hero{background:var(--preview-accent);color:white}.design-mini.structure-duet .preview-orb{left:12px}.design-mini.structure-duet .design-mini-hero{border-inline-start:7px solid var(--preview-accent)}.design-mini.structure-ledger .design-mini-hero{border-inline-end:12px solid var(--preview-accent)}.design-mini.structure-showcase .design-mini-hero{text-align:center}.design-mini.structure-showcase .preview-orb{position:static;margin:10px auto;width:80%;border-radius:8px}
/* Five additional structural families, with independent mobile layouts. */
.store-page[data-structure=ribbon] .store-hero{border-block:1px solid var(--store-accent);padding-block:42px;margin-block:24px;gap:48px}.store-page[data-structure=ribbon] .store-hero h1{font-weight:700;font-size:clamp(40px,5vw,70px)}.store-page[data-structure=ribbon] .store-hero-visual{height:360px}.store-page[data-structure=ribbon] .store-eyebrow{background:var(--store-accent);color:var(--on-accent);border-radius:50px;padding:8px 16px;display:inline-flex}.store-page[data-structure=panorama] .store-hero{background:var(--store-accent);color:var(--on-accent);border-radius:var(--store-radius);padding:45px;margin-block:28px;grid-template-columns:.9fr 1.15fr}.store-page[data-structure=panorama] .store-hero h1,.store-page[data-structure=panorama] .store-hero-copy>p,.store-page[data-structure=panorama] .store-eyebrow,.store-page[data-structure=panorama] .store-hero-notes{color:inherit}.store-page[data-structure=panorama] .store-primary{background:var(--store-bg);color:var(--store-text)}.store-page[data-structure=panorama] .store-hero-visual{height:410px}.store-page[data-structure=duet] .store-hero{grid-template-columns:1.1fr 1fr;gap:70px}.store-page[data-structure=duet] .store-hero-visual{order:-1;height:470px;transform:rotate(2deg)}.store-page[data-structure=duet] .store-hero-copy{border-inline-start:5px solid var(--store-accent);padding-inline-start:26px}.store-page[data-structure=ledger] .store-hero{grid-template-columns:1.4fr .8fr;min-height:280px;padding-block:45px;gap:24px;border-bottom:3px solid var(--store-accent)}.store-page[data-structure=ledger] .store-hero-visual{height:280px;border:9px solid var(--store-secondary)}.store-page[data-structure=ledger] .store-hero h1{font-size:clamp(38px,4vw,58px)}.store-page[data-structure=ledger] .store-hero-notes{display:none}.store-page[data-structure=showcase] .store-hero{grid-template-columns:1fr;text-align:center;gap:30px;max-width:1050px}.store-page[data-structure=showcase] .store-hero h1,.store-page[data-structure=showcase] .store-hero-copy>p{max-width:800px;margin-inline:auto}.store-page[data-structure=showcase] .hero-business-name,.store-page[data-structure=showcase] .store-hero-notes{justify-content:center}.store-page[data-structure=showcase] .store-hero-visual{height:360px;width:100%}.store-page[data-structure=showcase] .store-art .art-main{height:150px;width:180px}
/* PDF pages use the same local Arabic typeface as the app. */
.pdf-render-host{position:absolute;left:-12000px;top:0;width:794px;pointer-events:none;color:#253046;background:#fff;z-index:-1}.pdf-report-page{position:relative;box-sizing:border-box;width:794px;min-height:1123px;padding:38px 42px 65px;font-family:Tajawal,Arial,sans-serif;background:white;color:#243048;font-size:14px;line-height:1.6;direction:rtl;overflow-wrap:anywhere}.pdf-report-page header{display:flex;gap:15px;align-items:center;border-bottom:3px solid #7050c6;padding-bottom:20px}.pdf-report-page header img{width:85px;height:65px;object-fit:contain}.pdf-report-page header div{flex:1}.pdf-report-page header strong{display:block;font-size:24px}.pdf-report-page header span{font-size:14px;color:#736c80}.pdf-report-page h1{font-size:23px;margin:24px 0 18px}.pdf-report-page table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;min-width:0}.pdf-report-page th{background:#efebfa;color:#48386d;text-align:start;font-weight:800}.pdf-report-page th,.pdf-report-page td{border:1px solid #e2ddeb;padding:10px 9px;vertical-align:top;white-space:pre-wrap;word-break:break-word}.pdf-report-page tr:nth-child(even) td{background:#faf9fc}.pdf-report-page small{display:block;font-size:10px}.pdf-report-page td small{color:#716c7a}.pdf-report-page footer{position:absolute;bottom:23px;left:42px;right:42px;display:flex;justify-content:space-between;border-top:1px solid #ddd;padding-top:12px;font-size:11px;color:#736c80}.pdf-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0}.pdf-summary>div{background:#f3f0fa;border-radius:10px;padding:14px 9px}.pdf-summary span,.pdf-summary b{display:block;font-size:12px}.pdf-summary b{font-size:19px;margin-top:7px}.pdf-note{font-size:11px;color:#756e81;margin-top:20px}
@media(min-width:1600px){.storefront .container{max-width:1400px}.store-product-grid.layout-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1024px){.variant-row{grid-template-columns:1.3fr 1fr 1fr auto}.variant-row>.icon-button{grid-column:4}.theme-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.store-page[data-structure=duet] .store-hero{gap:30px}.store-page[data-structure=panorama] .store-hero{padding:30px;gap:25px}.store-hero h1{overflow-wrap:anywhere}.workspace-top .system-label{display:none}}
@media(max-width:700px){.storefront .store-brand{font-size:17px;max-width:58%}.store-brand>img{width:56px;height:44px}.hero-business-name>img{width:85px;height:62px}.store-header-actions{flex-shrink:0}.storefront .store-hero-visual:has(.store-cover){height:240px;width:100%}.store-page[data-structure=minimal] .store-hero-visual:has(.store-cover){height:230px}.storefront .store-cover{border-radius:16px}.workspace-top{padding:12px;gap:8px;align-items:center;flex-wrap:wrap;min-height:70px}.workspace-top .breadcrumb{font-size:10px}.workspace-top .top-actions{gap:5px}.workspace-top .sound-toggle{max-width:132px;padding:8px;font-size:9px}.workspace-top .avatar.small{display:none}.workspace-content{padding:22px 12px}.image-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.image-editor-card>img{height:90px}.variant-row{grid-template-columns:1fr 1fr;gap:8px;padding:15px 0}.variant-row>.field:first-of-type{grid-column:1/-1}.variant-row>.icon-button{grid-column:auto;justify-self:end}.variant-row>.check{padding:0}.shipping-zone-row{grid-template-columns:1fr 1fr}.shipping-zone-row>.icon-button{grid-column:2;justify-self:end}.shipping-order-edit{flex-wrap:wrap}.notification-row{gap:9px;padding:14px 8px}.notification-row>small{display:none}.notification-row .tile-icon{width:35px;height:35px}.notification-row b{font-size:13px}.notification-row small{font-size:11px}.theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-thumbnails button{flex-basis:60px}.gallery-thumbnails img{width:48px;height:48px}.detail-product-image{height:260px}.store-product-bottom>strong{font-size:18px}.store-product .deal-tag{font-size:10px;padding:6px 9px}.store-product.has-offer .store-product-bottom{padding-top:8px}.store-page[data-structure=ribbon] .store-hero,.store-page[data-structure=duet] .store-hero,.store-page[data-structure=ledger] .store-hero,.store-page[data-structure=panorama] .store-hero{grid-template-columns:1fr;gap:25px;padding:28px 18px}.store-page[data-structure=ribbon] .store-hero{padding-inline:0}.store-page[data-structure=duet] .store-hero-visual{order:1;transform:none;height:250px}.store-page[data-structure=duet] .store-hero-copy{padding-inline-start:17px}.store-page[data-structure=ledger] .store-hero-visual{height:230px;border-width:5px}.store-page[data-structure=panorama] .store-hero-visual{height:250px}.store-page[data-structure=showcase] .store-hero-visual{height:240px}.store-page[data-structure=showcase] .store-hero h1{font-size:35px}.activity-row{gap:8px}.activity-row>div{flex:1 1 120px}.activity-row>.status{font-size:10px}.activity-row>.icon-button{width:30px;height:30px}.page-heading{gap:12px;flex-wrap:wrap}.store-categories{max-width:100%;overflow:auto;white-space:nowrap}.store-search{min-width:0;width:100%}.store-catalog .section-heading{align-items:start;flex-direction:column}.design-controls .palette-grid{grid-template-columns:repeat(10,1fr)}.storefront .store-header{gap:8px}.product-offer-editor,.variant-editor,.shipping-editor{padding:12px}.row-actions{flex-wrap:wrap}.modal .form-grid{min-width:0}}
@media(max-width:370px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.storefront .store-brand{font-size:15px;gap:5px}.store-brand>img{width:44px;height:38px}.store-header-actions .icon-button{width:28px;height:28px}.store-cart-button{padding:6px}.image-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-product-grid{gap:10px}.store-product-body h3{font-size:15px}.store-product-bottom>strong{font-size:15px}.store-product-bottom>strong small{font-size:9px}.storefront .store-hero h1{font-size:32px}.top-actions .sound-toggle{max-width:112px;font-size:8px}.workspace-content{padding-inline:10px}}

.pdf-report-page,.pdf-report-page *{letter-spacing:0!important}.pdf-report-page h1{line-height:1.8!important;font-weight:700!important}.pdf-report-page td{color:#243048}.pdf-report-page th{color:#48386d}.pdf-report-page table small{display:inline;font-size:10px}.pdf-report-page table td>small{display:block}.pdf-report-page span[dir=ltr]{direction:ltr;unicode-bidi:embed}
