.product-mobile-list{display:none} @media (max-width:760px){.product-mobile-card-table .table-wrap{display:none!important} .product-mobile-list{display:grid;gap:12px;margin-top:14px} .product-mobile-card{display:grid;gap:12px;padding:14px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 10px 24px rgba(27,18,37,.06)} .product-mobile-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px} .product-mobile-card__title{display:grid;gap:4px;min-width:0} .product-mobile-card__title strong{font-size:.96rem;line-height:1.7;color:var(--text)} .product-mobile-card__title small{color:var(--muted);font-size:.72rem;overflow-wrap:anywhere} .product-mobile-card__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px} .product-mobile-card__meta>div{display:grid;gap:4px;padding:10px 11px;border:1px solid color-mix(in srgb,var(--primary) 10%,var(--border));border-radius:14px;background:color-mix(in srgb,var(--surface-soft) 72%,var(--surface))} .product-mobile-card__meta span{font-size:.68rem;font-weight:800;color:var(--muted)} .product-mobile-card__meta b,.product-mobile-card__meta strong{font-size:.78rem;line-height:1.8;color:var(--text)} .product-mobile-card__footer{display:grid;gap:10px} .product-mobile-card__actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px} .product-mobile-card__actions .table-action-button{width:100%;min-height:42px;padding-inline:8px;font-size:.74rem} .product-mobile-card__source{display:flex;align-items:flex-start;gap:8px;padding:10px 11px;border-radius:14px;background:color-mix(in srgb,var(--info) 7%,var(--surface));font-size:.72rem;line-height:1.85;color:var(--muted)} .product-mobile-card__source i{margin-top:3px;color:var(--primary)}} @media (max-width:420px){.product-mobile-card__meta{grid-template-columns:1fr} .product-mobile-card__actions{grid-template-columns:1fr 1fr} .product-mobile-card__actions .table-action-button:first-child{grid-column:1 / -1}} .product-editor-dialog{width:min(1180px,calc(100vw - 32px));max-width:1180px;padding:0;border:0;border-radius:24px;overflow:hidden;background:var(--surface);box-shadow:0 24px 72px rgba(16,12,22,.22)} .product-editor-dialog::backdrop{background:rgba(18,10,26,.54);backdrop-filter:blur(3px)} .product-editor-frame-shell{background:var(--surface-soft)} .product-editor-frame-shell iframe{display:block;width:100%;height:min(74vh,980px);background:var(--surface)} @media (max-width:760px){.product-editor-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0} .product-editor-dialog .dialog-head{position:sticky;top:0;z-index:5;padding:14px 16px} .product-editor-dialog .dialog-head h2{font-size:1rem!important} .product-editor-frame-shell iframe{height:calc(100dvh - 132px)} .product-editor-dialog__footer{position:sticky;bottom:0;z-index:5;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border)}} body.embedded-product-editor{background:transparent!important;overflow:auto} body.embedded-product-editor .site-header,body.embedded-product-editor .mobile-menu-overlay,body.embedded-product-editor .mobile-drawer,body.embedded-product-editor .mobile-bottom-nav,body.embedded-product-editor .panel-sidebar-global,body.embedded-product-editor .blocked-account-banner,body.embedded-product-editor .commerce-admin-hero{display:none!important} body.embedded-product-editor .panel-frame{display:block!important;max-width:none!important;margin:0!important;padding:0!important} body.embedded-product-editor .site-main,body.embedded-product-editor .panel-site-main,body.embedded-product-editor .panel-shell,body.embedded-product-editor .product-editor-shell,body.embedded-product-editor .panel-main{max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important} body.embedded-product-editor .section-narrow{width:100%!important;max-width:none!important;margin:0!important;padding:0!important} body.embedded-product-editor .commerce-product-wizard{gap:10px!important;padding:0!important} body.embedded-product-editor .commerce-wizard-panel{padding:12px!important;border-radius:18px!important} body.embedded-product-editor .product-editor-actions{position:sticky!important;bottom:0!important;z-index:4;padding:10px 0 calc(10px + env(safe-area-inset-bottom))!important;background:var(--surface)!important} body.embedded-product-editor .product-editor-actions [data-product-editor-cancel]{display:none!important} @media (max-width:760px){body.embedded-product-editor .commerce-wizard-panel{padding:10px!important;border-radius:16px!important} body.embedded-product-editor .product-kind-grid label>span{min-height:60px!important}} @media (max-width:760px){.product-desktop-table-wrap{display:none!important} dialog.dialog-backdrop .dialog-head,dialog.dialog-backdrop .dialog-head--accent,.product-editor-dialog .dialog-head,.supplier-new-dialog .dialog-head{background:linear-gradient(135deg,#321342,#4f1d68)!important;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.12)!important} dialog.dialog-backdrop .dialog-head h1,dialog.dialog-backdrop .dialog-head h2,dialog.dialog-backdrop .dialog-head h3,dialog.dialog-backdrop .dialog-head small,dialog.dialog-backdrop .dialog-head span{color:#fff!important} dialog.dialog-backdrop .dialog-head .icon-button{color:#fff!important;border-color:rgba(255,255,255,.2)!important;background:rgba(255,255,255,.08)!important}} body.embedded-product-editor{padding-top:0!important;margin-top:0!important;min-height:100%!important} body.embedded-product-editor .embedded-editor-main{min-height:100%!important;padding:8px!important} body.embedded-product-editor .product-editor-shell,body.embedded-product-editor .product-editor-shell>.panel-main{width:100%!important;min-height:0!important} .supplier-new-dialog{width:min(1040px,calc(100vw - 32px));max-width:1040px;max-height:min(90dvh,940px);padding:0;border:0;border-radius:24px;overflow:hidden;background:var(--surface);box-shadow:0 28px 80px rgba(20,10,28,.24)} .supplier-new-dialog::backdrop{background:rgba(18,10,26,.5);backdrop-filter:blur(3px)} .supplier-new-dialog__body{max-height:calc(90dvh - 78px);overflow:auto;padding:18px} .supplier-new-dialog__form{margin-top:0} .supplier-modal-intro{display:flex;align-items:flex-start;gap:9px;margin-bottom:14px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--primary) 14%,var(--border));border-radius:14px;background:color-mix(in srgb,var(--primary) 5%,var(--surface));color:var(--muted);font-size:.72rem;line-height:1.85} .supplier-modal-intro i{color:var(--primary);margin-top:3px} .supplier-dialog-actions{position:sticky;bottom:-18px;z-index:6;margin:6px -18px -18px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:color-mix(in srgb,var(--surface) 96%,transparent);backdrop-filter:blur(10px)} @media (max-width:760px){.supplier-new-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0} .supplier-new-dialog__body{max-height:calc(100dvh - 72px);padding:12px} .supplier-dialog-actions{bottom:-12px;margin:6px -12px -12px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr} .supplier-dialog-actions .button{width:100%} .supplier-new-dialog .supplier-field-section{padding:12px}} .product-source-selector-help{display:grid;gap:11px;margin-top:10px;padding:13px;border:1px solid color-mix(in srgb,#d97706 22%,var(--border));border-radius:16px;background:color-mix(in srgb,#f59e0b 7%,var(--surface))} .product-source-selector-help[hidden]{display:none!important} .product-source-selector-help__head{display:flex;align-items:flex-start;gap:10px} .product-source-selector-help__head>i{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:12px;background:color-mix(in srgb,#f59e0b 14%,var(--surface));color:#a15c00} .product-source-selector-help__head>div{display:grid;gap:3px} .product-source-selector-help__head strong{font-size:.76rem;color:var(--text)} .product-source-selector-help__head span,.product-source-selector-help>small{font-size:.65rem;line-height:1.85;color:var(--muted)} .product-source-selector-help input.is-required-fallback{border-color:#d97706!important;box-shadow:0 0 0 3px color-mix(in srgb,#f59e0b 12%,transparent)!important} @media(max-width:760px){.payment-mobile-card-table tbody tr:has(td[colspan]){display:flex!important;align-items:center!important;justify-content:center!important;min-height:190px!important;padding:0!important} .payment-mobile-card-table tbody td[colspan]{display:block!important;width:100%!important;padding:0!important;border:0!important;text-align:center!important} .payment-mobile-card-table tbody td[colspan]::before{display:none!important;content:none!important} .payment-mobile-card-table tbody td[colspan] .empty-state{min-height:190px!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:28px 16px!important} .mobile-category-group:nth-of-type(4n+1)>summary{box-shadow:inset 4px 0 0 #7c3aed} .mobile-category-group:nth-of-type(4n+2)>summary{box-shadow:inset 4px 0 0 #0f9f9a} .mobile-category-group:nth-of-type(4n+3)>summary{box-shadow:inset 4px 0 0 #d97706} .mobile-category-group:nth-of-type(4n)>summary{box-shadow:inset 4px 0 0 #2563eb} html[dir="rtl"] .mobile-category-group:nth-of-type(4n+1)>summary{box-shadow:inset -4px 0 0 #7c3aed} html[dir="rtl"] .mobile-category-group:nth-of-type(4n+2)>summary{box-shadow:inset -4px 0 0 #0f9f9a} html[dir="rtl"] .mobile-category-group:nth-of-type(4n+3)>summary{box-shadow:inset -4px 0 0 #d97706} html[dir="rtl"] .mobile-category-group:nth-of-type(4n)>summary{box-shadow:inset -4px 0 0 #2563eb} .supplier-field-section:nth-of-type(4n+1){box-shadow:inset 0 3px 0 #7c3aed,0 8px 24px rgba(17,24,39,.04)!important} .supplier-field-section:nth-of-type(4n+2){box-shadow:inset 0 3px 0 #0f9f9a,0 8px 24px rgba(17,24,39,.04)!important} .supplier-field-section:nth-of-type(4n+3){box-shadow:inset 0 3px 0 #d97706,0 8px 24px rgba(17,24,39,.04)!important} .supplier-field-section:nth-of-type(4n){box-shadow:inset 0 3px 0 #2563eb,0 8px 24px rgba(17,24,39,.04)!important}} .admin-product-price{display:flex;flex-direction:column;align-items:flex-start;gap:3px} .admin-product-price del{color:var(--muted);font-size:.72rem} .admin-product-price strong{color:var(--text)} .product-discount-dialog{width:min(620px,calc(100vw - 28px))} .product-discount-form{display:grid;gap:16px} .product-discount-form__product{display:flex;align-items:center;gap:12px} .product-discount-form__product>i{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:color-mix(in srgb,var(--primary) 10%,var(--surface));color:var(--primary)} .product-discount-form__product>div{display:grid;gap:3px;min-width:0} .product-discount-form__product small{color:var(--muted);font-size:.69rem} .product-discount-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px} .product-discount-mode label{cursor:pointer;position:relative} .product-discount-mode input{position:absolute;opacity:0;pointer-events:none} .product-discount-mode span{min-height:82px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:var(--surface);transition:.18s ease} .product-discount-mode span>i{color:var(--primary)} .product-discount-mode span b{font-size:.78rem} .product-discount-mode span small{color:var(--muted);font-size:.65rem;line-height:1.6} .product-discount-mode input:checked+span{border-color:color-mix(in srgb,var(--primary) 52%,var(--border));background:color-mix(in srgb,var(--primary) 7%,var(--surface));box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 9%,transparent)} .product-discount-money{display:flex;align-items:center;overflow:hidden;border:1px solid var(--border);border-radius:13px;background:var(--surface)} .product-discount-money:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent)} .product-discount-money input{min-width:0;flex:1;border:0!important;box-shadow:none!important;background:transparent!important;padding:11px 12px;font:inherit;font-weight:850;color:var(--text)} .product-discount-money b{padding-inline:11px;color:var(--muted);font-size:.68rem;white-space:nowrap} .product-discount-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px;border:1px solid var(--border);border-radius:16px;background:color-mix(in srgb,var(--primary) 4%,var(--surface))} .product-discount-preview>div{display:grid;gap:4px;min-width:0} .product-discount-preview span{color:var(--muted);font-size:.64rem} .product-discount-preview b,.product-discount-preview strong{font-size:.76rem;overflow-wrap:anywhere} .product-discount-preview strong{color:var(--success)} .product-discount-error{margin:0;padding:10px 12px;border:1px solid color-mix(in srgb,#dc2626 30%,var(--border));border-radius:12px;background:color-mix(in srgb,#dc2626 7%,var(--surface));color:#b42318;font-size:.7rem;line-height:1.8} .product-discount-error[hidden]{display:none!important} @media(max-width:620px){.product-discount-mode,.product-discount-preview{grid-template-columns:1fr} .product-discount-mode span{min-height:68px}} .admin-product-catalog-card{overflow:visible!important} .admin-product-catalog-head{padding-bottom:8px} .admin-product-filters{display:grid;grid-template-columns:minmax(260px,1.65fr) minmax(150px,.8fr) minmax(145px,.75fr) minmax(112px,.48fr) auto;gap:10px;align-items:end;padding:14px 16px;margin:0 0 10px;border-block:1px solid color-mix(in srgb,var(--border) 84%,transparent);background:color-mix(in srgb,var(--surface-soft) 62%,var(--surface))} .admin-product-filters>label{display:grid;gap:6px;min-width:0;color:var(--muted);font-size:.69rem;font-weight:850} .admin-product-filters input,.admin-product-filters select{width:100%;min-width:0;min-height:42px;border:1px solid var(--border);border-radius:12px;padding:8px 10px;background:var(--surface);color:var(--text);outline:0;transition:border-color .16s ease,box-shadow .16s ease} .admin-product-filters input:focus,.admin-product-filters select:focus{border-color:color-mix(in srgb,var(--primary) 54%,var(--border));box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent)} .admin-product-filter-search>div{position:relative;min-width:0} .admin-product-filter-search i{position:absolute;top:50%;inset-inline-start:12px;transform:translateY(-50%);z-index:2;color:var(--muted);font-size:.74rem;pointer-events:none} .admin-product-filter-search input{padding-inline-start:36px} .admin-product-filter-actions{display:flex;align-items:center;gap:7px;min-height:42px;white-space:nowrap} .admin-product-row-actions{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap} .admin-product-delete-form{display:inline-flex!important;margin:0!important} .table-action-button--delete{border-color:color-mix(in srgb,#d63b55 25%,var(--border))!important;background:color-mix(in srgb,#d63b55 6%,var(--surface))!important;color:#b52640!important} .table-action-button--delete:hover{border-color:#d63b55!important;background:#d63b55!important;color:#fff!important;box-shadow:0 8px 20px rgba(190,39,67,.18)!important} .table-action-button--discount.is-active{border-color:color-mix(in srgb,#e56b29 32%,var(--border))!important;background:color-mix(in srgb,#e56b29 8%,var(--surface))!important;color:#b84a12!important} .admin-product-pagination{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:16px;border-top:1px solid var(--border)} .admin-product-pagination>div{display:flex;align-items:center;gap:5px} .admin-product-pagination>div>a,.admin-product-pagination__ellipsis{display:grid;place-items:center;min-width:34px;height:34px;padding-inline:7px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:.72rem;font-weight:850;text-decoration:none} .admin-product-pagination>div>a:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border));color:var(--primary)} .admin-product-pagination>div>a.is-active{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:0 7px 18px color-mix(in srgb,var(--primary) 20%,transparent)} .admin-product-pagination__ellipsis{border-color:transparent;background:transparent;color:var(--muted)} .admin-product-pagination__edge{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:.69rem;font-weight:850;text-decoration:none} .admin-product-pagination__edge:not(.is-disabled):hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border));color:var(--primary)} .admin-product-pagination__edge.is-disabled{opacity:.42;cursor:not-allowed} @media(max-width:1100px){.admin-product-filters{grid-template-columns:minmax(240px,1.3fr) repeat(3,minmax(130px,.7fr))}.admin-product-filter-actions{grid-column:1/-1;justify-content:flex-end}} @media(max-width:760px){.admin-product-filters{grid-template-columns:1fr 1fr;padding:12px;border-radius:0}.admin-product-filter-search{grid-column:1/-1}.admin-product-filter-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.admin-product-filter-actions .button{width:100%}.product-mobile-card__footer .admin-product-row-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.product-mobile-card__footer .admin-product-delete-form{display:block!important}.product-mobile-card__footer .table-action-button{width:100%;justify-content:center;min-height:42px}.admin-product-pagination{gap:7px;padding:13px 8px}.admin-product-pagination__edge{font-size:0;padding-inline:9px}.admin-product-pagination__edge i{font-size:.72rem}.admin-product-pagination>div>a,.admin-product-pagination__ellipsis{min-width:32px;height:32px}} @media(max-width:480px){.admin-product-filters{grid-template-columns:1fr}.admin-product-filter-search,.admin-product-filter-actions{grid-column:auto}.admin-product-pagination>div{order:1;width:100%;justify-content:center}.admin-product-pagination__edge{order:2}} .admin-product-filter-search>div{position:relative!important} .admin-product-filter-search i{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:3!important;pointer-events:none!important} html[dir="rtl"] .admin-product-filter-search i{right:13px!important;left:auto!important;inset-inline-start:auto!important;inset-inline-end:auto!important} html[dir="rtl"] .admin-product-filter-search input{padding:8px 40px 8px 12px!important;text-align:right!important} html[dir="ltr"] .admin-product-filter-search i{left:13px!important;right:auto!important;inset-inline-start:auto!important;inset-inline-end:auto!important} html[dir="ltr"] .admin-product-filter-search input{padding:8px 12px 8px 40px!important;text-align:left!important} .admin-product-row-actions .table-action-button{border-width:1px!important;font-weight:900!important} .table-action-button--open{border-color:color-mix(in srgb,#059669 28%,var(--border))!important;background:color-mix(in srgb,#10b981 8%,var(--surface))!important;color:#047857!important} .table-action-button--open:hover{background:#059669!important;border-color:#059669!important;color:#fff!important;box-shadow:0 8px 20px rgba(5,150,105,.18)!important} .table-action-button--discount{border-color:color-mix(in srgb,#d97706 30%,var(--border))!important;background:color-mix(in srgb,#f59e0b 8%,var(--surface))!important;color:#b45309!important} .table-action-button--discount:hover,.table-action-button--discount.is-active{border-color:#d97706!important;background:color-mix(in srgb,#f59e0b 15%,var(--surface))!important;color:#9a4b08!important;box-shadow:0 8px 20px rgba(217,119,6,.14)!important} .table-action-button--edit{border-color:color-mix(in srgb,#2563eb 27%,var(--border))!important;background:color-mix(in srgb,#3b82f6 7%,var(--surface))!important;color:#1d4ed8!important} .table-action-button--edit:hover{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;box-shadow:0 8px 20px rgba(37,99,235,.18)!important} .table-action-button--delete{border-color:color-mix(in srgb,#dc2648 28%,var(--border))!important;background:color-mix(in srgb,#e11d48 7%,var(--surface))!important;color:#be123c!important} .table-action-button--delete:hover{background:#d91f46!important;border-color:#d91f46!important;color:#fff!important;box-shadow:0 8px 20px rgba(217,31,70,.18)!important} .affiliate-create-dialog{width:min(760px,calc(100vw - 36px))!important;max-width:760px!important;max-height:min(86dvh,760px)!important;overflow:visible!important;border-radius:26px!important} .affiliate-create-dialog .dialog-head{padding:20px 24px!important;border-radius:26px 26px 0 0!important} .affiliate-create-dialog .dialog-body{min-height:370px!important;max-height:none!important;overflow:visible!important;padding:24px!important} .affiliate-create-dialog .panel-form{position:relative!important;display:grid!important;gap:18px!important;overflow:visible!important} .affiliate-create-dialog .admin-combobox{position:relative!important;z-index:80!important;display:grid!important;gap:8px!important} .affiliate-create-dialog .admin-combobox>input:not([type="hidden"]){min-height:50px!important;padding-inline:14px!important} .affiliate-create-dialog .admin-combobox__menu{z-index:5000!important;top:calc(100% + 8px)!important;max-height:300px!important;overflow:auto!important;border-radius:16px!important;box-shadow:0 24px 70px rgba(26,12,38,.26)!important} .affiliate-create-dialog .panel-form-actions{z-index:30!important;margin-top:210px!important} @media(max-width:760px){.affiliate-create-dialog{width:calc(100vw - 16px)!important;max-width:none!important;max-height:92dvh!important;border-radius:22px!important;margin:auto!important} .affiliate-create-dialog .dialog-head{border-radius:22px 22px 0 0!important;padding:15px 16px!important} .affiliate-create-dialog .dialog-body{min-height:350px!important;padding:16px!important} .affiliate-create-dialog .panel-form-actions{margin-top:190px!important}} .product-editor-dialog{width:min(1380px,calc(100vw - 36px))!important;max-width:1380px!important;max-height:92dvh!important;border-radius:28px!important;box-shadow:0 34px 100px rgba(20,9,31,.28)!important} .product-editor-dialog .dialog-head{padding:16px 20px!important} .product-editor-dialog .dialog-head h2{font-size:1.08rem!important} .product-editor-frame-shell{background:color-mix(in srgb,var(--surface-soft) 72%,var(--surface))!important} .product-editor-frame-shell iframe{height:calc(92dvh - 126px)!important;max-height:none!important} .product-editor-dialog__footer{padding:11px 16px!important;gap:8px!important;border-top:1px solid var(--border)!important;background:color-mix(in srgb,var(--surface) 96%,transparent)!important;backdrop-filter:blur(14px)!important} body.embedded-product-editor .embedded-editor-main{padding:14px!important;background:color-mix(in srgb,var(--surface-soft) 55%,var(--surface))!important} body.embedded-product-editor .commerce-product-wizard{gap:14px!important} body.embedded-product-editor .commerce-wizard-panel{padding:18px 20px!important;border:1px solid color-mix(in srgb,var(--primary) 10%,var(--border))!important;border-radius:20px!important;background:var(--surface)!important;box-shadow:0 8px 24px rgba(25,16,36,.045)!important} body.embedded-product-editor .commerce-wizard-heading{margin-bottom:14px!important;padding-bottom:11px!important;border-bottom:1px solid color-mix(in srgb,var(--border) 78%,transparent)!important} body.embedded-product-editor .commerce-wizard-heading h2{font-size:.94rem!important;line-height:1.55!important} body.embedded-product-editor .product-editor-section__eyebrow{font-size:.66rem!important} body.embedded-product-editor .panel-form-row{gap:12px!important} body.embedded-product-editor .product-content-fields{gap:12px!important} body.embedded-product-editor .product-editor-actions{padding:12px 0 calc(12px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--border)!important;box-shadow:0 -10px 24px rgba(20,12,30,.04)!important} @media(min-width:761px){.product-editor-frame-shell iframe{min-height:680px!important} body.embedded-product-editor .product-content-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important} body.embedded-product-editor .product-content-fields .product-editor-field--wide{grid-column:1/-1!important}} @media(max-width:760px){.product-editor-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important} .product-editor-frame-shell iframe{height:calc(100dvh - 126px)!important;min-height:0!important} body.embedded-product-editor .embedded-editor-main{padding:8px!important} body.embedded-product-editor .commerce-wizard-panel{padding:12px!important;border-radius:16px!important}} .affiliate-create-dialog{overflow:hidden!important} .affiliate-create-dialog .dialog-body{min-height:320px!important;max-height:calc(86dvh - 76px)!important;overflow:auto!important} .affiliate-create-dialog .admin-combobox{z-index:auto!important} .affiliate-create-dialog .admin-combobox__menu{position:static!important;inset:auto!important;width:100%!important;margin-top:8px!important;max-height:280px!important;transform:none!important;overflow:auto!important} .affiliate-create-dialog .panel-form-actions{margin-top:18px!important} @media(max-width:760px){.affiliate-create-dialog{overflow:hidden!important} .affiliate-create-dialog .dialog-body{min-height:0!important;max-height:calc(92dvh - 72px)!important;overflow:auto!important} .affiliate-create-dialog .panel-form-actions{margin-top:16px!important}}

/* 2026-09-19 — Admin products action colors + resilient dashboard tables */
.admin-products-title-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.admin-products-title-line h1{margin:0}
.admin-products-total-count{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:5px 10px;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--primary) 7%,var(--surface));color:var(--primary);font-size:.72rem;font-weight:850;line-height:1;white-space:nowrap}
.admin-products-total-count i{font-size:.7rem;opacity:.9}.admin-products-total-count b{font-size:.82rem}.admin-products-total-count span{color:var(--muted);font-size:.66rem}
.admin-product-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.admin-product-row-actions .table-action-button{min-height:36px;border-width:1px!important;border-radius:11px!important;padding:7px 10px!important;font-weight:900!important;box-shadow:none!important;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important}
.admin-product-row-actions .table-action-button:hover{transform:translateY(-1px)!important;filter:saturate(1.08)!important}
.admin-product-row-actions .table-action-button--open{border-color:#0f9f70!important;background:linear-gradient(135deg,#10b981,#078a62)!important;color:#fff!important;box-shadow:0 7px 16px rgba(16,185,129,.17)!important}
.admin-product-row-actions .table-action-button--edit{border-color:#2f64dc!important;background:linear-gradient(135deg,#4380f2,#2558c8)!important;color:#fff!important;box-shadow:0 7px 16px rgba(47,100,220,.17)!important}
.admin-product-row-actions .table-action-button--delete{border-color:#d62c50!important;background:linear-gradient(135deg,#e94a69,#c91e43)!important;color:#fff!important;box-shadow:0 7px 16px rgba(214,44,80,.17)!important}
.admin-product-row-actions .table-action-button--discount:not(.is-active){border-color:#ddd7e0!important;background:#fff!important;color:#6b6170!important;box-shadow:0 4px 12px rgba(37,26,44,.045)!important}
.admin-product-row-actions .table-action-button--discount:not(.is-active):hover{border-color:#e4a735!important;background:#fffaf0!important;color:#9a6208!important;box-shadow:0 7px 16px rgba(217,119,6,.12)!important}
.admin-product-row-actions .table-action-button--discount.is-active{border-color:#df8b0a!important;background:linear-gradient(135deg,#f8a91f,#dc7900)!important;color:#fff!important;box-shadow:0 8px 18px rgba(223,139,10,.20)!important}
.admin-product-row-actions .admin-product-delete-form{margin:0}

/* Narrow desktop: do not force dashboard tables wider than the viewport. */
@media (max-width:1280px){
  .dashboard-layout--admin-overview,.dashboard-layout--admin-work{flex-direction:column!important;align-items:stretch!important}
  .dashboard-layout--admin-overview>.dashboard-primary,.dashboard-layout--admin-work>.dashboard-primary,.dashboard-layout--admin-overview>.dashboard-aside,.dashboard-layout--admin-work>.dashboard-aside{width:100%!important;max-width:none!important;min-width:0!important;flex:1 1 auto!important}
  .dashboard-layout--admin-overview>.dashboard-aside{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  .admin-dashboard-recent .table-wrap,.admin-work-report-card .table-wrap{overflow:visible!important;max-width:100%!important}
}
@media (max-width:1120px) and (min-width:761px){
  .admin-dashboard-recent .panel-table,.admin-work-report-card .admin-work-table{display:block!important;width:100%!important;min-width:0!important;border-collapse:separate!important}
  .admin-dashboard-recent .panel-table thead,.admin-work-report-card .admin-work-table thead{display:none!important}
  .admin-dashboard-recent .panel-table tbody,.admin-work-report-card .admin-work-table tbody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:12px!important}
  .admin-dashboard-recent .panel-table tbody>tr,.admin-work-report-card .admin-work-table tbody>tr{display:grid!important;grid-template-columns:1fr!important;gap:0!important;min-width:0!important;padding:11px 12px!important;border:1px solid var(--border)!important;border-radius:15px!important;background:var(--surface)!important;box-shadow:0 5px 16px rgba(30,20,40,.035)!important}
  .admin-dashboard-recent .panel-table tbody>tr>td,.admin-work-report-card .admin-work-table tbody>tr>td{display:grid!important;grid-template-columns:minmax(82px,.55fr) minmax(0,1fr)!important;align-items:center!important;gap:9px!important;min-width:0!important;padding:7px 0!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--border) 72%,transparent)!important;background:transparent!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .admin-dashboard-recent .panel-table tbody>tr>td:last-child,.admin-work-report-card .admin-work-table tbody>tr>td:last-child{border-bottom:0!important}
  .admin-dashboard-recent .panel-table tbody>tr>td::before,.admin-work-report-card .admin-work-table tbody>tr>td::before{content:attr(data-label);color:var(--muted);font-size:.64rem;font-weight:850;line-height:1.45}
  .admin-dashboard-recent .table-secondary,.admin-work-report-card .table-secondary{white-space:normal!important;overflow-wrap:anywhere!important}
  .admin-work-report-card .admin-work-person{min-width:0!important}.admin-work-report-card .admin-work-person>div{min-width:0!important}.admin-work-report-card .admin-work-person small{overflow-wrap:anywhere!important;white-space:normal!important}
}
@media (max-width:900px) and (min-width:761px){
  .admin-dashboard-recent .panel-table tbody,.admin-work-report-card .admin-work-table tbody{grid-template-columns:1fr!important}
}
@media (max-width:760px){
  .admin-products-title-line{gap:8px}.admin-products-total-count{min-height:30px;padding:4px 8px}
  .dashboard-layout--admin-overview>.dashboard-aside{grid-template-columns:1fr!important}
}

/* 2026-09-19 — Dashboard width-aware layout + promotion removal */
.product-discount-actions{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important}
.product-discount-actions__spacer{flex:1 1 auto}
.product-discount-clear{border-color:color-mix(in srgb,var(--danger) 34%,var(--border))!important;background:color-mix(in srgb,var(--danger) 8%,var(--surface))!important;color:var(--danger)!important}
.product-discount-clear:hover{border-color:var(--danger)!important;background:color-mix(in srgb,var(--danger) 14%,var(--surface))!important;color:var(--danger)!important}
.product-discount-clear[hidden]{display:none!important}

body.admin-dashboard-page{overflow-x:hidden!important}
body.admin-dashboard-page .panel-frame,body.admin-dashboard-page .panel-site-main,body.admin-dashboard-page .panel-shell,body.admin-dashboard-page .panel-main{min-width:0!important;max-width:100%!important}
body.admin-dashboard-page .panel-main{overflow:visible!important}
body.admin-dashboard-page .dashboard-layout,body.admin-dashboard-page .dashboard-primary,body.admin-dashboard-page .dashboard-aside,body.admin-dashboard-page .dashboard-card,body.admin-dashboard-page .table-wrap{min-width:0!important;max-width:100%!important}
body.admin-dashboard-page .dashboard-card{overflow:hidden!important}
body.admin-dashboard-page .table-wrap{overflow-x:auto!important;overscroll-behavior-inline:contain}
body.admin-dashboard-page .panel-table{max-width:100%!important}
body.admin-dashboard-page .dashboard-layout--admin-overview{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(270px,320px)!important;align-items:start!important;gap:16px!important}
body.admin-dashboard-page .dashboard-layout--admin-overview>.dashboard-primary,body.admin-dashboard-page .dashboard-layout--admin-overview>.dashboard-aside{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important}
body.admin-dashboard-page .dashboard-layout--admin-work{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(270px,320px)!important;align-items:start!important;gap:16px!important}
body.admin-dashboard-page .dashboard-layout--admin-work>.dashboard-primary,body.admin-dashboard-page .dashboard-layout--admin-work>.dashboard-aside{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important}

/* The dashboard becomes one column before the content is squeezed by the persistent sidebar. */
@media (max-width:1500px){
  body.admin-dashboard-page .panel-frame{width:calc(100% - 20px)!important;gap:14px!important}
  body.admin-dashboard-page .panel-sidebar-global{width:200px!important;flex:0 0 200px!important}
  body.admin-dashboard-page .dashboard-layout--admin-overview,body.admin-dashboard-page .dashboard-layout--admin-work{grid-template-columns:minmax(0,1fr)!important}
  body.admin-dashboard-page .dashboard-layout--admin-overview>.dashboard-aside{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  body.admin-dashboard-page .dashboard-layout--admin-work>.dashboard-aside{width:100%!important}
  body.admin-dashboard-page .dashboard-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
}

/* Cardify the two data-heavy dashboard tables on narrow desktop, not only on mobile. */
@media (max-width:1380px) and (min-width:761px){
  body.admin-dashboard-page .admin-dashboard-recent .table-wrap,body.admin-dashboard-page .admin-work-report-card .table-wrap{overflow:visible!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table,body.admin-dashboard-page .admin-work-report-card .admin-work-table{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:transparent!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table thead,body.admin-dashboard-page .admin-work-report-card .admin-work-table thead{display:none!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;padding:12px!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr{display:grid!important;grid-template-columns:1fr!important;min-width:0!important;margin:0!important;padding:10px 12px!important;border:1px solid var(--border)!important;border-radius:15px!important;background:var(--surface)!important;box-shadow:0 6px 18px rgba(29,20,42,.045)!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr>td,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr>td{display:grid!important;grid-template-columns:minmax(76px,.48fr) minmax(0,1fr)!important;align-items:center!important;gap:8px!important;min-width:0!important;padding:7px 0!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--border) 72%,transparent)!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:start!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr>td:last-child,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr>td:last-child{border-bottom:0!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr>td::before,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr>td::before{content:attr(data-label);display:block!important;color:var(--muted)!important;font-size:.64rem!important;font-weight:900!important;line-height:1.5!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr>td[colspan],body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr>td[colspan]{display:block!important;padding:0!important;border:0!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr>td[colspan]::before,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr>td[colspan]::before{display:none!important;content:none!important}
  body.admin-dashboard-page .admin-dashboard-recent .empty-state,body.admin-dashboard-page .admin-work-report-card .empty-state{min-height:120px!important}
  body.admin-dashboard-page .admin-work-person,body.admin-dashboard-page .admin-work-person>div{min-width:0!important}
  body.admin-dashboard-page .admin-work-person small{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
}
@media (max-width:1080px) and (min-width:761px){
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody{grid-template-columns:1fr!important}
  body.admin-dashboard-page .dashboard-layout--admin-overview>.dashboard-aside{grid-template-columns:1fr!important}
}
@media (max-width:760px){
  .product-discount-actions{display:grid!important;grid-template-columns:1fr 1fr!important}
  .product-discount-actions__spacer{display:none!important}
  .product-discount-clear:not([hidden]){grid-column:1/-1!important}
  body.admin-dashboard-page .dashboard-kpis{grid-template-columns:1fr!important}
}

/* Dashboard responds to its real content width (sidebar/devtools/browser zoom), not only viewport width. */
body.admin-dashboard-page .panel-site-main{container-type:inline-size;container-name:admin-dashboard-main;width:100%!important}
body.admin-dashboard-page .panel-site-main>.panel-shell.section-narrow{width:100%!important;max-width:none!important;margin-inline:0!important}
@container admin-dashboard-main (max-width:1050px){
  body.admin-dashboard-page .dashboard-layout--admin-overview,body.admin-dashboard-page .dashboard-layout--admin-work{grid-template-columns:minmax(0,1fr)!important}
  body.admin-dashboard-page .dashboard-layout--admin-overview>.dashboard-aside{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  body.admin-dashboard-page .dashboard-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@container admin-dashboard-main (max-width:900px){
  body.admin-dashboard-page .admin-dashboard-recent .table-wrap,body.admin-dashboard-page .admin-work-report-card .table-wrap{overflow:visible!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table,body.admin-dashboard-page .admin-work-report-card .admin-work-table{display:block!important;width:100%!important;min-width:0!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table thead,body.admin-dashboard-page .admin-work-report-card .admin-work-table thead{display:none!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:12px!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr{display:grid!important;grid-template-columns:1fr!important;min-width:0!important;padding:10px 12px!important;border:1px solid var(--border)!important;border-radius:15px!important;background:var(--surface)!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr>td,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr>td{display:grid!important;grid-template-columns:minmax(76px,.48fr) minmax(0,1fr)!important;gap:8px!important;min-width:0!important;padding:7px 0!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--border) 72%,transparent)!important;white-space:normal!important;overflow-wrap:anywhere!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr>td:last-child,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr>td:last-child{border-bottom:0!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr>td::before,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr>td::before{content:attr(data-label);color:var(--muted)!important;font-size:.64rem!important;font-weight:900!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr>td[colspan],body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr>td[colspan]{display:block!important;border:0!important;padding:0!important}
  body.admin-dashboard-page .admin-dashboard-recent .panel-table tbody>tr>td[colspan]::before,body.admin-dashboard-page .admin-work-report-card .admin-work-table tbody>tr>td[colspan]::before{display:none!important;content:none!important}
  body.admin-dashboard-page .dashboard-layout--admin-overview>.dashboard-aside{grid-template-columns:1fr!important}
}
