:root{--bg:#eef3f8;--card:#fff;--text:#0f172a;--muted:#64748b;--blue:#2563eb;--blue2:#1e40af;--green:#16a34a;--red:#dc2626;--orange:#f59e0b;--border:#dbe5ef;--shadow:0 10px 30px rgba(15,23,42,.08);--radius:20px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;padding-bottom:86px}.topbar{position:sticky;top:0;z-index:10;background:linear-gradient(90deg,#10265b,#2442b7);color:#fff;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 8px 22px rgba(15,23,42,.18)}.topbar.admin{background:linear-gradient(90deg,#111827,#4b1d95)}.brand{display:flex;align-items:center;gap:14px}.brand b{font-size:20px}.brand span{display:block;font-size:13px;color:#dbeafe;margin-top:4px}.logo{width:58px;height:58px;border-radius:16px;background:#fff;color:#0f172a;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:24px;letter-spacing:-1px}.logo.small{width:46px;height:46px;font-size:19px}.admin-link,.back{color:#fff;text-decoration:none;background:rgba(255,255,255,.16);padding:10px 13px;border-radius:14px;font-weight:800}.container{max-width:1160px;margin:0 auto;padding:16px}.hero{background:#fff;border-radius:24px;padding:22px;display:flex;justify-content:space-between;gap:20px;align-items:center;box-shadow:var(--shadow);margin-bottom:14px}.hero h1{margin:0 0 8px;font-size:30px}.hero p{margin:0;color:var(--muted)}.stats{display:flex;gap:12px}.stats div,.stat{border:1px solid var(--border);border-radius:18px;padding:14px 18px;min-width:130px;background:#f8fafc}.stats b,.stat b{font-size:25px;display:block}.stats span,.stat span{font-size:13px;color:var(--muted)}.toolbar{display:grid;grid-template-columns:1fr 180px;gap:12px;margin-bottom:16px}.search,select,input{width:100%;border:1px solid var(--border);border-radius:16px;padding:15px 16px;background:#fff;font-size:16px;outline:none}.section-head{display:flex;align-items:end;justify-content:space-between;margin:20px 2px 12px}.section-head h2{margin:0;font-size:26px}.muted{color:var(--muted);font-size:14px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.card{background:#fff;border-radius:var(--radius);padding:14px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:100%;overflow:hidden}.image-wrap{width:100%}.thumb,.ad-thumb{width:100%;height:210px;object-fit:cover;display:block;background:#f8fafc;border-radius:16px;margin:0 0 12px}.thumb{object-fit:contain}.title{font-size:17px;font-weight:900;line-height:1.25;margin-bottom:7px}.meta{color:var(--muted);font-size:14px;margin:5px 0}.desc{line-height:1.55;white-space:pre-line;margin:12px 0}.price{color:var(--green);font-size:23px;font-weight:900;margin:9px 0}.btn{border:0;border-radius:15px;background:var(--blue);color:#fff;font-size:15px;font-weight:900;padding:13px;cursor:pointer;text-align:center;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;gap:6px}.card>.btn{margin-top:auto;width:100%}.btn.secondary{background:#eaf2ff;color:#1d4ed8}.btn.danger{background:#fee2e2;color:#991b1b}.btn.good{background:#dcfce7;color:#166534}.btn.disabled,.btn:disabled{opacity:.55;cursor:not-allowed;background:#94a3b8;color:#fff}.btn-row{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px}.chip{border:1px solid var(--border);background:#fff;color:#0f172a;border-radius:999px;padding:10px 14px;font-weight:800;white-space:nowrap}.chip.active{background:#dbeafe;color:#1d4ed8;border-color:#93c5fd}.empty,.error{background:#fff;border-radius:var(--radius);padding:18px;color:var(--muted);box-shadow:var(--shadow)}.error{color:#991b1b;background:#fee2e2}.placeholder{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#64748b;border:1px dashed #cbd5e1;background:linear-gradient(135deg,#f8fafc,#eef2f7);text-align:center}.placeholder span{font-size:36px}.ad-thumb.placeholder,.thumb.placeholder{height:210px;border-radius:16px;margin-bottom:12px}.detail{max-width:960px}.detail-card{background:#fff;border-radius:24px;padding:18px;box-shadow:var(--shadow)}.detail-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);gap:22px}.detail-img{width:100%;max-height:520px;object-fit:contain;background:#f8fafc;border-radius:20px}.detail-img.placeholder{height:360px}.gallery-strip{display:flex;gap:8px;margin-top:9px;overflow-x:auto}.gallery-strip img{width:72px;height:72px;object-fit:cover;border-radius:12px;border:2px solid #e2e8f0;cursor:pointer}.badge{display:inline-block;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;background:#dbeafe;color:#1d4ed8}.badge.good{background:#dcfce7;color:#166534}.badge.warn{background:#fef3c7;color:#92400e}.badge.bad{background:#fee2e2;color:#991b1b}.panel{background:#fff;border-radius:22px;padding:16px;box-shadow:var(--shadow);margin-bottom:16px}.panel h2,.panel h3{margin-top:0}.list{display:grid;gap:10px}.row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;border:1px solid var(--border);border-radius:16px;padding:12px;background:#fff}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.kpi{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:16px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;height:76px;background:#fff;border-top:1px solid var(--border);display:grid;grid-template-columns:repeat(5,1fr);z-index:1000;box-shadow:0 -8px 24px rgba(15,23,42,.10)}.bottom-nav a{color:#64748b;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:21px;font-weight:800}.bottom-nav a span{font-size:11px}.bottom-nav a.active{color:var(--blue);background:#eff6ff}.toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%) translateY(20px);background:#0f172a;color:white;border-radius:999px;padding:12px 18px;opacity:0;pointer-events:none;transition:.2s;z-index:2000}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}@media(max-width:820px){.topbar{padding:14px}.brand b{font-size:16px}.brand span{font-size:12px}.logo{width:50px;height:50px}.hero{align-items:stretch;flex-direction:column}.stats{display:grid;grid-template-columns:1fr 1fr}.toolbar{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.btn-row{grid-template-columns:1fr}.row{grid-template-columns:1fr}.container{padding:12px}.section-head h2{font-size:23px}}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label{font-weight:800;color:#334155}.form-grid input,.form-grid select,.form-grid textarea{margin-top:6px}.form-grid textarea{width:100%;border:1px solid var(--border);border-radius:16px;padding:15px 16px;background:#fff;font-size:16px;outline:none;resize:vertical;font-family:inherit}.wide{grid-column:1/-1}@media(max-width:820px){.form-grid{grid-template-columns:1fr}}

/* PDM v3.0-alpha4 */
.hidden{display:none!important}.app-shell{padding-bottom:110px}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#2563eb;margin-bottom:7px}.home-hero{align-items:stretch}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:14px 0 18px}.quick-card{border:1px solid var(--border);background:#fff;color:var(--text);border-radius:22px;padding:18px;box-shadow:var(--shadow);text-decoration:none;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:6px;min-height:118px}.quick-card span{font-size:30px}.quick-card b{font-size:18px}.quick-card small{color:var(--muted);font-weight:700}.section-card{background:#fff;border-radius:24px;padding:16px;box-shadow:var(--shadow);margin:16px 0}.main-head{background:#fff;border-radius:24px;padding:18px;box-shadow:var(--shadow);margin-top:0}.main-head h2{font-size:30px;margin-bottom:6px}.main-head p{margin:0}.link-btn{border:0;background:transparent;color:#2563eb;font-weight:900;cursor:pointer}.btn.small{width:auto;padding:12px 16px;white-space:nowrap}.bottom-nav a{position:relative}.bottom-nav em{position:absolute;top:8px;right:19%;min-width:18px;height:18px;border-radius:999px;background:#ef4444;color:#fff;font-style:normal;font-size:11px;display:flex;align-items:center;justify-content:center;padding:0 5px}.bottom-nav a.active{background:#dbeafe;color:#1d4ed8;border-radius:18px}.product-actions{grid-template-columns:1fr 1fr}.cart-list{display:flex;flex-direction:column;gap:12px}.cart-item{background:#fff;border-radius:20px;padding:12px;box-shadow:var(--shadow);display:grid;grid-template-columns:82px 1fr auto;gap:12px;align-items:center}.cart-thumb{width:82px;height:82px;object-fit:cover;border-radius:14px;background:#f8fafc}.cart-thumb.placeholder{width:82px;height:82px;margin:0;font-size:12px}.cart-thumb.placeholder span{font-size:22px}.cart-info{display:flex;flex-direction:column;gap:6px}.cart-info span{color:var(--green);font-weight:900}.cart-controls{display:flex;align-items:center;gap:8px}.cart-controls button{border:1px solid var(--border);background:#fff;border-radius:10px;width:34px;height:34px;font-size:20px;font-weight:900;cursor:pointer}.cart-controls .remove{background:#fee2e2;color:#991b1b}.cart-summary{position:sticky;bottom:96px;background:#fff;border-radius:22px;padding:16px;box-shadow:var(--shadow);margin-top:14px;display:flex;align-items:center;justify-content:space-between;gap:14px}.cart-summary span{display:block;color:var(--muted);font-size:13px}.cart-summary b{font-size:24px;color:var(--green)}.profile-actions .quick-card{color:var(--text)}.compact-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}@media(max-width:760px){.hero{display:block}.stats{margin-top:14px;display:grid;grid-template-columns:repeat(3,1fr)}.stats div{min-width:0;padding:12px}.toolbar{grid-template-columns:1fr}.quick-actions{grid-template-columns:1fr}.cart-item{grid-template-columns:72px 1fr;align-items:start}.cart-controls{grid-column:1/-1;justify-content:flex-end}.bottom-nav{left:10px;right:10px;bottom:10px;width:auto;border-radius:20px}.bottom-nav a span{font-size:11px}.bottom-nav em{right:12%}.main-head{display:block}.main-head .btn{margin-top:12px;width:100%}}

/* PDM v3.0-alpha5 */
.home-search{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:16px;max-width:620px}.checkout-card{background:#fff;border-radius:22px;padding:16px;box-shadow:var(--shadow);margin:14px 0}.product-actions{grid-template-columns:1fr 1fr}.product-actions .wide-btn{grid-column:1/-1}.mini-section-title{margin:20px 0 10px}.favorite-card{border-left:5px solid #ef4444}.order-ok{background:#dcfce7;color:#166534;border-radius:16px;padding:12px;font-weight:900;margin-top:12px}.seller-box{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:14px;margin:14px 0}.seller-box b{display:block;margin-bottom:6px}@media(max-width:760px){.home-search{grid-template-columns:1fr}.home-search .btn{width:100%}}

.product-detail-actions{grid-template-columns:1fr 1fr}.product-detail-actions .btn{width:100%}@media(max-width:760px){.product-detail-actions{grid-template-columns:1fr}}


/* PDM v3.0-alpha7 */
.profile-hero{display:flex;align-items:center;gap:14px}.profile-hero h2{margin:0 0 6px}.profile-avatar{width:64px;height:64px;border-radius:22px;background:#eff6ff;color:#1d4ed8;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 14px}.stat-card{border:1px solid var(--border);background:#fff;border-radius:18px;padding:13px;box-shadow:var(--shadow);cursor:pointer;text-align:left}.stat-card b{font-size:24px;display:block;color:var(--text)}.stat-card span{color:var(--muted);font-size:13px;font-weight:800}.stat-card.active{border-color:#93c5fd;background:#eff6ff}.profile-tabs{display:flex;gap:8px;overflow-x:auto;margin:0 0 12px}.profile-tabs .chip.active{background:#dbeafe;color:#1d4ed8;border-color:#93c5fd}.profile-panel{margin-top:0}.cart-profile-total{display:flex;justify-content:space-between;align-items:center;margin:14px 0;padding:14px;border-radius:16px;background:#f8fafc;border:1px solid var(--border)}.cart-profile-total span{color:var(--muted);font-weight:800}.cart-profile-total b{font-size:22px;color:var(--green)}.favorite-row{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;border:1px solid var(--border);border-radius:18px;padding:10px;background:#fff}.fav-thumb{width:72px;height:72px;object-fit:cover;border-radius:14px;background:#f8fafc}.fav-thumb.placeholder{width:72px;height:72px;margin:0}.fav-thumb.placeholder span{font-size:22px}.topbar .admin-link{display:none}@media(max-width:760px){.profile-stats{grid-template-columns:repeat(2,1fr)}.favorite-row{grid-template-columns:64px 1fr}.favorite-row .btn{grid-column:1/-1}.fav-thumb,.fav-thumb.placeholder{width:64px;height:64px}.profile-tabs{padding-bottom:4px}}
.safe{font-family:Arial,sans-serif;padding:24px;background:#f4f7fb;min-height:100vh;color:#0f172a}.safe section{max-width:560px;margin:40px auto;background:#fff;border-radius:20px;padding:24px;box-shadow:0 12px 40px rgba(15,23,42,.12)}.safe pre{white-space:pre-wrap;background:#f1f5f9;border-radius:12px;padding:12px;overflow:auto}.safe button{border:0;border-radius:12px;background:#2563eb;color:#fff;padding:14px 18px;font-weight:700;margin-right:8px}



/* alpha24 clean frontend */
.hidden{display:none!important}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.compact-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.card,.section-card,.panel,.detail-card{background:#fff;border-radius:20px;box-shadow:0 10px 30px rgba(15,23,42,.08);border:1px solid #dbe5ef}.card{overflow:hidden}.card-body{padding:12px 14px 16px}.card h3{margin:8px 0 6px;font-size:18px;line-height:1.2}.thumb{height:220px;width:100%;overflow:hidden;background:#f5f7fb;display:flex;align-items:center;justify-content:center;border-radius:18px}.card .thumb{border-radius:0}.thumb img,.detail-img img{width:100%;height:100%;object-fit:cover;display:block}.placeholder{color:#64748b;gap:8px;flex-direction:column}.gallery{display:grid;gap:10px}.gallery .detail-img{width:100%;max-height:520px;object-fit:contain;background:#f8fafc;border-radius:20px;border:1px solid #dbe5ef}.detail-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,1fr);gap:24px}.btn-row,.card-actions,.toolbar,.chips,.stats,.quick-actions{display:flex;gap:12px;flex-wrap:wrap}.toolbar{margin:14px 0}.toolbar input,.toolbar select,.home-search input{min-height:48px;border:1px solid #dbe5ef;border-radius:16px;padding:0 14px;background:#fff}.toolbar input,.home-search input{flex:1;min-width:220px}.chip{border:1px solid #dbe5ef;background:#fff;border-radius:999px;padding:10px 14px;font-weight:700}.chip.active{border-color:#7db3ff;background:#dbeafe;color:#1d4ed8}.cart-row,.row,.favorite-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #e5edf5}.error{background:#fee2e2;color:#b91c1c;border-radius:18px;padding:18px;margin:16px 0}.empty{padding:18px;color:#64748b}.badge{display:inline-block;border-radius:999px;background:#e0f2fe;color:#0369a1;padding:4px 8px;font-size:12px;font-weight:700}.badge.warn{background:#fef3c7;color:#92400e}.seller-box{background:#f8fafc;border:1px solid #e5edf5;border-radius:16px;padding:14px;margin:16px 0}.desc{white-space:pre-wrap;line-height:1.5;margin:16px 0}.toast.show{opacity:1;transform:translateY(0)}@media(max-width:760px){.detail-grid{grid-template-columns:1fr}.grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.thumb{height:180px}.container{padding-left:14px;padding-right:14px}}
.product-full-section{grid-column:1/-1;margin-top:22px}.product-full-section .desc{max-width:none;font-size:16px;line-height:1.65;margin:0 0 18px}.product-full-section #related-products{width:100%;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.product-back-btn{margin-top:16px}@media(max-width:760px){.product-full-section{margin-top:16px}.product-full-section #related-products{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}
.container.detail{max-width:none;width:100%;padding-left:16px;padding-right:16px}.container.detail .detail-card{width:100%}.container.detail .detail-grid{grid-template-columns:minmax(280px,1.05fr) minmax(300px,.95fr)}@media(max-width:820px){.container.detail{padding-left:12px;padding-right:12px}.container.detail .detail-grid{grid-template-columns:1fr}}
body{padding-bottom:0}.app-shell{padding-bottom:24px}.topbar{gap:18px;flex-wrap:wrap}.top-nav{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.top-nav a{position:relative;color:#dbeafe;text-decoration:none;display:flex;align-items:center;gap:7px;padding:10px 13px;border-radius:15px;font-size:17px;font-weight:900;white-space:nowrap}.top-nav a span{font-size:13px}.top-nav a.active,.top-nav a:hover{background:rgba(255,255,255,.18);color:#fff}.top-nav em{position:absolute;top:3px;right:4px;min-width:18px;height:18px;border-radius:999px;background:#ef4444;color:#fff;font-style:normal;font-size:11px;display:flex;align-items:center;justify-content:center;padding:0 5px}.bottom-nav{display:none!important}.toast{bottom:24px}.cart-summary{bottom:16px}@media(max-width:760px){.topbar{align-items:flex-start}.top-nav{width:100%;justify-content:flex-start;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.top-nav::-webkit-scrollbar{display:none}.top-nav a{flex:0 0 auto;padding:9px 11px}.top-nav a span{font-size:11px}.brand{min-width:0}.brand b{font-size:18px}.brand span{font-size:12px}}
.admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 16px}.admin-toolbar h1{font-size:30px;margin:0 0 5px}.admin-toolbar p{margin:0;color:#64748b;font-weight:700}.admin-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-kpi{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.orders-panel{padding:14px}.orders-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:12px;align-items:start;margin-bottom:14px}.order-filters{padding:0;align-items:center}.orders-board{display:grid;gap:12px}.order-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:14px;border:1px solid #dbe5ef;border-radius:18px;background:#fff;padding:14px}.order-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.order-title h3{font-size:22px;margin:0}.order-meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.order-meta span{border:1px solid #dbe5ef;background:#f8fafc;border-radius:999px;padding:7px 10px;color:#334155;font-size:13px;font-weight:800}.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.customer-grid div{border:1px solid #e5edf5;border-radius:12px;background:#f8fafc;padding:9px}.customer-grid span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-bottom:3px}.customer-grid b{font-size:14px;line-height:1.3;overflow-wrap:anywhere}.customer-grid .wide{grid-column:1/-1}.order-items{list-style:none;margin:10px 0 0;padding:0;border-top:1px solid #e5edf5}.order-items li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eef2f7;font-weight:800}.order-items span{color:#16a34a;white-space:nowrap}.order-actions{display:flex;flex-direction:column;gap:10px}.status-actions{display:grid;grid-template-columns:1fr;gap:8px}.status-btn{border:1px solid #dbe5ef;background:#f8fafc;color:#0f172a;border-radius:12px;padding:10px 12px;font-weight:900;text-align:left;cursor:pointer}.status-btn.active{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8}.auth-panel{max-width:560px;margin:42px auto;background:#fff;border:1px solid #dbe5ef;border-radius:22px;box-shadow:0 10px 30px rgba(15,23,42,.08);padding:22px}.auth-panel h2{margin:0 0 8px}.auth-panel p{color:#64748b;margin:0 0 16px}.auth-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.auth-form input{min-width:0}@media(max-width:900px){.admin-toolbar{align-items:flex-start;flex-direction:column}.orders-head{grid-template-columns:1fr}.order-card{grid-template-columns:1fr}.customer-grid{grid-template-columns:1fr}.auth-form{grid-template-columns:1fr}.auth-form .btn{width:100%}}
.card-media-link{display:block;color:inherit;text-decoration:none;border-radius:18px;outline-offset:3px}.card-media-link .thumb{transition:transform .18s ease,box-shadow .18s ease}.card-media-link:hover .thumb,.card-media-link:focus-visible .thumb{transform:translateY(-2px);box-shadow:0 10px 22px rgba(15,23,42,.13)}.card-media-link .placeholder{cursor:pointer}
.checkout-form{margin-top:16px;padding:16px;border:1px solid var(--border);border-radius:20px;background:#f8fafc}.checkout-form h3{margin:0 0 12px}.checkout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.checkout-grid label{font-weight:900;color:#334155}.checkout-grid input,.checkout-grid select{margin-top:6px;background:#fff}.checkout-grid .wide{grid-column:1/-1}.checkout-message{margin-top:12px}.order-ok{background:#dcfce7;color:#166534;border-radius:18px;padding:14px;font-weight:800;margin:12px 0}@media(max-width:760px){.checkout-grid{grid-template-columns:1fr}}


/* PDM V26.1 admin catalog */
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.stock-input{width:110px;padding:9px 10px;border:1px solid var(--line,#ddd);border-radius:12px;background:#fff}
.btn.warn{background:#f59e0b;color:#111827}
.order-card .meta{opacity:.8;margin:.35rem 0 0}


/* PDM V26.2 product admin edit */
.product-edit-card .order-main{min-width:0}
.product-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.admin-field{display:flex;flex-direction:column;gap:4px;font-size:12px}
.admin-field.wide{grid-column:1/-1}
.admin-input{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid var(--line,#ddd);border-radius:12px;background:#fff;color:inherit}
textarea.admin-input{min-height:84px;resize:vertical}
@media(max-width:640px){.product-edit-grid{grid-template-columns:1fr}}


/* PDM V26.3 product create */
.product-create-card{border-style:dashed}
.product-create-card .order-title h3{margin:0}


/* PDM V26.4 product categories */
.product-category-card{border-style:dashed}
.category-chip-list{display:grid;gap:8px;margin:10px 0}
.category-chip{border:1px solid rgba(0,0,0,.12);border-radius:12px;padding:10px;background:rgba(255,255,255,.55)}
.category-chip b{display:block;margin-bottom:4px}
.category-chip .badge{display:inline-block;margin:4px 4px 0 0}


/* PDM V26.5 orders admin details */
.order-detail-card .admin-subtitle{margin:12px 0 6px;font-size:14px}
.order-items-detailed li{display:grid;gap:3px;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.08)}
.order-note-field textarea{min-height:76px}
.order-history{display:grid;gap:6px}
.history-row{border:1px solid rgba(0,0,0,.1);border-radius:10px;padding:8px;background:rgba(255,255,255,.55)}
.history-row span{display:block;font-size:12px;opacity:.75}
.history-row p{margin:4px 0 0}


/* PDM V26.6 classifieds admin details */
.classified-detail-card .admin-subtitle{margin:12px 0 6px;font-size:14px}
.classified-body{white-space:pre-wrap;margin:6px 0 10px}
.classified-note-field textarea{min-height:76px}
.classified-photos{display:flex;gap:8px;overflow-x:auto;margin:8px 0 10px;padding-bottom:4px}
.classified-photos img{width:96px;height:96px;object-fit:cover;border-radius:12px;border:1px solid rgba(0,0,0,.12)}
.classified-history{display:grid;gap:6px}


/* PDM V26.7 dashboard admin */
.v26-dashboard{background:#fff;border-radius:24px;padding:14px;margin:14px 0;box-shadow:var(--shadow)}
.v26-dashboard-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.v26-dashboard-head h2{margin:0 0 4px}
.v26-dashboard-head p{margin:0;color:var(--muted)}
.v26-kpi-main{margin:8px 0 12px}
.v26-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v26-dash-panel{border:1px solid var(--border);border-radius:18px;padding:12px;background:#f8fafc}
.v26-dash-panel h3{margin:0 0 10px;font-size:16px}
.v26-metric,.v26-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid rgba(15,23,42,.08)}
.v26-metric:last-child,.v26-row:last-child{border-bottom:0}
.v26-metric span,.v26-row span{color:var(--muted);font-weight:800}
.v26-metric b,.v26-row b{font-size:16px}
.v26-row em{font-style:normal;color:var(--muted);font-size:12px;font-weight:800}
.v26-alerts{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.v26-alerts.ok{background:#ecfdf5;color:#166534;border-radius:14px;padding:10px;font-weight:900}
.v26-recent-panel{margin-top:12px}
.v26-recent-order{display:grid;gap:4px;padding:9px 0;border-bottom:1px solid rgba(15,23,42,.08)}
.v26-recent-order:last-child{border-bottom:0}
.v26-recent-order span,.v26-recent-order small{color:var(--muted);font-weight:800}
@media(max-width:760px){.v26-dashboard-grid{grid-template-columns:1fr}.v26-dashboard-head{display:block}.v26-dashboard-head .btn{margin-top:10px;width:100%}}


/* PDM V26.8 customers admin */
.customer-card .order-actions a,.customer-detail-card .order-actions a{text-align:center;text-decoration:none}
.v26-customer-section{background:#fff;border:1px solid var(--border);border-radius:18px;padding:14px;margin:12px 0;box-shadow:var(--shadow)}
.v26-customer-section h3{margin:0 0 10px}
.v26-customer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:10px 0;border-bottom:1px solid rgba(15,23,42,.08)}
.v26-customer-row:last-child{border-bottom:0}
.v26-customer-row small{grid-column:1/-1;color:var(--muted);font-weight:800}
.v26-customer-row span{color:var(--muted);font-weight:900}
@media(max-width:760px){.v26-customer-row{grid-template-columns:1fr}.v26-customer-row small{grid-column:auto}}


/* PDM V26.9 promocodes admin */
.v26-promo-form{background:#fff;border:1px solid var(--border);border-radius:18px;padding:14px;margin:12px 0;box-shadow:var(--shadow)}
.v26-promo-form h3{margin:0 0 10px}
.v26-promo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.v26-promo-grid label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:900}
.v26-promo-grid input,.v26-promo-grid select{width:100%}
.promo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.promo-card .badge.good{background:#dcfce7;color:#166534}
@media(max-width:980px){.v26-promo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.v26-promo-grid{grid-template-columns:1fr}.promo-actions .btn{width:100%}}


/* PDM V26.10 browser auth bridge */
.pdm-browser-open-btn{position:fixed;right:14px;bottom:84px;z-index:9999;border:0;border-radius:999px;padding:11px 14px;background:#0f172a;color:#fff;font-weight:900;box-shadow:0 12px 34px rgba(15,23,42,.22)}
.pdm-browser-open-btn:active{transform:translateY(1px)}
@media(min-width:900px){.pdm-browser-open-btn{bottom:22px}}


/* PDM V26.10.1 browser open fallback */
#pdm-v26-10-browser-link-box a:active,#pdm-v26-10-browser-link-box button:active{transform:translateY(1px)}

/* === PDM V26.11 compact synced catalog filters === */
.catalog-filter-panel {
  margin: 10px 0 12px;
  padding: 10px;
  border: 1px solid rgba(127,127,127,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(8px);
}
.catalog-filter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.catalog-filter-head span,
.catalog-filter-title,
.catalog-filter-status {
  color: rgba(70,70,70,.76);
  font-size: 12px;
}
.catalog-filter-title {
  margin: 6px 0 5px;
  font-weight: 700;
}
.catalog-chip-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.catalog-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(80,80,80,.22);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255,255,255,.92);
  color: inherit;
  font: inherit;
  font-size: 13px;
  line-height: 1.15;
  cursor: pointer;
  white-space: nowrap;
}
.catalog-chip.active {
  border-color: rgba(20,20,20,.62);
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
  font-weight: 800;
}
.catalog-filter-status {
  margin-top: 2px;
}
.catalog-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 18px;
  text-align: center;
}
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
@media (max-width: 560px) {
  .catalog-filter-panel {
    margin-left: -2px;
    margin-right: -2px;
    padding: 9px;
    border-radius: 14px;
  }
  .catalog-filter-head {
    display: grid;
    gap: 2px;
  }
  .catalog-chip {
    padding: 7px 10px;
    font-size: 12px;
  }
}
/* === /PDM V26.11 compact synced catalog filters === */



/* === PDM V26.12 admin product categories === */
.v26-12-category-manager {
  overflow: hidden;
}
.v26-12-category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  gap: 12px;
  align-items: start;
}
.v26-12-category-panel {
  border: 1px solid rgba(127,127,127,.22);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.62);
}
.v26-12-panel-title {
  font-weight: 800;
  margin-bottom: 10px;
}
.v26-12-category-tree {
  display: grid;
  gap: 10px;
}
.v26-12-cat-node {
  border: 1px solid rgba(127,127,127,.18);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,255,255,.7);
}
.v26-12-cat-head,
.v26-12-sub-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}
.v26-12-cat-head span {
  display: block;
  margin-top: 2px;
  color: rgba(80,80,80,.75);
  font-size: 12px;
}
.v26-12-sub-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-left: 6px;
}
.v26-12-sub-row {
  min-height: 30px;
  padding: 5px 0;
  border-top: 1px dashed rgba(127,127,127,.18);
}
.v26-12-sub-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v26-12-count {
  min-width: 30px;
  text-align: center;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(0,0,0,.06);
  font-weight: 700;
  font-size: 12px;
}
.v26-12-separator {
  border: 0;
  border-top: 1px solid rgba(127,127,127,.22);
  margin: 12px 0;
}
.v26-12-sync-note {
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.04);
  color: rgba(60,60,60,.84);
  font-size: 13px;
}
@media (max-width: 820px) {
  .v26-12-category-grid {
    grid-template-columns: 1fr;
  }
  .v26-12-cat-head,
  .v26-12-sub-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .v26-12-count {
    display: none;
  }
}
/* === /PDM V26.12 admin product categories === */


/* === PDM V26.12 select-only category manager === */
.v26-12-select-manager .order-title {
  align-items: flex-start;
}
.v26-12-select-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}
.v26-12-select-summary span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0,0,0,.055);
  font-size: 13px;
}
.v26-12-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.v26-12-select-card {
  border: 1px solid rgba(127,127,127,.22);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.68);
}
.v26-12-select-card h4 {
  margin: 0 0 10px;
}
.v26-12-select-card select.admin-input {
  cursor: pointer;
}
.v26-12-select-note {
  margin-top: 10px;
}
@media (max-width: 820px) {
  .v26-12-select-grid {
    grid-template-columns: 1fr;
  }
}
/* === /PDM V26.12 select-only category manager === */


/* === PDM V26.13 product category selects === */
.product-edit-grid select.admin-input {
  cursor: pointer;
}
.product-edit-grid select.admin-input:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.product-create-card .product-edit-grid select.admin-input,
.product-edit-card .product-edit-grid select.admin-input {
  min-height: 42px;
}
/* === /PDM V26.13 product category selects === */


/* === PDM V26.14 product new category option === */
.v26-14-new-category-input {
  margin-top: 7px;
  border-style: dashed;
}
.product-edit-grid select.admin-input option[value="__v26_14_new_category__"],
.product-edit-grid select.admin-input option[value="__v26_14_new_subcategory__"] {
  font-weight: 700;
}
/* === /PDM V26.14 product new category option === */


/* === PDM V26.15 admin product filters === */
.v26-15-product-filters {
  border-style: dashed;
}
.v26-15-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.v26-15-filter-actions {
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 760px) {
  .v26-15-filter-grid {
    grid-template-columns: 1fr;
  }
}
/* === /PDM V26.15 admin product filters === */


/* === PDM V26.16 admin product stock filters === */
.v26-16-product-stock-filters {
  border-style: dashed;
}
.v26-16-stock-grid {
  grid-template-columns: repeat(4, minmax(155px, 1fr));
}
@media (max-width: 980px) {
  .v26-16-stock-grid {
    grid-template-columns: repeat(2, minmax(155px, 1fr));
  }
}
@media (max-width: 560px) {
  .v26-16-stock-grid {
    grid-template-columns: 1fr;
  }
}
/* === /PDM V26.16 admin product stock filters === */

/* === PDM V26.18 product/ad card UX === */
.v26-18-card .big-price{font-size:1.45rem;font-weight:800;margin:10px 0}
.card-kicker{font-size:.85rem;opacity:.75;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}
.card-pill-row{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px}
.card-pill{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(0,0,0,.1);border-radius:999px;padding:6px 10px;font-size:.85rem;background:rgba(255,255,255,.65)}
.card-pill.ok{font-weight:700}
.card-pill.warn{font-weight:700}
.card-pill.danger{font-weight:700}
.card-pill.muted{opacity:.7}
.card-kv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:14px 0}
.card-kv-grid>div{border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:10px;background:rgba(255,255,255,.55)}
.card-kv-grid span{display:block;font-size:.8rem;opacity:.7;margin-bottom:3px}
.formatted-desc{white-space:normal;line-height:1.55}
.review-card{margin:8px 0}
.v26-18-actions{margin-top:14px}
.v26-18-info{margin-top:14px}
.v26-18-media img{max-width:100%;height:auto;border-radius:18px}
@media (max-width:720px){
  .v26-18-card .detail-grid{gap:14px}
  .v26-18-actions .btn{width:100%;justify-content:center}
}
/* === /PDM V26.18 product/ad card UX === */

/* === PDM V26.89.1 catalog card image clamp === */
.product-card .card-media-link {
  display: flex !important;
  width: 100% !important;
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #f5f7fb !important;
  border-radius: 18px 18px 0 0 !important;
  text-decoration: none !important;
}

.product-card .card-media-link > img,
.product-card .card-media-link img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.product-card .card-media-link > .thumb {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

@media (max-width: 760px) {
  .product-card .card-media-link {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
  }
}
/* === /PDM V26.89.1 catalog card image clamp === */

/* === PDM V26.90.4 miniapp responsive content and top nav scroll === */
@media (max-width: 760px) {
  .topbar {
    align-items: flex-start !important;
  }

  .top-nav {
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255,255,255,.68) rgba(255,255,255,.18) !important;
  }

  .top-nav::-webkit-scrollbar {
    display: block !important;
    height: 8px !important;
  }

  .top-nav::-webkit-scrollbar-track {
    background: rgba(255,255,255,.18) !important;
    border-radius: 999px !important;
  }

  .top-nav::-webkit-scrollbar-thumb {
    display: block !important;
    background: rgba(255,255,255,.68) !important;
    border-radius: 999px !important;
  }

  #cart,
  .cart,
  .cart-page,
  .cart-wrap,
  .cart-section,
  .cart-list,
  #cart-items,
  .checkout,
  .checkout-card,
  .checkout-form,
  .order-form,
  .form-card,
  .summary-card,
  .cart-summary,
  .cart-total,
  .checkout-total,
  .cart-profile-total,
  .bottom-bar,
  .cart-bottom-bar,
  .checkout-footer,
  .sticky-total,
  .floating-total,
  .total-bar,
  .summary-bar,
  .cart-item,
  .cart-row,
  .checkout-row,
  .summary-row,
  .form-row,
  .profile-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  #cart-items > *,
  .cart-list > *,
  .checkout-card > *,
  .checkout-form > *,
  .order-form > *,
  .form-card > *,
  .summary-card > *,
  .cart-summary > *,
  .cart-total > *,
  .checkout-total > * {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}
/* === /PDM V26.90.4 miniapp responsive content and top nav scroll === */

/* === PDM V26.90.9 hide exact order messages by success state === */
html.pdm-order-success-created #cart-order-condition,
body.pdm-order-success-created #cart-order-condition,
html.pdm-order-success-created #checkout-message,
body.pdm-order-success-created #checkout-message {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
/* === /PDM V26.90.9 hide exact order messages by success state === */


/* === PDM V26.92.3.7 classified cards contrast === */
#classifieds-list.orders-board,
#ads-list.orders-board,
#listings-list.orders-board {
  gap: 20px;
}

#classifieds-list .classified-detail-card,
#classifieds-list .order-card,
#ads-list .order-card,
#listings-list .order-card {
  border: 2px solid #94a3b8;
  border-left: 7px solid #2563eb;
  box-shadow: 0 16px 38px rgba(15,23,42,.14);
}

/* MiniApp / public classifieds cards */
.card:has(.ad-thumb),
.card:has([href*="/ads/"]),
.card:has([href*="/classifieds/"]),
.ad-card,
.classified-card,
.listing-card,
.v26-18-card.ad-card {
  border: 2px solid #94a3b8;
  box-shadow: 0 16px 38px rgba(15,23,42,.14);
  border-radius: 22px;
}

.card:has(.ad-thumb)::before,
.ad-card::before,
.classified-card::before,
.listing-card::before {
  content: "";
  display: block;
  height: 5px;
  background: #2563eb;
  margin: -14px -14px 12px;
}

.grid > .card:has(.ad-thumb),
.grid > .ad-card,
.grid > .classified-card,
.grid > .listing-card {
  margin-bottom: 4px;
}

@media(max-width:760px) {
  #classifieds-list .classified-detail-card,
  #classifieds-list .order-card,
  #ads-list .order-card,
  #listings-list .order-card {
    border-left-width: 5px;
  }

  .card:has(.ad-thumb),
  .ad-card,
  .classified-card,
  .listing-card {
    border-width: 2px;
  }
}
/* === /PDM V26.92.3.7 classified cards contrast === */


/* === PDM V26.92.3.35 REAL GLOBAL UI 1.5X === */
/* final global layer: readable font + compact geometry everywhere */

:root {
  --pdm35-fs-base: 18px;
  --pdm35-fs-small: 15px;
  --pdm35-fs-label: 14px;
  --pdm35-fs-value: 18px;
  --pdm35-fs-title: 25px;
  --pdm35-fs-h1: 34px;
  --pdm35-gap: 6px;
  --pdm35-radius: 11px;
}

html,
body {
  font-size: var(--pdm35-fs-base) !important;
  line-height: 1.06 !important;
}

body,
main,
section,
article,
div,
p,
span,
b,
strong,
label,
input,
select,
textarea,
button,
a {
  line-height: 1.06 !important;
}

h1 {
  font-size: var(--pdm35-fs-h1) !important;
  line-height: .98 !important;
  margin-top: 0 !important;
  margin-bottom: 7px !important;
  letter-spacing: -0.04em !important;
}

h2 {
  font-size: 29px !important;
  line-height: .98 !important;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.035em !important;
}

h3,
.title,
.card-title,
.section-title,
.order-title h3,
.pdm-v92332-title h3,
.pdm-v92317-title {
  font-size: var(--pdm35-fs-title) !important;
  line-height: .98 !important;
  margin-top: 0 !important;
  margin-bottom: 3px !important;
  letter-spacing: -0.035em !important;
}

p,
.meta,
.muted,
.hint,
.help,
small,
.order-meta,
.admin-subtitle,
.card-kicker {
  font-size: var(--pdm35-fs-small) !important;
  line-height: 1.04 !important;
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

.container,
.admin-content,
.panel,
.card,
.section-card,
.main-head,
.hero,
.detail-card,
.order-card,
.classified-detail-card,
.auth-panel,
.v26-dashboard,
.v26-dash-panel,
.v26-customer-section,
.v26-promo-form,
.quick-card,
.cart-item,
.checkout-form,
.pdm-v92317-row {
  padding: 7px 9px !important;
  border-radius: 13px !important;
  margin-bottom: 7px !important;
}

.grid,
.list,
.cards,
.orders-board,
.admin-list,
.cart-list,
.quick-actions,
.stats,
.kpi,
.customer-grid,
.form-grid,
.product-edit-grid,
.checkout-grid,
.v26-dashboard-grid,
.v26-promo-grid,
#classifieds-list,
#orders-list,
#products-list,
#cart-items {
  gap: var(--pdm35-gap) !important;
}

.btn,
button,
.admin-link,
.back,
.link-btn,
.status-btn,
.chip,
.quick-card,
.pill,
.tag,
.badge,
.status-badge {
  font-size: 16px !important;
  line-height: 1 !important;
  min-height: 34px !important;
  padding: 5px 9px !important;
  border-radius: var(--pdm35-radius) !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
}

.btn.small,
button.small,
.small.btn,
.status-actions .btn,
.row-actions .btn,
.order-actions .btn,
.pdm-v92317-actions .btn,
.pdm-v92332-actions .btn {
  font-size: 15px !important;
  min-height: 31px !important;
  padding: 4px 7px !important;
}

input,
select,
.search,
.admin-input,
.stock-input {
  font-size: 16px !important;
  line-height: 1 !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 5px 8px !important;
  border-radius: 9px !important;
}

textarea,
textarea.admin-input {
  font-size: 16px !important;
  line-height: 1.05 !important;
  min-height: 50px !important;
  padding: 6px 8px !important;
  border-radius: 9px !important;
}

label,
.admin-field,
.form-field,
.checkout-grid label,
.v26-promo-grid label {
  gap: 3px !important;
  margin: 3px 0 !important;
  font-size: var(--pdm35-fs-label) !important;
}

label > span,
.admin-field > span,
.form-field > span,
.customer-grid span,
.stat span,
.stats span,
.card-kv-grid span,
.pdm-v92332-field span {
  font-size: var(--pdm35-fs-label) !important;
  line-height: .98 !important;
  margin-bottom: 1px !important;
  font-weight: 900 !important;
}

.customer-grid b,
.stat b,
.stats b,
.card-kv-grid b,
.pdm-v92332-field b {
  font-size: var(--pdm35-fs-value) !important;
  line-height: 1 !important;
}

.customer-grid div,
.card-kv-grid > div,
.stat,
.stats div,
.pdm-v92332-field {
  padding: 5px 7px !important;
  border-radius: 9px !important;
}

.toolbar,
.admin-toolbar,
.admin-tools,
.filters,
.tabs,
.admin-tabs,
.subtabs,
.row-actions,
.order-actions,
.status-actions,
.btn-row,
.chips,
.card-pill-row,
.promo-actions,
.pdm-v92317-actions,
.pdm-v92332-actions {
  gap: var(--pdm35-gap) !important;
}

.order-card,
.classified-detail-card,
#classifieds-list .classified-detail-card,
#classifieds-list .order-card {
  grid-template-columns: minmax(0,1fr) 214px !important;
  gap: 7px !important;
}

.order-title,
.pdm-v92332-title {
  gap: 6px !important;
  margin: 0 !important;
}

.order-meta,
.pdm-v92332-meta {
  gap: 4px !important;
  margin: 4px 0 !important;
}

.order-meta span,
.pdm-v92332-meta span,
.card-pill,
.chip {
  font-size: 15px !important;
  padding: 3px 7px !important;
  line-height: 1 !important;
}

.thumb,
.ad-thumb {
  height: 170px !important;
  border-radius: 12px !important;
  margin-bottom: 7px !important;
}

.detail-img {
  max-height: 380px !important;
  border-radius: 14px !important;
}

.classified-photos,
.gallery-strip {
  gap: 4px !important;
  margin: 4px 0 !important;
}

.classified-photos img,
.gallery-strip img {
  max-height: 54px !important;
}

table {
  font-size: 16px !important;
  line-height: 1.04 !important;
}

th,
td {
  padding: 5px 7px !important;
  line-height: 1.04 !important;
}

.topbar {
  padding: 10px 14px !important;
}

.brand {
  gap: 9px !important;
}

.brand b {
  font-size: 21px !important;
  line-height: 1 !important;
}

.brand span {
  font-size: 14px !important;
  line-height: 1 !important;
  margin-top: 2px !important;
}

.logo {
  width: 46px !important;
  height: 46px !important;
  border-radius: 13px !important;
  font-size: 20px !important;
}

.logo.small {
  width: 40px !important;
  height: 40px !important;
  font-size: 17px !important;
}

.bottom-nav {
  height: 66px !important;
}

.bottom-nav a {
  font-size: 20px !important;
  gap: 2px !important;
}

.bottom-nav a span {
  font-size: 12px !important;
  line-height: 1 !important;
}

#pdm-v92317-subtabs {
  gap: 6px !important;
  margin: 6px 0 8px !important;
}

#pdm-v92317-subtabs button {
  height: 36px !important;
  min-height: 36px !important;
  font-size: 16px !important;
  padding: 0 8px !important;
}

#pdm-v92317-panel .pdm-v92317-toolbar {
  gap: 7px !important;
  margin-bottom: 6px !important;
}

#pdm-v92317-panel .pdm-v92317-toolbar > div:first-child > b {
  font-size: 27px !important;
  line-height: .98 !important;
}

#pdm-v92317-panel .pdm-v92317-row {
  padding: 6px 8px !important;
  min-height: 44px !important;
  gap: 7px !important;
}

#pdm-v92317-panel .pdm-v92317-meta {
  font-size: 14px !important;
  line-height: 1 !important;
}

#pdm-v92317-panel .pdm-v92317-row .pdm-v92317-actions button {
  height: 34px !important;
  min-height: 34px !important;
  font-size: 15px !important;
  padding: 0 7px !important;
  min-width: 86px !important;
}

@media (max-width: 900px) {
  html,
  body {
    font-size: 17px !important;
  }

  h1 { font-size: 29px !important; }
  h2 { font-size: 25px !important; }

  h3,
  .title,
  .card-title,
  .section-title,
  .order-title h3,
  .pdm-v92332-title h3,
  .pdm-v92317-title {
    font-size: 22px !important;
  }

  .container {
    padding: 8px !important;
  }

  .panel,
  .card,
  .section-card,
  .main-head,
  .hero,
  .detail-card,
  .order-card,
  .classified-detail-card,
  .quick-card {
    padding: 6px 7px !important;
    margin-bottom: 6px !important;
  }

  .btn,
  button,
  .admin-link,
  .back,
  .chip {
    font-size: 15px !important;
    min-height: 32px !important;
    padding: 4px 7px !important;
  }

  input,
  select,
  .search,
  .admin-input {
    height: 32px !important;
    min-height: 32px !important;
    font-size: 15px !important;
  }

  textarea,
  textarea.admin-input {
    min-height: 46px !important;
    font-size: 15px !important;
  }

  .order-card,
  .classified-detail-card,
  #classifieds-list .classified-detail-card,
  #classifieds-list .order-card {
    grid-template-columns: 1fr !important;
  }

  .customer-grid,
  .form-grid,
  .checkout-grid,
  .product-edit-grid,
  .pdm-v92332-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 4px !important;
  }

  .order-actions,
  .status-actions,
  .pdm-v92332-actions,
  #pdm-v92317-panel .pdm-v92317-toolbar .pdm-v92317-actions,
  #pdm-v92317-panel .pdm-v92317-row .pdm-v92317-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 5px !important;
    margin-top: 5px !important;
  }

  #pdm-v92317-subtabs {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  #pdm-v92317-panel .pdm-v92317-row,
  #pdm-v92317-panel .pdm-v92317-toolbar {
    display: block !important;
  }
}

@media (max-width: 420px) {
  html,
  body {
    font-size: 16px !important;
  }

  h1 { font-size: 25px !important; }
  h2 { font-size: 23px !important; }

  h3,
  .title,
  .card-title,
  .section-title,
  .order-title h3,
  .pdm-v92332-title h3,
  .pdm-v92317-title {
    font-size: 21px !important;
  }

  .btn,
  button,
  .admin-link,
  .back,
  .chip {
    min-height: 30px !important;
    padding: 4px 6px !important;
    font-size: 14px !important;
    border-radius: 9px !important;
  }

  input,
  select,
  .search,
  .admin-input {
    height: 30px !important;
    min-height: 30px !important;
    font-size: 14px !important;
    padding: 4px 6px !important;
  }

  textarea,
  textarea.admin-input {
    min-height: 42px !important;
    font-size: 14px !important;
    padding: 4px 6px !important;
  }

  label > span,
  .admin-field > span,
  .form-field > span,
  .customer-grid span,
  .stat span,
  .stats span,
  .pdm-v92332-field span {
    font-size: 13px !important;
  }

  .badge,
  .status-badge,
  .pill,
  .tag {
    font-size: 13px !important;
    padding: 3px 6px !important;
  }

  .panel,
  .card,
  .section-card,
  .main-head,
  .hero,
  .detail-card,
  .order-card,
  .classified-detail-card,
  .quick-card {
    padding: 5px 6px !important;
    margin-bottom: 5px !important;
  }

  .orders-board,
  .cards,
  .list,
  .admin-list,
  #orders-list,
  #classifieds-list,
  .grid {
    gap: 5px !important;
  }

  .thumb,
  .ad-thumb {
    height: 145px !important;
  }

  #pdm-v92317-subtabs button {
    height: 32px !important;
    min-height: 32px !important;
    font-size: 14px !important;
  }

  #pdm-v92317-panel .pdm-v92317-toolbar > div:first-child > b {
    font-size: 23px !important;
  }

  #pdm-v92317-panel .pdm-v92317-meta {
    font-size: 13px !important;
  }
}
/* === /PDM V26.92.3.35 REAL GLOBAL UI 1.5X === */


/* === PDM V26.92.3.39 OUTER CARD ONLY === */
/* highlight whole cards only; no internal highlighted subsections */

.order-card,
.classified-detail-card,
.product-edit-card,
.product-create-card,
.product-category-card,
.customer-card,
.customer-detail-card,
.v26-customer-section,
.pdm-v92332-ad-card,
.pdm-v92336-card,
.pdm-v92337-card,
.pdm-v92338-card {
  border: 2px solid #93c5fd !important;
  border-left: 6px solid #2563eb !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
  box-shadow: 0 2px 10px rgba(37,99,235,.10) !important;
}

/* keep management/action column visually separate, but only as part of the card */
.order-actions,
.status-actions,
.row-actions,
.pdm-v92332-actions,
.pdm-v92336-actions,
.pdm-v92337-actions,
.pdm-v92338-actions {
  border: 1px solid #bbf7d0 !important;
  border-left: 5px solid #16a34a !important;
  background: #ecfdf5 !important;
  border-radius: 12px !important;
  padding: 6px !important;
  box-shadow: none !important;
}

/* remove internal section highlighting from V36/V37/V38 */
.pdm-v92336-section,
.pdm-v92337-section,
.pdm-v92338-section,
.pdm-v92332-textblock,
.pdm-v92332-note,
.pdm-v92332-history,
.customer-grid,
.product-edit-grid,
.form-grid,
.card-kv-grid,
.order-items,
.classified-history,
.order-history {
  border: 0 !important;
  border-left: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 3px 0 !important;
  margin: 4px 0 !important;
  border-radius: 0 !important;
}

/* remove V38 generated internal labels */
.pdm-v92338-section::before,
.pdm-v92338-actions::before {
  content: none !important;
  display: none !important;
}

.pdm-v92338-section {
  padding-top: 3px !important;
}

/* hide repeated artificial inner section titles, keep real card title */
.pdm-v92336-section > h4,
.pdm-v92337-section > h4,
.pdm-v92338-section > h4 {
  display: none !important;
}

/* field boxes stay compact and readable, not highlighted as separate blocks */
.pdm-v92332-field,
.pdm-v92336-field,
.pdm-v92337-field,
.customer-grid > div,
.product-edit-grid > label,
.form-grid > label,
.admin-field {
  background: #fff !important;
  border: 1px solid #dbeafe !important;
  border-radius: 9px !important;
  padding: 4px 6px !important;
  margin: 0 !important;
}

/* normal two-column inside miniapp, four where there is room */
.pdm-v92332-grid,
.pdm-v92336-grid,
.pdm-v92337-grid,
.customer-grid,
.product-edit-grid,
.form-grid,
.card-kv-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px !important;
}

.pdm-v92332-field.pdm-v92332-wide,
.pdm-v92336-wide,
.pdm-v92337-wide,
.admin-field.wide {
  grid-column: 1 / -1 !important;
}

.order-title,
.pdm-v92332-title,
.pdm-v92336-title,
.pdm-v92337-title {
  margin-bottom: 4px !important;
}

.order-meta,
.pdm-v92332-meta,
.pdm-v92336-meta,
.pdm-v92337-meta {
  gap: 4px !important;
  margin: 4px 0 !important;
}

@media (min-width: 901px) {
  .classified-detail-card .pdm-v92332-grid,
  .pdm-v92337-order .pdm-v92337-grid,
  .pdm-v92336-order-card .pdm-v92336-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .order-card,
  .classified-detail-card,
  .product-edit-card,
  .product-create-card,
  .product-category-card,
  .customer-card,
  .customer-detail-card,
  .v26-customer-section,
  .pdm-v92332-ad-card,
  .pdm-v92336-card,
  .pdm-v92337-card,
  .pdm-v92338-card {
    padding: 6px 7px !important;
    border-left-width: 5px !important;
  }

  .order-actions,
  .status-actions,
  .row-actions,
  .pdm-v92332-actions,
  .pdm-v92336-actions,
  .pdm-v92337-actions,
  .pdm-v92338-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
    margin-top: 6px !important;
  }
}

@media (max-width: 420px) {
  .order-card,
  .classified-detail-card,
  .product-edit-card,
  .product-create-card,
  .product-category-card,
  .customer-card,
  .customer-detail-card,
  .v26-customer-section,
  .pdm-v92332-ad-card,
  .pdm-v92336-card,
  .pdm-v92337-card,
  .pdm-v92338-card {
    padding: 5px 6px !important;
    border-left-width: 4px !important;
    border-radius: 12px !important;
  }

  .pdm-v92332-field,
  .pdm-v92336-field,
  .pdm-v92337-field,
  .customer-grid > div,
  .product-edit-grid > label,
  .form-grid > label,
  .admin-field {
    padding: 3px 5px !important;
  }
}
/* === /PDM V26.92.3.39 OUTER CARD ONLY === */


/* === PDM V26.92.3.43 ADS DROPDOWNS + LIGHTER FONTS === */
body {
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6,
strong, b,
button, .btn, .chip,
nav a, .nav a, .navbar a, .topbar a,
.section-head h2, .section-head h3,
.card h3, .product-card h3, .price,
.classifieds-cascade-head {
  font-weight: 600 !important;
}
.muted, .meta, .card .meta, .card .muted {
  font-weight: 400 !important;
}
.classifieds-cascade-wrap {
  margin: 10px 0 8px;
  padding: 10px;
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 14px;
  background: rgba(59,130,246,.045);
}
.classifieds-cascade-head {
  margin: 0 0 8px;
  color: #0f172a;
}
.classifieds-cascade-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.classifieds-cascade-line select {
  width: 100%;
  min-height: 36px;
  border: 1px solid #d8e3f3;
  border-radius: 10px;
  background: #fff;
  padding: 6px 10px;
  font: inherit;
  font-weight: 500;
}
.classifieds-cascade-line select:disabled {
  opacity: .62;
  background: #f8fafc;
}
@media (max-width: 900px) {
  .classifieds-cascade-line {
    grid-template-columns: 1fr;
  }
}
/* === /PDM V26.92.3.43 ADS DROPDOWNS + LIGHTER FONTS === */


/* === PDM V26.92.3.46 ADS SEARCH SORT TWO COLUMNS SITE MINIAPP === */
/* сайт + Mini App: пошук оголошень і сортування в одній строкі */
#view-ads .toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 220px !important;
  gap: 10px !important;
  align-items: stretch !important;
  flex-wrap: unset !important;
}

#view-ads .toolbar #ad-search,
#view-ads .toolbar #ad-sort {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

@media (max-width: 760px) {
  #view-ads .toolbar {
    grid-template-columns: 1fr !important;
  }
}
/* === /PDM V26.92.3.46 ADS SEARCH SORT TWO COLUMNS SITE MINIAPP === */


/* === PDM V26.92.3.47 FORCE ADS SEARCH/SORT 2 COLUMNS MINIAPP === */
#view-ads .toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 145px !important;
  gap: 8px !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
}

#view-ads .toolbar #ad-search,
#view-ads .toolbar #ad-sort {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
}

#view-ads .toolbar #ad-sort {
  padding-left: 8px !important;
  padding-right: 8px !important;
}
/* === /PDM V26.92.3.47 FORCE ADS SEARCH/SORT 2 COLUMNS MINIAPP === */


/* === PDM V26.92.3.48 MINIAPP SHOP CATALOG CASCADE === */
.shop-catalog-cascade {
  margin: 10px 0 10px;
  padding: 10px;
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 14px;
  background: rgba(59,130,246,.045);
}

.shop-catalog-head {
  margin: 0 0 8px;
  color: #0f172a;
  font-weight: 600;
}

.shop-catalog-line {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 8px;
}

.shop-catalog-line select {
  width: 100%;
  min-height: 36px;
  border: 1px solid #d8e3f3;
  border-radius: 10px;
  background: #fff;
  padding: 6px 10px;
  font: inherit;
  font-weight: 500;
}

.shop-catalog-line select:disabled {
  opacity: .62;
  background: #f8fafc;
}

@media (max-width: 520px) {
  .shop-catalog-line {
    grid-template-columns: 1fr;
  }
}
/* === /PDM V26.92.3.48 MINIAPP SHOP CATALOG CASCADE === */


/* === PDM V26.92.3.49 SHOP SAME-WINDOW PANELS === */
#view-shop [data-shop-action="search"] {
  display: none !important;
}

#view-shop .toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 220px !important;
  gap: 10px !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
}

#view-shop .toolbar #product-search,
#view-shop .toolbar #product-sort {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.shop-inline-panel {
  margin: 10px 0 12px;
  padding: 10px;
  border: 1px solid rgba(59,130,246,.20);
  border-radius: 14px;
  background: rgba(59,130,246,.045);
}

.shop-inline-panel.hidden {
  display: none !important;
}

.shop-inline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.shop-inline-body {
  display: grid;
  gap: 8px;
}

.shop-inline-row {
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 12px;
  padding: 10px;
}

.shop-inline-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.shop-inline-total {
  position: static !important;
  margin: 8px 0 0 !important;
}

#view-shop .shop-menu-row .chip.active {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #93c5fd;
}

@media (max-width: 520px) {
  #view-shop .toolbar {
    grid-template-columns: minmax(0, 1fr) 145px !important;
    gap: 8px !important;
  }

  #view-shop .toolbar #product-search,
  #view-shop .toolbar #product-sort {
    font-size: 14px !important;
  }

  #view-shop .toolbar #product-sort {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}
/* === /PDM V26.92.3.49 SHOP SAME-WINDOW PANELS === */





/* === PDM V26.92.3.51 SHARED EDITABLE ABOUT === */
#view-about .quick-actions,
#view-about .quick-card { display: none !important; }

.about-sync-card {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.about-sync-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.about-sync-button {
  border: 1px solid #dbe5ef;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: #0f172a;
}

.about-sync-button.active {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #93c5fd;
}

.about-sync-info {
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  padding: 14px;
}

.about-sync-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.about-sync-info p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}
/* === /PDM V26.92.3.51 SHARED EDITABLE ABOUT === */


/* === PDM V26.92.3.53 HOME MINIAPP/BROWSER BUTTON === */
.pdm-site-hide-miniapp {
  display: none !important;
}

.pdm-browser-card {
  cursor: pointer !important;
}

.pdm-browser-card span {
  font-size: 30px;
}

.pdm-browser-card b {
  display: block;
  font-weight: 600;
}

.pdm-browser-card small {
  color: #64748b;
}

/* попытка скрыть старую чёрную плавающую метку Browser, если она из DOM */
[aria-label="Browser"],
[title="Browser"],
.browser,
.browser-badge,
.browser-float,
.pdm-browser-float {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* === /PDM V26.92.3.53 HOME MINIAPP/BROWSER BUTTON === */


/* === PDM V26.92.3.56 product questions sync === */
.product-question-panel {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: #f8fbff;
}

.product-question-panel.hidden {
  display: none !important;
}

.product-question-label {
  display: block;
  margin: 0 0 6px;
  color: #475569;
  font-weight: 600 !important;
}

#product-question-text {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  line-height: 1.35 !important;
  box-sizing: border-box;
}

.product-question-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
/* === /PDM V26.92.3.56 product questions sync === */


/* === PDM V26.92.3.57 product ask panel === */
.product-question-panel {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: #f8fbff;
}

.product-question-panel.hidden {
  display: none !important;
}

.product-question-label {
  display: block;
  margin: 0 0 6px;
  color: #475569;
  font-weight: 600 !important;
}

#product-question-text {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  line-height: 1.35 !important;
  box-sizing: border-box;
}

.product-question-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
/* === /PDM V26.92.3.57 product ask panel === */


/* === PDM V26.92.3.59 product ask fast hotfix === */
.product-question-panel {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: #f8fbff;
}

.product-question-panel.hidden {
  display: none !important;
}

.product-question-label {
  display: block;
  margin: 0 0 6px;
  color: #475569;
  font-weight: 600 !important;
}

#product-question-text {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  line-height: 1.35 !important;
  box-sizing: border-box;
}

.product-question-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
/* === /PDM V26.92.3.59 product ask fast hotfix === */


/* === PDM V26.92.3.60 product ask stable === */
.product-question-panel {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: #f8fbff;
}

.product-question-panel.hidden {
  display: none !important;
}

.product-question-label {
  display: block;
  margin: 0 0 6px;
  color: #475569;
  font-weight: 600 !important;
}

#product-question-text {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  line-height: 1.35 !important;
  box-sizing: border-box;
}

.product-question-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
/* === /PDM V26.92.3.60 product ask stable === */


/* === PDM V26.92.3.61 product dialog === */
.product-question-panel {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: #f8fbff;
}

.product-question-panel.hidden {
  display: none !important;
}

.product-question-label {
  display: block;
  margin: 0 0 6px;
  color: #475569;
  font-weight: 600 !important;
}

#product-question-text {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  line-height: 1.35 !important;
  box-sizing: border-box;
}

.product-question-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
/* === /PDM V26.92.3.61 product dialog === */


/* === PDM V26.92.3.62 product ask dialog === */
.product-card .product-card-title,
.product-card h3.product-card-title {
  font-size: 19px !important;
  line-height: 1.08 !important;
  font-weight: 700 !important;
}

.product-card .card-title-link {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

.product-card .card-title-link:hover {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

.product-question-panel {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: #f8fbff;
}

.product-question-panel.hidden {
  display: none !important;
}

.product-question-label {
  display: block;
  margin: 0 0 6px;
  color: #475569;
  font-weight: 600 !important;
}

#product-question-text {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  line-height: 1.35 !important;
  box-sizing: border-box;
}

.product-question-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
/* === /PDM V26.92.3.62 product ask dialog === */


/* === PDM V26.92.3.63 continuous dialogs === */
.pdm-v63-dialog {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  background: #f8fbff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}
.pdm-v63-dialog.hidden { display: none !important; }
.pdm-v63-title { font-weight: 800; margin-bottom: 8px; color: #0f172a; }
.pdm-v63-subtitle { font-weight: 700; margin: 4px 0 8px; color: #334155; }
.pdm-v63-dialog-list {
  max-height: 320px;
  overflow: auto;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}
.pdm-v63-empty { color: #64748b; font-size: 14px; padding: 8px; }
.pdm-v63-msg { margin: 8px 0; max-width: 92%; padding: 9px 10px; border-radius: 14px; }
.pdm-v63-msg.mine { margin-left: auto; background: #e0f2fe; border-bottom-right-radius: 5px; }
.pdm-v63-msg.other { margin-right: auto; background: #f1f5f9; border-bottom-left-radius: 5px; }
.pdm-v63-msg-head { font-size: 12px; color: #64748b; margin-bottom: 4px; }
.pdm-v63-msg-body { white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
.pdm-v63-input {
  width: 100%;
  min-height: 78px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  box-sizing: border-box;
  font: inherit;
  resize: vertical;
}
.pdm-v63-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pdm-v63-chat-picker { display: flex; flex-direction: column; gap: 7px; margin-bottom: 8px; }
.pdm-v63-chat-open { text-align: left !important; justify-content: flex-start !important; }
@media (max-width: 520px) {
  .pdm-v63-dialog { padding: 9px; border-radius: 14px; }
  .pdm-v63-dialog-list { max-height: 280px; padding: 6px; }
  .pdm-v63-msg { max-width: 96%; }
}
/* === /PDM V26.92.3.63 continuous dialogs === */


/* === PDM V26.92.3.65 status buttons one row === */
/* Только сайт/админка: кнопки статусов заказа в одну строку на десктопе */
@media (min-width: 901px) {
  .order-card .status-actions,
  .pdm-v92336-order-card .status-actions,
  .pdm-v92337-order .status-actions {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 6px !important;
    align-items: stretch !important;
  }

  .order-card .status-actions .status-btn,
  .pdm-v92336-order-card .status-actions .status-btn,
  .pdm-v92337-order .status-actions .status-btn {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}
/* === /PDM V26.92.3.65 status buttons one row === */


/* === PDM V26.92.3.68 hard order fields === */
.pdm-v68-order-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

.pdm-v68-order-client { order: 1 !important; }
.pdm-v68-order-phone { order: 2 !important; }
.pdm-v68-order-city { order: 3 !important; }
.pdm-v68-order-payment { order: 4 !important; }
.pdm-v68-order-delivery { order: 5 !important; }
.pdm-v68-order-office { order: 6 !important; }
.pdm-v68-order-status { order: 7 !important; }
.pdm-v68-order-total { order: 8 !important; }

@media (max-width: 900px) {
  .pdm-v68-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* === /PDM V26.92.3.68 hard order fields === */


/* === PDM V26.92.3.71 safe order item thumbs === */
.order-items li.pdm-v71-order-item-line,
.order-items-detailed li.pdm-v71-order-item-line,
.pdm-v92336-items li.pdm-v71-order-item-line,
.pdm-v92337-items li.pdm-v71-order-item-line,
.pdm-v92338-items li.pdm-v71-order-item-line {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 6px !important;
}

.pdm-v71-order-thumb-wrap {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 8px !important;
  border: 1px solid #bfdbfe !important;
  background: #f8fafc !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: start !important;
}

.pdm-v71-order-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.pdm-v71-order-thumb-empty {
  font-size: 15px !important;
  line-height: 1 !important;
}
/* === /PDM V26.92.3.71 safe order item thumbs === */


/* === PDM V26.92.3.72 order item photo id qty price sum === */
.order-items li.pdm-v72-order-item-line,
.order-items-detailed li.pdm-v72-order-item-line,
.pdm-v92336-items li.pdm-v72-order-item-line,
.pdm-v92337-items li.pdm-v72-order-item-line,
.pdm-v92338-items li.pdm-v72-order-item-line {
  display: grid !important;
  grid-template-columns: 68px minmax(150px, 1fr) 78px 105px 120px !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 8px !important;
}

.pdm-v72-order-thumb-wrap {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  border-radius: 10px !important;
  border: 1px solid #bfdbfe !important;
  background: #f8fafc !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: start !important;
}

.pdm-v72-order-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.pdm-v72-order-thumb-empty {
  font-size: 24px !important;
  line-height: 1 !important;
}

.pdm-v72-order-id,
.pdm-v72-order-qty,
.pdm-v72-order-price,
.pdm-v72-order-sum {
  color: #009b38 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  line-height: 1.05 !important;
}

.pdm-v72-order-id {
  text-align: left !important;
}

.pdm-v72-order-qty,
.pdm-v72-order-price,
.pdm-v72-order-sum {
  text-align: right !important;
  justify-self: end !important;
}

@media (max-width: 900px) {
  .order-items li.pdm-v72-order-item-line,
  .order-items-detailed li.pdm-v72-order-item-line,
  .pdm-v92336-items li.pdm-v72-order-item-line,
  .pdm-v92337-items li.pdm-v72-order-item-line,
  .pdm-v92338-items li.pdm-v72-order-item-line {
    grid-template-columns: 62px minmax(0, 1fr) auto !important;
    gap: 6px !important;
  }

  .pdm-v72-order-thumb-wrap {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }

  .pdm-v72-order-price {
    display: none !important;
  }
}
/* === /PDM V26.92.3.72 order item photo id qty price sum === */


/* === PDM V26.92.3.73 clickable order photo lightbox === */
.pdm-v73-clickable-thumb {
  cursor: zoom-in !important;
  position: relative !important;
}

.pdm-v73-clickable-thumb::after {
  content: "🔍";
  position: absolute;
  right: 2px;
  bottom: 2px;
  font-size: 12px;
  line-height: 1;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 1px 3px;
  pointer-events: none;
}

.pdm-v73-clickable-thumb:hover,
.pdm-v73-clickable-thumb:focus {
  box-shadow: 0 0 0 2px rgba(37,99,235,.25) !important;
  outline: none !important;
}

.pdm-v73-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.pdm-v73-lightbox.open {
  display: block;
}

.pdm-v73-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.82);
}

.pdm-v73-lightbox-dialog {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pdm-v73-lightbox-img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.pdm-v73-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 42px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  z-index: 2;
}

body.pdm-v73-lightbox-open {
  overflow: hidden !important;
}
/* === /PDM V26.92.3.73 clickable order photo lightbox === */


/* === PDM V26.92.3.74 order photo gallery === */
.pdm-v74-clickable-thumb {
  cursor: zoom-in !important;
  position: relative !important;
}

.pdm-v74-clickable-thumb::after {
  content: "🖼";
  position: absolute;
  right: 2px;
  bottom: 2px;
  font-size: 13px;
  line-height: 1;
  background: rgba(255,255,255,.94);
  border-radius: 999px;
  padding: 1px 4px;
  pointer-events: none;
}

.pdm-v74-clickable-thumb:hover,
.pdm-v74-clickable-thumb:focus {
  box-shadow: 0 0 0 2px rgba(37,99,235,.28) !important;
  outline: none !important;
}

.pdm-v74-gallery {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100000;
}

.pdm-v74-gallery.open {
  display: block;
}

.pdm-v74-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.86);
}

.pdm-v74-gallery-dialog {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  align-items: center;
  justify-items: center;
  padding: 22px;
  gap: 10px;
}

.pdm-v74-gallery-img {
  max-width: min(92vw, 1200px);
  max-height: 76vh;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.38);
  object-fit: contain;
}

.pdm-v74-gallery-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  z-index: 3;
}

.pdm-v74-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 70px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  color: #0f172a;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.pdm-v74-gallery-prev {
  left: 18px;
}

.pdm-v74-gallery-next {
  right: 18px;
}

.pdm-v74-gallery-counter {
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

.pdm-v74-gallery-thumbs {
  display: flex;
  gap: 7px;
  max-width: 92vw;
  overflow-x: auto;
  padding: 4px;
}

.pdm-v74-gallery-thumb {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  opacity: .78;
}

.pdm-v74-gallery-thumb.active {
  border-color: #60a5fa;
  opacity: 1;
}

.pdm-v74-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.pdm-v74-gallery-open {
  overflow: hidden !important;
}

@media (max-width: 700px) {
  .pdm-v74-gallery-img {
    max-height: 70vh;
  }

  .pdm-v74-gallery-nav {
    width: 42px;
    height: 58px;
    font-size: 40px;
  }

  .pdm-v74-gallery-prev {
    left: 8px;
  }

  .pdm-v74-gallery-next {
    right: 8px;
  }

  .pdm-v74-gallery-thumb {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
}
/* === /PDM V26.92.3.74 order photo gallery === */


/* === PDM V26.92.3.76 dashboard KPI === */
.v26-kpi-main,
.admin-kpi.v26-kpi-main {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)) !important;
}

.v26-kpi-main .stat,
.v26-kpi-main .quick-card {
  min-height: 44px !important;
}
/* === /PDM V26.92.3.76 dashboard KPI === */


/* === PDM V26.92.3.78 dashboard 9 compact no scroll === */
.v26-kpi-main,
.admin-kpi.v26-kpi-main {
  display: grid !important;
  grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
  gap: 5px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.v26-kpi-main .stat {
  min-width: 0 !important;
  padding: 5px 7px !important;
  min-height: 42px !important;
  border-radius: 9px !important;
}

.v26-kpi-main .stat b {
  display: block !important;
  font-size: 15px !important;
  line-height: 1.02 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.v26-kpi-main .stat span {
  display: block !important;
  font-size: 12px !important;
  line-height: .95 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  max-width: 100% !important;
}

@media (max-width: 1100px) {
  .v26-kpi-main,
  .admin-kpi.v26-kpi-main {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
/* === /PDM V26.92.3.78 dashboard 9 compact no scroll === */


/* === PDM V26.92.3.79 dashboard KPI readable font === */
.v26-kpi-main .stat {
  background: #ffffff !important;
  border: 1px solid #cfe0f5 !important;
  padding: 7px 8px !important;
}

.v26-kpi-main .stat b {
  color: #06152e !important;
  font-size: 17px !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.v26-kpi-main .stat span {
  color: #334e73 !important;
  font-size: 13px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

@media (max-width: 1100px) {
  .v26-kpi-main .stat b {
    font-size: 18px !important;
  }

  .v26-kpi-main .stat span {
    font-size: 14px !important;
  }
}
/* === /PDM V26.92.3.79 dashboard KPI readable font === */


/* === PDM V26.92.3.80 admin message queues === */
.pdm-admin-extra-chip {
  white-space: normal !important;
  line-height: 1.05 !important;
}

.pdm-admin-msg-card {
  display: block !important;
}

.pdm-admin-msg-head {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.pdm-admin-msg-photo-wrap {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef4fb;
  border: 1px solid #cfe0f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdm-admin-msg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdm-admin-msg-no-photo {
  font-size: 12px;
  color: #57708d;
  font-weight: 700;
}

.pdm-admin-msg-meta h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.15;
}

.pdm-admin-msg-sub {
  font-size: 14px;
  line-height: 1.15;
  color: #44627f;
  margin-bottom: 4px;
  font-weight: 700;
}

.pdm-admin-msg-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #f7fbff;
  border: 1px solid #dbe8f6;
  margin-bottom: 10px;
  max-height: 380px;
  overflow: auto;
}

.pdm-admin-msg-bubble {
  max-width: 80%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

.pdm-admin-msg-bubble.their {
  background: #ffffff;
  border: 1px solid #d3e0ee;
  align-self: flex-start;
  color: #1f3650;
}

.pdm-admin-msg-bubble.mine {
  background: #dff5e4;
  border: 1px solid #b8dfc0;
  align-self: flex-end;
  color: #174d22;
}

.pdm-admin-msg-time {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.1;
  opacity: .8;
}

.pdm-admin-msg-reply {
  display: grid;
  gap: 8px;
}

.pdm-admin-msg-textarea {
  min-height: 84px;
  font-size: 15px !important;
  line-height: 1.3 !important;
}

.pdm-admin-msg-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .pdm-admin-msg-head {
    grid-template-columns: 68px 1fr;
  }

  .pdm-admin-msg-links {
    grid-column: 1 / -1;
  }

  .pdm-admin-msg-photo-wrap {
    width: 68px;
    height: 68px;
  }

  .pdm-admin-msg-meta h3 {
    font-size: 18px;
  }

  .pdm-admin-msg-bubble {
    max-width: 92%;
  }
}
/* === /PDM V26.92.3.80 admin message queues === */


/* === PDM V26.92.3.81 admin message queues safe === */
.pdm-v81-extra-chip {
  white-space: normal !important;
  line-height: 1.05 !important;
}

.pdm-v81-chip-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  min-height: 20px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: #2563eb !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  margin-left: 4px !important;
}

.pdm-v81-card {
  display: block !important;
}

.pdm-v81-head {
  display: grid !important;
  grid-template-columns: 84px minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: start !important;
  margin-bottom: 10px !important;
}

.pdm-v81-photo {
  width: 84px !important;
  height: 84px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #eef4fb !important;
  border: 1px solid #cfe0f5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.pdm-v81-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.pdm-v81-photo span {
  font-size: 12px !important;
  color: #57708d !important;
  font-weight: 800 !important;
}

.pdm-v81-info h3 {
  margin: 0 0 6px !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
}

.pdm-v81-info p {
  margin: 0 0 4px !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  color: #44627f !important;
  font-weight: 800 !important;
}

.pdm-v81-thread {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 10px !important;
  border-radius: 12px !important;
  background: #f7fbff !important;
  border: 1px solid #dbe8f6 !important;
  margin-bottom: 10px !important;
  max-height: 380px !important;
  overflow: auto !important;
}

.pdm-v81-msg {
  max-width: 80% !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  line-height: 1.28 !important;
  font-weight: 750 !important;
}

.pdm-v81-msg.their {
  background: #ffffff !important;
  border: 1px solid #d3e0ee !important;
  align-self: flex-start !important;
  color: #1f3650 !important;
}

.pdm-v81-msg.mine {
  background: #dff5e4 !important;
  border: 1px solid #b8dfc0 !important;
  align-self: flex-end !important;
  color: #174d22 !important;
}

.pdm-v81-msg small {
  display: block !important;
  margin-top: 5px !important;
  font-size: 12px !important;
  opacity: .75 !important;
}

.pdm-v81-reply {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  gap: 8px !important;
  align-items: start !important;
}

.pdm-v81-reply textarea {
  min-height: 72px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}

@media (max-width: 900px) {
  .pdm-v81-head {
    grid-template-columns: 68px minmax(0, 1fr) !important;
  }

  .pdm-v81-link {
    grid-column: 1 / -1 !important;
  }

  .pdm-v81-photo {
    width: 68px !important;
    height: 68px !important;
  }

  .pdm-v81-info h3 {
    font-size: 18px !important;
  }

  .pdm-v81-msg {
    max-width: 92% !important;
  }

  .pdm-v81-reply {
    grid-template-columns: 1fr !important;
  }
}
/* === /PDM V26.92.3.81 admin message queues safe === */


/* === PDM V26.92.3.83 admin message queues miniapp safe === */
.pdm-v83-chip {
  white-space: normal !important;
  line-height: 1.05 !important;
}

.pdm-v83-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  min-height: 20px !important;
  padding: 0 6px !important;
  margin-left: 4px !important;
  border-radius: 999px !important;
  background: #2563eb !important;
  color: #fff !important;
  font-size: 12px !important;
}

.pdm-v83-card {
  display: block !important;
}

.pdm-v83-head {
  display: grid !important;
  grid-template-columns: 84px minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: start !important;
  margin-bottom: 10px !important;
}

.pdm-v83-photo {
  width: 84px !important;
  height: 84px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #eef4fb !important;
  border: 1px solid #cfe0f5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.pdm-v83-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.pdm-v83-info h3 {
  margin: 0 0 6px !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
}

.pdm-v83-info p {
  margin: 0 0 4px !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  color: #44627f !important;
  font-weight: 800 !important;
}

.pdm-v83-thread {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 10px !important;
  border-radius: 12px !important;
  background: #f7fbff !important;
  border: 1px solid #dbe8f6 !important;
  margin-bottom: 10px !important;
  max-height: 360px !important;
  overflow: auto !important;
}

.pdm-v83-bubble {
  max-width: 80% !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  line-height: 1.28 !important;
  font-weight: 750 !important;
}

.pdm-v83-bubble.their {
  background: #fff !important;
  border: 1px solid #d3e0ee !important;
  align-self: flex-start !important;
  color: #1f3650 !important;
}

.pdm-v83-bubble.mine {
  background: #dff5e4 !important;
  border: 1px solid #b8dfc0 !important;
  align-self: flex-end !important;
  color: #174d22 !important;
}

.pdm-v83-bubble small {
  display: block !important;
  margin-top: 5px !important;
  font-size: 12px !important;
  opacity: .75 !important;
}

.pdm-v83-reply {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  gap: 8px !important;
  align-items: start !important;
}

.pdm-v83-reply textarea {
  min-height: 72px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}

@media (max-width: 900px) {
  .pdm-v83-head {
    grid-template-columns: 68px minmax(0, 1fr) !important;
  }

  .pdm-v83-head > a {
    grid-column: 1 / -1 !important;
  }

  .pdm-v83-photo {
    width: 68px !important;
    height: 68px !important;
  }

  .pdm-v83-info h3 {
    font-size: 18px !important;
  }

  .pdm-v83-bubble {
    max-width: 92% !important;
  }

  .pdm-v83-reply {
    grid-template-columns: 1fr !important;
  }
}
/* === /PDM V26.92.3.83 admin message queues miniapp safe === */


/* === PDM V26.92.3.88 hard admin status collapse === */
.pdm-v88-status-details {
  width: 100% !important;
  margin: 6px 0 !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 10px !important;
  background: #f0fdf4 !important;
  padding: 4px !important;
}

.pdm-v88-status-details > summary {
  list-style: none !important;
  cursor: pointer !important;
  user-select: none !important;
  text-align: center !important;
  font-weight: 950 !important;
  color: #14532d !important;
  background: #dcfce7 !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
}

.pdm-v88-status-details > summary::-webkit-details-marker {
  display: none !important;
}

.pdm-v88-status-actions {
  margin-top: 6px !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

@media (max-width: 900px) {
  .pdm-v88-status-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* === /PDM V26.92.3.88 hard admin status collapse === */


/* === PDM V26.92.3.89 cart qty edit === */
.pdm-v89-product-qty-wrap {
  display: inline-grid !important;
  grid-template-columns: auto 38px 58px 38px !important;
  gap: 6px !important;
  align-items: center !important;
  margin: 8px 0 !important;
  padding: 7px 8px !important;
  border: 1px solid #cfe0f5 !important;
  border-radius: 12px !important;
  background: #f8fbff !important;
  font-weight: 900 !important;
}

.pdm-v89-product-qty-wrap span {
  color: #334e73 !important;
  font-size: 14px !important;
}

.pdm-v89-product-qty-wrap button,
.pdm-v89-cart-qty-input {
  height: 36px !important;
  border-radius: 10px !important;
  border: 1px solid #bfdbfe !important;
  background: #fff !important;
  color: #12305f !important;
  font-weight: 950 !important;
  text-align: center !important;
}

.pdm-v89-product-qty-wrap button {
  cursor: pointer !important;
  font-size: 22px !important;
  line-height: 1 !important;
  background: #e8eefb !important;
}

#pdm-v89-product-qty,
.pdm-v89-cart-qty-input {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  padding: 0 4px !important;
  font-size: 17px !important;
}

.pdm-v89-hidden-qty {
  display: none !important;
}

.cart-qty-line .pdm-v89-cart-qty-input,
.shop-inline-actions .pdm-v89-cart-qty-input,
.pdm-v89-profile-cart-controls .pdm-v89-cart-qty-input {
  margin: 0 2px !important;
}

.pdm-v89-profile-cart-controls {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin-top: 6px !important;
}

@media (max-width: 700px) {
  .pdm-v89-product-qty-wrap {
    grid-template-columns: auto 36px 54px 36px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #pdm-v89-product-qty,
  .pdm-v89-cart-qty-input {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
  }
}
/* === /PDM V26.92.3.89 cart qty edit === */


/* === PDM V26.92.3.91 remove home quick search === */
.home-search,
#home-search,
#home-search-btn {
  display: none !important;
}
/* === /PDM V26.92.3.91 remove home quick search === */


/* === PDM V26.92.3.93 top nav cart === */
.top-nav a[data-nav="cart"] {
  order: 3 !important;
}

.top-nav a[data-nav="ads"] {
  order: 4 !important;
}

.top-nav a[data-nav="profile"] {
  order: 5 !important;
}

.top-nav a[data-nav="about"] {
  order: 6 !important;
}

.top-nav a[data-nav="cart"] em,
.pdm-v93-cart-badge {
  position: static !important;
  display: inline-flex !important;
  min-width: 19px !important;
  height: 19px !important;
  padding: 0 6px !important;
  margin-left: 3px !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  color: #fff !important;
  font-style: normal !important;
  font-size: 11px !important;
  line-height: 1 !important;
  align-items: center !important;
  justify-content: center !important;
}

.top-nav a[data-nav="cart"].pdm-v93-cart-empty em {
  background: rgba(255,255,255,.25) !important;
}
/* === /PDM V26.92.3.93 top nav cart === */


/* === PDM V26.92.3.95 active product/ad titles === */
.pdm-v95-title-link,
.card-title-link {
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  display: inline !important;
}

.pdm-v95-title-link:hover,
.card-title-link:hover {
  color: #2563eb !important;
  text-decoration: underline !important;
}

.product-card-title,
.ad-card-title,
.pdm-v95-card h3 {
  pointer-events: auto !important;
}
/* === /PDM V26.92.3.95 active product/ad titles === */


/* === PDM V26.92.3.96 stable classifieds render === */
#ads {
  min-height: 120px !important;
}

#ads .ad-card,
#ads .classified-card,
#ads .pdm-v96-ad-card {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#ads .ad-card-title a,
#ads .card-title-link,
#ads .pdm-v95-title-link {
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

#ads .ad-card-title a:hover,
#ads .card-title-link:hover,
#ads .pdm-v95-title-link:hover {
  color: #2563eb !important;
  text-decoration: underline !important;
}
/* === /PDM V26.92.3.96 stable classifieds render === */


/* === PDM V26.92.3.97 clean public app === */
.top-nav a[data-nav="cart"] {
  order: 3 !important;
}

.top-nav a[data-nav="ads"] {
  order: 4 !important;
}

.top-nav a[data-nav="profile"] {
  order: 5 !important;
}

.top-nav a[data-nav="about"] {
  order: 6 !important;
}

.pdm-v97-cart-badge,
.top-nav a[data-nav="cart"] em {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 19px !important;
  height: 19px !important;
  padding: 0 6px !important;
  margin-left: 3px !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

.top-nav a[data-nav="cart"].pdm-v97-cart-empty em {
  background: rgba(255,255,255,.25) !important;
}

.card-title-link,
.product-card-title a,
.ad-card-title a {
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.card-title-link:hover,
.product-card-title a:hover,
.ad-card-title a:hover {
  color: #2563eb !important;
  text-decoration: underline !important;
}

.cart-qty-line {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex-wrap: wrap !important;
  margin-top: 6px !important;
}

.cart-qty-btn {
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: #e8eefb !important;
  color: #173079 !important;
  font-size: 21px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.cart-qty-input {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  height: 34px !important;
  min-height: 34px !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 10px !important;
}

.cart-qty-sum {
  color: #4e5f7d !important;
  font-size: 14px !important;
}

.shop-menu-row,
[data-shop-panel="cart"] {
  display: none !important;
}
/* === /PDM V26.92.3.97 clean public app === */


/* === PDM V26.92.3.99 clean public core === */
#pdm-v26-10-browser-btn,
.pdm-browser-open-btn {
  display: none !important;
}

.shop-menu-row,
[data-shop-panel="cart"] {
  display: none !important;
}

.top-nav a[data-nav="cart"] {
  order: 3 !important;
}

.top-nav a[data-nav="ads"] {
  order: 4 !important;
}

.top-nav a[data-nav="profile"] {
  order: 5 !important;
}

.top-nav a[data-nav="about"] {
  order: 6 !important;
}

.pdm-v99-cart-badge,
.top-nav a[data-nav="cart"] em {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 19px !important;
  height: 19px !important;
  padding: 0 6px !important;
  margin-left: 3px !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

.top-nav a[data-nav="cart"].pdm-v99-cart-empty em {
  background: rgba(255,255,255,.25) !important;
}

.card-title-link,
.product-card-title a,
.ad-card-title a {
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.card-title-link:hover,
.product-card-title a:hover,
.ad-card-title a:hover {
  color: #2563eb !important;
  text-decoration: underline !important;
}

.pdm-v99-ad-card,
.pdm-v99-product-card {
  cursor: pointer !important;
}

.cart-qty-line {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex-wrap: wrap !important;
  margin-top: 6px !important;
}

.cart-qty-btn {
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: #e8eefb !important;
  color: #173079 !important;
  font-size: 21px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.cart-qty-input {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  height: 34px !important;
  min-height: 34px !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 10px !important;
}

.cart-qty-sum {
  color: #4e5f7d !important;
  font-size: 14px !important;
}
/* === /PDM V26.92.3.99 clean public core === */


/* === PDM V26.92.3.102 miniapp browser card === */
#pdm-v102-browser-card,
.pdm-v102-browser-card {
  cursor: pointer !important;
}

body #pdm-v101-browser-btn,
body #pdm-v100-browser-btn,
body .pdm-browser-open-btn {
  display: none !important;
}
/* === /PDM V26.92.3.102 miniapp browser card === */

/* === PDM V26.92.3.100 MINIAPP SHOP CASCADE ADDON === */
#view-shop .shop-catalog-cascade-v100 .shop-catalog-line {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#view-shop .shop-catalog-cascade-v100 .shop-catalog-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  #view-shop .shop-catalog-cascade-v100 .shop-catalog-line {
    grid-template-columns: 1fr;
  }
}

/* === PDM V26.92.3.101 SHOP CATALOG SYNC SITE BOT MINIAPP === */
#view-shop .shop-catalog-sync-v101 .shop-catalog-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

#view-shop .shop-catalog-sync-v101 .shop-catalog-line {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#view-shop .shop-catalog-sync-v101 .shop-catalog-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  #view-shop .shop-catalog-sync-v101 .shop-catalog-line {
    grid-template-columns: 1fr;
  }
}

/* === PDM V26.92.3.102B PRODUCT SECTIONS SYNC === */
#view-shop .shop-catalog-sections-v102 .shop-catalog-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

#view-shop .shop-catalog-sections-v102 .shop-catalog-line {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#view-shop .shop-catalog-sections-v102 .shop-catalog-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  #view-shop .shop-catalog-sections-v102 .shop-catalog-line {
    grid-template-columns: 1fr;
  }
}
