:root{
  --paper:#eaf5fb;
  --sheet:#fff;
  --ink:#1f292d;
  --text:#35454c;
  --muted:#5f6f76;
  --soft:#7e8b90;
  --line:#d6dfe2;
  --line-soft:#e8edef;
  --accent:#355f57;
  --accent-soft:#edf6f3;
  --danger:#a5524c;
  --success:#477a6c;
  --shadow:0 18px 55px rgba(25,42,49,.14);
  --font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --r-sm:8px;
  --r-md:12px;
  --r-lg:18px;
}
*{box-sizing:border-box}
html{
  min-height:100%;
  background:var(--paper) url("assets/pattern-v03.svg") repeat;
  color:var(--ink);
  font-family:var(--font);
  font-size:16px;
}
body{margin:0;min-height:100vh;background:transparent;overscroll-behavior-x:none}
button,input,textarea{font:inherit}
button{color:inherit}
button:focus-visible,input:focus-visible,a:focus-visible,textarea:focus-visible{
  outline:2px solid #6d9187;
  outline-offset:2px;
}
[hidden]{display:none}
.paper-shell{
  width:min(1240px,calc(100% - 96px));
  min-height:100vh;
  margin:0 auto;
  background:#fff;
  box-shadow:0 0 0 1px rgba(35,69,82,.06),0 0 34px rgba(39,92,117,.08);
}
.app-header{
  position:sticky;
  top:0;
  z-index:50;
  padding:10px 24px 8px;
  border-bottom:1px solid var(--line-soft);
  background:
    linear-gradient(to bottom,transparent 0 27px,rgba(110,143,157,.055) 27px 28px,transparent 28px 55px),
    rgba(255,255,255,.975);
  background-size:100% 28px;
  backdrop-filter:blur(14px);
}
.app-header:before{
  content:"";
  position:absolute;
  left:16px;
  top:0;
  bottom:0;
  width:1px;
  background:rgba(187,85,85,.14);
  pointer-events:none;
}
.notebook-head{
  position:relative;
  z-index:45;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:9px;
}
.brand-cluster,.status-cluster{display:flex;align-items:center;gap:11px}
.brand{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;cursor:pointer}
.brand-rx{
  display:grid;place-items:center;
  width:34px;height:34px;
  border:1.5px solid #c64242;border-radius:8px;
  color:#c64242;font-size:14px;font-weight:780;
}
.brand-de{font-size:20px;font-weight:800;letter-spacing:-.04em}
.brand-copy{display:flex;flex-direction:column;gap:2px}
.brand-copy strong{font-size:13px;font-weight:700}
.brand-copy span{font-size:11px;color:var(--muted)}
.rate-stack{
  display:flex;flex-direction:column;gap:3px;
  padding-right:11px;border-right:1px solid var(--line-soft);
}
.rate-stack>div{display:grid;grid-template-columns:92px auto;align-items:baseline;gap:8px;line-height:1.15}
.rate-stack span{font-size:10px;color:var(--muted)}
.rate-stack strong,.rate-stack b{font-size:12px;font-weight:730;color:var(--text);font-variant-numeric:tabular-nums}
#headerCbrDate{font-size:10px;color:var(--muted);font-style:normal;font-weight:650}
#headerCbrDate.stale{color:#a97851}
.flip-date{
  width:60px;height:58px;
  display:grid;grid-template-rows:15px 29px 14px;
  align-items:center;text-align:center;overflow:hidden;
  border:1px solid #cfd9dd;border-radius:8px;background:#fff;
  box-shadow:0 3px 8px rgba(31,72,92,.06);
}
.flip-month{
  align-self:stretch;display:grid;place-items:center;
  background:#edf5f8;color:#50717f;
  font-size:10px;font-weight:760;letter-spacing:.08em;
}
.flip-day{font-size:21px;font-weight:770;color:#24363e}
.flip-year{font-size:10px;color:var(--muted)}
.header-question{
  height:40px;display:inline-flex;align-items:center;gap:7px;
  padding:0 10px;border:1px solid var(--line);border-radius:10px;
  background:#fff;color:#40565e;font-size:11px;font-weight:680;cursor:pointer;
}
.header-question svg,.dock-icon svg,.mobile-actions svg{
  fill:none;stroke:currentColor;stroke-width:1.6;
}
.header-question svg{width:17px;height:17px}

/* Universal order status */
.order-status-standard{
  box-sizing:border-box;
  min-width:154px;
  width:max-content;
  max-width:240px;
  min-height:48px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:3px;
  padding:7px 12px;
  border:1px solid #cbd8dc;
  border-radius:12px;
  background:#f7fbfc;
  color:#304a54;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}
.order-status-meta{
  display:block;
  font-size:11px;
  line-height:1.05;
  font-weight:600;
  color:var(--muted);
  white-space:nowrap;
}
.order-status-total{
  display:block;
  font-size:15px;
  line-height:1.05;
  font-weight:800;
  color:var(--ink);
  white-space:nowrap;
}
.desktop-order-dock{
  position:relative;
  cursor:pointer;
  box-shadow:0 3px 10px rgba(43,78,91,.05);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease;
}
.desktop-order-dock:hover{
  border-color:#8daeba;background:#f3f9fa;
  box-shadow:0 7px 20px rgba(43,78,91,.12);
}
.desktop-order-dock.has-order{background:#f4fafb}
.dock-hover-preview{
  position:absolute;
  right:0;top:calc(100% + 8px);
  width:370px;
  padding:10px;
  border:1px solid #cad7db;border-radius:12px;
  background:rgba(255,255,255,.99);
  box-shadow:0 16px 36px rgba(31,55,64,.16);
  opacity:0;visibility:hidden;transform:translateY(-4px);
  pointer-events:none;
  transition:opacity .14s ease,transform .14s ease,visibility .14s;
}
.desktop-order-dock:hover .dock-hover-preview,
.desktop-order-dock:focus-visible .dock-hover-preview{
  opacity:1;visibility:visible;transform:none;
}
.dock-preview-empty{padding:8px;color:var(--text);font-size:12px;text-align:left}
.dock-preview-line{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;
  align-items:center;padding:7px 2px;border-bottom:1px solid var(--line-soft);
  text-align:left;
}
.dock-preview-line span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}
.dock-preview-line small{font-size:11px;color:var(--muted);white-space:nowrap}
.dock-preview-line b{font-size:12px;white-space:nowrap}
.dock-preview-more{padding:6px 2px;font-size:11px;color:var(--muted);text-align:left}
.dock-preview-total{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:10px;padding:8px 2px 2px;
  font-size:12px;font-weight:700;
}
.dock-preview-total b{font-size:15px}
.desktop-order-dock.order-accepted{animation:dockReceive .52s ease-out}
.desktop-order-dock.order-removed{animation:dockRemove .52s ease-out}
@keyframes dockReceive{
  0%{transform:scale(1)}
  38%{transform:scale(1.025);border-color:#709f90;box-shadow:0 0 0 5px rgba(82,142,122,.12)}
  100%{transform:scale(1)}
}
@keyframes dockRemove{
  0%{transform:scale(1)}
  38%{transform:scale(.985);border-color:#c79e9a;box-shadow:0 0 0 5px rgba(168,100,94,.09)}
  100%{transform:scale(1)}
}

/* Search */
.search-stage{position:relative;z-index:35}
.search-wrap{
  position:relative;display:flex;align-items:center;
  width:100%;height:52px;
  border:1px solid #c6d0d3;border-radius:13px;background:#fff;
  box-shadow:0 5px 18px rgba(30,36,39,.045);
}
.search-icon{
  position:absolute;left:14px;width:20px;height:20px;
  fill:none;stroke:#506267;stroke-width:1.7;pointer-events:none;
}
.search-input{
  width:100%;height:100%;padding:0 48px 0 44px;
  border:0;background:transparent;color:var(--ink);
  font-size:17px;font-weight:560;
}
.search-input::placeholder{color:#7e8b90}
.search-input:focus{outline:0}
.clear-search{
  position:absolute;right:8px;width:34px;height:34px;
  border:0;border-radius:8px;background:transparent;
  color:#6f7c81;font-size:24px;line-height:1;cursor:pointer;
}
.search-suggest{
  position:absolute;left:0;right:0;top:calc(100% + 5px);
  z-index:90;max-height:min(62vh,520px);overflow:auto;
  border:1px solid #c9d6da;border-radius:13px;background:rgba(255,255,255,.99);
  box-shadow:0 14px 34px rgba(31,55,64,.16);backdrop-filter:blur(14px);
}
.suggest-row{
  display:grid;grid-template-columns:minmax(0,1fr) 102px 40px;
  align-items:center;gap:9px;min-height:50px;
  padding:7px 9px 7px 12px;border-bottom:1px solid var(--line-soft);
}
.suggest-row:hover{background:#f6fafb}
.suggest-main{
  min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  padding:0;border:0;background:transparent;text-align:left;cursor:pointer;
}
.suggest-main strong{
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:13px;line-height:1.15;font-weight:730;
}
.suggest-main span{
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:var(--muted);font-size:11px;
}
.suggest-price{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.suggest-price b{font-size:13px;font-weight:790;white-space:nowrap}
.suggest-price small{font-size:11px;color:var(--muted)}
.suggest-add{
  width:36px;height:36px;border:1px solid #c7d4d8;border-radius:9px;
  background:#fff;color:#294750;font-size:22px;cursor:pointer;
}
.suggest-add:hover{border-color:#80a99a;background:#f0f8f5}
.suggest-show-all{
  width:100%;min-height:42px;border:0;background:#f5f9fa;color:#365d6b;
  font-size:12px;font-weight:730;cursor:pointer;
}
.suggest-empty{padding:18px 12px;color:var(--text);font-size:12px}

/* Categories / context */
.category-strip{
  display:flex;flex-wrap:wrap;gap:7px;overflow:visible;
  width:100%;padding-top:7px;scrollbar-width:none;
}
.category-strip::-webkit-scrollbar,.subcategory-strip::-webkit-scrollbar{display:none}
.category-chip{
  flex:0 0 auto;min-height:32px;padding:0 11px;
  border:1px solid var(--line);border-radius:9px;background:#f8fafb;
  color:#465a62;font-size:11px;font-weight:610;cursor:pointer;
}
.category-chip.active{
  border-color:#82a8b7;background:#edf6f9;color:#244753;font-weight:730;
}
.workspace{padding:12px 24px 100px}
.context-line{
  display:flex;align-items:center;justify-content:space-between;
  min-height:30px;margin-bottom:4px;color:var(--muted);font-size:12px;
}
.context-line strong{color:var(--text);font-weight:720}
.subcategory-strip{
  display:flex;align-items:center;gap:7px;min-height:36px;
  overflow-x:auto;padding:2px 2px 5px;scrollbar-width:none;
}
.subcategory-label{flex:0 0 auto;color:var(--muted);font-size:11px;font-weight:680}
.subcategory-chip{
  flex:0 0 auto;min-height:30px;padding:0 10px;
  border:1px solid #d6e0e3;border-radius:8px;background:#fff;
  color:#53666e;font-size:11px;font-weight:620;cursor:pointer;
}
.subcategory-chip.active{border-color:#86aab7;background:#edf6f9;color:#284a57;font-weight:730}
.search-context-switch{
  display:flex;align-items:baseline;gap:9px;min-height:48px;
  padding:10px;border-bottom:1px solid #dce5e8;
}
.search-context-switch.category{
  border-left:3px solid #79a8b9;
  background:linear-gradient(90deg,rgba(226,242,248,.52),transparent 55%);
}
.search-context-switch.global,.search-context-switch.only{border-left:3px solid #d4dde0}
.context-current,.context-link{border:0;background:transparent;padding:0;font:inherit;text-align:left}
.context-current{font-size:15px;line-height:1.15;font-weight:800;color:#253c46;cursor:default}
.context-link{
  color:#4b6d79;font-size:12px;font-weight:680;text-decoration:underline;
  text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer;
}
.context-link:disabled{opacity:.45;cursor:default;text-decoration:none}
.context-separator{color:#b7c2c6;font-size:13px}
.search-context-switch + .search-result-group .search-group-head{display:none}
.search-result-group{margin:4px 0 12px}
.search-group-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:14px;
  min-height:46px;padding:8px;border-bottom:1px solid #dce5e8;
}
.search-group-head strong{font-size:14px;font-weight:760}
.search-group-head span,.search-group-head em{font-size:11px;color:var(--muted);font-style:normal}
.search-group-empty{padding:20px 8px;color:var(--text);font-size:12px}
.search-more,.load-more{
  display:block;margin:10px auto;padding:9px 14px;
  border:1px solid #d1dcdf;border-radius:9px;background:#fff;
  color:#48636e;font-size:12px;font-weight:690;cursor:pointer;
}

/* Product list */
.product-list{display:flex;flex-direction:column}
.product-row{
  position:relative;
  display:grid;
  grid-template-columns:54px minmax(300px,1fr) 120px 104px 132px;
  align-items:center;gap:13px;
  min-height:78px;padding:10px 8px;
  border-bottom:1px solid var(--line-soft);background:#fff;
  cursor:pointer;transition:background .12s ease;
}
.product-row:hover{background:#fafcfc}
.product-row.selected{background:#f7fbf9}
.product-row.selected:before{
  content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;
  border-radius:2px;background:#66847b;
}
.product-photo{
  width:48px;height:48px;display:grid;place-items:center;
  align-self:center;pointer-events:none;
}
.product-photo img{width:46px;height:46px;object-fit:contain}
.image-fallback{
  width:44px;height:44px;display:grid;place-items:center;
  border:1px solid var(--line);border-radius:8px;color:#7d8b90;font-size:17px;
}
.product-main{min-width:0}
.product-title-line{display:flex;align-items:center;gap:7px;min-width:0}
.product-title{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:15px;line-height:1.2;font-weight:700;letter-spacing:-.012em;
}
.rx-badge{
  flex:0 0 auto;padding:2px 4px;border:1px solid #c85252;border-radius:4px;
  color:#b94040;font-size:10px;font-weight:760;
}
.product-meta{
  display:flex;flex-wrap:wrap;gap:3px 5px;
  margin-top:5px;color:var(--muted);font-size:12px;line-height:1.35;
}
.meta-dot{display:inline-block;margin:0 5px;color:#88969b}
.details-link{
  display:inline-flex;align-items:center;margin-left:5px;
  color:#3e665d;text-decoration:none;font-size:11px;font-weight:680;
}
.details-link:hover{text-decoration:underline}
.product-price,.product-total{
  display:flex;flex-direction:column;align-items:flex-end;gap:2px;white-space:nowrap;
}
.product-price strong,.product-total strong{font-size:16px;font-weight:770;font-variant-numeric:tabular-nums}
.product-price span,.product-total span{color:var(--muted);font-size:12px;font-weight:520}
.product-price small{order:-1;color:var(--muted);font-size:11px}
.qty-stepper{
  display:grid;grid-template-columns:32px 38px 32px;
  width:102px;height:36px;overflow:hidden;
  border:1px solid #c9d2d4;border-radius:8px;background:#fff;
  cursor:default;
}
.qty-stepper button,.qty-stepper input{
  height:34px;margin:0;padding:0;border:0;background:#f5f7f7;text-align:center;
}
.qty-stepper button{font-size:18px;cursor:pointer}
.qty-stepper button:disabled{color:#aeb9bd;cursor:default}
.qty-stepper input{
  width:38px;border-left:1px solid #e0e6e8;border-right:1px solid #e0e6e8;
  background:#fff;font-size:13px;font-weight:760;
}
.qty-stepper input::-webkit-outer-spin-button,.qty-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.product-total.empty{color:var(--muted)}
.product-total.empty span{max-width:105px;text-align:right;white-space:normal;line-height:1.2}
.order-jump{
  margin-top:4px;padding:0;border:0;background:none;color:#486a62;
  font-size:11px;font-weight:700;cursor:pointer;
}
.order-jump:hover{text-decoration:underline}
.product-expand{
  grid-column:2/-1;display:none;
  padding:12px 0 10px;border-top:1px dotted #d9e2e4;
  color:var(--text);font-size:12px;line-height:1.45;cursor:default;
}
.product-row.expanded .product-expand{display:block}
.expand-visual{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px}
.expand-visual>img{width:86px;height:86px;object-fit:contain}
.expand-grid{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px 20px}
.expand-item span{display:block;color:var(--muted);font-size:11px;font-weight:650}
.expand-item b{display:block;margin-top:2px;color:var(--text);font-size:13px;font-weight:700}
.expand-actions{display:flex;gap:14px;margin-top:11px}
.expand-actions a,.return-order-link{
  color:#365f55;font-size:12px;font-weight:700;text-decoration:none;
}
.expand-actions a:hover,.return-order-link:hover{text-decoration:underline}
.return-order-link{border:0;background:transparent;padding:0;cursor:pointer}

/* Deletion */
.product-row.pending-delete,.order-line.pending-delete,.order-product-row.pending-delete{position:relative;z-index:1}
.product-row.pending-delete:after,.order-line.pending-delete:after,.order-product-row.pending-delete:after{
  content:"";position:absolute;inset:3px 0;z-index:4;
  background:
    repeating-linear-gradient(17deg,rgba(162,62,62,.02) 0 13px,rgba(162,62,62,.27) 13px 14px),
    repeating-linear-gradient(-17deg,transparent 0 13px,rgba(162,62,62,.22) 13px 14px),
    rgba(255,250,248,.80);
  pointer-events:none;
}
.delete-overlay{
  position:absolute;inset:0;z-index:20;
  display:flex;align-items:center;justify-content:center;
  pointer-events:none;
}
.delete-card{
  display:flex;align-items:center;gap:12px;
  max-width:calc(100% - 18px);padding:9px 12px;
  border:1px solid #d9c0bc;border-radius:10px;background:rgba(255,255,255,.98);
  box-shadow:0 8px 25px rgba(70,40,35,.12);pointer-events:auto;
}
.delete-card span{font-size:12px;color:#704d49}
.delete-card b{font-size:14px}
.delete-card button{
  height:32px;padding:0 10px;border:1px solid #cfd3d1;border-radius:7px;
  background:#fff;font-size:11px;font-weight:760;cursor:pointer;
}

/* Order sheet */
.sheet-backdrop,.confirm-backdrop{
  position:fixed;inset:0;z-index:100;
  background:rgba(22,31,35,.62);backdrop-filter:blur(3px);
}
.order-sheet{
  position:absolute;left:50%;top:4vh;transform:translateX(-50%);
  display:flex;flex-direction:column;
  width:min(980px,calc(100vw - 28px));height:min(92vh,820px);overflow:hidden;
  border:1px solid #ccd7da;border-radius:18px;background:
    linear-gradient(to bottom,transparent 0 31px,rgba(113,147,160,.045) 31px 32px,transparent 32px 63px),
    #fff;
  background-size:100% 32px;box-shadow:var(--shadow);
}
.sheet-header{
  position:relative;display:flex;align-items:flex-start;justify-content:space-between;
  padding:18px 20px 12px 30px;border-bottom:1px solid var(--line-soft);
}
.sheet-header:before{
  content:"";position:absolute;left:20px;top:0;bottom:0;width:1px;background:rgba(191,92,92,.16)
}
.sheet-kicker{font-size:10px;font-weight:760;letter-spacing:.12em;color:#62818d}
.sheet-header h2,.confirm-card h2{margin:3px 0 0;font-size:22px;line-height:1.1;letter-spacing:-.03em}
.sheet-header p{margin:5px 0 0;color:var(--muted);font-size:12px}
.sheet-close,.confirm-close{
  width:34px;height:34px;border:0;background:none;color:#627177;font-size:28px;cursor:pointer;
}
.sheet-toolbar{
  display:flex;align-items:center;justify-content:space-between;
  min-height:46px;padding:7px 20px;border-bottom:1px solid var(--line-soft);
}
.sheet-toolbar-left{display:flex;align-items:center;gap:8px}
.text-button{padding:5px 8px;border:0;background:none;color:#355a52;font-size:12px;font-weight:700;cursor:pointer}
.danger-soft{color:#8d5954}
.danger-soft.armed{
  color:#a04740;background:#fff2f0;border:1px solid #e3c5c1;border-radius:7px;padding:5px 9px;
}
.rate-note{font-size:11px;color:var(--muted)}
.rate-note b{font-size:12px;color:var(--text)}
.order-lines{
  flex:1;min-height:0;overflow:auto;padding:2px 20px;
  overscroll-behavior:contain;
}
.order-line{
  position:relative;
  display:grid;grid-template-columns:28px 48px minmax(240px,1fr) 110px 104px 128px 30px;
  align-items:center;gap:10px;min-height:76px;padding:9px 0;border-bottom:1px solid var(--line-soft);
  cursor:pointer;
}
.order-line:hover{background:#fafcfc}
.order-line.logistics-line{cursor:default;background:#fbfcfc}
.order-line.logistics-line:hover{background:#fbfcfc}
.order-num{font-size:11px;font-weight:760;color:var(--muted);text-align:center}
.order-product-link,.compact-product-link{
  border:0;background:transparent;padding:0;color:inherit;text-align:left;cursor:pointer;
}
.order-product-link{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:15px;line-height:1.2;font-weight:720;
}
.order-product-link:hover,.compact-product-link:hover{text-decoration:underline;text-underline-offset:3px}
.order-delete{width:28px;height:28px;border:0;background:none;color:#9f625d;font-size:19px;cursor:pointer}
.compact-line{
  display:block;
  border-bottom:1px solid var(--line-soft);
  padding:7px 0;
}
.compact-main{display:grid;gap:5px}
.compact-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:10px;
}
.compact-name{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  line-height:1.2;
  font-weight:680;
}
.compact-foot{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
}
.compact-unit{font-size:11px;color:var(--text);white-space:nowrap}
.compact-actions{display:flex;align-items:center;gap:10px;justify-content:flex-end}
.compact-more{
  display:none;
  padding:0;
  border:0;
  background:none;
  color:#355a52;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.compact-more:hover{text-decoration:underline;text-underline-offset:3px}
.compact-rub{font-size:13px;font-weight:790;white-space:nowrap;text-align:right}

.sheet-footer{
  display:grid;grid-template-columns:1fr minmax(280px,420px);
  align-items:center;gap:18px;padding:12px 20px;
  border-top:1px solid var(--line);background:#fff;
}
.order-summary{display:flex;align-items:end;gap:12px}
.order-summary span{font-size:12px;font-weight:680;color:var(--text)}
.order-summary strong{
  font-size:29px;line-height:1;font-weight:700;letter-spacing:-.02em;
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;
}
.order-summary small{font-size:11px;color:var(--muted)}
.primary-action{
  min-height:48px;display:flex;align-items:center;justify-content:space-between;
  padding:0 16px;border:0;border-radius:11px;background:var(--accent);
  color:#fff;font-size:13px;font-weight:720;cursor:pointer;
}
.primary-action.full{width:100%}

/* Confirm */
.confirm-card{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  display:flex;flex-direction:column;
  width:min(540px,calc(100vw - 28px));max-height:min(88vh,760px);
  overflow:hidden;padding:20px;border:1px solid #d4dcde;border-radius:16px;background:#fff;
  box-shadow:var(--shadow);
}
.confirm-close{position:absolute;right:12px;top:10px}
.mini-receipt{
  flex:1;min-height:120px;max-height:min(48vh,480px);
  overflow-y:auto;margin:14px 0;padding:10px 12px;
  border:1px solid var(--line);border-radius:10px;background:#fbfcfc;
}
.mini-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  gap:8px;min-height:34px;align-items:center;padding:5px 0;
  border-bottom:1px dotted #dfe5e7;font-size:12px;
}
.mini-row b{font-size:12px;font-weight:720}
.mini-total{
  position:sticky;bottom:0;
  display:flex;justify-content:space-between;align-items:baseline;
  margin-top:9px;padding:10px 0 4px;border-top:1px solid var(--line);
  background:#fff;
}
.mini-total strong{font-size:20px}
.phone-field{display:flex;flex-direction:column;gap:6px;margin:12px 0;color:var(--text);font-size:12px;font-weight:650}
.phone-field input{height:44px;padding:0 12px;border:1px solid #cdd5d8;border-radius:9px;background:#fff;font-size:15px}
.confirm-note{margin:8px 0 0;color:var(--muted);font-size:11px;text-align:center}

/* Question */
.question-backdrop{
  position:fixed;inset:0;z-index:120;
  background:rgba(21,31,36,.58);backdrop-filter:blur(3px);
}
.question-sheet{
  position:absolute;right:max(18px,calc((100vw - 1240px)/2 + 18px));top:78px;
  width:min(430px,calc(100vw - 28px));overflow:hidden;
  border:1px solid #cfdbdf;border-radius:18px;
  background:#f5fbfe url("assets/pattern-v03.svg") repeat;background-size:390px 390px;
  box-shadow:0 20px 60px rgba(25,47,58,.2);
}
.question-head{
  display:grid;grid-template-columns:40px 1fr 34px;gap:10px;align-items:start;
  padding:14px;background:rgba(255,255,255,.95);border-bottom:1px solid #dbe5e8;
}
.question-head h2{margin:2px 0 3px;font-size:19px}
.question-head p{margin:0;color:var(--muted);font-size:12px}
.messenger-avatar{
  width:38px;height:38px;display:grid;place-items:center;
  border:1px solid #cf4b4b;border-radius:50%;background:#fff;color:#c84545;
  font-size:12px;font-weight:800;
}
.chat-paper{padding:18px 14px 12px}
.chat-bubble{
  max-width:84%;padding:10px 12px;border-radius:13px 13px 13px 4px;background:#fff;
  color:var(--text);font-size:12px;line-height:1.45;box-shadow:0 2px 7px rgba(55,86,98,.08);
}
.chat-compose{display:block;margin-top:14px}
.chat-compose textarea{
  width:100%;min-height:104px;resize:vertical;padding:12px;
  border:1px solid #ccdade;border-radius:14px;background:rgba(255,255,255,.97);
  color:var(--ink);font-size:13px;line-height:1.45;
}
.question-footer{display:flex;justify-content:flex-end;padding:10px 14px 14px}
.messenger-send{
  min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 14px;
  border:0;border-radius:12px;background:#4f96b4;color:#fff;font-size:12px;font-weight:720;cursor:pointer;
}
.messenger-send svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6}

/* Admin */
.admin-backdrop{position:fixed;inset:0;z-index:140;background:rgba(18,28,33,.65);backdrop-filter:blur(3px)}
.admin-sheet{
  position:absolute;left:50%;top:3vh;transform:translateX(-50%);
  width:min(980px,calc(100vw - 24px));max-height:94vh;overflow:auto;
  border:1px solid #cad8dd;border-radius:18px;
  background:#f8fcfe url("assets/pattern-v03.svg") repeat;background-size:520px 520px;
  box-shadow:0 24px 70px rgba(15,36,47,.25);
}
.admin-head{
  display:grid;grid-template-columns:42px 1fr 36px;gap:11px;align-items:start;
  padding:16px 18px;background:rgba(255,255,255,.96);border-bottom:1px solid #dbe5e8;
}
.admin-head h2{margin:2px 0 3px;font-size:20px}
.admin-head p{margin:0;color:var(--muted);font-size:12px}
.admin-mark{
  width:40px;height:40px;display:grid;place-items:center;
  border:1px solid #6f9aac;border-radius:10px;background:#edf7fb;color:#446b7b;
  font-size:15px;font-weight:800;
}
.admin-body{padding:14px}
.admin-input-block,.admin-result-block{
  padding:14px;border:1px solid rgba(159,184,194,.55);border-radius:14px;
  background:rgba(255,255,255,.96);box-shadow:0 5px 18px rgba(49,82,96,.06);
}
.admin-result-block{margin-top:12px}
.admin-block-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.admin-block-head strong{font-size:13px}
.admin-block-head span{color:var(--muted);font-size:11px}
.admin-source,.admin-address-label textarea{
  width:100%;padding:11px 12px;border:1px solid #ccdadd;border-radius:10px;
  background:#fff;color:var(--text);font-size:12px;line-height:1.45;resize:vertical;
}
.admin-main-action,.admin-secondary-action{
  min-height:40px;padding:0 13px;border-radius:10px;font-size:12px;font-weight:720;cursor:pointer;
}
.admin-main-action{margin-top:9px;border:0;background:#376f66;color:#fff}
.admin-secondary-action{border:1px solid #c9d6da;background:#fff;color:#46616c}
.admin-detected{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
.admin-detected>div{padding:8px 9px;border:1px solid #e1e8ea;border-radius:9px;background:#fbfdfe}
.admin-detected span{display:block;color:var(--muted);font-size:11px}
.admin-detected strong{display:block;margin-top:3px;font-size:12px}
.admin-items{display:flex;flex-direction:column;border-top:1px solid #e4eaec}
.admin-item{
  display:grid;grid-template-columns:minmax(0,1fr) 140px 50px;
  align-items:center;gap:10px;min-height:56px;padding:8px 2px;border-bottom:1px solid #e8edef;
}
.admin-item b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.admin-item span{display:block;margin-top:3px;color:var(--muted);font-size:11px}
.admin-item em{justify-self:end;font-style:normal;font-size:13px;font-weight:760}
.admin-price-compare{text-align:right}
.admin-price-compare small{display:block;color:#8e6f6c;font-size:11px}
.admin-price-compare strong{font-size:12px}
.admin-address-label{display:block;margin-top:12px}
.admin-address-label>span{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px;font-size:12px;font-weight:700}
.admin-address-label small{display:block;margin-top:5px;color:var(--muted);font-size:11px}
.admin-result-actions{display:flex;gap:8px;margin-top:10px}
.admin-result-actions .admin-main-action{margin-top:0}
.admin-preview-wrap{margin-top:14px}
.admin-preview{
  max-height:300px;overflow:auto;margin:0;padding:11px;border:1px solid #dce5e8;border-radius:10px;
  background:#fbfcfc;color:var(--text);font:12px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;
}
.admin-empty{padding:18px;color:var(--muted);font-size:12px;text-align:center}

/* Common */
.toast{
  position:fixed;left:50%;bottom:24px;z-index:200;transform:translateX(-50%);
  padding:9px 13px;border:1px solid #cdd6d8;border-radius:9px;background:#fff;
  color:var(--text);box-shadow:0 10px 30px rgba(20,27,30,.15);font-size:12px;
}
.order-fly-ghost{
  position:fixed;z-index:999;width:34px;height:28px;display:grid;place-items:center;
  margin:-14px 0 0 -17px;border:1px solid #91aaa4;border-radius:8px;
  background:rgba(255,255,255,.97);color:#3f6a5f;box-shadow:0 5px 16px rgba(45,83,73,.18);
  pointer-events:none;transition:transform .48s cubic-bezier(.2,.7,.2,1),opacity .42s ease;
}
.order-fly-ghost span{font-size:16px;font-weight:760}
.bridge-highlight{animation:bridgeHighlight .9s ease-out}
@keyframes bridgeHighlight{
  0%{box-shadow:inset 0 0 0 2px rgba(82,133,116,.42);background:#eef8f4}
  100%{box-shadow:inset 0 0 0 0 rgba(82,133,116,0)}
}
.mobile-actions{display:none}

/* Mobile: one active state at a time */
@media(max-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{padding-bottom:0;background:#fff}
  body.page-frozen{
    position:fixed;left:0;right:0;width:100%;overflow:hidden;height:100dvh;
  }
  body.mobile-locked{height:100dvh;overflow:hidden}
  body[data-mobile-mode="search"]{
    position:static;
    top:auto;
    height:auto;
    min-height:100vh;
    overflow-y:auto;
    overscroll-behavior-y:auto;
  }
  .paper-shell{width:100%;min-height:100vh;margin:0;box-shadow:none}
  .app-header{
    position:sticky;top:0;z-index:90;
    padding:6px 9px 7px;
    background:
      linear-gradient(to bottom,transparent 0 25px,rgba(110,143,157,.05) 25px 26px,transparent 26px 51px),
      rgba(255,255,255,.985);
    background-size:100% 26px;
  }
  .app-header:before{left:7px}
  .notebook-head{
    display:grid;grid-template-columns:auto minmax(0,1fr) auto;
    gap:7px;min-height:48px;margin-bottom:6px;
  }
  .brand-cluster{gap:5px}
  .brand-rx{width:34px;height:34px;font-size:13px}
  .brand-de{font-size:19px}
  .brand-copy{display:none}
  .status-cluster{justify-content:flex-end;gap:4px}
  .rate-stack{
    min-width:88px;padding-right:5px;border-right:1px solid #e2e8ea;
  }
  .rate-stack>div{grid-template-columns:48px auto;gap:3px}
  .rate-stack span,#headerCbrDate{font-size:9px}
  .rate-stack strong,.rate-stack b{font-size:10px}
  .flip-date{width:48px;height:48px;grid-template-rows:12px 25px 11px}
  .flip-month,.flip-year{font-size:9px}
  .flip-day{font-size:18px}
  .header-question{display:none}
  .desktop-order-dock{
    width:126px;min-width:126px;height:46px;
    display:grid;
    grid-template-columns:28px minmax(0,1fr);
    grid-template-rows:22px 18px;
    align-items:center;
    column-gap:6px;
    padding:3px 7px;
    border-radius:10px;
  }
  .desktop-order-dock .dock-icon{
    grid-row:1/3;
    width:28px;height:28px;
  }
  .desktop-order-dock .dock-copy{
    display:flex;
    min-width:0;
    gap:1px;
  }
  .desktop-order-dock .dock-copy b{
    font-size:10px;
    line-height:1;
  }
  .desktop-order-dock .dock-copy small{
    font-size:9.5px;
    line-height:1.05;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .desktop-order-dock>strong{
    display:block;
    grid-column:2;
    grid-row:2;
    font-size:11px;
    line-height:1;
    text-align:left;
  }
  .dock-hover-preview{display:none}
  .search-wrap{height:48px;border-radius:12px;box-shadow:none}
  .search-input{padding-left:42px;padding-right:42px;font-size:16px}
  .search-suggest{
    position:relative;left:auto;right:auto;top:auto;
    width:100%;margin-top:5px;max-height:46dvh;
    overflow-y:auto;border-radius:12px;
    box-shadow:0 8px 18px rgba(31,52,60,.08);
  }
  .suggest-row{grid-template-columns:minmax(0,1fr) 76px 106px;min-height:64px;padding-left:10px}
  .suggest-main strong{
    font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  }
  .suggest-main span,.suggest-price small{font-size:11px}
  .suggest-price b{font-size:12px}
  .category-strip{flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-top:6px;scroll-snap-type:x proximity}
  .category-chip{min-height:34px;padding:0 11px;font-size:11px;scroll-snap-align:start}
  .workspace{padding:6px 10px 24px}
  .context-line{min-height:26px;font-size:12px}
  .subcategory-strip{min-height:32px;padding:1px 0 4px}
  .subcategory-label,.subcategory-chip{font-size:11px}
  .search-context-switch{min-height:42px;gap:7px;padding:8px 5px 8px 8px;overflow:hidden}
  .context-current{min-width:0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .context-link{min-width:0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .product-row{
    grid-template-columns:48px minmax(0,1fr) 104px;
    grid-template-areas:
      "photo main main"
      "photo price qty"
      "photo total total"
      "expand expand expand";
    gap:5px 8px;min-height:0;padding:8px 4px 9px;
  }
  .product-photo{grid-area:photo;width:46px;height:46px;align-self:start}
  .product-photo img{width:44px;height:44px}
  .product-main{grid-area:main}
  .product-title{font-size:14px;line-height:1.18;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .rx-badge{font-size:10px}
  .product-meta{margin-top:3px;font-size:11px;line-height:1.28}
  .details-link{display:none}
  .product-price{grid-area:price;align-items:flex-start;padding-top:3px}
  .product-price small{display:none}
  .product-price strong{font-size:15px}
  .product-price span{font-size:11px}
  .qty-stepper{grid-area:qty;justify-self:end;align-self:end}
  .product-total{
    grid-area:total;min-height:28px;flex-direction:row;align-items:center;justify-content:flex-end;gap:7px;padding-top:2px;
  }
  .product-total strong{font-size:15px}
  .product-total span,.order-jump{font-size:11px}
  .product-total.empty{display:none}
    .product-expand{grid-area:expand;grid-column:1/-1;margin-top:5px;padding:11px 4px 3px}
  .expand-visual{grid-template-columns:72px minmax(0,1fr);gap:10px}
  .expand-visual>img{width:68px;height:68px}
  .expand-grid{grid-template-columns:1fr;gap:8px}
  .expand-item span{font-size:11px}
  .expand-item b{font-size:13px}
  .expand-actions a,.return-order-link{font-size:12px}

  /* Mobile v0.33: no floating navigation layer. */
  .mobile-actions{display:none!important}
  body.keyboard-open .mobile-actions{display:none!important}

  /* Active mobile states are true full screens */
  body[data-mobile-mode="order"] .paper-shell,
  body[data-mobile-mode="confirm"] .paper-shell,
  body[data-mobile-mode="question"] .paper-shell{
    visibility:hidden;pointer-events:none;user-select:none;
  }
  body[data-mobile-mode="order"] .mobile-actions,
  body[data-mobile-mode="confirm"] .mobile-actions,
  body[data-mobile-mode="question"] .mobile-actions{
    opacity:0;pointer-events:none;
  }
  .sheet-backdrop,.confirm-backdrop,.question-backdrop{
    position:fixed;inset:0;width:100vw;height:100dvh;background:#fff;backdrop-filter:none;overscroll-behavior:none;
  }
  .order-sheet,.confirm-card,.question-sheet{
    position:fixed;inset:0;transform:none;
    width:100vw;height:100dvh;min-height:100dvh;max-height:100dvh;
    border:0;border-radius:0;box-shadow:none;background:#fff;
  }
  .order-sheet{display:flex;flex-direction:column}
  .sheet-header{
    min-height:54px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto 32px;
    align-items:center;
    gap:8px;
    padding:5px 8px 4px 14px;
  }
  .sheet-title-block{min-width:0}
  .sheet-kicker{display:none}
  .sheet-header h2{font-size:15px;line-height:1;margin:0}
  .sheet-header p{display:none}
  .order-header-status{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:2px;
    white-space:nowrap;
  }
  .order-header-status span{font-size:10px;color:var(--muted);font-weight:650}
  .order-header-status strong{
    font-size:12px;
    line-height:1;
    font-weight:760;
    font-variant-numeric:tabular-nums;
  }
  .sheet-close{width:30px;height:30px;font-size:24px}
  .sheet-toolbar{min-height:32px;padding:3px 8px}
  .sheet-toolbar-left{gap:4px}
  .sheet-toolbar .text-button{font-size:10px;padding:2px 3px}
  .rate-note{font-size:10px}
  .rate-note b{font-size:10.5px}
  .text-button,.rate-note{font-size:12px}
  .order-lines{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 10px;-webkit-overflow-scrolling:touch}
  .order-line{
    grid-template-columns:28px 44px minmax(0,1fr) 30px;
    grid-template-areas:
      "num photo main delete"
      "num photo price price"
      "num photo qty total";
    gap:6px 8px;min-height:0;padding:11px 0;
  }
  .order-line .product-photo{grid-area:photo;width:42px;height:42px}
  .order-line .product-main{grid-area:main}
  .order-line .product-price{grid-area:price;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:7px;padding:0}
  .order-line .qty-stepper{grid-area:qty;justify-self:start}
  .order-line .product-total{grid-area:total;justify-content:flex-end;align-self:center}
  .order-num{grid-area:num;align-self:start;margin-top:3px;font-size:12px}
  .order-delete{grid-area:delete;align-self:start}
  .order-product-link{font-size:15px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .sheet-footer{
    position:absolute;
    right:10px;
    bottom:calc(10px + env(safe-area-inset-bottom,0px));
    z-index:8;
    display:block;
    width:auto;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
    pointer-events:none;
  }
  .sheet-footer .order-summary{display:none}
  .sheet-footer .primary-action{
    pointer-events:auto;
    width:154px;
    min-height:40px;
    padding:0 13px;
    border-radius:13px;
    box-shadow:0 8px 20px rgba(31,52,60,.16);
    font-size:11.5px;
  }
  .order-lines{
    padding-bottom:68px;
  }
  .compact-line{
    padding:8px 0;
  }
  .compact-main{gap:4px}
  .compact-head{
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  .compact-name{
    font-size:13px;
    line-height:1.18;
  }
  .compact-foot{
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  .compact-unit{
    font-size:10.5px;
  }
  .compact-actions{
    gap:8px;
  }
  .compact-more{
    display:inline-flex;
    align-items:center;
    font-size:10px;
  }
  .compact-stepper{
    width:96px;
    height:31px;
    grid-template-columns:29px 38px 29px;
  }
  .compact-stepper button,.compact-stepper input{height:31px}
  .compact-stepper input{width:38px;font-size:12px}
  .compact-rub{
    font-size:12.5px;
    line-height:1.15;
  }
  .confirm-card{
    display:flex;flex-direction:column;overflow:hidden;padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px));
    background:
      linear-gradient(to bottom,transparent 0 31px,rgba(113,147,160,.045) 31px 32px,transparent 32px 63px),
      #fff;
    background-size:100% 32px;
  }
  .confirm-card h2{font-size:23px}
  .mini-receipt{flex:1;min-height:0;max-height:none;overflow-y:auto;margin:8px 0 10px}
  .question-sheet{
    overflow:hidden;background:#f7fbfd url("assets/pattern-v03.svg") repeat;background-size:420px 420px;
  }
  .question-head{padding-top:calc(12px + env(safe-area-inset-top,0px))}
  .chat-paper{min-height:0;overflow-y:auto}
  .admin-sheet{top:8px;max-height:calc(100vh - 16px);width:calc(100vw - 12px);border-radius:14px}
  .admin-head{grid-template-columns:36px 1fr 32px;padding:11px}
  .admin-mark{width:34px;height:34px}
  .admin-body{padding:8px}
  .admin-input-block,.admin-result-block{padding:10px}
  .admin-detected{grid-template-columns:1fr 1fr}
  .admin-item{grid-template-columns:minmax(0,1fr) 96px 40px}
  .admin-result-actions{flex-direction:column}
  .admin-result-actions button{width:100%}
}
@media(max-width:390px){
  .rate-stack{min-width:88px;padding-right:4px}
  .product-row{grid-template-columns:44px minmax(0,1fr) 98px}
  .qty-stepper{width:98px;grid-template-columns:31px 36px 31px}
}

@media(max-width:760px){
  .sheet-toolbar-left{display:flex;align-items:center;gap:10px;min-width:0}
  .sheet-toolbar-left .text-button{white-space:nowrap}
  .rate-note{margin-left:auto}
  .compact-line,.compact-line *{touch-action:manipulation}
  .compact-logistics-line{grid-template-columns:44px minmax(0,1fr) auto;gap:2px 8px}
  .compact-logistics-copy b{font-size:11px}
  .compact-logistics-copy small{font-size:9.5px}
}

@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto;transition:none;animation:none}
}

/* v0.18 regression fixes */
[hidden]{display:none}
.order-empty{padding:42px 0;color:var(--text);font-size:13px;text-align:center}
.logistics-mark{
  min-width:40px;height:30px;display:grid;place-items:center;
  border:1px solid #d4dde0;border-radius:7px;background:#f6f9fa;
  color:#415a64;font-size:10px;font-weight:800;letter-spacing:.04em;
}
.logistics-line .product-title{font-weight:720}
.logistics-line .product-meta{color:var(--text)}
.bridge-return-inline{
  display:inline-flex;align-items:center;gap:9px;margin-top:8px;padding:7px 10px;
  border:1px solid #adc5bc;border-radius:9px;background:#f0f7f4;color:#315b51;
  cursor:pointer;text-align:left;
}
.bridge-return-icon{font-size:23px;line-height:1;font-weight:700}
.bridge-return-inline span:last-child{display:flex;flex-direction:column;gap:1px}
.bridge-return-inline b{font-size:12px;font-weight:780}
.bridge-return-inline small{font-size:11px;color:#536d65}
.suggest-row{grid-template-columns:minmax(0,1fr) 102px 108px}
.suggest-stepper{
  display:grid;grid-template-columns:34px 38px 34px;width:106px;height:36px;overflow:hidden;
  border:1px solid #c9d2d4;border-radius:9px;background:#fff;
}
.suggest-stepper button,.suggest-stepper b{
  height:34px;display:grid;place-items:center;margin:0;padding:0;border:0;background:#fff;
}
.suggest-stepper button{font-size:18px;cursor:pointer}
.suggest-stepper button:disabled{color:#adb8bc;cursor:default}
.suggest-stepper b{border-left:1px solid #e0e6e8;border-right:1px solid #e0e6e8;font-size:13px;font-weight:780}
.mini-logistics{background:#f7f9fa}
.product-price strong,.product-total strong,.compact-rub,.order-summary strong,.mini-total strong{
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;
}


/* RXDE v0.18.1 — use only our own clear-search button */
.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration{
  -webkit-appearance:none;
  appearance:none;
  display:none;
}


/* v0.19 components: order bridge + logistics */
.bridge-return-inline{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:38px;
  margin-top:8px;
  padding:7px 11px;
  border:1px solid #a9c2ba;
  border-radius:10px;
  background:#f5faf8;
  color:#315f55;
  cursor:pointer;
}
.bridge-return-inline:hover{background:#edf6f3;border-color:#7da69a}
.bridge-order-icon{
  width:20px;height:20px;
  fill:none;stroke:currentColor;stroke-width:1.65;
}
.bridge-return-inline b{font-size:12px;font-weight:760}
.bridge-return-arrow{font-size:20px;line-height:1}

.compact-logistics-line{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 80px 110px;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding:7px 2px;
  border-bottom:1px solid var(--line-soft);
  background:#f8fbfc;
}
.logistics-mark{
  display:inline-grid;
  place-items:center;
  min-width:42px;height:30px;
  border:1px solid #c9d7dc;
  border-radius:8px;
  color:#3b5d69;
  font-size:11px;
  font-weight:800;
  background:#fff;
}
.compact-logistics-copy{min-width:0}
.compact-logistics-copy b{display:block;font-size:12px;font-weight:720}
.compact-logistics-copy small{display:block;margin-top:2px;font-size:11px;color:var(--muted)}
.compact-logistics-eur{font-size:12px;color:var(--text);text-align:right}
.compact-logistics-rub{
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-variant-numeric:tabular-nums;
  font-size:13px;
  text-align:right;
}
.order-summary strong,
.compact-rub,
.product-total strong{
  font-variant-numeric:tabular-nums;
}
@media(max-width:760px){
  html,body{overscroll-behavior:none}
  .bridge-return-inline{
    width:max-content;
    max-width:100%;
    min-height:36px;
    margin-top:6px;
    padding:6px 9px;
  }
  .bridge-return-inline b{font-size:11.5px}
  .compact-logistics-line{
    grid-template-columns:42px minmax(0,1fr) auto;
    grid-template-areas:
      "mark copy rub"
      "mark copy eur";
    gap:2px 8px;
    min-height:54px;
    padding:7px 2px;
  }
  .compact-logistics-line .logistics-mark{grid-area:mark}
  .compact-logistics-copy{grid-area:copy}
  .compact-logistics-copy b{font-size:11.5px}
  .compact-logistics-copy small{font-size:10.5px}
  .compact-logistics-eur{grid-area:eur;font-size:11px}
  .compact-logistics-rub{grid-area:rub;font-size:12px}
  .order-line,.compact-line{cursor:default}
}


@media(max-width:760px){
  .mobile-order-compat{display:none}
  body[data-mobile-mode="search"] .paper-shell{
    visibility:visible;
    pointer-events:auto;
  }
}

@media(max-width:760px){
  .sheet-toolbar{gap:6px}
  .sheet-toolbar-left{min-width:0;white-space:nowrap}
  .rate-note{white-space:nowrap}
  .compact-logistics-line{
    min-height:46px;
    padding:5px 2px;
  }
  .compact-logistics-copy b{
    font-size:11.5px;
    line-height:1.1;
    white-space:nowrap;
  }
  .compact-logistics-copy small{
    font-size:10px;
    line-height:1.1;
    white-space:nowrap;
  }
  .compact-logistics-rub{font-size:12px}
  .compact-logistics-eur{font-size:10.5px}
  .sheet-footer .primary-action{
    width:150px;
    min-height:40px;
    font-size:11.5px;
    padding:0 11px;
  }
  .order-lines{padding-bottom:62px}
}

/* v0.25 — restored order composition + inline final check */
.order-add-product{
  border:1px solid #c8d7d3;border-radius:8px;background:#f6faf8;
  color:#315d54;padding:5px 9px;
}
.order-add-product:hover{background:#edf6f3;border-color:#8eb2a7}
.order-product-link,.compact-product-link,.compact-more{display:none}
.order-product-row{
  position:relative;
  display:grid;
  grid-template-columns:58px minmax(260px,1fr) 108px 104px 122px 28px;
  grid-template-areas:
    "photo info unit qty total del"
    "expand expand expand expand expand expand";
  align-items:center;gap:10px;min-height:78px;padding:8px 2px;
  border-bottom:1px solid var(--line-soft);cursor:pointer;
  transition:background .12s ease;
}
.order-product-row:hover{background:#fafcfc}
.order-product-row.dragging{opacity:.62;background:#f1f7f5}
.order-thumb{
  grid-area:photo;position:relative;width:56px;height:56px;
  display:grid;place-items:center;border:1px solid #d9e2e5;border-radius:10px;background:#fff;
  overflow:visible;
}
.order-thumb img{max-width:50px;max-height:50px;object-fit:contain}
.order-num-badge{
  position:absolute;left:-7px;top:-7px;z-index:2;
  min-width:28px;height:25px;padding:0 5px;display:grid;place-items:center;
  border:0;border-radius:8px 8px 8px 3px;background:#0878b7;color:#fff;
  font-size:10.5px;font-weight:800;font-variant-numeric:tabular-nums;
  box-shadow:0 2px 6px rgba(8,120,183,.18);cursor:grab;touch-action:none;
}
.order-product-info{grid-area:info;min-width:0}
.order-title-line{display:flex;align-items:center;gap:7px;min-width:0}
.order-title-line>strong{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:14px;line-height:1.2;font-weight:720;color:var(--ink);
}
.order-meta{margin-top:5px;color:var(--muted);font-size:11.5px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-unit-price,.order-line-total{display:flex;flex-direction:column;align-items:flex-end;gap:2px;white-space:nowrap;font-variant-numeric:tabular-nums}
.order-unit-price{grid-area:unit}
.order-unit-price small{font-size:10px;color:var(--muted)}
.order-unit-price strong,.order-line-total strong{font-size:14px;font-weight:780}
.order-unit-price span,.order-line-total span{font-size:10.5px;color:var(--muted)}
.order-qty{grid-area:qty}
.order-line-total{grid-area:total}
.order-product-row .compact-delete{grid-area:del;width:28px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:#a05f59;font-size:18px;cursor:pointer}
.order-product-row .compact-delete:hover{background:#fff4f2}
.order-inline-expand{grid-area:expand;display:none;margin:2px 0 1px;padding:11px 0 5px;border-top:1px dotted #d8e2e4;cursor:default}
.order-product-row.order-expanded .order-inline-expand{display:block}
.order-expand-visual{display:grid;grid-template-columns:108px minmax(0,1fr);gap:16px;align-items:start}
.order-expand-photo{width:106px;height:106px;display:grid;place-items:center;border:1px solid #e1e7e9;border-radius:11px;background:#fff}
.order-expand-photo img{max-width:98px;max-height:98px;object-fit:contain}
.order-inline-expand .expand-grid{grid-template-columns:repeat(2,minmax(140px,1fr));gap:10px 20px}
.order-inline-expand .expand-actions{margin-top:9px}
.order-expand-hint{margin-top:8px;color:#63757c;font-size:10.5px}

@media(max-width:760px){
  .order-product-row{
    grid-template-columns:46px minmax(0,1fr) 92px;
    grid-template-areas:
      "photo info total"
      "photo unit qty"
      "expand expand expand";
    gap:4px 8px;min-height:66px;padding:7px 0;
  }
  .order-thumb{width:44px;height:44px;border-radius:9px}
  .order-thumb img{max-width:40px;max-height:40px}
  .order-num-badge{left:-5px;top:-5px;min-width:25px;height:22px;padding:0 4px;border-radius:7px 7px 7px 3px;font-size:9.5px}
  .order-title-line>strong{font-size:12.5px;line-height:1.15;white-space:nowrap}
  .order-meta{margin-top:3px;font-size:10px;line-height:1.2}
  .order-unit-price{grid-area:unit;align-items:flex-start;flex-direction:row;gap:5px}
  .order-unit-price small{display:none}
  .order-unit-price strong{font-size:11.5px}
  .order-unit-price span{font-size:10px}
  .order-line-total{grid-area:total;align-items:flex-end}
  .order-line-total strong{font-size:12.5px}
  .order-line-total span{font-size:10px}
  .order-qty{grid-area:qty;justify-self:end;width:90px;height:30px;grid-template-columns:27px 36px 27px}
  .order-qty button,.order-qty input{height:28px}
  .order-qty input{width:36px;font-size:12px}
  .order-product-row .compact-delete{position:absolute;right:0;top:34px;width:22px;height:22px;font-size:15px;transform:translateY(-50%)}
  .order-inline-expand{margin-top:5px;padding-top:8px}
  .order-expand-visual{grid-template-columns:76px minmax(0,1fr);gap:10px}
  .order-expand-photo{width:74px;height:74px}
  .order-expand-photo img{max-width:68px;max-height:68px}
  .order-inline-expand .expand-grid{grid-template-columns:1fr 1fr;gap:7px 10px}
  .order-inline-expand .expand-item span{font-size:9.5px}
  .order-inline-expand .expand-item b{font-size:11px}
  .order-inline-expand .expand-actions a{font-size:10.5px}
  .order-expand-hint{font-size:9px}
}

.order-num-badge:active{cursor:grabbing;transform:scale(.97)}

.order-unit-price,.order-qty,.order-line-total{cursor:default}
.order-product-info,.order-thumb{cursor:default}
n/* v0.27 — no-layout mini hints for inline order details */n@media(hover:hover) and (pointer:fine){n  .order-toggle-zone{position:relative}n  .order-toggle-zone:hover:after{n    content:attr(data-toggle-hint);n    position:absolute;n    left:8px;n    top:calc(100% + 5px);n    z-index:35;n    width:max-content;n    max-width:260px;n    padding:6px 8px;n    border:1px solid #cdd9dc;n    border-radius:8px;n    background:rgba(255,255,255,.98);n    color:#3f5158;n    box-shadow:0 7px 20px rgba(30,50,58,.12);n    font-size:11px;n    line-height:1.2;n    font-weight:650;n    pointer-events:none;n    white-space:nowrap;n  }n}n

/* v0.28 — explicit product expansion controls; metadata remains selectable */
.product-expand-control{cursor:pointer}
button.product-photo{border:0;background:transparent;padding:0}
button.product-title{border:0;background:transparent;padding:0;color:inherit;text-align:left;cursor:pointer}
button.product-title:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.product-expand-chevron,.order-disclosure{
  flex:0 0 auto;width:28px;height:28px;display:grid;place-items:center;
  padding:0;border:1px solid #d3dfe2;border-radius:9px;background:#f8fbfc;
  color:#49646d;cursor:pointer;transition:background .12s,border-color .12s,transform .12s;
}
.product-expand-chevron svg,.order-disclosure svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.product-expand-chevron .disclosure-arrow,.order-disclosure .disclosure-arrow{transform-origin:18px 12px;transition:transform .15s ease}
.product-expand-chevron.is-open .disclosure-arrow,.order-disclosure.is-open .disclosure-arrow{transform:rotate(180deg)}
.product-expand-chevron:hover,.order-disclosure:hover{background:#edf6f7;border-color:#9db8bf;transform:translateY(-1px)}
.product-meta,.order-meta,.pzn-text{user-select:text;cursor:text}
.full-product-link{margin-left:auto}
@media(max-width:760px){
  .product-expand-chevron{width:27px;height:27px}
  .expand-actions{flex-wrap:wrap;align-items:center}
  .full-product-link{margin-left:0;width:100%;padding-top:4px}
}


/* v0.29 — explicit disclosure controls; metadata/PZN stay selectable */
.order-photo-button{
  width:100%;height:100%;display:grid;place-items:center;position:relative;
  padding:0;border:0;background:transparent;border-radius:inherit;cursor:pointer;
}
.order-expand-title{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  padding:0;border:0;background:none;color:var(--ink);font:inherit;font-size:14px;font-weight:720;text-align:left;cursor:pointer;
}
.order-expand-title:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.order-disclosure{width:26px;height:26px;border-radius:8px}
.order-title-line{gap:6px}
.order-meta{cursor:text;user-select:text}
.order-full-product-link{margin-left:auto;color:#315d54;font-size:11.5px;font-weight:740;text-decoration:none}
.order-full-product-link:hover{text-decoration:underline;text-underline-offset:3px}
.pzn-text{white-space:nowrap}
@media(max-width:760px){
  .order-expand-title{font-size:12.5px}
  .order-disclosure{width:24px;height:24px}
  .order-full-product-link{margin-left:0;width:100%;padding-top:3px}
}


/* v0.30 — fast whole-strip expand/collapse; no disclosure arrows */
.product-expand-chevron,.order-disclosure{display:none}
.product-row[data-expand-row],.order-product-row[data-order-expand-row]{position:relative}
.product-row[data-expand-row]{cursor:pointer}
.order-product-row[data-order-expand-row]{cursor:pointer}
.product-row .product-meta,.order-product-row .order-meta{user-select:text;cursor:text}
.product-row .product-price,.product-row .qty-stepper,.product-row .product-total,
.order-product-row .order-unit-price,.order-product-row .order-qty,.order-product-row .order-line-total,
.order-product-row .compact-delete,.order-product-row .order-num-badge{cursor:default}
.product-row[data-expand-row]:hover,.order-product-row[data-order-expand-row]:hover{background:#fbfdfd}
.product-row[data-expand-row].expanded,.order-product-row.order-expanded{background:#f8fbfa}

.product-row .expand-visual{grid-template-columns:128px minmax(0,1fr)}
.product-row .expand-visual>img{width:120px;height:120px;object-fit:contain;border:1px solid #e1e7e9;border-radius:12px;background:#fff}
@media(max-width:760px){
  .product-row .expand-visual{grid-template-columns:86px minmax(0,1fr);gap:10px}
  .product-row .expand-visual>img{width:82px;height:82px}
}

/* v0.32 standard order status */
.order-header-status.order-status-standard{margin-left:auto;margin-right:8px}
@media(max-width:760px){
  .desktop-order-dock.order-status-standard{
    min-width:112px;max-width:150px;min-height:42px;padding:5px 8px;border-radius:10px;
    display:flex;align-items:flex-start;justify-content:center;
  }
  .order-status-standard .order-status-meta,.order-header-status.order-status-standard span{font-size:10px;line-height:1.05}
  .order-status-standard .order-status-total,.order-header-status.order-status-standard strong{font-size:13px;line-height:1.05}
  .order-header-status.order-status-standard{
    min-width:112px;max-width:150px;min-height:42px;padding:5px 8px;margin:0;
    align-items:flex-start;justify-content:center;
  }
}

/* v0.33 mobile clean-flow guardrails */
@media(max-width:760px){
  .notebook-head{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
  .search-stage{position:relative;z-index:1}
  .category-strip{position:relative;z-index:0}
  .app-header{overflow:visible}
  body[data-mobile-mode="search"] .app-header{display:block;visibility:visible}
  body[data-mobile-mode="search"] .notebook-head{display:grid}
  body[data-mobile-mode="search"] .search-suggest:not([hidden]){display:block}
  .workspace{position:relative;z-index:0}
}

/* v0.34 — order polish: brand, single total, full row click, numbered mini-check */
.sheet-header-left{display:flex;align-items:center;gap:12px;min-width:0}
.order-brand{flex:0 0 auto}
.order-brand .brand-rx{width:40px;height:40px}
.order-brand .brand-de{font-size:23px}
.order-toolbar-right{display:flex;align-items:center;gap:12px}
.sound-toggle{padding:4px 7px;border:1px solid #d4dfe2;border-radius:8px;background:#fff;color:#4d646d;font-size:10.5px;font-weight:680;cursor:pointer}
.sound-toggle[aria-pressed="false"]{opacity:.62}
.sheet-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px}
.sheet-footer .order-summary{display:none}
.sheet-footer .primary-action{width:min(240px,100%);min-width:210px}
.mini-num{display:inline-block;min-width:20px;color:#60747c;font-style:normal;font-weight:760;font-variant-numeric:tabular-nums}
.product-row[data-expand-row],.order-product-row[data-order-expand-row]{cursor:pointer}
.product-row .product-meta,.order-product-row .order-meta{cursor:pointer;user-select:text}
.order-inline-expand{cursor:pointer}
.product-row .product-price,.product-row .qty-stepper,.product-row .product-total,
.order-product-row .order-unit-price,.order-product-row .order-qty,.order-product-row .order-line-total,
.order-product-row .compact-delete,.order-product-row .order-num-badge{cursor:default}
@media(max-width:760px){
  .sheet-header-left{gap:8px}
  .order-brand .brand-rx{width:34px;height:34px;font-size:15px}
  .order-brand .brand-de{font-size:19px}
  .sheet-title-block h2{font-size:14px}
  .sound-toggle{font-size:9.5px;padding:3px 5px}
  .order-toolbar-right{gap:6px}
  .sheet-footer{padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px))}
  .sheet-footer .primary-action{width:154px;min-width:154px;min-height:40px}
}


/* v0.35 — unified desktop/mobile flow, compact mobile header, no floating actions */
.mobile-actions{display:none!important}

.order-status-standard{
  min-width:118px;
  max-width:200px;
  min-height:46px;
  padding:6px 11px;
}
.order-status-meta{font-size:11px;font-weight:620}
.order-status-total{font-size:14px;font-weight:800}
.desktop-order-dock.order-status-standard{box-shadow:0 3px 10px rgba(43,78,91,.05)}

.compact-logistics-copy b,.product-title,.order-title-line>strong{letter-spacing:-.01em}
.mini-total{position:static;background:transparent}

.order-product-row .compact-delete{display:none!important}
.order-product-row,.product-row{touch-action:manipulation}
.order-inline-expand,.product-expand{cursor:pointer}

@media(max-width:760px){
  .app-header{
    padding:8px 10px 8px;
    background:
      linear-gradient(to bottom,transparent 0 24px,rgba(110,143,157,.05) 24px 25px,transparent 25px 50px),
      rgba(255,255,255,.985);
    background-size:100% 25px;
  }
  .app-header:before{left:8px}
  .notebook-head{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:start;
    gap:8px 10px;
    margin-bottom:8px;
  }
  .brand-cluster{gap:6px;min-width:0}
  .brand-rx{width:32px;height:32px;font-size:12px;border-radius:7px}
  .brand-de{font-size:18px}
  .brand-copy{display:none}
  .status-cluster{
    min-width:0;
    display:grid;
    grid-template-columns:minmax(0,70px) 46px 32px minmax(100px,auto);
    align-items:start;
    justify-content:end;
    gap:6px;
  }
  .rate-stack{
    min-width:0;
    padding:0 6px 0 0;
    border-right:1px solid #e0e8ea;
    gap:2px;
  }
  .rate-stack>div{grid-template-columns:34px auto;gap:4px}
  .rate-stack span,#headerCbrDate{font-size:8.5px;line-height:1.05}
  .rate-stack strong,.rate-stack b{font-size:10px;line-height:1.05}
  .flip-date{width:46px;height:46px;grid-template-rows:12px 23px 11px;border-radius:10px}
  .flip-month,.flip-year{font-size:8.5px}
  .flip-day{font-size:17px}
  .header-question{
    display:grid;
    place-items:center;
    width:32px;
    min-width:32px;
    height:32px;
    padding:0;
    border-radius:9px;
  }
  .header-question span{display:none}
  .header-question svg{width:16px;height:16px}
  .desktop-order-dock.order-status-standard,
  .order-header-status.order-status-standard,
  .order-widget.order-status-standard{
    min-width:100px;
    max-width:132px;
    min-height:46px;
    padding:6px 9px;
    border-radius:12px;
  }
  .desktop-order-dock.order-status-standard .order-status-meta,
  .order-header-status.order-status-standard span,
  .order-widget.order-status-standard .order-status-meta{font-size:10px;line-height:1.05}
  .desktop-order-dock.order-status-standard .order-status-total,
  .order-header-status.order-status-standard strong,
  .order-widget.order-status-standard .order-status-total{font-size:12.5px;line-height:1.05}

  .search-stage{z-index:2}
  .search-wrap{height:50px;border-radius:14px}
  .search-input{font-size:16px}
  .category-strip{padding-top:7px}
  .workspace{padding:8px 10px 26px}

  .sheet-header{
    min-height:58px;
    grid-template-columns:minmax(0,1fr) auto 30px;
    gap:8px;
    padding:8px 10px 8px 14px;
  }
  .sheet-header h2{font-size:15px}
  .sheet-toolbar{
    flex-wrap:wrap;
    justify-content:space-between;
    gap:6px;
    min-height:38px;
    padding:5px 10px;
  }
  .sheet-toolbar-left{gap:8px;flex-wrap:wrap}
  .sheet-toolbar .text-button{font-size:11px;padding:2px 0}
  .order-toolbar-right{margin-left:auto;display:flex;align-items:center;gap:6px;white-space:nowrap}
  .sound-toggle{font-size:10px;padding:3px 6px}
  .rate-note{font-size:10px}

  .order-lines{
    padding:0 10px 0;
  }
  .order-product-row{
    grid-template-columns:48px minmax(0,1fr) 94px;
    grid-template-areas:
      "photo info total"
      "photo unit qty"
      "expand expand expand";
    gap:5px 8px;
    min-height:72px;
    padding:9px 0;
  }
  .order-thumb{width:46px;height:46px;border-radius:10px;overflow:visible}
  .order-thumb img{max-width:42px;max-height:42px}
  .order-num-badge{
    left:-6px;
    top:-6px;
    min-width:26px;
    height:23px;
    padding:0 4px;
    border-radius:8px 8px 8px 3px;
    font-size:9.5px;
    box-shadow:0 2px 7px rgba(8,120,183,.22);
  }
  .order-title-line>strong{
    font-size:12.8px;
    line-height:1.15;
    white-space:normal;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }
  .order-meta{margin-top:3px;font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .order-unit-price{align-items:flex-start;flex-direction:row;gap:6px}
  .order-unit-price strong{font-size:12px}
  .order-unit-price span{font-size:10.5px}
  .order-line-total strong{font-size:13px}
  .order-line-total span{font-size:10.5px}
  .order-qty{width:94px;height:32px;grid-template-columns:29px 36px 29px}
  .order-qty button,.order-qty input{height:30px}
  .order-qty input{width:36px;font-size:12px}
  .compact-logistics-line{
    grid-template-columns:46px minmax(0,1fr) auto;
    grid-template-areas:
      "mark copy rub"
      "mark copy eur";
    gap:2px 8px;
    min-height:50px;
    padding:8px 0;
  }
  .compact-logistics-line .logistics-mark{grid-area:mark}
  .compact-logistics-copy{grid-area:copy}
  .compact-logistics-copy b{font-size:11.5px;line-height:1.1;white-space:nowrap}
  .compact-logistics-copy small{font-size:10px;line-height:1.15}
  .compact-logistics-rub{grid-area:rub;font-size:12.5px}
  .compact-logistics-eur{grid-area:eur;font-size:10.5px}

  .sheet-footer{
    position:sticky;
    left:0;right:0;bottom:0;
    display:flex;
    justify-content:flex-end;
    gap:0;
    padding:10px;
    border-top:1px solid var(--line);
    background:rgba(255,255,255,.98);
    box-shadow:0 -8px 22px rgba(31,52,60,.10);
    pointer-events:auto;
  }
  .sheet-footer .primary-action{
    width:100%;
    min-width:0;
    min-height:44px;
    border-radius:12px;
    font-size:12px;
    padding:0 14px;
    box-shadow:none;
  }
  .confirm-card{padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px))}
  .mini-receipt{margin:8px 0 10px;padding:10px 12px}
}


/* v0.36 — showcase home */
.home-hidden{display:none!important}
.home-showcase{padding:12px 0 36px}
.home-intro{max-width:760px;padding:12px 8px 18px}
.home-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#587984}
.home-intro h1{margin:5px 0 8px;font-size:30px;letter-spacing:-.035em}
.home-intro p,.home-complex p{margin:0;color:#53676e;font-size:14px;line-height:1.5}
.home-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-category{position:relative;min-height:176px;padding:18px;border:0;border-radius:18px;overflow:hidden;text-align:left;color:white;cursor:pointer;background-image:linear-gradient(180deg,rgba(15,30,37,.06),rgba(15,30,37,.78)),url("assets/category-generic.png");background-size:cover;box-shadow:0 7px 22px rgba(33,58,68,.10);transition:transform .16s ease,box-shadow .16s ease}
.home-category:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(33,58,68,.16)}
.home-category span{position:absolute;left:18px;right:18px;bottom:40px;font-size:18px;font-weight:820;line-height:1.08;text-shadow:0 1px 10px rgba(0,0,0,.22)}
.home-category small{position:absolute;left:18px;bottom:17px;font-size:11px;font-weight:700;color:rgba(255,255,255,.9)}
.home-vitamins{background-position:15% 66%}.home-care{background-position:42% 58%}.home-digestion{background-position:70% 61%}.home-joints{background-position:88% 68%}.home-eyes{background-position:56% 38%}.home-cold{background-position:27% 47%}
.home-all-row{display:flex;justify-content:flex-end;padding:13px 0 2px}.home-all{display:flex;gap:16px;align-items:center;border:1px solid #cbdadd;background:#fff;border-radius:13px;padding:11px 16px;color:#284b55;cursor:pointer}.home-all b{font-size:14px}.home-all span{font-size:12px;color:#60757c}
.home-complex{margin-top:24px;min-height:156px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px;border-radius:18px;color:white;background-image:linear-gradient(90deg,rgba(16,28,36,.86),rgba(16,28,36,.34)),url("assets/category-complex.png");background-size:cover;background-position:center 46%;box-shadow:0 8px 24px rgba(33,58,68,.12)}
.home-complex h2{margin:4px 0 6px;font-size:23px}.home-complex p{max-width:620px;color:rgba(255,255,255,.86)}.home-complex .home-kicker{color:#c9e1e4}.home-complex button{flex:0 0 auto;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.94);color:#244950;border-radius:12px;padding:11px 14px;font-weight:800;cursor:pointer}
@media(max-width:760px){.home-showcase{padding:4px 0 24px}.home-intro{padding:8px 2px 14px}.home-intro h1{font-size:22px}.home-intro p{font-size:12.5px}.home-category-grid{grid-template-columns:1fr 1fr;gap:8px}.home-category{min-height:128px;border-radius:14px;padding:12px}.home-category span{left:12px;right:12px;bottom:31px;font-size:14px}.home-category small{left:12px;bottom:12px;font-size:9.5px}.home-all-row{justify-content:stretch}.home-all{width:100%;justify-content:space-between;padding:10px 12px}.home-complex{min-height:132px;margin-top:15px;padding:16px;align-items:flex-start;flex-direction:column;justify-content:flex-end}.home-complex h2{font-size:18px}.home-complex p{font-size:11.5px}.home-complex button{padding:9px 11px;font-size:11px}}


/* v0.38 — accepted unified showcase */
/* Working mode is search-first: category chips do not compete with the search after leaving the showcase. */
body:not(.home-mode) .category-strip,
body:not(.home-mode) .subcategory-strip{display:none!important}

.home-showcase{padding:10px 0 32px}
.home-intro{max-width:780px;padding:10px 4px 16px}
.home-intro h1{font-size:31px;margin:5px 0 7px;letter-spacing:-.035em}
.home-intro p{font-size:14px;line-height:1.45;color:#51666e}
.home-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-category{
  --cat:url("assets/category-generic.png");
  min-height:148px;
  border-radius:16px;
  background-image:linear-gradient(180deg,rgba(12,29,37,.02),rgba(12,29,37,.78)),var(--cat);
  background-size:cover;background-position:center;
}
.home-category span{font-size:16px;bottom:34px;left:15px;right:15px}
.home-category small{left:15px;bottom:14px;font-size:10px}
.home-all-row{padding-top:12px}
.rx-home-note{display:flex;align-items:flex-start;gap:10px;margin-top:18px;padding:12px 14px;border:1px solid #d6e2e5;border-radius:13px;background:#fbfdfd;color:#314d56}
.rx-home-note .rx-badge{margin-top:1px;flex:0 0 auto}
.rx-home-note div{display:flex;flex-direction:column;gap:3px}
.rx-home-note b{font-size:12px}.rx-home-note span:not(.rx-badge){font-size:11px;line-height:1.4;color:#5a6d73}
.site-footer{display:grid;grid-template-columns:1.05fr 1.2fr 1.2fr auto;gap:16px;align-items:start;margin-top:18px;padding:18px 4px 4px;border-top:1px solid #d9e3e6;color:#344e56}
.site-footer>div{display:flex;flex-direction:column;gap:4px}.site-footer b{font-size:11.5px}.site-footer span{font-size:10.5px;line-height:1.4;color:#61747a}.footer-question{border:1px solid #cbdadd;background:#fff;border-radius:10px;padding:8px 10px;color:#284b55;font-weight:750;cursor:pointer;white-space:nowrap}
.rx-badge{cursor:help}

/* Make background pattern a bit richer without becoming noisy. */
.app-shell,.question-sheet,.admin-sheet{background-color:rgba(255,255,255,.96)}

@media(max-width:980px){.home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.site-footer{grid-template-columns:1fr 1fr}.footer-question{justify-self:start}}
@media(max-width:760px){
  .home-intro h1{font-size:21px}.home-intro p{font-size:12.5px}
  .home-category-grid{grid-template-columns:1fr 1fr;gap:7px}
  .home-category{min-height:116px;border-radius:13px}
  .home-category span{font-size:13px;left:11px;right:11px;bottom:29px}.home-category small{font-size:9px;left:11px;bottom:10px}
  .rx-home-note{margin-top:12px;padding:10px 11px}.rx-home-note b{font-size:11px}.rx-home-note span:not(.rx-badge){font-size:10px}
  .site-footer{grid-template-columns:1fr;gap:10px;margin-top:12px;padding-top:14px}.site-footer span{font-size:10px}
}


/* v0.39 — remove redundant hero, strengthen inline product verification, preserve clean flow */
.home-showcase{padding-top:10px}
.home-category-grid{margin-top:0}

.product-expand{cursor:pointer}
.expand-visual{grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:start}
.expand-photo-wrap{width:150px;height:150px;display:grid;place-items:center;border:1px solid #e1e8ea;border-radius:12px;background:#fff;overflow:hidden}
.expand-photo-wrap img{max-width:138px;max-height:138px;width:auto;height:auto;object-fit:contain}
.expand-copy{min-width:0}
.expand-hint{margin-top:13px;padding-top:9px;border-top:1px dotted #d6e0e2;color:#526970;font-size:11px;font-weight:650;line-height:1.35}
.product-row.expanded{background:#fbfdfd}
.product-row.expanded .product-main,.product-row.expanded .product-photo{cursor:pointer}

#orderHeaderTotal,#orderTotalRub{font-variant-numeric:tabular-nums}

@media(max-width:760px){
  .home-showcase{padding-top:2px}
  .expand-visual{grid-template-columns:92px minmax(0,1fr);gap:10px}
  .expand-photo-wrap{width:92px;height:92px;border-radius:10px}
  .expand-photo-wrap img{max-width:86px;max-height:86px}
  .expand-hint{font-size:10px;margin-top:9px;padding-top:7px}
}


/* v0.40 — header relieved: Question lives in footer; search has draft/commit states */
@media(max-width:760px){
  .status-cluster{grid-template-columns:minmax(0,74px) 46px minmax(100px,auto);gap:7px}
}

/* v0.41 */
.pzn-copy-wrap{display:inline-flex;align-items:center;gap:4px;vertical-align:middle;cursor:text}.pzn-copy{display:inline-grid;place-items:center;width:20px;height:20px;padding:0;border:1px solid #cad8dc;border-radius:6px;background:#fff;color:#49616a;font-size:11px;line-height:1;cursor:pointer}.pzn-copy:hover{background:#eef6f7;border-color:#96b4bc;color:#244d58}.expand-photo-link,.order-expand-photo-link{cursor:pointer;text-decoration:none}.expand-photo-link:hover,.order-expand-photo-link:hover{border-color:#98b7bf;box-shadow:0 4px 16px rgba(39,76,88,.09)}.full-product-link,.order-full-product-link{font-weight:800}.order-num-badge{touch-action:none;user-select:none;-webkit-user-select:none}@media(max-width:760px){.pzn-copy{width:24px;height:24px;font-size:12px}.expand-photo-wrap{width:112px;height:112px}.expand-photo-wrap img{max-width:104px;max-height:104px}.expand-visual{grid-template-columns:112px minmax(0,1fr);gap:11px}.order-expand-photo{width:92px;height:92px}.order-expand-photo img{max-width:84px;max-height:84px}.order-expand-visual{grid-template-columns:92px minmax(0,1fr);gap:11px}}


/* v0.42 — committed search results + persistent footer + recognizable product pictograms */
.site-footer{max-width:1360px;margin:18px auto 12px;padding:18px 20px 4px}
.home-mode .site-footer{margin-top:4px}
.search-result-group{min-height:0}
.product-list:not([hidden]){display:flex!important}
.context-line:not([hidden]){display:flex!important}
.expand-item{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px}
.expand-item-icon{width:30px;height:30px;border:1px solid #b9cdd1;border-radius:9px;display:grid;place-items:center;background:#f7fbfb;color:#245d61}
.expand-item-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.expand-item-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.expand-item-copy>span{font-size:11px;font-weight:760;color:#4d666d;text-transform:none}
.expand-item-copy>b{font-size:13px;color:#172b31}
@media(max-width:760px){
 .site-footer{margin:12px 10px 8px;padding:14px 4px 4px}
 .expand-item{grid-template-columns:34px minmax(0,1fr);gap:8px}
 .expand-item-icon{width:32px;height:32px}
 .expand-item-icon svg{width:19px;height:19px}
}


/* v0.44 — unified location/history navigation + icon centering fix */
.expand-item .expand-item-icon{
  display:grid!important;place-items:center!important;
  padding:0!important;line-height:0!important;text-align:center!important;
}
.expand-item .expand-item-icon svg{display:block;margin:auto;transform:none!important}
.expand-item .expand-item-copy{display:flex!important}

.flow-nav{
  position:relative;z-index:7;max-width:1360px;margin:0 auto;
  min-height:34px;padding:5px 22px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;gap:12px;border-bottom:1px solid #e2e9eb;background:rgba(255,255,255,.97);
}
.flow-nav[hidden]{display:none!important}
.flow-back,.flow-crumbs button,.flow-history-toggle,.flow-history-menu button,.order-flow-nav button{
  border:0;background:transparent;color:#365f55;font:inherit;font-size:11.5px;font-weight:740;cursor:pointer;
}
.flow-back{padding:5px 0;white-space:nowrap}.flow-back:disabled{opacity:.42;cursor:default}
.flow-crumbs{display:flex;align-items:center;gap:7px;min-width:0;color:#7a8b90;font-size:11px;white-space:nowrap;overflow:hidden}
.flow-crumbs button{padding:0}.flow-crumbs strong{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#40545b;font-size:11.5px}
.flow-history-wrap{position:relative}
.flow-history-toggle{width:28px;height:28px;display:grid;place-items:center;border:1px solid #d5e0e3;border-radius:8px;background:#f9fbfb;font-size:17px}
.flow-history-menu{position:absolute;right:0;top:34px;z-index:30;width:max-content;min-width:220px;max-width:min(330px,80vw);padding:6px;border:1px solid #d6e0e3;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(35,55,62,.13)}
.flow-history-menu[hidden]{display:none!important}
.flow-history-menu button{display:block;width:100%;padding:8px 9px;border-radius:7px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.flow-history-menu button:hover{background:#f1f7f6}.flow-history-menu>span{display:block;padding:8px;color:#77898e;font-size:11px}

.order-flow-nav{min-height:31px;padding:4px 18px;display:flex;align-items:center;gap:6px;border-bottom:1px solid #e4eaec;background:#fbfdfd;color:#75868b;font-size:11px}
.order-flow-nav[hidden]{display:none!important}.order-flow-current{white-space:nowrap}.order-flow-nav button:hover,.flow-back:hover,.flow-crumbs button:hover{text-decoration:underline;text-underline-offset:3px}

@media(max-width:760px){
  .flow-nav{min-height:34px;padding:4px 10px;grid-template-columns:minmax(0,1fr) auto;gap:7px}
  .flow-back{font-size:11.5px;overflow:hidden;text-overflow:ellipsis;text-align:left}
  .flow-crumbs{display:none}
  .flow-history-toggle{width:30px;height:30px}
  .order-flow-nav{padding:4px 10px;font-size:10.5px}
}


/* v0.45 — Explorer-inspired visible recent path */
.flow-history-toggle{
  width:auto!important;height:28px!important;min-width:96px;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px;
  padding:0 9px!important;border-radius:999px!important;
  border:1px solid #cfdcdf!important;background:#f5f8f8!important;color:#355760!important;
  font-size:11px!important;font-weight:680!important;white-space:nowrap;
  transition:background .14s ease,border-color .14s ease,box-shadow .14s ease;
}
.flow-history-toggle:hover,.flow-history-toggle[aria-expanded="true"]{background:#eaf3f5!important;border-color:#9fbbc2!important;box-shadow:0 3px 10px rgba(38,72,82,.08)}
.flow-history-toggle .recent-clock{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.flow-history-toggle b{min-width:17px;height:17px;padding:0 4px;border-radius:999px;display:grid;place-items:center;background:#315d6a;color:#fff;font-size:9px;line-height:1;font-weight:760}
.flow-history-menu{top:35px!important;min-width:280px!important;max-width:min(370px,88vw)!important;padding:0!important;overflow:hidden;border-radius:12px!important}
.flow-history-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:center;padding:10px 12px;border-bottom:1px solid #e5ebed;background:#f8fbfb}
.flow-history-head span{font-size:10px;font-weight:730;color:#75898f;text-transform:uppercase;letter-spacing:.05em}
.flow-history-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;color:#243c45}
.flow-history-list{padding:5px}
.flow-history-menu .flow-history-list button{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;padding:7px 8px!important;border-radius:8px!important}
.flow-history-menu .flow-history-list button:hover{background:#edf5f6!important;text-decoration:none!important}
.history-kind{display:grid;place-items:center;width:22px;height:22px;border:1px solid #d7e1e4;border-radius:7px;background:#fff;color:#53727c;font-size:12px}
.history-copy{display:flex;min-width:0;flex-direction:column;gap:1px}
.history-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#29444d;font-size:11px;font-weight:700}
.history-copy small{color:#809096;font-size:9.5px;font-weight:500}
.history-empty{display:block;padding:10px 12px;color:#7b8d92;font-size:10.5px}

@media(max-width:760px){
  .flow-history-toggle{min-width:88px;height:30px!important;padding:0 8px!important;font-size:10.5px!important;gap:5px}
  .flow-history-toggle .recent-clock{width:14px;height:14px}
  .flow-history-menu{right:0;min-width:min(300px,92vw)!important;max-width:92vw!important}
}


/* v0.47 — regression repair after v0.46: preserve v0.45 logic, mobile parity only */
/* PZN copy stays on the metadata baseline without increasing the line box. */
.pzn-copy-wrap{display:inline-flex!important;align-items:center!important;gap:4px;vertical-align:middle;line-height:1;white-space:nowrap}
.pzn-copy{display:inline-grid!important;place-items:center!important;width:18px!important;height:18px!important;min-width:18px!important;padding:0!important;font-size:10px!important;line-height:1!important;vertical-align:middle!important;transform:none!important}

/* Expanded facts: one component on desktop and mobile, no text/icon collisions. */
.expand-grid{align-items:start}
.expand-item{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;align-items:center!important;column-gap:9px!important;min-width:0}
.expand-item-icon{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;min-width:30px!important;line-height:1!important}
.expand-item-icon svg{display:block!important;width:18px!important;height:18px!important;margin:auto!important}
.expand-item-copy{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
.expand-item-copy>span,.expand-item-copy>b{position:static!important;margin:0!important;transform:none!important;min-width:0!important}
.order-inline-expand .expand-grid{align-items:start}
.order-inline-expand .expand-item{grid-template-columns:30px minmax(0,1fr)!important;gap:8px!important}
.order-inline-expand .expand-item-icon{width:28px!important;height:28px!important;min-width:28px!important}
.order-inline-expand .expand-item-icon svg{width:17px!important;height:17px!important}

/* Touch drag: target is only visual until release, preventing pointer-capture loss. */
.order-product-row.drag-target{box-shadow:inset 0 2px 0 #5f8f82;background:#f4faf8}
.order-num-badge{cursor:grab!important;touch-action:none!important;-webkit-user-select:none!important;user-select:none!important}
.order-num-badge:active{cursor:grabbing!important}

@media(max-width:760px){
  /* Safe two-level header. No display:contents, no squeezed currency labels. */
  .notebook-head{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:start!important;gap:7px 9px!important;margin-bottom:7px!important}
  .brand-cluster{min-width:0!important;align-self:start!important}
  .brand-copy{display:none!important}
  .brand-rx{width:34px!important;height:34px!important;font-size:12px!important}
  .brand-de{font-size:19px!important}
  .status-cluster{display:grid!important;grid-template-columns:46px minmax(104px,132px)!important;grid-template-areas:"date order" "rates rates"!important;justify-content:end!important;justify-items:stretch!important;gap:5px 7px!important;min-width:0!important}
  .flip-date{grid-area:date!important;width:46px!important;height:46px!important;justify-self:end!important}
  .desktop-order-dock.order-status-standard{grid-area:order!important;justify-self:end!important;min-width:104px!important;max-width:132px!important;min-height:46px!important;padding:6px 9px!important}
  .rate-stack{grid-area:rates!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;min-width:0!important;padding:4px 0 0!important;border-right:0!important;border-top:1px solid #e5ecee!important}
  .rate-stack>div{display:grid!important;grid-template-columns:auto auto!important;justify-content:end!important;align-items:baseline!important;gap:4px!important;min-width:0!important;white-space:nowrap!important}
  .rate-stack span,#headerCbrDate{font-size:9.2px!important;line-height:1.15!important}
  .rate-stack strong,.rate-stack b{font-size:11px!important;line-height:1.15!important}

  /* Compact rows without sacrificing readable content or touch targets. */
  .product-row{padding-top:7px!important;padding-bottom:8px!important}
  .product-meta,.order-meta{line-height:1.2!important}
  .pzn-copy{width:18px!important;height:18px!important;min-width:18px!important;font-size:10px!important}

  .order-lines{padding-left:9px!important;padding-right:9px!important}
  .order-product-row{min-height:68px!important;padding-top:8px!important;padding-bottom:8px!important}
  .order-num-badge{min-width:28px!important;height:25px!important;font-size:10px!important}

  /* Fact cards remain two logical columns when room allows, collapse safely on very narrow screens. */
  .expand-grid,.order-inline-expand .expand-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 10px!important}
  .expand-item{grid-template-columns:30px minmax(0,1fr)!important;gap:7px!important}
  .expand-item-icon{width:28px!important;height:28px!important;min-width:28px!important}
  .expand-item-icon svg{width:17px!important;height:17px!important}
}
@media(max-width:430px){
  .rate-stack{grid-template-columns:1fr!important;gap:2px!important}
  .rate-stack>div{grid-template-columns:minmax(74px,auto) auto!important;justify-content:end!important}
  .expand-grid,.order-inline-expand .expand-grid{grid-template-columns:1fr!important}
}


/* v0.48 — mobile recent trail + compact currency line */
.mobile-rate-summary,.mobile-recent-trail{display:none}
@media(max-width:760px){
  .rate-stack{display:none!important}
  .status-cluster{grid-template-columns:46px minmax(104px,132px)!important;grid-template-areas:"date order" "mobile-rate mobile-rate"!important}
  .mobile-rate-summary{grid-area:mobile-rate;display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0;padding-top:4px;border-top:1px solid #e5ecee;color:#60747b;font-size:10px;line-height:1.1;white-space:nowrap;font-variant-numeric:tabular-nums}
  .mobile-rate-summary b{font-size:10.5px;color:#263c44;font-weight:780}.mobile-rate-summary i{font-style:normal;color:#a4b0b4}
  .flow-nav{min-height:34px;padding:4px 12px!important;display:block!important;border-bottom:1px solid #e2e9eb;background:#fff}
  .flow-back,.flow-crumbs,.flow-history-toggle{display:none!important}
  .flow-history-wrap{position:static!important}
  .mobile-recent-trail{display:flex;align-items:center;gap:6px;min-width:0;width:100%;overflow:hidden;white-space:nowrap;color:#6d8086;font-size:10.5px}
  .mobile-recent-trail button{border:0;background:transparent;padding:3px 0;color:#41675f;font:inherit;font-weight:680;max-width:31vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}
  .mobile-recent-trail button:active{text-decoration:underline}
  .recent-clock-mark{flex:0 0 auto;font-size:15px;color:#55747c}.recent-sep{flex:0 0 auto;color:#a8b4b8}.recent-empty-inline{color:#8a999e}
  .mobile-recent-trail .recent-more{margin-left:auto;flex:0 0 auto;max-width:none;width:24px;height:24px;border:1px solid #d5e0e3;border-radius:8px;background:#f8fbfb;padding:0;font-size:15px;line-height:20px;color:#45636c}
  .flow-history-menu{position:absolute!important;right:10px!important;top:auto!important;margin-top:4px!important;z-index:45!important}
}
@media(max-width:430px){
  .mobile-rate-summary{font-size:9.5px;gap:4px}.mobile-rate-summary b{font-size:10px}
}

/* v0.49 — semantic recent history + safe mobile expanded product layout */
.flow-history-toggle{min-width:86px!important}
.flow-history-toggle b{display:none!important}
.recent-kind-mark{display:inline-block;margin-right:3px;color:#59777f;font-size:.92em;font-weight:800}
@media(max-width:760px){
  /* History is a trail, not a menu: quiet clock + up to three semantic states. */
  .mobile-recent-trail{gap:5px!important;font-size:10.5px!important}
  .mobile-recent-trail button{max-width:30vw!important}
  .mobile-recent-trail .recent-more{max-width:none!important}

  /* Expanded product: reserve a predictable photo column; facts cannot overlap it. */
  .product-row .product-expand{padding:10px 2px 4px!important}
  .product-row .expand-visual{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:11px!important;align-items:start!important}
  .product-row .expand-photo-wrap{width:96px!important;height:96px!important;min-width:96px!important}
  .product-row .expand-photo-wrap img{max-width:90px!important;max-height:90px!important}
  .product-row .expand-copy{min-width:0!important;overflow:visible!important}
  .product-row .expand-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 9px!important;min-width:0!important}
  .product-row .expand-item{grid-template-columns:26px minmax(0,1fr)!important;column-gap:6px!important;min-width:0!important}
  .product-row .expand-item-icon{width:25px!important;height:25px!important;min-width:25px!important}
  .product-row .expand-item-icon svg{width:15px!important;height:15px!important}
  .product-row .expand-item-copy{min-width:0!important;overflow-wrap:anywhere!important}
  .product-row .expand-item-copy>span,.product-row .expand-item-copy>b{white-space:normal!important;overflow-wrap:anywhere!important}
  .product-row .expand-hint{font-size:10.5px!important;line-height:1.25!important;margin-top:8px!important}
  .product-row .expand-actions{margin-top:7px!important}
}
@media(max-width:430px){
  /* Narrow phones: one facts column is more compact than colliding two-column content. */
  .product-row .expand-visual{grid-template-columns:86px minmax(0,1fr)!important;gap:9px!important}
  .product-row .expand-photo-wrap{width:86px!important;height:86px!important;min-width:86px!important}
  .product-row .expand-photo-wrap img{max-width:80px!important;max-height:80px!important}
  .product-row .expand-grid{grid-template-columns:1fr!important;gap:6px!important}
}

/* v0.50 — PZN is a required product identifier in every product state. */
.meta-primary{display:inline}
.product-meta .pzn-copy-wrap,.order-meta .pzn-copy-wrap{margin-left:7px}
.product-meta .pzn-copy-wrap:before,.order-meta .pzn-copy-wrap:before{content:"·";margin-right:7px;color:#809097}
.expand-item-pzn .expand-item-copy{position:relative;padding-right:24px}
.expand-pzn-value{display:inline-block;user-select:text;cursor:text}
.expand-pzn-copy{position:absolute;right:0;top:50%;transform:translateY(-50%)!important}

@media(max-width:760px){
  /* Keep the useful compact card, but never sacrifice PZN to ellipsis. */
  .product-meta,.order-meta{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .product-meta .meta-primary,.order-meta .meta-primary{
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    min-width:0;
  }
  .product-meta .pzn-copy-wrap,.order-meta .pzn-copy-wrap{
    display:flex!important;
    width:max-content;
    max-width:100%;
    margin:3px 0 0!important;
    align-items:center!important;
    gap:5px!important;
    line-height:1.15!important;
  }
  .product-meta .pzn-copy-wrap:before,.order-meta .pzn-copy-wrap:before{display:none}
  .pzn-text{font-size:11px;line-height:1.15;color:#50636b;font-weight:600}
  .pzn-copy{width:20px!important;height:20px!important;min-width:20px!important;font-size:11px!important;border-radius:6px!important}

  /* Expanded state: PZN becomes the fifth explicit property, not hidden metadata. */
  .expand-item-pzn{grid-column:1/-1!important;max-width:220px}
  .expand-item-pzn .expand-item-copy{padding-right:27px!important}
  .expand-item-pzn .expand-item-copy>span{display:block!important}
  .expand-item-pzn .expand-pzn-value{font-size:12.5px!important;line-height:1.2!important;white-space:nowrap!important}
  .expand-pzn-copy{width:20px!important;height:20px!important;min-width:20px!important}
}

/* v0.51 — first-level "you are here" navigation */
.flow-back[hidden]{display:none!important}
.flow-crumbs .crumb-sep{color:#9aa8ac;font-weight:500}
.flow-crumbs .crumb-current{color:#2f5550;font-weight:750}
@media (min-width: 761px){
  .flow-nav:has(.flow-back[hidden]){grid-template-columns:minmax(0,1fr) auto}
  .flow-nav:has(.flow-back[hidden]) .flow-crumbs{grid-column:1;}
}


/* v0.52 — expanded product = quick verification only.
   PZN stays once in the compact header; category is intentionally omitted. */
.expand-grid:empty{display:none!important}
@media(max-width:760px){
  .product-row.expanded .expand-copy{align-self:start}
  .product-row.expanded .expand-grid{align-content:start}
}

/* v0.53 — structural nav is always visible outside Home; one stable quick-verify layout. */
.flow-nav:not([hidden]){display:grid!important}
.flow-crumbs{visibility:visible!important;opacity:1!important}
.flow-crumbs .crumb-current{display:inline-block!important}

/* Keep compact metadata on one visual baseline on desktop. */
@media(min-width:761px){
  .product-meta,.order-meta{
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:0!important;
    line-height:20px!important;
  }
  .product-meta .meta-primary,.order-meta .meta-primary{
    display:inline-flex!important;
    align-items:center!important;
    line-height:20px!important;
  }
  .product-meta .pzn-copy-wrap,.order-meta .pzn-copy-wrap{
    display:inline-flex!important;
    align-items:center!important;
    height:20px!important;
    line-height:20px!important;
    vertical-align:middle!important;
  }
  .product-meta .pzn-text,.order-meta .pzn-text{line-height:20px!important}
  .product-meta .pzn-copy,.order-meta .pzn-copy{
    align-self:center!important;
    margin:0!important;
    transform:none!important;
  }
}

/* Quick verify uses one final geometry. Old version-specific rules must not move labels/icons. */
.product-row.expanded .expand-visual{
  display:grid!important;
  grid-template-columns:150px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
}
.product-row.expanded.no-expand-image .expand-visual{
  grid-template-columns:minmax(0,1fr)!important;
}
.product-row.expanded .expand-copy{min-width:0!important;width:100%!important}
.product-row.expanded .expand-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(120px,1fr))!important;
  gap:12px 20px!important;
  align-items:start!important;
  align-content:start!important;
}
.product-row.expanded .expand-item{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:9px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
.product-row.expanded .expand-item-icon{
  display:grid!important;
  place-items:center!important;
  width:30px!important;height:30px!important;min-width:30px!important;
  padding:0!important;margin:0!important;line-height:0!important;
}
.product-row.expanded .expand-item-icon svg{
  display:block!important;width:18px!important;height:18px!important;margin:0!important;transform:none!important;
}
.product-row.expanded .expand-item-copy{
  display:flex!important;flex-direction:column!important;justify-content:center!important;gap:2px!important;
  min-width:0!important;margin:0!important;padding:0!important;line-height:1.2!important;
}
.product-row.expanded .expand-item-copy>span,
.product-row.expanded .expand-item-copy>b{
  position:static!important;display:block!important;margin:0!important;padding:0!important;transform:none!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}

@media(max-width:760px){
  /* First category visit is structural navigation, not history. */
  .mobile-recent-trail .mobile-struct-home{font-weight:760!important;color:#365f55!important;max-width:none!important}
  .mobile-struct-current{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#273f47;font-size:10.5px;font-weight:760}

  /* PZN is its own compact row and the copy button sits on exactly the same visual centre. */
  .product-meta .pzn-copy-wrap,.order-meta .pzn-copy-wrap{
    display:inline-flex!important;
    align-items:center!important;
    height:21px!important;
    line-height:21px!important;
    gap:5px!important;
  }
  .product-meta .pzn-text,.order-meta .pzn-text{display:inline-flex!important;align-items:center!important;height:21px!important;line-height:21px!important}
  .product-meta .pzn-copy,.order-meta .pzn-copy{width:20px!important;height:20px!important;min-width:20px!important;margin:0!important;align-self:center!important;transform:none!important}

  .product-row.expanded .expand-visual{
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:11px!important;
  }
  .product-row.expanded.no-expand-image .expand-visual{grid-template-columns:minmax(0,1fr)!important}
  .product-row.expanded .expand-photo-wrap{width:96px!important;height:96px!important;min-width:96px!important}
  .product-row.expanded .expand-photo-wrap img{max-width:90px!important;max-height:90px!important}
  .product-row.expanded .expand-grid{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .product-row.expanded .expand-item{grid-template-columns:30px minmax(0,1fr)!important;column-gap:8px!important}
  .product-row.expanded .expand-item-icon{width:28px!important;height:28px!important;min-width:28px!important}
  .product-row.expanded .expand-item-icon svg{width:17px!important;height:17px!important}
}

/* v0.54 — sticky context navigation.
   The header height is measured at runtime because mobile/desktop and category-strip states differ. */
.flow-nav:not([hidden]){
  position:sticky!important;
  top:var(--rxde-app-header-h, 0px)!important;
  z-index:44!important;
  background:rgba(255,255,255,.985)!important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:0 4px 12px rgba(35,55,62,.045);
}
.flow-history-menu{z-index:80!important}
@media(max-width:760px){
  .flow-nav:not([hidden]){
    top:var(--rxde-app-header-h, 0px)!important;
    box-shadow:0 3px 9px rgba(35,55,62,.04);
  }
}

/* v0.55 — state 2 is verification only: no medium photo, no collapse hint */
.product-expand .expand-visual.expand-verify-only,
.order-inline-expand .order-expand-visual.order-expand-verify-only {
  display: block !important;
  grid-template-columns: none !important;
}
.product-expand .expand-verify-only .expand-copy,
.order-inline-expand .order-expand-verify-only .expand-grid {
  width: 100%;
  min-width: 0;
}
.product-expand .expand-verify-only .expand-grid,
.order-inline-expand .order-expand-verify-only .expand-grid {
  width: 100%;
}
.product-expand .expand-hint,
.order-inline-expand .expand-hint {
  display: none !important;
}


/* v0.57 — compact category context + explicit search scope */
.search-scope-button{
  flex:0 0 auto;max-width:210px;height:36px;margin-left:7px;padding:0 10px;
  display:inline-flex;align-items:center;gap:4px;border:1px solid #d6e0e3;border-radius:9px;
  background:#f7faf9;color:#45615b;font:inherit;font-size:11px;font-weight:650;cursor:pointer;white-space:nowrap;
}
.search-scope-button strong{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#294b44;font-size:11.5px}
.search-scope-prefix{color:#7b898d;font-weight:560}.search-scope-caret{margin-left:2px;color:#6d8083}
.search-wrap .search-icon{position:static;flex:0 0 20px;margin-left:11px}
.search-wrap .search-input{padding-left:10px;min-width:0}
.search-scope-menu{
  position:absolute;left:0;top:calc(100% + 5px);z-index:96;width:min(350px,calc(100vw - 28px));max-height:min(58vh,460px);overflow:auto;
  padding:6px;border:1px solid #cad7da;border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(31,55,64,.16)
}
.search-scope-menu[hidden]{display:none!important}
.scope-option{width:100%;min-height:42px;padding:7px 9px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border:0;border-radius:8px;background:transparent;color:#334d55;text-align:left;cursor:pointer}
.scope-option:hover{background:#f3f8f7}.scope-option.active{background:#edf6f3;color:#244c42}
.scope-option strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.scope-option small{color:#7a898d;font-size:10.5px;white-space:nowrap}
.flow-context-meta{color:#718187;font-size:11px;font-weight:610;white-space:nowrap}
.flow-nav{grid-template-columns:auto minmax(0,1fr) auto auto!important}
.flow-nav:has(.flow-back[hidden]){grid-template-columns:minmax(0,1fr) auto auto!important}
.flow-nav:has(.flow-back[hidden]) .flow-crumbs{grid-column:1!important}
body:not(.home-mode) .context-line[hidden]{display:none!important}
@media(min-width:761px){
  .flow-crumbs .crumb-current{font-size:12px!important;font-weight:800!important;color:#264d45!important}
}
@media(max-width:760px){
  .search-scope-button{max-width:122px;height:34px;padding:0 8px;margin-left:6px;font-size:10px}
  .search-scope-prefix{display:none}.search-scope-button strong{max-width:86px;font-size:10.5px}
  .search-wrap .search-icon{margin-left:8px;width:18px;height:18px}
  .search-wrap .search-input{font-size:16px;padding-left:7px}
  .flow-context-meta{display:none}
  .search-scope-menu{left:6px;width:min(320px,calc(100vw - 24px))}
}

/* v0.58 — persistent context navigation + stable history restore */
.flow-nav:not([hidden]){display:grid!important}
body.home-mode .flow-nav{
  border-bottom:1px solid #e2e9eb;
}
body.home-mode .flow-nav .flow-back{display:none!important}
body.home-mode .flow-nav .flow-crumbs{grid-column:1!important}
body.home-mode .flow-nav .crumb-current{color:#365f55;font-weight:800}
@media(max-width:760px){
  body.home-mode .flow-nav{display:block!important}
  body.home-mode .mobile-recent-trail{display:flex!important}
}


/* v0.59 — category is context, search is always global */
.search-stage{z-index:70}
.search-scope-button{position:relative;z-index:72}
.search-scope-button.open{border-color:#8aaeb1;background:#eef6f4;box-shadow:0 0 0 2px rgba(72,113,105,.08)}
.search-scope-menu{z-index:120}
.search-context-switch.dual-summary{min-height:40px;padding:8px 10px;align-items:center}
.search-context-switch.dual-summary .context-current{font-size:13px;font-weight:800;color:#274a43}
.search-context-switch.dual-summary .context-global-count{font-size:12px;font-weight:700;color:#526c73}
.search-context-switch.dual-summary.no-primary .context-current{color:#8a6f68;font-weight:700}
.search-context-switch.dual-summary.no-primary .context-global-count{color:#263f48;font-size:13px;font-weight:800}
.search-result-group.outside{margin-top:14px;border-top:1px solid #dde6e8;padding-top:4px}
.search-result-group.outside .search-group-head{display:flex!important;min-height:38px;padding:7px 8px}
.search-result-group.outside .search-group-head strong{font-size:12.5px;color:#425d64}
.search-result-group.outside .search-group-head em{display:none}
@media(max-width:760px){
  .search-context-switch.dual-summary{gap:6px;min-height:36px;padding:7px 8px;white-space:nowrap;overflow:hidden}
  .search-context-switch.dual-summary .context-current{font-size:11.5px;overflow:hidden;text-overflow:ellipsis}
  .search-context-switch.dual-summary .context-global-count{font-size:11px;flex:0 0 auto}
  .context-separator{font-size:11px}
}

/* v0.60 — primary category + internal tags */
.product-origin{
  display:inline-flex;
  align-items:center;
  gap:.32rem;
  margin-top:.28rem;
  padding:.18rem .48rem;
  border:1px solid #d8e3e0;
  border-radius:999px;
  background:#f5faf8;
  color:#49635d;
  font-size:.78rem;
  line-height:1.25;
  white-space:nowrap;
}
.product-origin strong{color:#274f45;font-weight:750}
.scope-menu{max-height:min(62vh,520px)}
@media (max-width:760px){
  .product-origin{font-size:.88rem;margin-top:.32rem;max-width:100%;white-space:normal}
  .scope-menu{max-height:min(60vh,460px)}
}

/* v0.61 — canonical layer map. Do not assign ad-hoc z-index values outside this scale. */
:root{
  --z-content:1;
  --z-sticky-nav:40;
  --z-header:50;
  --z-search:70;
  --z-dropdown:80;
  --z-order-preview:90;
  --z-modal:100;
  --z-modal-overlay:120;
  --z-toast:200;
}

/* Header is one stacking context. Keep the order/status row above the search row so
   its mini receipt can never be hidden by search/scope/suggestion layers. */
.app-header{z-index:var(--z-header)!important;overflow:visible!important}
.notebook-head{z-index:var(--z-order-preview)!important;overflow:visible!important}
.search-stage{z-index:var(--z-search)!important;overflow:visible!important}
.search-wrap{z-index:var(--z-search)!important}
.search-suggest,.search-scope-menu{z-index:var(--z-dropdown)!important}
.flow-nav:not([hidden]){z-index:var(--z-sticky-nav)!important}
.flow-history-menu{z-index:var(--z-dropdown)!important}

/* Order mini receipt must sit above all header dropdowns. */
.desktop-order-dock{z-index:1!important;overflow:visible!important}
.dock-hover-preview{
  z-index:var(--z-order-preview)!important;
  isolation:isolate;
}

/* Modal family always wins over the complete sticky header. */
.sheet-backdrop,.confirm-backdrop,.question-backdrop{z-index:var(--z-modal)!important}
.delete-backdrop,.delete-card,.toast{z-index:var(--z-modal-overlay)!important}

/* Avoid accidental clipping of header popovers introduced by future layout rules. */
.status-cluster,.brand-cluster{overflow:visible!important}
nn/* ===== v0.62: final order dock + flip calendar ===== */
/* The top-right order status is now click-only. No hover receipt/popover. */
.dock-hover-preview{display:none!important}

/* Calendar: small paper object tied visually to the RX red accent. */
.flip-date{
  position:relative;
  overflow:visible!important;
  width:60px;height:60px;
  grid-template-rows:16px 29px 15px;
  border:1px solid rgba(198,66,66,.52)!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:0 4px 10px rgba(72,51,51,.10),0 1px 2px rgba(72,51,51,.08)!important;
  isolation:isolate;
  transform:translateZ(0);
}
.flip-date::before,
.flip-date::after{
  content:"";
  position:absolute;
  z-index:-2;
  inset:3px -4px -4px 4px;
  border:1px solid rgba(198,66,66,.18);
  border-radius:8px;
  background:#fff;
}
.flip-date::after{
  z-index:-1;
  inset:1px -2px -2px 2px;
  background:#fffafa;
}
.flip-month{
  position:relative;
  z-index:2;
  background:linear-gradient(180deg,#d95a58,#c64242)!important;
  color:#fff!important;
  border-radius:8px 8px 0 0;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.09em!important;
  text-shadow:0 1px 0 rgba(80,0,0,.12);
}
.flip-month::before,
.flip-month::after{
  content:"";
  position:absolute;
  top:-4px;
  width:4px;height:8px;
  border-radius:3px;
  background:#f7f9f9;
  box-shadow:0 0 0 1px rgba(91,105,110,.16);
}
.flip-month::before{left:14px}.flip-month::after{right:14px}
.flip-day{
  position:relative;
  z-index:1;
  display:grid;place-items:center;
  height:100%;
  background:#fff;
  color:#24363e!important;
  font-variant-numeric:tabular-nums;
  transform-origin:50% 0%;
  backface-visibility:hidden;
}
.flip-year{
  position:relative;
  z-index:2;
  align-self:stretch;
  display:grid;place-items:center;
  background:linear-gradient(180deg,#fff,#fff8f7);
  border-radius:0 0 8px 8px;
}
.flip-date .flip-corner{display:none}
.flip-date::selection{background:transparent}
.flip-date.is-flipping .flip-day{
  animation:rxde-calendar-flip .31s cubic-bezier(.24,.75,.36,1);
}
@keyframes rxde-calendar-flip{
  0%{transform:perspective(180px) rotateX(0deg);filter:brightness(1)}
  46%{transform:perspective(180px) rotateX(-78deg);filter:brightness(.94)}
  47%{opacity:.15}
  52%{transform:perspective(180px) rotateX(38deg);opacity:.35}
  100%{transform:perspective(180px) rotateX(0deg);opacity:1;filter:brightness(1)}
}
/* folded lower corner, deliberately subtle */
.flip-date{--fold:9px}
.flip-date > .flip-year::after{
  content:"";
  position:absolute;
  right:0;bottom:0;
  width:var(--fold);height:var(--fold);
  border-radius:0 0 7px 0;
  background:linear-gradient(135deg,rgba(198,66,66,.08) 0 48%,#ead8d6 49% 52%,#fff 53% 100%);
  pointer-events:none;
}
@media (max-width:760px){
  .flip-date{width:48px!important;height:50px!important;grid-template-rows:13px 25px 12px!important;border-radius:8px!important}
  .flip-month{font-size:9px!important;border-radius:7px 7px 0 0!important}
  .flip-month::before{left:11px}.flip-month::after{right:11px}
  .flip-day{font-size:20px!important}
  .flip-year{font-size:9px!important}
}

/* Final manager check: one accounting-like row model everywhere. */
.mini-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
}
.mini-row .mini-main{min-width:0}
.mini-row .mini-title{display:flex;align-items:baseline;gap:7px;min-width:0}
.mini-row .mini-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mini-row .mini-calc{display:block;margin-top:3px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.mini-row>strong{font-variant-numeric:tabular-nums;white-space:nowrap}
@media (max-width:760px){
  .mini-row{grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important}
  .mini-row .mini-calc{font-size:11px}
}


/* v0.63.2 — quiet rate-update leaf turn. */
.flip-date.rate-check-flip .flip-day{animation:rxdeRateLeaf .48s cubic-bezier(.22,.75,.2,1)}
@keyframes rxdeRateLeaf{
  0%{transform:perspective(420px) rotateX(0deg) translateY(0);filter:brightness(1)}
  42%{transform:perspective(420px) rotateX(-15deg) translateY(-1px);filter:brightness(1.025)}
  100%{transform:perspective(420px) rotateX(0deg) translateY(0);filter:brightness(1)}
}
@media (prefers-reduced-motion:reduce){.flip-date.rate-check-flip .flip-day{animation:none}}


/* v0.64 — compact no-layout-shift calendar. Same visual height as order status. */
.flip-date{width:46px!important;height:46px!important;grid-template-rows:13px 33px!important;border-radius:8px!important;contain:layout paint}
.flip-month{font-size:8.5px!important;border-radius:7px 7px 0 0!important}
.flip-month::before{left:10px!important}.flip-month::after{right:10px!important}
.flip-day{font-size:20px!important;border-radius:0 0 7px 7px!important}
.flip-year{display:none!important}.flip-date > .flip-year::after{display:none!important}
@media(max-width:760px){.flip-date{width:42px!important;height:42px!important;grid-template-rows:12px 30px!important}.flip-day{font-size:18px!important}}


/* ===== v0.65 — zero-layout-shift nav, elapsed-days calendar, explicit row delete ===== */
/* The navigation bar exists in the first HTML layout. JS only fills its content. */
.flow-nav.nav-booting > *{visibility:hidden!important}

/* Do not show a placeholder 00 while JS resolves the local date. */
.flip-day:not(.date-ready){color:transparent!important}

/* A real paper leaf overlays the fixed-size calendar; flipping never changes layout. */
.flip-date{perspective:520px!important;overflow:visible!important;contain:layout paint!important}
.flip-leaf{
  position:absolute;inset:0;z-index:8;display:grid;grid-template-rows:13px 33px;
  border:1px solid rgba(198,66,66,.52);border-radius:8px;background:#fff;
  box-shadow:0 5px 10px rgba(72,51,51,.12);transform-origin:50% 0%;
  opacity:0;pointer-events:none;overflow:hidden;backface-visibility:hidden;
}
.flip-leaf-month{display:grid;place-items:center;background:linear-gradient(180deg,#d95a58,#c64242);color:#fff;font-size:8.5px;font-weight:800;letter-spacing:.09em}
.flip-leaf-day{position:relative;display:grid;place-items:center;background:#fff;color:#24363e;font-size:20px;font-weight:770;font-variant-numeric:tabular-nums}
.flip-leaf::before,.flip-leaf::after{content:"";position:absolute;pointer-events:none}
/* curling/folded lower-right paper corner — grows while the sheet turns */
.flip-leaf::after{right:0;bottom:0;width:13px;height:13px;z-index:12;background:linear-gradient(135deg,transparent 0 45%,#e8cecb 46% 51%,#fff6f5 52% 100%);clip-path:polygon(0 100%,100% 0,100% 100%);transform-origin:100% 100%;opacity:.25}
.flip-leaf::before{left:7px;right:7px;bottom:2px;height:4px;border-radius:50%;background:rgba(75,42,42,.12);filter:blur(2px);opacity:0}
.flip-leaf.turning{opacity:1;animation:rxdeElapsedLeaf .70s cubic-bezier(.25,.72,.25,1) both}
.flip-leaf.turning::after{animation:rxdeFoldCorner .70s ease-in-out both}
.flip-leaf.turning::before{animation:rxdeLeafShadow .70s ease-in-out both}
@keyframes rxdeElapsedLeaf{
  0%{transform:perspective(520px) rotateX(0deg) translateY(0);opacity:1;filter:brightness(1)}
  28%{transform:perspective(520px) rotateX(-28deg) translateY(-1px);opacity:1;filter:brightness(1.02)}
  62%{transform:perspective(520px) rotateX(-88deg) translateY(3px);opacity:.92;filter:brightness(.94)}
  100%{transform:perspective(520px) rotateX(-116deg) translateY(8px);opacity:0;filter:brightness(.90)}
}
@keyframes rxdeFoldCorner{0%{transform:scale(.45);opacity:.18}42%{transform:scale(1.45) rotate(5deg);opacity:.9}100%{transform:scale(.8) rotate(10deg);opacity:.25}}
@keyframes rxdeLeafShadow{0%{opacity:0;transform:scaleX(.7)}55%{opacity:.7;transform:scaleX(1)}100%{opacity:0;transform:scaleX(.75)}}
@media(max-width:760px){.flip-leaf{grid-template-rows:12px 30px}.flip-leaf-month{font-size:8px}.flip-leaf-day{font-size:18px}}
@media(prefers-reduced-motion:reduce){.flip-leaf{display:none!important}}

/* Restore explicit whole-item removal. It has its own grid cell, never shares the qty controls. */
.order-product-row .compact-delete{display:grid!important;place-items:center;line-height:1;font-family:Arial,sans-serif}
@media(max-width:760px){
  .order-product-row{
    grid-template-columns:46px minmax(0,1fr) 90px 24px!important;
    grid-template-areas:
      "photo info total del"
      "photo unit qty del"
      "expand expand expand expand"!important;
    gap:4px 6px!important;
  }
  .order-product-row .compact-delete{
    position:static!important;grid-area:del!important;align-self:center!important;justify-self:center!important;
    width:24px!important;height:30px!important;transform:none!important;border-radius:8px!important;
    font-size:18px!important;color:#9f625d!important;background:transparent!important;
  }
  .order-product-row .compact-delete:active{background:#fff0ee!important}
  .order-line-total{min-width:0!important}
}

/* v0.66 — dense pre-send verification receipt */
.mini-receipt{
  padding:6px 10px;
  background:#fff;
}
.mini-row{
  display:grid;
  grid-template-columns:28px minmax(0,1fr) 94px;
  gap:7px;
  min-height:0;
  align-items:center;
  padding:7px 0;
  border-bottom:1px dotted #dfe5e7;
}
.mini-num{
  align-self:start;
  padding-top:1px;
  margin:0;
  font-style:normal;
  font-weight:760;
  color:#58758a;
  font-variant-numeric:tabular-nums;
}
.mini-copy{min-width:0;line-height:1.25}
.mini-name{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  font-weight:650;
  color:var(--text);
}
.mini-meta{
  margin-top:2px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10.5px;
  color:var(--muted);
}
.mini-meta b{font-weight:700;color:#566b76}
.mini-values{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  min-width:0;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.mini-values small{font-size:10px;color:var(--muted);line-height:1.1}
.mini-values strong{margin-top:2px;font-size:12px;font-weight:760;white-space:nowrap}
.mini-logistics .mini-name{font-weight:700}
.mini-total{
  position:sticky;
  bottom:0;
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:12px;
  margin-top:0;
  padding:10px 0 5px;
  border-top:1px solid var(--line);
  background:#fff;
}
.mini-total>span{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px;font-size:12px;color:var(--text)}
.mini-total>span small{flex-basis:100%;margin-top:2px;font-size:9.5px;color:var(--muted)}
.mini-total strong{font-size:20px;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}

@media(max-width:640px){
  .mini-receipt{padding:5px 8px}
  .mini-row{grid-template-columns:25px minmax(0,1fr) 82px;gap:5px;padding:6px 0}
  .mini-name{font-size:11.5px}
  .mini-meta{font-size:9.5px}
  .mini-values strong{font-size:11.5px}
  .mini-total strong{font-size:18px}
}

/* v0.67 — isolated pre-send ledger. Deliberately does not reuse legacy .mini-row classes. */
.presend-row{
  display:grid;
  grid-template-columns:26px minmax(0,1fr) 48px 78px;
  column-gap:7px;
  align-items:center;
  min-height:43px;
  padding:6px 0;
  border-bottom:1px dotted #dfe5e7;
  font-variant-numeric:tabular-nums;
}
.presend-num{align-self:start;padding-top:1px;font-style:normal;font-weight:760;color:#58758a;white-space:nowrap}
.presend-copy{min-width:0;overflow:hidden}
.presend-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:690;color:var(--text)}
.presend-meta{margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.2px;color:var(--muted)}
.presend-meta b{font-weight:720;color:#536a76}
.presend-qty{text-align:right;white-space:nowrap;font-size:11px;color:#536a76}
.presend-qty small{display:none}
.presend-sum{text-align:right;white-space:nowrap;font-size:12.5px;font-weight:780;color:var(--text)}
.presend-logistics .presend-name{font-weight:720}
.presend-total{
  position:sticky;bottom:0;z-index:2;
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;
  padding:9px 0 5px;border-top:1px solid var(--line);background:#fff;
}
.presend-total>span{display:flex;align-items:baseline;gap:9px;min-width:0;font-size:12px;color:var(--text)}
.presend-total>span b{white-space:nowrap}
.presend-total>span small{color:var(--muted);white-space:nowrap}
.presend-total>strong{font-size:20px;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:640px){
  .mini-receipt{padding:5px 7px}
  .presend-row{grid-template-columns:23px minmax(0,1fr) 40px 68px;column-gap:5px;min-height:42px;padding:6px 0}
  .presend-name{font-size:11.3px}
  .presend-meta{font-size:9.3px}
  .presend-qty{font-size:10px}
  .presend-sum{font-size:11.5px}
  .presend-total>span{gap:6px;font-size:11px}
  .presend-total>span small{font-size:9px}
  .presend-total>strong{font-size:18px}
}
@media(max-width:420px){
  .presend-row{grid-template-columns:21px minmax(0,1fr) 36px 62px;column-gap:4px}
  .presend-meta{font-size:9px}
  .presend-total>span small{display:none}
}


/* v0.68 — visual mode separation: neutral catalog / warm notebook order sheet */
.sheet-backdrop{
  background:rgba(24,31,34,.56);
  backdrop-filter:blur(3px) saturate(.92);
}
.order-sheet{
  --order-paper:#fffaf0;
  --order-paper-deep:#f4ecd9;
  --order-rule:rgba(105,132,144,.10);
  --order-margin:rgba(196,100,95,.12);
  border-color:#ddd4c4;
  background:
    linear-gradient(90deg,transparent 0 35px,var(--order-margin) 35px 36px,transparent 36px),
    repeating-linear-gradient(to bottom,transparent 0 31px,var(--order-rule) 31px 32px),
    var(--order-paper);
  box-shadow:0 24px 70px rgba(34,40,42,.26),0 2px 8px rgba(80,67,43,.08);
  overflow:visible;
}
.order-sheet::after{
  content:"";
  position:absolute;
  z-index:1;
  left:8px;right:8px;bottom:-7px;
  height:12px;
  border-radius:0 0 15px 15px;
  background:var(--order-paper-deep);
  box-shadow:0 4px 9px rgba(70,59,42,.12);
  pointer-events:none;
}
.order-sheet > *{position:relative;z-index:2}
.notebook-clips{
  position:absolute!important;
  z-index:8!important;
  top:-12px;left:92px;
  display:flex;gap:56px;
  pointer-events:none;
}
.notebook-clips i{
  display:block;width:18px;height:28px;
  border:3px solid #9ca3a1;border-bottom-width:2px;
  border-radius:9px 9px 6px 6px;
  background:linear-gradient(90deg,#fafbfa 0 29%,#c8cecb 30% 43%,#fafbfa 44% 100%);
  box-shadow:0 4px 7px rgba(45,50,48,.14);
}
.notebook-clips i::after{
  content:"";position:absolute;width:8px;height:8px;margin:23px 0 0 2px;
  border-radius:50%;background:#e8dfca;border:1px solid rgba(120,105,82,.16);
}
.sheet-header{
  min-height:78px;
  padding-top:20px;
  background:linear-gradient(180deg,rgba(255,253,246,.96),rgba(255,249,237,.88));
  border-bottom-color:rgba(151,137,110,.22);
  border-radius:18px 18px 0 0;
}
.sheet-header:before{background:rgba(196,100,95,.18)}
.sheet-title-block h2{color:#1f292c}
.sheet-header p{color:#756e61;font-weight:620}
.order-header-status{
  background:rgba(255,255,255,.62)!important;
  border-color:rgba(177,157,123,.34)!important;
}
.sheet-toolbar{background:rgba(255,250,239,.70);border-bottom-color:rgba(151,137,110,.18)}
.order-lines{background:rgba(255,252,245,.38)}
.order-product-row{border-bottom-color:rgba(140,133,117,.19)}
.order-product-row:hover{background:rgba(255,255,255,.48)}
.order-product-row.dragging{background:rgba(240,246,240,.78)}
.order-thumb{border-color:#ded8cb;background:rgba(255,255,255,.84)}
.order-inline-expand{border-top-color:rgba(140,133,117,.24)}
.compact-logistics-line{border-color:rgba(140,133,117,.20)}
.sheet-footer{
  position:relative;
  background:linear-gradient(180deg,rgba(255,253,247,.96),#fffaf0);
  border-top-color:rgba(151,137,110,.24);
  border-radius:0 0 18px 18px;
}
/* Final confirmation remains a clean white verification document. */
.confirm-card{background:#fff}

@media(max-width:760px){
  .order-sheet{
    background:
      linear-gradient(90deg,transparent 0 18px,var(--order-margin) 18px 19px,transparent 19px),
      repeating-linear-gradient(to bottom,transparent 0 28px,var(--order-rule) 28px 29px),
      var(--order-paper);
  }
  .notebook-clips{top:-9px;left:54px;gap:40px}
  .notebook-clips i{width:14px;height:22px;border-width:2px;border-bottom-width:2px;border-radius:7px 7px 5px 5px}
  .notebook-clips i::after{width:6px;height:6px;margin:18px 0 0 2px}
  .sheet-header{min-height:62px;padding-top:11px}
  .sheet-header p{display:none}
  .sheet-toolbar{background:rgba(255,250,239,.78)}
}

/* ===== v0.69 — warm active order row + restrained paper depth ===== */
.order-product-row{
  position:relative;
  transition:background-color .14s ease, box-shadow .14s ease, transform .14s ease, border-color .14s ease;
  transform-origin:center center;
}

/* Mouse/trackpad only: the active line becomes a slightly richer sheet of paper. */
@media (hover:hover) and (pointer:fine){
  .order-product-row:hover{
    background:#f8edcf!important;
    box-shadow:
      0 7px 13px rgba(83,67,39,.075),
      0 1px 2px rgba(83,67,39,.08),
      inset 0 1px 0 rgba(255,255,255,.72);
    transform:translateY(-1px) scale(1.0015);
    z-index:4;
  }
  .order-product-row:hover .order-thumb{
    background:#fffaf0!important;
    box-shadow:0 3px 8px rgba(83,67,39,.06);
  }
  .order-product-row:hover .order-num-badge{
    box-shadow:0 3px 7px rgba(24,117,171,.16);
  }
}

/* Keyboard focus gets the same location cue without movement. */
.order-product-row:focus-within{
  background:#f8edcf;
}

/* Do not create hover/lift artefacts on touch devices. */
@media (hover:none), (pointer:coarse), (max-width:760px){
  .order-product-row,
  .order-product-row:hover,
  .order-product-row:focus-within{
    transform:none!important;
    box-shadow:none!important;
  }
  .order-product-row:focus-within{
    background:#f8edcf!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .order-product-row{transition:none!important}
  .order-product-row:hover{transform:none!important}
}

/* ===== v0.70 — fixed notebook paper, guaranteed PZN row, unnumbered DHL ===== */
/* The notebook ruling belongs to the sheet. Product rows never translate/scale over it. */
.order-product-row{
  transform:none!important;
  transform-origin:initial!important;
  transition:background-color .12s ease,box-shadow .12s ease,border-color .12s ease!important;
}
@media (hover:hover) and (pointer:fine){
  .order-product-row:hover{
    background:#f8edcf!important;
    transform:none!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.66),inset 0 -1px 0 rgba(157,133,91,.10)!important;
    z-index:auto!important;
  }
  .order-product-row:hover .order-thumb{
    background:#fffaf0!important;
    box-shadow:none!important;
  }
  .order-product-row:hover .order-num-badge{
    box-shadow:0 2px 6px rgba(8,120,183,.18)!important;
  }
}
.order-product-row:focus-within{background:#f8edcf!important;transform:none!important;box-shadow:none!important}

/* Order identity uses three stable reading lines: name / form+maker / PZN. */
.order-product-info{align-self:center;min-width:0}
.order-meta{
  display:block!important;
  margin-top:4px!important;
  overflow:visible!important;
  white-space:normal!important;
  text-overflow:clip!important;
  line-height:1.18!important;
}
.order-meta-primary{
  display:block;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:var(--muted);
  font-size:11px;
}
.order-pzn-row{
  display:flex;
  align-items:center;
  gap:5px;
  min-height:20px;
  margin-top:2px;
  color:#50636b;
  font-size:10.8px;
  font-weight:620;
  white-space:nowrap;
}
.order-pzn-copy{width:20px!important;height:20px!important;min-width:20px!important;margin:0!important}
.order-product-row{min-height:88px}

/* DHL is obligatory logistics, not a numbered product position. */
.presend-logistics .presend-num{visibility:hidden}
.presend-logistics{background:rgba(247,250,249,.58)}

@media(max-width:760px){
  .order-product-row{min-height:82px!important;padding-top:7px!important;padding-bottom:7px!important}
  .order-title-line{min-width:0}
  .order-expand-title{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .order-meta{margin-top:2px!important}
  .order-meta-primary{font-size:9.7px;line-height:1.15}
  .order-pzn-row{margin-top:1px;min-height:18px;font-size:10px;line-height:18px}
  .order-pzn-copy{width:18px!important;height:18px!important;min-width:18px!important;font-size:10px!important}
  /* Keep the paper calm on touch: no motion feedback, only a warm active tint. */
  .order-product-row,.order-product-row:hover,.order-product-row:focus-within{transform:none!important;box-shadow:none!important}
}

/* ===== v0.71 — notebook ruling scrolls with the order content ===== */
/* The outer sheet is plain paper. Ruling belongs to the scrollable order body and
   uses background-attachment: local so it travels with the product rows. */
.order-sheet{
  background:var(--order-paper)!important;
}
.order-lines{
  background:
    linear-gradient(90deg,transparent 0 35px,var(--order-margin) 35px 36px,transparent 36px),
    repeating-linear-gradient(to bottom,transparent 0 31px,var(--order-rule) 31px 32px),
    rgba(255,252,245,.38)!important;
  background-attachment:local!important;
  background-origin:padding-box!important;
}
@media(max-width:760px){
  .order-sheet{background:var(--order-paper)!important}
  .order-lines{
    background:
      linear-gradient(90deg,transparent 0 18px,var(--order-margin) 18px 19px,transparent 19px),
      repeating-linear-gradient(to bottom,transparent 0 28px,var(--order-rule) 28px 29px),
      rgba(255,252,245,.38)!important;
    background-attachment:local!important;
  }
}

/* v0.73 — EUR-first order arithmetic. RUB on lines is an informational equivalent only. */
.presend-sum{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.presend-sum small{font-size:9.5px;font-weight:500;color:var(--muted)}
.presend-rub-hint{margin-left:5px;color:var(--muted);font-weight:500;white-space:nowrap}
.order-summary small:not([hidden]){display:block;color:var(--muted);font-size:10px}
@media(max-width:760px){
  .presend-rub-hint{display:none}
  .presend-sum small{font-size:9px}
}


/* v0.75 — mobile parity: persistent Recent control + visible EUR/RUB calculation */
@media(max-width:760px){
  .mobile-recent-trail{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important}
  .mobile-recent-trail .recent-more-labeled{
    margin-left:auto!important;flex:0 0 auto!important;width:auto!important;min-width:78px!important;max-width:none!important;
    height:27px!important;padding:0 8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;
    border:1px solid #d5e0e3!important;border-radius:999px!important;background:#f8fbfb!important;color:#45636c!important;
    font-size:10px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;
  }
  .mobile-recent-trail>button:not(.recent-more-labeled){max-width:24vw!important}
  .mobile-struct-current{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:420px){
  .presend-total{grid-template-columns:1fr auto!important;gap:7px!important;align-items:end!important;padding-top:8px!important}
  .presend-total>span{display:flex!important;flex-wrap:wrap!important;gap:3px 7px!important;line-height:1.2!important}
  .presend-total>span small{
    display:block!important;flex-basis:100%!important;margin-top:2px!important;white-space:normal!important;
    font-size:9px!important;line-height:1.25!important;color:var(--muted)!important;
  }
  .presend-total>strong{align-self:end!important;font-size:18px!important}
}

/* ===== v0.76 — desktop brand zone + warm expanded order row ===== */
/* The whole RXDE service identity is one obvious Home target on laptop/desktop. */
@media (min-width:761px) and (hover:hover) and (pointer:fine){
  .brand-cluster{
    cursor:pointer;
    border-radius:10px;
    padding:4px 6px 4px 2px;
    margin:-4px -6px -4px -2px;
    transition:background-color .12s ease;
  }
  .brand-cluster:hover{background:rgba(255,255,255,.42)}
  .brand-cluster:active{background:rgba(248,237,207,.52)}
}

/* Expanded/verified order row is an active warm paper state, never a cold warning state. */
.order-product-row.order-expanded,
.order-product-row.order-expanded:hover,
.order-product-row.order-expanded:focus-within{
  background:#f8edcf!important;
  border-bottom-color:rgba(157,133,91,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68),inset 0 -1px 0 rgba(157,133,91,.10)!important;
  transform:none!important;
}
.order-product-row.order-expanded .order-thumb{
  background:#fffaf0!important;
  border-color:#ddcfad!important;
}


/* ===== v0.78 — visual rebuild matched to approved render ===== */
:root{
  --rm-blue:#eaf4fb;
  --rm-blue-ink:#4b79a2;
  --rm-paper:#fffaf0;
  --rm-paper-2:#fdf2dc;
  --rm-paper-line:rgba(91,135,161,.115);
  --rm-paper-red:rgba(211,79,66,.42);
  --rm-amber:#e9a51a;
  --rm-amber-2:#f5c957;
  --rm-amber-soft:#fff2c7;
  --rm-ink:#1f3038;
  --rm-muted:#617987;
}

html{
  background-color:var(--rm-blue)!important;
  background-image:
    url("assets/render-match/logistics-left.webp"),
    url("assets/render-match/logistics-right.webp"),
    linear-gradient(180deg,#e9f4fb 0%,#eef7fc 55%,#e9f4fb 100%)!important;
  background-repeat:no-repeat,no-repeat,no-repeat!important;
  background-position:left top,right top,center top!important;
  background-size:auto 100vh,auto 100vh,100% 100%!important;
  background-attachment:fixed,fixed,fixed!important;
}
body{background:transparent!important}

.paper-shell{
  width:min(1360px,calc(100vw - 300px))!important;
  max-width:1360px!important;
  min-height:100vh;
  margin:0 auto!important;
  background:#fff!important;
  border-left:1px solid rgba(59,101,126,.11)!important;
  border-right:1px solid rgba(59,101,126,.11)!important;
  box-shadow:0 0 36px rgba(50,79,96,.08)!important;
}

/* Header keeps the clean white service surface from the approved render. */
.notebook-head{
  min-height:86px!important;
  padding:15px 24px 11px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(255,255,255,.96))!important;
  border-bottom:1px solid rgba(58,91,107,.08)!important;
}
.brand-cluster{gap:13px!important}
.brand-rx{border-color:#e8564e!important;background:#fff!important;color:#d63f39!important}
.brand-copy strong{color:#172b34!important;font-weight:800!important}
.brand-copy span{color:#5b7280!important}

/* Cart = deliberate warm action/state. */
.desktop-order-dock.order-status-standard{
  border:1px solid #e8b849!important;
  background:linear-gradient(180deg,#fff0b9 0%,#ffdc78 100%)!important;
  color:#21343b!important;
  box-shadow:0 5px 13px rgba(179,127,24,.16),inset 0 1px 0 rgba(255,255,255,.72)!important;
}
.desktop-order-dock.order-status-standard:hover,
.desktop-order-dock.order-status-standard:focus-visible{
  background:linear-gradient(180deg,#ffeaa3 0%,#ffd360 100%)!important;
  border-color:#d89b17!important;
  transform:translateY(-1px);
}

/* SEARCH: one warm desk mat, two independent white controls. No border-inside-border. */
.search-stage{
  padding:9px 20px 12px!important;
  background:#fff!important;
}
.search-wrap{
  display:grid!important;
  grid-template-columns:minmax(220px,280px) minmax(0,1fr)!important;
  gap:12px!important;
  align-items:stretch!important;
  min-height:62px!important;
  padding:7px!important;
  border:1px solid #efbd49!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,#fff3ca,#ffeeb9)!important;
  box-shadow:0 0 0 2px rgba(243,184,48,.12),inset 0 1px 0 rgba(255,255,255,.75)!important;
}
.search-scope-button{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid #d9d6ca!important;
  border-radius:9px!important;
  background:#fffdf9!important;
  box-shadow:0 2px 6px rgba(49,63,69,.055)!important;
  color:#425763!important;
}
.search-scope-button:hover,.search-scope-button[aria-expanded="true"]{
  border-color:#e2b33d!important;
  background:#fff9ea!important;
}
.search-main-field{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 38px;
  align-items:center;
  min-width:0;
  border:1px solid #d8d4c8;
  border-radius:9px;
  background:#fff;
  box-shadow:0 2px 6px rgba(49,63,69,.055);
  transition:border-color .15s ease,box-shadow .15s ease;
}
.search-main-field:focus-within{
  border-color:#d89f1d;
  box-shadow:0 0 0 2px rgba(233,165,26,.13),0 3px 10px rgba(112,81,22,.08);
}
.search-main-field .search-icon{margin-left:9px!important;color:#213c49!important}
.search-main-field .search-input{height:46px!important;padding:0 7px!important;background:transparent!important}
.search-main-field .clear-search{position:static!important;width:38px!important;height:46px!important;margin:0!important}

/* Notebook navigation = distinct physical divider, matched to approved render. */
.flow-nav{
  position:sticky!important;
  top:var(--sticky-header-offset,0px)!important;
  z-index:20!important;
  min-height:72px!important;
  padding:10px 22px 10px 74px!important;
  margin:0 -18px!important;
  border:1px solid #e5d2aa!important;
  border-left:0!important;border-right:0!important;
  border-radius:0!important;
  background:
    linear-gradient(var(--rm-paper-line) 1px,transparent 1px),
    linear-gradient(90deg,transparent 0 58px,var(--rm-paper-red) 58px 59px,transparent 59px),
    url("assets/render-match/paper-texture.webp"),
    linear-gradient(180deg,#fff8e8,#fdf0d8)!important;
  background-size:100% 23px,100% 100%,360px 100px,100% 100%!important;
  box-shadow:0 8px 16px rgba(88,68,31,.15),inset 0 1px 0 rgba(255,255,255,.7)!important;
  overflow:visible!important;
}
.flow-nav::before{
  content:"";
  position:absolute;
  left:8px;top:-4px;bottom:-4px;width:46px;
  background:
    radial-gradient(ellipse at center,#252c2d 0 3px,#727b79 3.5px 5px,#d9ddd8 5.5px 7px,transparent 7.5px) 14px 9px/26px 24px repeat-y;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.22));
  pointer-events:none;
}
.flow-nav::after{
  content:"";
  position:absolute;right:-25px;top:18px;width:34px;height:34px;
  background:linear-gradient(90deg,#2675a8,#3d93c9);
  clip-path:polygon(0 0,100% 0,78% 50%,100% 100%,0 100%);
  filter:drop-shadow(0 3px 3px rgba(42,91,124,.18));
  z-index:-1;
}
.flow-back{
  position:relative!important;
  min-width:220px!important;
  height:48px!important;
  padding:0 18px!important;
  border:1px solid #e2cfaa!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#fffdf7,#fff3dc)!important;
  color:#263b44!important;
  box-shadow:0 5px 10px rgba(83,64,29,.16),inset 0 1px 0 #fff!important;
  font-weight:800!important;
}
.flow-back::after{
  content:"";position:absolute;left:18px;right:18px;bottom:-2px;height:2px;background:#c9433e;border-radius:2px;
}
.flow-back:not(:disabled):hover{background:#fff0cd!important;border-color:#ddad42!important}
.flow-crumbs{gap:10px!important;margin-left:10px!important}
.flow-crumbs button:first-child{color:#2d6f98!important;font-weight:800!important}
.flow-crumbs strong{color:#1f3038!important;font-weight:800!important}
.flow-context-meta{margin-left:auto!important;color:#516c7a!important;font-weight:650!important}
.flow-history-toggle{
  min-height:40px!important;
  padding:0 15px!important;
  border:1px solid #ddceb0!important;
  border-radius:10px!important;
  background:rgba(255,252,244,.82)!important;
  color:#273f49!important;
  box-shadow:0 2px 5px rgba(79,61,30,.05)!important;
}
.flow-history-toggle:hover,.flow-history-toggle[aria-expanded="true"]{background:#fff0c8!important;border-color:#d6a638!important}

/* Main list remains clean white; approved render uses paper only for structural notebook pieces. */
.workspace{background:#fff!important}
.product-row.selected,
.product-row[data-expand-row].expanded{
  background:linear-gradient(90deg,#fff3c7 0%,#fff8e8 55%,#fff0c0 100%)!important;
  box-shadow:inset 3px 0 0 #df9e0d!important;
}
.product-row.selected:hover,
.product-row[data-expand-row].expanded:hover{background:linear-gradient(90deg,#ffedb4,#fff5d8 55%,#ffe8a6)!important}

/* Footer is a physical notebook strip in exactly the same visual family as navigation. */
.site-footer.notebook-footer{
  position:relative!important;
  width:calc(100% + 36px)!important;
  max-width:none!important;
  margin:18px -18px 0!important;
  padding:16px 24px 15px 82px!important;
  grid-template-columns:1.05fr 1.05fr 1fr auto!important;
  gap:24px!important;
  border:1px solid #dfc99d!important;
  border-left:0!important;border-right:0!important;
  border-radius:10px 10px 0 0!important;
  background:
    linear-gradient(var(--rm-paper-line) 1px,transparent 1px),
    linear-gradient(90deg,transparent 0 58px,var(--rm-paper-red) 58px 59px,transparent 59px),
    url("assets/render-match/paper-texture.webp"),
    linear-gradient(180deg,#fff8e8,#fdefd5)!important;
  background-size:100% 23px,100% 100%,360px 100px,100% 100%!important;
  box-shadow:0 -7px 15px rgba(87,66,28,.11)!important;
  color:#34658c!important;
}
.site-footer.notebook-footer::before{
  content:"";position:absolute;left:8px;top:0;bottom:0;width:46px;
  background:radial-gradient(ellipse at center,#252c2d 0 3px,#727b79 3.5px 5px,#d9ddd8 5.5px 7px,transparent 7.5px) 14px 9px/26px 24px repeat-y;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.22));
}
.footer-note{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important;align-items:center!important}
.footer-note>i{
  width:38px!important;height:38px!important;border:0!important;border-radius:0!important;background:transparent!important;
  color:#4e7ca3!important;font-size:22px!important;
}
.site-footer.notebook-footer .footer-note span{
  display:flex!important;flex-direction:column!important;gap:1px!important;color:#416f96!important;
  font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive!important;font-size:11px!important;line-height:1.35!important;
}
.site-footer.notebook-footer .footer-note b{font-family:inherit!important;color:#315f86!important;font-size:11.3px!important}
.site-footer.notebook-footer .footer-question{
  align-self:center!important;border:1px solid #dca52e!important;background:linear-gradient(180deg,#fff0b8,#ffdc79)!important;color:#3e351d!important;
  box-shadow:0 4px 10px rgba(165,112,15,.11)!important;
}

/* Order sheet shares the notebook hardware/paper family. */
.order-sheet{border-color:#e0c47e!important;box-shadow:0 23px 60px rgba(43,48,46,.27)!important}
.sheet-header{background:linear-gradient(180deg,#fffdf6,#fff8e9)!important}
.notebook-clips i{background:linear-gradient(90deg,#596264 0 18%,#dfe3df 18% 82%,#687173 82% 100%)!important;box-shadow:0 2px 5px rgba(25,34,35,.2)!important}

@media(max-width:1250px){
  .paper-shell{width:calc(100vw - 160px)!important}
  html{background-size:120px 100vh,120px 100vh,100% 100%!important}
}
@media(max-width:980px){
  .paper-shell{width:100%!important;border:0!important}
  html{background:#fff!important}
  .flow-nav{margin:0!important}
  .site-footer.notebook-footer{width:100%!important;margin:12px 0 0!important}
}
@media(max-width:760px){
  html{background:#fff!important}
  .notebook-head{padding:8px 9px 5px!important;min-height:70px!important}
  .search-stage{padding:4px 7px 7px!important}
  .search-wrap{grid-template-columns:1fr!important;gap:5px!important;min-height:0!important;padding:5px!important;border-radius:10px!important}
  .search-scope-button{height:36px!important}
  .search-main-field{min-height:42px!important}
  .search-main-field .search-input{height:40px!important}
  .search-main-field .clear-search{height:40px!important}
  .flow-nav{
    min-height:38px!important;margin:0!important;padding:4px 8px!important;
    background:linear-gradient(180deg,#fff9ed,#fff3df)!important;
    border-top:1px solid #eadbbd!important;border-bottom:1px solid #eadbbd!important;
    box-shadow:none!important;
  }
  .flow-nav::before,.flow-nav::after{display:none!important}
  .flow-back{min-width:0!important;height:auto!important;padding:4px 6px!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .flow-back::after{display:none!important}
  .site-footer.notebook-footer{
    width:100%!important;margin:10px 0 0!important;padding:13px 12px!important;grid-template-columns:1fr!important;border-radius:0!important;
    background:linear-gradient(180deg,#fff9ed,#fff2dd)!important;
  }
  .site-footer.notebook-footer::before{display:none!important}
}

/* ===== v0.79 — clean render match: compact header, real binder rings, clean background ===== */
@media (min-width:981px){
  /* Preserve the approved blue illustrated side fields but never bake interface pixels into them. */
  html{
    background-color:#eaf4fb!important;
    background-image:
      url("assets/render-match/logistics-left.webp"),
      url("assets/render-match/logistics-right.webp"),
      linear-gradient(180deg,#e9f4fb 0%,#eef7fc 52%,#e8f3fa 100%)!important;
    background-repeat:no-repeat,no-repeat,no-repeat!important;
    background-position:left top,right top,center top!important;
    background-size:190px 100vh,190px 100vh,100% 100%!important;
    background-attachment:fixed,fixed,fixed!important;
  }
  .paper-shell{
    width:min(1360px,calc(100vw - 300px))!important;
    min-width:0!important;
  }

  /* Back to notebook-like proportions; v0.78 was vertically oversized. */
  .notebook-head{
    min-height:70px!important;
    padding:10px 24px 8px!important;
  }
  .brand-rx{width:38px!important;height:38px!important}
  .brand-copy strong{font-size:14px!important;line-height:1.15!important}
  .brand-copy span{font-size:11px!important;line-height:1.25!important;margin-top:2px!important}
  .header-rate{font-size:10.5px!important;line-height:1.25!important}
  .desktop-order-dock.order-status-standard{min-height:49px!important;padding:7px 13px!important}

  /* SEARCH — warm work surface, but two genuinely separate controls. */
  .search-stage{padding:7px 20px 9px!important}
  .search-wrap{
    grid-template-columns:minmax(215px,260px) minmax(0,1fr)!important;
    gap:10px!important;
    min-height:54px!important;
    padding:5px!important;
    border:1px solid #e6b33e!important;
    border-radius:12px!important;
    background:linear-gradient(180deg,#fff7df 0%,#fff1c7 100%)!important;
    box-shadow:0 2px 8px rgba(119,81,11,.08),inset 0 1px 0 rgba(255,255,255,.78)!important;
  }
  .search-scope-button{
    border-color:#ddcfaa!important;
    border-radius:8px!important;
    background:#fffaf0!important;
    box-shadow:none!important;
  }
  .search-main-field{
    border-color:#cfc9bb!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .search-main-field:focus-within{
    border-color:#dfa522!important;
    box-shadow:0 0 0 2px rgba(231,167,26,.12)!important;
  }

  /* NOTEBOOK NAV — compact physical divider, with real side binder loops. */
  .flow-nav{
    min-height:50px!important;
    padding:6px 18px 6px 64px!important;
    margin:0 -8px!important;
    border-top:1px solid #e3cca1!important;
    border-bottom:1px solid #ddc397!important;
    background:
      linear-gradient(var(--rm-paper-line) 1px,transparent 1px),
      linear-gradient(90deg,transparent 0 48px,var(--rm-paper-red) 48px 49px,transparent 49px),
      url("assets/render-match/paper-texture.webp"),
      linear-gradient(180deg,#fff9eb,#fdf0d7)!important;
    background-size:100% 20px,100% 100%,360px 100px,100% 100%!important;
    box-shadow:0 5px 11px rgba(82,61,28,.12),inset 0 1px 0 rgba(255,255,255,.75)!important;
  }
  /* Disable the old dotted pseudo hardware entirely. */
  .flow-nav::before{display:none!important}
  .flow-nav::after{right:-20px!important;top:10px!important;width:29px!important;height:29px!important}
  .flow-nav-rings{
    position:absolute;
    left:-19px;
    top:4px;
    bottom:4px;
    width:38px;
    display:flex;
    flex-direction:column;
    justify-content:space-around;
    pointer-events:none;
    z-index:5;
  }
  .flow-nav-rings i{
    position:relative;
    display:block;
    width:31px;
    height:9px;
    border:2.5px solid #3e4240;
    border-right-color:#777d79;
    border-radius:50%;
    background:transparent;
    box-shadow:0 1px 1px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.42);
  }
  .flow-nav-rings i::after{
    content:"";
    position:absolute;
    left:4px;right:4px;top:1px;
    height:2px;
    border-radius:2px;
    background:rgba(239,240,235,.72);
  }
  .flow-back{
    min-width:190px!important;
    height:36px!important;
    padding:0 14px!important;
    border-radius:7px!important;
    box-shadow:0 3px 7px rgba(83,64,29,.12),inset 0 1px 0 #fff!important;
  }
  .flow-crumbs{margin-left:8px!important;gap:8px!important;font-size:12px!important}
  .flow-context-meta{font-size:11px!important}
  .flow-history-toggle{min-height:34px!important;padding:0 13px!important;border-radius:9px!important;font-size:11.5px!important}

  /* Footer uses the same paper family, but remains compact. */
  .site-footer.notebook-footer{
    margin-top:14px!important;
    padding-top:12px!important;
    padding-bottom:11px!important;
    min-height:72px!important;
  }
}

@media(max-width:1250px) and (min-width:981px){
  html{background-size:140px 100vh,140px 100vh,100% 100%!important}
  .paper-shell{width:calc(100vw - 190px)!important}
  .flow-nav{margin:0!important}
}

@media(max-width:980px){
  .flow-nav-rings{display:none!important}
}

/* ===== v0.80 — Notebook index navigation ===== */
/* Search is now the single primary action. Categories live in the notebook index below. */
.search-wrap{
  display:block!important;
  min-height:52px!important;
  padding:5px!important;
}
.search-main-field{
  width:100%!important;
  min-height:42px!important;
}
.search-scope-button,.search-scope-menu{display:none!important}

/* Keep navigation at practically the same height: compact status row + index tabs sharing one paper strip. */
.flow-nav{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:25px 20px!important;
  align-items:stretch!important;
  min-height:50px!important;
  height:50px!important;
  padding:3px 14px 2px 58px!important;
  overflow:visible!important;
}
.flow-nav-main{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  height:25px!important;
}
.flow-nav-main .flow-back{
  min-width:0!important;
  width:auto!important;
  height:23px!important;
  padding:0 8px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:11px!important;
}
.flow-nav-main .flow-back::after{display:none!important}
.flow-nav-main .flow-crumbs{margin-left:0!important;font-size:11px!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important}
.flow-nav-main .flow-context-meta{font-size:10.5px!important;white-space:nowrap!important}
.flow-nav-main .flow-history-toggle{height:24px!important;min-height:24px!important;padding:0 9px!important;font-size:10.5px!important}
.flow-nav-main .flow-history-wrap{flex:0 0 auto!important}

/* Horizontal thumb-index, like the edge tabs of a physical address notebook. */
.category-strip.notebook-index-tabs{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:end!important;
  gap:2px!important;
  width:100%!important;
  height:20px!important;
  min-height:20px!important;
  padding:0 2px!important;
  margin:0!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  scrollbar-width:none!important;
  scroll-snap-type:x proximity!important;
  -webkit-overflow-scrolling:touch!important;
}
.category-strip.notebook-index-tabs::-webkit-scrollbar{display:none!important}
body:not(.home-mode) .category-strip.notebook-index-tabs,
body.home-mode .category-strip.notebook-index-tabs{display:flex!important}
.notebook-index-tab.category-chip{
  position:relative!important;
  flex:0 0 auto!important;
  height:18px!important;
  min-height:18px!important;
  padding:0 9px 1px!important;
  margin:0!important;
  border:1px solid #e0c89b!important;
  border-bottom-color:#cfae70!important;
  border-radius:5px 5px 2px 2px!important;
  background:linear-gradient(180deg,#fffdf8 0%,#f8ecd5 100%)!important;
  color:#5e5a50!important;
  box-shadow:0 -1px 0 rgba(255,255,255,.82) inset,0 1px 2px rgba(84,61,25,.06)!important;
  font-size:9.2px!important;
  line-height:16px!important;
  font-weight:690!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  scroll-snap-align:center!important;
  transform:translateY(2px)!important;
  transition:background .12s ease,border-color .12s ease,color .12s ease,transform .12s ease,box-shadow .12s ease!important;
}
.notebook-index-tab.category-chip:hover{
  background:linear-gradient(180deg,#fff8e5,#f6e0b7)!important;
  color:#3e403a!important;
  transform:translateY(1px)!important;
}
.notebook-index-tab.category-chip.active{
  height:20px!important;
  min-height:20px!important;
  padding-bottom:2px!important;
  border-color:#d49a25!important;
  border-bottom-color:#bd7610!important;
  background:linear-gradient(180deg,#ffe7a0 0%,#f4c95d 100%)!important;
  color:#39331f!important;
  box-shadow:0 -1px 0 rgba(255,255,255,.72) inset,0 2px 5px rgba(163,108,16,.16)!important;
  font-weight:800!important;
  transform:translateY(0)!important;
  z-index:2!important;
}
.notebook-index-tab.category-chip.active::after{
  content:"";
  position:absolute;
  left:8px;right:8px;bottom:-1px;height:2px;
  border-radius:2px;
  background:#bf3f38;
}

/* Binder hardware: rings visually pass behind and over the paper edge. */
.flow-nav-rings{
  left:-17px!important;
  top:3px!important;
  bottom:3px!important;
  width:42px!important;
  justify-content:space-between!important;
}
.flow-nav-rings i{
  width:36px!important;
  height:10px!important;
  border:2px solid #353a39!important;
  border-right-color:#8b9290!important;
  border-radius:55% 48% 48% 55%!important;
  background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(110,118,115,.08))!important;
  box-shadow:0 1px 2px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.6)!important;
}
.flow-nav-rings i::before{
  content:"";
  position:absolute;
  width:18px;height:4px;
  right:-8px;top:1px;
  background:linear-gradient(180deg,#edf0ec,#8c9491)!important;
  border-radius:3px;
  opacity:.85;
}

/* Remove the old header category row entirely; it is now part of semantic navigation. */
.app-header > .category-strip{display:none!important}

@media(max-width:760px){
  .search-wrap{padding:4px!important;min-height:48px!important}
  .flow-nav{
    height:48px!important;
    min-height:48px!important;
    grid-template-rows:25px 19px!important;
    padding:2px 7px 2px!important;
  }
  .flow-nav-main{height:25px!important;gap:5px!important}
  .flow-nav-main .flow-crumbs,.flow-nav-main .flow-back,.flow-nav-main .flow-context-meta,.flow-nav-main>.flow-history-wrap{display:none!important}
  .flow-nav-main .mobile-recent-trail{display:flex!important;width:100%!important}
  .category-strip.notebook-index-tabs{height:19px!important;padding:0!important;gap:2px!important}
  .notebook-index-tab.category-chip{height:17px!important;min-height:17px!important;padding:0 8px!important;font-size:9px!important;line-height:15px!important}
  .notebook-index-tab.category-chip.active{height:19px!important;min-height:19px!important}
}

/* ===== v0.81 — Calm notebook header + unified paper hardware ===== */
:root{
  --v81-paper:#fffaf0;
  --v81-paper-2:#fdf5e7;
  --v81-line:#ead9b9;
  --v81-accent:#e6ad34;
  --v81-ink:#24333a;
}

@media(min-width:981px){
  /* One calm paper surface for the entire static top area. */
  .app-header{
    position:relative;
    padding:0 24px 13px!important;
    background:
      linear-gradient(180deg,rgba(255,255,255,.70),rgba(255,255,255,0) 45%),
      linear-gradient(180deg,var(--v81-paper) 0%,var(--v81-paper-2) 100%)!important;
    border:1px solid rgba(224,204,165,.72)!important;
    border-bottom-color:#dfc99f!important;
    border-radius:0 0 14px 14px!important;
    box-shadow:0 5px 14px rgba(65,55,36,.08)!important;
    overflow:visible!important;
  }
  .notebook-head{
    min-height:72px!important;
    height:72px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  .brand-cluster{align-items:center!important}
  .brand-copy strong{font-size:14px!important;color:#1f2b31!important}
  .brand-copy span{font-size:10.5px!important;color:#687980!important}
  .status-cluster{gap:12px!important}

  /* Search sits inside the same sheet, not as a second card. */
  .search-stage{margin-top:0!important}
  .search-wrap{
    min-height:52px!important;
    height:52px!important;
    padding:4px!important;
    border:1px solid #e5c56f!important;
    border-radius:11px!important;
    background:rgba(255,247,220,.52)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important;
  }
  .search-main-field{
    min-height:42px!important;
    height:42px!important;
    border:1px solid #cfc8b8!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:0 1px 2px rgba(67,57,39,.04)!important;
  }
  .search-main-field:focus-within{
    border-color:#d7a636!important;
    box-shadow:0 0 0 2px rgba(222,167,46,.10)!important;
  }

  /* Index navigation: one stable strip in every state. */
  .flow-nav{
    margin-top:0!important;
    min-height:50px!important;
    height:50px!important;
    padding-left:54px!important;
    background:
      linear-gradient(var(--rm-paper-line) 1px,transparent 1px),
      linear-gradient(90deg,transparent 0 43px,var(--rm-paper-red) 43px 44px,transparent 44px),
      linear-gradient(180deg,#fffaf0 0%,#f9edd8 100%)!important;
    background-size:100% 20px,100% 100%,100% 100%!important;
    border-top:1px solid #dfc79a!important;
    border-bottom:1px solid #d5b77e!important;
    box-shadow:0 4px 10px rgba(68,52,26,.11)!important;
  }

  /* Thin metal loops + dark punched holes. Same language as order sheet, lighter. */
  .flow-nav-rings{
    left:-8px!important;
    top:4px!important;
    bottom:4px!important;
    width:42px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    overflow:visible!important;
  }
  .flow-nav-rings i{
    position:relative!important;
    width:32px!important;
    height:7px!important;
    border:2px solid #818984!important;
    border-left-color:#aab0ac!important;
    border-right-color:#565d59!important;
    border-radius:50%!important;
    background:linear-gradient(180deg,#f5f6f3 0%,#a9afab 48%,#f0f1ed 100%)!important;
    box-shadow:0 1px 2px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.78)!important;
    transform:none!important;
  }
  .flow-nav-rings i::before{
    content:""!important;
    position:absolute!important;
    left:17px!important;
    top:-4px!important;
    width:14px!important;
    height:14px!important;
    border-radius:50%!important;
    background:#303432!important;
    box-shadow:inset 0 2px 4px rgba(0,0,0,.72),0 1px 0 rgba(255,255,255,.42)!important;
    z-index:-1!important;
  }
  .flow-nav-rings i::after{
    content:""!important;
    position:absolute!important;
    left:4px!important;
    right:4px!important;
    top:1px!important;
    height:1px!important;
    background:rgba(255,255,255,.72)!important;
    border-radius:2px!important;
  }

  /* Slightly calmer index tabs, same palette as header/footer/order paper. */
  .notebook-index-tab.category-chip{
    border-color:#ddc79f!important;
    background:linear-gradient(180deg,#fffdf7,#f5e8cf)!important;
    color:#5a574f!important;
  }
  .notebook-index-tab.category-chip.active{
    border-color:#d69d28!important;
    background:linear-gradient(180deg,#ffe7a4,#f2c85f)!important;
    color:#342f21!important;
  }

  /* The cart remains the warm action accent. */
  .desktop-order-dock{
    border-color:#e5b54a!important;
    background:linear-gradient(180deg,#fff0b8 0%,#ffd86f 100%)!important;
    box-shadow:0 3px 8px rgba(171,112,14,.12)!important;
  }
}

/* Mobile keeps the same palette, but no extra desktop hardware. */
@media(max-width:980px){
  .app-header{
    background:linear-gradient(180deg,#fffaf1,#fdf6e9)!important;
  }
  .search-wrap{
    background:rgba(255,247,220,.58)!important;
    border-color:#e2c574!important;
  }
  .flow-nav{
    background:linear-gradient(180deg,#fffaf0,#f7ead2)!important;
    border-color:#ddc294!important;
  }
}

/* ===== v0.82 — fixed notebook navigation contract ===== */
:root{
  --v82-paper:#fff8e9;
  --v82-paper-deep:#f5e7cc;
  --v82-paper-hover:#f8edcf;
  --v82-cart:#ffe6a0;
  --v82-cart-deep:#ffd36b;
  --v82-metal:#4f5754;
  --v82-hole:#2b302e;
}

/* The decorative header is static paper. Only the notebook index becomes sticky, at one fixed top edge. */
@media(min-width:981px){
  .app-header{
    position:relative!important;
    top:auto!important;
    padding-bottom:10px!important;
  }
  .search-stage{
    padding:0 20px 8px!important;
    background:transparent!important;
  }
  .search-wrap{
    min-height:50px!important;
    height:50px!important;
    padding:3px!important;
    background:rgba(255,247,224,.44)!important;
    border:1px solid #dfb95e!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.82)!important;
  }
  .search-main-field{
    min-height:42px!important;
    height:42px!important;
  }

  /* One navigation component, one geometry, one sticky position in all states. */
  .flow-nav:not([hidden]){
    position:sticky!important;
    top:0!important;
    height:48px!important;
    min-height:48px!important;
    grid-template-rows:25px 19px!important;
    padding:2px 14px 2px 52px!important;
    margin:0 auto!important;
    background:
      linear-gradient(rgba(200,170,118,.18) 1px,transparent 1px),
      linear-gradient(90deg,transparent 0 40px,rgba(196,89,83,.28) 40px 41px,transparent 41px),
      linear-gradient(180deg,#fff9ed 0%,#f6e7cc 100%)!important;
    background-size:100% 19px,100% 100%,100% 100%!important;
    border-top:1px solid #dfc79a!important;
    border-bottom:1px solid #cfae74!important;
    box-shadow:0 4px 10px rgba(73,55,27,.12),inset 0 1px 0 rgba(255,255,255,.75)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .flow-nav-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto!important;
    align-items:center!important;
    gap:9px!important;
    height:25px!important;
    min-height:25px!important;
  }
  .flow-nav-main .flow-back{display:none!important}
  .flow-nav-main .flow-crumbs{
    display:flex!important;
    grid-column:1!important;
    min-width:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    font-size:10.8px!important;
  }
  .flow-nav-main .flow-context-meta{
    grid-column:2!important;
    justify-self:end!important;
    font-size:10px!important;
    min-width:68px!important;
    text-align:right!important;
  }
  .flow-nav-main>.flow-history-wrap{
    display:block!important;
    grid-column:3!important;
  }
  .flow-nav-main .flow-history-toggle{
    width:92px!important;
    min-width:92px!important;
    height:23px!important;
    min-height:23px!important;
    padding:0 8px!important;
    border-color:#d7bf92!important;
    background:#fff8e9!important;
    box-shadow:0 1px 3px rgba(72,55,30,.06)!important;
  }
  .mobile-recent-trail{display:none!important}

  /* Tabs are pre-sized to their labels: no huge empty gaps and no layout change between screens. */
  .category-strip.notebook-index-tabs{
    height:19px!important;
    min-height:19px!important;
    align-items:flex-end!important;
    gap:3px!important;
    padding:0!important;
  }
  .notebook-index-tab.category-chip{
    height:18px!important;
    min-height:18px!important;
    padding:0 8px 1px!important;
    font-size:9.2px!important;
    line-height:16px!important;
    transform:translateY(1px)!important;
    background:linear-gradient(180deg,#fffaf0,#f3e3c5)!important;
    border-color:#d8bd8a!important;
  }
  .notebook-index-tab.category-chip.active{
    height:19px!important;
    min-height:19px!important;
    padding-bottom:1px!important;
    transform:none!important;
    background:linear-gradient(180deg,#ffe7a5,#f4c65a)!important;
  }

  /* Same thin hardware language everywhere: dark metal + clearly punched paper holes. */
  .flow-nav-rings{
    left:-13px!important;
    top:3px!important;
    bottom:3px!important;
    width:39px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
  }
  .flow-nav-rings i{
    position:relative!important;
    width:31px!important;
    height:6px!important;
    border:1.5px solid var(--v82-metal)!important;
    border-radius:50%!important;
    background:linear-gradient(180deg,#e8ece8 0%,#8b9490 48%,#dfe3df 100%)!important;
    box-shadow:0 1px 2px rgba(0,0,0,.24)!important;
  }
  .flow-nav-rings i::before{
    content:""!important;
    position:absolute!important;
    left:20px!important;
    top:-4px!important;
    width:12px!important;
    height:12px!important;
    border-radius:50%!important;
    background:var(--v82-hole)!important;
    box-shadow:inset 0 2px 4px rgba(0,0,0,.72),0 1px 0 rgba(255,255,255,.34)!important;
    z-index:-1!important;
  }
  .flow-nav-rings i::after{display:none!important}
}

/* Search result rows and order rows now share the same warm paper interaction language. */
@media (hover:hover) and (pointer:fine){
  .product-row:hover{
    background:var(--v82-paper-hover)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.72),inset 0 -1px 0 rgba(157,133,91,.10)!important;
  }
}
.product-row[data-expand-row].expanded{
  background:var(--v82-paper-hover)!important;
  box-shadow:inset 3px 0 0 #d8a334!important;
}
/* In-cart is deliberately stronger than hover/expanded. */
.product-row.selected,
.product-row.selected:hover,
.product-row.selected[data-expand-row].expanded{
  background:linear-gradient(90deg,#ffe8a2 0%,#fff1c4 56%,#ffdf85 100%)!important;
  box-shadow:inset 3px 0 0 #df9800!important;
}

/* Footer is secondary, not washed out: same paper family with slightly quieter contrast. */
.site-footer.notebook-footer{
  background:
    linear-gradient(rgba(196,164,111,.17) 1px,transparent 1px),
    linear-gradient(90deg,transparent 0 42px,rgba(196,89,83,.23) 42px 43px,transparent 43px),
    linear-gradient(180deg,#fff8e9,#f5e7cc)!important;
  background-size:100% 20px,100% 100%,100% 100%!important;
  border-color:#d9bf91!important;
  color:#31566f!important;
  opacity:1!important;
}
.site-footer.notebook-footer .footer-note span{color:#526d7d!important}

/* Order-sheet metal: keep existing geometry, harmonize metal and hole contrast only. */
.notebook-clips i{
  border-color:#606866!important;
  background:linear-gradient(90deg,#505856 0 16%,#e1e5e1 16% 84%,#59615f 84% 100%)!important;
}
.notebook-clips i::after{
  background:#303533!important;
  box-shadow:inset 0 2px 3px rgba(0,0,0,.62),0 1px 0 rgba(255,255,255,.32)!important;
}

/* Mobile: same permanent component, same height in every screen. */
@media(max-width:980px){
  .app-header{position:relative!important;top:auto!important}
  .search-stage{background:transparent!important}
  .flow-nav:not([hidden]){
    position:sticky!important;
    top:0!important;
    height:48px!important;
    min-height:48px!important;
    grid-template-rows:25px 19px!important;
    padding:2px 7px!important;
  }
  .flow-nav-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto!important;
    height:25px!important;
    gap:5px!important;
  }
  .flow-nav-main .flow-back{display:none!important}
  .flow-nav-main .flow-crumbs{display:flex!important;grid-column:1!important;font-size:9.2px!important;overflow:hidden!important;white-space:nowrap!important}
  .flow-nav-main .flow-context-meta{display:block!important;grid-column:2!important;font-size:9px!important;min-width:auto!important}
  .flow-nav-main>.flow-history-wrap{display:block!important;grid-column:3!important}
  .flow-nav-main .flow-history-toggle{width:82px!important;min-width:82px!important;height:22px!important;min-height:22px!important;padding:0 6px!important;font-size:9.2px!important}
  .mobile-recent-trail{display:none!important}
  .category-strip.notebook-index-tabs{height:19px!important;min-height:19px!important}
}

/* ===== v0.83 — shell geometry + stacked sticky header/nav ===== */
/* The whole catalogue is one physical sheet: short content still pushes the footer to the bottom. */
.paper-shell{
  display:flex!important;
  flex-direction:column!important;
  min-height:100vh!important;
}
.app-header{
  position:sticky!important;
  top:0!important;
  z-index:80!important;
  flex:0 0 auto!important;
}
.flow-nav{
  position:sticky!important;
  top:var(--rxde-sticky-header-h, 0px)!important;
  z-index:75!important;
  flex:0 0 auto!important;
}
.workspace{
  flex:1 0 auto!important;
}
.site-footer.notebook-footer{
  flex:0 0 auto!important;
  margin-top:auto!important;
}

/* A hover must die with the pointer. Expanded and in-cart remain semantic states. */
@media (hover:hover) and (pointer:fine){
  .product-row:not(.selected):not(.expanded):hover{
    background:var(--v82-paper-hover)!important;
  }
  .product-row:not(.selected):not(.expanded):not(:hover){
    background:#fff!important;
    box-shadow:none!important;
  }
}

/* Make Recent a clearer navigation control without changing geometry. */
.flow-history-toggle{
  border-color:#d5ad59!important;
  background:linear-gradient(180deg,#fffdf7,#f8ecd5)!important;
  color:#294b55!important;
  font-weight:780!important;
  box-shadow:0 1px 3px rgba(75,59,29,.09)!important;
}
.flow-history-toggle .recent-clock{
  width:16px!important;height:16px!important;
  padding:2px!important;
  border-radius:50%!important;
  background:#315f6b!important;
  color:#fff!important;
  stroke:currentColor!important;
}
.flow-history-toggle:hover,.flow-history-toggle[aria-expanded="true"]{
  background:linear-gradient(180deg,#fff3c9,#f3d487)!important;
  border-color:#c99427!important;
}

@media(max-width:760px){
  .flow-nav{top:var(--rxde-sticky-header-h, 0px)!important}
}


/* ===== v0.84 — unified sticky stack =====
   Header/search and notebook navigation are one physical sticky unit.
   This removes competing sticky offsets and guarantees the nav can never hide behind the header. */
.sticky-stack{
  position:sticky!important;
  top:0!important;
  z-index:90!important;
  flex:0 0 auto!important;
  width:100%!important;
  isolation:isolate;
}
.sticky-stack .app-header{
  position:relative!important;
  top:auto!important;
  z-index:2!important;
}
.sticky-stack .flow-nav{
  position:relative!important;
  top:auto!important;
  z-index:1!important;
}
/* Kill all legacy sticky offsets inside the unified stack. */
.sticky-stack .flow-nav:not([hidden]){
  top:auto!important;
}
@media(max-width:760px){
  .sticky-stack .flow-nav,
  .sticky-stack .flow-nav:not([hidden]){top:auto!important}
}


/* v0.85 — dosage-form scan layer. Product state remains on the row; form is a compact secondary signal. */
.form-badge{display:inline-flex;align-items:center;min-height:18px;padding:1px 7px;margin-left:7px;border:1px solid #d8d2c7;border-radius:999px;background:#f5f3ee;color:#4f5960;font-size:10.5px;font-weight:750;line-height:1.2;white-space:nowrap;vertical-align:1px}
.form-badge.form-tablet,.form-filter-chip.form-tablet{background:#eef5fb;border-color:#c8d9e7;color:#355a73}
.form-badge.form-capsule,.form-filter-chip.form-capsule{background:#f2effb;border-color:#d9d0ec;color:#5e4e78}
.form-badge.form-granules,.form-filter-chip.form-granules{background:#fff4dc;border-color:#ead6a7;color:#765b22}
.form-badge.form-suppository,.form-filter-chip.form-suppository{background:#fbeeed;border-color:#e8c9c5;color:#80504b}
.form-badge.form-enema,.form-filter-chip.form-enema{background:#edf7f1;border-color:#c6dfce;color:#416854}
.form-badge.form-foam,.form-filter-chip.form-foam{background:#f3eef8;border-color:#d9cce5;color:#665177}
.form-badge.form-suspension,.form-filter-chip.form-suspension{background:#eef7f5;border-color:#c9dfda;color:#416863}
.form-badge.form-drops,.form-filter-chip.form-drops{background:#edf6fb;border-color:#c9dce7;color:#3f6478}
.form-badge.form-spray,.form-filter-chip.form-spray{background:#eef4f8;border-color:#cbd9e1;color:#456170}
.form-badge.form-cream,.form-filter-chip.form-cream,.form-badge.form-gel,.form-filter-chip.form-gel,.form-badge.form-ointment,.form-filter-chip.form-ointment{background:#faf0e6;border-color:#e4d1bc;color:#735944}
.form-badge.form-injection,.form-filter-chip.form-injection{background:#f1f2f8;border-color:#ced2e0;color:#505c78}
.form-badge.form-patch,.form-filter-chip.form-patch{background:#f3f5ed;border-color:#d3dac2;color:#5c6845}
.form-badge.form-powder,.form-filter-chip.form-powder{background:#f7f2e8;border-color:#ddd1b8;color:#6c5d42}
.form-badge.form-solution,.form-filter-chip.form-solution{background:#edf5f7;border-color:#c8dbdf;color:#42656b}
.form-filter-strip{display:flex;align-items:center;gap:9px;margin:7px 22px 4px;padding:0;min-height:32px;color:#68747a;font-size:11px}
.form-filter-strip[hidden]{display:none!important}.form-filter-label{flex:0 0 auto;font-weight:700;color:#6e7778}.form-filter-scroll{display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;padding:2px 1px}.form-filter-scroll::-webkit-scrollbar{display:none}
.form-filter-chip{appearance:none;border:1px solid #ddd3bf;border-radius:999px;background:#fbf8f0;color:#5c5e5d;display:inline-flex;align-items:center;gap:5px;height:25px;padding:0 9px;white-space:nowrap;cursor:pointer;font:inherit;font-weight:650;box-shadow:none;transition:border-color .12s ease,box-shadow .12s ease}
.form-filter-chip b{font-size:10px;font-weight:800;opacity:.68}.form-filter-chip:hover{border-color:#c8ad75;box-shadow:0 2px 7px rgba(98,76,38,.09)}.form-filter-chip.active{border-color:#d59b22;box-shadow:inset 0 -2px 0 #d59b22,0 2px 7px rgba(110,80,24,.10);color:#383a38;font-weight:800}.form-filter-chip.active:first-of-type{background:#fff0c9}
.suggest-form-line{display:flex!important;align-items:center;gap:7px;min-width:0}.suggest-form-line .form-badge{margin-left:0;flex:0 0 auto}.suggest-form-line>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.form-filter-strip{margin:5px 10px 3px;gap:6px;min-height:30px}.form-filter-label{display:none}.form-filter-chip{height:27px;padding:0 9px;font-size:11px}.form-badge{font-size:10px;padding:1px 6px;margin-left:5px}}

/* ===== v0.86 — quiet viewed states; expansion is geometry, not another color ===== */
:root{
  --v86-viewed: rgba(247,241,225,.38);
  --v86-viewed-history: rgba(247,241,225,.48);
  --v86-branch: #c7b58e;
}

/* A previously inspected product leaves only a very faint, session-only trace. */
.product-row.viewed:not(.selected):not(:hover){
  background:var(--v86-viewed)!important;
}

/* Expanded is NOT a persistent fill anymore. Viewed trace may remain, but no extra color. */
.product-row.expanded:not(.selected):not(:hover){
  background:var(--v86-viewed)!important;
}

/* Expansion is represented as a small notebook/tree branch into the detail block. */
.product-row.expanded:not(.selected) .product-expand{
  position:relative;
  margin-left:18px!important;
  padding-left:18px!important;
  border-left:1.5px solid var(--v86-branch)!important;
}
.product-row.expanded:not(.selected) .product-expand::before{
  content:"";
  position:absolute;
  left:-1.5px;
  top:13px;
  width:13px;
  height:1.5px;
  background:var(--v86-branch);
}

/* Cart remains the only strong persistent row state. */
.product-row.selected,
.product-row.selected.viewed,
.product-row.selected.expanded,
.product-row.selected:hover{
  background:linear-gradient(90deg,#ffe7a0,#fff0bd 55%,#ffdf85)!important;
}

/* Order sheet: expansion itself does not leave a color behind. Only the pointer highlights. */
.order-product-row.order-expanded,
.order-product-row.order-expanded:focus-within{
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
@media (hover:hover) and (pointer:fine){
  .order-product-row:hover,
  .order-product-row.order-expanded:hover,
  .order-product-row.order-expanded:focus-within:hover{
    background:#f8edcf!important;
  }
}
@media (hover:none), (pointer:coarse), (max-width:760px){
  .order-product-row.order-expanded,
  .order-product-row.order-expanded:hover,
  .order-product-row.order-expanded:focus-within{
    background:transparent!important;
  }
}

/* Recent: product entries use the very same faint semantic trace. */
.flow-history-menu .flow-history-list button.history-product{
  background:var(--v86-viewed-history)!important;
}
.flow-history-menu .flow-history-list button.history-product:hover{
  background:rgba(244,234,210,.72)!important;
}


/* ===== v0.88 — pre-send price row + semantic footer icons/build label ===== */
.presend-price{
  margin-top:2px;display:flex;align-items:baseline;gap:6px;min-width:0;
  overflow:hidden;white-space:nowrap;font-size:10.2px;color:#536a76;
}
.presend-price b{font-weight:760;color:#405c69}
.presend-row{min-height:51px}
@media(max-width:640px){
  .presend-row{min-height:49px}
  .presend-price{font-size:9.3px}
}
@media(max-width:420px){.presend-price{font-size:9px}}
.site-footer.notebook-footer .footer-note>i.footer-note-icon{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;height:38px!important;color:#4e7ca3!important;
}
.site-footer.notebook-footer .footer-note>i.footer-note-icon svg{
  width:35px;height:35px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;overflow:visible;
}
.site-footer.notebook-footer .footer-note>i.footer-note-icon .footer-icon-accent{stroke:#d94a45}
.site-footer.notebook-footer .footer-rxde-mark{stroke:none;fill:#315f86;font-style:normal;font-family:Arial,sans-serif;font-size:6px;font-weight:700}
.footer-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px}
.site-footer.notebook-footer .footer-build{color:#718797;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;line-height:1;white-space:nowrap}
@media(max-width:980px){.footer-actions{align-items:flex-start}}


/* ===== v0.89 — larger footer pictograms + perspective RxDe parcel mark ===== */
@media (min-width:981px){
  .site-footer.notebook-footer{
    min-height:104px!important;
    padding-top:13px!important;
    padding-bottom:12px!important;
  }
  .site-footer.notebook-footer .footer-note{
    grid-template-columns:82px minmax(0,1fr)!important;
    gap:13px!important;
  }
  .site-footer.notebook-footer .footer-note>i.footer-note-icon{
    width:76px!important;
    height:76px!important;
  }
  .site-footer.notebook-footer .footer-note>i.footer-note-icon svg{
    width:72px!important;
    height:72px!important;
    stroke-width:1.65!important;
  }
}
.site-footer.notebook-footer .footer-rxde-mark{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:-.35px;
  paint-order:stroke fill;
  stroke:#fff8e9!important;
  stroke-width:.7px!important;
}
.site-footer.notebook-footer .footer-rxde-rx{fill:#d9413c!important}
.site-footer.notebook-footer .footer-rxde-de{fill:#315f86!important}
.site-footer.notebook-footer .footer-rxde-perspective{transform-box:fill-box;transform-origin:center}
@media(max-width:980px){
  .site-footer.notebook-footer .footer-note{
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:10px!important;
  }
  .site-footer.notebook-footer .footer-note>i.footer-note-icon{
    width:54px!important;height:54px!important;
  }
  .site-footer.notebook-footer .footer-note>i.footer-note-icon svg{
    width:52px!important;height:52px!important;
  }
}


/* ===== v0.90 — split parcel mark: RX on front face, DE on side face ===== */
.site-footer.notebook-footer .footer-rxde-face{pointer-events:none}
.site-footer.notebook-footer .footer-rxde-mark-front,.site-footer.notebook-footer .footer-rxde-mark-side{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:-.45px;
  paint-order:stroke fill;
  stroke:#fff8e9!important;
  stroke-width:.75px!important;
}
.site-footer.notebook-footer .footer-rxde-mark-front{fill:#d9413c!important}
.site-footer.notebook-footer .footer-rxde-mark-side{fill:#315f86!important}
@media(max-width:980px){
  .site-footer.notebook-footer .footer-rxde-mark-front,.site-footer.notebook-footer .footer-rxde-mark-side{font-size:9.6px!important}
}


/* ===== v0.91 — refined alignment of RX/DE on parcel faces ===== */
.site-footer.notebook-footer .footer-rxde-mark-front,.site-footer.notebook-footer .footer-rxde-mark-side{
  dominant-baseline:middle;
  text-anchor:middle;
}
.site-footer.notebook-footer .footer-rxde-mark-front{font-size:11.2px!important;letter-spacing:-.25px!important}
.site-footer.notebook-footer .footer-rxde-mark-side{font-size:10.9px!important;letter-spacing:-.25px!important}
@media(max-width:980px){
  .site-footer.notebook-footer .footer-rxde-mark-front{font-size:9.2px!important}
  .site-footer.notebook-footer .footer-rxde-mark-side{font-size:8.9px!important}
}


/* ===== v0.93 — soften product thumbnail tile; remove separate white card effect ===== */
.item .thumb,
.product-card .thumb,
.search-item .thumb,
.rxde-product-row .thumb,
[class*="product"] .thumb,
[class*="item"] .thumb{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

.item .thumb img,
.product-card .thumb img,
.search-item .thumb img,
.rxde-product-row .thumb img,
[class*="product"] .thumb img,
[class*="item"] .thumb img{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  mix-blend-mode: normal;
}

/* fallback for legacy image wrappers used in list rows */
.item .img-wrap,
.product-card .img-wrap,
.search-item .img-wrap,
.rxde-product-row .img-wrap,
.item .pic,
.product-card .pic,
.search-item .pic,
.rxde-product-row .pic,
.item .image,
.product-card .image,
.search-item .image,
.rxde-product-row .image{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* ===== v0.94 — product photo stays on a neutral island inside the common row frame =====
   The semantic row state (hover/cart/etc.) remains on the card.
   Only the photo zone itself is kept white; the existing outer row frame is untouched. */
.product-row .product-photo{
  position:relative!important;
  isolation:isolate;
  background:transparent!important;
  z-index:1;
}
.product-row .product-photo::before{
  content:"";
  position:absolute;
  inset:-10px -8px;
  background:#fff;
  z-index:-1;
  pointer-events:none;
}
.product-row .product-photo img{
  position:relative;
  z-index:1;
  background:#fff!important;
}

/* Keep the cart-state marker above the neutral photo island. */
.product-row.selected::before{
  z-index:3;
}

/* Mobile row has smaller paddings, so the white island follows that geometry. */
@media(max-width:760px){
  .product-row .product-photo::before{
    inset:-8px -4px -9px;
  }
}


/* ===== v0.95 — the photo column never participates in row highlighting =====
   State colour starts only after the image column. No state outline around the row/photo. */
.product-row{
  background:#fff!important;
  box-shadow:none!important;
  isolation:isolate;
}
.product-row::after{
  content:"";
  position:absolute;
  left:67px;
  right:0;
  top:0;
  bottom:0;
  z-index:0;
  pointer-events:none;
  background:transparent;
  transition:background .12s ease;
}
.product-row > *{
  position:relative;
  z-index:1;
}

/* Undo the v0.94 synthetic white island: the whole native image column itself stays untouched. */
.product-row .product-photo::before{
  content:none!important;
  display:none!important;
}
.product-row .product-photo,
.product-row .product-photo img{
  background:#fff!important;
}

/* No edge marker / outline: the colour itself is enough. */
.product-row.selected::before{
  content:none!important;
  display:none!important;
}
.product-row.selected,
.product-row.selected.viewed,
.product-row.selected.expanded,
.product-row.selected:hover,
.product-row[data-expand-row].expanded,
.product-row[data-expand-row].expanded:hover,
.product-row.viewed{
  background:#fff!important;
  box-shadow:none!important;
}

/* Pointer state: only the information side changes colour. */
.product-row[data-expand-row]:hover::after{
  background:#fbfdfd;
}

/* Quiet session trace remains, but only to the right of the photo. */
.product-row.viewed:not(.selected):not(:hover)::after,
.product-row.expanded:not(.selected):not(:hover)::after{
  background:var(--v86-viewed);
}

/* Cart/selected is the strong persistent state, again only on the information side. */
.product-row.selected::after,
.product-row.selected.viewed::after,
.product-row.selected.expanded::after{
  background:linear-gradient(90deg,#ffe7a0,#fff0bd 55%,#ffdf85);
}
.product-row.selected:hover::after{
  background:linear-gradient(90deg,#ffdfa0,#ffedb4 55%,#ffd978);
}

/* Expanded list view: enlarge the SAME current thumbnail ~3x and move the product info right.
   No second image is added to the detail block. */
@media(min-width:761px){
  .product-row.expanded{
    grid-template-columns:150px minmax(300px,1fr) 120px 104px 132px!important;
    align-items:start;
  }
  .product-row.expanded .product-photo{
    width:144px!important;
    height:144px!important;
    align-self:start!important;
    display:grid!important;
    place-items:center!important;
  }
  .product-row.expanded .product-photo img{
    width:138px!important;
    height:138px!important;
    max-width:138px!important;
    max-height:138px!important;
    object-fit:contain!important;
  }
  .product-row.expanded::after{
    left:163px;
  }
  .product-row.expanded .product-main,
  .product-row.expanded .product-price,
  .product-row.expanded .qty-stepper,
  .product-row.expanded .product-total{
    margin-top:5px;
  }
}

/* Mobile: preserve the same principle but cap enlargement so the row remains usable. */
@media(max-width:760px){
  .product-row::after{
    left:57px;
  }
  .product-row.expanded .product-photo{
    width:88px!important;
    height:88px!important;
    align-self:start!important;
  }
  .product-row.expanded .product-photo img{
    width:84px!important;
    height:84px!important;
    max-width:84px!important;
    max-height:84px!important;
    object-fit:contain!important;
  }
}


/* ===== v0.96 — clean catalogue: no viewed/open traces; selection only on information area ===== */
.product-row,
.product-row:hover,
.product-row.expanded,
.product-row.expanded:hover,
.product-row.viewed,
.product-row.viewed:hover{
  background:#fff!important;
  box-shadow:none!important;
}
.product-row::after{display:none!important;content:none!important}
.product-row::before{display:none!important;content:none!important}

/* Photo column is deliberately outside all semantic highlighting. */
.product-row .product-photo,
.product-row .product-photo:hover,
.product-row.expanded .product-photo,
.product-row.selected .product-photo{
  background:#fff!important;
  box-shadow:none!important;
  outline:0!important;
  border-color:transparent!important;
}

/* Only the information side gets a subtle selected state when qty > 0. */
.product-row.selected .product-main,
.product-row.selected .product-price,
.product-row.selected .qty-stepper,
.product-row.selected .product-total{
  background:#fff3cf!important;
}
.product-row.selected .product-main{border-radius:8px 0 0 8px;padding-left:7px;margin-left:-7px}
.product-row.selected .product-total{border-radius:0 8px 8px 0;padding-right:7px;margin-right:-7px}
.product-row.selected .product-price,
.product-row.selected .qty-stepper,
.product-row.selected .product-total{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.product-row.selected .qty-stepper{flex-direction:row;align-items:center}

/* Expansion itself changes geometry only — never colour. */
.product-row.expanded:not(.selected) .product-main,
.product-row.expanded:not(.selected) .product-price,
.product-row.expanded:not(.selected) .qty-stepper,
.product-row.expanded:not(.selected) .product-total,
.product-row.expanded:not(.selected) .product-expand{
  background:transparent!important;
}

/* Branded missing-image placeholder. */
.rxde-placeholder{
  width:46px;height:46px;display:grid;place-items:center;
  background:#f3f5f5!important;border:0!important;border-radius:8px;
  color:#89969b;font-style:normal;overflow:hidden;
}
.rxde-placeholder-mark{font:800 14px/1 "Segoe UI",Arial,sans-serif;letter-spacing:-.6px;opacity:.72}
.rxde-placeholder-mark b{color:#89969b;font-weight:800}
.rxde-placeholder-mark em{color:#a3adb1;font-style:normal;font-weight:800}
.product-row.expanded .rxde-placeholder{width:138px;height:138px;border-radius:12px}
.product-row.expanded .rxde-placeholder-mark{font-size:28px;letter-spacing:-1.2px;opacity:.62}
.order-rxde-placeholder{width:50px;height:50px}

/* Desktop magnifier only in expanded (stage-2) photo. */
.product-row.expanded .product-photo{position:relative!important;overflow:visible!important;cursor:zoom-in!important}
.photo-zoom-lens{
  position:absolute;z-index:20;width:190px;height:190px;border-radius:50%;
  transform:translate(-50%,-50%);pointer-events:none;
  border:5px solid rgba(255,255,255,.96);
  box-shadow:0 8px 28px rgba(29,48,56,.24),0 0 0 1px rgba(58,79,87,.16);
  background-repeat:no-repeat;background-color:#fff;background-size:300% 300%;
}
.photo-zoom-lens[hidden]{display:none!important}
@media(max-width:760px){
  .photo-zoom-lens{display:none!important}
  .product-row.expanded .product-photo{cursor:pointer!important}
  .product-row.selected .product-main{padding-left:4px;margin-left:-4px}
  .product-row.selected .product-total{padding-right:4px;margin-right:-4px}
  .product-row.expanded .rxde-placeholder{width:84px;height:84px}
  .product-row.expanded .rxde-placeholder-mark{font-size:20px}
}


/* ===== v1.56 — clean selection panel + true cursor magnifier ===== */

/* Eliminate every old persistent viewing/opening colour. */
.product-row,
.product-row:hover,
.product-row.expanded,
.product-row.expanded:hover,
.product-row.viewed,
.product-row.viewed:hover,
.product-row.selected,
.product-row.selected:hover{
  background:#fff!important;
  box-shadow:none!important;
}
.product-row::before{content:none!important;display:none!important}

/* Previous segmented selection is explicitly cancelled. */
.product-row.selected .product-main,
.product-row.selected .product-price,
.product-row.selected .qty-stepper,
.product-row.selected .product-total,
.product-row.selected .product-expand{
  background:transparent!important;
  border-radius:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* One continuous state surface starts AFTER the photo column.
   Photo and its white field remain completely untouched. */
.product-row{
  isolation:isolate;
}
.product-row > *{
  position:relative;
  z-index:1;
}
.product-row::after{
  content:"";
  display:block!important;
  position:absolute;
  z-index:0;
  left:74px;
  right:6px;
  top:5px;
  bottom:5px;
  border-radius:12px;
  background:transparent;
  box-shadow:none;
  pointer-events:none;
  transition:background .13s ease,box-shadow .13s ease;
}

/* Only a real cart choice (qty > 0 => .selected) persists. */
.product-row.selected::after{
  background:rgba(255,224,136,.32);
}

/* Mouse presence is temporary and deliberately very quiet. */
@media (hover:hover) and (pointer:fine){
  .product-row:not(.selected):hover::after{
    background:rgba(241,246,247,.46);
    box-shadow:0 4px 14px rgba(38,61,68,.045);
  }
  .product-row.selected:hover::after{
    background:rgba(255,224,136,.39);
    box-shadow:0 4px 14px rgba(86,66,20,.045);
  }
}

/* Expanded geometry has a wider photo column, so the state surface follows it. */
@media(min-width:761px){
  .product-row.expanded::after{
    left:171px;
  }
}

/* Mobile photo column also remains untouched; no hover effect. */
@media(max-width:760px){
  .product-row::after,
  .product-row.expanded::after{
    left:60px;
    right:3px;
    top:3px;
    bottom:3px;
    border-radius:10px;
  }
}

/* True magnifying glass: only stage-2 expanded image on desktop. */
@media (hover:hover) and (pointer:fine) and (min-width:761px){
  .product-row.expanded .product-photo{
    cursor:zoom-in!important;
  }
}
.photo-zoom-lens{
  position:absolute!important;
  z-index:50!important;
  width:220px!important;
  height:220px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  transform:translate(-50%,-50%);
  pointer-events:none!important;
  background:#fff!important;
  border:5px solid rgba(255,255,255,.98)!important;
  box-shadow:0 10px 32px rgba(24,45,54,.25),0 0 0 1px rgba(58,79,87,.20)!important;
}
.photo-zoom-lens[hidden]{display:none!important}
.photo-zoom-image{
  position:absolute!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill!important;
  pointer-events:none!important;
  user-select:none!important;
}
@media(max-width:760px),(hover:none),(pointer:coarse){
  .photo-zoom-lens{display:none!important}
}


/* ===== v1.56 — photo column stays completely out of selection, magnifier activation fix ===== */

/* No persistent background/outline on the image column in any state. */
.product-row .product-photo,
.product-row .product-photo:hover,
.product-row.selected .product-photo,
.product-row.expanded .product-photo,
.product-row.viewed .product-photo,
.product-row .product-photo img,
.product-row .product-photo img:hover,
.product-row.selected .product-photo img,
.product-row.expanded .product-photo img,
.product-row.viewed .product-photo img{
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

/* Reset any older segmented selection remains. */
.product-row.selected .product-main,
.product-row.selected .product-price,
.product-row.selected .qty-stepper,
.product-row.selected .product-total,
.product-row.selected .product-expand{
  background:transparent!important;
  border-radius:0!important;
  margin:0!important;
  box-shadow:none!important;
}

/* Neutral row by default: no viewed/opened trace at all. */
.product-row,
.product-row:hover,
.product-row.expanded,
.product-row.expanded:hover,
.product-row.viewed,
.product-row.viewed:hover,
.product-row.selected,
.product-row.selected:hover{
  background:#fff!important;
  box-shadow:none!important;
}
.product-row::before{
  content:none!important;
  display:none!important;
}

/* One very soft highlight starts after the whole photo column only when qty > 0. */
.product-row::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:88px!important;
  right:8px!important;
  top:6px!important;
  bottom:6px!important;
  border-radius:14px!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
.product-row.selected::after{
  background:rgba(255,233,165,.34)!important;
}
@media (hover:hover) and (pointer:fine){
  .product-row:not(.selected):hover::after{
    background:rgba(243,247,248,.40)!important;
    box-shadow:0 4px 14px rgba(38,61,68,.04)!important;
  }
  .product-row.selected:hover::after{
    background:rgba(255,233,165,.40)!important;
    box-shadow:0 4px 14px rgba(86,66,20,.04)!important;
  }
}
@media(min-width:761px){
  .product-row.expanded::after{
    left:188px!important;
  }
}
@media(max-width:760px){
  .product-row::after,
  .product-row.expanded::after{
    left:62px!important;
    right:4px!important;
    top:4px!important;
    bottom:4px!important;
    border-radius:10px!important;
  }
}

/* Make the stage-2 image truly hoverable for the magnifier. */
@media (hover:hover) and (pointer:fine) and (min-width:761px){
  .product-row.expanded .product-photo,
  .product-row.expanded .product-photo img{
    pointer-events:auto!important;
    cursor:zoom-in!important;
  }
}

/* Larger, clearer lens. */
.photo-zoom-lens{
  width:240px!important;
  height:240px!important;
  z-index:80!important;
}


/* ===== v1.56 — one visual state only: item is actually in the cart ===== */

/* Catalogue rows are visually neutral regardless of browsing history,
   expansion, focus or pointer position. */
.product-row,
.product-row:hover,
.product-row:focus,
.product-row:focus-within,
.product-row.expanded,
.product-row.expanded:hover,
.product-row.expanded:focus-within,
.product-row.viewed,
.product-row.viewed:hover,
.product-row.viewed:focus-within{
  background:#fff!important;
  box-shadow:none!important;
  outline:0!important;
}
.product-row::before{
  content:none!important;
  display:none!important;
}

/* The image column is never painted by any state. */
.product-row .product-photo,
.product-row:hover .product-photo,
.product-row:focus-within .product-photo,
.product-row.expanded .product-photo,
.product-row.viewed .product-photo,
.product-row.selected .product-photo{
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
  border:0!important;
}
.product-row .product-photo img{
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
  border:0!important;
}

/* Cancel all older segmented/hover fills. */
.product-row .product-main,
.product-row .product-price,
.product-row .qty-stepper,
.product-row .product-total,
.product-row .product-expand,
.product-row:hover .product-main,
.product-row:hover .product-price,
.product-row:hover .qty-stepper,
.product-row:hover .product-total,
.product-row:hover .product-expand,
.product-row.expanded .product-main,
.product-row.expanded .product-price,
.product-row.expanded .qty-stepper,
.product-row.expanded .product-total,
.product-row.expanded .product-expand,
.product-row.viewed .product-main,
.product-row.viewed .product-price,
.product-row.viewed .qty-stepper,
.product-row.viewed .product-total,
.product-row.viewed .product-expand,
.product-row.selected .product-main,
.product-row.selected .product-price,
.product-row.selected .qty-stepper,
.product-row.selected .product-total,
.product-row.selected .product-expand{
  background:transparent!important;
  box-shadow:none!important;
}

/* Exactly one persistent catalogue state: qty > 0.
   The fill begins well after the complete photo column. */
.product-row::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:0!important;
  left:92px!important;
  right:8px!important;
  top:7px!important;
  bottom:7px!important;
  border-radius:12px!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:none!important;
  transition:none!important;
}
.product-row.selected::after,
.product-row.selected:hover::after,
.product-row.selected:focus-within::after{
  background:rgba(255,232,167,.26)!important;
  box-shadow:none!important;
}
.product-row:not(.selected):hover::after,
.product-row:not(.selected):focus-within::after,
.product-row.viewed::after,
.product-row.expanded:not(.selected)::after{
  background:transparent!important;
  box-shadow:none!important;
}
@media(min-width:761px){
  .product-row.expanded::after{
    left:194px!important;
  }
}
@media(max-width:760px){
  .product-row::after,
  .product-row.expanded::after{
    left:64px!important;
    right:4px!important;
    top:4px!important;
    bottom:4px!important;
    border-radius:9px!important;
  }
}

/* Order sheet: no hover/current-row colour at all. */
.order-product-row,
.order-product-row:hover,
.order-product-row:focus,
.order-product-row:focus-within,
.order-product-row.order-expanded,
.order-product-row.order-expanded:hover,
.order-product-row.order-expanded:focus-within{
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  outline:0!important;
}
.order-product-row:hover .order-thumb,
.order-product-row:focus-within .order-thumb,
.order-product-row.order-expanded .order-thumb,
.order-product-row.order-expanded:hover .order-thumb{
  background:#fff!important;
  border-color:#ded8cb!important;
  box-shadow:none!important;
  transform:none!important;
}

/* True detail magnifier: strong crop, not a second whole-photo preview. */
.photo-zoom-lens{
  width:250px!important;
  height:250px!important;
  z-index:90!important;
  border-radius:50%!important;
  overflow:hidden!important;
  transform:translate(-50%,-50%)!important;
  pointer-events:none!important;
  background-color:#fff!important;
  background-repeat:no-repeat!important;
  border:5px solid rgba(255,255,255,.98)!important;
  box-shadow:0 10px 34px rgba(24,45,54,.25),0 0 0 1px rgba(58,79,87,.20)!important;
}
.photo-zoom-lens[hidden]{display:none!important}
.photo-zoom-image{display:none!important}
@media (hover:hover) and (pointer:fine) and (min-width:761px){
  .product-row.expanded .product-photo,
  .product-row.expanded .product-photo img{
    pointer-events:auto!important;
    cursor:zoom-in!important;
  }
}
@media(max-width:760px),(hover:none),(pointer:coarse){
  .photo-zoom-lens{display:none!important}
}


/* ===== v1.56 — no row highlight at all ===== */
.product-row::after,
.product-row:hover::after,
.product-row:focus-within::after,
.product-row.selected::after,
.product-row.selected:hover::after,
.product-row.selected:focus-within::after,
.product-row.viewed::after,
.product-row.expanded::after,
.product-row.expanded:hover::after,
.product-row.expanded:focus-within::after{
  background:transparent!important;
  box-shadow:none!important;
}

.product-row,
.product-row:hover,
.product-row:focus,
.product-row:focus-within,
.product-row.selected,
.product-row.selected:hover,
.product-row.selected:focus-within,
.product-row.viewed,
.product-row.viewed:hover,
.product-row.expanded,
.product-row.expanded:hover{
  background:#fff!important;
  box-shadow:none!important;
  outline:0!important;
}

/* Order sheet also stays visually neutral. */
.order-product-row,
.order-product-row:hover,
.order-product-row:focus,
.order-product-row:focus-within,
.order-product-row.order-expanded,
.order-product-row.order-expanded:hover,
.order-product-row.selected,
.order-product-row.selected:hover{
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}


/* ===== v1.56 — canvas magnifier: exact source crop under cursor ===== */
.photo-zoom-lens{
  width:250px!important;
  height:250px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  background:#fff!important;
  background-image:none!important;
}
.photo-zoom-canvas{
  display:block!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
}


/* ===== v1.56 — HARD RESET: zero catalogue/order row highlighting ===== */

/* The catalogue row itself never changes colour for any state. */
#productList .product-row,
#productList .product-row:hover,
#productList .product-row:active,
#productList .product-row:focus,
#productList .product-row:focus-visible,
#productList .product-row:focus-within,
#productList .product-row.viewed,
#productList .product-row.viewed:hover,
#productList .product-row.expanded,
#productList .product-row.expanded:hover,
#productList .product-row.selected,
#productList .product-row.selected:hover,
#productList .product-row.bridge-highlight{
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
  animation:none!important;
  transform:none!important;
}

/* Kill every pseudo-background used by earlier versions. */
#productList .product-row::before,
#productList .product-row::after,
#productList .product-row:hover::before,
#productList .product-row:hover::after,
#productList .product-row.viewed::before,
#productList .product-row.viewed::after,
#productList .product-row.expanded::before,
#productList .product-row.expanded::after,
#productList .product-row.selected::before,
#productList .product-row.selected::after{
  content:none!important;
  display:none!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* No child segment may carry a browsing/selection background either. */
#productList .product-row > *,
#productList .product-row:hover > *,
#productList .product-row:focus-within > *,
#productList .product-row.viewed > *,
#productList .product-row.expanded > *,
#productList .product-row.selected > *,
#productList .product-row .product-main,
#productList .product-row .product-price,
#productList .product-row .qty-stepper,
#productList .product-row .product-total,
#productList .product-row .product-expand,
#productList .product-row .product-photo{
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
}

/* Keep the actual image/placeholder presentation itself intact. */
#productList .product-row .product-photo img{
  background:transparent!important;
}

/* Order sheet: same rule — no current/hover/expanded row colour. */
#orderLines .order-product-row,
#orderLines .order-product-row:hover,
#orderLines .order-product-row:active,
#orderLines .order-product-row:focus,
#orderLines .order-product-row:focus-visible,
#orderLines .order-product-row:focus-within,
#orderLines .order-product-row.order-expanded,
#orderLines .order-product-row.order-expanded:hover,
#orderLines .order-product-row.bridge-highlight{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
  animation:none!important;
  transform:none!important;
}
#orderLines .order-product-row::before,
#orderLines .order-product-row::after{
  content:none!important;
  display:none!important;
}
#orderLines .order-product-row > *,
#orderLines .order-product-row:hover > *,
#orderLines .order-product-row:focus-within > *,
#orderLines .order-product-row.order-expanded > *{
  box-shadow:none!important;
}

/* Disable the old navigation bridge flash on product/order rows. */
#productList .bridge-highlight,
#orderLines .bridge-highlight{
  animation:none!important;
  background:inherit!important;
  box-shadow:none!important;
}


/* ===== v1.56 — two-stage magnifier: 2.3x context ring + 4.6x inner detail ===== */
.photo-zoom-lens{
  width:270px!important;
  height:270px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  background:#fff!important;
  position:absolute!important;
}
.photo-zoom-outer{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border-radius:50%!important;
  display:block!important;
}
.photo-zoom-inner{
  position:absolute!important;
  left:16.6667%!important;
  top:16.6667%!important;
  width:66.6666%!important;
  height:66.6666%!important;
  border-radius:50%!important;
  display:block!important;
  box-shadow:0 0 0 3px rgba(255,255,255,.96),0 0 0 4px rgba(58,79,87,.18)!important;
}


/* ===== v1.56 — restore quantity control; highlight ONLY final total column ===== */

/* Restore the original quantity selector geometry that an older selected-state
   override accidentally changed from grid to flex. */
#productList .product-row .qty-stepper,
#productList .product-row.selected .qty-stepper,
#productList .product-row:hover .qty-stepper,
#productList .product-row.expanded .qty-stepper{
  display:grid!important;
  grid-template-columns:32px 38px 32px!important;
  width:102px!important;
  height:36px!important;
  align-self:center!important;
  align-items:initial!important;
  justify-content:initial!important;
  flex-direction:initial!important;
  overflow:hidden!important;
  border:1px solid #c9d2d4!important;
  border-radius:8px!important;
  background:#fff!important;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* Absolutely no row/hover/viewed/expanded/selected background. */
#productList .product-row,
#productList .product-row:hover,
#productList .product-row:focus-within,
#productList .product-row.viewed,
#productList .product-row.expanded,
#productList .product-row.selected,
#productList .product-row.selected:hover{
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
}
#productList .product-row::before,
#productList .product-row::after{
  content:none!important;
  display:none!important;
}

/* Remove every old selected fill from all ordinary columns. */
#productList .product-row.selected .product-photo,
#productList .product-row.selected .product-main,
#productList .product-row.selected .product-price,
#productList .product-row.selected .qty-stepper,
#productList .product-row.selected .product-expand{
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
}

/* The ONLY colour state: final order-sum column when qty > 0. */
#productList .product-row.selected .product-total{
  background:rgba(255,232,167,.32)!important;
  background-image:none!important;
  border-radius:9px!important;
  box-shadow:none!important;
  align-self:stretch!important;
  justify-content:center!important;
  padding:5px 8px!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* No pointer hover colour even on the selected total column. */
#productList .product-row.selected:hover .product-total{
  background:rgba(255,232,167,.32)!important;
}


/* ===== v1.56 — magnifier layer priority ===== */

/* Expanded row/photo must not trap the lens below sibling content. */
#productList .product-row.expanded{
  z-index:20!important;
  overflow:visible!important;
}
#productList .product-row.expanded .product-photo{
  z-index:500!important;
  overflow:visible!important;
  isolation:auto!important;
}

/* The lens is the top visual layer inside the catalogue body. */
#productList .photo-zoom-lens{
  z-index:10000!important;
  isolation:isolate!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

/* Keep ordinary row content below the magnifier. */
#productList .product-row > :not(.product-photo){
  z-index:2!important;
}
#productList .product-row.expanded > :not(.product-photo){
  z-index:3!important;
}


/* ===== v1.56 — Variant B: bottom selection line across the whole row ===== */

/* Keep all product rows visually neutral by default. */
#productList .product-row,
#productList .product-row:hover,
#productList .product-row:focus,
#productList .product-row:focus-visible,
#productList .product-row:focus-within,
#productList .product-row.viewed,
#productList .product-row.expanded,
#productList .product-row.selected,
#productList .product-row.selected:hover{
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
}

/* Remove previous total-column colour from selected items. */
#productList .product-row.selected .product-total,
#productList .product-row.selected:hover .product-total{
  background:#fff!important;
  background-image:none!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
}

/* No extra pseudo-fills except the bottom selection rule itself. */
#productList .product-row::before{
  content:none!important;
  display:none!important;
}
#productList .product-row::after{
  content:none!important;
  display:none!important;
}

/* For items in cart: draw a thin full-width bottom line, including the photo zone.
   Thickness = 5px total: 4px warm tone + 1px green accent (1/5). */
#productList .product-row.selected{
  position:relative!important;
}
#productList .product-row.selected::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:5px!important;
  z-index:4!important;
  pointer-events:none!important;
  background:linear-gradient(
    to bottom,
    rgba(255,232,167,.92) 0%,
    rgba(255,232,167,.92) 80%,
    rgba(94,161,104,.96) 80%,
    rgba(94,161,104,.96) 100%
  )!important;
}

/* Keep lens above the bottom line when it overlaps. */
#productList .photo-zoom-lens{
  z-index:10000!important;
}


/* ===== v1.56 — pen underline selection + handwritten quantity note ===== */
#productList .product-row,
#productList .product-row:hover,
#productList .product-row:focus,
#productList .product-row:focus-visible,
#productList .product-row:focus-within,
#productList .product-row.viewed,
#productList .product-row.expanded,
#productList .product-row.selected,
#productList .product-row.selected:hover{
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
}
#productList .product-row.selected .product-total,
#productList .product-row.selected:hover .product-total{
  background:#fff!important;
  background-image:none!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
}
#productList .product-row::before{content:none!important;display:none!important;}
#productList .product-row::after{content:none!important;display:none!important;}
#productList .product-row.selected{position:relative!important;}
#productList .product-row.selected::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:8px!important;
  right:8px!important;
  bottom:1px!important;
  height:3px!important;
  z-index:4!important;
  pointer-events:none!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,
    rgba(92,160,100,.58) 0%,
    rgba(92,160,100,.92) 6%,
    rgba(92,160,100,.95) 18%,
    rgba(92,160,100,.94) 82%,
    rgba(92,160,100,.78) 96%,
    rgba(92,160,100,.52) 100%)!important;
  transform:rotate(-0.18deg)!important;
  box-shadow:0 1px 0 rgba(92,160,100,.18)!important;
}
#productList .product-row.selected::before{
  content:"×" attr(data-qty)!important;
  display:block!important;
  position:absolute!important;
  right:14px!important;
  bottom:7px!important;
  z-index:5!important;
  pointer-events:none!important;
  color:rgba(92,160,100,.96)!important;
  font:700 16px/1 "Segoe Print","Bradley Hand","Comic Sans MS",cursive!important;
  letter-spacing:.01em!important;
  text-shadow:0 1px 0 rgba(255,255,255,.72)!important;
  transform:rotate(-4deg)!important;
}
#productList .product-row.selected[data-qty="1"]::before,
#productList .product-row.selected[data-qty="0"]::before{
  content:none!important;
  display:none!important;
}
#orderLines .order-product-row,
#orderLines .order-product-row:hover,
#orderLines .order-product-row:focus,
#orderLines .order-product-row:focus-visible,
#orderLines .order-product-row:focus-within,
#orderLines .order-product-row.order-expanded,
#orderLines .order-product-row.order-expanded:hover{
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
#orderLines .order-product-row::before,
#orderLines .order-product-row::after{content:none!important;display:none!important;}


/* ===== v1.56 — elegant dark-green handwritten underline, animated L→R ===== */

/* Keep all rows neutral. */
#productList .product-row,
#productList .product-row:hover,
#productList .product-row:focus,
#productList .product-row:focus-visible,
#productList .product-row:focus-within,
#productList .product-row.viewed,
#productList .product-row.expanded,
#productList .product-row.selected,
#productList .product-row.selected:hover{
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
}
#productList .product-row .product-total,
#productList .product-row.selected .product-total,
#productList .product-row.selected:hover .product-total{
  background:#fff!important;
  background-image:none!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
}

/* No static top/other markers. */
#productList .product-row::before{
  content:none!important;
  display:none!important;
}

/* Base underline exists for every row so it can animate both in and out.
   Thin, elegant, bottom only, across the whole row including the photo. */
#productList .product-row{
  position:relative!important;
}
#productList .product-row::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:8px!important;
  right:8px!important;
  bottom:2px!important;
  height:2px!important;
  z-index:4!important;
  pointer-events:none!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,
    rgba(45,101,58,.12) 0%,
    rgba(45,101,58,.88) 11%,
    rgba(45,101,58,.94) 50%,
    rgba(45,101,58,.86) 88%,
    rgba(45,101,58,.10) 100%)!important;
  transform:scaleX(0)!important;
  transform-origin:left center!important;
  opacity:.98!important;
  transition:transform .34s cubic-bezier(.2,.75,.3,1)!important;
}
#productList .product-row.selected::after{
  transform:scaleX(1)!important;
}

/* Slightly longer duration on collapse feels like the pen is being lifted back. */
#productList .product-row:not(.selected)::after{
  transition-duration:.28s!important;
}

/* Handwritten side note only when qty > 1. Keep it subtle. */
#productList .product-row.selected[data-qty]::before{
  content:"×" attr(data-qty)!important;
  display:block!important;
  position:absolute!important;
  right:14px!important;
  bottom:7px!important;
  z-index:5!important;
  pointer-events:none!important;
  color:rgba(45,101,58,.92)!important;
  font:700 15px/1 "Segoe Print","Bradley Hand","Comic Sans MS",cursive!important;
  letter-spacing:.01em!important;
  text-shadow:0 1px 0 rgba(255,255,255,.72)!important;
  transform:rotate(-4deg)!important;
  opacity:1!important;
  transition:opacity .18s ease!important;
}
#productList .product-row.selected[data-qty="1"]::before,
#productList .product-row.selected[data-qty="0"]::before,
#productList .product-row:not(.selected)::before{
  content:none!important;
  display:none!important;
}

/* Order sheet remains visually neutral. */
#orderLines .order-product-row,
#orderLines .order-product-row:hover,
#orderLines .order-product-row:focus,
#orderLines .order-product-row:focus-visible,
#orderLines .order-product-row:focus-within,
#orderLines .order-product-row.order-expanded,
#orderLines .order-product-row.order-expanded:hover{
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
#orderLines .order-product-row::before,
#orderLines .order-product-row::after{content:none!important;display:none!important;}


/* ===== v1.56 — handwritten quantity note starts from ×1 ===== */
#productList .product-row.selected[data-qty]::before{
  content:"×" attr(data-qty)!important;
  display:block!important;
}
#productList .product-row.selected[data-qty="0"]::before,
#productList .product-row:not(.selected)::before{
  content:none!important;
  display:none!important;
}


/* ===== v1.56 — very thin, slow, dark-green underline ===== */

/* No other row state colouring. */
#productList .product-row,
#productList .product-row:hover,
#productList .product-row:focus,
#productList .product-row:focus-visible,
#productList .product-row:focus-within,
#productList .product-row.viewed,
#productList .product-row.expanded,
#productList .product-row.selected,
#productList .product-row.selected:hover{
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
}

/* Bottom underline only. It is present structurally for every row so
   selection can animate both forward and backward. */
#productList .product-row{
  position:relative!important;
}
#productList .product-row::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:8px!important;
  right:8px!important;
  bottom:0!important;
  height:1px!important;
  z-index:4!important;
  pointer-events:none!important;
  border-radius:0!important;
  background:#285f37!important;
  box-shadow:none!important;
  opacity:.96!important;
  transform:scaleX(0)!important;
  transform-origin:left center!important;
  transition:transform .9s cubic-bezier(.22,.65,.28,1)!important;
}

/* Qty > 0: the pen draws the line slowly from left to right. */
#productList .product-row.selected::after{
  transform:scaleX(1)!important;
}

/* Qty returns to zero: same line retracts smoothly. */
#productList .product-row:not(.selected)::after{
  transform:scaleX(0)!important;
  transition-duration:.72s!important;
}

/* Keep the handwritten quantity note from V1.10, but never use it
   as a background/highlight. */
#productList .product-row.selected[data-qty]::before{
  background:transparent!important;
  box-shadow:none!important;
}


/* ===== v1.56 — true bottom hairline, darker, much slower, margin note unclipped ===== */

/* Keep selected row marker strictly at the very bottom edge. */
#productList .product-row{
  position:relative!important;
  overflow:visible!important;
}

/* Force the underline to be a true bottom underline, not a top separator. */
#productList .product-row::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  top:auto!important;
  bottom:-1px!important;
  height:1px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:#183823!important;
  box-shadow:none!important;
  opacity:1!important;
  z-index:4!important;
  pointer-events:none!important;
  transform:scaleX(0) scaleY(.34)!important;
  transform-origin:left bottom!important;
  transition:transform 2.7s cubic-bezier(.2,.72,.2,1)!important;
  will-change:transform!important;
}
#productList .product-row.selected::after{
  transform:scaleX(1) scaleY(.34)!important;
}
#productList .product-row:not(.selected)::after{
  transform:scaleX(0) scaleY(.34)!important;
  transition-duration:2.2s!important;
}

/* Handwritten note kept in the left page margin style, but moved inward
   enough to avoid clipping when the product photo is expanded. */
#productList .product-row.selected[data-qty]::before{
  content:"×" attr(data-qty)!important;
  display:block!important;
  position:absolute!important;
  left:2px!important;
  right:auto!important;
  top:auto!important;
  bottom:-12px!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  z-index:6!important;
  pointer-events:none!important;
  color:#1d4a29!important;
  font:700 15px/1 "Segoe Print","Bradley Hand","Comic Sans MS",cursive!important;
  letter-spacing:.01em!important;
  text-shadow:0 1px 0 rgba(255,255,255,.8)!important;
  transform:rotate(-5deg)!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
#productList .product-row.selected[data-qty="0"]::before,
#productList .product-row:not(.selected)::before{
  content:none!important;
  display:none!important;
}

/* Keep the magnifier above the row, but below the sticky page chrome only. */
#productList .photo-zoom-lens{
  z-index:10000!important;
}


/* ===== v1.56 — no underline; very light green selected area (except photo); note above all layers ===== */

/* Base row stays neutral. */
#productList .product-row,
#productList .product-row:hover,
#productList .product-row:focus,
#productList .product-row:focus-visible,
#productList .product-row:focus-within,
#productList .product-row.viewed,
#productList .product-row.expanded,
#productList .product-row.selected,
#productList .product-row.selected:hover{
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
  position:relative!important;
  overflow:visible!important;
}

/* Remove any leftover underline logic completely. */
#productList .product-row::after,
#productList .product-row.selected::after,
#productList .product-row:not(.selected)::after{
  content:none!important;
  display:none!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  height:auto!important;
  transform:none!important;
  transition:none!important;
}

/* Selected row: one continuous soft green field, starting AFTER the photo column.
   Photo zone itself stays white. */
#productList .product-row.selected::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:calc(8px + 54px + 13px)!important;
  right:8px!important;
  top:6px!important;
  bottom:6px!important;
  border-radius:10px!important;
  background:rgba(24,56,35,.055)!important;
  box-shadow:inset 0 0 0 1px rgba(24,56,35,.055)!important;
  z-index:0!important;
  pointer-events:none!important;
}

/* Put all actual content above the selected background panel. */
#productList .product-row > *{
  position:relative!important;
  z-index:1!important;
}
#productList .product-row .product-photo{
  background:#fff!important;
  z-index:2!important;
}
#productList .product-row .product-expand{
  position:relative!important;
  z-index:1!important;
}

/* Handwritten quantity note: return to the margin-note feel and keep it above everything. */
#productList .product-row.selected[data-qty]::before{
  content:"×" attr(data-qty)!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  top:12px!important;
  bottom:auto!important;
  right:auto!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  z-index:200!important;
  pointer-events:none!important;
  color:#1d4a29!important;
  font:700 15px/1 "Segoe Print","Bradley Hand","Comic Sans MS",cursive!important;
  letter-spacing:.01em!important;
  text-shadow:0 1px 0 rgba(255,255,255,.82)!important;
  transform:rotate(-4deg)!important;
  white-space:nowrap!important;
}
#productList .product-row.selected[data-qty="0"]::before,
#productList .product-row:not(.selected)::before{
  content:none!important;
  display:none!important;
}

/* No extra fills inside cells. */
#productList .product-row.selected .product-main,
#productList .product-row.selected .product-price,
#productList .product-row.selected .qty-stepper,
#productList .product-row.selected .product-total,
#productList .product-row.selected .product-expand{
  background:transparent!important;
  box-shadow:none!important;
}

/* Magnifier stays above content panel and images. */
#productList .photo-zoom-lens{
  z-index:10000!important;
}


/* ===== v1.56 — soft irregular green veil for selected items ===== */

/* Neutral base remains untouched. */
#productList .product-row,
#productList .product-row:hover,
#productList .product-row:focus,
#productList .product-row:focus-within,
#productList .product-row.viewed,
#productList .product-row.expanded,
#productList .product-row.selected,
#productList .product-row.selected:hover{
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
}

/* Selected state is a translucent veil over the content area only.
   Multiple gradients avoid the flat 'cell fill' look. */
#productList .product-row.selected::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:calc(8px + 54px + 13px)!important;
  right:8px!important;
  top:6px!important;
  bottom:6px!important;
  border-radius:11px!important;
  z-index:0!important;
  pointer-events:none!important;
  background:
    radial-gradient(120% 180% at 12% 48%, rgba(74,132,87,.095) 0%, rgba(74,132,87,.045) 38%, rgba(74,132,87,0) 68%),
    radial-gradient(95% 145% at 64% 28%, rgba(105,154,115,.070) 0%, rgba(105,154,115,.028) 45%, rgba(105,154,115,0) 76%),
    radial-gradient(85% 150% at 92% 74%, rgba(43,104,58,.060) 0%, rgba(43,104,58,.024) 42%, rgba(43,104,58,0) 72%),
    linear-gradient(96deg, rgba(247,251,247,.96) 0%, rgba(241,249,243,.94) 42%, rgba(246,251,247,.96) 100%)!important;
  box-shadow:
    inset 0 0 0 1px rgba(54,108,65,.035),
    inset 18px 0 28px -24px rgba(54,108,65,.10),
    inset -16px 0 24px -24px rgba(54,108,65,.08)!important;
  filter:saturate(.92)!important;
}

/* Photo column stays pure white and visually separate from the veil. */
#productList .product-row .product-photo,
#productList .product-row.selected .product-photo,
#productList .product-row .product-photo img{
  background:#fff!important;
  box-shadow:none!important;
}

/* Content stays above veil. */
#productList .product-row > *{
  position:relative!important;
  z-index:1!important;
}
#productList .product-row .product-photo{z-index:2!important}

/* Keep the handwritten quantity note crisp and dark green. */
#productList .product-row.selected[data-qty]::before{
  color:#1b4a29!important;
  z-index:250!important;
}


/* ===== v1.56 — branded RX flight to/from order dock ===== */
.order-fly-ghost.rx-brand-flight{
  position:fixed!important;
  z-index:12000!important;
  width:34px!important;
  height:34px!important;
  margin:-17px 0 0 -17px!important;
  display:grid!important;
  place-items:center!important;
  border:1.5px solid #ef5a52!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.98)!important;
  color:#df4039!important;
  box-shadow:0 7px 20px rgba(54,69,72,.17)!important;
  pointer-events:none!important;
  transition:
    transform .72s cubic-bezier(.22,.72,.2,1),
    opacity .68s ease!important;
  transform-origin:center!important;
  will-change:transform,opacity!important;
}
.order-fly-ghost.rx-brand-flight span{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.45px!important;
  color:#df4039!important;
}
.order-fly-ghost.rx-brand-flight.reverse-flight{
  box-shadow:0 6px 18px rgba(54,69,72,.14)!important;
}


/* ===== v1.56 — real smoke-like veil with slow left-to-right sweep ===== */
#productList .product-row.selected::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:calc(8px + 54px + 13px)!important;
  right:8px!important;
  top:6px!important;
  bottom:6px!important;
  border-radius:12px!important;
  z-index:0!important;
  pointer-events:none!important;
  opacity:1!important;
  background:
    radial-gradient(48% 78% at 6% 52%, rgba(95,166,108,.11) 0%, rgba(95,166,108,.07) 24%, rgba(95,166,108,.028) 46%, rgba(95,166,108,0) 72%),
    radial-gradient(38% 66% at 30% 44%, rgba(128,188,138,.08) 0%, rgba(128,188,138,.045) 26%, rgba(128,188,138,.018) 52%, rgba(128,188,138,0) 74%),
    radial-gradient(42% 72% at 68% 56%, rgba(92,150,101,.082) 0%, rgba(92,150,101,.044) 29%, rgba(92,150,101,.015) 50%, rgba(92,150,101,0) 74%),
    radial-gradient(34% 64% at 90% 42%, rgba(72,128,82,.068) 0%, rgba(72,128,82,.032) 24%, rgba(72,128,82,.010) 46%, rgba(72,128,82,0) 70%),
    linear-gradient(90deg, rgba(249,252,249,.98) 0%, rgba(244,250,245,.985) 45%, rgba(248,252,248,.98) 100%)!important;
  background-size:140% 120%, 150% 130%, 150% 130%, 135% 120%, 100% 100%!important;
  background-position:-32% 50%, -18% 46%, 42% 56%, 92% 40%, 0 0!important;
  box-shadow:
    inset 0 0 0 1px rgba(50,108,62,.030),
    inset 20px 0 36px -28px rgba(78,140,89,.10),
    inset -16px 0 34px -28px rgba(78,140,89,.08)!important;
  clip-path:inset(0 100% 0 0 round 12px)!important;
  animation:
    rxdeVeilSweep 2.8s cubic-bezier(.2,.72,.2,1) forwards,
    rxdeVeilDrift 14s ease-in-out 2.8s infinite alternate!important;
}
@keyframes rxdeVeilSweep{
  0%{clip-path:inset(0 100% 0 0 round 12px);opacity:.58}
  32%{clip-path:inset(0 72% 0 0 round 12px);opacity:.76}
  68%{clip-path:inset(0 26% 0 0 round 12px);opacity:.96}
  100%{clip-path:inset(0 0 0 0 round 12px);opacity:1}
}
@keyframes rxdeVeilDrift{
  0%{background-position:-32% 50%, -18% 46%, 42% 56%, 92% 40%, 0 0}
  50%{background-position:-10% 48%, 10% 42%, 58% 52%, 98% 46%, 0 0}
  100%{background-position:10% 52%, 34% 48%, 76% 58%, 104% 44%, 0 0}
}

#productList .product-row .product-photo,
#productList .product-row.selected .product-photo,
#productList .product-row .product-photo img{
  background:#fff!important;
  box-shadow:none!important;
}

#productList .product-row.selected[data-qty]::before{
  z-index:260!important;
  text-shadow:0 1px 0 rgba(255,255,255,.88)!important;
}

/* ===== v1.56 — RX flight originates from qty controls and is slower ===== */
.order-fly-ghost.rx-brand-flight{
  transition:
    transform 1.24s cubic-bezier(.22,.70,.2,1),
    opacity 1.16s ease!important;
  width:34px!important;
  height:34px!important;
  margin:-17px 0 0 -17px!important;
}
.order-fly-ghost.rx-brand-flight span{
  font-size:13px!important;
}


/* ===== v1.56 — explicit selected-state layer fix ===== */
#productList .product-row{overflow:visible!important; isolation:isolate!important;}
#productList .product-row.selected{background:#fff!important;}
#productList .product-row.selected:before{display:none!important;}

/* stronger, visible smoke veil only on the content area (photo column untouched) */
#productList .product-row.selected::after{
  content:""!important;
  position:absolute!important;
  left:calc(8px + 54px + 13px)!important;
  right:6px!important;
  top:6px!important;
  bottom:6px!important;
  display:block!important;
  border-radius:12px!important;
  z-index:0!important;
  pointer-events:none!important;
  opacity:1!important;
  background:
    radial-gradient(55% 95% at 8% 50%, rgba(108,158,114,.14) 0%, rgba(108,158,114,.07) 26%, rgba(108,158,114,.025) 52%, rgba(108,158,114,0) 78%),
    radial-gradient(40% 78% at 30% 45%, rgba(92,142,98,.08) 0%, rgba(92,142,98,.038) 30%, rgba(92,142,98,0) 72%),
    radial-gradient(44% 84% at 72% 55%, rgba(118,170,124,.08) 0%, rgba(118,170,124,.034) 28%, rgba(118,170,124,0) 70%),
    linear-gradient(90deg, rgba(244,250,245,.88) 0%, rgba(233,244,235,.95) 20%, rgba(235,246,237,.94) 52%, rgba(244,250,245,.88) 100%)!important;
  box-shadow:
    inset 0 0 0 1px rgba(58,110,66,.032),
    inset 14px 0 24px -20px rgba(58,110,66,.08),
    inset -10px 0 22px -20px rgba(58,110,66,.06)!important;
  clip-path:inset(0 0 0 0 round 12px)!important;
  animation:
    rxdeVeilSweep117 1.9s cubic-bezier(.2,.72,.2,1) 1,
    rxdeVeilDrift117 11s ease-in-out 1.9s infinite alternate!important;
}
@keyframes rxdeVeilSweep117{
  0%{background-position:-28% 50%, -10% 46%, 56% 52%, 0 0; opacity:.70}
  100%{background-position:12% 50%, 22% 46%, 84% 52%, 0 0; opacity:1}
}
@keyframes rxdeVeilDrift117{
  0%{background-position:0% 50%, 16% 46%, 72% 52%, 0 0}
  50%{background-position:10% 48%, 26% 44%, 84% 54%, 0 0}
  100%{background-position:18% 52%, 36% 48%, 94% 56%, 0 0}
}

/* photo cell stays clean white */
#productList .product-row .product-photo,
#productList .product-row.selected .product-photo,
#productList .product-row .product-photo img{
  background:#fff!important;
  box-shadow:none!important;
  position:relative!important;
  z-index:2!important;
}

/* content above veil */
#productList .product-row > *{position:relative!important; z-index:1!important;}
#productList .product-row.selected[data-qty]::before{
  z-index:260!important;
  color:#255534!important;
  text-shadow:0 1px 0 rgba(255,255,255,.92)!important;
}

/* ===== v1.56 — more visible RX flight ===== */
.order-fly-ghost.rx-brand-flight{
  position:fixed!important;
  z-index:20000!important;
  width:38px!important;
  height:38px!important;
  margin:-19px 0 0 -19px!important;
  display:grid!important;
  place-items:center!important;
  border:1.6px solid #ef5a52!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.995)!important;
  color:#df4039!important;
  box-shadow:0 10px 28px rgba(54,69,72,.23)!important;
  pointer-events:none!important;
  opacity:1!important;
  transition:transform 1.62s cubic-bezier(.22,.70,.2,1), opacity 1.52s ease!important;
  transform-origin:center!important;
  will-change:transform,opacity!important;
}
.order-fly-ghost.rx-brand-flight span{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.35px!important;
  color:#df4039!important;
}


/* ===== v1.56 — reset noisy row highlight / hover ===== */
#productList .product-row,
#productList .product-row:hover,
#productList .product-row[data-expand-row]:hover,
#productList .product-row[data-expand-row].expanded,
#productList .product-row.expanded,
#productList .product-row.selected,
#productList .product-row.selected:hover{
  background:#fff!important;
}
#productList .product-row.selected::after,
#productList .product-row.selected::before{
  content:none!important;
  display:none!important;
}
#productList .product-row .product-main,
#productList .product-row .product-meta,
#productList .product-row .product-price,
#productList .product-row .qty-stepper{
  background:transparent!important;
  box-shadow:none!important;
}
#productList .product-row .product-photo,
#productList .product-row .product-photo img,
#productList .product-row.selected .product-photo,
#productList .product-row.selected .product-photo img{
  background:#fff!important;
  box-shadow:none!important;
}

/* no hover whitening on numeric areas */
#productList .product-row:hover .product-price,
#productList .product-row:hover .product-total,
#productList .product-row:hover .qty-stepper,
#productList .product-row[data-expand-row]:hover .product-price,
#productList .product-row[data-expand-row]:hover .product-total,
#productList .product-row[data-expand-row]:hover .qty-stepper{
  background:transparent!important;
}

/* Keep the handwritten quantity note. */
#productList .product-row.selected[data-qty]::before{
  z-index:260!important;
  color:#255534!important;
  text-shadow:0 1px 0 rgba(255,255,255,.92)!important;
}

/* ===== v1.56 — highlight ONLY total sum column for items in cart ===== */
#productList .product-row .product-total{
  position:relative!important;
  z-index:1!important;
  padding:0!important;
  min-height:auto!important;
  border-radius:12px!important;
  transition:background .18s ease, box-shadow .18s ease!important;
}
#productList .product-row.selected .product-total:not(.empty){
  padding:10px 12px!important;
  min-height:68px!important;
  justify-content:center!important;
  align-self:stretch!important;
  background:
    radial-gradient(120% 120% at 14% 50%, rgba(111,153,114,.14) 0%, rgba(111,153,114,.08) 36%, rgba(111,153,114,.03) 62%, rgba(111,153,114,0) 78%),
    linear-gradient(180deg, rgba(246,250,246,.96) 0%, rgba(239,246,240,.98) 100%)!important;
  box-shadow:
    inset 0 0 0 1px rgba(72,117,77,.05),
    0 1px 0 rgba(255,255,255,.75)!important;
}
#productList .product-row.selected .product-total strong,
#productList .product-row.selected .product-total span,
#productList .product-row.selected .product-total .order-jump{
  position:relative!important;
  z-index:1!important;
}

/* ===== v1.56 — make RX dive into cart easier to notice ===== */
.order-fly-ghost.rx-brand-flight{
  position:fixed!important;
  z-index:25000!important;
  width:42px!important;
  height:42px!important;
  margin:-21px 0 0 -21px!important;
  display:grid!important;
  place-items:center!important;
  border:1.8px solid #ef5a52!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.998)!important;
  color:#df4039!important;
  box-shadow:0 10px 26px rgba(44,58,60,.24)!important;
  pointer-events:none!important;
  opacity:1!important;
  transition:transform 1.82s cubic-bezier(.22,.70,.2,1), opacity 1.72s ease!important;
  transform-origin:center!important;
  will-change:transform,opacity!important;
}
.order-fly-ghost.rx-brand-flight span{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.35px!important;
  color:#df4039!important;
}
.desktop-order-dock.order-accepted{animation:dockReceive118 .9s ease-out!important}
.desktop-order-dock.order-removed{animation:dockRemove118 .9s ease-out!important}
@keyframes dockReceive118{
  0%{transform:scale(1)}
  45%{transform:scale(1.05);border-color:#709f90;box-shadow:0 0 0 7px rgba(82,142,122,.14)}
  100%{transform:scale(1)}
}
@keyframes dockRemove118{
  0%{transform:scale(1)}
  45%{transform:scale(.975);border-color:#c69b95;box-shadow:0 0 0 6px rgba(181,109,98,.12)}
  100%{transform:scale(1)}
}


/* ===== v1.56 — only total block highlight, no name/price hover paint ===== */
#productList .product-row,
#productList .product-row:hover,
#productList .product-row[data-expand-row]:hover,
#productList .product-row[data-expand-row].expanded,
#productList .product-row.expanded,
#productList .product-row.selected,
#productList .product-row.selected:hover{
  background:#fff!important;
}
#productList .product-row::before,
#productList .product-row::after,
#productList .product-row.selected::after{
  display:none!important;
}
#productList .product-row .product-main,
#productList .product-row .product-meta,
#productList .product-row .product-title,
#productList .product-row button.product-title,
#productList .product-row .product-price,
#productList .product-row:hover .product-price,
#productList .product-row:hover .product-main,
#productList .product-row:hover .product-meta,
#productList .product-row:hover .product-title,
#productList .product-row[data-expand-row]:hover .product-price,
#productList .product-row[data-expand-row]:hover .product-main,
#productList .product-row[data-expand-row]:hover .product-meta,
#productList .product-row[data-expand-row]:hover .product-title,
#productList .product-row .qty-stepper,
#productList .product-row:hover .qty-stepper,
#productList .product-row[data-expand-row]:hover .qty-stepper{
  background:transparent!important;
  box-shadow:none!important;
}
#productList .product-row .product-photo,
#productList .product-row.selected .product-photo,
#productList .product-row .product-photo img,
#productList .product-row.selected .product-photo img{
  background:#fff!important;
  box-shadow:none!important;
}
/* keep handwritten qty mark visible above photo */
#productList .product-row.selected[data-qty]::before{
  display:block!important;
  z-index:260!important;
  color:#295c33!important;
  text-shadow:0 1px 0 rgba(255,255,255,.94)!important;
}
/* highlight only total amount block */
#productList .product-row .product-total{
  position:relative!important;
  align-self:center!important;
  justify-self:end!important;
  border-radius:14px!important;
  transition:background .18s ease, box-shadow .18s ease!important;
}
#productList .product-row.selected .product-total:not(.empty){
  padding:10px 14px!important;
  min-height:70px!important;
  align-self:stretch!important;
  justify-content:center!important;
  background:
    radial-gradient(95% 130% at 18% 50%, rgba(106,153,110,.10) 0%, rgba(106,153,110,.05) 42%, rgba(106,153,110,.015) 70%, rgba(106,153,110,0) 84%),
    linear-gradient(180deg, rgba(247,251,247,.98) 0%, rgba(241,247,242,.98) 100%)!important;
  box-shadow:
    inset 0 0 0 1px rgba(71,111,75,.04),
    0 1px 0 rgba(255,255,255,.9)!important;
}
#productList .product-row.selected .product-total strong,
#productList .product-row.selected .product-total span,
#productList .product-row.selected .product-total .order-jump{
  position:relative!important;
  z-index:2!important;
}
#productList .product-row:hover .product-total,
#productList .product-row[data-expand-row]:hover .product-total{
  background:inherit!important;
}

/* ===== v1.56 — dedicated fixed layer for RX flight ===== */
#rx-flight-layer{
  position:fixed!important;
  inset:0!important;
  pointer-events:none!important;
  z-index:30000!important;
  overflow:visible!important;
}
.order-fly-ghost.rx-brand-flight{
  position:fixed!important;
  z-index:30001!important;
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border:1.8px solid #ef5a52!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.998)!important;
  color:#df4039!important;
  box-shadow:0 10px 26px rgba(44,58,60,.24)!important;
  pointer-events:none!important;
  opacity:1!important;
  transform:translate(-50%,-50%) scale(1) rotate(0deg)!important;
  transform-origin:center!important;
  will-change:left,top,transform,opacity!important;
}
.order-fly-ghost.rx-brand-flight span{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.35px!important;
  color:#df4039!important;
}
.desktop-order-dock.order-accepted{animation:dockReceive119 .98s ease-out!important}
.desktop-order-dock.order-removed{animation:dockRemove119 .98s ease-out!important}
@keyframes dockReceive119{
  0%{transform:scale(1)}
  46%{transform:scale(1.055);border-color:#709f90;box-shadow:0 0 0 7px rgba(82,142,122,.14)}
  100%{transform:scale(1)}
}
@keyframes dockRemove119{
  0%{transform:scale(1)}
  46%{transform:scale(.972);border-color:#c69b95;box-shadow:0 0 0 6px rgba(181,109,98,.12)}
  100%{transform:scale(1)}
}


/* ===== v1.56 — keep total highlight visible on hover, row stays clean ===== */
#productList .product-row.selected .product-total:not(.empty),
#productList .product-row.selected:hover .product-total:not(.empty),
#productList .product-row.selected[data-expand-row]:hover .product-total:not(.empty){
  padding:10px 14px!important;
  min-height:70px!important;
  align-self:stretch!important;
  justify-content:center!important;
  background:
    radial-gradient(95% 130% at 18% 50%, rgba(106,153,110,.10) 0%, rgba(106,153,110,.05) 42%, rgba(106,153,110,.015) 70%, rgba(106,153,110,0) 84%),
    linear-gradient(180deg, rgba(247,251,247,.98) 0%, rgba(241,247,242,.98) 100%)!important;
  box-shadow:
    inset 0 0 0 1px rgba(71,111,75,.04),
    0 1px 0 rgba(255,255,255,.9)!important;
}
#productList .product-row:hover .product-total:empty,
#productList .product-row[data-expand-row]:hover .product-total:empty{
  background:transparent!important;
}
#productList .product-row .product-total,
#productList .product-row .product-total strong,
#productList .product-row .product-total span,
#productList .product-row .product-total .order-jump{
  text-align:right!important;
}
#productList .product-row .product-total{
  align-items:flex-end!important;
}
#productList .product-row .product-total .order-jump{
  align-self:flex-end!important;
}
#productList .product-row .product-title,
#productList .product-row:hover .product-title,
#productList .product-row[data-expand-row]:hover .product-title,
#productList .product-row .product-price,
#productList .product-row:hover .product-price,
#productList .product-row[data-expand-row]:hover .product-price{
  background:transparent!important;
  box-shadow:none!important;
}

/* ===== v1.56 — clearer pending-delete with centered question ===== */
.product-row.pending-delete,
.order-line.pending-delete,
.order-product-row.pending-delete{
  position:relative!important;
  isolation:isolate!important;
}
.product-row.pending-delete::after,
.order-line.pending-delete::after,
.order-product-row.pending-delete::after{
  content:""!important;
  position:absolute!important;
  inset:4px 0!important;
  z-index:9!important;
  background:
    linear-gradient(0deg, rgba(255,253,253,.76), rgba(255,253,253,.76)),
    repeating-linear-gradient(14deg, transparent 0 17px, rgba(190,72,63,.20) 17px 19px),
    repeating-linear-gradient(-14deg, transparent 0 17px, rgba(190,72,63,.14) 17px 19px)!important;
  pointer-events:none!important;
}
.delete-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:25!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px!important;
  pointer-events:none!important;
}
.delete-card.delete-card-confirm{
  width:min(430px, calc(100% - 28px))!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:12px!important;
  padding:14px 16px!important;
  border:1px solid #d7c1bd!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 10px 28px rgba(70,40,35,.16)!important;
  pointer-events:auto!important;
  text-align:center!important;
}
.delete-card .delete-copy{display:flex!important;flex-direction:column!important;gap:5px!important;align-items:center!important}
.delete-card .delete-copy b{font-size:15px!important;line-height:1.2!important;color:#593d39!important}
.delete-card .delete-copy span{font-size:12px!important;line-height:1.35!important;color:#7a5a55!important}
.delete-card .delete-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;flex-wrap:wrap!important}
.delete-card .delete-actions button{
  height:34px!important;
  min-width:112px!important;
  padding:0 12px!important;
  border-radius:9px!important;
  cursor:pointer!important;
  font-size:11.5px!important;
  font-weight:790!important;
  letter-spacing:.02em!important;
}
.delete-card .delete-keep{border:1px solid #cfd3d1!important;background:#fff!important;color:#4b635c!important}
.delete-card .delete-confirm{border:1px solid #ddb2ad!important;background:#fff3f1!important;color:#934a43!important}

/* ===== v1.56 — right aligned totals in catalog and order sheet ===== */
.product-total,
.product-total strong,
.product-total span,
.product-total .order-jump,
.order-line-total,
.order-line-total strong,
.order-line-total span,
.compact-logistics-rub,
.compact-logistics-eur,
.presend-sum,
.presend-sum span,
.presend-sum small{
  text-align:right!important;
}
.order-line-total,
.compact-logistics-rub,
.presend-sum{
  align-items:flex-end!important;
}
.order-line-total{justify-self:end!important}

/* keep delete overlay centered on narrow rows too */
.order-product-row.pending-delete .delete-overlay,
.order-line.pending-delete .delete-overlay,
.product-row.pending-delete .delete-overlay{overflow:visible!important}


/* ===== v1.56 — softer premium drift RX flight ===== */
#rx-flight-layer{
  position:fixed!important;
  inset:0!important;
  pointer-events:none!important;
  z-index:10030!important;
  overflow:visible!important;
}
.order-fly-ghost.rx-brand-flight.drift-flight{
  will-change:transform,left,top,opacity!important;
  box-shadow:0 10px 26px rgba(38,57,48,.10), 0 2px 6px rgba(38,57,48,.10)!important;
  filter:drop-shadow(0 3px 8px rgba(29,43,37,.10))!important;
}
.search-suggest,
#searchSuggest{
  position:relative;
  z-index:120;
}


/* ===== v1.56 — robust centered delete confirmation ===== */
.product-row.pending-delete,
.order-line.pending-delete,
.order-product-row.pending-delete{
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
}

/* Red crossed-out state sits over the entire item while waiting for choice. */
.product-row.pending-delete::after,
.order-line.pending-delete::after,
.order-product-row.pending-delete::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:3px 0!important;
  z-index:18!important;
  pointer-events:none!important;
  border-radius:8px!important;
  background:
    repeating-linear-gradient(15deg,
      rgba(255,255,255,.00) 0 19px,
      rgba(175,56,49,.34) 19px 20.5px,
      rgba(255,255,255,.00) 20.5px 39px),
    repeating-linear-gradient(-15deg,
      rgba(255,255,255,.00) 0 19px,
      rgba(175,56,49,.22) 19px 20.5px,
      rgba(255,255,255,.00) 20.5px 39px),
    rgba(255,252,251,.68)!important;
}

/* The confirmation owns the whole row, not any one grid column. */
.product-row.pending-delete > .delete-overlay,
.order-line.pending-delete > .delete-overlay,
.order-product-row.pending-delete > .delete-overlay{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  z-index:24!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  padding:8px 18px!important;
  margin:0!important;
  pointer-events:none!important;
  overflow:visible!important;
}
.product-row.pending-delete > .delete-overlay > .delete-card,
.order-line.pending-delete > .delete-overlay > .delete-card,
.order-product-row.pending-delete > .delete-overlay > .delete-card{
  position:relative!important;
  grid-column:1!important;
  justify-self:center!important;
  align-self:center!important;
  width:min(520px,calc(100% - 40px))!important;
  min-width:min(330px,calc(100% - 20px))!important;
  max-width:520px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  padding:12px 14px!important;
  margin:0!important;
  border:1px solid #d7c1bd!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 12px 32px rgba(70,40,35,.17)!important;
  pointer-events:auto!important;
  text-align:left!important;
}
.delete-card-confirm .delete-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
}
.delete-card-confirm .delete-copy b{font-size:14px!important;line-height:1.2!important;color:#583d39!important}
.delete-card-confirm .delete-copy span{font-size:11.5px!important;line-height:1.3!important;color:#795b56!important}
.delete-card-confirm .delete-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
}
.delete-card-confirm .delete-actions button{
  min-width:96px!important;
  height:34px!important;
  padding:0 11px!important;
  white-space:nowrap!important;
}
@media(max-width:720px){
  .product-row.pending-delete > .delete-overlay > .delete-card,
  .order-line.pending-delete > .delete-overlay > .delete-card,
  .order-product-row.pending-delete > .delete-overlay > .delete-card{
    width:min(390px,calc(100% - 18px))!important;
    min-width:0!important;
    grid-template-columns:1fr!important;
    text-align:center!important;
  }
  .delete-card-confirm .delete-copy{align-items:center!important}
}


/* ===== v1.56 — semantic order-list marker ===== */
.order-list-mark{
  width:30px;height:30px;display:inline-grid;place-items:center;flex:0 0 auto;
}
.order-list-mark svg{width:28px;height:28px;display:block;overflow:visible}
.order-list-mark .olm-sheet,
.order-list-mark .olm-fold,
.order-list-mark .olm-hole,
.order-list-mark .olm-red,
.order-list-mark .olm-blue{
  fill:none;stroke-linecap:round;stroke-linejoin:round;
}
.order-list-mark .olm-sheet,.order-list-mark .olm-fold,.order-list-mark .olm-hole{stroke:#e64a43;stroke-width:1.7}
.order-list-mark .olm-red{stroke:#e64a43;stroke-width:2.1}
.order-list-mark .olm-blue{stroke:#15334e;stroke-width:2.1}
.desktop-order-dock.order-status-standard{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:7px!important;
}
.desktop-order-dock .order-status-copy{
  min-width:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;
}
.desktop-order-dock .order-status-meta,
.desktop-order-dock .order-status-total{text-align:right!important;width:100%}
.order-title-with-mark{display:flex!important;align-items:center!important;gap:10px!important}
.order-title-with-mark>.order-list-mark{width:34px;height:34px}
.order-title-with-mark>.order-list-mark svg{width:32px;height:32px}

/* ===== v1.56 — text-free branded flight marker ===== */
#rx-flight-layer{z-index:30000!important}
.order-fly-ghost.brand-frame-flight{
  position:fixed!important;
  z-index:30001!important;
  width:42px!important;height:42px!important;
  pointer-events:none!important;
  opacity:1!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  transform:translate(-50%,-50%) scale(1) rotate(0deg);
  transform-origin:center;
  will-change:left,top,transform,opacity;
}
.flight-frame-core{
  position:absolute;inset:3px;
  display:block;
  border:2px solid #e64a43;
  border-radius:12px;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 20px rgba(41,56,60,.12);
}
.flight-stroke{position:absolute;display:block;width:9px;height:3px;border-radius:999px}
.flight-stroke-red{left:-5px;bottom:5px;background:#e64a43;transform:rotate(-42deg)}
.flight-stroke-blue{right:-4px;top:5px;background:#15334e;transform:rotate(-42deg)}
.order-fly-ghost.brand-frame-flight.reverse-flight .flight-frame-core{box-shadow:0 7px 18px rgba(41,56,60,.10)}

@media(max-width:760px){
  .desktop-order-dock.order-status-standard{grid-template-columns:26px minmax(0,1fr)!important;column-gap:5px!important}
  .desktop-order-dock .order-list-mark{width:25px;height:25px}
  .desktop-order-dock .order-list-mark svg{width:24px;height:24px}
  .order-title-with-mark>.order-list-mark{width:30px;height:30px}
  .order-title-with-mark>.order-list-mark svg{width:28px;height:28px}
}


/* ===== v1.56 — simple reliable countdown deletion, truly centered ===== */
.product-row.pending-delete,
.order-line.pending-delete,
.order-product-row.pending-delete{
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
}

/* Clear red cross-hatching over the whole item during the 2 s countdown. */
.product-row.pending-delete::after,
.order-line.pending-delete::after,
.order-product-row.pending-delete::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:4px 0!important;
  z-index:18!important;
  pointer-events:none!important;
  border-radius:8px!important;
  background:
    repeating-linear-gradient(15deg,
      transparent 0 21px,
      rgba(173,55,49,.36) 21px 22.5px,
      transparent 22.5px 43px),
    repeating-linear-gradient(-15deg,
      transparent 0 21px,
      rgba(173,55,49,.24) 21px 22.5px,
      transparent 22.5px 43px),
    rgba(255,252,251,.58)!important;
}

/* Do not let old grid/column rules position the delete UI. */
.product-row.pending-delete > .delete-overlay.delete-countdown-overlay,
.order-line.pending-delete > .delete-overlay.delete-countdown-overlay,
.order-product-row.pending-delete > .delete-overlay.delete-countdown-overlay{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:0!important;
  bottom:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  z-index:30!important;
  pointer-events:none!important;
  overflow:visible!important;
}

.product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
.order-line.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
.order-product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  width:auto!important;
  min-width:310px!important;
  max-width:min(460px,calc(100% - 36px))!important;
  height:auto!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  padding:10px 14px!important;
  margin:0!important;
  border:1px solid #d7c1bd!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.99)!important;
  box-shadow:0 12px 30px rgba(70,40,35,.16)!important;
  pointer-events:auto!important;
  white-space:nowrap!important;
  text-align:center!important;
}
.delete-card-countdown .delete-countdown-copy{
  display:inline-block!important;
  color:#6d4c47!important;
  font-size:12.5px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.delete-card-countdown .delete-countdown-copy b{
  color:#4f3733!important;
  font-size:14px!important;
  font-variant-numeric:tabular-nums!important;
}
.delete-card-countdown .delete-cancel{
  height:32px!important;
  min-width:110px!important;
  padding:0 11px!important;
  border:1px solid #cfd3d1!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#405d55!important;
  font-size:11px!important;
  font-weight:780!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
@media(max-width:640px){
  .product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
  .order-line.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
  .order-product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown{
    min-width:0!important;
    width:min(330px,calc(100% - 20px))!important;
    flex-wrap:wrap!important;
    gap:9px!important;
  }
}


/* ===== v1.56 — true center over the whole grid item ===== */
.product-row.pending-delete > .delete-overlay.delete-countdown-overlay,
.order-line.pending-delete > .delete-overlay.delete-countdown-overlay,
.order-product-row.pending-delete > .delete-overlay.delete-countdown-overlay{
  grid-column:1 / -1!important;
  grid-row:1 / -1!important;
  position:absolute!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  z-index:40!important;
  pointer-events:none!important;
  overflow:visible!important;
}
.product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
.order-line.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
.order-product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown{
  position:relative!important;
  left:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:auto!important;
  min-width:310px!important;
  max-width:min(460px,calc(100% - 40px))!important;
  margin:auto!important;
  z-index:41!important;
}

/* Catalog: the information box is centered; no aggressive red cross is needed here. */
#productList .product-row.pending-delete::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:4px 0!important;
  z-index:18!important;
  pointer-events:none!important;
  border-radius:10px!important;
  background:rgba(255,252,251,.62)!important;
  box-shadow:inset 0 0 0 1px rgba(176,74,66,.08)!important;
}

/* Order sheet: explicit red X across the full position. */
.order-product-row.pending-delete::before,
.order-line.pending-delete::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:1.5%!important;
  top:50%!important;
  width:97%!important;
  height:2px!important;
  z-index:22!important;
  pointer-events:none!important;
  border-radius:999px!important;
  background:rgba(177,54,49,.78)!important;
  transform:rotate(7deg)!important;
  transform-origin:center!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.38)!important;
}
.order-product-row.pending-delete::after,
.order-line.pending-delete::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:1.5%!important;
  top:50%!important;
  width:97%!important;
  height:2px!important;
  z-index:22!important;
  pointer-events:none!important;
  border-radius:999px!important;
  background:rgba(177,54,49,.62)!important;
  transform:rotate(-7deg)!important;
  transform-origin:center!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.32)!important;
}

/* Dissolve after countdown reaches zero. */
.product-row.delete-dissolve-catalog{
  pointer-events:none!important;
  animation:rxdeCatalogDissolve .36s ease forwards!important;
}
@keyframes rxdeCatalogDissolve{
  0%{opacity:1;filter:blur(0);transform:scale(1)}
  55%{opacity:.34;filter:blur(1.2px);transform:scale(.995)}
  100%{opacity:.06;filter:blur(3px);transform:scale(.988)}
}
.product-row.delete-return-catalog{
  animation:rxdeCatalogReturn .28s ease both!important;
}
@keyframes rxdeCatalogReturn{
  0%{opacity:.08;filter:blur(2px)}
  100%{opacity:1;filter:blur(0)}
}
.order-product-row.delete-dissolve-order,
.order-line.delete-dissolve-order{
  pointer-events:none!important;
  overflow:hidden!important;
  animation:rxdeOrderDissolve .36s ease forwards!important;
}
@keyframes rxdeOrderDissolve{
  0%{opacity:1;filter:blur(0);transform:scaleY(1)}
  70%{opacity:.20;filter:blur(1.8px);transform:scaleY(.82)}
  100%{opacity:0;filter:blur(3px);transform:scaleY(.60)}
}

@media(max-width:640px){
  .product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
  .order-line.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
  .order-product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown{
    min-width:0!important;
    width:min(330px,calc(100% - 24px))!important;
  }
}


/* ===== v1.56 — deletion geometry: overlay never participates in product grid ===== */
.product-row.pending-delete,
.order-product-row.pending-delete,
.order-line.pending-delete{
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
}
.product-row.pending-delete > .delete-overlay.delete-countdown-overlay,
.order-product-row.pending-delete > .delete-overlay.delete-countdown-overlay,
.order-line.pending-delete > .delete-overlay.delete-countdown-overlay{
  position:absolute!important;
  inset:0!important;
  left:0!important;right:0!important;top:0!important;bottom:0!important;
  width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  grid-column:auto!important;
  grid-row:auto!important;
  display:block!important;
  padding:0!important;margin:0!important;
  z-index:80!important;
  pointer-events:none!important;
  overflow:visible!important;
}

/* Catalog: floating question above the product content, centered horizontally.
   It does NOT reserve space, so closed and expanded cards retain their geometry. */
#productList .product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown{
  position:absolute!important;
  left:50%!important;
  top:10px!important;
  right:auto!important;bottom:auto!important;
  transform:translateX(-50%)!important;
  margin:0!important;
  width:auto!important;
  min-width:310px!important;
  max-width:min(460px,calc(100% - 36px))!important;
  z-index:84!important;
}

/* Order sheet: keep the question exactly in the visual center of the row. */
#orderLines .order-product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
#orderLines .order-line.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown{
  position:absolute!important;
  left:50%!important;top:50%!important;
  right:auto!important;bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
  width:auto!important;
  min-width:310px!important;
  max-width:min(460px,calc(100% - 36px))!important;
  z-index:84!important;
}

/* Catalog countdown: calm wash only; no red cross. */
#productList .product-row.pending-delete::before,
#productList .product-row.pending-delete::after{
  content:none!important;
  display:none!important;
}
#productList .product-row.pending-delete > .delete-overlay::before{
  content:""!important;
  position:absolute!important;
  inset:3px 0!important;
  display:block!important;
  z-index:1!important;
  border-radius:10px!important;
  background:rgba(255,252,251,.66)!important;
  box-shadow:inset 0 0 0 1px rgba(176,74,66,.07)!important;
  pointer-events:none!important;
}

/* Real red cross layers in the ORDER SHEET. They are DOM elements, not pseudo-elements,
   so accumulated row styles cannot suppress them. */
.delete-strike-line{display:none!important}
#orderLines .order-product-row.pending-delete .delete-strike-line,
#orderLines .order-line.pending-delete .delete-strike-line{
  display:block!important;
  position:absolute!important;
  left:2%!important;
  top:50%!important;
  width:96%!important;
  height:2.5px!important;
  border-radius:999px!important;
  background:rgba(181,53,47,.82)!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.30)!important;
  transform-origin:center!important;
  z-index:72!important;
  pointer-events:none!important;
}
#orderLines .order-product-row.pending-delete .delete-strike-a,
#orderLines .order-line.pending-delete .delete-strike-a{transform:rotate(6.5deg)!important}
#orderLines .order-product-row.pending-delete .delete-strike-b,
#orderLines .order-line.pending-delete .delete-strike-b{transform:rotate(-6.5deg)!important;background:rgba(181,53,47,.68)!important}
/* Disable older pseudo crosses in the order sheet: real layers above replace them. */
#orderLines .order-product-row.pending-delete::before,
#orderLines .order-product-row.pending-delete::after,
#orderLines .order-line.pending-delete::before,
#orderLines .order-line.pending-delete::after{
  content:none!important;
  display:none!important;
}

/* Keep item perfectly still while the reverse brand marker is returning. */
.product-row.delete-landing-wait,
.order-product-row.delete-landing-wait,
.order-line.delete-landing-wait{
  pointer-events:none!important;
  opacity:1!important;
  transform:none!important;
  filter:none!important;
}

/* Landing is complete -> dissolve. Layout is still preserved during this animation. */
.product-row.delete-dissolve-catalog{
  pointer-events:none!important;
  transform-origin:center!important;
  animation:rxdeCatalogDissolve126 .52s cubic-bezier(.22,.7,.2,1) forwards!important;
}
@keyframes rxdeCatalogDissolve126{
  0%{opacity:1;filter:blur(0);transform:scale(1)}
  35%{opacity:.78;filter:blur(.25px);transform:scale(.999)}
  72%{opacity:.30;filter:blur(1.5px);transform:scale(.992)}
  100%{opacity:0;filter:blur(3.5px);transform:scale(.984)}
}
.order-product-row.delete-dissolve-order,
.order-line.delete-dissolve-order{
  pointer-events:none!important;
  transform-origin:center!important;
  overflow:hidden!important;
  animation:rxdeOrderDissolve126 .52s cubic-bezier(.22,.7,.2,1) forwards!important;
}
@keyframes rxdeOrderDissolve126{
  0%{opacity:1;filter:blur(0);transform:scale(1)}
  38%{opacity:.72;filter:blur(.4px);transform:scale(.997)}
  75%{opacity:.22;filter:blur(1.8px);transform:scale(.988)}
  100%{opacity:0;filter:blur(3.5px);transform:scale(.976)}
}

@media(max-width:640px){
  #productList .product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
  #orderLines .order-product-row.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown,
  #orderLines .order-line.pending-delete > .delete-overlay.delete-countdown-overlay > .delete-card-countdown{
    min-width:0!important;
    width:min(330px,calc(100% - 24px))!important;
  }
}


/* ===== v1.56 — stable unit-price placement ===== */
@media(min-width:761px){
  #productList .product-row.expanded .product-price{
    grid-row:1!important;
    align-self:start!important;
    justify-self:stretch!important;
    margin-top:5px!important;
    min-height:48px!important;
    justify-content:flex-start!important;
  }
  #productList .product-row.expanded.selected .product-price{
    align-self:start!important;
    justify-content:flex-start!important;
  }
}

/* ===== v1.56 — deletion confirmation lives in a portal, outside product grids ===== */
#rx-delete-portal{
  position:fixed!important;
  inset:0!important;
  z-index:28000!important;
  pointer-events:none!important;
  overflow:visible!important;
}
.delete-overlay-portal{
  position:fixed!important;
  pointer-events:none!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:10px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.delete-overlay-portal.delete-overlay-catalog{
  align-items:flex-start!important;
}
.delete-overlay-portal.delete-overlay-catalog::before{
  content:"";
  position:absolute;inset:3px 0;
  border-radius:10px;
  background:rgba(255,252,251,.62);
  box-shadow:inset 0 0 0 1px rgba(176,74,66,.07);
  pointer-events:none;
}
.delete-overlay-portal .delete-card-countdown{
  position:relative!important;
  left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;
  transform:none!important;
  margin:0 auto!important;
  width:auto!important;
  min-width:310px!important;
  max-width:min(460px,calc(100% - 28px))!important;
  z-index:5!important;
  pointer-events:auto!important;
}
.delete-overlay-portal.delete-overlay-order{
  align-items:center!important;
}
.delete-overlay-portal.delete-overlay-order .delete-strike-line{
  display:block!important;
  position:absolute!important;
  left:2%!important;
  top:50%!important;
  width:96%!important;
  height:2.5px!important;
  border-radius:999px!important;
  background:rgba(181,53,47,.84)!important;
  transform-origin:center!important;
  z-index:2!important;
  pointer-events:none!important;
}
.delete-overlay-portal.delete-overlay-order .delete-strike-a{transform:rotate(6.5deg)!important}
.delete-overlay-portal.delete-overlay-order .delete-strike-b{transform:rotate(-6.5deg)!important;background:rgba(181,53,47,.68)!important}

/* Disable old child overlays; V1.56 uses only the fixed portal. */
.product-row > .delete-overlay,
.order-product-row > .delete-overlay,
.order-line > .delete-overlay{display:none!important}

/* ===== v1.56 — land first, then blow the row away ===== */
.product-row.delete-landing-wait,
.order-product-row.delete-landing-wait,
.order-line.delete-landing-wait{
  pointer-events:none!important;
  opacity:1!important;
  transform:none!important;
  filter:none!important;
}
.product-row.delete-blow-away,
.order-product-row.delete-blow-away,
.order-line.delete-blow-away{
  pointer-events:none!important;
  transform-origin:center left!important;
  animation:rxdeBlowAway127 .76s cubic-bezier(.18,.72,.18,1) forwards!important;
  will-change:transform,opacity,filter,clip-path!important;
}
@keyframes rxdeBlowAway127{
  0%{opacity:1;filter:blur(0);transform:translateX(0) scale(1);clip-path:inset(0 0 0 0)}
  22%{opacity:.92;filter:blur(.2px);transform:translateX(3px) scale(.999);clip-path:inset(0 0 0 0)}
  52%{opacity:.63;filter:blur(1.2px);transform:translateX(15px) scale(.992);clip-path:inset(0 0 0 6%)}
  78%{opacity:.25;filter:blur(3px);transform:translateX(34px) scale(.975);clip-path:inset(0 0 0 22%)}
  100%{opacity:0;filter:blur(6px);transform:translateX(58px) scale(.95);clip-path:inset(0 0 0 48%)}
}
.product-row.delete-after-blow{animation:rxdeAfterBlow127 .28s ease-out both!important}
@keyframes rxdeAfterBlow127{from{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur(0)}}

/* Internal order-header status gets the same receive/remove response as the outer dock. */
#orderHeaderStatus.order-accepted{animation:dockReceive119 .98s ease-out!important}
#orderHeaderStatus.order-removed{animation:dockRemove119 .98s ease-out!important}

@media(max-width:640px){
  .delete-overlay-portal .delete-card-countdown{
    min-width:0!important;
    width:min(330px,calc(100% - 20px))!important;
  }
}


/* ===== v1.56 — ten-step visual erase before actual row reflow ===== */
.delete-overlay-portal{overflow:hidden!important}
.delete-erase-layer{
  position:absolute!important;inset:0!important;z-index:7!important;
  display:grid!important;grid-template-columns:repeat(10,1fr)!important;
  pointer-events:none!important;overflow:hidden!important;
}
.delete-erase-segment{
  display:block!important;height:100%!important;
  background:rgba(255,255,255,.985)!important;
  opacity:0!important;transform:scaleX(.02)!important;transform-origin:left center!important;
}
.delete-overlay-portal.delete-erasing .delete-erase-segment{
  animation:rxdeEraseSegment128 .42s cubic-bezier(.25,.7,.25,1) forwards!important;
  animation-delay:calc(var(--erase-i) * .115s)!important;
}
@keyframes rxdeEraseSegment128{
  0%{opacity:0;transform:scaleX(.02)}
  28%{opacity:.76;transform:scaleX(.58)}
  100%{opacity:1;transform:scaleX(1)}
}
/* Strike marks and question are deliberately above the white eraser. */
.delete-overlay-portal .delete-strike-line{z-index:12!important;display:block!important;position:absolute!important;left:3%!important;right:3%!important;top:50%!important;height:2px!important;background:rgba(184,51,44,.76)!important;transform-origin:center!important;pointer-events:none!important}
.delete-overlay-portal .delete-strike-a{transform:rotate(5.2deg)!important}
.delete-overlay-portal .delete-strike-b{transform:rotate(-5.2deg)!important;background:rgba(184,51,44,.60)!important}
.delete-overlay-portal .delete-card-countdown{z-index:18!important}
.delete-overlay-portal.delete-erasing .delete-card-countdown{box-shadow:0 10px 28px rgba(83,47,42,.14)!important}
.delete-overlay-portal.delete-overlay-finish{animation:rxdeDeletePortalFade128 .55s ease-in forwards!important}
@keyframes rxdeDeletePortalFade128{to{opacity:0;filter:blur(2px)}}

/* The DOM row stays put until erase/landing is complete, then physically collapses. */
.product-row.delete-row-collapse,
.order-product-row.delete-row-collapse,
.order-line.delete-row-collapse{
  overflow:hidden!important;
  animation:rxdeRowCollapse128 .60s cubic-bezier(.42,0,.3,1) forwards!important;
  transform-origin:center top!important;
}
@keyframes rxdeRowCollapse128{
  0%{opacity:1;filter:blur(0);transform:scaleY(1);max-height:420px}
  45%{opacity:.35;filter:blur(3px);transform:scaleY(.94);max-height:420px}
  100%{opacity:0;filter:blur(7px);transform:scaleY(.02);max-height:0;margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;border-width:0!important}
}
.product-row.delete-row-return{animation:rxdeRowReturn128 .45s ease-out both!important}
@keyframes rxdeRowReturn128{from{opacity:.25}to{opacity:1}}

/* Renumbering must be visible, not instantaneous. */
.order-num-badge.order-num-renumber{animation:rxdeRenumber128 .72s cubic-bezier(.2,.8,.25,1)!important}
@keyframes rxdeRenumber128{
  0%{transform:translateY(-7px) scale(.82);opacity:.25}
  45%{transform:translateY(2px) scale(1.13);opacity:1}
  100%{transform:translateY(0) scale(1);opacity:1}
}
.order-metric-change{animation:rxdeMetric128 .78s ease-out!important}
@keyframes rxdeMetric128{
  0%{transform:scale(1);filter:none}
  38%{transform:scale(1.055);filter:brightness(1.06)}
  100%{transform:scale(1);filter:none}
}

/* Restore the last fully cleared receipt until a new cart mutation starts. */
#clearOrder.restore-receipt{
  color:#315f56!important;background:#f4faf7!important;border:1px solid #b9d2c7!important;
  border-radius:8px!important;padding:6px 10px!important;font-weight:780!important;
}


/* ===== v1.56 — 20-step white wipe during the full 2-second cancel window ===== */

/* Previous red strike visuals are deliberately disabled. */
.delete-overlay-portal .delete-strike-line,
.delete-overlay-portal.delete-overlay-order .delete-strike-line{
  display:none!important;
}

/* Wipe sits above the product/order row, below the cancel message. */
.delete-overlay-portal{
  overflow:hidden!important;
}
.delete-overlay-portal .delete-erase-layer{
  position:absolute!important;
  inset:0!important;
  z-index:8!important;
  display:grid!important;
  grid-template-columns:repeat(20,1fr)!important;
  pointer-events:none!important;
  overflow:hidden!important;
}
.delete-overlay-portal .delete-erase-segment{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  opacity:0!important;
  background:rgba(255,255,255,.86)!important;
  transform:scaleX(0)!important;
  transform-origin:left center!important;
}
/* One crisp, opaque horizontal stroke through the already-covered area. */
.delete-overlay-portal .delete-erase-segment::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:50%!important;
  height:1.5px!important;
  transform:translateY(-50%)!important;
  background:#ffffff!important;
  opacity:1!important;
  box-shadow:0 0 0 .35px rgba(214,220,216,.42)!important;
}

/* 20 checkpoints × 0.1 s = exactly 2.0 s from left to right. */
.delete-overlay-portal.delete-erasing .delete-erase-segment{
  animation:rxdeWipeStep129 .10s linear forwards!important;
  animation-delay:calc(var(--erase-i) * .10s)!important;
}
@keyframes rxdeWipeStep129{
  0%{opacity:0;transform:scaleX(0)}
  100%{opacity:1;transform:scaleX(1)}
}

/* Question/cancel remains clearly above the advancing wipe. */
.delete-overlay-portal .delete-card-countdown{
  z-index:30!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
}

/* If user cancels, removing the portal instantly restores the untouched row below. */

/* ===== v1.56 — dramatic 400% stamp renumber ===== */
.order-num-badge.order-num-renumber{
  position:relative!important;
  z-index:80!important;
  transform-origin:center!important;
  animation:rxdeRenumberStamp129 .92s cubic-bezier(.18,.82,.24,1) both!important;
}
@keyframes rxdeRenumberStamp129{
  0%{
    transform:scale(4);
    opacity:.12;
    box-shadow:0 0 0 0 rgba(14,126,181,0);
  }
  28%{
    transform:scale(4);
    opacity:.96;
    box-shadow:0 14px 30px rgba(20,69,94,.18);
  }
  68%{
    transform:scale(.88);
    opacity:1;
    box-shadow:0 2px 5px rgba(20,69,94,.22);
  }
  82%{
    transform:scale(1.08);
  }
  100%{
    transform:scale(1);
    opacity:1;
    box-shadow:none;
  }
}

/* Counters react a little more visibly after a row disappears. */
.order-metric-change{
  animation:rxdeMetricStamp129 .92s cubic-bezier(.2,.8,.25,1)!important;
}
@keyframes rxdeMetricStamp129{
  0%{transform:scale(1);filter:none}
  35%{transform:scale(1.11);filter:brightness(1.09)}
  68%{transform:scale(.96);filter:brightness(1.03)}
  100%{transform:scale(1);filter:none}
}


/* ===== v1.56 — Order sheet delete uses the same visual logic as catalog ===== */

/* In the order sheet we do NOT use the v1.29 white 20-step wipe. */
.delete-overlay-portal.delete-overlay-order .delete-erase-layer{
  display:none!important;
}

/* No strike/red-line layer in the order sheet. */
.delete-overlay-portal.delete-overlay-order .delete-strike-line,
.delete-overlay-portal.delete-overlay-order::after{
  display:none!important;
}

/* Same calm dimming as the working catalog delete state. */
.delete-overlay-portal.delete-overlay-order::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:3px 0!important;
  border-radius:10px!important;
  background:rgba(255,252,251,.68)!important;
  box-shadow:inset 0 0 0 1px rgba(176,74,66,.07)!important;
  backdrop-filter:saturate(.72) brightness(1.02)!important;
  pointer-events:none!important;
  z-index:8!important;
}

/* Keep the product/order row itself visually muted while decision is pending. */
#orderLines .order-product-row.pending-delete,
#orderLines .order-line.pending-delete{
  opacity:.46!important;
  filter:saturate(.60)!important;
  transition:opacity .16s ease, filter .16s ease!important;
}

/* But the fixed confirmation remains fully legible above the muted row. */
.delete-overlay-portal.delete-overlay-order .delete-card-countdown{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
  z-index:30!important;
  opacity:1!important;
  filter:none!important;
  pointer-events:auto!important;
}

/* Do not let the v1.29 erase class change the order-sheet appearance. */
.delete-overlay-portal.delete-overlay-order.delete-erasing{
  background:transparent!important;
}
.delete-overlay-portal.delete-overlay-order.delete-erasing .delete-card-countdown{
  box-shadow:0 10px 28px rgba(83,47,42,.14)!important;
}

/* Cancellation restores the row immediately because the portal/host state is removed. */

/* Landing -> dissolve sequence remains handled by JS.
   Make the order row dissolve softly before the physical list moves. */
#orderLines .order-product-row.delete-row-collapse,
#orderLines .order-line.delete-row-collapse{
  opacity:0!important;
  filter:blur(5px) saturate(.45)!important;
  transform:translateX(18px) scale(.985)!important;
  transition:
    opacity .52s ease,
    filter .52s ease,
    transform .52s cubic-bezier(.2,.72,.25,1),
    max-height .58s ease,
    min-height .58s ease,
    padding .58s ease,
    margin .58s ease!important;
  pointer-events:none!important;
}

/* Confirmation overlay follows the whole order row dimensions, never an inner grid cell. */
.delete-overlay-portal.delete-overlay-order{
  overflow:visible!important;
  padding:0!important;
  align-items:center!important;
  justify-content:center!important;
}



/* ===== v1.56 — stabilize expanded catalogue geometry ===== */

/* Explicit placement wins over the accumulated historical overrides.
   Collapsed rows keep their existing layout. */
@media(min-width:761px){
  #productList .product-row.expanded{
    display:grid!important;
    grid-template-columns:150px minmax(300px,1fr) 120px 104px 132px!important;
    grid-template-areas:
      "photo main price qty total"
      ". expand expand expand expand"!important;
    column-gap:13px!important;
    row-gap:0!important;
    align-items:start!important;
    min-height:174px!important;
  }

  #productList .product-row.expanded > .product-photo{
    grid-area:photo!important;
    grid-column:1!important;
    grid-row:1!important;
    width:144px!important;
    height:144px!important;
    margin:0!important;
    align-self:start!important;
    justify-self:start!important;
    display:grid!important;
    place-items:center!important;
  }
  #productList .product-row.expanded > .product-photo img{
    width:138px!important;
    height:138px!important;
    max-width:138px!important;
    max-height:138px!important;
    object-fit:contain!important;
  }

  #productList .product-row.expanded > .product-main{
    grid-area:main!important;
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    margin-top:5px!important;
    align-self:start!important;
  }
  #productList .product-row.expanded > .product-price{
    grid-area:price!important;
    grid-column:3!important;
    grid-row:1!important;
    margin-top:5px!important;
    align-self:start!important;
    justify-self:stretch!important;
    align-items:flex-end!important;
  }
  #productList .product-row.expanded > .qty-stepper{
    grid-area:qty!important;
    grid-column:4!important;
    grid-row:1!important;
    margin-top:5px!important;
    align-self:start!important;
    justify-self:center!important;
  }
  #productList .product-row.expanded > .product-total{
    grid-area:total!important;
    grid-column:5!important;
    grid-row:1!important;
    margin-top:5px!important;
    align-self:start!important;
    justify-self:stretch!important;
    align-items:flex-end!important;
  }
  #productList .product-row.expanded > .product-expand{
    grid-area:expand!important;
    grid-column:2 / 6!important;
    grid-row:2!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:12px 0 10px!important;
    align-self:start!important;
  }

  /* Prevent old rules from visually reordering or shrinking headline/meta. */
  #productList .product-row.expanded .product-title-line{
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    min-width:0!important;
  }
  #productList .product-row.expanded .product-title{
    min-width:0!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #productList .product-row.expanded .product-meta{
    display:flex!important;
    flex-wrap:wrap!important;
    width:auto!important;
    max-width:100%!important;
  }
}

/* ===== v1.56 — same magnifier tool inside expanded order rows ===== */
@media (hover:hover) and (pointer:fine) and (min-width:761px){
  #orderLines .order-product-row.order-expanded .order-thumb{
    position:relative!important;
    overflow:visible!important;
    cursor:zoom-in!important;
    z-index:20!important;
  }
  #orderLines .order-product-row.order-expanded .order-thumb img{
    pointer-events:auto!important;
    cursor:zoom-in!important;
  }
  #orderLines .order-product-row.order-expanded{
    overflow:visible!important;
  }
  #orderLines .order-product-row.order-expanded .photo-zoom-lens{
    z-index:10020!important;
  }
}

/* The lens itself is the same component in catalogue and order sheet. */
#orderLines .photo-zoom-lens,
#productList .photo-zoom-lens{
  pointer-events:none!important;
}


/* ===== v1.56 — order sheet mirrors catalog photo states ===== */

/* Collapsed row: thumbnail remains small and has no magnifier affordance. */
#orderLines .order-product-row .order-thumb,
#orderLines .order-product-row.order-expanded .order-thumb{
  cursor:default!important;
}
#orderLines .order-product-row .order-thumb img,
#orderLines .order-product-row.order-expanded .order-thumb img{
  cursor:default!important;
}

/* Expanded row: dedicated larger photo appears in the details area. */
#orderLines .order-product-row.order-expanded .order-expand-visual.order-expand-with-photo{
  display:grid!important;
  grid-template-columns:126px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
}
#orderLines .order-product-row.order-expanded .order-expand-photo{
  width:122px!important;
  height:122px!important;
  display:grid!important;
  place-items:center!important;
  position:relative!important;
  overflow:visible!important;
  border:0!important;
  border-radius:10px!important;
  background:#fff!important;
  justify-self:start!important;
  align-self:start!important;
  z-index:20!important;
}
#orderLines .order-product-row.order-expanded .order-expand-photo img{
  width:116px!important;
  height:116px!important;
  max-width:116px!important;
  max-height:116px!important;
  object-fit:contain!important;
  background:#fff!important;
}

/* Details stay beside the enlarged photo; no changes to collapsed row geometry. */
#orderLines .order-product-row.order-expanded .order-expand-with-photo .expand-grid{
  width:100%!important;
  min-width:0!important;
  align-self:start!important;
}

/* Magnifier exists only on the large photo in state 2. */
@media (hover:hover) and (pointer:fine) and (min-width:761px){
  #orderLines .order-product-row.order-expanded .order-expand-photo{
    cursor:zoom-in!important;
  }
  #orderLines .order-product-row.order-expanded .order-expand-photo img{
    cursor:zoom-in!important;
    pointer-events:auto!important;
  }
  #orderLines .order-product-row.order-expanded .order-expand-photo .photo-zoom-lens{
    z-index:10020!important;
  }
}

/* Override v0.55 verify-only rule only for the new v1.56 component. */
#orderLines .order-product-row.order-expanded .order-expand-visual.order-expand-with-photo{
  grid-template-columns:126px minmax(0,1fr)!important;
}

/* On narrow/mobile layouts keep details stable; no hover magnifier there. */
@media(max-width:760px){
  #orderLines .order-product-row.order-expanded .order-expand-visual.order-expand-with-photo{
    grid-template-columns:84px minmax(0,1fr)!important;
    gap:10px!important;
  }
  #orderLines .order-product-row.order-expanded .order-expand-photo{
    width:80px!important;
    height:80px!important;
  }
  #orderLines .order-product-row.order-expanded .order-expand-photo img{
    width:74px!important;
    height:74px!important;
    max-width:74px!important;
    max-height:74px!important;
  }
}


/* ===== v1.56 — ORDER: same expanded-card concept as catalogue ===== */

/* Neutralize the V1.32 separate-photo component. */
#orderLines .order-expand-photo{
  display:none!important;
}

/* Collapsed order row remains exactly as before. */
#orderLines .order-product-row:not(.order-expanded) .order-thumb{
  width:56px!important;
  height:56px!important;
}
#orderLines .order-product-row:not(.order-expanded) .order-thumb img{
  max-width:50px!important;
  max-height:50px!important;
  width:auto!important;
  height:auto!important;
  cursor:default!important;
}

/* Expanded row transforms as ONE card:
   enlarged existing photo + info/price/qty/total in the top band,
   details below inside the same card. */
@media(min-width:761px){
  #orderLines .order-product-row.order-expanded{
    display:grid!important;
    grid-template-columns:150px minmax(300px,1fr) 108px 104px 122px 28px!important;
    grid-template-areas:
      "photo info unit qty total del"
      ". expand expand expand expand expand"!important;
    column-gap:12px!important;
    row-gap:0!important;
    align-items:start!important;
    min-height:174px!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
    overflow:visible!important;
  }

  #orderLines .order-product-row.order-expanded > .order-thumb{
    grid-area:photo!important;
    grid-column:1!important;
    grid-row:1!important;
    width:144px!important;
    height:144px!important;
    margin:0!important;
    display:grid!important;
    place-items:center!important;
    justify-self:start!important;
    align-self:start!important;
    overflow:visible!important;
    background:#fff!important;
    border-color:#ded8cb!important;
    border-radius:11px!important;
    cursor:zoom-in!important;
    z-index:20!important;
  }
  #orderLines .order-product-row.order-expanded > .order-thumb img{
    width:138px!important;
    height:138px!important;
    max-width:138px!important;
    max-height:138px!important;
    object-fit:contain!important;
    background:#fff!important;
    cursor:zoom-in!important;
    pointer-events:auto!important;
  }

  #orderLines .order-product-row.order-expanded > .order-product-info{
    grid-area:info!important;
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    margin-top:5px!important;
    align-self:start!important;
  }
  #orderLines .order-product-row.order-expanded > .order-unit-price{
    grid-area:unit!important;
    grid-column:3!important;
    grid-row:1!important;
    margin-top:5px!important;
    align-self:start!important;
    justify-self:stretch!important;
  }
  #orderLines .order-product-row.order-expanded > .order-qty{
    grid-area:qty!important;
    grid-column:4!important;
    grid-row:1!important;
    margin-top:5px!important;
    align-self:start!important;
    justify-self:center!important;
  }
  #orderLines .order-product-row.order-expanded > .order-line-total{
    grid-area:total!important;
    grid-column:5!important;
    grid-row:1!important;
    margin-top:5px!important;
    align-self:start!important;
    justify-self:stretch!important;
  }
  #orderLines .order-product-row.order-expanded > .compact-delete{
    grid-area:del!important;
    grid-column:6!important;
    grid-row:1!important;
    margin-top:5px!important;
    align-self:start!important;
  }

  #orderLines .order-product-row.order-expanded > .order-inline-expand{
    grid-area:expand!important;
    grid-column:2 / 7!important;
    grid-row:2!important;
    width:auto!important;
    min-width:0!important;
    display:block!important;
    margin:0!important;
    padding:12px 0 4px!important;
    border-top:1px dotted rgba(140,133,117,.24)!important;
    align-self:start!important;
  }

  #orderLines .order-product-row.order-expanded .order-expand-visual.order-expand-integrated{
    display:block!important;
  }
  #orderLines .order-product-row.order-expanded .order-inline-expand .expand-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px 20px!important;
    width:100%!important;
    min-width:0!important;
  }

  #orderLines .order-product-row.order-expanded .order-title-line{
    min-width:0!important;
  }
  #orderLines .order-product-row.order-expanded .order-expand-title{
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #orderLines .order-product-row.order-expanded .order-meta{
    white-space:normal!important;
    overflow:visible!important;
  }

  /* Magnifier only in state 2: original thumbnail has become large. */
  #orderLines .order-product-row.order-expanded .order-thumb .photo-zoom-lens{
    z-index:10020!important;
  }
}

/* On mobile keep the existing compact order geometry; no hover magnifier. */
@media(max-width:760px){
  #orderLines .order-product-row.order-expanded .order-inline-expand .expand-grid{
    grid-template-columns:1fr!important;
  }
  #orderLines .order-product-row.order-expanded .order-thumb,
  #orderLines .order-product-row.order-expanded .order-thumb img{
    cursor:default!important;
  }
}


/* ===== v1.56 — animate only the two endpoints of a drag/reorder ===== */

/* Very soft row accent: enough to show "these two exchanged places",
   without turning the whole order list into a flashing surface. */
#orderLines .order-product-row.order-swap-changed{
  position:relative!important;
  animation:rxdeSwapRow134 .88s cubic-bezier(.2,.78,.25,1) both!important;
}
@keyframes rxdeSwapRow134{
  0%{
    background:rgba(255,255,255,0);
    box-shadow:inset 0 0 0 rgba(57,117,99,0);
  }
  28%{
    background:rgba(231,243,237,.72);
    box-shadow:inset 0 0 0 1px rgba(73,126,109,.12);
  }
  70%{
    background:rgba(241,248,244,.42);
    box-shadow:inset 0 0 0 1px rgba(73,126,109,.05);
  }
  100%{
    background:transparent;
    box-shadow:none;
  }
}

/* The new position number is the semantic focus of reorder.
   A smaller cousin of the dramatic delete-renumber stamp. */
#orderLines .order-num-badge.order-num-swap-stamp{
  position:relative!important;
  z-index:90!important;
  transform-origin:center!important;
  animation:rxdeSwapStamp134 .88s cubic-bezier(.16,.84,.24,1) both!important;
}
@keyframes rxdeSwapStamp134{
  0%{
    transform:scale(1);
    filter:none;
  }
  22%{
    transform:scale(2.35);
    filter:brightness(1.10);
    box-shadow:0 10px 24px rgba(17,88,125,.18);
  }
  54%{
    transform:scale(.84);
    filter:brightness(1.03);
  }
  72%{
    transform:scale(1.12);
  }
  100%{
    transform:scale(1);
    filter:none;
    box-shadow:none;
  }
}

@media (prefers-reduced-motion:reduce){
  #orderLines .order-product-row.order-swap-changed,
  #orderLines .order-num-badge.order-num-swap-stamp{
    animation:none!important;
  }
}


/* ===== v1.56 — simplified image interaction: expanded photo -> large lightbox ===== */

/* Retire the old two-stage magnifier entirely. */
.photo-zoom-lens,
.photo-zoom-canvas,
#productList .photo-zoom-lens,
#orderLines .photo-zoom-lens{
  display:none!important;
}

/* Collapsed row: image is only a thumbnail. */
#productList .product-row:not(.expanded) .product-photo,
#productList .product-row:not(.expanded) .product-photo img,
#orderLines .order-product-row:not(.order-expanded) .order-thumb,
#orderLines .order-product-row:not(.order-expanded) .order-thumb img{
  cursor:default!important;
}

/* Expanded row: the modestly enlarged image is the explicit gateway to full photo. */
#productList .product-row.expanded .product-photo,
#productList .product-row.expanded .product-photo img,
#orderLines .order-product-row.order-expanded .order-thumb,
#orderLines .order-product-row.order-expanded .order-thumb img{
  cursor:zoom-in!important;
}

/* One shared large-photo viewer for catalogue and order sheet. */
.product-photo-lightbox[hidden]{
  display:none!important;
}
.product-photo-lightbox{
  position:fixed!important;
  inset:0!important;
  z-index:40000!important;
  display:grid!important;
  place-items:center!important;
  padding:28px!important;
  background:rgba(29,38,42,.76)!important;
  backdrop-filter:blur(4px)!important;
  cursor:zoom-out!important;
  overscroll-behavior:contain!important;
}
.product-photo-lightbox-stage{
  display:grid!important;
  place-items:center!important;
  width:auto!important;
  height:auto!important;
  max-width:min(94vw,1120px)!important;
  max-height:90vh!important;
  padding:14px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.99)!important;
  box-shadow:0 20px 60px rgba(0,0,0,.27)!important;
  cursor:zoom-out!important;
  overflow:auto!important;
}
.product-photo-lightbox-stage img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:min(88vw,1060px)!important;
  max-height:84vh!important;
  object-fit:contain!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
  cursor:zoom-out!important;
}
html.product-lightbox-open{
  overflow:hidden!important;
}

/* Mobile uses the exact same mental model: tap expanded image -> large image -> tap to close. */
@media(max-width:760px){
  .product-photo-lightbox{
    padding:8px!important;
    backdrop-filter:none!important;
  }
  .product-photo-lightbox-stage{
    max-width:calc(100vw - 16px)!important;
    max-height:calc(100vh - 16px)!important;
    padding:6px!important;
    border-radius:11px!important;
  }
  .product-photo-lightbox-stage img{
    max-width:calc(100vw - 28px)!important;
    max-height:calc(100vh - 28px)!important;
  }
}


/* ===== v1.56 — photo click is always a direct large-photo action ===== */

/* Any real product thumbnail can open the lightbox immediately. */
#productList .product-row .product-photo,
#productList .product-row .product-photo img,
#orderLines .order-product-row .order-thumb,
#orderLines .order-product-row .order-thumb img{
  cursor:zoom-in!important;
}

/* Row click remains reserved for details; image click is a separate fast path. */
#productList .product-row .product-photo,
#orderLines .order-product-row .order-thumb{
  position:relative!important;
}

/* No requirement to expand the card before opening a large photo. */


/* ===== v1.56 — adaptive property strip (variant 2) =====
   Goal: no "unfinished / still loading" white floor.
   Existing properties flow naturally; missing ones reserve zero space. */

#productList .property-strip,
#orderLines .property-strip{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
}

#productList .property-strip > .expand-item,
#orderLines .property-strip > .expand-item{
  flex:0 1 auto!important;
  width:auto!important;
  min-width:150px!important;
  max-width:min(100%,330px)!important;
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  padding:6px 10px!important;
  margin:0!important;
  border:1px solid rgba(170,188,190,.46)!important;
  border-radius:11px!important;
  background:rgba(248,251,250,.78)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}

#productList .property-strip .expand-item-icon,
#orderLines .property-strip .expand-item-icon{
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(157,188,194,.48)!important;
  border-radius:9px!important;
  background:#f7fbfb!important;
  color:#58747a!important;
}

#productList .property-strip .expand-item-icon svg,
#orderLines .property-strip .expand-item-icon svg{
  width:17px!important;
  height:17px!important;
  display:block!important;
}

#productList .property-strip .expand-item-copy,
#orderLines .property-strip .expand-item-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:1px!important;
}

#productList .property-strip .expand-item-copy > span,
#orderLines .property-strip .expand-item-copy > span{
  font-size:10px!important;
  line-height:1.1!important;
  color:#60757a!important;
  font-weight:650!important;
}

#productList .property-strip .expand-item-copy > b,
#orderLines .property-strip .expand-item-copy > b{
  font-size:12px!important;
  line-height:1.18!important;
  color:#182f35!important;
  font-weight:750!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

#productList .property-strip .expand-link-item,
#orderLines .property-strip .expand-link-item{
  text-decoration:none!important;
  color:inherit!important;
  cursor:pointer!important;
  min-width:126px!important;
}
#productList .property-strip .expand-link-item:hover,
#orderLines .property-strip .expand-link-item:hover{
  background:#f3f8f7!important;
  border-color:rgba(105,151,145,.56)!important;
}

/* Main catalogue: put the property strip in the SAME visual band as the photo,
   below title/meta, instead of starting a separate grid row after the 144px image. */
@media(min-width:761px){
  #productList .product-row.expanded{
    grid-template-areas:"photo main price qty total"!important;
    grid-template-rows:auto!important;
    min-height:164px!important;
    position:relative!important;
  }

  #productList .product-row.expanded > .product-expand{
    grid-area:auto!important;
    grid-column:2 / 6!important;
    grid-row:1!important;
    align-self:start!important;
    margin:70px 0 0!important;
    padding:0!important;
    border-top:0!important;
    width:auto!important;
    min-width:0!important;
    z-index:3!important;
  }

  #productList .product-row.expanded .expand-visual,
  #productList .product-row.expanded .expand-copy{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  #productList .product-row.expanded .compact-expand-actions{
    margin-top:7px!important;
    padding:0!important;
    min-height:0!important;
  }

  /* Order sheet: same concept — details occupy the free band beside the
     enlarged original image, not an extra full-width floor below it. */
  #orderLines .order-product-row.order-expanded{
    grid-template-areas:"photo info unit qty total del"!important;
    grid-template-rows:auto!important;
    min-height:164px!important;
    position:relative!important;
  }

  #orderLines .order-product-row.order-expanded > .order-inline-expand{
    grid-area:auto!important;
    grid-column:2 / 7!important;
    grid-row:1!important;
    align-self:start!important;
    margin:72px 0 0!important;
    padding:0!important;
    border-top:0!important;
    width:auto!important;
    min-width:0!important;
    z-index:3!important;
  }

  #orderLines .order-product-row.order-expanded .order-expand-visual,
  #orderLines .order-product-row.order-expanded .property-strip{
    width:100%!important;
    min-width:0!important;
  }

  #orderLines .order-product-row.order-expanded .compact-expand-actions{
    margin-top:7px!important;
    padding:0!important;
    min-height:0!important;
  }
}

/* Full product link remains secondary and does not create a wide empty row. */
#productList .compact-expand-actions,
#orderLines .compact-expand-actions{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:8px!important;
}
#productList .compact-expand-actions a,
#orderLines .compact-expand-actions a{
  font-size:10.5px!important;
  line-height:1.2!important;
  color:#416c65!important;
}

/* Mobile: same data model, one-column / wrapping strip.
   No fixed placeholders for unavailable properties. */
@media(max-width:760px){
  #productList .property-strip,
  #orderLines .property-strip{
    gap:6px!important;
  }
  #productList .property-strip > .expand-item,
  #orderLines .property-strip > .expand-item{
    flex:1 1 145px!important;
    min-width:min(145px,100%)!important;
    max-width:100%!important;
    min-height:42px!important;
    padding:5px 8px!important;
  }
}


/* ===== v1.56 — compact property chips + compact action links ===== */

#productList .property-strip,
#orderLines .property-strip{
  gap:6px!important;
  align-items:flex-start!important;
}

#productList .property-strip > .expand-item,
#orderLines .property-strip > .expand-item{
  min-width:118px!important;
  max-width:min(100%,220px)!important;
  min-height:34px!important;
  padding:4px 8px!important;
  gap:7px!important;
  border-radius:10px!important;
  border:1px solid rgba(179,193,197,.58)!important;
  background:rgba(250,252,251,.92)!important;
  box-shadow:none!important;
}

#productList .property-strip .expand-item-icon,
#orderLines .property-strip .expand-item-icon{
  flex:0 0 24px!important;
  width:24px!important;
  height:24px!important;
  border-radius:8px!important;
  background:#f8fbfb!important;
}
#productList .property-strip .expand-item-icon svg,
#orderLines .property-strip .expand-item-icon svg{
  width:14px!important;
  height:14px!important;
}
#productList .property-strip .expand-item-copy > span,
#orderLines .property-strip .expand-item-copy > span{
  font-size:9px!important;
}
#productList .property-strip .expand-item-copy > b,
#orderLines .property-strip .expand-item-copy > b{
  font-size:11px!important;
  line-height:1.15!important;
}

/* small rail for PDF / product-page links */
#productList .expand-link-rail,
#orderLines .expand-link-rail{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin-top:7px!important;
  align-items:center!important;
}
#productList .expand-mini-link,
#orderLines .expand-mini-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:0 10px!important;
  border:1px solid rgba(160,180,183,.6)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.92)!important;
  color:#315d54!important;
  font-size:10.5px!important;
  font-weight:760!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
#productList .expand-mini-link:hover,
#orderLines .expand-mini-link:hover{
  background:#f2f7f6!important;
  border-color:rgba(110,151,145,.65)!important;
}

/* ensure old large action row doesn't create empty space */
#productList .compact-expand-actions,
#orderLines .compact-expand-actions{display:none!important}

/* keep expanded order/list concept compact, without duplicate visual block feeling */
#orderLines .order-product-row.order-expanded > .order-inline-expand{
  margin-top:58px!important;
}
#productList .product-row.expanded > .product-expand{
  margin-top:58px!important;
}

/* no decorative branch feel around strip */
#productList .property-strip::before,
#productList .property-strip::after,
#orderLines .property-strip::before,
#orderLines .property-strip::after,
#productList .expand-item::before,
#productList .expand-item::after,
#orderLines .expand-item::before,
#orderLines .expand-item::after{
  display:none!important;
  content:none!important;
}

/* action rail / chips should sit close to content and not push layout too much */
#orderLines .order-expand-visual.order-expand-integrated,
#productList .expand-visual.expand-verify-only{
  padding:0!important;
}

/* mobile */
@media(max-width:760px){
  #productList .property-strip > .expand-item,
  #orderLines .property-strip > .expand-item{
    min-width:104px!important;
    min-height:32px!important;
    padding:4px 7px!important;
  }
  #productList .expand-mini-link,
  #orderLines .expand-mini-link{
    min-height:26px!important;
    padding:0 9px!important;
    font-size:10px!important;
  }
}


/* ===== v1.56 — unified dense expanded view ===== */

/* Same strip behavior in catalogue and order sheet. */
#productList .property-strip,
#orderLines .property-strip{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
}

/* Dense functional chips: these are data, not buttons. */
#productList .property-strip > .expand-item,
#orderLines .property-strip > .expand-item{
  flex:0 1 auto!important;
  width:auto!important;
  min-width:106px!important;
  max-width:min(100%,190px)!important;
  min-height:30px!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:3px 7px!important;
  margin:0!important;
  border:1px solid rgba(181,192,195,.52)!important;
  border-radius:9px!important;
  background:rgba(250,252,251,.84)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  cursor:default!important;
}

/* Slightly smaller icons so text becomes the main content. */
#productList .property-strip .expand-item-icon,
#orderLines .property-strip .expand-item-icon{
  flex:0 0 21px!important;
  width:21px!important;
  height:21px!important;
  min-width:21px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(161,182,186,.44)!important;
  border-radius:7px!important;
  background:#f8fbfb!important;
  color:#597178!important;
}
#productList .property-strip .expand-item-icon svg,
#orderLines .property-strip .expand-item-icon svg{
  width:12px!important;
  height:12px!important;
}

/* Compact typography, same on both surfaces. */
#productList .property-strip .expand-item-copy,
#orderLines .property-strip .expand-item-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:0!important;
}
#productList .property-strip .expand-item-copy > span,
#orderLines .property-strip .expand-item-copy > span{
  font-size:8.5px!important;
  line-height:1.05!important;
  color:#65787c!important;
  font-weight:650!important;
}
#productList .property-strip .expand-item-copy > b,
#orderLines .property-strip .expand-item-copy > b{
  font-size:10.5px!important;
  line-height:1.12!important;
  color:#1d3035!important;
  font-weight:760!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* Unified link rail. */
#productList .expand-link-rail,
#orderLines .expand-link-rail{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  margin-top:5px!important;
  padding:0!important;
  align-items:center!important;
}
#productList .expand-mini-link,
#orderLines .expand-mini-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:24px!important;
  padding:0 8px!important;
  border:1px solid rgba(158,177,180,.55)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.9)!important;
  color:#345f57!important;
  font-size:9.2px!important;
  font-weight:760!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  margin:0!important;
}
#productList .expand-mini-link:hover,
#orderLines .expand-mini-link:hover{
  background:#f2f7f6!important;
  border-color:rgba(109,150,144,.62)!important;
}

/* Remove any legacy visual rails/branches around the expanded data. */
#productList .product-expand,
#orderLines .order-inline-expand,
#productList .expand-grid,
#orderLines .expand-grid{
  border-top:0!important;
  border-left:0!important;
  border-right:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
#productList .product-expand::before,
#productList .product-expand::after,
#orderLines .order-inline-expand::before,
#orderLines .order-inline-expand::after,
#productList .expand-grid::before,
#productList .expand-grid::after,
#orderLines .expand-grid::before,
#orderLines .expand-grid::after{
  display:none!important;
  content:none!important;
}

/* Same placement relative to title/photo for both modes. */
@media(min-width:761px){
  #productList .product-row.expanded > .product-expand{
    margin-top:54px!important;
    padding:0!important;
    grid-column:2 / 6!important;
    grid-row:1!important;
    align-self:start!important;
  }

  #orderLines .order-product-row.order-expanded > .order-inline-expand{
    margin-top:54px!important;
    padding:0!important;
    grid-column:2 / 7!important;
    grid-row:1!important;
    align-self:start!important;
  }

  #productList .product-row.expanded,
  #orderLines .order-product-row.order-expanded{
    min-height:156px!important;
  }

  #productList .product-row.expanded .expand-copy,
  #orderLines .order-product-row.order-expanded .order-expand-visual{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
}

/* Mobile: same mental model, dense but touch-safe links. */
@media(max-width:760px){
  #productList .property-strip,
  #orderLines .property-strip{
    gap:4px!important;
  }
  #productList .property-strip > .expand-item,
  #orderLines .property-strip > .expand-item{
    flex:1 1 100px!important;
    min-width:min(100px,100%)!important;
    max-width:100%!important;
    min-height:30px!important;
    padding:3px 6px!important;
  }
  #productList .expand-mini-link,
  #orderLines .expand-mini-link{
    min-height:28px!important;
    padding:0 9px!important;
    font-size:10px!important;
  }
}


/* ===== v1.56 — micro spacing fix between meta/PZN and property strip ===== */

/* Give the upper product info a little breathing room before characteristics start.
   Keep the dense chips themselves unchanged. */
@media(min-width:761px){
  #productList .product-row.expanded > .product-expand{
    margin-top:62px!important;
  }

  #orderLines .order-product-row.order-expanded > .order-inline-expand{
    margin-top:62px!important;
  }
}

/* Ensure the PZN/meta line itself is not visually glued to the property strip. */
#productList .product-row.expanded .product-meta,
#orderLines .order-product-row.order-expanded .order-meta{
  padding-bottom:2px!important;
}

/* Mobile needs a smaller gap, but the same visual separation. */
@media(max-width:760px){
  #productList .product-row.expanded .product-expand,
  #orderLines .order-product-row.order-expanded .order-inline-expand{
    margin-top:5px!important;
    padding-top:5px!important;
  }
}


/* ===== v1.56 — always-visible, copyable, text-first product cards ===== */

/* Kill legacy two-state UI completely. */
#productList .product-expand,
#orderLines .order-inline-expand{
  display:none!important;
}
#productList .product-row,
#orderLines .order-product-row{
  cursor:default!important;
}

/* Text must behave like text: drag-select and copy directly from the site. */
#productList .copyable-card-info,
#productList .copyable-card-info *,
#orderLines .copyable-card-info,
#orderLines .copyable-card-info *,
.search-suggest .suggest-copy-zone,
.search-suggest .suggest-copy-zone *{
  user-select:text!important;
  -webkit-user-select:text!important;
}
#productList .selectable-title,
#orderLines .selectable-title,
.search-suggest .suggest-title{
  cursor:text!important;
}

/* One clear typographic hierarchy. */
.copyable-product-core{
  display:flex!important;
  flex-direction:column!important;
  gap:1px!important;
  margin-top:3px!important;
  color:#4f6369!important;
  font-size:10.5px!important;
  line-height:1.22!important;
}
.copyable-product-core .copy-line{
  display:block!important;
  min-width:0!important;
}
.copyable-product-core .copy-line > span,
.copyable-product-core .copy-line > b{
  color:#40575d!important;
  font-weight:680!important;
}
.copyable-product-core .copy-substance{
  color:#203940!important;
}
.copyable-product-core .copy-substance b{
  font-weight:780!important;
}

/* Secondary properties: plain gray text, no chips, icons or empty slots. */
.property-text-line{
  margin-top:4px!important;
  color:#7a878a!important;
  font-size:9.8px!important;
  line-height:1.24!important;
  cursor:text!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
.property-sep{
  color:#a2abad!important;
  padding:0 1px!important;
}

/* Immediate PDF / product-page links: visible, small, textual. */
.product-text-links{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:5px!important;
  margin-top:4px!important;
  min-height:15px!important;
}
.product-text-link{
  color:#356960!important;
  font-size:9.8px!important;
  line-height:1.2!important;
  font-weight:720!important;
  text-decoration:none!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
.product-text-link:hover{
  text-decoration:underline!important;
  text-underline-offset:2px!important;
}
.text-link-sep{
  color:#a4aeac!important;
  font-size:9px!important;
}

/* Catalogue: slightly thicker than old compact row, but always complete. */
@media(min-width:761px){
  
  
  
  
  

  /* Order sheet uses the same information hierarchy, just with order controls. */
  #orderLines .order-static-card{
    display:grid!important;
    grid-template-columns:64px minmax(300px,1fr) 92px 104px 112px 26px!important;
    grid-template-areas:"photo info unit qty total del"!important;
    column-gap:10px!important;
    align-items:start!important;
    min-height:112px!important;
    padding-top:9px!important;
    padding-bottom:9px!important;
  }
  #orderLines .order-static-card > .order-thumb{
    grid-area:photo!important;
    width:60px!important;
    height:86px!important;
    display:grid!important;
    place-items:center!important;
    overflow:visible!important;
    cursor:zoom-in!important;
  }
  #orderLines .order-static-card > .order-thumb img{
    width:auto!important;
    height:auto!important;
    max-width:58px!important;
    max-height:82px!important;
    object-fit:contain!important;
    cursor:zoom-in!important;
  }
  #orderLines .order-static-card > .order-product-info{
    grid-area:info!important;
    min-width:0!important;
    padding-top:0!important;
  }
  #orderLines .order-static-card > .order-unit-price,
  #orderLines .order-static-card > .order-qty,
  #orderLines .order-static-card > .order-line-total,
  #orderLines .order-static-card > .compact-delete{
    margin-top:2px!important;
    align-self:start!important;
  }
}

/* Keep title strong, everything underneath quieter. */



/* Quick-search results: same data, condensed. */
.search-suggest .suggest-row-copyable{
  align-items:start!important;
  min-height:94px!important;
}
.search-suggest .suggest-row-copyable .suggest-main{
  min-width:0!important;
  cursor:default!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
}
.search-suggest .suggest-row-copyable .copyable-product-core{
  margin-top:2px!important;
  font-size:9.2px!important;
  gap:0!important;
}
.search-suggest .suggest-row-copyable .property-text-line,
.search-suggest .suggest-row-copyable .product-text-link{
  font-size:9px!important;
}
.search-suggest .suggest-row-copyable .product-text-links{
  margin-top:2px!important;
}
.search-suggest .suggest-row-copyable .suggest-title{
  display:block!important;
  margin-bottom:1px!important;
}

/* Do not let historical pointer rules interfere with selecting product text. */
#productList .product-main,
#productList .product-main .product-meta,
#orderLines .order-product-info,
#orderLines .order-product-info .order-meta{
  cursor:text!important;
}

/* Mobile: same content model; wrap naturally, no second state. */
@media(max-width:760px){
  
  .copyable-product-core{
    font-size:10px!important;
  }
  .property-text-line{
    font-size:9.2px!important;
  }
  .product-text-link{
    font-size:9.2px!important;
  }
}


/* ===== v1.56 — stable row-bound controls + larger direct-view photos ===== */

/* Each catalogue card is its own stacking/layout context.
   No historical sticky/fixed rule may detach controls from its row. */



/* Same rule in order sheet. */
#orderLines .order-static-card{
  position:relative!important;
  isolation:isolate!important;
  z-index:0!important;
}
#orderLines .order-static-card > .order-unit-price,
#orderLines .order-static-card > .order-qty,
#orderLines .order-static-card > .order-line-total,
#orderLines .order-static-card > .compact-delete{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  float:none!important;
  z-index:2!important;
}

/* Keep all controls in their explicit grid columns regardless of row content height. */
@media(min-width:761px){
  
  
  
  

  /* Photo roughly doubled versus V1.41, but card stays compact because text already sets height. */
  
  

  #orderLines .order-static-card{
    grid-template-columns:96px minmax(290px,1fr) 92px 104px 112px 26px!important;
    min-height:116px!important;
  }
  #orderLines .order-static-card > .order-thumb{
    width:90px!important;
    height:96px!important;
    display:grid!important;
    place-items:center!important;
    cursor:zoom-in!important;
    overflow:visible!important;
  }
  #orderLines .order-static-card > .order-thumb img{
    width:auto!important;
    height:auto!important;
    max-width:86px!important;
    max-height:92px!important;
    object-fit:contain!important;
    cursor:zoom-in!important;
    pointer-events:auto!important;
  }
}

/* The selected total may stretch visually, but never changes its grid position. */


/* Sticky notebook/header must always cover rows while scrolling. */
.sticky-stack{
  z-index:500!important;
}


/* Direct photo viewing should have an explicit affordance everywhere. */


/* Mobile: keep photo touch target useful without forcing desktop size. */
@media(max-width:760px){
  
  
  #orderLines .order-static-card .order-thumb{
    width:68px!important;
    height:72px!important;
  }
  #orderLines .order-static-card .order-thumb img{
    max-width:64px!important;
    max-height:68px!important;
  }
}


/* ===== v1.56 — readability + consistent photo behavior everywhere ===== */

/* Main card text: one modest readability step up, without changing hierarchy. */





/* Order sheet gets the same readable information scale. */
#orderLines .order-static-card .order-expand-title{
  font-size:14px!important;
  line-height:1.16!important;
}
#orderLines .order-static-card .copyable-product-core{
  font-size:10.8px!important;
  line-height:1.22!important;
}
#orderLines .order-static-card .property-text-line,
#orderLines .order-static-card .product-text-link{
  font-size:10px!important;
}

/* Force the visual photo size in the order sheet.
   max-width alone did not upscale small source images. */
@media(min-width:761px){
  #orderLines .order-static-card{
    grid-template-columns:102px minmax(300px,1fr) 92px 104px 112px 26px!important;
    min-height:122px!important;
  }
  #orderLines .order-static-card > .order-thumb{
    width:96px!important;
    height:102px!important;
    cursor:zoom-in!important;
  }
  #orderLines .order-static-card > .order-thumb > img{
    width:88px!important;
    height:94px!important;
    max-width:88px!important;
    max-height:94px!important;
    object-fit:contain!important;
    cursor:zoom-in!important;
    pointer-events:auto!important;
  }
}

/* The draggable number keeps its own drag cursor; product image keeps zoom cursor. */
#orderLines .order-static-card .order-num-badge{
  cursor:grab!important;
}
#orderLines .order-static-card .order-num-badge:active{
  cursor:grabbing!important;
}
#orderLines .order-static-card .order-thumb img{
  cursor:zoom-in!important;
}

/* Quick search: same product language, with a real photo column. */
.search-suggest .suggest-row-with-photo{
  display:grid!important;
  grid-template-columns:82px minmax(0,1fr) 112px 116px!important;
  grid-template-areas:"photo text price stepper"!important;
  column-gap:10px!important;
  align-items:start!important;
  min-height:116px!important;
  padding:7px 9px!important;
}
.search-suggest .suggest-row-with-photo .suggest-photo{
  grid-area:photo!important;
  width:76px!important;
  height:96px!important;
  display:grid!important;
  place-items:center!important;
  align-self:start!important;
  background:#fff!important;
  border-radius:9px!important;
  cursor:zoom-in!important;
  overflow:hidden!important;
}
.search-suggest .suggest-row-with-photo .suggest-photo img{
  width:72px!important;
  height:90px!important;
  max-width:72px!important;
  max-height:90px!important;
  object-fit:contain!important;
  cursor:zoom-in!important;
}
.search-suggest .suggest-row-with-photo .suggest-main{
  grid-area:text!important;
  padding:0!important;
  min-width:0!important;
}
.search-suggest .suggest-row-with-photo .suggest-price{
  grid-area:price!important;
  justify-self:end!important;
  align-self:start!important;
  padding-top:2px!important;
}
.search-suggest .suggest-row-with-photo .suggest-stepper{
  grid-area:stepper!important;
  justify-self:end!important;
  align-self:start!important;
}
.search-suggest .suggest-row-with-photo .suggest-title{
  font-size:12.5px!important;
  line-height:1.16!important;
}
.search-suggest .suggest-row-with-photo .copyable-product-core{
  font-size:10px!important;
  line-height:1.18!important;
}
.search-suggest .suggest-row-with-photo .property-text-line,
.search-suggest .suggest-row-with-photo .product-text-link{
  font-size:9.2px!important;
}

/* Photo should visually advertise that it opens, in all three surfaces. */


/* Mobile quick-search remains compact: photo + text first, controls below/right. */
@media(max-width:760px){
  .search-suggest .suggest-row-with-photo{
    grid-template-columns:64px minmax(0,1fr) auto!important;
    grid-template-areas:
      "photo text price"
      "photo text stepper"!important;
    min-height:98px!important;
    column-gap:7px!important;
  }
  .search-suggest .suggest-row-with-photo .suggest-photo{
    width:60px!important;
    height:76px!important;
  }
  .search-suggest .suggest-row-with-photo .suggest-photo img{
    width:56px!important;
    height:72px!important;
    max-width:56px!important;
    max-height:72px!important;
  }
}


/* ===== v1.56 — quick-search navigation is explicit and clickable ===== */

/* Product text/card clearly acts as the navigation target. */
.search-suggest .suggest-row-with-photo .suggest-main,
.search-suggest .suggest-row-with-photo .suggest-title{
  cursor:pointer!important;
}
.search-suggest .suggest-row-with-photo .suggest-main:hover .suggest-title{
  text-decoration:underline!important;
  text-underline-offset:2px!important;
}

/* Photo remains its own action: large image, not catalogue navigation. */
.search-suggest .suggest-row-with-photo .suggest-photo,
.search-suggest .suggest-row-with-photo .suggest-photo img{
  cursor:zoom-in!important;
}

/* Keep text selectable despite clickable navigation surface. */
.search-suggest .suggest-copy-zone,
.search-suggest .suggest-copy-zone *{
  user-select:text!important;
  -webkit-user-select:text!important;
}


/* ===== v1.56 — order modal layer + consistent order photos ===== */

/* Order modal must sit above every sticky/notebook layer from the page. */
#orderBackdrop,
.order-backdrop,
.confirm-backdrop{
  z-index:20000!important;
}
#orderSheet,
.order-sheet,
.order-modal{
  position:relative!important;
  z-index:20010!important;
  isolation:isolate!important;
}

/* Any notebook/sticky page layer stays beneath the modal once it is open. */
body.order-open .sticky-stack,
body.order-open .notebook-tabs,
body.order-open .site-header,
body.order-open .catalog-sticky{
  z-index:100!important;
}

/* Protect the top/header area of the order sheet from catalogue bleed-through. */
#orderSheet .order-head,
#orderSheet .order-header,
#orderSheet .order-toolbar,
#orderSheet .order-breadcrumbs,
.order-sheet .order-head,
.order-sheet .order-header,
.order-sheet .order-toolbar,
.order-sheet .order-breadcrumbs{
  position:relative!important;
  z-index:50!important;
  background:inherit!important;
}

/* Order rows remain below the order header, never above it. */
#orderLines{
  position:relative!important;
  z-index:1!important;
}

/* Same visual photo scale as catalogue: clearly inspectable even before opening lightbox. */
@media(min-width:761px){
  #orderLines .order-static-card{
    grid-template-columns:108px minmax(300px,1fr) 92px 104px 112px 26px!important;
    min-height:128px!important;
  }

  #orderLines .order-static-card > .order-thumb{
    width:102px!important;
    height:108px!important;
    display:grid!important;
    place-items:center!important;
    overflow:visible!important;
    cursor:default!important;
    background:#fff!important;
  }

  #orderLines .order-static-card > .order-thumb > img{
    display:block!important;
    width:96px!important;
    height:102px!important;
    max-width:96px!important;
    max-height:102px!important;
    object-fit:contain!important;
    cursor:zoom-in!important;
    pointer-events:auto!important;
    user-select:none!important;
    -webkit-user-drag:none!important;
  }
}

/* Explicit cursor ownership:
   blue number = reorder,
   actual product image = large-photo viewer. */
#orderLines .order-static-card .order-num-badge{
  cursor:grab!important;
}
#orderLines .order-static-card .order-num-badge:active{
  cursor:grabbing!important;
}
#orderLines .order-static-card .order-thumb,
#orderLines .order-static-card .order-thumb *{
  cursor:default!important;
}
#orderLines .order-static-card .order-thumb > img{
  cursor:zoom-in!important;
}

/* Make sure legacy selectors cannot override the image cursor. */
#orderLines .order-product-row .order-thumb img,
#orderLines .order-product-row.order-expanded .order-thumb img,
#orderLines .order-static-card .order-thumb img:hover{
  cursor:zoom-in!important;
}

/* Mobile order image remains useful but compact. */
@media(max-width:760px){
  #orderLines .order-static-card .order-thumb{
    width:76px!important;
    height:82px!important;
  }
  #orderLines .order-static-card .order-thumb > img{
    width:70px!important;
    height:76px!important;
    max-width:70px!important;
    max-height:76px!important;
    cursor:zoom-in!important;
  }
}


/* ===== v1.56 — one photo model everywhere ===== */

/* FINAL cursor override: actual product photos always advertise large-photo viewing. */


/* Main catalogue: stable ~100 px visual preview. */
@media(min-width:761px){
  
  
  

  /* Order sheet: same visual scale, not a tiny thumbnail. */
  #orderLines .order-static-card{
    grid-template-columns:116px minmax(280px,1fr) 92px 104px 112px 26px!important;
    min-height:132px!important;
  }
  #orderLines .order-static-card > .order-thumb{
    width:110px!important;
    height:114px!important;
    display:grid!important;
    place-items:center!important;
    overflow:visible!important;
    background:#fff!important;
  }
  #orderLines .order-static-card > .order-thumb > img{
    display:block!important;
    width:104px!important;
    height:108px!important;
    max-width:104px!important;
    max-height:108px!important;
    object-fit:contain!important;
    pointer-events:auto!important;
    cursor:zoom-in!important;
  }
}

/* Blue order number is the only drag affordance in the photo column. */
#orderLines .order-static-card .order-num-badge{
  cursor:grab!important;
  z-index:10!important;
}
#orderLines .order-static-card .order-num-badge:active{
  cursor:grabbing!important;
}

/* While viewing a quick-search photo, the quick-search surface remains alive underneath. */
body.quick-search-photo-open #searchSuggest,
body.quick-search-photo-open .search-suggest{
  visibility:visible!important;
}

/* Lightbox is a pure overlay: it does not imply navigation or state change. */
.product-photo-lightbox{
  cursor:zoom-out!important;
}
.product-photo-lightbox-stage,
.product-photo-lightbox-stage img{
  cursor:zoom-out!important;
}


/* ===== v1.56 HARD FIX ===== */

/* 1) Catalogue numeric geometry is IDENTICAL in normal / hover / focus / selected.
      No legacy hover rule is allowed to move price, stepper, or total. */






/* Preserve only the selected-total visual fill, without changing its geometry. */


/* 2) Explicit photo affordance on MAIN catalogue too. */


/* 3) Order photos: make them VISIBLY large, not a small icon in a large cell. */
@media(min-width:761px){
  #orderLines .order-static-card{
    grid-template-columns:140px minmax(265px,1fr) 92px 104px 112px 26px!important;
    min-height:148px!important;
  }

  #orderLines .order-static-card > .order-thumb{
    width:132px!important;
    height:132px!important;
    min-width:132px!important;
    min-height:132px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    overflow:visible!important;
    background:#fff!important;
  }

  #orderLines .order-static-card > .order-thumb > img{
    display:block!important;
    width:122px!important;
    height:122px!important;
    min-width:122px!important;
    min-height:122px!important;
    max-width:122px!important;
    max-height:122px!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    cursor:zoom-in!important;
    pointer-events:auto!important;
  }
}

/* Drag cursor belongs ONLY to blue number. */
#orderLines .order-static-card .order-num-badge{
  cursor:grab!important;
}
#orderLines .order-static-card .order-num-badge:active{
  cursor:grabbing!important;
}
#orderLines .order-static-card .order-thumb > img{
  cursor:zoom-in!important;
}

/* 4) Quick-search photo viewing is a pure overlay.
      Search list underneath stays in its original DOM/state. */
body.quick-search-photo-open #searchSuggest{
  display:block!important;
  visibility:visible!important;
}

/* Mobile remains proportionate. */
@media(max-width:760px){
  #orderLines .order-static-card > .order-thumb{
    width:84px!important;
    height:84px!important;
    min-width:84px!important;
    min-height:84px!important;
  }
  #orderLines .order-static-card > .order-thumb > img{
    width:78px!important;
    height:78px!important;
    min-width:78px!important;
    min-height:78px!important;
    max-width:78px!important;
    max-height:78px!important;
  }
}


/* ===== v1.56 — admin one-click + admin layer + quick-search zero confirmation ===== */

/* Admin is a true top-level modal. It must be above notebook/search/order page layers. */
.admin-backdrop{
  z-index:45000!important;
  position:fixed!important;
  inset:0!important;
}
.admin-sheet{
  position:absolute!important;
  z-index:45010!important;
  top:18px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  max-height:calc(100vh - 36px)!important;
  overflow:auto!important;
  isolation:isolate!important;
}
.admin-head{
  position:sticky!important;
  top:0!important;
  z-index:20!important;
}

/* Quick-search result participates in the same pending-delete visual language. */
.search-suggest .suggest-row.pending-delete{
  position:relative!important;
  opacity:.48!important;
  filter:saturate(.62)!important;
  transition:opacity .16s ease,filter .16s ease!important;
}

/* Portal over quick-search must beat the suggestions popup itself, but stay below lightbox/admin. */
#rx-delete-portal{
  z-index:30000!important;
}
.delete-overlay-portal{
  z-index:30010!important;
}
.product-photo-lightbox{
  z-index:40000!important;
}

/* Rate block is now an intentional admin entry point after unlock. */
.rate-stack{
  cursor:pointer!important;
}


/* ===== v1.56 — persistent quick-search delete state ===== */
.search-suggest .suggest-row.pending-delete{
  position:relative!important;
  opacity:.48!important;
  filter:saturate(.62)!important;
}
body.search-focus #searchSuggest{
  visibility:visible!important;
}


/* ===== v1.56 — restore the agreed text-first concept on mobile ===== */
@media(max-width:760px){

  /* CATALOGUE:
     one always-visible static card, no second state, no clickable row. */
  

  

  

  

  

  

  

  

  

  

  /* price and stepper are simply the next row of the SAME card */
  

  

  

  

  

  

  

  

  /* ORDER:
     same information model; only order-specific controls differ. */
  #orderLines .order-static-card{
    display:grid!important;
    grid-template-columns:104px minmax(0,1fr) 22px!important;
    grid-template-areas:
      "photo info del"
      "photo info total"
      "price qty qty"!important;
    column-gap:10px!important;
    row-gap:7px!important;
    align-items:start!important;
    width:100%!important;
    min-height:0!important;
    padding:10px 8px 12px!important;
    box-sizing:border-box!important;
    cursor:default!important;
  }

  #orderLines .order-static-card > .order-thumb{
    grid-area:photo!important;
    position:relative!important;
    width:98px!important;
    height:118px!important;
    min-width:98px!important;
    min-height:118px!important;
    display:grid!important;
    place-items:center!important;
    align-self:start!important;
    justify-self:start!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
    overflow:visible!important;
    cursor:default!important;
  }

  #orderLines .order-static-card > .order-thumb > img{
    display:block!important;
    width:92px!important;
    height:112px!important;
    max-width:92px!important;
    max-height:112px!important;
    object-fit:contain!important;
    object-position:center!important;
    cursor:zoom-in!important;
    pointer-events:auto!important;
  }

  #orderLines .order-static-card .order-num-badge{
    position:absolute!important;
    left:-7px!important;
    top:-7px!important;
    z-index:12!important;
    cursor:grab!important;
  }

  #orderLines .order-static-card > .order-product-info{
    grid-area:info!important;
    min-width:0!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    cursor:text!important;
  }

  #orderLines .order-static-card .order-title-line{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    gap:4px!important;
    margin-bottom:2px!important;
  }

  #orderLines .order-static-card .order-expand-title{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:14px!important;
    line-height:1.16!important;
    cursor:text!important;
  }

  #orderLines .order-static-card .copyable-product-core{
    font-size:10.5px!important;
    line-height:1.2!important;
    margin-top:2px!important;
  }

  #orderLines .order-static-card .property-text-line{
    font-size:9.2px!important;
    line-height:1.2!important;
    margin-top:3px!important;
    white-space:normal!important;
  }

  #orderLines .order-static-card .product-text-links{
    margin-top:3px!important;
    gap:5px!important;
  }

  #orderLines .order-static-card .product-text-link{
    font-size:9.2px!important;
  }

  #orderLines .order-static-card > .compact-delete{
    grid-area:del!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    align-self:start!important;
    justify-self:end!important;
    width:20px!important;
    height:24px!important;
    margin:0!important;
  }

  #orderLines .order-static-card > .order-line-total{
    grid-area:total!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    align-self:end!important;
    justify-self:end!important;
    margin:0!important;
    padding:0!important;
    text-align:right!important;
  }

  #orderLines .order-static-card > .order-line-total strong{
    display:block!important;
    font-size:14px!important;
    line-height:1.05!important;
  }

  #orderLines .order-static-card > .order-line-total span{
    display:block!important;
    font-size:9.2px!important;
    margin-top:2px!important;
  }

  #orderLines .order-static-card > .order-unit-price{
    grid-area:price!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:baseline!important;
    justify-content:flex-start!important;
    gap:7px!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
  }

  #orderLines .order-static-card > .order-unit-price small{
    display:none!important;
  }

  #orderLines .order-static-card > .order-unit-price strong{
    font-size:13px!important;
    line-height:1!important;
  }

  #orderLines .order-static-card > .order-unit-price span{
    font-size:10px!important;
    line-height:1!important;
  }

  #orderLines .order-static-card > .order-qty{
    grid-area:qty!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    align-self:center!important;
    justify-self:end!important;
    width:108px!important;
    min-width:108px!important;
    height:40px!important;
    grid-template-columns:36px 36px 36px!important;
    margin:0!important;
  }

  #orderLines .order-static-card > .order-qty button,
  #orderLines .order-static-card > .order-qty input{
    height:40px!important;
    min-height:40px!important;
  }

  /* no second state on mobile either */
  #productList .product-expand,
  #orderLines .order-inline-expand{
    display:none!important;
  }

  /* mobile fly marker is semantic only; it must not alter layout */
  .order-fly-layer{
    z-index:31000!important;
    pointer-events:none!important;
  }
  .order-fly-ghost.brand-frame-flight{
    width:26px!important;
    height:26px!important;
  }
}

/* Always: row text is selectable, row itself is not an action. */

#productList .copyable-card-info,
#orderLines .copyable-card-info{
  cursor:text!important;
}


/* ===== v1.56 — MOBILE ORDER VISUAL HYBRID =====
   Text-first RXDE structure + the visual grouping/scanability of the old receipt UI.
   No expanded state. No extra zoom button. Photo itself opens the lightbox. */

@media(max-width:760px){

  /* Give the order list some breathing room between real cards. */
  #orderLines{
    padding:8px 8px 12px!important;
    background:transparent!important;
  }

  #orderLines .order-product-row.order-static-card{
    position:relative!important;
    display:grid!important;

    /* top: photo + information
       bottom: unit price | qty | line total */
    grid-template-columns:minmax(82px,1fr) 112px minmax(82px,1fr)!important;
    grid-template-areas:
      "photo info info"
      "price qty total"!important;
    grid-template-rows:auto auto!important;

    column-gap:9px!important;
    row-gap:8px!important;
    align-items:start!important;

    width:100%!important;
    min-height:0!important;
    margin:0 0 8px!important;
    padding:10px 10px 9px!important;
    box-sizing:border-box!important;

    border:1px solid rgba(180,194,191,.52)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.88)!important;
    box-shadow:0 2px 8px rgba(45,74,68,.055)!important;
    overflow:visible!important;
    isolation:isolate!important;
  }

  /* Photo: large enough to identify product, but it no longer dominates the card. */
  #orderLines .order-static-card > .order-thumb{
    grid-area:photo!important;
    position:relative!important;

    width:86px!important;
    height:100px!important;
    min-width:86px!important;
    min-height:100px!important;

    display:grid!important;
    place-items:center!important;
    align-self:start!important;
    justify-self:start!important;

    margin:0!important;
    padding:2px!important;

    border:1px solid rgba(197,207,205,.58)!important;
    border-radius:11px!important;
    background:#fff!important;
    overflow:visible!important;
  }

  #orderLines .order-static-card > .order-thumb > img{
    display:block!important;
    width:80px!important;
    height:94px!important;
    max-width:80px!important;
    max-height:94px!important;
    min-width:0!important;
    min-height:0!important;

    object-fit:contain!important;
    object-position:center!important;
    margin:0!important;
    padding:0!important;

    cursor:zoom-in!important;
    pointer-events:auto!important;
  }

  /* Position number belongs to the whole order card.
     Push it toward the outer card edge so it does not read as an image badge. */
  #orderLines .order-static-card .order-num-badge{
    position:absolute!important;
    left:-13px!important;
    top:-7px!important;
    z-index:15!important;

    width:38px!important;
    min-width:38px!important;
    height:30px!important;
    border-radius:9px!important;

    display:grid!important;
    place-items:center!important;

    cursor:grab!important;
    box-shadow:0 2px 7px rgba(21,89,122,.14)!important;
  }

  #orderLines .order-static-card .order-num-badge:active{
    cursor:grabbing!important;
  }

  /* Complete text-first product description. */
  #orderLines .order-static-card > .order-product-info{
    grid-area:info!important;
    min-width:0!important;
    width:auto!important;

    margin:0!important;
    padding:1px 25px 0 0!important; /* reserve only the tiny delete area */
    align-self:start!important;

    cursor:text!important;
  }

  #orderLines .order-static-card .order-title-line{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    gap:4px!important;
    margin:0 0 3px!important;
  }

  #orderLines .order-static-card .order-expand-title{
    display:inline!important;
    min-width:0!important;
    max-width:100%!important;

    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;

    font-size:14px!important;
    line-height:1.14!important;
    font-weight:790!important;

    cursor:text!important;
  }

  #orderLines .order-static-card .copyable-product-core{
    margin-top:2px!important;
    gap:1px!important;

    font-size:10.3px!important;
    line-height:1.18!important;
  }

  #orderLines .order-static-card .property-text-line{
    margin-top:4px!important;
    font-size:9.3px!important;
    line-height:1.18!important;
    white-space:normal!important;
    color:#7a8586!important;
  }

  #orderLines .order-static-card .product-text-links{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:4px!important;
    margin-top:4px!important;
  }

  #orderLines .order-static-card .product-text-link{
    font-size:9.2px!important;
    line-height:1.15!important;
  }

  /* Tiny delete control: useful but visually secondary. */
  #orderLines .order-static-card > .compact-delete{
    position:absolute!important;
    top:9px!important;
    right:8px!important;

    width:22px!important;
    height:24px!important;
    margin:0!important;
    padding:0!important;

    display:grid!important;
    place-items:center!important;

    z-index:12!important;
    transform:none!important;
    inset-block-start:9px!important;
    inset-inline-end:8px!important;
    inset-block-end:auto!important;
    inset-inline-start:auto!important;
  }

  /* The key mobile improvement:
     commercial data is ONE horizontal semantic row:
     unit price -> quantity -> line total. */
  #orderLines .order-static-card > .order-unit-price,
  #orderLines .order-static-card > .order-qty,
  #orderLines .order-static-card > .order-line-total{
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;

    margin:0!important;
    border-top:1px solid rgba(188,200,197,.38)!important;
    padding-top:8px!important;
    align-self:center!important;
  }

  #orderLines .order-static-card > .order-unit-price{
    grid-area:price!important;
    justify-self:start!important;

    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:2px!important;

    min-width:0!important;
    min-height:42px!important;
    text-align:left!important;
  }

  #orderLines .order-static-card > .order-unit-price small{
    display:none!important;
  }

  #orderLines .order-static-card > .order-unit-price strong{
    display:block!important;
    font-size:13.5px!important;
    line-height:1!important;
    font-weight:790!important;
    white-space:nowrap!important;
  }

  #orderLines .order-static-card > .order-unit-price span{
    display:block!important;
    font-size:9.2px!important;
    line-height:1.05!important;
    color:#738084!important;
    white-space:nowrap!important;
  }

  #orderLines .order-static-card > .order-qty{
    grid-area:qty!important;
    justify-self:center!important;

    width:110px!important;
    min-width:110px!important;
    height:40px!important;
    min-height:40px!important;

    display:grid!important;
    grid-template-columns:36px 38px 36px!important;

    padding-top:8px!important;
  }

  #orderLines .order-static-card > .order-qty button,
  #orderLines .order-static-card > .order-qty input{
    height:40px!important;
    min-height:40px!important;
  }

  #orderLines .order-static-card > .order-line-total{
    grid-area:total!important;
    justify-self:end!important;

    min-width:0!important;
    min-height:42px!important;

    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:flex-end!important;

    text-align:right!important;
  }

  #orderLines .order-static-card > .order-line-total strong{
    display:block!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:800!important;
    white-space:nowrap!important;
  }

  #orderLines .order-static-card > .order-line-total span{
    display:block!important;
    margin-top:3px!important;

    font-size:9.2px!important;
    line-height:1!important;
    color:#738084!important;
    white-space:nowrap!important;
  }

  /* No legacy second state. */
  #orderLines .order-static-card > .order-inline-expand{
    display:none!important;
  }

  /* DHL should read as a final receipt row, not as a floating unrelated block. */
  #orderLines .compact-logistics-line{
    margin:2px 0 4px!important;
    border:1px solid rgba(178,194,198,.48)!important;
    border-radius:12px!important;
    background:rgba(246,250,251,.94)!important;
    overflow:hidden!important;
  }

  /* Keep the strong final action; just separate it cleanly from the cards. */
  .order-sheet .order-footer,
  #orderSheet .order-footer{
    border-top:1px solid rgba(185,196,192,.42)!important;
    background:rgba(255,251,242,.97)!important;
  }

  /* Photo is the only photo-view action. */
  #orderLines .order-static-card > .order-thumb > img{
    cursor:zoom-in!important;
  }
}

/* Do not restore clickable rows anywhere. */
#orderLines .order-static-card{
  cursor:default!important;
}
#orderLines .order-static-card .copyable-card-info,
#orderLines .order-static-card .copyable-card-info *{
  user-select:text!important;
  -webkit-user-select:text!important;
}


/* ===== v1.56 — CLEAN ORDER CARDS / FINAL VISUAL PASS =====
   Keep RXDE's warm header personality, but make the working order area clean,
   white, card-based and easy to scan. */

/* ---------- ORDER SHEET: global visual hierarchy ---------- */

#orderSheet.order-sheet,
.order-sheet{
  background:#f5f7f6!important;
  background-image:none!important;
}

/* Warm branding remains only in the header. */
#orderSheet .sheet-header,
.order-sheet .sheet-header{
  background:linear-gradient(180deg,#fffdf8 0%,#fffaf1 100%)!important;
  border-bottom:1px solid rgba(180,171,150,.28)!important;
}

/* Context row becomes neutral and quiet. */
#orderSheet .order-flow-nav,
.order-sheet .order-flow-nav{
  background:#fbfcfc!important;
  border-bottom:1px solid rgba(197,205,205,.50)!important;
}

/* Toolbar = functional, not decorative. */
#orderSheet .sheet-toolbar,
.order-sheet .sheet-toolbar{
  background:#fff!important;
  border-bottom:1px solid rgba(190,201,200,.52)!important;
  box-shadow:none!important;
}

/* White content surface; no notebook rules or yellow cast. */
#orderLines.order-lines,
.order-sheet #orderLines{
  background:#f5f7f6!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  padding:9px 12px 14px!important;
}

/* ---------- EACH PRODUCT = ITS OWN POSITION CARD ---------- */

#orderLines .order-product-row.order-static-card{
  position:relative!important;
  margin:0 0 8px!important;
  border:1px solid rgba(184,196,194,.58)!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(37,65,61,.045)!important;
  overflow:visible!important;
}

/* Old paper-row separators no longer participate. */
#orderLines .order-product-row.order-static-card,
#orderLines .order-product-row.order-static-card:hover,
#orderLines .order-product-row.order-static-card.selected{
  border-bottom-color:rgba(184,196,194,.58)!important;
}
#orderLines .order-product-row.order-static-card:hover{
  background:#fff!important;
  box-shadow:0 3px 11px rgba(37,65,61,.07)!important;
}

/* Position marker belongs to the card, not to the product image. */
#orderLines .order-static-card .order-num-badge{
  left:-9px!important;
  top:-7px!important;
  z-index:15!important;
  box-shadow:0 2px 7px rgba(15,105,157,.17)!important;
}

/* Photo holder becomes almost invisible — image is the content. */
#orderLines .order-static-card > .order-thumb{
  border-color:rgba(199,208,207,.46)!important;
  background:#fff!important;
  box-shadow:none!important;
}

/* Additional data stays visibly secondary. */
#orderLines .order-static-card .property-text-line{
  color:#7b8789!important;
}

/* PDF / product page = one small secondary action line. */
#orderLines .order-static-card .product-text-links{
  color:#35675e!important;
}
#orderLines .order-static-card .product-text-link{
  color:#35675e!important;
  font-weight:720!important;
}

/* ---------- DESKTOP ---------- */

@media(min-width:761px){

  #orderLines{
    padding:10px 14px 16px!important;
  }

  #orderLines .order-static-card{
    padding:10px 10px!important;
    margin-bottom:7px!important;
    min-height:126px!important;
  }

  /* Keep desktop's efficient columns, but visually tie them to the card. */
  #orderLines .order-static-card > .order-unit-price,
  #orderLines .order-static-card > .order-qty,
  #orderLines .order-static-card > .order-line-total{
    align-self:start!important;
  }

  #orderLines .order-static-card > .compact-delete{
    margin-right:2px!important;
  }
}

/* ---------- MOBILE ---------- */

@media(max-width:760px){

  /* Explicitly remove the old notebook paper graphic. */
  #orderSheet.order-sheet,
  .order-sheet{
    background:#f4f7f6!important;
    background-image:none!important;
  }

  /* Keep just the clips/header as the recognizable RXDE paper motif. */
  #orderSheet .sheet-header{
    background:linear-gradient(180deg,#fffdf8,#fffaf2)!important;
  }

  #orderSheet .sheet-toolbar{
    background:#fff!important;
  }

  #orderLines{
    padding:9px 9px 13px!important;
  }

  #orderLines .order-product-row.order-static-card{
    margin:0 0 10px!important;
    padding:11px 10px 10px!important;
    border:1px solid rgba(176,192,189,.60)!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:0 2px 8px rgba(40,67,63,.052)!important;
  }

  /* Card number floats from the CARD edge. */
  #orderLines .order-static-card .order-num-badge{
    left:-8px!important;
    top:-8px!important;
  }

  /* Soft divider only INSIDE each card, before commercial data. */
  #orderLines .order-static-card > .order-unit-price,
  #orderLines .order-static-card > .order-qty,
  #orderLines .order-static-card > .order-line-total{
    border-top:1px solid rgba(190,202,199,.50)!important;
    padding-top:8px!important;
  }

  /* Price -> quantity -> total: one stable scan line. */
  #orderLines .order-static-card > .order-unit-price{
    align-items:flex-start!important;
  }
  #orderLines .order-static-card > .order-qty{
    justify-self:center!important;
  }
  #orderLines .order-static-card > .order-line-total{
    align-items:flex-end!important;
  }

  /* Product image remains the only image action. */
  #orderLines .order-static-card > .order-thumb > img{
    cursor:zoom-in!important;
  }

  /* DHL is a system/service card, visually separate from product cards. */
  #orderLines .compact-logistics-line{
    margin:2px 0 5px!important;
    padding:10px!important;
    border:1px solid rgba(171,191,197,.62)!important;
    border-radius:13px!important;
    background:#f6fafb!important;
    box-shadow:none!important;
  }

  /* ---------- FOOTER / CHECKOUT ---------- */

  #orderSheet .sheet-footer,
  .order-sheet .sheet-footer{
    position:relative!important;
    right:auto!important;
    bottom:auto!important;
    z-index:20!important;

    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;

    width:100%!important;
    padding:10px 12px calc(11px + env(safe-area-inset-bottom,0px))!important;

    border-top:1px solid rgba(180,194,190,.56)!important;
    border-radius:0 0 18px 18px!important;
    background:#fff!important;
    box-shadow:0 -7px 20px rgba(40,64,59,.055)!important;
    pointer-events:auto!important;
  }

  /* Previously hidden on mobile — now useful at the moment of checkout. */
  #orderSheet .sheet-footer .order-summary,
  .order-sheet .sheet-footer .order-summary{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:12px!important;
    width:100%!important;
    padding:0 3px!important;
  }

  #orderSheet .sheet-footer .order-summary span{
    font-size:11px!important;
    color:#66767a!important;
    font-weight:680!important;
  }

  #orderSheet .sheet-footer .order-summary strong{
    font-size:22px!important;
    line-height:1!important;
    color:#17282d!important;
    font-weight:820!important;
    letter-spacing:-.02em!important;
  }

  #orderSheet .sheet-footer .primary-action,
  .order-sheet .sheet-footer .primary-action{
    width:100%!important;
    min-width:0!important;
    min-height:54px!important;
    padding:0 16px!important;

    border-radius:14px!important;
    box-shadow:none!important;

    font-size:14px!important;
    font-weight:790!important;
    pointer-events:auto!important;
  }
}

/* ---------- SIMPLE CONSISTENCY ---------- */

/* No click-to-expand rows are reintroduced by the visual pass. */
#orderLines .order-static-card{
  cursor:default!important;
}
#orderLines .order-static-card .copyable-card-info,
#orderLines .order-static-card .copyable-card-info *{
  user-select:text!important;
  -webkit-user-select:text!important;
}

/* Avoid old notebook/paper pseudo-elements from drawing through the new clean content area. */
#orderLines::before,
#orderLines::after,
.order-sheet .order-lines::before,
.order-sheet .order-lines::after{
  display:none!important;
  content:none!important;
}


/* ===== v1.56 — VARIANT 1: CLEAN SERVICE =====
   White working surface, restrained green service accent,
   red only for RX / destructive warnings, warm tint only in the brand header. */

:root{
  --rxde-bg:#f6f8f7;
  --rxde-surface:#ffffff;
  --rxde-surface-soft:#fbfcfb;
  --rxde-border:#dfe7e4;
  --rxde-border-strong:#cfdad6;
  --rxde-text:#1b2a2e;
  --rxde-muted:#6f7f83;
  --rxde-green:#2f665d;
  --rxde-green-2:#3f796f;
  --rxde-green-soft:#edf5f2;
  --rxde-red:#c84e4a;
  --rxde-warm:#fffaf2;
  --rxde-shadow:0 3px 12px rgba(30,55,49,.055);
}

/* ---------- PAGE / HEADER ---------- */

body{
  background-color:var(--rxde-bg)!important;
}

.site-shell,
.page-shell,
main{
  background:var(--rxde-surface)!important;
}

/* Keep a small amount of brand warmth only at the very top. */
.site-header,
.header-shell,
.top-header{
  background:linear-gradient(180deg,#fffdf9 0%,#fffaf3 100%)!important;
  border-bottom:1px solid rgba(214,205,186,.42)!important;
}

/* Lighter logo frame; preserve the mark, reduce visual weight. */
.brand-mark,
.logo-rx,
.rx-logo-box{
  border-width:1.4px!important;
  border-color:#db615d!important;
  border-radius:11px!important;
  box-shadow:none!important;
}

/* ---------- SEARCH ---------- */

.search-wrap,
.search-box{
  background:#fff!important;
  border:1px solid var(--rxde-border-strong)!important;
  box-shadow:0 1px 4px rgba(34,61,55,.035)!important;
}

.search-wrap:focus-within,
.search-box:focus-within{
  border-color:#8db2a9!important;
  box-shadow:0 0 0 3px rgba(63,121,111,.10)!important;
}

.search-input,
#searchInput{
  color:var(--rxde-text)!important;
}

.search-input::placeholder,
#searchInput::placeholder{
  color:#879397!important;
}

/* ---------- NAV / CATEGORIES ---------- */

.category-tabs,
.cat-tabs,
.nav-tabs,
.notebook-tabs{
  background:#fff!important;
  border-top:1px solid var(--rxde-border)!important;
  border-bottom:1px solid var(--rxde-border)!important;
  box-shadow:none!important;
}

/* Make all inactive categories almost monochrome. */
.category-tab,
.cat-tab,
.nav-tab,
.notebook-tabs button{
  background:transparent!important;
  border-color:transparent!important;
  color:#59696d!important;
  box-shadow:none!important;
}

/* One unified active-state language. */
.category-tab.active,
.cat-tab.active,
.nav-tab.active,
.notebook-tabs button.active,
.notebook-tabs .active{
  color:var(--rxde-green)!important;
  background:var(--rxde-green-soft)!important;
  border-color:#d7e6e1!important;
  box-shadow:inset 0 -2px 0 var(--rxde-green)!important;
}

/* Recent = same component, not a separate blue visual system. */
.recent-tab,
.recent-pill,
[data-category="recent"]{
  color:var(--rxde-green)!important;
  background:#f5f8f7!important;
  border-color:#dfe8e5!important;
}

/* ---------- PRODUCT CATALOGUE ---------- */

#productList{
  background:#fff!important;
}



/* Avoid card-striping / yellow cast. */
#productList .product-row:nth-child(odd),
#productList .product-row:nth-child(even){
  background:#fff!important;
}

/* Titles and core copy. */
#productList .product-title{
  color:var(--rxde-text)!important;
}

#productList .copyable-product-core{
  color:#506267!important;
}

#productList .copyable-product-core .copy-substance{
  color:#29443e!important;
}

#productList .property-text-line{
  color:#839093!important;
}

/* Product-type badges: one quiet neutral language. */
.form-badge,
.product-form-badge,
.badge-form{
  background:#f4f6f6!important;
  border:1px solid #dce4e2!important;
  color:#59696d!important;
  box-shadow:none!important;
}

/* RX stays red and meaningful. */
.rx-badge{
  background:#fff!important;
  color:var(--rxde-red)!important;
  border-color:#d96d69!important;
  box-shadow:none!important;
}

/* Links become service-green, not decorative. */
.product-text-link,
#productList a[href*="PDF"],
#productList .full-product-link{
  color:var(--rxde-green)!important;
}

/* ---------- QUANTITY / PRICE ---------- */

.qty-stepper,
.order-qty,
.suggest-stepper{
  border:1px solid var(--rxde-border-strong)!important;
  background:#fff!important;
  box-shadow:none!important;
}

.qty-stepper button,
.order-qty button,
.suggest-stepper button{
  background:#f8faf9!important;
  color:#24373b!important;
  border-color:var(--rxde-border)!important;
}

.qty-stepper input,
.order-qty input,
.suggest-stepper b{
  background:#fff!important;
  color:#16272b!important;
}

/* Selected state: one soft service accent, not multiple competing greens. */








/* Handwritten ×1 remains the personality detail. */
.cart-qty-mark,
.product-qty-mark,
.handwritten-qty{
  color:#28705f!important;
}

/* ---------- TOP ORDER DOCK ---------- */

#desktopOrderDock,
.desktop-order-dock,
.order-dock{
  background:#f2f7f5!important;
  border:1px solid #d8e6e1!important;
  color:#244a43!important;
  box-shadow:none!important;
}

#desktopOrderDock strong,
.desktop-order-dock strong{
  color:#183c36!important;
}

/* ---------- ORDER SHEET ---------- */

.order-sheet,
#orderSheet{
  background:#f5f7f6!important;
}

.order-sheet .sheet-header,
#orderSheet .sheet-header{
  background:linear-gradient(180deg,#fffdf9,#fffaf3)!important;
}

/* Clean cards already introduced in v1.55; refine to variant 1 palette. */
#orderLines .order-static-card{
  border-color:#dce6e3!important;
  background:#fff!important;
  box-shadow:var(--rxde-shadow)!important;
}

#orderLines .order-static-card:hover{
  box-shadow:0 4px 14px rgba(30,55,49,.07)!important;
}

#orderLines .order-num-badge{
  background:#2d6f88!important;
  color:#fff!important;
  box-shadow:0 2px 7px rgba(30,89,111,.15)!important;
}

/* Keep number as the only cool accent. */
#orderLines .product-text-link{
  color:var(--rxde-green)!important;
}

/* DHL/system row */
#orderLines .compact-logistics-line{
  background:#f7faf9!important;
  border-color:#d9e5e2!important;
}

/* ---------- BUTTONS ---------- */

.primary-action,
button.primary,
#sendOrder,
[data-primary-action]{
  background:var(--rxde-green)!important;
  color:#fff!important;
  border-color:var(--rxde-green)!important;
  box-shadow:none!important;
}

.primary-action:hover,
button.primary:hover,
#sendOrder:hover{
  background:#285b53!important;
}

.secondary-action,
button.secondary{
  background:#fff!important;
  color:var(--rxde-green)!important;
  border-color:#ccddd8!important;
}

/* ---------- QUICK SEARCH ---------- */

.search-suggest,
#searchSuggest{
  background:#fff!important;
  border-color:#d9e4e1!important;
  box-shadow:0 8px 28px rgba(31,54,49,.10)!important;
}

.search-suggest .suggest-row{
  background:#fff!important;
  border-bottom:1px solid #e9efed!important;
}

.search-suggest .suggest-row:hover{
  background:#f8fbfa!important;
}

.search-suggest .suggest-title{
  color:var(--rxde-text)!important;
}

/* ---------- MOBILE ---------- */

@media(max-width:760px){
  .site-header,
  .header-shell{
    background:linear-gradient(180deg,#fffdf9,#fffaf4)!important;
  }

  

  /* Mobile order cards = clean white on a pale neutral background. */
  #orderLines{
    background:#f4f7f6!important;
  }

  #orderLines .order-static-card{
    background:#fff!important;
    border-color:#dbe5e2!important;
    box-shadow:0 2px 8px rgba(35,61,55,.045)!important;
  }

  #orderSheet .sheet-footer{
    background:#fff!important;
    border-top-color:#dce6e3!important;
  }
}

/* ---------- REDUCE PATCHWORK ---------- */

/* Neutralize legacy warm/yellow surfaces inside the working area. */
.catalog-body,
.catalog-content,
.products-area,
.product-list-wrap{
  background:#fff!important;
}

.product-row [style*="#fff3"],
.product-row [style*="#fff8"],
.product-row [style*="gold"],
.order-sheet [style*="gold"]{
  box-shadow:none!important;
}

/* ---------- ANIMATION SPEED ---------- */

/* Faster service motion: still branded, no longer ceremonial. */
.order-fly-ghost,
.brand-frame-flight{
  animation-duration:1.05s!important;
}

@media(max-width:760px){
  .order-fly-ghost,
  .brand-frame-flight{
    animation-duration:.82s!important;
  }
}

/* ---------- TYPOGRAPHIC RHYTHM ---------- */

#productList .product-title{
  font-size:15.5px!important;
  line-height:1.18!important;
  font-weight:740!important;
}

#productList .copyable-product-core{
  font-size:11.8px!important;
  line-height:1.24!important;
}

#productList .property-text-line,
#productList .product-text-link{
  font-size:10.6px!important;
}

#orderLines .order-expand-title{
  font-weight:740!important;
}

/* Consistent 4/8/12/16 rhythm for major working surfaces. */
.search-wrap,
.search-box{
  border-radius:12px!important;
}





/* ===== v1.58 — clean trustful service theme + Apple-style date widget ===== */
:root{
  --paper:#dfeaf0;
  --sheet:#ffffff;
  --ink:#1f2a2f;
  --text:#33464d;
  --muted:#69797f;
  --soft:#849399;
  --line:#d8e2e6;
  --line-soft:#e8eef0;
  --accent:#2e6457;
  --accent-soft:#edf6f2;
  --danger:#a45853;
  --success:#4c7c70;
  --shadow:0 18px 55px rgba(25,42,49,.12);
  --v157-hover:rgba(234,242,240,.88);
  --v157-hover-strong:rgba(226,238,234,.95);
  --v157-selected:rgba(221,236,229,.92);
}
html{
  background:
    linear-gradient(rgba(229,239,244,.92),rgba(229,239,244,.92)),
    url("assets/pattern-logistics-v077.svg") center top / 1680px auto repeat-y fixed !important;
}
body{background:transparent!important}
.paper-shell{
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 0 0 1px rgba(33,69,84,.07),0 16px 44px rgba(31,74,97,.09)!important;
}
.workspace{background:#fff!important}
.app-header{
  background:linear-gradient(180deg,rgba(251,249,243,.97),rgba(255,255,255,.97))!important;
  background-size:auto!important;
  border-bottom:1px solid #e9eff1!important;
}
.app-header:before{background:rgba(191,82,82,.12)!important}
.brand-copy strong{font-size:13px!important;font-weight:760!important;color:#1f3139!important}
.brand-copy span{color:#66777e!important}
.brand-rx{border-color:#cd5a5a!important;color:#cd5a5a!important;background:#fff!important}
.brand-de{color:#1c2f37!important}
.rate-stack{padding-right:12px!important;border-right:1px solid #e6ecee!important}
.rate-stack span{color:#74848a!important}
.rate-stack strong,.rate-stack b{color:#243841!important}
#headerCbrDate.stale{color:#9e7d57!important}

/* Apple-inspired compact date widget: red month strip, clean white card, weekday below. */
.flip-date{
  width:56px!important;
  height:56px!important;
  display:grid!important;
  grid-template-rows:16px 26px 12px!important;
  align-items:center!important;
  justify-items:center!important;
  overflow:hidden!important;
  padding:0!important;
  border:1px solid #d7e1e5!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 6px 16px rgba(31,72,92,.08)!important;
  perspective:none!important;
  contain:layout paint!important;
}
.flip-date::before,.flip-date::after,.flip-date>.flip-year::after,.flip-corner,.flip-leaf{display:none!important;content:none!important}
.flip-month{
  width:100%!important;
  height:16px!important;
  display:grid!important;
  place-items:center!important;
  background:#fff4f4!important;
  color:#c94f4f!important;
  font-size:9px!important;
  font-weight:820!important;
  letter-spacing:.12em!important;
  line-height:1!important;
  text-transform:uppercase!important;
}
.flip-day{
  font-size:23px!important;
  line-height:1!important;
  font-weight:790!important;
  color:#20343c!important;
}
.flip-year{
  display:block!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:760!important;
  letter-spacing:.12em!important;
  color:#7c8c93!important;
  text-transform:uppercase!important;
}
.flip-date.is-flipping .flip-day,.flip-date.rate-check-flip .flip-day{animation:none!important}

.order-status-standard{
  min-height:52px!important;
  padding:8px 13px!important;
  border:1px solid #d7e1e5!important;
  border-radius:14px!important;
  background:#f8fbfc!important;
  color:#2e4953!important;
  box-shadow:0 4px 12px rgba(37,71,82,.05)!important;
}
.order-status-total{color:#21443b!important}
.order-list-mark{color:#cd5a5a!important}

/* Modernized notebook tabs: no gold, no retro yellow. */
.flow-nav{background:#fbfcfc!important;border-bottom-color:#e8eef0!important}
.notebook-index-tab.category-chip{
  height:28px!important;
  min-height:28px!important;
  padding:0 12px!important;
  border:1px solid #dbe4e7!important;
  border-bottom-color:#dbe4e7!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#5e7076!important;
  box-shadow:none!important;
  font-size:11px!important;
  line-height:26px!important;
  font-weight:700!important;
  transform:none!important;
}
.notebook-index-tab.category-chip:hover{
  background:#f7fbfa!important;
  border-color:#c7d8d3!important;
  color:#294d43!important;
  transform:none!important;
}
.notebook-index-tab.category-chip.active{
  height:28px!important;
  min-height:28px!important;
  padding:0 12px!important;
  border-color:#8db4a8!important;
  background:#eef5f2!important;
  color:#23483f!important;
  box-shadow:inset 0 0 0 1px rgba(141,180,168,.18),0 3px 10px rgba(41,89,76,.07)!important;
  font-weight:780!important;
  transform:none!important;
}
.notebook-index-tab.category-chip.active::after{display:none!important}
.form-filter-chip{
  border:1px solid #dae4e3!important;
  background:#fff!important;
  color:#596c71!important;
}
.form-filter-chip:hover{border-color:#bfd2cb!important;box-shadow:0 2px 7px rgba(61,93,84,.07)!important}
.form-filter-chip.active{
  border-color:#8db4a8!important;
  background:#eef5f2!important;
  color:#23483f!important;
  box-shadow:inset 0 -2px 0 #8db4a8,0 2px 7px rgba(61,93,84,.08)!important;
}
.form-filter-chip.active:first-of-type{background:#eef5f2!important}

/* Main catalog cards: white cards with soft boundaries; hover excludes photo field. */
.product-list{gap:10px!important;padding:8px 0 18px!important}
.product-row,
.product-row:hover,
.product-row.expanded,
.product-row.expanded:hover,
.product-row.viewed,
.product-row.viewed:hover,
.product-row.selected,
.product-row.selected:hover{
  margin:0 14px!important;
  min-height:88px!important;
  padding:12px 10px!important;
  border:1px solid #e5ecef!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 1px 0 rgba(25,42,49,.03)!important;
  cursor:default!important;
}
.product-row::before{display:none!important;content:none!important}
.product-row::after{
  left:76px!important;
  right:8px!important;
  top:6px!important;
  bottom:6px!important;
  border-radius:12px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.product-row.selected::after{background:var(--v157-selected)!important}
@media (hover:hover) and (pointer:fine){
  .product-row:not(.selected):hover::after{background:var(--v157-hover)!important;box-shadow:0 4px 14px rgba(37,71,82,.045)!important}
  .product-row.selected:hover::after{background:var(--v157-hover-strong)!important;box-shadow:0 4px 14px rgba(37,71,82,.05)!important}
}
.product-photo{pointer-events:auto!important}
.product-photo,
.product-row .product-main,
.product-row .product-price,
.product-row .product-total,
.product-row .qty-stepper{position:relative;z-index:1}
.product-photo{width:54px!important;height:54px!important;border:1px solid #e4eaed!important;border-radius:14px!important;background:#fff!important}
.product-photo img{width:50px!important;height:50px!important;object-fit:contain!important;cursor:zoom-in!important}
.product-title{font-size:15.5px!important;font-weight:760!important;letter-spacing:-.014em!important;color:#20333b!important}
.product-main,.product-price,.product-total{cursor:default!important}
.product-meta,.product-row .pzn-copy-wrap,.product-row .pzn-text{cursor:text!important}
.details-link,.order-jump,.qty-stepper button,.qty-stepper input,.clear-search,.search-scope-button,.scope-option,.category-chip,.header-question,.footer-question,.brand,.desktop-order-dock{cursor:pointer!important}
.qty-stepper{border-color:#cfdbde!important;border-radius:10px!important;background:#fff!important}
.qty-stepper button,.qty-stepper input{background:#f7f9f9!important}
.qty-stepper button:hover{background:#eff5f3!important}
.product-price strong,.product-total strong{font-size:17px!important;color:#20343c!important}
.product-price small,.product-price span,.product-total span{color:#6d7d83!important}
.product-total.empty span{color:#7a8a90!important;font-weight:640!important}
.order-jump{color:#2d6357!important}

/* Keep quick-search good; only align cursor semantics. */
.suggest-row,.suggest-main,.suggest-price{cursor:default!important}
.suggest-photo img{cursor:zoom-in!important}
.suggest-title,.suggest-add,.suggest-stepper button,.suggest-stepper input,[data-suggest-open],.suggest-show-all{cursor:pointer!important}
.suggest-copy-zone,.suggest-form-line,.suggest-meta,.suggest-form-line span:last-child{cursor:text!important}

/* Clean order sheet: white content, warm only in header, cards separated per item. */
.sheet-backdrop{background:rgba(24,31,34,.52)!important;backdrop-filter:blur(5px) saturate(.94)!important}
.order-sheet{
  --order-paper:#ffffff!important;
  --order-paper-deep:#f4f7f8!important;
  --order-rule:transparent!important;
  --order-margin:rgba(184,94,86,.10)!important;
  border:1px solid #dfe7ea!important;
  background:
    linear-gradient(90deg,transparent 0 34px,var(--order-margin) 34px 35px,transparent 35px),
    #fff!important;
  box-shadow:0 24px 70px rgba(34,40,42,.24),0 2px 8px rgba(42,67,74,.06)!important;
}
.order-sheet::after{background:#f4f7f8!important;box-shadow:0 4px 9px rgba(51,71,78,.08)!important}
.sheet-header{
  background:linear-gradient(180deg,rgba(252,249,241,.98),rgba(255,255,255,.96))!important;
  border-bottom:1px solid #e8eef0!important;
}
.sheet-header:before{background:rgba(191,82,82,.15)!important}
.sheet-title-block h2{color:#1f3139!important}
.sheet-header p{color:#6f7b81!important}
.order-header-status{background:#fff!important;border-color:#d7e1e5!important}
.sheet-toolbar{background:#fff!important;border-bottom-color:#e8eef0!important}
.order-lines{background:#fff!important;padding:4px 0 12px!important}
.order-product-row,
.order-product-row:hover,
.order-product-row.order-expanded:hover,
.order-product-row.order-expanded:focus-within:hover{
  margin:10px 12px!important;
  min-height:88px!important;
  padding:12px 10px!important;
  border:1px solid #e5ecef!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 1px 0 rgba(25,42,49,.03)!important;
  cursor:default!important;
  overflow:visible!important;
}
.order-product-row.dragging{background:#f7fbfa!important;opacity:.75!important}
.order-product-row > *{position:relative;z-index:1}
.order-product-row::after{
  content:"";
  position:absolute;
  left:72px;
  right:8px;
  top:6px;
  bottom:6px;
  border-radius:12px;
  background:transparent;
  box-shadow:none;
  pointer-events:none;
  z-index:0;
  transition:background .14s ease,box-shadow .14s ease;
}
@media (hover:hover) and (pointer:fine){
  .order-product-row:hover::after{background:var(--v157-hover)!important;box-shadow:0 4px 14px rgba(37,71,82,.045)!important}
}
.order-thumb{border-color:#dde6e9!important;background:#fff!important;cursor:default!important}
.order-thumb img{cursor:zoom-in!important}
.order-num-badge{background:#2f7b95!important;box-shadow:0 2px 6px rgba(47,123,149,.18)!important}
.order-product-info,.order-unit-price,.order-qty,.order-line-total{cursor:default!important}
.order-meta,.order-product-row .pzn-copy-wrap,.order-product-row .pzn-text{cursor:text!important}
.order-product-row .compact-delete,.order-product-row .qty-stepper button,.order-product-row .qty-stepper input,.return-order-link,.text-button,.order-add-product,.sound-toggle{cursor:pointer!important}
.order-product-row .compact-delete:hover{background:#fff3f1!important}
.order-unit-price strong,.order-line-total strong{color:#20343c!important}
.order-unit-price span,.order-line-total span,.order-unit-price small{color:#6d7d83!important}
.compact-logistics-line{margin:8px 12px 2px!important;border-color:#e5ecef!important;border-radius:16px!important;background:#fbfcfc!important}
.sheet-footer{background:linear-gradient(180deg,#fff,#f9fbfb)!important;border-top-color:#e8eef0!important}
.submit-order{border-radius:14px!important;background:#356f62!important;box-shadow:0 10px 24px rgba(53,111,98,.16)!important}
.submit-order:hover{background:#2f6257!important}

/* Keep the playful side background, but make the work area cleaner. */
.context-line,.subcategory-strip{background:#fff!important}
.context-line{border-bottom:1px solid #edf1f2!important}

/* Smaller golden leftovers → neutral service tones. */
.flow-history-toggle:hover,.flow-history-toggle[aria-expanded="true"],
.flow-back:not(:disabled):hover{
  background:#eef5f3!important;
  border-color:#9bbcaf!important;
  box-shadow:none!important;
}
.search-scope-button.open{border-color:#9ebcb4!important;background:#eef5f3!important;box-shadow:0 0 0 2px rgba(72,113,105,.06)!important}
.search-main-field{border-color:#d7e1e5!important;background:#fff!important;box-shadow:0 2px 10px rgba(35,69,82,.04)!important}
.search-input{color:#273c45!important}
.search-input::placeholder{color:#819096!important}
.clear-search{color:#73848b!important}

@media(max-width:760px){
  html{background:
    linear-gradient(rgba(233,241,244,.94),rgba(233,241,244,.94)),
    url("assets/pattern-logistics-v077.svg") center top / 980px auto repeat-y fixed !important}
  .paper-shell{width:100%!important;min-height:100vh!important;box-shadow:none!important}
  .app-header{padding:10px 12px 8px!important}
  .status-cluster{gap:8px!important}
  .rate-stack{display:none!important}
  .flip-date{width:48px!important;height:48px!important;grid-template-rows:14px 22px 10px!important;border-radius:14px!important}
  .flip-month{font-size:8px!important;height:14px!important}
  .flip-day{font-size:20px!important}
  .flip-year{font-size:8px!important}
  .notebook-index-tab.category-chip{height:30px!important;min-height:30px!important;line-height:28px!important;font-size:11px!important;padding:0 10px!important;border-radius:999px!important}
  .product-list{gap:8px!important;padding:6px 0 14px!important}
  .product-row,
  .product-row:hover,
  .product-row.expanded,
  .product-row.selected{
    margin:0 8px!important;
    padding:10px 8px!important;
    border-radius:14px!important;
  }
  .product-row::after,
  .product-row.expanded::after{left:64px!important;right:6px!important;top:5px!important;bottom:5px!important;border-radius:10px!important}
  .product-photo{width:48px!important;height:48px!important;border-radius:12px!important}
  .product-photo img{width:44px!important;height:44px!important}
  .order-sheet{
    background:linear-gradient(90deg,transparent 0 18px,var(--order-margin) 18px 19px,transparent 19px),#fff!important;
  }
  .order-product-row,
  .order-product-row:hover{
    margin:8px 8px!important;
    padding:10px 8px!important;
    border-radius:14px!important;
  }
  .order-product-row::after{left:58px!important;right:6px!important;top:5px!important;bottom:5px!important;border-radius:10px!important}
  .order-thumb{border-radius:12px!important}
  .compact-logistics-line{margin:8px 8px 0!important;border-radius:14px!important}
  .sheet-footer{padding-left:8px!important;padding-right:8px!important}
}


/* ===== v1.58 — restore RXDE identity; border-only hover; stable cursor/date/menu ===== */

/* Original RXDE / Telegram-like illustrated background is part of the identity. */
html{
  background:#eaf5fb url("assets/pattern-v03.svg") repeat!important;
  background-size:auto!important;
}
body{background:transparent!important}
.paper-shell{
  background:#fff!important;
  box-shadow:0 0 0 1px rgba(35,69,82,.06),0 0 34px rgba(39,92,117,.08)!important;
}
@media(max-width:760px){
  html{background:#eaf5fb url("assets/pattern-v03.svg") repeat!important;background-size:auto!important}
}

/* Watch-complication date, not a retro paper calendar. */
.flip-date{
  width:56px!important;height:54px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  grid-template-rows:16px 36px!important;
  padding:3px 7px 4px!important;
  border:1px solid #d4dfe3!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 5px 14px rgba(33,68,82,.07)!important;
  overflow:hidden!important;
  perspective:none!important;
}
.flip-date::before,.flip-date::after,.flip-date .flip-leaf,.flip-date .flip-corner,.flip-date>.flip-year::after{display:none!important;content:none!important}
.flip-month{
  grid-column:1!important;grid-row:1!important;
  width:auto!important;height:auto!important;
  justify-self:start!important;align-self:center!important;
  padding:0!important;background:transparent!important;
  color:#c95353!important;font-size:8px!important;font-weight:820!important;letter-spacing:.08em!important;line-height:1!important;
}
.flip-year{
  display:block!important;grid-column:2!important;grid-row:1!important;
  justify-self:end!important;align-self:center!important;
  color:#75868d!important;font-size:8px!important;font-weight:780!important;letter-spacing:.08em!important;line-height:1!important;
}
.flip-day{
  grid-column:1 / 3!important;grid-row:2!important;
  align-self:center!important;justify-self:center!important;
  color:#213740!important;font-size:25px!important;font-weight:780!important;letter-spacing:-.04em!important;line-height:1!important;
}
.flip-date.is-flipping .flip-day,.flip-date.rate-check-flip .flip-day{animation:none!important}
@media(max-width:760px){
  .flip-date{width:48px!important;height:47px!important;grid-template-rows:14px 30px!important;padding:3px 6px!important;border-radius:14px!important}
  .flip-month,.flip-year{font-size:7px!important}.flip-day{font-size:21px!important}
}

/* Navigation strip: give breadcrumbs their space; category pills must not cover 'Главная'. */
.flow-nav{
  grid-template-rows:27px 27px!important;
  min-height:58px!important;height:58px!important;
  padding:3px 14px 3px 58px!important;
  background:rgba(255,250,239,.96)!important;
}
.flow-nav-main{height:27px!important;min-height:27px!important;overflow:hidden!important}
.flow-nav-main .flow-crumbs{flex:1 1 auto!important;min-width:110px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#315c53!important}
.flow-nav-main .flow-context-meta{flex:0 0 auto!important}
.category-strip.notebook-index-tabs{
  height:27px!important;min-height:27px!important;align-items:center!important;padding:1px 2px!important;overflow-x:auto!important;overflow-y:hidden!important;
}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip.active{
  height:23px!important;min-height:23px!important;
  padding:0 10px!important;border-radius:999px!important;
  font-size:9.7px!important;line-height:21px!important;
  transform:none!important;
}
.notebook-index-tab.category-chip.active::after{display:none!important}

/* Restore useful pastel dosage-form scan colours. */
.form-badge.form-tablet,.form-filter-chip.form-tablet{background:#eef5fb!important;border-color:#c8d9e7!important;color:#355a73!important}
.form-badge.form-capsule,.form-filter-chip.form-capsule{background:#f2effb!important;border-color:#d9d0ec!important;color:#5e4e78!important}
.form-badge.form-granules,.form-filter-chip.form-granules{background:#fff4dc!important;border-color:#ead6a7!important;color:#765b22!important}
.form-badge.form-suppository,.form-filter-chip.form-suppository{background:#fbeeed!important;border-color:#e8c9c5!important;color:#80504b!important}
.form-badge.form-enema,.form-filter-chip.form-enema{background:#edf7f1!important;border-color:#c6dfce!important;color:#416854!important}
.form-badge.form-foam,.form-filter-chip.form-foam{background:#f3eef8!important;border-color:#d9cce5!important;color:#665177!important}
.form-badge.form-suspension,.form-filter-chip.form-suspension{background:#eef7f5!important;border-color:#c9dfda!important;color:#416863!important}
.form-badge.form-drops,.form-filter-chip.form-drops{background:#edf6fb!important;border-color:#c9dce7!important;color:#3f6478!important}
.form-badge.form-spray,.form-filter-chip.form-spray{background:#eef4f8!important;border-color:#cbd9e1!important;color:#456170!important}
.form-badge.form-cream,.form-filter-chip.form-cream,.form-badge.form-gel,.form-filter-chip.form-gel,.form-badge.form-ointment,.form-filter-chip.form-ointment{background:#faf0e6!important;border-color:#e4d1bc!important;color:#735944!important}
.form-badge.form-injection,.form-filter-chip.form-injection{background:#f1f2f8!important;border-color:#ced2e0!important;color:#505c78!important}
.form-badge.form-patch,.form-filter-chip.form-patch{background:#f3f5ed!important;border-color:#d3dac2!important;color:#5c6845!important}
.form-badge.form-powder,.form-filter-chip.form-powder{background:#f7f2e8!important;border-color:#ddd1b8!important;color:#6c5d42!important}
.form-badge.form-solution,.form-filter-chip.form-solution{background:#edf5f7!important;border-color:#c8dbdf!important;color:#42656b!important}
.form-badge:not([class*="form-"]){background:#f4f6f6!important;border-color:#dce4e2!important;color:#59696d!important}

/* Unified hover = border + small shadow only. Never tint the white image field. */
.product-row::after,.order-product-row::after{display:none!important;content:none!important;background:transparent!important;box-shadow:none!important}
.product-row,
.product-row:hover,
.product-row.selected,
.product-row.selected:hover{
  background:#fff!important;
  transition:border-color .13s ease,box-shadow .13s ease!important;
}
@media(hover:hover) and (pointer:fine){
  #productList .product-row:hover{
    border-color:#aebfba!important;
    box-shadow:0 4px 14px rgba(42,72,65,.075)!important;
  }
  #orderLines .order-product-row:hover{
    border-color:#aebfba!important;
    box-shadow:0 4px 14px rgba(42,72,65,.075)!important;
    background:#fff!important;
  }
  #searchSuggest .suggest-row:hover{
    background:#fff!important;
    border-color:#aebfba!important;
    box-shadow:0 3px 10px rgba(42,72,65,.065)!important;
  }
}
#searchSuggest .suggest-row{
  margin:4px 6px!important;
  border:1px solid transparent!important;
  border-bottom-color:#e6ecee!important;
  border-radius:11px!important;
  transition:border-color .13s ease,box-shadow .13s ease!important;
}

/* Stable selected total: hover must never blink/repaint the price block. */
#productList .product-row.selected .product-total:not(.empty),
#productList .product-row.selected:hover .product-total:not(.empty),
#productList .product-row.selected:focus-within .product-total:not(.empty){
  background:#edf5f1!important;
  border:0!important;
  box-shadow:none!important;
  animation:none!important;
  transition:none!important;
  filter:none!important;
}
#productList .product-row.selected .product-total *,
#productList .product-row.selected:hover .product-total *{
  animation:none!important;transition:none!important;filter:none!important;
}
#productList .product-row .product-price,
#productList .product-row:hover .product-price{
  background:transparent!important;box-shadow:none!important;animation:none!important;transition:none!important;filter:none!important;
}

/* Explicit cursor map: no disappearing / misleading cursor on non-clickable cards. */
#productList .product-row,#productList .product-row *{cursor:default!important}
#productList .product-photo,#productList .product-photo img{cursor:zoom-in!important}
#productList .copyable-card-info,#productList .copyable-card-info *,#productList .pzn-copy-wrap,#productList .pzn-text{cursor:text!important}
#productList button,#productList a,#productList .order-jump,#productList .pzn-copy{cursor:pointer!important}
#orderLines .order-product-row,#orderLines .order-product-row *{cursor:default!important}
#orderLines .order-thumb,#orderLines .order-thumb img{cursor:zoom-in!important}
#orderLines .copyable-card-info,#orderLines .copyable-card-info *,#orderLines .pzn-copy-wrap,#orderLines .pzn-text{cursor:text!important}
#orderLines button,#orderLines a,#orderLines .order-num-badge{cursor:pointer!important}
#orderLines .order-num-badge{cursor:grab!important}#orderLines .order-num-badge:active{cursor:grabbing!important}
#searchSuggest .suggest-row,#searchSuggest .suggest-row *{cursor:default!important}
#searchSuggest .suggest-photo,#searchSuggest .suggest-photo img{cursor:zoom-in!important}
#searchSuggest .suggest-copy-zone,#searchSuggest .suggest-copy-zone *{cursor:text!important}
#searchSuggest button,#searchSuggest a,#searchSuggest [data-suggest-open]{cursor:pointer!important}

/* Keep the order sheet clean but retain the notebook identity only in its shell/header. */
.order-sheet{background:linear-gradient(90deg,transparent 0 34px,rgba(184,94,86,.10) 34px 35px,transparent 35px),#fff!important}
.sheet-header{background:linear-gradient(180deg,#fffaf1,#fff)!important}
.order-lines{background:#fff!important}

@media(max-width:760px){
  .flow-nav{grid-template-rows:26px 29px!important;min-height:59px!important;height:59px!important;padding-left:36px!important;padding-right:7px!important}
  .flow-nav-main{height:26px!important;min-height:26px!important;gap:5px!important}
  .flow-nav-main .flow-crumbs{min-width:72px!important;font-size:10.5px!important}
  .category-strip.notebook-index-tabs{height:29px!important;min-height:29px!important}
  .notebook-index-tab.category-chip,.notebook-index-tab.category-chip.active{height:25px!important;min-height:25px!important;line-height:23px!important;font-size:10px!important;padding:0 9px!important}
  .order-sheet{background:linear-gradient(90deg,transparent 0 18px,rgba(184,94,86,.10) 18px 19px,transparent 19px),#fff!important}
}


/* ===== v1.60 — V1.41 illustrated sides + clean blue service header ===== */

/* Exact visual family from V1.41: airplane / delivery van / euro side illustrations. */
@media (min-width:981px){
  html{
    background-color:#eaf4fb!important;
    background-image:
      url("assets/render-match/logistics-left.webp"),
      url("assets/render-match/logistics-right.webp"),
      linear-gradient(180deg,#e9f4fb 0%,#eef7fc 52%,#e8f3fa 100%)!important;
    background-repeat:no-repeat,no-repeat,no-repeat!important;
    background-position:left top,right top,center top!important;
    background-size:190px 100vh,190px 100vh,100% 100%!important;
    background-attachment:fixed,fixed,fixed!important;
  }
  .paper-shell{
    width:min(1360px,calc(100vw - 300px))!important;
    max-width:1360px!important;
    margin:0 auto!important;
  }
}
@media (min-width:981px) and (max-width:1250px){
  .paper-shell{width:calc(100vw - 160px)!important}
  html{background-size:120px 100vh,120px 100vh,100% 100%!important}
}
@media(max-width:980px){
  .paper-shell{width:100%!important;border-left:0!important;border-right:0!important}
}

/* No yellow/cream header: clean sky-blue service surface. */
.app-header{
  background:linear-gradient(180deg,rgba(246,251,255,.985),rgba(255,255,255,.985))!important;
  border-bottom:1px solid #dce9f1!important;
  backdrop-filter:blur(14px)!important;
}
.app-header:before{background:rgba(68,137,183,.12)!important}
.notebook-head{background:transparent!important;border-bottom:0!important}
.search-stage{background:transparent!important}
.search-wrap{
  border-color:#b9d5e7!important;
  background:linear-gradient(180deg,#f2f9fe,#eaf5fc)!important;
  box-shadow:0 0 0 2px rgba(98,165,207,.08)!important;
}
.search-main-field{
  border-color:#cadde8!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(55,104,133,.05)!important;
}
.search-main-field:focus-within{
  border-color:#78afd2!important;
  box-shadow:0 0 0 3px rgba(74,148,197,.10),0 3px 10px rgba(55,104,133,.06)!important;
}

/* Header status cluster in one cool family. */
.rate-stack{border-right-color:#dce8ee!important}
.flip-date{
  width:66px!important;height:50px!important;
  grid-template-columns:38px 1fr!important;
  grid-template-rows:25px 25px!important;
  padding:0 7px!important;
  border:1px solid #c8deeb!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#fff,#f4faff)!important;
  box-shadow:0 4px 12px rgba(52,103,133,.07)!important;
}
.flip-day{
  grid-column:1!important;grid-row:1 / 3!important;
  justify-self:center!important;align-self:center!important;
  font-size:25px!important;font-weight:800!important;color:#163d55!important;
  letter-spacing:-.04em!important;
}
.flip-month{
  grid-column:2!important;grid-row:1!important;
  justify-self:end!important;align-self:end!important;
  color:#397fa9!important;background:transparent!important;
  font-size:8px!important;font-weight:820!important;letter-spacing:.08em!important;
}
.flip-year{
  grid-column:2!important;grid-row:2!important;
  justify-self:end!important;align-self:start!important;
  color:#758d9a!important;font-size:8px!important;font-weight:760!important;letter-spacing:.06em!important;
}
.desktop-order-dock.order-status-standard{
  border-color:#c7dfeb!important;
  background:linear-gradient(180deg,#f6fbfe,#edf7fc)!important;
  color:#23485d!important;
  box-shadow:0 4px 12px rgba(52,103,133,.06)!important;
}
.desktop-order-dock.order-status-standard:hover,
.desktop-order-dock.order-status-standard:focus-visible{
  border-color:#8ebbd4!important;background:#eef8fd!important;transform:none!important;
}

/* Navigation: two explicit rows. Breadcrumbs above; Recent + categories below. */
.flow-nav{
  display:block!important;
  min-height:62px!important;height:auto!important;
  padding:4px 14px 5px 58px!important;
  background:linear-gradient(180deg,#f8fcff,#eef7fc)!important;
  border-top:1px solid #d8e8f1!important;
  border-bottom:1px solid #ccdeea!important;
  box-shadow:0 6px 14px rgba(49,97,125,.07)!important;
}
.flow-nav-main{
  display:flex!important;height:27px!important;min-height:27px!important;
  align-items:center!important;overflow:visible!important;
}
.flow-nav-main .flow-crumbs{
  color:#275b77!important;overflow:visible!important;text-overflow:clip!important;
}
.flow-nav-main .flow-crumbs button,
.flow-nav-main .flow-crumbs strong{color:#275b77!important}
.flow-nav-second-row{
  display:flex!important;align-items:center!important;gap:7px!important;
  min-width:0!important;height:29px!important;
}
.flow-nav-second-row .flow-history-wrap{flex:0 0 auto!important;position:relative!important}
.flow-nav-second-row .flow-history-toggle{
  height:25px!important;min-height:25px!important;padding:0 9px!important;
  border:1px solid #c6dce8!important;border-radius:999px!important;
  background:#f7fbfe!important;color:#315f79!important;box-shadow:none!important;
  font-size:9.8px!important;
}
.flow-nav-second-row .flow-history-toggle:hover,
.flow-nav-second-row .flow-history-toggle[aria-expanded="true"]{
  background:#eaf5fb!important;border-color:#8fb9d0!important;color:#214f69!important;
}
.flow-nav-second-row .category-strip.notebook-index-tabs{
  flex:1 1 auto!important;min-width:0!important;
  height:27px!important;min-height:27px!important;padding:1px 0!important;
}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip.active{
  border-color:#d0e0e8!important;background:#fff!important;color:#536d7a!important;
}
.notebook-index-tab.category-chip:hover{border-color:#9fc3d7!important;background:#f3f9fc!important;color:#285a73!important}
.notebook-index-tab.category-chip.active{
  border-color:#7db6d5!important;background:#e5f3fb!important;color:#155577!important;
  box-shadow:inset 0 0 0 1px rgba(125,182,213,.10)!important;
}

/* Quantity controls are visibly interactive as a whole. */
.qty-stepper,.qty-stepper *{cursor:pointer!important}
.qty-stepper input{cursor:pointer!important}
.qty-stepper:hover{border-color:#9fc4d6!important;box-shadow:0 0 0 2px rgba(83,151,188,.07)!important}
#searchSuggest .suggest-stepper,#searchSuggest .suggest-stepper *{cursor:pointer!important}
#orderLines .order-qty,#orderLines .order-qty *{cursor:pointer!important}

/* Hover: border only in all 3 list contexts. Never tint product image or price. */
@media(hover:hover) and (pointer:fine){
  #productList .product-row:hover,
  #searchSuggest .suggest-row:hover,
  #orderLines .order-product-row:hover{
    background:#fff!important;
    border-color:#82b5cf!important;
    box-shadow:0 4px 14px rgba(54,105,133,.08)!important;
  }
}
#productList .product-row.selected .product-total:not(.empty),
#productList .product-row.selected:hover .product-total:not(.empty){
  animation:none!important;transition:none!important;filter:none!important;
  background:#edf5f1!important;box-shadow:none!important;
}

/* Retain dosage-form pastel code. */
.form-badge.form-tablet,.form-filter-chip.form-tablet{background:#eef5fb!important;border-color:#c8d9e7!important;color:#355a73!important}
.form-badge.form-capsule,.form-filter-chip.form-capsule{background:#f2effb!important;border-color:#d9d0ec!important;color:#5e4e78!important}
.form-badge.form-cream,.form-filter-chip.form-cream,.form-badge.form-gel,.form-filter-chip.form-gel,.form-badge.form-ointment,.form-filter-chip.form-ointment{background:#faf0e6!important;border-color:#e4d1bc!important;color:#735944!important}

@media(max-width:760px){
  .app-header{background:linear-gradient(180deg,#f7fbfe,#fff)!important}
  .flip-date{width:58px!important;height:46px!important;grid-template-columns:34px 1fr!important;grid-template-rows:23px 23px!important;border-radius:13px!important;padding:0 6px!important}
  .flip-day{font-size:22px!important}.flip-month,.flip-year{font-size:7px!important}
  .flow-nav{padding:4px 7px 5px 34px!important;min-height:62px!important}
  .flow-nav-main{height:27px!important;min-height:27px!important}
  .flow-nav-second-row{height:29px!important;gap:5px!important}
  .flow-nav-second-row .flow-history-toggle{height:25px!important;min-height:25px!important;padding:0 8px!important;font-size:9.2px!important}
}


/* ===== v1.60 — deep-blue navigation + final stable date/status layout ===== */

/* Preserve the distinctive V1.41 illustrated side background exactly. */
@media (min-width:981px){
  html{
    background-color:#eaf4fb!important;
    background-image:
      url("assets/render-match/logistics-left.webp"),
      url("assets/render-match/logistics-right.webp"),
      linear-gradient(180deg,#e7f3fb 0%,#eff8fd 52%,#e7f2fa 100%)!important;
    background-repeat:no-repeat,no-repeat,no-repeat!important;
    background-position:left top,right top,center top!important;
    background-size:190px 100vh,190px 100vh,100% 100%!important;
    background-attachment:fixed,fixed,fixed!important;
  }
}

/* Header stays clean white/sky. */
.app-header{
  background:linear-gradient(180deg,#f7fbfe 0%,#ffffff 100%)!important;
  border-bottom:1px solid #dce8ef!important;
}

/* Final date solution: simple digital complication. No fold, no overlapping labels. */
.flip-date{
  width:58px!important;
  height:52px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  grid-template-rows:15px 34px!important;
  gap:0!important;
  padding:3px 7px 2px!important;
  border:1px solid #cbdde8!important;
  border-radius:15px!important;
  background:#ffffff!important;
  box-shadow:0 5px 14px rgba(34,88,120,.07)!important;
  overflow:hidden!important;
  perspective:none!important;
}
.flip-date::before,.flip-date::after,.flip-date .flip-leaf,.flip-date .flip-corner,.flip-date>.flip-year::after{display:none!important;content:none!important}
.flip-month{
  grid-column:1!important;grid-row:1!important;
  justify-self:start!important;align-self:center!important;
  width:auto!important;height:auto!important;padding:0!important;
  background:transparent!important;
  color:#397fa9!important;
  font-size:7.5px!important;line-height:1!important;font-weight:820!important;letter-spacing:.08em!important;
  white-space:nowrap!important;overflow:visible!important;
}
.flip-year{
  grid-column:2!important;grid-row:1!important;
  justify-self:end!important;align-self:center!important;
  display:block!important;
  color:#718894!important;
  font-size:7.5px!important;line-height:1!important;font-weight:780!important;letter-spacing:.08em!important;
  white-space:nowrap!important;overflow:visible!important;
}
.flip-day{
  grid-column:1 / 3!important;grid-row:2!important;
  justify-self:center!important;align-self:center!important;
  color:#173d55!important;
  font-size:25px!important;line-height:1!important;font-weight:820!important;letter-spacing:-.04em!important;
  white-space:nowrap!important;
}
.flip-date.is-flipping .flip-day,.flip-date.rate-check-flip .flip-day{animation:none!important}

/* Lift the order status so it reads as the primary status/action in the header. */
.desktop-order-dock.order-status-standard{
  transform:translateY(-3px)!important;
  border:1px solid #a9cfe2!important;
  background:linear-gradient(180deg,#ffffff,#eef8fd)!important;
  box-shadow:0 8px 18px rgba(40,102,137,.12)!important;
  transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease!important;
}
.desktop-order-dock.order-status-standard:hover{
  transform:translateY(-4px)!important;
  border-color:#77b1d0!important;
  box-shadow:0 10px 22px rgba(40,102,137,.16)!important;
}

/* Deep-blue navigation = one coherent control surface, with two REAL rows. */
.flow-nav{
  display:block!important;
  height:auto!important;
  min-height:66px!important;
  padding:5px 14px 6px 58px!important;
  background:linear-gradient(180deg,#245f7e 0%,#1f5573 100%)!important;
  border-top:1px solid #2f7395!important;
  border-bottom:1px solid #19455f!important;
  box-shadow:0 6px 16px rgba(24,70,96,.16)!important;
  color:#fff!important;
}
.flow-nav-main{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  height:28px!important;
  min-height:28px!important;
  overflow:visible!important;
}
.flow-nav-main .flow-back{
  flex:0 0 auto!important;
  color:#fff!important;
  font-weight:740!important;
}
.flow-nav-main .flow-crumbs{
  display:flex!important;
  flex:1 1 auto!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  margin:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  color:#dceef8!important;
  font-size:11px!important;
}
.flow-nav-main .flow-crumbs button,
.flow-nav-main .flow-crumbs strong,
.flow-nav-main .flow-crumbs .crumb-current{
  color:#fff!important;
  font-weight:780!important;
  max-width:none!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
.flow-nav-main .flow-crumbs .crumb-sep{color:#a9cedf!important}
.flow-nav-main .flow-context-meta{
  flex:0 0 auto!important;
  display:inline-flex!important;
  color:#c7e0ec!important;
  font-size:10px!important;
  font-weight:700!important;
  white-space:nowrap!important;
  margin-left:auto!important;
}
.mobile-recent-trail{color:#dceef8!important}

.flow-nav-second-row{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  height:28px!important;
  min-height:28px!important;
  margin-top:1px!important;
  overflow:visible!important;
}
.flow-nav-second-row .flow-history-wrap{
  flex:0 0 auto!important;
  position:relative!important;
}
.flow-nav-second-row .flow-history-toggle{
  height:25px!important;
  min-height:25px!important;
  padding:0 10px!important;
  border:1px solid rgba(207,231,243,.55)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.11)!important;
  color:#f4fbff!important;
  box-shadow:none!important;
  font-size:9.8px!important;
  font-weight:720!important;
}
.flow-nav-second-row .flow-history-toggle:hover,
.flow-nav-second-row .flow-history-toggle[aria-expanded="true"]{
  background:rgba(255,255,255,.20)!important;
  border-color:#d9edf7!important;
  color:#fff!important;
}
.flow-nav-second-row .recent-clock{color:#d7eef8!important}
.flow-nav-second-row .category-strip.notebook-index-tabs{
  display:flex!important;
  flex:1 1 auto!important;
  min-width:0!important;
  height:27px!important;
  min-height:27px!important;
  padding:1px 0!important;
  gap:5px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip.active{
  height:25px!important;
  min-height:25px!important;
  padding:0 10px!important;
  border:1px solid rgba(207,231,243,.52)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.10)!important;
  color:#f0f8fc!important;
  box-shadow:none!important;
  font-size:9.7px!important;
  line-height:23px!important;
  font-weight:690!important;
  transform:none!important;
}
.notebook-index-tab.category-chip:hover{
  border-color:#d8eef8!important;
  background:rgba(255,255,255,.19)!important;
  color:#fff!important;
}
.notebook-index-tab.category-chip.active{
  border-color:#a9ddf4!important;
  background:#dff3fc!important;
  color:#174e6b!important;
  font-weight:810!important;
  box-shadow:0 2px 8px rgba(7,44,65,.14)!important;
}
.notebook-index-tab.category-chip.active::after{display:none!important}

/* Rings stay physical and readable against dark blue. */
.flow-nav-rings i{
  border-color:#303938!important;
  border-right-color:#879390!important;
  background:linear-gradient(180deg,#f5f6f4,#aab4b1)!important;
}

/* The quantity control is an action surface — pointer on the entire control. */
.qty-stepper,.qty-stepper *,
#searchSuggest .suggest-stepper,#searchSuggest .suggest-stepper *,
#orderLines .order-qty,#orderLines .order-qty *{
  cursor:pointer!important;
}
.qty-stepper:hover,#searchSuggest .suggest-stepper:hover,#orderLines .order-qty:hover{
  border-color:#88b8d1!important;
  box-shadow:0 0 0 2px rgba(66,139,179,.08)!important;
}

/* One hover language in all three contexts: outline only. Prices and image fields never flash. */
#productList .product-row,
#searchSuggest .suggest-row,
#orderLines .order-product-row{
  transition:border-color .13s ease,box-shadow .13s ease!important;
}
@media(hover:hover) and (pointer:fine){
  #productList .product-row:hover,
  #searchSuggest .suggest-row:hover,
  #orderLines .order-product-row:hover{
    background:#fff!important;
    border-color:#73aeca!important;
    box-shadow:0 4px 14px rgba(37,91,119,.09)!important;
  }
}
#productList .product-row.selected .product-total:not(.empty),
#productList .product-row.selected:hover .product-total:not(.empty){
  animation:none!important;
  transition:none!important;
  transform:none!important;
  filter:none!important;
  background:#edf5f1!important;
  box-shadow:none!important;
}

/* Keep dosage form chips colorful but restrained. */
.form-badge.form-tablet,.form-filter-chip.form-tablet{background:#eef5fb!important;border-color:#c8d9e7!important;color:#355a73!important}
.form-badge.form-capsule,.form-filter-chip.form-capsule{background:#f2effb!important;border-color:#d9d0ec!important;color:#5e4e78!important}
.form-badge.form-cream,.form-filter-chip.form-cream,.form-badge.form-gel,.form-filter-chip.form-gel,.form-badge.form-ointment,.form-filter-chip.form-ointment{background:#faf0e6!important;border-color:#e4d1bc!important;color:#735944!important}

/* Order modal remains intentionally clean/white. */
.order-sheet{background:linear-gradient(90deg,transparent 0 34px,rgba(184,94,86,.08) 34px 35px,transparent 35px),#fff!important}
.sheet-header{background:linear-gradient(180deg,#f8fcff,#fff)!important}
.sheet-toolbar,.order-lines,.sheet-footer{background:#fff!important}

@media(max-width:760px){
  .flip-date{width:52px!important;height:48px!important;grid-template-rows:14px 31px!important;padding:3px 6px 2px!important;border-radius:14px!important}
  .flip-month,.flip-year{font-size:7px!important}.flip-day{font-size:22px!important}
  .desktop-order-dock.order-status-standard{transform:none!important}
  .flow-nav{min-height:68px!important;padding:5px 7px 6px 34px!important}
  .flow-nav-main{height:29px!important;min-height:29px!important;gap:6px!important}
  .flow-nav-main .flow-crumbs{font-size:10px!important;gap:5px!important}
  .flow-nav-main .flow-context-meta{font-size:9.2px!important}
  .flow-nav-second-row{height:29px!important;min-height:29px!important;gap:5px!important}
  .flow-nav-second-row .flow-history-toggle{height:25px!important;min-height:25px!important;padding:0 8px!important;font-size:9.3px!important}
  .notebook-index-tab.category-chip,.notebook-index-tab.category-chip.active{height:25px!important;min-height:25px!important;padding:0 9px!important;font-size:9.2px!important;line-height:23px!important}
}


/* ===== v1.61 — sky navigation + order journey footer ===== */

/* Navigation: cold trustworthy palette, dark readable text, absolutely no cream/yellow. */
.flow-nav{
  display:grid!important;
  grid-template-rows:auto 34px!important;
  gap:4px!important;
  min-height:76px!important;
  padding:7px 14px 7px 58px!important;
  background:linear-gradient(180deg,#eef8fd 0%,#e5f3fa 100%)!important;
  border-top:1px solid #d3e6f0!important;
  border-bottom:1px solid #bed8e6!important;
  box-shadow:0 6px 16px rgba(42,91,118,.08)!important;
  color:#244858!important;
}
.flow-nav-main{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  width:100%!important;
  height:auto!important;
  min-height:27px!important;
  gap:12px!important;
  align-items:center!important;
  overflow:visible!important;
}
.flow-nav-main .flow-back{display:none!important}
.flow-nav-main .flow-crumbs{
  display:flex!important;
  min-width:0!important;
  width:100%!important;
  align-items:center!important;
  gap:8px!important;
  overflow:visible!important;
  white-space:nowrap!important;
  color:#244f62!important;
  font-size:11px!important;
}
.flow-nav-main .flow-crumbs button,
.flow-nav-main .flow-crumbs strong,
.flow-nav-main .flow-crumbs .crumb-current{
  display:inline-block!important;
  max-width:none!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  color:#214e64!important;
  font-weight:780!important;
}
.flow-nav-main .flow-crumbs .crumb-sep{color:#8db2c4!important}
.flow-nav-main .flow-context-meta{
  display:inline-flex!important;
  margin:0!important;
  flex:0 0 auto!important;
  color:#5f7e8d!important;
  font-size:10px!important;
  font-weight:720!important;
  white-space:nowrap!important;
}
.flow-nav-main .mobile-recent-trail{display:none!important}
.flow-nav-second-row{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  overflow:visible!important;
}
.flow-nav-second-row .flow-history-wrap{flex:0 0 auto!important;position:relative!important}
.flow-nav-second-row .flow-history-toggle{
  height:28px!important;min-height:28px!important;padding:0 11px!important;
  border:1px solid #b8d6e5!important;border-radius:999px!important;
  background:#f8fcfe!important;color:#2e6076!important;
  box-shadow:none!important;font-size:10px!important;font-weight:740!important;
}
.flow-nav-second-row .flow-history-toggle:hover,
.flow-nav-second-row .flow-history-toggle[aria-expanded="true"]{
  background:#dceff8!important;border-color:#82b9d2!important;color:#174e69!important;
}
.flow-nav-second-row .recent-clock{color:#3e7890!important}
.flow-nav-second-row .category-strip.notebook-index-tabs{
  display:flex!important;flex:1 1 auto!important;min-width:0!important;
  height:32px!important;min-height:32px!important;padding:2px 0!important;gap:5px!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
}
.flow-nav-second-row .category-strip.notebook-index-tabs::-webkit-scrollbar{display:none!important}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip.active{
  height:28px!important;min-height:28px!important;padding:0 11px!important;
  border:1px solid #cbdde6!important;border-radius:999px!important;
  background:#ffffff!important;color:#506b78!important;box-shadow:none!important;
  font-size:10px!important;line-height:26px!important;font-weight:700!important;transform:none!important;
}
.notebook-index-tab.category-chip:hover{
  border-color:#95bfd3!important;background:#f2f9fc!important;color:#245c75!important;
}
.notebook-index-tab.category-chip.active{
  border-color:#6ba9c9!important;background:#dff1fa!important;color:#155474!important;
  font-weight:810!important;box-shadow:0 2px 7px rgba(36,95,124,.08)!important;
}
.notebook-index-tab.category-chip.active::after{display:none!important}

/* The notebook rings stay as the signature; remove remaining warm/gold strip tones. */
.flow-nav-rings i{border-color:#343d3b!important;border-right-color:#899491!important;background:linear-gradient(180deg,#fafbfa,#aeb8b5)!important}

/* Date: stop imitating a calendar object. One compact information badge. */
.flip-date{
  width:86px!important;height:42px!important;
  display:grid!important;grid-template-columns:34px 1fr!important;grid-template-rows:21px 21px!important;
  padding:0 9px!important;gap:0!important;
  border:1px solid #c9dde7!important;border-radius:13px!important;background:#f7fbfd!important;
  box-shadow:none!important;overflow:hidden!important;perspective:none!important;
}
.flip-date::before,.flip-date::after,.flip-date .flip-leaf,.flip-date .flip-corner,.flip-date>.flip-year::after{display:none!important;content:none!important}
.flip-day{
  grid-column:1!important;grid-row:1 / 3!important;align-self:center!important;justify-self:start!important;
  font-size:22px!important;line-height:1!important;font-weight:820!important;color:#19465c!important;letter-spacing:-.04em!important;
}
.flip-month{
  grid-column:2!important;grid-row:1!important;align-self:end!important;justify-self:start!important;
  width:auto!important;height:auto!important;padding:0!important;background:transparent!important;
  color:#37799a!important;font-size:9px!important;line-height:1!important;font-weight:800!important;letter-spacing:.07em!important;
}
.flip-year{
  grid-column:2!important;grid-row:2!important;align-self:start!important;justify-self:start!important;
  color:#728a96!important;font-size:8px!important;line-height:1!important;font-weight:760!important;letter-spacing:.07em!important;
}
.flip-date.is-flipping .flip-day,.flip-date.rate-check-flip .flip-day{animation:none!important}

/* Order modal footer: a quiet, human explanation of the service rather than a corporate footer. */
.order-service-story{
  flex:0 0 auto!important;
  margin:0 12px 8px!important;
  padding:11px 13px 10px!important;
  border:1px solid #d7e7ed!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#f8fcfe 0%,#f1f8fb 100%)!important;
  color:#365866!important;
}
.order-route{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  min-width:0!important;margin-bottom:9px!important;color:#63808d!important;font-size:9.2px!important;font-weight:720!important;
  white-space:nowrap!important;
}
.order-route span{display:inline-flex!important;align-items:center!important;gap:4px!important}
.order-route span i{
  display:grid!important;place-items:center!important;width:17px!important;height:17px!important;
  border:1px solid #a9cbd9!important;border-radius:50%!important;background:#fff!important;color:#2c6b85!important;
  font-style:normal!important;font-size:8px!important;font-weight:820!important;
}
.order-route b{font-size:11px!important;color:#9ab7c3!important;font-weight:600!important}
.order-service-points{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;
  padding-top:8px!important;border-top:1px solid #dce9ee!important;
}
.order-service-points div{min-width:0!important}
.order-service-points strong{display:block!important;margin-bottom:2px!important;color:#275b70!important;font-size:10px!important;line-height:1.2!important}
.order-service-points span{display:block!important;color:#71868f!important;font-size:8.8px!important;line-height:1.25!important}
.order-service-signoff{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  margin-top:8px!important;color:#477181!important;font-size:9.2px!important;
}
.order-service-signoff .route-plane{display:inline-block!important;color:#4a91ae!important;font-size:15px!important;transform:rotate(-8deg)!important}
.order-service-signoff b{font-weight:720!important}

.sheet-footer{
  display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(260px,auto)!important;
  align-items:center!important;gap:16px!important;padding:10px 14px 12px!important;
  background:#fff!important;border-top:1px solid #e1eaed!important;
}
.sheet-footer .order-summary{display:grid!important;grid-template-columns:auto 1fr!important;column-gap:10px!important;row-gap:2px!important;align-items:baseline!important}
.sheet-footer .order-summary span{font-size:10px!important;color:#6c7e85!important;font-weight:700!important}
.sheet-footer .order-summary strong{justify-self:end!important;font-size:21px!important;color:#1e3f4d!important;font-weight:820!important}
.sheet-footer .order-summary .order-footer-note{grid-column:1 / -1!important;color:#82939a!important;font-size:8.8px!important;font-style:normal!important}
.sheet-footer .primary-action{
  min-width:270px!important;height:54px!important;padding:0 16px!important;border-radius:14px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;
  background:#356f62!important;color:#fff!important;
}
.submit-order-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;text-align:left!important}
.submit-order-copy b{font-size:13px!important;line-height:1.1!important;font-weight:800!important}
.submit-order-copy small{font-size:8.5px!important;line-height:1.1!important;font-weight:560!important;color:rgba(255,255,255,.76)!important}

@media(max-width:760px){
  .flow-nav{grid-template-rows:auto 34px!important;min-height:76px!important;padding:6px 7px 7px 34px!important}
  .flow-nav-main{grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;min-height:29px!important}
  .flow-nav-main .flow-crumbs{font-size:10px!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}
  .flow-nav-main .flow-crumbs::-webkit-scrollbar{display:none!important}
  .flow-nav-main .flow-context-meta{font-size:9px!important}
  .flow-nav-second-row{height:34px!important;min-height:34px!important;gap:5px!important}
  .flow-nav-second-row .flow-history-toggle{height:28px!important;min-height:28px!important;padding:0 9px!important;font-size:9.4px!important}
  .notebook-index-tab.category-chip,.notebook-index-tab.category-chip.active{height:28px!important;min-height:28px!important;padding:0 9px!important;font-size:9.2px!important;line-height:26px!important}
  .flip-date{width:76px!important;height:40px!important;grid-template-columns:31px 1fr!important;grid-template-rows:20px 20px!important;padding:0 7px!important}
  .flip-day{font-size:20px!important}.flip-month{font-size:8px!important}.flip-year{font-size:7.5px!important}
  .order-service-story{margin:0 8px 7px!important;padding:9px 10px!important;border-radius:13px!important}
  .order-route{justify-content:flex-start!important;overflow-x:auto!important;scrollbar-width:none!important;padding-bottom:2px!important}
  .order-route::-webkit-scrollbar{display:none!important}
  .order-service-points{grid-template-columns:1fr!important;gap:6px!important}
  .order-service-points div{display:grid!important;grid-template-columns:118px 1fr!important;gap:7px!important;align-items:start!important}
  .order-service-points strong{margin:0!important;font-size:9.3px!important}
  .order-service-points span{font-size:8.5px!important}
  .order-service-signoff{justify-content:flex-start!important;font-size:8.8px!important}
  .sheet-footer{grid-template-columns:1fr!important;gap:8px!important;padding:9px 10px calc(10px + env(safe-area-inset-bottom,0px))!important}
  .sheet-footer .primary-action{width:100%!important;min-width:0!important}
}


/* ===== v1.63 — real two-row navigation + committed-search reset ===== */
/* No warm/cream paper in the navigation itself. Useful pastel PRODUCT FORM badges remain. */
.flow-nav{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:32px 36px!important;
  row-gap:3px!important;
  width:100%!important;
  height:76px!important;
  min-height:76px!important;
  max-height:76px!important;
  padding:4px 14px 4px 58px!important;
  margin:0!important;
  align-items:stretch!important;
  background:#eaf5fb!important;
  border-top:1px solid #d1e5ef!important;
  border-bottom:1px solid #b9d7e6!important;
  box-shadow:0 5px 14px rgba(35,83,108,.07)!important;
  overflow:visible!important;
  color:#254b5d!important;
}
.flow-nav-main{
  grid-row:1!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.flow-nav-main .flow-back{display:none!important}
.flow-nav-main .flow-crumbs{
  min-width:0!important;
  width:100%!important;
  height:32px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  color:#244f62!important;
  font-size:11px!important;
  line-height:32px!important;
}
.flow-nav-main .flow-crumbs button,
.flow-nav-main .flow-crumbs strong,
.flow-nav-main .flow-crumbs .crumb-current{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  line-height:32px!important;
  color:#214e64!important;
}
.flow-nav-main .flow-crumbs button{flex:0 0 auto!important;font-weight:780!important}
.flow-nav-main .flow-crumbs .crumb-sep{flex:0 0 auto!important;color:#87aebe!important}
.flow-nav-main .flow-crumbs strong,
.flow-nav-main .flow-crumbs .crumb-current{
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-weight:780!important;
}
.flow-nav-main .flow-context-meta{
  grid-column:2!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  height:32px!important;
  min-width:72px!important;
  margin:0!important;
  padding:0!important;
  color:#577787!important;
  font-size:10px!important;
  line-height:32px!important;
  font-weight:720!important;
  white-space:nowrap!important;
}
.flow-nav-main .mobile-recent-trail{display:none!important}
.flow-nav-second-row{
  grid-row:2!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.flow-nav-second-row .flow-history-wrap{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  grid-column:1!important;
  flex:none!important;
  align-self:center!important;
}
.flow-nav-second-row .flow-history-toggle{
  height:29px!important;
  min-height:29px!important;
  padding:0 11px!important;
  border:1px solid #b6d2df!important;
  border-radius:999px!important;
  background:#f8fcfe!important;
  color:#315f74!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:750!important;
}
.flow-nav-second-row .category-strip.notebook-index-tabs{
  grid-column:2!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  margin:0!important;
  padding:3px 0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
}
.flow-nav-second-row .category-strip.notebook-index-tabs::-webkit-scrollbar{display:none!important}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip.active{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  flex:0 0 auto!important;
  height:29px!important;
  min-height:29px!important;
  padding:0 11px!important;
  margin:0!important;
  border:1px solid #c7dce6!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#526d79!important;
  box-shadow:none!important;
  font-size:10px!important;
  line-height:27px!important;
  font-weight:700!important;
}
.notebook-index-tab.category-chip:hover{border-color:#8fbcd1!important;background:#f3f9fc!important;color:#235a72!important}
.notebook-index-tab.category-chip.active{border-color:#65a8ca!important;background:#dceffa!important;color:#154f6d!important;font-weight:810!important}
.notebook-index-tab.category-chip.active::after{display:none!important}

/* Remove all warm navigation remnants from legacy notebook styles. */
.flow-nav::before,.flow-nav::after{background:transparent!important}
.flow-nav .flow-nav-main,.flow-nav .flow-nav-second-row{background:transparent!important;border:0!important;box-shadow:none!important}

@media(max-width:760px){
  .flow-nav{
    grid-template-rows:31px 35px!important;
    height:73px!important;min-height:73px!important;max-height:73px!important;
    padding:4px 7px 3px 34px!important;
  }
  .flow-nav-main{height:31px!important;min-height:31px!important;max-height:31px!important;gap:7px!important}
  .flow-nav-main .flow-crumbs{height:31px!important;line-height:31px!important;font-size:10px!important;gap:5px!important}
  .flow-nav-main .flow-crumbs button,.flow-nav-main .flow-crumbs strong,.flow-nav-main .flow-crumbs .crumb-current{line-height:31px!important}
  .flow-nav-main .flow-context-meta{height:31px!important;line-height:31px!important;min-width:58px!important;font-size:9px!important}
  .flow-nav-second-row{height:35px!important;min-height:35px!important;max-height:35px!important;gap:5px!important}
  .flow-nav-second-row .flow-history-toggle{height:28px!important;min-height:28px!important;padding:0 8px!important;font-size:9.3px!important}
  .flow-nav-second-row .category-strip.notebook-index-tabs{height:35px!important;min-height:35px!important;max-height:35px!important;padding:3px 0!important;gap:5px!important}
  .notebook-index-tab.category-chip,.notebook-index-tab.category-chip.active{height:28px!important;min-height:28px!important;padding:0 9px!important;font-size:9.2px!important;line-height:26px!important}
}


/* ===== v1.63 — make the header order dock read as an obvious button ===== */
.desktop-order-dock.order-status-standard{
  cursor:pointer!important;
  border:1px solid #dca52e!important;
  background:linear-gradient(180deg,#fff0b8 0%,#ffdc79 100%)!important;
  color:#3e351d!important;
  box-shadow:0 5px 13px rgba(165,112,15,.14)!important;
  transform:translateY(-2px)!important;
  transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease,background .14s ease!important;
}
.desktop-order-dock.order-status-standard .order-status-meta{
  color:#6d5b2c!important;
}
.desktop-order-dock.order-status-standard .order-status-total{
  color:#302918!important;
}
.desktop-order-dock.order-status-standard .order-list-mark{
  color:#c84e4a!important;
}
.desktop-order-dock.order-status-standard:hover,
.desktop-order-dock.order-status-standard:focus-visible{
  cursor:pointer!important;
  transform:translateY(-4px)!important;
  border-color:#ca8f17!important;
  background:linear-gradient(180deg,#fff4c7 0%,#ffd96d 100%)!important;
  box-shadow:0 8px 18px rgba(165,112,15,.20)!important;
  outline:none!important;
}
.desktop-order-dock.order-status-standard:active{
  transform:translateY(-1px)!important;
  box-shadow:0 3px 8px rgba(165,112,15,.15)!important;
}
@media(max-width:760px){
  .desktop-order-dock.order-status-standard{
    transform:none!important;
    box-shadow:0 3px 9px rgba(165,112,15,.14)!important;
  }
  .desktop-order-dock.order-status-standard:hover,
  .desktop-order-dock.order-status-standard:focus-visible,
  .desktop-order-dock.order-status-standard:active{
    transform:none!important;
  }
}

/* v1.64 — revive accent color, cart-link marks, clearer date widget */
:root{
  --rxde-accent-blue:#2f7fbf;
  --rxde-accent-blue-dark:#1f5f93;
  --rxde-accent-blue-soft:#eef6ff;
  --rxde-card-border:#d6e4ec;
}

/* cleaner self-contained date chip without overlapping top decorations */
.flip-date{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  grid-template-rows:auto 1fr!important;
  align-items:start!important;
  width:66px!important;
  height:58px!important;
  padding:6px 8px 7px!important;
  border-radius:16px!important;
  border:1px solid #cddde7!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fcff 100%)!important;
  box-shadow:0 8px 18px rgba(48,86,112,.10)!important;
  overflow:hidden!important;
  perspective:none!important;
}
.flip-date::before,.flip-date::after,.flip-date .flip-corner,.flip-leaf,.flip-back,.flip-front{display:none!important;content:none!important}
.flip-month{
  display:block!important;
  grid-column:1!important;
  grid-row:1!important;
  align-self:start!important;
  justify-self:start!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.02em!important;
  font-weight:800!important;
  text-transform:none!important;
  color:#d65b55!important;
}
.flip-year{
  display:block!important;
  grid-column:2!important;
  grid-row:1!important;
  align-self:start!important;
  justify-self:end!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:700!important;
  color:#6e8794!important;
}
.flip-day{
  display:block!important;
  grid-column:1 / span 2!important;
  grid-row:2!important;
  align-self:center!important;
  justify-self:start!important;
  padding-top:4px!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:850!important;
  color:#183e58!important;
  letter-spacing:-.03em!important;
}
@media(max-width:760px){
  .flip-date{width:60px!important;height:54px!important;padding:6px 7px 6px!important}
  .flip-month,.flip-year{font-size:9px!important}
  .flip-day{font-size:20px!important}
}

/* order entry points should read like obvious actions */
.order-jump,
.secondary-order{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  border:1px solid #cfe0eb!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#f7fbff 0%,#edf6ff 100%)!important;
  color:var(--rxde-accent-blue-dark)!important;
  font-weight:760!important;
  box-shadow:0 4px 12px rgba(47,127,191,.08)!important;
}
.order-jump{padding:5px 10px!important;margin-top:4px!important}
.secondary-order{justify-content:center!important;min-height:42px!important}
.order-jump::before,
.secondary-order::before{
  content:"";
  width:15px;
  height:15px;
  flex:0 0 15px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M7.5 3.5h9.2l4.8 4.8v15.9H7.5z' fill='%23fff' stroke='%23cc5c56' stroke-width='1.5'/%3E%3Cpath d='M16.7 3.5v4.8h4.8' fill='none' stroke='%23cc5c56' stroke-width='1.5'/%3E%3Ccircle cx='11' cy='8.5' r='1.4' fill='%23cc5c56'/%3E%3Cpath d='M10.5 14h7' stroke='%23d3534e' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M10.5 18h7' stroke='%23327ab1' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}
.order-jump:hover,
.secondary-order:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(47,127,191,.14)!important}

/* bring life back into list cards without going flashy */
.product-row,
.order-product-row{
  border:1px solid var(--rxde-card-border)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  box-shadow:0 4px 14px rgba(36,67,87,.04)!important;
}
.product-row:hover,
.order-product-row:hover{
  border-color:#bdd4e2!important;
  box-shadow:0 10px 24px rgba(42,84,109,.08)!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
}
.product-row.selected,
.product-row[data-expand-row].expanded,
.order-product-row.order-expanded{
  border-color:#a9c7da!important;
  background:linear-gradient(180deg,#f3f9ff 0%,#ffffff 100%)!important;
  box-shadow:0 10px 24px rgba(47,127,191,.10)!important;
}
.product-price strong,.product-total strong,.order-unit-price strong,.order-line-total strong{color:#184565!important}
.product-price small,.order-unit-price small{color:#70878f!important}

/* blue qty controls make add-to-cart feel actionable */
.qty-stepper input,
.order-qty input{
  border-color:#c7d9e5!important;
  background:#fff!important;
  color:#183e58!important;
  font-weight:760!important;
}
.qty-stepper button,
.order-qty button,
.stepper button{
  border-color:#9fc0d8!important;
  background:#eef6ff!important;
  color:#245a83!important;
  cursor:pointer!important;
  transition:background .14s ease,border-color .14s ease,transform .12s ease,color .14s ease,box-shadow .14s ease!important;
}
.qty-stepper button:last-child,
.order-qty button:last-child,
.stepper button:last-child{
  background:linear-gradient(180deg,#4c99db 0%,#2f7fbf 100%)!important;
  border-color:#2f7fbf!important;
  color:#fff!important;
  box-shadow:0 6px 16px rgba(47,127,191,.18)!important;
}
.qty-stepper button:hover,
.order-qty button:hover,
.stepper button:hover{transform:translateY(-1px)!important}
.qty-stepper button:last-child:hover,
.order-qty button:last-child:hover,
.stepper button:last-child:hover{background:linear-gradient(180deg,#3f8fcf 0%,#276ea7 100%)!important}
.qty-stepper button:first-child:hover,
.order-qty button:first-child:hover,
.stepper button:first-child:hover{background:#e5f1fb!important;border-color:#8cb4d2!important}

.product-total.empty span{
  color:#4b6d82!important;
  font-weight:680!important;
}
.product-text-link:hover{color:#1f5f93!important}

/* make the product-page header cart widget and inline CTA feel branded */
.order-widget.order-status-standard{
  position:relative;
  padding-left:46px!important;
  background:linear-gradient(180deg,#fffdf7 0%,#f8fcff 100%)!important;
  border:1px solid #cfe0eb!important;
}
.order-widget.order-status-standard::before{
  content:"";
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:20px;height:20px;
  background-repeat:no-repeat;background-position:center;background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M7.5 3.5h9.2l4.8 4.8v15.9H7.5z' fill='%23fff' stroke='%23cc5c56' stroke-width='1.5'/%3E%3Cpath d='M16.7 3.5v4.8h4.8' fill='none' stroke='%23cc5c56' stroke-width='1.5'/%3E%3Ccircle cx='11' cy='8.5' r='1.4' fill='%23cc5c56'/%3E%3Cpath d='M10.5 14h7' stroke='%23d3534e' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M10.5 18h7' stroke='%23327ab1' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ===== v1.65 — colored notebook tabs by category ===== */
.flow-nav-second-row .category-strip.notebook-index-tabs{
  gap:7px!important;
}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip.active{
  transition:transform .12s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease, color .14s ease!important;
}
.notebook-index-tab.category-chip:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 7px 14px rgba(60,95,120,.10)!important;
}
.notebook-index-tab.category-chip.active{
  transform:translateY(-1px)!important;
  box-shadow:0 7px 16px rgba(60,95,120,.12)!important;
}

/* neutral all */
.notebook-index-tab.category-chip[data-category-clear]{
  border-color:#c8d8e2!important;
  background:linear-gradient(180deg,#ffffff 0%,#f5f9fc 100%)!important;
  color:#3a6177!important;
}
.notebook-index-tab.category-chip[data-category-clear]:hover,
.notebook-index-tab.category-chip[data-category-clear].active{
  border-color:#9cbfd4!important;
  background:linear-gradient(180deg,#edf6fc 0%,#d8eaf7 100%)!important;
  color:#1f5675!important;
}

/* Витамины — orange */
.notebook-index-tab.category-chip[data-category="Витамины и минералы"]{
  border-color:#efb56d!important;
  background:linear-gradient(180deg,#fff4dd 0%,#ffe8bf 100%)!important;
  color:#8a5412!important;
}
.notebook-index-tab.category-chip[data-category="Витамины и минералы"]:hover,
.notebook-index-tab.category-chip[data-category="Витамины и минералы"].active{
  border-color:#e79b3f!important;
  background:linear-gradient(180deg,#ffdca0 0%,#ffc567 100%)!important;
  color:#6f430d!important;
}

/* Уход — milk */
.notebook-index-tab.category-chip[data-category="Уход и косметика"]{
  border-color:#d9cbbb!important;
  background:linear-gradient(180deg,#fffdfa 0%,#f6efe5 100%)!important;
  color:#6b5b49!important;
}
.notebook-index-tab.category-chip[data-category="Уход и косметика"]:hover,
.notebook-index-tab.category-chip[data-category="Уход и косметика"].active{
  border-color:#cbb69c!important;
  background:linear-gradient(180deg,#f8efe2 0%,#ead9c4 100%)!important;
  color:#564635!important;
}

/* Пищеварение — warm coral from stomach visual */
.notebook-index-tab.category-chip[data-category="Пищеварение"]{
  border-color:#efb7aa!important;
  background:linear-gradient(180deg,#fff1ed 0%,#ffd9cf 100%)!important;
  color:#8f4b3e!important;
}
.notebook-index-tab.category-chip[data-category="Пищеварение"]:hover,
.notebook-index-tab.category-chip[data-category="Пищеварение"].active{
  border-color:#e59a88!important;
  background:linear-gradient(180deg,#ffd3c7 0%,#ffb8a5 100%)!important;
  color:#783e34!important;
}

/* Суставы — cold blue */
.notebook-index-tab.category-chip[data-category="Боль, мышцы и суставы"]{
  border-color:#9ec8e7!important;
  background:linear-gradient(180deg,#eef8ff 0%,#d8ecfb 100%)!important;
  color:#2f6187!important;
}
.notebook-index-tab.category-chip[data-category="Боль, мышцы и суставы"]:hover,
.notebook-index-tab.category-chip[data-category="Боль, мышцы и суставы"].active{
  border-color:#71acd6!important;
  background:linear-gradient(180deg,#d6ebfb 0%,#b8daf4 100%)!important;
  color:#214d70!important;
}

/* Глаза — light blue */
.notebook-index-tab.category-chip[data-category="Глаза"]{
  border-color:#9fd9f4!important;
  background:linear-gradient(180deg,#effbff 0%,#d8f2fb 100%)!important;
  color:#2b6780!important;
}
.notebook-index-tab.category-chip[data-category="Глаза"]:hover,
.notebook-index-tab.category-chip[data-category="Глаза"].active{
  border-color:#73c5ea!important;
  background:linear-gradient(180deg,#d8f4ff 0%,#b9e8fb 100%)!important;
  color:#1f556e!important;
}

/* Дыхание — green */
.notebook-index-tab.category-chip[data-category="Простуда и дыхание"]{
  border-color:#9ecead!important;
  background:linear-gradient(180deg,#effbf3 0%,#d9f2e0 100%)!important;
  color:#2c6b45!important;
}
.notebook-index-tab.category-chip[data-category="Простуда и дыхание"]:hover,
.notebook-index-tab.category-chip[data-category="Простуда и дыхание"].active{
  border-color:#78b78e!important;
  background:linear-gradient(180deg,#d7f1df 0%,#bbe4c9 100%)!important;
  color:#215236!important;
}

/* Детям — yellow */
.notebook-index-tab.category-chip[data-category="Детские товары"]{
  border-color:#e7d06a!important;
  background:linear-gradient(180deg,#fff9d9 0%,#fff0ad 100%)!important;
  color:#7c6111!important;
}
.notebook-index-tab.category-chip[data-category="Детские товары"]:hover,
.notebook-index-tab.category-chip[data-category="Детские товары"].active{
  border-color:#d4bb45!important;
  background:linear-gradient(180deg,#ffef9d 0%,#ffe16f 100%)!important;
  color:#634d0f!important;
}

/* Волосы + Кожа — skin tone */
.notebook-index-tab.category-chip[data-category="Волосы и кожа головы"],
.notebook-index-tab.category-chip[data-category="Кожа и заживление"]{
  border-color:#d8b9a5!important;
  background:linear-gradient(180deg,#fdf3ee 0%,#efd9cb 100%)!important;
  color:#785646!important;
}
.notebook-index-tab.category-chip[data-category="Волосы и кожа головы"]:hover,
.notebook-index-tab.category-chip[data-category="Волосы и кожа головы"].active,
.notebook-index-tab.category-chip[data-category="Кожа и заживление"]:hover,
.notebook-index-tab.category-chip[data-category="Кожа и заживление"].active{
  border-color:#c89d82!important;
  background:linear-gradient(180deg,#edd4c3 0%,#dfbaa0 100%)!important;
  color:#644334!important;
}

/* Животным — from brand background blue */
.notebook-index-tab.category-chip[data-category="Товары для животных"]{
  border-color:#9fc7d1!important;
  background:linear-gradient(180deg,#eef8fb 0%,#d6ebf1 100%)!important;
  color:#356173!important;
}
.notebook-index-tab.category-chip[data-category="Товары для животных"]:hover,
.notebook-index-tab.category-chip[data-category="Товары для животных"].active{
  border-color:#78abbb!important;
  background:linear-gradient(180deg,#d8edf3 0%,#bfe0e9 100%)!important;
  color:#264c5b!important;
}

/* Аллергия — bright vivid green, but controlled */
.notebook-index-tab.category-chip[data-category="Аллергия"]{
  border-color:#a4d245!important;
  background:linear-gradient(180deg,#f3ffd8 0%,#ddff8d 100%)!important;
  color:#547012!important;
}
.notebook-index-tab.category-chip[data-category="Аллергия"]:hover,
.notebook-index-tab.category-chip[data-category="Аллергия"].active{
  border-color:#86bf14!important;
  background:linear-gradient(180deg,#e5ff95 0%,#cbf14c 100%)!important;
  color:#445d10!important;
}

/* Полость рта — warm blue */
.notebook-index-tab.category-chip[data-category="Уход за полостью рта"]{
  border-color:#9fbfe6!important;
  background:linear-gradient(180deg,#eef5ff 0%,#d8e6fb 100%)!important;
  color:#365a86!important;
}
.notebook-index-tab.category-chip[data-category="Уход за полостью рта"]:hover,
.notebook-index-tab.category-chip[data-category="Уход за полостью рта"].active{
  border-color:#739cd2!important;
  background:linear-gradient(180deg,#d9e9ff 0%,#b9d2f5 100%)!important;
  color:#294569!important;
}

/* ===== v1.66 — tuned colored notebook tabs + synced home tiles ===== */
/* Make category tabs feel more like notebook dividers rather than plain pills */
.flow-nav-second-row .category-strip.notebook-index-tabs{
  align-items:flex-end!important;
  gap:6px!important;
}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip.active{
  border-radius:14px 14px 12px 12px!important;
  min-height:34px!important;
  height:34px!important;
  line-height:32px!important;
  padding:0 14px!important;
  box-shadow:0 2px 0 rgba(255,255,255,.85) inset, 0 5px 12px rgba(62,93,112,.08)!important;
  position:relative!important;
}
.notebook-index-tab.category-chip::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,.32) 0%,rgba(255,255,255,0) 55%);
  pointer-events:none;
}
.notebook-index-tab.category-chip.active{
  transform:translateY(-2px)!important;
  box-shadow:0 2px 0 rgba(255,255,255,.92) inset, 0 8px 16px rgba(62,93,112,.12)!important;
}

/* tone down the most aggressive colors */
.notebook-index-tab.category-chip[data-category="Аллергия"]{
  border-color:#b8d46e!important;
  background:linear-gradient(180deg,#f5ffd8 0%,#e6f7b0 100%)!important;
  color:#59711c!important;
}
.notebook-index-tab.category-chip[data-category="Аллергия"]:hover,
.notebook-index-tab.category-chip[data-category="Аллергия"].active{
  border-color:#98bc38!important;
  background:linear-gradient(180deg,#ebf8bf 0%,#d4ec7c 100%)!important;
  color:#496115!important;
}
.notebook-index-tab.category-chip[data-category="Детские товары"]{
  border-color:#ead57e!important;
  background:linear-gradient(180deg,#fff9de 0%,#fff1ba 100%)!important;
  color:#7a6319!important;
}
.notebook-index-tab.category-chip[data-category="Детские товары"]:hover,
.notebook-index-tab.category-chip[data-category="Детские товары"].active{
  border-color:#d9c158!important;
  background:linear-gradient(180deg,#fff1b8 0%,#ffe690 100%)!important;
  color:#654f16!important;
}
.notebook-index-tab.category-chip[data-category="Витамины и минералы"]{
  border-color:#efbd79!important;
  background:linear-gradient(180deg,#fff6e5 0%,#ffe7c2 100%)!important;
  color:#8a581d!important;
}
.notebook-index-tab.category-chip[data-category="Витамины и минералы"]:hover,
.notebook-index-tab.category-chip[data-category="Витамины и минералы"].active{
  border-color:#e2a55a!important;
  background:linear-gradient(180deg,#ffe9c0 0%,#ffd08c 100%)!important;
  color:#734713!important;
}
.notebook-index-tab.category-chip[data-category="Пищеварение"]{
  border-color:#eab8ab!important;
  background:linear-gradient(180deg,#fff5f1 0%,#ffe0d6 100%)!important;
  color:#8b5144!important;
}
.notebook-index-tab.category-chip[data-category="Пищеварение"]:hover,
.notebook-index-tab.category-chip[data-category="Пищеварение"].active{
  border-color:#db9b89!important;
  background:linear-gradient(180deg,#ffe1d8 0%,#ffc8b8 100%)!important;
  color:#744136!important;
}

/* Sync home tiles with category accents so the whole system feels unified */
.home-category[data-home-category]{
  border:1px solid rgba(204,221,232,.35)!important;
}
.home-category[data-home-category]::before{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  top:12px;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.85);
  box-shadow:0 0 0 1px rgba(255,255,255,.18) inset;
  z-index:1;
}
.home-category[data-home-category]::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg,rgba(17,31,42,.06) 0%,rgba(17,31,42,.18) 100%);
  pointer-events:none;
}
.home-category[data-home-category] span,
.home-category[data-home-category] small{z-index:2}

.home-category[data-home-category="Витамины и минералы"]::before{background:linear-gradient(90deg,#ffd08c,#e2a55a)}
.home-category[data-home-category="Уход и косметика"]::before{background:linear-gradient(90deg,#f6efe5,#cbb69c)}
.home-category[data-home-category="Пищеварение"]::before{background:linear-gradient(90deg,#ffd7cb,#db9b89)}
.home-category[data-home-category="Боль, мышцы и суставы"]::before{background:linear-gradient(90deg,#d8ecfb,#71acd6)}
.home-category[data-home-category="Глаза"]::before{background:linear-gradient(90deg,#d9f4ff,#73c5ea)}
.home-category[data-home-category="Простуда и дыхание"]::before{background:linear-gradient(90deg,#d7f1df,#78b78e)}
.home-category[data-home-category="Детские товары"]::before{background:linear-gradient(90deg,#fff2b0,#d9c158)}
.home-category[data-home-category="Волосы и кожа головы"]::before,
.home-category[data-home-category="Кожа и заживление"]::before{background:linear-gradient(90deg,#efd9cb,#c89d82)}
.home-category[data-home-category="Товары для животных"]::before{background:linear-gradient(90deg,#d8edf3,#78abbb)}
.home-category[data-home-category="Аллергия"]::before{background:linear-gradient(90deg,#ebf8bf,#98bc38)}
.home-category[data-home-category="Уход за полостью рта"]::before{background:linear-gradient(90deg,#d9e9ff,#739cd2)}

/* Optional subtle accent ring on hover */
.home-category[data-home-category]:hover{
  box-shadow:0 14px 30px rgba(33,58,68,.16),0 0 0 1px rgba(255,255,255,.24) inset!important;
}

@media(max-width:760px){
  .notebook-index-tab.category-chip,
  .notebook-index-tab.category-chip.active{
    min-height:30px!important;
    height:30px!important;
    line-height:28px!important;
    padding:0 10px!important;
    border-radius:12px 12px 10px 10px!important;
  }
  .home-category[data-home-category]::before{left:10px;right:10px;top:10px;height:3px}
}

/* ===== v1.67 — real notebook divider tabs; remove home-image accent bars ===== */

/* Remove the colored accent bars from home category photos. */
.home-category[data-home-category]::before{
  display:none!important;
  content:none!important;
}

/* Keep the image itself clean; no added color overlay beyond the original dark readability layer. */
.home-category[data-home-category]::after{
  background:linear-gradient(180deg,rgba(17,31,42,.04) 0%,rgba(17,31,42,.22) 100%)!important;
}

/* Notebook-divider geometry: tapered ends, compact, tactile. */
.flow-nav-second-row .category-strip.notebook-index-tabs{
  align-items:flex-end!important;
  gap:4px!important;
  padding-bottom:0!important;
}

.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip.active{
  --tab-cut:9px;
  position:relative!important;
  height:31px!important;
  min-height:31px!important;
  padding:0 15px!important;
  margin:0!important;
  border-radius:0!important;
  clip-path:polygon(
    var(--tab-cut) 0,
    calc(100% - var(--tab-cut)) 0,
    100% 50%,
    calc(100% - var(--tab-cut)) 100%,
    var(--tab-cut) 100%,
    0 50%
  )!important;
  border:0!important;
  line-height:31px!important;
  box-shadow:none!important;
  transform:none!important;
  filter:saturate(.72) brightness(1.035)!important;
  opacity:.86!important;
  transition:transform .13s ease,filter .13s ease,opacity .13s ease,box-shadow .13s ease!important;
}

/* subtle inner edge so each divider reads as a physical tab */
.notebook-index-tab.category-chip::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:1px!important;
  clip-path:inherit!important;
  border-radius:0!important;
  background:linear-gradient(180deg,rgba(255,255,255,.52) 0%,rgba(255,255,255,.08) 52%,rgba(22,49,66,.04) 100%)!important;
  pointer-events:none!important;
}
.notebook-index-tab.category-chip > span{
  position:relative!important;
  z-index:2!important;
}

.notebook-index-tab.category-chip:hover{
  transform:translateY(-1px)!important;
  filter:saturate(.94) brightness(1.02)!important;
  opacity:.96!important;
  box-shadow:0 6px 12px rgba(38,73,94,.10)!important;
}

/* Active divider: brighter, more saturated and visibly pulled out. */
.notebook-index-tab.category-chip.active{
  height:35px!important;
  min-height:35px!important;
  line-height:35px!important;
  transform:translateY(-3px)!important;
  filter:saturate(1.10) brightness(1.01)!important;
  opacity:1!important;
  font-weight:830!important;
  z-index:4!important;
  box-shadow:0 8px 16px rgba(38,73,94,.16)!important;
}
.notebook-index-tab.category-chip.active::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:14px!important;
  right:14px!important;
  bottom:1px!important;
  height:2px!important;
  border-radius:999px!important;
  background:currentColor!important;
  opacity:.32!important;
}

/* 'All' remains a quiet index tab rather than another category colour. */
.notebook-index-tab.category-chip[data-category-clear]{
  filter:saturate(.55) brightness(1.04)!important;
}
.notebook-index-tab.category-chip[data-category-clear].active{
  filter:saturate(.82) brightness(1.01)!important;
}

@media(max-width:760px){
  .flow-nav-second-row .category-strip.notebook-index-tabs{gap:3px!important}
  .notebook-index-tab.category-chip,
  .notebook-index-tab.category-chip.active{
    --tab-cut:7px;
    height:29px!important;
    min-height:29px!important;
    line-height:29px!important;
    padding:0 12px!important;
    font-size:9.2px!important;
  }
  .notebook-index-tab.category-chip.active{
    height:32px!important;
    min-height:32px!important;
    line-height:32px!important;
    transform:translateY(-2px)!important;
  }
}

/* ===== v1.68 — remove dead 'Recent' button, enlarge nav text, replace diamond tabs ===== */

/* The non-working recent-history control is removed from the visible navigation. */
.flow-nav-second-row .flow-history-wrap,
.flow-history-toggle,
.flow-history-menu{
  display:none!important;
}

/* Two-row notebook navigation stays, but the second row is now fully dedicated to categories. */
.flow-nav{
  min-height:64px!important;
  height:64px!important;
  grid-template-rows:29px 31px!important;
}
.flow-nav-main{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
}
.flow-nav-main .flow-crumbs{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  color:#244e60!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:760!important;
}
.flow-nav-main .flow-crumbs button,
.flow-nav-main .flow-crumbs .crumb-current,
.flow-nav-main .flow-crumbs .crumb-sep{
  font-size:inherit!important;
  line-height:inherit!important;
}
.flow-nav-main .flow-crumbs button{
  color:#1f5976!important;
  font-weight:790!important;
}
.flow-nav-main .flow-context-meta{
  font-size:12px!important;
  line-height:1!important;
  font-weight:740!important;
  color:#5e7681!important;
  white-space:nowrap!important;
}
.flow-nav-second-row{
  display:flex!important;
  align-items:flex-end!important;
  gap:0!important;
}
.flow-nav-second-row .category-strip.notebook-index-tabs{
  flex:1 1 auto!important;
  width:100%!important;
  align-items:flex-end!important;
  gap:6px!important;
  padding:0 0 1px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}

/* Replace the stretched rhombus with real notebook tabs. */
.notebook-index-tab.category-chip{
  clip-path:none!important;
  border-style:solid!important;
  border-width:1px 1px 2px!important;
  border-radius:14px 14px 5px 5px!important;
  height:34px!important;
  min-height:34px!important;
  line-height:32px!important;
  padding:0 16px!important;
  margin:0!important;
  box-shadow:0 1px 0 rgba(255,255,255,.78) inset,0 5px 12px rgba(40,74,96,.10)!important;
  filter:none!important;
  opacity:.92!important;
  transform:none!important;
  transition:transform .13s ease,box-shadow .13s ease,opacity .13s ease!important;
}
.notebook-index-tab.category-chip::before{
  clip-path:none!important;
  border-radius:inherit!important;
  inset:1px 1px 0 1px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.38) 0%,rgba(255,255,255,0) 58%)!important;
}
.notebook-index-tab.category-chip:hover{
  transform:translateY(-1px)!important;
  opacity:.98!important;
  box-shadow:0 1px 0 rgba(255,255,255,.82) inset,0 7px 14px rgba(40,74,96,.13)!important;
}
.notebook-index-tab.category-chip.active{
  clip-path:none!important;
  border-style:solid!important;
  border-width:1px 1px 2px!important;
  border-radius:14px 14px 5px 5px!important;
  height:37px!important;
  min-height:37px!important;
  line-height:35px!important;
  padding:0 16px!important;
  transform:translateY(-3px)!important;
  opacity:1!important;
  font-weight:830!important;
  box-shadow:0 1px 0 rgba(255,255,255,.86) inset,0 10px 18px rgba(40,74,96,.18)!important;
  z-index:3!important;
}
.notebook-index-tab.category-chip.active::after{
  content:""!important;
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  bottom:3px!important;
  height:3px!important;
  border-radius:999px!important;
  background:currentColor!important;
  opacity:.24!important;
}
.notebook-index-tab.category-chip>span{position:relative!important;z-index:2!important}

/* Slightly livelier brand mark with a thinner, more intentional frame. */
.brand-rx{
  position:relative!important;
  width:35px!important;
  height:35px!important;
  border-radius:10px!important;
  border:1.4px solid #cf5350!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.78)!important;
}
.brand-rx::after{
  content:"";
  position:absolute;
  right:-1px;
  bottom:-1px;
  width:11px;
  height:11px;
  background:#fff;
  border-top-left-radius:8px;
}

@media(max-width:760px){
  .flow-nav{
    min-height:72px!important;
    height:72px!important;
    grid-template-rows:31px 35px!important;
    padding-left:52px!important;
    padding-right:10px!important;
  }
  .flow-nav-main{gap:8px!important}
  .flow-nav-main .flow-crumbs{font-size:10.8px!important;gap:6px!important}
  .flow-nav-main .flow-context-meta{font-size:9.7px!important}
  .flow-nav-second-row .category-strip.notebook-index-tabs{gap:4px!important}
  .notebook-index-tab.category-chip{
    height:31px!important;
    min-height:31px!important;
    line-height:29px!important;
    padding:0 12px!important;
    font-size:10.8px!important;
  }
  .notebook-index-tab.category-chip.active{
    height:34px!important;
    min-height:34px!important;
    line-height:32px!important;
    padding:0 12px!important;
    transform:translateY(-2px)!important;
  }
}

/* ===== v1.69 — square logo, clean calendar, real notebook tabs ===== */

/* Restore the closed square RX mark. */
.brand-rx{
  position:relative!important;
  width:35px!important;
  height:35px!important;
  border-radius:4px!important;
  border:1.6px solid #cf5350!important;
  background:#fff!important;
  color:#cf5350!important;
  box-shadow:none!important;
}
.brand-rx::after{
  display:none!important;
  content:none!important;
}

/* Make the date a clean, readable iOS-like tile with no overlapping decorative layers. */
.flip-date{
  width:64px!important;
  height:52px!important;
  min-width:64px!important;
  min-height:52px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  grid-template-rows:12px 1fr!important;
  grid-template-areas:
    "month year"
    "day day"!important;
  gap:2px 5px!important;
  padding:5px 7px 6px!important;
  align-items:start!important;
  justify-items:stretch!important;
  border:1px solid #d7e1e5!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#fbfdfe 0%,#f2f7fa 100%)!important;
  box-shadow:0 2px 6px rgba(38,73,94,.08)!important;
  overflow:hidden!important;
}
.flip-date::before,
.flip-date::after,
.flip-date .flip-leaf,
.flip-date .flip-corner,
.flip-back,
.flip-front,
.flip-date > .flip-year::after{
  display:none!important;
  content:none!important;
}
.flip-month{
  grid-area:month!important;
  align-self:start!important;
  justify-self:start!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  background:none!important;
  color:#dd5a55!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:780!important;
  letter-spacing:0!important;
  text-transform:lowercase!important;
}
.flip-year{
  grid-area:year!important;
  align-self:start!important;
  justify-self:end!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  background:none!important;
  color:#6d8189!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:760!important;
  text-transform:lowercase!important;
}
.flip-day{
  grid-area:day!important;
  align-self:center!important;
  justify-self:center!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:820!important;
  letter-spacing:-.06em!important;
  color:#16394a!important;
}
.flip-date.is-flipping .flip-day,
.flip-date.rate-check-flip .flip-day{
  animation:none!important;
}

/* Remove rounded menu geometry; keep the notebook-tab feel with cut corners. */
.flow-nav{
  min-height:66px!important;
  height:66px!important;
  grid-template-rows:29px 33px!important;
}
.flow-nav-main .flow-crumbs{
  font-size:13px!important;
}
.flow-nav-main .flow-context-meta{
  font-size:12px!important;
}
.flow-nav-second-row{
  align-items:flex-end!important;
}
.flow-nav-second-row .category-strip.notebook-index-tabs{
  gap:6px!important;
  align-items:flex-end!important;
  padding:0 0 1px!important;
}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip.active{
  --tab-bevel:9px;
  position:relative!important;
  clip-path:polygon(
    var(--tab-bevel) 0,
    calc(100% - var(--tab-bevel)) 0,
    100% var(--tab-bevel),
    100% 100%,
    0 100%,
    0 var(--tab-bevel)
  )!important;
  border-radius:0!important;
  border-style:solid!important;
  border-width:1px 1px 2px!important;
  box-shadow:0 1px 0 rgba(255,255,255,.78) inset,0 5px 12px rgba(40,74,96,.10)!important;
}
.notebook-index-tab.category-chip{
  height:32px!important;
  min-height:32px!important;
  line-height:30px!important;
  padding:0 15px!important;
  transform:none!important;
  opacity:.95!important;
}
.notebook-index-tab.category-chip::before{
  clip-path:inherit!important;
  border-radius:0!important;
  inset:1px 1px 0 1px!important;
}
.notebook-index-tab.category-chip:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.82) inset,0 7px 14px rgba(40,74,96,.13)!important;
}
.notebook-index-tab.category-chip.active{
  height:35px!important;
  min-height:35px!important;
  line-height:33px!important;
  padding:0 15px!important;
  transform:translateY(-3px)!important;
  opacity:1!important;
  font-weight:830!important;
  box-shadow:0 1px 0 rgba(255,255,255,.86) inset,0 10px 18px rgba(40,74,96,.18)!important;
  z-index:3!important;
}
.notebook-index-tab.category-chip.active::after{
  content:""!important;
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  bottom:3px!important;
  height:2px!important;
  border-radius:0!important;
  background:currentColor!important;
  opacity:.28!important;
}
.notebook-index-tab.category-chip[data-category-clear],
.notebook-index-tab.category-chip[data-category-clear].active{
  border-radius:0!important;
}

/* Menu objects use straight edges instead of soft pills. */
.flow-nav .flow-history-toggle,
.flow-nav .flow-back,
.flow-nav .flow-history-menu button,
.flow-nav .flow-crumbs button{
  border-radius:0!important;
}

@media(max-width:760px){
  .flip-date{
    width:58px!important;
    min-width:58px!important;
    height:48px!important;
    min-height:48px!important;
    padding:4px 6px 5px!important;
  }
  .flip-month,.flip-year{font-size:9px!important}
  .flip-day{font-size:22px!important}

  .flow-nav{
    min-height:74px!important;
    height:74px!important;
    grid-template-rows:31px 37px!important;
    padding-left:52px!important;
    padding-right:10px!important;
  }
  .flow-nav-main .flow-crumbs{font-size:11.2px!important}
  .flow-nav-main .flow-context-meta{font-size:10px!important}
  .flow-nav-second-row .category-strip.notebook-index-tabs{gap:4px!important}
  .notebook-index-tab.category-chip{
    --tab-bevel:7px;
    height:31px!important;
    min-height:31px!important;
    line-height:29px!important;
    padding:0 12px!important;
    font-size:10.5px!important;
  }
  .notebook-index-tab.category-chip.active{
    height:34px!important;
    min-height:34px!important;
    line-height:32px!important;
    padding:0 12px!important;
    transform:translateY(-2px)!important;
  }
}

/* ===== v1.72 — notebook showcase: one category nav, visual strip, max 8 cards ===== */
:root{
  --v72-blue:#236fb7;
  --v72-ink:#173f58;
  --v72-border:#d5e3eb;
  --v72-soft:#f8fbfd;
}

/* Single navigation system: the notebook tabs are the categories. */
.home-mode .category-strip.home-hidden{display:flex!important}
.home-showcase{display:none!important}
.rx-home-note{display:none!important}

/* Keep the ad/service story in the page footer only; remove it from the order sheet. */
.order-service-story{display:none!important}

.workspace{
  padding-top:14px!important;
}

/* Category/search strip */
.catalog-hero{
  --hero-tint:#e9f4ff;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);
  min-height:154px;
  margin:0 20px 14px;
  border:1px solid #ccdde8;
  border-radius:18px;
  overflow:hidden;
  position:relative;
  background:linear-gradient(115deg,var(--hero-tint) 0%,#fff 60%);
  box-shadow:0 10px 24px rgba(37,78,103,.07);
}
.catalog-hero-copy{
  z-index:2;
  padding:24px 28px 22px;
  align-self:center;
}
.catalog-hero-kicker{
  display:block;
  margin-bottom:7px;
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.08em;
  color:#4e748a;
}
.catalog-hero h1{
  margin:0 0 8px;
  max-width:680px;
  color:#143f66;
  font-size:29px;
  line-height:1.06;
  letter-spacing:-.025em;
}
.catalog-hero p{
  margin:0;
  max-width:620px;
  color:#476a7d;
  font-size:14px;
  line-height:1.35;
}
.catalog-hero-photo{
  position:relative;
  min-height:154px;
  background-image:linear-gradient(90deg,#fff0 0%,rgba(255,255,255,.02) 18%),var(--hero-image);
  background-size:cover;
  background-position:center;
}
.catalog-hero-photo::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.68) 14%,rgba(255,255,255,0) 50%);
}
.catalog-hero-photo::after{
  content:"✎";
  position:absolute;
  right:18px;
  bottom:12px;
  color:rgba(31,102,154,.36);
  font-size:30px;
  transform:rotate(-8deg);
}
.catalog-hero.tone-vitamins{--hero-tint:#fff4df}
.catalog-hero.tone-care{--hero-tint:#fff0f3}
.catalog-hero.tone-digestion{--hero-tint:#fff0ea}
.catalog-hero.tone-joints{--hero-tint:#e9f4ff}
.catalog-hero.tone-eyes{--hero-tint:#eaf7ff}
.catalog-hero.tone-breath{--hero-tint:#eaf8ef}
.catalog-hero.tone-kids{--hero-tint:#fff8df}
.catalog-hero.tone-hair{--hero-tint:#f7ebe6}
.catalog-hero.tone-skin{--hero-tint:#f8eee9}
.catalog-hero.tone-pets{--hero-tint:#eaf6f5}
.catalog-hero.tone-allergy{--hero-tint:#f1fadf}
.catalog-hero.tone-mouth{--hero-tint:#edf4ff}
.catalog-hero.tone-search{--hero-tint:#eaf4ff}
.catalog-hero.tone-search .catalog-hero-photo{filter:saturate(.75) brightness(1.03)}

.catalog-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 20px 10px;
}
.catalog-toolbar>strong{
  color:#153e5b;
  font-size:17px;
}
.catalog-sort{
  display:flex;
  align-items:center;
  gap:8px;
  color:#66808e;
  font-size:12px;
}
.catalog-sort select{
  min-height:36px;
  padding:0 34px 0 12px;
  border:1px solid #cddde7;
  border-radius:10px;
  background:#fff;
  color:#234f67;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

/* Product shelf: visually useful rather than a generic endless table. */
.product-list{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  padding:0 20px 16px!important;
  align-items:stretch!important;
}




.product-photo{
  grid-area:photo!important;
  width:100%!important;
  height:156px!important;
  min-height:156px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:8px!important;
  background:#fff!important;
  border-radius:12px!important;
  overflow:hidden!important;
  cursor:zoom-in!important;
}
.product-photo img{
  max-width:100%!important;
  max-height:140px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}
.product-main{
  grid-area:main!important;
  min-width:0!important;
  padding:0!important;
  align-self:start!important;
}
.product-title-line{
  display:flex!important;
  align-items:flex-start!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  margin-bottom:4px!important;
}
.product-title{
  font-size:15px!important;
  line-height:1.18!important;
  font-weight:800!important;
  color:#142f45!important;
}
.product-main .copy-line,
.product-main .product-props,
.product-main .product-property-line,
.product-main .product-origin,
.product-main .product-links{
  font-size:10.6px!important;
  line-height:1.26!important;
}
.product-main .product-links{margin-top:4px!important}
.product-price{
  grid-area:price!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  padding:0!important;
  min-width:0!important;
}
.product-price small{font-size:9px!important;color:#7b909c!important}
.product-price strong{font-size:17px!important;line-height:1.05!important;color:#153f5c!important}
.product-price span{font-size:10px!important;color:#657f8d!important}
.qty-stepper{
  grid-area:qty!important;
  align-self:end!important;
  justify-self:end!important;
  display:grid!important;
  grid-template-columns:34px 38px 34px!important;
  height:36px!important;
}
.qty-stepper button,.qty-stepper input{height:36px!important;min-width:0!important}
.qty-stepper input{width:38px!important;text-align:center!important}
.product-total{
  grid-area:total!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  padding:7px 8px!important;
  border-radius:11px!important;
  background:#f6fafc!important;
  color:#4c6a78!important;
}
.product-total.empty{justify-content:center!important;background:#f9fbfc!important}
.product-total strong{font-size:16px!important;color:#174d5c!important}
.product-total span{font-size:10px!important}
.product-total .order-jump{
  margin:0!important;
  min-height:30px!important;
  padding:4px 8px!important;
  border-radius:8px!important;
  font-size:10px!important;
}

/* Hide legacy search context blocks: the strip itself now explains the result. */
.context-line,
.search-context-switch,
.search-group-head{display:none!important}
.search-result-group{display:contents!important}
.search-group-list{display:contents!important}
.search-more{grid-column:1/-1!important}

.load-more{
  display:block;
  margin:4px auto 20px!important;
  min-width:210px;
}
.load-more[hidden]{display:none!important}

/* Keep footer as the only place for service/procurement information. */
.site-footer.notebook-footer{
  margin-top:4px!important;
}

/* The list order symbol stays; no shopping-cart icon is introduced anywhere. */
.desktop-order-dock .order-list-mark,
.order-title-with-mark .order-list-mark{display:inline-flex!important}

@media(max-width:1180px){
  .product-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .catalog-hero{grid-template-columns:1fr minmax(220px,.7fr);margin-left:12px;margin-right:12px}
  .product-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding-left:12px!important;padding-right:12px!important}
  .catalog-toolbar{margin-left:12px;margin-right:12px}
}
@media(max-width:620px){
  .workspace{padding-top:8px!important}
  .catalog-hero{
    grid-template-columns:1fr!important;
    min-height:0!important;
    margin:0 8px 10px!important;
    border-radius:14px!important;
  }
  .catalog-hero-copy{padding:16px 16px 12px!important}
  .catalog-hero h1{font-size:22px!important}
  .catalog-hero p{font-size:12px!important}
  .catalog-hero-photo{min-height:104px!important;background-position:center 45%!important}
  .catalog-hero-photo::before{background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.12) 35%,rgba(255,255,255,0) 70%)}
  .catalog-toolbar{margin:0 8px 8px!important}
  .catalog-toolbar>strong{font-size:14px!important}
  .catalog-sort span{display:none}
  .catalog-sort{font-size:10px!important}
  .catalog-sort select{max-width:150px!important;min-height:32px!important}
  .product-list{
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:0 8px 12px!important;
  }
  
  .product-photo{width:112px!important;height:128px!important;min-height:128px!important;padding:5px!important}
  .product-photo img{max-height:118px!important}
  .product-title{font-size:14px!important}
  .product-main .copy-line,.product-main .product-props,.product-main .product-property-line,.product-main .product-links{font-size:10px!important}
  .qty-stepper{grid-template-columns:38px 44px 38px!important;height:40px!important}
  .qty-stepper button,.qty-stepper input{height:40px!important}
  .qty-stepper input{width:44px!important}
}

/* ===== v1.73 — compact working showcase ===== */
/* Category strip becomes a compact visual locator, not a banner. */
#catalogHero.catalog-hero{
  min-height:88px!important;
  height:88px!important;
  grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr)!important;
  margin:0 20px 9px!important;
  border-radius:14px!important;
  box-shadow:0 5px 16px rgba(37,78,103,.055)!important;
}
#catalogHero .catalog-hero-copy{
  padding:12px 22px 11px!important;
}
#catalogHero .catalog-hero-kicker{
  margin-bottom:3px!important;
  font-size:8.5px!important;
}
#catalogHero h1{
  margin:0 0 3px!important;
  font-size:22px!important;
  line-height:1.02!important;
}
#catalogHero p{
  font-size:11.5px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#catalogHero .catalog-hero-photo{
  min-height:88px!important;
  height:88px!important;
  background-position:center 46%!important;
}
#catalogHero .catalog-hero-photo::after{
  right:12px!important;
  bottom:7px!important;
  font-size:21px!important;
}

/* Toolbar: count left, local form filter + sort right. */
.catalog-toolbar{
  margin:0 20px 7px!important;
  min-height:34px!important;
}
.catalog-toolbar>strong{font-size:15px!important}
.catalog-tools{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:9px!important;
  min-width:0!important;
}
.catalog-form-select,.catalog-sort{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#66808e!important;
  font-size:10.5px!important;
  white-space:nowrap!important;
}
.catalog-form-select select,.catalog-sort select{
  min-height:32px!important;
  height:32px!important;
  min-width:142px!important;
  max-width:190px!important;
  padding:0 28px 0 10px!important;
  border:1px solid #cddde7!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#234f67!important;
  font:inherit!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.catalog-form-select.is-disabled{opacity:.48!important}
.catalog-form-select.is-disabled select{cursor:default!important}
#formFilterStrip{display:none!important}

/* Compact 4-column shelf. Eight products = two useful rows. */
#productList.product-list{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  padding:0 20px 10px!important;
  align-items:stretch!important;
}





















@media(max-width:1180px){
  #productList.product-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  #catalogHero.catalog-hero{margin-left:12px!important;margin-right:12px!important}
  #productList.product-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding-left:12px!important;padding-right:12px!important}
  .catalog-toolbar{margin-left:12px!important;margin-right:12px!important}
}
@media(max-width:620px){
  #catalogHero.catalog-hero{
    height:92px!important;
    min-height:92px!important;
    grid-template-columns:minmax(0,1.15fr) minmax(110px,.85fr)!important;
    margin:0 8px 7px!important;
  }
  #catalogHero .catalog-hero-copy{padding:10px 10px!important}
  #catalogHero h1{font-size:17px!important}
  #catalogHero p{font-size:9.7px!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
  #catalogHero .catalog-hero-photo{height:92px!important;min-height:92px!important}
  .catalog-toolbar{align-items:flex-start!important;margin:0 8px 6px!important;gap:6px!important}
  .catalog-tools{gap:5px!important}
  .catalog-form-select,.catalog-sort{font-size:0!important}
  .catalog-form-select select,.catalog-sort select{font-size:10px!important;min-width:0!important;width:126px!important;max-width:126px!important;height:30px!important;min-height:30px!important}
  #productList.product-list{grid-template-columns:1fr!important;gap:6px!important;padding:0 8px 9px!important}
  
  
  
  
  
  
}


/* v1.74 — inline form filter buttons + product-focused scroll */
.catalog-form-select{display:none!important}
.catalog-tools{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.catalog-sort{margin-left:auto!important}
.form-filter-strip{display:flex!important;align-items:center!important;gap:10px!important;margin:0 22px 10px!important;padding:0!important;min-height:34px!important}
.form-filter-strip[hidden]{display:none!important}
.form-filter-label{display:none!important}
.form-filter-scroll{display:flex!important;align-items:center!important;gap:6px!important;overflow-x:auto!important;scrollbar-width:none!important;overscroll-behavior-x:contain!important;padding:2px 1px 1px!important}
.form-filter-scroll::-webkit-scrollbar{display:none!important}
.form-filter-chip{appearance:none!important;border:1px solid #cfdbe8!important;border-radius:999px!important;background:#fff!important;color:#446173!important;display:inline-flex!important;align-items:center!important;gap:6px!important;height:30px!important;padding:0 10px!important;white-space:nowrap!important;cursor:pointer!important;font-size:12px!important;font-weight:700!important;transition:border-color .14s ease,background-color .14s ease,box-shadow .14s ease,color .14s ease!important}
.form-filter-chip b{font-size:10px!important;font-weight:800!important;opacity:.72!important}
.form-filter-chip:hover{border-color:#9fc3e1!important;background:#f7fbff!important;box-shadow:0 2px 8px rgba(72,118,160,.10)!important}
.form-filter-chip.active{border-color:#6ca6d7!important;background:#eaf5ff!important;box-shadow:inset 0 -2px 0 #6ca6d7,0 3px 10px rgba(72,118,160,.10)!important;color:#204d6b!important}
.form-filter-chip.active:first-of-type{background:#eaf5ff!important}
@media (max-width:900px){
  .form-filter-strip{margin:0 12px 8px!important}
}
@media (max-width:620px){
  .catalog-toolbar{margin:0 8px 4px!important}
  .catalog-tools{width:100%!important;justify-content:space-between!important}
  .catalog-sort{margin-left:0!important}
  .catalog-sort select{width:132px!important;max-width:132px!important}
  .form-filter-strip{margin:0 8px 8px!important;min-height:30px!important}
  .form-filter-chip{height:28px!important;padding:0 9px!important;font-size:11px!important}
}


/* ===== v1.75 — rate provenance, classic calendar, compact card hierarchy ===== */
.rate-source-badge{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:21px!important;height:15px!important;margin-left:4px!important;padding:0 4px!important;
  border-radius:5px!important;font-style:normal!important;font-size:9px!important;line-height:1!important;
  font-weight:850!important;vertical-align:1px!important;letter-spacing:.02em!important;
}
.rate-source-badge.source-g,.mobile-rate-source.source-g{background:#e8f7ef!important;color:#197047!important;border:1px solid #b9dfca!important}
.rate-source-badge.source-b,.mobile-rate-source.source-b{background:#f5f1e8!important;color:#80633b!important;border:1px solid #decfb4!important}
.mobile-rate-source{display:inline-flex!important;padding:1px 4px!important;border-radius:4px!important;font-style:normal!important;font-size:9px!important;font-weight:850!important}

.site-footer.notebook-footer .footer-build{
  font-size:11px!important;line-height:1.15!important;font-weight:650!important;color:#5f7788!important;
  letter-spacing:.015em!important;
}
.site-footer.notebook-footer .footer-build b{font-weight:850!important;color:#2e607c!important}

/* classic two-colour calendar: red cap + white body, no overlapping leaves */
.flip-date{
  position:relative!important;display:grid!important;grid-template-columns:1fr 1fr!important;
  grid-template-rows:15px 1fr!important;grid-template-areas:"month weekday" "day day"!important;
  width:58px!important;height:52px!important;min-width:58px!important;min-height:52px!important;
  padding:0!important;border:1px solid #d5e0e6!important;border-radius:10px!important;
  overflow:hidden!important;background:#fff!important;box-shadow:0 4px 10px rgba(39,75,96,.09)!important;
  perspective:none!important;contain:layout paint!important;
}
.flip-date::before{
  content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;top:0!important;height:15px!important;
  background:linear-gradient(180deg,#ef6760 0%,#d9504a 100%)!important;z-index:0!important;
}
.flip-date::after,.flip-date>.flip-year::after,.flip-date .flip-leaf,.flip-date .flip-corner,.flip-back,.flip-front{display:none!important;content:none!important}
.flip-month,.flip-year{position:relative!important;z-index:1!important;display:block!important;margin:0!important;padding:3px 5px 0!important;background:none!important;font-size:8px!important;line-height:1!important;font-weight:850!important;color:#fff!important;text-transform:uppercase!important}
.flip-month{grid-area:month!important;justify-self:start!important}
.flip-year{grid-area:weekday!important;justify-self:end!important;color:#fff!important}
.flip-day{grid-area:day!important;position:relative!important;z-index:1!important;align-self:center!important;justify-self:center!important;padding-top:1px!important;font-size:23px!important;line-height:1!important;font-weight:850!important;letter-spacing:-.04em!important;color:#183f58!important;background:none!important}
.flip-date.calendar-arrive{animation:rxdeCalendarArrive .46s cubic-bezier(.2,.8,.25,1) both!important}
@keyframes rxdeCalendarArrive{0%{opacity:.65;transform:translateY(-3px) scale(.97)}70%{opacity:1;transform:translateY(1px) scale(1.01)}100%{opacity:1;transform:none}}
.flip-date.rate-check-flip .flip-day{animation:rxdeCalendarRate .34s ease-out!important}
@keyframes rxdeCalendarRate{0%{opacity:.45;transform:translateY(-2px)}100%{opacity:1;transform:none}}

/* form badge becomes an overlay on the photo, freeing the text column */




/* one deliberate bottom action strip: unit price at left, qty in the middle/right, selected total/status below only when needed */










@media(max-width:620px){
  .flip-date{width:54px!important;height:49px!important;min-width:54px!important;min-height:49px!important;grid-template-rows:14px 1fr!important}
  .flip-date::before{height:14px!important}.flip-month,.flip-year{font-size:7.5px!important;padding-top:3px!important}.flip-day{font-size:21px!important}
  
  
  
}

/* ===== v1.76 — fit rate block + card content without overlap ===== */

/* Header rates: keep both rows on one line and reserve enough width for source badge. */
.rate-stack{
  min-width:196px!important;
  padding-right:10px!important;
  gap:4px!important;
}
.rate-stack>div{
  grid-template-columns:minmax(94px,1fr) auto!important;
  gap:10px!important;
  min-width:0!important;
  white-space:nowrap!important;
}
.rate-stack>div>span{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  min-width:0!important;
  white-space:nowrap!important;
  font-size:9.2px!important;
  line-height:1.1!important;
}
.rate-stack>div>strong{
  white-space:nowrap!important;
  font-size:11.5px!important;
  line-height:1.1!important;
  justify-self:end!important;
}
.rate-source-badge{
  flex:0 0 auto!important;
  min-width:18px!important;
  height:14px!important;
  padding:0 3px!important;
  margin-left:0!important;
  font-size:8px!important;
}
#headerCbrDate{font-size:9px!important;white-space:nowrap!important}

/* Product card: three intentional zones — photo / data / single action row. */









/* Bottom row: no element may climb into the text zone. */












@media(max-width:1180px){
  .rate-stack{min-width:184px!important}
}
@media(max-width:900px){
  .rate-stack{min-width:172px!important}
  .rate-stack>div{grid-template-columns:minmax(82px,1fr) auto!important;gap:6px!important}
  .rate-stack>div>span{font-size:8.8px!important}
  .rate-stack>div>strong{font-size:10.8px!important}
}
@media(max-width:620px){
  
  
  
  
  
  
}


/* ===== v1.77 — product card rebuilt from zero =====
   No absolute/overlapping zones. Card height follows real content. */
#productList.product-list{
  align-items:start!important;
}

#productList .product-row.v177-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:78px auto 40px!important;
  grid-template-areas:
    "photo"
    "main"
    "bottom"!important;
  height:auto!important;
  min-height:214px!important;
  max-height:none!important;
  padding:9px 10px 8px!important;
  gap:5px!important;
  overflow:hidden!important;
  align-content:start!important;
  position:relative!important;
}

/* PHOTO */
#productList .product-row.v177-card > .product-photo{
  grid-area:photo!important;
  position:relative!important;
  width:100%!important;
  height:78px!important;
  min-height:78px!important;
  max-height:78px!important;
  margin:0!important;
  padding:2px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
}
#productList .product-row.v177-card > .product-photo img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:86%!important;
  max-height:74px!important;
  object-fit:contain!important;
  margin:auto!important;
}
#productList .product-row.v177-card > .product-photo .form-badge{
  position:absolute!important;
  top:1px!important;
  right:0!important;
  z-index:4!important;
  margin:0!important;
  font-size:8.5px!important;
  line-height:1!important;
  padding:3px 7px!important;
  white-space:nowrap!important;
  border-radius:7px!important;
}

/* INFORMATION: its own natural-flow region */
#productList .product-row.v177-card > .product-main{
  grid-area:main!important;
  display:block!important;
  position:static!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
#productList .product-row.v177-card .product-title-line{
  display:flex!important;
  align-items:flex-start!important;
  flex-wrap:wrap!important;
  gap:3px!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin:0 0 3px!important;
  overflow:visible!important;
}
#productList .product-row.v177-card .product-title{
  display:-webkit-box!important;
  flex:0 1 auto!important;
  max-width:calc(100% - 31px)!important;
  font-size:12.3px!important;
  line-height:1.16!important;
  font-weight:800!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#productList .product-row.v177-card .rx-badge{
  flex:0 0 auto!important;
}
#productList .product-row.v177-card .copyable-product-core,
#productList .product-row.v177-card .copy-line,
#productList .product-row.v177-card .product-props,
#productList .product-row.v177-card .product-property-line,
#productList .product-row.v177-card .property-text-line,
#productList .product-row.v177-card .product-links,
#productList .product-row.v177-card .product-origin{
  position:static!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  font-size:8.8px!important;
  line-height:1.18!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#productList .product-row.v177-card .product-links{
  margin-top:3px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}

/* BOTTOM WORKING STRIP: one isolated row */
#productList .product-row.v177-card > .product-card-bottom{
  grid-area:bottom!important;
  display:grid!important;
  grid-template-columns:minmax(74px,1fr) 86px minmax(70px,1fr)!important;
  align-items:center!important;
  gap:6px!important;
  position:static!important;
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:5px 0 0!important;
  border-top:1px solid #e7eef2!important;
  overflow:hidden!important;
}
#productList .product-row.v177-card .product-card-bottom > .product-price{
  position:static!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  overflow:visible!important;
}
#productList .product-row.v177-card .product-card-bottom > .product-price small{
  display:none!important;
}
#productList .product-row.v177-card .product-card-bottom > .product-price strong{
  display:block!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
#productList .product-row.v177-card .product-card-bottom > .product-price span{
  display:block!important;
  margin-top:3px!important;
  font-size:8.8px!important;
  line-height:1!important;
  white-space:nowrap!important;
  color:#71838d!important;
}

#productList .product-row.v177-card .product-card-bottom > .qty-stepper{
  position:static!important;
  display:grid!important;
  grid-template-columns:28px 30px 28px!important;
  width:86px!important;
  min-width:86px!important;
  max-width:86px!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
  justify-self:center!important;
  overflow:hidden!important;
}
#productList .product-row.v177-card .product-card-bottom > .qty-stepper button,
#productList .product-row.v177-card .product-card-bottom > .qty-stepper input{
  box-sizing:border-box!important;
  width:100%!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
  font-size:11px!important;
  line-height:30px!important;
}

#productList .product-row.v177-card .product-card-bottom > .product-total{
  position:static!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  justify-self:stretch!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:2px 5px!important;
  border-radius:5px!important;
  overflow:hidden!important;
  text-align:right!important;
  background:#eef7f3!important;
  border:1px solid #dcebe5!important;
}
#productList .product-row.v177-card .product-card-bottom > .product-total strong{
  font-size:11.5px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#productList .product-row.v177-card .product-card-bottom > .product-total span{
  margin-top:2px!important;
  font-size:8px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#productList .product-row.v177-card .product-card-bottom > .product-total.empty{
  background:transparent!important;
  border-color:transparent!important;
}
#productList .product-row.v177-card .product-card-bottom > .product-total.empty span{
  font-size:8.6px!important;
  color:#5f7784!important;
}

/* Handwritten quantity remains the only selected marker above the card. */
#productList .product-row.v177-card[data-qty]:not([data-qty="0"])::before{
  z-index:6!important;
}

/* No hover animation may move internal card geometry. */
#productList .product-row.v177-card:hover,
#productList .product-row.v177-card:focus-within{
  transform:none!important;
}
#productList .product-row.v177-card:hover .product-price,
#productList .product-row.v177-card:hover .product-total,
#productList .product-row.v177-card:hover .qty-stepper{
  transform:none!important;
}

/* Tablet: keep a robust 2/3 column grid; no compressed 4-up collision. */
@media(max-width:1180px){
  #productList.product-list{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:900px){
  #productList.product-list{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Mobile uses horizontal photo + text, with bottom strip isolated below. */
@media(max-width:620px){
  #productList.product-list{
    grid-template-columns:1fr!important;
  }
  #productList .product-row.v177-card{
    grid-template-columns:88px minmax(0,1fr)!important;
    grid-template-rows:auto 40px!important;
    grid-template-areas:
      "photo main"
      "bottom bottom"!important;
    min-height:142px!important;
    height:auto!important;
    gap:5px 8px!important;
    padding:8px!important;
  }
  #productList .product-row.v177-card > .product-photo{
    width:88px!important;
    height:88px!important;
    min-height:88px!important;
    max-height:88px!important;
  }
  #productList .product-row.v177-card > .product-photo img{
    max-height:84px!important;
    max-width:84px!important;
  }
  #productList .product-row.v177-card .product-title{
    font-size:12.5px!important;
  }
  #productList .product-row.v177-card > .product-card-bottom{
    grid-template-columns:minmax(72px,1fr) 92px minmax(76px,1fr)!important;
    height:40px!important;
  }
  #productList .product-row.v177-card .product-card-bottom > .qty-stepper{
    grid-template-columns:30px 32px 30px!important;
    width:92px!important;
    min-width:92px!important;
    max-width:92px!important;
  }
}


/* ===== v1.78 — stable compact card + visible order controls ===== */
#productList .product-row.v178-card{
  display:grid!important;
  grid-template-columns:minmax(74px,1fr) 86px minmax(72px,1fr)!important;
  grid-template-rows:76px minmax(92px,auto) 38px!important;
  grid-template-areas:
    "photo photo photo"
    "main main main"
    "price qty total"!important;
  height:auto!important;
  min-height:216px!important;
  max-height:none!important;
  align-content:start!important;
  gap:4px 6px!important;
  padding:8px 10px 7px!important;
  overflow:hidden!important;
  position:relative!important;
}
#productList .product-row.v178-card > .product-photo{
  grid-area:photo!important;
  position:relative!important;
  width:100%!important;
  height:76px!important;
  min-height:76px!important;
  max-height:76px!important;
  margin:0!important;
  padding:1px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  border:0!important;
  overflow:visible!important;
}
#productList .product-row.v178-card > .product-photo img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:84%!important;
  max-height:72px!important;
  object-fit:contain!important;
}
#productList .product-row.v178-card > .product-photo .form-badge{
  position:absolute!important;
  top:0!important;
  right:0!important;
  z-index:5!important;
  margin:0!important;
  padding:3px 7px!important;
  font-size:8.4px!important;
  line-height:1!important;
  border-radius:7px!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .product-main{
  grid-area:main!important;
  position:static!important;
  display:block!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
#productList .product-row.v178-card .product-title-line{
  display:flex!important;
  align-items:flex-start!important;
  gap:3px!important;
  margin:0 0 3px!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
#productList .product-row.v178-card .product-title{
  display:-webkit-box!important;
  max-width:calc(100% - 30px)!important;
  font-size:12.3px!important;
  line-height:1.15!important;
  font-weight:800!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
#productList .product-row.v178-card .copyable-product-core,
#productList .product-row.v178-card .copy-line,
#productList .product-row.v178-card .product-props,
#productList .product-row.v178-card .product-property-line,
#productList .product-row.v178-card .property-text-line,
#productList .product-row.v178-card .product-links,
#productList .product-row.v178-card .product-origin{
  position:static!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  font-size:8.7px!important;
  line-height:1.16!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#productList .product-row.v178-card .product-links{
  margin-top:2px!important;
  white-space:nowrap!important;
  font-weight:700!important;
}

/* Three direct children form one guaranteed bottom row. */
#productList .product-row.v178-card > .product-price,
#productList .product-row.v178-card > .qty-stepper,
#productList .product-row.v178-card > .product-total{
  position:static!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  transform:none!important;
  margin:0!important;
  align-self:end!important;
  z-index:3!important;
}
#productList .product-row.v178-card > .product-price{
  grid-area:price!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  height:34px!important;
  padding:0!important;
  text-align:left!important;
}
#productList .product-row.v178-card > .product-price small{display:none!important}
#productList .product-row.v178-card > .product-price strong{
  display:block!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .product-price span{
  display:block!important;
  margin-top:3px!important;
  font-size:8.7px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .qty-stepper{
  grid-area:qty!important;
  display:grid!important;
  grid-template-columns:28px 30px 28px!important;
  width:86px!important;
  min-width:86px!important;
  max-width:86px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  align-self:center!important;
  justify-self:center!important;
  overflow:hidden!important;
}
#productList .product-row.v178-card > .qty-stepper button,
#productList .product-row.v178-card > .qty-stepper input{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
  font-size:11px!important;
  line-height:30px!important;
}
#productList .product-row.v178-card > .product-total{
  grid-area:total!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-end!important;
  justify-self:stretch!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:34px!important;
  min-height:34px!important;
  padding:3px 6px!important;
  border-radius:5px!important;
  background:#eef7f3!important;
  border:1px solid #dcebe5!important;
  overflow:hidden!important;
}
#productList .product-row.v178-card > .product-total strong{
  font-size:11.5px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .product-total span{
  margin-top:2px!important;
  font-size:8px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .product-total.empty{
  background:transparent!important;
  border-color:transparent!important;
  align-items:flex-end!important;
}
#productList .product-row.v178-card > .product-total.empty span{
  font-size:8.7px!important;
  color:#567180!important;
}
#productList .product-row.v178-card[data-qty]:not([data-qty="0"])::before{
  z-index:6!important;
}
#productList .product-row.v178-card:hover,
#productList .product-row.v178-card:focus-within,
#productList .product-row.v178-card:hover > .product-price,
#productList .product-row.v178-card:hover > .qty-stepper,
#productList .product-row.v178-card:hover > .product-total{
  transform:none!important;
}

@media(max-width:1180px){
  #productList.product-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  #productList.product-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  #productList.product-list{grid-template-columns:1fr!important}
  #productList .product-row.v178-card{
    grid-template-columns:88px minmax(0,1fr) 92px!important;
    grid-template-rows:auto 38px!important;
    grid-template-areas:
      "photo main main"
      "price qty total"!important;
    min-height:138px!important;
    padding:8px!important;
    gap:5px 8px!important;
  }
  #productList .product-row.v178-card > .product-photo{
    width:88px!important;height:88px!important;min-height:88px!important;max-height:88px!important;
  }
  #productList .product-row.v178-card > .product-photo img{max-width:84px!important;max-height:84px!important}
  #productList .product-row.v178-card > .qty-stepper{width:92px!important;min-width:92px!important;max-width:92px!important;grid-template-columns:30px 32px 30px!important}
}


/* ===== v1.84 — clean rollback base: visible tabs, real category scene, no hover geometry ===== */

/* Category tabs: reserve enough vertical space and never let workspace cover them. */
.flow-nav{
  position:relative!important;
  z-index:30!important;
  height:78px!important;
  min-height:78px!important;
  grid-template-rows:31px 43px!important;
  overflow:visible!important;
  padding-bottom:0!important;
}
.flow-nav-main{
  height:31px!important;
  min-height:31px!important;
  overflow:visible!important;
}
.flow-nav-second-row{
  display:flex!important;
  align-items:flex-end!important;
  height:43px!important;
  min-height:43px!important;
  max-height:43px!important;
  overflow:visible!important;
  padding:0!important;
  position:relative!important;
  z-index:31!important;
}
.flow-nav-second-row .category-strip.notebook-index-tabs{
  display:flex!important;
  align-items:flex-end!important;
  width:100%!important;
  height:43px!important;
  min-height:43px!important;
  max-height:43px!important;
  padding:7px 0 0!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  position:relative!important;
  z-index:32!important;
}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip:hover,
.notebook-index-tab.category-chip.active{
  transform:none!important;
  margin:0!important;
  top:auto!important;
}
.notebook-index-tab.category-chip{
  height:33px!important;
  min-height:33px!important;
  line-height:31px!important;
}
.notebook-index-tab.category-chip.active{
  height:36px!important;
  min-height:36px!important;
  line-height:34px!important;
  z-index:33!important;
}
.workspace{
  position:relative!important;
  z-index:1!important;
}

/* One category photo, two crops: full soft scene in the top header, detail in the category strip. */
.app-header{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:linear-gradient(90deg,#fff 0%,#fff 48%,rgba(255,255,255,.86) 66%,rgba(255,255,255,.34) 100%)!important;
}
.app-header::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background-image:var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-size:auto 250px!important;
  background-position:right center!important;
  opacity:.32!important;
  filter:saturate(.92) contrast(.96)!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 48%,rgba(0,0,0,.18) 58%,rgba(0,0,0,.72) 78%,#000 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,transparent 48%,rgba(0,0,0,.18) 58%,rgba(0,0,0,.72) 78%,#000 100%)!important;
}
.app-header > *{position:relative!important;z-index:2!important}

#catalogHero.catalog-hero{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:linear-gradient(90deg,var(--hero-tint,#eef7ff) 0%,rgba(255,255,255,.98) 44%,rgba(255,255,255,.62) 70%,rgba(255,255,255,.12) 100%)!important;
}
#catalogHero.catalog-hero::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background-image:var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-size:760px auto!important;
  background-position:right 67%!important;
  opacity:.9!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 46%,rgba(0,0,0,.28) 58%,rgba(0,0,0,.84) 78%,#000 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,transparent 46%,rgba(0,0,0,.28) 58%,rgba(0,0,0,.84) 78%,#000 100%)!important;
}
#catalogHero.catalog-hero > *{position:relative!important;z-index:2!important}
#catalogHero .catalog-hero-photo{background:none!important;background-image:none!important}

/* Product cards: keep v1.78 DOM that is known to expose all controls. Hover only changes border. */
#productList .product-row.v178-card,
#productList .product-row.v178-card *,
#productList .product-row.v178-card::before,
#productList .product-row.v178-card::after{
  transition:none!important;
  animation:none!important;
}
#productList .product-row.v178-card,
#productList .product-row.v178-card:hover,
#productList .product-row.v178-card:focus-within,
#productList .product-row.v178-card.selected,
#productList .product-row.v178-card.selected:hover{
  transform:none!important;
  translate:none!important;
  scale:1!important;
  margin:0!important;
  padding:8px 10px 7px!important;
  min-height:216px!important;
  box-shadow:none!important;
}
@media(hover:hover) and (pointer:fine){
  #productList .product-row.v178-card:hover{border-color:#6da9cf!important;background:#fff!important}
}
#productList .product-row.v178-card > .product-price,
#productList .product-row.v178-card > .qty-stepper,
#productList .product-row.v178-card > .product-total,
#productList .product-row.v178-card:hover > .product-price,
#productList .product-row.v178-card:hover > .qty-stepper,
#productList .product-row.v178-card:hover > .product-total,
#productList .product-row.v178-card:focus-within > .product-price,
#productList .product-row.v178-card:focus-within > .qty-stepper,
#productList .product-row.v178-card:focus-within > .product-total{
  transform:none!important;
  translate:none!important;
  scale:1!important;
  margin:0!important;
  position:static!important;
}
#productList .product-row.v178-card > .qty-stepper,
#productList .product-row.v178-card > .qty-stepper:hover,
#productList .product-row.v178-card > .qty-stepper:focus-within{
  width:86px!important;
  min-width:86px!important;
  max-width:86px!important;
  height:30px!important;
  min-height:30px!important;
  box-shadow:none!important;
}
#productList .product-row.v178-card > .qty-stepper button,
#productList .product-row.v178-card > .qty-stepper input,
#productList .product-row.v178-card > .qty-stepper button:hover,
#productList .product-row.v178-card > .qty-stepper button:active,
#productList .product-row.v178-card > .qty-stepper button:focus-visible,
#productList .product-row.v178-card > .qty-stepper input:focus{
  transform:none!important;
  translate:none!important;
  scale:1!important;
  width:100%!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
  box-shadow:none!important;
  outline:none!important;
}
#productList .product-row.v178-card > .product-total{
  min-width:72px!important;
  overflow:hidden!important;
}

@media(max-width:760px){
  .flow-nav{height:75px!important;min-height:75px!important;grid-template-rows:31px 40px!important}
  .flow-nav-second-row,.flow-nav-second-row .category-strip.notebook-index-tabs{height:40px!important;min-height:40px!important;max-height:40px!important}
  .notebook-index-tab.category-chip{height:31px!important;min-height:31px!important;line-height:29px!important}
  .notebook-index-tab.category-chip.active{height:34px!important;min-height:34px!important;line-height:32px!important}
  .app-header::after{background-size:auto 190px!important;opacity:.25!important}
  #catalogHero.catalog-hero::after{background-size:560px auto!important}
}


/* ===== v1.85 — single category scene + neutral tabs + rigid card footer ===== */

/* Remove the second duplicated category image from the header. Keep the category scene only in the hero strip. */
.app-header{
  background:#fffdf9!important;
}
.app-header::after{
  display:none!important;
  content:none!important;
  background:none!important;
}

/* Neutral notebook tabs — no per-category colouring. */
.flow-nav{
  background:#f6ecd8!important;
  border-top:1px solid #dcccae!important;
  border-bottom:1px solid #dcccae!important;
}
.flow-nav-second-row .category-strip.notebook-index-tabs,
.category-strip.notebook-index-tabs{
  background:transparent!important;
}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip:hover,
.notebook-index-tab.category-chip:focus-visible{
  background:#f5efe4!important;
  border-color:#d6c8b1!important;
  color:#6a604f!important;
  box-shadow:none!important;
}
.notebook-index-tab.category-chip.active,
.notebook-index-tab.category-chip.active:hover,
.notebook-index-tab.category-chip.active:focus-visible{
  background:#fffdfa!important;
  border-color:#d6c8b1!important;
  color:#1f547d!important;
  box-shadow:none!important;
}
.notebook-index-tab.category-chip.active::after{
  background:#8bb9d7!important;
  opacity:1!important;
}

/* One clean category scene in the strip: light copy area on the left, full photo on the right. */
#catalogHero.catalog-hero,
#catalogHero.catalog-hero.tone-all,
#catalogHero.catalog-hero[class*="tone-"]{
  background:linear-gradient(90deg,#fffdf8 0%,#fffdf8 38%,rgba(255,255,255,.82) 58%,rgba(255,255,255,.12) 100%)!important;
  border:1px solid #cfe1ea!important;
}
#catalogHero.catalog-hero::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background-image:var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-size:auto 100%!important;
  background-position:right center!important;
  opacity:.62!important;
  filter:saturate(.95) contrast(.98)!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 42%,rgba(0,0,0,.10) 53%,rgba(0,0,0,.72) 75%,#000 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,transparent 42%,rgba(0,0,0,.10) 53%,rgba(0,0,0,.72) 75%,#000 100%)!important;
}
#catalogHero .catalog-hero-photo{display:none!important}
#catalogHero .catalog-hero-copy{position:relative!important;z-index:2!important}

/* Remove all internal highlight effects in the product card.
   Price / stepper / total reserve their own fixed slots and never move on hover. */
#productList .product-row.v178-card,
#productList .product-row.v178-card:hover,
#productList .product-row.v178-card:focus-within,
#productList .product-row.v178-card.selected,
#productList .product-row.v178-card.selected:hover{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 86px 98px!important;
  grid-template-rows:76px minmax(98px,auto) 40px!important;
  grid-template-areas:
    "photo photo photo"
    "main main main"
    "price qty total"!important;
  gap:6px 8px!important;
  padding:10px 12px 10px!important;
  min-height:228px!important;
  height:auto!important;
  background:#fff!important;
  border:1px solid #9dc4db!important;
  border-radius:18px!important;
  box-shadow:none!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
}
@media(hover:hover) and (pointer:fine){
  #productList .product-row.v178-card:hover{
    border-color:#78aeca!important;
    background:#fff!important;
  }
}
#productList .product-row.v178-card::before,
#productList .product-row.v178-card::after{
  display:none!important;
  content:none!important;
}
#productList .product-row.v178-card.selected > .product-main,
#productList .product-row.v178-card.selected > .product-price,
#productList .product-row.v178-card.selected > .qty-stepper,
#productList .product-row.v178-card.selected > .product-total,
#productList .product-row.v178-card.selected:hover > .product-main,
#productList .product-row.v178-card.selected:hover > .product-price,
#productList .product-row.v178-card.selected:hover > .qty-stepper,
#productList .product-row.v178-card.selected:hover > .product-total{
  background:transparent!important;
  border-radius:0!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
#productList .product-row.v178-card > .product-photo{
  grid-area:photo!important;
  width:100%!important;
  height:76px!important;
  min-height:76px!important;
  max-height:76px!important;
  margin:0!important;
  align-self:start!important;
}
#productList .product-row.v178-card > .product-main{
  grid-area:main!important;
  min-height:98px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
#productList .product-row.v178-card > .product-price,
#productList .product-row.v178-card > .qty-stepper,
#productList .product-row.v178-card > .product-total,
#productList .product-row.v178-card:hover > .product-price,
#productList .product-row.v178-card:hover > .qty-stepper,
#productList .product-row.v178-card:hover > .product-total,
#productList .product-row.v178-card:focus-within > .product-price,
#productList .product-row.v178-card:focus-within > .qty-stepper,
#productList .product-row.v178-card:focus-within > .product-total{
  position:static!important;
  margin:0!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  align-self:center!important;
}
#productList .product-row.v178-card > .product-price{
  grid-area:price!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
  height:40px!important;
}
#productList .product-row.v178-card > .product-price small{display:none!important}
#productList .product-row.v178-card > .product-price strong{
  font-size:14px!important;
  line-height:1.04!important;
  font-weight:850!important;
}
#productList .product-row.v178-card > .product-price span{
  margin-top:3px!important;
  font-size:8.9px!important;
  line-height:1!important;
}
#productList .product-row.v178-card > .qty-stepper,
#productList .product-row.v178-card > .qty-stepper:hover,
#productList .product-row.v178-card > .qty-stepper:focus-within{
  grid-area:qty!important;
  width:86px!important;
  min-width:86px!important;
  max-width:86px!important;
  height:32px!important;
  min-height:32px!important;
  justify-self:center!important;
  align-self:center!important;
  box-shadow:none!important;
}
#productList .product-row.v178-card > .qty-stepper button,
#productList .product-row.v178-card > .qty-stepper input,
#productList .product-row.v178-card > .qty-stepper button:hover,
#productList .product-row.v178-card > .qty-stepper button:active,
#productList .product-row.v178-card > .qty-stepper button:focus-visible,
#productList .product-row.v178-card > .qty-stepper input:focus{
  height:32px!important;
  min-height:32px!important;
  line-height:32px!important;
  box-shadow:none!important;
  transform:none!important;
}
#productList .product-row.v178-card > .product-total,
#productList .product-row.v178-card.selected > .product-total,
#productList .product-row.v178-card.selected:hover > .product-total{
  grid-area:total!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-end!important;
  justify-self:end!important;
  width:98px!important;
  min-width:98px!important;
  max-width:98px!important;
  height:40px!important;
  min-height:40px!important;
  padding:4px 8px!important;
  border:1px solid #e0ebe7!important;
  border-radius:8px!important;
  background:#f4f8f6!important;
  overflow:hidden!important;
}
#productList .product-row.v178-card > .product-total strong{
  font-size:12.5px!important;
  line-height:1.04!important;
  font-weight:820!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .product-total span{
  margin-top:3px!important;
  font-size:8.7px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .product-total.empty{
  opacity:1!important;
  background:#f8fbfa!important;
  border-color:#e6efea!important;
}
#productList .product-row.v178-card > .product-total.empty strong{
  color:#a9bbc1!important;
}
#productList .product-row.v178-card > .product-total.empty span{
  color:#738790!important;
}

@media(max-width:620px){
  #productList .product-row.v178-card,
  #productList .product-row.v178-card:hover,
  #productList .product-row.v178-card:focus-within,
  #productList .product-row.v178-card.selected,
  #productList .product-row.v178-card.selected:hover{
    grid-template-columns:88px minmax(0,1fr) 98px!important;
    grid-template-rows:minmax(88px,auto) 40px!important;
    grid-template-areas:
      "photo main main"
      "price qty total"!important;
    min-height:154px!important;
    padding:9px!important;
    gap:7px 8px!important;
  }
  #productList .product-row.v178-card > .product-photo{
    width:88px!important;
    height:88px!important;
    min-height:88px!important;
    max-height:88px!important;
  }
  #productList .product-row.v178-card > .product-photo img{
    max-width:84px!important;
    max-height:84px!important;
  }
  #productList .product-row.v178-card > .product-main{
    min-height:88px!important;
  }
}


/* ===== v1.86 — continuous single photo scene + locked card geometry ===== */

/* Continuous single category photo: detail in the strip + soft continuation in the upper-right header. */
.app-header,
.app-header:hover,
.app-header:focus-within{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:linear-gradient(90deg,#fffdfa 0%,#fffdfa 56%,rgba(255,255,255,.97) 68%,rgba(255,255,255,.90) 100%)!important;
}
.app-header::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background-image:var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-position:right -28px top 46%!important;
  background-size:auto 235px!important;
  opacity:.22!important;
  filter:saturate(.92) contrast(.98)!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 56%,rgba(0,0,0,.10) 67%,rgba(0,0,0,.62) 80%,#000 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,transparent 56%,rgba(0,0,0,.10) 67%,rgba(0,0,0,.62) 80%,#000 100%)!important;
}
.app-header > *{position:relative!important;z-index:2!important}

/* Neutral notebook tabs without per-category colouring. */
.flow-nav,
.flow-nav-second-row,
.flow-nav-second-row .category-strip.notebook-index-tabs{
  background:#f6ecd8!important;
}
.flow-nav{
  overflow:visible!important;
  min-height:80px!important;
  grid-template-rows:auto auto!important;
  border-top:1px solid #dcccae!important;
  border-bottom:1px solid #dcccae!important;
}
.flow-nav-main,
.flow-nav-second-row,
#categoryStrip.category-strip.notebook-index-tabs{
  overflow:visible!important;
}
.flow-nav-second-row{padding-top:0!important;padding-bottom:0!important;min-height:40px!important}
#categoryStrip.category-strip.notebook-index-tabs{
  display:flex!important;
  align-items:flex-end!important;
  gap:6px!important;
  min-height:40px!important;
  padding-top:5px!important;
}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip:hover,
.notebook-index-tab.category-chip:focus-visible{
  background:#f6f1e8!important;
  border-color:#d7cab3!important;
  color:#6a604f!important;
  box-shadow:none!important;
  transform:none!important;
}
.notebook-index-tab.category-chip.active,
.notebook-index-tab.category-chip.active:hover,
.notebook-index-tab.category-chip.active:focus-visible{
  background:#fffdfa!important;
  border-color:#d7cab3!important;
  color:#1d537d!important;
  box-shadow:none!important;
}
.notebook-index-tab.category-chip.active::after{background:#86b7d5!important;opacity:1!important}

/* Hero strip: keep the image in the strip as the sharp/detail crop from the same photo. */
#catalogHero.catalog-hero,
#catalogHero.catalog-hero:hover,
#catalogHero.catalog-hero:focus-within,
#catalogHero.catalog-hero[class*="tone-"]{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  min-height:94px!important;
  height:94px!important;
  margin:0 20px 10px!important;
  border:1px solid #cfe0ea!important;
  border-radius:16px!important;
  background:linear-gradient(90deg,#fffdfa 0%,#fffdfa 37%,rgba(255,255,255,.96) 51%,rgba(255,255,255,.42) 68%,rgba(255,255,255,.06) 100%)!important;
  box-shadow:none!important;
}
#catalogHero.catalog-hero::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background-image:var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-position:right center!important;
  background-size:auto 100%!important;
  opacity:.94!important;
  filter:saturate(1) contrast(1)!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 42%,rgba(0,0,0,.18) 54%,rgba(0,0,0,.82) 72%,#000 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,transparent 42%,rgba(0,0,0,.18) 54%,rgba(0,0,0,.82) 72%,#000 100%)!important;
}
#catalogHero .catalog-hero-photo{display:none!important}
#catalogHero .catalog-hero-copy{position:relative!important;z-index:2!important;padding:12px 22px 11px!important}
#catalogHero .catalog-hero-kicker{margin-bottom:4px!important;font-size:8.8px!important}
#catalogHero h1{margin:0 0 4px!important;font-size:22px!important;line-height:1.02!important}
#catalogHero p{font-size:11.5px!important;line-height:1.18!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* Absolutely no motion inside cards: fixed geometry and fixed slots for price/qty/total. */
#productList .product-row.v178-card,
#productList .product-row.v178-card *,
#productList .product-row.v178-card::before,
#productList .product-row.v178-card::after{
  transition:none!important;
  animation:none!important;
}
#productList .product-row.v178-card,
#productList .product-row.v178-card:hover,
#productList .product-row.v178-card:focus-within,
#productList .product-row.v178-card.selected,
#productList .product-row.v178-card.selected:hover,
#productList .product-row.v178-card.selected:focus-within{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 88px 98px!important;
  grid-template-rows:74px minmax(90px,1fr) 42px!important;
  grid-template-areas:
    "photo photo photo"
    "main main main"
    "price qty total"!important;
  gap:6px 8px!important;
  min-height:222px!important;
  height:auto!important;
  padding:10px 12px!important;
  margin:0!important;
  border:1px solid #9dc4db!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  overflow:hidden!important;
}
#productList .product-row.v178-card:hover{border-color:#8ab7d2!important}
#productList .product-row.v178-card::before,
#productList .product-row.v178-card::after{display:none!important;content:none!important}
#productList .product-row.v178-card[data-qty]:not([data-qty="0"])::before{
  display:block!important;
  content:"×" attr(data-qty)!important;
  position:absolute!important;
  left:10px!important;
  top:10px!important;
  z-index:5!important;
  color:#2a6f40!important;
  font:800 17px/1 "Segoe Print","Bradley Hand",cursive!important;
  text-shadow:0 1px 0 #fff!important;
  transform:rotate(-7deg)!important;
}
#productList .product-row.v178-card > .product-photo{
  grid-area:photo!important;
  width:100%!important;
  height:74px!important;
  min-height:74px!important;
  max-height:74px!important;
  margin:0!important;
  padding:4px!important;
  border-radius:12px!important;
  background:#fff!important;
  align-self:start!important;
  justify-self:stretch!important;
}
#productList .product-row.v178-card > .product-photo img{
  max-height:66px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}
#productList .product-row.v178-card > .product-photo .form-badge{top:0!important;right:0!important}
#productList .product-row.v178-card > .product-main,
#productList .product-row.v178-card:hover > .product-main,
#productList .product-row.v178-card.selected > .product-main{
  grid-area:main!important;
  min-height:90px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  transform:none!important;
}
#productList .product-row.v178-card .product-title-line{margin:0 0 4px!important}
#productList .product-row.v178-card .product-title{
  font-size:15px!important;
  line-height:1.16!important;
  max-height:2.35em!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}
#productList .product-row.v178-card .copyable-product-core,
#productList .product-row.v178-card .copy-line,
#productList .product-row.v178-card .product-props,
#productList .product-row.v178-card .product-property-line,
#productList .product-row.v178-card .property-text-line,
#productList .product-row.v178-card .product-links,
#productList .product-row.v178-card .product-origin{
  font-size:10.4px!important;
  line-height:1.18!important;
}
#productList .product-row.v178-card .product-links{margin-top:2px!important}
#productList .product-row.v178-card > .product-price,
#productList .product-row.v178-card > .qty-stepper,
#productList .product-row.v178-card > .product-total,
#productList .product-row.v178-card:hover > .product-price,
#productList .product-row.v178-card:hover > .qty-stepper,
#productList .product-row.v178-card:hover > .product-total,
#productList .product-row.v178-card:focus-within > .product-price,
#productList .product-row.v178-card:focus-within > .qty-stepper,
#productList .product-row.v178-card:focus-within > .product-total,
#productList .product-row.v178-card.selected > .product-price,
#productList .product-row.v178-card.selected > .qty-stepper,
#productList .product-row.v178-card.selected > .product-total,
#productList .product-row.v178-card.selected:hover > .product-price,
#productList .product-row.v178-card.selected:hover > .qty-stepper,
#productList .product-row.v178-card.selected:hover > .product-total{
  position:static!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}
#productList .product-row.v178-card > .product-price{
  grid-area:price!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
  height:42px!important;
}
#productList .product-row.v178-card > .product-price small{display:none!important}
#productList .product-row.v178-card > .product-price strong{
  font-size:15px!important;
  line-height:1.04!important;
  color:#153f5c!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .product-price span{
  margin-top:3px!important;
  font-size:9px!important;
  line-height:1!important;
  color:#647b89!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .qty-stepper,
#productList .product-row.v178-card > .qty-stepper:hover,
#productList .product-row.v178-card > .qty-stepper:focus-within,
#productList .product-row.v178-card.selected > .qty-stepper,
#productList .product-row.v178-card.selected:hover > .qty-stepper{
  grid-area:qty!important;
  justify-self:center!important;
  display:grid!important;
  grid-template-columns:28px 32px 28px!important;
  width:88px!important;
  min-width:88px!important;
  max-width:88px!important;
  height:32px!important;
  min-height:32px!important;
  border:1px solid #cddbe4!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fff!important;
}
#productList .product-row.v178-card > .qty-stepper button,
#productList .product-row.v178-card > .qty-stepper input,
#productList .product-row.v178-card > .qty-stepper button:hover,
#productList .product-row.v178-card > .qty-stepper button:active,
#productList .product-row.v178-card > .qty-stepper button:focus-visible,
#productList .product-row.v178-card > .qty-stepper input:focus{
  width:auto!important;
  min-width:0!important;
  height:32px!important;
  min-height:32px!important;
  line-height:32px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  outline:none!important;
  box-shadow:none!important;
  transform:none!important;
}
#productList .product-row.v178-card > .qty-stepper input{font-size:14px!important;font-weight:700!important}
#productList .product-row.v178-card > .product-total,
#productList .product-row.v178-card.selected > .product-total,
#productList .product-row.v178-card.selected:hover > .product-total{
  grid-area:total!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  justify-self:end!important;
  width:98px!important;
  min-width:98px!important;
  max-width:98px!important;
  height:42px!important;
  min-height:42px!important;
  padding:4px 8px!important;
  border:1px solid #e1ece7!important;
  border-radius:8px!important;
  background:#f4f8f6!important;
  overflow:hidden!important;
}
#productList .product-row.v178-card > .product-total strong{
  font-size:13px!important;
  line-height:1.04!important;
  color:#174d5c!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .product-total span{
  margin-top:3px!important;
  font-size:8.8px!important;
  line-height:1!important;
  color:#6e838c!important;
  white-space:nowrap!important;
}
#productList .product-row.v178-card > .product-total.empty{
  opacity:1!important;
  background:#f8fbfa!important;
  border-color:#e6efea!important;
}
#productList .product-row.v178-card > .product-total.empty strong{color:#acc0c4!important}
#productList .product-row.v178-card > .product-total.empty span{color:#778c95!important}

@media(max-width:900px){
  #catalogHero.catalog-hero{margin-left:12px!important;margin-right:12px!important}
}
@media(max-width:620px){
  .flow-nav{min-height:78px!important}
  .flow-nav-second-row{min-height:38px!important}
  #categoryStrip.category-strip.notebook-index-tabs{min-height:38px!important;padding-top:4px!important}
  .notebook-index-tab.category-chip{height:30px!important;min-height:30px!important;line-height:28px!important}
  .notebook-index-tab.category-chip.active{height:33px!important;min-height:33px!important;line-height:31px!important}
  .app-header::after{background-size:auto 165px!important;background-position:right -18px top 47%!important;opacity:.18!important}
  #catalogHero.catalog-hero,
  #catalogHero.catalog-hero:hover,
  #catalogHero.catalog-hero:focus-within{height:90px!important;min-height:90px!important;margin:0 8px 10px!important}
  #catalogHero.catalog-hero::after{background-size:auto 100%!important;background-position:right center!important}
  #productList .product-row.v178-card,
  #productList .product-row.v178-card:hover,
  #productList .product-row.v178-card:focus-within,
  #productList .product-row.v178-card.selected,
  #productList .product-row.v178-card.selected:hover{
    grid-template-columns:minmax(0,1fr) 88px 98px!important;
    grid-template-rows:68px minmax(82px,1fr) 40px!important;
    min-height:206px!important;
    padding:9px 10px!important;
  }
  #productList .product-row.v178-card > .product-photo{height:68px!important;min-height:68px!important;max-height:68px!important}
  #productList .product-row.v178-card > .product-photo img{max-height:60px!important}
  #productList .product-row.v178-card > .product-main{min-height:82px!important}
}


/* ==========================================================================
   V1.87 — CARD RESET + CONTINUOUS CATEGORY SCENE
   New v187-card component intentionally ignores all legacy selected/hover
   geometry. Inner coordinates are identical for qty=0 and qty>0.
   ========================================================================== */

/* ONE scene: soft full composition in the upper-right header. */
.app-header{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:#fff!important;
}
.app-header::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background-image:var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-size:auto 285px!important;
  background-position:right -24px center!important;
  opacity:.34!important;
  filter:saturate(.96) contrast(.98)!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 45%,rgba(0,0,0,.10) 55%,rgba(0,0,0,.52) 73%,#000 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,transparent 45%,rgba(0,0,0,.10) 55%,rgba(0,0,0,.52) 73%,#000 100%)!important;
}
.app-header > *{position:relative!important;z-index:2!important}

/* CATEGORY STRIP: the whole strip is the scene, not a white box + image tile. */
#catalogHero.catalog-hero,
#catalogHero.catalog-hero[class*="tone-"]{
  position:relative!important;
  display:block!important;
  height:96px!important;
  min-height:96px!important;
  margin:0 20px 10px!important;
  border:1px solid #cfe0ea!important;
  border-radius:16px!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:#fff!important;
  box-shadow:none!important;
}
#catalogHero.catalog-hero::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background-image:var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
  opacity:1!important;
}
#catalogHero.catalog-hero::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.95) 28%,
    rgba(255,255,255,.78) 45%,
    rgba(255,255,255,.38) 62%,
    rgba(255,255,255,.08) 78%,
    rgba(255,255,255,0) 100%)!important;
}
#catalogHero .catalog-hero-copy{
  position:relative!important;
  z-index:2!important;
  width:56%!important;
  padding:13px 22px 11px!important;
}
#catalogHero .catalog-hero-photo{display:none!important}
#catalogHero .catalog-hero-kicker{margin-bottom:4px!important;font-size:8.8px!important}
#catalogHero h1{margin:0 0 4px!important;font-size:22px!important;line-height:1.02!important}
#catalogHero p{margin:0!important;font-size:11.5px!important;line-height:1.18!important}

/* Tabs stay fully visible. Their colour can remain, but geometry never moves. */
.flow-nav{
  overflow:visible!important;
  min-height:80px!important;
  grid-template-rows:31px 44px!important;
}
.flow-nav-main{min-height:31px!important;overflow:visible!important}
.flow-nav-second-row{
  min-height:44px!important;
  height:44px!important;
  overflow:visible!important;
  align-items:flex-end!important;
}
#categoryStrip.category-strip.notebook-index-tabs{
  min-height:44px!important;
  height:44px!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  align-items:flex-end!important;
  padding-top:6px!important;
}
.notebook-index-tab.category-chip,
.notebook-index-tab.category-chip:hover,
.notebook-index-tab.category-chip:focus-visible,
.notebook-index-tab.category-chip.active,
.notebook-index-tab.category-chip.active:hover{
  transform:none!important;
  translate:none!important;
  scale:1!important;
}

/* PRODUCT CARD RESET */
#productList .product-row.v187-card,
#productList .product-row.v187-card:hover,
#productList .product-row.v187-card:focus-within,
#productList .product-row.v187-card.selected,
#productList .product-row.v187-card.selected:hover,
#productList .product-row.v187-card.selected:focus-within{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:76px minmax(96px,1fr) 46px!important;
  grid-template-areas:
    "photo"
    "main"
    "bottom"!important;
  width:auto!important;
  min-width:0!important;
  height:230px!important;
  min-height:230px!important;
  max-height:230px!important;
  margin:0!important;
  padding:10px 12px!important;
  gap:5px!important;
  position:relative!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #9dc4db!important;
  border-radius:18px!important;
  box-shadow:none!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  transition:none!important;
  animation:none!important;
}
#productList .product-row.v187-card:hover{
  border-color:#7fb0cf!important;
  background:#fff!important;
}
#productList .product-row.v187-card *,
#productList .product-row.v187-card *:hover,
#productList .product-row.v187-card *:focus,
#productList .product-row.v187-card *:active{
  transition:none!important;
  animation:none!important;
}

/* Handwritten selected marker does not participate in layout. */
#productList .product-row.v187-card::before,
#productList .product-row.v187-card::after{display:none!important;content:none!important}
#productList .product-row.v187-card[data-qty]:not([data-qty="0"])::before{
  display:block!important;
  content:"×" attr(data-qty)!important;
  position:absolute!important;
  left:10px!important;
  top:10px!important;
  z-index:10!important;
  color:#2a6f40!important;
  font:800 17px/1 "Segoe Print","Bradley Hand",cursive!important;
  transform:rotate(-7deg)!important;
  text-shadow:0 1px 0 #fff!important;
  pointer-events:none!important;
}

/* Photo slot */
#productList .product-row.v187-card > .product-photo{
  grid-area:photo!important;
  position:relative!important;
  width:100%!important;
  height:76px!important;
  min-height:76px!important;
  max-height:76px!important;
  margin:0!important;
  padding:2px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  transform:none!important;
}
#productList .product-row.v187-card > .product-photo img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:86%!important;
  max-height:72px!important;
  object-fit:contain!important;
  margin:auto!important;
  transform:none!important;
}
#productList .product-row.v187-card > .product-photo .form-badge{
  position:absolute!important;
  top:0!important;
  right:0!important;
  z-index:5!important;
  margin:0!important;
  white-space:nowrap!important;
}

/* Info slot */
#productList .product-row.v187-card > .product-main,
#productList .product-row.v187-card:hover > .product-main,
#productList .product-row.v187-card.selected > .product-main{
  grid-area:main!important;
  display:block!important;
  min-width:0!important;
  min-height:96px!important;
  max-height:96px!important;
  height:96px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:transparent!important;
  transform:none!important;
}
#productList .product-row.v187-card .product-title-line{
  display:flex!important;
  align-items:flex-start!important;
  flex-wrap:wrap!important;
  gap:3px!important;
  margin:0 0 3px!important;
  max-height:31px!important;
  overflow:hidden!important;
}
#productList .product-row.v187-card .product-title{
  display:-webkit-box!important;
  max-width:calc(100% - 30px)!important;
  font-size:12.8px!important;
  line-height:1.16!important;
  font-weight:800!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
#productList .product-row.v187-card .copyable-product-core,
#productList .product-row.v187-card .copy-line,
#productList .product-row.v187-card .product-props,
#productList .product-row.v187-card .product-property-line,
#productList .product-row.v187-card .property-text-line,
#productList .product-row.v187-card .product-links,
#productList .product-row.v187-card .product-origin{
  position:static!important;
  margin:0!important;
  padding:0!important;
  font-size:8.9px!important;
  line-height:1.16!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#productList .product-row.v187-card .product-links{
  margin-top:2px!important;
  white-space:nowrap!important;
  font-weight:700!important;
}

/* Fixed bottom coordinate system: ALWAYS the same 3 columns. */
#productList .product-row.v187-card > .product-card-fixed-bottom{
  grid-area:bottom!important;
  display:grid!important;
  grid-template-columns:minmax(72px,1fr) 88px 100px!important;
  grid-template-areas:"price qty total"!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  height:46px!important;
  min-height:46px!important;
  max-height:46px!important;
  margin:0!important;
  padding:5px 0 0!important;
  border-top:1px solid #e4edf2!important;
  overflow:hidden!important;
  background:#fff!important;
  transform:none!important;
}
#productList .product-row.v187-card .product-card-fixed-bottom > .product-price,
#productList .product-row.v187-card .product-card-fixed-bottom > .qty-stepper,
#productList .product-row.v187-card .product-card-fixed-bottom > .product-total,
#productList .product-row.v187-card:hover .product-card-fixed-bottom > .product-price,
#productList .product-row.v187-card:hover .product-card-fixed-bottom > .qty-stepper,
#productList .product-row.v187-card:hover .product-card-fixed-bottom > .product-total,
#productList .product-row.v187-card.selected .product-card-fixed-bottom > .product-price,
#productList .product-row.v187-card.selected .product-card-fixed-bottom > .qty-stepper,
#productList .product-row.v187-card.selected .product-card-fixed-bottom > .product-total{
  position:static!important;
  inset:auto!important;
  margin:0!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  align-self:center!important;
}

/* Unit price: fixed slot */
#productList .product-row.v187-card .product-card-fixed-bottom > .product-price{
  grid-area:price!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
  width:auto!important;
  height:38px!important;
  padding:0!important;
  background:transparent!important;
}
#productList .product-row.v187-card .product-card-fixed-bottom > .product-price small{display:none!important}
#productList .product-row.v187-card .product-card-fixed-bottom > .product-price strong{
  font-size:14px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#productList .product-row.v187-card .product-card-fixed-bottom > .product-price span{
  margin-top:3px!important;
  font-size:8.8px!important;
  line-height:1!important;
  white-space:nowrap!important;
}

/* Stepper: fixed slot, no hover geometry */
#productList .product-row.v187-card .product-card-fixed-bottom > .qty-stepper,
#productList .product-row.v187-card .product-card-fixed-bottom > .qty-stepper:hover,
#productList .product-row.v187-card .product-card-fixed-bottom > .qty-stepper:focus-within{
  grid-area:qty!important;
  display:grid!important;
  grid-template-columns:28px 32px 28px!important;
  width:88px!important;
  min-width:88px!important;
  max-width:88px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #cddbe4!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:none!important;
}
#productList .product-row.v187-card .qty-stepper button,
#productList .product-row.v187-card .qty-stepper input,
#productList .product-row.v187-card .qty-stepper button:hover,
#productList .product-row.v187-card .qty-stepper button:active,
#productList .product-row.v187-card .qty-stepper button:focus-visible,
#productList .product-row.v187-card .qty-stepper input:focus{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  transform:none!important;
  line-height:32px!important;
}

/* Total: fixed slot ALWAYS reserved, empty or selected. */
#productList .product-row.v187-card .product-card-fixed-bottom > .product-total,
#productList .product-row.v187-card .product-card-fixed-bottom > .product-total.empty,
#productList .product-row.v187-card.selected .product-card-fixed-bottom > .product-total,
#productList .product-row.v187-card.selected:hover .product-card-fixed-bottom > .product-total{
  grid-area:total!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  justify-self:end!important;
  width:100px!important;
  min-width:100px!important;
  max-width:100px!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  margin:0!important;
  padding:4px 8px!important;
  border:1px solid #e1ece7!important;
  border-radius:8px!important;
  background:#f5f8f7!important;
  overflow:hidden!important;
  opacity:1!important;
  box-shadow:none!important;
}
#productList .product-row.v187-card .product-total strong{
  font-size:12.5px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#productList .product-row.v187-card .product-total span{
  margin-top:3px!important;
  font-size:8.5px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#productList .product-row.v187-card .product-total.empty strong{color:#adc0c5!important}
#productList .product-row.v187-card .product-total.empty span{color:#778b94!important}

/* No hidden alternate coordinate system from legacy selected state. */
#productList .product-row.v187-card.selected > .product-price,
#productList .product-row.v187-card.selected > .qty-stepper,
#productList .product-row.v187-card.selected > .product-total{
  all:unset!important;
}

/* Responsive: same concept, fewer columns in the shelf. */
@media(max-width:1180px){
  #productList.product-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  #productList.product-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #catalogHero.catalog-hero{margin-left:12px!important;margin-right:12px!important}
}
@media(max-width:620px){
  #productList.product-list{grid-template-columns:1fr!important}
  .app-header::after{background-size:auto 190px!important;opacity:.26!important}
  #catalogHero.catalog-hero{height:90px!important;min-height:90px!important;margin:0 8px 10px!important}
  #catalogHero .catalog-hero-copy{width:66%!important;padding:11px 13px!important}
  #productList .product-row.v187-card,
  #productList .product-row.v187-card:hover,
  #productList .product-row.v187-card.selected{
    height:214px!important;
    min-height:214px!important;
    max-height:214px!important;
    grid-template-rows:68px 91px 46px!important;
    padding:9px 10px!important;
  }
  #productList .product-row.v187-card > .product-photo{height:68px!important;min-height:68px!important;max-height:68px!important}
  #productList .product-row.v187-card > .product-photo img{max-height:62px!important}
  #productList .product-row.v187-card > .product-main{height:91px!important;min-height:91px!important;max-height:91px!important}
}


/* ==========================================================================
   V1.88 — hero diagonal / stable card fit / calmer search / quick view
   ========================================================================== */

/* Search remains primary, but no heavy blue halo. */
.search-wrap{
  border:1px solid #b8d5e7!important;
  box-shadow:0 0 0 1px rgba(71,145,190,.08)!important;
}
.search-wrap:focus-within{
  border-color:#87bad8!important;
  box-shadow:0 0 0 2px rgba(71,145,190,.08)!important;
}

/* Hero: clean white title zone with a diagonal cut into the photo. */
#catalogHero.catalog-hero,
#catalogHero.catalog-hero[class*="tone-"]{
  position:relative!important;
  height:96px!important;
  min-height:96px!important;
  overflow:hidden!important;
  background-image:var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
}
#catalogHero.catalog-hero::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:#fff!important;
  clip-path:polygon(0 0,47% 0,58% 100%,0 100%)!important;
}
#catalogHero.catalog-hero::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:linear-gradient(90deg,rgba(255,255,255,0) 48%,rgba(255,255,255,.08) 64%,rgba(255,255,255,0) 100%)!important;
  pointer-events:none!important;
}
#catalogHero .catalog-hero-copy{
  position:relative!important;
  z-index:2!important;
  width:48%!important;
  padding:13px 22px 11px!important;
}
#catalogHero .catalog-hero-photo{display:none!important}

/* Header carries a larger, softer view of the SAME category image. */
.app-header::after{
  background-image:var(--rxde-category-image)!important;
  background-size:auto 300px!important;
  background-position:right -36px center!important;
  opacity:.30!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 48%,rgba(0,0,0,.08) 58%,rgba(0,0,0,.55) 77%,#000 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,transparent 48%,rgba(0,0,0,.08) 58%,rgba(0,0,0,.55) 77%,#000 100%)!important;
}

/* V1.88 product card: fit the math. The footer is NEVER clipped. */
#productList .product-row.v187-card,
#productList .product-row.v187-card:hover,
#productList .product-row.v187-card:focus-within,
#productList .product-row.v187-card.selected,
#productList .product-row.v187-card.selected:hover{
  box-sizing:border-box!important;
  grid-template-rows:70px 92px 44px!important;
  height:240px!important;
  min-height:240px!important;
  max-height:240px!important;
  padding:10px 11px!important;
  gap:6px!important;
}
#productList .product-row.v187-card > .product-photo{
  height:70px!important;
  min-height:70px!important;
  max-height:70px!important;
}
#productList .product-row.v187-card > .product-photo img{max-height:66px!important}
#productList .product-row.v187-card > .product-main{
  height:92px!important;
  min-height:92px!important;
  max-height:92px!important;
}
#productList .product-row.v187-card > .product-card-fixed-bottom{
  box-sizing:border-box!important;
  grid-template-columns:minmax(64px,1fr) 84px 92px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  gap:6px!important;
  padding:5px 0 0!important;
}
#productList .product-row.v187-card .product-card-fixed-bottom > .qty-stepper,
#productList .product-row.v187-card .product-card-fixed-bottom > .qty-stepper:hover,
#productList .product-row.v187-card .product-card-fixed-bottom > .qty-stepper:focus-within{
  grid-template-columns:27px 30px 27px!important;
  width:84px!important;
  min-width:84px!important;
  max-width:84px!important;
}
#productList .product-row.v187-card .product-card-fixed-bottom > .product-total,
#productList .product-row.v187-card .product-card-fixed-bottom > .product-total.empty{
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
}
#productList .product-row.v187-card .product-title{font-size:12.5px!important}

/* Quick view */
.product-quick-backdrop{
  position:fixed;inset:0;z-index:9000;
  display:flex;align-items:center;justify-content:center;
  padding:24px;background:rgba(30,43,50,.54);backdrop-filter:blur(4px);
}
.product-quick-backdrop[hidden]{display:none!important}
.product-quick-sheet{
  position:relative;width:min(820px,94vw);max-height:88vh;overflow:auto;
  border:1px solid #c9dce7;border-radius:22px;background:#fff;
  box-shadow:0 24px 70px rgba(24,48,63,.24);padding:22px;
}
.product-quick-close{
  position:absolute;right:14px;top:12px;z-index:2;
  width:36px;height:36px;border:0;border-radius:50%;background:#f3f7f9;
  color:#4f6571;font-size:25px;line-height:1;cursor:pointer;
}
#productQuickBody{
  display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;
}
.pq-photo{
  min-height:260px;border:1px solid #e0e9ee;border-radius:18px;
  display:flex;align-items:center;justify-content:center;background:#fff;padding:16px;
}
.pq-photo img{max-width:100%;max-height:300px;object-fit:contain}
.pq-title-row{display:flex;align-items:flex-start;gap:8px;padding-right:42px}
.pq-title-row h2{margin:0;font-size:24px;line-height:1.12;color:#173d56}
.pq-meta{margin-top:14px;font-size:13px;line-height:1.45;color:#465f6d}
.pq-actions{margin-top:12px}
.pq-bottom{
  grid-column:1/-1;display:grid;grid-template-columns:1fr 110px 150px;
  align-items:center;gap:12px;border-top:1px solid #e2eaee;padding-top:14px;
}
.pq-price,.pq-total{display:flex;flex-direction:column}
.pq-price strong,.pq-total strong{font-size:22px;color:#153f5c}
.pq-price span,.pq-total span{font-size:12px;color:#6d808b;margin-top:3px}
.pq-total{align-items:flex-end}
.pq-stepper{justify-self:center!important}
@media(max-width:680px){
  .product-quick-backdrop{padding:8px}
  .product-quick-sheet{width:100%;max-height:94vh;border-radius:16px;padding:14px}
  #productQuickBody{grid-template-columns:110px minmax(0,1fr);gap:12px}
  .pq-photo{min-height:120px;padding:8px}
  .pq-title-row h2{font-size:17px}
  .pq-meta{font-size:11px;margin-top:8px}
  .pq-bottom{grid-template-columns:1fr 96px 108px;gap:6px}
  .pq-price strong,.pq-total strong{font-size:16px}
}


/* ==========================================================================
   V1.89 — soft hero transition / small plane to cart / neutral zero-total
   ========================================================================== */

/* Soften the top-right category scene in the header and show a fuller image. */
.app-header::after{
  background-image:var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-size:auto 355px!important;
  background-position:right -18px center!important;
  opacity:.29!important;
  filter:saturate(1.03) contrast(1.03)!important;
  -webkit-mask-image:linear-gradient(90deg,
    transparent 0%,
    transparent 41%,
    rgba(0,0,0,.05) 49%,
    rgba(0,0,0,.16) 57%,
    rgba(0,0,0,.38) 67%,
    rgba(0,0,0,.70) 79%,
    #000 100%)!important;
  mask-image:linear-gradient(90deg,
    transparent 0%,
    transparent 41%,
    rgba(0,0,0,.05) 49%,
    rgba(0,0,0,.16) 57%,
    rgba(0,0,0,.38) 67%,
    rgba(0,0,0,.70) 79%,
    #000 100%)!important;
}

/* Main category strip: full-width image with a soft white fade on the left.
   No hard diagonal line. */
#catalogHero.catalog-hero{
  background:#fff!important;
  position:relative!important;
  overflow:hidden!important;
}
#catalogHero.catalog-hero::before{
  content:""!important;
  position:absolute!important;
  inset:-16px!important;
  z-index:1!important;
  background:linear-gradient(100deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,1) 32%,
    rgba(255,255,255,.98) 40%,
    rgba(255,255,255,.92) 48%,
    rgba(255,255,255,.72) 55%,
    rgba(255,255,255,.36) 63%,
    rgba(255,255,255,.08) 70%,
    rgba(255,255,255,0) 76%)!important;
  filter:blur(12px)!important;
  transform:translateX(-4px)!important;
  pointer-events:none!important;
}
#catalogHero.catalog-hero::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background-image:var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-size:100% auto!important;
  background-position:right center!important;
  opacity:1!important;
  filter:saturate(1.05) contrast(1.04)!important;
  pointer-events:none!important;
}
#catalogHero.catalog-hero > *{
  position:relative!important;
  z-index:2!important;
}
#catalogHero .catalog-hero-copy{
  width:47%!important;
  max-width:47%!important;
  padding:13px 22px 12px!important;
}
#catalogHero .catalog-hero-photo{
  display:none!important;
}

/* Slightly more presence/detail in the visible category image. */
#catalogHero h1{letter-spacing:-.02em!important}
#catalogHero p{font-size:12px!important}

/* Zero total should stay neutral, not green. */
#productList .product-row .product-total.empty,
#productList .product-row .product-total.empty:hover,
#productList .product-row .product-total.empty:focus-within{
  background:#f7fafb!important;
  border:1px solid #e4ebef!important;
  box-shadow:none!important;
}
#productList .product-row .product-total.empty strong,
#productList .product-row .product-total.empty span{
  color:#9aa9b2!important;
}
#productList .product-row .product-total.empty strong{
  font-weight:700!important;
}

/* Small plane animation */
#rx-plane-layer{
  position:fixed!important;
  inset:0!important;
  pointer-events:none!important;
  z-index:9999!important;
  overflow:hidden!important;
}
.rx-plane-trail,
.rx-plane-flight{
  position:fixed!important;
  left:0!important;
  top:0!important;
  pointer-events:none!important;
}
.rx-plane-flight{
  width:26px!important;
  height:26px!important;
  margin-left:-13px!important;
  margin-top:-13px!important;
  filter:drop-shadow(0 3px 8px rgba(51,118,167,.22))!important;
  transform-origin:50% 50%!important;
}
.rx-plane-flight svg{
  width:100%!important;
  height:100%!important;
  display:block!important;
}
.rx-plane-dot{
  position:fixed!important;
  width:6px!important;
  height:6px!important;
  margin-left:-3px!important;
  margin-top:-3px!important;
  border-radius:50%!important;
  background:rgba(78,151,205,.70)!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.70) inset!important;
  animation:rxPlaneDotFade 900ms ease-out forwards!important;
}
.rx-plane-dot.small{
  width:4px!important;
  height:4px!important;
  margin-left:-2px!important;
  margin-top:-2px!important;
  opacity:.8!important;
}
@keyframes rxPlaneDotFade{
  0%{transform:scale(.25);opacity:0}
  18%{transform:scale(1);opacity:.92}
  100%{transform:scale(.35);opacity:0}
}


/* ==========================================================================
   V1.99 — final selected/zero state + true dash trail
   ========================================================================== */

/* No visible "sum" box at qty=0, but keep the exact reserved slot. */
#productList .product-row.v187-card .product-total.empty,
#productList .product-row.v187-card:hover .product-total.empty,
#productList .product-row.v187-card:focus-within .product-total.empty{
  visibility:hidden!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

/* qty>0 is the selection state: subtle blue card, no green fill. */
#productList .product-row.v187-card.selected,
#productList .product-row.v187-card.selected:hover,
#productList .product-row.v187-card.selected:focus-within{
  background:#f8fcff!important;
  border-color:#69a9d1!important;
  box-shadow:0 0 0 1px rgba(80,157,205,.06)!important;
}
#productList .product-row.v187-card.selected .product-total{
  background:#eef7fc!important;
  border-color:#cfe3ef!important;
  color:#174d68!important;
}

/* Keep every selected-state coordinate identical. */
#productList .product-row.v187-card.selected .product-card-fixed-bottom,
#productList .product-row.v187-card.selected:hover .product-card-fixed-bottom,
#productList .product-row.v187-card.selected:focus-within .product-card-fixed-bottom{
  grid-template-columns:minmax(64px,1fr) 84px 92px!important;
  gap:6px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:5px 0 0!important;
  margin:0!important;
  transform:none!important;
}

/* Quick-view zero total is invisible but still occupies the grid cell. */
.pq-total.empty{visibility:hidden!important}

/* Softer transition: no sharp white/photo boundary. */
#catalogHero.catalog-hero::before{
  clip-path:none!important;
  background:linear-gradient(100deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,1) 31%,
    rgba(255,255,255,.99) 38%,
    rgba(255,255,255,.95) 45%,
    rgba(255,255,255,.84) 51%,
    rgba(255,255,255,.65) 57%,
    rgba(255,255,255,.40) 63%,
    rgba(255,255,255,.18) 68%,
    rgba(255,255,255,.05) 73%,
    rgba(255,255,255,0) 78%)!important;
  filter:blur(13px)!important;
}
#catalogHero.catalog-hero::after{
  background-size:cover!important;
  background-position:right 56%!important;
  filter:saturate(1.08) contrast(1.06)!important;
}
.app-header::after{
  background-size:auto 370px!important;
  background-position:right -18px center!important;
  opacity:.31!important;
}

/* Actual residual airplane trail: short blue dashes, not dots/stars.
   Each dash is inserted only after the plane has passed its coordinate. */
#rx-plane-layer{
  position:fixed!important;
  inset:0!important;
  pointer-events:none!important;
  z-index:9999!important;
  overflow:hidden!important;
}
.rx-plane-flight{
  position:fixed!important;
  left:0!important;
  top:0!important;
  width:27px!important;
  height:27px!important;
  pointer-events:none!important;
  filter:drop-shadow(0 3px 8px rgba(46,118,169,.24))!important;
  will-change:left,top,transform,opacity!important;
}
.rx-plane-flight svg{display:block!important;width:100%!important;height:100%!important}
.rx-plane-dash{
  position:fixed!important;
  display:block!important;
  width:11px!important;
  height:2px!important;
  border-radius:999px!important;
  background:#559bc9!important;
  opacity:.72!important;
  pointer-events:none!important;
  transform-origin:center!important;
  transition:opacity .68s ease,filter .68s ease,transform .68s ease!important;
  box-shadow:0 0 0 .35px rgba(255,255,255,.55)!important;
}
.rx-plane-dash.is-fading{
  opacity:0!important;
  filter:blur(1.2px)!important;
}
@media (prefers-reduced-motion: reduce){
  .rx-plane-flight,.rx-plane-dash{display:none!important}
}


/* ==========================================================================
   V1.99 — airplane instead of square + related floating mini-cards
   ========================================================================== */
.order-fly-ghost.order-plane-flight{
  position:fixed!important;
  z-index:30001!important;
  width:30px!important;height:30px!important;
  pointer-events:none!important;
  opacity:1!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  transform:translate(-50%,-50%) scale(1) rotate(0deg);
  transform-origin:center;
  will-change:left,top,transform,opacity;
  filter:drop-shadow(0 4px 10px rgba(46,118,169,.22))!important;
}
.flight-plane-core{position:absolute;inset:0;display:block}
.flight-plane-core svg{display:block;width:100%;height:100%}

/* Kill any residual trail/dash visuals from v1.90. */
#rx-plane-layer,.rx-plane-flight,.rx-plane-dash{display:none!important}

/* Clear separation between stepper and total in product cards. */






/* Quick view related floating mini-cards */
.product-quick-sheet{max-width:1040px!important}
#productQuickBody{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
#productQuickBody .pq-bottom{grid-column:1 / -1!important}
#productQuickBody .pq-related-shell{grid-column:1 / -1!important;margin-top:8px!important}
.pq-related-shell{
  background:linear-gradient(180deg,#fbfdfe 0%,#f5fafc 100%)!important;
  border:1px solid #d7e7ef!important;
  border-radius:18px!important;
  padding:14px 14px 12px!important;
  box-shadow:0 14px 34px rgba(40,84,112,.08)!important;
}
.pq-related-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:14px!important;margin-bottom:10px!important}
.pq-related-head strong{display:block!important;font-size:16px!important;color:#173d59!important}
.pq-related-head span{display:block!important;font-size:12px!important;color:#6d818e!important;margin-top:2px!important}
.pq-related-nav{display:flex!important;gap:8px!important;flex:0 0 auto!important}
.pq-related-nav button{
  width:34px!important;height:34px!important;border-radius:10px!important;border:1px solid #cfe0e9!important;
  background:#fff!important;color:#24597c!important;font-size:24px!important;line-height:1!important;cursor:pointer!important;
}
.pq-related-list{display:flex!important;gap:12px!important;overflow-x:auto!important;padding:2px 2px 6px!important;scrollbar-width:thin}
.pq-related-card{
  flex:0 0 280px!important;display:grid!important;grid-template-columns:74px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;
  border:1px solid #d6e6ef!important;border-radius:16px!important;background:#fff!important;padding:10px 12px!important;
  box-shadow:0 10px 24px rgba(38,88,120,.08)!important;cursor:pointer!important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease!important;
}
.pq-related-card:hover{transform:translateY(-2px)!important;box-shadow:0 14px 28px rgba(38,88,120,.12)!important;border-color:#b7d0df!important}
.pq-related-card.selected{background:#f7fbfe!important;border-color:#8bb7d0!important}
.pq-related-thumb{width:74px!important;height:74px!important;border-radius:14px!important;overflow:hidden!important;background:#f6f8f9!important;display:flex!important;align-items:center!important;justify-content:center!important}
.pq-related-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.pq-related-thumb .rxde-placeholder{width:100%!important;height:100%!important}
.pq-related-info{min-width:0!important;display:flex!important;flex-direction:column!important;gap:4px!important}
.pq-related-info strong{font-size:14px!important;line-height:1.25!important;color:#183a54!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.pq-related-info span,.pq-related-info small{color:#647885!important;font-size:12px!important;line-height:1.25!important}
.pq-related-tail{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:2px!important;white-space:nowrap!important}
.pq-related-tail b{font-size:15px!important;color:#184565!important}
.pq-related-tail small{font-size:12px!important;color:#6b7e89!important}
.pq-related-tail em{font-style:normal!important;font-size:11px!important;color:#2f6e97!important;background:#eef7fc!important;border-radius:999px!important;padding:3px 7px!important;margin-top:3px!important}
@media (max-width:860px){
  #productQuickBody{grid-template-columns:1fr!important}
  .pq-related-card{flex-basis:250px!important;grid-template-columns:62px minmax(0,1fr)!important}
  .pq-related-tail{grid-column:2!important;align-items:flex-start!important}
  .pq-related-thumb{width:62px!important;height:62px!important}
}


/* ==========================================================================
   V1.99 — cargo plane + softer hero split + wider bottom spacing
   ========================================================================== */
.app-header .brand-copy span,
.head-title span{max-width:560px!important;line-height:1.35!important}

.order-fly-ghost.order-plane-flight{
  width:38px!important;height:30px!important;
  filter:drop-shadow(0 5px 12px rgba(52,114,156,.18))!important;
}
.flight-plane-core svg{overflow:visible!important}






.app-header::after{
  background-size:auto 400px!important;
  background-position:right -8px top -10px!important;
  opacity:.24!important;
  filter:saturate(1.04) contrast(1.02)!important;
  -webkit-mask-image:linear-gradient(90deg,
    transparent 0%,
    transparent 44%,
    rgba(0,0,0,.03) 51%,
    rgba(0,0,0,.12) 58%,
    rgba(0,0,0,.30) 68%,
    rgba(0,0,0,.58) 79%,
    #000 100%)!important;
  mask-image:linear-gradient(90deg,
    transparent 0%,
    transparent 44%,
    rgba(0,0,0,.03) 51%,
    rgba(0,0,0,.12) 58%,
    rgba(0,0,0,.30) 68%,
    rgba(0,0,0,.58) 79%,
    #000 100%)!important;
}
#catalogHero.catalog-hero,
#catalogHero.catalog-hero[class*="tone-"]{
  background:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.985) 27%,rgba(255,255,255,.95) 40%,rgba(255,255,255,.80) 50%,rgba(255,255,255,.44) 64%,rgba(255,255,255,.12) 77%,rgba(255,255,255,0) 100%)!important;
}
#catalogHero.catalog-hero::before{
  inset:-24px -12px -18px -18px!important;
  background:linear-gradient(96deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,1) 30%,
    rgba(255,255,255,.985) 38%,
    rgba(255,255,255,.93) 46%,
    rgba(255,255,255,.72) 56%,
    rgba(255,255,255,.42) 64%,
    rgba(255,255,255,.14) 72%,
    rgba(255,255,255,0) 80%)!important;
  filter:blur(16px)!important;
  transform:translateX(-2px)!important;
}
#catalogHero.catalog-hero::after{
  background-size:cover!important;
  background-position:right center!important;
  opacity:1!important;
  filter:saturate(1.06) contrast(1.03)!important;
}
#catalogHero .catalog-hero-copy{width:49%!important;max-width:49%!important;padding:13px 24px 12px!important}
#catalogHero h1{margin-bottom:4px!important}
#catalogHero p{font-size:12px!important;line-height:1.33!important}
#catalogHero.tone-allergy::after{background-position:right 52% center!important}
#catalogHero.tone-mouth::after{background-position:right 54% center!important}
#catalogHero.tone-eyes::after{background-position:right 50% center!important}
#catalogHero.tone-pets::after{background-position:right 51% center!important}



/* V1.99 — cartoon cargo-plane outline */
.order-fly-ghost.order-plane-flight{
  width:48px!important;
  height:32px!important;
  filter:drop-shadow(0 5px 11px rgba(47,111,154,.22))!important;
}
.flight-plane-core svg{display:block!important;width:100%!important;height:100%!important;overflow:visible!important}


/* V1.99 — simple unmistakable 2D airplane */
.order-fly-ghost.order-plane-flight{
  width:44px!important;
  height:28px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  filter:drop-shadow(0 4px 8px rgba(36,95,136,.20))!important;
}
.flight-plane-core{position:absolute!important;inset:0!important;display:block!important}
.flight-plane-core svg{display:block!important;width:100%!important;height:100%!important;overflow:visible!important}
/* Never rotate the plane: it always reads as a plane at a glance. */
.order-fly-ghost.order-plane-flight,
.order-fly-ghost.order-plane-flight.reverse-flight{transform-origin:center!important}


/* V1.99 — unmistakable simple 2D plane, nose always points to destination */
.order-fly-ghost.order-plane-flight{
  width:44px!important;
  height:30px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  filter:drop-shadow(0 3px 7px rgba(36,95,136,.18))!important;
  transform-origin:center center!important;
}
.order-fly-ghost.order-plane-flight.reverse-flight{transform-origin:center center!important}
.flight-plane-core,.flight-plane-core svg{display:block!important;width:100%!important;height:100%!important;overflow:visible!important}

/* V1.99 — keep flight layer visibly above the page UI */
#rx-flight-layer{z-index:60000!important;pointer-events:none!important}
.order-fly-ghost.order-plane-flight{z-index:60001!important}


/* V1.99 — single floating quick-view and slower cartoon cargo plane */
body.quickview-open .product-quick-backdrop{
  background:rgba(23,38,49,.64)!important;
  backdrop-filter:blur(8px)!important;
}
.quickview-source-hidden{
  visibility:hidden!important;
}
.order-fly-ghost.order-plane-flight{
  width:42px!important;
  height:30px!important;
  filter:drop-shadow(0 5px 12px rgba(46,118,169,.24))!important;
}
.flight-plane-core svg{overflow:visible!important}


/* V1.99 — exact outline airliner asset for flight animation */
.order-fly-ghost.order-plane-flight{
  width:58px!important;
  height:38px!important;
  filter:drop-shadow(0 3px 7px rgba(22,57,82,.20))!important;
}
.order-fly-ghost.order-plane-flight .flight-plane-core{
  position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
}
.order-fly-ghost.order-plane-flight .flight-plane-core img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  image-rendering:auto!important;
}


/* ==========================================================================
   V1.99 — separate floating related cards + correct plane return orientation
   ========================================================================== */

/* Main quick-view stays one independent window. */
.product-quick-backdrop{
  align-items:center!important;
  justify-content:center!important;
}
.product-quick-sheet{
  position:relative!important;
  z-index:2!important;
}

/* "Похожее" is a separate floating stack, not part of the main white window. */
.product-quick-related-float{
  position:absolute!important;
  z-index:3!important;
  left:calc(50% + 535px)!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:260px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.product-quick-related-float[hidden]{display:none!important}

.pq-float-related{
  display:grid!important;
  grid-template-columns:66px minmax(0,1fr)!important;
  gap:11px!important;
  align-items:center!important;
  min-height:88px!important;
  padding:10px 12px!important;
  border:1px solid rgba(189,211,223,.95)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 16px 36px rgba(19,54,78,.17)!important;
  cursor:pointer!important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease!important;
}
.pq-float-related:hover{
  transform:translateX(3px)!important;
  box-shadow:0 20px 42px rgba(19,54,78,.22)!important;
  border-color:#9fc2d5!important;
}
.pq-float-related.selected{
  background:#f4faff!important;
  border-color:#79acc8!important;
}
.pq-float-related-thumb{
  width:66px!important;
  height:66px!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.pq-float-related-thumb img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
}
.pq-float-related-info{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
}
.pq-float-related-info strong{
  font-size:13px!important;
  line-height:1.22!important;
  color:#173d56!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.pq-float-related-info span{
  font-size:11.5px!important;
  color:#607987!important;
}
.pq-float-related-info small{
  font-size:11.5px!important;
  color:#24597c!important;
  font-weight:700!important;
}

/* Old in-window related block must never show in this concept. */
#productQuickBody .pq-related-shell{display:none!important}

/* Restore the source catalogue card behind the overlay: only one floating card is visible,
   but the catalogue itself remains intact under the dimmed backdrop. */
.quickview-source-hidden{
  visibility:visible!important;
}

/* Direction is controlled in JS with scaleX only; no upside-down return. */
.order-fly-ghost.order-plane-flight{
  transform-origin:center center!important;
}

/* Responsive fallback: related cards float below the main window on narrower screens. */
@media (max-width:1320px){
  .product-quick-related-float{
    left:50%!important;
    top:auto!important;
    bottom:18px!important;
    transform:translateX(-50%)!important;
    width:min(92vw,840px)!important;
    flex-direction:row!important;
    overflow-x:auto!important;
    gap:10px!important;
    padding:2px!important;
  }
  .pq-float-related{
    flex:0 0 245px!important;
  }
}
@media (max-width:760px){
  .product-quick-related-float{
    bottom:8px!important;
    width:calc(100vw - 16px)!important;
  }
  .pq-float-related{
    flex-basis:220px!important;
    min-height:78px!important;
    grid-template-columns:56px minmax(0,1fr)!important;
  }
  .pq-float-related-thumb{
    width:56px!important;
    height:56px!important;
  }
}


/* ==========================================================================
   V1.152 — order dock remains visible on floating product screen
   ========================================================================== */
.quick-order-dock{
  position:fixed!important;
  top:18px!important;
  right:22px!important;
  z-index:9505!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:8px!important;
  min-width:148px!important;
  min-height:52px!important;
  padding:7px 10px!important;
  border:1px solid rgba(191,211,223,.96)!important;
  border-radius:15px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 12px 32px rgba(20,51,71,.18)!important;
  color:#173d56!important;
  cursor:pointer!important;
  backdrop-filter:blur(10px)!important;
}
.quick-order-dock .order-list-mark{
  width:29px!important;
  height:29px!important;
}
.quick-order-dock .order-list-mark svg{
  width:28px!important;
  height:28px!important;
}
.quick-order-dock .order-status-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  gap:1px!important;
}
.quick-order-dock .order-status-meta{
  font-size:11px!important;
  color:#637985!important;
  white-space:nowrap!important;
}
.quick-order-dock .order-status-total{
  font-size:15px!important;
  line-height:1.05!important;
  color:#174565!important;
  white-space:nowrap!important;
}
.quick-order-dock.has-order{
  border-color:#8ebbd2!important;
  box-shadow:0 14px 34px rgba(27,88,125,.22)!important;
}
.quick-order-dock:hover{
  transform:translateY(-1px)!important;
  border-color:#79aeca!important;
}

@media (max-width:760px){
  .quick-order-dock{
    top:8px!important;
    right:8px!important;
    min-width:128px!important;
    min-height:46px!important;
    border-radius:13px!important;
    padding:6px 8px!important;
    grid-template-columns:26px minmax(0,1fr)!important;
  }
  .quick-order-dock .order-list-mark,
  .quick-order-dock .order-list-mark svg{
    width:25px!important;
    height:25px!important;
  }
  .quick-order-dock .order-status-meta{font-size:10px!important}
  .quick-order-dock .order-status-total{font-size:13px!important}
}


/* ==========================================================================
   V1.152 — full-height related variants rail
   ========================================================================== */
.product-quick-related-float{
  position:fixed!important;
  z-index:9502!important;
  width:278px!important;
  max-width:calc(100vw - 20px)!important;
  transform:none!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(181,207,221,.96)!important;
  border-radius:18px!important;
  background:rgba(247,251,253,.97)!important;
  box-shadow:0 18px 46px rgba(18,52,74,.20)!important;
  backdrop-filter:blur(10px)!important;
}
.product-quick-related-float[hidden]{display:none!important}

.pq-related-rail-head{
  flex:0 0 auto!important;
  padding:12px 13px 8px!important;
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid #dde9ef!important;
}
.pq-related-rail-head strong{
  display:block!important;
  font-size:14px!important;
  line-height:1.2!important;
  color:#173d56!important;
}
.pq-related-rail-head span{
  display:block!important;
  margin-top:3px!important;
  font-size:10.5px!important;
  color:#6c818d!important;
}

.pq-related-form-strip{
  flex:0 0 auto!important;
  display:flex!important;
  gap:5px!important;
  overflow-x:auto!important;
  padding:8px 10px!important;
  background:rgba(255,255,255,.86)!important;
  border-bottom:1px solid #e2ecf1!important;
  scrollbar-width:none!important;
}
.pq-related-form-strip::-webkit-scrollbar{display:none!important}
.pq-related-form-strip button{
  flex:0 0 auto!important;
  height:27px!important;
  padding:0 9px!important;
  border:1px solid #d5e3eb!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#4e6978!important;
  font-size:10.5px!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.pq-related-form-strip button.active{
  background:#eaf5fb!important;
  border-color:#7fb3ce!important;
  color:#174d6c!important;
}

.pq-related-rail-list{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:9px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
  scrollbar-color:#a9c5d5 transparent!important;
}
.pq-related-rail-list::-webkit-scrollbar{width:7px!important}
.pq-related-rail-list::-webkit-scrollbar-thumb{
  background:#a9c5d5!important;
  border-radius:999px!important;
}
.pq-related-rail-list::-webkit-scrollbar-track{background:transparent!important}

.pq-float-related{
  flex:0 0 auto!important;
  min-height:76px!important;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  gap:9px!important;
  align-items:center!important;
  padding:8px 9px!important;
  border:1px solid #d8e6ed!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 7px 17px rgba(28,71,99,.08)!important;
  cursor:pointer!important;
  transform:none!important;
}
.pq-float-related:hover{
  transform:none!important;
  border-color:#9fc2d5!important;
  box-shadow:0 9px 21px rgba(28,71,99,.12)!important;
}
.pq-float-related.active-product{
  border-color:#579bc1!important;
  background:#edf7fc!important;
  box-shadow:inset 3px 0 0 #3f91be,0 8px 20px rgba(28,71,99,.10)!important;
}
.pq-float-related.selected:not(.active-product){
  background:#f8fcff!important;
  border-color:#a9cada!important;
}
.pq-float-related-thumb{
  width:58px!important;
  height:58px!important;
  border-radius:10px!important;
}
.pq-float-related-info strong{
  font-size:12px!important;
  line-height:1.18!important;
}
.pq-float-related-info span,
.pq-float-related-info small{
  font-size:10.5px!important;
  line-height:1.22!important;
}
.pq-related-empty{
  padding:18px 10px!important;
  text-align:center!important;
  color:#778c97!important;
  font-size:12px!important;
}

/* The rail deliberately occupies the same vertical span as the main floating card. */
@media (min-width:901px){
  .product-quick-related-float{
    bottom:auto!important;
    right:auto!important;
  }
}

/* On medium widths, use a bottom horizontal rail so the main card stays readable. */
@media (max-width:900px){
  .product-quick-related-float{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    top:auto!important;
    width:auto!important;
    height:auto!important;
    max-height:190px!important;
  }
  .pq-related-rail-head{padding:8px 10px 5px!important}
  .pq-related-form-strip{padding:5px 8px!important}
  .pq-related-rail-list{
    flex-direction:row!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:7px!important;
  }
  .pq-float-related{
    flex:0 0 220px!important;
  }
}


/* ==========================================================================
   V1.152 — visual handoff when switching related variants
   ========================================================================== */
.product-quick-sheet{
  transform-origin:center center!important;
}
.product-quick-sheet.pq-swap-out{
  animation:rxdeQuickSwapOut .24s ease-out both!important;
}
.product-quick-sheet.pq-swap-in{
  animation:rxdeQuickSwapIn .42s cubic-bezier(.2,.8,.2,1) both!important;
}
@keyframes rxdeQuickSwapOut{
  0%{transform:scale(1);opacity:1}
  100%{transform:scale(.985);opacity:.72}
}
@keyframes rxdeQuickSwapIn{
  0%{transform:scale(.965);opacity:.25;filter:blur(2px)}
  45%{transform:scale(1.008);opacity:1;filter:blur(0)}
  100%{transform:scale(1);opacity:1;filter:blur(0)}
}
.pq-float-related.pq-swap-source{
  animation:rxdeRelatedSourcePulse .44s ease-out both!important;
}
@keyframes rxdeRelatedSourcePulse{
  0%{transform:scale(1);box-shadow:0 7px 17px rgba(28,71,99,.08)}
  35%{transform:scale(1.035);box-shadow:0 14px 30px rgba(36,118,164,.22)}
  100%{transform:scale(1);box-shadow:0 7px 17px rgba(28,71,99,.08)}
}
.pq-swap-ghost{
  position:fixed!important;
  z-index:20000!important;
  margin:0!important;
  pointer-events:none!important;
  transition:transform .36s cubic-bezier(.2,.8,.2,1),opacity .36s ease!important;
  transform-origin:center center!important;
  box-shadow:0 18px 42px rgba(25,78,112,.24)!important;
}
@media (prefers-reduced-motion: reduce){
  .product-quick-sheet.pq-swap-out,
  .product-quick-sheet.pq-swap-in,
  .pq-float-related.pq-swap-source{
    animation:none!important;
  }
  .pq-swap-ghost{display:none!important}
}


/* ==========================================================================
   V1.152 — every related item floats independently again
   ========================================================================== */

/* Transparent host only positions/scans the floating alternatives.
   It must NOT look like one shared card/panel. */
.product-quick-related-float{
  position:fixed!important;
  z-index:9502!important;
  width:292px!important;
  max-width:calc(100vw - 18px)!important;
  transform:none!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  padding:0 7px 4px 0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.product-quick-related-float[hidden]{display:none!important}

/* Header is a small independent floating label. */
.pq-related-rail-head{
  flex:0 0 auto!important;
  width:max-content!important;
  max-width:100%!important;
  padding:7px 10px!important;
  margin:0 0 1px 0!important;
  background:rgba(255,255,255,.95)!important;
  border:1px solid #d2e2ea!important;
  border-radius:12px!important;
  box-shadow:0 9px 22px rgba(20,56,79,.13)!important;
}
.pq-related-rail-head strong{font-size:12.5px!important}
.pq-related-rail-head span{font-size:10px!important}

/* Form filters are also a free-standing strip, not inside a big panel. */
.pq-related-form-strip{
  flex:0 0 auto!important;
  display:flex!important;
  gap:5px!important;
  width:max-content!important;
  max-width:100%!important;
  overflow-x:auto!important;
  padding:5px 7px!important;
  margin:0 0 1px 0!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid #d7e5ec!important;
  border-radius:12px!important;
  box-shadow:0 8px 20px rgba(20,56,79,.11)!important;
  scrollbar-width:none!important;
}
.pq-related-form-strip::-webkit-scrollbar{display:none!important}

/* Only the invisible list area scrolls when there are many variants. */
.pq-related-rail-list{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:visible!important;
  display:flex!important;
  flex-direction:column!important;
  gap:11px!important;
  padding:3px 7px 10px 0!important;
  background:transparent!important;
  border:0!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(130,170,193,.55) transparent!important;
}
.pq-related-rail-list::-webkit-scrollbar{width:5px!important}
.pq-related-rail-list::-webkit-scrollbar-thumb{
  background:rgba(130,170,193,.55)!important;
  border-radius:999px!important;
}
.pq-related-rail-list::-webkit-scrollbar-track{background:transparent!important}

/* Every related variant is once again a separate floating card. */
.pq-float-related{
  flex:0 0 auto!important;
  min-height:82px!important;
  display:grid!important;
  grid-template-columns:62px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  padding:9px 11px!important;
  border:1px solid rgba(198,217,227,.98)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 15px 34px rgba(18,54,78,.17)!important;
  cursor:pointer!important;
  transform:none!important;
}
.pq-float-related:hover{
  transform:translateX(3px)!important;
  border-color:#92bbd1!important;
  box-shadow:0 19px 40px rgba(18,54,78,.22)!important;
}
.pq-float-related.selected{
  background:#f6fbfe!important;
  border-color:#9fc4d8!important;
}
.pq-float-related-thumb{
  width:62px!important;
  height:62px!important;
  border-radius:12px!important;
}
.pq-float-related-info strong{
  font-size:12.5px!important;
  line-height:1.2!important;
}
.pq-float-related-info span,
.pq-float-related-info small{
  font-size:10.5px!important;
}

/* No single enclosing silhouette around all cards. */
.pq-related-empty{
  width:max-content!important;
  padding:8px 10px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.95)!important;
  border:1px solid #d7e5ec!important;
  box-shadow:0 8px 20px rgba(20,56,79,.10)!important;
}

/* Desktop: use the whole right-side vertical space, but cards stay separate. */
@media (min-width:901px){
  .product-quick-related-float{
    right:auto!important;
    bottom:auto!important;
  }
}

/* Smaller screens: individual cards stay floating in a horizontal strip. */
@media (max-width:900px){
  .product-quick-related-float{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    top:auto!important;
    width:auto!important;
    height:auto!important;
    max-height:205px!important;
    padding:0!important;
  }
  .pq-related-rail-head,
  .pq-related-form-strip{
    margin-left:2px!important;
  }
  .pq-related-rail-list{
    flex-direction:row!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:4px 3px 8px!important;
  }
  .pq-float-related{
    flex:0 0 235px!important;
  }
}


/* ==========================================================================
   V1.152 — vertically aligned floating related cards
   ========================================================================== */

/* Header is intentionally one line only. */
.pq-related-rail-head{
  padding:7px 10px!important;
  margin-bottom:1px!important;
}
.pq-related-rail-head > span,
.pq-related-rail-head div > span{
  display:none!important;
}

/* On desktop the floating alternatives are aligned to the main card top/bottom
   by JS. Remove old centering rules from earlier experiments. */
@media (min-width:901px){
  .product-quick-related-float{
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
  }
}

/* Slightly tighter filter strip to save vertical space. */
.pq-related-form-strip{
  padding:4px 6px!important;
}
.pq-related-form-strip button{
  height:25px!important;
  padding:0 8px!important;
  font-size:10px!important;
}

/* More of the vertical span belongs to actual cards. */
.pq-related-rail-list{
  padding-top:2px!important;
  padding-bottom:6px!important;
}


/* ==========================================================================
   V1.152 — explicit two-way product swap + stronger in-order marking
   ========================================================================== */

/* Products already in the order are deliberately darker and easier to scan. */
.pq-float-related.selected{
  background:#dceef8!important;
  border-color:#4d93ba!important;
  box-shadow:0 12px 28px rgba(34,111,155,.20)!important;
}
.pq-float-related.selected .pq-float-related-info strong{
  color:#0f4d70!important;
}
.pq-float-related.selected .pq-float-related-info small{
  color:#0b5b87!important;
  font-weight:800!important;
}
.pq-float-related.selected::after{
  content:"✓ в заказе";
  position:absolute!important;
  right:8px!important;
  bottom:6px!important;
  padding:2px 6px!important;
  border-radius:999px!important;
  background:#b9deef!important;
  color:#145b7e!important;
  font-size:8.5px!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
}
.pq-float-related{position:relative!important}

/* Two ghosts literally exchange places on screen. */
.pq-swap-stage{
  position:fixed!important;
  inset:0!important;
  z-index:30000!important;
  pointer-events:none!important;
}
.pq-swap-main-ghost,
.pq-swap-related-ghost{
  position:fixed!important;
  margin:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
  transition:
    left .52s cubic-bezier(.22,.76,.22,1),
    top .52s cubic-bezier(.22,.76,.22,1),
    width .52s cubic-bezier(.22,.76,.22,1),
    height .52s cubic-bezier(.22,.76,.22,1),
    border-radius .52s ease,
    opacity .52s ease,
    box-shadow .52s ease!important;
  will-change:left,top,width,height,opacity!important;
}
.pq-swap-main-ghost{
  z-index:30001!important;
  background:#fff!important;
  border:1px solid #c9dce7!important;
  border-radius:22px!important;
  box-shadow:0 24px 70px rgba(24,48,63,.24)!important;
}
.pq-swap-main-ghost.to-related{
  border-radius:16px!important;
  box-shadow:0 15px 34px rgba(18,54,78,.17)!important;
  opacity:.90!important;
}
.pq-swap-related-ghost{
  z-index:30002!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 15px 34px rgba(18,54,78,.20)!important;
}
.pq-swap-related-ghost.to-main{
  border-radius:22px!important;
  box-shadow:0 24px 70px rgba(24,48,63,.27)!important;
}

/* As a mini-card grows, simplify its inner geometry so it reads as a card unfolding,
   not as text stretching. */
.pq-swap-related-ghost.to-main .pq-float-related-thumb{
  transform:scale(1.08)!important;
}
.pq-swap-related-ghost .pq-float-related-thumb,
.pq-swap-related-ghost .pq-float-related-info{
  transition:transform .45s ease,opacity .30s ease!important;
}
.pq-swap-related-ghost.to-main .pq-float-related-info{
  opacity:.32!important;
}

/* Current real elements temporarily disappear while their visual copies exchange places. */
.pq-swap-real-hidden{
  visibility:hidden!important;
}

/* Round directional hint in the gap between the two cards. */
.pq-swap-badge{
  position:fixed!important;
  z-index:30004!important;
  width:38px!important;
  height:38px!important;
  margin:-19px 0 0 -19px!important;
  border:1px solid #b8d3e1!important;
  border-radius:50%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.96)!important;
  color:#287ca8!important;
  box-shadow:0 10px 24px rgba(24,74,104,.18)!important;
  opacity:0!important;
  transform:scale(.65) rotate(-10deg)!important;
  transition:opacity .16s ease,transform .38s cubic-bezier(.2,.8,.2,1)!important;
}
.pq-swap-badge span{
  font-size:23px!important;
  font-weight:800!important;
  line-height:1!important;
}
.pq-swap-badge.show{
  opacity:1!important;
  transform:scale(1) rotate(0deg)!important;
}

/* The newly arrived main product gets a brief confirmation pulse. */
.product-quick-sheet.pq-swap-arrived{
  animation:rxdeSwapArrived106 .30s ease-out both!important;
}
@keyframes rxdeSwapArrived106{
  0%{box-shadow:0 24px 70px rgba(24,48,63,.24);transform:scale(.992)}
  50%{box-shadow:0 26px 78px rgba(35,122,170,.34);transform:scale(1.006)}
  100%{box-shadow:0 24px 70px rgba(24,48,63,.24);transform:scale(1)}
}

@media (prefers-reduced-motion: reduce){
  .pq-swap-stage{display:none!important}
  .product-quick-sheet.pq-swap-arrived{animation:none!important}
}


/* V1.152 — swap visibility safety */
.product-quick-sheet:not(.pq-swap-real-hidden){
  visibility:visible!important;
}


/* ==========================================================================
   V1.152 — clearer click affordance + preserve search draft
   ========================================================================== */

/* Product cards can open quick view, so the free card area uses a hand cursor. */



/* Interactive sub-controls keep their expected cursor/semantics. */




/* Search suggestions are clickable previews too. */
#searchSuggest .suggest-row,
#searchSuggest .suggest-main{
  cursor:pointer!important;
}


/* ==========================================================================
   V1.152 — complete form filters + clear scroll continuation cues
   ========================================================================== */

/* Never hide a Salofalk form off to the right: wrap the full set into rows. */
.pq-related-form-strip{
  width:100%!important;
  max-width:292px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
  gap:5px!important;
  padding:5px 6px!important;
}
.pq-related-form-strip button{
  flex:0 0 auto!important;
  height:25px!important;
  padding:0 8px!important;
  white-space:nowrap!important;
}
.pq-related-form-strip button b{
  display:inline-block!important;
  margin-left:3px!important;
  min-width:15px!important;
  padding:0 4px!important;
  border-radius:999px!important;
  background:#edf4f8!important;
  color:#557180!important;
  font-size:9px!important;
  line-height:16px!important;
  vertical-align:middle!important;
}
.pq-related-form-strip button.active b{
  background:#cfe8f5!important;
  color:#145a7d!important;
}

/* Rail cards settle on whole-card boundaries instead of stopping awkwardly half-cut. */
.pq-related-rail-list{
  scroll-snap-type:y proximity!important;
  position:relative!important;
}
.pq-float-related{
  scroll-snap-align:start!important;
}

/* Animated edge cues only appear when more cards exist in that direction. */
.pq-scroll-cue{
  position:absolute!important;
  z-index:9!important;
  left:50%!important;
  width:34px!important;
  height:24px!important;
  margin-left:-17px!important;
  border:1px solid rgba(139,182,205,.88)!important;
  border-radius:999px!important;
  background:rgba(244,251,255,.96)!important;
  color:#347ea5!important;
  box-shadow:0 6px 18px rgba(20,66,94,.16)!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
.pq-scroll-cue span{
  display:block!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:900!important;
}
.pq-scroll-cue-up{top:78px!important}
.pq-scroll-cue-down{bottom:3px!important}

.product-quick-related-float.has-scroll-above .pq-scroll-cue-up{
  display:flex!important;
  animation:rxdeCueUp109 1.35s ease-in-out infinite!important;
}
.product-quick-related-float.has-scroll-below .pq-scroll-cue-down{
  display:flex!important;
  animation:rxdeCueDown109 1.35s ease-in-out infinite!important;
}

@keyframes rxdeCueUp109{
  0%,100%{transform:translateY(0);opacity:.74}
  50%{transform:translateY(-4px);opacity:1}
}
@keyframes rxdeCueDown109{
  0%,100%{transform:translateY(0);opacity:.74}
  50%{transform:translateY(4px);opacity:1}
}

/* Soft fade at the edge reinforces that the list continues without clipping a card visually. */
.product-quick-related-float.has-scroll-above::before,
.product-quick-related-float.has-scroll-below::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:8px!important;
  height:40px!important;
  z-index:7!important;
  pointer-events:none!important;
}
.product-quick-related-float.has-scroll-above::before{
  top:72px!important;
  background:linear-gradient(180deg,rgba(100,123,137,.22),rgba(100,123,137,0))!important;
}
.product-quick-related-float.has-scroll-below::after{
  bottom:0!important;
  background:linear-gradient(0deg,rgba(100,123,137,.24),rgba(100,123,137,0))!important;
}

@media (prefers-reduced-motion: reduce){
  .product-quick-related-float.has-scroll-above .pq-scroll-cue-up,
  .product-quick-related-float.has-scroll-below .pq-scroll-cue-down{
    animation:none!important;
  }
}


/* ==========================================================================
   V1.152 — corrected Granules filter + clearer RXDE outline plane
   ========================================================================== */

/* Plane: still an outline icon, but a bit larger and easier to read in motion. */
.order-fly-ghost.order-plane-flight{
  width:58px!important;
  height:38px!important;
  filter:drop-shadow(0 4px 10px rgba(20,64,91,.20))!important;
}
.flight-plane-core,
.flight-plane-core svg{
  width:100%!important;
  height:100%!important;
  display:block!important;
  overflow:visible!important;
}

/* Active form filter should read clearly. */
.pq-related-form-strip button.active{
  background:#dceef8!important;
  border-color:#5c9fc3!important;
  color:#104d6e!important;
  box-shadow:inset 0 0 0 1px rgba(40,124,168,.12)!important;
}


/* ==========================================================================
   V1.152 — related cards use available space for readable product data
   ========================================================================== */

/* The right rail has enough width; don't compress the useful text. */
.product-quick-related-float{
  width:326px!important;
  max-width:min(326px,calc(100vw - 16px))!important;
}
.pq-related-form-strip{
  max-width:326px!important;
}

/* Larger, calmer cards: image is supporting content, text gets priority. */
.pq-float-related{
  min-height:96px!important;
  grid-template-columns:68px minmax(0,1fr)!important;
  gap:12px!important;
  padding:11px 12px!important;
}
.pq-float-related-thumb{
  width:68px!important;
  height:68px!important;
  align-self:center!important;
  position:relative!important;
  overflow:hidden!important;
  background:#f7fafb!important;
}
.pq-float-related-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.pq-float-related-thumb.image-missing::after{
  content:"RxDe";
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#91a8b5!important;
  font-size:14px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
}

/* Product name is the primary information — let it breathe. */
.pq-float-related-info{
  min-width:0!important;
  gap:4px!important;
}
.pq-float-related-info strong{
  font-size:14px!important;
  line-height:1.22!important;
  -webkit-line-clamp:3!important;
}
.pq-float-related-info span{
  font-size:11.5px!important;
  line-height:1.25!important;
}
.pq-float-related-info small{
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:800!important;
}

/* The order badge should not steal the text column. */
.pq-float-related.selected::after{
  right:9px!important;
  bottom:7px!important;
  font-size:8.5px!important;
  padding:2px 6px!important;
}
.pq-float-related.selected .pq-float-related-info{
  padding-bottom:13px!important;
}

/* On narrow displays retain compactness. */
@media (max-width:900px){
  .product-quick-related-float{
    width:auto!important;
    max-width:none!important;
  }
  .pq-float-related{
    flex-basis:260px!important;
    min-height:88px!important;
    grid-template-columns:60px minmax(0,1fr)!important;
    padding:9px 10px!important;
  }
  .pq-float-related-thumb{
    width:60px!important;
    height:60px!important;
  }
  .pq-float-related-info strong{font-size:13px!important}
}


/* ==========================================================================
   V1.152 — previous outline airliner + deliberate mobile quick-view layout
   ========================================================================== */

/* Restore the previous outline plane presentation. */
.order-fly-ghost.order-plane-flight{
  width:56px!important;
  height:38px!important;
  filter:drop-shadow(0 4px 10px rgba(23,62,87,.18))!important;
}
.order-fly-ghost.order-plane-flight .flight-plane-core{
  position:absolute!important;
  inset:0!important;
  display:block!important;
}
.order-fly-ghost.order-plane-flight .flight-plane-core img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}

/* Mobile is not just a scaled desktop modal:
   main card stays above, related cards become a swipe rail below. */
@media (max-width:760px){
  .product-quick-backdrop{
    align-items:flex-start!important;
    justify-content:center!important;
    padding:58px 8px 174px!important;
    overflow:hidden!important;
  }

  .product-quick-sheet{
    width:calc(100vw - 16px)!important;
    max-width:none!important;
    max-height:calc(100dvh - 240px)!important;
    min-height:0!important;
    overflow:auto!important;
    border-radius:16px!important;
    padding:13px!important;
    margin:0!important;
  }

  #productQuickBody{
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:10px!important;
  }
  .pq-photo{
    min-height:108px!important;
    height:108px!important;
    padding:7px!important;
    border-radius:13px!important;
  }
  .pq-photo img{
    max-height:96px!important;
  }
  .pq-title-row{
    padding-right:34px!important;
  }
  .pq-title-row h2{
    font-size:16px!important;
    line-height:1.16!important;
  }
  .pq-meta{
    margin-top:6px!important;
    font-size:10.5px!important;
    line-height:1.35!important;
  }
  .pq-actions{
    margin-top:7px!important;
  }
  .pq-bottom{
    grid-column:1/-1!important;
    grid-template-columns:minmax(0,1fr) 96px minmax(82px,108px)!important;
    gap:7px!important;
    padding-top:10px!important;
  }
  .pq-price strong,.pq-total strong{
    font-size:15px!important;
  }
  .pq-price span,.pq-total span{
    font-size:10px!important;
  }

  /* Related section is a separate horizontal floating shelf. */
  .product-quick-related-float{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    top:auto!important;
    width:auto!important;
    height:152px!important;
    max-height:152px!important;
    max-width:none!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:5px!important;
    overflow:visible!important;
  }

  .pq-related-rail-head{
    flex:0 0 auto!important;
    padding:5px 8px!important;
    border-radius:10px!important;
  }
  .pq-related-rail-head strong{
    font-size:11px!important;
  }

  /* Filters use one horizontal swipe line on phone to save height. */
  .pq-related-form-strip{
    flex:0 0 auto!important;
    width:100%!important;
    max-width:none!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:3px 4px!important;
    gap:4px!important;
    border-radius:10px!important;
    scrollbar-width:none!important;
  }
  .pq-related-form-strip::-webkit-scrollbar{display:none!important}
  .pq-related-form-strip button{
    height:23px!important;
    padding:0 7px!important;
    font-size:9.2px!important;
  }

  .pq-related-rail-list{
    flex:1 1 auto!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:row!important;
    gap:8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:2px 4px 6px!important;
    scroll-snap-type:x proximity!important;
  }
  .pq-float-related{
    flex:0 0 224px!important;
    min-height:80px!important;
    height:80px!important;
    grid-template-columns:54px minmax(0,1fr)!important;
    gap:8px!important;
    padding:7px 8px!important;
    scroll-snap-align:start!important;
  }
  .pq-float-related-thumb{
    width:54px!important;
    height:54px!important;
  }
  .pq-float-related-info strong{
    font-size:12px!important;
    -webkit-line-clamp:2!important;
  }
  .pq-float-related-info span,
  .pq-float-related-info small{
    font-size:9.8px!important;
  }

  /* Desktop vertical cues are not useful for the mobile horizontal shelf. */
  .pq-scroll-cue,
  .product-quick-related-float::before,
  .product-quick-related-float::after{
    display:none!important;
  }

  /* Order destination stays visible above the modal. */
  .quick-order-dock{
    top:7px!important;
    right:7px!important;
    z-index:9600!important;
  }
}

@media (max-width:420px){
  .product-quick-backdrop{
    padding-bottom:166px!important;
  }
  .product-quick-sheet{
    max-height:calc(100dvh - 228px)!important;
  }
  #productQuickBody{
    grid-template-columns:80px minmax(0,1fr)!important;
  }
  .pq-photo{
    height:96px!important;
    min-height:96px!important;
  }
  .pq-float-related{
    flex-basis:205px!important;
  }
}


/* ==========================================================================
   V1.152 — compact filters high on the right, more room for related cards
   ========================================================================== */
@media (min-width:901px){
  .product-quick-related-float{
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:326px!important;
    max-width:min(326px,calc(100vw - 18px))!important;
    gap:5px!important;
  }

  .pq-related-rail-head{
    flex:0 0 auto!important;
    width:max-content!important;
    max-width:100%!important;
    padding:5px 9px!important;
    margin:0!important;
    border-radius:10px!important;
  }
  .pq-related-rail-head strong{
    font-size:11.5px!important;
    line-height:1.15!important;
  }

  .pq-related-form-strip{
    flex:0 0 auto!important;
    width:100%!important;
    max-width:326px!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:4px!important;
    padding:4px 5px!important;
    margin:0!important;
    border-radius:10px!important;
  }
  .pq-related-form-strip button{
    height:22px!important;
    padding:0 7px!important;
    font-size:9.2px!important;
    line-height:1!important;
  }
  .pq-related-form-strip button b{
    min-width:14px!important;
    line-height:14px!important;
    padding:0 3px!important;
    font-size:8.5px!important;
  }

  .pq-related-rail-list{
    flex:1 1 auto!important;
    min-height:0!important;
    padding:2px 7px 7px 0!important;
    gap:10px!important;
  }

  .pq-scroll-cue-up{top:56px!important}
  .pq-scroll-cue-down{bottom:1px!important}
  .product-quick-related-float.has-scroll-above::before{top:50px!important}
}

.pq-related-rail-head,
.pq-related-form-strip{
  box-shadow:0 7px 17px rgba(20,56,79,.10)!important;
}


/* ==========================================================================
   V1.152 — related rail gets more real estate on the right
   ========================================================================== */
@media (min-width:901px){
  .product-quick-related-float{
    width:392px!important;
    max-width:min(392px,calc(100vw - 18px))!important;
    gap:6px!important;
  }

  .pq-related-rail-head{
    width:max-content!important;
    max-width:100%!important;
    padding:6px 10px!important;
    border-radius:12px!important;
  }
  .pq-related-rail-head strong{
    font-size:12px!important;
    line-height:1.15!important;
  }

  .pq-related-form-strip{
    width:100%!important;
    padding:4px 6px!important;
    gap:5px!important;
    border-radius:12px!important;
  }
  .pq-related-form-strip button{
    height:24px!important;
    padding:0 8px!important;
    font-size:10px!important;
    line-height:1!important;
  }
  .pq-related-form-strip button b{
    min-width:15px!important;
    line-height:15px!important;
    font-size:8.5px!important;
  }

  .pq-related-rail-list{
    padding:4px 8px 8px 0!important;
    gap:12px!important;
  }

  .pq-float-related{
    min-height:92px!important;
    border-radius:18px!important;
  }
  .pq-float-related-thumb{
    width:74px!important;
    min-width:74px!important;
    height:74px!important;
    border-radius:14px!important;
  }
  .pq-float-related-info strong{
    font-size:13.5px!important;
    line-height:1.2!important;
  }
  .pq-float-related-info span,
  .pq-float-related-info small{
    font-size:11px!important;
  }

  /* Keep the cues visible but out of the product content. */
  .pq-scroll-cue-up{top:66px!important}
  .pq-scroll-cue-down{bottom:4px!important}
  .product-quick-related-float.has-scroll-above::before{top:60px!important}
}

.pq-related-rail-head,
.pq-related-form-strip{
  box-shadow:0 8px 20px rgba(20,56,79,.11)!important;
}


/* ==========================================================================
   V1.152 — predictable search cards: view zone vs order action zone
   ========================================================================== */

/* The information/photo region is the quick-view target. */



/* Fast catalogue work: don't accidentally drag-select the card text. */


/* PZN remains independently useful/copyable where existing markup allows it. */


/* Entire lower strip is an order-control safe zone.
   Clicking gaps here can never open quick view. */


/* qty=0: one clear, larger target instead of the small - 0 + stepper. */




/* At qty=0 the reserved total cell stays structurally present but the add
   button visually owns the action area. */


/* Existing quantity controls: make targets less fragile without changing layout. */



/* Mobile/touch: action targets must tolerate imprecise fingers. */
@media (max-width:760px){
  

  

  
  
  

  /* On touch devices the card itself does not need hover affordance. */
  
}


/* ==========================================================================
   V1.152 — whole information card is clickable; no accidental text selection
   ========================================================================== */

/* The card is one clear click target, except its dedicated order controls. */



/* PZN no longer behaves like selectable text in catalogue cards.
   Copying can happen from the expanded product view instead. */


/* Dedicated order controls remain controls and never open quick view. */




/* Keep the visual affordance consistent across photo and text. */



/* ==========================================================================
   V1.152 — deletion from floating product view
   ========================================================================== */
.product-quick-sheet.pending-delete{
  opacity:1!important;
}
.product-quick-sheet.delete-row-collapse{
  max-height:none!important;
  min-height:0!important;
  height:auto!important;
  opacity:1!important;
  transform:none!important;
  margin:0!important;
  padding:22px!important;
}


/* ==========================================================================
   V1.152 — form hint, one-step context, instant position cancel + goose
   ========================================================================== */

/* Form badge is visible in the large floating product card too. */
.pq-title-row{
  flex-wrap:wrap!important;
}
.pq-title-row .form-badge{
  flex:0 0 auto!important;
  margin-top:1px!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
}

/* Only one previous-context chip: useful without becoming breadcrumb history. */
.pq-prev-context{
  margin-top:7px!important;
  padding:4px 8px!important;
  border:1px solid #c8dde9!important;
  border-radius:999px!important;
  background:#f3f9fc!important;
  color:#2a6587!important;
  font-size:10.5px!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.pq-prev-context:hover{
  background:#e8f4fa!important;
  border-color:#9fc4d8!important;
}

/* Rare, human micro-joke: only when a whole position goes 1 -> 0. */
.rxde-goose-cancel{
  position:fixed!important;
  left:18px!important;
  top:18px!important;
  z-index:50000!important;
  width:205px!important;
  height:122px!important;
  pointer-events:none!important;
  opacity:0!important;
  transform:translateY(-12px) scale(.94)!important;
  transition:opacity .22s ease,transform .30s cubic-bezier(.2,.8,.2,1)!important;
}
.rxde-goose-cancel.show{
  opacity:1!important;
  transform:translateY(0) scale(1)!important;
}
.rxde-goose-cancel.leave{
  opacity:0!important;
  transform:translateY(-10px) scale(.96)!important;
}
.rxde-goose{
  position:absolute!important;
  left:0!important;
  bottom:0!important;
  width:92px!important;
  height:92px!important;
  filter:drop-shadow(0 5px 11px rgba(22,58,80,.18))!important;
}
.rxde-goose-bubble{
  position:absolute!important;
  left:62px!important;
  top:2px!important;
  min-width:132px!important;
  padding:8px 10px!important;
  border:2px solid #183f5c!important;
  border-radius:17px!important;
  background:#fff!important;
  color:#183f5c!important;
  font-size:12px!important;
  line-height:1.1!important;
  font-weight:800!important;
  text-align:center!important;
  box-shadow:0 7px 18px rgba(22,58,80,.14)!important;
}
.rxde-goose-bubble::after{
  content:""!important;
  position:absolute!important;
  left:-8px!important;
  bottom:12px!important;
  width:13px!important;
  height:13px!important;
  background:#fff!important;
  border-left:2px solid #183f5c!important;
  border-bottom:2px solid #183f5c!important;
  transform:rotate(45deg)!important;
}

@media(max-width:760px){
  .pq-title-row .form-badge{
    padding:3px 7px!important;
    font-size:9px!important;
  }
  .pq-prev-context{
    margin-top:5px!important;
    font-size:9.2px!important;
  }
  .rxde-goose-cancel{
    left:8px!important;
    top:58px!important;
    width:174px!important;
    height:104px!important;
  }
  .rxde-goose{width:76px!important;height:76px!important}
  .rxde-goose-bubble{
    left:52px!important;
    min-width:112px!important;
    padding:7px 8px!important;
    font-size:10.5px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .rxde-goose-cancel{
    transition:none!important;
  }
}


/* ==========================================================================
   V1.152 — restore controls for products with qty=0
   ========================================================================== */

/* Explicit layouts for both order states.
   This overrides old three-area rules that could hide the qty=0 button. */








/* No phantom/hidden total slot in qty=0 state: use the space for the action. */


/* Make the zero-state action unmistakable but still compact. */




@media(max-width:760px){
  
  
}

/* Goose stays readable a little longer; exit itself remains quick. */
.rxde-goose-cancel{
  transition:opacity .22s ease,transform .30s cubic-bezier(.2,.8,.2,1)!important;
}


/* ==========================================================================
   V1.152 — giant goose cancel gag
   ========================================================================== */
.rxde-goose-cancel{
  width:620px!important;
  height:360px!important;
  left:18px!important;
  top:14px!important;
}
.rxde-goose{
  width:430px!important;
  height:430px!important;
  left:-18px!important;
  bottom:-90px!important;
}
.rxde-goose-bubble{
  left:280px!important;
  top:24px!important;
  min-width:285px!important;
  padding:16px 20px!important;
  border-width:3px!important;
  border-radius:26px!important;
  font-size:25px!important;
  line-height:1.05!important;
  box-shadow:0 14px 34px rgba(22,58,80,.20)!important;
}
.rxde-goose-bubble::after{
  left:-13px!important;
  bottom:30px!important;
  width:22px!important;
  height:22px!important;
  border-left-width:3px!important;
  border-bottom-width:3px!important;
}

@media(max-width:760px){
  .rxde-goose-cancel{
    width:min(94vw,470px)!important;
    height:270px!important;
    left:3vw!important;
    top:54px!important;
  }
  .rxde-goose{
    width:310px!important;
    height:310px!important;
    left:-28px!important;
    bottom:-65px!important;
  }
  .rxde-goose-bubble{
    left:205px!important;
    top:18px!important;
    min-width:190px!important;
    padding:12px 14px!important;
    font-size:18px!important;
  }
}


/* ==========================================================================
   V1.152 — consistent click cursor across every clickable card area
   ========================================================================== */

/* Everything in the upper/info portion of a catalogue card opens quick view,
   so every descendant there must visually read as clickable. */


/* Also cover any badges/labels positioned outside those two wrappers but still
   outside the dedicated bottom order-control strip. */


/* The bottom order area is intentionally untouched in behaviour:
   it remains a safe control zone and never opens quick view. */




/* No text-selection affordance in the clickable card area. */



/* ==========================================================================
   V1.152 — HARD LOCK bottom-card coordinates
   No hover/focus/selected state may move, hide or resize price/order/total.
   Visual design is unchanged; only geometry/state overrides are frozen.
   ========================================================================== */



/* PRICE — permanent left coordinate. */


/* QTY STEPPER — permanent middle coordinate. */


/* TOTAL — permanent right coordinate. */


/* qty=0 keeps exactly the same coordinate system.
   The "+ В заказ" button owns columns 2+3, but price NEVER changes position. */




/* Nothing in the lower strip is allowed to animate geometry on hover. */


@media(max-width:760px){
  

  

  
}


/* ==========================================================================
   V1.152 — goose composition refinement
   More air between character and speech bubble, lighter visual weight.
   ========================================================================== */

.rxde-goose-cancel{
  width:700px!important;
  height:380px!important;
}

.rxde-goose{
  width:420px!important;
  height:420px!important;
  left:-8px!important;
  bottom:-78px!important;
}

.rxde-goose-bubble{
  left:355px!important;
  top:26px!important;
  min-width:300px!important;
  padding:16px 22px!important;
  border-width:2px!important;
  border-radius:24px!important;
  font-size:24px!important;
  line-height:1.08!important;
}

.rxde-goose-bubble::after{
  left:-10px!important;
  bottom:31px!important;
  width:17px!important;
  height:17px!important;
  border-left-width:2px!important;
  border-bottom-width:2px!important;
}

@media(max-width:760px){
  .rxde-goose-cancel{
    width:min(96vw,520px)!important;
    height:285px!important;
  }
  .rxde-goose{
    width:295px!important;
    height:295px!important;
    left:-16px!important;
    bottom:-48px!important;
  }
  .rxde-goose-bubble{
    left:250px!important;
    top:20px!important;
    min-width:190px!important;
    padding:11px 13px!important;
    border-width:2px!important;
    font-size:17px!important;
  }
  .rxde-goose-bubble::after{
    left:-9px!important;
    bottom:24px!important;
    width:15px!important;
    height:15px!important;
  }
}


/* ==========================================================================
   V1.152 — stable bottom coordinates + door/goose scene
   ========================================================================== */

/* The bottom row uses a truly fixed 3-column geometry.
   box-sizing prevents old padding/border rules from pushing the total outside. */
















/* Remove any legacy selected-state spill outside the fixed right column. */


/* --- Little door scene: 3-step door opening, then goose peeks out. --- */
.rxde-goose-cancel{
  left:20px!important;
  top:18px!important;
  width:470px!important;
  height:250px!important;
  overflow:visible!important;
}

.rxde-goose-stage{
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:235px!important;
  height:245px!important;
  overflow:visible!important;
}

.rxde-door-frame{
  position:absolute!important;
  left:8px!important;
  bottom:0!important;
  width:128px!important;
  height:205px!important;
  border:2px solid rgba(24,63,92,.72)!important;
  border-bottom-width:3px!important;
  background:#f7f8f7!important;
  box-shadow:0 8px 22px rgba(22,58,80,.12)!important;
  perspective:520px!important;
  overflow:visible!important;
}

.rxde-door-dark{
  position:absolute!important;
  inset:5px!important;
  background:linear-gradient(180deg,#dbe2e5 0%,#bac7cd 100%)!important;
  z-index:0!important;
}

.rxde-door-panel{
  position:absolute!important;
  inset:4px!important;
  z-index:3!important;
  background:#f0ebe3!important;
  border:1.5px solid rgba(24,63,92,.58)!important;
  transform-origin:left center!important;
  animation:rxde-door-open .48s steps(3,end) forwards!important;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.55)!important;
}

.rxde-door-knob{
  position:absolute!important;
  right:10px!important;
  top:50%!important;
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#c59745!important;
  box-shadow:0 0 0 1px rgba(24,63,92,.30)!important;
}

.rxde-goose{
  position:absolute!important;
  z-index:5!important;
  width:205px!important;
  height:205px!important;
  left:32px!important;
  bottom:-2px!important;
  opacity:0!important;
  transform:translateX(-72px) scale(.88)!important;
  animation:rxde-goose-stepout .48s .34s cubic-bezier(.2,.85,.25,1) forwards!important;
  filter:drop-shadow(0 5px 10px rgba(22,58,80,.12))!important;
}

.rxde-goose-bubble{
  left:240px!important;
  top:34px!important;
  min-width:205px!important;
  max-width:220px!important;
  padding:11px 14px!important;
  border-width:1.6px!important;
  border-radius:19px!important;
  font-size:18px!important;
  line-height:1.08!important;
  opacity:0!important;
  transform:translateY(4px)!important;
  animation:rxde-bubble-in .25s .68s ease-out forwards!important;
}

.rxde-goose-bubble::after{
  left:-9px!important;
  bottom:22px!important;
  width:14px!important;
  height:14px!important;
  border-left-width:1.6px!important;
  border-bottom-width:1.6px!important;
}

@keyframes rxde-door-open{
  0%{transform:rotateY(0deg)}
  33%{transform:rotateY(-24deg)}
  66%{transform:rotateY(-55deg)}
  100%{transform:rotateY(-82deg)}
}
@keyframes rxde-goose-stepout{
  0%{opacity:0;transform:translateX(-72px) scale(.88)}
  45%{opacity:1;transform:translateX(-28px) scale(.94)}
  100%{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes rxde-bubble-in{
  to{opacity:1;transform:translateY(0)}
}

@media(max-width:760px){
  
  
  
  

  .rxde-goose-cancel{
    left:8px!important;
    top:58px!important;
    width:min(94vw,390px)!important;
    height:215px!important;
  }
  .rxde-goose-stage{
    width:195px!important;
    height:210px!important;
  }
  .rxde-door-frame{
    width:105px!important;
    height:170px!important;
  }
  .rxde-goose{
    width:165px!important;
    height:165px!important;
    left:28px!important;
  }
  .rxde-goose-bubble{
    left:190px!important;
    top:32px!important;
    min-width:155px!important;
    max-width:175px!important;
    padding:9px 11px!important;
    font-size:14px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .rxde-door-panel,
  .rxde-goose,
  .rxde-goose-bubble{
    animation:none!important;
    opacity:1!important;
    transform:none!important;
  }
  .rxde-door-panel{transform:rotateY(-82deg)!important}
}


/* ==========================================================================
   V1.152 — bottom card fields: hard, non-overlapping compartments
   price | quantity/add | selected total
   ========================================================================== */



/* Common cell rules: no escaping the card, ever. */


/* PRICE cell — fixed left field */


/* CONTROL cell — qty stepper */





/* TOTAL cell — fixed right field */



/* qty=0: price remains left; "+ В заказ" owns both control + total fields.
   No phantom total element and no geometry change on hover. */




/* Hover / selected states are VISUAL ONLY. Geometry cannot move. */



/* Door-goose scene visibility and sequence. */
.rxde-goose-cancel{
  overflow:visible!important;
}
.rxde-door-frame{
  overflow:visible!important;
}
.rxde-goose{
  opacity:0!important;
  visibility:visible!important;
  animation:rxde-goose-stepout .58s .46s cubic-bezier(.18,.88,.22,1) forwards!important;
}
.rxde-goose-bubble{
  opacity:0!important;
  visibility:visible!important;
  animation:rxde-bubble-in .28s 1.02s ease-out forwards!important;
}
@keyframes rxde-goose-stepout{
  0%{opacity:0;transform:translateX(-84px) scale(.84)}
  35%{opacity:.35;transform:translateX(-48px) scale(.90)}
  70%{opacity:1;transform:translateX(-14px) scale(.97)}
  100%{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes rxde-bubble-in{
  0%{opacity:0;transform:translateY(6px) scale(.97)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}

@media(max-width:760px){
  
  
  
  
  
  
  
}


/* ==========================================================================
   V1.152 — readable deletion + stable cart + secondary angled door
   ========================================================================== */

/* The removed item remains visible for one short beat before layout reflows. */
.rx-removing-position{
  position:relative!important;
  pointer-events:none!important;
  overflow:hidden!important;
  filter:saturate(.55)!important;
  opacity:.72!important;
  transition:opacity .18s ease, filter .18s ease, max-height .26s ease,
             min-height .26s ease, height .26s ease, padding .26s ease,
             margin .26s ease, transform .26s ease!important;
}
.rx-removing-position::after{
  content:""!important;
  position:absolute!important;
  left:6%!important;
  right:6%!important;
  top:50%!important;
  height:2px!important;
  background:rgba(172,52,52,.72)!important;
  transform:rotate(-1deg)!important;
  z-index:40!important;
  pointer-events:none!important;
}
.rx-removed-mark{
  position:absolute!important;
  z-index:45!important;
  right:12px!important;
  top:10px!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  background:#fff6f6!important;
  border:1px solid #e1aaaa!important;
  color:#a33b3b!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
  box-shadow:0 4px 12px rgba(90,35,35,.10)!important;
}
.rx-removing-collapse{
  opacity:0!important;
  max-height:0!important;
  min-height:0!important;
  height:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  border-width:0!important;
  transform:scale(.985)!important;
}

/* Suggestions keep their row long enough to read "Удалено". */
.suggest-row.rx-removing-position{
  min-height:68px!important;
}
.suggest-row.rx-removing-collapse{
  min-height:0!important;
}

/* Main catalogue item is not removed from catalogue; after the beat it simply
   returns as qty=0, so prevent permanent grid collapse artifacts. */
.product-row.rx-removing-position{
  min-height:var(--card-min-height,258px)!important;
}
.product-row.rx-removing-collapse{
  min-height:var(--card-min-height,258px)!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  border-width:1px!important;
  transform:none!important;
}

/* Quick view stays in place; only receives the visual cancellation beat. */
.product-quick-sheet.rx-removing-position,
.product-quick-sheet.rx-removing-collapse{
  height:auto!important;
  max-height:inherit!important;
  min-height:0!important;
  margin:0!important;
  transform:none!important;
}

/* Door = secondary prop, goose = main actor. */
.rxde-goose-cancel{
  left:18px!important;
  top:18px!important;
  width:430px!important;
  height:235px!important;
  overflow:visible!important;
}

.rxde-goose-stage{
  left:0!important;
  top:0!important;
  width:240px!important;
  height:225px!important;
  overflow:visible!important;
}

/* Small angled door in perspective. */
.rxde-door-frame{
  left:22px!important;
  bottom:18px!important;
  width:76px!important;
  height:125px!important;
  border-width:1.5px!important;
  transform:rotate(-35deg) rotateY(22deg)!important;
  transform-origin:50% 100%!important;
  opacity:.82!important;
  box-shadow:0 6px 14px rgba(22,58,80,.10)!important;
  z-index:2!important;
}
.rxde-door-panel{
  border-width:1px!important;
  animation:rxde-door-open-v126 .44s steps(3,end) forwards!important;
}
.rxde-door-knob{
  width:5px!important;
  height:5px!important;
  right:7px!important;
}

/* Goose clearly comes OUT of the door but is not rotated with it. */
.rxde-goose{
  z-index:10!important;
  width:185px!important;
  height:185px!important;
  left:52px!important;
  bottom:4px!important;
  opacity:0!important;
  visibility:visible!important;
  transform:translate(-88px,18px) scale(.72)!important;
  animation:rxde-goose-out-v126 .66s .34s cubic-bezier(.16,.9,.2,1.08) forwards!important;
  filter:drop-shadow(0 5px 9px rgba(22,58,80,.12))!important;
}

/* Phrase appears only after goose is visibly outside. */
.rxde-goose-bubble{
  z-index:12!important;
  left:226px!important;
  top:40px!important;
  min-width:180px!important;
  max-width:195px!important;
  padding:10px 13px!important;
  border-width:1.5px!important;
  font-size:16px!important;
  opacity:0!important;
  animation:rxde-bubble-v126 .25s 1.02s ease-out forwards!important;
}

@keyframes rxde-door-open-v126{
  0%{transform:rotateY(0deg)}
  33%{transform:rotateY(-28deg)}
  66%{transform:rotateY(-58deg)}
  100%{transform:rotateY(-84deg)}
}
@keyframes rxde-goose-out-v126{
  0%{opacity:0;transform:translate(-88px,18px) scale(.72)}
  38%{opacity:.8;transform:translate(-44px,9px) scale(.84)}
  72%{opacity:1;transform:translate(-12px,2px) scale(.96)}
  100%{opacity:1;transform:translate(0,0) scale(1)}
}
@keyframes rxde-bubble-v126{
  from{opacity:0;transform:translateY(5px) scale(.97)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

@media(max-width:760px){
  .rx-removed-mark{
    right:7px!important;
    top:7px!important;
    font-size:10px!important;
  }

  .rxde-goose-cancel{
    left:7px!important;
    top:58px!important;
    width:min(94vw,360px)!important;
    height:200px!important;
  }
  .rxde-goose-stage{
    width:190px!important;
    height:190px!important;
  }
  .rxde-door-frame{
    left:18px!important;
    bottom:15px!important;
    width:60px!important;
    height:100px!important;
  }
  .rxde-goose{
    width:145px!important;
    height:145px!important;
    left:40px!important;
    bottom:5px!important;
  }
  .rxde-goose-bubble{
    left:176px!important;
    top:35px!important;
    min-width:145px!important;
    max-width:165px!important;
    padding:8px 10px!important;
    font-size:13px!important;
  }
}


/* ==========================================================================
   V1.152 — ABSOLUTE LOCK for bottom strip + simple door/goose staging
   ========================================================================== */

/* Bottom strip geometry is now absolute, not grid.
   This completely removes hover/selected/grid recalculation jumps. */


/* PRICE: fixed left slot, never moves */



/* QUANTITY CONTROL: fixed center slot */



/* TOTAL: fixed right slot, constrained to card edge */



/* ZERO QTY: button fills everything to the right of price.
   No layout switch, no phantom columns, no movement. */



/* Kill any legacy selected/hover geometry overrides */


/* --------------------------------------------------------------------------
   Door scene exactly as "closed door -> open door -> goose in doorway".
   Door is secondary; goose always renders above it.
   -------------------------------------------------------------------------- */
.rxde-goose-cancel{
  left:18px!important;
  top:18px!important;
  width:430px!important;
  height:235px!important;
  overflow:visible!important;
  isolation:isolate!important;
}

.rxde-goose-stage{
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:245px!important;
  height:225px!important;
  overflow:visible!important;
  isolation:isolate!important;
}

/* Upright frame in perspective, slightly rotated in space */
.rxde-door-frame{
  position:absolute!important;
  left:30px!important;
  bottom:18px!important;
  width:86px!important;
  height:138px!important;
  border:1.5px solid rgba(24,63,92,.70)!important;
  background:#eef2f4!important;
  transform:skewY(-8deg) rotate(-12deg)!important;
  transform-origin:50% 100%!important;
  opacity:.9!important;
  overflow:visible!important;
  z-index:2!important;
  perspective:none!important;
}

/* Dark doorway behind the opening door */
.rxde-door-dark{
  position:absolute!important;
  inset:4px!important;
  background:#6f7d84!important;
  z-index:1!important;
}

/* Door starts closed, then swings left in 3 visible stages */
.rxde-door-panel{
  position:absolute!important;
  inset:4px!important;
  z-index:4!important;
  background:#f0ebe3!important;
  border:1px solid rgba(24,63,92,.55)!important;
  transform-origin:left center!important;
  animation:rxde-door-open-v127 .48s steps(3,end) forwards!important;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)!important;
}
.rxde-door-knob{
  position:absolute!important;
  right:7px!important;
  top:50%!important;
  width:5px!important;
  height:5px!important;
  border-radius:50%!important;
  background:#c59745!important;
}

/* Goose is absolutely above all door layers */
.rxde-goose{
  position:absolute!important;
  z-index:30!important;
  width:180px!important;
  height:180px!important;
  left:60px!important;
  bottom:10px!important;
  opacity:0!important;
  visibility:visible!important;
  transform:translateX(-72px) scale(.82)!important;
  animation:rxde-goose-out-v127 .62s .40s cubic-bezier(.16,.9,.2,1.08) forwards!important;
  filter:drop-shadow(0 5px 9px rgba(22,58,80,.12))!important;
  pointer-events:none!important;
}

/* Phrase is above everything as well */
.rxde-goose-bubble{
  position:absolute!important;
  z-index:40!important;
  left:230px!important;
  top:42px!important;
  min-width:178px!important;
  max-width:195px!important;
  padding:10px 13px!important;
  border:1.5px solid #183f5c!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#183f5c!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.08!important;
  opacity:0!important;
  visibility:visible!important;
  animation:rxde-bubble-v127 .26s 1.00s ease-out forwards!important;
  pointer-events:none!important;
}

@keyframes rxde-door-open-v127{
  0%{transform:rotateY(0deg)}
  33%{transform:skewY(-4deg) translateX(-4px)}
  66%{transform:skewY(-10deg) translateX(-12px)}
  100%{transform:skewY(-18deg) translateX(-24px)}
}
@keyframes rxde-goose-out-v127{
  0%{opacity:0;transform:translateX(-72px) scale(.82)}
  38%{opacity:.7;transform:translateX(-42px) scale(.88)}
  72%{opacity:1;transform:translateX(-12px) scale(.96)}
  100%{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes rxde-bubble-v127{
  from{opacity:0;transform:translateY(5px) scale(.97)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

@media(max-width:760px){
  
  
  
  
  

  .rxde-goose-cancel{
    left:7px!important;
    top:58px!important;
    width:min(94vw,360px)!important;
    height:200px!important;
  }
  .rxde-goose-stage{
    width:190px!important;
    height:190px!important;
  }
  .rxde-door-frame{
    left:22px!important;
    bottom:15px!important;
    width:66px!important;
    height:108px!important;
  }
  .rxde-goose{
    width:145px!important;
    height:145px!important;
    left:46px!important;
    bottom:8px!important;
  }
  .rxde-goose-bubble{
    left:180px!important;
    top:38px!important;
    min-width:145px!important;
    max-width:160px!important;
    padding:8px 10px!important;
    font-size:13px!important;
  }
}


/* ==========================================================================
   V1.152 — CLEAN CARD CSS
   One canonical visual/geometry layer for static product cards.
   No hover movement, no selected reflow, no legacy bottom-strip geometry.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0) Kill legacy movement/reflow effects for static product cards.
   -------------------------------------------------------------------------- */


/* Hover may change only paint, never geometry. */


/* Selected state also paint-only. */


/* Remove any old overlay/raised-layer behavior from card internals. */


/* --------------------------------------------------------------------------
   1) Canonical card structure.
   -------------------------------------------------------------------------- */


/* Photo slot is fixed. */


/* Info slot is fixed and cannot overlap the bottom strip. */


/* Bottom strip is always the third row. */


/* --------------------------------------------------------------------------
   2) Bottom strip: one absolute coordinate system, no grid in descendants.
   -------------------------------------------------------------------------- */


/* Price slot: hard left coordinate */



/* Quantity slot: fixed middle coordinate */



/* Selected total slot: occupies the entire remaining width */



/* qty = 0: one add button fills all space right of the price.
   It must never disappear beneath another legacy element. */



/* Hover on bottom controls may repaint only. */


/* --------------------------------------------------------------------------
   3) Explicitly neutralize old hover/selected overlays.
   -------------------------------------------------------------------------- */


/* No card-lift on hover; only cursor and subtle paint. */


/* Bottom strip remains its own control zone. */




/* --------------------------------------------------------------------------
   4) Mobile uses same geometry concept, only narrower fixed slots.
   -------------------------------------------------------------------------- */
@media(max-width:760px){
  

  

  

  

  

  

  

  
}


/* ==========================================================================
   V1.152 — FIX REGRESSION FROM V1.152
   Every catalogue card has exactly the same geometry.
   Content is clipped inside the information slot; it never changes card height.
   ========================================================================== */



/* The middle/info area is also exact-height. Long metadata is clipped here,
   instead of pushing the price/action strip down. */


/* Bottom strip always starts at the exact same Y coordinate. */


/* Absolutely no hover geometry changes. */


/* Restore exact dimensions after the generic inherit above. */




@media(max-width:760px){
  
  
  
}


/* ==========================================================================
   V1.152 — fixed card: photo / info / price / - qty +
   No structural state changes. Small tactile 3D buttons. Mobile 2 columns.
   ========================================================================== */



/* A tiny card-lift is allowed, but the internals never reflow. */






/* Bottom is no longer an old single strip. */


/* Centered price: EUR is primary; RUB is secondary and visually quieter. */
#productList .product-unit-price{
  grid-row:1!important;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  height:38px!important;
  padding:0 8px!important;
  margin:0!important;
  box-sizing:border-box!important;
  background:#f5fbfe!important;
  border-bottom:1px solid #d7e6ef!important;
  text-align:center!important;
  overflow:hidden!important;
}
#productList .product-unit-price strong{
  font-size:17px!important;
  line-height:1!important;
  font-weight:900!important;
  color:#123f63!important;
  white-space:nowrap!important;
}
#productList .product-unit-price span{
  font-size:11px!important;
  line-height:1!important;
  font-weight:700!important;
  color:#6f8796!important;
  white-space:nowrap!important;
}

/* Always the same three equal controls. */
#productList .fixed-qty-control{
  grid-row:2!important;
  display:grid!important;
  grid-template-columns:1fr 1fr 1fr!important;
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  overflow:hidden!important;
  background:#fff!important;
}
#productList .fixed-qty-control > *{
  width:100%!important;
  height:40px!important;
  min-width:0!important;
  margin:0!important;
  border-radius:0!important;
  box-sizing:border-box!important;
}

/* Slight tactile/3D buttons; dimensions never change on hover/press. */
#productList .qty-big-btn{
  appearance:none!important;
  border:0!important;
  border-right:1px solid #c8dce8!important;
  background:linear-gradient(180deg,#eef9ff 0%,#cfeafb 100%)!important;
  color:#155f8c!important;
  font-size:25px!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 -3px 0 rgba(80,148,187,.16)!important;
  text-shadow:0 1px 0 #fff!important;
  transition:background-color .12s ease,box-shadow .12s ease,color .12s ease!important;
  transform:none!important;
}
#productList .qty-big-btn.plus{
  border-right:0!important;
  border-left:1px solid #c8dce8!important;
  background:linear-gradient(180deg,#61b6ea 0%,#2f91cf 100%)!important;
  color:#fff!important;
  text-shadow:0 1px 1px rgba(0,52,90,.25)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -3px 0 rgba(0,74,121,.20)!important;
}
#productList .qty-big-btn:hover:not(:disabled){
  filter:brightness(1.035)!important;
}
#productList .qty-big-btn:active:not(:disabled){
  box-shadow:inset 0 2px 5px rgba(29,89,124,.16)!important;
}
#productList .qty-big-btn:disabled{
  opacity:.34!important;
  cursor:default!important;
  filter:none!important;
}

/* Quantity is not an input anymore. */
#productList .qty-fixed-value{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  background:#fff!important;
  color:#123f63!important;
  font-size:18px!important;
  font-weight:900!important;
  user-select:none!important;
  cursor:default!important;
}

/* Kill all legacy bottom elements if any stale markup survives. */
#productList .fixed-card-controls .product-price,
#productList .fixed-card-controls .product-total,
#productList .fixed-card-controls .qty-stepper,
#productList .fixed-card-controls .add-to-order-card{
  display:none!important;
}

/* Mobile: two cards per row where there is realistically enough width. */
@media(max-width:760px){
  #productList{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    align-items:start!important;
  }

  

  

  

  

  #productList .product-title{
    font-size:11px!important;
    line-height:1.15!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  #productList .product-main .meta-line,
  #productList .product-main .property-line,
  #productList .product-main small{
    font-size:9px!important;
    line-height:1.12!important;
  }

  #productList .product-card-fixed-bottom.fixed-card-controls{
    height:76px!important;
    min-height:76px!important;
    max-height:76px!important;
    grid-template-rows:36px 40px!important;
  }

  #productList .product-unit-price{
    height:36px!important;
    gap:5px!important;
    padding:0 4px!important;
  }
  #productList .product-unit-price strong{font-size:15px!important}
  #productList .product-unit-price span{font-size:9.2px!important}

  #productList .qty-big-btn{
    font-size:23px!important;
  }
  #productList .qty-fixed-value{
    font-size:16px!important;
  }
}

/* On exceptionally narrow screens, keep two columns but tighten details first. */
@media(max-width:390px){
  #productList{gap:6px!important}
  
  #productList .product-main{
    font-size:9px!important;
  }
}

/* Running goose: no door. Goose and text cross the screen together. */
.rxde-goose-cancel{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  z-index:50000!important;
  pointer-events:none!important;
  overflow:hidden!important;
  opacity:1!important;
  transform:none!important;
}

.rxde-running-goose-scene{
  position:absolute!important;
  left:-230px!important;
  top:18%!important;
  width:220px!important;
  height:180px!important;
  animation:rxde-goose-run 3.25s linear forwards!important;
}

.rxde-running-goose-scene .rxde-goose{
  position:absolute!important;
  left:20px!important;
  top:44px!important;
  width:150px!important;
  height:135px!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  animation:rxde-goose-bob .28s ease-in-out infinite alternate!important;
  filter:drop-shadow(0 4px 8px rgba(22,58,80,.13))!important;
}

.rxde-running-goose-scene .rxde-goose-bubble{
  position:absolute!important;
  left:32px!important;
  top:0!important;
  min-width:175px!important;
  max-width:190px!important;
  padding:8px 11px!important;
  border:1.5px solid #183f5c!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#183f5c!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.05!important;
  text-align:center!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  animation:none!important;
  box-shadow:0 5px 14px rgba(22,58,80,.10)!important;
}

@keyframes rxde-goose-run{
  0%{left:-230px}
  100%{left:calc(100vw + 40px)}
}
@keyframes rxde-goose-bob{
  from{transform:translateY(0) rotate(-2deg)}
  to{transform:translateY(-5px) rotate(2deg)}
}


/* ==========================================================================
   V1.152 — STABLE FIXED CARDS
   Desktop: 4 columns. Mobile: 2 columns.
   Four fixed zones. No moving internals, no changing lengths, no layer jumps.
   ========================================================================== */

/* DESKTOP GRID — always 4 cards */
#productList{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:start!important;
}

/* CARD SHELL — exact geometry */


/* Hover is paint-only. No moving card, no moving children. */



/* ZONE 1 — fixed image */



/* ZONE 2 — fixed info */



/* ZONES 3 + 4 — fixed bottom host */


/* ZONE 3 — price centered; EUR clearly primary, RUB secondary */
#productList .product-unit-price{
  grid-row:1!important;
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  margin:0!important;
  padding:0 6px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:#f4faff!important;
  border-bottom:1px solid #d7e6ef!important;
  text-align:center!important;
  transform:none!important;
}
#productList .product-unit-price strong{
  font-size:17px!important;
  line-height:1!important;
  font-weight:900!important;
  color:#123f63!important;
  white-space:nowrap!important;
}
#productList .product-unit-price span{
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:700!important;
  color:#728897!important;
  white-space:nowrap!important;
}

/* ZONE 4 — permanently 3 equal cells */
#productList .fixed-qty-control{
  grid-row:2!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:#fff!important;
}
#productList .fixed-qty-control > *{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  border-radius:0!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
}

/* Slight tactile/3D effect, dimensions never change */
#productList .qty-big-btn{
  appearance:none!important;
  border:0!important;
  border-right:1px solid #c9dce8!important;
  background:linear-gradient(180deg,#f1f9fe 0%,#d5ebf8 100%)!important;
  color:#155f8c!important;
  font-size:24px!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -3px 0 rgba(72,139,177,.14)!important;
  text-shadow:0 1px 0 #fff!important;
  transition:background-color .12s ease,box-shadow .12s ease,filter .12s ease!important;
}
#productList .qty-big-btn.plus{
  border-right:0!important;
  border-left:1px solid #c9dce8!important;
  background:linear-gradient(180deg,#61b6ea 0%,#2f91cf 100%)!important;
  color:#fff!important;
  text-shadow:0 1px 1px rgba(0,52,90,.24)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -3px 0 rgba(0,74,121,.18)!important;
}
#productList .qty-big-btn:hover:not(:disabled){filter:brightness(1.035)!important}
#productList .qty-big-btn:active:not(:disabled){
  filter:brightness(.98)!important;
  box-shadow:inset 0 2px 5px rgba(29,89,124,.16)!important;
}
#productList .qty-big-btn:disabled{
  opacity:.34!important;
  cursor:default!important;
  filter:none!important;
}
#productList .qty-fixed-value{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  background:#fff!important;
  color:#123f63!important;
  font-size:18px!important;
  font-weight:900!important;
  user-select:none!important;
  cursor:default!important;
}

/* Remove all legacy bottom variants from this canonical card */
#productList .fixed-card-controls .product-price,
#productList .fixed-card-controls .product-total,
#productList .fixed-card-controls .qty-stepper,
#productList .fixed-card-controls .add-to-order-card{
  display:none!important;
}

/* Click semantics */




/* MOBILE — 2 cards per row, same exact architecture */
@media(max-width:760px){
  #productList{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    align-items:start!important;
  }

  

  
  

  

  

  

  

  #productList .product-unit-price{
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
  }
  #productList .product-unit-price strong{font-size:15px!important}
  #productList .product-unit-price span{font-size:9px!important}

  #productList .fixed-qty-control,
  #productList .fixed-qty-control > *{
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
  }
  #productList .qty-big-btn{font-size:22px!important}
  #productList .qty-fixed-value{font-size:16px!important}
}

/* Very narrow phones — still 2 columns, tighten only typography */
@media(max-width:390px){
  #productList{gap:6px!important}
  
  
  
  
  
}

/* Goose is a separate overlay and can never affect card layout */
.rxde-goose-cancel{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  z-index:50000!important;
  pointer-events:none!important;
  overflow:hidden!important;
}


/* ==========================================================================
   V1.152 — compact fixed card height
   Reclaim only unused vertical reserve in the information zone.
   Widths, 4-column desktop grid, price row and controls stay untouched.
   ========================================================================== */

/* Desktop:
   80 photo + 124 info + 38 price + 42 controls = 284px */




/* Keep PDF and metadata compact; no geometry changes on hover. */


/* Mobile:
   64 photo + 116 info + 34 price + 40 controls = 254px */
@media(max-width:760px){
  

  

  
}

@media(max-width:390px){
  

  

  
}


/* ==========================================================================
   V1.152 — NO RESERVE
   Every information category = exactly one line.
   No spare vertical area, no expansion, no shifting. More info -> quick view.
   ========================================================================== */

/* Desktop:
   80 photo + 92 info + 38 price + 42 controls = 252 px exactly. */


/* Information block is the sum of its visible one-line rows. No reserve. */


/* Every information category is one line, period. */


/* Product name: one line only. */



/* Core categories: each one exactly one clipped line. */



/* Dosage / pack size = one line. */


/* PDF = one line. The separate "Карточка товара →" link is unnecessary:
   the whole card already opens quick view. */




/* No secondary catalog-origin line inside a compact card. Search already shows context. */


/* Never allow any child to increase line height / card height. */



/* Price and controls remain exactly where they are. */


/* Mobile: same rule — no reserve, every category one line.
   62 photo + 86 info + 34 price + 40 controls = 222 px. */
@media(max-width:760px){
  

  

  

  
  

  

  

  

  
}

/* Very narrow phone: still 2 columns. No extra reserve is introduced. */
@media(max-width:390px){
  

  

  
}


/* ==========================================================================
   V1.152 — TIGHT CARD
   Remove dosage/pack line from compact catalogue cards.
   Full details remain in Quick View.
   Fully populated card fits exactly — no reserve.
   ========================================================================== */

/*
Desktop exact calculation:
  title                 15 px
  МНН                    11 px
  Form                   11 px
  Hersteller             11 px
  PZN                    11 px
  PDF                    13 px
  top + bottom padding    8 px
  --------------------------------
  info block             80 px exactly

Full card:
  photo                  80 px
  info                   80 px
  price                  38 px
  controls               42 px
  --------------------------------
  total                 240 px
*/

/* Dosage / Packungsgröße is redundant in the compact card.
   It remains available in the expanded product view. */


/* Desktop — exact 240px card. */




/* Mobile exact calculation:
   title                 14 px
   4 core rows           40 px
   PDF                    12 px
   padding                 8 px
   --------------------------------
   info block             74 px

   62 + 74 + 34 + 40 = 210 px
*/
@media(max-width:760px){
  

  
}

/* Very narrow phones: preserve the same no-reserve philosophy. */
@media(max-width:390px){
  

  
}


/* ==========================================================================
   V1.152 — EXACT ROWS, ZERO RESERVE
   Compact catalogue card contains only:
   name / Form / Hersteller / PZN / PDF,
   then immediately price and controls.
   ========================================================================== */

/* Hide rows that are redundant in the compact card.
   Full details remain in Quick View. */


/* Desktop exact card:
   photo 80 + info 67 + price 38 + controls 42 = 227 px */




/* Name = 1 fixed line */



/* Form / Hersteller / PZN = one fixed line each */



/* PDF = one fixed line */



/* Price follows immediately after the last information row. */


/* Mobile exact card:
   58 photo + 60 info + 34 price + 40 controls = 192 px */
@media(max-width:760px){
  

  

  

  

  

  

  

  
}

@media(max-width:390px){
  

  

  
}


/* ==========================================================================
   V1.152 — EXACT GRID ROWS
   No inherited gaps. No reserve. No line can move another line.
   Compact card keeps: name, MHH, Form, Hersteller, PZN, PDF.
   ========================================================================== */

/*
DESKTOP EXACT HEIGHT:
  photo         80
  title         15
  MHH           11
  Form          11
  Hersteller    11
  PZN           11
  PDF           13
  info padding   6
  price         38
  controls      42
  ----------------
  total        238 px
*/

/* Kill ALL inherited grid/flex gaps on the card and its fixed info structure. */


/* Information section is itself an exact grid:
   title 15 | metadata block 44 | PDF 13 + 6 px total vertical padding */


/* Title is always exactly one line. */



/* Metadata block = four exact 11px rows:
   MHH / Form / Hersteller / PZN */



/* PDF = exact final info row. */



/* Compact card never renders these rows. Extra defensive hide. */


/* Bottom starts immediately after 78px info block. */


/* MOBILE EXACT HEIGHT:
   photo 58 + info 70 + price 34 + controls 40 = 202 px */
@media(max-width:760px){
  

  

  

  
  

  

  

  

  
}

@media(max-width:390px){
  

  

  
}


/* ==========================================================================
   V1.152 — CLASSIC STABLE CARD
   Restore classic price | qty | total controls.
   No DOM replacement on quantity changes. Quick View styles untouched.
   ========================================================================== */

/* Cancel experimental fixed-card geometry from V1.130–136 for catalog cards. */


/* Bring back the subtle "alive" hover, but paint only — no layout movement. */


/* Photo and info return to classic proportions. */



/* Restore normal compact text flow. */






/* Classic lower strip: fixed left price, fixed qty, 3px separator, fixed total. */


/* Price is the only deliberately non-clickable region. */
#productList .classic-card-controls > .product-price{
  grid-area:price!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  width:84px!important;
  min-width:84px!important;
  max-width:84px!important;
  height:58px!important;
  padding:7px 8px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:#fff!important;
  border-right:1px solid #d8e6ee!important;
  cursor:default!important;
}
#productList .classic-card-controls > .product-price strong,
#productList .classic-card-controls > .product-price span{
  white-space:nowrap!important;
}

/* Quantity control fixed forever. */
#productList .classic-card-controls > .qty-stepper{
  grid-area:qty!important;
  display:grid!important;
  grid-template-columns:30px 36px 30px!important;
  width:96px!important;
  min-width:96px!important;
  max-width:96px!important;
  height:58px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:#f7fbfd!important;
}
#productList .classic-card-controls > .qty-stepper button,
#productList .classic-card-controls > .qty-stepper input{
  width:100%!important;
  min-width:0!important;
  height:58px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  border-radius:0!important;
}
#productList .classic-card-controls > .qty-stepper button{
  cursor:pointer!important;
}
#productList .classic-card-controls > .qty-stepper input{
  cursor:text!important;
}

/* 3px real air gap between qty and total. */
#productList .classic-card-controls::after{
  content:""!important;
  grid-area:sep!important;
  display:block!important;
  width:3px!important;
  height:58px!important;
  background:#fff!important;
}

/* Total has fixed size and never changes the geometry. */
#productList .classic-card-controls > .product-total{
  grid-area:total!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  width:112px!important;
  min-width:112px!important;
  max-width:112px!important;
  height:58px!important;
  padding:7px 8px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  text-align:right!important;
  background:#f1f8f6!important;
  border-left:1px solid #dce9e5!important;
  cursor:pointer!important;
}
#productList .classic-card-controls > .product-total.empty{
  visibility:visible!important;
  background:#fafcfc!important;
}
#productList .classic-card-controls > .product-total.empty::after{
  content:""!important;
}

/* Pointer everywhere the card can be opened. */


/* But controls/price keep their specific cursors. */
#productList .classic-card-controls > .product-price{cursor:default!important}
#productList .classic-card-controls > .qty-stepper{cursor:default!important}
#productList .classic-card-controls > .qty-stepper button{cursor:pointer!important}
#productList .classic-card-controls > .qty-stepper input{cursor:text!important}

/* No inner element shifts on hover/selected. */


/* Keep desktop 4-column catalog. */
#productList{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}

@media(max-width:760px){
  #productList{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  

  /* Compact mobile classic bottom: price 62 | qty 84 | 3 | total rest */
  
  #productList .classic-card-controls > .product-price{
    width:62px!important;
    min-width:62px!important;
    max-width:62px!important;
    padding:6px 5px!important;
  }
  #productList .classic-card-controls > .qty-stepper{
    width:84px!important;
    min-width:84px!important;
    max-width:84px!important;
    grid-template-columns:27px 30px 27px!important;
  }
  #productList .classic-card-controls > .product-total{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    padding:6px 5px!important;
  }
}


/* ==========================================================================
   V1.152 — STATIC CONTROLS / NO TEXT SHIFT
   - Hover highlights card border/shadow only.
   - No inner text/object movement.
   - One standard static - / qty / + control everywhere.
   - Search uses the same blue control language as order/cart/quick view.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1) Catalogue card hover: paint ONLY.
   Nothing inside the card is allowed to move, scale, translate or resize.
   -------------------------------------------------------------------------- */




/* Kill every old descendant hover translation/scale. */


/* Never transition geometry inside product cards. */


/* Pointer means clickable. Price is the only intentionally non-clickable field. */






/* --------------------------------------------------------------------------
   2) ONE standard static quantity control everywhere.
   Same visual language as the order sheet: pale minus, white qty, blue plus.
   No changing border, radius, scale, position or dimensions on hover/active.
   -------------------------------------------------------------------------- */
.qty-stepper,
.order-qty,
.suggest-stepper,
.pq-stepper{
  box-sizing:border-box!important;
  overflow:hidden!important;
  border:1px solid #a9c6d9!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  transition:none!important;
}

/* Keep each context's existing width/height; only visual styling is unified. */
.qty-stepper button,
.qty-stepper input,
.order-qty button,
.order-qty input,
.suggest-stepper button,
.suggest-stepper b,
.pq-stepper button,
.pq-stepper input{
  box-sizing:border-box!important;
  margin:0!important;
  border-radius:0!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  box-shadow:none!important;
  transition:background-color .12s ease,color .12s ease!important;
}

/* Minus */
.qty-stepper button:first-child,
.order-qty button:first-child,
.suggest-stepper button:first-child,
.pq-stepper button:first-child{
  background:#eef6ff!important;
  color:#245a83!important;
  border:0!important;
  border-right:1px solid #d4e1e9!important;
}

/* Quantity center */
.qty-stepper input,
.order-qty input,
.suggest-stepper b,
.pq-stepper input{
  background:#fff!important;
  color:#16272b!important;
  border-top:0!important;
  border-bottom:0!important;
  border-left:0!important;
  border-right:0!important;
  font-variant-numeric:tabular-nums!important;
}

/* Plus */
.qty-stepper button:last-child,
.order-qty button:last-child,
.suggest-stepper button:last-child,
.pq-stepper button:last-child{
  background:#2f7fbf!important;
  color:#fff!important;
  border:0!important;
  border-left:1px solid #286fa8!important;
  box-shadow:none!important;
}

/* Hover = color only. Absolutely no movement, border change, resize or shadow. */
.qty-stepper button:hover:not(:disabled),
.order-qty button:hover:not(:disabled),
.suggest-stepper button:hover:not(:disabled),
.pq-stepper button:hover:not(:disabled){
  transform:none!important;
  translate:none!important;
  scale:1!important;
  box-shadow:none!important;
  border-color:inherit!important;
}
.qty-stepper button:first-child:hover:not(:disabled),
.order-qty button:first-child:hover:not(:disabled),
.suggest-stepper button:first-child:hover:not(:disabled),
.pq-stepper button:first-child:hover:not(:disabled){
  background:#e6f1fa!important;
}
.qty-stepper button:last-child:hover:not(:disabled),
.order-qty button:last-child:hover:not(:disabled),
.suggest-stepper button:last-child:hover:not(:disabled),
.pq-stepper button:last-child:hover:not(:disabled){
  background:#2a74af!important;
}

/* Press/focus also preserves exact geometry. */
.qty-stepper button:active,
.order-qty button:active,
.suggest-stepper button:active,
.pq-stepper button:active,
.qty-stepper button:focus-visible,
.order-qty button:focus-visible,
.suggest-stepper button:focus-visible,
.pq-stepper button:focus-visible,
.qty-stepper input:focus,
.order-qty input:focus,
.pq-stepper input:focus{
  transform:none!important;
  translate:none!important;
  scale:1!important;
  outline:none!important;
  box-shadow:none!important;
}

/* Disabled minus stays in the same place and size. */
.qty-stepper button:disabled,
.order-qty button:disabled,
.suggest-stepper button:disabled,
.pq-stepper button:disabled{
  background:#f3f6f7!important;
  color:#aab6bc!important;
  opacity:1!important;
  cursor:default!important;
}

/* --------------------------------------------------------------------------
   3) Search suggestion control uses exact same static colors.
   Previously it looked grey despite doing the same job.
   -------------------------------------------------------------------------- */
#searchSuggest .suggest-stepper{
  border-color:#a9c6d9!important;
  background:#fff!important;
}
#searchSuggest .suggest-stepper button:first-child{
  background:#eef6ff!important;
  color:#245a83!important;
}
#searchSuggest .suggest-stepper b{
  background:#fff!important;
  color:#16272b!important;
}
#searchSuggest .suggest-stepper button:last-child{
  background:#2f7fbf!important;
  color:#fff!important;
}

/* Search rows themselves also do not slide text/controls on hover. */
#searchSuggest .suggest-row,
#searchSuggest .suggest-row:hover,
#searchSuggest .suggest-row *,
#searchSuggest .suggest-row:hover *{
  transform:none!important;
  translate:none!important;
  scale:1!important;
}
#searchSuggest .suggest-row *{
  transition-property:background-color,border-color,color,box-shadow,opacity!important;
}

/* V1.152 RIGID FIXED CARD — authoritative catalogue card */
#productList{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:start!important}
#productList .rigid-product-card,#productList .rigid-product-card:hover,#productList .rigid-product-card:focus,#productList .rigid-product-card:focus-within,#productList .rigid-product-card.selected,#productList .rigid-product-card.selected:hover{position:relative!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:82px 94px 60px!important;gap:0!important;width:100%!important;height:236px!important;min-height:236px!important;max-height:236px!important;padding:0!important;margin:0!important;overflow:hidden!important;box-sizing:border-box!important;border:1px solid #7fbce0!important;border-radius:17px!important;background:#fff!important;transform:none!important;translate:none!important;scale:1!important;transition:none!important}
#productList .rigid-product-card:hover{border-color:#4f9dcc!important;box-shadow:none!important;background:#fff!important}
#productList .rigid-product-card *,#productList .rigid-product-card *:hover,#productList .rigid-product-card *:focus,#productList .rigid-product-card *:focus-visible,#productList .rigid-product-card.selected *,#productList .rigid-product-card.selected:hover *{transform:none!important;translate:none!important;scale:1!important;transition:none!important;box-sizing:border-box!important}
#productList .rigid-card-photo{grid-row:1!important;position:relative!important;width:100%!important;height:82px!important;min-height:82px!important;max-height:82px!important;margin:0!important;padding:8px 10px 4px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important}
#productList .rigid-card-photo img{display:block!important;max-width:74%!important;max-height:66px!important;object-fit:contain!important}
#productList .rigid-card-info{grid-row:2!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:18px 13px 13px 13px 13px 16px!important;gap:0!important;width:100%!important;height:94px!important;min-height:94px!important;max-height:94px!important;margin:0!important;padding:4px 10px!important;overflow:hidden!important;background:#fff!important}
#productList .rigid-info-row{display:flex!important;align-items:center!important;gap:4px!important;width:100%!important;min-width:0!important;height:13px!important;min-height:13px!important;max-height:13px!important;margin:0!important;padding:0!important;line-height:13px!important;font-size:9.2px!important;white-space:nowrap!important;overflow:hidden!important}
#productList .rigid-info-row>b{flex:0 0 auto!important;font-weight:800!important}#productList .rigid-info-row>span{flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#productList .rigid-title-row,#productList .rigid-title-row .product-title{height:18px!important;min-height:18px!important;max-height:18px!important;line-height:18px!important;font-size:12.5px!important;font-weight:800!important}
#productList .rigid-title-row .product-title{flex:1 1 auto!important;min-width:0!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#productList .rigid-pdf-row,#productList .rigid-pdf-link{height:16px!important;min-height:16px!important;max-height:16px!important;line-height:16px!important;font-size:10px!important}.rigid-pdf-link{font-weight:800!important;color:#0e624f!important;text-decoration:none!important}
#productList .rigid-card-bottom{grid-row:3!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-areas:"price qty total"!important;gap:0!important;width:100%!important;height:60px!important;min-height:60px!important;max-height:60px!important;margin:0!important;padding:0!important;overflow:hidden!important;border-top:1px solid #d5e4ec!important;background:#fff!important}
#productList .rigid-bottom-cell{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;height:60px!important;min-height:60px!important;max-height:60px!important;margin:0!important;padding:5px!important;overflow:hidden!important;background:#fff!important}
#productList .rigid-unit-price{grid-area:price!important;border-right:1px solid #d5e4ec!important;cursor:default!important}.rigid-qty-cell{grid-area:qty!important;border-right:1px solid #d5e4ec!important;padding:6px!important;cursor:default!important}.rigid-total-cell{grid-area:total!important;cursor:default!important;background:#f6faf9!important}
#productList .rigid-unit-price strong,#productList .rigid-total-cell strong{width:100%!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;text-align:center!important;color:#103f61!important;font-size:16px!important;line-height:18px!important;font-weight:900!important}
#productList .rigid-unit-price span,#productList .rigid-total-cell span{width:100%!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;text-align:center!important;color:#87959e!important;font-size:9.2px!important;line-height:12px!important;font-weight:700!important}
#productList .rigid-total-cell.empty{visibility:visible!important;background:#f6faf9!important}#productList .rigid-total-cell.empty>*{visibility:hidden!important}
#productList .rigid-qty-stepper{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid #a9c6d9!important;border-radius:8px!important;background:#fff!important}
#productList .rigid-qty-stepper button,#productList .rigid-qty-stepper input{position:static!important;width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important;max-height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;font-size:14px!important;font-weight:800!important;line-height:38px!important;text-align:center!important}
#productList .rigid-qty-stepper button:first-child{background:#eef6ff!important;color:#245a83!important;border-right:1px solid #d4e1e9!important}#productList .rigid-qty-stepper input{background:#fff!important;color:#16272b!important}#productList .rigid-qty-stepper button:last-child{background:#2f7fbf!important;color:#fff!important;border-left:1px solid #286fa8!important}#productList .rigid-qty-stepper button:disabled{background:#f3f6f7!important;color:#adb8bd!important;opacity:1!important}
#productList .rigid-qty-stepper button:hover,#productList .rigid-qty-stepper button:active,#productList .rigid-qty-stepper button:focus,#productList .rigid-qty-stepper input:hover,#productList .rigid-qty-stepper input:focus{transform:none!important;translate:none!important;scale:1!important;width:100%!important;height:38px!important;border-radius:0!important;box-shadow:none!important;outline:none!important}
#productList .rigid-product-card,#productList .rigid-card-photo,#productList .rigid-card-photo *,#productList .rigid-card-info,#productList .rigid-card-info *{cursor:pointer!important}#productList .rigid-card-bottom,#productList .rigid-card-bottom *{cursor:default!important}#productList .rigid-qty-stepper button{cursor:pointer!important}#productList .rigid-qty-stepper input{cursor:text!important}
@media(max-width:760px){#productList{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}#productList .rigid-product-card,#productList .rigid-product-card:hover,#productList .rigid-product-card.selected{grid-template-rows:66px 82px 54px!important;height:202px!important;min-height:202px!important;max-height:202px!important;border-radius:14px!important}#productList .rigid-card-photo{height:66px!important;min-height:66px!important;max-height:66px!important;padding:5px 6px 3px!important}#productList .rigid-card-photo img{max-height:56px!important;max-width:76%!important}#productList .rigid-card-info{grid-template-rows:14px 11px 11px 11px 11px 14px!important;height:82px!important;min-height:82px!important;max-height:82px!important;padding:5px 6px!important}#productList .rigid-info-row{height:11px!important;min-height:11px!important;max-height:11px!important;line-height:11px!important;font-size:7.8px!important;gap:2px!important}#productList .rigid-title-row,#productList .rigid-title-row .product-title{height:14px!important;min-height:14px!important;max-height:14px!important;line-height:14px!important;font-size:10px!important}#productList .rigid-pdf-row,#productList .rigid-pdf-link{height:14px!important;min-height:14px!important;max-height:14px!important;line-height:14px!important;font-size:8.4px!important}#productList .rigid-card-bottom{height:54px!important;min-height:54px!important;max-height:54px!important}#productList .rigid-bottom-cell{height:54px!important;min-height:54px!important;max-height:54px!important;padding:4px 3px!important}#productList .rigid-unit-price strong,#productList .rigid-total-cell strong{font-size:13px!important;line-height:15px!important}#productList .rigid-unit-price span,#productList .rigid-total-cell span{font-size:8px!important;line-height:10px!important}#productList .rigid-qty-stepper{height:36px!important;min-height:36px!important;max-height:36px!important;border-radius:7px!important}#productList .rigid-qty-stepper button,#productList .rigid-qty-stepper input,#productList .rigid-qty-stepper button:hover,#productList .rigid-qty-stepper button:active,#productList .rigid-qty-stepper input:focus{height:34px!important;min-height:34px!important;max-height:34px!important;line-height:34px!important;font-size:12px!important}}


/* ==========================================================================\n   V1.152 — ISOLATED RIGID CARD\n   New unique classes intentionally avoid all legacy product-price/qty-stepper/product-total CSS.\n   No hover movement, no geometry changes, no rerender required for quantity.\n   ========================================================================== */
#productList{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:start!important}







































@media(max-width:760px){
  #productList{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}


/* ==========================================================================
   V1.152 — SEARCH-LANGUAGE TYPOGRAPHY + EMPTY-AREA CLOSE
   Catalogue and Quick View use the same text/control language as search rows.
   ========================================================================== */

/* ---------- Compact catalogue card: typography same as search suggestion ---------- */






/* Same price hierarchy as search: RUB primary, EUR secondary. */



/* Catalogue qty looks exactly like search/order controls: static, no visual tricks. */





/* No movement or size changes on hover/focus/active. */


/* ---------- Quick View: same font language as search, only proportionally larger ---------- */
.product-quick-sheet,
#productQuickBody{
  font-family:inherit!important;
}
.pq-title-row h2{
  font-size:20px!important;
  line-height:1.16!important;
  font-weight:800!important;
  color:var(--rxde-text,#173d56)!important;
}
.pq-meta{
  font-size:11.5px!important;
  line-height:1.28!important;
  color:#465f6d!important;
}
.pq-meta b{
  color:#183f55!important;
  font-weight:800!important;
}
.pq-actions,
.pq-actions .product-text-link{
  font-size:10.5px!important;
  line-height:1.2!important;
  color:var(--rxde-green,#0e624f)!important;
  font-weight:800!important;
}

/* Quick-view price mirrors search: RUB primary, EUR secondary. */
.pq-price strong,
.pq-total strong{
  font-size:18px!important;
  line-height:1.08!important;
  font-weight:790!important;
  color:#173d56!important;
}
.pq-price span,
.pq-total span{
  font-size:11px!important;
  line-height:1.1!important;
  color:var(--muted,#6d808b)!important;
  margin-top:2px!important;
}

/* Quick-view stepper = exact same static component language. */
.pq-stepper{
  border:1px solid var(--rxde-border-strong,#a9c6d9)!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.pq-stepper button,
.pq-stepper input{
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:780!important;
  box-shadow:none!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
}
.pq-stepper button:first-child{
  background:#f8faf9!important;
  color:#24373b!important;
  border-right:1px solid var(--rxde-border,#d9e4e1)!important;
}
.pq-stepper input{
  background:#fff!important;
  color:#16272b!important;
}
.pq-stepper button:last-child{
  background:#f8faf9!important;
  color:#24373b!important;
  border-left:1px solid var(--rxde-border,#d9e4e1)!important;
}
.pq-stepper button:hover,
.pq-stepper button:active,
.pq-stepper button:focus,
.pq-stepper input:hover,
.pq-stepper input:focus{
  transform:none!important;
  translate:none!important;
  scale:1!important;
  box-shadow:none!important;
  outline:none!important;
}

/* Related cards use the same search typography too. */
.pq-float-related-info strong{
  font-size:12.5px!important;
  line-height:1.16!important;
  font-weight:800!important;
  color:var(--rxde-text,#173d56)!important;
}
.pq-float-related-info span{
  font-size:10px!important;
  line-height:1.18!important;
  color:#465f6d!important;
}
.pq-float-related-info small{
  font-size:9.2px!important;
  line-height:1.18!important;
  color:#173d56!important;
}

/* The reserved right-side rail itself is not interactive.
   Only actual cards/filter/cues are interactive. */
#productQuickRelated{
  cursor:default!important;
}
#productQuickRelated .pq-float-related,
#productQuickRelated button{
  cursor:pointer!important;
}


/* ==========================================================================
   V1.152 — STATIC CARDS CLEAN LINKS
   - remove browser spinner arrows in compact stepper fields
   - hide zero-total backgrounds
   - remove bottom separators inside compact cards
   - lighter readable font stack
   - add full-card link on mini card
   - selected similar variants show qty+sum at bottom-right
   ========================================================================== */

/* Lighter, cleaner readable stack for cards and quick view */
:root{
  --rxde-ui-font:"Aptos","Segoe UI Variable","Inter","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
}


/* Remove native number spinners everywhere in card steppers */



/* Compact cards: no cell separator lines, only fixed slots */





/* Mini card type hierarchy a bit lighter */






/* Full product link inside mini card */





/* Quick-view typography lighter */
.pq-title-row h2{font-family:var(--rxde-ui-font)!important;font-weight:740!important;letter-spacing:-0.015em!important}
.pq-meta{font-family:var(--rxde-ui-font)!important;font-size:11.6px!important;line-height:1.3!important;color:#48616c!important}
.pq-meta b{font-weight:740!important;color:#183f55!important}
.pq-actions,.pq-actions .product-text-link{font-family:var(--rxde-ui-font)!important;font-weight:700!important}
.pq-price strong,.pq-total strong{font-weight:760!important;letter-spacing:-0.01em!important}
.pq-price span,.pq-total span{font-weight:560!important}
.pq-total.empty{background:transparent!important}

/* Use same static stepper look in quick view and search results */
.pq-stepper,
.qty-stepper{
  border:1px solid #a9c6d9!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.pq-stepper button,
.pq-stepper input,
.qty-stepper button,
.qty-stepper input{
  font-family:var(--rxde-ui-font)!important;
  font-size:13px!important;
  font-weight:760!important;
  box-shadow:none!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
}
.pq-stepper button:first-child,
.qty-stepper button:first-child{background:#eef6ff!important;color:#245a83!important;border-right:1px solid #d4e1e9!important}
.pq-stepper input,
.qty-stepper input{background:#fff!important;color:#16272b!important}
.pq-stepper button:last-child,
.qty-stepper button:last-child{background:#2f7fbf!important;color:#fff!important;border-left:1px solid #286fa8!important}
.pq-stepper button:disabled,
.qty-stepper button:disabled{background:#f3f6f7!important;color:#adb8bd!important;opacity:1!important}
.pq-stepper button:hover,.pq-stepper button:active,.pq-stepper button:focus,
.pq-stepper input:hover,.pq-stepper input:focus,
.qty-stepper button:hover,.qty-stepper button:active,.qty-stepper button:focus,
.qty-stepper input:hover,.qty-stepper input:focus{
  transform:none!important;translate:none!important;scale:1!important;box-shadow:none!important;outline:none!important;
}

/* Similar variants: remove old "в заказе" badge; show chosen qty/sum bottom-right */
.pq-float-related{position:relative!important;padding-bottom:26px!important}
.pq-float-related.selected::after{content:none!important;display:none!important}
.pq-float-related-picked{
  position:absolute!important;
  right:12px!important;
  bottom:8px!important;
  max-width:calc(100% - 24px)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-family:var(--rxde-ui-font)!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  color:#2c5979!important;
  font-weight:720!important;
  text-align:right!important;
}
.pq-float-related-info strong{font-family:var(--rxde-ui-font)!important;font-weight:740!important;letter-spacing:-0.01em!important}
.pq-float-related-info span,
.pq-float-related-info small{font-family:var(--rxde-ui-font)!important;font-weight:560!important}

/* Search-result rows: same refined font */
#searchResults .product-title,
#searchResults .product-name,
#searchResults .product-row strong{font-family:var(--rxde-ui-font)!important;letter-spacing:-0.01em!important}


/* ==========================================================================
   V1.152 — BRAND SELECTED STRIP
   central site pattern: "Выбрано ... уп. · ... ₽"
   mini cards, search results, related cards, quick view
   ========================================================================== */
:root{ --rxde-brand-strip:#eef7fc; --rxde-brand-strip-border:#d9ebf6; --rxde-brand-strip-text:#2f5d79; }

/* Mini catalog card: two-part control row + full-width brand strip */











/* Search suggest rows: central selected strip */
#searchSuggest .suggest-row{
  display:grid!important;
  grid-template-columns:74px minmax(0,1fr) 178px!important;
  grid-template-rows:auto 24px!important;
  align-items:start!important;
  gap:0 14px!important;
  padding:12px 14px 0 14px!important;
  min-height:92px!important;
  background:#fff!important;
  border:1px solid #d7e5ed!important;
  border-radius:16px!important;
  overflow:hidden!important;
}
#searchSuggest .suggest-photo{grid-column:1;grid-row:1;align-self:start!important}
#searchSuggest .suggest-main{grid-column:2;grid-row:1;min-width:0!important;padding-top:2px!important}
#searchSuggest .suggest-side{grid-column:3;grid-row:1;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;padding-top:4px!important}
#searchSuggest .suggest-price{align-items:flex-start!important;text-align:left!important}
#searchSuggest .suggest-picked{
  grid-column:1 / -1!important;
  grid-row:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-height:24px!important;
  padding:0 14px!important;
  border-top:1px solid var(--rxde-brand-strip-border)!important;
  background:#fff!important;
  color:transparent!important;
  font-family:var(--rxde-ui-font)!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:720!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#searchSuggest .suggest-picked.selected{background:var(--rxde-brand-strip)!important;color:var(--rxde-brand-strip-text)!important}
#searchSuggest .suggest-row.selected{box-shadow:none!important}

/* Quick view main card: price + stepper, then brand strip */
#productQuickBody .pq-bottom{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 168px!important;
  align-items:center!important;
  gap:14px!important;
}
#productQuickBody .pq-price{justify-self:start!important;align-items:flex-start!important;text-align:left!important}
#productQuickBody .pq-picked{
  margin-top:10px!important;
  min-height:26px!important;
  padding:0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  border-top:1px solid var(--rxde-brand-strip-border)!important;
  background:#fff!important;
  color:transparent!important;
  font-family:var(--rxde-ui-font)!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:730!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#productQuickBody .pq-picked.selected{background:var(--rxde-brand-strip)!important;color:var(--rxde-brand-strip-text)!important}

/* Related cards in quick view: add price+stepper and same selected strip */
.pq-float-related{
  display:grid!important;
  grid-template-columns:82px minmax(0,1fr)!important;
  grid-template-rows:auto auto 24px!important;
  gap:8px 12px!important;
  align-items:start!important;
  padding:12px 12px 0 12px!important;
  overflow:hidden!important;
}
.pq-float-related-thumb{grid-column:1;grid-row:1 / span 2!important}
.pq-float-related-info{grid-column:2;grid-row:1!important;min-width:0!important}
.pq-float-related-controls{grid-column:2;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.pq-float-related-price{display:flex!important;flex-direction:column!important;align-items:flex-start!important;line-height:1.08!important}
.pq-float-related-price b{font-family:var(--rxde-ui-font)!important;font-size:14px!important;font-weight:760!important;color:#163f57!important}
.pq-float-related-price small{font-family:var(--rxde-ui-font)!important;font-size:10.5px!important;font-weight:560!important;color:#7b8f99!important}
.pq-float-related .pq-related-stepper{flex:0 0 auto!important}
.pq-float-related-picked{
  grid-column:1 / -1!important;
  grid-row:3!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-height:24px!important;
  margin:0 -12px!important;
  padding:0 12px!important;
  border-top:1px solid var(--rxde-brand-strip-border)!important;
  background:#fff!important;
  color:transparent!important;
  font-family:var(--rxde-ui-font)!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:720!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.pq-float-related-picked.selected{background:var(--rxde-brand-strip)!important;color:var(--rxde-brand-strip-text)!important}
.pq-float-related.selected::after{content:none!important;display:none!important}

/* Unified static steppers for mini/search/related/quick view */





#searchSuggest .suggest-stepper b,
.pq-related-stepper b{background:#fff!important;color:#16272b!important;border-left:1px solid #e0e6e8!important;border-right:1px solid #e0e6e8!important}



/* Mobile adaptation: keep two-up density and strips readable */
@media (max-width: 900px){
  #searchSuggest .suggest-row{grid-template-columns:60px minmax(0,1fr) 136px!important}
  #searchSuggest .suggest-side{gap:8px!important}
  
}


/* ==========================================================================
   V1.152 — UNIFIED STEPPER + BRAND STRIP
   One quantity component everywhere (except order/cart untouched functionally).
   Brand strip = "Выбрано ... уп. на сумму ...".
   ========================================================================== */

:root{
  --rxde-stepper-w:102px;
  --rxde-stepper-h:36px;
  --rxde-stepper-side:32px;
  --rxde-stepper-mid:38px;
  --rxde-brand-strip:#dceff9;
  --rxde-brand-strip-border:#c8e2f1;
  --rxde-brand-strip-text:#24546f;
}

/* --------------------------------------------------------------------------
   ONE STANDARD STEPPER — exact same size and geometry everywhere.
   Mirrors the long-established basket control.
   -------------------------------------------------------------------------- */












/* Absolutely no geometry change on hover/active/focus. */


/* Native number arrows off everywhere. */



/* --------------------------------------------------------------------------
   MINI CARD — price left, ONE standard stepper right, brand strip below.
   -------------------------------------------------------------------------- */












/* --------------------------------------------------------------------------
   MEDIUM SEARCH CARD — same standard stepper, selected strip across full width.
   -------------------------------------------------------------------------- */
#searchSuggest .suggest-row{
  grid-template-columns:74px minmax(0,1fr) 196px!important;
  grid-template-rows:auto 26px!important;
  min-height:104px!important;
  padding:12px 14px 0 14px!important;
}

#searchSuggest .suggest-side{
  display:grid!important;
  grid-template-columns:minmax(74px,1fr) var(--rxde-stepper-w)!important;
  align-items:center!important;
  justify-content:end!important;
  gap:12px!important;
  padding-top:3px!important;
}

#searchSuggest .suggest-picked{
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  line-height:26px!important;
  background:#fff!important;
  color:transparent!important;
  border-top:1px solid var(--rxde-brand-strip-border)!important;
  font-size:10.5px!important;
  font-weight:700!important;
}

#searchSuggest .suggest-picked.selected{
  background:var(--rxde-brand-strip)!important;
  color:var(--rxde-brand-strip-text)!important;
}

/* --------------------------------------------------------------------------
   MAIN QUICK VIEW — same standard stepper, brand strip below full width.
   -------------------------------------------------------------------------- */
#productQuickBody .pq-bottom{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) var(--rxde-stepper-w)!important;
  gap:16px!important;
  align-items:center!important;
}

#productQuickBody .pq-picked{
  width:100%!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  margin-top:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding:0 12px!important;
  border-top:1px solid var(--rxde-brand-strip-border)!important;
  background:#fff!important;
  color:transparent!important;
  font-size:10.5px!important;
  line-height:28px!important;
  font-weight:700!important;
}

#productQuickBody .pq-picked.selected{
  background:var(--rxde-brand-strip)!important;
  color:var(--rxde-brand-strip-text)!important;
}

/* --------------------------------------------------------------------------
   RELATED CARDS — wider/taller, more useful metadata, standard stepper.
   -------------------------------------------------------------------------- */
#productQuickRelated{
  width:min(440px,calc(100vw - 36px))!important;
}

.pq-float-related{
  min-height:132px!important;
  display:grid!important;
  grid-template-columns:84px minmax(0,1fr)!important;
  grid-template-rows:minmax(58px,auto) 38px 26px!important;
  gap:6px 12px!important;
  padding:10px 12px 0 12px!important;
}

.pq-float-related-thumb{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  width:84px!important;
  height:96px!important;
  align-self:start!important;
}

.pq-float-related-info{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  display:grid!important;
  grid-template-rows:auto 14px 14px 14px!important;
  align-content:start!important;
  gap:1px!important;
}

.pq-float-related-info strong{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  font-size:12px!important;
  line-height:1.12!important;
  font-weight:740!important;
}

.pq-float-related-info .pq-related-meta,
.pq-float-related-info .pq-related-size{
  display:block!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:9.2px!important;
  line-height:14px!important;
  color:#556d79!important;
}

.pq-float-related-controls{
  grid-column:2!important;
  grid-row:2!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) var(--rxde-stepper-w)!important;
  align-items:center!important;
  gap:10px!important;
}

.pq-float-related-price b{
  font-size:12.5px!important;
  line-height:1.05!important;
  font-weight:750!important;
}

.pq-float-related-price small{
  font-size:9px!important;
  line-height:1.05!important;
}

.pq-float-related-picked{
  grid-column:1 / -1!important;
  grid-row:3!important;
  width:auto!important;
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  margin:0 -12px!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  border-top:1px solid var(--rxde-brand-strip-border)!important;
  background:#fff!important;
  color:transparent!important;
  font-size:10px!important;
  line-height:26px!important;
  font-weight:700!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.pq-float-related-picked.selected{
  background:var(--rxde-brand-strip)!important;
  color:var(--rxde-brand-strip-text)!important;
}

/* Keep selected card badge disabled; strip is the only selected-state message. */
.pq-float-related.selected::after{
  content:none!important;
  display:none!important;
}

/* Preserve 4-up desktop / 2-up mobile. */
@media(max-width:760px){
  
  
  
}


/* ==========================================================================
   V1.152 — DARK SELECTION STRIP
   One universal stepper everywhere.
   One universal selected-state service strip everywhere except the order sheet.
   ========================================================================== */

:root{
  --rxde-unified-stepper-w:102px;
  --rxde-unified-stepper-h:36px;

  /* Selected service strip */
  --rxde-selected-strip-h:18px;
  --rxde-selected-strip-bg:#245a83;
  --rxde-selected-strip-text:#ffffff;
}

/* --------------------------------------------------------------------------
   UNIVERSAL STEPPER — identical dimensions in mini/search/quick/related.
   No viewport/context-specific scaling.
   -------------------------------------------------------------------------- */














/* Remove native number arrows. */



/* --------------------------------------------------------------------------
   UNIVERSAL SERVICE STRIP
   Full card width, right on the card's bottom edge, only font-height tall.
   q=0 => blank white strip of exactly same height.
   q>0 => dark blue strip + white service text.
   -------------------------------------------------------------------------- */




/* --------------------------------------------------------------------------
   MINI CATALOGUE CARD
   Same information density; bottom controls above the 18px strip.
   -------------------------------------------------------------------------- */










/* --------------------------------------------------------------------------
   MEDIUM SEARCH CARD
   Same product information as mini:
   title / MNN / Form / Hersteller / PZN / PDF+full-card link.
   -------------------------------------------------------------------------- */
#searchSuggest .suggest-row{
  display:grid!important;
  grid-template-columns:74px minmax(0,1fr) 196px!important;
  grid-template-rows:minmax(124px,auto) var(--rxde-selected-strip-h)!important;
  gap:0 14px!important;

  min-height:142px!important;
  padding:10px 14px 0!important;

  border:1px solid #d7e5ed!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#fff!important;
}

#searchSuggest .suggest-photo{
  grid-column:1!important;
  grid-row:1!important;
  align-self:start!important;
  margin-top:24px!important;
}

#searchSuggest .suggest-main{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  align-self:start!important;
  padding-top:5px!important;
}

#searchSuggest .suggest-main .property-text-line{
  display:none!important;
}

#searchSuggest .suggest-side{
  grid-column:3!important;
  grid-row:1!important;

  display:grid!important;
  grid-template-columns:minmax(70px,1fr) var(--rxde-unified-stepper-w)!important;
  align-items:start!important;
  gap:12px!important;

  padding-top:7px!important;
}

#searchSuggest .suggest-price{
  align-items:flex-start!important;
  text-align:left!important;
}

#searchSuggest .suggest-picked{
  grid-column:1 / -1!important;
  grid-row:2!important;
  width:100%!important;
  margin:0!important;
}

/* --------------------------------------------------------------------------
   MAIN QUICK VIEW
   Strip is full width and flush to lower edge of the content card.
   -------------------------------------------------------------------------- */
#productQuickBody{
  position:relative!important;
}

#productQuickBody .pq-bottom{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) var(--rxde-unified-stepper-w)!important;
  gap:16px!important;
  align-items:center!important;
}

#productQuickBody .pq-picked{
  width:100%!important;
  margin-top:8px!important;
}

/* --------------------------------------------------------------------------
   RELATED CARDS
   Wider and slightly taller, while the selected strip is now only 18px.
   More room goes back to name/MNN/manufacturer.
   -------------------------------------------------------------------------- */
#productQuickRelated{
  width:min(468px,calc(100vw - 36px))!important;
}

.pq-float-related{
  min-height:126px!important;

  display:grid!important;
  grid-template-columns:84px minmax(0,1fr)!important;
  grid-template-rows:minmax(66px,auto) 38px var(--rxde-selected-strip-h)!important;
  gap:4px 12px!important;

  padding:9px 12px 0!important;
  overflow:hidden!important;
}

.pq-float-related-thumb{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  width:84px!important;
  height:98px!important;
}

.pq-float-related-info{
  grid-column:2!important;
  grid-row:1!important;

  min-width:0!important;
  display:grid!important;
  grid-template-rows:auto 13px 13px 13px!important;
  gap:0!important;
  align-content:start!important;
}

.pq-float-related-info strong{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;

  font-size:11.5px!important;
  line-height:1.08!important;
  font-weight:730!important;
}

.pq-float-related-info .pq-related-meta,
.pq-float-related-info .pq-related-size{
  display:block!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;

  font-size:8.8px!important;
  line-height:13px!important;
  color:#556d79!important;
}

.pq-float-related-controls{
  grid-column:2!important;
  grid-row:2!important;

  display:grid!important;
  grid-template-columns:minmax(0,1fr) var(--rxde-unified-stepper-w)!important;
  gap:10px!important;
  align-items:center!important;
}

.pq-float-related-price b{
  font-size:12px!important;
  line-height:1!important;
}
.pq-float-related-price small{
  font-size:8.8px!important;
  line-height:1!important;
}

.pq-float-related-picked{
  grid-column:1 / -1!important;
  grid-row:3!important;
  width:auto!important;
  margin:0 -12px!important;
}

.pq-float-related.selected::after{
  content:none!important;
  display:none!important;
}

/* Mobile mini card keeps strip tiny as well. */
@media(max-width:760px){
  

  

  
}


/* V1.152 FINAL GEOMETRY OVERRIDE */
:root{--rxde-uq-w:90px;--rxde-uq-h:32px;--rxde-strip-h:18px;--rxde-strip-bg:#20577d;--rxde-strip-fg:#fff}











#searchSuggest .suggest-row{position:relative!important;padding-bottom:18px!important;overflow:hidden!important}
#searchSuggest .suggest-side{grid-template-columns:minmax(72px,1fr) 90px!important;gap:10px!important}
.product-quick-sheet{position:relative!important;padding-bottom:18px!important;overflow:hidden!important}
#productQuickBody{position:static!important}
#productQuickBody .pq-picked{left:0!important;right:0!important;bottom:0!important;width:auto!important;margin:0!important}
#productQuickBody .pq-bottom{grid-template-columns:minmax(0,1fr) 90px!important;padding-bottom:0!important}
.pq-float-related{position:relative!important;padding-bottom:18px!important;overflow:hidden!important}
.pq-float-related-controls{grid-template-columns:minmax(0,1fr) 90px!important}
#productQuickRelated .pq-float-related-picked{left:0!important;right:0!important;bottom:0!important;margin:0!important;width:auto!important}
@media(max-width:760px){}


/* ==========================================================================
   V1.152 — EURO RESTORE + ONE SERVICE STRIP
   - EUR restored in compact-card price secondary line.
   - Selected strip uses ONE exact color everywhere.
   - Service text is black, regular-weight, small everywhere.
   ========================================================================== */

:root{
  --rxde-service-strip-bg:#d9edf8;
  --rxde-service-strip-text:#18262e;
  --rxde-service-strip-h:18px;
}

/* Main compact card price: RUB primary, EUR secondary. */



/* ONE service-strip appearance, exact same in every card type. */




/* Remove any older dark-blue service-strip styling with stronger selectors. */


/* Related and quick-view service text should stay secondary, never headline-like. */
#productQuickRelated .pq-float-related-picked,
#productQuickBody .pq-picked{
  font-size:8px!important;
  font-weight:400!important;
}

/* Search and mini use the same regular black service text. */



/* ==========================================================================
   V1.152 — TIGHT STRIP + FULL WIDTH + SEARCH FIX
   - Service strip reduced to text-height + 1px top/bottom.
   - RUB is primary everywhere in cards; EUR is secondary hint.
   - Search suggestion side layout fixed (no price overlap).
   - Related strip spans full width.
   ========================================================================== */

:root{
  --rxde-service-strip-bg:#d9edf8;
  --rxde-service-strip-text:#111111;
  --rxde-service-strip-font:8px;
  --rxde-service-strip-line:10px;
  --rxde-service-strip-h:12px;     /* line-height 10 + 1px top + 1px bottom */
}

/* ------------------ Unified price hierarchy in all product cards ------------------ */



/* Search rows: explicit three-zone layout, enough room for price + stepper */
#searchSuggest .suggest-row{
  display:grid!important;
  grid-template-columns:78px minmax(0,1fr) 240px!important;
  grid-template-areas:
    "photo main side"
    "picked picked picked"!important;
  align-items:start!important;
  gap:10px 12px!important;
  min-height:96px!important;
  padding:10px 12px 0 12px!important;
}
#searchSuggest .suggest-photo{grid-area:photo!important;}
#searchSuggest .suggest-main{grid-area:main!important; min-width:0!important;}
#searchSuggest .suggest-side{
  grid-area:side!important;
  display:grid!important;
  grid-template-columns:1fr 106px!important;
  align-items:start!important;
  justify-items:end!important;
  gap:10px!important;
  width:100%!important;
  padding-top:2px!important;
  min-width:0!important;
}
#searchSuggest .suggest-price{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  min-width:82px!important;
  text-align:right!important;
}
#searchSuggest .suggest-stepper{
  justify-self:end!important;
  align-self:start!important;
}

/* Compact/minicards: keep strip flush to bottom edge */



/* Main mini card: strip should touch the bottom as one full bar */



/* Search row: strip spans the whole row width */
#searchSuggest .suggest-row{
  overflow:hidden!important;
}
#searchSuggest .suggest-picked{
  grid-area:picked!important;
  width:calc(100% + 24px)!important;
  margin:0 -12px 0 -12px!important;
  border-top:1px solid rgba(169,202,220,.75)!important;
  justify-content:flex-end!important;
}

/* Quick view main card: full-width bottom service strip, tight height */
#productQuickBody .pq-picked{
  display:flex!important;
  width:calc(100% + 48px)!important;
  margin:10px -24px -24px -24px!important;
  padding:1px 18px!important;
  justify-content:flex-end!important;
  border-top:1px solid rgba(169,202,220,.75)!important;
  border-bottom-left-radius:24px!important;
  border-bottom-right-radius:24px!important;
}
#productQuickBody .pq-bottom{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:14px!important;
}
#productQuickBody .pq-price{
  align-items:flex-start!important;
  justify-self:start!important;
  text-align:left!important;
}
#productQuickBody .pq-stepper{
  justify-self:end!important;
  align-self:end!important;
}

/* Related cards: strip must occupy the entire bottom row */
#productQuickRelated .pq-float-related{
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  gap:10px 12px!important;
  overflow:hidden!important;
}
#productQuickRelated .pq-float-related-picked{
  grid-column:1 / -1!important;
  width:calc(100% + 24px)!important;
  margin:0 -12px -10px -12px!important;
  padding:1px 12px!important;
  border-top:1px solid rgba(169,202,220,.75)!important;
  justify-content:flex-end!important;
}
#productQuickRelated .pq-float-related-price{
  align-items:flex-start!important;
  text-align:left!important;
}
#productQuickRelated .pq-float-related-price strong{
  font-size:15px!important;
}
#productQuickRelated .pq-float-related-price span{
  font-size:10px!important;
}
#productQuickRelated .pq-float-related-picked.selected{
  background:var(--rxde-service-strip-bg)!important;
  color:#111!important;
  font-weight:400!important;
}

/* Make service text regular black everywhere */


/* Safety: keep stepper consistent and not oversized in the related/search views */
#searchSuggest .suggest-stepper,
#productQuickBody .pq-stepper,
#productQuickRelated .pq-float-related-stepper{
  transform:none!important;
  zoom:1!important;
}

/* If some older rule makes the strip look dark / bold, force the light main-page style */
#searchSuggest .suggest-picked.selected,
#productQuickBody .pq-picked.selected,
#productQuickRelated .pq-float-related-picked.selected{
  background:#d9edf8!important;
  color:#111!important;
}


/* ==========================================================================
   V1.152 — ONE SERVICE STRIP STANDARD
   Main catalog strip is the reference:
   same height, fill, typography and 1px separator everywhere.
   Only the numeric quantity and amount are bold.
   ========================================================================== */

:root{
  --rxde-service-strip-bg:#d9edf8;
  --rxde-service-strip-border:#a9cadc;
  --rxde-service-strip-text:#111;
  --rxde-service-strip-font:8px;
  --rxde-service-strip-line:10px;
  --rxde-service-strip-h:12px;
}

/* Shared visual language */




/* Main page is the reference: full width, flush to lower edge */



/* Search suggestion: full row strip and keep price + controls readable. */
#searchSuggest .suggest-row{
  position:relative!important;
  overflow:hidden!important;
  padding-bottom:var(--rxde-service-strip-h)!important;
}
#searchSuggest .suggest-picked{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
}
#searchSuggest .suggest-side{
  display:grid!important;
  grid-template-columns:minmax(88px,1fr) 106px!important;
  align-items:start!important;
  gap:10px!important;
}
#searchSuggest .suggest-price{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  min-width:88px!important;
  align-items:flex-end!important;
  text-align:right!important;
}
#searchSuggest .suggest-price b{
  display:block!important;
  color:#123f63!important;
  font-size:16px!important;
  line-height:1.05!important;
  font-weight:760!important;
}
#searchSuggest .suggest-price small{
  display:block!important;
  color:#728897!important;
  font-size:10px!important;
  line-height:1.05!important;
  font-weight:500!important;
}

/* Medium / Quick View:
   V1.152 lost the strip because it was still participating in the two-column body grid.
   Make it a real full-width lower edge of the floating card. */
.product-quick-sheet{
  position:relative!important;
  padding-bottom:calc(22px + var(--rxde-service-strip-h))!important;
  overflow:hidden!important;
}
#productQuickBody .pq-picked{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  grid-column:auto!important;
  border-bottom-left-radius:22px!important;
  border-bottom-right-radius:22px!important;
}
#productQuickBody .pq-price strong{
  font-size:18px!important;
  line-height:1.05!important;
  font-weight:760!important;
  color:#123f63!important;
}
#productQuickBody .pq-price span{
  font-size:10px!important;
  line-height:1.05!important;
  font-weight:500!important;
  color:#728897!important;
  margin-top:2px!important;
}

/* Related cards:
   old rules left the service strip constrained to the info column / inset.
   Pin it to the whole card width. */
#productQuickRelated .pq-float-related{
  position:relative!important;
  overflow:hidden!important;
  padding-bottom:calc(10px + var(--rxde-service-strip-h))!important;
}
#productQuickRelated .pq-float-related-picked{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  max-width:none!important;
  grid-column:auto!important;
  margin:0!important;
  border-bottom-left-radius:16px!important;
  border-bottom-right-radius:16px!important;
}
#productQuickRelated .pq-float-related-price b{
  display:block!important;
  color:#123f63!important;
  font-size:15px!important;
  line-height:1.05!important;
  font-weight:760!important;
}
#productQuickRelated .pq-float-related-price small{
  display:block!important;
  color:#728897!important;
  font-size:10px!important;
  line-height:1.05!important;
  font-weight:500!important;
  margin-top:2px!important;
}

/* Mobile keeps exactly the same strip thickness. */
@media(max-width:900px){
  .product-quick-sheet{
    padding-bottom:calc(14px + var(--rxde-service-strip-h))!important;
  }
}


/* ==========================================================================
   V1.152 — thinner service strip + regular type + direct jump to cart
   Main catalog, search cards, medium quick card and related cards
   all use ONE visual standard based on the preferred smaller strip.
   ========================================================================== */
:root{
  --rxde-service-strip-bg-v151:#d9edf8;
  --rxde-service-strip-text-v151:#111111;
  --rxde-service-strip-border-v151:#a9cadc;
  --rxde-service-strip-h-v151:12px;
  --rxde-service-strip-font-v151:8.4px;
  --rxde-service-strip-lh-v151:10px;
}





/* Ensure the strip is really flush to the card edge. */


/* Reserve only the smaller strip height. */
#searchSuggest .suggest-row{
  padding-bottom:var(--rxde-service-strip-h-v151)!important;
}
.product-quick-sheet{
  padding-bottom:calc(22px + var(--rxde-service-strip-h-v151))!important;
}
#productQuickRelated .pq-float-related{
  padding-bottom:calc(10px + var(--rxde-service-strip-h-v151))!important;
}

/* Main catalogue card also follows the tighter strip proportion. */


/* Click affordance: body of a catalogue card opens the card, strip jumps to cart. */


/* Keep product rows/preview rows using rubles as the visual priority everywhere. */
#searchSuggest .suggest-price b,
#productQuickRelated .pq-float-related-price b,
#productQuickBody .pq-price strong{
  font-weight:760!important;
  color:#123f63!important;
}
#searchSuggest .suggest-price small,
#productQuickRelated .pq-float-related-price small,
#productQuickBody .pq-price span{
  font-weight:500!important;
  color:#728897!important;
}

/* Search suggestion layout: guarantee enough room for price and stepper. */
#searchSuggest .suggest-side{
  display:grid!important;
  grid-template-columns:minmax(90px,1fr) 96px!important;
  align-items:start!important;
  justify-items:end!important;
  gap:10px!important;
}
#searchSuggest .suggest-price{
  min-width:90px!important;
  text-align:right!important;
  align-self:flex-start!important;
}

/* Quick card and related cards: use the same strip thickness/colour and keep it full width. */
#productQuickBody .pq-picked,
#productQuickRelated .pq-float-related-picked{
  max-width:none!important;
}

/* Related cards and main quick card should show strip across the entire width with same thickness. */
#productQuickRelated .pq-float-related-picked{
  left:0!important;right:0!important;bottom:0!important;
}
#productQuickBody .pq-picked{
  left:0!important;right:0!important;bottom:0!important;
}


/* ==========================================================================
   V1.152 — CLICKABLE FORM BADGES + CART FAMILY SEARCH
   ========================================================================== */

/* Catalogue form badge is a secondary action: click = filter current selection by form. */
#productList .form-badge[data-card-form-filter]{
  cursor:pointer!important;
  user-select:none!important;
  transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease!important;
}
#productList .form-badge[data-card-form-filter]:hover{
  border-color:#7faeca!important;
  box-shadow:0 1px 5px rgba(55,103,135,.16)!important;
}
#productList .form-badge[data-card-form-filter]:active{
  box-shadow:none!important;
}

/* Form row is deliberately compact and appears only after a form badge is used. */
#formFilterStrip.form-filter-strip{
  margin:4px 22px 7px!important;
  min-height:28px!important;
  padding:0!important;
}
#formFilterStrip .form-filter-scroll{
  gap:5px!important;
  padding:0!important;
}
#formFilterStrip .form-filter-chip{
  height:26px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  font-size:11px!important;
  line-height:24px!important;
  font-weight:600!important;
}
#formFilterStrip .form-filter-chip b{
  font-size:9px!important;
  font-weight:700!important;
}
#formFilterStrip .form-filter-back{
  background:#fff!important;
  color:#35576b!important;
  border-color:#bcd3e1!important;
}

/* Magnifier / family search in the order sheet. */
.order-title-line{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
}
.order-expand-title{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.order-family-search{
  flex:0 0 26px!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
  padding:0!important;
  margin-left:2px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #c8d8df!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#2c607d!important;
  font-family:var(--rxde-ui-font)!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:400!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transform:none!important;
}
.order-family-search:hover{
  background:#eef7fb!important;
  border-color:#8fb8cf!important;
}
.order-family-search:active{
  transform:none!important;
  box-shadow:none!important;
}

@media(max-width:760px){
  #formFilterStrip.form-filter-strip{margin:4px 9px 6px!important;min-height:27px!important}
  #formFilterStrip .form-filter-chip{height:25px!important;font-size:10.5px!important;padding:0 8px!important}
  .order-family-search{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important}
}

/* ==========================================================================
   V1.153 — LOCAL FORM COMPARISON + RETURN PATH + TIGHTER SERVICE STRIP
   ========================================================================== */
:root{
  --rxde-service-strip-h-v153:9px;
  --rxde-service-strip-font-v153:7.2px;
  --rxde-service-strip-lh-v153:8px;
}

/* The selected/service line is intentionally thinner than V1.152. */



#searchSuggest .suggest-row{padding-bottom:var(--rxde-service-strip-h-v153)!important}
.product-quick-sheet{padding-bottom:calc(22px + var(--rxde-service-strip-h-v153))!important}
#productQuickRelated .pq-float-related{padding-bottom:calc(10px + var(--rxde-service-strip-h-v153))!important}

/* Form click opens a local chooser without reflowing or scrolling the catalogue. */
.form-chooser-popover{
  position:fixed!important;z-index:1600!important;
  padding:10px!important;border:1px solid #b9ceda!important;border-radius:12px!important;
  background:#fffdf8!important;box-shadow:0 14px 36px rgba(34,61,76,.22)!important;
  font-family:var(--rxde-ui-font)!important;color:#1b3645!important;
}
.form-chooser-popover[hidden]{display:none!important}
.form-chooser-head{position:relative!important;display:flex!important;flex-direction:column!important;gap:2px!important;padding:0 32px 8px 2px!important;border-bottom:1px solid #e3ecef!important}
.form-chooser-head strong{font-size:13px!important;line-height:16px!important;font-weight:800!important}
.form-chooser-head span{font-size:10.5px!important;line-height:14px!important;color:#6a7e89!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.form-chooser-head button{position:absolute!important;right:0!important;top:-2px!important;width:28px!important;height:28px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#667b86!important;font-size:20px!important;line-height:28px!important;cursor:pointer!important}
.form-chooser-head button:hover{background:#edf5f8!important}
.form-chooser-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;padding:9px 0 4px!important}
.form-choice{height:29px!important;padding:0 10px!important;border:1px solid #c8dbe5!important;border-radius:999px!important;background:#fff!important;color:#31586d!important;font-size:11px!important;font-weight:650!important;cursor:pointer!important}
.form-choice:hover{background:#eef7fb!important;border-color:#8fb8cf!important}
.form-choice b{margin-left:4px!important;font-size:9px!important;opacity:.68!important}
.form-choice.all{border-color:#9dbfce!important;background:#f5fbfd!important}
.form-chooser-note{padding:4px 2px 0!important;font-size:9.2px!important;color:#7b8b93!important}

/* Persistent compare context: user always knows where they came from and how to go back. */
#formFilterStrip.form-filter-strip{
  flex-wrap:wrap!important;align-items:center!important;column-gap:7px!important;row-gap:5px!important;
}
#formFilterStrip .form-filter-return{
  flex:0 0 auto!important;height:27px!important;padding:0 10px!important;
  border:1px solid #aac7d6!important;border-radius:8px!important;background:#f5fbfd!important;
  color:#275772!important;font-size:10.8px!important;font-weight:700!important;cursor:pointer!important;
}
#formFilterStrip .form-filter-return:hover{background:#e9f5fa!important;border-color:#7faeca!important}
#formFilterStrip .form-filter-context{
  flex:1 1 240px!important;min-width:0!important;font-size:10.5px!important;line-height:14px!important;
  color:#647883!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#formFilterStrip .form-filter-context b{color:#294b5c!important;font-weight:750!important}
#formFilterStrip .form-filter-scroll{flex:1 1 100%!important;width:100%!important}

@media(max-width:760px){
  .form-chooser-popover{padding:9px!important;border-radius:11px!important}
  #formFilterStrip .form-filter-return{height:26px!important;padding:0 8px!important;font-size:10px!important}
  #formFilterStrip .form-filter-context{flex-basis:180px!important;font-size:9.8px!important}
  .product-quick-sheet{padding-bottom:calc(14px + var(--rxde-service-strip-h-v153))!important}
}

/* ==========================================================================
   V1.155 — INLINE SEARCH FORM FILTERS + TRUE THIN STRIP + FLASH + RELATED INFO
   ========================================================================== */
:root{--rxde-service-strip-h-v155:7px}

/* Compact product card: no service strip at all when quantity is zero. */




/* Selected position gets one genuinely thin 7px status strip. */




/* Price has plenty of vertical room again; EUR must never be clipped. */





/* Search-result form filters are always visible next to the count. No dropdown, no jumping. */
.catalog-toolbar{align-items:center!important}
.catalog-count-zone{
  display:flex!important;align-items:center!important;gap:8px!important;
  min-width:0!important;flex:1 1 auto!important;overflow:hidden!important;
}
.catalog-count-zone > #catalogCount{flex:0 0 auto!important;white-space:nowrap!important}
.form-filter-toggle,.catalog-form-select{display:none!important}
#formFilterStrip.form-filter-strip{
  flex:1 1 auto!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  animation:none!important;
}
#formFilterStrip.form-filter-strip[hidden]{display:none!important}
#formFilterStrip .form-filter-scroll{
  display:flex!important;align-items:center!important;gap:5px!important;
  width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;
  padding:1px 1px 2px!important;white-space:nowrap!important;scrollbar-width:thin!important;
  scroll-behavior:smooth!important;
}
#formFilterStrip .form-filter-chip{
  flex:0 0 auto!important;height:25px!important;padding:0 9px!important;
  border-radius:999px!important;font:650 10.5px/23px var(--rxde-ui-font)!important;
  cursor:pointer!important;transform:none!important;opacity:.76!important;
  box-shadow:none!important;transition:opacity .12s ease,box-shadow .12s ease,border-color .12s ease!important;
}
#formFilterStrip .form-filter-chip:hover{opacity:1!important;transform:none!important}
#formFilterStrip .form-filter-chip.active{
  opacity:1!important;
  box-shadow:inset 0 0 0 1px rgba(27,73,98,.26),0 1px 4px rgba(39,83,108,.12)!important;
}
#formFilterStrip .form-filter-chip b{
  margin-left:4px!important;font-size:9px!important;font-weight:750!important;opacity:.7!important;
}
#formFilterStrip .form-filter-all{
  background:#fff!important;color:#31576a!important;border:1px solid #a9c7d7!important;
}
#formFilterStrip .form-filter-all.active{background:#edf6fb!important;color:#234e67!important}

/* Form badge is a shortcut to the same ribbon only while a text search is active. */
body:not(.home-mode) #productList .form-badge[data-card-form-filter]{transition:box-shadow .12s ease!important}

/* Clear, one-time highlight entering cart and returning from it. */
@keyframes rxdeFlashBlueV155{
  0%{box-shadow:0 0 0 0 rgba(47,139,198,0);background-color:#fff}
  18%{box-shadow:0 0 0 5px rgba(47,139,198,.30),0 0 22px rgba(47,139,198,.22);background-color:#eaf7ff}
  48%{box-shadow:0 0 0 3px rgba(47,139,198,.22),0 0 14px rgba(47,139,198,.14);background-color:#f4fbff}
  100%{box-shadow:0 0 0 0 rgba(47,139,198,0);background-color:#fff}
}
#productList .product-row.bridge-highlight-v155{
  position:relative!important;z-index:12!important;
  animation:rxdeFlashBlueV155 1.35s ease-out 1!important;
}
#orderLines [data-pzn].bridge-highlight-order-v155{
  position:relative!important;z-index:6!important;
  animation:rxdeFlashBlueV155 1.35s ease-out 1!important;
}

/* Related cards: use the available rail width for the same useful data as a full card. */
#productQuickRelated{
  width:min(480px,calc(100vw - 28px))!important;
}
#productQuickRelated .pq-float-related{
  min-height:154px!important;
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr)!important;
  grid-template-rows:minmax(91px,auto) 42px!important;
  gap:5px 12px!important;
  padding:10px 12px 9px!important;
  overflow:hidden!important;
}
#productQuickRelated .pq-float-related-thumb{
  grid-column:1!important;grid-row:1 / span 2!important;
  width:92px!important;height:118px!important;align-self:start!important;
}
#productQuickRelated .pq-float-related-info{
  grid-column:2!important;grid-row:1!important;min-width:0!important;
  display:grid!important;grid-template-rows:auto repeat(4,14px)!important;gap:0!important;align-content:start!important;
}
#productQuickRelated .pq-float-related-info strong{
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
  overflow:hidden!important;margin-bottom:3px!important;font-size:12px!important;line-height:14px!important;font-weight:760!important;
}
#productQuickRelated .pq-float-related-info .pq-related-meta{
  display:block!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font-size:9.2px!important;line-height:14px!important;color:#526b78!important;
}
#productQuickRelated .pq-float-related-info .pq-related-meta b{color:#24495d!important;font-weight:730!important}
#productQuickRelated .pq-float-related-controls{
  grid-column:2!important;grid-row:2!important;display:grid!important;
  grid-template-columns:minmax(90px,1fr) 90px!important;gap:10px!important;align-items:center!important;
}
#productQuickRelated .pq-float-related-price{min-width:90px!important;overflow:visible!important}
#productQuickRelated .pq-float-related-price b{font-size:14px!important;line-height:16px!important;white-space:nowrap!important}
#productQuickRelated .pq-float-related-price small{font-size:10px!important;line-height:12px!important;white-space:nowrap!important}
#productQuickRelated .pq-float-related-picked:not(.selected){display:none!important}
#productQuickRelated .pq-float-related-picked.selected{
  position:absolute!important;left:0!important;right:0!important;bottom:0!important;
  height:7px!important;min-height:7px!important;max-height:7px!important;
  padding:0 6px!important;border:0!important;background:#d9edf8!important;color:#243b48!important;
  font-size:6px!important;line-height:7px!important;font-weight:560!important;
}
#productQuickRelated .pq-float-related.selected{padding-bottom:16px!important}

@media(max-width:900px){
  .catalog-toolbar{align-items:flex-start!important}
  .catalog-count-zone{width:100%!important;flex-wrap:nowrap!important}
  #formFilterStrip.form-filter-strip{flex:1 1 0!important}
}

/* ==========================================================================
   V1.156 — DIRECT INLINE FORM FILTERS + READABLE THIN STATUS STRIPS
   ========================================================================== */
:root{
  --rxde-service-strip-h-v156:11px;
  --rxde-service-strip-font-v156:9px;
  --rxde-service-strip-lh-v156:11px;
}

/* Selected status line: readable text, but the blue strip is only one text line high. */


/* No quantity = no fake footer, no line, no reserved white/blue strip. */







/* Price: center both lines inside the real 56px price row; no overlap with status strip. */




/* Search form filters live permanently in the free toolbar space, directly after the result count. */
.catalog-toolbar{display:flex!important;align-items:center!important;gap:10px!important}
.catalog-count-zone{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex:1 1 auto!important;overflow:hidden!important}
.catalog-count-zone>#catalogCount{flex:0 0 auto!important;white-space:nowrap!important}
#formFilterStrip.form-filter-strip{flex:1 1 0!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important;animation:none!important}
#formFilterStrip .form-filter-scroll{display:flex!important;align-items:center!important;gap:5px!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;padding:1px 1px 2px!important;white-space:nowrap!important;scroll-behavior:auto!important;scrollbar-width:thin!important}
#formFilterStrip .form-filter-chip{flex:0 0 auto!important;height:27px!important;padding:0 10px!important;border-radius:999px!important;font:700 11px/25px var(--rxde-ui-font)!important;opacity:1!important;box-shadow:none!important;transform:none!important}
#formFilterStrip .form-filter-chip b{font-size:9.2px!important;margin-left:4px!important;opacity:.72!important}
#formFilterStrip .form-filter-chip.active{box-shadow:inset 0 0 0 1px rgba(26,71,96,.35)!important,0 1px 4px rgba(39,83,108,.12)!important}
#formFilterStrip .form-filter-all{background:#fff!important;color:#a33a32!important;border:1px solid #d8aaa5!important}
#formFilterStrip .form-filter-all.active{background:#fff7f5!important;color:#8d302b!important}

/* Form badges always advertise an action, even before the first text search. */
#productList .form-badge[data-card-form-filter]{cursor:pointer!important;box-shadow:0 1px 4px rgba(40,72,88,.10)!important}
#productList .form-badge[data-card-form-filter]:hover{box-shadow:0 0 0 2px rgba(67,133,174,.18),0 2px 7px rgba(40,72,88,.13)!important}

/* Strong one-shot target flash when jumping into the cart or back to a product. */
@keyframes rxdeFlashBlueV156{
  0%{box-shadow:0 0 0 0 rgba(34,132,199,0)!important;background-color:inherit}
  18%{box-shadow:0 0 0 6px rgba(34,132,199,.42),0 0 26px rgba(34,132,199,.30)!important;background-color:#dff3ff}
  52%{box-shadow:0 0 0 3px rgba(34,132,199,.28),0 0 18px rgba(34,132,199,.18)!important;background-color:#eff9ff}
  100%{box-shadow:0 0 0 0 rgba(34,132,199,0)!important;background-color:inherit}
}
#productList .product-row.bridge-highlight-v155,
#orderLines [data-pzn].bridge-highlight-order-v155,
#orderLines [data-pzn].bridge-highlight{
  position:relative!important;z-index:20!important;
  animation:rxdeFlashBlueV156 1.7s ease-out 1!important;
}

/* Similar variants: spend the rail area on information instead of blank space. */
#productQuickRelated{width:min(510px,calc(100vw - 24px))!important}
#productQuickRelated .pq-float-related{min-height:164px!important;grid-template-columns:96px minmax(0,1fr)!important;grid-template-rows:minmax(102px,auto) 42px!important;gap:5px 12px!important;padding:10px 12px 9px!important}
#productQuickRelated .pq-float-related-thumb{width:96px!important;height:126px!important}
#productQuickRelated .pq-float-related-info{grid-template-rows:auto repeat(4,15px)!important}
#productQuickRelated .pq-float-related-info strong{font-size:12.5px!important;line-height:15px!important;margin-bottom:4px!important}
#productQuickRelated .pq-float-related-info .pq-related-meta{font-size:9.8px!important;line-height:15px!important}
#productQuickRelated .pq-float-related.selected{padding-bottom:calc(9px + var(--rxde-service-strip-h-v156))!important}

@media(max-width:900px){
  .catalog-count-zone{overflow:visible!important}
  #formFilterStrip.form-filter-strip{min-width:0!important}
  #formFilterStrip .form-filter-chip{height:26px!important;padding:0 8px!important;font-size:10.5px!important;line-height:24px!important}
}

/* ==========================================================================\n   V1.157 — STATUS STRIP X2: readable selected quantity line everywhere\n   ========================================================================== */
:root{
  --rxde-service-strip-h-v157:22px;
  --rxde-service-strip-font-v157:18px;
  --rxde-service-strip-lh-v157:22px;
}

/* Double both text and strip height in every product context. */


/* Catalogue cards reserve exactly the new one-line strip height. */



/* Zero quantity still means no strip and no reserved footer space. */




/* Related-card body keeps enough space for the enlarged status line. */
#productQuickRelated .pq-float-related.selected{
  padding-bottom:calc(9px + var(--rxde-service-strip-h-v157))!important;
}

/* ==========================================================================\n   V1.158 — ALWAYS-VISIBLE SEARCH FORM RIBBON + CART → DETAIL\n   ========================================================================== */
/* The filter ribbon lives literally in the free space after the result count. */
.catalog-toolbar{display:flex!important;align-items:center!important;gap:10px!important}
.catalog-count-zone{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;flex:1 1 auto!important;overflow:visible!important}
.catalog-count-zone>#catalogCount{flex:0 0 auto!important;white-space:nowrap!important}
#formFilterStrip.form-filter-strip:not([hidden]){
  display:flex!important;
  flex:1 1 0!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  visibility:visible!important;
  opacity:1!important;
}
#formFilterStrip .form-filter-scroll{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:2px 2px 3px!important;
  white-space:nowrap!important;
  scrollbar-width:thin!important;
}
#formFilterStrip .form-filter-chip{
  flex:0 0 auto!important;
  height:29px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  font:700 11.5px/27px var(--rxde-ui-font)!important;
  opacity:1!important;
  visibility:visible!important;
}
#formFilterStrip .form-filter-chip b{font-size:10px!important;margin-left:4px!important}
#formFilterStrip .form-filter-all{background:#fff7f5!important;color:#9d312b!important;border-color:#dca9a4!important}
#formFilterStrip .form-filter-all.active{background:#ffecea!important;color:#852923!important}

/* A cart line itself is now an obvious drill-down target; controls keep their own action. */
#orderLines .order-product-row[data-pzn]{cursor:pointer!important}
#orderLines .order-product-row[data-pzn]:hover{box-shadow:0 0 0 1px rgba(56,130,171,.18),0 5px 16px rgba(47,92,116,.07)!important}
#orderLines .order-product-row[data-pzn] button,
#orderLines .order-product-row[data-pzn] input,
#orderLines .order-product-row[data-pzn] a,
#orderLines .order-product-row[data-pzn] .order-unit-price,
#orderLines .order-product-row[data-pzn] .order-line-total{cursor:default!important}

@media(max-width:900px){
  .catalog-toolbar{align-items:flex-start!important}
  .catalog-count-zone{width:100%!important;flex-wrap:nowrap!important}
  #formFilterStrip.form-filter-strip:not([hidden]){flex:1 1 0!important;min-width:0!important}
  #formFilterStrip .form-filter-chip{height:28px!important;padding:0 9px!important;font-size:11px!important;line-height:26px!important}
}

/* ==========================================================================\n   V1.159 — SEARCH LAYOUT CLEANUP + STATUS STRIP TRUE X2\n   ========================================================================== */

/* During text search the category hero is contextually wrong and wastes space.\n   The app already sets [hidden]; older forced display rules must not override it. */
#catalogHero[hidden],
#catalogHero.catalog-hero[hidden]{
  display:none!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* TRUE 2x increase from the previous visible target: 22px -> 44px strip,\n   18px -> 36px text. Geometry and parent reserves are updated too, so the\n   enlarged strip can no longer be clipped by fixed-height cards. */
:root{
  --rxde-service-strip-h-v159:44px;
  --rxde-service-strip-font-v159:36px;
  --rxde-service-strip-lh-v159:44px;
}



/* Catalogue card: reserve the FULL 44px, and lift price/stepper above it. */







/* Search suggestions, quick card and related cards need matching physical room. */
#searchSuggest .suggest-row{position:relative!important}
#searchSuggest .suggest-row:has(.suggest-picked.selected){
  padding-bottom:var(--rxde-service-strip-h-v159)!important;
}
#productQuickBody{position:relative!important}
.product-quick-sheet:has(#productQuickBody .pq-picked.selected){
  padding-bottom:calc(22px + var(--rxde-service-strip-h-v159))!important;
}
#productQuickRelated .pq-float-related{position:relative!important}
#productQuickRelated .pq-float-related.selected{
  padding-bottom:calc(9px + var(--rxde-service-strip-h-v159))!important;
}

/* No quantity = no line, no border, no reserved fake footer in every view. */


/* Search result header should be the first visible content under sticky navigation. */
body:has(#searchInput:not(:placeholder-shown)) .catalog-toolbar{
  scroll-margin-top:12px!important;
}

/* On narrow layouts keep it big but prevent one long sentence from breaking the card. */
@media(max-width:900px){
  :root{
    --rxde-service-strip-font-v159:28px;
    --rxde-service-strip-lh-v159:44px;
  }
}

/* ==========================================================================\n   V1.160 — CLEAN UNIFIED STATUS STRIP / STABLE CARD GEOMETRY\n   One and the same strip everywhere. No inherited 44px reserves.\n   ========================================================================== */
:root{
  --rxde-status-h:24px;
  --rxde-status-font:16px;
  --rxde-status-lh:24px;
  --rxde-status-bg:#d9edf8;
}

/* ONE visual rule for every selected-status strip. */




/* Catalogue cards: fixed stable rows, so price / stepper never jump. */








/* Search suggestions: status is a real final grid row, not an overlay. */
#searchSuggest .suggest-row,
#searchSuggest .suggest-row:has(.suggest-picked.selected){
  padding-bottom:0!important;
  grid-template-rows:minmax(124px,auto) var(--rxde-status-h)!important;
}
#searchSuggest .suggest-picked,
#searchSuggest .suggest-picked.selected{
  position:static!important;
  grid-column:1 / -1!important;
  grid-row:2!important;
  width:calc(100% + 28px)!important;
  margin:0 -14px!important;
  left:auto!important;right:auto!important;bottom:auto!important;
}

/* Quick detail: remove the huge V1.159 bottom reserve. The strip is one normal row. */
.product-quick-sheet,
.product-quick-sheet:has(#productQuickBody .pq-picked.selected){
  padding-bottom:24px!important;
  min-height:0!important;
}
#productQuickBody{position:static!important}
#productQuickBody .pq-picked,
#productQuickBody .pq-picked.selected{
  position:static!important;
  grid-column:1 / -1!important;
  width:calc(100% + 48px)!important;
  margin:8px -24px -24px!important;
  left:auto!important;right:auto!important;bottom:auto!important;
  border-bottom-left-radius:22px!important;
  border-bottom-right-radius:22px!important;
}

/* Similar variants: same 24/16 strip and only the exact required reserve. */
#productQuickRelated .pq-float-related,
#productQuickRelated .pq-float-related.selected{
  padding-bottom:calc(9px + var(--rxde-status-h))!important;
  min-height:164px!important;
}
#productQuickRelated .pq-float-related-picked,
#productQuickRelated .pq-float-related-picked.selected{
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;
  width:100%!important;
  margin:0!important;
  border-bottom-left-radius:16px!important;
  border-bottom-right-radius:16px!important;
}

/* Compact notebook navigation: keep the paper metaphor, reclaim vertical space. */
.flow-nav{
  min-height:62px!important;
  height:auto!important;
  grid-template-rows:28px 34px!important;
}
.flow-nav-main{min-height:28px!important}
.flow-nav-second-row{min-height:34px!important;height:34px!important;padding:0!important}
#categoryStrip.category-strip.notebook-index-tabs,
.flow-nav-second-row .category-strip.notebook-index-tabs{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:2px 0!important;
  gap:5px!important;
}

@media(max-width:900px){
  :root{--rxde-status-h:24px;--rxde-status-font:16px;--rxde-status-lh:24px}
}

/* ==========================================================================\n   V1.161 — FINAL UNIFIED 12PX STATUS STRIP\n   Exact same physical strip in catalogue, search, detail and related cards.\n   No jumping: the 12px row is always reserved; q=0 stays plain white.\n   ========================================================================== */
:root{
  --rxde-status-h-final:12px;
  --rxde-status-font-final:12px;
  --rxde-status-line-final:12px;
  --rxde-status-bg-final:#d9edf8;
  --rxde-status-text-final:#203744;
}

/* The ONE strip rule — deliberately high specificity to beat all legacy v1.15x rules. */




/* Catalogue: fixed rows. The only status reserve is exactly 12px. */






/* Medium/search cards: exactly one 12px final row, never an overlay. */
html body #searchSuggest .suggest-row,
html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
  position:relative!important;
  grid-template-rows:minmax(124px,auto) 12px!important;
  padding-bottom:0!important;
  overflow:hidden!important;
}
html body #searchSuggest .suggest-row > .suggest-picked{
  grid-column:1 / -1!important;
  grid-row:2!important;
  width:calc(100% + 28px)!important;
  margin:0 -14px!important;
}

/* Detail card: no giant reserve. Status is a normal 12px footer line. */
html body #productQuickBackdrop .product-quick-sheet,
html body #productQuickBackdrop .product-quick-sheet:has(#productQuickBody .pq-picked.selected){
  padding-bottom:24px!important;
  min-height:0!important;
}
html body #productQuickBackdrop #productQuickBody{
  position:static!important;
}
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-picked{
  width:calc(100% + 48px)!important;
  margin:8px -24px -24px!important;
  border-bottom-left-radius:22px!important;
  border-bottom-right-radius:22px!important;
}

/* Related cards: same 12px footer, same 12px type, no oversized text. */
html body #productQuickRelated .pq-float-related,
html body #productQuickRelated .pq-float-related.selected{
  position:relative!important;
  min-height:152px!important;
  padding-bottom:12px!important;
  overflow:hidden!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-picked{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  margin:0!important;
  border-bottom-left-radius:16px!important;
  border-bottom-right-radius:16px!important;
}

/* Mobile is NOT a special case: same exact pixels everywhere. */
@media(max-width:900px){
  
}


/* ==========================================================================\n   V1.162 — COMPACT CARD FOOTERS + EXPLICIT MULTISELECT\n   Keep the status strip exactly 12px / 12px everywhere. Reduce only the\n   surrounding dead space. Form filters are compact and visibly multi-select.\n   ========================================================================== */

/* 1) Main catalogue/search-result cards: controls sit immediately above the 12px strip. */




/* 2) Search suggestions: exact same 12px footer, always visible as a reserved row. */
html body #searchSuggest .suggest-row{
  display:grid!important;
  grid-template-rows:minmax(0,1fr) 12px!important;
  padding-bottom:0!important;
}
html body #searchSuggest .suggest-row > .suggest-picked{
  display:flex!important;
  grid-row:2!important;
  grid-column:1 / -1!important;
  position:static!important;
  height:12px!important;min-height:12px!important;max-height:12px!important;
  width:calc(100% + 28px)!important;
  margin:0 -14px!important;
  padding:0 6px!important;
  font-size:12px!important;line-height:12px!important;
  border-radius:0!important;
}

/* 3) Quick detail: compact by content; no artificial lower reserve. */
html body #productQuickBackdrop .product-quick-sheet,
html body #productQuickBackdrop .product-quick-sheet:has(#productQuickBody .pq-picked.selected){
  padding:16px 16px 12px!important;
  min-height:0!important;
  max-height:86vh!important;
  overflow:hidden!important;
}
html body #productQuickBackdrop #productQuickBody{
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  grid-template-rows:auto 46px 12px!important;
  column-gap:18px!important;
  row-gap:0!important;
  align-items:start!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-photo{
  grid-column:1!important;grid-row:1!important;
  min-height:210px!important;height:210px!important;max-height:210px!important;
  padding:12px!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-main{
  grid-column:2!important;grid-row:1!important;
  min-height:0!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-bottom{
  grid-column:1 / -1!important;grid-row:2!important;
  height:46px!important;min-height:46px!important;max-height:46px!important;
  margin:0!important;padding:6px 0!important;
  border-top:1px solid #e2eaee!important;
  align-items:center!important;
}
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-picked,
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-picked.selected{
  grid-column:1 / -1!important;grid-row:3!important;
  position:static!important;
  width:calc(100% + 32px)!important;
  height:12px!important;min-height:12px!important;max-height:12px!important;
  margin:0 -16px -12px!important;padding:0 6px!important;
  font-size:12px!important;line-height:12px!important;
  border-radius:0 0 20px 20px!important;
}

/* 4) Related cards: controls immediately above one identical 12px footer. */
html body #productQuickRelated .pq-float-related,
html body #productQuickRelated .pq-float-related.selected{
  padding-bottom:12px!important;
  min-height:146px!important;
}
html body #productQuickRelated .pq-float-related-controls{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-picked,
html body #productQuickRelated .pq-float-related > .pq-float-related-picked.selected{
  height:12px!important;min-height:12px!important;max-height:12px!important;
  padding:0 6px!important;font-size:12px!important;line-height:12px!important;
}

/* 5) Inline form filters: visibly multi-select, but no crowding. */
html body #formFilterStrip.form-filter-strip:not([hidden]){
  min-height:24px!important;
  margin:0!important;
  padding:0!important;
  gap:4px!important;
}
html body #formFilterStrip .form-filter-scroll{
  gap:4px!important;
  padding:0 1px!important;
  align-items:center!important;
}
html body #formFilterStrip .form-filter-chip{
  height:24px!important;
  min-height:24px!important;
  padding:0 7px!important;
  gap:4px!important;
  border-radius:8px!important;
  font:700 12px/22px var(--rxde-ui-font)!important;
  box-shadow:none!important;
}
html body #formFilterStrip .form-filter-chip i{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:12px!important;
  height:12px!important;
  font-style:normal!important;
  font-size:12px!important;
  line-height:12px!important;
  font-weight:900!important;
  color:#627783!important;
}
html body #formFilterStrip .form-filter-chip.active i{color:#174f70!important}
html body #formFilterStrip .form-filter-chip b{
  margin-left:1px!important;
  font-size:10px!important;
  line-height:1!important;
}
html body #formFilterStrip .form-filter-chip.active{
  border-width:2px!important;
  box-shadow:0 0 0 1px rgba(32,91,126,.10)!important;
  font-weight:800!important;
}
html body #formFilterStrip .form-filter-all{
  border-radius:8px!important;
  padding:0 8px!important;
  background:#fff7f5!important;
  color:#96342e!important;
  border-color:#d9aaa5!important;
}

@media(max-width:900px){
  html body #productQuickBackdrop #productQuickBody{
    grid-template-columns:120px minmax(0,1fr)!important;
    grid-template-rows:auto 46px 12px!important;
  }
  html body #productQuickBackdrop #productQuickBody > .pq-photo{
    min-height:130px!important;height:130px!important;max-height:130px!important;
  }
  html body #formFilterStrip .form-filter-chip{height:24px!important;min-height:24px!important;font-size:12px!important;line-height:22px!important;padding:0 6px!important}
}

/* ==========================================================================\n   V1.163 — STRUCTURAL UNIFIED FOOTER\n   One physical footer architecture in catalogue, detail and related cards.\n   No absolute positioning. Controls row + exactly one 12px status row.\n   ========================================================================== */
:root{
  --rxde-ufooter-strip-h:12px;
  --rxde-ufooter-strip-font:12px;
  --rxde-ufooter-strip-bg:#d9edf8;
  --rxde-ufooter-strip-text:#203744;
}

/* Shared strip: exactly 12px / 12px everywhere. */



/* Catalogue: three fixed structural rows. Footer owns both controls and strip. */











/* Detail: compact content row + one footer. Nothing can slip under the strip. */
html body #productQuickBackdrop .product-quick-sheet,
html body #productQuickBackdrop .product-quick-sheet:has(#productQuickBody .pq-picked.selected){
  min-height:0!important;
  padding:16px!important;
  overflow:hidden!important;
}
html body #productQuickBackdrop #productQuickBody{
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  grid-template-rows:auto 58px!important;
  column-gap:18px!important;
  row-gap:0!important;
  align-items:start!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-photo{
  grid-column:1!important;
  grid-row:1!important;
  height:170px!important;
  min-height:170px!important;
  max-height:170px!important;
  margin:0!important;
  padding:10px!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-main{
  grid-column:2!important;
  grid-row:1!important;
  min-height:0!important;
  padding-bottom:8px!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-footer{
  grid-column:1 / -1!important;
  grid-row:2!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:46px 12px!important;
  width:100%!important;
  height:58px!important;
  min-height:58px!important;
  max-height:58px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-footer > .pq-bottom{
  position:static!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 120px!important;
  width:100%!important;
  height:46px!important;
  min-height:46px!important;
  max-height:46px!important;
  margin:0!important;
  padding:5px 0!important;
  border-top:1px solid #e2eaee!important;
  background:#fff!important;
  align-items:center!important;
  overflow:hidden!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-footer .pq-price{
  justify-self:start!important;
  align-self:center!important;
  margin:0!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-footer .pq-stepper{
  justify-self:end!important;
  align-self:center!important;
  margin:0!important;
}

/* Related cards: content then footer (controls + the exact same 12px strip). */
html body #productQuickRelated .pq-float-related,
html body #productQuickRelated .pq-float-related.selected{
  display:grid!important;
  grid-template-columns:104px minmax(0,1fr)!important;
  grid-template-rows:minmax(112px,auto) 54px!important;
  gap:0 10px!important;
  min-height:166px!important;
  height:auto!important;
  padding:8px 8px 0!important;
  overflow:hidden!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-thumb{
  grid-column:1!important;
  grid-row:1!important;
  width:104px!important;
  height:112px!important;
  margin:0!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-info{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  padding:2px 0 4px!important;
  overflow:hidden!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer{
  grid-column:1 / -1!important;
  grid-row:2!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:42px 12px!important;
  width:calc(100% + 16px)!important;
  height:54px!important;
  min-height:54px!important;
  max-height:54px!important;
  margin:0 -8px!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
}
html body #productQuickRelated .pq-float-related-footer > .pq-float-related-controls{
  position:static!important;
  display:flex!important;
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:3px 8px!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:6px!important;
  overflow:hidden!important;
  background:#fff!important;
}
html body #productQuickRelated .pq-float-related-footer .pq-related-stepper{
  flex:0 0 92px!important;
  width:92px!important;
  max-width:92px!important;
}

/* Search suggestions keep the same physical 12px line. */
html body #searchSuggest .suggest-row > .suggest-picked{
  height:12px!important;
  min-height:12px!important;
  max-height:12px!important;
  font-size:12px!important;
  line-height:12px!important;
  padding:0 2px!important;
  justify-content:center!important;
}

@media(max-width:900px){
  
}

/* ===== v1.164 — LOCK CATALOGUE CARD GEOMETRY ON HOVER ===== */
/* Hover is visual only. Never change card or child geometry. */








/* Elegant hover: only border/tiny shadow, no layout-changing properties. */
@media (hover:hover) and (pointer:fine){
  
}

/* ===== v1.165 — DOSAGE FORM COLOR SYSTEM =====
   One semantic color per dosage form.
   Card badge = bright reference color.
   Inactive filter = muted version of that same color.
   Active filter = exact badge color + visible checkmark retained by markup.
*/

/* Compact pill geometry for all form filters. */
html body .form-filter-scroll{
  gap:5px!important;
  padding:1px 1px!important;
}
html body .form-filter-chip{
  height:23px!important;
  min-height:23px!important;
  max-height:23px!important;
  padding:0 8px!important;
  border-width:2px!important;
  border-style:solid!important;
  border-radius:999px!important;
  font-size:11px!important;
  line-height:19px!important;
  font-weight:750!important;
  gap:4px!important;
  box-shadow:none!important;
  transform:none!important;
}
html body .form-filter-chip b{
  font-size:9.2px!important;
  font-weight:850!important;
  opacity:.78!important;
}
html body .form-filter-chip:hover{
  transform:none!important;
  box-shadow:0 1px 4px rgba(37,67,84,.08)!important;
}

/* Bright reference palette: badges in product cards. */
html body .form-badge.form-tablet{background:#dceffc!important;border-color:#74b7e5!important;color:#174f72!important}
html body .form-badge.form-capsule{background:#e9e1fb!important;border-color:#ab8fe0!important;color:#513b78!important}
html body .form-badge.form-granules{background:#ffedbd!important;border-color:#dfa83d!important;color:#6f4d00!important}
html body .form-badge.form-suppository{background:#f9ded9!important;border-color:#df8f84!important;color:#7b3d35!important}
html body .form-badge.form-enema{background:#dbf0e2!important;border-color:#83bf97!important;color:#2d6841!important}
html body .form-badge.form-foam{background:#eadff4!important;border-color:#b59ad0!important;color:#5b3f73!important}
html body .form-badge.form-suspension{background:#dff1ed!important;border-color:#84bfb2!important;color:#2f665d!important}
html body .form-badge.form-drops{background:#def0fa!important;border-color:#86bddd!important;color:#315f78!important}
html body .form-badge.form-spray{background:#e1edf4!important;border-color:#8db4c8!important;color:#355d70!important}
html body .form-badge.form-cream,
html body .form-badge.form-gel,
html body .form-badge.form-ointment{background:#f8e5d2!important;border-color:#d6a676!important;color:#6d4728!important}
html body .form-badge.form-injection{background:#e6e8f5!important;border-color:#9ea6d0!important;color:#445078!important}
html body .form-badge.form-patch{background:#e9eddc!important;border-color:#aab97a!important;color:#536334!important}
html body .form-badge.form-powder{background:#f2e8d4!important;border-color:#c5a66c!important;color:#66502c!important}
html body .form-badge.form-solution{background:#dfeef1!important;border-color:#88b7bf!important;color:#315f66!important}

/* Inactive filters: same semantic hue, deliberately muted. */
html body .form-filter-chip.form-tablet:not(.active){background:#f4f9fd!important;border-color:#bfd8e8!important;color:#668094!important}
html body .form-filter-chip.form-capsule:not(.active){background:#f7f4fc!important;border-color:#d8cceb!important;color:#7a6d91!important}
html body .form-filter-chip.form-granules:not(.active){background:#fff9ea!important;border-color:#edd9aa!important;color:#8a7851!important}
html body .form-filter-chip.form-suppository:not(.active){background:#fdf6f4!important;border-color:#e9cbc7!important;color:#91706b!important}
html body .form-filter-chip.form-enema:not(.active){background:#f3faf5!important;border-color:#c8dfcf!important;color:#698273!important}
html body .form-filter-chip.form-foam:not(.active){background:#f8f4fb!important;border-color:#ddd0e7!important;color:#806f8d!important}
html body .form-filter-chip.form-suspension:not(.active){background:#f3f9f8!important;border-color:#c9dfda!important;color:#68827c!important}
html body .form-filter-chip.form-drops:not(.active){background:#f3f9fc!important;border-color:#c9dce7!important;color:#688493!important}
html body .form-filter-chip.form-spray:not(.active){background:#f4f8fa!important;border-color:#cbd9e1!important;color:#6b808c!important}
html body .form-filter-chip.form-cream:not(.active),
html body .form-filter-chip.form-gel:not(.active),
html body .form-filter-chip.form-ointment:not(.active){background:#fcf7f2!important;border-color:#e5d1be!important;color:#897668!important}
html body .form-filter-chip.form-injection:not(.active){background:#f6f6fa!important;border-color:#d2d5e3!important;color:#73798f!important}
html body .form-filter-chip.form-patch:not(.active){background:#f6f8f1!important;border-color:#d5dcc3!important;color:#79806c!important}
html body .form-filter-chip.form-powder:not(.active){background:#faf7f1!important;border-color:#ded2ba!important;color:#817663!important}
html body .form-filter-chip.form-solution:not(.active){background:#f3f8f9!important;border-color:#c9dcdf!important;color:#6a8185!important}

/* Active filters: EXACTLY the same palette as the corresponding card badge. */
html body .form-filter-chip.active.form-tablet{background:#dceffc!important;border-color:#74b7e5!important;color:#174f72!important}
html body .form-filter-chip.active.form-capsule{background:#e9e1fb!important;border-color:#ab8fe0!important;color:#513b78!important}
html body .form-filter-chip.active.form-granules{background:#ffedbd!important;border-color:#dfa83d!important;color:#6f4d00!important}
html body .form-filter-chip.active.form-suppository{background:#f9ded9!important;border-color:#df8f84!important;color:#7b3d35!important}
html body .form-filter-chip.active.form-enema{background:#dbf0e2!important;border-color:#83bf97!important;color:#2d6841!important}
html body .form-filter-chip.active.form-foam{background:#eadff4!important;border-color:#b59ad0!important;color:#5b3f73!important}
html body .form-filter-chip.active.form-suspension{background:#dff1ed!important;border-color:#84bfb2!important;color:#2f665d!important}
html body .form-filter-chip.active.form-drops{background:#def0fa!important;border-color:#86bddd!important;color:#315f78!important}
html body .form-filter-chip.active.form-spray{background:#e1edf4!important;border-color:#8db4c8!important;color:#355d70!important}
html body .form-filter-chip.active.form-cream,
html body .form-filter-chip.active.form-gel,
html body .form-filter-chip.active.form-ointment{background:#f8e5d2!important;border-color:#d6a676!important;color:#6d4728!important}
html body .form-filter-chip.active.form-injection{background:#e6e8f5!important;border-color:#9ea6d0!important;color:#445078!important}
html body .form-filter-chip.active.form-patch{background:#e9eddc!important;border-color:#aab97a!important;color:#536334!important}
html body .form-filter-chip.active.form-powder{background:#f2e8d4!important;border-color:#c5a66c!important;color:#66502c!important}
html body .form-filter-chip.active.form-solution{background:#dfeef1!important;border-color:#88b7bf!important;color:#315f66!important}

/* Active state is not communicated by color alone: make border decisive. */
html body .form-filter-chip.active{
  border-width:2px!important;
  font-weight:850!important;
  box-shadow:0 1px 4px rgba(37,67,84,.08)!important;
}

/* Reset button stays neutral/red so it cannot be mistaken for a dosage form. */
html body .form-filter-chip[data-form-filter=""]{
  background:#fff7f5!important;
  border-color:#e4aaa2!important;
  color:#963f35!important;
  font-weight:800!important;
}

@media(max-width:620px){
  html body .form-filter-chip{
    height:22px!important;min-height:22px!important;max-height:22px!important;
    padding:0 7px!important;font-size:10.5px!important;line-height:18px!important;
  }
}

/* ========================================================================== 
   V1.166 — STABLE FILTER ROW + COMPLETELY STATIC CARD GEOMETRY
   Filter controls never move when counts/selection context changes.
   Card hover never creates/removes any physical row, gap or border.
   ========================================================================== */

/* --- Toolbar: fixed coordinate system --- */
html body #catalogToolbar.catalog-toolbar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 236px!important;
  align-items:center!important;
  column-gap:12px!important;
  min-height:30px!important;
}
html body #catalogToolbar .catalog-count-zone{
  display:grid!important;
  grid-template-columns:150px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
}
html body #catalogToolbar #catalogCount{
  display:block!important;
  width:150px!important;
  min-width:150px!important;
  max-width:150px!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body #catalogToolbar #formFilterStrip.form-filter-strip:not([hidden]){
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
html body #catalogToolbar #formFilterStrip .form-filter-scroll{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  gap:5px!important;
  padding:1px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scroll-behavior:auto!important;
}
html body #catalogToolbar .catalog-tools{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  width:236px!important;
  min-width:236px!important;
  max-width:236px!important;
  overflow:hidden!important;
}
html body #catalogToolbar .catalog-sort{
  display:grid!important;
  grid-template-columns:70px 158px!important;
  align-items:center!important;
  gap:8px!important;
  width:236px!important;
  min-width:236px!important;
  max-width:236px!important;
  white-space:nowrap!important;
}
html body #catalogToolbar .catalog-sort select{
  width:158px!important;
  min-width:158px!important;
  max-width:158px!important;
}
/* Desktop inline filters replace old select; keep hidden control from stealing width. */
html body #catalogToolbar .catalog-form-select[hidden],
html body #catalogToolbar .catalog-form-select:has(select[hidden]){display:none!important}

/* Every chip keeps the same physical box in active/inactive states. */
html body #formFilterStrip .form-filter-chip,
html body #formFilterStrip .form-filter-chip:hover,
html body #formFilterStrip .form-filter-chip:focus,
html body #formFilterStrip .form-filter-chip:active,
html body #formFilterStrip .form-filter-chip.active{
  box-sizing:border-box!important;
  height:23px!important;
  min-height:23px!important;
  max-height:23px!important;
  border-width:2px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
}
html body #formFilterStrip .form-filter-chip i{
  flex:0 0 12px!important;
  width:12px!important;
  min-width:12px!important;
  max-width:12px!important;
  text-align:center!important;
}

/* --- Catalogue cards: one immutable geometry in every interaction state --- */
html body #productList{
  align-items:start!important;
}






/* Qty zero still occupies exactly the same 12px physical row, only visually white. */


/* Hover changes paint only. */
@media (hover:hover) and (pointer:fine){
  
}

@media(max-width:900px){
  html body #catalogToolbar.catalog-toolbar{
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:5px!important;
  }
  html body #catalogToolbar .catalog-count-zone{
    grid-template-columns:132px minmax(0,1fr)!important;
  }
  html body #catalogToolbar #catalogCount{width:132px!important;min-width:132px!important;max-width:132px!important}
  html body #catalogToolbar .catalog-tools{width:100%!important;min-width:0!important;max-width:none!important}
  html body #catalogToolbar .catalog-sort{margin-left:auto!important}
}

/* =========================================================
   v1.167 — FILTER STATE CLARITY
   - 2px breathing room below category tabs
   - inactive form filters are neutral grey
   - selected form filters use the exact form-family color + checkmark
   ========================================================= */

/* Keep a tiny but visible gap below the category strip. */
#formFilterBar,
.form-filter-strip{
  margin-top:2px!important;
}

/* Inactive form choices: deliberately neutral. Form meaning is revealed by
   its text; color is reserved for the selected state. */
.form-filter-chip:not(.active):not(.reset-chip),
.form-filter-chip:not(.active)[class*="form-"]{
  background:#f1f3f4!important;
  border-color:#c7ccd1!important;
  color:#69727a!important;
  box-shadow:none!important;
  opacity:1!important;
}
.form-filter-chip:not(.active):not(.reset-chip):hover,
.form-filter-chip:not(.active)[class*="form-"]:hover{
  background:#e9ecef!important;
  border-color:#aeb6bd!important;
  color:#49535c!important;
  box-shadow:none!important;
}

/* Selected chips: same color family as the product badge, with stronger
   outline so multi-select remains obvious even without relying on color. */
.form-filter-chip.active{
  border-width:2px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
.form-filter-chip.active.form-tablet{background:#dff1ff!important;border-color:#5aaee6!important;color:#145a82!important}
.form-filter-chip.active.form-capsule{background:#ece3ff!important;border-color:#a780e8!important;color:#594079!important}
.form-filter-chip.active.form-granules{background:#ffedbd!important;border-color:#d8a93d!important;color:#6e5112!important}
.form-filter-chip.active.form-suppository{background:#ffe0da!important;border-color:#df8a7d!important;color:#7d3c33!important}
.form-filter-chip.active.form-enema{background:#def3e5!important;border-color:#75b88a!important;color:#315f40!important}
.form-filter-chip.active.form-foam{background:#eadff5!important;border-color:#aa84cb!important;color:#5b4270!important}
.form-filter-chip.active.form-suspension{background:#ddf1ed!important;border-color:#76b6a9!important;color:#315f57!important}
.form-filter-chip.active.form-drops{background:#dff1fa!important;border-color:#74b2d2!important;color:#315c72!important}
.form-filter-chip.active.form-spray{background:#e1edf4!important;border-color:#83aebe!important;color:#3d5f6e!important}
.form-filter-chip.active.form-cream,
.form-filter-chip.active.form-gel,
.form-filter-chip.active.form-ointment{background:#f8e5d1!important;border-color:#cf9f70!important;color:#694a32!important}
.form-filter-chip.active.form-injection{background:#e5e8f5!important;border-color:#8d99c3!important;color:#475473!important}
.form-filter-chip.active.form-patch{background:#e8eddc!important;border-color:#9cac6f!important;color:#53613c!important}
.form-filter-chip.active.form-powder{background:#efe5d1!important;border-color:#b7a06d!important;color:#655536!important}
.form-filter-chip.active.form-solution{background:#deedf0!important;border-color:#7daeb5!important;color:#355e64!important}

/* Make card badges the visual reference for the selected filter state. */
.form-badge.form-tablet{background:#dff1ff!important;border-color:#5aaee6!important;color:#145a82!important}
.form-badge.form-capsule{background:#ece3ff!important;border-color:#a780e8!important;color:#594079!important}
.form-badge.form-granules{background:#ffedbd!important;border-color:#d8a93d!important;color:#6e5112!important}
.form-badge.form-suppository{background:#ffe0da!important;border-color:#df8a7d!important;color:#7d3c33!important}
.form-badge.form-enema{background:#def3e5!important;border-color:#75b88a!important;color:#315f40!important}
.form-badge.form-foam{background:#eadff5!important;border-color:#aa84cb!important;color:#5b4270!important}
.form-badge.form-suspension{background:#ddf1ed!important;border-color:#76b6a9!important;color:#315f57!important}
.form-badge.form-drops{background:#dff1fa!important;border-color:#74b2d2!important;color:#315c72!important}
.form-badge.form-spray{background:#e1edf4!important;border-color:#83aebe!important;color:#3d5f6e!important}
.form-badge.form-cream,.form-badge.form-gel,.form-badge.form-ointment{background:#f8e5d1!important;border-color:#cf9f70!important;color:#694a32!important}
.form-badge.form-injection{background:#e5e8f5!important;border-color:#8d99c3!important;color:#475473!important}
.form-badge.form-patch{background:#e8eddc!important;border-color:#9cac6f!important;color:#53613c!important}
.form-badge.form-powder{background:#efe5d1!important;border-color:#b7a06d!important;color:#655536!important}
.form-badge.form-solution{background:#deedf0!important;border-color:#7daeb5!important;color:#355e64!important}


/* ===== v1.168 — final filter polish / no-jump cards / quick form jump ===== */
.form-filter-strip{margin-top:2px!important}
.form-filter-scroll{padding-top:2px!important}
.form-filter-chip{box-sizing:border-box!important;border-width:1px!important;font-weight:720!important}
.form-filter-chip i{font-style:normal!important;font-size:10px!important;line-height:1!important;opacity:.9!important}
.form-filter-chip:not(.active):not(.form-filter-all):not(.form-filter-reset){
  background:#f1f4f6!important;
  border-color:#cfd8dd!important;
  color:#53656e!important;
  box-shadow:none!important;
  opacity:.88!important;
}
.form-filter-chip.form-filter-all{
  background:#f4f7f8!important;
  border-color:#c8d5db!important;
  color:#3d5969!important;
}
.form-filter-chip.form-filter-all.active{
  background:#eaf4ff!important;
  border-color:#6ca6d7!important;
  color:#204d6b!important;
  box-shadow:inset 0 -2px 0 #6ca6d7,0 3px 10px rgba(72,118,160,.10)!important;
}
.form-filter-chip.form-filter-reset{
  background:#fff7ef!important;
  border-color:#ebccb0!important;
  color:#9a5d2f!important;
}
.form-filter-chip.form-filter-reset:hover{background:#fff1e3!important;border-color:#dfb489!important}

/* keep inactive category tabs slightly softer, but make the active one obvious */
.category-chip.notebook-index-tab:not(.active){opacity:.82!important}
.category-chip.notebook-index-tab.active{
  opacity:1!important;
  box-shadow:inset 0 -2px 0 rgba(39,87,124,.34)!important;
  border-color:#8eb1c8!important;
}

/* Main catalog cards must never change geometry between normal/hover/selected states. */




/* Quick-view main form badge acts like a navigation button back to the main grid. */
.pq-main-form-jump{
  appearance:none!important;
  cursor:pointer!important;
  font:inherit!important;
  line-height:1!important;
}
.pq-main-form-jump:hover{filter:brightness(.98)!important;box-shadow:0 2px 8px rgba(39,78,109,.12)!important}

/* Related cards: fixed geometry, no hover lift, permanent reserved bottom strip. */
#productQuickRelated .pq-float-related,
#productQuickRelated .pq-float-related:hover,
#productQuickRelated .pq-float-related:focus,
#productQuickRelated .pq-float-related:focus-within,
#productQuickRelated .pq-float-related.selected,
#productQuickRelated .pq-float-related.selected:hover{
  box-sizing:border-box!important;
  min-height:156px!important;
  padding:10px 10px 24px!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  border-width:1px!important;
}
#productQuickRelated .pq-float-related-thumb{align-self:start!important}
#productQuickRelated .pq-float-related-info{min-height:86px!important}
#productQuickRelated .pq-float-related-picked,
#productQuickRelated .pq-float-related-picked.selected{
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  line-height:18px!important;
}
#productQuickRelated .pq-related-rail-list{padding-bottom:4px!important}


/* ========================================================================== 
   V1.169 — COMPACT STATIC LAYOUT + TRUE BOTTOM STATUS STRIP
   The status strip is the physical bottom edge of every card representation.
   No hover/focus/selected state is allowed to change geometry.
   ========================================================================== */
:root{
  --rxde-v169-strip-h:12px;
  --rxde-v169-strip-font:12px;
  --rxde-v169-strip-bg:#d9edf8;
  --rxde-v169-strip-text:#203744;
}

/* ---------- compact vertical chrome: useful content starts higher ---------- */
html body .workspace{padding-top:3px!important}
html body #catalogHero.catalog-hero,
html body #catalogHero.catalog-hero[class*="tone-"]{
  height:74px!important;
  min-height:74px!important;
  max-height:74px!important;
  margin:0 0 5px!important;
  border-radius:0 0 14px 14px!important;
}
html body #catalogHero .catalog-hero-copy{
  width:52%!important;
  max-width:52%!important;
  padding:7px 18px 6px!important;
}
html body #catalogHero .catalog-hero-kicker{margin-bottom:2px!important;font-size:8px!important;line-height:1!important}
html body #catalogHero h1{margin:0 0 2px!important;font-size:20px!important;line-height:1.04!important}
html body #catalogHero p{margin:0!important;font-size:10.5px!important;line-height:1.12!important}
html body #catalogToolbar.catalog-toolbar{margin-top:0!important;margin-bottom:4px!important;min-height:28px!important}
html body .flow-nav-main{min-height:24px!important;height:24px!important}
html body .flow-nav-second-row{min-height:30px!important;height:30px!important}
html body .notebook-index-tab.category-chip{height:30px!important;min-height:30px!important;padding-top:0!important;padding-bottom:0!important}
html body #productList{row-gap:8px!important}

/* ---------- main catalogue cards: immutable three-row geometry ---------- */












/* ---------- detail card: compact and footer flush with the sheet bottom ---------- */
html body #productQuickBackdrop .product-quick-sheet,
html body #productQuickBackdrop .product-quick-sheet:hover,
html body #productQuickBackdrop .product-quick-sheet:focus-within,
html body #productQuickBackdrop .product-quick-sheet:has(#productQuickBody .pq-picked.selected){
  box-sizing:border-box!important;
  min-height:0!important;
  height:auto!important;
  padding:16px 16px 0!important;
  overflow:hidden!important;
  transform:none!important;
}
html body #productQuickBackdrop #productQuickBody{
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  grid-template-rows:190px 56px!important;
  column-gap:18px!important;
  row-gap:0!important;
  width:100%!important;
  margin:0!important;padding:0!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-photo{
  grid-column:1!important;grid-row:1!important;
  height:180px!important;min-height:180px!important;max-height:180px!important;
  margin:0!important;padding:10px!important;transform:none!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-main{
  grid-column:2!important;grid-row:1!important;
  min-height:0!important;height:180px!important;max-height:180px!important;
  padding:0 0 6px!important;overflow:hidden!important;transform:none!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-footer{
  grid-column:1/-1!important;grid-row:2!important;
  position:static!important;
  display:grid!important;
  grid-template-rows:44px var(--rxde-v169-strip-h)!important;
  width:calc(100% + 32px)!important;
  height:56px!important;min-height:56px!important;max-height:56px!important;
  margin:0 -16px!important;padding:0!important;border:0!important;
  background:#fff!important;overflow:hidden!important;transform:none!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-footer > .pq-bottom{
  grid-row:1!important;position:static!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) 120px!important;
  width:100%!important;height:44px!important;min-height:44px!important;max-height:44px!important;
  margin:0!important;padding:4px 16px!important;border-top:1px solid #e2eaee!important;border-bottom:0!important;
  background:#fff!important;box-sizing:border-box!important;align-items:center!important;transform:none!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-footer > .pq-picked,
html body #productQuickBackdrop #productQuickBody > .pq-footer > .pq-picked.selected{
  grid-row:2!important;position:static!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:var(--rxde-v169-strip-h)!important;min-height:var(--rxde-v169-strip-h)!important;max-height:var(--rxde-v169-strip-h)!important;
  margin:0!important;padding:0 2px!important;border:0!important;border-radius:0!important;
  font-size:var(--rxde-v169-strip-font)!important;line-height:var(--rxde-v169-strip-h)!important;font-weight:400!important;
  white-space:nowrap!important;overflow:hidden!important;box-sizing:border-box!important;transform:none!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-footer > .pq-picked:not(.selected){background:#fff!important;color:transparent!important}
html body #productQuickBackdrop #productQuickBody > .pq-footer > .pq-picked.selected{background:var(--rxde-v169-strip-bg)!important;color:var(--rxde-v169-strip-text)!important}

/* ---------- related rail cards: own compact grid; never inherit catalogue geometry ---------- */
html body #productQuickRelated .pq-float-related,
html body #productQuickRelated .pq-float-related:hover,
html body #productQuickRelated .pq-float-related:focus,
html body #productQuickRelated .pq-float-related:focus-within,
html body #productQuickRelated .pq-float-related.selected,
html body #productQuickRelated .pq-float-related.selected:hover{
  position:relative!important;
  display:grid!important;
  grid-template-columns:104px minmax(0,1fr)!important;
  grid-template-rows:120px 56px!important;
  column-gap:10px!important;row-gap:0!important;
  width:100%!important;
  height:176px!important;min-height:176px!important;max-height:176px!important;
  margin:0 0 10px!important;padding:0!important;
  border:1px solid #d6e3e9!important;border-radius:18px!important;
  background:#fff!important;overflow:hidden!important;
  box-sizing:border-box!important;transform:none!important;translate:none!important;scale:1!important;
  box-shadow:none!important;
}
html body #productQuickRelated .pq-float-related::before,
html body #productQuickRelated .pq-float-related::after,
html body #productQuickRelated .pq-float-related.selected::before,
html body #productQuickRelated .pq-float-related.selected::after{content:none!important;display:none!important}
html body #productQuickRelated .pq-float-related:hover{box-shadow:0 3px 10px rgba(35,104,148,.10)!important}
html body #productQuickRelated .pq-float-related > .pq-float-related-thumb{
  grid-column:1!important;grid-row:1!important;
  width:104px!important;height:120px!important;min-height:120px!important;max-height:120px!important;
  margin:0!important;padding:8px!important;box-sizing:border-box!important;align-self:stretch!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-info{
  grid-column:2!important;grid-row:1!important;
  width:auto!important;height:120px!important;min-height:120px!important;max-height:120px!important;
  margin:0!important;padding:10px 9px 6px 0!important;overflow:hidden!important;box-sizing:border-box!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer{
  grid-column:1/-1!important;grid-row:2!important;
  position:static!important;display:grid!important;grid-template-rows:44px var(--rxde-v169-strip-h)!important;
  width:100%!important;height:56px!important;min-height:56px!important;max-height:56px!important;
  margin:0!important;padding:0!important;border:0!important;background:#fff!important;overflow:hidden!important;
}
html body #productQuickRelated .pq-float-related-footer > .pq-float-related-controls{
  grid-row:1!important;position:static!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;
  width:100%!important;height:44px!important;min-height:44px!important;max-height:44px!important;
  margin:0!important;padding:4px 8px!important;border-top:1px solid #e2eaee!important;box-sizing:border-box!important;background:#fff!important;
}
html body #productQuickRelated .pq-float-related-footer > .pq-float-related-picked,
html body #productQuickRelated .pq-float-related-footer > .pq-float-related-picked.selected{
  grid-row:2!important;position:static!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:var(--rxde-v169-strip-h)!important;min-height:var(--rxde-v169-strip-h)!important;max-height:var(--rxde-v169-strip-h)!important;
  margin:0!important;padding:0 2px!important;border:0!important;border-radius:0!important;
  font-size:var(--rxde-v169-strip-font)!important;line-height:var(--rxde-v169-strip-h)!important;font-weight:400!important;
  white-space:nowrap!important;overflow:hidden!important;box-sizing:border-box!important;transform:none!important;
}
html body #productQuickRelated .pq-float-related-footer > .pq-float-related-picked:not(.selected){background:#fff!important;color:transparent!important}
html body #productQuickRelated .pq-float-related-footer > .pq-float-related-picked.selected{background:var(--rxde-v169-strip-bg)!important;color:var(--rxde-v169-strip-text)!important}
html body #productQuickRelated .pq-float-related *{transform:none!important;translate:none!important;scale:1!important}

/* Search suggestions: same 12px bottom edge, no gap. */
html body #searchSuggest .suggest-row{position:relative!important;padding-bottom:var(--rxde-v169-strip-h)!important;overflow:hidden!important}
html body #searchSuggest .suggest-row > .suggest-picked{
  position:absolute!important;left:0!important;right:0!important;bottom:0!important;
  height:var(--rxde-v169-strip-h)!important;min-height:var(--rxde-v169-strip-h)!important;max-height:var(--rxde-v169-strip-h)!important;
  margin:0!important;padding:0 2px!important;border:0!important;border-radius:0!important;
  font-size:var(--rxde-v169-strip-font)!important;line-height:var(--rxde-v169-strip-h)!important;
}
html body #searchSuggest .suggest-row > .suggest-picked:not(.selected){background:#fff!important;color:transparent!important}
html body #searchSuggest .suggest-row > .suggest-picked.selected{background:var(--rxde-v169-strip-bg)!important;color:var(--rxde-v169-strip-text)!important}

@media(max-width:900px){
  html body #catalogHero.catalog-hero,html body #catalogHero.catalog-hero[class*="tone-"]{height:66px!important;min-height:66px!important;max-height:66px!important;margin-bottom:4px!important}
  html body #catalogHero .catalog-hero-copy{padding:6px 12px!important;width:64%!important;max-width:64%!important}
  html body #catalogHero h1{font-size:18px!important}
  html body #catalogHero p{font-size:10px!important}
  html body #productQuickBackdrop #productQuickBody{grid-template-columns:120px minmax(0,1fr)!important;grid-template-rows:150px 56px!important}
  html body #productQuickBackdrop #productQuickBody > .pq-photo{height:142px!important;min-height:142px!important;max-height:142px!important}
  html body #productQuickBackdrop #productQuickBody > .pq-main{height:142px!important;max-height:142px!important}
}


/* ========================================================================== 
   V1.170 — LOCKED V1.169 CARD GEOMETRY / 2PX FILTER GAPS / RELATED FULL STRIP
   Do not change the v1.169 catalogue/detail card geometry here.
   ========================================================================== */

/* Exact requested spacing between dosage-form filter pills. */
html body #catalogToolbar #formFilterStrip .form-filter-scroll,
html body #formFilterStrip .form-filter-scroll,
html body .form-filter-scroll{
  gap:2px!important;
  column-gap:2px!important;
}

/* Related cards only: make the selected-status strip the true full-width
   physical bottom edge of the card.  The controls stay directly above it. */
html body #productQuickRelated .pq-float-related{
  position:relative!important;
  padding:0!important;
  overflow:hidden!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:8!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:44px var(--rxde-v169-strip-h)!important;
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  height:56px!important;
  min-height:56px!important;
  max-height:56px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer > .pq-float-related-controls{
  grid-row:1!important;
  position:static!important;
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:4px 8px!important;
  border-top:1px solid #e2eaee!important;
  border-bottom:0!important;
  box-sizing:border-box!important;
  background:#fff!important;
  overflow:hidden!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer > .pq-float-related-picked,
html body #productQuickRelated .pq-float-related > .pq-float-related-footer > .pq-float-related-picked.selected{
  grid-row:2!important;
  position:static!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  height:var(--rxde-v169-strip-h)!important;
  min-height:var(--rxde-v169-strip-h)!important;
  max-height:var(--rxde-v169-strip-h)!important;
  margin:0!important;
  padding:0 3px!important;
  border:0!important;
  border-radius:0!important;
  box-sizing:border-box!important;
  font-size:var(--rxde-v169-strip-font)!important;
  line-height:var(--rxde-v169-strip-h)!important;
  font-weight:400!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  transform:none!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer > .pq-float-related-picked:not(.selected){
  background:#fff!important;
  color:transparent!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer > .pq-float-related-picked.selected{
  background:var(--rxde-v169-strip-bg)!important;
  color:var(--rxde-v169-strip-text)!important;
}

/* Reserve the footer area inside the related card, without changing its
   overall v1.169 height or hover geometry. */
html body #productQuickRelated .pq-float-related > .pq-float-related-thumb,
html body #productQuickRelated .pq-float-related > .pq-float-related-info{
  margin-bottom:56px!important;
}


/* ===== v1.171 — compact unified category header + precise spacing + full-width related picked strips ===== */
:root{
  --rxde-hero-shell-bg:linear-gradient(115deg,rgba(240,247,252,.98) 0%,rgba(255,255,255,.985) 68%);
  --rxde-hero-shell-border:#d7e5ec;
  --rxde-hero-shell-shadow:0 7px 18px rgba(37,78,103,.07);
}

/* Slightly tighter top area: more room for two product rows on a 14" screen. */
.notebook-head{padding-bottom:4px!important}
.search-stage{padding:5px 20px 7px!important;margin-top:1px!important}
.search-wrap{padding:3px!important;min-height:44px!important;border-radius:12px!important}
.search-main-field{min-height:38px!important;border-radius:10px!important}
.search-main-field .search-icon{margin-left:8px!important;width:17px!important;height:17px!important}
.search-main-field .search-input{height:38px!important;padding:0 6px!important;font-size:15px!important}
.search-main-field .clear-search{width:34px!important;height:38px!important}

/* Create a visible but subtle separation between category tabs and the filter row below. */
.flow-nav-second-row{padding-bottom:3px!important}
.catalog-toolbar{margin-top:4px!important}

/* Compact hero: keep the photo readable, but give cards more vertical room. */
#catalogHero.catalog-hero{
  min-height:70px!important;
  height:70px!important;
  margin:0 20px 0!important;
  border-radius:15px 15px 0 0!important;
  border-bottom:0!important;
  box-shadow:var(--rxde-hero-shell-shadow)!important;
  overflow:hidden!important;
}
#catalogHero .catalog-hero-copy{padding:11px 18px 10px!important}
#catalogHero .catalog-hero-kicker{margin-bottom:2px!important;font-size:8px!important;letter-spacing:.07em!important;opacity:.82!important}
#catalogHero h1{margin:0 0 2px!important;font-size:20px!important;line-height:1.04!important}
#catalogHero p{font-size:10.8px!important;line-height:1.16!important;max-width:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#catalogHero .catalog-hero-photo{min-height:70px!important;height:70px!important;background-position:center 44%!important}
#catalogHero .catalog-hero-photo::after{right:10px!important;bottom:6px!important;font-size:19px!important;opacity:.72!important}

/* Count + sorting live in one elegant pod visually tied to the current category/photo. */
.catalog-toolbar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px 14px!important;
  margin:0 20px 8px!important;
  padding:7px 12px!important;
  min-height:42px!important;
  background:var(--rxde-hero-shell-bg)!important;
  border:1px solid var(--rxde-hero-shell-border)!important;
  border-top:0!important;
  border-radius:0 0 15px 15px!important;
  box-shadow:0 10px 18px rgba(37,78,103,.05)!important;
}
.catalog-count-zone{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px 10px!important;
}
#catalogCount{
  flex:0 0 auto!important;
  color:#153e5b!important;
  font-size:15px!important;
  line-height:1.1!important;
  font-weight:820!important;
}
.catalog-tools{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
.catalog-sort{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#66808e!important;
  font-size:10.5px!important;
  white-space:nowrap!important;
  margin-left:auto!important;
}
.catalog-sort select{
  min-width:152px!important;
  height:31px!important;
  min-height:31px!important;
  padding:0 28px 0 10px!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid #cddde7!important;
  box-shadow:0 1px 4px rgba(36,76,101,.04)!important;
}
.form-filter-strip{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  min-height:0!important;
}
.form-filter-scroll{gap:6px!important;padding:0!important}
.form-filter-chip{height:28px!important;font-size:11.5px!important;padding:0 10px!important}
.form-filter-chip b{font-size:9.2px!important}

/* Bring the cards a little closer to the compact toolbar without touching their stable geometry. */
#productList.product-list{padding-top:0!important}

/* Short-screen desktop optimisation: comfortably show two rows on 14" displays. */
@media (min-width: 980px) and (max-height: 860px){
  .notebook-head{padding-bottom:2px!important}
  .search-stage{padding:4px 20px 6px!important}
  .search-wrap{min-height:42px!important}
  .search-main-field{min-height:36px!important}
  .search-main-field .search-input{height:36px!important;font-size:14.5px!important}
  .search-main-field .clear-search{height:36px!important}
  #catalogHero.catalog-hero{min-height:62px!important;height:62px!important}
  #catalogHero .catalog-hero-copy{padding:9px 16px 8px!important}
  #catalogHero h1{font-size:18px!important}
  #catalogHero p{font-size:10.2px!important}
  #catalogHero .catalog-hero-photo{min-height:62px!important;height:62px!important}
  .catalog-toolbar{padding:6px 11px!important;min-height:38px!important;margin-bottom:6px!important}
  #catalogCount{font-size:14px!important}
  .catalog-sort{font-size:10px!important}
  .catalog-sort select{height:29px!important;min-height:29px!important}
}

@media(max-width:900px){
  #catalogHero.catalog-hero{margin-left:12px!important;margin-right:12px!important}
  .catalog-toolbar{margin-left:12px!important;margin-right:12px!important}
}
@media(max-width:620px){
  .search-stage{padding:4px 8px 6px!important}
  .search-wrap{padding:2px!important;min-height:40px!important;border-radius:11px!important}
  .search-main-field{min-height:36px!important}
  .search-main-field .search-input{height:36px!important;font-size:15px!important}
  .search-main-field .clear-search{height:36px!important;width:32px!important}
  #catalogHero.catalog-hero{
    min-height:82px!important;
    height:82px!important;
    margin:0 8px 0!important;
    grid-template-columns:minmax(0,1.18fr) minmax(110px,.82fr)!important;
  }
  #catalogHero .catalog-hero-copy{padding:9px 10px!important}
  #catalogHero h1{font-size:16px!important}
  #catalogHero p{font-size:9.8px!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
  #catalogHero .catalog-hero-photo{min-height:82px!important;height:82px!important}
  .catalog-toolbar{
    grid-template-columns:1fr!important;
    align-items:flex-start!important;
    gap:6px!important;
    margin:0 8px 7px!important;
    padding:7px 9px!important;
  }
  .catalog-count-zone{width:100%!important;gap:6px 8px!important}
  .catalog-tools{width:100%!important;justify-content:space-between!important;gap:6px!important}
  .catalog-sort{margin-left:0!important;font-size:0!important}
  .catalog-sort select{width:132px!important;min-width:132px!important;max-width:132px!important;height:30px!important;min-height:30px!important}
  .form-filter-chip{height:27px!important;font-size:11px!important;padding:0 9px!important}
}

/* Quick related rail: the selected/summary strip must span the full card width. */
#productQuickRelated .pq-float-related{
  display:grid!important;
  grid-template-columns:84px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  grid-template-areas:
    "thumb info"
    "thumb controls"
    "picked picked"!important;
  align-items:start!important;
  gap:8px 10px!important;
  padding:10px 10px 0!important;
  overflow:hidden!important;
}
#productQuickRelated .pq-float-related-thumb{grid-area:thumb!important;width:84px!important;height:84px!important}
#productQuickRelated .pq-float-related-info{grid-area:info!important;min-width:0!important}
#productQuickRelated .pq-float-related-controls{grid-area:controls!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-width:0!important}
#productQuickRelated .pq-float-related-price{min-width:0!important}
#productQuickRelated .pq-float-related-price b{font-size:14px!important;line-height:1.05!important}
#productQuickRelated .pq-float-related-price small{font-size:10px!important;line-height:1.1!important}
#productQuickRelated .pq-float-related-picked{
  grid-area:picked!important;
  width:auto!important;
  margin:8px -10px 0!important;
  padding:5px 10px!important;
  min-height:24px!important;
  border-radius:0 0 11px 11px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1.15!important;
}
#productQuickRelated .pq-float-related-picked:empty{background:transparent!important;padding:0!important;min-height:0!important;margin-top:0!important}
#productQuickRelated .pq-float-related-info strong{line-height:1.18!important}
#productQuickRelated .pq-float-related-info .pq-related-meta{line-height:1.18!important}
@media (max-width:1200px){
  #productQuickRelated .pq-float-related{grid-template-columns:74px minmax(0,1fr)!important}
  #productQuickRelated .pq-float-related-thumb{width:74px!important;height:74px!important}
}


/* ===== v1.172 — category controls live ON the category tile ===== */
/* Preserve the stable v1.169/v1.170 product-card geometry. This patch only compacts the header. */

/* Search field: smaller shell, same readable type. */
.search-stage{padding-top:4px!important;padding-bottom:5px!important}
.search-wrap{min-height:40px!important;padding:2px!important}
.search-main-field{min-height:36px!important}
.search-main-field .search-input{height:36px!important;font-size:14.5px!important}
.search-main-field .clear-search{height:36px!important}

/* Category tile now owns count + sorting. No second bar below it. */
#catalogHero.catalog-hero:not([hidden]){
  min-height:78px!important;
  height:78px!important;
  margin:0 20px 7px!important;
  border:1px solid #ccdde8!important;
  border-radius:14px!important;
  overflow:hidden!important;
  position:relative!important;
  grid-template-columns:minmax(0,1.16fr) minmax(300px,.84fr)!important;
}
#catalogHero:not([hidden]) .catalog-hero-copy{
  padding:9px 18px 28px!important;
}
#catalogHero:not([hidden]) .catalog-hero-kicker{margin-bottom:2px!important;font-size:8px!important}
#catalogHero:not([hidden]) h1{margin:0 0 2px!important;font-size:19px!important;line-height:1.02!important}
#catalogHero:not([hidden]) p{font-size:10.4px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#catalogHero:not([hidden]) .catalog-hero-photo{min-height:78px!important;height:78px!important}

#catalogHero:not([hidden]) > .catalog-toolbar{
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  bottom:5px!important;
  z-index:4!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0!important;
  padding:0!important;
  min-height:24px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
#catalogHero:not([hidden]) > .catalog-toolbar .catalog-count-zone,
#catalogHero:not([hidden]) > .catalog-toolbar .catalog-tools{pointer-events:auto!important}
#catalogHero:not([hidden]) > .catalog-toolbar .catalog-count-zone{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  padding:3px 8px!important;
  min-height:24px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.84)!important;
  border:1px solid rgba(191,211,222,.86)!important;
  backdrop-filter:blur(4px)!important;
  box-shadow:0 2px 8px rgba(34,74,100,.06)!important;
}
#catalogHero:not([hidden]) #catalogCount{
  font-size:12.5px!important;
  line-height:1!important;
  color:#163f5a!important;
  white-space:nowrap!important;
}
#catalogHero:not([hidden]) #formFilterStrip{display:none!important}
#catalogHero:not([hidden]) > .catalog-toolbar .catalog-tools{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  margin-left:auto!important;
  padding:2px 4px 2px 8px!important;
  min-height:28px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.84)!important;
  border:1px solid rgba(191,211,222,.86)!important;
  backdrop-filter:blur(4px)!important;
  box-shadow:0 2px 8px rgba(34,74,100,.06)!important;
}
#catalogHero:not([hidden]) .catalog-sort{font-size:9.2px!important;gap:5px!important;margin-left:0!important}
#catalogHero:not([hidden]) .catalog-sort select{
  min-width:130px!important;
  height:25px!important;
  min-height:25px!important;
  padding:0 24px 0 8px!important;
  border-radius:8px!important;
  font-size:10.5px!important;
  background:rgba(255,255,255,.98)!important;
}

/* When search is active the hero is hidden; keep only one compact result/filter row. */
#catalogHero[hidden] + .catalog-toolbar{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  margin:4px 20px 6px!important;
  padding:0!important;
  min-height:30px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
#catalogHero[hidden] + .catalog-toolbar .catalog-count-zone{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  gap:8px!important;
}
#catalogHero[hidden] + .catalog-toolbar #catalogCount{font-size:14px!important;white-space:nowrap!important}
#catalogHero[hidden] + .catalog-toolbar .catalog-tools{margin-left:auto!important}
#catalogHero[hidden] + .catalog-toolbar .catalog-sort select{height:29px!important;min-height:29px!important}
#catalogHero[hidden] + .catalog-toolbar .form-filter-strip{margin-top:2px!important}

/* True visible breathing room between category tabs and search filters. */
#catalogHero[hidden] + .catalog-toolbar{margin-top:5px!important}

/* More vertical room for product rows. */
.workspace{padding-top:8px!important}

@media (min-width:980px) and (max-height:860px){
  .search-stage{padding-top:3px!important;padding-bottom:4px!important}
  .search-wrap{min-height:38px!important}
  .search-main-field{min-height:34px!important}
  .search-main-field .search-input{height:34px!important;font-size:14px!important}
  .search-main-field .clear-search{height:34px!important}
  #catalogHero.catalog-hero:not([hidden]){height:70px!important;min-height:70px!important;margin-bottom:5px!important}
  #catalogHero:not([hidden]) .catalog-hero-copy{padding:7px 16px 26px!important}
  #catalogHero:not([hidden]) h1{font-size:17.5px!important}
  #catalogHero:not([hidden]) p{font-size:9.8px!important}
  #catalogHero:not([hidden]) .catalog-hero-photo{height:70px!important;min-height:70px!important}
  #catalogHero:not([hidden]) > .catalog-toolbar{bottom:4px!important}
}

@media(max-width:900px){
  #catalogHero.catalog-hero:not([hidden]){margin-left:12px!important;margin-right:12px!important}
  #catalogHero[hidden] + .catalog-toolbar{margin-left:12px!important;margin-right:12px!important}
}
@media(max-width:620px){
  #catalogHero.catalog-hero:not([hidden]){
    height:84px!important;min-height:84px!important;margin:0 8px 6px!important;
    grid-template-columns:minmax(0,1.16fr) minmax(100px,.84fr)!important;
  }
  #catalogHero:not([hidden]) .catalog-hero-copy{padding:8px 9px 29px!important}
  #catalogHero:not([hidden]) h1{font-size:15.5px!important}
  #catalogHero:not([hidden]) p{font-size:9.4px!important;white-space:nowrap!important}
  #catalogHero:not([hidden]) .catalog-hero-photo{height:84px!important;min-height:84px!important}
  #catalogHero:not([hidden]) > .catalog-toolbar{left:6px!important;right:6px!important;bottom:4px!important;gap:6px!important}
  #catalogHero:not([hidden]) > .catalog-toolbar .catalog-count-zone{padding:3px 6px!important}
  #catalogHero:not([hidden]) #catalogCount{font-size:11px!important}
  #catalogHero:not([hidden]) > .catalog-toolbar .catalog-tools{padding-left:5px!important}
  #catalogHero:not([hidden]) .catalog-sort{font-size:0!important}
  #catalogHero:not([hidden]) .catalog-sort select{min-width:116px!important;width:116px!important;font-size:10px!important}
  #catalogHero[hidden] + .catalog-toolbar{grid-template-columns:1fr!important;margin:5px 8px 6px!important;gap:4px!important}
  #catalogHero[hidden] + .catalog-toolbar .catalog-count-zone{width:100%!important;flex-wrap:wrap!important}
  #catalogHero[hidden] + .catalog-toolbar .catalog-tools{width:100%!important;justify-content:flex-end!important}
}


/* ===== v1.173 — ultra-compact vertical layout; sorting in notebook row; clean category art ===== */
/* CARD GEOMETRY + bottom blue strip are intentionally untouched from v1.169/v1.170. */

/* Header: remove dead vertical air without shrinking readable content. */
.notebook-head{
  min-height:70px!important;
  padding:8px 24px 5px!important;
}
.search-stage{
  padding:2px 20px 3px!important;
  margin:0!important;
}
.search-wrap{
  min-height:34px!important;
  height:34px!important;
  padding:1px!important;
  border-radius:10px!important;
}
.search-main-field{
  min-height:32px!important;
  height:32px!important;
  border-radius:9px!important;
}
.search-main-field .search-icon{
  width:16px!important;height:16px!important;margin-left:8px!important;
}
.search-main-field .search-input{
  height:32px!important;
  min-height:32px!important;
  padding:0 6px!important;
  font-size:14px!important;
  line-height:32px!important;
}
.search-main-field .clear-search{
  width:31px!important;height:32px!important;min-height:32px!important;
}

/* Permanent notebook navigation: compact, with count + sorting at far right. */
.flow-nav{
  min-height:52px!important;
  padding:4px 20px 3px 58px!important;
}
.flow-nav-main{
  min-height:21px!important;
  height:21px!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
.flow-nav-main .flow-crumbs{
  min-width:0!important;
  flex:1 1 auto!important;
  font-size:11px!important;
  line-height:1!important;
}
.flow-nav-main .flow-context-meta{
  flex:0 0 auto!important;
  margin-left:auto!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:760!important;
  color:#45697d!important;
  white-space:nowrap!important;
}
.flow-nav-main .flow-sort{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  margin-left:4px!important;
  color:#6b8290!important;
  font-size:9px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.flow-nav-main .flow-sort select{
  width:132px!important;
  min-width:132px!important;
  height:24px!important;
  min-height:24px!important;
  padding:0 23px 0 7px!important;
  border:1px solid #bfd5e1!important;
  border-radius:7px!important;
  background:rgba(255,255,255,.94)!important;
  color:#214f68!important;
  font-size:10px!important;
  font-weight:740!important;
  box-shadow:none!important;
}
.flow-nav-second-row{
  min-height:28px!important;
  height:28px!important;
  padding:1px 0 0!important;
  margin:0!important;
}
.flow-nav-second-row .category-strip.notebook-index-tabs{
  min-height:27px!important;
  height:27px!important;
  gap:5px!important;
}
.flow-nav-second-row .category-chip.notebook-index-tab{
  min-height:27px!important;
  height:27px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  font-size:10px!important;
}

/* Category tile: decorative/informational only. No controls inside it. */
.workspace{padding-top:3px!important}
#catalogHero.catalog-hero:not([hidden]){
  min-height:56px!important;
  height:56px!important;
  margin:0 20px 5px!important;
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr)!important;
  border-radius:12px!important;
  overflow:hidden!important;
  box-shadow:0 4px 12px rgba(37,78,103,.05)!important;
}
#catalogHero:not([hidden]) .catalog-hero-copy{
  padding:7px 16px 6px!important;
}
#catalogHero:not([hidden]) .catalog-hero-kicker{
  margin-bottom:1px!important;
  font-size:7.5px!important;
  line-height:1!important;
}
#catalogHero:not([hidden]) h1{
  margin:0 0 1px!important;
  font-size:17px!important;
  line-height:1.02!important;
}
#catalogHero:not([hidden]) p{
  margin:0!important;
  font-size:9.2px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#catalogHero:not([hidden]) .catalog-hero-photo{
  min-height:56px!important;
  height:56px!important;
  background-position:center 48%!important;
  filter:saturate(1.18) contrast(1.04)!important;
}
#catalogHero:not([hidden]) .catalog-hero-photo::before{
  background:linear-gradient(90deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.30) 18%,rgba(255,255,255,0) 44%)!important;
}
#catalogHero:not([hidden]) .catalog-hero-photo::after{
  display:none!important;
}

/* The old category toolbar is gone in browse mode. In search it is filters only. */
#catalogToolbar{
  margin:3px 20px 5px!important;
  padding:0!important;
  min-height:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
#catalogToolbar #catalogCount,
#catalogToolbar .catalog-tools,
#catalogToolbar .catalog-form-select{display:none!important}
#catalogToolbar .catalog-count-zone{
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
#catalogToolbar .form-filter-strip{
  margin:0!important;
  padding:0!important;
  min-height:28px!important;
}
#catalogToolbar:has(.form-filter-strip[hidden]){display:none!important}
#catalogToolbar .form-filter-scroll{
  padding:0!important;
  gap:6px!important;
}
#catalogToolbar .form-filter-chip{
  height:27px!important;
  min-height:27px!important;
  padding:0 9px!important;
  font-size:11px!important;
}

/* Keep a small deliberate gap between the category tabs and search-form filters. */
#catalogHero[hidden] + #catalogToolbar{margin-top:4px!important}

@media (min-width:980px) and (max-height:860px){
  .notebook-head{min-height:66px!important;padding-top:6px!important;padding-bottom:3px!important}
  .search-stage{padding-top:1px!important;padding-bottom:2px!important}
  .search-wrap{height:32px!important;min-height:32px!important}
  .search-main-field{height:30px!important;min-height:30px!important}
  .search-main-field .search-input{height:30px!important;min-height:30px!important;line-height:30px!important;font-size:13.5px!important}
  .search-main-field .clear-search{height:30px!important;min-height:30px!important}
  .flow-nav{min-height:49px!important;padding-top:3px!important;padding-bottom:2px!important}
  .flow-nav-main{height:20px!important;min-height:20px!important}
  .flow-nav-second-row{height:26px!important;min-height:26px!important}
  .flow-nav-second-row .category-strip.notebook-index-tabs{height:25px!important;min-height:25px!important}
  .flow-nav-second-row .category-chip.notebook-index-tab{height:25px!important;min-height:25px!important}
  #catalogHero.catalog-hero:not([hidden]){height:50px!important;min-height:50px!important;margin-bottom:4px!important}
  #catalogHero:not([hidden]) .catalog-hero-copy{padding:6px 14px 5px!important}
  #catalogHero:not([hidden]) h1{font-size:16px!important}
  #catalogHero:not([hidden]) p{font-size:9px!important}
  #catalogHero:not([hidden]) .catalog-hero-photo{height:50px!important;min-height:50px!important}
}

@media(max-width:900px){
  .flow-nav-main .flow-sort{font-size:0!important}
  .flow-nav-main .flow-sort select{width:116px!important;min-width:116px!important}
  #catalogHero.catalog-hero:not([hidden]){margin-left:12px!important;margin-right:12px!important}
  #catalogToolbar{margin-left:12px!important;margin-right:12px!important}
}
@media(max-width:620px){
  .notebook-head{min-height:62px!important;padding:6px 9px 4px!important}
  .search-stage{padding:1px 8px 2px!important}
  .search-wrap{height:34px!important;min-height:34px!important}
  .search-main-field{height:32px!important;min-height:32px!important}
  .search-main-field .search-input{height:32px!important;min-height:32px!important;font-size:14px!important}
  .flow-nav{padding-left:10px!important;padding-right:8px!important;min-height:52px!important}
  .flow-nav-main .flow-context-meta{display:none!important}
  .flow-nav-main .flow-sort select{width:105px!important;min-width:105px!important;height:23px!important;min-height:23px!important}
  #catalogHero.catalog-hero:not([hidden]){
    height:60px!important;min-height:60px!important;margin:0 8px 4px!important;
    grid-template-columns:minmax(0,1.1fr) minmax(105px,.9fr)!important;
  }
  #catalogHero:not([hidden]) .catalog-hero-copy{padding:7px 9px 6px!important}
  #catalogHero:not([hidden]) h1{font-size:15px!important}
  #catalogHero:not([hidden]) p{font-size:9px!important}
  #catalogHero:not([hidden]) .catalog-hero-photo{height:60px!important;min-height:60px!important}
  #catalogToolbar{margin:4px 8px 5px!important}
}


/* ===== v1.174 — adaptive five-column shelf + cleaner filter separation ===== */
/* Keep the successful card geometry from v1.173. Only the shelf width/count changes. */
#productList.product-list{
  padding-left:12px!important;
  padding-right:12px!important;
  column-gap:8px!important;
  row-gap:8px!important;
}

/* On wide desktop there is enough real width for five readable cards. */
@media (min-width:1500px){
  #productList.product-list{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
  
  #productList .product-row.v187-card .copyable-product-core,
  #productList .product-row.v187-card .copy-line,
  #productList .product-row.v187-card .product-props,
  #productList .product-row.v187-card .product-property-line,
  #productList .product-row.v187-card .property-text-line,
  #productList .product-row.v187-card .product-links,
  #productList .product-row.v187-card .product-origin{
    font-size:8.45px!important;
  }
}

/* Return to four cards before they become cramped. */
@media (min-width:1181px) and (max-width:1499px){
  #productList.product-list{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* Search/form-filter mode: a deliberate air gap below the category tabs. */
#catalogHero[hidden] + #catalogToolbar{
  margin-top:8px!important;
}
#catalogToolbar .form-filter-strip{
  padding-top:0!important;
}

/* The compact text must stay centered inside the already-approved fixed strip. */



/* ===== v1.175 — 15-up paging + restored transitions/effects ===== */
/* Remove the obsolete category kicker completely. */
#catalogHero .catalog-hero-kicker{display:none!important}

/* Category-name platform is 5px slimmer than v1.174. */
.flow-nav-second-row{
  min-height:23px!important;
  height:23px!important;
}
.flow-nav-second-row .category-strip.notebook-index-tabs{
  min-height:22px!important;
  height:22px!important;
}
.flow-nav-second-row .category-chip.notebook-index-tab{
  min-height:22px!important;
  height:22px!important;
  line-height:22px!important;
  font-size:9.6px!important;
}
@media (min-width:980px) and (max-height:860px){
  .flow-nav-second-row{height:21px!important;min-height:21px!important}
  .flow-nav-second-row .category-strip.notebook-index-tabs{height:20px!important;min-height:20px!important}
  .flow-nav-second-row .category-chip.notebook-index-tab{height:20px!important;min-height:20px!important;line-height:20px!important}
}

/* Related cards: status strip is the full physical card width, flush to bottom. */
#productQuickRelated .pq-float-related{
  position:relative!important;
  padding-bottom:18px!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer{
  display:contents!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer > .pq-float-related-controls{
  grid-column:2!important;
  grid-row:2!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer > .pq-float-related-picked,
html body #productQuickRelated .pq-float-related > .pq-float-related-footer > .pq-float-related-picked.selected{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  height:12px!important;
  min-height:12px!important;
  max-height:12px!important;
  padding:0 6px!important;
  border-radius:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:8px!important;
  line-height:12px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer > .pq-float-related-picked:not(.selected){
  display:block!important;
  background:#fff!important;
  color:transparent!important;
}
html body #productQuickRelated .pq-float-related > .pq-float-related-footer > .pq-float-related-picked.selected{
  background:var(--rxde-v169-strip-bg,#d9edf8)!important;
  color:var(--rxde-v169-strip-text,#243b48)!important;
}

/* Strong, unmistakable target pulse after jumping from the catalog strip to cart. */
@keyframes rxdeOrderTargetPulse175{
  0%{background:#fff;box-shadow:0 0 0 0 rgba(32,123,185,0)}
  18%{background:#dff3ff;box-shadow:0 0 0 5px rgba(32,123,185,.38),0 0 24px rgba(32,123,185,.28)}
  42%{background:#fff;box-shadow:0 0 0 1px rgba(32,123,185,.10)}
  62%{background:#e8f7ff;box-shadow:0 0 0 4px rgba(32,123,185,.28),0 0 18px rgba(32,123,185,.20)}
  100%{background:#fff;box-shadow:0 0 0 0 rgba(32,123,185,0)}
}
#orderLines [data-pzn].bridge-highlight-order-v155,
#orderLines [data-pzn].bridge-highlight{
  animation:rxdeOrderTargetPulse175 1.65s ease-out 1!important;
  transform:none!important;
}

/* Restore obvious cart deletion: fade/strike, collapse, then visibly renumber. */
#orderLines .order-product-row.rx-removing-position{
  opacity:.68!important;
  filter:saturate(.45) grayscale(.12)!important;
  background:#fff8f7!important;
}
#orderLines .order-product-row.rx-removing-collapse{
  opacity:0!important;
  max-height:0!important;
  min-height:0!important;
  height:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  border-width:0!important;
  transform:scaleY(.05)!important;
  transform-origin:top!important;
}
#orderLines .order-num-badge.order-num-renumber{
  animation:rxdeRenumber175 .92s cubic-bezier(.2,.8,.25,1)!important;
}
@keyframes rxdeRenumber175{
  0%{transform:translateY(-9px) scale(.72);opacity:.18;background:#d9edf8}
  36%{transform:translateY(2px) scale(1.38);opacity:1;background:#76b9df}
  68%{transform:translateY(0) scale(1.16);opacity:1;background:#2d7fae}
  100%{transform:translateY(0) scale(1);opacity:1}
}

/* ===== v1.176 — RUB-first cart + reliable target pulse + restored detail qty ===== */
/* Cart: RUB is the primary amount everywhere inside a product row. */
#orderLines .order-unit-price strong,
#orderLines .order-line-total strong{
  color:#163f57!important;
  font-weight:800!important;
}
#orderLines .order-unit-price span,
#orderLines .order-line-total span{
  color:#738791!important;
  font-weight:560!important;
}

/* Detail/medium card: always show the quantity stepper at the right of price. */
html body #productQuickBackdrop #productQuickBody > .pq-footer > .pq-bottom{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 90px!important;
  align-items:center!important;
  overflow:visible!important;
  padding-left:16px!important;
  padding-right:16px!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-footer .pq-stepper{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  justify-self:end!important;
  align-self:center!important;
  grid-template-columns:28px 34px 28px!important;
  width:90px!important;
  min-width:90px!important;
  max-width:90px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  z-index:4!important;
}
html body #productQuickBackdrop #productQuickBody > .pq-footer .pq-stepper button,
html body #productQuickBackdrop #productQuickBody > .pq-footer .pq-stepper input{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
}

/* Guaranteed target feedback after clicking a blue picked strip and entering cart. */
@keyframes rxdeOrderTargetPulse176{
  0%,100%{background:#fff;box-shadow:0 0 0 0 rgba(38,132,191,0)}
  18%{background:#cfeeff;box-shadow:0 0 0 5px rgba(38,132,191,.42),0 0 26px rgba(38,132,191,.28)}
  40%{background:#fff;box-shadow:0 0 0 1px rgba(38,132,191,.08)}
  62%{background:#dff4ff;box-shadow:0 0 0 4px rgba(38,132,191,.32),0 0 22px rgba(38,132,191,.22)}
  82%{background:#fff;box-shadow:0 0 0 1px rgba(38,132,191,.08)}
}
#orderLines .order-product-row.order-target-pulse-v176,
#orderLines .order-line.order-target-pulse-v176{
  animation:rxdeOrderTargetPulse176 1.8s ease-out 1!important;
  transform:none!important;
  position:relative!important;
  z-index:3!important;
}

/* Deletion renumber uses the same dramatic stamp language as manual drag/reorder. */
#orderLines .order-num-badge.order-num-swap-stamp{
  z-index:95!important;
}


/* ===== v1.177 — reclaim root-catalog hero space ===== */
#catalogHero[hidden] + #catalogToolbar:has(.form-filter-strip[hidden]){display:none!important;margin:0!important;padding:0!important;height:0!important;min-height:0!important}
#catalogHero[hidden] + #catalogToolbar:has(.form-filter-strip[hidden]) + #productList{margin-top:0!important;padding-top:0!important}


/* v1.178 — return to exact catalogue context after temporary form drill-down */
@keyframes rxdeFormReturnFlash{
  0%,100%{box-shadow:0 0 0 0 rgba(72,153,214,0), inset 0 0 0 0 rgba(211,238,255,0);background:#fff}
  22%{box-shadow:0 0 0 4px rgba(72,153,214,.22), inset 0 0 0 999px rgba(211,238,255,.28);background:#fff}
  48%{box-shadow:0 0 0 1px rgba(72,153,214,.08), inset 0 0 0 999px rgba(211,238,255,.08);background:#fff}
  72%{box-shadow:0 0 0 4px rgba(72,153,214,.20), inset 0 0 0 999px rgba(211,238,255,.24);background:#fff}
}



/* ===== v1.180 — no category hero anywhere ===== */
#catalogHero{display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
.catalog-toolbar:empty{display:none!important}
#catalogHero[hidden] + .catalog-toolbar{margin-top:0!important}


/* ===== v1.181 — slim category info banner + stable breathing space ===== */
/* Undo the v1.180 blanket hero removal only for actual category views. */
#catalogHero:not([hidden]){
  display:grid!important;
  grid-template-columns:minmax(0,1.55fr) minmax(220px,.75fr)!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:5px 20px 6px!important;
  padding:0!important;
  border:1px solid #d6e5ed!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 5px 12px rgba(36,77,102,.05)!important;
}
#catalogHero:not([hidden]) .catalog-hero-copy{
  min-width:0!important;
  padding:5px 12px 4px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  position:relative!important;
  z-index:2!important;
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 72%,rgba(255,255,255,.18) 100%)!important;
}
#catalogHero:not([hidden]) .catalog-hero-kicker{display:none!important}
#catalogHero:not([hidden]) h1{
  margin:0 0 1px!important;
  font-size:15px!important;
  line-height:1.02!important;
  color:#173f5a!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#catalogHero:not([hidden]) p{
  margin:0!important;
  font-size:9px!important;
  line-height:1.05!important;
  color:#607b8b!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#catalogHero:not([hidden]) .catalog-hero-photo{
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  background-image:var(--hero-image)!important;
  background-size:cover!important;
  background-position:center 48%!important;
  position:relative!important;
}
#catalogHero:not([hidden]) .catalog-hero-photo::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(90deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,.08) 42%,rgba(255,255,255,0) 100%)!important;
}
#catalogHero:not([hidden]) .catalog-hero-photo::after{display:none!important}

/* The category tabs need their own breathing space above the next content block. */
.flow-nav-second-row{margin-bottom:4px!important}
#catalogHero[hidden] + #catalogToolbar,
#catalogHero[hidden] + #catalogToolbar:has(.form-filter-strip[hidden]) + #productList{
  margin-top:5px!important;
}
#catalogHero:not([hidden]) + #catalogToolbar{margin-top:0!important}

/* Search clear X — center it geometrically, not by inherited line-height. */
.search-main-field{position:relative!important}
.search-main-field .clear-search{
  position:absolute!important;
  right:3px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
}

@media (min-width:980px) and (max-height:860px){
  #catalogHero:not([hidden]){
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    margin-top:4px!important;
    margin-bottom:5px!important;
  }
  #catalogHero:not([hidden]) .catalog-hero-copy{padding:4px 11px 3px!important}
  #catalogHero:not([hidden]) h1{font-size:14px!important}
  #catalogHero:not([hidden]) p{font-size:8.5px!important}
  #catalogHero:not([hidden]) .catalog-hero-photo{height:36px!important;min-height:36px!important;max-height:36px!important}
  .flow-nav-second-row{margin-bottom:4px!important}
}

@media(max-width:900px){
  #catalogHero:not([hidden]){margin-left:12px!important;margin-right:12px!important;grid-template-columns:minmax(0,1.35fr) minmax(150px,.65fr)!important}
}
@media(max-width:620px){
  #catalogHero:not([hidden]){
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin:4px 8px 5px!important;
    grid-template-columns:minmax(0,1.5fr) minmax(100px,.5fr)!important;
  }
  #catalogHero:not([hidden]) .catalog-hero-copy{padding:4px 8px!important}
  #catalogHero:not([hidden]) h1{font-size:13px!important}
  #catalogHero:not([hidden]) p{font-size:8px!important}
  #catalogHero:not([hidden]) .catalog-hero-photo{height:40px!important;min-height:40px!important;max-height:40px!important}
}


/* ===== v1.182 — category strip exactly half height ===== */
#catalogHero:not([hidden]){
  height:21px!important;
  min-height:21px!important;
  max-height:21px!important;
  margin-top:4px!important;
  margin-bottom:5px!important;
}
#catalogHero:not([hidden]) .catalog-hero-copy{
  padding:0 12px!important;
  justify-content:center!important;
  align-items:flex-start!important;
}
#catalogHero:not([hidden]) h1{
  margin:0!important;
  font-size:12.5px!important;
  line-height:21px!important;
  height:21px!important;
  display:flex!important;
  align-items:center!important;
}
#catalogHero:not([hidden]) p{display:none!important}
#catalogHero:not([hidden]) .catalog-hero-photo{
  height:21px!important;
  min-height:21px!important;
  max-height:21px!important;
  background-position:center 48%!important;
}
@media (min-width:980px) and (max-height:860px){
  #catalogHero:not([hidden]){height:18px!important;min-height:18px!important;max-height:18px!important}
  #catalogHero:not([hidden]) .catalog-hero-copy{padding:0 11px!important}
  #catalogHero:not([hidden]) h1{height:18px!important;line-height:18px!important;font-size:12px!important}
  #catalogHero:not([hidden]) .catalog-hero-photo{height:18px!important;min-height:18px!important;max-height:18px!important}
}
@media(max-width:620px){
  #catalogHero:not([hidden]){height:20px!important;min-height:20px!important;max-height:20px!important}
  #catalogHero:not([hidden]) .catalog-hero-copy{padding:0 8px!important}
  #catalogHero:not([hidden]) h1{height:20px!important;line-height:20px!important;font-size:11.5px!important}
  #catalogHero:not([hidden]) .catalog-hero-photo{height:20px!important;min-height:20px!important;max-height:20px!important}
}


/* ===== v1.183 — TRUE half-height category strip, full text restored ===== */
/* Desktop: exactly half of the v1.181 42px banner. */
#catalogHero:not([hidden]){
  height:21px!important;
  min-height:21px!important;
  max-height:21px!important;
  margin-top:4px!important;
  margin-bottom:5px!important;
}
#catalogHero:not([hidden]) .catalog-hero-copy{
  height:21px!important;
  min-height:21px!important;
  max-height:21px!important;
  padding:0 12px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  overflow:hidden!important;
}
#catalogHero:not([hidden]) h1{
  display:block!important;
  height:auto!important;
  margin:0!important;
  font-size:10px!important;
  line-height:10px!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#catalogHero:not([hidden]) p{
  display:block!important;
  height:auto!important;
  margin:0!important;
  font-size:7px!important;
  line-height:8px!important;
  color:#607b8b!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#catalogHero:not([hidden]) .catalog-hero-photo{
  height:21px!important;
  min-height:21px!important;
  max-height:21px!important;
  background-size:cover!important;
  background-position:center 48%!important;
}

/* 14-inch / short desktop: exactly half of v1.181's 36px variant. */
@media (min-width:980px) and (max-height:860px){
  #catalogHero:not([hidden]){
    height:18px!important;
    min-height:18px!important;
    max-height:18px!important;
  }
  #catalogHero:not([hidden]) .catalog-hero-copy{
    height:18px!important;
    min-height:18px!important;
    max-height:18px!important;
    padding:0 11px!important;
  }
  #catalogHero:not([hidden]) h1{font-size:9px!important;line-height:9px!important}
  #catalogHero:not([hidden]) p{font-size:6.5px!important;line-height:7px!important}
  #catalogHero:not([hidden]) .catalog-hero-photo{
    height:18px!important;
    min-height:18px!important;
    max-height:18px!important;
  }
}

/* Mobile: exactly half of v1.181's 40px variant. */
@media(max-width:620px){
  #catalogHero:not([hidden]){
    height:20px!important;
    min-height:20px!important;
    max-height:20px!important;
  }
  #catalogHero:not([hidden]) .catalog-hero-copy{
    height:20px!important;
    min-height:20px!important;
    max-height:20px!important;
    padding:0 8px!important;
  }
  #catalogHero:not([hidden]) h1{font-size:9.2px!important;line-height:9.5px!important}
  #catalogHero:not([hidden]) p{font-size:6.5px!important;line-height:7px!important}
  #catalogHero:not([hidden]) .catalog-hero-photo{
    height:20px!important;
    min-height:20px!important;
    max-height:20px!important;
  }
}

/* ===== v1.184 — ACTUAL half-height category banner =====
   Override the high-specificity v1.169 hero rules. Keep full title + annotation. */
html body #catalogHero.catalog-hero:not([hidden]),
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
  height:37px!important;
  min-height:37px!important;
  max-height:37px!important;
  margin:4px 20px 5px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #d6e5ed!important;
  border-radius:10px!important;
}
html body #catalogHero.catalog-hero:not([hidden]) .catalog-hero-copy{
  box-sizing:border-box!important;
  width:52%!important;
  max-width:52%!important;
  height:35px!important;
  min-height:35px!important;
  max-height:35px!important;
  padding:0 13px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  overflow:hidden!important;
  background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.93) 72%,rgba(255,255,255,.15) 100%)!important;
}
html body #catalogHero.catalog-hero:not([hidden]) h1{
  display:block!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0 0 1px!important;
  padding:0!important;
  font-size:14px!important;
  line-height:14px!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body #catalogHero.catalog-hero:not([hidden]) p{
  display:block!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  font-size:8.5px!important;
  line-height:9px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:#607b8b!important;
}
html body #catalogHero.catalog-hero:not([hidden]) .catalog-hero-photo{
  display:none!important;
}

/* 14-inch / short desktop: half of the old ~66px effective banner. */
@media (min-width:980px) and (max-height:860px){
  html body #catalogHero.catalog-hero:not([hidden]),
  html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    height:33px!important;
    min-height:33px!important;
    max-height:33px!important;
    margin-top:4px!important;
    margin-bottom:5px!important;
  }
  html body #catalogHero.catalog-hero:not([hidden]) .catalog-hero-copy{
    height:31px!important;
    min-height:31px!important;
    max-height:31px!important;
    padding:0 12px!important;
  }
  html body #catalogHero.catalog-hero:not([hidden]) h1{
    font-size:13px!important;
    line-height:13px!important;
  }
  html body #catalogHero.catalog-hero:not([hidden]) p{
    font-size:8px!important;
    line-height:8px!important;
  }
}

@media(max-width:900px){
  html body #catalogHero.catalog-hero:not([hidden]){
    margin-left:12px!important;
    margin-right:12px!important;
  }
}


/* ===== v1.186 — quick/detail card quantity stepper: hard final layout ===== */
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-footer{
  display:grid!important;
  grid-template-rows:44px var(--rxde-v169-strip-h)!important;
  overflow:hidden!important;
}
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-footer > .pq-bottom{
  grid-row:1!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:4px 16px!important;
  margin:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-footer > .pq-bottom > .pq-price{
  display:flex!important;flex:1 1 auto!important;min-width:0!important;visibility:visible!important;opacity:1!important;
}
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-footer > .pq-bottom > .pq-stepper{
  display:grid!important;flex:0 0 90px!important;grid-template-columns:28px 34px 28px!important;
  width:90px!important;min-width:90px!important;max-width:90px!important;height:32px!important;min-height:32px!important;max-height:32px!important;
  position:relative!important;inset:auto!important;right:auto!important;bottom:auto!important;margin:0!important;padding:0!important;visibility:visible!important;opacity:1!important;
  z-index:8!important;overflow:hidden!important;border:1px solid #c7d2d7!important;border-radius:8px!important;background:#fff!important;box-sizing:border-box!important;
}
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-footer > .pq-bottom > .pq-stepper button,
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-footer > .pq-bottom > .pq-stepper input{
  display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;height:30px!important;min-height:30px!important;max-height:30px!important;
  margin:0!important;padding:0!important;visibility:visible!important;opacity:1!important;border:0!important;border-radius:0!important;box-sizing:border-box!important;font-size:12px!important;line-height:30px!important;text-align:center!important;
}
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-footer > .pq-bottom > .pq-stepper button:first-child{background:#f5f7f7!important;color:#245a83!important}
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-footer > .pq-bottom > .pq-stepper input{background:#fff!important;color:#16272b!important;border-left:1px solid #e0e6e8!important;border-right:1px solid #e0e6e8!important}
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-footer > .pq-bottom > .pq-stepper button:last-child{background:#2f7fbf!important;color:#fff!important}
html body #productQuickBackdrop .product-quick-sheet #productQuickBody > .pq-footer > .pq-picked{grid-row:2!important}

/* ==========================================================================\n   V1.187 — ADMIN FLEX: per-order manual rate/price + safer foreign addresses\n   ========================================================================== */
.admin-rate-box{min-width:0}
.admin-inline-edit{display:flex;align-items:center;gap:5px;margin-top:4px}
.admin-inline-edit b{font-size:11px;color:#536d78;white-space:nowrap}
.admin-number-input{box-sizing:border-box;height:30px;border:1px solid #c9d8df;border-radius:7px;background:#fff;padding:0 8px;color:#173d56;font:700 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;outline:none}
.admin-number-input:focus{border-color:#65a8cf;box-shadow:0 0 0 2px rgba(70,150,195,.10)}
#adminRateInput{width:88px}
.admin-mini-reset{height:28px;border:1px solid #cddbe1;border-radius:7px;background:#f8fbfc;color:#496572;padding:0 8px;font-size:10.5px;font-weight:700;white-space:nowrap;cursor:pointer}
.admin-mini-reset:hover{background:#eef7fb;border-color:#9fc6da}
.admin-rate-box>small{display:block;margin-top:4px;color:#71858f;font-size:9.5px}
.admin-item-editable{grid-template-columns:minmax(0,1fr) minmax(205px,260px) 42px!important;align-items:center!important}
.admin-price-editor{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;text-align:right}
.admin-price-editor>small{flex:1 0 100%;color:#8e6f6c;font-size:10px}
.admin-price-editor label{display:flex;align-items:center;gap:5px}
.admin-price-editor label span{margin:0!important;color:#6d808b!important;font-size:10px!important;white-space:nowrap}
.admin-price-input{width:82px}
.admin-address-editor{margin-top:12px;padding:11px;border:1px solid #dce7eb;border-radius:11px;background:#fbfdfe}
.admin-address-head{margin-bottom:7px!important}
.admin-address-head #adminAddressConfidence{font-weight:700}
.admin-address-head #adminAddressConfidence.ok{color:#287454}
.admin-address-head #adminAddressConfidence.warn{color:#9a6920}
.admin-address-raw{display:block}
.admin-address-raw>span{display:block;margin-bottom:4px;color:#58717d;font-size:10.5px;font-weight:700}
.admin-address-raw textarea{width:100%;box-sizing:border-box;resize:vertical;border:1px solid #d7e1e5;border-radius:8px;padding:8px;font:12px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif}
.admin-address-mode{display:flex;align-items:center;gap:7px;margin:8px 0 9px;font-size:11px;font-weight:700;color:#385765;cursor:pointer}
.admin-address-mode input{accent-color:#2e7e72}
.admin-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px;transition:opacity .18s ease}
.admin-address-grid.disabled{opacity:.38;pointer-events:none}
.admin-address-grid label{display:flex;flex-direction:column;gap:3px}
.admin-address-grid label span{color:#687f8a;font-size:9.5px;font-weight:700}
.admin-address-grid input{box-sizing:border-box;width:100%;height:30px;border:1px solid #d2dfe4;border-radius:7px;background:#fff;padding:0 8px;color:#173d56;font-size:11.5px;outline:none}
.admin-address-grid input:focus{border-color:#65a8cf;box-shadow:0 0 0 2px rgba(70,150,195,.09)}
.admin-address-note{display:block;margin-top:7px;color:#758892;font-size:9.5px;line-height:1.3}
.admin-change-log-wrap{margin-top:10px;padding:9px 10px;border:1px dashed #d5e0e4;border-radius:9px;background:#fff}
.admin-change-log-wrap .admin-block-head{margin-bottom:5px!important}
.admin-change-log{display:flex;flex-wrap:wrap;gap:5px;color:#74868f;font-size:10.5px}
.admin-change-log.has-changes span{display:inline-flex;align-items:center;min-height:23px;padding:0 7px;border:1px solid #f0d59c;border-radius:999px;background:#fff7e8;color:#75531d;font-weight:700}
@media(max-width:760px){
  .admin-item-editable{grid-template-columns:minmax(0,1fr) 38px!important}
  .admin-price-editor{grid-column:1/-1;justify-content:flex-start;text-align:left;padding-top:5px}
  .admin-address-grid{grid-template-columns:1fr}
  .admin-detected{grid-template-columns:1fr 1fr!important}
}


/* ===== v1.188 — explicit quick-view → full-product entry ===== */
.pq-photo.has-full-page{cursor:pointer!important;position:relative!important}
.pq-photo.has-full-page::after{
  content:"Открыть карточку →";position:absolute;right:10px;bottom:9px;z-index:3;
  padding:5px 8px;border:1px solid rgba(79,133,171,.30);border-radius:999px;
  background:rgba(255,255,255,.92);color:#2f678c;font-size:10px;font-weight:800;
  box-shadow:0 3px 10px rgba(43,80,105,.08);pointer-events:none
}
.pq-title-full-link{display:block;min-width:0;color:inherit;text-decoration:none!important;border-radius:7px}
.pq-title-full-link:hover h2{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:#8fb7d0}
.pq-full-open{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  width:100%!important;margin-top:10px!important;padding:10px 12px!important;
  border:1px solid #a9c9dc!important;border-radius:12px!important;
  background:linear-gradient(180deg,#f8fcff 0%,#edf7fd 100%)!important;
  color:#214f6d!important;text-decoration:none!important;box-shadow:0 4px 12px rgba(45,93,124,.07)!important
}
.pq-full-open span{font-size:12px!important;font-weight:760!important}
.pq-full-open b{font-size:12px!important;font-weight:850!important;color:#2f7fbf!important;white-space:nowrap!important}
.pq-full-open:hover{border-color:#7fb1cf!important;background:#eaf6fd!important;box-shadow:0 6px 16px rgba(45,93,124,.11)!important}


/* V1.190 — explicit full-page entry from quick view. */
.pq-full-open,
.pq-full-open *{cursor:pointer!important}
.pq-full-open{transition:box-shadow .14s ease,background-color .14s ease,border-color .14s ease!important}
.pq-full-open:hover{box-shadow:0 0 0 2px rgba(48,142,198,.10)!important;border-color:#8ec8e7!important}


/* ========================================================================== 
   V1.201 — contact-first order entry
   ========================================================================== */
/* Hover mini-list is intentionally removed. Click opens the order sheet. */
.dock-hover-preview{display:none!important}

/* When the cart is empty, the order dock becomes a calm contact entry point. */
.desktop-order-dock.contact-ready,
.quick-order-dock.contact-ready{
  overflow:hidden!important;
  isolation:isolate!important;
}
.desktop-order-dock.contact-ready::after,
.quick-order-dock.contact-ready::after{
  content:"";
  position:absolute;
  inset:1px;
  z-index:-1;
  border-radius:inherit;
  background:linear-gradient(105deg,transparent 22%,rgba(72,157,211,.12) 48%,transparent 74%);
  transform:translateX(-125%);
  animation:rxdeContactBreath 7.8s ease-in-out infinite;
  pointer-events:none;
}
@keyframes rxdeContactBreath{
  0%,70%,100%{transform:translateX(-125%);opacity:0}
  76%{opacity:1}
  88%{transform:translateX(125%);opacity:.95}
  94%{opacity:0}
}
.desktop-order-dock.contact-ready .order-status-meta,
.quick-order-dock.contact-ready .order-status-meta{color:#315e76!important;font-weight:750!important}
.desktop-order-dock.contact-ready .order-status-total,
.quick-order-dock.contact-ready .order-status-total{color:#1b6f9f!important;font-size:13px!important}

.order-empty.contact-empty{
  display:grid!important;
  gap:5px!important;
  padding:22px!important;
  border:1px dashed #c7dbe6!important;
  border-radius:14px!important;
  background:#f8fcfe!important;
  text-align:left!important;
}
.order-empty.contact-empty b{color:#244c62;font-size:13px}
.order-empty.contact-empty span{color:#6a7e89;font-size:11.5px;line-height:1.45}

.preinvoice-question{
  display:grid;
  grid-template-columns:20px minmax(0,1fr);
  gap:9px;
  align-items:start;
  margin-top:11px;
  padding:10px 11px;
  border:1px solid #d7e4e9;
  border-radius:11px;
  background:#f8fbfc;
  cursor:pointer;
}
.preinvoice-question input{width:17px;height:17px;margin:1px 0 0;accent-color:#2d8bca}
.preinvoice-question span{display:grid;gap:2px}
.preinvoice-question b{font-size:11.5px;color:#284753}
.preinvoice-question small{font-size:10px;line-height:1.35;color:#74858c}
.question-only-receipt{
  display:grid;gap:4px;padding:12px;border:1px solid #d8e8ef;border-radius:11px;background:#f7fbfd;
}
.question-only-receipt b{font-size:13px;color:#27536a}
.question-only-receipt span{font-size:11px;line-height:1.4;color:#6b7e87}
.confirm-note b{color:#2d6b87}
@media(prefers-reduced-motion:reduce){
  .desktop-order-dock.contact-ready::after,.quick-order-dock.contact-ready::after{animation:none!important}
}


/* ========================================================================== 
   V1.202 — persistent cart totals + temporary contact prompt
   ========================================================================== */
.desktop-order-dock.cart-promo-enabled,
.quick-order-dock.cart-promo-enabled{position:relative!important;overflow:hidden!important;isolation:isolate!important}
.desktop-order-dock.cart-promo-enabled .order-status-copy,
.quick-order-dock.cart-promo-enabled .order-status-copy{transition:opacity .18s ease,filter .18s ease!important}
.desktop-order-dock.cart-promo-enabled::before,
.quick-order-dock.cart-promo-enabled::before{
  content:attr(data-promo);position:absolute!important;inset:2px 5px!important;z-index:5!important;
  display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
  border-radius:inherit!important;color:#195f88!important;font-size:11px!important;font-weight:800!important;line-height:1.1!important;
  letter-spacing:.01em!important;opacity:0!important;transform:translateY(3px) scale(.98)!important;
  transition:opacity .18s ease,transform .18s ease!important;pointer-events:none!important;
}
.desktop-order-dock.cart-promo-enabled::after,
.quick-order-dock.cart-promo-enabled::after{
  content:""!important;position:absolute!important;inset:1px!important;z-index:4!important;border-radius:inherit!important;
  background:linear-gradient(105deg,rgba(255,255,255,0) 12%,rgba(97,178,224,.09) 34%,rgba(145,211,245,.28) 52%,rgba(97,178,224,.09) 70%,rgba(255,255,255,0) 90%)!important;
  transform:translateX(-125%)!important;opacity:0!important;pointer-events:none!important;
}
.desktop-order-dock.cart-promo-active .order-status-copy,
.quick-order-dock.cart-promo-active .order-status-copy{opacity:.24!important;filter:blur(.15px)!important}
.desktop-order-dock.cart-promo-active::before,
.quick-order-dock.cart-promo-active::before{opacity:1!important;transform:translateY(0) scale(1)!important}
.desktop-order-dock.cart-promo-active::after,
.quick-order-dock.cart-promo-active::after{animation:rxdeCartAttentionSweep 1.15s ease both!important}
@keyframes rxdeCartAttentionSweep{0%{transform:translateX(-125%);opacity:0}22%{opacity:1}100%{transform:translateX(125%);opacity:0}}
.desktop-order-dock.cart-promo-enabled:hover .order-status-copy,
.quick-order-dock.cart-promo-enabled:hover .order-status-copy{opacity:1!important;filter:none!important}
.desktop-order-dock.cart-promo-enabled:hover::before,
.quick-order-dock.cart-promo-enabled:hover::before,
.desktop-order-dock.cart-promo-enabled:hover::after,
.quick-order-dock.cart-promo-enabled:hover::after{opacity:0!important;animation:none!important}
.cart-context-tip{
  position:fixed;z-index:12000;max-width:280px;padding:8px 10px;border:1px solid #b9d7e8;border-radius:10px;
  background:rgba(255,255,255,.97);box-shadow:0 8px 24px rgba(28,64,86,.14);color:#28566f;font-size:11px;line-height:1.3;
  pointer-events:none;backdrop-filter:blur(6px)
}
.cart-context-tip[hidden]{display:none!important}
/* Retire the old empty-only breathing rule; V1.202 handles both empty and filled carts. */
.desktop-order-dock.contact-ready::after,.quick-order-dock.contact-ready::after{animation:none!important;background:none!important}
@media(prefers-reduced-motion:reduce){.desktop-order-dock.cart-promo-active::after,.quick-order-dock.cart-promo-active::after{animation:none!important}.desktop-order-dock.cart-promo-active .order-status-copy,.quick-order-dock.cart-promo-active .order-status-copy{opacity:.45!important}}


/* ========================================================================== 
   V1.203 — simple contact-first cart dock
   ========================================================================== */
.desktop-order-dock.order-status-standard,
.quick-order-dock.order-status-standard{
  position:relative!important;
  min-height:62px!important;
  padding-top:7px!important;
  padding-bottom:23px!important;
  overflow:hidden!important;
}
.desktop-order-dock.order-status-standard::before,
.quick-order-dock.order-status-standard::before{content:none!important;display:none!important}
.desktop-order-dock.order-status-standard::after,
.quick-order-dock.order-status-standard::after{
  content:"Напишите нам →"!important;
  position:absolute!important;
  left:8px!important;right:8px!important;bottom:0!important;
  height:20px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border-top:1px solid #e4ecef!important;
  background:transparent!important;
  color:#465f6b!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:.055em!important;
  transform:none!important;
  opacity:1!important;
  animation:none!important;
  pointer-events:none!important;
}
.desktop-order-dock .order-status-copy,
.quick-order-dock .order-status-copy{opacity:1!important;filter:none!important}
.desktop-order-dock.cart-promo-enabled,
.quick-order-dock.cart-promo-enabled{overflow:hidden!important}
.cart-context-tip{display:none!important}
@media(max-width:700px){
  .desktop-order-dock.order-status-standard,
  .quick-order-dock.order-status-standard{min-height:58px!important;padding-bottom:21px!important}
  .desktop-order-dock.order-status-standard::after,
  .quick-order-dock.order-status-standard::after{height:18px!important;font-size:9.2px!important}
}


/* ========================================================================== 
   V1.205 — manager-send cart: stable empty state + green action language
   ========================================================================== */
.desktop-order-dock.order-status-standard,
.quick-order-dock.order-status-standard{
  min-width:158px!important;
  min-height:66px!important;
  padding:7px 10px 24px!important;
  border:1.5px solid #8fc9ad!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfffc 100%)!important;
  box-shadow:0 5px 16px rgba(48,132,91,.10)!important;
  overflow:hidden!important;
}
.desktop-order-dock.order-status-standard:hover,
.desktop-order-dock.order-status-standard:focus-visible,
.quick-order-dock.order-status-standard:hover,
.quick-order-dock.order-status-standard:focus-visible{
  border-color:#5eb083!important;
  box-shadow:0 7px 20px rgba(48,132,91,.16)!important;
  background:#fff!important;
}
.desktop-order-dock.order-status-standard::before,
.quick-order-dock.order-status-standard::before{content:none!important;display:none!important}
.desktop-order-dock.order-status-standard::after,
.quick-order-dock.order-status-standard::after{
  content:"Отправить менеджеру"!important;
  position:absolute!important;
  left:8px!important;right:8px!important;bottom:0!important;
  height:21px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border-top:1px solid #dcebe3!important;
  background:transparent!important;
  color:#39745a!important;
  font-size:9.6px!important;
  font-weight:680!important;
  letter-spacing:.015em!important;
  opacity:1!important;transform:none!important;animation:none!important;
  pointer-events:none!important;
}
.desktop-order-dock .order-status-copy,
.quick-order-dock .order-status-copy{
  opacity:1!important;filter:none!important;min-width:0!important;
}
.desktop-order-dock .order-status-meta,
.quick-order-dock .order-status-meta{
  white-space:nowrap!important;color:#536a62!important;
}
.desktop-order-dock .order-status-total,
.quick-order-dock .order-status-total{
  white-space:nowrap!important;color:#173e31!important;
}
/* retire all previous promo/contact overlays */
.desktop-order-dock.cart-promo-enabled::before,.desktop-order-dock.cart-promo-enabled::after,
.quick-order-dock.cart-promo-enabled::before,.quick-order-dock.cart-promo-enabled::after,
.desktop-order-dock.contact-ready::before,.quick-order-dock.contact-ready::before{display:none!important;content:none!important}
.cart-context-tip{display:none!important}

/* The next step after entering through the cart should be visually obvious once. */
#submitOrder.manager-entry-pulse{
  animation:rxdeManagerEntryPulse 1.35s ease-out 1!important;
}
@keyframes rxdeManagerEntryPulse{
  0%{box-shadow:0 0 0 0 rgba(47,150,96,0);transform:translateZ(0)}
  28%{box-shadow:0 0 0 7px rgba(47,150,96,.15),0 9px 28px rgba(35,122,79,.16)}
  58%{box-shadow:0 0 0 3px rgba(47,150,96,.08),0 7px 22px rgba(35,122,79,.11)}
  100%{box-shadow:0 0 0 0 rgba(47,150,96,0)}
}
#submitOrder.primary-action{
  border:1px solid #4fa77a!important;
  background:linear-gradient(180deg,#42a773 0%,#318d61 100%)!important;
  box-shadow:0 7px 18px rgba(43,134,87,.16)!important;
}
#submitOrder.primary-action:hover{background:linear-gradient(180deg,#3d9f6d 0%,#2b8258 100%)!important}
@media(max-width:700px){
  .desktop-order-dock.order-status-standard,.quick-order-dock.order-status-standard{min-width:138px!important;min-height:62px!important;padding-bottom:22px!important}
  .desktop-order-dock.order-status-standard::after,.quick-order-dock.order-status-standard::after{height:19px!important;font-size:8.8px!important}
}
@media(prefers-reduced-motion:reduce){#submitOrder.manager-entry-pulse{animation:none!important}}


/* ========================================================================== 
   V1.206 — stable empty cart + hover pulse bridge
   ========================================================================== */
.desktop-order-dock.order-status-standard,
.quick-order-dock.order-status-standard{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  column-gap:8px!important;
  align-items:start!important;
  min-width:182px!important;
  min-height:72px!important;
  padding:9px 12px 24px!important;
  overflow:hidden!important;
}
.desktop-order-dock.order-status-standard .order-list-mark,
.quick-order-dock.order-status-standard .order-list-mark{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  align-self:start!important;
  width:24px!important;
  height:24px!important;
  margin-top:1px!important;
}
.desktop-order-dock.order-status-standard .order-list-mark svg,
.quick-order-dock.order-status-standard .order-list-mark svg{
  width:24px!important;height:24px!important;
}
.desktop-order-dock.order-status-standard .order-status-copy,
.quick-order-dock.order-status-standard .order-status-copy{
  grid-column:2!important;
  grid-row:1 / span 2!important;
  display:grid!important;
  gap:2px!important;
  align-content:start!important;
  min-width:0!important;
  width:100%!important;
}
.desktop-order-dock.order-status-standard .order-status-meta,
.desktop-order-dock.order-status-standard .order-status-total,
.quick-order-dock.order-status-standard .order-status-meta,
.quick-order-dock.order-status-standard .order-status-total{
  text-align:right!important;
  white-space:nowrap!important;
}
.desktop-order-dock.order-status-standard .order-status-meta,
.quick-order-dock.order-status-standard .order-status-meta{
  color:#54636a!important;
  font-size:11px!important;
  font-weight:700!important;
}
.desktop-order-dock.order-status-standard .order-status-total,
.quick-order-dock.order-status-standard .order-status-total{
  color:#13232d!important;
  font-size:15px!important;
  font-weight:850!important;
}
.desktop-order-dock.order-status-standard::after,
.quick-order-dock.order-status-standard::after{
  content:"Отправить менеджеру"!important;
  position:absolute!important;
  left:10px!important;
  right:10px!important;
  bottom:0!important;
  height:20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border-top:1px solid #dcebe3!important;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.74))!important;
  color:#172028!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:.01em!important;
  opacity:1!important;
  transform:none!important;
  animation:none!important;
  pointer-events:none!important;
}
.desktop-order-dock.order-status-standard::before,
.quick-order-dock.order-status-standard::before{
  content:"✉"!important;
  position:absolute!important;
  left:14px!important;
  bottom:2px!important;
  z-index:2!important;
  color:#2b7aab!important;
  font-size:12px!important;
  line-height:1!important;
  animation:rxdeMiniMailFloat 2.8s ease-in-out infinite!important;
  pointer-events:none!important;
}
@keyframes rxdeMiniMailFloat{
  0%,100%{transform:translateY(0);opacity:.88}
  50%{transform:translateY(-1.5px);opacity:1}
}
.order-header-status.order-status-standard{
  cursor:pointer!important;
}
.order-header-status.order-status-standard:hover,
.order-header-status.order-status-standard:focus-visible{
  border-color:#98cdb1!important;
  box-shadow:0 0 0 3px rgba(72,151,105,.08)!important;
}
#submitOrder.primary-action .submit-order-copy b,
#submitOrder.primary-action .submit-order-copy small{
  color:#ffffff!important;
}
#submitOrder.primary-action .submit-order-copy small{
  font-weight:600!important;
}
@media(max-width:700px){
  .desktop-order-dock.order-status-standard,
  .quick-order-dock.order-status-standard{
    min-width:156px!important;
    min-height:68px!important;
    padding:8px 10px 22px!important;
  }
  .desktop-order-dock.order-status-standard::after,
  .quick-order-dock.order-status-standard::after{
    font-size:9.2px!important;
    height:18px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .desktop-order-dock.order-status-standard::before,
  .quick-order-dock.order-status-standard::before{animation:none!important}
}


/* ========================================================================== 
   V1.207 — cart guidance + strong hover bridge
   ========================================================================== */
/* Keep the cart button calm by default, but clearly alive on hover in every mode. */
.desktop-order-dock.order-status-standard,
.quick-order-dock.order-status-standard,
.order-header-status.order-status-standard{
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease!important;
}
.desktop-order-dock.order-status-standard:hover,
.desktop-order-dock.order-status-standard:focus-visible,
.quick-order-dock.order-status-standard:hover,
.quick-order-dock.order-status-standard:focus-visible,
.order-header-status.order-status-standard:hover,
.order-header-status.order-status-standard:focus-visible{
  border-color:#63b183!important;
  box-shadow:0 0 0 3px rgba(76,166,111,.09),0 9px 22px rgba(46,129,84,.12)!important;
  background:#fff!important;
  outline:none!important;
}
.product-quick-backdrop > .quick-order-dock{
  position:fixed!important;
  top:20px!important;
  right:22px!important;
  left:auto!important;
  bottom:auto!important;
  z-index:9605!important;
}
/* When the top order summary is hovered, the final manager button becomes the obvious target. */
.order-sheet.manager-target-active #submitOrder.primary-action{
  animation:rxdeManagerBeacon 1.1s ease-in-out infinite!important;
  box-shadow:0 0 0 4px rgba(74,167,117,.12),0 10px 26px rgba(45,136,88,.18)!important;
  border-color:#63b183!important;
}
.order-sheet.manager-target-active #submitOrder.primary-action::after{
  content:"↓ Нажмите здесь";
  position:absolute;
  right:18px;
  top:-24px;
  color:#2d5f44;
  font-size:11px;
  font-weight:700;
  letter-spacing:.01em;
  background:rgba(255,255,255,.94);
  padding:3px 8px;
  border-radius:999px;
  border:1px solid #cfe8d9;
  box-shadow:0 5px 14px rgba(44,110,75,.10);
  pointer-events:none;
}
@keyframes rxdeManagerBeacon{
  0%{transform:translateY(0);box-shadow:0 0 0 0 rgba(74,167,117,0),0 7px 18px rgba(43,134,87,.16)}
  50%{transform:translateY(-1px);box-shadow:0 0 0 7px rgba(74,167,117,.11),0 12px 28px rgba(43,134,87,.20)}
  100%{transform:translateY(0);box-shadow:0 0 0 0 rgba(74,167,117,0),0 7px 18px rgba(43,134,87,.16)}
}
/* The order header status itself should look like a route marker to the final action. */
.order-header-status.order-status-standard{
  cursor:pointer!important;
  border:1.5px solid #8fc9ad!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfffc 100%)!important;
}
.order-header-status.order-status-standard:hover .order-status-total,
.order-header-status.order-status-standard:focus-visible .order-status-total{
  color:#245a7e!important;
}
@media(max-width:760px){
  .order-sheet.manager-target-active #submitOrder.primary-action::after{display:none!important}
  .product-quick-backdrop > .quick-order-dock{top:10px!important;right:10px!important}
}
@media(prefers-reduced-motion:reduce){
  .order-sheet.manager-target-active #submitOrder.primary-action{animation:none!important}
}


/* ========================================================================== 
   V1.208 — unified cart hover, calm quick swap, stable controls
   ========================================================================== */
/* Same green hover language in every cart incarnation. */
html body .desktop-order-dock.order-status-standard:hover,
html body .desktop-order-dock.order-status-standard:focus-visible,
html body #productQuickBackdrop .quick-order-dock.order-status-standard:hover,
html body #productQuickBackdrop .quick-order-dock.order-status-standard:focus-visible,
html body .order-header-status.order-status-standard:hover,
html body .order-header-status.order-status-standard:focus-visible{
  border:2px solid #58ad7b!important;
  box-shadow:0 0 0 4px rgba(70,160,105,.10),0 9px 24px rgba(48,126,82,.14)!important;
  background:#fff!important;
  cursor:pointer!important;
}
/* Never darken or blink the quick card during related-product replacement. */
html body #productQuickBackdrop .pq-swap-stage,
html body #productQuickBackdrop .pq-swap-main-ghost,
html body #productQuickBackdrop .pq-swap-related-ghost,
html body #productQuickBackdrop .pq-swap-badge{display:none!important}
html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap{
  opacity:.70!important;
  transition:opacity .12s ease!important;
}
html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap-in{
  animation:rxdeCalmQuickIn .20s ease-out 1!important;
}
@keyframes rxdeCalmQuickIn{from{opacity:.76}to{opacity:1}}
/* Quick-view geometry is fixed; content may not steal the footer/control area. */
html body #productQuickBackdrop .product-quick-sheet{
  min-height:246px!important;
  background:#fff!important;
  filter:none!important;
}
html body #productQuickBackdrop #productQuickBody{
  grid-template-rows:190px 56px!important;
  min-height:246px!important;
}
html body #productQuickBackdrop #productQuickBody>.pq-main{
  height:180px!important;
  max-height:180px!important;
  overflow:hidden!important;
}
html body #productQuickBackdrop #productQuickBody>.pq-footer{
  height:56px!important;
  min-height:56px!important;
  max-height:56px!important;
  flex:0 0 56px!important;
  visibility:visible!important;
  opacity:1!important;
}
html body #productQuickBackdrop #productQuickBody>.pq-footer>.pq-bottom{
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  visibility:visible!important;
  opacity:1!important;
}
html body #productQuickBackdrop #productQuickBody>.pq-footer .pq-stepper,
html body #productQuickBackdrop #productQuickBody>.pq-footer .pq-price{
  visibility:visible!important;
  opacity:1!important;
}
/* Visual pointer: browsers cannot move the OS cursor, so we animate a guide cursor. */
.manager-guide-pointer{
  position:fixed;z-index:20000;width:28px;height:28px;margin:-4px 0 0 -4px;
  pointer-events:none;transition:left .68s cubic-bezier(.2,.75,.2,1),top .68s cubic-bezier(.2,.75,.2,1),opacity .16s ease;
  color:#173d56;font-size:27px;line-height:28px;font-weight:900;filter:drop-shadow(0 3px 5px rgba(0,0,0,.18));
}
.manager-guide-pointer span{display:block;transform:rotate(1deg)}
.manager-guide-pointer.go{color:#2f8f61}
.order-sheet.manager-target-active #submitOrder.primary-action{
  animation:rxdeManagerBeaconStrong .82s ease-in-out infinite!important;
}
@keyframes rxdeManagerBeaconStrong{
  0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(67,166,110,0),0 7px 18px rgba(43,134,87,.16)}
  50%{transform:scale(1.018);box-shadow:0 0 0 8px rgba(67,166,110,.13),0 13px 30px rgba(43,134,87,.22)}
}
/* Related list always starts at a whole card after changing the main product. */
html body #productQuickRelated .pq-related-rail-list{scroll-behavior:smooth!important;scroll-padding-top:0!important}
@media(prefers-reduced-motion:reduce){
  .manager-guide-pointer{display:none!important}
  .order-sheet.manager-target-active #submitOrder.primary-action{animation:none!important}
  html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap-in{animation:none!important}
}


/* ========================================================================== 
   V1.209 — one full-page CTA + calm quick cart + reliable guided send
   ========================================================================== */
/* The photo itself remains clickable; remove the redundant second visible CTA. */
#productQuickBackdrop .pq-photo-open{display:none!important}

/* Quick-view cart: hover outline only. No breathing, pulsing or animated mail. */
#productQuickBackdrop .quick-order-dock.order-status-standard::before{
  animation:none!important;
  transform:none!important;
}
#productQuickBackdrop .quick-order-dock.order-status-standard,
#productQuickBackdrop .quick-order-dock.order-status-standard:hover,
#productQuickBackdrop .quick-order-dock.order-status-standard:focus-visible{
  animation:none!important;
  transform:none!important;
}
#productQuickBackdrop .quick-order-dock.order-accepted,
#productQuickBackdrop .quick-order-dock.order-removed,
#productQuickBackdrop .quick-order-dock.cart-promo-active,
#productQuickBackdrop .quick-order-dock.contact-ready{
  animation:none!important;
}

/* True click guidance: keep the send target alive long enough to be understood. */
.order-sheet.manager-target-clicked #submitOrder.primary-action{
  animation:rxdeManagerClickBeacon .62s ease-in-out 4!important;
  outline:3px solid rgba(74,167,117,.15)!important;
  outline-offset:3px!important;
}
.order-sheet.manager-target-clicked #submitOrder.primary-action::after{
  content:"Нажмите здесь"!important;
  position:absolute!important;
  right:18px!important;
  top:-25px!important;
  display:block!important;
  padding:4px 9px!important;
  border:1px solid #bfe0cd!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#244d38!important;
  font-size:10.5px!important;
  font-weight:800!important;
  box-shadow:0 5px 14px rgba(44,110,75,.12)!important;
  pointer-events:none!important;
}
@keyframes rxdeManagerClickBeacon{
  0%,100%{transform:scale(1);box-shadow:0 7px 18px rgba(43,134,87,.16)}
  50%{transform:scale(1.026);box-shadow:0 0 0 9px rgba(74,167,117,.14),0 14px 32px rgba(43,134,87,.24)}
}
.manager-guide-pointer{
  width:31px!important;height:37px!important;
  color:#fff!important;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.65)) drop-shadow(0 5px 8px rgba(0,0,0,.22))!important;
}
.manager-guide-pointer svg{display:block;width:31px;height:37px;overflow:visible}
.manager-guide-pointer svg path{fill:#fff;stroke:#111;stroke-width:1.8;stroke-linejoin:round}
.manager-guide-pointer.go svg path{fill:#f8fff9;stroke:#25784f}
@media(prefers-reduced-motion:reduce){
  .order-sheet.manager-target-clicked #submitOrder.primary-action{animation:none!important}
}


/* ========================================================================== 
   V1.210 — real order-summary click binding + one quick-view CTA
   ========================================================================== */
/* One explicit visible entry into the full product page. Photo/title remain clickable. */
html body #productQuickBackdrop .pq-photo.has-full-page::after{display:none!important;content:none!important}
html body #productQuickBackdrop .pq-actions .full-product-link{display:none!important}
html body #productQuickBackdrop .pq-actions .product-text-link.full-product-link{display:none!important}

/* Main header cart must unmistakably turn green on hover/focus. */
html body #desktopOrderDock.desktop-order-dock.order-status-standard{
  cursor:pointer!important;
  transition:border-color .14s ease,box-shadow .14s ease,background .14s ease!important;
}
html body #desktopOrderDock.desktop-order-dock.order-status-standard:hover,
html body #desktopOrderDock.desktop-order-dock.order-status-standard:focus-visible{
  border:2.5px solid #42a66d!important;
  outline:2px solid rgba(66,166,109,.16)!important;
  outline-offset:2px!important;
  box-shadow:0 0 0 5px rgba(66,166,109,.10),0 9px 24px rgba(42,123,76,.17)!important;
  background:#fff!important;
}
/* Same visual language in quick view, but no pulsing. */
html body #productQuickBackdrop #quickOrderDock.quick-order-dock.order-status-standard:hover,
html body #productQuickBackdrop #quickOrderDock.quick-order-dock.order-status-standard:focus-visible{
  border:2.5px solid #42a66d!important;
  outline:2px solid rgba(66,166,109,.13)!important;
  outline-offset:2px!important;
  box-shadow:0 0 0 5px rgba(66,166,109,.09),0 9px 24px rgba(42,123,76,.15)!important;
  animation:none!important;
}
/* Clicked order total: hold the target cue clearly. */
.order-sheet.manager-target-clicked #submitOrder.primary-action{
  animation:rxdeManagerClickBeacon210 .56s ease-in-out 6!important;
  outline:4px solid rgba(55,166,102,.17)!important;
  outline-offset:4px!important;
}
@keyframes rxdeManagerClickBeacon210{
  0%,100%{transform:scale(1);filter:brightness(1);box-shadow:0 7px 18px rgba(43,134,87,.16)}
  50%{transform:scale(1.035);filter:brightness(1.06);box-shadow:0 0 0 10px rgba(55,166,102,.14),0 14px 34px rgba(43,134,87,.25)}
}


/* ========================================================================== 
   V1.211 — restore reliable related-product swap in quick view
   ========================================================================== */
html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap{
  opacity:1!important;
  filter:none!important;
  transform:none!important;
}
html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap-out{
  opacity:.78!important;
  filter:none!important;
  transform:scale(.996)!important;
  transition:opacity .105s ease,transform .105s ease!important;
}
html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap-in{
  opacity:1!important;
  filter:none!important;
  animation:rxdeQuickSwapIn211 .24s ease-out 1!important;
}
@keyframes rxdeQuickSwapIn211{
  0%{opacity:.72;transform:scale(.997)}
  55%{opacity:1;transform:scale(1.001)}
  100%{opacity:1;transform:scale(1)}
}
@media(prefers-reduced-motion:reduce){
  html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap-out,
  html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap-in{
    animation:none!important;transition:none!important;opacity:1!important;transform:none!important;
  }
}


/* ========================================================================== 
   V1.212 — restore the real card exchange + RXDE swap mark
   ========================================================================== */
/* V1.208 hid the old exchange layer. Bring the liked animation back explicitly. */
html body #productQuickBackdrop .pq-swap-stage{display:block!important;background:transparent!important}
html body #productQuickBackdrop .pq-swap-main-ghost,
html body #productQuickBackdrop .pq-swap-related-ghost{
  display:block!important;
  background:#fff!important;
  filter:none!important;
  opacity:1;
}
html body #productQuickBackdrop .pq-swap-main-ghost.to-related{opacity:.92!important}
html body #productQuickBackdrop .pq-swap-related-ghost.to-main{opacity:1!important}
html body #productQuickBackdrop .pq-swap-badge{
  display:flex!important;
  width:48px!important;
  height:48px!important;
  margin:-24px 0 0 -24px!important;
  border:1px solid #c8dce6!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 10px 30px rgba(26,72,98,.20)!important;
}
.pq-swap-brand-mark{display:flex!important;align-items:center!important;gap:3px!important;font-style:normal!important;line-height:1!important}
.pq-swap-brand-mark b{
  display:grid!important;place-items:center!important;width:24px!important;height:24px!important;
  border:1.5px solid #ef5550!important;border-radius:6px!important;color:#d94642!important;
  font-size:9px!important;font-weight:900!important;background:#fff!important;
}
.pq-swap-brand-mark i{font-style:normal!important;color:#17333f!important;font-size:11px!important;font-weight:900!important}
#productQuickBackdrop .pq-swap-badge.show .pq-swap-brand-mark{
  animation:rxdeSwapBrand212 .52s cubic-bezier(.2,.8,.2,1) 1 both!important;
}
@keyframes rxdeSwapBrand212{
  0%{transform:scale(.72) rotate(-16deg);opacity:.2}
  55%{transform:scale(1.12) rotate(5deg);opacity:1}
  100%{transform:scale(1) rotate(0);opacity:1}
}
/* New main card arrives with a clean blue confirmation, not a dark flash. */
html body #productQuickBackdrop .product-quick-sheet.pq-swap-arrived{
  animation:rxdeSwapArrived212 .30s ease-out both!important;
}
@keyframes rxdeSwapArrived212{
  0%{transform:scale(.994);box-shadow:0 20px 60px rgba(24,48,63,.18)}
  52%{transform:scale(1.006);box-shadow:0 0 0 5px rgba(56,145,198,.10),0 24px 72px rgba(35,122,170,.25)}
  100%{transform:scale(1);box-shadow:0 24px 70px rgba(24,48,63,.20)}
}
/* The floating cart is NOT part of product switching. It must never blink/change icon. */
html body #productQuickBackdrop #quickOrderDock.quick-order-dock{
  animation:none!important;
  transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease!important;
}
html body #productQuickBackdrop #quickOrderDock.quick-order-dock::before{
  content:none!important;display:none!important;animation:none!important;
}
html body #productQuickBackdrop #quickOrderDock.quick-order-dock::after{
  animation:none!important;
}
html body #productQuickBackdrop #quickOrderDock .order-list-mark,
html body #productQuickBackdrop #quickOrderDock .order-list-mark svg{
  opacity:1!important;visibility:visible!important;animation:none!important;transform:none!important;
}
html body #productQuickBackdrop #quickOrderDock.order-accepted,
html body #productQuickBackdrop #quickOrderDock.order-removed,
html body #productQuickBackdrop #quickOrderDock.contact-ready,
html body #productQuickBackdrop #quickOrderDock.has-order{
  animation:none!important;
}
/* Retire the temporary calm fade from 1.211; the exchange itself is the transition now. */
html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap,
html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap-out,
html body #productQuickBackdrop .product-quick-sheet.pq-calm-swap-in{
  opacity:1!important;filter:none!important;transform:none!important;transition:none!important;animation:none!important;
}
@media(prefers-reduced-motion:reduce){
  html body #productQuickBackdrop .pq-swap-stage{display:none!important}
  html body #productQuickBackdrop .product-quick-sheet.pq-swap-arrived{animation:none!important}
  #productQuickBackdrop .pq-swap-badge.show .pq-swap-brand-mark{animation:none!important}
}


/* V1.213 — restore the original swap indicator: two horizontal arrows only. */
.pq-swap-badge{
  width:38px!important;height:38px!important;margin:-19px 0 0 -19px!important;
  border:1px solid #b8d3e1!important;border-radius:50%!important;
  background:rgba(255,255,255,.96)!important;color:#287ca8!important;
  box-shadow:0 10px 24px rgba(24,74,104,.18)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
}
.pq-swap-badge::before,.pq-swap-badge::after{content:none!important;display:none!important}
.pq-swap-badge span{
  display:block!important;font-size:23px!important;font-weight:800!important;line-height:1!important;
  font-family:Arial,Helvetica,sans-serif!important;color:#287ca8!important;
}


/* ========================================================================== 
   V1.214 — REAL swap arrows + completely stable quick-view cart
   ========================================================================== */
/* The exchange hint is the original two-way horizontal arrow, never RXDE branding. */
html body #productQuickBackdrop .pq-swap-badge{
  display:flex!important;
  width:38px!important;
  height:38px!important;
  margin:-19px 0 0 -19px!important;
  border:1px solid #b8d3e1!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.97)!important;
  color:#287ca8!important;
  box-shadow:0 10px 24px rgba(24,74,104,.18)!important;
}
html body #productQuickBackdrop .pq-swap-badge span{
  display:block!important;
  font-size:23px!important;
  font-weight:800!important;
  line-height:1!important;
  color:#287ca8!important;
  font-style:normal!important;
}
#productQuickBackdrop .pq-swap-brand-mark,
#productQuickBackdrop .pq-swap-brand-mark b,
#productQuickBackdrop .pq-swap-brand-mark i{display:none!important;animation:none!important}

/* Quick-view total/cart must never blink, darken, fade or swap its icon on hover. */
html body #productQuickBackdrop #quickOrderDock.quick-order-dock,
html body #productQuickBackdrop #quickOrderDock.quick-order-dock:hover,
html body #productQuickBackdrop #quickOrderDock.quick-order-dock:focus-visible,
html body #productQuickBackdrop #quickOrderDock.quick-order-dock:active{
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  color:#173d56!important;
  background:#fff!important;
  animation:none!important;
  transform:none!important;
  transition:border-color .14s ease,box-shadow .14s ease!important;
}
html body #productQuickBackdrop #quickOrderDock.quick-order-dock:hover,
html body #productQuickBackdrop #quickOrderDock.quick-order-dock:focus-visible{
  border:2.5px solid #42a66d!important;
  outline:2px solid rgba(66,166,109,.13)!important;
  outline-offset:2px!important;
  box-shadow:0 0 0 5px rgba(66,166,109,.09),0 9px 24px rgba(42,123,76,.15)!important;
}
html body #productQuickBackdrop #quickOrderDock .order-status-copy,
html body #productQuickBackdrop #quickOrderDock .order-status-meta,
html body #productQuickBackdrop #quickOrderDock .order-status-total,
html body #productQuickBackdrop #quickOrderDock .order-list-mark,
html body #productQuickBackdrop #quickOrderDock .order-list-mark svg{
  opacity:1!important;
  filter:none!important;
  visibility:visible!important;
  animation:none!important;
  transform:none!important;
}
html body #productQuickBackdrop #quickOrderDock::before{display:none!important;content:none!important}
html body #productQuickBackdrop #quickOrderDock::after{
  opacity:1!important;
  filter:none!important;
  animation:none!important;
  transform:none!important;
  background:transparent!important;
  color:#172028!important;
}


/* ========================================================================== 
   V1.215 — MOBILE REBUILD
   Desktop is intentionally untouched. Mobile keeps the same RXDE logic,
   but uses a denser 2-column catalogue and a compact quick-view system.
   ========================================================================== */
@media (max-width:760px){
  /* ---------- mobile header: same information, much less vertical cost ---------- */
  .app-header{padding:7px 8px 7px!important}
  .notebook-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"brand status" "rate rate"!important;
    align-items:center!important;
    gap:3px 8px!important;
    min-height:72px!important;
  }
  .brand-cluster{grid-area:brand!important;min-width:0!important;align-items:center!important}
  .brand{transform:scale(.88)!important;transform-origin:left center!important}
  .brand-copy{display:none!important}
  .status-cluster{grid-area:status!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;min-width:0!important}
  .flip-date{width:51px!important;height:48px!important;min-width:51px!important;border-radius:13px!important;padding:5px 6px!important}
  .rate-stack{display:none!important}
  .mobile-rate-summary{
    grid-area:rate!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;
    min-height:18px!important;margin:0!important;padding:0 3px!important;font-size:9.5px!important;white-space:nowrap!important;color:#657c88!important
  }
  .desktop-order-dock.order-status-standard{
    position:relative!important;display:grid!important;grid-template-columns:22px auto!important;column-gap:5px!important;
    min-width:118px!important;max-width:132px!important;min-height:48px!important;height:48px!important;
    padding:6px 8px!important;border-radius:13px!important;transform:none!important;
  }
  .desktop-order-dock.order-status-standard::after{display:none!important;content:none!important}
  .desktop-order-dock.order-status-standard::before{display:none!important;content:none!important}
  .desktop-order-dock.order-status-standard .order-list-mark,
  .desktop-order-dock.order-status-standard .order-list-mark svg{width:21px!important;height:21px!important}
  .desktop-order-dock.order-status-standard .order-status-meta{font-size:8.8px!important;line-height:1.05!important}
  .desktop-order-dock.order-status-standard .order-status-total{font-size:12.5px!important;line-height:1.05!important}
  .desktop-order-dock.order-status-standard:hover,
  .desktop-order-dock.order-status-standard:focus-visible{border:2px solid #42a66d!important;box-shadow:0 0 0 3px rgba(66,166,109,.10)!important}
  .search-stage{margin-top:4px!important}
  .search-main-field{height:42px!important;min-height:42px!important;border-radius:13px!important}
  .search-input{height:40px!important;min-height:40px!important;font-size:15px!important;padding-left:42px!important;padding-right:40px!important}
  .search-icon{left:13px!important;width:19px!important;height:19px!important}
  .clear-search{right:8px!important;width:31px!important;height:31px!important;font-size:25px!important}

  /* ---------- navigation / category chrome ---------- */
  .flow-nav{padding:2px 7px 4px!important;min-height:0!important;height:auto!important;overflow:visible!important}
  .flow-nav-rings{display:none!important}
  .flow-nav-main{
    height:30px!important;min-height:30px!important;display:flex!important;gap:6px!important;align-items:center!important;
    overflow:hidden!important;padding:0!important
  }
  .flow-nav-main .flow-crumbs{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10.5px!important}
  .flow-nav-main .flow-context-meta{margin-left:auto!important;min-width:0!important;font-size:9px!important;white-space:nowrap!important}
  .flow-sort{margin-left:auto!important;flex:0 0 auto!important;font-size:0!important}
  .flow-sort select{height:27px!important;min-height:27px!important;max-width:118px!important;padding:0 24px 0 9px!important;font-size:10px!important;border-radius:9px!important}
  .flow-nav-second-row{height:34px!important;min-height:34px!important;max-height:34px!important;margin:0!important;overflow:hidden!important}
  .category-strip.notebook-index-tabs{
    display:flex!important;flex-wrap:nowrap!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;
    height:34px!important;min-height:34px!important;max-height:34px!important;padding:2px 1px!important;scrollbar-width:none!important
  }
  .category-strip.notebook-index-tabs::-webkit-scrollbar{display:none!important}
  .notebook-index-tab.category-chip,.notebook-index-tab.category-chip.active{
    flex:0 0 auto!important;height:29px!important;min-height:29px!important;padding:0 10px!important;font-size:10.5px!important;line-height:27px!important
  }
  .catalog-hero:not([hidden]){
    min-height:34px!important;height:34px!important;max-height:34px!important;margin:0 7px 4px!important;border-radius:10px!important;overflow:hidden!important
  }
  .catalog-hero-copy{padding:4px 8px!important;min-width:0!important}
  .catalog-hero h1,.catalog-hero-title{font-size:12px!important;line-height:13px!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .catalog-hero p,.catalog-hero-text{font-size:8.8px!important;line-height:10px!important;margin:1px 0 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .catalog-hero-photo{height:34px!important;max-height:34px!important;width:38%!important}

  /* ---------- filters never overlap result counter ---------- */
  .catalog-toolbar{
    display:grid!important;grid-template-columns:1fr!important;gap:3px!important;align-items:start!important;
    min-height:0!important;height:auto!important;padding:0 7px 5px!important;margin:0!important;overflow:visible!important
  }
  .catalog-count-zone{display:grid!important;grid-template-columns:1fr!important;gap:3px!important;width:100%!important;min-width:0!important}
  #catalogCount{display:block!important;position:static!important;height:auto!important;min-height:16px!important;margin:0!important;padding:0!important;font-size:10.5px!important;line-height:16px!important;white-space:nowrap!important}
  .form-filter-strip{
    position:static!important;display:flex!important;flex-wrap:nowrap!important;gap:4px!important;width:100%!important;max-width:100%!important;
    height:29px!important;min-height:29px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:1px 0!important;margin:0!important;scrollbar-width:none!important
  }
  .form-filter-strip::-webkit-scrollbar{display:none!important}
  .form-filter-strip button{flex:0 0 auto!important;height:26px!important;min-height:26px!important;padding:0 8px!important;font-size:9.5px!important;white-space:nowrap!important}
  .catalog-tools,.catalog-form-select{display:none!important}
  .context-line,.subcategory-strip{margin:0 7px 4px!important;min-height:0!important}

  /* ---------- catalogue: true 2-column compact cards ---------- */
  .workspace{padding-left:6px!important;padding-right:6px!important}
  #productList.product-list,
  #productList{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
    align-items:start!important;width:100%!important;padding:0 0 8px!important;margin:0!important
  }
  
  
  
  
  
  
  /* only one useful technical row in the compact tile */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .form-badge{font-size:8px!important;min-height:18px!important;height:18px!important;padding:0 6px!important}
  .load-more{height:36px!important;margin:8px auto 16px!important;font-size:11px!important}

  /* ---------- quick view: same hierarchy, phone-sized ---------- */
  .product-quick-backdrop{padding:66px 8px 8px!important;align-items:flex-start!important;overflow-y:auto!important}
  #productQuickBackdrop .quick-order-dock.order-status-standard{
    position:fixed!important;top:8px!important;right:8px!important;left:auto!important;
    min-width:118px!important;max-width:128px!important;min-height:48px!important;height:48px!important;padding:6px 8px!important;
    grid-template-columns:21px minmax(0,1fr)!important;border-radius:13px!important;z-index:9605!important
  }
  #productQuickBackdrop .quick-order-dock.order-status-standard::after,
  #productQuickBackdrop .quick-order-dock.order-status-standard::before{display:none!important;content:none!important}
  #productQuickBackdrop .quick-order-dock .order-list-mark,
  #productQuickBackdrop .quick-order-dock .order-list-mark svg{width:21px!important;height:21px!important}
  #productQuickBackdrop .quick-order-dock .order-status-meta{font-size:8.5px!important}
  #productQuickBackdrop .quick-order-dock .order-status-total{font-size:12px!important}
  #productQuickBackdrop .product-quick-sheet{
    position:relative!important;left:auto!important;top:auto!important;transform:none!important;
    width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;border-radius:16px!important;padding:0!important;overflow:hidden!important
  }
  #productQuickBody{
    display:grid!important;grid-template-columns:38% minmax(0,1fr)!important;grid-template-rows:auto auto!important;
    width:100%!important;min-height:0!important;gap:0!important
  }
  #productQuickBody > .pq-photo{
    grid-column:1!important;grid-row:1!important;height:154px!important;min-height:154px!important;max-height:154px!important;
    margin:0!important;padding:10px!important;border-right:1px solid #e3ebef!important;border-bottom:1px solid #e3ebef!important;border-radius:0!important
  }
  #productQuickBody > .pq-photo img{max-width:96%!important;max-height:132px!important;object-fit:contain!important}
  #productQuickBody > .pq-main{
    grid-column:2!important;grid-row:1!important;min-width:0!important;height:154px!important;max-height:154px!important;overflow:hidden!important;
    padding:10px 36px 7px 10px!important;border-bottom:1px solid #e3ebef!important
  }
  #productQuickBody .pq-title-row{display:flex!important;flex-wrap:wrap!important;gap:5px!important;align-items:center!important;margin:0 0 5px!important}
  #productQuickBody .pq-title-row h2{font-size:17px!important;line-height:19px!important;margin:0!important;max-height:38px!important;overflow:hidden!important}
  #productQuickBody .pq-meta{font-size:9.6px!important;line-height:1.22!important;max-height:70px!important;overflow:hidden!important}
  #productQuickBody .pq-actions{margin-top:4px!important;max-height:31px!important;overflow:hidden!important}
  #productQuickBody .pq-full-open{height:28px!important;min-height:28px!important;margin:2px 0 0!important;padding:0 8px!important;border-radius:8px!important}
  #productQuickBody .pq-full-open span,#productQuickBody .pq-full-open b{font-size:9.5px!important}
  #productQuickBody > .pq-footer{
    grid-column:1/-1!important;grid-row:2!important;position:static!important;width:100%!important;height:57px!important;min-height:57px!important;max-height:57px!important;
    padding:0!important;margin:0!important;border:0!important;background:#fff!important
  }
  #productQuickBody > .pq-footer > .pq-bottom{
    display:grid!important;grid-template-columns:minmax(0,1fr) 126px!important;align-items:center!important;
    height:46px!important;min-height:46px!important;max-height:46px!important;padding:3px 10px!important;border-bottom:0!important
  }
  #productQuickBody .pq-price strong{font-size:17px!important;line-height:18px!important}
  #productQuickBody .pq-price span{font-size:9.5px!important}
  #productQuickBody .pq-stepper{width:122px!important;height:38px!important;min-height:38px!important;max-height:38px!important}
  #productQuickBody .pq-stepper button,#productQuickBody .pq-stepper input{height:36px!important;min-height:36px!important;max-height:36px!important;line-height:36px!important;font-size:13px!important}
  #productQuickBody > .pq-footer > .pq-picked{
    display:block!important;position:static!important;width:100%!important;height:11px!important;min-height:11px!important;max-height:11px!important;
    line-height:11px!important;font-size:8px!important;text-align:center!important;margin:0!important;padding:0 4px!important
  }
  #productQuickBody > .pq-footer > .pq-picked:not(.selected){background:#fff!important;color:transparent!important}

  /* ---------- related: two compact cards per row, all controls visible ---------- */
  .product-quick-related-float{
    position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;
    width:100%!important;max-width:none!important;margin:10px 0 0!important;padding:0!important;overflow:visible!important;display:block!important
  }
  .pq-related-rail-head{height:29px!important;min-height:29px!important;margin:0 0 5px!important;padding:0 4px!important}
  .pq-related-form-strip{display:flex!important;overflow-x:auto!important;gap:4px!important;margin:0 0 5px!important;scrollbar-width:none!important}
  .pq-related-form-strip::-webkit-scrollbar{display:none!important}
  .pq-related-form-strip button{flex:0 0 auto!important;height:25px!important;min-height:25px!important;padding:0 7px!important;font-size:9px!important}
  .pq-related-rail-list{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
    width:100%!important;max-height:none!important;height:auto!important;overflow:visible!important;padding:0!important
  }
  #productQuickRelated .pq-float-related,
  #productQuickRelated .pq-float-related:hover,
  #productQuickRelated .pq-float-related:focus,
  #productQuickRelated .pq-float-related.selected{
    display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;grid-template-rows:68px 42px 10px!important;
    width:100%!important;min-width:0!important;height:120px!important;min-height:120px!important;max-height:120px!important;
    margin:0!important;padding:5px!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;box-sizing:border-box!important
  }
  #productQuickRelated .pq-float-related-thumb{grid-column:1!important;grid-row:1!important;width:50px!important;height:64px!important;min-width:50px!important;min-height:64px!important;margin:0!important}
  #productQuickRelated .pq-float-related-thumb img{max-width:100%!important;max-height:100%!important;object-fit:contain!important}
  #productQuickRelated .pq-float-related-info{
    grid-column:2!important;grid-row:1!important;min-width:0!important;height:64px!important;min-height:64px!important;max-height:64px!important;
    padding:1px 0 0 5px!important;overflow:hidden!important
  }
  #productQuickRelated .pq-float-related-info strong{
    display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
    max-height:28px!important;overflow:hidden!important;color:#173d56!important;font-size:10px!important;line-height:13px!important;font-weight:800!important
  }
  #productQuickRelated .pq-float-related.selected .pq-float-related-info strong,
  #productQuickRelated .pq-float-related.active-product .pq-float-related-info strong{color:#173d56!important}
  #productQuickRelated .pq-related-meta{display:none!important}
  #productQuickRelated .pq-related-meta:first-of-type{display:block!important;margin-top:2px!important;font-size:8px!important;line-height:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#667e8b!important}
  #productQuickRelated .pq-float-related-footer{
    grid-column:1/-1!important;grid-row:2/4!important;display:grid!important;grid-template-rows:42px 10px!important;
    width:100%!important;height:52px!important;min-height:52px!important;max-height:52px!important;margin:0!important;padding:0!important;border-top:1px solid #e2eaee!important
  }
  #productQuickRelated .pq-float-related-controls{
    grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 82px!important;gap:4px!important;align-items:center!important;height:42px!important;padding:3px 0!important
  }
  #productQuickRelated .pq-float-related-price{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;padding-left:1px!important}
  #productQuickRelated .pq-float-related-price b{font-size:12px!important;line-height:13px!important;color:#173d56!important;white-space:nowrap!important}
  #productQuickRelated .pq-float-related-price small{font-size:8px!important;line-height:9px!important;color:#788d98!important}
  #productQuickRelated .suggest-stepper{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:82px!important;height:32px!important;min-height:32px!important;max-height:32px!important}
  #productQuickRelated .suggest-stepper button,#productQuickRelated .suggest-stepper input,#productQuickRelated .suggest-stepper b{
    height:30px!important;min-height:30px!important;max-height:30px!important;line-height:30px!important;font-size:11px!important;min-width:0!important
  }
  #productQuickRelated .pq-float-related-picked,
  #productQuickRelated .pq-float-related-picked.selected{
    grid-row:2!important;display:block!important;position:static!important;width:100%!important;height:10px!important;min-height:10px!important;max-height:10px!important;
    line-height:10px!important;font-size:7.2px!important;margin:0!important;padding:0 2px!important;text-align:center!important;overflow:hidden!important;white-space:nowrap!important
  }
  #productQuickRelated .pq-float-related-picked:not(.selected){background:#fff!important;color:transparent!important}
  #productQuickRelated .pq-float-related-picked.selected{background:var(--rxde-v169-strip-bg,#dff1fb)!important;color:var(--rxde-v169-strip-text,#245b78)!important}
  .pq-scroll-cue{display:none!important}

  /* ---------- footer: do not spend first-screen space ---------- */
  .site-footer{margin-top:8px!important}
  .footer-note{display:none!important}
  .footer-actions{min-height:42px!important}
}

/* Very narrow phones: still two columns, but keep controls usable. */
@media (max-width:390px){
  #productList.product-list,#productList{gap:5px!important;padding-left:0!important;padding-right:0!important}
  
  
  
  
  
  
  #productQuickBody{grid-template-columns:36% minmax(0,1fr)!important}
  #productQuickBody .pq-title-row h2{font-size:15px!important;line-height:17px!important}
  .pq-related-rail-list{gap:5px!important}
  #productQuickRelated .pq-float-related{grid-template-columns:48px minmax(0,1fr)!important;padding:4px!important}
  #productQuickRelated .pq-float-related-thumb{width:44px!important}
}


/* ========================================================================== 
   V1.216 — MOBILE POLISH
   Keeps desktop untouched; fixes header hierarchy, filter priority,
   compact metadata in 2-col cards, and mobile order control alignment.
   ========================================================================== */
@media (max-width:760px){
  /* Header hierarchy: logo left, date + cart right, rate on its own calm row. */
  .notebook-head{
    grid-template-columns:minmax(74px,1fr) auto!important;
    grid-template-areas:"brand status"!important;
    min-height:66px!important;
    gap:0 8px!important;
  }
  .brand-cluster{align-self:start!important;padding-top:1px!important}
  .brand{transform:scale(.84)!important;transform-origin:left top!important}
  .status-cluster{
    display:grid!important;
    grid-template-columns:50px 126px!important;
    grid-template-areas:"date order" "rate rate"!important;
    gap:3px 5px!important;
    align-items:center!important;
    justify-items:end!important;
  }
  .flip-date{grid-area:date!important;margin:0!important}
  .desktop-order-dock.order-status-standard{grid-area:order!important}
  .mobile-rate-summary{
    grid-area:rate!important;
    width:100%!important;
    min-height:15px!important;
    justify-content:flex-end!important;
    margin:0!important;
    padding:0 1px!important;
    border-top:1px solid #e7eef1!important;
    font-size:8.7px!important;
    line-height:14px!important;
    color:#6f8088!important;
  }
  .sticky-stack{position:sticky!important;top:0!important;z-index:500!important;box-shadow:0 5px 12px rgba(43,75,91,.06)!important}

  /* Search/filter priority. Counts are secondary and hidden on mobile. */
  #catalogCount,.flow-context-meta{display:none!important}
  .catalog-toolbar{padding-top:2px!important}
  .catalog-count-zone{display:block!important}
  .form-filter-strip{
    display:flex!important;
    order:1!important;
    height:31px!important;
    min-height:31px!important;
    padding:2px 0!important;
  }
  .form-filter-strip button{
    height:27px!important;min-height:27px!important;
    padding:0 9px!important;font-size:9.6px!important;font-weight:760!important
  }

  /* 2-column cards: restore the three technical facts that matter most. */
  
  
  
  
  
  
  /* Form, manufacturer, PZN */
  
  
  
  
  
  

  /* Mobile order cards: one straight commercial row, no diagonal/uneven controls. */
  #orderLines .order-product-row.order-static-card{
    display:grid!important;
    grid-template-columns:92px minmax(0,1fr)!important;
    grid-template-rows:auto 52px!important;
    column-gap:10px!important;
    row-gap:0!important;
    padding:10px 10px 8px!important;
    min-height:202px!important;
    align-items:start!important;
  }
  #orderLines .order-static-card > .order-thumb{
    grid-column:1!important;grid-row:1!important;
    width:92px!important;height:132px!important;min-width:92px!important;min-height:132px!important;
    margin:0!important;align-self:start!important
  }
  #orderLines .order-static-card > .order-product-info{
    grid-column:2!important;grid-row:1!important;min-width:0!important;padding:0 0 4px!important
  }
  #orderLines .order-static-card > .order-unit-price,
  #orderLines .order-static-card > .order-qty,
  #orderLines .order-static-card > .order-line-total{
    grid-row:2!important;
    align-self:end!important;
    height:52px!important;min-height:52px!important;max-height:52px!important;
    margin:0!important;padding-top:8px!important;border-top:1px solid #dbe3e1!important;
    box-sizing:border-box!important
  }
  #orderLines .order-static-card > .order-unit-price{
    grid-column:1!important;width:100%!important;justify-self:stretch!important;align-items:flex-start!important;justify-content:center!important
  }
  #orderLines .order-static-card > .order-qty{
    grid-column:2!important;justify-self:center!important;align-self:end!important;
    width:132px!important;height:42px!important;min-height:42px!important;max-height:42px!important;
    margin-right:118px!important;border-top:1px solid #dbe3e1!important
  }
  #orderLines .order-static-card > .order-qty button,
  #orderLines .order-static-card > .order-qty input{
    height:40px!important;min-height:40px!important;max-height:40px!important;line-height:40px!important;font-size:14px!important
  }
  #orderLines .order-static-card > .order-line-total{
    position:absolute!important;right:10px!important;bottom:8px!important;
    width:108px!important;align-items:flex-end!important;justify-content:center!important;text-align:right!important
  }
  #orderLines .order-static-card > .compact-delete{top:9px!important;right:9px!important}

  /* confirmation form validation styling */
  .phone-field .phone-error{
    display:block!important;margin-top:4px!important;color:#b64f47!important;font-size:10px!important;line-height:1.25!important
  }
  .phone-field input.is-invalid{border-color:#d96b63!important;box-shadow:0 0 0 3px rgba(217,107,99,.10)!important}
  .phone-field input.is-valid{border-color:#7dbd98!important}
  .confirm-local-status{
    margin:8px 0 0!important;padding:9px 10px!important;border:1px solid #cfe2d6!important;border-radius:10px!important;
    background:#f6fbf8!important;color:#315a46!important;font-size:10.5px!important;line-height:1.35!important
  }
}

@media (max-width:390px){
  
  
  #orderLines .order-product-row.order-static-card{grid-template-columns:84px minmax(0,1fr)!important;min-height:198px!important}
  #orderLines .order-static-card > .order-thumb{width:84px!important;min-width:84px!important;height:126px!important;min-height:126px!important}
  #orderLines .order-static-card > .order-qty{width:118px!important;margin-right:104px!important}
  #orderLines .order-static-card > .order-line-total{width:96px!important}
}


/* ========================================================================== 
   V1.217 — MOBILE LAYOUT FIX
   Desktop untouched. Fixes metadata visibility, filter priority, price clipping,
   quick-view stacking, related-card controls, and order-row geometry.
   ========================================================================== */
@media (max-width:760px){
  /* --- FILTERS FIRST: no result counter competing with controls --- */
  html body #catalogCount,
  html body #catalogToolbar #catalogCount,
  html body .catalog-count-zone > #catalogCount,
  html body .flow-context-meta,
  html body .search-group-head{display:none!important}
  html body #catalogToolbar{
    display:block!important;
    position:relative!important;
    height:auto!important;min-height:34px!important;
    margin:0!important;padding:2px 7px 5px!important;
    overflow:visible!important
  }
  html body #catalogToolbar .catalog-count-zone{
    display:block!important;width:100%!important;height:auto!important;min-height:29px!important;
    margin:0!important;padding:0!important;overflow:visible!important
  }
  html body #formFilterStrip.form-filter-strip{
    position:static!important;inset:auto!important;transform:none!important;
    display:flex!important;flex-wrap:nowrap!important;gap:5px!important;
    width:100%!important;max-width:100%!important;height:29px!important;min-height:29px!important;
    margin:0!important;padding:1px 0!important;overflow-x:auto!important;overflow-y:hidden!important;
    scrollbar-width:none!important
  }
  html body #formFilterStrip.form-filter-strip::-webkit-scrollbar{display:none!important}
  html body #formFilterStrip.form-filter-strip button{
    flex:0 0 auto!important;position:static!important;transform:none!important;
    height:27px!important;min-height:27px!important;margin:0!important;padding:0 9px!important;
    font-size:9.5px!important;line-height:25px!important;white-space:nowrap!important
  }

  /* --- CATALOGUE: 2 columns, real metadata, no clipped commercial row --- */
  
  
  
  
  /* beat the older :not(...) hiding rule explicitly */
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* --- QUICK VIEW: one vertical mobile flow, never side-by-side with related --- */
  #productQuickBackdrop.product-quick-backdrop{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
    gap:8px!important;padding:62px 8px 12px!important;overflow-y:auto!important;overflow-x:hidden!important
  }
  #productQuickBackdrop > .product-quick-sheet{
    position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;
    flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:hidden!important
  }
  #productQuickBody{
    display:grid!important;grid-template-columns:34% minmax(0,66%)!important;grid-template-rows:auto 56px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important
  }
  #productQuickBody > .pq-photo{
    grid-column:1!important;grid-row:1!important;height:158px!important;min-height:158px!important;max-height:158px!important;
    min-width:0!important;width:100%!important;padding:9px!important;overflow:hidden!important
  }
  #productQuickBody > .pq-main{
    grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;
    height:158px!important;min-height:158px!important;max-height:158px!important;padding:10px 34px 6px 9px!important;overflow:hidden!important
  }
  #productQuickBody .pq-title-row h2{font-size:14px!important;line-height:16px!important;max-height:33px!important}
  #productQuickBody .pq-meta{font-size:8.8px!important;line-height:1.2!important;max-height:72px!important}
  #productQuickBody > .pq-footer{
    grid-column:1/-1!important;grid-row:2!important;height:56px!important;min-height:56px!important;max-height:56px!important
  }
  #productQuickBody > .pq-footer > .pq-bottom{
    grid-template-columns:minmax(0,1fr) 116px!important;height:45px!important;padding:3px 8px!important
  }
  #productQuickBody .pq-stepper{width:112px!important;height:36px!important}
  #productQuickBody .pq-stepper button,#productQuickBody .pq-stepper input{height:34px!important;min-height:34px!important;line-height:34px!important}

  #productQuickBackdrop > #productQuickRelated.product-quick-related-float{
    position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;
    flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;overflow:visible!important
  }
  #productQuickBackdrop #productQuickRelated .pq-related-rail-list{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
    width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important
  }
  #productQuickBackdrop #productQuickRelated .pq-float-related,
  #productQuickBackdrop #productQuickRelated .pq-float-related:hover,
  #productQuickBackdrop #productQuickRelated .pq-float-related:focus,
  #productQuickBackdrop #productQuickRelated .pq-float-related.selected{
    display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;grid-template-rows:63px 40px 10px!important;
    width:100%!important;min-width:0!important;height:113px!important;min-height:113px!important;max-height:113px!important;
    padding:4px!important;margin:0!important;overflow:hidden!important;box-sizing:border-box!important
  }
  #productQuickBackdrop #productQuickRelated .pq-float-related-thumb{width:44px!important;height:59px!important;min-width:44px!important;min-height:59px!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related-info{height:59px!important;min-height:59px!important;max-height:59px!important;padding-left:4px!important;overflow:hidden!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related-info strong{font-size:9px!important;line-height:11px!important;max-height:23px!important}
  #productQuickBackdrop #productQuickRelated .pq-related-meta{display:none!important}
  #productQuickBackdrop #productQuickRelated .pq-related-meta:first-of-type{display:block!important;font-size:7.3px!important;line-height:9px!important;margin-top:2px!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related-footer{height:50px!important;min-height:50px!important;max-height:50px!important;grid-template-rows:40px 10px!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related-controls{grid-template-columns:minmax(0,1fr) 74px!important;height:40px!important;padding:2px 0!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related-price b{font-size:10.5px!important;line-height:11px!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related-price small{font-size:7.2px!important;line-height:8px!important}
  #productQuickBackdrop #productQuickRelated .suggest-stepper{width:72px!important;height:30px!important}
  #productQuickBackdrop #productQuickRelated .suggest-stepper button,
  #productQuickBackdrop #productQuickRelated .suggest-stepper input,
  #productQuickBackdrop #productQuickRelated .suggest-stepper b{height:28px!important;min-height:28px!important;line-height:28px!important;font-size:10px!important}

  /* --- ORDER SHEET: clean 3-column commercial row --- */
  #orderLines .order-product-row.order-static-card{
    position:relative!important;display:grid!important;
    grid-template-columns:86px minmax(0,1fr) 88px!important;
    grid-template-rows:auto 49px!important;
    column-gap:8px!important;row-gap:0!important;
    min-height:190px!important;padding:9px 9px 7px!important;align-items:start!important;overflow:hidden!important
  }
  #orderLines .order-static-card > .order-thumb{
    grid-column:1!important;grid-row:1!important;width:86px!important;height:126px!important;min-width:86px!important;min-height:126px!important;margin:0!important
  }
  #orderLines .order-static-card > .order-product-info{
    grid-column:2 / 4!important;grid-row:1!important;min-width:0!important;height:126px!important;max-height:126px!important;padding:0 24px 4px 0!important;overflow:hidden!important
  }
  #orderLines .order-static-card > .order-unit-price,
  #orderLines .order-static-card > .order-qty,
  #orderLines .order-static-card > .order-line-total{
    position:static!important;right:auto!important;bottom:auto!important;
    grid-row:2!important;height:49px!important;min-height:49px!important;max-height:49px!important;
    margin:0!important;padding:7px 0 0!important;border-top:1px solid #dbe3e1!important;box-sizing:border-box!important;align-self:end!important
  }
  #orderLines .order-static-card > .order-unit-price{grid-column:1!important;width:100%!important;align-items:flex-start!important;text-align:left!important}
  #orderLines .order-static-card > .order-qty{
    grid-column:2!important;justify-self:center!important;width:100%!important;max-width:132px!important;
    height:40px!important;min-height:40px!important;max-height:40px!important;padding-top:5px!important
  }
  #orderLines .order-static-card > .order-line-total{grid-column:3!important;width:100%!important;align-items:flex-end!important;text-align:right!important}
  #orderLines .order-static-card > .order-qty button,
  #orderLines .order-static-card > .order-qty input{height:34px!important;min-height:34px!important;max-height:34px!important;line-height:34px!important;font-size:12px!important}
  #orderLines .order-static-card > .order-unit-price strong,
  #orderLines .order-static-card > .order-line-total strong{font-size:12px!important;line-height:13px!important;white-space:nowrap!important}
  #orderLines .order-static-card > .order-unit-price span,
  #orderLines .order-static-card > .order-line-total span{font-size:8px!important;line-height:9px!important}
}

@media (max-width:390px){
  
  #orderLines .order-product-row.order-static-card{grid-template-columns:78px minmax(0,1fr) 80px!important;column-gap:6px!important;min-height:186px!important}
  #orderLines .order-static-card > .order-thumb{width:78px!important;height:120px!important;min-width:78px!important;min-height:120px!important}
  #orderLines .order-static-card > .order-product-info{height:120px!important;max-height:120px!important}
  #productQuickBody{grid-template-columns:32% minmax(0,68%)!important}
}


/* ========================================================================== 
   V1.218 — MOBILE QUICK VIEW EXIT FIX
   Fixes hidden-state specificity regression introduced by the mobile flex layout.
   ========================================================================== */
@media (max-width:760px){
  /* The v1.217 #id + .class display:flex rule outranked the legacy [hidden] rule. */
  html body #productQuickBackdrop[hidden],
  html body #productQuickBackdrop.product-quick-backdrop[hidden]{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html body #productQuickRelated[hidden]{display:none!important}

  /* Make close action unmistakable and easy to tap on a phone. */
  #productQuickBackdrop .product-quick-close{
    z-index:30!important;
    width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
    top:8px!important;right:8px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    cursor:pointer!important;touch-action:manipulation!important;
  }

  /* The sheet should not reserve a huge blank canvas while content is being painted. */
  #productQuickBackdrop > .product-quick-sheet{
    min-height:214px!important;
    contain:layout paint!important;
  }
  #productQuickBackdrop #productQuickBody:empty{display:none!important}
}


/* ========================================================================== 
   V1.219 — MOBILE UX REBUILD
   Mobile-only: compact search, filter priority, denser order header,
   restored number-handle dragging, visible delete/reflow, readable related cards.
   Desktop remains untouched.
   ========================================================================== */
.mobile-trash-icon{display:none}
@media (max-width:760px){
  /* ---------- more vertical space for products ---------- */
  .app-header{padding-top:4px!important;padding-bottom:4px!important}
  .notebook-head{min-height:61px!important;gap:1px 6px!important}
  .brand{transform:scale(.78)!important}
  .flip-date{width:46px!important;min-width:46px!important;height:43px!important;padding:4px 5px!important}
  .desktop-order-dock.order-status-standard{
    min-width:108px!important;max-width:118px!important;height:43px!important;min-height:43px!important;
    padding:5px 7px!important;grid-template-columns:19px auto!important;border-radius:12px!important
  }
  .desktop-order-dock.order-status-standard .order-list-mark,
  .desktop-order-dock.order-status-standard .order-list-mark svg{width:18px!important;height:18px!important}
  .desktop-order-dock.order-status-standard .order-status-meta{font-size:8px!important}
  .desktop-order-dock.order-status-standard .order-status-total{font-size:11.5px!important}
  .mobile-rate-summary{min-height:13px!important;height:13px!important;font-size:8.6px!important;line-height:13px!important}
  .search-stage{margin-top:2px!important}
  .search-main-field{height:38px!important;min-height:38px!important}
  .search-input{height:36px!important;min-height:36px!important;font-size:14px!important}
  .clear-search{width:29px!important;height:29px!important}
  .flow-nav-main{height:27px!important;min-height:27px!important}
  .flow-nav-second-row{height:31px!important;min-height:31px!important;max-height:31px!important}
  .category-strip.notebook-index-tabs{height:31px!important;min-height:31px!important;max-height:31px!important}
  .notebook-index-tab.category-chip,.notebook-index-tab.category-chip.active{height:27px!important;min-height:27px!important;line-height:25px!important;padding:0 9px!important}
  .catalog-hero:not([hidden]){height:31px!important;min-height:31px!important;max-height:31px!important;margin-bottom:3px!important}
  .catalog-hero-photo{height:31px!important;max-height:31px!important}

  /* ---------- filters own their row; remove mobile result-count noise ---------- */
  html body #catalogCount,
  html body .catalog-count,
  html body .search-group-head,
  html body .flow-context-meta{display:none!important}
  html body #catalogToolbar{padding:1px 7px 3px!important;min-height:28px!important}
  html body #catalogToolbar .catalog-count-zone{min-height:27px!important;height:27px!important}
  html body #formFilterStrip.form-filter-strip{height:27px!important;min-height:27px!important;gap:4px!important}
  html body #formFilterStrip.form-filter-strip button{height:25px!important;min-height:25px!important;line-height:23px!important;padding:0 9px!important;font-size:9.5px!important}
  html body #formFilterStrip.form-filter-strip button b{display:none!important}

  /* ---------- compact live-search suggestions: list, not giant product cards ---------- */
  html body #searchSuggest.search-suggest{
    position:absolute!important;left:0!important;right:0!important;top:calc(100% + 3px)!important;
    width:100%!important;max-width:100%!important;max-height:46vh!important;overflow-y:auto!important;overflow-x:hidden!important;
    padding:4px!important;border-radius:12px!important;background:#fff!important;box-shadow:0 10px 28px rgba(35,65,82,.18)!important;
    z-index:5000!important
  }
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover,
  html body #searchSuggest .suggest-row.selected{
    display:grid!important;grid-template-columns:54px minmax(0,1fr) 88px!important;grid-template-rows:72px 9px!important;
    gap:0 6px!important;width:100%!important;height:81px!important;min-height:81px!important;max-height:81px!important;
    margin:0 0 4px!important;padding:4px 5px 9px!important;border:1px solid #d8e5ec!important;border-radius:10px!important;
    overflow:hidden!important;background:#fff!important;box-shadow:none!important;transform:none!important
  }
  html body #searchSuggest .suggest-photo{
    grid-column:1!important;grid-row:1!important;width:50px!important;height:68px!important;min-width:50px!important;min-height:68px!important;margin:0!important;padding:3px!important
  }
  html body #searchSuggest .suggest-photo img{max-width:100%!important;max-height:100%!important;object-fit:contain!important}
  html body #searchSuggest .suggest-main{
    grid-column:2!important;grid-row:1!important;display:block!important;min-width:0!important;height:68px!important;max-height:68px!important;
    padding:1px 0!important;overflow:hidden!important
  }
  html body #searchSuggest .suggest-title{
    display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
    max-height:25px!important;overflow:hidden!important;font-size:9.7px!important;line-height:12px!important;color:#18384a!important
  }
  html body #searchSuggest .copyable-product-core{font-size:7.8px!important;line-height:10px!important;max-height:31px!important;overflow:hidden!important;margin-top:2px!important}
  html body #searchSuggest .copyable-product-core > *{margin:0!important;line-height:10px!important}
  html body #searchSuggest .product-text-links{height:11px!important;line-height:11px!important;margin-top:1px!important}
  html body #searchSuggest .product-text-link{font-size:7.5px!important;line-height:10px!important}
  html body #searchSuggest .suggest-side{
    grid-column:3!important;grid-row:1!important;display:grid!important;grid-template-rows:27px 34px!important;align-content:center!important;
    width:88px!important;min-width:88px!important;height:68px!important;padding:0!important;overflow:hidden!important
  }
  html body #searchSuggest .suggest-price{display:block!important;text-align:right!important;min-width:0!important;overflow:hidden!important}
  html body #searchSuggest .suggest-price b{display:block!important;font-size:9.8px!important;line-height:12px!important;white-space:nowrap!important}
  html body #searchSuggest .suggest-price small{display:block!important;font-size:7.2px!important;line-height:9px!important;white-space:nowrap!important}
  html body #searchSuggest .suggest-stepper{display:grid!important;grid-template-columns:repeat(3,1fr)!important;width:86px!important;height:31px!important;min-width:86px!important}
  html body #searchSuggest .suggest-stepper button,
  html body #searchSuggest .suggest-stepper b{height:30px!important;min-height:30px!important;line-height:30px!important;font-size:10px!important;padding:0!important}
  html body #searchSuggest .suggest-picked{grid-column:1/-1!important;grid-row:2!important;height:9px!important;min-height:9px!important;line-height:9px!important;font-size:7.2px!important;padding:0 4px!important}

  /* ---------- catalogue cards: metadata retained, commercial row never clips ---------- */
  
  
  
  
  

  /* ---------- quick view: full-width primary card, then useful 2-column related cards ---------- */
  #productQuickBackdrop.product-quick-backdrop{gap:6px!important;padding:56px 7px 10px!important}
  #productQuickBackdrop > .product-quick-sheet{border-radius:14px!important}
  #productQuickBody{grid-template-columns:35% minmax(0,65%)!important;grid-template-rows:auto 54px!important}
  #productQuickBody > .pq-photo{height:150px!important;min-height:150px!important;max-height:150px!important}
  #productQuickBody > .pq-main{height:150px!important;min-height:150px!important;max-height:150px!important;padding:9px 38px 5px 8px!important}
  #productQuickBody .pq-title-row h2{font-size:13px!important;line-height:15px!important;max-height:31px!important}
  #productQuickBody .pq-meta{font-size:8.5px!important;line-height:1.18!important;max-height:78px!important}
  #productQuickBackdrop #productQuickRelated .pq-related-rail-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related,
  #productQuickBackdrop #productQuickRelated .pq-float-related:hover,
  #productQuickBackdrop #productQuickRelated .pq-float-related:focus,
  #productQuickBackdrop #productQuickRelated .pq-float-related.selected{
    display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;grid-template-rows:88px 42px 10px!important;
    height:140px!important;min-height:140px!important;max-height:140px!important;padding:4px!important
  }
  #productQuickBackdrop #productQuickRelated .pq-float-related-thumb{width:42px!important;height:84px!important;min-width:42px!important;min-height:84px!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related-info{height:84px!important;min-height:84px!important;max-height:84px!important;padding:1px 0 0 4px!important;overflow:hidden!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related-info strong{
    display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
    max-height:25px!important;overflow:hidden!important;font-size:9px!important;line-height:12px!important;color:#173a4d!important
  }
  #productQuickBackdrop #productQuickRelated .pq-related-meta{display:none!important}
  #productQuickBackdrop #productQuickRelated .pq-related-meta:nth-of-type(1),
  #productQuickBackdrop #productQuickRelated .pq-related-meta:nth-of-type(2),
  #productQuickBackdrop #productQuickRelated .pq-related-meta:nth-of-type(4){
    display:block!important;max-height:12px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
    font-size:7.4px!important;line-height:11px!important;color:#5d7380!important
  }
  #productQuickBackdrop #productQuickRelated .pq-float-related-footer{height:52px!important;min-height:52px!important;max-height:52px!important;grid-template-rows:42px 10px!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related-controls{grid-template-columns:minmax(0,1fr) 78px!important;height:42px!important}
  #productQuickBackdrop #productQuickRelated .pq-float-related-price b{font-size:10px!important;line-height:12px!important;white-space:nowrap!important}
  #productQuickBackdrop #productQuickRelated .suggest-stepper{width:76px!important;height:31px!important}
  #productQuickBackdrop #productQuickRelated .suggest-stepper button,
  #productQuickBackdrop #productQuickRelated .suggest-stepper b{height:30px!important;min-height:30px!important;line-height:30px!important}

  /* ---------- order sheet: compact chrome, give the height to product rows ---------- */
  #orderSheet .sheet-head,
  .order-sheet .sheet-head{min-height:58px!important;height:58px!important;padding:7px 9px!important}
  #orderSheet .order-title-with-mark .order-list-mark{width:22px!important;height:22px!important}
  #orderSheet .order-title-with-mark h2{font-size:15px!important;line-height:17px!important}
  #orderSheet #orderSubtitle{display:none!important}
  #orderSheet .order-header-status{min-width:108px!important;min-height:42px!important;padding:5px 8px!important}
  #orderSheet .order-flow-nav{height:27px!important;min-height:27px!important;padding:2px 8px!important;font-size:9px!important}
  #orderSheet .sheet-toolbar{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    min-height:36px!important;height:36px!important;padding:3px 8px!important;gap:6px!important;overflow:hidden!important
  }
  #orderSheet .sheet-toolbar-left{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important}
  #orderSheet #addOrderProduct{height:29px!important;min-height:29px!important;padding:0 9px!important;font-size:9.6px!important;white-space:nowrap!important}
  #orderSheet #clearOrder{
    display:flex!important;align-items:center!important;justify-content:center!important;width:31px!important;min-width:31px!important;height:29px!important;min-height:29px!important;
    padding:0!important;border:1px solid #df7770!important;border-radius:9px!important;color:#c7413b!important;background:#fff7f6!important;font-size:0!important
  }
  #orderSheet #clearOrder .clear-order-label{display:none!important}
  #orderSheet #clearOrder .mobile-trash-icon{display:block!important;width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  #orderSheet .order-toolbar-right{display:none!important}
  #orderLines{padding-top:5px!important}

  /* Number badge is the explicit touch drag handle again. */
  #orderLines .order-num-badge{
    display:flex!important;align-items:center!important;justify-content:center!important;
    touch-action:none!important;user-select:none!important;-webkit-user-select:none!important;
    pointer-events:auto!important;cursor:grab!important;z-index:30!important
  }
  #orderLines .order-num-badge:active{cursor:grabbing!important;transform:scale(1.10)!important;box-shadow:0 5px 15px rgba(37,102,131,.25)!important}
  #orderLines .order-product-row.dragging{opacity:.76!important;transform:scale(.985)!important;box-shadow:0 8px 22px rgba(30,74,96,.14)!important}
  #orderLines .order-product-row.drag-target{box-shadow:0 0 0 2px rgba(48,138,190,.23),0 6px 18px rgba(40,85,107,.10)!important}

  /* Deletion visibly erases the old row before neighbours move into its place. */
  #orderLines .order-product-row.rx-removing-position{
    animation:rxdeMobileErase .78s ease both!important;transform-origin:center!important
  }
  #orderLines .order-product-row.rx-removing-position::after{
    height:3px!important;left:4%!important;right:4%!important;background:rgba(190,63,58,.78)!important;
    box-shadow:0 0 8px rgba(190,63,58,.22)!important
  }
  #orderLines .order-product-row.rx-removing-collapse{transition:height .32s ease,min-height .32s ease,opacity .25s ease,margin .32s ease,padding .32s ease!important}
  #orderLines .order-product-row.rx-reflow-move{transition:transform .38s cubic-bezier(.2,.8,.2,1)!important}
  @keyframes rxdeMobileErase{
    0%{opacity:1;filter:none;transform:scale(1)}
    48%{opacity:.72;filter:saturate(.35) grayscale(.25);transform:scale(.992)}
    100%{opacity:.30;filter:saturate(.1) grayscale(.7);transform:scale(.982)}
  }

  /* Keep footer compact; product list gets the space. */
  #orderSheet .sheet-footer,.order-sheet .sheet-footer{min-height:64px!important;padding:6px 8px!important}
}

@media (max-width:390px){
  html body #searchSuggest .suggest-row{grid-template-columns:48px minmax(0,1fr) 82px!important}
  html body #searchSuggest .suggest-photo{width:45px!important;min-width:45px!important}
  html body #searchSuggest .suggest-side{width:82px!important;min-width:82px!important}
  html body #searchSuggest .suggest-stepper{width:80px!important}
}


/* ========================================================================== 
   V1.220 — MOBILE QUICK-VIEW refinement
   Mobile only: stable related prices, original ⇄ swap cue, subtle fold exchange,
   and no duplicate global cart inside quick-view.
   ========================================================================== */
@media (max-width:760px){
  /* The global cart already exists in the page header. Do not duplicate it inside quick-view. */
  html body #productQuickBackdrop > #quickOrderDock.quick-order-dock{
    display:none!important;
  }
  html body #productQuickBackdrop.product-quick-backdrop{
    padding:8px 7px 10px!important;
    gap:6px!important;
  }

  /* Related grid: give the commercial row its own full width so price and stepper never collide. */
  html body #productQuickBackdrop #productQuickRelated .pq-related-rail-list{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    align-items:start!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related,
  html body #productQuickBackdrop #productQuickRelated .pq-float-related:hover,
  html body #productQuickBackdrop #productQuickRelated .pq-float-related:focus,
  html body #productQuickBackdrop #productQuickRelated .pq-float-related.selected{
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr)!important;
    grid-template-rows:92px 54px 11px!important;
    height:157px!important;
    min-height:157px!important;
    max-height:157px!important;
    padding:4px!important;
    overflow:hidden!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-thumb{
    grid-column:1!important;grid-row:1!important;
    width:42px!important;height:88px!important;min-width:42px!important;min-height:88px!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-info{
    grid-column:2!important;grid-row:1!important;
    height:88px!important;min-height:88px!important;max-height:88px!important;
    padding:1px 0 0 4px!important;overflow:hidden!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-info strong{
    font-size:9px!important;line-height:11.5px!important;max-height:24px!important;
    color:#173a4d!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related > .pq-float-related-footer{
    grid-column:1 / -1!important;
    grid-row:2 / span 2!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:43px 11px!important;
    width:100%!important;
    height:54px!important;min-height:54px!important;max-height:54px!important;
    margin:0!important;padding:0!important;
    overflow:hidden!important;background:#fff!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-footer > .pq-float-related-controls{
    display:grid!important;
    grid-template-columns:minmax(52px,1fr) 76px!important;
    align-items:center!important;
    gap:4px!important;
    width:100%!important;height:43px!important;min-height:43px!important;max-height:43px!important;
    margin:0!important;padding:2px 2px 2px 4px!important;
    overflow:hidden!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-price{
    display:flex!important;flex-direction:column!important;justify-content:center!important;
    min-width:0!important;overflow:visible!important;padding:0!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-price b{
    display:block!important;font-size:10.3px!important;line-height:11px!important;
    letter-spacing:-.02em!important;white-space:nowrap!important;overflow:visible!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-price small{
    display:block!important;font-size:7.2px!important;line-height:8px!important;white-space:nowrap!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-related-stepper,
  html body #productQuickBackdrop #productQuickRelated .suggest-stepper{
    width:74px!important;min-width:74px!important;max-width:74px!important;
    height:31px!important;justify-self:end!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-picked,
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-picked.selected{
    width:100%!important;height:11px!important;min-height:11px!important;max-height:11px!important;
    line-height:11px!important;font-size:7.6px!important;padding:0 3px!important;
    overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  }

  /* Keep the original two-arrow exchange cue and make the cards fold toward each other while crossing. */
  html body #productQuickBackdrop .pq-swap-stage{display:block!important}
  html body #productQuickBackdrop .pq-swap-badge{
    display:flex!important;width:38px!important;height:38px!important;margin:-19px 0 0 -19px!important;
    border-radius:50%!important;background:rgba(255,255,255,.98)!important;
    border:1px solid #b8d3e1!important;box-shadow:0 10px 24px rgba(24,74,104,.18)!important;
  }
  html body #productQuickBackdrop .pq-swap-badge span{
    display:block!important;font-size:23px!important;line-height:1!important;font-weight:800!important;
    color:#287ca8!important;font-family:Arial,Helvetica,sans-serif!important;
  }
  html body #productQuickBackdrop .pq-swap-main-ghost.to-related{
    animation:rxdeMobileFoldToMini220 .52s cubic-bezier(.22,.76,.22,1) both!important;
  }
  html body #productQuickBackdrop .pq-swap-related-ghost.to-main{
    animation:rxdeMobileFoldToMain220 .52s cubic-bezier(.22,.76,.22,1) both!important;
  }
  @keyframes rxdeMobileFoldToMini220{
    0%{transform:scale(1) rotate(0deg)}
    48%{transform:scale(.90,.96) rotate(.45deg)}
    100%{transform:scale(1) rotate(0deg)}
  }
  @keyframes rxdeMobileFoldToMain220{
    0%{transform:scale(1) rotate(0deg)}
    48%{transform:scale(.94,1.035) rotate(-.45deg)}
    100%{transform:scale(1) rotate(0deg)}
  }
}
@media (max-width:390px){
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-footer > .pq-float-related-controls{
    grid-template-columns:minmax(48px,1fr) 72px!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-related-stepper,
  html body #productQuickBackdrop #productQuickRelated .suggest-stepper{width:70px!important;min-width:70px!important;max-width:70px!important}
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-price b{font-size:9.7px!important}
}


/* ========================================================================== 
   V1.221 — MOBILE DENSITY + SEARCH + FULL PAGE CTA + REVEAL NAV
   Mobile-only. Desktop remains untouched.
   ========================================================================== */
@media (max-width:760px){
  /* 1) Catalog price: never leak outside its half-card. */
  
  
  
  
  
  

  /* 2) Search hint/results start from the first typed character and stay compact. */
  html body #searchSuggest{
    max-height:min(52vh,360px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;
  }
  html body #searchSuggest .suggest-show-all{position:sticky!important;bottom:0!important;z-index:2!important;background:#fff!important}

  /* 3) One visible compact entry to the full product page in every mobile quick-view. */
  html body #productQuickBody > .pq-main{position:relative!important;padding-bottom:33px!important}
  html body #productQuickBody .pq-meta{max-height:57px!important;overflow:hidden!important}
  html body #productQuickBody .pq-actions{
    display:block!important;position:absolute!important;left:8px!important;right:8px!important;bottom:4px!important;
    height:26px!important;min-height:26px!important;max-height:26px!important;margin:0!important;overflow:hidden!important;
  }
  html body #productQuickBody .pq-actions > *:not(.pq-full-open){display:none!important}
  html body #productQuickBody .pq-full-open{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    width:100%!important;height:25px!important;min-height:25px!important;margin:0!important;padding:0 9px!important;
    border:1px solid #9dcde5!important;border-radius:9px!important;background:#f4fbff!important;color:#1c5c82!important;
    text-decoration:none!important;box-sizing:border-box!important;font-size:9.4px!important;line-height:1!important;
  }
  html body #productQuickBody .pq-full-open span{display:none!important}
  html body #productQuickBody .pq-full-open::before{content:"Полная карточка";font-weight:800!important}
  html body #productQuickBody .pq-full-open b{font-size:9.4px!important;line-height:1!important}

  /* 4) Related cards: footer is pinned and always visible. */
  html body #productQuickBackdrop #productQuickRelated .pq-float-related,
  html body #productQuickBackdrop #productQuickRelated .pq-float-related:hover,
  html body #productQuickBackdrop #productQuickRelated .pq-float-related:focus,
  html body #productQuickBackdrop #productQuickRelated .pq-float-related.selected{
    position:relative!important;height:162px!important;min-height:162px!important;max-height:162px!important;
    padding-bottom:55px!important;overflow:hidden!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related > .pq-float-related-footer{
    display:grid!important;position:absolute!important;left:4px!important;right:4px!important;bottom:0!important;
    grid-template-rows:43px 10px!important;width:auto!important;height:53px!important;min-height:53px!important;max-height:53px!important;
    margin:0!important;padding:0!important;background:#fff!important;border-top:1px solid #dbe6ec!important;z-index:4!important;overflow:hidden!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-footer > .pq-float-related-controls{
    display:grid!important;grid-template-columns:minmax(0,1fr) 74px!important;gap:3px!important;align-items:center!important;
    width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:3px 1px 2px 3px!important;overflow:hidden!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-price{
    display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;overflow:hidden!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-price b{
    display:block!important;font-size:9.7px!important;line-height:11px!important;letter-spacing:-.04em!important;white-space:nowrap!important;overflow:hidden!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-price small{
    display:block!important;font-size:7px!important;line-height:8px!important;white-space:nowrap!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-related-stepper{
    display:grid!important;grid-template-columns:repeat(3,1fr)!important;width:72px!important;min-width:72px!important;max-width:72px!important;height:31px!important;
  }
  html body #productQuickBackdrop #productQuickRelated .pq-related-stepper button,
  html body #productQuickBackdrop #productQuickRelated .pq-related-stepper b{
    display:flex!important;align-items:center!important;justify-content:center!important;height:30px!important;min-height:30px!important;line-height:30px!important;font-size:10px!important;
  }

  /* 5) Main menu strip: not permanently sticky at the top, but appears immediately after scrolling. */
  html body.mobile-flow-fixed #flowNav{
    position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:9800!important;
    width:100%!important;max-width:none!important;margin:0!important;padding:2px 7px 4px!important;
    background:rgba(255,253,248,.97)!important;box-shadow:0 4px 14px rgba(30,63,82,.13)!important;
    backdrop-filter:blur(10px)!important;transform:translateY(0)!important;
  }
  html body.mobile-flow-fixed #flowNav .flow-nav-main{height:29px!important;min-height:29px!important}
  html body.mobile-flow-fixed #flowNav .flow-nav-second-row{height:33px!important;min-height:33px!important;max-height:33px!important}
  html body.mobile-flow-fixed #flowNav + *{scroll-margin-top:66px!important}
}
@media (max-width:390px){
  
  
  
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-footer > .pq-float-related-controls{grid-template-columns:minmax(0,1fr) 68px!important}
  html body #productQuickBackdrop #productQuickRelated .pq-related-stepper{width:67px!important;min-width:67px!important;max-width:67px!important}
}


/* ========================================================================== 
   V1.222 — MOBILE FRAMEWORK
   Hard mobile geometry. Desktop intentionally untouched.
   Rules: 2-column catalogue, fixed card zones, compact live search,
   lightweight filters, stable quick-view, stable related cards, reveal nav.
   ========================================================================== */
@media (max-width:760px){
  /* ---------- global mobile geometry ---------- */
  html,body{overflow-x:hidden!important}
  .paper-shell{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .workspace{padding-left:6px!important;padding-right:6px!important}

  /* ---------- header: compact, cart visible, content gets the height ---------- */
  .app-header{padding:4px 6px 5px!important}
  .notebook-head{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"brand status" "rate rate"!important;
    min-height:57px!important;gap:1px 5px!important;align-items:center!important
  }
  .brand-cluster{grid-area:brand!important;min-width:0!important}
  .brand{transform:scale(.73)!important;transform-origin:left center!important}
  .brand-copy,.rate-stack{display:none!important}
  .status-cluster{grid-area:status!important;display:flex!important;gap:4px!important;align-items:center!important;justify-content:flex-end!important}
  .flip-date{width:43px!important;min-width:43px!important;height:41px!important;padding:3px 4px!important;border-radius:12px!important}
  .mobile-rate-summary{grid-area:rate!important;height:12px!important;min-height:12px!important;line-height:12px!important;font-size:8px!important;padding:0 2px!important;justify-content:flex-end!important}
  html body #desktopOrderDock.desktop-order-dock.order-status-standard{
    width:105px!important;min-width:105px!important;max-width:105px!important;height:41px!important;min-height:41px!important;
    padding:4px 7px!important;grid-template-columns:18px minmax(0,1fr)!important;gap:4px!important;border-radius:12px!important;
    overflow:hidden!important
  }
  html body #desktopOrderDock .order-list-mark,html body #desktopOrderDock .order-list-mark svg{width:17px!important;height:17px!important}
  html body #desktopOrderDock .order-status-meta{font-size:7.9px!important;line-height:9px!important;white-space:nowrap!important}
  html body #desktopOrderDock .order-status-total{font-size:11.3px!important;line-height:12px!important;white-space:nowrap!important}
  html body #desktopOrderDock::before,html body #desktopOrderDock::after{display:none!important;content:none!important}

  .search-stage{margin-top:2px!important;position:relative!important;z-index:1200!important}
  .search-main-field{height:37px!important;min-height:37px!important}
  .search-input{height:35px!important;min-height:35px!important;font-size:13.8px!important;padding-left:40px!important;padding-right:38px!important}
  .clear-search{width:30px!important;height:30px!important;right:3px!important}

  /* ---------- live search: quick links, not mini product cards ---------- */
  html body #searchSuggest.search-suggest{
    position:absolute!important;left:0!important;right:0!important;top:calc(100% + 3px)!important;z-index:9900!important;
    display:block;max-height:min(48vh,340px)!important;padding:4px!important;overflow:auto!important;
    background:#fff!important;border:1px solid #d5e4ec!important;border-radius:12px!important;box-shadow:0 12px 30px rgba(31,58,72,.20)!important
  }
  html body #searchSuggest.search-suggest[hidden]{display:none!important}
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover,
  html body #searchSuggest .suggest-row.selected{
    display:grid!important;grid-template-columns:42px minmax(0,1fr) 62px!important;grid-template-rows:58px!important;
    width:100%!important;height:59px!important;min-height:59px!important;max-height:59px!important;
    gap:5px!important;margin:0 0 3px!important;padding:3px 5px!important;box-sizing:border-box!important;
    background:#fff!important;border:1px solid #e0e9ee!important;border-radius:9px!important;overflow:hidden!important;transform:none!important;box-shadow:none!important
  }
  html body #searchSuggest .suggest-photo{grid-column:1!important;grid-row:1!important;width:39px!important;height:52px!important;min-width:39px!important;min-height:52px!important;padding:2px!important;margin:0!important}
  html body #searchSuggest .suggest-main{grid-column:2!important;grid-row:1!important;display:block!important;min-width:0!important;height:52px!important;max-height:52px!important;overflow:hidden!important;padding:1px 0!important}
  html body #searchSuggest .suggest-title{display:block!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;font-size:9.5px!important;line-height:12px!important;color:#173d56!important;margin-bottom:2px!important}
  html body #searchSuggest .copyable-product-core{display:block!important;max-height:30px!important;overflow:hidden!important;font-size:7.5px!important;line-height:9px!important;margin:0!important}
  html body #searchSuggest .copyable-product-core .copy-line{display:block!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;line-height:9px!important}
  html body #searchSuggest .copyable-product-core .copy-line:nth-child(n/**/+3){display:none!important}
  html body #searchSuggest .product-text-links{display:none!important}
  html body #searchSuggest .suggest-side{grid-column:3!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;width:62px!important;height:52px!important;padding:0!important;overflow:hidden!important}
  html body #searchSuggest .suggest-price{display:flex!important;flex-direction:column!important;align-items:flex-end!important;min-width:0!important}
  html body #searchSuggest .suggest-price b{font-size:8.8px!important;line-height:10px!important;white-space:nowrap!important}
  html body #searchSuggest .suggest-price small{font-size:6.7px!important;line-height:8px!important;white-space:nowrap!important}
  html body #searchSuggest .suggest-stepper,html body #searchSuggest .suggest-picked{display:none!important}
  html body #searchSuggest .suggest-show-all{position:sticky!important;bottom:0!important;width:100%!important;height:31px!important;margin:2px 0 0!important;border-radius:8px!important;background:#f7fbfd!important;font-size:9.5px!important;z-index:2!important}

  /* ---------- navigation/filter: two lightweight horizontal bands ---------- */
  .flow-nav{overflow:visible!important}
  .flow-nav-main{height:27px!important;min-height:27px!important;padding:0 5px!important}
  .flow-context-meta,#catalogCount,.catalog-count,.search-group-head{display:none!important}
  .flow-nav-second-row{height:30px!important;min-height:30px!important;max-height:30px!important;overflow:hidden!important}
  .category-strip.notebook-index-tabs{height:30px!important;min-height:30px!important;max-height:30px!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;gap:3px!important;padding:0 4px!important}
  .category-strip.notebook-index-tabs::-webkit-scrollbar{display:none!important}
  .notebook-index-tab.category-chip,.notebook-index-tab.category-chip.active{flex:0 0 auto!important;height:27px!important;min-height:27px!important;line-height:25px!important;padding:0 9px!important;font-size:9px!important}
  #catalogToolbar{min-height:28px!important;height:28px!important;padding:1px 5px 2px!important;overflow:hidden!important}
  #catalogToolbar .catalog-count-zone{width:100%!important;height:26px!important;min-height:26px!important;overflow:hidden!important}
  #formFilterStrip.form-filter-strip{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;width:100%!important;height:26px!important;min-height:26px!important;gap:4px!important}
  #formFilterStrip.form-filter-strip[hidden]{display:none!important}
  #formFilterStrip::-webkit-scrollbar{display:none!important}
  #formFilterStrip.form-filter-strip button{flex:0 0 auto!important;height:24px!important;min-height:24px!important;line-height:22px!important;padding:0 8px!important;font-size:9px!important;white-space:nowrap!important}
  #formFilterStrip.form-filter-strip button b{display:none!important}
  .catalog-tools,.catalog-form-select{display:none!important}
  .catalog-hero:not([hidden]){height:31px!important;min-height:31px!important;max-height:31px!important;margin:2px 0 4px!important;overflow:hidden!important}
  .catalog-hero-photo{height:31px!important;max-height:31px!important}

  /* Reveal only the useful catalogue strip while scrolling; cart remains visible separately. */
  html body.mobile-flow-fixed #flowNav{
    position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:9700!important;
    height:32px!important;min-height:32px!important;max-height:32px!important;padding:1px 0!important;margin:0!important;
    background:rgba(255,253,248,.97)!important;box-shadow:0 4px 13px rgba(28,61,78,.13)!important;backdrop-filter:blur(9px)!important
  }
  html body.mobile-flow-fixed #flowNav .flow-nav-main{display:none!important}
  html body.mobile-flow-fixed #flowNav .flow-nav-second-row{height:30px!important;min-height:30px!important;max-height:30px!important}
  html body.mobile-flow-fixed #desktopOrderDock{position:fixed!important;top:3px!important;right:5px!important;z-index:9800!important;width:101px!important;min-width:101px!important;height:28px!important;min-height:28px!important;padding:2px 6px!important;border-radius:9px!important;background:rgba(255,255,255,.97)!important}
  html body.mobile-flow-fixed #desktopOrderDock .order-list-mark,html body.mobile-flow-fixed #desktopOrderDock .order-list-mark svg{width:14px!important;height:14px!important}
  html body.mobile-flow-fixed #desktopOrderDock .order-status-meta{display:none!important}
  html body.mobile-flow-fixed #desktopOrderDock .order-status-total{font-size:9.8px!important;line-height:11px!important}
  html body.mobile-flow-fixed #categoryStrip{padding-right:112px!important}

  /* ---------- catalogue: rigid 2-column card framework ---------- */
  #productList.product-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;align-items:start!important;padding:0!important}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* ---------- quick-view: fixed zones, complete metadata, visible full-page CTA ---------- */
  #productQuickBackdrop.product-quick-backdrop{display:flex!important;flex-direction:column!important;gap:6px!important;padding:8px 7px 12px!important;overflow-y:auto!important;overflow-x:hidden!important;align-items:stretch!important}
  #productQuickBackdrop.product-quick-backdrop[hidden]{display:none!important}
  #productQuickBackdrop > .product-quick-sheet{position:relative!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;overflow:visible!important;border-radius:14px!important;flex:0 0 auto!important}
  #productQuickBody{display:grid!important;grid-template-columns:38% minmax(0,62%)!important;grid-template-rows:196px 54px!important;width:100%!important;height:250px!important;min-height:250px!important;max-height:250px!important;overflow:hidden!important}
  #productQuickBody > .pq-photo{grid-column:1!important;grid-row:1!important;width:100%!important;height:196px!important;min-height:196px!important;max-height:196px!important;padding:9px!important;overflow:hidden!important}
  #productQuickBody > .pq-photo img{max-width:100%!important;max-height:100%!important;object-fit:contain!important}
  #productQuickBody > .pq-main{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;width:100%!important;height:196px!important;min-height:196px!important;max-height:196px!important;padding:9px 38px 6px 8px!important;box-sizing:border-box!important;overflow:hidden!important}
  #productQuickBody .pq-title-row{flex:0 0 auto!important;min-height:39px!important;max-height:45px!important;overflow:hidden!important}
  #productQuickBody .pq-title-row h2{font-size:12.2px!important;line-height:14px!important;max-height:29px!important;overflow:hidden!important}
  #productQuickBody .pq-meta{flex:1 1 auto!important;display:block!important;min-height:0!important;max-height:none!important;overflow:hidden!important;font-size:8.3px!important;line-height:1.22!important;margin-top:4px!important}
  #productQuickBody .pq-meta .copy-line{display:block!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;line-height:11px!important}
  #productQuickBody .pq-meta .property-text-line{display:block!important;white-space:normal!important;max-height:23px!important;overflow:hidden!important;line-height:11px!important;margin-top:3px!important}
  #productQuickBody .pq-actions{position:static!important;display:block!important;flex:0 0 28px!important;width:100%!important;height:28px!important;min-height:28px!important;max-height:28px!important;margin-top:4px!important;overflow:hidden!important}
  #productQuickBody .pq-actions > *:not(.pq-full-open){display:none!important}
  #productQuickBody .pq-full-open{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;height:27px!important;min-height:27px!important;margin:0!important;padding:0 8px!important;border:1px solid #9dcde5!important;border-radius:8px!important;background:#f4fbff!important;color:#1c5c82!important;text-decoration:none!important;box-sizing:border-box!important;font-size:8.8px!important;line-height:1!important;overflow:hidden!important}
  #productQuickBody .pq-full-open span{display:block!important;font-size:8.8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #productQuickBody .pq-full-open b{font-size:8.8px!important;white-space:nowrap!important}
  #productQuickBody > .pq-footer{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-rows:41px 13px!important;width:100%!important;height:54px!important;min-height:54px!important;max-height:54px!important;margin:0!important;padding:0!important;overflow:hidden!important}
  #productQuickBody .pq-bottom{display:grid!important;grid-template-columns:minmax(0,1fr) 104px!important;align-items:center!important;width:100%!important;height:41px!important;padding:0 8px!important;box-sizing:border-box!important;overflow:hidden!important}
  #productQuickBody .pq-price{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;overflow:hidden!important}
  #productQuickBody .pq-price strong{font-size:14px!important;line-height:15px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #productQuickBody .pq-price span{font-size:8px!important;line-height:9px!important}
  #productQuickBody .pq-stepper{display:grid!important;grid-template-columns:34px 36px 34px!important;width:104px!important;min-width:104px!important;max-width:104px!important;height:34px!important}
  #productQuickBody .pq-stepper button,#productQuickBody .pq-stepper input{height:33px!important;min-height:33px!important;line-height:33px!important;padding:0!important;font-size:11px!important;text-align:center!important}
  #productQuickBody .pq-picked{display:flex!important;align-items:center!important;justify-content:center!important;height:13px!important;min-height:13px!important;max-height:13px!important;line-height:13px!important;font-size:7.5px!important;overflow:hidden!important}
  .product-quick-close{width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important;right:5px!important;top:5px!important;z-index:8!important}

  /* ---------- related products: true 2-column cards with pinned commercial row ---------- */
  #productQuickRelated.product-quick-related-float{position:static!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;border:0!important;flex:0 0 auto!important}
  #productQuickRelated .pq-related-rail-head{position:static!important;display:flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;height:30px!important;min-height:30px!important;margin:0 0 5px!important;padding:0 9px!important;border-radius:10px!important;background:#fff!important;font-size:10px!important;overflow:hidden!important}
  #productQuickRelated .pq-related-form-strip{display:none!important}
  #productQuickRelated .pq-related-rail-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important}
  html body #productQuickBackdrop #productQuickRelated .pq-float-related,
  html body #productQuickBackdrop #productQuickRelated .pq-float-related:hover,
  html body #productQuickBackdrop #productQuickRelated .pq-float-related:focus,
  html body #productQuickBackdrop #productQuickRelated .pq-float-related.selected{
    display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;grid-template-rows:112px 55px!important;
    width:100%!important;height:167px!important;min-height:167px!important;max-height:167px!important;
    margin:0!important;padding:5px 5px 0!important;box-sizing:border-box!important;overflow:hidden!important;background:#fff!important;border-radius:12px!important;transform:none!important
  }
  #productQuickRelated .pq-float-related-thumb{grid-column:1!important;grid-row:1!important;width:48px!important;height:70px!important;min-width:48px!important;min-height:70px!important;margin:0!important;padding:2px!important;align-self:start!important;overflow:hidden!important}
  #productQuickRelated .pq-float-related-info{grid-column:2!important;grid-row:1!important;display:block!important;width:100%!important;height:108px!important;min-height:108px!important;max-height:108px!important;padding:0 0 0 5px!important;overflow:hidden!important}
  #productQuickRelated .pq-float-related-info strong{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;max-height:27px!important;overflow:hidden!important;font-size:9.1px!important;line-height:12px!important;color:#173d56!important;margin-bottom:4px!important}
  #productQuickRelated .pq-related-meta{display:block!important;height:12px!important;line-height:12px!important;font-size:7.1px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #productQuickRelated .pq-related-meta:nth-of-type(3){display:none!important}
  html body #productQuickBackdrop #productQuickRelated .pq-float-related > .pq-float-related-footer{
    position:static!important;grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-rows:42px 13px!important;
    width:100%!important;height:55px!important;min-height:55px!important;max-height:55px!important;margin:0!important;padding:0!important;background:#fff!important;border-top:1px solid #dde7ec!important;overflow:hidden!important
  }
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-controls{display:grid!important;grid-template-columns:minmax(0,1fr) 92px!important;gap:2px!important;align-items:center!important;width:100%!important;height:42px!important;padding:2px 0 2px 2px!important;overflow:hidden!important}
  #productQuickRelated .pq-float-related-price{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;overflow:hidden!important}
  #productQuickRelated .pq-float-related-price b{display:block!important;width:100%!important;font-size:10px!important;line-height:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #productQuickRelated .pq-float-related-price small{display:block!important;font-size:7px!important;line-height:8px!important;white-space:nowrap!important}
  #productQuickRelated .pq-related-stepper{display:grid!important;grid-template-columns:29px 34px 29px!important;width:92px!important;min-width:92px!important;max-width:92px!important;height:32px!important;overflow:hidden!important}
  #productQuickRelated .pq-related-stepper button,#productQuickRelated .pq-related-stepper b{height:31px!important;min-height:31px!important;line-height:31px!important;padding:0!important;font-size:10px!important;text-align:center!important}
  #productQuickRelated .pq-float-related-picked{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:13px!important;min-height:13px!important;max-height:13px!important;line-height:13px!important;font-size:7px!important;overflow:hidden!important;white-space:nowrap!important}
  #productQuickRelated .pq-float-related-picked:not(.selected){color:transparent!important;background:#fff!important}
  #productQuickRelated .pq-scroll-cue{display:none!important}

  /* ---------- order sheet: preserve drag/delete mechanics, maximise product area ---------- */
  #orderSheet.order-sheet{max-height:calc(100dvh - 8px)!important;height:calc(100dvh - 8px)!important;margin:4px!important;border-radius:13px!important}
  #orderSheet .order-head{min-height:62px!important;padding:7px 8px!important}
  #orderSheet .order-toolbar{min-height:31px!important;height:31px!important;padding:2px 7px!important}
  #orderSheet #soundToggle,#orderSheet #rateValue{display:none!important}
  #orderSheet #clearOrder{font-size:0!important;width:31px!important;min-width:31px!important;height:27px!important;padding:0!important;color:#b84a43!important;border-color:#e1aaa6!important}
  #orderSheet #clearOrder::before{content:"🗑";font-size:14px!important;line-height:1!important}
  #orderSheet .order-lines{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:5px!important}
  #orderSheet .order-num-badge{touch-action:none!important;cursor:grab!important}
  #orderSheet .order-footer{flex:0 0 auto!important;padding:7px!important}

  /* ---------- page batch ---------- */
  #loadMore.load-more{min-height:36px!important;height:36px!important;margin:10px auto 14px!important}
}

@media (max-width:390px){
  
  
  
  #productQuickBody .pq-bottom{grid-template-columns:minmax(0,1fr) 98px!important}
  #productQuickBody .pq-stepper{grid-template-columns:32px 34px 32px!important;width:98px!important;min-width:98px!important;max-width:98px!important}
  html body #productQuickBackdrop #productQuickRelated .pq-float-related-controls{grid-template-columns:minmax(0,1fr) 86px!important}
  #productQuickRelated .pq-related-stepper{grid-template-columns:27px 32px 27px!important;width:86px!important;min-width:86px!important;max-width:86px!important}
  #productQuickRelated .pq-float-related-price b{font-size:9.2px!important}
}


/* ===== V1.223 mobile polish — single-purpose mobile hierarchy ===== */
@media (max-width:760px){
  /* 1) Top hierarchy: one compact top row, then search, then categories. */
  .app-header{
    padding:8px 10px 6px!important;
    border-bottom:1px solid #e2eaed!important;
  }
  .notebook-head{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    min-height:auto!important;
    padding:0!important;
    margin:0 0 6px 0!important;
  }
  .brand-copy{display:none!important}
  .brand-cluster{gap:0!important}
  .status-cluster{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    grid-template-areas:"date order" "rate order"!important;
    align-items:center!important;
    gap:4px 8px!important;
    min-width:0!important;
  }
  .flip-date{grid-area:date!important;transform:none!important;min-width:40px!important;max-width:40px!important}
  .flip-month{font-size:9px!important;line-height:1!important}
  .flip-day{font-size:21px!important;line-height:1!important}
  .flip-year{font-size:9px!important;line-height:1!important}
  .rate-stack{grid-area:rate!important;display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
  .rate-stack > div{min-width:0!important}
  .rate-stack span{font-size:10px!important;line-height:1.05!important;white-space:nowrap!important}
  .rate-stack strong{font-size:12px!important;line-height:1.1!important;white-space:nowrap!important}
  .mobile-rate-summary{display:none!important}
  .desktop-order-dock{grid-area:order!important;justify-self:end!important;min-width:132px!important;max-width:132px!important;padding:6px 8px!important}
  .desktop-order-dock .order-status-meta{font-size:10px!important;line-height:1.1!important}
  .desktop-order-dock .order-status-total{font-size:13px!important;line-height:1.1!important}

  .search-stage{margin-top:0!important}
  .search-wrap{margin:0!important}
  .search-main-field{min-height:48px!important;border-radius:16px!important}
  .search-input{font-size:15px!important}
  .search-suggest{
    position:absolute!important;
    left:0!important; right:0!important; top:calc(100% + 4px)!important;
    z-index:120!important;
    max-height:46vh!important;
    overflow:auto!important;
    border-radius:16px!important;
  }

  .flow-nav{
    margin:0!important;
    min-height:auto!important;
    padding:5px 10px 7px!important;
    display:block!important;
    border-bottom:1px solid #e2eaed!important;
  }
  .flow-nav-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:6px!important;
    height:auto!important;
    margin-bottom:6px!important;
  }
  .flow-nav-main .flow-back,
  .flow-nav-main .mobile-recent-trail,
  .flow-nav-main .flow-context-meta,
  .flow-nav-main .flow-history-wrap,
  .flow-nav-main .flow-sort{display:none!important}
  .flow-nav-main .flow-crumbs{
    display:flex!important;
    min-width:0!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    overflow:hidden!important;
    white-space:nowrap!important;
  }
  .flow-nav-second-row{display:block!important}
  #categoryStrip{
    position:relative!important;
    padding-bottom:2px!important;
  }
  #categoryStrip::after{
    content:"листайте →";
    position:sticky;
    right:0;
    float:right;
    margin-left:8px;
    padding:0 8px 0 10px;
    height:24px;
    line-height:24px;
    font-size:10px;
    font-weight:760;
    color:#537482;
    background:linear-gradient(90deg,rgba(255,255,255,0),#fff 34%);
    pointer-events:none;
  }

  /* 2) Main product grid: keep bottom controls always visible. */
  #productList{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  
  
  
  
  
  
  
  
  
  
  
  

  /* 3) Quick view: full link visible, main card focused, related cards complete. */
  .product-quick-backdrop{padding:8px!important}
  .product-quick-sheet{
    position:relative!important;
    width:100%!important;
    max-height:58vh!important;
    padding:14px 14px 18px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  #productQuickBody .pq-main{min-width:0!important}
  #productQuickBody .pq-actions{display:block!important;margin-top:8px!important}
  #productQuickBody .pq-full-open{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:46px!important;padding:10px 14px!important}
  #productQuickBody .pq-bottom{align-items:end!important}
  #productQuickBody .pq-price strong{font-size:18px!important;line-height:1.1!important}
  #productQuickBody .pq-price span{font-size:11px!important;line-height:1.1!important}
  #productQuickBody .pq-picked{height:18px!important;line-height:18px!important;padding:0 10px!important;justify-content:flex-end!important}

  .product-quick-related-float{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin-top:8px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  #productQuickRelated .pq-related-rail-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    max-height:none!important;
    overflow:visible!important;
    padding:0!important;
  }
  #productQuickRelated .pq-float-related{
    position:relative!important;
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr)!important;
    grid-template-rows:auto auto 18px!important;
    align-content:start!important;
    gap:8px 8px!important;
    min-height:174px!important;
    padding:10px 10px 18px!important;
    border-radius:18px!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  #productQuickRelated .pq-float-related-thumb{grid-column:1!important;grid-row:1 / span 2!important;width:52px!important;min-width:52px!important;height:88px!important;align-self:start!important}
  #productQuickRelated .pq-float-related-thumb img{max-width:100%!important;max-height:100%!important}
  #productQuickRelated .pq-float-related-info{grid-column:2!important;grid-row:1!important;min-width:0!important;display:grid!important;gap:3px!important}
  #productQuickRelated .pq-float-related-info strong{font-size:11px!important;line-height:1.15!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  #productQuickRelated .pq-float-related-info .pq-related-meta{font-size:8.9px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #productQuickRelated .pq-float-related-controls{grid-column:2!important;grid-row:2!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:8px!important;min-width:0!important}
  #productQuickRelated .pq-float-related-price{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important}
  #productQuickRelated .pq-float-related-price b{font-size:13px!important;line-height:1.05!important}
  #productQuickRelated .pq-float-related-price small{font-size:10px!important;line-height:1.05!important}
  #productQuickRelated .pq-related-stepper{width:88px!important;min-width:88px!important;max-width:88px!important;height:32px!important}
  #productQuickRelated .pq-float-related-picked{grid-column:1 / span 2!important;grid-row:3!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:18px!important;line-height:18px!important;padding:0 8px!important;justify-content:flex-end!important}

  /* 4) The swap between related and main must be visible and centred between cards. */
  .pq-swap-badge{
    width:44px!important;height:44px!important;margin:-22px 0 0 -22px!important;
    border-width:2px!important;background:rgba(255,255,255,.98)!important;
    box-shadow:0 14px 30px rgba(24,74,104,.24)!important;
  }
  .pq-swap-badge span{font-size:26px!important}
  .pq-swap-main-ghost{transform-origin:center top!important}
  .pq-swap-main-ghost.to-related{opacity:.34!important;filter:blur(1.2px)!important;transform:scale(.985)!important}
  .pq-swap-related-ghost.to-main{box-shadow:0 28px 76px rgba(35,122,170,.32)!important}
  .product-quick-sheet.pq-swap-arrived{animation:rxdeSwapArrived223 .42s ease-out both!important}
  @keyframes rxdeSwapArrived223{
    0%{transform:translateY(5px) scale(.988);box-shadow:0 12px 32px rgba(24,48,63,.16)}
    55%{transform:translateY(0) scale(1.008);box-shadow:0 0 0 4px rgba(63,156,211,.12),0 22px 52px rgba(35,122,170,.22)}
    100%{transform:none;box-shadow:0 18px 42px rgba(24,48,63,.18)}
  }

  /* 5) Order sheet: less noise, clear totals, stable controls. */
  .sheet-toolbar{padding:8px 10px!important;gap:8px!important}
  .sheet-toolbar .sheet-toolbar-left{display:flex!important;align-items:center!important;gap:8px!important}
  .sheet-toolbar .order-toolbar-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:0!important}
  .sheet-toolbar .sound-toggle{display:none!important}
  .sheet-toolbar .rate-note{font-size:10.5px!important;line-height:1.1!important;white-space:nowrap!important}
  .clear-order-label{display:none!important}
  .danger-soft{width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:10px!important}
  .order-service-story{display:none!important}
  #orderSheet .order-lines{padding-bottom:8px!important}
  #orderLines .order-num-badge:active,
  #orderLines .order-product-row.dragging,
  #orderLines .qty-stepper button:active,
  #orderLines .qty-stepper input:focus{transform:none!important;box-shadow:none!important}
  #orderLines .qty-stepper,
  #orderLines .qty-stepper *{transform:none!important;translate:none!important;scale:1!important}
  #orderSheet .sheet-footer{
    position:sticky!important;
    bottom:0!important;
    z-index:25!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    align-items:center!important;
    padding:10px!important;
    background:rgba(255,255,255,.98)!important;
    border-top:1px solid #dde7eb!important;
    box-shadow:0 -8px 20px rgba(24,48,63,.08)!important;
  }
  #orderSheet .order-summary{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"meta total" "hint hint"!important;
    align-items:end!important;
    gap:2px 8px!important;
    min-width:0!important;
  }
  #orderSheet #orderPositions{grid-area:meta!important;font-size:12px!important;line-height:1.1!important;color:#3d525a!important}
  #orderSheet #orderTotalRub{grid-area:total!important;font-size:22px!important;line-height:1!important;color:#173f57!important}
  #orderSheet #orderTotalEur{grid-area:hint!important;display:block!important;font-size:10px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#6d7f87!important}
  #orderSheet #orderTotalEur::before{content:"ⓘ ";font-weight:700;color:#496774}
  #orderSheet .order-footer-note{display:none!important}
  #orderSheet .primary-action{min-width:164px!important;max-width:164px!important;width:164px!important;min-height:52px!important;padding:8px 10px!important}
  #orderSheet .primary-action small{font-size:9px!important;line-height:1.15!important}
}


/* ===== V1.224 mobile list experiment ===== */
@media (max-width:760px){
  /* Catalog becomes a readable one-column medicine list. */
  #productList{
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    padding:0 8px!important;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /* form badge remains in photo corner */
  #productList .form-badge{font-size:8px!important;padding:2px 5px!important}

  /* Search is primary: show compact suggestions from first letter. */
  #searchSuggest:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important}
  #searchSuggest .suggest-row{min-height:64px!important;max-height:72px!important;padding:6px 8px!important}
  #searchSuggest .suggest-photo{width:46px!important;height:46px!important;min-width:46px!important}
  #searchSuggest .suggest-stepper{display:none!important}

  /* Quick view: short main card, related collapsed by default. */
  .product-quick-sheet{max-height:none!important;overflow:visible!important;padding-bottom:18px!important}
  #productQuickBody .pq-content{align-items:start!important}
  #productQuickBody .pq-full-open{display:flex!important;min-height:42px!important;margin-top:8px!important}
  .product-quick-related-float{margin-top:7px!important}
  #productQuickRelated .pq-related-rail-head{margin:0!important}
  #productQuickRelated .pq-related-toggle{
    width:100%!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
    padding:8px 12px!important;border:1px solid #d5e2e8!important;border-radius:14px!important;background:#fff!important;color:#173f57!important;font-size:13px!important;font-weight:800!important;
  }
  #productQuickRelated .pq-related-toggle span{font-size:18px!important;transition:transform .18s ease!important}
  #productQuickRelated.mobile-related-collapsed .pq-related-toggle span{transform:rotate(-90deg)!important}
  #productQuickRelated.mobile-related-collapsed .pq-related-form-strip,
  #productQuickRelated.mobile-related-collapsed .pq-related-rail-list,
  #productQuickRelated.mobile-related-collapsed .pq-scroll-cue{display:none!important}

  /* Expanded related list uses readable compact rows, not mini-tiles. */
  #productQuickRelated .pq-related-rail-list{display:flex!important;flex-direction:column!important;gap:7px!important;margin-top:7px!important}
  #productQuickRelated .pq-float-related{
    display:grid!important;grid-template-columns:62px minmax(0,1fr) 96px!important;grid-template-rows:72px 36px!important;
    min-height:108px!important;height:108px!important;padding:7px 7px 18px!important;border-radius:16px!important;overflow:hidden!important;background:#fff!important;
  }
  #productQuickRelated .pq-float-related-thumb{grid-column:1!important;grid-row:1!important;width:62px!important;height:68px!important;min-width:62px!important}
  #productQuickRelated .pq-float-related-info{grid-column:2!important;grid-row:1!important;display:grid!important;gap:2px!important;min-width:0!important}
  #productQuickRelated .pq-float-related-info strong{font-size:11.5px!important;line-height:1.15!important}
  #productQuickRelated .pq-float-related-info .pq-related-meta{font-size:9px!important;line-height:1.15!important}
  #productQuickRelated .pq-float-related-footer{display:contents!important}
  #productQuickRelated .pq-float-related-controls{grid-column:2 / span 2!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;border-top:1px solid #d8e5eb!important;padding:3px 0 0!important}
  #productQuickRelated .pq-float-related-price{display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:5px!important;min-width:0!important}
  #productQuickRelated .pq-float-related-price b{font-size:13px!important;line-height:1!important;white-space:nowrap!important}
  #productQuickRelated .pq-float-related-price small{font-size:10px!important;line-height:1!important;white-space:nowrap!important}
  #productQuickRelated .pq-related-stepper{width:92px!important;min-width:92px!important;max-width:92px!important;height:32px!important}
  #productQuickRelated .pq-float-related-picked{height:18px!important;line-height:18px!important;font-size:9px!important}

  /* Keep the swap unmistakable on mobile. */
  .pq-swap-badge{width:48px!important;height:48px!important;margin:-24px 0 0 -24px!important}
  .pq-swap-badge span{font-size:28px!important}
  .pq-swap-main-ghost,.pq-swap-related-ghost{transition-duration:.62s!important}
  .pq-swap-main-ghost.to-related{opacity:.22!important;filter:blur(1.6px)!important;transform:scale(.94)!important}
  .pq-swap-related-ghost.to-main{transform:scale(1.02)!important}
}


/* ===== V1.225 cache-proof mobile list reinforcement ===== */
@media (max-width:900px){
  #productList{display:flex!important;flex-direction:column!important;gap:7px!important;padding:0 8px!important}
  
  
  
  
  
  
  
  
  

  /* force quick-view related collapse/list rules at phone/tablet CSS widths too */
  #productQuickRelated.mobile-related-collapsed .pq-related-form-strip,
  #productQuickRelated.mobile-related-collapsed .pq-related-rail-list,
  #productQuickRelated.mobile-related-collapsed .pq-scroll-cue{display:none!important}
}


/* ===== V1.226 mobile device-detected layout =====
   Do not rely only on CSS viewport width: some Android browsers expose a desktop-like layout viewport.
   The rxde-mobile-ui class is added from device/touch detection in <head>. */
@media (max-width:1180px){
  html.rxde-mobile-ui #productList{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    gap:7px!important;
    width:100%!important;
    padding:0 8px!important;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Mobile top: compact, no stretched desktop geometry. */
  html.rxde-mobile-ui .app-header{padding:8px 10px 6px!important}
  html.rxde-mobile-ui .notebook-head{
    display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;
    gap:8px!important;min-height:auto!important;padding:0!important;margin:0 0 6px!important;
  }
  html.rxde-mobile-ui .brand-copy{display:none!important}
  html.rxde-mobile-ui .status-cluster{
    display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;
    grid-template-areas:"date order" "rate rate"!important;align-items:center!important;gap:4px 8px!important;min-width:0!important;
  }
  html.rxde-mobile-ui .flip-date{grid-area:date!important;transform:none!important;min-width:42px!important;max-width:42px!important}
  html.rxde-mobile-ui .rate-stack{grid-area:rate!important;display:flex!important;justify-content:flex-end!important;gap:8px!important;min-width:0!important}
  html.rxde-mobile-ui .desktop-order-dock{grid-area:order!important;justify-self:end!important;min-width:134px!important;max-width:134px!important}
  html.rxde-mobile-ui .search-main-field{min-height:48px!important;border-radius:16px!important}
  html.rxde-mobile-ui .flow-nav{padding:5px 10px 7px!important;min-height:auto!important}
  html.rxde-mobile-ui .flow-nav-main .flow-back,
  html.rxde-mobile-ui .flow-nav-main .mobile-recent-trail,
  html.rxde-mobile-ui .flow-nav-main .flow-context-meta,
  html.rxde-mobile-ui .flow-nav-main .flow-history-wrap{display:none!important}
}


/* ===== V1.227 MOBILE PHARMACY ROWS =====
   Mobile-only dense pharmacy catalogue. Desktop cards remain unchanged. */
.m-product-row{display:none}

@media (max-width:1180px){
  html.rxde-mobile-ui body{overflow-x:hidden!important}

  /* Mobile header: one status row, search row, category row. */
  html.rxde-mobile-ui .app-header{padding:6px 8px 5px!important}
  html.rxde-mobile-ui .notebook-head{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    min-height:44px!important;
    margin:0 0 5px!important;
    padding:0!important;
  }
  html.rxde-mobile-ui .brand-cluster{min-width:0!important}
  html.rxde-mobile-ui .brand{transform:none!important}
  html.rxde-mobile-ui .brand-rx{width:36px!important;height:36px!important;min-width:36px!important;font-size:13px!important;border-radius:6px!important}
  html.rxde-mobile-ui .brand-de{font-size:18px!important;line-height:36px!important}
  html.rxde-mobile-ui .brand-copy{display:none!important}
  html.rxde-mobile-ui .status-cluster{
    display:grid!important;
    grid-template-columns:minmax(70px,1fr) minmax(128px,142px)!important;
    grid-template-areas:"rate order"!important;
    align-items:center!important;
    justify-content:end!important;
    gap:8px!important;
    min-width:0!important;
  }
  html.rxde-mobile-ui .flip-date{display:none!important}
  html.rxde-mobile-ui .rate-stack{
    grid-area:rate!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    min-width:0!important;
    padding:0!important;
    border:0!important;
  }
  html.rxde-mobile-ui .rate-stack>div:first-child{display:flex!important;align-items:baseline!important;gap:5px!important;min-width:0!important}
  html.rxde-mobile-ui .rate-stack>div:first-child span{display:none!important}
  html.rxde-mobile-ui .rate-stack>div:first-child strong{font-size:12px!important;line-height:1!important;white-space:nowrap!important;color:#52666f!important}
  html.rxde-mobile-ui .rate-stack>div:nth-child(2){display:none!important}
  html.rxde-mobile-ui .desktop-order-dock{
    grid-area:order!important;
    position:relative!important;
    justify-self:end!important;
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    align-items:center!important;
    gap:7px!important;
    width:138px!important;min-width:138px!important;max-width:138px!important;
    min-height:40px!important;
    padding:5px 8px!important;
    border:1px solid #b9dac8!important;
    border-radius:14px!important;
    background:#f8fffb!important;
    box-shadow:none!important;
  }
  html.rxde-mobile-ui .desktop-order-dock .order-list-mark{width:22px!important;height:22px!important}
  html.rxde-mobile-ui .desktop-order-dock .order-status-copy{min-width:0!important}
  html.rxde-mobile-ui .desktop-order-dock .order-status-meta{font-size:9.5px!important;line-height:1.05!important;white-space:nowrap!important}
  html.rxde-mobile-ui .desktop-order-dock .order-status-total{font-size:13px!important;line-height:1.05!important;white-space:nowrap!important}
  html.rxde-mobile-ui .desktop-order-dock .desktop-order-send{display:none!important}

  html.rxde-mobile-ui .search-stage{margin-top:0!important}
  html.rxde-mobile-ui .search-wrap{margin:0!important}
  html.rxde-mobile-ui .search-main-field{height:48px!important;min-height:48px!important;border-radius:15px!important}
  html.rxde-mobile-ui .search-input{font-size:15px!important;line-height:48px!important;padding-right:42px!important}

  html.rxde-mobile-ui .flow-nav{padding:4px 8px 5px!important;min-height:auto!important;background:#fff!important}
  html.rxde-mobile-ui .flow-nav-main{display:none!important}
  html.rxde-mobile-ui .flow-nav-second-row{display:block!important;margin:0!important}
  html.rxde-mobile-ui #categoryStrip{
    position:relative!important;
    display:flex!important;
    gap:5px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 24px 1px 0!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html.rxde-mobile-ui #categoryStrip::-webkit-scrollbar{display:none!important}
  html.rxde-mobile-ui #categoryStrip::after{
    content:"›"!important;
    position:sticky!important;
    right:0!important;
    flex:0 0 20px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    height:30px!important;
    margin:0!important;
    padding:0 3px 0 8px!important;
    font-size:22px!important;
    font-weight:800!important;
    color:#5a7c8b!important;
    background:linear-gradient(90deg,rgba(255,255,255,0),#fff 45%)!important;
    pointer-events:none!important;
  }
  html.rxde-mobile-ui #categoryStrip .category-tab{flex:0 0 auto!important;min-height:30px!important;padding:5px 11px!important;font-size:11px!important;line-height:18px!important}

  /* Catalogue itself: one item = compact two-line pharmacy row. */
  html.rxde-mobile-ui #productList{
    display:flex!important;
    flex-direction:column!important;
    gap:5px!important;
    width:100%!important;
    padding:5px 8px 10px!important;
  }
  
  
  
  html.rxde-mobile-ui #productList .m-product-row{
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr) 94px!important;
    grid-template-rows:38px 38px!important;
    column-gap:7px!important;
    width:100%!important;
    height:76px!important;
    padding:1px 6px!important;
    align-items:center!important;
  }
  html.rxde-mobile-ui #productList .m-product-photo{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:44px!important;height:44px!important;
    min-width:44px!important;min-height:44px!important;
    padding:3px!important;
    margin:0!important;
    border:1px solid #e1e9ed!important;
    border-radius:8px!important;
    background:#fff!important;
    overflow:hidden!important;
    cursor:zoom-in!important;
  }
  html.rxde-mobile-ui #productList .m-product-photo img{display:block!important;max-width:38px!important;max-height:38px!important;object-fit:contain!important}
  html.rxde-mobile-ui #productList .m-product-photo.image-missing::after{
    content:"RxDe";
    font-size:11px;font-weight:800;color:#aebbc1;
  }
  html.rxde-mobile-ui #productList .m-product-title{
    grid-column:2!important;grid-row:1!important;
    align-self:end!important;
    display:flex!important;align-items:flex-start!important;gap:5px!important;
    min-width:0!important;
    padding:0 0 2px!important;
    font-size:12.5px!important;line-height:15px!important;font-weight:850!important;color:#173b52!important;
    cursor:pointer!important;
  }
  html.rxde-mobile-ui #productList .m-product-title>span:first-child{
    display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
    overflow:hidden!important;white-space:normal!important;min-width:0!important;
  }
  html.rxde-mobile-ui #productList .m-product-title .rx-badge{flex:0 0 auto!important;margin-top:0!important;font-size:8px!important;line-height:16px!important;height:18px!important;padding:0 4px!important}
  html.rxde-mobile-ui #productList .m-product-price{
    grid-column:3!important;grid-row:1!important;
    align-self:end!important;
    display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-end!important;
    min-width:0!important;padding-bottom:2px!important;
  }
  html.rxde-mobile-ui #productList .m-product-price strong{font-size:13.5px!important;line-height:15px!important;font-weight:900!important;color:#103f61!important;white-space:nowrap!important}
  html.rxde-mobile-ui #productList .m-product-price small{font-size:9px!important;line-height:11px!important;color:#8999a1!important;white-space:nowrap!important}
  html.rxde-mobile-ui #productList .m-product-meta{
    grid-column:2!important;grid-row:2!important;
    align-self:start!important;
    min-width:0!important;
    padding-top:3px!important;
    font-size:9.3px!important;line-height:13px!important;color:#7b898f!important;font-weight:560!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
    cursor:pointer!important;
  }
  html.rxde-mobile-ui #productList .m-product-action{
    grid-column:3!important;grid-row:2!important;
    display:flex!important;align-items:flex-start!important;justify-content:flex-end!important;
    padding-top:3px!important;
  }
  html.rxde-mobile-ui #productList .m-product-add{
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-width:42px!important;height:30px!important;
    padding:0 10px!important;
    border:1px solid #2f7fbf!important;border-radius:9px!important;
    background:#2f7fbf!important;color:#fff!important;
    font-size:14px!important;line-height:30px!important;font-weight:850!important;
    box-shadow:none!important;transform:none!important;
  }
  html.rxde-mobile-ui #productList .m-product-add.in-cart{
    min-width:62px!important;
    border-color:#6bb589!important;background:#f3fff8!important;color:#26734a!important;
    font-size:11px!important;
  }
  html.rxde-mobile-ui #productList .m-product-add:hover,
  html.rxde-mobile-ui #productList .m-product-add:active,
  html.rxde-mobile-ui #productList .m-product-add:focus{transform:none!important;box-shadow:0 0 0 2px rgba(47,127,191,.12)!important}

  /* Reduce category hero on mobile to preserve vertical space. */
  html.rxde-mobile-ui #catalogHero:not([hidden]){height:30px!important;min-height:30px!important;max-height:30px!important;margin:0 8px 4px!important;border-radius:10px!important;overflow:hidden!important}
  html.rxde-mobile-ui #catalogHero .catalog-hero-copy{padding:3px 8px!important}
  html.rxde-mobile-ui #catalogHero h1{font-size:11px!important;line-height:12px!important;margin:0!important}
  html.rxde-mobile-ui #catalogHero p{font-size:8px!important;line-height:9px!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

  /* Quick view stays as short verification layer; related are a collapsed filter-like section. */
  html.rxde-mobile-ui .product-quick-backdrop{padding:8px!important;align-items:flex-start!important;overflow:auto!important}
  html.rxde-mobile-ui .product-quick-sheet{width:100%!important;max-height:none!important;margin-top:6px!important;padding:12px!important;border-radius:18px!important;overflow:visible!important}
  html.rxde-mobile-ui #productQuickBody{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:10px!important}
  html.rxde-mobile-ui #productQuickBody .pq-photo{grid-column:1!important;grid-row:1!important;width:88px!important;height:88px!important;min-height:88px!important;padding:5px!important}
  html.rxde-mobile-ui #productQuickBody .pq-main{grid-column:2!important;grid-row:1!important;min-width:0!important}
  html.rxde-mobile-ui #productQuickBody .pq-title-row{gap:5px!important;margin-bottom:5px!important}
  html.rxde-mobile-ui #productQuickBody h2{font-size:16px!important;line-height:19px!important;margin:0!important}
  html.rxde-mobile-ui #productQuickBody .pq-meta{font-size:10px!important;line-height:14px!important;max-height:58px!important;overflow:hidden!important}
  html.rxde-mobile-ui #productQuickBody .pq-actions{margin-top:6px!important}
  html.rxde-mobile-ui #productQuickBody .pq-full-open{min-height:34px!important;padding:6px 9px!important;font-size:10px!important;border-radius:10px!important}
  html.rxde-mobile-ui #productQuickBody .pq-footer{grid-column:1 / span 2!important;grid-row:2!important;margin-top:4px!important}
  html.rxde-mobile-ui #productQuickBody .pq-bottom{min-height:46px!important;padding-top:5px!important;border-top:1px solid #d9e4e9!important}

  html.rxde-mobile-ui #productQuickRelated{
    position:relative!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;
    margin:6px 0 0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
  }
  html.rxde-mobile-ui #productQuickRelated .pq-related-rail-head{margin:0!important}
  html.rxde-mobile-ui #productQuickRelated .pq-related-toggle{
    width:auto!important;min-height:36px!important;padding:7px 12px!important;border:1px solid #c9dce5!important;border-radius:11px!important;
    background:#fff!important;color:#173f57!important;font-size:12px!important;font-weight:800!important;
  }
  html.rxde-mobile-ui #productQuickRelated.mobile-related-collapsed .pq-related-form-strip,
  html.rxde-mobile-ui #productQuickRelated.mobile-related-collapsed .pq-related-rail-list,
  html.rxde-mobile-ui #productQuickRelated.mobile-related-collapsed .pq-scroll-cue{display:none!important}
  html.rxde-mobile-ui #productQuickRelated:not(.mobile-related-collapsed) .pq-related-form-strip{
    display:flex!important;gap:5px!important;overflow-x:auto!important;padding:5px 0!important;scrollbar-width:none!important;
  }
  html.rxde-mobile-ui #productQuickRelated:not(.mobile-related-collapsed) .pq-related-rail-list{
    display:flex!important;flex-direction:column!important;gap:5px!important;max-height:none!important;overflow:visible!important;padding:0!important;
  }
  html.rxde-mobile-ui #productQuickRelated .pq-float-related{
    display:grid!important;grid-template-columns:46px minmax(0,1fr) 90px!important;grid-template-rows:34px 30px!important;
    gap:0 7px!important;min-height:68px!important;height:68px!important;padding:2px 6px!important;border:1px solid #d5e3e9!important;border-radius:11px!important;background:#fff!important;overflow:hidden!important;
  }
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-thumb{grid-column:1!important;grid-row:1 / span 2!important;width:42px!important;height:42px!important;align-self:center!important;padding:2px!important}
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-info{grid-column:2!important;grid-row:1 / span 2!important;display:block!important;min-width:0!important;padding:5px 0!important}
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-info strong{display:block!important;font-size:11px!important;line-height:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-bottom:4px!important}
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-info .pq-related-meta{display:none!important}
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-info .pq-related-meta:nth-of-type(2),
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-info .pq-related-meta:last-child{display:block!important;font-size:8.5px!important;line-height:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-footer{grid-column:3!important;grid-row:1 / span 2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;min-width:0!important}
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-controls{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:3px!important}
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-price b{font-size:11px!important;line-height:12px!important;white-space:nowrap!important}
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-price small{font-size:8px!important;line-height:9px!important;white-space:nowrap!important}
  html.rxde-mobile-ui #productQuickRelated .pq-related-stepper{display:none!important}
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-controls::after{content:"Открыть ›";font-size:9px;font-weight:800;color:#2f7fbf;white-space:nowrap}
  html.rxde-mobile-ui #productQuickRelated .pq-float-related-picked{display:none!important}
  html.rxde-mobile-ui #productQuickRelated .pq-scroll-cue{display:none!important}

  /* Mobile search suggestions: compact rows from first letter. */
  html.rxde-mobile-ui .search-suggest{max-height:48vh!important;overflow:auto!important;border-radius:12px!important}
  html.rxde-mobile-ui .suggest-card{min-height:58px!important;max-height:58px!important;padding:5px 7px!important}
}


/* ======================================================================
   V1.228 — MOBILE NATIVE TEMPLATE
   The mobile catalogue no longer uses desktop r2-card geometry at all.
   ====================================================================== */
html.rxde-mobile-ui #productList{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
}
html.rxde-mobile-ui #productList > .mn-product{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr) 94px!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  row-gap:3px!important;
  align-items:center!important;
  width:100%!important;
  min-height:76px!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:8px 10px!important;
  border:0!important;
  border-bottom:1px solid #dbe5e9!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
  transform:none!important;
}
html.rxde-mobile-ui #productList > .mn-product:first-child{border-top:1px solid #dbe5e9!important}
html.rxde-mobile-ui #productList > .mn-product.selected{background:#fbfefd!important}
html.rxde-mobile-ui #productList > .mn-product:hover,
html.rxde-mobile-ui #productList > .mn-product:focus-within{transform:none!important;box-shadow:none!important}
html.rxde-mobile-ui .mn-photo{
  grid-column:1!important;grid-row:1 / span 2!important;
  width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;
  display:grid!important;place-items:center!important;
  border:1px solid #e1e8eb!important;border-radius:10px!important;background:#fff!important;
  overflow:hidden!important;cursor:zoom-in!important;
}
html.rxde-mobile-ui .mn-photo img{display:block!important;max-width:48px!important;max-height:48px!important;width:auto!important;height:auto!important;object-fit:contain!important}
html.rxde-mobile-ui .mn-photo .rxde-placeholder{width:100%!important;height:100%!important;border:0!important}
html.rxde-mobile-ui .mn-main{grid-column:2!important;grid-row:1 / span 2!important;min-width:0!important;align-self:center!important;display:grid!important;gap:6px!important}
html.rxde-mobile-ui .mn-title-row{display:flex!important;align-items:flex-start!important;gap:5px!important;min-width:0!important}
html.rxde-mobile-ui .mn-title{
  min-width:0!important;font-size:14px!important;line-height:17px!important;font-weight:800!important;color:#173f57!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;cursor:pointer!important;
}
html.rxde-mobile-ui .mn-rx{flex:0 0 auto!important;font-size:9px!important;padding:1px 4px!important;margin-top:1px!important}
html.rxde-mobile-ui .mn-meta{
  min-width:0!important;font-size:10.5px!important;line-height:13px!important;font-weight:500!important;color:#78888e!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
html.rxde-mobile-ui .mn-commerce{
  grid-column:3!important;grid-row:1 / span 2!important;
  display:grid!important;grid-template-rows:auto 38px!important;gap:7px!important;justify-items:end!important;align-self:center!important;
  min-width:0!important;
}
html.rxde-mobile-ui .mn-price{display:flex!important;flex-direction:column!important;align-items:flex-end!important;min-width:0!important}
html.rxde-mobile-ui .mn-price strong{font-size:15px!important;line-height:17px!important;font-weight:850!important;color:#173f57!important;white-space:nowrap!important}
html.rxde-mobile-ui .mn-price small{font-size:10px!important;line-height:12px!important;color:#7e8d92!important;white-space:nowrap!important}
html.rxde-mobile-ui .mn-action{
  width:44px!important;min-width:44px!important;height:38px!important;min-height:38px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;
  padding:0 7px!important;border:1px solid #2486c5!important;border-radius:11px!important;background:#2e88c9!important;color:#fff!important;
  font-size:20px!important;line-height:1!important;font-weight:850!important;box-shadow:none!important;transform:none!important;
}
html.rxde-mobile-ui .mn-action.in-cart{width:70px!important;min-width:70px!important;background:#f3fbf7!important;color:#19734c!important;border-color:#5eb187!important;font-size:14px!important}
html.rxde-mobile-ui .mn-action.in-cart b{font-size:14px!important}

/* Mobile catalogue chrome: clean three-level hierarchy. */
html.rxde-mobile-ui .catalog-main{padding-top:0!important}
html.rxde-mobile-ui .catalog-hero{margin:0!important;border-radius:0!important;min-height:34px!important;height:34px!important}
html.rxde-mobile-ui .catalog-hero-copy{padding:3px 10px!important}
html.rxde-mobile-ui .catalog-hero h1{font-size:12px!important;line-height:13px!important;margin:0!important}
html.rxde-mobile-ui .catalog-hero p{font-size:9px!important;line-height:10px!important;margin:1px 0 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html.rxde-mobile-ui #catalogToolbar{min-height:0!important;margin:0!important;padding:0!important}
html.rxde-mobile-ui #catalogCount{display:none!important}

/* True native mobile quick-view. */
html.rxde-mobile-ui .product-quick-backdrop{padding:8px!important;align-items:flex-start!important;overflow:auto!important}
html.rxde-mobile-ui .product-quick-sheet{
  width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;
  margin:10vh 0 0!important;padding:0!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;
}
html.rxde-mobile-ui #productQuickBody{display:block!important;padding:0!important}
html.rxde-mobile-ui .mnq-card{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;grid-template-rows:auto auto 18px!important;gap:10px!important;padding:14px 14px 0!important}
html.rxde-mobile-ui .mnq-photo{grid-column:1!important;grid-row:1!important;width:92px!important;height:92px!important;display:grid!important;place-items:center!important;border:1px solid #e0e8eb!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important;cursor:zoom-in!important}
html.rxde-mobile-ui .mnq-photo img{max-width:88px!important;max-height:88px!important;object-fit:contain!important}
html.rxde-mobile-ui .mnq-info{grid-column:2!important;grid-row:1!important;min-width:0!important;display:grid!important;gap:8px!important}
html.rxde-mobile-ui .mnq-title-row{display:flex!important;align-items:flex-start!important;gap:6px!important;min-width:0!important}
html.rxde-mobile-ui .mnq-title-row h2{margin:0!important;font-size:17px!important;line-height:20px!important;color:#173f57!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
html.rxde-mobile-ui .mnq-properties{display:grid!important;gap:2px!important}
html.rxde-mobile-ui .mnq-properties>div{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:5px!important;font-size:11px!important;line-height:14px!important;min-width:0!important}
html.rxde-mobile-ui .mnq-properties b{color:#31566a!important}
html.rxde-mobile-ui .mnq-properties span{min-width:0!important;color:#6d7e85!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html.rxde-mobile-ui .mnq-full{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:34px!important;padding:6px 9px!important;border:1px solid #9fcce4!important;border-radius:10px!important;background:#f6fbfe!important;color:#1e6994!important;text-decoration:none!important;font-size:11px!important;font-weight:750!important}
html.rxde-mobile-ui .mnq-commerce{grid-column:1 / span 2!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 0 8px!important;border-top:1px solid #dbe5e9!important}
html.rxde-mobile-ui .mnq-price{display:flex!important;flex-direction:column!important;align-items:flex-start!important}
html.rxde-mobile-ui .mnq-price strong{font-size:18px!important;line-height:20px!important;color:#173f57!important}
html.rxde-mobile-ui .mnq-price small{font-size:11px!important;color:#7a8a90!important}
html.rxde-mobile-ui .mnq-stepper{width:132px!important;min-width:132px!important;height:40px!important;grid-template-columns:40px 52px 40px!important;transform:none!important}
html.rxde-mobile-ui .mnq-stepper button,html.rxde-mobile-ui .mnq-stepper input{height:39px!important;min-height:39px!important;transform:none!important}
html.rxde-mobile-ui .mnq-picked{grid-column:1 / span 2!important;grid-row:3!important;height:18px!important;line-height:18px!important;margin:0 -14px!important;padding:0 12px!important;text-align:right!important;background:#fff!important;color:transparent!important;font-size:9px!important}
html.rxde-mobile-ui .mnq-picked.selected{background:#dff1fb!important;color:#173f57!important}
html.rxde-mobile-ui #productQuickRelated.product-quick-related-float{display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;margin:8px 0 0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html.rxde-mobile-ui .mn-related-search{width:100%!important;height:48px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:10px!important;padding:0 14px!important;border:1px solid #d3e1e7!important;border-radius:14px!important;background:#fff!important;color:#173f57!important;font-size:13px!important;text-align:left!important}
html.rxde-mobile-ui .mn-related-search span{font-weight:800!important}
html.rxde-mobile-ui .mn-related-search b{min-width:28px!important;height:24px!important;line-height:24px!important;text-align:center!important;border-radius:12px!important;background:#edf6fa!important;color:#2b6d91!important}
html.rxde-mobile-ui .mn-related-search i{font-style:normal!important;font-size:18px!important;color:#2b6d91!important}

/* Mobile order: stable controls, no growing/shifting stepper. */
html.rxde-mobile-ui #orderSheet .qty-stepper,html.rxde-mobile-ui #orderSheet .qty-stepper *{transform:none!important;scale:1!important;translate:none!important;animation:none!important}
html.rxde-mobile-ui #orderSheet .sheet-footer{position:sticky!important;bottom:0!important;z-index:30!important;background:#fff!important}

/* Never allow legacy mobile r2 geometry to affect native rows. */



/* ======================================================================
   V1.229 — MOBILE DIRECT ROWS
   Mobile has only two product levels: catalogue row -> full product page.
   Fixed geometry: selection never changes dimensions.
   ====================================================================== */
html.rxde-mobile-ui #productList{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  padding:0!important;
  margin:0!important;
  width:100%!important;
}
html.rxde-mobile-ui #productList > .mn-product,
html.rxde-mobile-ui #productList > .mn-product.selected,
html.rxde-mobile-ui #productList > .mn-product:hover,
html.rxde-mobile-ui #productList > .mn-product:focus-within{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 92px!important;
  grid-template-rows:34px 34px!important;
  column-gap:9px!important;
  row-gap:0!important;
  align-items:center!important;
  width:100%!important;
  height:76px!important;
  min-height:76px!important;
  max-height:76px!important;
  padding:4px 10px!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid #dce5e9!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
  transform:none!important;
}
html.rxde-mobile-ui #productList > .mn-product:first-child{border-top:1px solid #dce5e9!important}
html.rxde-mobile-ui #productList > .mn-product.selected{background:#fbfefd!important}

html.rxde-mobile-ui .mn-photo{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  align-self:center!important;
  justify-self:center!important;
  box-sizing:border-box!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  max-width:48px!important;
  max-height:48px!important;
  margin:0!important;
  padding:2px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:8px!important;
  background:#fff!important;
  overflow:hidden!important;
  cursor:zoom-in!important;
  appearance:none!important;
}
html.rxde-mobile-ui .mn-photo img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:44px!important;
  max-height:44px!important;
  object-fit:contain!important;
}
html.rxde-mobile-ui .mn-photo .rxde-placeholder{width:44px!important;height:44px!important;border-radius:8px!important}

html.rxde-mobile-ui .mn-title-slot{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  height:34px!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  overflow:hidden!important;
}
html.rxde-mobile-ui .mn-title{
  min-width:0!important;
  max-height:34px!important;
  margin:0!important;
  padding:0!important;
  color:#173f57!important;
  font-size:13.5px!important;
  line-height:16px!important;
  font-weight:820!important;
  text-decoration:none!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
html.rxde-mobile-ui .mn-rx{
  flex:0 0 auto!important;
  margin:0!important;
  padding:1px 3px!important;
  font-size:8px!important;
  line-height:12px!important;
}

html.rxde-mobile-ui .mn-price{
  grid-column:3!important;
  grid-row:1!important;
  width:92px!important;
  height:34px!important;
  min-width:92px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  overflow:visible!important;
}
html.rxde-mobile-ui .mn-price strong{font-size:14px!important;line-height:16px!important;font-weight:850!important;white-space:nowrap!important;color:#173f57!important}
html.rxde-mobile-ui .mn-price small{font-size:9px!important;line-height:11px!important;white-space:nowrap!important;color:#7b8b91!important}

html.rxde-mobile-ui .mn-meta{
  grid-column:2!important;
  grid-row:2!important;
  align-self:start!important;
  min-width:0!important;
  height:34px!important;
  max-height:34px!important;
  padding-top:2px!important;
  color:#76878d!important;
  font-size:9.5px!important;
  line-height:14px!important;
  font-weight:500!important;
  white-space:normal!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

html.rxde-mobile-ui .mn-action-slot{
  grid-column:3!important;
  grid-row:2!important;
  width:92px!important;
  height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  overflow:hidden!important;
}
html.rxde-mobile-ui .mn-action,
html.rxde-mobile-ui .mn-action.in-cart,
html.rxde-mobile-ui .mn-action:hover,
html.rxde-mobile-ui .mn-action.in-cart:hover,
html.rxde-mobile-ui .mn-action:active,
html.rxde-mobile-ui .mn-action.in-cart:active,
html.rxde-mobile-ui .mn-action:focus,
html.rxde-mobile-ui .mn-action.in-cart:focus{
  box-sizing:border-box!important;
  width:48px!important;
  min-width:48px!important;
  max-width:48px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  border-radius:10px!important;
  box-shadow:none!important;
  transform:none!important;
  scale:1!important;
  animation:none!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:850!important;
}
html.rxde-mobile-ui .mn-action{background:#2e88c9!important;color:#fff!important;border:1px solid #2486c5!important}
html.rxde-mobile-ui .mn-action.in-cart{background:#f3fbf7!important;color:#19734c!important;border:1px solid #5eb187!important}
html.rxde-mobile-ui .mn-action.in-cart span{font-size:12px!important}
html.rxde-mobile-ui .mn-action.in-cart b{font-size:12px!important;line-height:1!important}

/* Mobile no longer uses the intermediate quick-view or related-products surface. */
html.rxde-mobile-ui #productQuickBackdrop,
html.rxde-mobile-ui #productQuickRelated{display:none!important}


/* ======================================================================
   V1.230 — MOBILE ROW SYNC + THREE-LINE COMPACT BASELINE
   One product row = max 3 readable text lines: 2 title + 1 metadata.
   Selection state never changes geometry.
   ====================================================================== */
html.rxde-mobile-ui #productList > .mn-product,
html.rxde-mobile-ui #productList > .mn-product.selected,
html.rxde-mobile-ui #productList > .mn-product:hover,
html.rxde-mobile-ui #productList > .mn-product:focus-within{
  grid-template-columns:42px minmax(0,1fr) 86px!important;
  grid-template-rows:31px 23px!important;
  column-gap:8px!important;
  width:100%!important;
  height:62px!important;
  min-height:62px!important;
  max-height:62px!important;
  padding:4px 8px!important;
  overflow:hidden!important;
}
html.rxde-mobile-ui .mn-photo{
  width:42px!important;height:42px!important;
  min-width:42px!important;min-height:42px!important;
  max-width:42px!important;max-height:42px!important;
  padding:1px!important;border-radius:7px!important;
}
html.rxde-mobile-ui .mn-photo img{max-width:40px!important;max-height:40px!important}
html.rxde-mobile-ui .mn-photo .rxde-placeholder{width:40px!important;height:40px!important}
html.rxde-mobile-ui .mn-title-slot{
  height:31px!important;
  gap:4px!important;
  align-items:center!important;
}
html.rxde-mobile-ui .mn-title{
  max-height:31px!important;
  font-size:12.5px!important;
  line-height:14.5px!important;
  -webkit-line-clamp:2!important;
}
html.rxde-mobile-ui .mn-rx{font-size:7.5px!important;line-height:11px!important;padding:0 3px!important}
html.rxde-mobile-ui .mn-price{
  width:86px!important;min-width:86px!important;height:31px!important;
}
html.rxde-mobile-ui .mn-price strong{font-size:13.5px!important;line-height:15px!important}
html.rxde-mobile-ui .mn-price small{font-size:8.5px!important;line-height:10px!important}
html.rxde-mobile-ui .mn-meta{
  height:23px!important;max-height:23px!important;
  padding-top:2px!important;
  font-size:9px!important;line-height:12px!important;
  white-space:nowrap!important;
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html.rxde-mobile-ui .mn-action-slot{
  width:86px!important;height:23px!important;
  align-items:flex-start!important;
}
html.rxde-mobile-ui .mn-action,
html.rxde-mobile-ui .mn-action.in-cart,
html.rxde-mobile-ui .mn-action:hover,
html.rxde-mobile-ui .mn-action.in-cart:hover,
html.rxde-mobile-ui .mn-action:active,
html.rxde-mobile-ui .mn-action.in-cart:active,
html.rxde-mobile-ui .mn-action:focus,
html.rxde-mobile-ui .mn-action.in-cart:focus{
  width:42px!important;min-width:42px!important;max-width:42px!important;
  height:22px!important;min-height:22px!important;max-height:22px!important;
  border-radius:8px!important;
  font-size:14px!important;
}
html.rxde-mobile-ui .mn-action.in-cart span,
html.rxde-mobile-ui .mn-action.in-cart b{font-size:10px!important}


/* ===== V1.231 MOBILE 4-LINE ROWS — authoritative native mobile row ===== */
html.rxde-mobile-ui #productList{
  display:block!important;
  width:100%!important;
  padding:0 8px 8px!important;
}
html.rxde-mobile-ui #productList > .mn-product.mn-product-v4,
html.rxde-mobile-ui #productList > .mn-product.mn-product-v4.selected,
html.rxde-mobile-ui #productList > .mn-product.mn-product-v4:hover,
html.rxde-mobile-ui #productList > .mn-product.mn-product-v4:focus-within{
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr) 88px!important;
  grid-template-rows:68px!important;
  column-gap:8px!important;
  align-items:center!important;
  width:100%!important;
  height:69px!important;
  min-height:69px!important;
  max-height:69px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid #d9e4e8!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
  transform:none!important;
}
html.rxde-mobile-ui #productList > .mn-product.mn-product-v4:first-child{
  border-top:1px solid #d9e4e8!important;
}
html.rxde-mobile-ui #productList > .mn-product.mn-product-v4.selected{
  background:#fff!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-photo{
  grid-column:1!important;
  grid-row:1!important;
  width:64px!important;
  height:64px!important;
  min-width:64px!important;
  min-height:64px!important;
  max-width:64px!important;
  max-height:64px!important;
  margin:2px!important;
  padding:2px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:8px!important;
  background:#fff!important;
  overflow:hidden!important;
  cursor:zoom-in!important;
  box-sizing:border-box!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-photo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:60px!important;
  max-height:60px!important;
  object-fit:contain!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-photo.image-missing::after{
  content:"RxDe";
  font-size:12px!important;
  font-weight:800!important;
  color:#aebbc1!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-copy{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  height:64px!important;
  display:grid!important;
  grid-template-rows:repeat(4,16px)!important;
  align-content:center!important;
  overflow:hidden!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-line{
  min-width:0!important;
  height:16px!important;
  line-height:16px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  margin:0!important;
  padding:0!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-line-name{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  color:#173f57!important;
  font-size:12.5px!important;
  font-weight:850!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-title{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#173f57!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-rx{
  flex:0 0 auto!important;
  height:15px!important;
  line-height:13px!important;
  padding:0 3px!important;
  font-size:7px!important;
  margin:0!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-line-med,
html.rxde-mobile-ui .mn-product-v4 .mn-line-maker,
html.rxde-mobile-ui .mn-product-v4 .mn-line-pzn{
  color:#73858d!important;
  font-size:9.4px!important;
  font-weight:560!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-line-pzn{
  color:#657a84!important;
  font-weight:680!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-commerce{
  grid-column:3!important;
  grid-row:1!important;
  width:88px!important;
  height:64px!important;
  display:grid!important;
  grid-template-rows:31px 33px!important;
  align-items:center!important;
  justify-items:end!important;
  overflow:hidden!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-price{
  align-self:center!important;
  justify-self:end!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  width:88px!important;
  height:31px!important;
  margin:0!important;
  padding:0 2px 0 0!important;
  overflow:visible!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-price strong{
  font-size:14px!important;
  line-height:15px!important;
  font-weight:900!important;
  white-space:nowrap!important;
  color:#123f5e!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-price small{
  font-size:8.5px!important;
  line-height:10px!important;
  white-space:nowrap!important;
  color:#85969d!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-action-slot{
  width:88px!important;
  height:33px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  margin:0!important;
  padding:0 2px 1px 0!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-action,
html.rxde-mobile-ui .mn-product-v4 .mn-action.in-cart,
html.rxde-mobile-ui .mn-product-v4 .mn-action:hover,
html.rxde-mobile-ui .mn-product-v4 .mn-action.in-cart:hover,
html.rxde-mobile-ui .mn-product-v4 .mn-action:active,
html.rxde-mobile-ui .mn-product-v4 .mn-action.in-cart:active,
html.rxde-mobile-ui .mn-product-v4 .mn-action:focus,
html.rxde-mobile-ui .mn-product-v4 .mn-action.in-cart:focus{
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:0!important;
  padding:0!important;
  border-radius:9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  transform:none!important;
  box-shadow:none!important;
  font-size:15px!important;
  line-height:1!important;
  box-sizing:border-box!important;
}
html.rxde-mobile-ui .mn-product-v4 .mn-action{background:#2f88c9!important;color:#fff!important;border:1px solid #2f88c9!important}
html.rxde-mobile-ui .mn-product-v4 .mn-action.in-cart{background:#f3fbf7!important;color:#19734c!important;border:1px solid #5eb187!important}
html.rxde-mobile-ui .mn-product-v4 .mn-action.in-cart span,
html.rxde-mobile-ui .mn-product-v4 .mn-action.in-cart b{font-size:11px!important;line-height:1!important}

/* No legacy PDF / quick-view affordance in native mobile rows. */



/* ==========================================================================\n   V2.02 — MOBILE CARD REFLOW\n   Desktop V1.231 physics remain untouched. On mobile the same r2-card renderer\n   is reflowed vertically so two cards fit per row without squeezing the copy.\n   ========================================================================== */
html.rxde-mobile-ui #productList.product-list,
html.rxde-mobile-ui #productList{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  align-items:stretch!important;
  width:100%!important;
  padding:0 7px 9px!important;
  box-sizing:border-box!important;
}

html.rxde-mobile-ui #productList .m-product-row,
html.rxde-mobile-ui #productList .mn-product{display:none!important}





/* 1. Photo: its own full-width row, never a side column. */




/* 2. Copy: full card width, fixed internal rhythm. */












/* 3. Commerce row: price + stepper always share one line. */











/* Mobile cards must never jump or morph on selection/hover. */


/* Category navigation scrolls with the content. */
html.rxde-mobile-ui body.mobile-flow-fixed #flowNav,
html.rxde-mobile-ui body.mobile-flow-fixed #categoryStrip,
html.rxde-mobile-ui #flowNav,
html.rxde-mobile-ui #categoryStrip{
  position:static!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  z-index:auto!important;
}
html.rxde-mobile-ui body.mobile-flow-fixed #desktopOrderDock{
  position:static!important;
  top:auto!important;
  right:auto!important;
}

@media (max-width:390px){
  html.rxde-mobile-ui #productList{gap:5px!important;padding-left:5px!important;padding-right:5px!important}
  
  
  
  
  
  
  
}

/* ==========================================================================\n   V2.03 — MOBILE FIXED CARDS + SMART COMPACT HEADER\n   Desktop remains untouched.\n   ========================================================================== */
@media (max-width:760px){
  html.rxde-mobile-ui{--m-head-h:54px}
  html.rxde-mobile-ui .sticky-stack{padding-top:var(--m-head-h)!important}
  html.rxde-mobile-ui #appHeader{
    position:fixed!important;
    top:0!important;left:0!important;right:0!important;
    z-index:1200!important;
    height:var(--m-head-h)!important;
    min-height:var(--m-head-h)!important;
    max-height:var(--m-head-h)!important;
    margin:0!important;padding:4px 8px!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:62px minmax(0,1fr) 118px!important;
    gap:6px!important;
    align-items:center!important;
    background:rgba(255,255,255,.97)!important;
    backdrop-filter:blur(9px)!important;
    border-bottom:1px solid #dbe7ec!important;
    box-shadow:0 2px 10px rgba(28,74,94,.06)!important;
    transform:translateY(0)!important;
    transition:transform .18s ease!important;
  }
  html.rxde-mobile-ui body.mobile-header-hidden #appHeader{transform:translateY(calc(-1 * var(--m-head-h)))!important}
  html.rxde-mobile-ui body.mobile-header-force #appHeader{transform:translateY(0)!important}

  html.rxde-mobile-ui #appHeader .notebook-head{display:contents!important}
  html.rxde-mobile-ui #appHeader .brand-cluster{grid-column:1!important;min-width:0!important;margin:0!important;padding:0!important}
  html.rxde-mobile-ui #appHeader .brand-copy,
  html.rxde-mobile-ui #appHeader .rate-stack,
  html.rxde-mobile-ui #appHeader .mobile-rate-summary,
  html.rxde-mobile-ui #appHeader .flip-date{display:none!important}
  html.rxde-mobile-ui #appHeader .brand{
    width:58px!important;height:44px!important;min-width:58px!important;max-width:58px!important;
    margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important
  }
  html.rxde-mobile-ui #appHeader .brand-rx{width:29px!important;height:32px!important;line-height:30px!important;font-size:13px!important}
  html.rxde-mobile-ui #appHeader .brand-de{font-size:16px!important}

  html.rxde-mobile-ui #appHeader .search-stage{grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
  html.rxde-mobile-ui #appHeader .search-wrap,
  html.rxde-mobile-ui #appHeader .search-main-field{width:100%!important;min-width:0!important;margin:0!important}
  html.rxde-mobile-ui #appHeader .search-main-field{height:44px!important;min-height:44px!important;max-height:44px!important;border-radius:13px!important}
  html.rxde-mobile-ui #appHeader .search-input{height:42px!important;min-height:42px!important;max-height:42px!important;font-size:15px!important;padding-left:34px!important;padding-right:30px!important}
  html.rxde-mobile-ui #appHeader .search-icon{width:17px!important;height:17px!important;left:10px!important}
  html.rxde-mobile-ui #appHeader .clear-search{right:8px!important;font-size:22px!important}
  html.rxde-mobile-ui #appHeader .search-suggest{position:fixed!important;top:var(--m-head-h)!important;left:8px!important;right:8px!important;max-height:58vh!important}

  html.rxde-mobile-ui #appHeader .status-cluster{display:contents!important}
  html.rxde-mobile-ui #desktopOrderDock{
    grid-column:3!important;grid-row:1!important;
    position:static!important!important;
    width:118px!important;min-width:118px!important;max-width:118px!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    margin:0!important;padding:4px 7px!important;border-radius:13px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
    box-sizing:border-box!important;overflow:hidden!important
  }
  html.rxde-mobile-ui #desktopOrderDock .order-list-mark{width:20px!important;min-width:20px!important}
  html.rxde-mobile-ui #desktopOrderDock .order-status-copy{min-width:0!important}
  html.rxde-mobile-ui #desktopOrderDock .order-status-meta{font-size:8px!important;line-height:9px!important;white-space:nowrap!important}
  html.rxde-mobile-ui #desktopOrderDock .order-status-total{font-size:12px!important;line-height:13px!important;white-space:nowrap!important}
  html.rxde-mobile-ui #desktopOrderDock::after{display:none!important}

  /* Navigation/categories are content, never sticky. Remove the old blank navigation band. */
  html.rxde-mobile-ui #flowNav{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
  html.rxde-mobile-ui #categoryStrip,
  html.rxde-mobile-ui #subcategoryStrip{position:static!important;top:auto!important;transform:none!important}
  html.rxde-mobile-ui #categoryStrip{margin-top:2px!important;margin-bottom:2px!important}

  /* Every two-column card is exactly the same box. Internal content can clip, the box cannot grow. */
  
  
  
  
  
  
  
  
}

@media (max-width:390px){
  
  
}

/* ========================================================================== 
   V2.04 — MOBILE HEADER/CATEGORIES + ABSOLUTELY FIXED 2-COLUMN CARDS
   Desktop untouched. This block intentionally wins over all legacy mobile CSS.
   ========================================================================== */
@media (max-width:760px){
  html.rxde-mobile-ui,html.rxde-mobile-ui body{overflow-x:hidden!important}
  html.rxde-mobile-ui .paper-shell{width:100%!important;max-width:100%!important;overflow-x:hidden!important}

  /* The stack itself is NOT sticky. Only the compact service header is fixed. */
  html.rxde-mobile-ui .sticky-stack{
    position:static!important;top:auto!important;z-index:auto!important;
    width:100%!important;max-width:100%!important;
    min-height:0!important;height:auto!important;
    margin:0!important;padding:56px 0 0!important;
    box-shadow:none!important;background:transparent!important;
    overflow:visible!important;
  }

  /* One compact persistent service row: logo | search | cart. */
  html.rxde-mobile-ui #appHeader{
    position:fixed!important;top:0!important;left:0!important;right:0!important;
    z-index:2000!important;
    display:grid!important;
    grid-template-columns:58px minmax(0,1fr) 116px!important;
    grid-template-rows:48px!important;
    gap:6px!important;align-items:center!important;
    width:100vw!important;max-width:100vw!important;
    height:56px!important;min-height:56px!important;max-height:56px!important;
    margin:0!important;padding:4px 7px!important;box-sizing:border-box!important;
    background:rgba(255,255,255,.98)!important;
    border-bottom:1px solid #dce7ec!important;
    box-shadow:0 2px 9px rgba(31,72,92,.07)!important;
    transform:translateY(0)!important;transition:transform .18s ease!important;
    overflow:visible!important;
  }
  html.rxde-mobile-ui body.mobile-header-hidden #appHeader{transform:translateY(-56px)!important}
  html.rxde-mobile-ui body.mobile-header-force #appHeader{transform:translateY(0)!important}
  html.rxde-mobile-ui #appHeader .notebook-head{display:contents!important}
  html.rxde-mobile-ui #appHeader .brand-cluster{
    display:flex!important;grid-column:1!important;grid-row:1!important;
    align-items:center!important;justify-content:flex-start!important;
    width:58px!important;min-width:58px!important;max-width:58px!important;
    height:48px!important;margin:0!important;padding:0!important;overflow:visible!important
  }
  html.rxde-mobile-ui #appHeader .brand-copy,
  html.rxde-mobile-ui #appHeader .rate-stack,
  html.rxde-mobile-ui #appHeader .mobile-rate-summary,
  html.rxde-mobile-ui #appHeader .flip-date{display:none!important}
  html.rxde-mobile-ui #appHeader .brand{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;
    width:58px!important;min-width:58px!important;max-width:58px!important;height:44px!important;
    margin:0!important;padding:0!important;transform:none!important;overflow:visible!important
  }
  html.rxde-mobile-ui #appHeader .brand-rx{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:29px!important;min-width:29px!important;height:32px!important;
    border-radius:5px!important;font-size:12px!important;line-height:1!important
  }
  html.rxde-mobile-ui #appHeader .brand-de{display:block!important;font-size:16px!important;line-height:32px!important}

  html.rxde-mobile-ui #appHeader .search-stage{
    display:block!important;grid-column:2!important;grid-row:1!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;position:relative!important;z-index:2001!important
  }
  html.rxde-mobile-ui #appHeader .search-wrap,
  html.rxde-mobile-ui #appHeader .search-main-field{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
  html.rxde-mobile-ui #appHeader .search-main-field{
    height:44px!important;min-height:44px!important;max-height:44px!important;
    border-radius:14px!important;overflow:hidden!important
  }
  html.rxde-mobile-ui #appHeader .search-input{
    width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;
    padding:0 31px 0 34px!important;font-size:14px!important;line-height:42px!important;box-sizing:border-box!important
  }
  html.rxde-mobile-ui #appHeader .search-icon{left:10px!important;width:16px!important;height:16px!important}
  html.rxde-mobile-ui #appHeader .clear-search{right:5px!important;width:27px!important;height:27px!important;font-size:21px!important}
  html.rxde-mobile-ui #appHeader .search-suggest{
    position:fixed!important;left:7px!important;right:7px!important;top:58px!important;max-height:56vh!important;z-index:2400!important
  }

  html.rxde-mobile-ui #appHeader .status-cluster{display:contents!important}
  html.rxde-mobile-ui #desktopOrderDock,
  html.rxde-mobile-ui #desktopOrderDock.desktop-order-dock.order-status-standard{
    display:grid!important;grid-column:3!important;grid-row:1!important;
    grid-template-columns:19px minmax(0,1fr)!important;align-items:center!important;gap:4px!important;
    position:static!important;
    width:116px!important;min-width:116px!important;max-width:116px!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    margin:0!important;padding:4px 6px!important;box-sizing:border-box!important;
    border:1px solid #cbe2d6!important;border-radius:13px!important;background:#f8fcfa!important;overflow:hidden!important
  }
  html.rxde-mobile-ui #desktopOrderDock .order-list-mark,
  html.rxde-mobile-ui #desktopOrderDock .order-list-mark svg{width:18px!important;height:18px!important;min-width:18px!important}
  html.rxde-mobile-ui #desktopOrderDock .order-status-copy{display:block!important;min-width:0!important;overflow:hidden!important}
  html.rxde-mobile-ui #desktopOrderDock .order-status-meta{display:block!important;font-size:7.5px!important;line-height:9px!important;white-space:nowrap!important;overflow:hidden!important}
  html.rxde-mobile-ui #desktopOrderDock .order-status-total{display:block!important;font-size:11.8px!important;line-height:14px!important;white-space:nowrap!important;overflow:hidden!important}
  html.rxde-mobile-ui #desktopOrderDock::before,html.rxde-mobile-ui #desktopOrderDock::after{display:none!important;content:none!important}

  /* Categories exist at the real top of the page and scroll away normally. */
  html.rxde-mobile-ui #flowNav,
  html.rxde-mobile-ui body.mobile-flow-fixed #flowNav{
    display:block!important;position:static!important;top:auto!important;left:auto!important;right:auto!important;
    width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;padding:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;z-index:auto!important
  }
  html.rxde-mobile-ui #flowNav .flow-nav-rings,
  html.rxde-mobile-ui #flowNav .flow-nav-main{display:none!important}
  html.rxde-mobile-ui #flowNav .flow-nav-second-row{display:block!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
  html.rxde-mobile-ui #categoryStrip,
  html.rxde-mobile-ui body.mobile-flow-fixed #categoryStrip{
    display:flex!important;position:relative!important;top:auto!important;left:auto!important;right:auto!important;
    width:100%!important;max-width:100%!important;height:auto!important;min-height:34px!important;
    margin:1px 0 4px!important;padding:0 7px!important;box-sizing:border-box!important;
    overflow-x:auto!important;overflow-y:hidden!important;z-index:auto!important;transform:none!important
  }
  html.rxde-mobile-ui #subcategoryStrip{position:static!important;top:auto!important;transform:none!important}

  /* No legacy mobile spacer/band above content. */
  html.rxde-mobile-ui .workspace{margin-top:0!important;padding-top:0!important}

  /* Two columns; every grid track and every card is EXACTLY the same height. */
  html.rxde-mobile-ui #productList.product-list,
  html.rxde-mobile-ui #productList{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:226px!important;align-items:start!important;align-content:start!important;
    gap:6px!important;width:100%!important;margin:0!important;padding:0 7px 9px!important;box-sizing:border-box!important
  }
  
  /* Old handwritten xN marker is redundant and must not affect the card visually. */
  

  
  
  
  
  
  
  
  
}

@media (max-width:390px){
  html.rxde-mobile-ui #productList.product-list,
  html.rxde-mobile-ui #productList{grid-auto-rows:220px!important;gap:5px!important;padding-left:5px!important;padding-right:5px!important}
  
  
  
}

/* ========================================================================== 
   V2.05 — MOBILE FIXED GEOMETRY + FLOATING LOGO/SEARCH/CART BAR
   Desktop is intentionally untouched.
   ========================================================================== */
@media (max-width:760px){
  html.rxde-mobile-ui{--m-head-h:52px!important}
  html.rxde-mobile-ui body{overflow-x:hidden!important}
  html.rxde-mobile-ui .sticky-stack{
    padding-top:var(--m-head-h)!important;
    margin:0!important;
  }

  /* One clean utility row: RXDE | search | order summary. */
  html.rxde-mobile-ui #appHeader,
  html.rxde-mobile-ui body.mobile-header-visible #appHeader,
  html.rxde-mobile-ui body.mobile-header-force #appHeader{
    position:fixed!important;
    inset:0 0 auto 0!important;
    z-index:3000!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 36px 96px!important;
    grid-template-rows:52px!important;
    align-items:center!important;
    gap:4px!important;
    width:100%!important;
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
    margin:0!important;
    padding:4px 6px!important;
    box-sizing:border-box!important;
    background:rgba(255,255,255,.98)!important;
    border:0!important;
    border-bottom:1px solid #dbe6ea!important;
    box-shadow:0 2px 9px rgba(28,74,94,.07)!important;
    backdrop-filter:blur(10px)!important;
    transform:translateY(0)!important;
    transition:transform .14s ease!important;
    overflow:visible!important;
  }
  html.rxde-mobile-ui body.mobile-header-hidden #appHeader{
    transform:translateY(calc(-1 * var(--m-head-h)))!important;
  }
  html.rxde-mobile-ui #appHeader .notebook-head{display:contents!important}
  html.rxde-mobile-ui #appHeader .brand-cluster{
    display:block!important;grid-column:1!important;grid-row:1!important;
    width:56px!important;min-width:56px!important;max-width:56px!important;
    height:44px!important;margin:0!important;padding:0!important;overflow:hidden!important
  }
  html.rxde-mobile-ui #appHeader .brand-copy,
  html.rxde-mobile-ui #appHeader .rate-stack,
  html.rxde-mobile-ui #appHeader .mobile-rate-summary,
  html.rxde-mobile-ui #appHeader .flip-date{display:none!important}
  html.rxde-mobile-ui #appHeader .brand{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;
    width:56px!important;min-width:56px!important;max-width:56px!important;height:44px!important;
    margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important
  }
  html.rxde-mobile-ui #appHeader .brand-rx{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:30px!important;height:34px!important;min-width:30px!important;border-radius:7px!important;
    font-size:13px!important;line-height:1!important
  }
  html.rxde-mobile-ui #appHeader .brand-de{display:block!important;font-size:15px!important;line-height:34px!important}

  html.rxde-mobile-ui #appHeader .search-stage{
    display:block!important;grid-column:2!important;grid-row:1!important;
    width:100%!important;min-width:0!important;height:44px!important;margin:0!important;padding:0!important;position:relative!important
  }
  html.rxde-mobile-ui #appHeader .search-wrap,
  html.rxde-mobile-ui #appHeader .search-main-field{
    width:100%!important;min-width:0!important;max-width:none!important;height:44px!important;min-height:44px!important;max-height:44px!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important
  }
  html.rxde-mobile-ui #appHeader .search-main-field{
    position:relative!important;border-radius:13px!important;background:#fff!important;overflow:hidden!important
  }
  html.rxde-mobile-ui #appHeader .search-input{
    width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;
    margin:0!important;padding:0 30px 0 34px!important;box-sizing:border-box!important;
    font-size:13.5px!important;line-height:42px!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important
  }
  html.rxde-mobile-ui #appHeader .search-icon{left:10px!important;width:16px!important;height:16px!important}
  html.rxde-mobile-ui #appHeader .clear-search{
    right:4px!important;top:50%!important;transform:translateY(-50%)!important;
    width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;
    padding:0!important;margin:0!important;font-size:20px!important;line-height:26px!important
  }
  html.rxde-mobile-ui #appHeader .search-suggest{
    position:fixed!important;top:52px!important;left:6px!important;right:6px!important;z-index:3400!important;max-height:56vh!important
  }

  html.rxde-mobile-ui #appHeader .status-cluster{display:contents!important}
  html.rxde-mobile-ui #desktopOrderDock,
  html.rxde-mobile-ui #desktopOrderDock.desktop-order-dock.order-status-standard{
    grid-column:3!important;grid-row:1!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    position:static!important;
    width:98px!important;min-width:98px!important;max-width:98px!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    margin:0!important;padding:3px 5px!important;box-sizing:border-box!important;
    border:1px solid #c9e2d5!important;border-radius:13px!important;background:#f8fcfa!important;
    overflow:hidden!important;box-shadow:none!important
  }
  html.rxde-mobile-ui #desktopOrderDock .order-list-mark{display:none!important}
  html.rxde-mobile-ui #desktopOrderDock .order-status-copy{
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    width:100%!important;min-width:0!important;gap:0!important;overflow:hidden!important
  }
  html.rxde-mobile-ui #desktopOrderDock .order-status-meta{
    display:block!important;width:100%!important;min-width:0!important;
    font-size:7.6px!important;line-height:10px!important;font-weight:700!important;text-align:center!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important
  }
  html.rxde-mobile-ui #desktopOrderDock .order-status-total{
    display:block!important;width:100%!important;min-width:0!important;
    font-size:12.2px!important;line-height:15px!important;text-align:center!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important
  }
  html.rxde-mobile-ui #desktopOrderDock::before,
  html.rxde-mobile-ui #desktopOrderDock::after{display:none!important;content:none!important}

  /* Category tabs belong to the page, never to the floating bar. */
  html.rxde-mobile-ui #flowNav,
  html.rxde-mobile-ui body.mobile-flow-fixed #flowNav{
    display:block!important;position:static!important;top:auto!important;left:auto!important;right:auto!important;
    width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;z-index:auto!important
  }
  html.rxde-mobile-ui #flowNav .flow-nav-rings,
  html.rxde-mobile-ui #flowNav .flow-nav-main{display:none!important}
  html.rxde-mobile-ui #flowNav .flow-nav-second-row{display:block!important;width:100%!important;margin:0!important;padding:0!important}
  html.rxde-mobile-ui #categoryStrip,
  html.rxde-mobile-ui body.mobile-flow-fixed #categoryStrip{
    display:flex!important;position:static!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;
    width:100%!important;max-width:100%!important;min-height:34px!important;height:auto!important;
    margin:0 0 4px!important;padding:0 6px!important;box-sizing:border-box!important;
    overflow-x:auto!important;overflow-y:hidden!important;z-index:auto!important
  }
  html.rxde-mobile-ui #subcategoryStrip{position:static!important;top:auto!important;transform:none!important}
  html.rxde-mobile-ui .workspace{margin-top:0!important;padding-top:0!important}

  /* Mobile catalog: fixed two-column tracks. */
  html.rxde-mobile-ui #productList.product-list,
  html.rxde-mobile-ui #productList{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:232px!important;
    align-items:stretch!important;align-content:start!important;
    gap:6px!important;width:100%!important;margin:0!important;padding:0 6px 9px!important;box-sizing:border-box!important
  }
  
  
  

  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  

  /* Always reserve the selected strip. It can change color/text, never geometry. */
  
  
  

  
}

@media (max-width:390px){
  html.rxde-mobile-ui #appHeader{grid-template-columns:52px minmax(0,1fr) 94px!important;gap:3px!important;padding-left:4px!important;padding-right:4px!important}
  html.rxde-mobile-ui #appHeader .brand-cluster,
  html.rxde-mobile-ui #appHeader .brand{width:52px!important;min-width:52px!important;max-width:52px!important}
  html.rxde-mobile-ui #desktopOrderDock,
  html.rxde-mobile-ui #desktopOrderDock.desktop-order-dock.order-status-standard{width:94px!important;min-width:94px!important;max-width:94px!important}
  html.rxde-mobile-ui #productList.product-list,
  html.rxde-mobile-ui #productList{grid-auto-rows:228px!important;gap:5px!important;padding-left:5px!important;padding-right:5px!important}
  
  
  
  
  
  
  
}


/* ========================================================================== 
   V2.06 — MOBILE TITLE LINK + CLEAN CART STRIP
   Desktop remains untouched. Card geometry remains fixed.
   ========================================================================== */
@media (max-width:760px){
  /* Exactly two title lines are reserved. Never shrink per product. */
  
  
  
  

  /* The blue cart strip reaches the physical bottom edge of a selected card. */
  
  
  
  
  
}

@media (max-width:390px){
  
}


/* ========================================================================== 
   V2.07 — MOBILE CART STEPPER + RELIABLE IDLE HEADER
   Desktop untouched.
   ========================================================================== */
@media (max-width:760px){
  /* Order-sheet qty control: the three cells must fill the whole rounded frame.
     V2.06 widened .order-qty to 132px but inherited the old 32/38/32 track widths,
     leaving a blank tail on the right. */
  html.rxde-mobile-ui #orderLines .order-static-card > .order-qty.qty-stepper{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:132px!important;max-width:132px!important;min-width:0!important;
    padding:0!important;
  }
  html.rxde-mobile-ui #orderLines .order-static-card > .order-qty.qty-stepper > button,
  html.rxde-mobile-ui #orderLines .order-static-card > .order-qty.qty-stepper > input{
    width:100%!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;
  }

  /* The service bar is a true overlay: hiding/showing it never moves cards. */
  html.rxde-mobile-ui #appHeader{
    will-change:transform!important;
    transform:translate3d(0,0,0)!important;
  }
  html.rxde-mobile-ui body.mobile-header-hidden #appHeader{
    transform:translate3d(0,-100%,0)!important;
  }
  html.rxde-mobile-ui body.mobile-header-visible #appHeader,
  html.rxde-mobile-ui body.mobile-header-force #appHeader{
    transform:translate3d(0,0,0)!important;
  }
}

@media (max-width:390px){
  html.rxde-mobile-ui #orderLines .order-static-card > .order-qty.qty-stepper{
    width:118px!important;max-width:118px!important;
  }
}

/* ========================================================================== 
   V2.08 — MOBILE SEARCH DROPDOWN ABOVE CATALOG
   Keep the compact header fixed without transform so position:fixed search
   suggestions are anchored to the viewport, not to a transformed 52px header.
   ========================================================================== */
@media (max-width:760px){
  html.rxde-mobile-ui #appHeader,
  html.rxde-mobile-ui body.mobile-header-visible #appHeader,
  html.rxde-mobile-ui body.mobile-header-force #appHeader{
    top:0!important;
    transform:none!important;
    transition:top .14s ease!important;
  }
  html.rxde-mobile-ui body.mobile-header-hidden #appHeader{
    top:calc(-1 * var(--m-head-h))!important;
    transform:none!important;
  }

  /* Suggestions are a viewport overlay directly below the service bar. */
  html.rxde-mobile-ui #appHeader #searchSuggest.search-suggest{
    position:fixed!important;
    top:var(--m-head-h)!important;
    left:6px!important;
    right:6px!important;
    width:auto!important;
    margin:0!important;
    z-index:9999!important;
    max-height:min(58dvh,520px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    background:rgba(255,255,255,.995)!important;
    box-shadow:0 14px 30px rgba(28,65,82,.18)!important;
  }
  html.rxde-mobile-ui #appHeader #searchSuggest.search-suggest[hidden]{display:none!important}

  /* While the service bar is intentionally hidden during page scroll, its
     dropdown must also leave the screen; both return as soon as scrolling stops. */
  html.rxde-mobile-ui body.mobile-header-hidden #searchSuggest.search-suggest{
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html.rxde-mobile-ui body.mobile-header-visible #searchSuggest.search-suggest,
  html.rxde-mobile-ui body.mobile-header-force #searchSuggest.search-suggest{
    visibility:visible!important;
    pointer-events:auto!important;
  }
}


/* ========================================================================== 
   V2.12 — MOBILE IDLE HEADER + CATEGORY BAND + CART TOTAL + PRICE SORT
   Final mobile overrides. Desktop remains untouched.
   ========================================================================== */
@media (max-width:760px){
  html.rxde-mobile-ui{--m-head-h:52px!important}

  /* Header is an overlay. Page geometry never changes when it appears/disappears. */
  html.rxde-mobile-ui #appHeader,
  html.rxde-mobile-ui body.mobile-header-visible #appHeader,
  html.rxde-mobile-ui body.mobile-header-force #appHeader{
    position:fixed!important;left:0!important;right:0!important;top:0!important;
    transform:none!important;transition:top .13s ease!important;z-index:5000!important;
  }
  html.rxde-mobile-ui body.mobile-header-hidden #appHeader{
    top:calc(-1 * var(--m-head-h))!important;transform:none!important;
  }

  /* Search results always live above the catalogue. */
  html.rxde-mobile-ui #appHeader #searchSuggest.search-suggest{
    position:fixed!important;top:var(--m-head-h)!important;left:6px!important;right:6px!important;
    z-index:5200!important;max-height:min(58dvh,520px)!important;overflow-y:auto!important;
    background:rgba(255,255,255,.995)!important;box-shadow:0 14px 30px rgba(28,65,82,.18)!important;
  }
  html.rxde-mobile-ui body.mobile-header-hidden #searchSuggest.search-suggest{visibility:hidden!important;pointer-events:none!important}
  html.rxde-mobile-ui body.mobile-header-visible #searchSuggest.search-suggest,
  html.rxde-mobile-ui body.mobile-header-force #searchSuggest.search-suggest{visibility:visible!important;pointer-events:auto!important}

  /* Restore the visual category band. It remains part of page content and scrolls away normally. */
  html.rxde-mobile-ui #flowNav,
  html.rxde-mobile-ui body.mobile-flow-fixed #flowNav{
    position:static!important;top:auto!important;background:#fffaf1!important;
    border-bottom:1px solid #eadbc0!important;box-shadow:0 1px 0 rgba(120,91,49,.04)!important;
  }
  html.rxde-mobile-ui #flowNav .flow-nav-second-row{
    display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:4px!important;
    align-items:center!important;width:100%!important;margin:0!important;padding:2px 4px 3px!important;
    background:linear-gradient(180deg,#fff8e9 0%,#fffdf8 100%)!important;
  }
  html.rxde-mobile-ui #categoryStrip,
  html.rxde-mobile-ui body.mobile-flow-fixed #categoryStrip{
    position:static!important;min-width:0!important;width:100%!important;margin:0!important;padding:0 22px 0 0!important;
    background:transparent!important;overflow-x:auto!important;overflow-y:hidden!important;
  }
  html.rxde-mobile-ui #categoryStrip::after{
    background:linear-gradient(90deg,rgba(255,253,248,0),#fffdf8 48%)!important;
  }
  html.rxde-mobile-ui .mobile-price-sort{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:34px!important;min-width:34px!important;max-width:34px!important;height:30px!important;min-height:30px!important;
    margin:0!important;padding:0!important;border:1px solid #d5c39e!important;border-radius:9px!important;
    background:#fff!important;color:#365c70!important;font-size:11px!important;font-weight:800!important;line-height:1!important;
    box-shadow:0 1px 2px rgba(75,61,35,.05)!important;cursor:pointer!important;
  }
  html.rxde-mobile-ui .mobile-price-sort[data-mode="price-asc"],
  html.rxde-mobile-ui .mobile-price-sort[data-mode="price-desc"]{
    background:#eef8fd!important;border-color:#8fc9e6!important;color:#18577a!important;
  }

  /* Persistent cart in the top header gets enough width for totals. */
  html.rxde-mobile-ui #appHeader{grid-template-columns:56px minmax(0,1fr) 112px!important}
  html.rxde-mobile-ui #desktopOrderDock,
  html.rxde-mobile-ui #desktopOrderDock.desktop-order-dock.order-status-standard{
    width:112px!important;min-width:112px!important;max-width:112px!important;padding-left:7px!important;padding-right:7px!important;
  }
  html.rxde-mobile-ui #desktopOrderDock .order-status-total{
    font-size:13.4px!important;line-height:16px!important;white-space:nowrap!important;word-break:keep-all!important;
    overflow-wrap:normal!important;font-variant-numeric:tabular-nums!important;
  }

  /* Bottom cart summary: positions above, full RUB total on ONE line below. */
  html.rxde-mobile-ui #orderSheet .sheet-footer{
    display:grid!important;grid-template-columns:156px minmax(0,1fr)!important;gap:8px!important;
    align-items:center!important;padding:7px 8px!important;
  }
  html.rxde-mobile-ui #orderSheet .order-summary{
    display:grid!important;grid-template-rows:auto auto!important;align-content:center!important;justify-items:start!important;
    width:156px!important;min-width:156px!important;max-width:156px!important;gap:1px!important;overflow:visible!important;
  }
  html.rxde-mobile-ui #orderSheet #orderPositions{
    display:block!important;width:100%!important;font-size:10.5px!important;line-height:13px!important;
    white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;
  }
  html.rxde-mobile-ui #orderSheet #orderTotalRub{
    display:block!important;width:max-content!important;max-width:none!important;margin:0!important;
    font-size:25px!important;line-height:27px!important;letter-spacing:0!important;
    white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;
    font-variant-numeric:tabular-nums!important;
  }
  html.rxde-mobile-ui #orderSheet #orderTotalEur,
  html.rxde-mobile-ui #orderSheet .order-footer-note{display:none!important}
  html.rxde-mobile-ui #orderSheet .primary-action{min-width:0!important;width:100%!important;max-width:none!important}

  /* Blank card space stays inert; title is the navigation affordance. */
  
  
  
}
@media (max-width:390px){
  html.rxde-mobile-ui #appHeader{grid-template-columns:52px minmax(0,1fr) 106px!important}
  html.rxde-mobile-ui #desktopOrderDock,
  html.rxde-mobile-ui #desktopOrderDock.desktop-order-dock.order-status-standard{width:106px!important;min-width:106px!important;max-width:106px!important}
  html.rxde-mobile-ui #orderSheet .sheet-footer{grid-template-columns:142px minmax(0,1fr)!important;gap:6px!important;padding-left:7px!important;padding-right:7px!important}
  html.rxde-mobile-ui #orderSheet .order-summary{width:142px!important;min-width:142px!important;max-width:142px!important}
  html.rxde-mobile-ui #orderSheet #orderTotalRub{font-size:22px!important;line-height:24px!important}
}


/* ========================================================================== 
   V2.13 — persistent mobile rates + family search + contextual dose filter
   ========================================================================== */
.family-search-button{
  display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfd4dc;background:#fff;color:#245d76;
  border-radius:999px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 1px 3px rgba(25,63,80,.06)
}
.card-family-search{position:absolute;left:7px;bottom:5px;width:25px;height:25px;font-size:15px;z-index:3}
.suggest-family-search{width:28px;height:28px;font-size:16px;align-self:flex-end;margin-bottom:3px}
.pq-family-search{width:30px;height:30px;font-size:17px;margin-left:5px;flex:0 0 auto}
.dose-filter-strip{display:flex;align-items:center;gap:6px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;padding:6px 10px;margin:0;border-top:1px solid #e6ecee;border-bottom:1px solid #e2e9eb;background:#fbfdfd;scrollbar-width:none}
.dose-filter-strip[hidden]{display:none!important}.dose-filter-strip::-webkit-scrollbar{display:none}
.dose-filter-label{font-size:12px;color:#60747b;font-weight:700;flex:0 0 auto}
.dose-chip{height:29px;padding:0 10px;border:1px solid #c8d9df;border-radius:9px;background:#fff;color:#365c6a;font-size:12px;font-weight:760;flex:0 0 auto}
.dose-chip.active{background:#eaf6fc;border-color:#83c2e0;color:#174f6d}.dose-chip b{font-size:10px;color:#72878f}

@media (max-width:760px){
  html.rxde-mobile-ui{--m-head-h:70px!important}
  html.rxde-mobile-ui .sticky-stack{padding-top:74px!important}
  html.rxde-mobile-ui #appHeader,
  html.rxde-mobile-ui body.mobile-header-visible #appHeader,
  html.rxde-mobile-ui body.mobile-header-force #appHeader{
    height:70px!important;min-height:70px!important;max-height:70px!important;
    grid-template-columns:56px minmax(0,1fr) 112px!important;
    grid-template-rows:48px 14px!important;
    row-gap:0!important;padding:4px 7px 3px!important
  }
  html.rxde-mobile-ui body.mobile-header-hidden #appHeader{top:-70px!important}
  html.rxde-mobile-ui #appHeader .brand-cluster{grid-column:1!important;grid-row:1!important}
  html.rxde-mobile-ui #appHeader .search-stage{grid-column:2!important;grid-row:1!important}
  html.rxde-mobile-ui #appHeader #desktopOrderDock{grid-column:3!important;grid-row:1!important}
  html.rxde-mobile-ui #appHeader .status-cluster{display:contents!important}
  html.rxde-mobile-ui #appHeader .mobile-rate-summary{
    display:flex!important;grid-column:1 / 4!important;grid-row:2!important;
    align-items:center!important;justify-content:center!important;gap:5px!important;
    height:14px!important;min-height:14px!important;line-height:14px!important;padding:0!important;margin:0!important;
    border:0!important;font-size:9.3px!important;color:#60757d!important;white-space:nowrap!important;overflow:hidden!important
  }
  html.rxde-mobile-ui #appHeader .mobile-rate-summary b{font-size:9.7px!important;color:#213f4b!important;font-weight:800!important}
  html.rxde-mobile-ui #appHeader .mobile-rate-summary i{font-style:normal!important;color:#a4b1b5!important}
  html.rxde-mobile-ui #appHeader #searchSuggest.search-suggest{top:70px!important}
  
  html.rxde-mobile-ui .card-family-search{left:5px!important;bottom:4px!important;width:24px!important;height:24px!important;font-size:14px!important}
  html.rxde-mobile-ui .dose-filter-strip{padding:4px 6px!important;gap:4px!important;background:#f8fbfc!important}
  html.rxde-mobile-ui .dose-filter-label{font-size:10px!important}
  html.rxde-mobile-ui .dose-chip{height:27px!important;padding:0 8px!important;font-size:10.5px!important;border-radius:8px!important}
  html.rxde-mobile-ui #orderSheet .sheet-footer{grid-template-columns:minmax(126px,38vw) minmax(0,1fr)!important}
  html.rxde-mobile-ui #orderSheet .order-summary{width:auto!important;min-width:0!important;max-width:none!important}
  html.rxde-mobile-ui #orderSheet #orderTotalRub{font-size:21px!important;line-height:23px!important;max-width:100%!important}
}
@media (max-width:390px){
  html.rxde-mobile-ui #appHeader{grid-template-columns:52px minmax(0,1fr) 104px!important}
  html.rxde-mobile-ui #desktopOrderDock,html.rxde-mobile-ui #desktopOrderDock.desktop-order-dock.order-status-standard{width:104px!important;min-width:104px!important;max-width:104px!important}
  html.rxde-mobile-ui #orderSheet .sheet-footer{grid-template-columns:minmax(118px,36vw) minmax(0,1fr)!important}
  html.rxde-mobile-ui #orderSheet #orderTotalRub{font-size:19px!important;line-height:21px!important}
}


/* ========================================================================== 
   V2.14 — FINAL MOBILE OVERRIDES
   ========================================================================== */
@media (max-width:760px){
  /* Header: true overlay. Hidden only while page coordinates are changing. */
  html.rxde-mobile-ui #appHeader,
  html.rxde-mobile-ui body.mobile-header-visible #appHeader,
  html.rxde-mobile-ui body.mobile-header-force #appHeader{
    position:fixed!important;left:0!important;right:0!important;top:0!important;
    transform:none!important;z-index:65000!important;overflow:visible!important;
    transition:top .11s ease!important;
  }
  html.rxde-mobile-ui body.mobile-header-hidden #appHeader{
    top:-70px!important;transform:none!important;
  }

  /* Search suggestions are appended directly to body by app.js.
     They must cover EVERYTHING below the search field. */
  html.rxde-mobile-ui body > #searchSuggest.search-suggest{
    position:fixed!important;top:70px!important;left:6px!important;right:6px!important;width:auto!important;
    margin:0!important;z-index:66000!important;max-height:min(62dvh,560px)!important;
    overflow-y:auto!important;overscroll-behavior:contain!important;
    background:#fff!important;border:1px solid #cbdde4!important;border-radius:0 0 12px 12px!important;
    box-shadow:0 18px 34px rgba(20,53,70,.24)!important;
    visibility:visible!important;pointer-events:auto!important;
  }
  html.rxde-mobile-ui body > #searchSuggest.search-suggest[hidden]{display:none!important}
  html.rxde-mobile-ui body.mobile-header-hidden > #searchSuggest.search-suggest{
    visibility:hidden!important;pointer-events:none!important;
  }

  /* Category row contains categories only. Price sorting is contextual. */
  html.rxde-mobile-ui #flowNav .flow-nav-second-row{
    display:block!important;padding:2px 4px 3px!important;
  }
  html.rxde-mobile-ui #categoryStrip,
  html.rxde-mobile-ui body.mobile-flow-fixed #categoryStrip{
    width:100%!important;padding-right:22px!important;
  }
  html.rxde-mobile-ui #mobilePriceSort{display:none!important}

  /* Sorting is the first small button in the filter row after a search. */
  html.rxde-mobile-ui #formFilterStrip .mobile-filter-price-sort{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:38px!important;min-width:38px!important;max-width:38px!important;
    padding:0!important;font-weight:900!important;color:#225c77!important;
    border-color:#9fc8dc!important;background:#f4fbff!important;
  }

  /* Family-search magnifier sits immediately after the product title. */
  
  
  
}


/* ========================================================================== 
   V2.16 — FINAL MOBILE FIXES: IDLE HEADER / ORDER FOOTER / SEARCH CONTROLS
   ========================================================================== */
@media (max-width:760px){
  /* One rule only: moving = hidden; no movement = visible. Old state classes
     cannot keep the bar off-screen anymore. */
  html.rxde-mobile-ui body:not(.mobile-header-scrolling) #appHeader{
    position:fixed!important;top:0!important;left:0!important;right:0!important;
    transform:none!important;visibility:visible!important;opacity:1!important;
    z-index:65000!important;
  }
  html.rxde-mobile-ui body.mobile-header-scrolling #appHeader{
    top:-70px!important;transform:none!important;
  }
  html.rxde-mobile-ui body:not(.mobile-header-scrolling) > #searchSuggest.search-suggest{
    visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  }
  html.rxde-mobile-ui body.mobile-header-scrolling > #searchSuggest.search-suggest{
    visibility:hidden!important;pointer-events:none!important;
  }

  /* Cart footer: count and total are two rows in the SAME left column.
     This explicitly cancels an old two-column .order-summary rule. */
  html.rxde-mobile-ui #orderSheet .sheet-footer{
    display:grid!important;
    grid-template-columns:minmax(150px,42vw) minmax(0,1fr)!important;
    gap:8px!important;align-items:center!important;
    padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px))!important;
  }
  html.rxde-mobile-ui #orderSheet .order-summary{
    display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;
    gap:1px!important;align-content:center!important;justify-items:start!important;
    width:100%!important;min-width:0!important;max-width:none!important;overflow:visible!important;
  }
  html.rxde-mobile-ui #orderSheet #orderPositions{
    grid-column:1!important;grid-row:1!important;display:block!important;
    width:100%!important;margin:0!important;font-size:10.5px!important;line-height:13px!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  html.rxde-mobile-ui #orderSheet #orderTotalRub{
    grid-column:1!important;grid-row:2!important;display:block!important;
    width:auto!important;max-width:100%!important;margin:0!important;
    font-size:clamp(20px,5.6vw,25px)!important;line-height:1.05!important;letter-spacing:0!important;
    white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;
    font-variant-numeric:tabular-nums!important;
  }
  html.rxde-mobile-ui #orderSheet .primary-action{width:100%!important;min-width:0!important;max-width:none!important;}

  /* Live suggestions: there is enough room for BOTH price and quantity controls.
     No more legacy rule that hides the stepper. */
  html.rxde-mobile-ui body > #searchSuggest.search-suggest{
    top:70px!important;left:6px!important;right:6px!important;width:auto!important;
    max-height:min(62dvh,560px)!important;padding:5px!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-row,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row:hover,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row.selected{
    position:relative!important;display:grid!important;
    grid-template-columns:48px minmax(0,1fr) 96px!important;
    grid-template-rows:66px 10px!important;
    gap:5px!important;width:100%!important;height:81px!important;min-height:81px!important;max-height:81px!important;
    margin:0 0 4px!important;padding:4px 5px 0!important;box-sizing:border-box!important;
    overflow:hidden!important;border:1px solid #dce7ec!important;border-radius:10px!important;background:#fff!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-photo{
    grid-column:1!important;grid-row:1!important;width:46px!important;height:60px!important;min-width:46px!important;min-height:60px!important;
    padding:2px!important;margin:0!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-main{
    grid-column:2!important;grid-row:1!important;display:block!important;min-width:0!important;height:62px!important;max-height:62px!important;
    padding:0!important;overflow:hidden!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-title-line{
    display:flex!important;align-items:flex-start!important;gap:4px!important;width:100%!important;min-width:0!important;height:27px!important;overflow:hidden!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-title{
    flex:0 1 auto!important;min-width:0!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
    white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;
    font-size:10px!important;line-height:13px!important;margin:0!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-family-search{
    display:inline-flex!important;flex:0 0 23px!important;width:23px!important;min-width:23px!important;height:23px!important;
    margin:0!important;font-size:13px!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .copyable-product-core{
    display:block!important;max-height:34px!important;overflow:hidden!important;font-size:8px!important;line-height:10px!important;margin:1px 0 0!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .copyable-product-core .copy-line{
    display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:10px!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .product-text-links{display:none!important;}
  html.rxde-mobile-ui body > #searchSuggest .suggest-side{
    grid-column:3!important;grid-row:1!important;display:grid!important;grid-template-rows:24px 32px!important;
    align-content:center!important;justify-items:stretch!important;gap:4px!important;
    width:96px!important;min-width:96px!important;height:62px!important;padding:0!important;overflow:visible!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-price{
    display:flex!important;flex-direction:row!important;align-items:baseline!important;justify-content:flex-end!important;gap:4px!important;
    width:100%!important;min-width:0!important;overflow:visible!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-price b{
    display:block!important;font-size:10px!important;line-height:12px!important;white-space:nowrap!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-price small{
    display:block!important;font-size:7.5px!important;line-height:10px!important;white-space:nowrap!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper{
    display:grid!important;grid-template-columns:28px 38px 28px!important;
    width:94px!important;min-width:94px!important;max-width:94px!important;height:32px!important;min-height:32px!important;max-height:32px!important;
    margin:0!important;overflow:hidden!important;border:1px solid #c7d2d7!important;border-radius:8px!important;background:#fff!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper button,
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper b{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;height:30px!important;min-height:30px!important;max-height:30px!important;
    margin:0!important;padding:0!important;border:0!important;font-size:11px!important;line-height:30px!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper button:first-child{background:#f3f7f9!important;color:#245a83!important;}
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper b{background:#fff!important;border-left:1px solid #e0e6e8!important;border-right:1px solid #e0e6e8!important;}
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper button:last-child{background:#2f7fbf!important;color:#fff!important;}
  html.rxde-mobile-ui body > #searchSuggest .suggest-picked{
    grid-column:1 / -1!important;grid-row:2!important;position:static!important;
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    width:auto!important;height:10px!important;min-height:10px!important;max-height:10px!important;
    margin:0 -5px!important;padding:0 7px!important;font-size:7px!important;line-height:10px!important;
    background:#fff!important;color:transparent!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-picked.selected{background:#dff0fb!important;color:#24465a!important;}
}
@media (max-width:390px){
  html.rxde-mobile-ui #orderSheet .sheet-footer{grid-template-columns:148px minmax(0,1fr)!important;gap:6px!important;}
  html.rxde-mobile-ui body > #searchSuggest .suggest-row,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row:hover,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row.selected{grid-template-columns:44px minmax(0,1fr) 92px!important;}
  html.rxde-mobile-ui body > #searchSuggest .suggest-photo{width:42px!important;min-width:42px!important;}
  html.rxde-mobile-ui body > #searchSuggest .suggest-side{width:92px!important;min-width:92px!important;}
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper{width:90px!important;min-width:90px!important;max-width:90px!important;grid-template-columns:27px 36px 27px!important;}
}

/* =========================================================
   RXDE V2.16 — one interaction model on desktop + mobile
   ========================================================= */
/* Desktop gets the same auto-hiding fixed top line as mobile.
   The spacer remains only at the document top; once scrolled it is outside
   the viewport, so the returning header overlays content without moving it. */
@media (min-width:761px){
  .sticky-stack{
    position:static!important;
    top:auto!important;
    z-index:auto!important;
    box-shadow:none!important;
    padding-top:var(--rxde-app-header-h,92px)!important;
  }
  #appHeader{
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:0!important;
    width:100%!important;
    z-index:2200!important;
    transform:translateY(0)!important;
    transition:transform .16s ease!important;
    will-change:transform;
  }
  body.mobile-header-scrolling #appHeader{
    transform:translateY(calc(-1 * var(--rxde-app-header-h,92px)))!important;
  }
  body:not(.mobile-header-scrolling) #appHeader{
    transform:translateY(0)!important;
  }
  /* Categories / breadcrumbs are ordinary content: only the main top line sticks. */
  #flowNav,
  #categoryStrip,
  #subcategoryStrip{
    position:static!important;
    top:auto!important;
  }
}

/* The loupe belongs visually to the title on every mini-card. */




/* There is no separate “middle” card affordance anymore. */


/* V2.17 — one navigation model on desktop/mobile: title -> full product, loupe -> family search. */
.suggest-title-open,.order-title-open{appearance:none;border:0;background:transparent;padding:0;margin:0;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer}

.order-title-open{max-width:100%;font-weight:800}


/* V2.18 — zero quantity uses one clear Add button in catalog cards. */

html.rxde-mobile-ui .mn-action.mn-action-add{
  width:78px!important;min-width:78px!important;padding:0 8px!important;font-size:11px!important;letter-spacing:0!important;
}
.m-product-add.m-product-add-zero{min-width:76px!important;padding:0 9px!important;font-size:11px!important;white-space:nowrap!important}

/* ========================================================================== 
   V2.22 — row-anchored sticky package.
   The package remains in normal document flow and becomes sticky at the top.
   Therefore showing/hiding it never changes catalogue geometry and cannot
   create a scroll/layout feedback loop.
   ========================================================================== */
#stickyStack.sticky-stack{
  position:sticky!important;
  left:auto!important;right:auto!important;top:0!important;bottom:auto!important;
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
  z-index:2400!important;
  transform:translate3d(0,0,0)!important;
  transition:transform .14s cubic-bezier(.2,.72,.25,1)!important;
  will-change:transform!important;
  isolation:isolate!important;
  overflow:visible!important;
  overflow-anchor:none!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(41,72,86,.08)!important;
}
#stickyStack > #appHeader,
#stickyStack > #flowNav,
#stickyStack > #flowNav:not([hidden]){
  position:relative!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  width:100%!important;max-width:none!important;
  transform:none!important;transition:none!important;
}
#stickyStack > #appHeader{z-index:2!important}
#stickyStack > #flowNav{z-index:1!important}

body.mobile-header-scrolling #stickyStack.sticky-stack,
body.mobile-header-hidden #stickyStack.sticky-stack{
  transform:translate3d(0,calc(-100% - 2px),0)!important;
  pointer-events:none!important;
}
body.mobile-header-visible #stickyStack.sticky-stack,
body:not(.mobile-header-scrolling):not(.mobile-header-hidden) #stickyStack.sticky-stack{
  transform:translate3d(0,0,0)!important;
  pointer-events:auto!important;
}

/* No dynamic workspace padding: the sticky stack owns its normal-flow space
   only at the top of the document. Deep in the catalogue it overlays no new
   layout space, so revealing it on upward scroll cannot move the cards. */
.paper-shell > .workspace{
  padding-top:0!important;
  transition:none!important;
  overflow-anchor:auto!important;
}

/* Notebook categories travel as part of the same package. */
#stickyStack #flowNav{margin:0!important;border-radius:0!important}
#stickyStack #categoryStrip.category-strip.notebook-index-tabs{
  flex-wrap:nowrap!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-width:none!important;
}
#stickyStack #categoryStrip.category-strip.notebook-index-tabs::-webkit-scrollbar{display:none!important}
@media(max-width:760px){
  #stickyStack #flowNav{min-height:34px!important}
  #stickyStack #categoryStrip.category-strip.notebook-index-tabs{min-height:30px!important;height:auto!important}
}


/* ==========================================================================
   RXDE V2.25 — truly zero-trace hidden sticky package.
   Important: this block contains real newlines (V2.23 accidentally stored
   literal "\\n" characters, so Edge ignored the intended override).
   ========================================================================== */
body.mobile-header-scrolling #stickyStack.sticky-stack,
body.mobile-header-hidden #stickyStack.sticky-stack{
  transform:translate3d(0,calc(-100% - 24px),0)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  box-shadow:none!important;
  clip-path:inset(0 0 100% 0)!important;
}
body.mobile-header-visible #stickyStack.sticky-stack,
body:not(.mobile-header-scrolling):not(.mobile-header-hidden) #stickyStack.sticky-stack{
  transform:translate3d(0,0,0)!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  clip-path:inset(0)!important;
}

/* Chromium must not use the Load More control or the rebuilt grid as a scroll
   anchor. New cards are appended visually without moving the viewport. */
#productList,#loadMore{overflow-anchor:none!important;}
/* Names are clean text links: no grey button chrome, underline only on hover/focus. */



/* Only real actions show the hand cursor. */


/* Dose filter must read unmistakably as an interactive filter. */
.dose-chip {
  transition:background .12s ease,border-color .12s ease,box-shadow .12s ease,transform .06s ease!important;
}
.dose-chip:hover {
  background:#eef8fc!important;
  border-color:#74b8da!important;
  box-shadow:0 1px 4px rgba(48,120,154,.13)!important;
}
.dose-chip:active { transform:translateY(1px)!important; }
.dose-chip:focus-visible { outline:2px solid #74b8da!important; outline-offset:2px!important; }

/* Desktop shop typography: slightly larger without changing card geometry. */
@media (min-width:761px){
  
  
  
}

/* Mobile remains dense, but the title stays readable and gets two real lines. */
@media (max-width:760px){
  
  
}

/* Cart: use the available vertical space. Product names may occupy two lines. */
#orderLines .order-product-row {
  min-height:94px!important;
  align-items:center!important;
}
#orderLines .order-product-info { align-self:center!important; }
#orderLines .order-title-line {
  align-items:flex-start!important;
  min-height:34px!important;
}
#orderLines .order-expand-title,
#orderLines .order-title-open {
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  line-height:1.22!important;
  max-height:2.44em!important;
}
#orderLines .order-unit-price,
#orderLines .order-qty,
#orderLines .order-line-total,
#orderLines .compact-delete {
  align-self:center!important;
}
#orderLines .order-qty {
  justify-self:center!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
#orderLines .qty-stepper { align-self:center!important; }

/* Notebook navigation is a complete two-row block. The workspace begins below it. */
#stickyStack.sticky-stack {
  overflow:visible!important;
}
#stickyStack > #flowNav.flow-nav {
  display:block!important;
  position:relative!important;
  height:78px!important;
  min-height:78px!important;
  max-height:78px!important;
  overflow:visible!important;
  padding:0!important;
  margin:0!important;
  background:#f6ecd8!important;
  z-index:5!important;
}
#stickyStack > #flowNav .flow-nav-main {
  position:relative!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  overflow:visible!important;
  z-index:2!important;
}
#stickyStack > #flowNav .flow-nav-second-row {
  position:relative!important;
  display:block!important;
  height:46px!important;
  min-height:46px!important;
  max-height:46px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  background:#f6ecd8!important;
  z-index:3!important;
}
#stickyStack #categoryStrip.category-strip.notebook-index-tabs {
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  flex-wrap:nowrap!important;
  width:100%!important;
  height:46px!important;
  min-height:46px!important;
  max-height:46px!important;
  margin:0!important;
  padding:7px 10px 0!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  z-index:4!important;
}
#stickyStack .notebook-index-tab.category-chip {
  flex:0 0 auto!important;
  height:34px!important;
  min-height:34px!important;
  line-height:32px!important;
  margin:0!important;
}
#stickyStack .notebook-index-tab.category-chip.active {
  height:37px!important;
  min-height:37px!important;
  line-height:35px!important;
}

/* When the whole sticky package is hidden, absolutely no tab fragment may remain. */
body.mobile-header-scrolling #stickyStack.sticky-stack,
body.mobile-header-hidden #stickyStack.sticky-stack {
  transform:translate3d(0,calc(-100% - 30px),0)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  box-shadow:none!important;
  clip-path:inset(0 0 100% 0)!important;
}
body.mobile-header-scrolling #stickyStack.sticky-stack *,
body.mobile-header-hidden #stickyStack.sticky-stack * {
  visibility:hidden!important;
}
body.mobile-header-visible #stickyStack.sticky-stack,
body:not(.mobile-header-scrolling):not(.mobile-header-hidden) #stickyStack.sticky-stack {
  transform:translate3d(0,0,0)!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  clip-path:none!important;
}
body.mobile-header-visible #stickyStack.sticky-stack *,
body:not(.mobile-header-scrolling):not(.mobile-header-hidden) #stickyStack.sticky-stack * {
  visibility:visible!important;
}

@media (max-width:760px){
  #stickyStack > #flowNav.flow-nav {
    height:70px!important;
    min-height:70px!important;
    max-height:70px!important;
  }
  #stickyStack > #flowNav .flow-nav-main {
    height:31px!important;
    min-height:31px!important;
    max-height:31px!important;
  }
  #stickyStack > #flowNav .flow-nav-second-row,
  #stickyStack #categoryStrip.category-strip.notebook-index-tabs {
    height:39px!important;
    min-height:39px!important;
    max-height:39px!important;
  }
  #stickyStack #categoryStrip.category-strip.notebook-index-tabs { padding:5px 6px 0!important; }
  #stickyStack .notebook-index-tab.category-chip {
    height:30px!important;
    min-height:30px!important;
    line-height:28px!important;
  }
  #stickyStack .notebook-index-tab.category-chip.active {
    height:33px!important;
    min-height:33px!important;
    line-height:31px!important;
  }
  #orderLines .order-product-row { min-height:112px!important; }
  #orderLines .order-title-line { min-height:36px!important; }
}


/* ==========================================================================\n   V2.27 — PREMIUM COMPACT CARD TYPOGRAPHY + SEARCH SUGGEST RESTORE\n   ========================================================================== */

/* The product card itself is reading/copy space, never an implied click target. */



/* Premium, calmer hierarchy: grey regular copy, modest labels, no visual shouting. */





/* Reserve exactly two title lines on every card. RX + loupe are separate fixed items. */





/* Neutral system-like magnifier: no circle, no filled button, no visual competition. */
.family-search-button{
  appearance:none!important;-webkit-appearance:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;width:22px!important;height:22px!important;min-width:22px!important;
  margin:0!important;padding:2px!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;color:#71828b!important;
  cursor:pointer!important;vertical-align:top!important;
}
.family-search-button:hover{color:#365b6e!important;background:transparent!important;}
.family-search-button:focus-visible{outline:1px solid #9fb6c1!important;outline-offset:1px!important;border-radius:4px!important;}
.system-search-icon{width:16px!important;height:16px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.55!important;stroke-linecap:round!important;stroke-linejoin:round!important;pointer-events:none!important;}

/* PDF keeps its recognizable accent, but no extra boldness. */


/* Card grows only by the permanently reserved second title line. */


/* Search suggestions on desktop live inside .search-wrap, restoring type-ahead from first letters. */
html:not(.rxde-mobile-ui) #searchWrap{position:relative!important;overflow:visible!important;}
html:not(.rxde-mobile-ui) #searchSuggest.search-suggest{
  position:absolute!important;left:0!important;right:0!important;top:calc(100% + 5px)!important;
  z-index:90000!important;display:block;max-height:min(62vh,520px)!important;
}
html:not(.rxde-mobile-ui) #searchSuggest.search-suggest[hidden]{display:none!important;}

/* Suggestions use the same quiet title treatment and inline controls. */
#searchSuggest .suggest-title-line{display:flex!important;align-items:flex-start!important;gap:5px!important;min-width:0!important;}
#searchSuggest .suggest-title-open{
  appearance:none!important;-webkit-appearance:none!important;border:0!important;background:transparent!important;
  box-shadow:none!important;padding:0!important;margin:0!important;color:#3d525c!important;font-weight:600!important;
  text-align:left!important;cursor:pointer!important;min-width:0!important;max-width:100%!important;
}
#searchSuggest .suggest-title-open:hover{text-decoration:underline!important;text-underline-offset:2px!important;}
#searchSuggest .suggest-family-search{width:20px!important;height:20px!important;min-width:20px!important;}

@media(max-width:760px){
  
  
  
  
  .family-search-button{width:20px!important;height:20px!important;min-width:20px!important;padding:2px!important;}
  .system-search-icon{width:15px!important;height:15px!important;}
  
}

/* ========================================================================== 
   V2.28 — CATEGORY CHAMELEON / PREMIUM TOP AREA / UNIFIED CART
   ========================================================================== */

/* Category colour exists immediately, even before the photo finishes loading. */
html{--cat-accent:#79aebd;--cat-soft:#edf7fa;--cat-deep:#315b67}
html[data-category-tone="vitamins"]{--cat-accent:#f0a61d;--cat-soft:#fff4cf;--cat-deep:#9a5b00}
html[data-category-tone="care"]{--cat-accent:#e5a3b2;--cat-soft:#fff0f4;--cat-deep:#8b4d61}
html[data-category-tone="digestion"]{--cat-accent:#d59648;--cat-soft:#fff2df;--cat-deep:#795125}
html[data-category-tone="joints"]{--cat-accent:#49a6de;--cat-soft:#eaf7ff;--cat-deep:#246c9e}
html[data-category-tone="eyes"]{--cat-accent:#5869d9;--cat-soft:#eef0ff;--cat-deep:#34448f}
html[data-category-tone="breath"]{--cat-accent:#41b79b;--cat-soft:#e9faf5;--cat-deep:#247866}
html[data-category-tone="kids"]{--cat-accent:#f1b73c;--cat-soft:#fff5d9;--cat-deep:#956a12}
html[data-category-tone="hair"]{--cat-accent:#ad73bb;--cat-soft:#f7edfa;--cat-deep:#71487b}
html[data-category-tone="skin"]{--cat-accent:#ec9b83;--cat-soft:#fff0eb;--cat-deep:#955845}
html[data-category-tone="pets"]{--cat-accent:#5f9c6d;--cat-soft:#edf8ef;--cat-deep:#35643f}
html[data-category-tone="allergy"]{--cat-accent:#91bd43;--cat-soft:#f3fae6;--cat-deep:#56782a}
html[data-category-tone="mouth"]{--cat-accent:#57b8d8;--cat-soft:#eaf9fd;--cat-deep:#2b728b}
html[data-category-tone="all"]{--cat-accent:#87a7b4;--cat-soft:#f1f6f8;--cat-deep:#4a6872}

/* The active category photo tints the entire upper-right zone. It fades smoothly into white on the left. */
#stickyStack .app-header,
#stickyStack #flowNav.flow-nav,
#stickyStack #flowNav .flow-nav-second-row,
#stickyStack #categoryStrip.category-strip.notebook-index-tabs{
  background-color:#fff!important;
  background-image:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.99) 31%,rgba(255,255,255,.90) 48%,rgba(255,255,255,.48) 73%,rgba(255,255,255,.10) 100%),
    var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-position:center, right center!important;
  background-size:100% 100%, 52% auto!important;
}
#stickyStack .app-header{transition:background-color .24s ease,background-image .24s ease!important;}
#stickyStack #flowNav.flow-nav{border-top-color:color-mix(in srgb,var(--cat-accent) 24%,#dbe4e6)!important;}

/* Slimmer chameleon category band. Photos live in the tabs, while labels stay on a calm light plaque. */
#stickyStack > #flowNav.flow-nav{height:68px!important;min-height:68px!important;max-height:68px!important;background-color:var(--cat-soft)!important;}
#stickyStack > #flowNav .flow-nav-main{height:30px!important;min-height:30px!important;max-height:30px!important;}
#stickyStack > #flowNav .flow-nav-second-row,
#stickyStack #categoryStrip.category-strip.notebook-index-tabs{
  height:38px!important;min-height:38px!important;max-height:38px!important;
}
#stickyStack #categoryStrip.category-strip.notebook-index-tabs{
  padding:3px 8px 2px!important;gap:4px!important;align-items:stretch!important;
}
#stickyStack .notebook-index-tab.category-chip{
  position:relative!important;overflow:hidden!important;isolation:isolate!important;
  width:auto!important;min-width:72px!important;height:32px!important;min-height:32px!important;max-height:32px!important;
  padding:0 10px!important;border:1px solid rgba(108,133,142,.20)!important;border-radius:9px 9px 3px 3px!important;
  background:#fff!important;box-shadow:0 1px 5px rgba(42,70,80,.07)!important;
  color:#415b65!important;line-height:30px!important;
}
#stickyStack .notebook-index-tab.category-chip::before{
  content:""!important;position:absolute!important;inset:0!important;z-index:-2!important;
  background-image:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.88) 54%,rgba(255,255,255,.40) 100%),var(--tab-image)!important;
  background-size:100% 100%,cover!important;background-position:center,right center!important;background-repeat:no-repeat!important;
  opacity:.72!important;
}
#stickyStack .notebook-index-tab.category-chip span{
  position:relative!important;z-index:2!important;display:inline-flex!important;align-items:center!important;height:100%!important;
  padding:0 2px!important;background:rgba(255,255,255,.68)!important;border-radius:5px!important;
  text-shadow:0 1px 0 #fff!important;
}
#stickyStack .notebook-index-tab.category-chip:hover{border-color:color-mix(in srgb,var(--cat-accent) 52%,#b8c8ce)!important;color:var(--cat-deep)!important;}
#stickyStack .notebook-index-tab.category-chip.active{
  height:34px!important;min-height:34px!important;max-height:34px!important;margin-top:-2px!important;
  border-color:var(--cat-accent)!important;color:var(--cat-deep)!important;
  box-shadow:0 2px 8px color-mix(in srgb,var(--cat-accent) 20%,transparent)!important;
}
#stickyStack .notebook-index-tab.category-chip.active::before{opacity:1!important;}
#stickyStack .notebook-index-tab.category-chip.active span{background:rgba(255,255,255,.84)!important;font-weight:760!important;}

/* Compact banner is another slice of the same active photo, so the category reads as one visual system. */
#catalogHero.catalog-hero:not([hidden]){
  border-color:color-mix(in srgb,var(--cat-accent) 24%,#d8e5e8)!important;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 33%,rgba(255,255,255,.64) 70%,rgba(255,255,255,.08) 100%),var(--hero-image)!important;
  background-repeat:no-repeat!important;background-position:center,right center!important;background-size:100% 100%,52% auto!important;
}
#catalogHero .catalog-hero-photo{display:none!important;}
#catalogHero .catalog-hero-copy{position:relative!important;z-index:2!important;background:transparent!important;}

/* One persistent cart language everywhere: white card, green outline, green information. */
html body #desktopOrderDock.desktop-order-dock.order-status-standard,
html body #quickOrderDock.quick-order-dock.order-status-standard,
html body #orderHeaderStatus.order-header-status.order-status-standard{
  background:rgba(255,255,255,.94)!important;border:1.5px solid #62ad82!important;color:#235d40!important;
  box-shadow:0 3px 12px rgba(49,116,77,.08)!important;
}
html body #desktopOrderDock .order-status-meta,
html body #quickOrderDock .order-status-meta,
html body #orderHeaderStatus .order-status-meta{color:#547567!important;}
html body #desktopOrderDock .order-status-total,
html body #quickOrderDock .order-status-total,
html body #orderHeaderStatus .order-status-total{color:#174e31!important;}
html body #desktopOrderDock:hover,
html body #desktopOrderDock:focus-visible,
html body #quickOrderDock:hover,
html body #quickOrderDock:focus-visible{background:#f7fff9!important;border-color:#388d61!important;}
html body #desktopOrderDock .order-list-mark,
html body #quickOrderDock .order-list-mark{color:#2b8456!important;}
html body #desktopOrderDock .order-list-mark svg *,
html body #quickOrderDock .order-list-mark svg *{stroke:#2b8456!important;}

@media(max-width:760px){
  #stickyStack .app-header,
  #stickyStack #flowNav.flow-nav,
  #stickyStack #flowNav .flow-nav-second-row,
  #stickyStack #categoryStrip.category-strip.notebook-index-tabs{
    background-size:100% 100%,72% auto!important;
    background-position:center,right center!important;
  }
  #stickyStack > #flowNav.flow-nav{height:65px!important;min-height:65px!important;max-height:65px!important;}
  #stickyStack > #flowNav .flow-nav-main{height:29px!important;min-height:29px!important;max-height:29px!important;}
  #stickyStack > #flowNav .flow-nav-second-row,
  #stickyStack #categoryStrip.category-strip.notebook-index-tabs{height:36px!important;min-height:36px!important;max-height:36px!important;}
  #stickyStack #categoryStrip.category-strip.notebook-index-tabs{padding:3px 5px 1px!important;gap:3px!important;}
  #stickyStack .notebook-index-tab.category-chip{min-width:64px!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding:0 8px!important;font-size:9.5px!important;line-height:28px!important;}
  #stickyStack .notebook-index-tab.category-chip.active{height:32px!important;min-height:32px!important;max-height:32px!important;}
  #catalogHero.catalog-hero:not([hidden]){background-size:100% 100%,68% auto!important;}
}


/* ========================================================================== 
   V2.29 — CONTINUOUS CATEGORY ART / VIVID IMAGE TABS
   Fixes V2.28 chopped repeated backgrounds. One continuous image lives behind
   the complete sticky top package; tabs use their own vivid category artwork.
   ========================================================================== */

/* One continuous canvas. No repeated image on each row. */
#stickyStack.sticky-stack{
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
  background:#fff!important;
}
#stickyStack.sticky-stack::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  top:0!important;right:0!important;bottom:0!important;
  width:62%!important;
  pointer-events:none!important;
  background-image:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 13%,rgba(255,255,255,.82) 31%,rgba(255,255,255,.34) 63%,rgba(255,255,255,.06) 100%),
    var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-position:center,right center!important;
  background-size:100% 100%,cover!important;
  opacity:.98!important;
}
#stickyStack > *{position:relative!important;z-index:1!important;}

/* Header and navigation no longer repeat/crop the category image themselves. */
#stickyStack .app-header,
#stickyStack #flowNav.flow-nav,
#stickyStack #flowNav .flow-nav-main,
#stickyStack #flowNav .flow-nav-second-row,
#stickyStack #categoryStrip.category-strip.notebook-index-tabs{
  background-image:none!important;
}
#stickyStack .app-header{
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 53%,rgba(255,255,255,.48) 100%)!important;
}
#stickyStack #flowNav.flow-nav{
  background:rgba(255,255,255,.78)!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
  border-top:1px solid rgba(149,166,173,.18)!important;
}
#stickyStack #flowNav .flow-nav-main{
  background:rgba(255,255,255,.72)!important;
}
#stickyStack #flowNav .flow-nav-second-row{
  background:linear-gradient(90deg,rgba(255,255,255,.90),rgba(255,255,255,.70))!important;
  border-top:1px solid rgba(130,150,158,.12)!important;
}

/* Strong, image-led category navigation — closer to the approved render. */
#stickyStack > #flowNav.flow-nav{
  min-height:91px!important;height:91px!important;max-height:91px!important;
}
#stickyStack > #flowNav .flow-nav-main{
  height:31px!important;min-height:31px!important;max-height:31px!important;
}
#stickyStack > #flowNav .flow-nav-second-row,
#stickyStack #categoryStrip.category-strip.notebook-index-tabs{
  height:60px!important;min-height:60px!important;max-height:60px!important;
}
#stickyStack #categoryStrip.category-strip.notebook-index-tabs{
  display:flex!important;align-items:stretch!important;gap:5px!important;
  padding:4px 8px 3px!important;overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-width:none!important;
}
#stickyStack #categoryStrip.category-strip.notebook-index-tabs::-webkit-scrollbar{display:none!important;}

#stickyStack .notebook-index-tab.category-chip{
  position:relative!important;overflow:hidden!important;isolation:isolate!important;
  flex:0 0 88px!important;width:88px!important;min-width:88px!important;
  height:52px!important;min-height:52px!important;max-height:52px!important;
  margin:0!important;padding:0!important;
  border:1px solid rgba(83,112,124,.18)!important;border-radius:10px!important;
  background:#fff!important;box-shadow:0 2px 7px rgba(34,64,76,.08)!important;
  color:#163746!important;line-height:normal!important;
}
#stickyStack .notebook-index-tab.category-chip::before{
  content:""!important;position:absolute!important;inset:0!important;z-index:-2!important;
  background-image:var(--tab-image)!important;
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
  opacity:1!important;filter:saturate(1.14) contrast(1.03)!important;
}
#stickyStack .notebook-index-tab.category-chip::after{
  content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;
  height:22px!important;z-index:-1!important;
  background:linear-gradient(180deg,rgba(255,255,255,.46),rgba(255,255,255,.93) 43%,rgba(255,255,255,.98))!important;
  border-top:1px solid rgba(255,255,255,.50)!important;
}
#stickyStack .notebook-index-tab.category-chip span{
  position:absolute!important;z-index:2!important;left:3px!important;right:3px!important;bottom:1px!important;
  height:19px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0 2px!important;background:transparent!important;border-radius:0!important;
  color:#173a49!important;text-shadow:0 1px 1px rgba(255,255,255,.95)!important;
  font-size:10.2px!important;line-height:11px!important;font-weight:650!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#stickyStack .notebook-index-tab.category-chip:hover{
  transform:translateY(-1px)!important;border-color:color-mix(in srgb,var(--cat-accent) 60%,#b5c5cb)!important;
  box-shadow:0 4px 10px rgba(34,64,76,.12)!important;
}
#stickyStack .notebook-index-tab.category-chip.active{
  height:55px!important;min-height:55px!important;max-height:55px!important;
  margin-top:-3px!important;border:2px solid var(--cat-accent)!important;
  box-shadow:0 4px 13px color-mix(in srgb,var(--cat-accent) 28%,transparent)!important;
}
#stickyStack .notebook-index-tab.category-chip.active::before{filter:saturate(1.28) contrast(1.06)!important;}
#stickyStack .notebook-index-tab.category-chip.active span{color:var(--cat-deep)!important;font-weight:760!important;}

/* Hero: a clean independent fade, not a repeated slice of the top artwork. */
#catalogHero.catalog-hero:not([hidden]){
  min-height:44px!important;
  background-image:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 36%,rgba(255,255,255,.78) 58%,rgba(255,255,255,.20) 100%),
    var(--hero-image)!important;
  background-repeat:no-repeat!important;
  background-position:center,right center!important;
  background-size:100% 100%,45% auto!important;
  border-color:color-mix(in srgb,var(--cat-accent) 30%,#dbe5e8)!important;
}

/* Keep the right-side colour cue even when a text search hides the hero. */
.workspace{
  position:relative!important;isolation:isolate!important;background:#fff!important;
}
.workspace::before{
  content:"";position:absolute;z-index:-1;top:0;right:0;width:31%;height:250px;pointer-events:none;
  background-image:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.78) 31%,rgba(255,255,255,.16) 100%),var(--rxde-category-image);
  background-size:100% 100%,cover;background-position:center,right center;background-repeat:no-repeat;opacity:.55;
}

@media(max-width:760px){
  #stickyStack.sticky-stack::before{
    width:82%!important;
    background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 20%,rgba(255,255,255,.58) 51%,rgba(255,255,255,.09) 100%),var(--rxde-category-image)!important;
    background-position:center,right center!important;background-size:100% 100%,cover!important;
  }
  #stickyStack .app-header{background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.54))!important;}
  #stickyStack > #flowNav.flow-nav{height:84px!important;min-height:84px!important;max-height:84px!important;}
  #stickyStack > #flowNav .flow-nav-main{height:28px!important;min-height:28px!important;max-height:28px!important;}
  #stickyStack > #flowNav .flow-nav-second-row,
  #stickyStack #categoryStrip.category-strip.notebook-index-tabs{height:56px!important;min-height:56px!important;max-height:56px!important;}
  #stickyStack #categoryStrip.category-strip.notebook-index-tabs{padding:3px 5px 2px!important;gap:4px!important;}
  #stickyStack .notebook-index-tab.category-chip{
    flex-basis:68px!important;width:68px!important;min-width:68px!important;height:49px!important;min-height:49px!important;max-height:49px!important;
    border-radius:9px!important;
  }
  #stickyStack .notebook-index-tab.category-chip.active{height:52px!important;min-height:52px!important;max-height:52px!important;}
  #stickyStack .notebook-index-tab.category-chip::after{height:20px!important;}
  #stickyStack .notebook-index-tab.category-chip span{height:18px!important;font-size:8.9px!important;line-height:10px!important;}
  #catalogHero.catalog-hero:not([hidden]){background-size:100% 100%,62% auto!important;}
  .workspace::before{display:none!important;}
}


/* ========================================================================== 
   V2.30 — CARD BREATHING ROOM + WHOLE TWO-LINE TITLE HOVER
   ========================================================================== */

/* A little more breathing room around product facts. The card stays compact,
   but PZN/PDF no longer sit on the lower divider or side edge. */





/* The title is one interactive object even when it wraps to two lines.
   Hovering anywhere over either line underlines the complete wrapped title. */



/* Do not underline only the first visual fragment via the button box itself. */


/* RX and search are fixed siblings after the two-line name, never over it. */




@media(max-width:760px){
  
  
  
}

/* ========================================================================== 
   V2.31 — MOBILE CLEANUP / SEARCH SUGGESTIONS / TRUE STICKY / 2/3 CATEGORY ART
   ========================================================================== */

/* The complete header/navigation package is actually sticky again. V2.29 made
   this relative while solving the background seam, which disabled the physics. */
#stickyStack.sticky-stack{
  position:sticky!important;
  top:0!important;
  z-index:500!important;
  overflow:visible!important;
  isolation:isolate!important;
}

/* Category art occupies roughly two thirds of the visual field and fades very
   softly into the white identity zone at the left. */
#stickyStack.sticky-stack::before{
  width:72%!important;
  background-image:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.995) 9%,rgba(255,255,255,.94) 24%,rgba(255,255,255,.70) 43%,rgba(255,255,255,.30) 68%,rgba(255,255,255,.04) 100%),
    var(--rxde-category-image)!important;
  background-position:center,right center!important;
  background-size:100% 100%,cover!important;
}
.workspace::before{
  width:66%!important;
  height:300px!important;
  opacity:.62!important;
  background-image:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 22%,rgba(255,255,255,.77) 46%,rgba(255,255,255,.22) 78%,rgba(255,255,255,.02) 100%),
    var(--rxde-category-image)!important;
}
#catalogHero.catalog-hero:not([hidden]){
  background-size:100% 100%,58% auto!important;
}

/* Product facts never lose the PZN/PDF baseline. Previous V2.30 row arithmetic
   was two to four pixels taller than the fixed info box on several viewports. */





/* Search suggestions are always the top-most working layer. Desktop remains
   anchored to the field; mobile is promoted to body and positioned by JS. */
.search-stage{overflow:visible!important;z-index:610!important;}
#searchSuggest.search-suggest{
  z-index:900!important;
  background:rgba(255,255,255,.995)!important;
  box-shadow:0 18px 42px rgba(28,52,62,.20)!important;
  border-color:#bfd1d8!important;
}

@media(max-width:760px){
  #stickyStack.sticky-stack::before{
    width:94%!important;
    background-image:
      linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 12%,rgba(255,255,255,.79) 34%,rgba(255,255,255,.38) 64%,rgba(255,255,255,.05) 100%),
      var(--rxde-category-image)!important;
  }
  #stickyStack .app-header{
    background:linear-gradient(90deg,rgba(255,255,255,.985),rgba(255,255,255,.62) 72%,rgba(255,255,255,.30))!important;
  }
  #catalogHero.catalog-hero:not([hidden]){background-size:100% 100%,72% auto!important;}

  
  
  

  /* When JS promotes the dropdown to body it becomes fixed, never part of the
     document flow and never hidden behind cards/categories. */
  body > #searchSuggest.search-suggest{
    position:fixed!important;
    left:var(--rxde-suggest-left,10px)!important;
    top:var(--rxde-suggest-top,118px)!important;
    width:var(--rxde-suggest-width,calc(100vw - 20px))!important;
    right:auto!important;
    margin:0!important;
    max-height:min(56dvh,560px)!important;
    overflow:auto!important;
    border-radius:14px!important;
    z-index:9999!important;
  }
  body.mobile-header-hidden > #searchSuggest.search-suggest,
  body.mobile-header-scrolling > #searchSuggest.search-suggest{
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
}

/* ========================================================================== 
   V2.32 — NATURAL CATEGORY BACKDROP / GUARANTEED PZN / ROBUST LIVE SUGGEST
   ========================================================================== */

/* Give the facts block enough real vertical room. PZN must never be clipped by
   the commerce row, on either desktop or mobile. */





/* One natural category photograph behind the upper catalogue. No separate
   white cut-outs between hero, filters and cards: controls simply sit over the
   continuous image field. */
.paper-shell > .workspace{
  position:relative!important;
  isolation:isolate!important;
  background:transparent!important;
}
.paper-shell > .workspace::before{
  display:block!important;
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  top:0!important;
  right:0!important;
  width:82%!important;
  height:360px!important;
  pointer-events:none!important;
  opacity:.86!important;
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.98) 8%,
      rgba(255,255,255,.86) 20%,
      rgba(255,255,255,.56) 35%,
      rgba(255,255,255,.20) 54%,
      rgba(255,255,255,.03) 74%,
      rgba(255,255,255,0) 100%),
    var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-position:center,right center!important;
  background-size:100% 100%,cover!important;
}
.paper-shell > .workspace > *{position:relative!important;z-index:1!important;}
#productList,
#catalogToolbar,
#contextLine,
#subcategoryStrip,
#doseFilterStrip{
  background:transparent!important;
}
#catalogHero.catalog-hero:not([hidden]){
  background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.78) 42%,rgba(255,255,255,.20) 76%,rgba(255,255,255,0) 100%)!important;
  border-color:rgba(181,203,211,.55)!important;
}
/* Cards themselves remain premium white surfaces, but there is no white shelf
   or strip behind the grid; the active category art is visible in the gaps. */


/* Live suggestions are viewport-fixed on all screen sizes. This avoids every
   sticky/overflow clipping edge case and keeps type-ahead above the catalogue. */
body > #searchSuggest.search-suggest{
  position:fixed!important;
  left:var(--rxde-suggest-left,12px)!important;
  top:var(--rxde-suggest-top,110px)!important;
  width:var(--rxde-suggest-width,720px)!important;
  right:auto!important;
  margin:0!important;
  z-index:20000!important;
  display:block;
  max-height:min(62vh,620px)!important;
  overflow:auto!important;
  background:rgba(255,255,255,.995)!important;
  border:1px solid #bfd1d8!important;
  border-radius:14px!important;
  box-shadow:0 18px 42px rgba(28,52,62,.20)!important;
}
body > #searchSuggest.search-suggest[hidden]{display:none!important;}

@media(max-width:760px){
  
  
  .paper-shell > .workspace::before{
    width:96%!important;
    height:300px!important;
    opacity:.80!important;
    background-image:
      linear-gradient(90deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,.96) 12%,
        rgba(255,255,255,.72) 31%,
        rgba(255,255,255,.30) 58%,
        rgba(255,255,255,.02) 100%),
      var(--rxde-category-image)!important;
  }
}

/* ========================================================================== 
   V2.33 — SEARCH ALIGNMENT / MINI-CARD FIT / UNIFIED ZERO-QUANTITY ACTION
   ========================================================================== */
/* Mini cards: no PDF rail, more vertical room for PZN, shorter commerce area. */









/* Zero quantity is one clear Add button. Positive quantity is always − | n | +. */
.suggest-add-zero,.pq-add-zero,.pq-related-add-zero,.page-add-zero{
  border:0;border-radius:10px;background:#2f8cca;color:#fff;font:inherit;font-weight:650;
  min-height:34px;padding:0 16px;cursor:pointer;white-space:nowrap;
}
.search-suggest .suggest-add-zero{justify-self:end;align-self:center;min-width:96px;}
.pq-add-zero,.page-add-zero{min-width:118px;min-height:42px;}
.pq-related-add-zero{min-width:92px;min-height:32px;}

@media(max-width:760px){
  
  
  
  
  
  
}

/* ========================================================================== 
   V2.34 — CARD BREATHING ROOM / EXACT TYPEAHEAD ANCHOR / CATEGORY REVEAL
   ========================================================================== */
/* The mini-card data block owns enough height for title + MHH/Form/Maker/PZN.
   The commerce rail never overlaps the facts. */




/* Typeahead geometry is written directly by JS from searchInput.getBoundingClientRect(). */
body > #searchSuggest.search-suggest{
  position:fixed!important;
  right:auto!important;
  margin:0!important;
  transform:none!important;
  box-sizing:border-box!important;
  z-index:30000!important;
}

/* Category transition: a brief full visual reveal, then the new catalogue
   settles underneath. It is intentionally image-first and non-interactive. */
.category-transition-overlay{
  position:fixed;
  z-index:14500;
  pointer-events:none;
  overflow:hidden;
  opacity:0;
  transform:scale(1.018);
  transition:opacity 180ms ease,transform 420ms cubic-bezier(.2,.7,.2,1);
  background-color:#fff;
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
.category-transition-overlay::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.82) 0%,rgba(255,255,255,.35) 28%,rgba(255,255,255,.04) 62%,rgba(255,255,255,0) 100%);
}
.category-transition-overlay::after{
  content:attr(data-label);
  position:absolute;
  left:clamp(22px,5vw,78px);
  bottom:clamp(24px,7vh,74px);
  padding:10px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(8px);
  color:#173947;
  font-size:clamp(20px,2vw,34px);
  font-weight:650;
  letter-spacing:-.02em;
  box-shadow:0 10px 30px rgba(30,65,78,.10);
}
.category-transition-overlay.reveal{opacity:1;transform:scale(1)}
.category-transition-overlay.dissolve{
  opacity:0;
  transform:scale(1.008);
  transition:opacity 480ms cubic-bezier(.2,.7,.2,1),transform 520ms ease;
}

@media(max-width:760px){
  
  
  .category-transition-overlay::before{
    background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.05) 55%,rgba(255,255,255,.58) 100%);
  }
  .category-transition-overlay::after{
    left:18px;bottom:22px;font-size:22px;padding:8px 12px;
  }
}


/* ========================================================================== 
   RXDE V2.35 — PZN GUARANTEE / COMPACT TYPEAHEAD / RETURN-LOUPE / SLOW REVEAL
   ========================================================================== */

/* Card geometry is explicit: photo, facts and commerce each own their space.
   PZN is a mandatory fact and can never be clipped by the footer. */







/* A related-search button turns into an explicit return action while the
   catalogue already shows that product family. */
.family-search-button.family-return,
.order-family-search.family-return,
.suggest-family-search.family-return{
  color:#163f52!important;
  opacity:1!important;
}
.family-search-button.family-return::after,
.order-family-search.family-return::after,
.suggest-family-search.family-return::after{
  content:"↩";
  position:absolute!important;
  right:-4px!important;top:-6px!important;
  min-width:13px!important;height:13px!important;
  display:grid!important;place-items:center!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#23718c!important;
  font-size:10px!important;line-height:13px!important;font-weight:700!important;
  box-shadow:0 0 0 1px rgba(35,113,140,.20)!important;
}
.family-search-button.family-return,
.order-family-search.family-return,
.suggest-family-search.family-return{position:relative!important;}

/* Typeahead: compact shop rows, but keep all decisive information and both
   retail prices. PDF is intentionally absent here; it belongs to the full page. */
body > #searchSuggest.search-suggest{
  padding:8px!important;
}
body > #searchSuggest .suggest-row,
body > #searchSuggest .suggest-row:hover,
body > #searchSuggest .suggest-row.selected{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) 220px!important;
  grid-template-rows:86px 12px!important;
  grid-template-areas:"photo main side" "picked picked picked"!important;
  min-height:98px!important;height:98px!important;max-height:98px!important;
  gap:0 12px!important;
  padding:6px 10px 6px!important;
  margin:0 0 6px!important;
  border:1px solid #d7e5eb!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.99)!important;
}
body > #searchSuggest .suggest-photo{
  grid-area:photo!important;
  width:64px!important;height:78px!important;min-width:64px!important;min-height:78px!important;
  padding:4px!important;align-self:center!important;
}
body > #searchSuggest .suggest-photo img{max-width:100%!important;max-height:100%!important;object-fit:contain!important;}
body > #searchSuggest .suggest-main{
  grid-area:main!important;
  height:82px!important;max-height:82px!important;min-height:82px!important;
  padding:1px 0!important;overflow:hidden!important;
}
body > #searchSuggest .suggest-title-line{min-height:20px!important;height:20px!important;margin:0 0 2px!important;}
body > #searchSuggest .suggest-title,
body > #searchSuggest .suggest-title-open{font-size:12.8px!important;line-height:18px!important;font-weight:600!important;}
body > #searchSuggest .copyable-product-core{font-size:10.2px!important;line-height:13px!important;}
body > #searchSuggest .copyable-product-core > *{margin:0!important;line-height:13px!important;min-height:13px!important;}
body > #searchSuggest .product-text-links{display:none!important;}
body > #searchSuggest .suggest-side{
  grid-area:side!important;
  width:auto!important;min-width:0!important;height:82px!important;
  display:grid!important;
  grid-template-columns:minmax(84px,1fr) 110px!important;
  align-items:center!important;gap:10px!important;padding:0!important;
}
body > #searchSuggest .suggest-price{
  display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;
  min-width:84px!important;text-align:right!important;overflow:visible!important;
}
body > #searchSuggest .suggest-price b{display:block!important;font-size:15px!important;line-height:18px!important;white-space:nowrap!important;color:#163f52!important;}
body > #searchSuggest .suggest-price small{display:block!important;font-size:10px!important;line-height:13px!important;white-space:nowrap!important;color:#6d7d85!important;}
body > #searchSuggest .suggest-stepper,
body > #searchSuggest .suggest-add-zero{
  width:110px!important;min-width:110px!important;max-width:110px!important;
  height:36px!important;min-height:36px!important;max-height:36px!important;
  align-self:center!important;
}
body > #searchSuggest .suggest-stepper{grid-template-columns:36px 38px 36px!important;}
body > #searchSuggest .suggest-picked{
  grid-area:picked!important;height:12px!important;min-height:12px!important;max-height:12px!important;line-height:12px!important;
}

/* Slower category reveal: image is deliberately held long enough to be seen,
   then it dissolves instead of blinking away. */
.category-transition-overlay{
  transition:opacity 260ms ease,transform 560ms cubic-bezier(.2,.7,.2,1)!important;
}
.category-transition-overlay.dissolve{
  opacity:0!important;
  transform:scale(1.012)!important;
  filter:saturate(.92) blur(1.6px)!important;
  transition:opacity 760ms cubic-bezier(.2,.65,.2,1),transform 820ms ease,filter 760ms ease!important;
}

@media(max-width:760px){
  
  
  
  
  

  body > #searchSuggest .suggest-row,
  body > #searchSuggest .suggest-row:hover,
  body > #searchSuggest .suggest-row.selected{
    grid-template-columns:48px minmax(0,1fr) 100px!important;
    grid-template-rows:92px 12px!important;
    min-height:104px!important;height:104px!important;max-height:104px!important;
    gap:0 7px!important;padding:5px 7px!important;
  }
  body > #searchSuggest .suggest-photo{width:46px!important;min-width:46px!important;height:74px!important;min-height:74px!important;}
  body > #searchSuggest .suggest-main{height:88px!important;min-height:88px!important;max-height:88px!important;}
  body > #searchSuggest .suggest-title,body > #searchSuggest .suggest-title-open{font-size:11px!important;line-height:15px!important;}
  body > #searchSuggest .copyable-product-core{font-size:8.8px!important;line-height:11px!important;}
  body > #searchSuggest .copyable-product-core > *{line-height:11px!important;min-height:11px!important;}
  body > #searchSuggest .suggest-side{height:88px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:4px!important;}
  body > #searchSuggest .suggest-price{align-items:flex-end!important;}
  body > #searchSuggest .suggest-price b{font-size:12px!important;line-height:14px!important;}
  body > #searchSuggest .suggest-price small{font-size:8.6px!important;line-height:10px!important;}
  body > #searchSuggest .suggest-stepper,body > #searchSuggest .suggest-add-zero{width:96px!important;min-width:96px!important;max-width:96px!important;height:32px!important;min-height:32px!important;max-height:32px!important;}
}


/* ==========================================================================
   RXDE V2.36 — CLEANER CARD TEXT / DIGITAL CATEGORY DISSOLVE / NO README BLOAT
   ========================================================================== */

/* Card: text is grouped tighter, title can use two lines, facts sit closer,
   PZN always stays in view, footer is shorter and does not eat the facts area. */























/* Mobile card keeps the same logic but with a little more vertical air. */
@media(max-width:760px){
  
  
  
  
  
  
  
}

/* Quick search rows: orderly fact block, no PDF, retail price always visible. */
body > #searchSuggest .suggest-main .product-text-links{display:none!important;}
body > #searchSuggest .copyable-product-core{display:grid!important;grid-template-rows:repeat(4,13px)!important;gap:0!important;}
body > #searchSuggest .copyable-product-core > *{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
body > #searchSuggest .copyable-product-core > *:last-child{font-weight:700!important;color:#304c57!important;}
body > #searchSuggest .suggest-title-line{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:start!important;gap:5px!important;}
body > #searchSuggest .suggest-title,body > #searchSuggest .suggest-title-open{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;white-space:normal!important;max-height:2.3em!important;overflow:hidden!important;}

/* More explicit return-state icon for family search / loupe. */
.family-search-button.family-return .system-search-icon,
.suggest-family-search.family-return .system-search-icon,
.order-family-search.family-return .system-search-icon{opacity:.18!important;}
.family-search-button.family-return::before,
.suggest-family-search.family-return::before,
.order-family-search.family-return::before{
  content:"↩";position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;
  font-size:15px!important;font-weight:700!important;color:#1f4858!important;
}
.family-search-button.family-return::after,
.suggest-family-search.family-return::after,
.order-family-search.family-return::after{content:none!important;}

/* Category transition overlay gets a digital square breakup. */
.category-transition-overlay{
  position:fixed!important;z-index:65!important;overflow:hidden!important;border-radius:20px!important;
  background-size:cover!important;background-position:center center!important;
  box-shadow:0 20px 50px rgba(25,44,52,.16)!important;
  opacity:0;transform:scale(1.01)!important;
}
.category-transition-overlay.reveal{opacity:1!important;transform:scale(1)!important;transition:opacity 280ms ease,transform 380ms ease!important;}
.category-transition-overlay::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.78) 18%,rgba(255,255,255,.42) 38%,rgba(255,255,255,.12) 56%,rgba(255,255,255,.03) 76%,rgba(255,255,255,0) 100%);
}
.category-transition-overlay.initial::before{
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.84) 18%,rgba(255,255,255,.44) 38%,rgba(255,255,255,.14) 58%,rgba(255,255,255,.04) 77%,rgba(255,255,255,0) 100%);
}
.category-transition-grid{position:absolute!important;inset:0!important;display:grid!important;grid-template-columns:repeat(var(--cols),1fr)!important;grid-template-rows:repeat(var(--rows),1fr)!important;pointer-events:none!important;}
.category-transition-tile{
  display:block!important;will-change:transform,opacity,filter!important;
  background-repeat:no-repeat!important;background-size:cover!important;opacity:1;
}
.category-transition-overlay.dissolve{opacity:.56!important;transition:opacity 980ms ease!important;}
.category-transition-overlay.dissolve .category-transition-tile{
  opacity:0!important;transform:translate(var(--dx),var(--dy)) rotate(var(--rot)) scale(.88)!important;
  filter:blur(1.5px) saturate(.9)!important;
  transition:opacity 980ms ease var(--delay),transform 1150ms cubic-bezier(.22,.61,.2,1) var(--delay),filter 980ms ease var(--delay)!important;
}
@media(max-width:760px){
  .category-transition-overlay{border-radius:16px!important;}
}


/* ========================================================================== 
   RXDE V2.38 — WHOLE PHOTO + ANIMATED CUT SHEET / LIGHTWEIGHT
   One image layer, CSS-only grid sweep, no 3D, no canvas, no WebGL.
   ========================================================================== */
.category-transition-overlay{
  position:fixed!important;z-index:65!important;overflow:hidden!important;
  border-radius:18px!important;background-size:cover!important;background-position:center center!important;
  opacity:0!important;transform:translateZ(0) scale(1.004)!important;
  will-change:opacity,transform!important;pointer-events:none!important;
  contain:layout paint style!important;
}
.category-transition-overlay.reveal{
  opacity:1!important;transform:translateZ(0) scale(1)!important;
  transition:opacity 180ms ease,transform 260ms ease!important;
}
.category-transition-overlay::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.70) 16%,rgba(255,255,255,.28) 36%,rgba(255,255,255,.07) 57%,rgba(255,255,255,0) 78%);
}
.category-transition-overlay.initial::before{
  background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.73) 16%,rgba(255,255,255,.30) 36%,rgba(255,255,255,.07) 57%,rgba(255,255,255,0) 78%);
}

/* Roughly twice the old cut density: 7 columns × 5 rows. */
.category-cut-lines{
  position:absolute;inset:0;z-index:3;pointer-events:none;
  opacity:0;
  clip-path:inset(0 0 100% 0);
  will-change:clip-path,opacity;
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0,
      transparent calc(14.2857% - .7px),
      rgba(255,255,255,.96) calc(14.2857% - .7px),
      rgba(255,255,255,.96) calc(14.2857% + .7px),
      transparent calc(14.2857% + .7px),
      transparent 14.2857%),
    repeating-linear-gradient(180deg,
      transparent 0,
      transparent calc(20% - .7px),
      rgba(255,255,255,.96) calc(20% - .7px),
      rgba(255,255,255,.96) calc(20% + .7px),
      transparent calc(20% + .7px),
      transparent 20%);
  filter:drop-shadow(0 0 2px rgba(255,255,255,.48));
}
.category-transition-overlay.cut .category-cut-lines{
  opacity:1;
  clip-path:inset(0 0 0 0);
  transition:clip-path 620ms cubic-bezier(.18,.76,.2,1),opacity 140ms ease;
}

/* A soft white leading edge makes the grid feel like a transparent sheet
   being laid over the photograph from top to bottom. */
.category-cut-sweep{
  position:absolute;left:0;right:0;top:-24px;height:34px;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.52),rgba(255,255,255,.10),rgba(255,255,255,0));
  opacity:0;transform:translate3d(0,0,0);will-change:transform,opacity;
}
.category-transition-overlay.cut .category-cut-sweep{
  opacity:.9;transform:translate3d(0,calc(100vh + 60px),0);
  transition:transform 620ms cubic-bezier(.18,.76,.2,1),opacity 160ms ease;
}
.category-transition-overlay.dissolve{
  opacity:0!important;transform:translateZ(0) scale(1.008)!important;
  transition:opacity 720ms cubic-bezier(.2,.66,.2,1),transform 760ms ease!important;
}
.category-transition-overlay.dissolve .category-cut-lines{opacity:0;transition:opacity 260ms ease!important;}

/* Explicitly kill stale cube/tile layers from older cached markup. */
.category-cube-layer,.category-cube,.category-transition-grid,.category-transition-tile{display:none!important;}

@media(max-width:760px){
  .category-transition-overlay{border-radius:14px!important;}
  .category-cut-lines{
    background-image:
      repeating-linear-gradient(90deg,
        transparent 0,
        transparent calc(20% - .6px),
        rgba(255,255,255,.94) calc(20% - .6px),
        rgba(255,255,255,.94) calc(20% + .6px),
        transparent calc(20% + .6px),
        transparent 20%),
      repeating-linear-gradient(180deg,
        transparent 0,
        transparent calc(25% - .6px),
        rgba(255,255,255,.94) calc(25% - .6px),
        rgba(255,255,255,.94) calc(25% + .6px),
        transparent calc(25% + .6px),
        transparent 25%);
  }
  .category-transition-overlay.cut .category-cut-lines{transition-duration:520ms!important;}
  .category-transition-overlay.cut .category-cut-sweep{transition-duration:520ms!important;}
}

@media(prefers-reduced-motion:reduce){
  .category-cut-lines,.category-cut-sweep{display:none!important;}
  .category-transition-overlay.reveal{transition:opacity 100ms linear!important;}
  .category-transition-overlay.dissolve{transition:opacity 220ms linear!important;transform:none!important;}
}

:root{
  --rxde-card-h-v250:220px;
  --rxde-card-photo-v250:62px;
  --rxde-card-info-v250:104px;
  --rxde-card-commerce-v250:42px;
  --rxde-card-picked-v250:12px;
}

/* Hard geometry lock — same size in every state, including hover and qty=0. */



/* No descendant may animate, move or change metrics — except the packshot IMG. */


/* Photo container is static; ONLY image performs the jump. */




/* Form badge is a real filter button and must stay clickable. */


/* Information block is fully fixed. */



/* Two visible title lines. No line-clamp paint bug: natural wrapping inside a fixed 2-line viewport. */


/* Underline is applied to the text itself and therefore paints BOTH wrapped lines. */









/* Footer, price and quantity stay on exact pixels in every pointer state. */














/* Blue selected line has immutable height. */






/* Compact hover context: full title only; picked strip keeps two-line money context. */











/* Temporary cart appears only when the real dock is not on screen; never scroll the page. */









@keyframes rxdePeekUp250{0%{transform:scale(1)}45%{transform:scale(1.10)}100%{transform:scale(1)}}
@keyframes rxdePeekDown250{0%{transform:scale(1)}45%{transform:scale(.95)}100%{transform:scale(1)}}

/* Manager CTA stays clean: no secondary line and no removed 'Спокойно' note. */
#submitOrder .submit-order-copy{display:flex!important;align-items:center!important;justify-content:flex-start!important;}
#submitOrder .submit-order-copy small{display:none!important;}
#submitOrder .submit-order-copy b{margin:0!important;}
.confirm-note{display:none!important;}

@media(min-width:901px){
  body.home-mode #flowNav .flow-nav-main .flow-crumbs{padding-left:12px!important;}
  body.home-mode #flowNav .flow-nav-main .flow-context-meta,
  body.home-mode #flowNav .flow-nav-main .flow-sort{margin-right:12px!important;}
}

@media(max-width:760px){
  :root{--rxde-card-h-v250:216px;--rxde-card-photo-v250:60px;--rxde-card-info-v250:102px;--rxde-card-commerce-v250:42px;--rxde-card-picked-v250:12px;}
  
  
  
  
  
  
  
  
  
}


/* Card shell and vertical zones stay fixed. */


/* Photo is pinned; only the actual packshot/placeholder moves. */



/* Form badge never participates in packshot motion. */


/* Information block pinned below photo. */


/* Footer itself is pinned: no grid sizing can move anything horizontally. */


/* Commerce row: exact rectangle. */


/* Retail price is anchored to the left edge and can never recenter/reflow. */




/* Quantity cell is anchored to the right edge. */





/* Blue strip is a pinned 12px layer. Hover can never change its box. */




/* Desktop only; existing mobile block continues to supply compact dimensions. */
@media(max-width:760px){
  
  
  
  
  
  
  
  
}


:root{
  --rxde-card-h-v252:220px;
  --rxde-photo-h-v252:62px;
  --rxde-info-top-v252:62px;
  --rxde-info-h-v252:104px;
  --rxde-footer-top-v252:166px;
  --rxde-footer-h-v252:54px;
  --rxde-commerce-h-v252:42px;
  --rxde-picked-h-v252:12px;
  --rxde-qty-w-v252:116px;
}

/* 1) Card shell: immutable rectangle in every state. */


/* 2) Photo zone: same coordinates forever. Only the visual object moves. */



/* Form badge is a control, not part of the moving packshot. */


/* 3) Information zone: fixed at y=62..166, no hover movement. */



/* Title gets two complete 15px lines + room for both underlines. */





/* Facts remain dense and fixed. */





/* 4) Footer at EXPLICIT y=166. No bottom property can fight old CSS. */



/* Retail price: exact left rectangle. */




/* Quantity: exact right rectangle. */








/* 5) Blue strip: exact y=42 within footer. It cannot jump on hover. */




/* Keep release-form badge clickable as the product-form filter. */


@media(max-width:760px){
  :root{
    --rxde-card-h-v252:216px;
    --rxde-photo-h-v252:60px;
    --rxde-info-top-v252:60px;
    --rxde-info-h-v252:102px;
    --rxde-footer-top-v252:162px;
    --rxde-footer-h-v252:54px;
    --rxde-commerce-h-v252:42px;
    --rxde-picked-h-v252:12px;
    --rxde-qty-w-v252:110px;
  }
  
  
}


:root{
  --rxde-card-h-v253:220px;
  --rxde-photo-top-v253:0px;
  --rxde-photo-h-v253:62px;
  --rxde-info-top-v253:62px;
  --rxde-info-h-v253:104px;
  --rxde-commerce-top-v253:166px;
  --rxde-commerce-h-v253:42px;
  --rxde-picked-top-v253:208px;
  --rxde-picked-h-v253:12px;
  --rxde-qty-w-v253:116px;
}



/* Photo area stays pinned; only the visual itself animates. */




/* Facts fixed in their own rectangle. */


/* Wrapper has ZERO geometry. Its two children are positioned against the card. */


/* Commerce row is pinned directly at y=166. */




/* Blue selected strip is pinned directly at the bottom, never above the price row. */




/* Qty and price metrics are paint-stable on hover/focus/active. */


@media(max-width:760px){
  :root{
    --rxde-card-h-v253:216px;
    --rxde-photo-h-v253:60px;
    --rxde-info-top-v253:60px;
    --rxde-info-h-v253:102px;
    --rxde-commerce-top-v253:162px;
    --rxde-commerce-h-v253:42px;
    --rxde-picked-top-v253:204px;
    --rxde-picked-h-v253:12px;
    --rxde-qty-w-v253:110px;
  }
}


/* ========================================================================== 
   RXDE V2.54 — CLEAN PRODUCT CARD SYSTEM
   This is the only r2-card styling block in the stylesheet.
   Fixed geometry: 62px photo + 104px facts + 42px commerce + 12px picked = 220px.
   Only the packshot/placeholder moves on card hover.
   ========================================================================== */
:root{
  --rxde-card-h:220px;
  --rxde-card-photo-h:62px;
  --rxde-card-info-h:104px;
  --rxde-card-commerce-h:42px;
  --rxde-card-picked-h:12px;
}

html body #productList > article.product-row.static-product-card.r2-card{
  position:relative!important;
  isolation:isolate!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:var(--rxde-card-photo-h) var(--rxde-card-info-h) calc(var(--rxde-card-commerce-h) + var(--rxde-card-picked-h))!important;
  grid-template-areas:"photo" "info" "footer"!important;
  align-content:stretch!important;
  align-items:stretch!important;
  width:100%!important;
  height:var(--rxde-card-h)!important;
  min-height:var(--rxde-card-h)!important;
  max-height:var(--rxde-card-h)!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  border:1px solid #64b1e2!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  transition:border-color .14s ease,box-shadow .14s ease!important;
  cursor:default!important;
}
html body #productList > article.product-row.static-product-card.r2-card:hover,
html body #productList > article.product-row.static-product-card.r2-card:focus-within{
  width:100%!important;
  height:var(--rxde-card-h)!important;
  min-height:var(--rxde-card-h)!important;
  max-height:var(--rxde-card-h)!important;
  margin:0!important;
  padding:0!important;
  border-width:1px!important;
  border-color:#2f8fc9!important;
  background:#fff!important;
  box-shadow:0 0 0 1px rgba(47,143,201,.10)!important;
  transform:none!important;
}
html body #productList > article.r2-card::after{content:none!important;display:none!important;}
html body #productList > article.r2-card::before{
  content:'×' attr(data-qty)!important;
  display:block!important;
  position:absolute!important;
  left:7px!important;
  top:6px!important;
  z-index:12!important;
  color:#18733f!important;
  font:800 15px/1 "Segoe Print","Bradley Hand",cursive!important;
  transform:rotate(-7deg)!important;
  pointer-events:none!important;
}
html body #productList > article.r2-card[data-qty="0"]::before{display:none!important;}

/* PHOTO — the only moving layer */
html body #productList > article.r2-card > .r2-photo{
  grid-area:photo!important;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:var(--rxde-card-photo-h)!important;
  min-height:var(--rxde-card-photo-h)!important;
  max-height:var(--rxde-card-photo-h)!important;
  margin:0!important;
  padding:5px 10px 2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  transform:none!important;
  pointer-events:none!important;
}
html body #productList > article.r2-card > .r2-photo > img,
html body #productList > article.r2-card > .r2-photo > .rxde-placeholder,
html body #productList > article.r2-card > .r2-photo > .image-fallback{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:74%!important;
  max-height:54px!important;
  margin:0!important;
  object-fit:contain!important;
  transform:translateY(0) scale(1)!important;
  transform-origin:50% 50%!important;
  transition:transform .17s cubic-bezier(.2,.78,.25,1),filter .17s ease!important;
  will-change:transform!important;
}
html body #productList > article.r2-card:hover > .r2-photo > img,
html body #productList > article.r2-card:hover > .r2-photo > .rxde-placeholder,
html body #productList > article.r2-card:hover > .r2-photo > .image-fallback{
  transform:translateY(-3px) scale(1.075)!important;
  filter:contrast(1.02) saturate(1.04)!important;
}
html body #productList > article.r2-card > .r2-photo > .form-badge{
  position:absolute!important;
  top:6px!important;
  right:6px!important;
  z-index:15!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:76%!important;
  height:21px!important;
  min-height:21px!important;
  margin:0!important;
  padding:0 8px!important;
  border-radius:7px!important;
  font-size:9px!important;
  line-height:19px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transform:none!important;
  transition:none!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}

/* FACTS */
html body #productList > article.r2-card > .r2-info{
  grid-area:info!important;
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:32px 15px 15px 15px 17px!important;
  align-content:start!important;
  width:100%!important;
  height:var(--rxde-card-info-h)!important;
  min-height:var(--rxde-card-info-h)!important;
  max-height:var(--rxde-card-info-h)!important;
  margin:0!important;
  padding:5px 12px!important;
  gap:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  background:#fff!important;
  transform:none!important;
}
html body #productList > article.r2-card > .r2-info > .r2-line{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  transition:none!important;
}
html body #productList > article.r2-card > .r2-info > .r2-title{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:start!important;
  gap:5px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  overflow:hidden!important;
}
html body #productList > article.r2-card .r2-title-open{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
  text-align:left!important;
  color:#102f43!important;
  font:800 11.8px/15px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  cursor:pointer!important;
  transform:none!important;
  transition:none!important;
}
html body #productList > article.r2-card .r2-title-open .r2-title-text{
  display:inline!important;
  white-space:normal!important;
  color:inherit!important;
  font:inherit!important;
  line-height:15px!important;
  text-decoration:none!important;
}
html body #productList > article.r2-card .r2-title-open:hover .r2-title-text,
html body #productList > article.r2-card .r2-title-open:focus-visible .r2-title-text{
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:2px!important;
  text-decoration-skip-ink:auto!important;
}
html body #productList > article.r2-card > .r2-info > .r2-line:not(.r2-title){
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  height:15px!important;
  min-height:15px!important;
  max-height:15px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  color:#496573!important;
  font:400 8.9px/15px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
}
html body #productList > article.r2-card > .r2-info > .r2-line:nth-child(5){
  height:17px!important;
  min-height:17px!important;
  max-height:17px!important;
  line-height:17px!important;
}
html body #productList > article.r2-card > .r2-info > .r2-line > b{
  flex:0 0 auto!important;
  margin:0!important;
  font:760 8.9px/15px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  color:#24495d!important;
}
html body #productList > article.r2-card > .r2-info > .r2-line > span{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font:400 8.9px/15px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  color:#496573!important;
}
html body #productList > article.r2-card > .r2-info > .r2-line:nth-child(5) > span{
  overflow:visible!important;
  text-overflow:clip!important;
  font-variant-numeric:tabular-nums!important;
}
html body #productList > article.r2-card .card-family-search{
  width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;
  margin:0!important;padding:0!important;transform:none!important;transition:none!important;cursor:pointer!important;
}

/* FOOTER — fixed 42px commerce + fixed 12px selected strip */
html body #productList > article.r2-card > .r2-footer{
  grid-area:footer!important;
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:var(--rxde-card-commerce-h) var(--rxde-card-picked-h)!important;
  width:100%!important;
  height:calc(var(--rxde-card-commerce-h) + var(--rxde-card-picked-h))!important;
  min-height:calc(var(--rxde-card-commerce-h) + var(--rxde-card-picked-h))!important;
  max-height:calc(var(--rxde-card-commerce-h) + var(--rxde-card-picked-h))!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  background:#fff!important;
  transform:none!important;
}
html body #productList > article.r2-card > .r2-footer > .r2-bottom{
  position:static!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 116px!important;
  grid-template-rows:var(--rxde-card-commerce-h)!important;
  align-items:stretch!important;
  width:100%!important;
  height:var(--rxde-card-commerce-h)!important;
  min-height:var(--rxde-card-commerce-h)!important;
  max-height:var(--rxde-card-commerce-h)!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  border-top:1px solid #d7e6ee!important;
  background:#fff!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
}
html body #productList > article.r2-card .r2-unit{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  margin:0!important;
  padding:3px 8px 2px!important;
  border:0!important;
  border-right:1px solid #d7e6ee!important;
  background:#fff!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
  transition:none!important;
  pointer-events:none!important;
}
html body #productList > article.r2-card .r2-unit strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#103f61!important;
  font:850 14.5px/15px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  text-align:center!important;
  white-space:nowrap!important;
  transform:none!important;
}
html body #productList > article.r2-card .r2-unit span{
  display:block!important;
  width:100%!important;
  margin:1px 0 0!important;
  padding:0!important;
  color:#71828d!important;
  font:500 8.8px/9px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  text-align:center!important;
  white-space:nowrap!important;
  transform:none!important;
}
html body #productList > article.r2-card .r2-qty-cell{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:116px!important;
  min-width:116px!important;
  max-width:116px!important;
  height:42px!important;
  margin:0!important;
  padding:5px 7px!important;
  background:#fff!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  transform:none!important;
  transition:none!important;
  pointer-events:auto!important;
}
html body #productList > article.r2-card .r2-qty{
  display:grid!important;
  grid-template-columns:32px 36px 32px!important;
  width:102px!important;
  min-width:102px!important;
  max-width:102px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  border:1px solid #a9c6d9!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
  transition:none!important;
}
html body #productList > article.r2-card .r2-qty > button,
html body #productList > article.r2-card .r2-qty > input{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  font:800 12px/30px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  text-align:center!important;
  transform:none!important;
  transition:none!important;
}
html body #productList > article.r2-card .r2-qty > button:first-child{background:#eef6ff!important;color:#245a83!important;border-right:1px solid #d4e1e9!important;}
html body #productList > article.r2-card .r2-qty > input{background:#fff!important;color:#16272b!important;}
html body #productList > article.r2-card .r2-qty > button:last-child{background:#2f7fbf!important;color:#fff!important;border-left:1px solid #286fa8!important;}
html body #productList > article.r2-card .r2-qty > button:hover,
html body #productList > article.r2-card .r2-qty > button:focus,
html body #productList > article.r2-card .r2-qty > button:active,
html body #productList > article.r2-card .r2-qty > input:hover,
html body #productList > article.r2-card .r2-qty > input:focus,
html body #productList > article.r2-card .r2-qty > input:active{
  width:100%!important;height:30px!important;min-height:30px!important;max-height:30px!important;
  margin:0!important;padding:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;
  transform:none!important;translate:none!important;scale:1!important;
}
html body #productList > article.r2-card .r2-add-zero{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:102px!important;
  min-width:102px!important;
  max-width:102px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0 10px!important;
  border-radius:8px!important;
  transform:none!important;
  transition:none!important;
}
html body #productList > article.r2-card > .r2-footer > .r2-picked{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:var(--rxde-card-picked-h)!important;
  min-height:var(--rxde-card-picked-h)!important;
  max-height:var(--rxde-card-picked-h)!important;
  margin:0!important;
  padding:0 7px!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  color:transparent!important;
  background:#fff!important;
  font:650 8.1px/12px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  text-align:center!important;
  white-space:nowrap!important;
  transform:none!important;
  transition:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
html body #productList > article.r2-card > .r2-footer > .r2-picked.selected{
  visibility:visible!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  color:#243b48!important;
  background:#d9edf8!important;
}
html body #productList > article.r2-card > .r2-footer > .r2-picked > *{pointer-events:none!important;}
html body #productList > article.r2-card > .r2-footer > .r2-picked .r2-picked-icon{display:none!important;}

/* Hover/focus invariants: every non-photo coordinate remains identical. */
html body #productList > article.r2-card:hover > .r2-info,
html body #productList > article.r2-card:hover > .r2-footer,
html body #productList > article.r2-card:hover .r2-bottom,
html body #productList > article.r2-card:hover .r2-unit,
html body #productList > article.r2-card:hover .r2-qty-cell,
html body #productList > article.r2-card:hover .r2-qty,
html body #productList > article.r2-card:hover .r2-picked{
  transform:none!important;
  translate:none!important;
  scale:1!important;
}

/* Compact title tooltip: full name only. */
#rxdeHoverHint{
  position:fixed!important;
  z-index:2147483000!important;
  max-width:min(360px,calc(100vw - 20px))!important;
  padding:6px 9px!important;
  border:1px solid rgba(54,92,112,.20)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.985)!important;
  color:#173746!important;
  box-shadow:0 7px 20px rgba(29,58,73,.14)!important;
  font:600 12px/1.28 var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  pointer-events:none!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translateY(2px)!important;
  transition:opacity .08s ease,transform .08s ease,visibility 0s linear .08s!important;
}
#rxdeHoverHint.visible{opacity:1!important;visibility:visible!important;transform:translateY(0)!important;transition-delay:0s!important;}
#rxdeHoverHint .hint-title{display:block!important;font-size:12.2px!important;line-height:1.28!important;font-weight:760!important;}
#rxdeHoverHint .hint-position,#rxdeHoverHint .hint-overall{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:baseline!important;gap:12px!important;}
#rxdeHoverHint .hint-position small,#rxdeHoverHint .hint-overall small{font-size:10px!important;color:#607783!important;font-weight:650!important;}
#rxdeHoverHint .hint-position strong{font-size:17px!important;color:#184d69!important;font-weight:850!important;white-space:nowrap!important;}
#rxdeHoverHint .hint-overall{grid-template-columns:minmax(0,1fr) auto 18px!important;margin-top:5px!important;padding-top:5px!important;border-top:1px solid #dce8ee!important;}
#rxdeHoverHint .hint-overall strong{font-size:14px!important;color:#173746!important;font-weight:820!important;white-space:nowrap!important;}
#rxdeHoverHint .hint-list-badge{display:grid!important;place-items:center!important;width:17px!important;height:17px!important;border-radius:5px!important;background:#eaf6fd!important;border:1px solid #89bcd9!important;color:#246c95!important;}
#rxdeHoverHint .hint-list-badge svg{width:11px!important;height:11px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important;stroke-linecap:round!important;}

/* Non-layout cart peek for +/- while the real cart widget is outside the viewport. */
#rxdeTransientCartPeek{
  position:fixed!important;z-index:2147482500!important;top:14px!important;right:18px!important;
  display:flex!important;align-items:center!important;gap:9px!important;min-width:150px!important;max-width:210px!important;min-height:48px!important;
  padding:7px 11px!important;border:1px solid #83bca1!important;border-radius:12px!important;background:rgba(255,255,255,.985)!important;
  color:#173746!important;box-shadow:0 10px 28px rgba(30,64,51,.18)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translateY(-10px) scale(.98)!important;transition:opacity .16s ease,transform .18s ease,visibility 0s linear .18s!important;cursor:pointer!important;
}
#rxdeTransientCartPeek.visible{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0) scale(1)!important;transition-delay:0s!important;}
#rxdeTransientCartPeek .peek-list-mark{display:grid!important;place-items:center!important;width:26px!important;height:26px!important;border:1px solid #8bbda5!important;border-radius:8px!important;color:#357359!important;background:#f2fbf6!important;flex:0 0 auto!important;}
#rxdeTransientCartPeek .peek-list-mark svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important;stroke-linecap:round!important;}
#rxdeTransientCartPeek .peek-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important;}
#rxdeTransientCartPeek .peek-copy small{font-size:9.5px!important;line-height:1.1!important;color:#668079!important;font-weight:650!important;white-space:nowrap!important;}
#rxdeTransientCartPeek .peek-copy strong{margin-top:2px!important;font-size:14.5px!important;line-height:1.05!important;color:#244f3f!important;font-weight:850!important;white-space:nowrap!important;}

@media(max-width:760px){
  #rxdeHoverHint{display:none!important;}
  #rxdeTransientCartPeek{top:10px!important;right:8px!important;min-width:132px!important;max-width:170px!important;min-height:44px!important;padding:6px 9px!important;border-radius:10px!important;}
}


/* ========================================================================== 
   RXDE V2.55 — interaction polish after V2.54 cleanup
   - no native number spinners
   - loupe immediately follows the product title
   - Add button restored to blue raised action
   - only true actions use pointer cursor
   - cart commerce aligns to the lower edge of each product row
   ========================================================================== */

/* 1) Quantity fields: the site already supplies explicit − / + controls. */
html body input[type="number"]{
  -moz-appearance:textfield!important;
  appearance:textfield!important;
}
html body input[type="number"]::-webkit-outer-spin-button,
html body input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance:none!important;
  margin:0!important;
  display:none!important;
}

/* 2) Catalogue title: title itself, then loupe, then RX badge if present. */
html body #productList > article.r2-card > .r2-info > .r2-title{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
}
html body #productList > article.r2-card .r2-title-open{
  order:1!important;
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:calc(100% - 27px)!important;
  cursor:pointer!important;
}
html body #productList > article.r2-card .card-family-search{
  order:2!important;
  flex:0 0 20px!important;
  align-self:flex-start!important;
  margin-top:0!important;
  cursor:pointer!important;
}
html body #productList > article.r2-card .r2-title > .rx-badge{
  order:3!important;
  flex:0 0 auto!important;
}
/* One underline operation paints every wrapped line of the same inline title. */
html body #productList > article.r2-card .r2-title-open:hover .r2-title-text,
html body #productList > article.r2-card .r2-title-open:focus-visible .r2-title-text{
  text-decoration-line:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:2px!important;
  text-decoration-skip-ink:auto!important;
}

/* Search and cart title rows follow the same title → loupe → RX order. */
html body #searchSuggest .suggest-title-line,
html body #orderLines .order-title-line{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
}
html body #searchSuggest .suggest-title-open,
html body #orderLines .order-title-open{
  order:1!important;
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  cursor:pointer!important;
}
html body #searchSuggest .suggest-family-search,
html body #orderLines .order-family-search{
  order:2!important;
  flex:0 0 22px!important;
  align-self:flex-start!important;
  margin:0!important;
  cursor:pointer!important;
}
html body #searchSuggest .suggest-title-line > .rx-badge,
html body #orderLines .order-title-line > .rx-badge{
  order:3!important;
  flex:0 0 auto!important;
}

/* 3) Restore the primary blue Add action, with stable geometry and a little depth. */
html body #productList > article.r2-card .r2-add-zero,
html body #productList > article.r2-card .r2-add-zero:hover,
html body #productList > article.r2-card .r2-add-zero:focus,
html body #productList > article.r2-card .r2-add-zero:active{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:102px!important;
  min-width:102px!important;
  max-width:102px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #2778b8!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,#3f98d2 0%,#2f84c5 100%)!important;
  color:#fff!important;
  box-shadow:0 2px 5px rgba(33,105,157,.20),inset 0 1px 0 rgba(255,255,255,.24)!important;
  font:800 11.5px/30px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  cursor:pointer!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  transition:filter .12s ease,box-shadow .12s ease!important;
}
html body #productList > article.r2-card .r2-add-zero:hover{
  filter:brightness(1.04)!important;
  box-shadow:0 3px 7px rgba(33,105,157,.24),inset 0 1px 0 rgba(255,255,255,.28)!important;
}
html body #productList > article.r2-card .r2-add-zero:active{
  filter:brightness(.98)!important;
  box-shadow:0 1px 3px rgba(33,105,157,.20),inset 0 1px 2px rgba(13,72,113,.16)!important;
}

/* 4) Cursor language: only actual actions advertise a click. */
html body #productList > article.r2-card .r2-title-open,
html body #productList > article.r2-card .card-family-search,
html body #productList > article.r2-card .r2-qty > button,
html body #productList > article.r2-card .r2-add-zero,
html body #productList > article.r2-card > .r2-footer > .r2-picked.selected,
html body #orderLines .order-title-open,
html body #orderLines .order-family-search,
html body #orderLines .order-qty > button,
html body #orderLines .compact-delete{
  cursor:pointer!important;
}
html body #productList > article.r2-card .r2-qty > input,
html body #orderLines .order-qty > input{
  cursor:text!important;
}
html body #productList > article.r2-card .r2-unit,
html body #productList > article.r2-card .r2-info > .r2-line:not(.r2-title),
html body #orderLines .order-unit-price,
html body #orderLines .order-line-total{
  cursor:default!important;
}

/* 5) Blue selected strip remains a true hover/click target for the two-line hint. */
html body #productList > article.r2-card > .r2-footer > .r2-picked.selected{
  pointer-events:auto!important;
  cursor:pointer!important;
  position:relative!important;
  z-index:8!important;
}
html body #productList > article.r2-card > .r2-footer > .r2-picked.selected > *{
  pointer-events:none!important;
}

/* 6) Cart: commercial data rests on the lower edge of the product row. */
@media(min-width:761px){
  html body #orderLines .order-product-row.order-static-card{
    min-height:132px!important;
    align-items:stretch!important;
  }
  html body #orderLines .order-static-card > .order-product-info{
    align-self:start!important;
    padding-top:2px!important;
    padding-bottom:42px!important;
  }
  html body #orderLines .order-static-card > .order-unit-price,
  html body #orderLines .order-static-card > .order-qty,
  html body #orderLines .order-static-card > .order-line-total{
    align-self:end!important;
    margin-top:0!important;
    margin-bottom:5px!important;
  }
  html body #orderLines .order-static-card > .compact-delete{
    align-self:start!important;
    margin-top:4px!important;
  }
}

/* Keep cart controls visually and metrically stable on hover/focus. */
html body #orderLines .order-qty,
html body #orderLines .order-qty:hover,
html body #orderLines .order-qty:focus-within{
  transform:none!important;
  translate:none!important;
  scale:1!important;
}
html body #orderLines .order-qty > button,
html body #orderLines .order-qty > button:hover,
html body #orderLines .order-qty > button:focus,
html body #orderLines .order-qty > button:active,
html body #orderLines .order-qty > input,
html body #orderLines .order-qty > input:hover,
html body #orderLines .order-qty > input:focus{
  transform:none!important;
  translate:none!important;
  scale:1!important;
}

/* ========================================================================== 
   V2.56 — restore catalogue loupe to its intended place
   Loupe sits immediately after the title block; no absolute positioning.
   ========================================================================== */
html body #productList > article.r2-card > .r2-info > .r2-title{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  overflow:hidden!important;
}
html body #productList > article.r2-card .r2-title-open{
  position:static!important;
  inset:auto!important;
  order:1!important;
  flex:0 1 auto!important;
  width:fit-content!important;
  min-width:0!important;
  max-width:calc(100% - 52px)!important;
  height:32px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
html body #productList > article.r2-card .card-family-search,
html body #productList > article.r2-card .card-family-search:hover,
html body #productList > article.r2-card .card-family-search:focus,
html body #productList > article.r2-card .card-family-search:active{
  position:static!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  order:2!important;
  flex:0 0 20px!important;
  width:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  height:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  margin:0!important;
  padding:2px!important;
  align-self:flex-start!important;
  display:grid!important;
  place-items:center!important;
  color:#6e8794!important;
  background:transparent!important;
  border:0!important;
  border-radius:4px!important;
  box-shadow:none!important;
  transform:none!important;
  opacity:1!important;
  visibility:visible!important;
  cursor:pointer!important;
  z-index:2!important;
}
html body #productList > article.r2-card .card-family-search:hover{
  color:#315f78!important;
  background:#f2f8fb!important;
}
html body #productList > article.r2-card .card-family-search .system-search-icon{
  display:block!important;
  width:16px!important;
  height:16px!important;
  opacity:1!important;
  visibility:visible!important;
}
html body #productList > article.r2-card .r2-title > .rx-badge{
  position:static!important;
  order:3!important;
  flex:0 0 auto!important;
  margin:0!important;
}


/* ========================================================================== 
   V2.57 — single family-search affordance
   Keep one loupe only. No return arrow overlay/pseudo-icon in family-search state.
   ========================================================================== */
html body .family-search-button.family-return::before,
html body .family-search-button.family-return::after,
html body .suggest-family-search.family-return::before,
html body .suggest-family-search.family-return::after,
html body .order-family-search.family-return::before,
html body .order-family-search.family-return::after{
  content:none!important;
  display:none!important;
}
html body .family-search-button.family-return .system-search-icon,
html body .suggest-family-search.family-return .system-search-icon,
html body .order-family-search.family-return .system-search-icon{
  opacity:1!important;
  visibility:visible!important;
  display:block!important;
}
html body .family-search-button.family-return,
html body .suggest-family-search.family-return,
html body .order-family-search.family-return{
  color:#315f78!important;
  opacity:1!important;
}


/* ========================================================================== 
   V2.60 — RESTORED SHARED SCROLL PHYSICS + STATIONARY CATEGORY BACKDROP
   Desktop and mobile use the same proven V2.23 header behavior:
   scroll down -> top package may leave; scroll up -> it returns immediately.
   Only the category artwork remains fixed behind the scrolling cards.
   ========================================================================== */
:root{--rxde-paper-left-v260:0px;--rxde-paper-right-v260:0px;--rxde-backdrop-top-v260:0px}

/* Undo the V2.59 worktop idea if stale classes survive from cached state. */
html body #stickyStack.sticky-stack,
html body.mobile-header-visible #stickyStack.sticky-stack,
html body.mobile-header-hidden #stickyStack.sticky-stack,
html body.mobile-header-scrolling #stickyStack.sticky-stack{
  position:sticky!important;
  top:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  background:transparent!important;
  box-shadow:none!important;
}
/* The visibility itself is once again owned by the existing V2.23 scroll classes. */
html body.mobile-header-hidden #stickyStack.sticky-stack,
html body.mobile-header-scrolling #stickyStack.sticky-stack{
  pointer-events:none!important;
}
html body.mobile-header-visible #stickyStack.sticky-stack{
  pointer-events:auto!important;
}

/* No permanently sticky filter dock. Filters return to their normal document position. */
#rxdeFilterDock,.rxde-filter-dock{display:contents!important;position:static!important;top:auto!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
#catalogToolbar,#contextLine,#subcategoryStrip,#doseFilterStrip{position:relative!important;top:auto!important}
body.rxde-compact-top #appHeader{height:auto!important;min-height:0!important;max-height:none!important;padding:inherit!important}
body.rxde-compact-top #appHeader .mobile-rate-summary,
body.rxde-compact-top #appHeader .rate-stack,
body.rxde-compact-top #appHeader .flip-date,
body.rxde-compact-top #appHeader .brand-copy{display:initial!important}

/* Fixed category artwork. It is a passive layer and never participates in scroll geometry. */
#rxdeCategoryBackdrop{
  position:fixed!important;
  z-index:0!important;
  left:var(--rxde-paper-left-v260)!important;
  right:var(--rxde-paper-right-v260)!important;
  top:var(--rxde-backdrop-top-v260)!important;
  bottom:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
  background-image:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.88) 26%,rgba(255,255,255,.48) 58%,rgba(255,255,255,.14) 100%),
    var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-position:center,right center!important;
  background-size:100% 100%,cover!important;
  opacity:.58!important;
}
.paper-shell{position:relative!important;isolation:isolate!important}
.paper-shell > .workspace,.paper-shell > .site-footer,#stickyStack{position:relative;z-index:1}
#catalogHero.catalog-hero:not([hidden]){
  background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.66))!important;
}

/* Mobile typeahead is a real readable overlay below the live search field. */
@media(max-width:760px){
  html.rxde-mobile-ui body > #searchSuggest.search-suggest{
    position:fixed!important;
    z-index:2147482000!important;
    left:6px!important;
    right:6px!important;
    width:auto!important;
    max-width:none!important;
    max-height:min(46dvh,390px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:4px!important;
    border:1px solid #b9ccd7!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.995)!important;
    box-shadow:0 14px 34px rgba(28,62,82,.22)!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-row,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row:hover,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row.selected{
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr) 90px!important;
    grid-template-rows:minmax(58px,auto) 10px!important;
    gap:4px 7px!important;
    min-height:72px!important;
    height:auto!important;
    margin:0!important;
    padding:6px 6px 0!important;
    border:0!important;
    border-bottom:1px solid #e3eaed!important;
    border-radius:0!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-photo{
    grid-column:1!important;grid-row:1!important;
    width:44px!important;height:52px!important;min-width:44px!important;min-height:52px!important;
    margin:0!important;padding:2px!important;border:0!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-main{
    grid-column:2!important;grid-row:1!important;display:block!important;min-width:0!important;overflow:hidden!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-title-line{display:flex!important;gap:3px!important;align-items:flex-start!important}
  html.rxde-mobile-ui body > #searchSuggest .suggest-title{font-size:11.6px!important;line-height:1.15!important;font-weight:780!important;white-space:normal!important}
  html.rxde-mobile-ui body > #searchSuggest .suggest-main span{font-size:9px!important;line-height:1.2!important}
  html.rxde-mobile-ui body > #searchSuggest .suggest-side{
    grid-column:3!important;grid-row:1!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:4px!important;min-width:0!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-price{align-items:flex-end!important}
  html.rxde-mobile-ui body > #searchSuggest .suggest-price b{font-size:11.5px!important}
  html.rxde-mobile-ui body > #searchSuggest .suggest-price small{font-size:9.5px!important}
  html.rxde-mobile-ui body > #searchSuggest .suggest-add-zero{height:28px!important;min-height:28px!important;font-size:10px!important}
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper{height:28px!important;grid-template-columns:27px 30px 27px!important}
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper button,
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper input{height:28px!important;min-height:28px!important}
  html.rxde-mobile-ui body > #searchSuggest .suggest-picked{grid-column:1/-1!important;grid-row:2!important;height:10px!important;min-height:10px!important;max-height:10px!important}
}


/* ========================================================================== 
   V2.61 — filter semantics + mobile total fit + guaranteed upward header reveal
   ========================================================================== */
/* Every dosage-form filter uses the same muted family colour as the badge. */
html body .form-badge.form-tablet,html body .form-filter-chip.form-tablet{background:#dff1ff!important;border-color:#5aaee6!important;color:#145a82!important}
html body .form-badge.form-capsule,html body .form-filter-chip.form-capsule{background:#ece3ff!important;border-color:#a780e8!important;color:#594079!important}
html body .form-badge.form-granules,html body .form-filter-chip.form-granules{background:#ffedbd!important;border-color:#d8a93d!important;color:#6e5112!important}
html body .form-badge.form-suppository,html body .form-filter-chip.form-suppository{background:#ffe0da!important;border-color:#df8a7d!important;color:#7d3c33!important}
html body .form-badge.form-enema,html body .form-filter-chip.form-enema{background:#def3e5!important;border-color:#75b88a!important;color:#315f40!important}
html body .form-badge.form-foam,html body .form-filter-chip.form-foam{background:#eadff5!important;border-color:#aa84cb!important;color:#5b4270!important}
html body .form-badge.form-suspension,html body .form-filter-chip.form-suspension{background:#ddf1ed!important;border-color:#76b6a9!important;color:#315f57!important}
html body .form-badge.form-drops,html body .form-filter-chip.form-drops{background:#dff1fa!important;border-color:#74b2d2!important;color:#315c72!important}
html body .form-badge.form-spray,html body .form-filter-chip.form-spray{background:#e1edf4!important;border-color:#83aebe!important;color:#3d5f6e!important}
html body .form-badge.form-cream,html body .form-filter-chip.form-cream,
html body .form-badge.form-gel,html body .form-filter-chip.form-gel,
html body .form-badge.form-ointment,html body .form-filter-chip.form-ointment{background:#f8e5d1!important;border-color:#cf9f70!important;color:#694a32!important}
html body .form-badge.form-injection,html body .form-filter-chip.form-injection{background:#e5e8f5!important;border-color:#8d99c3!important;color:#475473!important}
html body .form-badge.form-patch,html body .form-filter-chip.form-patch{background:#e8eddc!important;border-color:#9cac6f!important;color:#53613c!important}
html body .form-badge.form-powder,html body .form-filter-chip.form-powder{background:#efe5d1!important;border-color:#b7a06d!important;color:#655536!important}
html body .form-badge.form-solution,html body .form-filter-chip.form-solution{background:#deedf0!important;border-color:#7daeb5!important;color:#355e64!important}
html body .form-badge.form-other,html body .form-filter-chip.form-other{background:#f2f4f3!important;border-color:#cfd8d5!important;color:#586865!important}
html body .form-filter-chip[class*="form-"]:not(.form-filter-all):not(.form-filter-reset).active{
  box-shadow:inset 0 0 0 1px currentColor,0 1px 5px rgba(28,55,68,.10)!important;
  font-weight:800!important;
}

/* Mobile cards: reserve a little more effective room for RUB without changing card physics. */
@media(max-width:760px){
  html.rxde-mobile-ui #productList > article.r2-card > .r2-footer > .r2-bottom{
    grid-template-columns:minmax(0,1fr) 108px!important;
  }
  html.rxde-mobile-ui #productList > article.r2-card .r2-qty-cell{
    width:108px!important;min-width:108px!important;max-width:108px!important;padding:5px 5px!important;
  }
  html.rxde-mobile-ui #productList > article.r2-card .r2-qty,
  html.rxde-mobile-ui #productList > article.r2-card .r2-add-zero{
    width:98px!important;min-width:98px!important;max-width:98px!important;
  }
  html.rxde-mobile-ui #productList > article.r2-card .r2-qty{grid-template-columns:30px 36px 30px!important}
  html.rxde-mobile-ui #productList > article.r2-card .r2-unit{padding-left:3px!important;padding-right:3px!important}
  html.rxde-mobile-ui #productList > article.r2-card .r2-unit strong{
    font-size:13.2px!important;line-height:14px!important;letter-spacing:-.38px!important;
    font-variant-numeric:tabular-nums!important;overflow:visible!important;text-overflow:clip!important;
  }
  html.rxde-mobile-ui #productList > article.r2-card .r2-unit span{font-size:8.5px!important}

  /* Upward scroll must restore the entire mobile worktop, including cart total. */
  html.rxde-mobile-ui body.mobile-header-visible #stickyStack.sticky-stack{
    transform:translate3d(0,0,0)!important;opacity:1!important;visibility:visible!important;clip-path:inset(0)!important;pointer-events:auto!important;
  }
  html.rxde-mobile-ui body.mobile-header-visible #appHeader{
    top:0!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  }
}


/* ========================================================================== 
   V3.13 — MOBILE HEADER OVERLAY REVEAL + FULL-WIDTH SEARCH SUGGESTIONS
   Desktop physics stays unchanged. On mobile, once the document has scrolled,
   the returned header is an overlay, so showing it never pushes cards.
   ========================================================================== */
@media(max-width:760px){
  html.rxde-mobile-ui #stickyStack.rxde-mobile-floating-header.sticky-stack{
    position:fixed!important;
    z-index:2147481500!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    transform:translate3d(0,0,0);
    will-change:transform!important;
  }
  html.rxde-mobile-ui body.mobile-header-hidden #stickyStack.rxde-mobile-floating-header,
  html.rxde-mobile-ui body.mobile-header-scrolling #stickyStack.rxde-mobile-floating-header{
    transform:translate3d(0,calc(-100% - 16px),0)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html.rxde-mobile-ui body.mobile-header-visible #stickyStack.rxde-mobile-floating-header{
    transform:translate3d(0,0,0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    box-shadow:0 6px 20px rgba(35,61,72,.10)!important;
  }

  /* JS sets exact viewport width/top because the mobile keyboard changes the
     visual viewport. These rules only define the internal readable layout. */
  html.rxde-mobile-ui body > #searchSuggest.search-suggest{
    box-sizing:border-box!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-row,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row:hover,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row.selected{
    width:100%!important;
    grid-template-columns:52px minmax(0,1fr) minmax(92px,106px)!important;
    grid-template-rows:minmax(64px,auto) 11px!important;
    min-height:78px!important;
    box-sizing:border-box!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-main{
    min-width:0!important;
    width:auto!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-title{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    white-space:normal!important;
  }
  html.rxde-mobile-ui body > #searchSuggest .suggest-side{
    width:auto!important;
    min-width:92px!important;
    max-width:106px!important;
  }
}


/* ========================================================================== 
   V2.63 — REMOVE EMPTY MOBILE NAVIGATION ROW
   On mobile the breadcrumb/main navigation row is hidden, so flowNav must
   reserve only the visible category strip height. This removes the blank band
   immediately below the categories without changing header scroll physics.
   ========================================================================== */
@media(max-width:760px){
  html.rxde-mobile-ui #stickyStack > #flowNav.flow-nav,
  html.rxde-mobile-ui #stickyStack > #flowNav.flow-nav:not([hidden]){
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  html.rxde-mobile-ui #stickyStack > #flowNav .flow-nav-main{
    display:none!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  html.rxde-mobile-ui #stickyStack > #flowNav .flow-nav-second-row,
  html.rxde-mobile-ui #stickyStack #categoryStrip.category-strip.notebook-index-tabs{
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
    margin:0!important;
  }
  html.rxde-mobile-ui .workspace{
    margin-top:0!important;
    padding-top:0!important;
  }
}


/* ========================================================================== 
   V2.64 — ONE CATEGORY CONTEXT BAR
   Breadcrumb/main nav row removed. Categories stay equal-weight; the single
   photo bar carries category title, slogan, product count and sorting.
   ========================================================================== */
/* No hierarchy row: search + equal category tabs are the navigation. */
html body #stickyStack > #flowNav .flow-nav-main{
  display:none!important;
  height:0!important;min-height:0!important;max-height:0!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
}
html body #stickyStack > #flowNav.flow-nav{
  height:56px!important;min-height:56px!important;max-height:56px!important;
  padding:0!important;margin:0!important;overflow:visible!important;
}
html body #stickyStack > #flowNav .flow-nav-second-row,
html body #stickyStack #categoryStrip.category-strip.notebook-index-tabs{
  height:56px!important;min-height:56px!important;max-height:56px!important;
  margin:0!important;
}

/* One full-photo category/context strip. No white plaque, no breadcrumb. */
html body #catalogHero.catalog-hero:not([hidden]){
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  width:calc(100% - 24px)!important;
  height:46px!important;min-height:46px!important;max-height:46px!important;
  margin:5px 12px 7px!important;
  padding:5px 14px 5px 16px!important;
  overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--cat-accent) 38%,#d6e2e6)!important;
  border-radius:12px!important;
  background-image:var(--hero-image)!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:cover!important;
  box-sizing:border-box!important;
  box-shadow:0 2px 7px rgba(31,58,70,.06)!important;
}
/* Uniform veil only for legibility — not a gradient and not a separate block. */
html body #catalogHero.catalog-hero:not([hidden])::before{
  content:""!important;position:absolute!important;inset:0!important;z-index:0!important;
  background:rgba(255,255,255,.44)!important;pointer-events:none!important;
}
html body #catalogHero .catalog-hero-copy,
html body #catalogHero .catalog-hero-meta{position:relative!important;z-index:1!important;min-width:0!important}
html body #catalogHero .catalog-hero-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:0!important;overflow:hidden!important}
html body #catalogHero .catalog-hero-copy h1{
  margin:0!important;padding:0!important;font-size:14.5px!important;line-height:17px!important;font-weight:850!important;
  color:#14394b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  text-shadow:0 1px 2px rgba(255,255,255,.95)!important;
}
html body #catalogHero .catalog-hero-copy p{
  margin:0!important;padding:0!important;font-size:8.8px!important;line-height:11px!important;font-weight:600!important;
  color:#486574!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  text-shadow:0 1px 2px rgba(255,255,255,.98)!important;
}
html body #catalogHero .catalog-hero-meta{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;flex:0 0 auto!important;
  color:#24495c!important;text-shadow:0 1px 2px rgba(255,255,255,.98)!important;
}
html body #catalogHero #catalogCount{font-size:10px!important;line-height:1!important;font-weight:800!important;white-space:nowrap!important}
html body #catalogHero .catalog-sort{
  display:flex!important;align-items:center!important;gap:5px!important;margin:0!important;padding:0!important;
  font-size:9px!important;line-height:1!important;font-weight:650!important;color:#526b78!important;white-space:nowrap!important;
}
html body #catalogHero .catalog-sort select{
  height:26px!important;min-height:26px!important;margin:0!important;padding:0 25px 0 8px!important;
  border:1px solid rgba(52,93,113,.28)!important;border-radius:8px!important;background:rgba(255,255,255,.48)!important;
  color:#1e4b61!important;font-size:10px!important;font-weight:760!important;box-shadow:none!important;backdrop-filter:blur(2px)!important;
}

/* When no form/dose filter is active, toolbar takes no vertical space. */
html body #catalogToolbar.catalog-toolbar{
  min-height:0!important;margin:0!important;padding:0 12px!important;border:0!important;background:transparent!important;
}
html body #catalogToolbar .catalog-count-zone:has(#formFilterStrip[hidden]),
html body #catalogToolbar .catalog-tools:empty{min-height:0!important;height:0!important;overflow:hidden!important}
html body #catalogToolbar:has(#formFilterStrip[hidden]) .catalog-count-zone{display:none!important}
html body #catalogToolbar:has(#formFilterStrip[hidden]){height:0!important;min-height:0!important;overflow:hidden!important}

@media(max-width:760px){
  html.rxde-mobile-ui #stickyStack > #flowNav.flow-nav,
  html.rxde-mobile-ui #stickyStack > #flowNav .flow-nav-second-row,
  html.rxde-mobile-ui #stickyStack #categoryStrip.category-strip.notebook-index-tabs{
    height:56px!important;min-height:56px!important;max-height:56px!important;
  }
  html.rxde-mobile-ui #catalogHero.catalog-hero:not([hidden]){
    width:calc(100% - 12px)!important;
    height:48px!important;min-height:48px!important;max-height:48px!important;
    margin:4px 6px 5px!important;padding:5px 9px 5px 10px!important;gap:6px!important;border-radius:11px!important;
  }
  html.rxde-mobile-ui #catalogHero.catalog-hero:not([hidden])::before{background:rgba(255,255,255,.46)!important}
  html.rxde-mobile-ui #catalogHero .catalog-hero-copy{flex:1 1 auto!important}
  html.rxde-mobile-ui #catalogHero .catalog-hero-copy h1{font-size:13px!important;line-height:15px!important}
  html.rxde-mobile-ui #catalogHero .catalog-hero-copy p{font-size:8px!important;line-height:10px!important}
  html.rxde-mobile-ui #catalogHero .catalog-hero-meta{gap:5px!important}
  html.rxde-mobile-ui #catalogHero #catalogCount{font-size:9px!important}
  html.rxde-mobile-ui #catalogHero .catalog-sort{font-size:0!important;gap:0!important}
  html.rxde-mobile-ui #catalogHero .catalog-sort select{
    width:86px!important;height:26px!important;min-height:26px!important;padding-left:6px!important;padding-right:20px!important;font-size:9px!important;
  }
}


/* ========================================================================== 
   V2.65 — CATEGORY CONTEXT BAR JOINS STICKY PACKAGE + FULL-WIDTH FILTER RAIL
   The photo context row now travels with the header/categories and returns on
   upward scroll. Form filters use the entire visible width and scroll only
   when their natural minimum widths no longer fit.
   ========================================================================== */

/* Context row is now part of stickyStack: keep it visually flush to categories. */
html body #stickyStack > #catalogHero.catalog-hero:not([hidden]){
  position:relative!important;
  z-index:2!important;
  width:calc(100% - 24px)!important;
  margin:4px 12px 6px!important;
  flex:0 0 auto!important;
}
html body #stickyStack > #catalogHero .catalog-hero-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex:0 0 auto!important;
  min-width:max-content!important;
  visibility:visible!important;
  opacity:1!important;
}
html body #stickyStack > #catalogHero #catalogCount{
  display:inline-flex!important;
  align-items:center!important;
  height:26px!important;
  margin:0!important;
  padding:0 2px!important;
  white-space:nowrap!important;
  visibility:visible!important;
  opacity:1!important;
}
html body #stickyStack > #catalogHero .catalog-sort{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  height:28px!important;
  margin:0!important;
  padding:0!important;
  visibility:visible!important;
  opacity:1!important;
}
html body #stickyStack > #catalogHero .catalog-sort select{
  display:block!important;
  min-width:128px!important;
  height:27px!important;
  margin:0!important;
  opacity:1!important;
  visibility:visible!important;
}

/* Toolbar is only a full-width filter rail now. */
html body #catalogToolbar.catalog-toolbar{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0 12px 5px!important;
  overflow:visible!important;
}
html body #catalogToolbar .catalog-count-zone{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
html body #catalogToolbar .catalog-count-zone > #catalogCount{
  /* count lives in the photo context bar during normal category browsing */
  flex:0 0 auto!important;
}
html body #formFilterStrip.form-filter-strip,
html body #formFilterStrip.form-filter-strip:not([hidden]){
  box-sizing:border-box!important;
  display:flex!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  min-height:28px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
html body #formFilterStrip.form-filter-strip[hidden]{display:none!important}
html body #formFilterStrip .form-filter-scroll{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:1px 0 2px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:thin!important;
  scroll-behavior:smooth!important;
}
/* Fill the available row when there are only a few filters. If their natural
   minimum widths exceed the viewport, they stop shrinking and the rail scrolls. */
html body #formFilterStrip .form-filter-scroll > .form-filter-chip{
  box-sizing:border-box!important;
  flex:1 0 auto!important;
  min-width:max-content!important;
  max-width:none!important;
  white-space:nowrap!important;
  margin:0!important;
}

@media(max-width:760px){
  html.rxde-mobile-ui #stickyStack > #catalogHero.catalog-hero:not([hidden]){
    width:calc(100% - 12px)!important;
    margin:3px 6px 4px!important;
  }
  html.rxde-mobile-ui #stickyStack > #catalogHero .catalog-hero-meta{
    gap:4px!important;
    min-width:auto!important;
  }
  html.rxde-mobile-ui #stickyStack > #catalogHero #catalogCount{
    font-size:8.8px!important;
    padding:0!important;
  }
  html.rxde-mobile-ui #stickyStack > #catalogHero .catalog-sort select{
    min-width:82px!important;
    width:82px!important;
    height:25px!important;
    font-size:8.8px!important;
  }
  html.rxde-mobile-ui #catalogToolbar.catalog-toolbar{
    padding:0 6px 4px!important;
  }
  html.rxde-mobile-ui #formFilterStrip.form-filter-strip,
  html.rxde-mobile-ui #formFilterStrip.form-filter-strip:not([hidden]){
    width:100%!important;
    min-height:30px!important;
  }
  html.rxde-mobile-ui #formFilterStrip .form-filter-scroll{
    width:100%!important;
    max-width:100%!important;
    gap:4px!important;
    padding:1px 0 2px!important;
  }
  html.rxde-mobile-ui #formFilterStrip .form-filter-scroll > .form-filter-chip{
    flex:1 0 auto!important;
    min-width:max-content!important;
    height:28px!important;
    min-height:28px!important;
    padding:0 10px!important;
  }
}


/* ========================================================================== 
   V2.66 — MIRRORED CATEGORY BAR / NATURAL FILTER WIDTH / RX BADGE LOCK
   ========================================================================== */
/* Category context bar: image lives on the left, the right side resolves to
   clean white. All category/service text is grouped on the right. */
html body #catalogHero.catalog-hero:not([hidden]){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(340px,auto)!important;
  align-items:stretch!important;
  gap:0!important;
  overflow:hidden!important;
  background-position:left center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}
html body #catalogHero.catalog-hero:not([hidden])::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.10) 38%,
    rgba(255,255,255,.70) 62%,
    rgba(255,255,255,.96) 78%,
    #fff 100%)!important;
}
html body #catalogHero .catalog-hero-spacer{grid-column:1!important;position:relative!important;z-index:1!important;min-width:0!important}
html body #catalogHero .catalog-hero-right{
  grid-column:2!important;
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:14px!important;
  min-width:0!important;
  padding:0 10px 0 16px!important;
  text-align:right!important;
}
html body #catalogHero .catalog-hero-copy{
  flex:0 1 auto!important;
  display:block!important;
  min-width:0!important;
  text-align:right!important;
}
html body #catalogHero .catalog-hero-copy h1{
  margin:0!important;
  color:#173746!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:right!important;
}
html body #catalogHero .catalog-hero-copy p{display:none!important}
html body #catalogHero .catalog-hero-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:9px!important;
  flex:0 0 auto!important;
  min-width:max-content!important;
  text-align:right!important;
}
html body #catalogHero #catalogCount{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  white-space:nowrap!important;
  font-weight:800!important;
}
html body #catalogHero .catalog-sort{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  white-space:nowrap!important;
}
html body #catalogHero .catalog-sort select{
  background:rgba(255,255,255,.78)!important;
  backdrop-filter:none!important;
}

/* Filters keep their compact natural width. The rail may use the whole screen,
   but buttons never stretch just to fill empty space. */
html body #formFilterStrip.form-filter-strip,
html body #formFilterStrip.form-filter-strip:not([hidden]){
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
html body #formFilterStrip .form-filter-scroll{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  gap:5px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scrollbar-width:thin!important;
}
html body #formFilterStrip .form-filter-scroll > .form-filter-chip{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  padding-left:9px!important;
  padding-right:9px!important;
  white-space:nowrap!important;
}

/* RX is always a compact badge — never a flex-fill or stretched control. */
html body .rx-badge,
html body #productList .rx-badge,
html body #searchSuggest .rx-badge,
html body #orderLines .rx-badge{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:24px!important;
  max-width:max-content!important;
  height:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  margin:0!important;
  padding:0 5px!important;
  border:1px solid #d96d69!important;
  border-radius:5px!important;
  background:#fff!important;
  color:var(--rxde-red,#b94040)!important;
  font-size:9px!important;
  line-height:18px!important;
  font-weight:760!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  transform:none!important;
}

@media(max-width:760px){
  html.rxde-mobile-ui #catalogHero.catalog-hero:not([hidden]){
    grid-template-columns:minmax(0,1fr) minmax(225px,68%)!important;
  }
  html.rxde-mobile-ui #catalogHero.catalog-hero:not([hidden])::before{
    background:linear-gradient(90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.16) 28%,
      rgba(255,255,255,.82) 53%,
      #fff 74%,
      #fff 100%)!important;
  }
  html.rxde-mobile-ui #catalogHero .catalog-hero-right{
    gap:6px!important;
    padding:0 5px 0 8px!important;
  }
  html.rxde-mobile-ui #catalogHero .catalog-hero-copy h1{
    font-size:11.5px!important;
    line-height:14px!important;
  }
  html.rxde-mobile-ui #catalogHero .catalog-hero-meta{gap:4px!important}
  html.rxde-mobile-ui #catalogHero #catalogCount{font-size:8.5px!important}
  html.rxde-mobile-ui #catalogHero .catalog-sort select{
    width:76px!important;
    min-width:76px!important;
    height:24px!important;
    min-height:24px!important;
    padding-left:5px!important;
    padding-right:17px!important;
    font-size:8.3px!important;
  }
  html.rxde-mobile-ui #formFilterStrip .form-filter-scroll > .form-filter-chip{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  html.rxde-mobile-ui .rx-badge,
  html.rxde-mobile-ui #productList .rx-badge{
    min-width:22px!important;
    height:19px!important;
    min-height:19px!important;
    max-height:19px!important;
    padding:0 4px!important;
    font-size:8px!important;
    line-height:17px!important;
  }
}


/* ========================================================================== 
   V2.67 — ONE CATEGORY CANVAS / OPPOSITE CATEGORY STRIP / LINEAR META FLOW
   Main catalogue background: one single non-repeating category photo, strongest
   on the RIGHT and fully white on the LEFT. Category strip does the opposite:
   artwork starts on the LEFT and resolves to clean white on the RIGHT.
   ========================================================================== */

/* One unified, non-tiled category canvas behind the catalogue. */
html body #rxdeCategoryBackdrop{
  background-image:
    linear-gradient(90deg,
      #fff 0%,
      #fff 22%,
      rgba(255,255,255,.98) 34%,
      rgba(255,255,255,.82) 48%,
      rgba(255,255,255,.42) 66%,
      rgba(255,255,255,.10) 84%,
      rgba(255,255,255,0) 100%),
    var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-position:center,right center!important;
  background-size:100% 100%,cover!important;
  opacity:1!important;
}

/* Prevent any older workspace pseudo-photo from creating a second stitched crop. */
html body .paper-shell > .workspace::before,
html body .workspace::before{
  display:none!important;
  content:none!important;
  background:none!important;
}

/* Category platform: opposite visual direction — photo on LEFT -> white RIGHT. */
html body #catalogHero.catalog-hero:not([hidden]){
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-height:44px!important;
  height:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(176,199,210,.62)!important;
  border-radius:10px!important;
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.12) 26%,
      rgba(255,255,255,.54) 48%,
      rgba(255,255,255,.90) 67%,
      #fff 82%,
      #fff 100%),
    var(--hero-image)!important;
  background-repeat:no-repeat!important;
  background-position:center,left center!important;
  background-size:100% 100%,58% auto!important;
  box-shadow:none!important;
}
html body #catalogHero.catalog-hero:not([hidden])::before{
  content:none!important;
  display:none!important;
}
html body #catalogHero .catalog-hero-spacer{display:none!important}

/* One linear row: CATEGORY -> COUNT -> ... -> SORT pinned to the far right. */
html body #catalogHero .catalog-hero-right{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0 10px 0 max(44%,18px)!important;
  box-sizing:border-box!important;
  text-align:left!important;
}
html body #catalogHero .catalog-hero-copy{
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:38%!important;
  text-align:left!important;
}
html body #catalogHero .catalog-hero-copy h1{
  margin:0!important;
  color:#173746!important;
  font-size:13px!important;
  line-height:16px!important;
  font-weight:820!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:left!important;
}
html body #catalogHero .catalog-hero-meta{
  flex:1 1 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
}
html body #catalogHero #catalogCount{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  height:26px!important;
  margin:0!important;
  padding:0!important;
  color:#385866!important;
  font-size:10px!important;
  line-height:26px!important;
  font-weight:760!important;
  white-space:nowrap!important;
}
html body #catalogHero .catalog-sort{
  flex:0 0 auto!important;
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  height:30px!important;
  color:#6a7d86!important;
  font-size:9px!important;
  white-space:nowrap!important;
}
html body #catalogHero .catalog-sort select{
  width:120px!important;
  min-width:120px!important;
  height:28px!important;
  min-height:28px!important;
  margin:0!important;
  padding:0 22px 0 8px!important;
  border:1px solid #abc5d2!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#234b60!important;
  font-size:10px!important;
  font-weight:700!important;
  box-shadow:none!important;
}

/* Keep compact filter buttons; only the RAIL may scroll. */
html body #formFilterStrip .form-filter-scroll{
  justify-content:flex-start!important;
}
html body #formFilterStrip .form-filter-scroll > .form-filter-chip{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:max-content!important;
}

@media(max-width:760px){
  html body #rxdeCategoryBackdrop{
    background-image:
      linear-gradient(90deg,
        #fff 0%,
        rgba(255,255,255,.99) 17%,
        rgba(255,255,255,.88) 34%,
        rgba(255,255,255,.54) 56%,
        rgba(255,255,255,.14) 82%,
        rgba(255,255,255,0) 100%),
      var(--rxde-category-image)!important;
    background-position:center,right center!important;
    background-size:100% 100%,cover!important;
  }
  html.rxde-mobile-ui #catalogHero.catalog-hero:not([hidden]){
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    background-image:
      linear-gradient(90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.18) 22%,
        rgba(255,255,255,.66) 43%,
        rgba(255,255,255,.94) 62%,
        #fff 76%,
        #fff 100%),
      var(--hero-image)!important;
    background-position:center,left center!important;
    background-size:100% 100%,72% auto!important;
  }
  html.rxde-mobile-ui #catalogHero .catalog-hero-right{
    gap:6px!important;
    padding:0 5px 0 38%!important;
  }
  html.rxde-mobile-ui #catalogHero .catalog-hero-copy{
    max-width:34%!important;
  }
  html.rxde-mobile-ui #catalogHero .catalog-hero-copy h1{
    font-size:10px!important;
    line-height:12px!important;
  }
  html.rxde-mobile-ui #catalogHero .catalog-hero-meta{
    gap:5px!important;
  }
  html.rxde-mobile-ui #catalogHero #catalogCount{
    height:24px!important;
    font-size:8px!important;
    line-height:24px!important;
  }
  html.rxde-mobile-ui #catalogHero .catalog-sort{
    height:26px!important;
    font-size:0!important;
  }
  html.rxde-mobile-ui #catalogHero .catalog-sort select{
    width:82px!important;
    min-width:82px!important;
    height:25px!important;
    min-height:25px!important;
    padding-left:5px!important;
    padding-right:17px!important;
    font-size:8.2px!important;
    border-radius:7px!important;
  }
}


/* ===== v1.68 — centered iPhone-style category capsule ===== */
html body #catalogHero.catalog-hero,
html body #catalogHero.catalog-hero[class*="tone-"]{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  min-height:108px!important;
  height:108px!important;
  margin:0 12px 6px!important;
  padding:0!important;
  border:1px solid rgba(140,176,196,.32)!important;
  border-radius:20px!important;
  background:#f6fafc!important;
  box-shadow:0 8px 24px rgba(31,67,89,.08)!important;
}
html body #catalogHero.catalog-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background-image:linear-gradient(90deg,rgba(255,255,255,.14) 0%,rgba(255,255,255,.06) 34%,rgba(255,255,255,0) 100%),var(--hero-image)!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  opacity:1!important;
}
html body #catalogHero.catalog-hero::after{display:none!important}
html body #catalogHero.catalog-hero > *{position:relative!important;z-index:2!important}
html body #catalogHero .catalog-hero-center{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 14px!important;
}
html body #catalogHero .catalog-hero-pill{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:12px!important;
  width:min(100%,840px)!important;
  min-height:54px!important;
  padding:10px 18px!important;
  background:rgba(255,255,255,.95)!important;
  border:1px solid rgba(137,171,191,.36)!important;
  border-radius:999px!important;
  box-shadow:0 12px 28px rgba(30,65,87,.12)!important;
  backdrop-filter:blur(5px)!important;
}
html body #catalogHero .catalog-hero-copy,
html body #catalogHero .catalog-hero-right,
html body #catalogHero .catalog-hero-spacer,
html body #catalogHero .catalog-hero-photo{display:none!important}
html body #catalogHero .catalog-hero-pill > h1{
  margin:0!important;
  min-width:0!important;
  font-size:27px!important;
  line-height:1.05!important;
  font-weight:850!important;
  color:#1f4558!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body #catalogHero .catalog-hero-meta{
  display:contents!important;
}
html body #catalogHero #catalogCount{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  white-space:nowrap!important;
  font-size:15px!important;
  line-height:1.1!important;
  font-weight:800!important;
  color:#33586a!important;
}
html body #catalogHero .catalog-sort{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  white-space:nowrap!important;
  font-size:13px!important;
  line-height:1!important;
  color:#607b8b!important;
}
html body #catalogHero .catalog-sort select{
  height:34px!important;
  min-height:34px!important;
  padding:0 38px 0 12px!important;
  border-radius:999px!important;
  border:1px solid rgba(129,167,188,.52)!important;
  background-color:#ffffff!important;
  font-size:13px!important;
  font-weight:700!important;
  color:#214b60!important;
}
html body #catalogToolbar.catalog-toolbar{
  margin-top:4px!important;
}
html body #catalogHero:not([hidden]) + #catalogToolbar .catalog-tools{
  display:none!important;
}
html body #catalogHero:not([hidden]) + #catalogToolbar .catalog-count-zone{
  width:100%!important;
}
html body #catalogHero:not([hidden]) + #catalogToolbar #catalogCount{
  display:none!important;
}
@media (max-width:980px){
  html body #catalogHero.catalog-hero,
  html body #catalogHero.catalog-hero[class*="tone-"]{
    min-height:96px!important;
    height:96px!important;
    margin:0 10px 6px!important;
    border-radius:18px!important;
  }
  html body #catalogHero .catalog-hero-pill{
    width:min(100%,700px)!important;
    padding:8px 14px!important;
    gap:10px!important;
  }
  html body #catalogHero .catalog-hero-pill > h1{font-size:22px!important}
  html body #catalogHero #catalogCount{font-size:14px!important}
}
@media (max-width:760px){
  html body #catalogHero.catalog-hero,
  html body #catalogHero.catalog-hero[class*="tone-"]{
    min-height:102px!important;
    height:102px!important;
    margin:0 8px 6px!important;
    border-radius:18px!important;
  }
  html body #catalogHero .catalog-hero-center{padding:0 8px!important}
  html body #catalogHero .catalog-hero-pill{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:1fr auto!important;
    grid-template-areas:
      "title title"
      "count sort"!important;
    padding:10px 12px!important;
    min-height:64px!important;
    gap:7px 10px!important;
  }
  html body #catalogHero .catalog-hero-pill > h1{
    grid-area:title!important;
    font-size:18px!important;
    text-align:center!important;
    white-space:normal!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
  }
  html body #catalogHero #catalogCount{
    grid-area:count!important;
    justify-self:start!important;
    font-size:12.5px!important;
  }
  html body #catalogHero .catalog-sort{
    grid-area:sort!important;
    justify-self:end!important;
    font-size:0!important;
  }
  html body #catalogHero .catalog-sort select{
    height:31px!important;
    min-height:31px!important;
    padding:0 28px 0 10px!important;
    font-size:12px!important;
    max-width:122px!important;
  }
}
@media (max-width:420px){
  html body #catalogHero.catalog-hero,
  html body #catalogHero.catalog-hero[class*="tone-"]{
    min-height:110px!important;
    height:110px!important;
  }
  html body #catalogHero .catalog-hero-pill > h1{font-size:16px!important}
  html body #catalogHero #catalogCount{font-size:11.5px!important}
  html body #catalogHero .catalog-sort select{max-width:108px!important}
}


/* =======================================================================
   V2.69 — compact centered capsule over a single category photo
   - one-line centered pill
   - dynamic width by content
   - background is only the category image
   - separators between title / count / sort with tight spacing
   ======================================================================= */
html body #catalogHero.catalog-hero:not([hidden]),
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:calc(100% - 24px)!important;
  min-height:58px!important;
  height:58px!important;
  max-height:58px!important;
  margin:4px 12px 6px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(134,170,188,.28)!important;
  border-radius:16px!important;
  background:transparent!important;
  box-shadow:0 4px 14px rgba(31,67,89,.06)!important;
}
html body #catalogHero.catalog-hero:not([hidden])::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background-image:var(--hero-image)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
}
html body #catalogHero.catalog-hero:not([hidden])::after{display:none!important}
html body #catalogHero.catalog-hero:not([hidden]) > *{position:relative!important;z-index:1!important}
html body #catalogHero .catalog-hero-center{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 12px!important;
}
html body #catalogHero .catalog-hero-copy,
html body #catalogHero .catalog-hero-right,
html body #catalogHero .catalog-hero-spacer,
html body #catalogHero .catalog-hero-photo{display:none!important}
html body #catalogHero .catalog-hero-pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  width:auto!important;
  max-width:calc(100% - 24px)!important;
  min-height:0!important;
  padding:2px 14px 1px!important;
  margin:0 auto!important;
  background:#fff!important;
  border:1px solid rgba(137,171,191,.30)!important;
  border-radius:999px!important;
  box-shadow:0 4px 14px rgba(31,67,89,.08)!important;
  backdrop-filter:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
html body #catalogHero .catalog-hero-pill > h1{
  margin:0!important;
  min-width:0!important;
  max-width:min(44vw,520px)!important;
  font-size:16px!important;
  line-height:17px!important;
  font-weight:840!important;
  color:#1f4558!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  flex:0 1 auto!important;
}
html body #catalogHero .catalog-hero-meta{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  flex:0 0 auto!important;
  min-width:0!important;
  white-space:nowrap!important;
}
html body #catalogHero #catalogCount,
html body #catalogHero .catalog-sort{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  margin:0!important;
  padding:0!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:760!important;
  color:#375a6d!important;
  white-space:nowrap!important;
}
html body #catalogHero #catalogCount::before,
html body #catalogHero .catalog-sort::before{
  content:"·"!important;
  display:inline-block!important;
  margin-right:1px!important;
  color:#88a0ad!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:700!important;
}
html body #catalogHero .catalog-sort{
  color:#607b8b!important;
}
html body #catalogHero .catalog-sort select{
  height:24px!important;
  min-height:24px!important;
  padding:0 26px 0 8px!important;
  margin:0!important;
  border-radius:999px!important;
  border:1px solid rgba(129,167,188,.48)!important;
  background:#fff!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:760!important;
  color:#214b60!important;
}
html body #catalogHero:not([hidden]) + #catalogToolbar .catalog-tools,
html body #catalogHero:not([hidden]) + #catalogToolbar .catalog-count-zone,
html body #catalogHero:not([hidden]) + #catalogToolbar #catalogCount{
  display:none!important;
}
@media (max-width:980px){
  html body #catalogHero.catalog-hero:not([hidden]),
  html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    min-height:54px!important;
    height:54px!important;
    max-height:54px!important;
    margin:4px 10px 6px!important;
  }
  html body #catalogHero .catalog-hero-pill > h1{max-width:min(42vw,360px)!important;font-size:15px!important;line-height:16px!important}
}
@media (max-width:760px){
  html body #catalogHero.catalog-hero:not([hidden]),
  html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    width:calc(100% - 12px)!important;
    min-height:52px!important;
    height:52px!important;
    max-height:52px!important;
    margin:4px 6px 6px!important;
    border-radius:14px!important;
  }
  html body #catalogHero .catalog-hero-center{padding:0 6px!important}
  html body #catalogHero .catalog-hero-pill{
    max-width:calc(100% - 8px)!important;
    gap:6px!important;
    padding:1px 10px 0!important;
  }
  html body #catalogHero .catalog-hero-pill > h1{
    max-width:36vw!important;
    font-size:13px!important;
    line-height:14px!important;
  }
  html body #catalogHero .catalog-hero-meta{gap:6px!important}
  html body #catalogHero #catalogCount,
  html body #catalogHero .catalog-sort{font-size:10px!important}
  html body #catalogHero #catalogCount::before,
  html body #catalogHero .catalog-sort::before{font-size:11px!important;margin-right:0!important}
  html body #catalogHero .catalog-sort{font-size:0!important;gap:4px!important}
  html body #catalogHero .catalog-sort select{
    height:22px!important;
    min-height:22px!important;
    padding:0 18px 0 6px!important;
    font-size:9.5px!important;
    max-width:90px!important;
  }
}
@media (max-width:420px){
  html body #catalogHero.catalog-hero:not([hidden]),
  html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    min-height:50px!important;
    height:50px!important;
    max-height:50px!important;
  }
  html body #catalogHero .catalog-hero-pill{
    gap:5px!important;
    padding:1px 8px 0!important;
  }
  html body #catalogHero .catalog-hero-pill > h1{max-width:31vw!important;font-size:12px!important;line-height:13px!important}
  html body #catalogHero #catalogCount{font-size:9.5px!important}
  html body #catalogHero .catalog-sort select{max-width:84px!important;font-size:9px!important}
}


/* =======================================================================
   V2.70 — single-image category stripe + black centered capsule
   ======================================================================= */
html body #catalogHero.catalog-hero:not([hidden]),
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
html body #catalogHero.catalog-hero:not([hidden])::before,
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden])::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background-image:var(--hero-image)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
  filter:none!important;
  opacity:1!important;
}
html body #catalogHero.catalog-hero:not([hidden])::after,
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden])::after,
html body #catalogHero .catalog-hero-center::before,
html body #catalogHero .catalog-hero-center::after,
html body #catalogHero .catalog-hero-meta::before,
html body #catalogHero .catalog-hero-meta::after{
  display:none!important;
  content:none!important;
}
html body #catalogHero .catalog-hero-center,
html body #catalogHero .catalog-hero-meta,
html body #catalogHero .catalog-hero-pill,
html body #catalogHero .catalog-sort,
html body #catalogHero .catalog-sort select,
html body #catalogHero #catalogCount{
  background-image:none!important;
}
html body #catalogHero .catalog-hero-center{
  background:transparent!important;
}
html body #catalogHero .catalog-hero-pill{
  background:rgba(12,14,18,.88)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18)!important;
  color:#fff!important;
}
html body #catalogHero .catalog-hero-pill > h1,
html body #catalogHero #catalogCount,
html body #catalogHero .catalog-sort,
html body #catalogHero .catalog-sort label,
html body #catalogHero .catalog-sort .label{
  color:#fff!important;
}
html body #catalogHero #catalogCount::before,
html body #catalogHero .catalog-sort::before{
  color:rgba(255,255,255,.62)!important;
}
html body #catalogHero .catalog-sort select{
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:none!important;
}
html body #catalogHero .catalog-sort select option{
  color:#1f2d38!important;
}


/* =======================================================================
   V2.71 — floating white capsule over cards, single-image stripe, no seams
   ======================================================================= */
html body #catalogHero.catalog-hero:not([hidden]),
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  position:relative!important;
  z-index:42!important;
  min-height:62px!important;
  margin:0 0 -16px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:visible!important;
  pointer-events:none!important;
}
html body #catalogHero.catalog-hero:not([hidden])::before,
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden])::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background-image:var(--hero-image)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
  opacity:1!important;
  filter:none!important;
}
html body #catalogHero.catalog-hero:not([hidden])::after,
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden])::after,
html body #catalogHero .catalog-hero-center::before,
html body #catalogHero .catalog-hero-center::after,
html body #catalogHero .catalog-hero-meta::before,
html body #catalogHero .catalog-hero-meta::after{
  display:none!important;
  content:none!important;
}
html body #catalogHero > *{position:relative!important;z-index:1!important}
html body #catalogHero .catalog-hero-center{
  min-height:62px!important;
  padding:0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
}
html body #catalogHero .catalog-hero-pill{
  pointer-events:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  min-height:0!important;
  max-width:min(calc(100% - 20px), 980px)!important;
  padding:3px 12px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.93)!important;
  border:1px solid rgba(255,255,255,.92)!important;
  color:#1e2f3d!important;
  box-shadow:0 10px 28px rgba(44,77,104,.16), 0 2px 8px rgba(44,77,104,.10)!important;
  backdrop-filter:blur(10px) saturate(1.08)!important;
  -webkit-backdrop-filter:blur(10px) saturate(1.08)!important;
}
html body #catalogHero .catalog-hero-pill > h1,
html body #catalogHero #catalogCount,
html body #catalogHero .catalog-sort,
html body #catalogHero .catalog-sort label,
html body #catalogHero .catalog-sort .label{
  color:#1e2f3d!important;
}
html body #catalogHero .catalog-hero-pill > h1{
  margin:0!important;
  font-size:17px!important;
  line-height:1.1!important;
  font-weight:800!important;
  max-width:none!important;
  white-space:nowrap!important;
}
html body #catalogHero .catalog-hero-meta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
  background:transparent!important;
}
html body #catalogHero #catalogCount{
  display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  font-size:15px!important;
  line-height:1.1!important;
  font-weight:750!important;
  white-space:nowrap!important;
}
html body #catalogHero #catalogCount::before,
html body #catalogHero .catalog-sort::before{
  content:"•"!important;
  display:inline-block!important;
  margin:0 2px 0 0!important;
  color:rgba(30,47,61,.45)!important;
}
html body #catalogHero .catalog-sort{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  white-space:nowrap!important;
  font-size:14px!important;
  line-height:1.1!important;
  background:transparent!important;
}
html body #catalogHero .catalog-sort select{
  pointer-events:auto!important;
  appearance:auto!important;
  -webkit-appearance:menulist!important;
  height:28px!important;
  min-height:28px!important;
  padding:2px 28px 2px 10px!important;
  border-radius:999px!important;
  border:1px solid rgba(68,96,118,.18)!important;
  background:rgba(255,255,255,.78)!important;
  color:#1e2f3d!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:650!important;
  max-width:160px!important;
}
html body .workspace{
  position:relative!important;
  isolation:isolate!important;
}
html body .workspace::before{
  content:""!important;
  position:absolute!important;
  inset:0 0 auto 0!important;
  height:220px!important;
  z-index:-1!important;
  pointer-events:none!important;
  background-image:linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.36) 46%,rgba(255,255,255,.80) 100%),var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-position:center top!important;
  background-size:cover!important;
  opacity:.95!important;
}
html body #productList,
html body #loadMore{position:relative!important;z-index:1!important}

@media (max-width:980px){
  html body #catalogHero.catalog-hero:not([hidden]),
  html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    min-height:56px!important;
    margin-bottom:-14px!important;
  }
  html body #catalogHero .catalog-hero-center{min-height:56px!important}
  html body #catalogHero .catalog-hero-pill{
    gap:8px!important;
    padding:2px 10px!important;
  }
  html body #catalogHero .catalog-hero-pill > h1{font-size:15px!important}
  html body #catalogHero #catalogCount{font-size:13px!important}
  html body #catalogHero .catalog-sort{font-size:12px!important}
  html body #catalogHero .catalog-sort select{max-width:136px!important;height:26px!important;min-height:26px!important;font-size:12px!important}
}
@media (max-width:760px){
  html body #catalogHero.catalog-hero:not([hidden]),
  html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    min-height:52px!important;
    margin-bottom:-12px!important;
  }
  html body #catalogHero .catalog-hero-center{
    min-height:52px!important;
    padding:0 8px!important;
  }
  html body #catalogHero .catalog-hero-pill{
    max-width:calc(100% - 16px)!important;
    gap:6px!important;
    padding:2px 8px!important;
  }
  html body #catalogHero .catalog-hero-pill > h1{
    font-size:12px!important;
    line-height:1.05!important;
  }
  html body #catalogHero .catalog-hero-meta{gap:5px!important}
  html body #catalogHero #catalogCount{font-size:11px!important}
  html body #catalogHero .catalog-sort{font-size:10px!important;gap:4px!important}
  html body #catalogHero .catalog-sort select{
    height:24px!important;
    min-height:24px!important;
    max-width:112px!important;
    padding:1px 22px 1px 8px!important;
    font-size:10.5px!important;
  }
  html body .workspace::before{height:160px!important}
}


/* =======================================================================
   V2.72 — unified category scene + floating sticky info capsule
   One image powers header context, category field and cards background.
   The capsule floats above cards and remains centered while scrolling.
   ======================================================================= */

/* One single category image for the whole working scene. */
html body .paper-shell{
  --rxde-scene-image:var(--rxde-category-image);
}
html body .workspace{
  position:relative!important;
  isolation:isolate!important;
  background:transparent!important;
}
html body .workspace::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-2!important;
  pointer-events:none!important;
  background-image:
    linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.86) 28%,rgba(255,255,255,.44) 55%,rgba(255,255,255,.12) 100%),
    var(--rxde-scene-image)!important;
  background-repeat:no-repeat!important;
  background-size:100% 100%,cover!important;
  background-position:center,center top!important;
  opacity:1!important;
}

/* Remove every category-specific extra picture strip. The hero becomes only a
   transparent carrier for the floating capsule. */
html body #catalogHero.catalog-hero:not([hidden]),
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  position:sticky!important;
  top:0!important;
  z-index:60!important;
  width:100%!important;
  min-height:0!important;
  height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
html body #catalogHero.catalog-hero:not([hidden])::before,
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden])::before,
html body #catalogHero.catalog-hero:not([hidden])::after,
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden])::after{
  content:none!important;
  display:none!important;
  background:none!important;
}

/* Capsule sits over cards, centered, and is the only visible element of hero. */
html body #catalogHero .catalog-hero-center{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:8px!important;
  z-index:61!important;
  min-height:0!important;
  height:auto!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  background:transparent!important;
  pointer-events:none!important;
}
html body #catalogHero .catalog-hero-pill{
  pointer-events:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  width:auto!important;
  max-width:calc(100% - 24px)!important;
  min-height:0!important;
  padding:2px 12px!important;
  margin:0 auto!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.93)!important;
  border:1px solid rgba(255,255,255,.96)!important;
  color:#1d3442!important;
  box-shadow:0 10px 30px rgba(36,71,95,.18),0 2px 8px rgba(36,71,95,.08)!important;
  backdrop-filter:blur(10px) saturate(1.04)!important;
  -webkit-backdrop-filter:blur(10px) saturate(1.04)!important;
  white-space:nowrap!important;
}
html body #catalogHero .catalog-hero-pill>h1{
  margin:0!important;
  max-width:none!important;
  font-size:15px!important;
  line-height:17px!important;
  font-weight:820!important;
  color:#1d3442!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body #catalogHero .catalog-hero-meta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  flex-wrap:nowrap!important;
  background:transparent!important;
  min-width:0!important;
}
html body #catalogHero #catalogCount,
html body #catalogHero .catalog-sort{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  color:#294657!important;
  white-space:nowrap!important;
  font-size:11.5px!important;
  line-height:1!important;
  font-weight:750!important;
}
html body #catalogHero #catalogCount::before,
html body #catalogHero .catalog-sort::before{
  content:"•"!important;
  margin:0 2px 0 0!important;
  color:rgba(41,70,87,.42)!important;
  font-size:10px!important;
}
html body #catalogHero .catalog-sort{gap:4px!important}
html body #catalogHero .catalog-sort select{
  pointer-events:auto!important;
  height:24px!important;
  min-height:24px!important;
  margin:0!important;
  padding:0 24px 0 8px!important;
  border:1px solid rgba(67,101,121,.18)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.78)!important;
  color:#1d3442!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:700!important;
  max-width:145px!important;
}

/* Cards are the scrolling foreground over the same unified scene. */
html body #catalogToolbar,
html body #contextLine,
html body #subcategoryStrip,
html body #doseFilterStrip,
html body #productList,
html body #loadMore{
  position:relative!important;
  z-index:2!important;
}

/* Give the first row just enough air under the floating capsule, without
   creating another painted stripe. */
html body #catalogHero:not([hidden]) + #catalogToolbar{
  padding-top:34px!important;
}
html body #catalogHero:not([hidden]) + #catalogToolbar:has(#formFilterStrip[hidden]){
  padding-top:34px!important;
  height:34px!important;
  min-height:34px!important;
  overflow:visible!important;
}

/* Sticky header and workspace use the same image source; no additional crops. */
html body #stickyStack.sticky-stack::before{
  background-image:
    linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.80) 40%,rgba(255,255,255,.28) 100%),
    var(--rxde-scene-image)!important;
  background-repeat:no-repeat!important;
  background-size:100% 100%,cover!important;
  background-position:center,center top!important;
}

@media(max-width:760px){
  html body .workspace::before{
    background-image:
      linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.82) 24%,rgba(255,255,255,.42) 52%,rgba(255,255,255,.10) 100%),
      var(--rxde-scene-image)!important;
    background-size:100% 100%,cover!important;
    background-position:center,center top!important;
  }
  html body #catalogHero .catalog-hero-center{
    top:6px!important;
    padding:0 6px!important;
  }
  html body #catalogHero .catalog-hero-pill{
    gap:5px!important;
    max-width:calc(100% - 12px)!important;
    padding:1px 8px!important;
  }
  html body #catalogHero .catalog-hero-pill>h1{
    font-size:11.5px!important;
    line-height:13px!important;
  }
  html body #catalogHero #catalogCount,
  html body #catalogHero .catalog-sort{font-size:9.5px!important}
  html body #catalogHero .catalog-sort{font-size:0!important}
  html body #catalogHero .catalog-sort select{
    height:22px!important;
    min-height:22px!important;
    max-width:96px!important;
    padding:0 18px 0 6px!important;
    font-size:9px!important;
  }
  html body #catalogHero:not([hidden]) + #catalogToolbar,
  html body #catalogHero:not([hidden]) + #catalogToolbar:has(#formFilterStrip[hidden]){
    padding-top:30px!important;
    height:auto!important;
    min-height:30px!important;
  }
}


/* =======================================================================
   V2.73 — ONE SCENE, ONE IMAGE, CAPSULE OUTSIDE STICKY HEADER
   Architecture fix: the category capsule now lives inside workspace, so the
   reveal/hide header can never clip or drag it. A single fixed category image
   is painted by paper-shell; all former category-image layers are disabled.
   ======================================================================= */

/* ONE AND ONLY category background layer for the whole paper area. */
html body .paper-shell{
  background-image:
    linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.78) 27%,rgba(255,255,255,.35) 55%,rgba(255,255,255,.08) 100%),
    var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:cover!important;
  background-attachment:fixed!important;
}

/* Kill all older duplicate image painters. */
html body .paper-shell::before,
html body .paper-shell::after,
html body #stickyStack::before,
html body #stickyStack::after,
html body .workspace::before,
html body .workspace::after,
html body #catalogHero::before,
html body #catalogHero::after{
  content:none!important;
  display:none!important;
  background:none!important;
  background-image:none!important;
}

/* Internal surfaces are translucent only; they never own another photo. */
html body #stickyStack,
html body .app-header,
html body #flowNav,
html body .flow-nav-second-row,
html body .workspace{
  background-image:none!important;
}
html body .app-header{
  background:rgba(255,255,255,.84)!important;
  backdrop-filter:blur(4px)!important;
}
html body #flowNav,
html body .flow-nav-second-row{
  background:rgba(255,255,255,.80)!important;
  backdrop-filter:blur(3px)!important;
}
html body .workspace{
  background:transparent!important;
  position:relative!important;
  isolation:isolate!important;
}

/* Capsule carrier: sticky independently from header and never paints a photo. */
html body #catalogHero.catalog-hero:not([hidden]),
html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  position:sticky!important;
  top:8px!important;
  z-index:55!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  margin:4px 0 -18px!important;
  padding:0 10px!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
html body #catalogHero .catalog-hero-center{
  position:static!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  pointer-events:none!important;
}
html body #catalogHero .catalog-hero-pill{
  pointer-events:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:7px!important;
  width:auto!important;
  max-width:calc(100vw - 40px)!important;
  min-height:0!important;
  margin:0!important;
  padding:2px 12px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(255,255,255,.98)!important;
  box-shadow:0 8px 24px rgba(30,60,80,.18),0 2px 7px rgba(30,60,80,.08)!important;
  backdrop-filter:blur(10px) saturate(1.04)!important;
  -webkit-backdrop-filter:blur(10px) saturate(1.04)!important;
}
html body #catalogHero .catalog-hero-pill > h1{
  margin:0!important;
  color:#18384a!important;
  font-size:14px!important;
  line-height:16px!important;
  font-weight:830!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-width:42vw!important;
}
html body #catalogHero .catalog-hero-meta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  min-width:0!important;
  background:transparent!important;
}
html body #catalogHero #catalogCount,
html body #catalogHero .catalog-sort{
  color:#31576b!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:740!important;
  white-space:nowrap!important;
}
html body #catalogHero #catalogCount::before,
html body #catalogHero .catalog-sort::before{
  content:"·"!important;
  color:#91a5b0!important;
  margin-right:2px!important;
}
html body #catalogHero .catalog-sort{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  margin:0!important;
}
html body #catalogHero .catalog-sort select{
  height:24px!important;
  min-height:24px!important;
  max-width:138px!important;
  padding:0 24px 0 8px!important;
  border-radius:999px!important;
  border:1px solid rgba(72,106,126,.18)!important;
  background:rgba(255,255,255,.84)!important;
  color:#23495e!important;
  font-size:10.5px!important;
  font-weight:700!important;
  box-shadow:none!important;
}

/* Cards scroll under the floating capsule. */
html body #catalogToolbar,
html body #contextLine,
html body #subcategoryStrip,
html body #doseFilterStrip,
html body #productList{
  position:relative!important;
  z-index:2!important;
}

@media(max-width:760px){
  html body .paper-shell{
    background-attachment:scroll!important; /* stable on mobile */
    background-position:center top!important;
    background-size:auto 100vh!important;
  }
  html body #catalogHero.catalog-hero:not([hidden]),
  html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    top:6px!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    margin:3px 0 -15px!important;
    padding:0 6px!important;
  }
  html body #catalogHero .catalog-hero-pill{
    max-width:calc(100vw - 18px)!important;
    gap:5px!important;
    padding:1px 8px!important;
  }
  html body #catalogHero .catalog-hero-pill > h1{
    max-width:33vw!important;
    font-size:11px!important;
    line-height:13px!important;
  }
  html body #catalogHero #catalogCount,
  html body #catalogHero .catalog-sort{font-size:9.5px!important}
  html body #catalogHero .catalog-sort{font-size:0!important}
  html body #catalogHero .catalog-sort select{
    height:22px!important;
    min-height:22px!important;
    max-width:92px!important;
    padding:0 18px 0 6px!important;
    font-size:9px!important;
  }
}


/* =======================================================================
   V2.74 — ONE FIXED SCENE + ALWAYS-VISIBLE FLOATING CAPSULE
   One #rxdeCategoryBackdrop is the only category image painter. Category
   buttons and cards float over it. The category info capsule is viewport-fixed
   and follows the visible header edge, so it is stable in both scroll dirs.
   ======================================================================= */
:root{
  --rxde-v274-paper-left:0px;
  --rxde-v274-paper-right:0px;
  --rxde-v274-pill-top:8px;
}

/* Exactly one category picture for the whole catalogue scene. */
html body .paper-shell{
  background:none!important;
  background-image:none!important;
}
html body #rxdeCategoryBackdrop{
  position:fixed!important;
  z-index:0!important;
  left:var(--rxde-v274-paper-left)!important;
  right:var(--rxde-v274-paper-right)!important;
  top:0!important;
  bottom:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
  background-image:
    linear-gradient(90deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.76) 24%,rgba(255,255,255,.38) 54%,rgba(255,255,255,.08) 100%),
    var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:20% center!important;
  opacity:1!important;
  filter:none!important;
}

/* Kill every historical category-photo painter: no stripes, no stitched crops. */
html body .paper-shell::before,
html body .paper-shell::after,
html body #stickyStack::before,
html body #stickyStack::after,
html body .workspace::before,
html body .workspace::after,
html body #catalogHero::before,
html body #catalogHero::after,
html body #flowNav::before,
html body #flowNav::after,
html body .flow-nav-second-row::before,
html body .flow-nav-second-row::after,
html body #categoryStrip::before,
html body #categoryStrip::after{
  content:none!important;
  display:none!important;
  background:none!important;
  background-image:none!important;
}

/* All inner surfaces are transparent/translucent; the backdrop remains one image. */
html body #stickyStack,
html body #flowNav,
html body .flow-nav-second-row,
html body #categoryStrip,
html body .workspace{
  background:transparent!important;
  background-image:none!important;
}
html body .app-header{
  background:rgba(255,255,255,.86)!important;
  background-image:none!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
}

/* Category tabs float individually over the single image. */
html body #categoryStrip.category-strip.notebook-index-tabs{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding-top:4px!important;
  padding-bottom:4px!important;
}
html body #categoryStrip .notebook-index-tab.category-chip{
  box-shadow:0 5px 13px rgba(34,64,82,.14),0 1px 3px rgba(34,64,82,.10)!important;
  border-color:rgba(255,255,255,.78)!important;
}
html body #categoryStrip .notebook-index-tab.category-chip:hover{
  box-shadow:0 7px 17px rgba(34,64,82,.18),0 2px 5px rgba(34,64,82,.12)!important;
}
html body #categoryStrip .notebook-index-tab.category-chip.active{
  box-shadow:0 8px 20px color-mix(in srgb,var(--cat-accent) 28%,rgba(34,64,82,.14)),0 2px 5px rgba(34,64,82,.12)!important;
}

/* Actual catalogHero is moved to body by JS and is fixed to the viewport. */
html body > #catalogHero.catalog-hero:not([hidden]),
html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  position:fixed!important;
  z-index:2147481200!important;
  top:var(--rxde-v274-pill-top)!important;
  left:var(--rxde-v274-paper-left)!important;
  right:var(--rxde-v274-paper-right)!important;
  width:auto!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:none!important;
  transform:none!important;
}
html body > #catalogHero .catalog-hero-center{
  position:static!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  pointer-events:none!important;
}
html body > #catalogHero .catalog-hero-pill{
  pointer-events:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:7px!important;
  width:auto!important;
  max-width:calc(100vw - 36px)!important;
  min-height:0!important;
  padding:2px 11px!important;
  margin:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(255,255,255,.98)!important;
  color:#18384a!important;
  box-shadow:0 9px 24px rgba(28,57,77,.20),0 2px 7px rgba(28,57,77,.10)!important;
  backdrop-filter:blur(10px) saturate(1.05)!important;
  -webkit-backdrop-filter:blur(10px) saturate(1.05)!important;
  white-space:nowrap!important;
}
html body > #catalogHero .catalog-hero-pill > h1{
  margin:0!important;
  color:#18384a!important;
  font-size:13px!important;
  line-height:15px!important;
  font-weight:830!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-width:42vw!important;
}
html body > #catalogHero .catalog-hero-meta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  min-width:0!important;
  background:transparent!important;
}
html body > #catalogHero #catalogCount,
html body > #catalogHero .catalog-sort{
  color:#31576b!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:740!important;
  white-space:nowrap!important;
}
html body > #catalogHero #catalogCount::before,
html body > #catalogHero .catalog-sort::before{
  content:"·"!important;
  color:#91a5b0!important;
  margin-right:2px!important;
}
html body > #catalogHero .catalog-sort{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  margin:0!important;
}
html body > #catalogHero .catalog-sort select{
  pointer-events:auto!important;
  height:23px!important;
  min-height:23px!important;
  max-width:132px!important;
  padding:0 22px 0 7px!important;
  border-radius:999px!important;
  border:1px solid rgba(72,106,126,.18)!important;
  background:rgba(255,255,255,.82)!important;
  color:#23495e!important;
  font-size:10px!important;
  font-weight:700!important;
  box-shadow:none!important;
}

/* Placeholder keeps only a tiny amount of normal-flow breathing room at top. */
html body #catalogHeroPlaceholder{
  height:18px!important;
  min-height:18px!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
  background:transparent!important;
}

@media(max-width:760px){
  html body #rxdeCategoryBackdrop{
    background-position:20% center!important;
    background-size:cover!important;
  }
  html body > #catalogHero.catalog-hero:not([hidden]),
  html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    height:29px!important;
    min-height:29px!important;
    max-height:29px!important;
    padding:0 5px!important;
  }
  html body > #catalogHero .catalog-hero-pill{
    gap:5px!important;
    max-width:calc(100vw - 12px)!important;
    padding:1px 7px!important;
  }
  html body > #catalogHero .catalog-hero-pill > h1{
    max-width:32vw!important;
    font-size:10.5px!important;
    line-height:12px!important;
  }
  html body > #catalogHero #catalogCount,
  html body > #catalogHero .catalog-sort{font-size:9px!important}
  html body > #catalogHero .catalog-sort{font-size:0!important}
  html body > #catalogHero .catalog-sort select{
    height:21px!important;
    min-height:21px!important;
    max-width:88px!important;
    padding:0 17px 0 5px!important;
    font-size:8.8px!important;
  }
  html body #catalogHeroPlaceholder{height:14px!important;min-height:14px!important}
}


/* =======================================================================
   V2.75 — tighter / higher floating category capsule
   ======================================================================= */
html body > #catalogHero.catalog-hero:not([hidden]),
html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  padding:0 4px!important;
}
html body > #catalogHero .catalog-hero-pill{
  gap:4px!important;
  max-width:min(calc(100vw - 24px),620px)!important;
  padding:1px 7px!important;
  box-shadow:0 7px 18px rgba(28,57,77,.17),0 1px 5px rgba(28,57,77,.08)!important;
}
html body > #catalogHero .catalog-hero-pill > h1{
  max-width:250px!important;
  font-size:12px!important;
  line-height:13px!important;
}
html body > #catalogHero .catalog-hero-meta{gap:4px!important}
html body > #catalogHero #catalogCount,
html body > #catalogHero .catalog-sort{
  font-size:9.5px!important;
}
html body > #catalogHero #catalogCount::before,
html body > #catalogHero .catalog-sort::before{
  margin-right:1px!important;
}
html body > #catalogHero .catalog-sort{gap:2px!important}
html body > #catalogHero .catalog-sort select{
  height:20px!important;
  min-height:20px!important;
  max-width:108px!important;
  padding:0 17px 0 5px!important;
  font-size:9px!important;
}
html body #catalogHeroPlaceholder{
  height:4px!important;
  min-height:4px!important;
}
@media(max-width:760px){
  html body > #catalogHero.catalog-hero:not([hidden]),
  html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    padding:0 3px!important;
  }
  html body > #catalogHero .catalog-hero-pill{
    gap:3px!important;
    max-width:calc(100vw - 10px)!important;
    padding:1px 5px!important;
  }
  html body > #catalogHero .catalog-hero-pill > h1{
    max-width:29vw!important;
    font-size:9.8px!important;
    line-height:11px!important;
  }
  html body > #catalogHero #catalogCount,
  html body > #catalogHero .catalog-sort{font-size:8.5px!important}
  html body > #catalogHero .catalog-sort select{
    height:19px!important;
    min-height:19px!important;
    max-width:78px!important;
    padding:0 14px 0 4px!important;
    font-size:8.2px!important;
  }
  html body #catalogHeroPlaceholder{height:2px!important;min-height:2px!important}
}

/* =======================================================================
   V2.76 — stable top reserve + filter capsule + shared category backdrop
   ======================================================================= */

/* Reserve enough real flow space so the first card is never hidden at top. */
html body #catalogHeroPlaceholder{
  height:31px!important;
  min-height:31px!important;
  max-height:31px!important;
  margin:0!important;
  padding:0!important;
}

/* Main floating row: category capsule + optional filters on one line. */
html body > #catalogHero.catalog-hero:not([hidden]),
html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
}
html body > #catalogHero .catalog-hero-center{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 8px!important;
  min-width:0!important;
}
html body > #catalogHero .catalog-hero-pill{
  flex:0 0 auto!important;
  max-width:min(48vw,560px)!important;
  padding:1px 7px!important;
  gap:4px!important;
}
html body > #catalogHero .catalog-hero-pill > h1{
  max-width:220px!important;
  font-size:12px!important;
  line-height:13px!important;
}

/* Separate filter capsule on the same horizontal line, to the right. */
html body > #catalogHero .catalog-filter-pill{
  flex:0 1 min(44vw,720px)!important;
  min-width:0!important;
  max-width:min(44vw,720px)!important;
  height:26px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:1px 5px!important;
  border:1px solid rgba(255,255,255,.96)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.90)!important;
  box-shadow:0 7px 18px rgba(28,57,77,.14),0 1px 4px rgba(28,57,77,.07)!important;
  backdrop-filter:blur(9px) saturate(1.04)!important;
  -webkit-backdrop-filter:blur(9px) saturate(1.04)!important;
  overflow:hidden!important;
  pointer-events:auto!important;
}
html body > #catalogHero .catalog-filter-pill:has(#formFilterStrip[hidden]),
html body > #catalogHero .catalog-filter-pill:empty{
  display:none!important;
}
html body > #catalogHero #formFilterStrip.form-filter-strip,
html body > #catalogHero #formFilterStrip.form-filter-strip:not([hidden]){
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:22px!important;
  min-height:22px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:transparent!important;
  border:0!important;
}
html body > #catalogHero #formFilterStrip .form-filter-scroll{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  width:100%!important;
  height:22px!important;
  margin:0!important;
  padding:0 1px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  scroll-behavior:smooth!important;
}
html body > #catalogHero #formFilterStrip .form-filter-scroll::-webkit-scrollbar{display:none!important}
html body > #catalogHero #formFilterStrip .form-filter-chip{
  flex:0 0 auto!important;
  height:20px!important;
  min-height:20px!important;
  line-height:18px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  font-size:9.2px!important;
  white-space:nowrap!important;
}
html body > #catalogHero #formFilterStrip .form-filter-chip b{font-size:8px!important}

/* Active category: strong line without changing geometry. */
html body #categoryStrip .notebook-index-tab.category-chip.active{
  box-shadow:
    inset 0 -4px 0 var(--cat-accent),
    0 8px 18px color-mix(in srgb,var(--cat-accent) 28%,rgba(34,64,82,.14)),
    0 2px 5px rgba(34,64,82,.12)!important;
}
html body #categoryStrip .notebook-index-tab.category-chip.active::after{display:none!important}

/* Category buttons really float above the SAME backdrop. No white rail between them. */
html body #flowNav,
html body #flowNav .flow-nav-second-row,
html body #categoryStrip.category-strip.notebook-index-tabs{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}
html body #categoryStrip.category-strip.notebook-index-tabs{
  gap:5px!important;
  padding-left:7px!important;
  padding-right:7px!important;
}
html body #categoryStrip .notebook-index-tab.category-chip{
  background:transparent!important;
  border-color:rgba(255,255,255,.40)!important;
  box-shadow:0 5px 13px rgba(34,64,82,.13),0 1px 3px rgba(34,64,82,.08)!important;
}
html body #categoryStrip .notebook-index-tab.category-chip::after{
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.70) 58%,rgba(255,255,255,.80))!important;
  border-top-color:rgba(255,255,255,.24)!important;
}

/* Dosage rail: only structured DB dosages are allowed; visual reset naming matches forms. */
html body #doseFilterStrip .dose-filter-label{font-weight:750!important}

@media(max-width:760px){
  html body #catalogHeroPlaceholder{
    height:28px!important;
    min-height:28px!important;
    max-height:28px!important;
  }
  html body > #catalogHero.catalog-hero:not([hidden]),
  html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    height:26px!important;
    min-height:26px!important;
    max-height:26px!important;
  }
  html body > #catalogHero .catalog-hero-center{
    gap:5px!important;
    padding:0 4px!important;
  }
  html body > #catalogHero .catalog-hero-pill{
    max-width:48vw!important;
    padding:1px 5px!important;
    gap:3px!important;
  }
  html body > #catalogHero .catalog-hero-pill > h1{
    max-width:23vw!important;
    font-size:9.5px!important;
    line-height:10.5px!important;
  }
  html body > #catalogHero .catalog-filter-pill{
    flex-basis:48vw!important;
    max-width:48vw!important;
    height:24px!important;
    padding:1px 3px!important;
  }
  html body > #catalogHero #formFilterStrip.form-filter-strip,
  html body > #catalogHero #formFilterStrip.form-filter-strip:not([hidden]),
  html body > #catalogHero #formFilterStrip .form-filter-scroll{
    height:20px!important;
    min-height:20px!important;
  }
  html body > #catalogHero #formFilterStrip .form-filter-chip{
    height:18px!important;
    min-height:18px!important;
    line-height:16px!important;
    padding:0 5px!important;
    font-size:8.2px!important;
  }
}


/* =======================================================================
   V2.77 — category labels restored; transparent gaps; filters on the left
   ======================================================================= */
/* There is NO common white rail: only each category button owns its label strip. */
html body #flowNav,
html body #flowNav .flow-nav-second-row,
html body #categoryStrip.category-strip.notebook-index-tabs{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}
html body #categoryStrip.category-strip.notebook-index-tabs{
  gap:6px!important;
}
html body #categoryStrip .notebook-index-tab.category-chip{
  position:relative!important;
  overflow:hidden!important;
  background:transparent!important;
  border:1px solid rgba(255,255,255,.46)!important;
  box-shadow:0 5px 13px rgba(34,64,82,.13),0 1px 3px rgba(34,64,82,.08)!important;
}
/* Restore the clear white name strip INSIDE every photographic button. */
html body #categoryStrip .notebook-index-tab.category-chip::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:1!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:21px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.97))!important;
  border-top:1px solid rgba(255,255,255,.82)!important;
  pointer-events:none!important;
}
html body #categoryStrip .notebook-index-tab.category-chip > span{
  position:absolute!important;
  z-index:2!important;
  left:5px!important;
  right:5px!important;
  bottom:2px!important;
  height:16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  color:#365463!important;
  text-shadow:none!important;
  line-height:1!important;
}
/* Active category keeps its strong line, but does not cover the white name strip. */
html body #categoryStrip .notebook-index-tab.category-chip.active{
  box-shadow:
    inset 0 -4px 0 var(--cat-accent),
    0 8px 18px color-mix(in srgb,var(--cat-accent) 28%,rgba(34,64,82,.14)),
    0 2px 5px rgba(34,64,82,.12)!important;
}
html body #categoryStrip .notebook-index-tab.category-chip.active::after{
  display:block!important;
  background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(255,255,255,.98))!important;
}
html body #categoryStrip .notebook-index-tab.category-chip.active > span{
  color:var(--cat-deep)!important;
  font-weight:800!important;
}

/* Form-filter capsule belongs to the LEFT side of the floating row. */
html body > #catalogHero .catalog-hero-center{
  justify-content:center!important;
}
html body > #catalogHero .catalog-filter-pill{
  order:1!important;
  flex:0 1 min(44vw,720px)!important;
  margin-right:2px!important;
}
html body > #catalogHero .catalog-hero-pill{
  order:2!important;
  flex:0 0 auto!important;
}
/* If the form filter is reset, its capsule disappears completely, leaving no spacer. */
html body > #catalogHero .catalog-filter-pill:has(#formFilterStrip[hidden]),
html body > #catalogHero .catalog-filter-pill:empty{
  display:none!important;
  width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

@media(max-width:760px){
  html body #categoryStrip .notebook-index-tab.category-chip::after{height:20px!important}
  html body #categoryStrip .notebook-index-tab.category-chip > span{bottom:1px!important;height:16px!important}
  html body > #catalogHero .catalog-filter-pill{flex-basis:48vw!important;max-width:48vw!important}
}


/* =======================================================================
   V2.78 — one-line search/category capsules + thicker white category divider
   ======================================================================= */
/* Category photo/name divider: twice the previous white line thickness. */
html body #categoryStrip .notebook-index-tab.category-chip::after{
  border-top:2px solid rgba(255,255,255,.92)!important;
}

/* The floating area is always ONE horizontal row: optional form capsule left,
   informational “Все/category · count · sort” capsule right. */
html body > #catalogHero .catalog-hero-center{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:0!important;
  overflow:visible!important;
}
html body > #catalogHero .catalog-filter-pill,
html body > #catalogHero .catalog-hero-pill{
  min-width:0!important;
  white-space:nowrap!important;
}
html body > #catalogHero .catalog-filter-pill{
  order:1!important;
  flex:0 1 min(51vw,760px)!important;
  max-width:min(51vw,760px)!important;
}
html body > #catalogHero .catalog-hero-pill{
  order:2!important;
  flex:0 0 auto!important;
  max-width:min(45vw,610px)!important;
}
html body > #catalogHero .catalog-filter-pill:has(#formFilterStrip[hidden]),
html body > #catalogHero .catalog-filter-pill:empty{
  display:none!important;
}
/* With no form capsule, the information capsule remains centered. */
html body > #catalogHero .catalog-filter-pill:has(#formFilterStrip[hidden]) + .catalog-hero-pill,
html body > #catalogHero .catalog-filter-pill:empty + .catalog-hero-pill{
  margin-left:auto!important;
  margin-right:auto!important;
}

/* In text-search mode the old toolbar must not create a second row. */
html body #catalogHero:not([hidden]) ~ .workspace #catalogToolbar.catalog-toolbar{
  min-height:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
}
html body #catalogHero:not([hidden]) ~ .workspace #catalogToolbar .catalog-count-zone,
html body #catalogHero:not([hidden]) ~ .workspace #catalogToolbar .catalog-tools{
  display:none!important;
}

@media(max-width:760px){
  html body > #catalogHero .catalog-hero-center{gap:4px!important;padding:0 3px!important}
  html body > #catalogHero .catalog-filter-pill{
    flex-basis:53vw!important;
    max-width:53vw!important;
  }
  html body > #catalogHero .catalog-hero-pill{
    max-width:44vw!important;
  }
}


/* =======================================================================
   V2.79 — unified backdrop, standalone category chips, cleaner search grid
   ======================================================================= */
/* 1) Single calm backdrop for category row + catalog area (no visible seams). */
html body #flowNav .flow-nav-second-row,
html body .workspace{
  position:relative!important;
  background:transparent!important;
}
html body #flowNav .flow-nav-second-row::before,
html body .workspace::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background-image:
    linear-gradient(90deg,rgba(250,247,238,.95) 0%,rgba(250,247,238,.84) 24%,rgba(250,247,238,.46) 52%,rgba(250,247,238,.08) 78%),
    var(--rxde-category-image)!important;
  background-repeat:no-repeat,no-repeat!important;
  background-size:100% 100%,cover!important;
  background-position:0 0,74% center!important;
}
html body #flowNav .flow-nav-second-row > *,
html body .workspace > *{position:relative!important;z-index:1!important;}
html body .workspace::before{border-radius:0 0 20px 20px!important;}
html body #catalogHero.catalog-hero,
html body #catalogToolbar.catalog-toolbar,
html body #subcategoryStrip,
html body #doseFilterStrip,
html body #productList{
  background:transparent!important;
}
html body #catalogHero.catalog-hero::before,
html body #catalogHero.catalog-hero::after{display:none!important;content:none!important;}

/* 2) Category buttons are separate floating chips over the shared backdrop. */
html body #flowNav,
html body #flowNav .flow-nav-main,
html body #flowNav .flow-nav-second-row,
html body #categoryStrip.category-strip.notebook-index-tabs{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
html body #categoryStrip.category-strip.notebook-index-tabs{
  gap:6px!important;
  padding:4px 0!important;
}
html body #categoryStrip .notebook-index-tab.category-chip{
  position:relative!important;
  flex:0 0 auto!important;
  background-color:transparent!important;
  border:1px solid rgba(120,160,178,.24)!important;
  border-radius:12px!important;
  overflow:hidden!important;
  box-shadow:0 5px 14px rgba(36,66,82,.14),0 1px 3px rgba(36,66,82,.08)!important;
}
html body #categoryStrip .notebook-index-tab.category-chip::after{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;
  height:21px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.98))!important;
  border-top:2px solid rgba(255,255,255,.97)!important;
  pointer-events:none!important;
}
html body #categoryStrip .notebook-index-tab.category-chip > span{
  position:absolute!important;
  left:5px!important;right:5px!important;bottom:2px!important;
  z-index:2!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:16px!important;height:16px!important;
  color:#355060!important;
  text-shadow:none!important;
}
html body #categoryStrip .notebook-index-tab.category-chip.active{
  box-shadow:inset 0 -4px 0 var(--cat-accent),0 8px 18px color-mix(in srgb,var(--cat-accent) 26%,rgba(36,66,82,.14)),0 2px 5px rgba(36,66,82,.10)!important;
}
html body #categoryStrip .notebook-index-tab.category-chip.active > span{font-weight:800!important;color:var(--cat-deep)!important;}

/* 3) The old handwritten xN mark is redundant. */
html body #productList > article.r2-card::before{content:none!important;display:none!important;}

/* 4) Form chips are cleaner: no duplicate counts. */
html body #formFilterStrip .form-filter-chip b{display:none!important;}

/* 5) Search dropdown rows use one consistent grid and do not look vertically broken. */
html body #searchSuggest{
  padding:8px 10px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.98)!important;
  border:1px solid rgba(158,180,191,.36)!important;
  box-shadow:0 18px 42px rgba(33,56,69,.18)!important;
}
html body #searchSuggest .suggest-row,
html body #searchSuggest .suggest-row:hover,
html body #searchSuggest .suggest-row.selected{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) 112px!important;
  grid-template-areas:
    "photo main side"
    "picked picked picked"!important;
  align-items:start!important;
  gap:8px 12px!important;
  min-height:90px!important;
  padding:10px 12px 8px!important;
  background:#fff!important;
  border-bottom:1px solid #e6eef1!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html body #searchSuggest .suggest-row:last-child{border-bottom:0!important;}
html body #searchSuggest .suggest-photo{grid-area:photo!important;width:56px!important;min-width:56px!important;height:72px!important;min-height:72px!important;margin:0!important;align-self:start!important;}
html body #searchSuggest .suggest-photo img{max-width:100%!important;max-height:100%!important;object-fit:contain!important;}
html body #searchSuggest .suggest-main{grid-area:main!important;display:block!important;min-width:0!important;padding:1px 0 0!important;}
html body #searchSuggest .suggest-title-line{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:start!important;gap:6px!important;min-height:auto!important;height:auto!important;margin:0 0 4px!important;}
html body #searchSuggest .suggest-title{display:block!important;white-space:normal!important;line-height:1.22!important;}
html body #searchSuggest .suggest-main .copyable-product-core,
html body #searchSuggest .suggest-main .property-text-line{margin:0!important;line-height:1.22!important;}
html body #searchSuggest .suggest-side{grid-area:side!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:6px!important;width:112px!important;min-width:112px!important;height:auto!important;padding:0!important;}
html body #searchSuggest .suggest-price{display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-start!important;gap:1px!important;min-height:34px!important;}
html body #searchSuggest .suggest-stepper,
html body #searchSuggest .suggest-add-zero{width:112px!important;min-width:112px!important;max-width:112px!important;align-self:stretch!important;}
html body #searchSuggest .suggest-picked{grid-area:picked!important;position:static!important;width:100%!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;border-radius:8px!important;}
html body #searchSuggest .suggest-picked.selected{display:flex!important;align-items:center!important;height:18px!important;min-height:18px!important;padding:0 6px!important;overflow:visible!important;background:#dff0fb!important;color:#24465a!important;}

@media(max-width:760px){
  html body #categoryStrip.category-strip.notebook-index-tabs{gap:4px!important;padding:3px 0!important;}
  html body #categoryStrip .notebook-index-tab.category-chip::after{height:20px!important;}
  html body #searchSuggest{padding:6px!important;border-radius:14px!important;}
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover,
  html body #searchSuggest .suggest-row.selected{
    grid-template-columns:46px minmax(0,1fr) 92px!important;
    min-height:76px!important;
    gap:6px 8px!important;
    padding:8px!important;
  }
  html body #searchSuggest .suggest-photo{width:46px!important;min-width:46px!important;height:60px!important;min-height:60px!important;}
  html body #searchSuggest .suggest-side{width:92px!important;min-width:92px!important;gap:4px!important;}
  html body #searchSuggest .suggest-stepper,
  html body #searchSuggest .suggest-add-zero{width:92px!important;min-width:92px!important;height:28px!important;min-height:28px!important;font-size:10px!important;}
}


/* =======================================================================
   V2.80 — steadier sticky chrome + softer translucent capsules + tighter search rhythm
   ======================================================================= */

/* 1) Upper chrome is its own stable visual layer.
   Cards may scroll under it, but never distort the look of header, rates or basket. */
html body .paper-shell{
  position:relative!important;
  isolation:isolate!important;
}
html body .sticky-stack{
  position:sticky!important;
  top:0!important;
  z-index:520!important;
  isolation:isolate!important;
  background:transparent!important;
}
html body .sticky-stack::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,rgba(247,250,252,.985) 0%,rgba(246,249,251,.97) 54%,rgba(244,248,250,.95) 100%)!important;
  box-shadow:0 8px 24px rgba(28,58,74,.08)!important;
}
html body .sticky-stack::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-16px!important;
  height:16px!important;
  z-index:0!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(244,248,250,.88),rgba(244,248,250,0))!important;
}
html body .sticky-stack > *{
  position:relative!important;
  z-index:1!important;
}
html body .app-header,
html body .flow-nav,
html body .flow-nav-main,
html body .flow-nav-second-row{
  background:transparent!important;
  box-shadow:none!important;
}
html body .workspace,
html body #productList,
html body #productList.product-list,
html body #productList > article,
html body #productList .product-row,
html body #productList .r2-card{
  position:relative!important;
  z-index:0!important;
}

/* 2) The central information capsule remains readable but now has a soft glass transparency. */
html body #catalogHero,
html body #catalogHero.catalog-hero{
  overflow:visible!important;
}
html body #catalogHero .catalog-hero-center{
  position:relative!important;
  z-index:3!important;
}
html body #catalogHero .catalog-hero-pill,
html body #catalogHero .catalog-filter-pill{
  background:rgba(255,255,255,.70)!important; /* ~30% transparency feel */
  -webkit-backdrop-filter:blur(10px) saturate(1.08)!important;
  backdrop-filter:blur(10px) saturate(1.08)!important;
  border:1px solid rgba(171,193,206,.62)!important;
  box-shadow:0 8px 22px rgba(32,63,79,.12)!important;
}
html body #catalogHero .catalog-hero-pill{
  color:#1f4356!important;
}
html body #catalogHero .catalog-hero-pill > h1,
html body #catalogHero .catalog-hero-meta,
html body #catalogHero .catalog-hero-meta *,
html body #catalogHero .catalog-filter-pill,
html body #catalogHero .catalog-filter-pill *{
  color:inherit!important;
}
html body #catalogHero .catalog-hero-meta{
  gap:8px!important;
}
html body #catalogHero .catalog-hero-meta > *{
  opacity:1!important;
}

/* 3) Search block: denser and more even vertical rhythm. */
html body #searchSuggest{
  padding:6px 8px!important;
  max-height:min(56vh,480px)!important;
}
html body #searchSuggest .suggest-row,
html body #searchSuggest .suggest-row:hover,
html body #searchSuggest .suggest-row.selected{
  grid-template-columns:50px minmax(0,1fr) 106px!important;
  min-height:80px!important;
  gap:6px 10px!important;
  padding:8px 10px 7px!important;
  align-items:start!important;
}
html body #searchSuggest .suggest-photo{
  width:50px!important;
  min-width:50px!important;
  height:66px!important;
  min-height:66px!important;
}
html body #searchSuggest .suggest-main{
  display:grid!important;
  align-content:start!important;
  gap:2px!important;
  padding-top:0!important;
}
html body #searchSuggest .suggest-title-line{
  margin:0 0 2px!important;
  gap:5px!important;
}
html body #searchSuggest .suggest-title{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  line-height:1.18!important;
}
html body #searchSuggest .suggest-main .copyable-product-core,
html body #searchSuggest .suggest-main .property-text-line,
html body #searchSuggest .suggest-main .product-property-line,
html body #searchSuggest .suggest-main .copy-line{
  line-height:1.18!important;
  margin:0!important;
}
html body #searchSuggest .suggest-side{
  width:106px!important;
  min-width:106px!important;
  justify-content:flex-start!important;
  gap:5px!important;
}
html body #searchSuggest .suggest-price{
  min-height:31px!important;
  gap:0!important;
}
html body #searchSuggest .suggest-price strong{
  font-size:15px!important;
  line-height:1!important;
}
html body #searchSuggest .suggest-stepper,
html body #searchSuggest .suggest-add-zero{
  width:106px!important;
  min-width:106px!important;
  height:30px!important;
  min-height:30px!important;
}

@media(max-width:760px){
  html body #catalogHero .catalog-hero-pill,
  html body #catalogHero .catalog-filter-pill{
    box-shadow:0 6px 16px rgba(32,63,79,.11)!important;
  }
  html body #searchSuggest{padding:5px 6px!important;max-height:min(58vh,440px)!important;}
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover,
  html body #searchSuggest .suggest-row.selected{
    grid-template-columns:44px minmax(0,1fr) 92px!important;
    min-height:72px!important;
    gap:5px 8px!important;
    padding:7px 8px 6px!important;
  }
  html body #searchSuggest .suggest-photo{
    width:44px!important;
    min-width:44px!important;
    height:58px!important;
    min-height:58px!important;
  }
  html body #searchSuggest .suggest-side,
  html body #searchSuggest .suggest-stepper,
  html body #searchSuggest .suggest-add-zero{
    width:92px!important;
    min-width:92px!important;
  }
}


/* =======================================================================
   V2.81 — search results own the top layer + explicit MNN row
   ======================================================================= */
/* The word-search dropdown is the highest interactive catalog layer.
   Floating category/filter capsules must never cross it. */
html body .sticky-stack{z-index:700!important;}
html body #searchSuggest,
html body .search-suggest{
  z-index:980!important;
}
html body > #catalogHero.catalog-hero:not([hidden]),
html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  z-index:460!important;
}
html body #rxdeCategoryBackdrop{z-index:-1!important;}

/* Explicit MNN keeps every search row on the same information grid. */
html body #searchSuggest .suggest-mnn{
  display:block!important;
  margin:0!important;
  min-height:14px!important;
  line-height:1.18!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body #searchSuggest .suggest-mnn b{font-weight:800!important;}

/* Keep search rows visually regular: title + MNN + form + maker + PZN. */
html body #searchSuggest .suggest-main{
  grid-auto-rows:min-content!important;
}
html body #searchSuggest .suggest-main > .copy-line{
  min-height:13px!important;
  margin:0!important;
  padding:0!important;
  line-height:13px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Form capsule keeps all available forms. When they do not fit, it scrolls horizontally. */
html body > #catalogHero #formFilterStrip .form-filter-scroll{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  overscroll-behavior-x:contain!important;
}
html body > #catalogHero #formFilterStrip .form-filter-scroll::-webkit-scrollbar{display:none!important;}
html body > #catalogHero #formFilterStrip .form-filter-chip{flex:0 0 auto!important;}

/* =======================================================================
   V2.82 — clean layer hierarchy / search typography / seamless scene edge
   ======================================================================= */

/* One scene image only. V2.79 briefly reintroduced local painters; kill them. */
html body #flowNav .flow-nav-second-row::before,
html body #flowNav .flow-nav-second-row::after,
html body .workspace::before,
html body .workspace::after{
  content:none!important;
  display:none!important;
  background:none!important;
  background-image:none!important;
}
html body #rxdeCategoryBackdrop{
  left:var(--rxde-v274-paper-left)!important;
  right:var(--rxde-v274-paper-right)!important;
  width:auto!important;
  max-width:none!important;
  background-color:#fff!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:20% center!important;
  border:0!important;
  box-shadow:none!important;
}

/* Cards scroll beneath the site chrome, but their outlines must never show through it. */
html body .sticky-stack{
  z-index:700!important;
  background:transparent!important;
  isolation:isolate!important;
}
html body .sticky-stack::before,
html body .sticky-stack::after{
  content:none!important;
  display:none!important;
}
html body .app-header{
  position:relative!important;
  z-index:3!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.995) 0%,rgba(255,255,255,.985) 60%,rgba(255,255,255,.94) 100%),
    var(--rxde-category-image)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  box-shadow:0 5px 16px rgba(34,62,78,.055)!important;
}
html body .flow-nav{
  position:relative!important;
  z-index:2!important;
  background:rgba(247,250,251,.94)!important;
  -webkit-backdrop-filter:blur(10px) saturate(1.04)!important;
  backdrop-filter:blur(10px) saturate(1.04)!important;
  box-shadow:0 4px 12px rgba(34,62,78,.05)!important;
}
html body .flow-nav-main{background:transparent!important;}
html body .flow-nav-second-row{
  background:rgba(247,250,251,.58)!important;
  -webkit-backdrop-filter:blur(12px) saturate(1.06)!important;
  backdrop-filter:blur(12px) saturate(1.06)!important;
}
html body #categoryStrip.category-strip.notebook-index-tabs{
  background:transparent!important;
}

/* Layer order: cards < menu < floating capsule < quick-search dropdown. */
html body .workspace,
html body #productList,
html body #productList.product-list,
html body #productList > article.r2-card{
  position:relative!important;
  z-index:1!important;
}
html body > #catalogHero.catalog-hero:not([hidden]),
html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
  z-index:780!important;
}
html body #searchSuggest,
html body .search-suggest{
  z-index:1100!important;
}

/* Both floating capsules use exactly the same slim thickness. */
html body > #catalogHero .catalog-hero-center{
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  gap:6px!important;
}
html body > #catalogHero .catalog-filter-pill,
html body > #catalogHero .catalog-hero-pill{
  box-sizing:border-box!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  padding:1px 8px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(168,190,202,.58)!important;
  -webkit-backdrop-filter:blur(10px) saturate(1.06)!important;
  backdrop-filter:blur(10px) saturate(1.06)!important;
  box-shadow:0 6px 16px rgba(32,63,79,.11)!important;
  overflow:hidden!important;
}
html body > #catalogHero .catalog-filter-pill{
  flex:0 1 min(48vw,720px)!important;
  max-width:min(48vw,720px)!important;
}
html body > #catalogHero .catalog-hero-pill{
  flex:0 0 auto!important;
  max-width:min(43vw,590px)!important;
  gap:6px!important;
}
html body > #catalogHero .catalog-hero-pill > h1{
  font-size:12px!important;
  line-height:26px!important;
  margin:0!important;
}
html body > #catalogHero #catalogCount,
html body > #catalogHero .catalog-sort{
  font-size:10px!important;
  line-height:26px!important;
}
html body > #catalogHero .catalog-sort select{
  height:23px!important;
  min-height:23px!important;
  padding:0 20px 0 7px!important;
  font-size:9.5px!important;
}
html body > #catalogHero #formFilterStrip.form-filter-strip,
html body > #catalogHero #formFilterStrip.form-filter-strip:not([hidden]),
html body > #catalogHero #formFilterStrip .form-filter-scroll{
  height:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  margin:0!important;
  padding:0!important;
}
html body > #catalogHero #formFilterStrip .form-filter-scroll{
  align-items:center!important;
}
html body > #catalogHero #formFilterStrip .form-filter-chip{
  height:20px!important;
  min-height:20px!important;
  padding:0 8px!important;
  font-size:9px!important;
  line-height:18px!important;
}

/* Quick search: explicit, stable typography. Nothing inherits oversized card text. */
html body #searchSuggest .suggest-row,
html body #searchSuggest .suggest-row *{
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
}
html body #searchSuggest .suggest-title,
html body #searchSuggest .suggest-title-open{
  font-size:12px!important;
  line-height:14px!important;
  font-weight:700!important;
  color:#334b5a!important;
}
html body #searchSuggest .suggest-mnn,
html body #searchSuggest .copy-line,
html body #searchSuggest .copy-substance,
html body #searchSuggest .property-text-line,
html body #searchSuggest .product-property-line{
  font-size:10px!important;
  line-height:12px!important;
  font-weight:400!important;
  color:#516a78!important;
  letter-spacing:0!important;
}
html body #searchSuggest .suggest-mnn b,
html body #searchSuggest .copy-line b,
html body #searchSuggest .copy-substance b{
  font-size:10px!important;
  line-height:12px!important;
  font-weight:750!important;
  color:#2d4a5a!important;
}
html body #searchSuggest .rx-badge{
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:700!important;
}
html body #searchSuggest .suggest-price strong{
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  font-size:14px!important;
  line-height:15px!important;
  font-weight:800!important;
}
html body #searchSuggest .suggest-price small{
  font-size:9px!important;
  line-height:11px!important;
  font-weight:400!important;
}

@media(max-width:760px){
  html body > #catalogHero .catalog-hero-center,
  html body > #catalogHero .catalog-filter-pill,
  html body > #catalogHero .catalog-hero-pill{
    height:27px!important;
    min-height:27px!important;
    max-height:27px!important;
  }
  html body > #catalogHero .catalog-filter-pill{max-width:51vw!important;flex-basis:51vw!important;}
  html body > #catalogHero .catalog-hero-pill{max-width:45vw!important;}
  html body > #catalogHero .catalog-hero-pill > h1{font-size:10px!important;line-height:25px!important;}
  html body > #catalogHero #catalogCount{font-size:9px!important;line-height:25px!important;}
  html body > #catalogHero .catalog-sort select{height:21px!important;min-height:21px!important;font-size:8.5px!important;}
}


/* =======================================================================
   V2.90 — two-axis combined sorting
   Two paired controls can be active together; the last touched axis is primary.
   ======================================================================= */
html body .catalog-sort.flow-sort{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  margin:0!important;
  color:#607786!important;
  font-size:10px!important;
  white-space:nowrap!important;
}
html body .catalog-sort .sort-caption{
  flex:0 0 auto!important;
  font-size:9.5px!important;
  font-weight:650!important;
  color:#607786!important;
}
html body .catalog-sort .sort-combo{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  height:27px!important;
  padding:2px 4px!important;
  border:1px solid rgba(130,165,184,.42)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.56)!important;
  -webkit-backdrop-filter:blur(8px) saturate(1.05)!important;
  backdrop-filter:blur(8px) saturate(1.05)!important;
  box-shadow:0 3px 10px rgba(35,66,83,.08)!important;
}
html body .catalog-sort .sort-axis{
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
  padding:0!important;
  margin:0!important;
}
html body .catalog-sort .sort-combo-divider{
  width:1px!important;
  height:15px!important;
  flex:0 0 1px!important;
  margin:0 2px!important;
  background:rgba(77,105,121,.24)!important;
}
html body .catalog-sort .sort-segment{
  appearance:none!important;
  border:0!important;
  min-width:31px!important;
  height:21px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#466273!important;
  font:800 10.5px/1 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transition:background-color .12s ease,color .12s ease,box-shadow .12s ease!important;
}
html body .catalog-sort .sort-segment:hover{
  background:rgba(229,241,248,.82)!important;
}
html body .catalog-sort .sort-segment.active{
  background:#e4f2fb!important;
  color:#174e6c!important;
  box-shadow:inset 0 0 0 1px rgba(74,142,183,.30)!important;
}
html body .catalog-sort .sort-segment.active.primary-sort{
  background:#d6ecf9!important;
  color:#0f4260!important;
  box-shadow:inset 0 0 0 1px rgba(54,126,171,.45),0 2px 6px rgba(40,102,140,.10)!important;
}
html body .catalog-sort .sort-legacy-select{
  position:absolute!important;
  width:1px!important;height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
}
html body #catalogHero .catalog-sort{
  color:#607786!important;
}
html body #catalogHero .catalog-sort .sort-caption{display:none!important;}
html body #catalogHero .catalog-sort .sort-combo{
  height:25px!important;
  padding:1px 3px!important;
  background:rgba(255,255,255,.62)!important;
}
html body #catalogHero .catalog-sort .sort-segment{
  min-width:29px!important;
  height:21px!important;
  padding:0 6px!important;
  font-size:10px!important;
}
@media(max-width:760px){
  html body .catalog-sort.flow-sort{gap:4px!important;font-size:0!important;}
  html body .catalog-sort .sort-caption{display:none!important;}
  html body .catalog-sort .sort-combo{
    height:24px!important;
    gap:2px!important;
    padding:1px 3px!important;
  }
  html body .catalog-sort .sort-segment{
    min-width:27px!important;
    height:20px!important;
    padding:0 5px!important;
    font-size:9.5px!important;
  }
  html body .catalog-sort .sort-combo-divider{
    height:13px!important;
    margin:0 1px!important;
  }
}


/* =======================================================================
   V2.90 — triangle sort controls (no dropdown UI)
   Initial state stays neutral: nothing pressed until the user picks sorting.
   ======================================================================= */
html body .catalog-sort .sort-combo{
  gap:6px!important;
  padding:2px 7px!important;
  border-color:rgba(127,160,180,.38)!important;
}
html body .catalog-sort .sort-axis{
  gap:4px!important;
}
html body .catalog-sort .sort-combo-divider{
  width:2px!important;
  height:24px!important;
  flex:0 0 2px!important;
  margin:0 4px!important;
  border-radius:2px!important;
  background:rgba(64,92,110,.52)!important;
}
html body .catalog-sort .sort-segment{
  min-width:auto!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .catalog-sort .sort-segment:hover,
html body .catalog-sort .sort-segment.active,
html body .catalog-sort .sort-segment.active.primary-sort{
  box-shadow:none!important;
}
html body .catalog-sort .sort-triangle{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:24px!important;
  color:#466273!important;
  cursor:pointer!important;
  isolation:isolate!important;
}
html body .catalog-sort .sort-triangle::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:rgba(255,255,255,.30)!important;
  border:1px solid rgba(84,116,136,.34)!important;
  transition:background-color .12s ease,border-color .12s ease,filter .12s ease!important;
  z-index:0!important;
}
html body .catalog-sort .sort-triangle.triangle-up::before{
  clip-path:polygon(50% 3%, 3% 97%, 97% 97%)!important;
}
html body .catalog-sort .sort-triangle.triangle-down::before{
  clip-path:polygon(3% 3%, 97% 3%, 50% 97%)!important;
}
html body .catalog-sort .sort-triangle:hover::before{
  background:rgba(229,241,248,.86)!important;
  border-color:rgba(74,142,183,.42)!important;
}
html body .catalog-sort .sort-triangle.active::before{
  background:#e4f2fb!important;
  border-color:rgba(74,142,183,.48)!important;
}
html body .catalog-sort .sort-triangle.active.primary-sort::before{
  background:#d6ecf9!important;
  border-color:rgba(54,126,171,.60)!important;
  filter:drop-shadow(0 2px 5px rgba(40,102,140,.12))!important;
}
html body .catalog-sort .sort-triangle .triangle-label{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  font:800 10.5px/1 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  letter-spacing:-.02em!important;
  color:inherit!important;
  user-select:none!important;
}
html body .catalog-sort .sort-triangle.triangle-up .triangle-label{
  transform:translateY(4px)!important;
}
html body .catalog-sort .sort-triangle.triangle-down .triangle-label{
  transform:translateY(-4px)!important;
}
html body .catalog-sort .sort-triangle[data-sort-axis="price"] .triangle-label{
  font-size:12px!important;
  font-weight:900!important;
}
html body .catalog-sort .sort-triangle.active{
  color:#174e6c!important;
}
html body .catalog-sort .sort-triangle.active.primary-sort{
  color:#0f4260!important;
}
html body #catalogHero .catalog-sort .sort-combo{
  gap:5px!important;
  padding:1px 6px!important;
}
html body #catalogHero .catalog-sort .sort-combo-divider{
  height:22px!important;
}
html body #catalogHero .catalog-sort .sort-triangle{
  width:32px!important;
  height:22px!important;
}
html body #catalogHero .catalog-sort .sort-triangle .triangle-label{
  font-size:9.8px!important;
}
html body #catalogHero .catalog-sort .sort-triangle[data-sort-axis="price"] .triangle-label{
  font-size:11.5px!important;
}
@media(max-width:760px){
  html body .catalog-sort .sort-combo{
    gap:4px!important;
    padding:1px 5px!important;
  }
  html body .catalog-sort .sort-combo-divider{
    height:19px!important;
    margin:0 2px!important;
  }
  html body .catalog-sort .sort-triangle{
    width:28px!important;
    height:20px!important;
  }
  html body .catalog-sort .sort-triangle .triangle-label{
    font-size:8.8px!important;
  }
  html body .catalog-sort .sort-triangle[data-sort-axis="price"] .triangle-label{
    font-size:10.2px!important;
  }
}


/* =======================================================================
   V2.90 — explicit triangle sorting, no popup/select menu
   Each axis has two directions plus neutral/off. Labels share one baseline.
   ======================================================================= */
html body #catalogSort,
html body .sort-legacy-select{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
html body .catalog-sort .sort-combo{
  overflow:visible!important;
  gap:7px!important;
  padding:2px 7px!important;
}
html body .catalog-sort .sort-axis{
  gap:5px!important;
  align-items:center!important;
}
html body .catalog-sort .sort-combo-divider{
  width:3px!important;
  flex-basis:3px!important;
  height:25px!important;
  margin:0 5px!important;
  background:#466273!important;
  opacity:.72!important;
}
html body .catalog-sort .sort-triangle,
html body #catalogHero .catalog-sort .sort-triangle{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  height:28px!important;
  min-width:36px!important;
  min-height:28px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:#e7f0f5!important;
  color:#244f66!important;
  box-shadow:none!important;
  filter:drop-shadow(0 2px 3px rgba(35,67,84,.18))!important;
  cursor:pointer!important;
  overflow:visible!important;
}
html body .catalog-sort .sort-triangle.triangle-up,
html body #catalogHero .catalog-sort .sort-triangle.triangle-up{
  clip-path:polygon(50% 0%,100% 100%,0% 100%)!important;
}
html body .catalog-sort .sort-triangle.triangle-down,
html body #catalogHero .catalog-sort .sort-triangle.triangle-down{
  clip-path:polygon(0% 0%,100% 0%,50% 100%)!important;
}
html body .catalog-sort .sort-triangle::before,
html body .catalog-sort .sort-triangle::after{
  display:none!important;
  content:none!important;
}
html body .catalog-sort .sort-triangle:hover{
  background:#d9eaf4!important;
  color:#153f58!important;
}
html body .catalog-sort .sort-triangle.active{
  background:#b9d9ec!important;
  color:#0d4564!important;
}
html body .catalog-sort .sort-triangle.active.primary-sort{
  background:#8fc3df!important;
  color:#073c5c!important;
  filter:drop-shadow(0 2px 4px rgba(25,83,116,.24))!important;
}
html body .catalog-sort .sort-triangle .triangle-label,
html body #catalogHero .catalog-sort .sort-triangle .triangle-label{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  z-index:2!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
  padding:0!important;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:-.03em!important;
  white-space:nowrap!important;
  color:inherit!important;
  pointer-events:none!important;
}
html body .catalog-sort .sort-triangle[data-sort-axis="price"] .triangle-label{
  font-size:12px!important;
  font-weight:900!important;
}
/* Same visual baseline for Az / Za / ₽ labels despite triangle direction. */
html body .catalog-sort .sort-triangle.triangle-up .triangle-label,
html body .catalog-sort .sort-triangle.triangle-down .triangle-label{
  transform:translate(-50%,-50%)!important;
}
@media(max-width:760px){
  html body .catalog-sort .sort-combo{gap:5px!important;padding:1px 5px!important;}
  html body .catalog-sort .sort-axis{gap:4px!important;}
  html body .catalog-sort .sort-combo-divider{width:2px!important;flex-basis:2px!important;height:21px!important;margin:0 3px!important;}
  html body .catalog-sort .sort-triangle,
  html body #catalogHero .catalog-sort .sort-triangle{width:31px!important;min-width:31px!important;height:24px!important;min-height:24px!important;}
  html body .catalog-sort .sort-triangle .triangle-label{font-size:9.3px!important;}
  html body .catalog-sort .sort-triangle[data-sort-axis="price"] .triangle-label{font-size:10.5px!important;}
}


/* =======================================================================
   V2.90 — outlined white triangles, no inner sorting capsule
   ======================================================================= */
html body .catalog-sort .sort-combo,
html body #catalogHero .catalog-sort .sort-combo{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  height:28px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  overflow:visible!important;
}
html body .catalog-sort .sort-axis{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
}
html body .catalog-sort .sort-combo-divider{
  width:3px!important;
  flex:0 0 3px!important;
  height:27px!important;
  margin:0 7px!important;
  border-radius:2px!important;
  background:#294c60!important;
  opacity:.88!important;
}
html body .catalog-sort .sort-triangle,
html body #catalogHero .catalog-sort .sort-triangle{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  min-width:38px!important;
  height:28px!important;
  min-height:28px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#294c60!important;
  box-shadow:none!important;
  filter:none!important;
  cursor:pointer!important;
  overflow:visible!important;
  transform:translateY(0)!important;
  transition:transform .08s ease, color .12s ease!important;
}
/* crisp outline triangle: outer dark triangle + inner white triangle */
html body .catalog-sort .sort-triangle::before,
html body #catalogHero .catalog-sort .sort-triangle::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:#456779!important;
  pointer-events:none!important;
}
html body .catalog-sort .sort-triangle::after,
html body #catalogHero .catalog-sort .sort-triangle::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:1!important;
  background:#fff!important;
  pointer-events:none!important;
}
html body .catalog-sort .sort-triangle.triangle-right::before{
  clip-path:polygon(3% 4%,97% 50%,3% 96%)!important;
}
html body .catalog-sort .sort-triangle.triangle-right::after{
  inset:2px 3px 2px 2px!important;
  clip-path:polygon(4% 5%,95% 50%,4% 95%)!important;
}
html body .catalog-sort .sort-triangle.triangle-left::before{
  clip-path:polygon(97% 4%,3% 50%,97% 96%)!important;
}
html body .catalog-sort .sort-triangle.triangle-left::after{
  inset:2px 2px 2px 3px!important;
  clip-path:polygon(96% 5%,5% 50%,96% 95%)!important;
}
html body .catalog-sort .sort-triangle.triangle-down::before{
  clip-path:polygon(3% 4%,97% 4%,50% 96%)!important;
}
html body .catalog-sort .sort-triangle.triangle-down::after{
  inset:2px 2px 3px 2px!important;
  clip-path:polygon(4% 5%,96% 5%,50% 94%)!important;
}
html body .catalog-sort .sort-triangle.triangle-up::before{
  clip-path:polygon(50% 4%,97% 96%,3% 96%)!important;
}
html body .catalog-sort .sort-triangle.triangle-up::after{
  inset:3px 2px 2px 2px!important;
  clip-path:polygon(50% 5%,96% 95%,4% 95%)!important;
}
html body .catalog-sort .sort-triangle:hover::before{
  background:#2f617c!important;
}
html body .catalog-sort .sort-triangle:hover::after{
  background:#f7fbfd!important;
}
html body .catalog-sort .sort-triangle:active{
  transform:translateY(2px) scale(.96)!important;
}
html body .catalog-sort .sort-triangle.active::before{
  background:#2f7eac!important;
}
html body .catalog-sort .sort-triangle.active::after{
  background:#cfe8f7!important;
}
html body .catalog-sort .sort-triangle.active.primary-sort::before{
  background:#176b9e!important;
}
html body .catalog-sort .sort-triangle.active.primary-sort::after{
  background:#b9dcf1!important;
}
html body .catalog-sort .sort-triangle .triangle-label,
html body #catalogHero .catalog-sort .sort-triangle .triangle-label{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  z-index:2!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
  padding:0!important;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:-.03em!important;
  white-space:nowrap!important;
  color:#294c60!important;
  pointer-events:none!important;
}
html body .catalog-sort .sort-triangle[data-sort-axis="price"] .triangle-label{
  font-size:12px!important;
}
html body .catalog-sort .sort-triangle.active .triangle-label{
  color:#0f4f74!important;
}
/* Same baseline for all labels, regardless of triangle direction. */
html body .catalog-sort .sort-triangle.triangle-right .triangle-label,
html body .catalog-sort .sort-triangle.triangle-left .triangle-label,
html body .catalog-sort .sort-triangle.triangle-up .triangle-label,
html body .catalog-sort .sort-triangle.triangle-down .triangle-label{
  transform:translate(-50%,-50%)!important;
}
@media(max-width:760px){
  html body .catalog-sort .sort-combo,
  html body #catalogHero .catalog-sort .sort-combo{gap:5px!important;height:24px!important;}
  html body .catalog-sort .sort-axis{gap:4px!important;}
  html body .catalog-sort .sort-combo-divider{width:2px!important;flex-basis:2px!important;height:22px!important;margin:0 4px!important;}
  html body .catalog-sort .sort-triangle,
  html body #catalogHero .catalog-sort .sort-triangle{width:32px!important;min-width:32px!important;height:24px!important;min-height:24px!important;}
  html body .catalog-sort .sort-triangle .triangle-label{font-size:9.4px!important;}
  html body .catalog-sort .sort-triangle[data-sort-axis="price"] .triangle-label{font-size:10.7px!important;}
}


/* =======================================================================
   V2.90 — standard capsule sorting buttons; no triangles, no nested capsule
   ======================================================================= */
html body .catalog-sort .sort-combo,
html body #catalogHero .catalog-sort .sort-combo{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  overflow:visible!important;
}
html body .catalog-sort .sort-axis{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
}
html body .catalog-sort .sort-combo-divider{
  width:3px!important;
  flex:0 0 3px!important;
  height:25px!important;
  margin:0 5px!important;
  border-radius:2px!important;
  background:#294c60!important;
  opacity:.88!important;
}
html body .catalog-sort .sort-pill,
html body #catalogHero .catalog-sort .sort-pill{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:44px!important;
  height:25px!important;
  padding:0 9px!important;
  margin:0!important;
  border:1px solid #a9bbc6!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#294c60!important;
  box-shadow:0 2px 6px rgba(35,66,83,.08), inset 0 1px 0 rgba(255,255,255,.95)!important;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  user-select:none!important;
  transform:translateY(0) scale(1)!important;
  transition:transform .08s ease, background-color .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease!important;
}
html body .catalog-sort .sort-pill:hover{
  border-color:#75a4bf!important;
  background:#f7fbfd!important;
  color:#173f58!important;
}
html body .catalog-sort .sort-pill:active{
  transform:translateY(1px) scale(.97)!important;
  box-shadow:inset 0 2px 5px rgba(35,66,83,.18)!important;
}
html body .catalog-sort .sort-pill.active{
  background:#cfe8f7!important;
  border-color:#5e9fc4!important;
  color:#0e4c70!important;
  box-shadow:inset 0 2px 5px rgba(30,93,128,.20),0 1px 3px rgba(30,93,128,.08)!important;
  transform:translateY(1px)!important;
}
html body .catalog-sort .sort-pill.active.primary-sort{
  background:#b8dcf0!important;
  border-color:#3b89b5!important;
  color:#083f61!important;
  box-shadow:inset 0 3px 6px rgba(22,79,112,.24),0 1px 2px rgba(22,79,112,.08)!important;
}
/* Retire all triangle visuals from previous builds. */
html body .catalog-sort .sort-triangle,
html body .catalog-sort .sort-triangle::before,
html body .catalog-sort .sort-triangle::after,
html body .catalog-sort .triangle-label{
  all:unset!important;
  display:none!important;
}
@media(max-width:760px){
  html body .catalog-sort .sort-combo{gap:4px!important;}
  html body .catalog-sort .sort-axis{gap:4px!important;}
  html body .catalog-sort .sort-combo-divider{width:2px!important;flex-basis:2px!important;height:22px!important;margin:0 3px!important;}
  html body .catalog-sort .sort-pill,
  html body #catalogHero .catalog-sort .sort-pill{
    min-width:38px!important;
    height:23px!important;
    padding:0 7px!important;
    font-size:10px!important;
  }
}


/* =======================================================================
   V2.90 — two stateful sort buttons; label flips after every press
   ======================================================================= */
html body .catalog-sort .sort-combo,
html body #catalogHero .catalog-sort .sort-combo{
  gap:7px!important;
}
html body .catalog-sort .sort-axis{display:none!important;}
html body .catalog-sort .sort-toggle,
html body #catalogHero .catalog-sort .sort-toggle{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:58px!important;
  height:27px!important;
  padding:0 12px!important;
  border:1px solid #a7b8c3!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#23495f!important;
  box-shadow:0 2px 6px rgba(35,66,83,.08),inset 0 1px 0 rgba(255,255,255,.96)!important;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:-.015em!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  user-select:none!important;
  transform:translateY(0) scale(1)!important;
  transition:transform .08s ease,background-color .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease!important;
}
html body .catalog-sort .sort-toggle:hover{
  background:#f7fbfd!important;
  border-color:#77a2ba!important;
  color:#143f58!important;
}
html body .catalog-sort .sort-toggle:active{
  transform:translateY(1px) scale(.965)!important;
  box-shadow:inset 0 3px 7px rgba(31,78,104,.22)!important;
}
html body .catalog-sort .sort-toggle.active{
  background:#cce8f8!important;
  border-color:#4f98c0!important;
  color:#0c4a6d!important;
  transform:translateY(1px)!important;
  box-shadow:inset 0 3px 7px rgba(23,88,123,.22),0 1px 2px rgba(31,87,116,.08)!important;
}
html body .catalog-sort .sort-toggle.active.primary-sort{
  background:#b9ddf1!important;
  border-color:#3183b1!important;
  color:#073f61!important;
  box-shadow:inset 0 4px 8px rgba(18,75,108,.25),0 1px 2px rgba(23,75,104,.08)!important;
}
html body .catalog-sort .sort-combo-divider{
  width:3px!important;
  flex:0 0 3px!important;
  height:25px!important;
  margin:0 3px!important;
  border-radius:2px!important;
  background:#294c60!important;
  opacity:.88!important;
}
@media(max-width:760px){
  html body .catalog-sort .sort-combo{gap:5px!important;}
  html body .catalog-sort .sort-toggle,
  html body #catalogHero .catalog-sort .sort-toggle{
    min-width:49px!important;
    height:24px!important;
    padding:0 9px!important;
    font-size:10.5px!important;
  }
  html body .catalog-sort .sort-combo-divider{
    width:2px!important;
    flex-basis:2px!important;
    height:22px!important;
    margin:0 2px!important;
  }
}


/* =======================================================================
   V2.90 — lighter info strip + smaller 3-state sort buttons
   ======================================================================= */
/* Calm typography across the category information strip. */
html body #catalogHero .catalog-hero-pill,
html body #catalogHero .catalog-hero-pill > h1,
html body #catalogHero .catalog-hero-meta,
html body #catalogHero #catalogCount,
html body #catalogHero .catalog-sort,
html body #catalogHero .catalog-sort *{
  font-weight:500!important;
}
html body #catalogHero .catalog-hero-pill > h1{
  font-weight:600!important;
}
html body #catalogHero #catalogCount{
  font-weight:500!important;
}

/* Smaller capsule buttons. Inactive = white. Active = visibly pressed/colored. */
html body .catalog-sort .sort-toggle,
html body #catalogHero .catalog-sort .sort-toggle{
  min-width:46px!important;
  height:23px!important;
  padding:0 8px!important;
  border:1px solid #aebbc4!important;
  background:#fff!important;
  color:#2e5268!important;
  font-size:10.5px!important;
  font-weight:650!important;
  box-shadow:0 1px 4px rgba(35,66,83,.07),inset 0 1px 0 rgba(255,255,255,.98)!important;
}
html body .catalog-sort .sort-toggle .sort-arrow{
  display:inline-block!important;
  margin:0 2px!important;
  font-weight:950!important;
  color:#244d64!important;
  line-height:1!important;
}
html body .catalog-sort .sort-toggle:hover{
  background:#f8fbfd!important;
}
html body .catalog-sort .sort-toggle:active{
  transform:translateY(1px) scale(.97)!important;
  box-shadow:inset 0 3px 6px rgba(31,78,104,.20)!important;
}
html body .catalog-sort .sort-toggle.active,
html body #catalogHero .catalog-sort .sort-toggle.active{
  background:#d7edf9!important;
  border-color:#5f9fbe!important;
  color:#164b68!important;
  transform:translateY(1px)!important;
  box-shadow:inset 0 3px 6px rgba(25,82,113,.18),0 1px 2px rgba(31,87,116,.06)!important;
}
html body .catalog-sort .sort-toggle.active.primary-sort,
html body #catalogHero .catalog-sort .sort-toggle.active.primary-sort{
  background:#c8e5f5!important;
  border-color:#3f8eb4!important;
  color:#0e4564!important;
}
html body .catalog-sort .sort-combo-divider{
  width:2px!important;
  flex:0 0 2px!important;
  height:20px!important;
  margin:0 3px!important;
}
html body #catalogHero .catalog-sort .sort-combo{
  gap:5px!important;
}
@media(max-width:760px){
  html body .catalog-sort .sort-toggle,
  html body #catalogHero .catalog-sort .sort-toggle{
    min-width:42px!important;
    height:22px!important;
    padding:0 7px!important;
    font-size:10px!important;
  }
  html body .catalog-sort .sort-combo-divider{height:18px!important;margin:0 2px!important;}
}


/* =======================================================================
   V2.90 — 3-state sorting: neutral double arrows / one clear direction
   ======================================================================= */
/* Calm typography for the whole category/info strip. */
html body #catalogHero .catalog-hero-pill,
html body #catalogHero .catalog-hero-pill > h1,
html body #catalogHero .catalog-hero-meta,
html body #catalogHero .catalog-hero-meta *,
html body #catalogHero #catalogCount,
html body #catalogHero .catalog-sort,
html body #catalogHero .catalog-sort *{
  font-weight:400!important;
}
html body #catalogHero .catalog-hero-pill > h1{
  font-weight:450!important;
}

/* Smaller neutral buttons. State is communicated by arrow geometry, not heavy fill. */
html body .catalog-sort .sort-toggle,
html body #catalogHero .catalog-sort .sort-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  min-width:42px!important;
  height:21px!important;
  padding:0 7px!important;
  border:1px solid #aebbc4!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#274c62!important;
  font-size:10px!important;
  font-weight:400!important;
  box-shadow:0 1px 3px rgba(35,66,83,.06),inset 0 1px 0 rgba(255,255,255,.96)!important;
  transform:none!important;
  transition:transform .08s ease,box-shadow .08s ease,border-color .12s ease!important;
}
html body .catalog-sort .sort-toggle:hover,
html body #catalogHero .catalog-sort .sort-toggle:hover{
  background:#fff!important;
  border-color:#8fa8b7!important;
}
html body .catalog-sort .sort-toggle:active,
html body #catalogHero .catalog-sort .sort-toggle:active{
  transform:translateY(1px) scale(.97)!important;
  box-shadow:inset 0 2px 5px rgba(33,78,103,.18)!important;
}
/* No persistent 'pressed' fill: the arrow itself is the state. */
html body .catalog-sort .sort-toggle.active,
html body #catalogHero .catalog-sort .sort-toggle.active,
html body .catalog-sort .sort-toggle.active.primary-sort,
html body #catalogHero .catalog-sort .sort-toggle.active.primary-sort{
  background:#fff!important;
  border-color:#8fa8b7!important;
  color:#1d4c66!important;
  transform:none!important;
  box-shadow:0 1px 3px rgba(35,66,83,.07),inset 0 1px 0 rgba(255,255,255,.96)!important;
}
html body .catalog-sort .sort-letter,
html body .catalog-sort .sort-currency{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:10px!important;
  font-weight:400!important;
  line-height:1!important;
  vertical-align:middle!important;
}
html body .catalog-sort .sort-arrow.single{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:12px!important;
  margin:0!important;
  color:#173f58!important;
  font-size:16px!important;
  font-weight:950!important;
  line-height:1!important;
  vertical-align:middle!important;
  transform:none!important;
}
html body .catalog-sort .sort-arrow-pair{
  display:inline-grid!important;
  align-items:center!important;
  justify-items:center!important;
  align-self:center!important;
  margin:0!important;
  color:#173f58!important;
  vertical-align:middle!important;
}
html body .catalog-sort .sort-arrow-pair i{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  font-style:normal!important;
  font-size:13px!important;
  font-weight:950!important;
  line-height:1!important;
  height:7px!important;
}
html body .catalog-sort .sort-arrow-pair.horizontal{
  width:13px!important;
  grid-template-rows:7px 7px!important;
  transform:none!important;
}
html body .catalog-sort .sort-arrow-pair.vertical{
  width:12px!important;
  grid-template-rows:7px 7px!important;
  transform:none!important;
}
html body .catalog-sort .sort-price-toggle{
  min-width:38px!important;
}
html body .catalog-sort .sort-combo-divider{
  width:2px!important;
  flex:0 0 2px!important;
  height:18px!important;
  margin:0 3px!important;
  background:#496674!important;
  border-radius:2px!important;
}
html body .catalog-sort .sort-combo,
html body #catalogHero .catalog-sort .sort-combo{
  gap:3px!important;
}
@media(max-width:760px){
  html body .catalog-sort .sort-toggle,
  html body #catalogHero .catalog-sort .sort-toggle{
    min-width:38px!important;
    height:20px!important;
    padding:0 5px!important;
    font-size:9.5px!important;
    gap:1px!important;
  }
  html body .catalog-sort .sort-price-toggle{min-width:34px!important;}
  html body .catalog-sort .sort-arrow.single{font-size:15px!important;width:11px!important;}
  html body .catalog-sort .sort-arrow-pair i{font-size:12px!important;height:6px!important;}
  html body .catalog-sort .sort-arrow-pair.horizontal,
  html body .catalog-sort .sort-arrow-pair.vertical{grid-template-rows:6px 6px!important;}
  html body .catalog-sort .sort-combo-divider{height:17px!important;margin:0 2px!important;}
}


/* =======================================================================
   V2.94 — symmetric 3-state sort controls, centered arrows
   ======================================================================= */
html body .catalog-sort .sort-toggle,
html body #catalogHero .catalog-sort .sort-toggle{
  display:grid!important;
  grid-auto-flow:column!important;
  grid-auto-columns:max-content!important;
  align-items:center!important;
  justify-content:center!important;
  column-gap:2px!important;
}
html body .catalog-sort .sort-letter,
html body .catalog-sort .sort-currency{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:100%!important;
  min-width:10px!important;
  line-height:1!important;
}
html body .catalog-sort .sort-arrow.single{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  justify-self:center!important;
  width:13px!important;
  height:18px!important;
  margin:0!important;
  line-height:1!important;
  transform:none!important;
}
html body .catalog-sort .sort-arrow-pair{
  display:grid!important;
  align-self:center!important;
  justify-self:center!important;
  align-items:center!important;
  justify-items:center!important;
  width:13px!important;
  height:18px!important;
  margin:0!important;
  transform:none!important;
}
html body .catalog-sort .sort-arrow-pair i{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:13px!important;
  height:9px!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:950!important;
}
html body .catalog-sort .sort-arrow-pair.vertical{
  grid-template-rows:9px 9px!important;
}
html body .catalog-sort .sort-arrow-pair.horizontal{
  grid-template-rows:9px 9px!important;
}
html body .catalog-sort .sort-price-toggle{
  min-width:38px!important;
}
@media(max-width:760px){
  html body .catalog-sort .sort-arrow.single,
  html body .catalog-sort .sort-arrow-pair{
    width:12px!important;
    height:16px!important;
  }
  html body .catalog-sort .sort-arrow-pair i{
    width:12px!important;
    height:8px!important;
  }
  html body .catalog-sort .sort-arrow-pair.vertical,
  html body .catalog-sort .sort-arrow-pair.horizontal{
    grid-template-rows:8px 8px!important;
  }
}


/* =======================================================================
   V2.94 — neutral price sort shows two clearly visible arrows
   ======================================================================= */
html body .catalog-sort .sort-price-toggle .sort-arrow-pair.vertical{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  width:22px!important;
  height:18px!important;
  grid-template-rows:none!important;
}
html body .catalog-sort .sort-price-toggle .sort-arrow-pair.vertical i{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:10px!important;
  height:18px!important;
  font-size:14px!important;
  font-weight:950!important;
  line-height:1!important;
}
html body .catalog-sort .sort-price-toggle{
  min-width:47px!important;
}
@media(max-width:760px){
  html body .catalog-sort .sort-price-toggle .sort-arrow-pair.vertical{
    width:20px!important;
    height:16px!important;
  }
  html body .catalog-sort .sort-price-toggle .sort-arrow-pair.vertical i{
    width:9px!important;
    height:16px!important;
    font-size:13px!important;
  }
  html body .catalog-sort .sort-price-toggle{min-width:43px!important;}
}


/* =======================================================================
   V2.94 — compact A–Z / ₽ sort controls; neutral state = two opposing arrows
   ======================================================================= */
html body .catalog-sort .sort-toggle,
html body #catalogHero .catalog-sort .sort-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  height:21px!important;
  padding:0 7px!important;
}
html body .catalog-sort .sort-label{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:10px!important;
  font-weight:400!important;
  line-height:1!important;
  white-space:nowrap!important;
}
html body .catalog-sort .sort-arrow.single{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:11px!important;
  height:16px!important;
  margin:0!important;
  color:#173f58!important;
  font-size:16px!important;
  font-weight:950!important;
  line-height:1!important;
  transform:none!important;
}
html body .catalog-sort .sort-arrow-pair.opposing{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  width:21px!important;
  height:16px!important;
  margin:0!important;
  transform:none!important;
}
html body .catalog-sort .sort-arrow-pair.opposing i{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:9px!important;
  height:16px!important;
  margin:0!important;
  padding:0!important;
  font-style:normal!important;
  font-size:13px!important;
  font-weight:950!important;
  line-height:1!important;
}
html body .catalog-sort .sort-name-toggle{min-width:58px!important;}
html body .catalog-sort .sort-price-toggle{min-width:44px!important;}
@media(max-width:760px){
  html body .catalog-sort .sort-toggle,
  html body #catalogHero .catalog-sort .sort-toggle{
    gap:3px!important;
    height:20px!important;
    padding:0 6px!important;
  }
  html body .catalog-sort .sort-label{font-size:9.4px!important;}
  html body .catalog-sort .sort-arrow.single{font-size:15px!important;width:10px!important;height:15px!important;}
  html body .catalog-sort .sort-arrow-pair.opposing{width:19px!important;height:15px!important;}
  html body .catalog-sort .sort-arrow-pair.opposing i{width:8px!important;height:15px!important;font-size:12px!important;}
  html body .catalog-sort .sort-name-toggle{min-width:54px!important;}
  html body .catalog-sort .sort-price-toggle{min-width:41px!important;}
}


/* =======================================================================
   V3.13 — mobile priority row, filter overflow cue, selected-sort outline
   ======================================================================= */
/* Selected A–Z / ₽ state: clear thick outline, without inflating the control. */
html body .catalog-sort .sort-toggle{
  box-sizing:border-box!important;
}
html body .catalog-sort .sort-toggle.active,
html body #catalogHero .catalog-sort .sort-toggle.active,
html body .catalog-sort .sort-toggle.active.primary-sort,
html body #catalogHero .catalog-sort .sort-toggle.active.primary-sort{
  border:2px solid #527f98!important;
  background:#fff!important;
  box-shadow:inset 0 1px 2px rgba(34,76,99,.10),0 1px 3px rgba(35,66,83,.08)!important;
}

/* Horizontal form-filter capsule: make hidden continuation obvious. */
html body > #catalogHero .catalog-filter-pill{
  position:relative!important;
}
html body > #catalogHero .catalog-filter-pill.has-horizontal-overflow:not(.at-scroll-end){
  padding-right:22px!important;
}
html body > #catalogHero .catalog-filter-pill.has-horizontal-overflow:not(.at-scroll-end)::before{
  content:""!important;
  position:absolute!important;
  top:1px!important;
  right:1px!important;
  bottom:1px!important;
  width:30px!important;
  border-radius:0 999px 999px 0!important;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.90) 58%,rgba(255,255,255,.98))!important;
  pointer-events:none!important;
  z-index:4!important;
}
html body > #catalogHero .catalog-filter-pill.has-horizontal-overflow:not(.at-scroll-end)::after{
  content:"›"!important;
  position:absolute!important;
  top:50%!important;
  right:7px!important;
  transform:translateY(-52%)!important;
  color:#345b70!important;
  font:800 17px/1 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  pointer-events:none!important;
  z-index:5!important;
}

@media(max-width:760px){
  /* On mobile the category name is navigation; product count is secondary. */
  html body > #catalogHero #catalogCount{display:none!important;}

  html body > #catalogHero .catalog-hero-center{
    width:100%!important;
    max-width:100%!important;
    padding:0 4px!important;
    gap:4px!important;
    justify-content:center!important;
  }

  /* Normal state: category + compact sorting in one centered capsule. */
  html body > #catalogHero:not(.has-form-filters) .catalog-hero-pill{
    max-width:calc(100vw - 18px)!important;
    width:auto!important;
    flex:0 1 auto!important;
    padding-left:9px!important;
    padding-right:6px!important;
  }
  html body > #catalogHero:not(.has-form-filters) .catalog-hero-pill > h1{
    display:block!important;
    max-width:44vw!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  /* With a form filter active, give almost the whole line to its scrollable chips. */
  html body > #catalogHero.has-form-filters .catalog-hero-center{
    justify-content:stretch!important;
  }
  html body > #catalogHero.has-form-filters .catalog-filter-pill{
    display:flex!important;
    flex:1 1 auto!important;
    max-width:none!important;
    min-width:0!important;
    width:auto!important;
    padding-left:5px!important;
  }
  html body > #catalogHero.has-form-filters .catalog-hero-pill{
    flex:0 0 auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding:1px 5px!important;
  }
  html body > #catalogHero.has-form-filters .catalog-hero-pill > h1,
  html body > #catalogHero.has-form-filters #catalogCount{
    display:none!important;
  }
  html body > #catalogHero.has-form-filters .catalog-hero-meta{
    display:flex!important;
    gap:2px!important;
    min-width:0!important;
  }
  html body > #catalogHero.has-form-filters .catalog-sort{
    margin:0!important;
    gap:2px!important;
  }
  html body > #catalogHero.has-form-filters .catalog-sort .sort-combo{
    padding:0!important;
    gap:2px!important;
  }
  html body > #catalogHero.has-form-filters .catalog-sort .sort-combo-divider{
    height:15px!important;
    margin:0 1px!important;
  }
  html body > #catalogHero.has-form-filters .catalog-sort .sort-name-toggle{
    min-width:49px!important;
  }
  html body > #catalogHero.has-form-filters .catalog-sort .sort-price-toggle{
    min-width:38px!important;
  }

  html body > #catalogHero #formFilterStrip.form-filter-strip,
  html body > #catalogHero #formFilterStrip .form-filter-scroll{
    width:100%!important;
    max-width:100%!important;
  }
  html body > #catalogHero #formFilterStrip .form-filter-scroll{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    padding-right:6px!important;
  }
  html body > #catalogHero #formFilterStrip .form-filter-scroll::-webkit-scrollbar{display:none!important;}
}


/* =======================================================================
   V3.13 — mobile compact hero lock + filter scroll cues + stable local actions
   ======================================================================= */
@media(max-width:760px){
  /* Hard-disable every historical large mobile hero treatment. The current
     catalog hero is only the thin floating capsule row. */
  html body #catalogHero.catalog-hero,
  html body > #catalogHero.catalog-hero,
  html body #catalogHero.catalog-hero:not([hidden]),
  html body > #catalogHero.catalog-hero:not([hidden]),
  html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]),
  html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    display:block!important;
    position:relative!important;
    min-height:30px!important;
    height:30px!important;
    max-height:30px!important;
    margin:0 0 -2px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
    pointer-events:none!important;
  }
  html body #catalogHero.catalog-hero::before,
  html body #catalogHero.catalog-hero::after,
  html body > #catalogHero.catalog-hero::before,
  html body > #catalogHero.catalog-hero::after{
    display:none!important;
    content:none!important;
    background:none!important;
  }
  html body #catalogHero .catalog-hero-center,
  html body > #catalogHero .catalog-hero-center{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    margin:0!important;
    padding:0 4px!important;
    gap:4px!important;
    background:transparent!important;
    pointer-events:none!important;
  }
  html body #catalogHero .catalog-hero-pill,
  html body > #catalogHero .catalog-hero-pill,
  html body #catalogHero .catalog-filter-pill,
  html body > #catalogHero .catalog-filter-pill{
    min-height:24px!important;
    height:24px!important;
    max-height:24px!important;
    margin:0!important;
    pointer-events:auto!important;
  }
  html body #catalogHero .catalog-hero-pill > h1,
  html body > #catalogHero .catalog-hero-pill > h1{
    margin:0!important;
    padding:0!important;
    font-size:10px!important;
    line-height:22px!important;
    font-weight:500!important;
    white-space:nowrap!important;
  }
  /* Kill any legacy slogan/subtitle node if an old cached DOM leaves one. */
  html body #catalogHero .catalog-hero-slogan,
  html body #catalogHero .hero-slogan,
  html body #catalogHero .catalog-hero-subtitle,
  html body #catalogHero p,
  html body #catalogHero small:not(.sort-caption){
    display:none!important;
  }

  /* When form filters are active, filters own the row; sorting stays minimal. */
  html body > #catalogHero.has-form-filters .catalog-hero-center{
    justify-content:stretch!important;
  }
  html body > #catalogHero.has-form-filters .catalog-filter-pill{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0 21px 0 4px!important;
  }
  html body > #catalogHero.has-form-filters .catalog-hero-pill{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0 4px!important;
  }
  html body > #catalogHero.has-form-filters .catalog-hero-pill > h1,
  html body > #catalogHero.has-form-filters #catalogCount{
    display:none!important;
  }
  html body > #catalogHero.has-form-filters .catalog-hero-meta{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:1px!important;
  }
  html body > #catalogHero.has-form-filters .catalog-sort{
    margin:0!important;
    gap:1px!important;
  }
  html body > #catalogHero.has-form-filters .catalog-sort .sort-combo{
    gap:1px!important;
    padding:0!important;
  }

  /* Category itself is more important than product count on mobile. */
  html body > #catalogHero #catalogCount{display:none!important;}
  html body > #catalogHero:not(.has-form-filters) .catalog-hero-pill{
    width:auto!important;
    max-width:calc(100vw - 16px)!important;
    padding:0 5px 0 8px!important;
  }
  html body > #catalogHero:not(.has-form-filters) .catalog-hero-pill > h1{
    display:block!important;
    max-width:46vw!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

/* Both ends of the horizontal form list advertise hidden continuation. */
html body > #catalogHero .catalog-filter-pill.has-horizontal-overflow:not(.at-scroll-end){padding-right:22px!important;}
html body > #catalogHero .catalog-filter-pill.has-horizontal-overflow:not(.at-scroll-start){padding-left:22px!important;}
html body > #catalogHero .catalog-filter-pill.has-horizontal-overflow:not(.at-scroll-start) .form-filter-scroll::before{
  content:""!important;
  position:sticky!important;
  left:0!important;
  display:block!important;
  width:0!important;
  height:0!important;
}
html body > #catalogHero .catalog-filter-pill.has-horizontal-overflow:not(.at-scroll-start){
  box-shadow:0 6px 18px rgba(32,63,79,.12),inset 18px 0 14px -16px rgba(52,91,112,.45)!important;
}
html body > #catalogHero .catalog-filter-pill.has-horizontal-overflow:not(.at-scroll-end){
  box-shadow:0 6px 18px rgba(32,63,79,.12),inset -18px 0 14px -16px rgba(52,91,112,.45)!important;
}
html body > #catalogHero .catalog-filter-pill.has-horizontal-overflow:not(.at-scroll-start):not(.at-scroll-end){
  box-shadow:0 6px 18px rgba(32,63,79,.12),inset 18px 0 14px -16px rgba(52,91,112,.45),inset -18px 0 14px -16px rgba(52,91,112,.45)!important;
}


/* =======================================================================
   V3.13 — one interaction model on desktop + mobile
   Mobile differs only by compact top chrome and 2-column product grid.
   ======================================================================= */
@media(max-width:760px){
  /* Never resurrect the historical large category promo/hero. The SAME
     compact capsule system used on desktop is retained on mobile. */
  html body #catalogHero,
  html body #catalogHero.catalog-hero,
  html body > #catalogHero.catalog-hero,
  html body #catalogHero.catalog-hero:not([hidden]),
  html body > #catalogHero.catalog-hero:not([hidden]),
  html body #catalogHero.catalog-hero[class*="tone-"]:not([hidden]),
  html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  html body #catalogHero::before,
  html body #catalogHero::after,
  html body #catalogHero *::before,
  html body #catalogHero *::after{
    background-image:none!important;
  }
  html body #catalogHero .catalog-hero-slogan,
  html body #catalogHero .hero-slogan,
  html body #catalogHero .catalog-hero-subtitle,
  html body #catalogHero > p,
  html body #catalogHero > small{
    display:none!important;
  }

  html body #catalogHero .catalog-hero-center{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    padding:0 4px!important;
    margin:0!important;
    gap:4px!important;
    pointer-events:none!important;
  }
  html body #catalogHero .catalog-filter-pill,
  html body #catalogHero .catalog-hero-pill{
    display:flex!important;
    align-items:center!important;
    min-height:24px!important;
    height:24px!important;
    max-height:24px!important;
    margin:0!important;
    border-radius:999px!important;
    pointer-events:auto!important;
  }
  html body #catalogHero .catalog-hero-pill > h1{
    display:block!important;
    margin:0!important;
    padding:0!important;
    font-size:10px!important;
    line-height:22px!important;
    font-weight:500!important;
    white-space:nowrap!important;
  }
  /* no second legacy toolbar row under the compact capsules */
  html body #catalogToolbar.catalog-toolbar{
    display:none!important;
    min-height:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }

  /* Default: category/name + sorting in one capsule. Count is secondary on phone. */
  html body #catalogHero:not(.has-form-filters) .catalog-filter-pill{
    display:none!important;
  }
  html body #catalogHero:not(.has-form-filters) .catalog-hero-pill{
    display:flex!important;
    width:auto!important;
    max-width:calc(100vw - 12px)!important;
    padding:0 5px 0 8px!important;
  }
  html body #catalogHero:not(.has-form-filters) .catalog-hero-pill > h1{
    max-width:47vw!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html body #catalogHero #catalogCount{display:none!important;}

  /* Active form filters: same desktop mechanism, but filters get the width;
     right capsule collapses to sorting only. */
  html body #catalogHero.has-form-filters .catalog-hero-center{
    justify-content:stretch!important;
  }
  html body #catalogHero.has-form-filters .catalog-filter-pill{
    display:flex!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0 20px 0 4px!important;
    overflow:hidden!important;
  }
  html body #catalogHero.has-form-filters .catalog-hero-pill{
    display:flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0 3px!important;
  }
  html body #catalogHero.has-form-filters .catalog-hero-pill > h1,
  html body #catalogHero.has-form-filters #catalogCount{
    display:none!important;
  }
  html body #catalogHero.has-form-filters .catalog-hero-meta,
  html body #catalogHero.has-form-filters .catalog-sort{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    gap:1px!important;
  }
  html body #catalogHero.has-form-filters .catalog-sort .sort-combo{
    gap:1px!important;
    padding:0!important;
  }
  html body #catalogHero #formFilterStrip.form-filter-strip,
  html body #catalogHero #formFilterStrip.form-filter-strip:not([hidden]){
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:22px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  html body #catalogHero #formFilterStrip .form-filter-scroll{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    width:100%!important;
    height:22px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding-right:6px!important;
  }
  html body #catalogHero #formFilterStrip .form-filter-scroll::-webkit-scrollbar{display:none!important;}
  html body #catalogHero #formFilterStrip .form-filter-chip{
    flex:0 0 auto!important;
    height:20px!important;
    min-height:20px!important;
    padding:0 7px!important;
    font-size:9px!important;
    line-height:18px!important;
    border-radius:999px!important;
    white-space:nowrap!important;
  }

  /* Mobile is still two cards per row — only layout difference from desktop catalog. */
  html body #productList.product-list,
  html body #productList{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* =======================================================================
   V3.13 — mobile floating capsules: fixed coordinates + stable category jump
   ======================================================================= */
@media(max-width:760px){
  /* catalogHero is appended to body by JS. Historical mobile rules changed it
     back to position:relative, which moved the capsules to the end of <body>.
     Keep exactly the desktop floating model, only more compact. */
  html body > #catalogHero.catalog-hero,
  html body > #catalogHero.catalog-hero:not([hidden]),
  html body > #catalogHero.catalog-hero[class*="tone-"]:not([hidden]){
    position:fixed!important;
    z-index:780!important;
    top:var(--rxde-v274-pill-top)!important;
    left:max(4px,var(--rxde-v274-paper-left))!important;
    right:max(4px,var(--rxde-v274-paper-right))!important;
    width:auto!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    margin:0!important;
    padding:0 4px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    pointer-events:none!important;
    transform:none!important;
  }
  html body > #catalogHero .catalog-hero-center{
    width:100%!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding:0!important;
    margin:0!important;
    pointer-events:none!important;
  }
  html body #catalogHeroPlaceholder{
    display:block!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    margin:0!important;
    padding:0!important;
  }

  /* No filters: one centered information/sort capsule. */
  html body > #catalogHero:not(.has-form-filters) .catalog-filter-pill{display:none!important;}
  html body > #catalogHero:not(.has-form-filters) .catalog-hero-pill{
    display:flex!important;
    flex:0 1 auto!important;
    width:auto!important;
    max-width:calc(100vw - 12px)!important;
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    padding:0 5px 0 8px!important;
    pointer-events:auto!important;
  }

  /* Filters active: wide forms capsule + minimum-width sorting capsule. */
  html body > #catalogHero.has-form-filters .catalog-hero-center{
    justify-content:stretch!important;
  }
  html body > #catalogHero.has-form-filters .catalog-filter-pill{
    display:flex!important;
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    padding:0 22px 0 4px!important;
    overflow:hidden!important;
    pointer-events:auto!important;
  }
  html body > #catalogHero.has-form-filters .catalog-hero-pill{
    display:flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    padding:0 3px!important;
    pointer-events:auto!important;
  }
  html body > #catalogHero.has-form-filters .catalog-hero-pill > h1,
  html body > #catalogHero.has-form-filters #catalogCount{display:none!important;}
  html body > #catalogHero.has-form-filters .catalog-hero-meta,
  html body > #catalogHero.has-form-filters .catalog-sort{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:1px!important;
    margin:0!important;
  }
  html body > #catalogHero.has-form-filters .catalog-sort .sort-combo{
    gap:1px!important;
    padding:0!important;
  }

  html body > #catalogHero #formFilterStrip.form-filter-strip,
  html body > #catalogHero #formFilterStrip.form-filter-strip:not([hidden]){
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:22px!important;
    min-height:22px!important;
    max-height:22px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  html body > #catalogHero #formFilterStrip .form-filter-scroll{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    width:100%!important;
    height:22px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain!important;
    padding-right:7px!important;
  }
  html body > #catalogHero #formFilterStrip .form-filter-scroll::-webkit-scrollbar{display:none!important;}
}


/* =======================================================================
   V3.13 — append-only “Показать ещё” + restored direct photo lightbox
   ======================================================================= */
/* Existing cards never animate/reflow on load-more; only newly appended cards appear softly. */
html body #productList > .rxde-card-added{
  animation:rxdeAppendCard .24s cubic-bezier(.2,.72,.28,1) var(--rxde-add-delay,0ms) both!important;
}
@keyframes rxdeAppendCard{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:translateY(0)}
}
@media (prefers-reduced-motion:reduce){
  html body #productList > .rxde-card-added{animation:none!important}
}

/* Photo area itself is the zoom action. No extra magnifier icon is drawn. */
html body #productList .product-photo,
html body #productList .product-photo img,
html body #productList .m-product-photo,
html body #productList .m-product-photo img,
html body #searchSuggest .suggest-photo,
html body #searchSuggest .suggest-photo img,
html body #orderLines .order-thumb,
html body #orderLines .order-thumb img{
  cursor:zoom-in!important;
}

/* Full-screen lightbox: click backdrop or X to close; clicking the photo itself does nothing. */
html body .product-photo-lightbox{
  cursor:default!important;
}
html body .product-photo-lightbox-stage{
  position:relative!important;
  cursor:default!important;
  overflow:visible!important;
}
html body .product-photo-lightbox-stage img{
  cursor:default!important;
}
html body .product-photo-lightbox-close{
  position:absolute!important;
  top:-14px!important;
  right:-14px!important;
  z-index:3!important;
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  border:1px solid rgba(101,124,137,.30)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.96)!important;
  color:#274858!important;
  box-shadow:0 6px 18px rgba(15,37,48,.18)!important;
  font:400 25px/1 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  cursor:pointer!important;
}
html body .product-photo-lightbox-close:hover{background:#fff!important;box-shadow:0 8px 22px rgba(15,37,48,.24)!important}
html body .product-photo-lightbox-close:active{transform:scale(.94)!important}
@media(max-width:760px){
  html body .product-photo-lightbox-close{
    top:8px!important;
    right:8px!important;
    width:32px!important;
    height:32px!important;
    font-size:23px!important;
  }
}


/* =======================================================================
   V3.13 — photo zoom layer hardening for catalogue + quick search
   ======================================================================= */
/* The entire thumbnail surface is the zoom target, not only the img pixels. */
html body #productList .product-photo,
html body #productList .product-photo *,
html body #productList .m-product-photo,
html body #productList .m-product-photo *,
html body #searchSuggest .suggest-photo,
html body #searchSuggest .suggest-photo *{
  cursor:zoom-in!important;
}
html body #productList .product-photo,
html body #productList .m-product-photo,
html body #searchSuggest .suggest-photo{
  pointer-events:auto!important;
  position:relative!important;
}
html body #productList .product-photo img,
html body #productList .m-product-photo img,
html body #searchSuggest .suggest-photo img{
  pointer-events:auto!important;
}
/* Product form badge stays clickable, but only its own footprint intercepts pointer input. */
html body #productList .product-photo .form-badge{
  cursor:pointer!important;
  pointer-events:auto!important;
}

/* Viewer must always beat suggestions, sticky header, order sheet and transient portals. */
html body .product-photo-lightbox{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  isolation:isolate!important;
  pointer-events:auto!important;
}
html body .product-photo-lightbox-stage{
  z-index:1!important;
}
html body.product-lightbox-open #searchSuggest,
html.product-lightbox-open body #searchSuggest,
html.product-lightbox-open body .search-suggest{
  pointer-events:none!important;
}


/* =======================================================================
   V3.13 — catalogue photo hit-area + full quick-search information rows
   ======================================================================= */
/* An older fixed-card rule disabled pointer input on .r2-photo. Override it
   with the SAME/HIGHER specificity so the entire real photo area is zoomable. */
html body #productList > article.r2-card.has-expand-image > .r2-photo{
  pointer-events:auto!important;
  cursor:zoom-in!important;
  z-index:10!important;
}
html body #productList > article.r2-card.has-expand-image > .r2-photo > img,
html body #productList > article.r2-card.has-expand-image > .r2-photo > .rxde-placeholder,
html body #productList > article.r2-card.has-expand-image > .r2-photo > .image-fallback{
  pointer-events:auto!important;
  cursor:zoom-in!important;
}
/* The form badge remains a filter button and must not inherit zoom semantics. */
html body #productList > article.r2-card > .r2-photo > .form-badge{
  pointer-events:auto!important;
  cursor:pointer!important;
  z-index:16!important;
}

/* Quick-search rows must have enough room for:
   title + MNN + Form + Hersteller + PZN + selected blue summary strip. */
html body #searchSuggest .suggest-main{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
html body #searchSuggest .suggest-row,
html body #searchSuggest .suggest-row:hover{
  min-height:106px!important;
  padding-top:9px!important;
  padding-bottom:8px!important;
  overflow:hidden!important;
}
html body #searchSuggest .suggest-row.selected{
  min-height:128px!important;
}
html body #searchSuggest .suggest-main > .copy-line,
html body #searchSuggest .suggest-mnn{
  display:block!important;
  min-height:12px!important;
  height:auto!important;
  max-height:none!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
html body #searchSuggest .suggest-picked.selected{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  margin-top:2px!important;
  padding:0 7px!important;
  overflow:hidden!important;
  align-items:center!important;
  justify-content:center!important;
  background:#dff0fb!important;
  color:#24465a!important;
}

@media(max-width:760px){
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover{
    min-height:96px!important;
    padding-top:7px!important;
    padding-bottom:6px!important;
  }
  html body #searchSuggest .suggest-row.selected{
    min-height:116px!important;
  }
  html body #searchSuggest .suggest-main{
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
}


/* =======================================================================
   V3.13 — QUICK SEARCH: real final status row, never clipped
   PZN + blue selected strip must both remain visible.
   ======================================================================= */
html body #searchSuggest .suggest-row,
html body #searchSuggest .suggest-row:hover,
html body #searchSuggest .suggest-row.selected,
html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
  display:grid!important;
  grid-template-columns:50px minmax(0,1fr) 106px!important;
  grid-template-areas:
    "photo main side"
    "picked picked picked"!important;
  grid-template-rows:minmax(82px,auto) 16px!important;
  column-gap:10px!important;
  row-gap:4px!important;
  min-height:112px!important;
  padding:8px 10px 0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  align-items:start!important;
}

html body #searchSuggest .suggest-photo{
  grid-area:photo!important;
  align-self:start!important;
}

html body #searchSuggest .suggest-main{
  grid-area:main!important;
  align-self:start!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

html body #searchSuggest .suggest-side{
  grid-area:side!important;
  align-self:start!important;
}

html body #searchSuggest .suggest-row > .suggest-picked,
html body #searchSuggest .suggest-row > .suggest-picked.selected,
html body #searchSuggest .suggest-picked,
html body #searchSuggest .suggest-picked.selected{
  position:static!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  grid-area:picked!important;
  grid-column:1 / -1!important;
  grid-row:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:calc(100% + 20px)!important;
  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  margin:0 -10px!important;
  padding:0 4px!important;
  border:0!important;
  border-radius:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  font-size:9px!important;
  font-weight:400!important;
  line-height:16px!important;
  transform:none!important;
}

html body #searchSuggest .suggest-row > .suggest-picked:not(.selected){
  background:#fff!important;
  color:transparent!important;
}

html body #searchSuggest .suggest-row > .suggest-picked.selected{
  background:#dff0fb!important;
  color:#24465a!important;
  opacity:1!important;
  visibility:visible!important;
}

@media(max-width:760px){
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover,
  html body #searchSuggest .suggest-row.selected,
  html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
    grid-template-columns:44px minmax(0,1fr) 92px!important;
    grid-template-rows:minmax(76px,auto) 14px!important;
    column-gap:8px!important;
    row-gap:3px!important;
    min-height:102px!important;
    padding:7px 8px 0!important;
  }
  html body #searchSuggest .suggest-row > .suggest-picked,
  html body #searchSuggest .suggest-row > .suggest-picked.selected,
  html body #searchSuggest .suggest-picked,
  html body #searchSuggest .suggest-picked.selected{
    width:calc(100% + 16px)!important;
    height:14px!important;
    min-height:14px!important;
    max-height:14px!important;
    margin:0 -8px!important;
    font-size:8px!important;
    line-height:14px!important;
  }
}


/* =======================================================================
   V3.13 — MOBILE QUICK SEARCH: PZN + bottom selected strip always fit
   Desktop geometry from V3.03 is intentionally unchanged.
   ======================================================================= */
@media(max-width:760px){
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover,
  html body #searchSuggest .suggest-row.selected,
  html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
    grid-template-columns:46px minmax(0,1fr) 96px!important;
    grid-template-areas:
      "photo main side"
      "picked picked picked"!important;
    grid-template-rows:minmax(104px,auto) 16px!important;
    column-gap:8px!important;
    row-gap:3px!important;
    min-height:130px!important;
    padding:8px 8px 0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    align-items:start!important;
  }

  html body #searchSuggest .suggest-photo{
    width:46px!important;
    min-width:46px!important;
    height:72px!important;
    min-height:72px!important;
    align-self:start!important;
  }

  html body #searchSuggest .suggest-main{
    display:grid!important;
    grid-auto-rows:min-content!important;
    align-content:start!important;
    gap:1px!important;
    min-height:100px!important;
    height:auto!important;
    max-height:none!important;
    padding:0!important;
    overflow:visible!important;
  }

  html body #searchSuggest .suggest-title-line{
    margin:0 0 2px!important;
    min-height:28px!important;
    height:auto!important;
  }

  html body #searchSuggest .suggest-title,
  html body #searchSuggest .suggest-title-open{
    font-size:11.5px!important;
    line-height:13px!important;
  }

  html body #searchSuggest .suggest-mnn,
  html body #searchSuggest .copy-line,
  html body #searchSuggest .copy-substance,
  html body #searchSuggest .property-text-line,
  html body #searchSuggest .product-property-line{
    display:block!important;
    min-height:11px!important;
    max-height:11px!important;
    margin:0!important;
    font-size:9.4px!important;
    line-height:11px!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
  }

  html body #searchSuggest .suggest-mnn b,
  html body #searchSuggest .copy-line b,
  html body #searchSuggest .copy-substance b{
    font-size:9.4px!important;
    line-height:11px!important;
  }

  /* PZN is the last metadata line: never sacrifice it on mobile. */
  html body #searchSuggest .suggest-main > .copy-line:last-of-type,
  html body #searchSuggest .suggest-main > [data-copy-field="pzn"],
  html body #searchSuggest .suggest-main .suggest-pzn{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    min-height:11px!important;
    max-height:11px!important;
    overflow:hidden!important;
  }

  html body #searchSuggest .suggest-side{
    width:96px!important;
    min-width:96px!important;
    gap:5px!important;
  }

  html body #searchSuggest .suggest-stepper,
  html body #searchSuggest .suggest-add-zero{
    width:96px!important;
    min-width:96px!important;
    max-width:96px!important;
    height:32px!important;
    min-height:32px!important;
  }

  html body #searchSuggest .suggest-row > .suggest-picked,
  html body #searchSuggest .suggest-row > .suggest-picked.selected,
  html body #searchSuggest .suggest-picked,
  html body #searchSuggest .suggest-picked.selected{
    grid-area:picked!important;
    grid-column:1 / -1!important;
    grid-row:2!important;
    position:static!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:calc(100% + 16px)!important;
    height:16px!important;
    min-height:16px!important;
    max-height:16px!important;
    margin:0 -8px!important;
    padding:0 4px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    font-size:8.5px!important;
    line-height:16px!important;
  }

  html body #searchSuggest .suggest-row > .suggest-picked:not(.selected){
    background:#fff!important;
    color:transparent!important;
  }
  html body #searchSuggest .suggest-row > .suggest-picked.selected{
    background:#dff0fb!important;
    color:#24465a!important;
    visibility:visible!important;
    opacity:1!important;
  }
}


/* =======================================================================
   V3.13 — QUICK SEARCH: ABSOLUTELY FIXED ROW GEOMETRY
   Adding/removing a product must never resize a search result row.
   The bottom summary strip is permanently reserved, blank when qty=0.
   ======================================================================= */
html body #searchSuggest .suggest-row,
html body #searchSuggest .suggest-row:hover,
html body #searchSuggest .suggest-row.selected,
html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
  height:112px!important;
  min-height:112px!important;
  max-height:112px!important;
  grid-template-rows:92px 16px!important;
  row-gap:4px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transition:none!important;
}
html body #searchSuggest .suggest-row.selected,
html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
  padding-top:8px!important;
  padding-bottom:0!important;
}
html body #searchSuggest .suggest-main,
html body #searchSuggest .suggest-side,
html body #searchSuggest .suggest-photo{
  min-height:0!important;
  max-height:92px!important;
  overflow:hidden!important;
}
html body #searchSuggest .suggest-picked,
html body #searchSuggest .suggest-picked.selected{
  flex:0 0 16px!important;
}

@media(max-width:760px){
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover,
  html body #searchSuggest .suggest-row.selected,
  html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
    height:132px!important;
    min-height:132px!important;
    max-height:132px!important;
    grid-template-rows:113px 16px!important;
    row-gap:3px!important;
    padding:8px 8px 0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    transition:none!important;
  }
  html body #searchSuggest .suggest-main{
    min-height:0!important;
    height:113px!important;
    max-height:113px!important;
    overflow:hidden!important;
  }
  html body #searchSuggest .suggest-photo,
  html body #searchSuggest .suggest-side{
    min-height:0!important;
    max-height:113px!important;
    overflow:hidden!important;
  }
  html body #searchSuggest .suggest-picked,
  html body #searchSuggest .suggest-picked.selected{
    height:16px!important;
    min-height:16px!important;
    max-height:16px!important;
    flex:0 0 16px!important;
  }
}


/* =======================================================================
   V3.13 — form badge wins over photo zoom
   ======================================================================= */
html body #productList .product-photo{
  cursor:zoom-in!important;
}
html body #productList .product-photo .form-badge[data-card-form-filter],
html body #productList .form-badge[data-card-form-filter]{
  position:relative!important;
  z-index:6!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
html body #productList .product-photo .form-badge[data-card-form-filter] *{
  cursor:pointer!important;
}


/* =======================================================================
   V3.13 — QUICK SEARCH: readable bottom summary strip
   Keep row height fixed; give more of the existing row to the blue strip.
   ======================================================================= */
html body #searchSuggest .suggest-row,
html body #searchSuggest .suggest-row:hover,
html body #searchSuggest .suggest-row.selected,
html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
  height:112px!important;
  min-height:112px!important;
  max-height:112px!important;
  grid-template-rows:88px 20px!important;
  row-gap:4px!important;
}

html body #searchSuggest .suggest-main,
html body #searchSuggest .suggest-side,
html body #searchSuggest .suggest-photo{
  max-height:88px!important;
}

html body #searchSuggest .suggest-row > .suggest-picked,
html body #searchSuggest .suggest-row > .suggest-picked.selected,
html body #searchSuggest .suggest-picked,
html body #searchSuggest .suggest-picked.selected{
  height:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  flex:0 0 20px!important;
  font-size:10px!important;
  font-weight:500!important;
  line-height:20px!important;
  letter-spacing:0!important;
}

html body #searchSuggest .suggest-row > .suggest-picked.selected{
  background:#d9edf9!important;
  color:#173f58!important;
}

@media(max-width:760px){
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover,
  html body #searchSuggest .suggest-row.selected,
  html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
    height:132px!important;
    min-height:132px!important;
    max-height:132px!important;
    grid-template-rows:111px 18px!important;
    row-gap:3px!important;
  }

  html body #searchSuggest .suggest-main{
    height:111px!important;
    max-height:111px!important;
  }

  html body #searchSuggest .suggest-photo,
  html body #searchSuggest .suggest-side{
    max-height:111px!important;
  }

  html body #searchSuggest .suggest-row > .suggest-picked,
  html body #searchSuggest .suggest-row > .suggest-picked.selected,
  html body #searchSuggest .suggest-picked,
  html body #searchSuggest .suggest-picked.selected{
    height:18px!important;
    min-height:18px!important;
    max-height:18px!important;
    flex:0 0 18px!important;
    font-size:9.2px!important;
    font-weight:500!important;
    line-height:18px!important;
  }
}


/* =======================================================================
   V3.13 — QUICK SEARCH: fix clipped blue summary strip
   Previous row tracks + top padding exceeded the fixed row height.
   Keep the row fixed, but make the internal grid actually fit inside it.
   ======================================================================= */
html body #searchSuggest .suggest-row,
html body #searchSuggest .suggest-row:hover,
html body #searchSuggest .suggest-row.selected,
html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
  height:112px!important;
  min-height:112px!important;
  max-height:112px!important;
  padding:6px 10px 0!important;
  grid-template-rows:82px 20px!important;
  row-gap:2px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

html body #searchSuggest .suggest-main,
html body #searchSuggest .suggest-side,
html body #searchSuggest .suggest-photo{
  height:auto!important;
  min-height:0!important;
  max-height:82px!important;
  overflow:hidden!important;
}

html body #searchSuggest .suggest-row > .suggest-picked,
html body #searchSuggest .suggest-row > .suggest-picked.selected,
html body #searchSuggest .suggest-picked,
html body #searchSuggest .suggest-picked.selected{
  grid-row:2!important;
  align-self:end!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  padding:0 6px!important;
  line-height:1!important;
  font-size:10px!important;
  font-weight:500!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

@media(max-width:760px){
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover,
  html body #searchSuggest .suggest-row.selected,
  html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
    height:132px!important;
    min-height:132px!important;
    max-height:132px!important;
    padding:7px 8px 0!important;
    grid-template-rows:102px 18px!important;
    row-gap:3px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  html body #searchSuggest .suggest-main,
  html body #searchSuggest .suggest-side,
  html body #searchSuggest .suggest-photo{
    height:auto!important;
    min-height:0!important;
    max-height:102px!important;
    overflow:hidden!important;
  }

  html body #searchSuggest .suggest-row > .suggest-picked,
  html body #searchSuggest .suggest-row > .suggest-picked.selected,
  html body #searchSuggest .suggest-picked,
  html body #searchSuggest .suggest-picked.selected{
    height:18px!important;
    min-height:18px!important;
    max-height:18px!important;
    padding:0 5px!important;
    line-height:1!important;
    font-size:9.2px!important;
    align-self:end!important;
  }
}


/* =======================================================================
   V3.13 — MOBILE QUICK SEARCH: one fixed geometry for ALL rows
   The selected summary is an absolute footer, not a second grid track.
   This prevents selected rows from becoming taller and guarantees PZN.
   ======================================================================= */
@media(max-width:760px){
  html body #searchSuggest .suggest-row,
  html body #searchSuggest .suggest-row:hover,
  html body #searchSuggest .suggest-row.selected,
  html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
    position:relative!important;
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr) 96px!important;
    grid-template-areas:"photo main side"!important;
    grid-template-rows:1fr!important;
    column-gap:8px!important;
    row-gap:0!important;

    height:132px!important;
    min-height:132px!important;
    max-height:132px!important;

    padding:7px 8px 19px!important;
    margin:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    align-items:start!important;
    transition:none!important;
  }

  /* Selected and unselected rows have IDENTICAL box geometry. */
  html body #searchSuggest .suggest-row.selected,
  html body #searchSuggest .suggest-row:has(.suggest-picked.selected){
    height:132px!important;
    min-height:132px!important;
    max-height:132px!important;
    padding:7px 8px 19px!important;
  }

  html body #searchSuggest .suggest-photo{
    grid-area:photo!important;
    width:46px!important;
    min-width:46px!important;
    height:72px!important;
    min-height:72px!important;
    max-height:72px!important;
    margin:0!important;
    align-self:start!important;
    overflow:hidden!important;
  }

  html body #searchSuggest .suggest-main{
    grid-area:main!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    gap:1px!important;
    height:104px!important;
    min-height:104px!important;
    max-height:104px!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
  }

  html body #searchSuggest .suggest-title-line{
    flex:0 0 auto!important;
    min-height:28px!important;
    max-height:28px!important;
    height:28px!important;
    margin:0 0 2px!important;
    overflow:hidden!important;
  }

  html body #searchSuggest .suggest-title,
  html body #searchSuggest .suggest-title-open{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    max-height:28px!important;
    overflow:hidden!important;
    font-size:11.5px!important;
    line-height:14px!important;
  }

  html body #searchSuggest .suggest-mnn,
  html body #searchSuggest .copy-line,
  html body #searchSuggest .copy-substance,
  html body #searchSuggest .property-text-line,
  html body #searchSuggest .product-property-line{
    flex:0 0 14px!important;
    display:block!important;
    height:14px!important;
    min-height:14px!important;
    max-height:14px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    font-size:9.4px!important;
    line-height:14px!important;
  }

  html body #searchSuggest .suggest-main .copy-pzn,
  html body #searchSuggest .suggest-main > [data-copy-field="pzn"],
  html body #searchSuggest .suggest-main .suggest-pzn{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 14px!important;
    height:14px!important;
    min-height:14px!important;
    max-height:14px!important;
    overflow:hidden!important;
  }

  html body #searchSuggest .suggest-side{
    grid-area:side!important;
    width:96px!important;
    min-width:96px!important;
    max-width:96px!important;
    height:104px!important;
    min-height:104px!important;
    max-height:104px!important;
    margin:0!important;
    padding:0!important;
    align-self:start!important;
    overflow:visible!important;
  }

  html body #searchSuggest .suggest-stepper,
  html body #searchSuggest .suggest-add-zero{
    width:96px!important;
    min-width:96px!important;
    max-width:96px!important;
  }

  /* Permanent footer reservation. It is present even when qty=0. */
  html body #searchSuggest .suggest-row > .suggest-picked,
  html body #searchSuggest .suggest-row > .suggest-picked.selected,
  html body #searchSuggest .suggest-picked,
  html body #searchSuggest .suggest-picked.selected{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;

    display:flex!important;
    align-items:center!important;
    justify-content:center!important;

    width:100%!important;
    height:18px!important;
    min-height:18px!important;
    max-height:18px!important;
    margin:0!important;
    padding:0 6px!important;

    box-sizing:border-box!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    font-size:9.2px!important;
    font-weight:500!important;
    line-height:18px!important;
    z-index:3!important;
    transform:none!important;
  }

  html body #searchSuggest .suggest-row > .suggest-picked:not(.selected){
    background:#fff!important;
    color:transparent!important;
  }

  html body #searchSuggest .suggest-row > .suggest-picked.selected{
    background:#d9edf9!important;
    color:#173f58!important;
    opacity:1!important;
    visibility:visible!important;
  }
}


/* =======================================================================
   V3.13 — MOBILE HEADER PROPORTIONS
   Less space for RXDE logo, more useful width for search.
   Search field is lower, closer to text height, but still touch-friendly.
   ======================================================================= */
@media(max-width:760px){
  html.rxde-mobile-ui{
    --m-head-h:48px!important;
  }

  html.rxde-mobile-ui #appHeader{
    grid-template-columns:42px minmax(0,1fr) 36px 96px!important;
    grid-template-rows:40px!important;
    gap:5px!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    padding:4px 7px!important;
  }

  html.rxde-mobile-ui body.mobile-header-hidden #appHeader{
    transform:translateY(-48px)!important;
  }

  html.rxde-mobile-ui #appHeader .brand-cluster,
  html.rxde-mobile-ui #appHeader .brand{
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:40px!important;
  }

  html.rxde-mobile-ui #appHeader .brand{
    gap:2px!important;
  }

  html.rxde-mobile-ui #appHeader .brand-rx{
    width:25px!important;
    min-width:25px!important;
    height:29px!important;
    font-size:11px!important;
    border-radius:5px!important;
  }

  html.rxde-mobile-ui #appHeader .brand-de{
    font-size:14px!important;
    line-height:29px!important;
  }

  html.rxde-mobile-ui #appHeader .search-stage{
    height:40px!important;
  }

  html.rxde-mobile-ui #appHeader .search-wrap,
  html.rxde-mobile-ui #appHeader .search-main-field{
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
  }

  html.rxde-mobile-ui #appHeader .search-main-field{
    border-radius:12px!important;
  }

  html.rxde-mobile-ui #appHeader .search-input{
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    padding:0 28px 0 32px!important;
    font-size:14px!important;
    line-height:34px!important;
  }

  html.rxde-mobile-ui #appHeader .search-icon{
    left:9px!important;
    width:15px!important;
    height:15px!important;
  }

  html.rxde-mobile-ui #appHeader .clear-search{
    right:3px!important;
    width:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    font-size:19px!important;
    line-height:24px!important;
  }

  html.rxde-mobile-ui #desktopOrderDock,
  html.rxde-mobile-ui #desktopOrderDock.desktop-order-dock.order-status-standard{
    width:104px!important;
    min-width:104px!important;
    max-width:104px!important;
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    padding:2px 5px!important;
    border-radius:12px!important;
  }

  html.rxde-mobile-ui body > #searchSuggest.search-suggest,
  html.rxde-mobile-ui #appHeader #searchSuggest.search-suggest{
    top:48px!important;
  }
}


/* =======================================================================
   V3.13 — MOBILE: fixed quick-search row + usable left-aligned search input
   ======================================================================= */
@media(max-width:760px){

  /* Header proportions: give the input the useful width, not the logo/cart. */
  html.rxde-mobile-ui #appHeader{
    grid-template-columns:42px minmax(0,1fr) 36px 96px!important;
    gap:4px!important;
  }

  html.rxde-mobile-ui #appHeader .brand-cluster,
  html.rxde-mobile-ui #appHeader .brand{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
  }

  html.rxde-mobile-ui #appHeader .brand{
    gap:1px!important;
  }

  html.rxde-mobile-ui #appHeader .brand-rx{
    width:23px!important;
    min-width:23px!important;
    height:28px!important;
    font-size:10px!important;
  }

  html.rxde-mobile-ui #appHeader .brand-de{
    font-size:13px!important;
    line-height:28px!important;
  }

  html.rxde-mobile-ui #desktopOrderDock,
  html.rxde-mobile-ui #desktopOrderDock.desktop-order-dock.order-status-standard{
    width:96px!important;
    min-width:96px!important;
    max-width:96px!important;
  }

  /* The search text must begin after the magnifier, never in the centre. */
  html.rxde-mobile-ui #appHeader .search-stage,
  html.rxde-mobile-ui #appHeader .search-wrap,
  html.rxde-mobile-ui #appHeader .search-main-field{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }

  html.rxde-mobile-ui #appHeader .search-input{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    padding:0 27px 0 30px!important;
    margin:0!important;
    box-sizing:border-box!important;
    text-align:left!important;
    text-indent:0!important;
    direction:ltr!important;
    font-size:14px!important;
    font-weight:500!important;
    letter-spacing:0!important;
    line-height:32px!important;
  }

  html.rxde-mobile-ui #appHeader .search-wrap,
  html.rxde-mobile-ui #appHeader .search-main-field{
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
  }

  html.rxde-mobile-ui #appHeader .search-stage{
    height:36px!important;
  }

  /*
    Quick search result geometry.
    Selected and unselected rows are THE SAME physical box.
    The blue summary occupies a permanently reserved absolute footer.
  */
  html.rxde-mobile-ui body #searchSuggest .suggest-row,
  html.rxde-mobile-ui body #searchSuggest .suggest-row:hover,
  html.rxde-mobile-ui body #searchSuggest .suggest-row.selected,
  html.rxde-mobile-ui body #searchSuggest .suggest-row:has(.suggest-picked.selected),
  html.rxde-mobile-ui body > #searchSuggest .suggest-row,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row:hover,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row.selected,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row:has(.suggest-picked.selected){
    position:relative!important;
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr) 98px!important;
    grid-template-areas:"photo main side"!important;
    grid-template-rows:1fr!important;
    column-gap:8px!important;
    row-gap:0!important;

    width:100%!important;
    height:120px!important;
    min-height:120px!important;
    max-height:120px!important;
    block-size:120px!important;
    min-block-size:120px!important;
    max-block-size:120px!important;
    flex:0 0 120px!important;

    padding:6px 8px 19px!important;
    margin:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    align-items:start!important;
    transition:none!important;
    transform:none!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-photo,
  html.rxde-mobile-ui body > #searchSuggest .suggest-photo{
    grid-area:photo!important;
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:72px!important;
    min-height:72px!important;
    max-height:72px!important;
    margin:0!important;
    overflow:hidden!important;
    align-self:start!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-main,
  html.rxde-mobile-ui body > #searchSuggest .suggest-main{
    grid-area:main!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    gap:1px!important;
    width:auto!important;
    min-width:0!important;
    height:94px!important;
    min-height:94px!important;
    max-height:94px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-title-line,
  html.rxde-mobile-ui body > #searchSuggest .suggest-title-line{
    flex:0 0 29px!important;
    height:29px!important;
    min-height:29px!important;
    max-height:29px!important;
    margin:0 0 1px!important;
    overflow:hidden!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-title,
  html.rxde-mobile-ui body #searchSuggest .suggest-title-open,
  html.rxde-mobile-ui body > #searchSuggest .suggest-title,
  html.rxde-mobile-ui body > #searchSuggest .suggest-title-open{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    max-height:28px!important;
    overflow:hidden!important;
    white-space:normal!important;
    font-size:11.4px!important;
    line-height:14px!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-main .copy-line,
  html.rxde-mobile-ui body > #searchSuggest .suggest-main .copy-line{
    display:block!important;
    flex:0 0 14px!important;
    height:14px!important;
    min-height:14px!important;
    max-height:14px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    font-size:9.4px!important;
    line-height:14px!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-main .copy-pzn,
  html.rxde-mobile-ui body > #searchSuggest .suggest-main .copy-pzn{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 14px!important;
    height:14px!important;
    min-height:14px!important;
    max-height:14px!important;
    overflow:hidden!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-side,
  html.rxde-mobile-ui body > #searchSuggest .suggest-side{
    grid-area:side!important;
    width:98px!important;
    min-width:98px!important;
    max-width:98px!important;
    height:94px!important;
    min-height:94px!important;
    max-height:94px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    align-self:start!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-stepper,
  html.rxde-mobile-ui body #searchSuggest .suggest-add-zero,
  html.rxde-mobile-ui body > #searchSuggest .suggest-stepper,
  html.rxde-mobile-ui body > #searchSuggest .suggest-add-zero{
    width:98px!important;
    min-width:98px!important;
    max-width:98px!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-row > .suggest-picked,
  html.rxde-mobile-ui body #searchSuggest .suggest-row > .suggest-picked.selected,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row > .suggest-picked,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row > .suggest-picked.selected{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    grid-area:unset!important;
    grid-column:auto!important;
    grid-row:auto!important;

    display:flex!important;
    align-items:center!important;
    justify-content:center!important;

    width:100%!important;
    height:18px!important;
    min-height:18px!important;
    max-height:18px!important;
    margin:0!important;
    padding:0 6px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    font-size:9.2px!important;
    font-weight:500!important;
    line-height:18px!important;
    z-index:4!important;
    transform:none!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-row > .suggest-picked:not(.selected),
  html.rxde-mobile-ui body > #searchSuggest .suggest-row > .suggest-picked:not(.selected){
    background:#fff!important;
    color:transparent!important;
  }

  html.rxde-mobile-ui body #searchSuggest .suggest-row > .suggest-picked.selected,
  html.rxde-mobile-ui body > #searchSuggest .suggest-row > .suggest-picked.selected{
    background:#d9edf9!important;
    color:#173f58!important;
    opacity:1!important;
    visibility:visible!important;
  }
}


/* =======================================================================
   V3.13 — MOBILE SEARCH INPUT: true left-origin caret/text
   ======================================================================= */
@media(max-width:760px){
  html.rxde-mobile-ui #appHeader .search-main-field{
    display:block!important;
    position:relative!important;
    overflow:hidden!important;
  }

  html.rxde-mobile-ui #appHeader input#searchInput.search-input{
    display:block!important;
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    margin:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    padding-left:32px!important;
    padding-right:28px!important;
    padding-inline-start:32px!important;
    padding-inline-end:28px!important;
    box-sizing:border-box!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    text-align:left!important;
    text-align:start!important;
    text-indent:0!important;
    direction:ltr!important;
    unicode-bidi:plaintext!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    font-size:14px!important;
    font-weight:500!important;
    line-height:32px!important;
    letter-spacing:0!important;
    caret-color:#183c50!important;
  }

  html.rxde-mobile-ui #appHeader input#searchInput.search-input::placeholder{
    text-align:left!important;
    text-align:start!important;
    direction:ltr!important;
    text-indent:0!important;
    opacity:1!important;
  }

  /* Native search decorations can reserve phantom space on some mobile browsers. */
  html.rxde-mobile-ui #appHeader input#searchInput.search-input::-webkit-search-decoration,
  html.rxde-mobile-ui #appHeader input#searchInput.search-input::-webkit-search-cancel-button,
  html.rxde-mobile-ui #appHeader input#searchInput.search-input::-webkit-search-results-button,
  html.rxde-mobile-ui #appHeader input#searchInput.search-input::-webkit-search-results-decoration{
    display:none!important;
    -webkit-appearance:none!important;
  }
}
/* V3.13.1 — cosmetic-only correction; original sticky/scroll physics retained */
html body .catalog-sort .sort-combo,
html body #catalogHero .catalog-sort .sort-combo{
  border:0!important; background:transparent!important; box-shadow:none!important;
  padding:0!important; margin:0!important; gap:0!important; min-width:0!important;
  width:auto!important; height:auto!important; border-radius:0!important;
}
html body .catalog-sort .sort-combo-divider{display:none!important}
html body .catalog-sort .sort-price-toggle{
  border-radius:999px!important; margin:0!important;
}

/* V3.13.2 — single-row mobile search. Isolated from catalog/nav physics. */
@media(max-width:760px){
 html.rxde-mobile-ui #appHeader .search-stage{min-width:0!important}
 html.rxde-mobile-ui #appHeader .search-wrap{
   display:block!important;position:relative!important;box-sizing:border-box!important;
   min-width:0!important;border:0!important;padding:0!important;
   margin:0!important;background:transparent!important;box-shadow:none!important;
 }
 html.rxde-mobile-ui #appHeader .search-main-field{
   display:flex!important;position:relative!important;align-items:center!important;
   flex-wrap:nowrap!important;justify-content:flex-start!important;gap:0!important;
   box-sizing:border-box!important;overflow:hidden!important;
   width:100%!important;min-width:0!important;
   height:40px!important;min-height:40px!important;max-height:40px!important;
   border:1px solid #cedee5!important;border-radius:14px!important;
   background:rgba(255,255,255,.98)!important;box-shadow:0 3px 14px rgba(34,75,94,.10)!important;
 }
 html.rxde-mobile-ui #appHeader .search-main-field .search-icon{
   display:flex!important;position:relative!important;inset:auto!important;
   top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
   transform:none!important;flex:0 0 37px!important;align-items:center!important;
   justify-content:center!important;width:37px!important;height:38px!important;
   padding:0!important;margin:0!important;border:0!important;
 }
 html.rxde-mobile-ui #appHeader input#searchInput.search-input{
   display:block!important;position:relative!important;inset:auto!important;flex:1 1 auto!important;
   width:1px!important;min-width:0!important;max-width:none!important;
   height:38px!important;min-height:38px!important;max-height:38px!important;
   box-sizing:border-box!important;margin:0!important;border:0!important;
   padding:0 5px!important;text-indent:0!important;transform:none!important;
   font:500 16px/38px system-ui,sans-serif!important;
   text-align:left!important;direction:ltr!important;white-space:nowrap!important;
   border-radius:0!important;background:transparent!important;box-shadow:none!important;
   appearance:none!important;-webkit-appearance:none!important;caret-color:#24495e!important;
 }
 html.rxde-mobile-ui #appHeader input#searchInput.search-input::placeholder{
   font:inherit!important;text-align:left!important;opacity:1!important;white-space:nowrap!important;
 }
 html.rxde-mobile-ui #appHeader .search-main-field .clear-search{
   display:flex!important;position:relative!important;inset:auto!important;
   top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
   transform:none!important;flex:0 0 34px!important;align-items:center!important;
   justify-content:center!important;width:34px!important;height:38px!important;
   min-width:34px!important;max-width:34px!important;min-height:38px!important;
   margin:0!important;padding:0!important;line-height:1!important;
 }
 html.rxde-mobile-ui body.search-focus #appHeader{
   z-index:51000!important;visibility:visible!important;opacity:1!important;transform:none!important;
 }
 html.rxde-mobile-ui body.search-focus #appHeader .search-stage{
   position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 6px)!important;
   left:7px!important;right:7px!important;width:calc(100% - 14px)!important;
   min-width:0!important;height:48px!important;min-height:48px!important;max-height:48px!important;
   padding:0!important;margin:0!important;z-index:51010!important;
   animation:rxdeMobileSearchGrow .26s cubic-bezier(.16,.8,.2,1) both!important;
 }
 html.rxde-mobile-ui body.search-focus #appHeader .search-wrap,
 html.rxde-mobile-ui body.search-focus #appHeader .search-main-field{
   width:100%!important;height:48px!important;min-height:48px!important;max-height:48px!important;
 }
 html.rxde-mobile-ui body.search-focus #appHeader .search-main-field{
   border-radius:14px!important;box-shadow:0 8px 26px rgba(30,63,80,.2)!important;
 }
 html.rxde-mobile-ui body.search-focus #appHeader .search-main-field .search-icon{display:none!important}
 html.rxde-mobile-ui body.search-focus #appHeader input#searchInput.search-input{
   height:46px!important;min-height:46px!important;max-height:46px!important;
   line-height:46px!important;padding:0 13px!important;
 }
 html.rxde-mobile-ui body.search-focus #appHeader .search-main-field .clear-search{
   flex-basis:42px!important;width:42px!important;min-width:42px!important;
   height:46px!important;min-height:46px!important;
 }
 html.rxde-mobile-ui .mobile-search-focus-backdrop{display:none;position:fixed;inset:0;z-index:50000;background:rgba(255,255,255,.82);backdrop-filter:blur(2px)}
 html.rxde-mobile-ui .mobile-search-focus-backdrop.visible{display:block!important}
 html.rxde-mobile-ui body.search-focus #appHeader #searchSuggest.search-suggest,
 html.rxde-mobile-ui body.search-focus > #searchSuggest.search-suggest{
   position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 59px)!important;
   left:7px!important;right:7px!important;width:auto!important;max-width:none!important;
   z-index:51012!important;max-height:calc(100dvh - 75px)!important;overflow:auto!important;
 }
 @keyframes rxdeMobileSearchGrow{from{opacity:.92;transform:scaleX(.94)}to{opacity:1;transform:scaleX(1)}}
}
@media(prefers-reduced-motion:reduce){html.rxde-mobile-ui body.search-focus #appHeader .search-stage{animation:none!important}}

/* V3.13.3: keep overlay inside paper-shell's stacking context, behind search. */
@media(max-width:760px){
  html.rxde-mobile-ui body.search-focus .paper-shell > #mobileSearchFocusBackdrop.mobile-search-focus-backdrop{
    position:fixed!important;inset:0!important;z-index:50000!important;
  }
  html.rxde-mobile-ui body.search-focus .paper-shell #stickyStack.sticky-stack{
    z-index:51000!important;visibility:visible!important;opacity:1!important;
  }
  html.rxde-mobile-ui body.search-focus .paper-shell #stickyStack::before,
  html.rxde-mobile-ui body.search-focus .paper-shell #stickyStack::after{
    opacity:0!important;pointer-events:none!important;
  }
  html.rxde-mobile-ui body.search-focus .paper-shell #flowNav{pointer-events:none!important;visibility:hidden!important}
  html.rxde-mobile-ui body.search-focus #appHeader{pointer-events:none!important}
  html.rxde-mobile-ui body.search-focus #appHeader .search-stage,
  html.rxde-mobile-ui body.search-focus #appHeader .search-stage *{pointer-events:auto!important}
}

/* V3.13.5 minimal favorites + price sort polish */
.rxde-fav-nav{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 39px;width:39px;height:39px;background:#fff;border:1px solid #d5e2e9;border-radius:13px;color:#365d72;cursor:pointer}
.rxde-fav-nav svg,.rxde-card-heart svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.rxde-fav-nav.is-active{background:#dcefff;border-color:#4691c4}
.rxde-fav-count{position:absolute;right:-4px;top:-5px;background:#247dbb;color:white;border-radius:50%;font-size:10px;font-weight:900;width:17px;height:17px;line-height:17px;text-align:center}
.rxde-fav-count[hidden]{display:none!important}
#productList .product-row .r2-photo{position:relative!important}
#productList .product-row .rxde-card-heart{position:absolute!important;left:50%!important;top:6px!important;transform:translateX(-50%)!important;z-index:21!important;width:29px!important;height:29px!important;padding:3px!important;background:rgba(255,255,255,.9)!important;border:1px solid rgba(101,139,163,.3)!important;border-radius:50%!important;color:#365d72!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;pointer-events:auto!important}
#productList .product-row .rxde-card-heart.is-favorite svg{fill:#f1c735!important;stroke:#c89714!important}
html body .catalog-sort .sort-price-toggle.active,html body #catalogHero .catalog-sort .sort-price-toggle.active{background:#d7ecff!important;border-color:#68a2d0!important;color:#195d86!important;box-shadow:inset 0 0 0 1px rgba(45,131,188,.15)!important}
@media(max-width:760px){
html.rxde-mobile-ui body #catalogHero.has-form-filters .catalog-sort,
html.rxde-mobile-ui body > #catalogHero.has-form-filters .catalog-sort,
html.rxde-mobile-ui body #catalogHero.has-form-filters .catalog-sort .sort-combo,
html.rxde-mobile-ui body > #catalogHero.has-form-filters .catalog-sort .sort-combo{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;min-width:0!important;width:auto!important;}
html.rxde-mobile-ui body .rxde-fav-nav{flex-basis:33px!important;width:33px!important;height:35px!important}
html.rxde-mobile-ui body .rxde-fav-nav svg{width:21px;height:21px}
}


/* V3.13.6 — favorite button polish and compact sort styling */
.rxde-fav-nav{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.rxde-fav-nav:hover,.rxde-fav-nav:focus-visible{cursor:pointer!important;box-shadow:0 0 0 3px rgba(244,205,77,.22)!important}
.rxde-fav-nav.is-active{background:#f6df7f!important;border-color:#d6ac29!important;color:#866400!important;box-shadow:0 0 0 1px rgba(214,172,41,.15) inset!important}
.rxde-fav-nav.is-active svg{fill:#f1c735!important;stroke:#a67a0f!important}
.rxde-fav-nav svg,.rxde-card-heart svg{width:21px!important;height:21px!important}
#productList .product-row .rxde-card-heart{left:auto!important;right:14px!important;top:40px!important;transform:none!important;width:30px!important;height:30px!important;background:rgba(255,255,255,.95)!important;border:1px solid rgba(85,126,150,.34)!important;box-shadow:0 2px 8px rgba(34,66,89,.08)!important}
#productList .product-row .rxde-card-heart:hover,#productList .product-row .rxde-card-heart:focus-visible,#productList .product-row .rxde-card-heart *,#productList .product-row .rxde-card-heart svg{cursor:pointer!important}
#productList .product-row .rxde-card-heart.is-favorite svg{fill:#f1c735!important;stroke:#b98712!important}
@media (max-width:760px){
  #productList .product-row .rxde-card-heart{top:36px!important;right:12px!important;width:28px!important;height:28px!important}
}
/* remove nested capsule feel for compact mobile price sorting */
@media (max-width:760px){
  html.rxde-mobile-ui .catalog-hero .catalog-hero-meta .sort-pill.sort-price-toggle{border-radius:14px!important;min-width:60px!important;padding:0 10px!important;background:#fff!important;border:1px solid #c7d7e2!important;box-shadow:none!important}
  html.rxde-mobile-ui .catalog-hero .catalog-hero-meta .sort-pill.sort-price-toggle.active,
  html.rxde-mobile-ui .catalog-hero .catalog-hero-meta .sort-pill.sort-price-toggle[aria-pressed="true"]{background:#dfefff!important;border-color:#63a5d0!important;color:#214d68!important;box-shadow:0 2px 8px rgba(86,146,187,.16)!important}
  html.rxde-mobile-ui .catalog-hero .catalog-hero-pill .catalog-hero-meta{gap:8px!important}
  html.rxde-mobile-ui .catalog-hero .catalog-hero-meta .catalog-sort.flow-sort{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
  html.rxde-mobile-ui .catalog-hero .catalog-hero-meta .catalog-sort.flow-sort .sort-caption,
  html.rxde-mobile-ui .catalog-hero .catalog-hero-meta .catalog-sort.flow-sort .sort-combo-divider,
  html.rxde-mobile-ui .catalog-hero .catalog-hero-meta .catalog-sort.flow-sort [data-sort-toggle="name"]{display:none!important}
  html.rxde-mobile-ui .catalog-hero .catalog-hero-meta .catalog-sort.flow-sort .sort-combo{display:flex!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
}

/* V3.13.9 — four explicit mobile header slots, unchanged catalog/desktop */
@media (max-width:760px){
  html.rxde-mobile-ui #appHeader,
  html.rxde-mobile-ui body.mobile-header-visible #appHeader,
  html.rxde-mobile-ui body.mobile-header-force #appHeader{
    grid-template-columns:42px minmax(0,1fr) 36px 96px!important;
    column-gap:4px!important;
    padding-left:6px!important;padding-right:6px!important;
  }
  html.rxde-mobile-ui #appHeader .brand-cluster{grid-column:1!important;grid-row:1!important;margin:0!important}
  html.rxde-mobile-ui #appHeader .search-stage{grid-column:2!important;grid-row:1!important;min-width:0!important;margin:0!important}
  html.rxde-mobile-ui #appHeader .status-cluster{display:contents!important}
  html.rxde-mobile-ui #appHeader .rxde-fav-nav{
    grid-column:3!important;grid-row:1!important;
    display:inline-flex!important;position:relative!important;
    width:35px!important;min-width:35px!important;max-width:35px!important;
    height:35px!important;min-height:35px!important;
    margin:0!important;padding:5px!important;justify-self:center!important;
    align-self:center!important;z-index:4!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  }
  html.rxde-mobile-ui #desktopOrderDock.desktop-order-dock.order-status-standard{
    grid-column:4!important;grid-row:1!important;
    width:96px!important;min-width:96px!important;max-width:96px!important;
    margin:0!important;justify-self:end!important;
  }
  html.rxde-mobile-ui body.search-focus #appHeader .brand-cluster,
  html.rxde-mobile-ui body.search-focus #appHeader .rxde-fav-nav,
  html.rxde-mobile-ui body.search-focus #appHeader #desktopOrderDock{
    visibility:hidden!important;pointer-events:none!important;
  }
  html.rxde-mobile-ui body.search-focus #appHeader .search-stage{
    position:fixed!important;grid-column:auto!important;grid-row:auto!important;
    top:calc(env(safe-area-inset-top,0px) + 6px)!important;left:7px!important;right:7px!important;
    width:calc(100% - 14px)!important;z-index:51010!important;
  }
}

/* V3.13.10: measured narrow mobile search; orderly wrap only on very small screens. */
@media (max-width:760px){
  html.rxde-mobile-ui #appHeader,
  html.rxde-mobile-ui body.mobile-header-visible #appHeader,
  html.rxde-mobile-ui body.mobile-header-force #appHeader{
    grid-template-columns:42px minmax(0, min(33vw, 156px)) 36px minmax(96px,1fr)!important;
    column-gap:5px!important;
  }
  html.rxde-mobile-ui #appHeader .search-stage{
    width:100%!important;max-width:156px!important;min-width:0!important;
    justify-self:start!important;
  }
  html.rxde-mobile-ui #appHeader .search-wrap,
  html.rxde-mobile-ui #appHeader .search-main-field{width:100%!important;max-width:100%!important}
  html.rxde-mobile-ui #appHeader .mobile-rate-summary{
    grid-column:1 / -1!important;grid-row:2!important;
  }
  /* Expanded search remains full viewport width, without competing controls. */
  html.rxde-mobile-ui body.search-focus #appHeader .search-stage{
    position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 6px)!important;
    left:7px!important;right:7px!important;width:calc(100% - 14px)!important;
    max-width:none!important;grid-column:auto!important;grid-row:auto!important;
  }
  html.rxde-mobile-ui body.search-focus #appHeader .search-wrap,
  html.rxde-mobile-ui body.search-focus #appHeader .search-main-field{max-width:none!important;width:100%!important}
}
/* Phones too narrow for four controls: preserve DOM order; move favorites and cart below search. */
@media (max-width:350px){
  html.rxde-mobile-ui{--m-head-h:108px!important}
  html.rxde-mobile-ui .sticky-stack{padding-top:112px!important}
  html.rxde-mobile-ui #appHeader,
  html.rxde-mobile-ui body.mobile-header-visible #appHeader,
  html.rxde-mobile-ui body.mobile-header-force #appHeader{
    height:108px!important;min-height:108px!important;max-height:108px!important;
    grid-template-columns:48px minmax(0,1fr) 36px 100px!important;
    grid-template-rows:46px 46px 14px!important;
    row-gap:0!important;column-gap:4px!important;
  }
  html.rxde-mobile-ui #appHeader .brand-cluster{grid-column:1!important;grid-row:1!important}
  html.rxde-mobile-ui #appHeader .search-stage{grid-column:2/5!important;grid-row:1!important;max-width:none!important;width:100%!important}
  html.rxde-mobile-ui #appHeader .rxde-fav-nav{grid-column:3!important;grid-row:2!important;justify-self:center!important}
  html.rxde-mobile-ui #appHeader #desktopOrderDock{grid-column:4!important;grid-row:2!important;justify-self:end!important}
  html.rxde-mobile-ui #appHeader .mobile-rate-summary{grid-column:1/-1!important;grid-row:3!important}
  html.rxde-mobile-ui body.mobile-header-hidden #appHeader{top:-108px!important}
  html.rxde-mobile-ui body > #searchSuggest.search-suggest{top:108px!important}
  html.rxde-mobile-ui body.search-focus #appHeader .search-stage{grid-column:auto!important;grid-row:auto!important}
  html.rxde-mobile-ui body.search-focus > #searchSuggest.search-suggest{top:calc(env(safe-area-inset-top,0px) + 59px)!important}
}

/* V3.13.11: simple dissolve when removing an item from Favorites */
#productList .rxde-favorite-removing{opacity:0!important;transform:scale(.985)!important;transition:opacity .18s ease-out,transform .18s ease-out!important;pointer-events:none!important}
@media(prefers-reduced-motion:reduce){#productList .rxde-favorite-removing{transition:none!important}}

/* V3.13.12: explicit mobile grid. All four items must stay inside their own slots. */
@media (min-width:351px) and (max-width:760px){
 html.rxde-mobile-ui body:not(.search-focus) #appHeader{
   display:grid!important;box-sizing:border-box!important;
   grid-template-columns:48px minmax(0,1fr) 40px 112px!important;
   grid-template-rows:40px!important;gap:4px!important;
   padding-inline:7px!important;width:100%!important;max-width:100%!important;
 }
 html.rxde-mobile-ui body:not(.search-focus) #appHeader .brand-cluster{grid-column:1!important;grid-row:1!important;width:48px!important;min-width:0!important;max-width:48px!important}
 html.rxde-mobile-ui body:not(.search-focus) #appHeader .search-stage{
    grid-column:2!important;grid-row:1!important;position:relative!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;justify-self:stretch!important;
 }
 html.rxde-mobile-ui body:not(.search-focus) #appHeader #searchWrap,
 html.rxde-mobile-ui body:not(.search-focus) #appHeader .search-main-field{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;overflow:hidden!important;
 }
 html.rxde-mobile-ui body:not(.search-focus) #appHeader #searchInput{min-width:0!important;width:0!important;flex:1 1 0!important;max-width:100%!important;text-overflow:ellipsis!important;}
 html.rxde-mobile-ui body:not(.search-focus) #appHeader .status-cluster{display:contents!important}
 html.rxde-mobile-ui body:not(.search-focus) #appHeader .rxde-fav-nav{
    grid-column:3!important;grid-row:1!important;position:relative!important;
    width:38px!important;min-width:38px!important;max-width:38px!important;
    height:38px!important;justify-self:center!important;margin:0!important;
 }
 html.rxde-mobile-ui body:not(.search-focus) #appHeader #desktopOrderDock{
    grid-column:4!important;grid-row:1!important;position:relative!important;
    box-sizing:border-box!important;width:112px!important;min-width:112px!important;max-width:112px!important;
    justify-self:end!important;margin:0!important;
 }
}
/* Very narrow screens retain the two-row fallback from V3.13.10. */

/* V3.13.13: only resting mobile search height; no changes to focused overlay, grid or navigation. */
@media (max-width:760px){
 html.rxde-mobile-ui body:not(.search-focus) #appHeader .search-stage{height:38px!important;min-height:38px!important;max-height:38px!important;align-self:center!important;overflow:visible!important}
 html.rxde-mobile-ui body:not(.search-focus) #appHeader #searchWrap{height:38px!important;min-height:38px!important;max-height:38px!important;padding:1px!important;overflow:visible!important}
 html.rxde-mobile-ui body:not(.search-focus) #appHeader .search-main-field{height:36px!important;min-height:36px!important;max-height:36px!important;overflow:hidden!important;border-radius:12px!important}
 html.rxde-mobile-ui body:not(.search-focus) #appHeader #searchInput{height:34px!important;min-height:34px!important;max-height:34px!important;line-height:34px!important}
 html.rxde-mobile-ui body:not(.search-focus) #appHeader .clear-search{height:34px!important;min-height:34px!important;max-height:34px!important}
}

/* V3.13.14 admin actions: no layout changes to the catalog */
#orderHeaderTotal{cursor:copy;user-select:none;-webkit-user-select:none}
body .mobile-rate-summary[role="button"],body .rate-stack[role="button"]{cursor:pointer}
#orderHeaderTotal:active{color:#297fbd}

/* V3.13.16 — ADMIN PZN clipboard toolbar only */
.admin-list-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 5px!important;flex-wrap:wrap}
.admin-list-tools .admin-secondary-action{width:auto!important;min-height:32px!important;padding:6px 12px!important;font-size:11px!important}
.admin-list-tools [hidden],.admin-missing-note[hidden]{display:none!important}
.admin-missing-note{display:block;color:#7a6660;font-size:11px;line-height:1.45;margin:5px 0 10px}

/* V3.13.17 Compact admin workflow */
.admin-collapse{border:1px solid #dbe5e9;border-radius:12px;margin:9px 0;background:white;overflow:hidden}
.admin-collapse>summary{padding:13px 14px;cursor:pointer;font-weight:750;color:#29485b;display:list-item;list-style-position:inside;touch-action:manipulation}
.admin-collapse>summary span{font-size:12px;font-weight:500;color:#647b87}
.admin-collapse[open]>summary{border-bottom:1px solid #dbe5e9;background:#f5fafc}
.admin-collapse>.admin-items,.admin-collapse>.admin-address-editor,.admin-collapse>.admin-change-log-wrap,.admin-collapse>.admin-preview-wrap,.admin-collapse>.admin-shipping-editor,.admin-collapse>#adminRateSlot{margin:9px 12px}
.admin-quick-overview{padding:12px 14px;border-radius:10px;background:#eaf5fa;color:#24556c;font-weight:750;font-size:14px}
.admin-shipping-editor{padding:9px;border:1px solid #e2e9ec;border-radius:10px}
.admin-shipping-editor label{font-weight:750;font-size:13px;display:block;margin-bottom:7px}
.admin-shipping-editor small{display:block;margin-top:7px;color:#66808e}
.admin-shipping-editor .admin-inline-edit{justify-content:flex-start}
.admin-shipping-editor input{max-width:110px}
.admin-detected{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.admin-rate-box{width:100%!important}
@media(max-width:760px){.admin-detected{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-result-actions{position:sticky;bottom:0;background:#fff;padding:10px 2px;z-index:4;box-shadow:0 -8px 18px #fff}.admin-collapse>summary{min-height:48px;box-sizing:border-box}}

/* V3.13.19 — admin compact workflow inspired by existing public RXDE admin */
.admin-head{grid-template-columns:1fr 32px!important;gap:6px!important;padding:11px 15px!important}
.admin-head .admin-mark,.admin-head .sheet-kicker,.admin-head p{display:none!important}
.admin-head h2{font-size:18px!important;margin:0!important}
.admin-body{padding:10px!important}
.admin-input-block,.admin-result-block{padding:10px!important}
.admin-source{min-height:100px!important;height:118px!important;resize:vertical!important}
.admin-quick-overview{margin:8px 0!important;font-size:13px!important;font-weight:750!important}
.admin-detected[hidden],.admin-address-advanced[hidden]{display:none!important}
.admin-compact-primary{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:9px 0 12px!important}
.admin-compact-primary button{width:100%!important;min-width:0!important;min-height:43px!important}
.admin-adjustments{margin-top:5px!important}
.admin-adjustments > summary{font-weight:750!important}
.admin-setting-body{display:block!important}
.admin-setting-body .admin-rate-box{margin:6px 0 12px!important}
.admin-compare{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
.admin-compare .admin-preview{height:190px!important;max-height:190px!important;overflow:auto!important;font-size:11px!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
@media(max-width:760px){.admin-source{height:105px!important;min-height:85px!important}.admin-compact-primary button{font-size:12px!important;padding:7px!important}.admin-compare .admin-preview{height:155px!important;max-height:155px!important;font-size:10px!important}}

/* RXDE v3.13.20: visible independent email fallback on request form */
.rxde-mail-fallback{font-size:12px;color:#53636b;margin:8px 0;text-align:center}.rxde-mail-fallback a{color:#246b98;font-weight:700;text-decoration:underline}.confirm-local-status{font-size:12px;line-height:1.45;margin-top:9px;color:#456373}.confirm-local-status:not(:empty){padding:8px;border-radius:8px;background:#eef6fb}
.rxde-question-phone{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px;font-size:11px;font-weight:700;color:#53636b}.rxde-question-phone input{min-width:0;width:64%;height:38px;padding:8px;border:1px solid #cddadd;border-radius:9px;font-size:14px;color:#243e49;background:#fff}

/* V3.13.21: unobtrusive optional email and inline search sharing */
.rxde-optional-email{display:flex;flex-direction:column;gap:5px;margin:8px 0 4px;font-size:12px;font-weight:650;color:#405965}
.rxde-optional-email>span{font-size:10px;font-weight:450;color:#76878d}
.rxde-optional-email input{width:100%;max-width:100%;height:38px;padding:6px 10px;border:1px solid #cedee5;border-radius:9px;background:white;font-size:14px}
.rxde-question-email{margin:5px 15px 9px}
.rxde-share-search{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:27px;padding:4px 10px;border:1px solid #9bc2d9;border-radius:9px;background:rgba(255,255,255,.96);color:#24658a;font:700 11px/1.2 var(--font);cursor:pointer}
.rxde-share-search:hover{background:#edf7fd}
@media(max-width:760px){.rxde-share-search{min-height:28px;font-size:10px;padding:4px 8px}.rxde-optional-email input{height:36px}}

/* V3.13.22: favorites belong to catalog and full product view, not the order sheet. */
#orderSheet [data-favorite-pzn], #orderSheet .rxde-card-heart, #orderLines [data-favorite-pzn], #orderLines .rxde-card-heart{display:none!important}

/* V3.13.23 — universal recognisable sharing symbol; no extra card controls */
.rxde-share-icon{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rxde-share-search{gap:6px!important}
.rxde-share-search .rxde-share-icon{width:18px;height:18px;flex:0 0 18px}
.rxde-share-product{flex:0 0 37px!important;display:inline-grid!important;place-items:center!important;width:37px!important;height:37px!important;min-width:37px!important;padding:0!important;border:1px solid #bbd7e7!important;border-radius:10px!important;background:#eef7fc!important;color:#267cad!important;cursor:pointer!important;box-shadow:none!important;pointer-events:auto!important}
.rxde-share-product:hover,.rxde-share-product:focus-visible{background:#dceef9!important;border-color:#78b3d5!important}
.rxde-share-product:active{background:#cee5f4!important}
#productQuickBody .pq-title-row{align-items:center!important}
#productQuickBody .mnq-title-row{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
#productQuickBody .pq-title-row .rxde-share-product{order:3!important}
@media(max-width:760px){.rxde-share-product{flex-basis:34px!important;width:34px!important;min-width:34px!important;height:34px!important}.rxde-share-product .rxde-share-icon{width:21px;height:21px}}

/* V3.13.24 — simple direct mail contact, no form required */
.footer-direct-mail{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:6px 10px;border:1px solid #b8d3e1;border-radius:9px;background:#f3f9fd;color:#276887;font-size:11px;font-weight:750;text-decoration:none;white-space:normal;text-align:center}
.footer-direct-mail:hover,.footer-direct-mail:focus-visible{background:#e9f4fc;border-color:#80b4cf;text-decoration:underline}
.rxde-question-direct-mail{margin:4px 14px 0;color:#536d7a;font-size:11.5px;text-align:center;line-height:1.45}
.rxde-question-direct-mail a{color:#216d97;font-weight:750;text-decoration:underline;overflow-wrap:anywhere}
@media(max-width:760px){.footer-direct-mail{font-size:11px;min-height:36px}.rxde-question-direct-mail{font-size:11px}}

/* V3.13.26: honest copy feedback, no layout shift */
.rxde-share-feedback{position:fixed;z-index:2147483640;left:50%;bottom:calc(26px + env(safe-area-inset-bottom,0px));transform:translate(-50%,12px);min-width:155px;max-width:calc(100vw - 24px);padding:11px 18px;border:1px solid #b8dccc;border-radius:12px;background:#effbf5;color:#16563b;box-shadow:0 8px 28px rgba(13,49,62,.20);font:750 13px/1.3 system-ui,sans-serif;text-align:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,transform .15s ease,visibility .15s ease}
.rxde-share-feedback.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
.rxde-share-feedback.is-error{background:#fff4f3;border-color:#efcac5;color:#963f38}
.rxde-share-product.rxde-share-confirmed,.rxde-share-search.rxde-share-confirmed{background:#e1f7e8!important;border-color:#55aa79!important;color:#177048!important;box-shadow:0 0 0 3px rgba(58,164,107,.13)!important}
.rxde-share-product.rxde-share-confirmed .rxde-share-icon,.rxde-share-search.rxde-share-confirmed .rxde-share-icon{stroke:#177048!important}
.rxde-share-product.rxde-share-failed,.rxde-share-search.rxde-share-failed{border-color:#ce7770!important;background:#fff2f0!important}
@media(max-width:760px){.rxde-share-feedback{bottom:calc(74px + env(safe-area-inset-bottom,0px));font-size:12.5px;padding:10px 14px}}
@media(prefers-reduced-motion:reduce){.rxde-share-feedback{transition:none}}

/* V3.13.27 – flat order confirmation */
.confirm-card{background:#fff!important;background-image:none!important;box-shadow:0 10px 34px rgba(20,32,39,.12)!important;border:1px solid #d1d4d6!important;border-radius:10px!important;padding:18px!important}
.confirm-card .sheet-kicker{display:none}.confirm-card h2{font-size:20px!important;letter-spacing:0!important}
.confirm-card .mini-receipt{border:0!important;border-top:1px solid #ddd!important;border-bottom:1px solid #ddd!important;border-radius:0!important;background:#fff!important;padding:7px 0!important;margin:12px 0!important}
.confirm-card .phone-field input{border-radius:5px!important}.confirm-card .rxde-mail-fallback{text-align:left!important;margin:10px 0!important}
.confirm-card .primary-action{border-radius:6px!important;justify-content:center!important;background:#30363b!important}
.rxde-accepted-backdrop[hidden],.rxde-accepted-choice [hidden]{display:none!important}
.rxde-accepted-backdrop{position:fixed;inset:0;z-index:12000;background:rgba(0,0,0,.36);display:flex;justify-content:center;align-items:center;padding:18px}
.rxde-accepted-card{box-sizing:border-box;width:min(410px,100%);border:1px solid #c6c9cb;border-radius:8px;padding:22px;background:#fff;box-shadow:0 8px 30px #0002;color:#292d30;font-size:14px}
.rxde-accepted-card h2{font-size:21px;font-weight:700;margin:0 0 8px}.rxde-accepted-card p{margin:8px 0;line-height:1.45}.rxde-accepted-card small{color:#697179}.rxde-accepted-choice{border-top:1px solid #ddd;padding-top:10px;margin-top:15px}.rxde-accepted-choice label{display:inline-flex;gap:5px;align-items:center;margin:8px 16px 8px 0;cursor:pointer}.rxde-accepted-choice input[type=email]{box-sizing:border-box;width:100%;padding:10px;font-size:15px;border:1px solid #b8bfc3;border-radius:5px}.rxde-accepted-card button{min-width:100px;padding:10px 22px;border:0;border-radius:5px;color:#fff;background:#363d42;font-weight:700;cursor:pointer}.rxde-accepted-card button:disabled{opacity:.55}.rxde-accepted-card #acceptedEmailStatus{font-size:12px;color:#505c62}

/* V3.13.28: optional contact choice, compact order */
.rxde-contact-hint{font-size:13px;color:#465158;line-height:1.45;margin:12px 0 4px}
.confirm-card .phone-field{margin:9px 0!important;gap:4px}
.rxde-optional{font-size:11px;font-weight:400;color:#7a848b}
.rxde-contact-error{font-size:12px;color:#a33c38;margin:4px 0}
.confirm-card input.is-invalid{border-color:#b94c47!important}
.rxde-accepted-choice[hidden]{display:none!important}

/* V3.13.29 — compact form, typed placeholders, safe dismissal */
.confirm-card{position:relative!important;max-width:540px!important;}
.confirm-card .rxde-contact-heading{font-size:14px;font-weight:700;margin:10px 0 4px;color:#26353e;}
.confirm-card .phone-field{font-weight:500!important;font-size:13px!important;}
.confirm-card input::placeholder{font-weight:400!important;color:#a2acb2!important;opacity:1;}
.confirm-card .rxde-messenger-wrap{display:grid;gap:7px;margin:10px 0 0;font-size:13px;color:#34434b;}
.confirm-card #rxdeMessenger,.confirm-card #rxdeMessengerContact{box-sizing:border-box;width:100%;border:1px solid #d5dce1;border-radius:7px;padding:11px 12px;background:#fff;color:#26353e;font:400 14px system-ui,sans-serif;}
.confirm-card #rxdeMessengerContact[hidden]{display:none!important;}
.confirm-card .rxde-messenger-extra{display:flex;gap:8px;align-items:center;cursor:pointer;font-weight:400;color:#51616a;}
.confirm-card .rxde-messenger-extra input{width:16px;height:16px;flex:none;}
.confirm-card .rxde-one-contact{color:#7a8790;font-size:12px;margin:10px 0;}
.confirm-card .rxde-mail-fallback{font-size:12px!important;margin:9px 0 0!important;text-align:center!important;opacity:.7;}
.confirm-card .rxde-exit-confirm:not([hidden]){display:flex;flex-direction:column;gap:11px;position:absolute;inset:0;padding:30px 20px;z-index:20;background:#fff;border-radius:10px;justify-content:center;align-items:stretch;text-align:center;box-shadow:0 0 0 1px #e5e5e5;}
.confirm-card .rxde-exit-confirm p{font-size:13px;color:#67727c;}
.confirm-card .rxde-exit-confirm button{border:1px solid #d7dce0;padding:13px;border-radius:8px;background:white;color:#2b3740;cursor:pointer;}
.confirm-card #rxdeExitStay{background:#30363b;color:white;}
@media(max-width:760px){.confirm-card{max-height:calc(100dvh - 28px)!important;overflow:auto!important;}.confirm-card .mini-receipt{max-height:165px!important;flex:none!important;overflow:auto!important;}}

/* RXDE V3.13.30 — complete order first; compact, expandable contacts. */
.confirm-card{max-width:650px!important;width:min(650px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;}
.confirm-card .mini-receipt{max-height:none!important;overflow:visible!important;flex:none!important;margin:10px 0!important;}
.confirm-card .rxde-contact-details{border:1px solid #dde3e7;border-radius:9px;background:#fff;margin:10px 0 6px;overflow:hidden;}
.confirm-card .rxde-contact-details summary{cursor:pointer;padding:13px 14px;font-size:14px;font-weight:650;color:#26343c;display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.confirm-card .rxde-contact-details summary span{font-size:11px;color:#7b858d;font-weight:400;}
.confirm-card .rxde-contact-details[open] summary{border-bottom:1px solid #e6eaed;}
.confirm-card .rxde-contact-body{padding:8px 14px 12px;}
.confirm-card .rxde-messenger-wrap{display:grid;grid-template-columns:1fr;gap:7px;margin:12px 0 0;}
.confirm-card .rxde-messenger-caption{font-size:12px;color:#52606b;}
.confirm-card .rxde-messenger-choice{display:flex;gap:9px;align-items:center;padding:5px 1px;font-size:13px;font-weight:500;cursor:pointer;}
.confirm-card .rxde-messenger-choice input{width:17px;height:17px;margin:0;}
.confirm-card .rxde-messenger-wrap input[type=text]{display:block;width:100%;box-sizing:border-box;border:1px solid #d5dce1;border-radius:6px;padding:10px;font:400 14px system-ui,sans-serif;}
.confirm-card .rxde-messenger-wrap input[hidden]{display:none!important;}
.confirm-card .rxde-one-contact{font-size:11px!important;margin:4px 0 9px!important;color:#7c8790;}

/* RXDE V3.13.32 compact checkbox contacts */
.confirm-card .rxde-contact-details{margin:9px 0 8px!important;}
.confirm-card .rxde-contact-details summary{padding:9px 12px!important;font-weight:600!important;}
.confirm-card .rxde-contact-body.rxde-compact-contacts{padding:7px 12px 9px!important;}
.confirm-card .rxde-contact-row{display:grid;grid-template-columns:minmax(116px,35%) minmax(0,1fr);align-items:center;gap:10px;margin:3px 0;min-height:35px;}
.confirm-card .rxde-check-label{display:flex;align-items:center;gap:8px;font-size:13px;color:#34414a;font-weight:500;cursor:pointer;white-space:nowrap;}
.confirm-card .rxde-check-label input[type=checkbox]{width:16px;height:16px;accent-color:#34414a;flex:none;margin:0;}
.confirm-card .rxde-contact-row input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;min-height:33px;height:35px;padding:6px 9px;border:1px solid #d7dfe4;border-radius:6px;font:400 13px system-ui,sans-serif;color:#26353e;}
.confirm-card .rxde-contact-row input:disabled{background:#f2f4f5!important;color:#a3aeb5!important;border-color:#e5e9ec!important;opacity:1;}
.confirm-card .rxde-contact-row input:disabled::placeholder{color:#adb5ba!important;}
.confirm-card .rxde-contact-row input:focus{outline:2px solid #b1cadb;outline-offset:0;}
.confirm-card .rxde-contact-row input.is-invalid{border-color:#b94c47!important;}
.confirm-card .rxde-contact-error{margin:3px 0!important;font-size:12px!important;}
.confirm-card .rxde-one-contact{display:none!important;}
.confirm-card .rxde-mail-fallback{margin:6px 0 0!important;font-size:12px!important;}
@media(max-width:450px){.confirm-card .rxde-contact-row{grid-template-columns:minmax(100px,38%) minmax(0,1fr);gap:6px}.confirm-card .rxde-contact-body.rxde-compact-contacts{padding:6px 8px!important}.confirm-card .rxde-check-label{font-size:12px}}

/* V3.13.33 — compact contact sheet for narrow phones */
.confirm-card .rxde-unified-toggle{display:flex;align-items:center;gap:7px;font:600 12px system-ui,sans-serif;margin:0 0 6px;color:#34414a;cursor:pointer}
.confirm-card .rxde-unified-toggle input{height:16px;width:16px;accent-color:#34414a;margin:0}
.confirm-card .rxde-contact-row{min-height:31px;margin:2px 0;gap:6px;grid-template-columns:minmax(94px,33%) minmax(0,1fr)}
.confirm-card .rxde-contact-row input:not([type=checkbox]){height:32px;min-height:32px;padding:5px 7px;font-size:12px}
.confirm-card .rxde-check-label{font-size:12px;gap:6px}
.confirm-card .rxde-check-label input[type=checkbox]{height:15px;width:15px}
.confirm-card .rxde-contact-body.rxde-compact-contacts{padding:7px 10px!important}
.confirm-card .rxde-unified-mode .rxde-contact-row:not(.rxde-email-row) input:disabled{opacity:1}
@media(max-width:450px){
 .confirm-card .rxde-contact-row{grid-template-columns:97px minmax(0,1fr);gap:5px}
 .confirm-card .rxde-check-label{font-size:11.5px}
 .confirm-card .rxde-contact-details summary{padding:8px 10px!important}
 .confirm-card .rxde-contact-body.rxde-compact-contacts{padding:6px 8px!important}
}


/* V3.13.34 — modal viewport budget: independent product scroll; contacts and actions reachable. */
#confirmBackdrop .confirm-card {
  box-sizing:border-box!important;
  width:min(650px,calc(100vw - 24px))!important;
  height:min(850px,calc(100dvh - 28px))!important;
  max-height:calc(100dvh - 28px)!important;
  overflow:hidden!important;
  display:flex!important; flex-direction:column!important;
  padding:14px 18px 12px!important;
}
#confirmBackdrop .confirm-card h2 {flex:0 0 auto!important; margin:0 34px 6px 0!important; padding:0 0 9px!important; border-bottom:1px solid #e4e8eb;}
#confirmBackdrop .confirm-card #miniReceipt {
  flex:1 1 160px!important; min-height:96px!important; max-height:none!important;
  overflow-y:auto!important; overflow-x:hidden!important; overscroll-behavior:contain;
  margin:0 0 8px!important; padding:3px 4px 8px 0!important;
  scrollbar-width:thin;
}
#confirmBackdrop .confirm-card #rxdeContactDetails {
  flex:0 1 auto!important; min-height:36px!important; max-height:min(42dvh,335px)!important;
  overflow-y:auto!important; overscroll-behavior:contain; scrollbar-width:thin;
  margin:0 0 6px!important;
}
#confirmBackdrop .confirm-card #rxdeContactDetails summary {position:sticky;top:0;z-index:2;background:#fff;}
#confirmBackdrop .confirm-card #confirmSubmit {flex:0 0 auto!important; min-height:45px!important; margin:0!important;}
#confirmBackdrop .confirm-card .rxde-mail-fallback {flex:0 0 auto!important;margin:5px 0 0!important;line-height:1.25!important;}
#confirmBackdrop .confirm-card .rxde-contact-error {flex:0 0 auto!important; margin:2px 0 5px!important;}
#confirmBackdrop .confirm-card .confirm-local-status {flex:0 0 auto!important;max-height:52px;overflow-y:auto;}
@media(max-width:760px){
  #confirmBackdrop .confirm-card {width:calc(100vw - 12px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:10px 12px 9px!important;}
  #confirmBackdrop .confirm-card h2 {font-size:18px!important;padding-bottom:7px!important;}
  #confirmBackdrop .confirm-card #miniReceipt {min-height:88px!important;margin-bottom:6px!important;}
  #confirmBackdrop .confirm-card #rxdeContactDetails {max-height:min(46dvh,295px)!important;margin-bottom:5px!important;}
  #confirmBackdrop .confirm-card #confirmSubmit {min-height:44px!important;}
}
@media(max-height:600px){
  #confirmBackdrop .confirm-card #rxdeContactDetails {max-height:35dvh!important;}
  #confirmBackdrop .confirm-card #miniReceipt {min-height:75px!important;}
}

/* V3.13.35: checkout occupies the existing editable sheet; no intermediate modal. */
#rxdeInlineCheckout{background:#fff;border:1px solid #dce2e6;border-radius:9px;margin:7px 0 9px;min-width:0}
#rxdeInlineToggle{display:flex;align-items:center;gap:9px;width:100%;border:0;background:#fff;border-radius:9px;padding:12px 13px;color:#26353c;cursor:pointer;text-align:left;font:600 14px system-ui,sans-serif}
.rxde-inline-mark{font-size:19px;color:#8d9aa1;line-height:1}.rxde-inline-mark.is-complete{color:#16815d}
.rxde-inline-title{flex:0 0 auto}.rxde-inline-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:#75828a;font-size:11px;font-weight:400;flex:1}
#rxdeInlineArrow{font-size:18px;color:#697780;margin-left:auto}
.rxde-inline-fields{padding:0 12px 11px}.rxde-inline-fields[hidden],#rxdeExtraFields[hidden]{display:none!important}
.rxde-inline-pair{display:grid;grid-template-columns:minmax(90px,32%) minmax(0,1fr);gap:7px}
.rxde-inline-pair select,.rxde-inline-pair input{min-width:0;box-sizing:border-box;width:100%;height:39px;padding:6px 9px;border:1px solid #d4dce1;border-radius:7px;background:white;color:#26343c;font:400 13px system-ui,sans-serif}
.rxde-inline-pair input::placeholder{color:#a8b1b7!important;font-weight:400!important}
.rxde-extra-toggle{border:0;background:transparent;padding:9px 0 4px;font:400 12px system-ui,sans-serif;color:#637985;cursor:pointer}
.rxde-inline-error{color:#ad3737;font:400 12px system-ui,sans-serif;margin:8px 0 0}.rxde-inline-error.neutral{color:#667984}
.rxde-inline-submit{background:#30363b!important;color:#fff!important;border-color:#30363b!important;box-shadow:none!important;cursor:pointer!important}
.rxde-inline-submit:disabled{opacity:.7;cursor:wait!important}
.rxde-inline-direct{display:block;text-align:center;font:400 12px system-ui,sans-serif;color:#638096;text-decoration:underline;margin:7px 0 0}
.rxde-attention{animation:rxde-attention-once .65s ease-out}@keyframes rxde-attention-once{0%{border-color:#dce2e6}35%{border-color:#b86e59;box-shadow:0 0 0 3px rgba(184,110,89,.10)}100%{border-color:#dce2e6}}
@media(max-width:760px){#rxdeInlineToggle{padding:10px 11px;font-size:13px}.rxde-inline-fields{padding:0 9px 9px}.rxde-inline-pair select,.rxde-inline-pair input{height:38px;font-size:12px}.rxde-inline-title{font-size:13px}.rxde-inline-summary{max-width:100px}}

/* V3.13.36 — legible multi-pack total; card dimensions unchanged. */
html body #productList > article.r2-card > .r2-footer > .r2-picked.selected{
  font-size:10.8px!important;
  line-height:12px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  font-variant-numeric:tabular-nums!important;
}
html body #productList > article.r2-card > .r2-footer > .r2-picked.selected .r2-picked-sum{
  display:block!important;
  line-height:12px!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  white-space:nowrap!important;
}


/* =======================================================================
   V3.13.37 — stricter contact layout, neutral submit button, stronger sort
   ======================================================================= */
#confirmBackdrop .confirm-card{
  max-width:700px!important;
  width:min(700px,calc(100vw - 24px))!important;
}
#confirmBackdrop .confirm-card .mini-receipt{
  max-height:min(48dvh,540px)!important;
  overflow:auto!important;
}
#confirmBackdrop .confirm-card #rxdeContactDetails{
  max-height:none!important;
}
#confirmBackdrop .confirm-card .rxde-contact-details summary{
  cursor:pointer!important;
}
#confirmBackdrop .confirm-card .rxde-contact-body.rxde-compact-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px 12px!important;
  align-items:start!important;
}
#confirmBackdrop .confirm-card .rxde-contact-tip{
  grid-column:1 / -1!important;
  margin:0!important;
  font-size:12px!important;
  color:#68757f!important;
}
#confirmBackdrop .confirm-card .rxde-contact-row{
  margin:0!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:108px minmax(0,1fr)!important;
  gap:7px!important;
}
#confirmBackdrop .confirm-card .rxde-contact-row-main{
  grid-column:auto!important;
}
#confirmBackdrop .confirm-card .rxde-check-label{
  font-size:12px!important;
  font-weight:700!important;
}
#confirmBackdrop .confirm-card .rxde-contact-row input:not([type=checkbox]){
  height:34px!important;
  min-height:34px!important;
  border-radius:7px!important;
}
#confirmBackdrop .confirm-card #confirmSubmit{
  background:#2f363c!important;
  color:#fff!important;
  border:1px solid #2f363c!important;
  box-shadow:none!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
#confirmBackdrop .confirm-card #confirmSubmit.is-disabled,
#confirmBackdrop .confirm-card #confirmSubmit[aria-disabled="true"]{
  background:#d9dde0!important;
  color:#7f8a92!important;
  border-color:#cbd3d8!important;
}
#confirmBackdrop .confirm-card #confirmSubmit.is-ready,
#confirmBackdrop .confirm-card #confirmSubmit[aria-disabled="false"]{
  background:#2f363c!important;
  color:#fff!important;
  border-color:#2f363c!important;
}
#confirmBackdrop .confirm-card #confirmSubmit.is-ready:hover,
#confirmBackdrop .confirm-card #confirmSubmit[aria-disabled="false"]:hover{
  background:#262d32!important;
  border-color:#262d32!important;
}
#confirmBackdrop .confirm-card .rxde-mail-fallback{
  text-align:center!important;
  margin-top:8px!important;
}
#submitOrder.primary-action{
  background:#3a4045!important;
  border-color:#3a4045!important;
}
#submitOrder.primary-action:hover{
  background:#2f363b!important;
  border-color:#2f363b!important;
}
/* desktop: clearer strict layout */
@media (min-width: 761px){
  #confirmBackdrop .confirm-card .rxde-contact-body.rxde-compact-grid .rxde-email-row{
    order:2!important;
  }
}
/* mobile: stack, no sideways chaos */
@media (max-width:760px){
  #confirmBackdrop .confirm-card{width:calc(100vw - 12px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;}
  #confirmBackdrop .confirm-card .mini-receipt{max-height:min(43dvh,340px)!important;}
  #confirmBackdrop .confirm-card .rxde-contact-body.rxde-compact-grid{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  #confirmBackdrop .confirm-card .rxde-contact-row{
    grid-template-columns:96px minmax(0,1fr)!important;
  }
  #confirmBackdrop .confirm-card .rxde-contact-row input:not([type=checkbox]){
    height:32px!important;
    min-height:32px!important;
    font-size:12px!important;
  }
}
/* clickable category capsule / hero */
#catalogHero,
#catalogHero .catalog-title,
#catalogHero .catalog-meta,
#catalogHero .catalog-count,
#catalogHero .catalog-count-chip,
#catalogHero .hero-category-name{
  cursor:pointer!important;
}
#catalogHero:active,
#catalogHero .catalog-title:active,
#catalogHero .catalog-meta:active{
  transform:translateY(1px)!important;
  filter:brightness(.98)!important;
}
/* stronger active sorting: filled, readable */
html body .catalog-sort .sort-triangle.active::before,
html body .catalog-sort .sort-triangle.active.primary-sort::before{
  background:#2f7eac!important;
}
html body .catalog-sort .sort-triangle.active::after,
html body .catalog-sort .sort-triangle.active.primary-sort::after{
  background:#c6e1f1!important;
}
html body .catalog-sort .sort-triangle.active .triangle-label,
html body .catalog-sort .sort-triangle.active.primary-sort .triangle-label{
  color:#073c5c!important;
}

/* V3.13.38 — preserve catalogue cards; reclaim order viewport and tidy contact panel */
#orderSheet #orderFlowNav{display:none!important}
#orderSheet .sheet-header{padding-top:9px!important;padding-bottom:7px!important;min-height:0!important}
#orderSheet .sheet-header #orderSubtitle{display:none!important}
#orderSheet .sheet-toolbar{padding-top:5px!important;padding-bottom:5px!important;min-height:0!important}
#orderSheet .sheet-footer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px 14px!important;align-items:center!important;padding:8px 14px!important}
#orderSheet #rxdeInlineCheckout{grid-column:1/-1!important;min-width:0!important;width:100%!important;padding:8px 11px!important;margin:0!important;border:1px solid #d7dfe5!important;box-shadow:none!important}
#orderSheet .rxde-contact-head{font:700 13px/1.3 system-ui,sans-serif!important;color:#263941!important;margin:0 0 7px!important}
#orderSheet .rxde-contact-head span{font-weight:400!important;font-size:11px!important;color:#75848c!important;margin-left:6px!important}
#orderSheet .rxde-inline-fields{padding:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px 12px!important}
#orderSheet .rxde-inline-pair{display:grid!important;grid-template-columns:minmax(90px,35%) minmax(0,1fr)!important;gap:6px!important}
#orderSheet .rxde-inline-pair input,#orderSheet .rxde-inline-pair select{height:35px!important;font-size:12px!important;padding:5px 8px!important}
#orderSheet .rxde-inline-separator{display:none!important}
#orderSheet #rxdeInlineError{grid-column:1/-1!important;margin:0!important}
#orderSheet #submitOrder.rxde-inline-submit{grid-column:1!important;grid-row:auto!important;min-width:225px!important;width:max-content!important;max-width:100%!important;background:#343a40!important;color:#fff!important;border:1px solid #343a40!important;cursor:pointer!important}
#orderSheet #submitOrder.rxde-inline-submit:disabled{background:#d8dcdf!important;color:#7a858e!important;border-color:#cbd1d6!important;box-shadow:none!important;opacity:1!important;cursor:not-allowed!important}
#orderSheet .rxde-inline-direct{grid-column:2!important;grid-row:auto!important;justify-self:end!important;margin:0!important}
html body #productList>article.r2-card>.r2-footer>.r2-picked.selected .r2-picked-sum{font-size:12px!important;line-height:14px!important;font-weight:900!important;letter-spacing:.01em!important}
html body #productList>article.r2-card>.r2-footer>.r2-picked.selected{min-height:17px!important;line-height:14px!important}
@media(max-width:760px){
 #orderSheet .sheet-header{padding-top:6px!important;padding-bottom:5px!important}
 #orderSheet .sheet-footer{grid-template-columns:1fr!important;gap:6px!important;padding:6px 8px calc(7px + env(safe-area-inset-bottom,0px))!important}
 #orderSheet #rxdeInlineCheckout{grid-column:1!important;padding:7px 8px!important}
 #orderSheet .rxde-inline-fields{grid-template-columns:1fr!important;gap:5px!important}
 #orderSheet .rxde-inline-pair{grid-template-columns:minmax(95px,36%) minmax(0,1fr)!important}
 #orderSheet .rxde-inline-pair input,#orderSheet .rxde-inline-pair select{height:32px!important}
 #orderSheet #submitOrder.rxde-inline-submit{grid-column:1!important;width:100%!important;min-width:0!important;min-height:42px!important}
 #orderSheet .rxde-inline-direct{grid-column:1!important;justify-self:center!important}
 #orderSheet .rxde-contact-head{margin-bottom:5px!important}
}
\n.site-footer .footer-build{display:none!important}\n#catalogHero .catalog-hero-pill h1{cursor:pointer!important}#catalogHero .catalog-hero-pill h1:active{filter:brightness(.85)!important;transform:translateY(1px)!important}\n
/* V3.13.39 — one order header, no duplicate counters, accounting totals below */
.site-footer .footer-build{display:inline!important;visibility:visible!important;opacity:1!important}
#orderSheet .rxde-order-compact-header{
 display:flex!important;align-items:center!important;gap:12px!important;
 min-height:63px!important;padding:9px 18px!important;
 flex-wrap:nowrap!important;
}
#orderSheet .rxde-order-compact-header .sheet-header-left{flex:0 1 auto!important;min-width:0!important;display:flex!important;align-items:center!important;gap:10px!important}
#orderSheet .rxde-order-compact-header .order-list-mark,
#orderSheet .rxde-order-compact-header #orderSubtitle,
#orderSheet .rxde-order-compact-header #orderHeaderStatus,
#orderSheet .rxde-order-compact-header #soundToggle{display:none!important}
#orderSheet .rxde-order-compact-header #orderTitle{white-space:nowrap!important;font-size:20px!important;margin:0!important}
#orderSheet .rxde-order-header-rate{margin-left:auto!important;white-space:nowrap!important;font-size:12px!important;color:#687984!important}
#orderSheet .rxde-order-header-rate b{font-weight:800!important;color:#223b49!important}
#orderSheet .rxde-order-header-actions{display:flex!important;align-items:center!important;gap:7px!important;white-space:nowrap!important;flex:none!important}
#orderSheet .rxde-order-header-actions button{font:700 12px system-ui,sans-serif!important;min-height:31px!important;padding:5px 10px!important;border-radius:7px!important;white-space:nowrap!important}
#orderSheet .rxde-order-header-actions #addOrderProduct{background:#f5f9f8!important;border:1px solid #c9d9d3!important;color:#235649!important}
#orderSheet .rxde-order-header-actions #clearOrder{background:#fff!important;color:#965653!important;border:1px solid #e9dfdc!important}
#orderSheet .rxde-order-compact-header .sheet-close{position:static!important;margin:0!important;flex:none!important}
#orderSheet #orderTotalRub{font-size:27px!important;font-weight:900!important;letter-spacing:-.03em!important;font-variant-numeric:tabular-nums!important}
#orderSheet #orderPositions{font-size:14px!important;font-weight:800!important;font-variant-numeric:tabular-nums!important}
#orderSheet #orderTotalEur{font-size:12px!important;font-weight:650!important;line-height:1.35!important}
#orderSheet .order-summary{align-items:center!important}
#orderSheet .rxde-inline-submit{display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important}
#orderSheet .rxde-inline-submit .rxde-parcel-mark{
 width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;flex:none;color:#e5bc54;
}
#orderSheet .rxde-inline-submit .rxde-parcel-mark svg{display:block;width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#orderSheet .rxde-inline-submit:disabled .rxde-parcel-mark{color:#aab0b5!important}
@media(max-width:760px){
 #orderSheet .rxde-order-compact-header{gap:5px!important;padding:6px 8px!important;min-height:49px!important}
 #orderSheet .rxde-order-compact-header .sheet-header-left{gap:4px!important}
 #orderSheet .rxde-order-compact-header #orderTitle{font-size:14px!important}
 #orderSheet .rxde-order-header-rate{font-size:10px!important}
 #orderSheet .rxde-order-header-actions{gap:4px!important}
 #orderSheet .rxde-order-header-actions button{font-size:10px!important;min-height:29px!important;padding:3px 5px!important}
 #orderSheet .rxde-order-compact-header .sheet-close{width:25px!important;min-width:25px!important}
 #orderSheet #orderTotalRub{font-size:22px!important}
}

/* V3.13.40: floating controls & always-visible mandatory shipping */
#orderSheet .rxde-order-compact-header{min-height:56px!important}
#orderSheet .rxde-order-list-area{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;position:relative!important;overflow:hidden!important}
#orderSheet .rxde-order-floating-tools{position:absolute!important;top:8px!important;left:50%!important;transform:translateX(-50%)!important;z-index:12!important;display:flex!important;justify-content:center!important;padding:4px 8px!important;border:1px solid rgba(183,199,207,.8)!important;border-radius:999px!important;background:rgba(250,252,252,.92)!important;box-shadow:0 3px 12px rgba(43,64,77,.11)!important;backdrop-filter:blur(9px)!important;-webkit-backdrop-filter:blur(9px)!important;white-space:nowrap!important}
#orderSheet .rxde-order-float-actions{display:flex!important;align-items:center!important;gap:8px!important}
#orderSheet .rxde-order-float-actions button{min-height:30px!important;padding:4px 10px!important;font-size:12px!important;font-weight:700!important;border-radius:999px!important}
#orderSheet .rxde-order-float-actions #addOrderProduct{background:transparent!important;color:#235649!important;border:0!important}
#orderSheet .rxde-order-float-actions #clearOrder{background:transparent!important;color:#905653!important;border:0!important}
#orderSheet .rxde-order-float-actions button:hover{background:rgba(218,233,239,.8)!important}
#orderSheet .rxde-dhl-fixed{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:9px 17px!important;margin:57px 13px 6px!important;background:#f4f7f8!important;border:1px solid #e0e7eb!important;border-radius:10px!important;color:#253b46!important}
#orderSheet .rxde-dhl-fixed[hidden]{display:none!important}
#orderSheet .rxde-dhl-name,#orderSheet .rxde-dhl-price{display:flex!important;flex-direction:column!important;gap:2px!important}
#orderSheet .rxde-dhl-name b{font-size:13px!important}
#orderSheet .rxde-dhl-name small{font-size:11px!important;color:#75838a!important}
#orderSheet .rxde-dhl-price{text-align:right!important;white-space:nowrap!important}
#orderSheet .rxde-dhl-price b{font-size:15px!important}
#orderSheet .rxde-dhl-price small{font-size:11px!important;color:#637681!important}
#orderSheet .rxde-order-list-area>.order-lines{min-height:0!important;flex:1 1 auto!important;overflow-y:auto!important;padding-top:0!important}
@media(max-width:760px){
 #orderSheet .rxde-order-floating-tools{top:5px!important;padding:2px 5px!important}
 #orderSheet .rxde-order-float-actions button{min-height:27px!important;font-size:11px!important;padding:3px 8px!important}
 #orderSheet .rxde-dhl-fixed{margin:45px 7px 4px!important;padding:6px 9px!important}
 #orderSheet .rxde-dhl-name b{font-size:12px!important}
 #orderSheet .rxde-dhl-name small{font-size:10px!important}
}

/* V3.13.41 -- FLOAT above the cards; no layout height reserved */
#orderSheet .rxde-order-list-area{position:relative!important;display:block!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
#orderSheet .rxde-order-list-area>.order-lines{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;box-sizing:border-box!important;display:block!important;overflow-y:auto!important;min-height:0!important;max-height:none!important;padding:6px 12px!important;margin:0!important}
#orderSheet .rxde-order-floating-tools{position:absolute!important;top:9px!important;left:50%!important;transform:translateX(-50%)!important;z-index:20!important;margin:0!important;padding:2px 7px!important;background:rgba(252,253,253,.81)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;box-shadow:0 2px 10px rgba(36,59,70,.10)!important}
#orderSheet .rxde-dhl-fixed{position:absolute!important;bottom:7px!important;left:50%!important;transform:translateX(-50%)!important;top:auto!important;z-index:19!important;width:min(620px,calc(100% - 28px))!important;max-width:calc(100% - 20px)!important;box-sizing:border-box!important;min-height:0!important;flex:0 0 auto!important;margin:0!important;padding:5px 13px!important;display:flex!important;align-items:center!important;gap:14px!important;border:1px solid rgba(193,207,213,.63)!important;border-radius:999px!important;background:rgba(248,251,252,.85)!important;backdrop-filter:blur(9px)!important;-webkit-backdrop-filter:blur(9px)!important;box-shadow:0 2px 11px rgba(39,62,73,.10)!important}
#orderSheet .rxde-dhl-fixed .rxde-dhl-name{display:flex!important;flex-direction:row!important;gap:7px!important;align-items:center!important}
#orderSheet .rxde-dhl-fixed .rxde-dhl-name small{font-size:10px!important}
#orderSheet .rxde-dhl-fixed .rxde-dhl-price{display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:7px!important;margin-left:auto!important}
#orderSheet .rxde-dhl-fixed .rxde-dhl-price b{font-size:13px!important}
#orderSheet .rxde-dhl-fixed .rxde-dhl-price small{font-size:10px!important}
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="true"]{background:#d8dcdf!important;color:#7a858e!important;border-color:#cbd1d6!important;cursor:pointer!important;opacity:1!important}
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="false"]{background:#343a40!important;color:#fff!important;border-color:#343a40!important;cursor:pointer!important}
#orderSheet .rxde-contact-pair-join{font-size:12px!important;font-weight:650!important;color:#72818a!important;text-align:center!important;white-space:nowrap!important}
#orderSheet .rxde-inline-fields{grid-template-columns:minmax(0,1fr) 35px minmax(0,1fr)!important;column-gap:6px!important;align-items:center!important}
#orderSheet .rxde-inline-separator{display:block!important;font-size:12px!important;font-weight:600!important;color:#7b8992!important;margin:0!important;text-align:center!important;white-space:nowrap!important}
#orderSheet #rxdeInlineCheckout .rxde-contact-head span{display:none!important}
#orderSheet #rxdeInlineCheckout .rxde-contact-head{margin-bottom:5px!important}
#orderSheet #rxdeInlineCheckout .rxde-contact-help{font-size:11px!important;color:#73818a!important;margin:5px 0 0!important}
#orderSheet #rxdeInlineCheckout .rxde-inline-error{margin-top:5px!important}
@media(max-width:760px){
 #orderSheet .rxde-order-list-area>.order-lines{padding:5px 6px!important}
 #orderSheet .rxde-dhl-fixed{bottom:5px!important;width:calc(100% - 12px)!important;padding:5px 8px!important;gap:6px!important}
 #orderSheet .rxde-dhl-fixed .rxde-dhl-name small{display:none!important}
 #orderSheet .rxde-dhl-fixed .rxde-dhl-price small{font-size:9px!important}
 #orderSheet .rxde-inline-fields{grid-template-columns:1fr!important;gap:3px!important}
 #orderSheet .rxde-inline-separator{font-size:10px!important;line-height:12px!important}
}

/* V3.13.42 — true minimal floating strips and compact accounting footer */
#orderSheet .rxde-order-floating-tools{
 width:max-content!important;max-width:calc(100% - 24px)!important;
 top:7px!important;padding:2px 4px!important;
 border:1px solid rgba(182,200,209,.44)!important;
 background:rgba(248,251,253,.56)!important;
 -webkit-backdrop-filter:blur(5px)!important;backdrop-filter:blur(5px)!important;
 box-shadow:0 2px 8px rgba(23,49,66,.07)!important;
 pointer-events:auto!important;
}
#orderSheet .rxde-order-floating-tools .rxde-order-float-actions{display:flex!important;gap:0!important;align-items:center!important}
#orderSheet .rxde-order-floating-tools button{padding:4px 7px!important;min-width:0!important;min-height:27px!important;height:27px!important;font-size:11px!important;line-height:1.2!important;background:transparent!important;border:0!important;box-shadow:none!important}
#orderSheet .rxde-order-floating-tools #clearOrder{border-left:1px solid rgba(116,139,150,.36)!important;border-radius:0!important}
#orderSheet .rxde-dhl-fixed{
 width:max-content!important;max-width:calc(100% - 24px)!important;
 bottom:5px!important;padding:3px 10px!important;min-height:25px!important;
 gap:10px!important;background:rgba(248,251,253,.57)!important;
 border:1px solid rgba(182,200,209,.46)!important;
 -webkit-backdrop-filter:blur(5px)!important;backdrop-filter:blur(5px)!important;
 box-shadow:0 2px 8px rgba(23,49,66,.07)!important;
 white-space:nowrap!important;
}
#orderSheet .rxde-dhl-fixed .rxde-dhl-name b{font-size:11px!important}
#orderSheet .rxde-dhl-fixed .rxde-dhl-name small{font-size:9px!important}
#orderSheet .rxde-dhl-fixed .rxde-dhl-price b{font-size:12px!important}
#orderSheet .rxde-dhl-fixed .rxde-dhl-price small{font-size:9px!important}
#orderSheet .sheet-footer .order-summary{
 display:grid!important;grid-template-columns:auto auto auto!important;
 align-items:baseline!important;justify-content:space-between!important;
 width:100%!important;column-gap:12px!important;row-gap:0!important;
 font-variant-numeric:tabular-nums!important;
}
#orderSheet .sheet-footer #orderPositions{grid-column:1!important;grid-row:1!important;font-size:13px!important;font-weight:800!important;white-space:nowrap!important}
#orderSheet .sheet-footer #orderTotalEur{grid-column:2!important;grid-row:1!important;display:block!important;font-size:12px!important;white-space:nowrap!important;color:#566d7b!important}
#orderSheet .sheet-footer #orderTotalRub{grid-column:3!important;grid-row:1!important;justify-self:end!important;font-size:25px!important;font-weight:900!important;white-space:nowrap!important}
#orderSheet .sheet-footer .order-footer-note{display:none!important}

/* Two extra pixels for the selected quantity/total badge without moving card contents. */
html body #productList>article.r2-card>.r2-footer>.r2-picked.selected{min-height:19px!important;height:19px!important;line-height:16px!important}
html body #productList>article.r2-card>.r2-footer>.r2-picked.selected .r2-picked-sum{font-size:12px!important;line-height:16px!important}
@media(max-width:760px){
 #orderSheet .rxde-order-floating-tools{top:5px!important;padding:1px 3px!important}
 #orderSheet .rxde-order-floating-tools button{font-size:10px!important;padding:4px 6px!important;height:26px!important}
 #orderSheet .rxde-dhl-fixed{bottom:4px!important;max-width:calc(100% - 12px)!important;padding:3px 6px!important;gap:6px!important}
 #orderSheet .rxde-dhl-fixed .rxde-dhl-name small,#orderSheet .rxde-dhl-fixed .rxde-dhl-price small{display:none!important}
 #orderSheet .sheet-footer .order-summary{grid-template-columns:auto 1fr!important;row-gap:2px!important}
 #orderSheet .sheet-footer #orderPositions{grid-column:1!important;grid-row:1!important;font-size:11px!important}
 #orderSheet .sheet-footer #orderTotalRub{grid-column:2!important;grid-row:1!important;font-size:21px!important}
 #orderSheet .sheet-footer #orderTotalEur{grid-column:1 / -1!important;grid-row:2!important;font-size:10px!important;white-space:normal!important}
}

/* V3.13.43: one clear blocking confirmation stage */
.rxde-sending-overlay[hidden]{display:none!important}
.rxde-sending-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(17,29,37,.66);display:grid;place-items:center;padding:16px;overscroll-behavior:contain;touch-action:none}
.rxde-sending-card{max-width:410px;width:100%;background:#fff;border-radius:17px;padding:35px 22px 27px;box-shadow:0 18px 75px rgba(0,0,0,.26);text-align:center;color:#273842;touch-action:pan-y}
.rxde-sending-card h2{font-size:20px;margin:18px 0 8px}
.rxde-sending-card p{font-size:13px;line-height:1.5;color:#62737e;margin:0 auto;max-width:340px}
.rxde-sending-card button{margin-top:20px;border:1px solid #c9d4dc;border-radius:8px;padding:11px 18px;background:#f3f6f8;font-weight:700;color:#273842;cursor:pointer}
.rxde-sending-graphic{display:flex;align-items:center;justify-content:center;height:90px;gap:6px}
.rxde-tower{height:64px;width:34px;border:3px solid #688193;clip-path:polygon(46% 0,54% 0,100% 100%,0 100%);background:repeating-linear-gradient(0deg,transparent 0 14px,#c5d3dc 15px 17px);position:relative}
.rxde-letter{flex:0 0 70px;height:60px;display:grid;place-items:center;font-size:39px;color:#b38c39;background:#fff8e7;border:1px solid #ebd9a7;border-radius:14px;animation:rxdeLetterPulse 1.5s ease-in-out infinite}
.rxde-signal{height:1px;flex:0 1 53px;min-width:20px;border-top:3px dashed #8297a3;animation:rxdeSignals .9s linear infinite}
@keyframes rxdeSignals{from{opacity:.25}to{opacity:1}}
@keyframes rxdeLetterPulse{50%{transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){.rxde-letter,.rxde-signal{animation:none!important}}
#orderSheet .sheet-footer .rxde-inline-submit{grid-column:2!important;justify-self:end!important}
#orderSheet .sheet-footer .rxde-inline-direct{grid-column:1!important;justify-self:start!important}
@media(max-width:760px){#orderSheet .sheet-footer .rxde-inline-submit{grid-column:1!important;justify-self:stretch!important}#orderSheet .sheet-footer .rxde-inline-direct{grid-column:1!important;justify-self:center!important}}

/* V3.13.44: permanent golden parcel on charcoal; eligibility is behavioral only. */
#orderSheet #submitOrder.rxde-inline-submit,
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="true"],
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="false"],
#orderSheet #submitOrder.rxde-inline-submit:hover,
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="true"]:hover {
  background:#30363b!important;
  color:#ffffff!important;
  border:1px solid #30363b!important;
  opacity:1!important;
  box-shadow:none!important;
  cursor:pointer!important;
  filter:none!important;
}
#orderSheet #submitOrder.rxde-inline-submit .rxde-parcel-mark,
#orderSheet #submitOrder.rxde-inline-submit:disabled .rxde-parcel-mark,
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="true"] .rxde-parcel-mark,
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="false"] .rxde-parcel-mark {
  color:#e4b848!important;
  opacity:1!important;
  filter:none!important;
}
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="true"]:focus-visible {
  outline:2px solid #e4b848!important;
  outline-offset:2px!important;
}

/* RXDE V3.13.45 — special state-driven checkout screens and header actions */
#orderSheet .rxde-order-compact-header .rxde-header-tools{display:flex!important;gap:7px!important;align-items:center!important;flex-shrink:0!important;margin-left:16px!important}
#orderSheet .rxde-header-tools button{min-height:30px!important;padding:5px 10px!important;border-radius:9px!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important;border:1px solid #d7e1e5!important;background:#f9fbfc!important;color:#245f56!important}
#orderSheet .rxde-header-tools #clearOrder{color:#a24c49!important;background:#fff!important;border-color:#eee0e0!important}
#orderSheet .rxde-header-tools button:hover{background:#edf4f6!important}
@media(max-width:760px){#orderSheet .rxde-order-compact-header .rxde-header-tools{gap:3px!important;margin-left:2px!important}#orderSheet .rxde-header-tools button{font-size:10px!important;padding:4px 5px!important;min-height:27px!important}}
.rxde-sending-overlay .rxde-sending-card{background:linear-gradient(150deg,#fff8e5 0%,#f8edcd 100%)!important;border:1px solid #d7b86d!important;box-shadow:0 20px 74px #231a0a44,0 0 0 4px #fff5d731!important;transition:background .2s,border-color .2s!important}
.rxde-sending-overlay .rxde-sending-card h2{color:#3f3526!important}
.rxde-sending-overlay .rxde-sending-card p{color:#766346!important}
.rxde-sending-overlay .rxde-radio-tower{width:54px!important;height:89px!important;flex:none!important;display:block!important;opacity:1!important;filter:drop-shadow(0 1px 1px #5e71821a)!important}
.rxde-sending-overlay .rxde-sending-graphic{height:99px!important;gap:9px!important}
.rxde-sending-overlay .rxde-letter{background:#fff9e8!important;border:1px solid #dfbd69!important;color:#b18b36!important}
.rxde-sending-overlay[data-status="error"] .rxde-sending-card{background:linear-gradient(150deg,#fff2ef,#f6d9d5)!important;border-color:#d88c83!important}
.rxde-sending-overlay[data-status="error"] .rxde-sending-card h2{color:#852d2d!important}
.rxde-sending-overlay[data-status="error"] .rxde-sending-card p{color:#874a46!important}
.rxde-sending-overlay[data-status="error"] .rxde-letter{background:#fff1ed!important;border-color:#d6988b!important;color:#a8574a!important;animation:none!important}
.rxde-accepted-backdrop .rxde-accepted-card{border:1px solid #8db9a0!important;background:linear-gradient(150deg,#f3fff6,#dcf1e4)!important;box-shadow:0 20px 65px #132c1a38!important;border-radius:17px!important}
.rxde-accepted-card h2{color:#17613c!important}
.rxde-accepted-card button{background:#246b4a!important}

/* V3.13.46 — gray before a valid contact, blue when ready; gold parcel always visible. */
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="true"],
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="true"]:hover {
  background:#89929a!important; border-color:#89929a!important; color:#fff!important;
  opacity:1!important; cursor:pointer!important;
}
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="false"],
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="false"]:hover {
  background:#246ca9!important; border-color:#246ca9!important; color:#fff!important;
  opacity:1!important; cursor:pointer!important;
}
#orderSheet #submitOrder.rxde-inline-submit .rxde-parcel-mark,
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="true"] .rxde-parcel-mark,
#orderSheet #submitOrder.rxde-inline-submit[aria-disabled="false"] .rxde-parcel-mark {
  color:#f0c55c!important; opacity:1!important;
}

/* RXDE V3.13.47: single contact confirmation step */
.rxde-confirm-overlay[hidden],.rxde-confirm-input[hidden],.rxde-confirm-error[hidden],.rxde-confirm-other[hidden]{display:none!important}
.rxde-confirm-overlay{position:fixed;inset:0;z-index:999999;background:rgba(18,32,48,.58);display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto}
.rxde-confirm-locked{overflow:hidden!important}
.rxde-confirm-card{box-sizing:border-box;width:min(100%,460px);max-height:calc(100dvh - 32px);overflow-y:auto;background:white;color:#17283a;border-radius:20px;padding:26px 22px;box-shadow:0 16px 55px #0003;font-family:inherit}
.rxde-confirm-card h2{margin:0 0 10px;text-align:center;font-size:23px;line-height:1.2}
.rxde-confirm-card>p:first-of-type{text-align:center;font-size:15px;line-height:1.5;color:#536273;margin:0 0 22px}
.rxde-confirm-label{font-weight:800;letter-spacing:.04em;font-size:14px;margin-top:16px;margin-bottom:6px}
.rxde-confirm-value{background:#f0f3f6;border:1px solid #dfe5ec;padding:13px 14px;border-radius:10px;min-height:26px;font-size:21px;font-weight:750;overflow-wrap:anywhere}
.rxde-confirm-edit{display:flex;align-items:center;gap:8px;margin:9px 0 13px;font-size:14px;cursor:pointer}
.rxde-confirm-edit input{width:18px;height:18px;accent-color:#1674cc}
.rxde-confirm-input{display:block;width:100%;box-sizing:border-box;border:1px solid #aebdce;border-radius:9px;padding:12px;font-size:18px;margin:5px 0}
.rxde-confirm-error{color:#c52234;font-size:13px;margin:10px 0}
.rxde-confirm-other{font-size:13px;color:#536273;overflow-wrap:anywhere;margin:12px 0}
.rxde-confirm-actions{display:flex;gap:10px;margin-top:22px}
.rxde-confirm-actions button{border:1px solid #ccd6e0;border-radius:11px;padding:13px;cursor:pointer;font-size:17px;font-weight:700;flex:1;background:#f4f6f8;color:#2e3d50}
#rxdeConfirmOk{background:#0879d2;color:white;border-color:#0879d2;flex:2}

/* RXDE V3.13.48 — text messaging first, phone channel hints, receipt email */
#orderSheet #rxdeInlineCheckout .rxde-inline-fields{display:flex!important;flex-wrap:wrap!important;gap:6px 9px!important;align-items:center!important}
#orderSheet #rxdeInlineCheckout .rxde-inline-pair{min-width:0!important}
#orderSheet #rxdeInlineCheckout .rxde-email-optional{display:flex;align-items:center;gap:7px;flex:1 1 230px;min-width:210px;font:500 11px/1.2 system-ui,sans-serif;color:#60727e}
#orderSheet #rxdeInlineCheckout .rxde-email-optional label{white-space:nowrap}
#orderSheet #rxdeInlineCheckout .rxde-email-optional input{box-sizing:border-box;height:34px;flex:1;min-width:95px;padding:6px 8px;border:1px solid #d2dce5;border-radius:7px;font-size:12px}
#orderSheet #rxdeInlineCheckout .rxde-phone-apps{display:flex;flex:1 1 100%;align-items:center;gap:11px;flex-wrap:wrap;font:400 11px system-ui,sans-serif;color:#566c79;margin:0}
#orderSheet #rxdeInlineCheckout .rxde-phone-apps label{display:inline-flex;align-items:center;gap:4px;cursor:pointer;white-space:nowrap}
#orderSheet #rxdeInlineCheckout .rxde-phone-apps input{width:14px;height:14px;margin:0;accent-color:#246ca9}
#orderSheet #rxdeInlineCheckout .rxde-contact-help{font-size:11px!important;margin-top:3px!important}
#orderSheet #submitOrder.rxde-inline-submit{min-width:285px!important;padding-left:22px!important;padding-right:22px!important}
@media(max-width:720px){#orderSheet #rxdeInlineCheckout .rxde-inline-fields{gap:6px!important}#orderSheet #rxdeInlineCheckout .rxde-email-optional{flex:1 1 100%}#orderSheet #submitOrder.rxde-inline-submit{min-width:0!important;width:min(100%,360px)!important}}

/* RXDE V3.13.49 — phone first, checkbox hints locked without phone, centered send */
#orderSheet #rxdeInlineCheckout .rxde-phone-main{display:flex!important;align-items:center!important;gap:9px!important;flex:1 1 36%!important}
#orderSheet #rxdeInlineCheckout .rxde-phone-main label{white-space:nowrap!important;font:600 12px system-ui,sans-serif!important;color:#304854!important}
#orderSheet #rxdeInlineCheckout .rxde-phone-main input{min-width:0!important;flex:1!important;width:100%!important;height:35px!important;border:1px solid #cbd9e2!important;border-radius:7px!important;padding:6px 9px!important}
#orderSheet #rxdeInlineCheckout #rxdeExtraFields{flex:1 1 42%!important}
#orderSheet #rxdeInlineCheckout .rxde-phone-apps{flex-basis:100%!important;margin-top:1px!important}
#orderSheet #rxdeInlineCheckout .rxde-phone-apps input:disabled{opacity:.36!important;cursor:not-allowed!important}
#orderSheet #rxdeInlineCheckout .rxde-phone-apps label:has(input:disabled){color:#a4adb4!important;cursor:default!important}
#orderSheet .sheet-footer #submitOrder.rxde-inline-submit{justify-self:center!important;grid-column:1/-1!important;width:min(100%,345px)!important;min-width:0!important;margin:5px auto 0!important}
#orderSheet .sheet-footer .rxde-inline-direct{grid-column:1/-1!important;justify-self:start!important}
html body #productList>article.r2-card>.r2-footer>.r2-picked.selected{padding:0 3px!important;box-sizing:border-box!important;min-height:20px!important;height:20px!important;overflow:visible!important}
html body #productList>article.r2-card>.r2-footer>.r2-picked.selected .r2-picked-sum{font-size:clamp(10px,1.05vw,12px)!important;line-height:18px!important;letter-spacing:-.15px!important;white-space:nowrap!important;overflow:visible!important}
@media(max-width:760px){#orderSheet #rxdeInlineCheckout .rxde-phone-main,#orderSheet #rxdeInlineCheckout #rxdeExtraFields{flex:1 1 100%!important}}

/* RXDE V3.13.50: exactly two fixed channels, phone and email; no selector. */
#orderSheet #rxdeInlineCheckout .rxde-email-main{display:flex!important;align-items:center!important;gap:9px!important;flex:1 1 42%!important;min-width:0!important}
#orderSheet #rxdeInlineCheckout .rxde-email-main label{white-space:nowrap!important;font:600 12px system-ui,sans-serif!important;color:#304854!important}
#orderSheet #rxdeInlineCheckout .rxde-email-main input{min-width:0!important;flex:1!important;width:100%!important;height:35px!important;border:1px solid #cbd9e2!important;border-radius:7px!important;padding:6px 9px!important}
#orderSheet #rxdeInlineCheckout .rxde-inline-separator{display:block!important;flex:0 0 auto!important;margin:0 2px!important;font-size:12px!important;color:#82909a!important}
@media(max-width:760px){#orderSheet #rxdeInlineCheckout .rxde-email-main{flex:1 1 100%!important}#orderSheet #rxdeInlineCheckout .rxde-inline-separator{flex:1 1 100%!important;text-align:left!important;padding-left:3px!important}}

/* V3.13.52: editable compact contact confirmation */
.rxde-confirm-card{width:min(100%,495px)!important;padding:22px!important}
.rxde-confirm-card>p:first-of-type{margin-bottom:12px!important}
.rxde-confirm-card .rxde-confirm-label{display:block;margin:12px 0 5px!important}
.rxde-confirm-card .rxde-confirm-input{margin:0!important;padding:10px 12px!important;font-size:19px!important}
.rxde-confirm-apps{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:10px 0 12px;font-size:13px}
.rxde-confirm-apps label{display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.rxde-confirm-apps input{accent-color:#246ca9;width:16px;height:16px}
.rxde-confirm-apps label:has(input:disabled){opacity:.45}
.rxde-confirm-note{font-size:12px;color:#667689;margin:8px 0 0!important}
.rxde-confirm-actions{margin-top:14px!important}


/* V3.13.53 — selected item total inside unused lower-right details area.
   The old bottom strip remains as a slim selection accent, not a clipped total. */
html body #productList > article.r2-card > .r2-info{position:relative!important;overflow:visible!important;}
html body #productList > article.r2-card .rxde-card-sum-badge{
  display:none!important;position:absolute!important;right:7px!important;bottom:5px!important;
  z-index:5!important;max-width:64%!important;min-width:76px!important;
  height:26px!important;padding:2px 9px!important;box-sizing:border-box!important;
  border:1px solid #277cb4!important;border-radius:8px!important;
  background:#2676ad!important;color:#fff!important;
  font:800 14px/20px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  text-align:center!important;white-space:nowrap!important;
  box-shadow:0 1px 3px rgba(25,73,103,.18)!important;
  cursor:pointer!important;pointer-events:auto!important;
}
html body #productList > article.r2-card .rxde-card-sum-badge.is-visible{display:block!important;}
html body #productList > article.r2-card .rxde-card-sum-badge:hover,
html body #productList > article.r2-card .rxde-card-sum-badge:focus-visible{background:#155d95!important;outline:2px solid #98c8e5!important;outline-offset:1px!important;}
html body #productList > article.r2-card > .r2-footer > .r2-picked.selected{
  color:transparent!important;pointer-events:none!important;cursor:default!important;
  background:#d9edf8!important;overflow:hidden!important;
}
html body #productList > article.r2-card > .r2-footer > .r2-picked.selected .r2-picked-sum{display:none!important;}
@media(max-width:760px){
  html body #productList > article.r2-card .rxde-card-sum-badge{right:5px!important;bottom:3px!important;min-width:66px!important;max-width:65%!important;height:23px!important;padding:1px 6px!important;font-size:12px!important;line-height:19px!important;}
}


/* V3.13.54 — move selected subtotal to the top-left of the photo, in place of
   the former handwritten ×N marker. Never cover medicine metadata. */
html body #productList > article.r2-card{position:relative!important}
html body #productList > article.r2-card::before{display:none!important;content:none!important}
html body #productList > article.r2-card .rxde-card-sum-badge,
html body #productList > article.r2-card .rxde-card-sum-badge.is-visible{
  position:absolute!important;
  top:8px!important;left:8px!important;right:auto!important;bottom:auto!important;
  display:none!important;
  z-index:14!important;
  height:28px!important;min-width:0!important;max-width:calc(100% - 63px)!important;
  padding:3px 9px!important;
  border-radius:8px!important;
  font:800 13px/20px var(--rxde-ui-font,"Segoe UI",Arial,sans-serif)!important;
  white-space:nowrap!important;box-shadow:0 1px 3px rgba(25,73,103,.2)!important;
  pointer-events:auto!important;
}
html body #productList > article.r2-card .rxde-card-sum-badge.is-visible{display:flex!important;align-items:center!important;justify-content:center!important}
@media(max-width:760px){
 html body #productList > article.r2-card .rxde-card-sum-badge,
 html body #productList > article.r2-card .rxde-card-sum-badge.is-visible{top:6px!important;left:6px!important;height:25px!important;padding:2px 7px!important;font-size:12px!important}
}
/* More conspicuous, accessible confirmation of the item opened in the order list. */
@keyframes rxdeOrderTargetPulse154{
  0%{background:#ccecff;outline:3px solid #257cbd;outline-offset:-3px;box-shadow:inset 0 0 0 999px rgba(211,239,255,.2)}
  25%{background:#fff;outline:3px solid transparent;box-shadow:none}
  50%{background:#ccecff;outline:3px solid #257cbd;outline-offset:-3px;box-shadow:inset 0 0 0 999px rgba(211,239,255,.2)}
  75%{background:#fff;outline:3px solid transparent;box-shadow:none}
  100%{background:#dff3ff;outline:2px solid #7eb4d7;outline-offset:-2px;box-shadow:none}
}
#orderLines .order-product-row.order-target-pulse-v176,
#orderLines .order-line.order-target-pulse-v176{
  animation:rxdeOrderTargetPulse154 2.1s ease-in-out 1!important;
  z-index:4!important;
}

/* V3.13.55 — the selected card subtotal replaces EVERY handwritten ×N
   decoration, including legacy selected/hover specificity overrides. */
html body #productList > article.product-row.static-product-card.r2-card::before,
html body #productList > article.product-row.static-product-card.r2-card.selected::before,
html body #productList > article.product-row.static-product-card.r2-card[data-qty]:not([data-qty="0"])::before,
html body #productList > article.product-row.static-product-card.r2-card:hover::before,
html body #productList > article.product-row.static-product-card.r2-card:focus-within::before{
  content:none!important;display:none!important;visibility:hidden!important;
}
/* The cart target border flashes exactly twice after the click. */
@keyframes rxdeOrderTargetBorder155{
  0%,45%{outline:3px solid #227dc5;outline-offset:-3px;background:#d9efff}
  23%,70%{outline:3px solid transparent;outline-offset:-3px;background:#fff}
  100%{outline:2px solid #98c6e4;outline-offset:-2px;background:#f5fbff}
}
#orderLines .order-product-row.order-target-pulse-v176,
#orderLines .order-line.order-target-pulse-v176{
 animation:rxdeOrderTargetBorder155 2s ease-in-out 1!important;
}

/* V3.13.57 — MOBILE: full-width checkout (legacy 2-column sheet-footer fixed). */
@media (max-width:760px){
 html body #orderSheet .sheet-footer,
 html body.rxde-mobile-ui #orderSheet .sheet-footer,
 html.rxde-mobile-ui body #orderSheet .sheet-footer{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;min-width:0!important;box-sizing:border-box!important;
  gap:6px!important;padding:6px 9px calc(8px + env(safe-area-inset-bottom,0px))!important;
 }
 html body #orderSheet .sheet-footer #rxdeInlineCheckout,
 html.rxde-mobile-ui body #orderSheet .sheet-footer #rxdeInlineCheckout{
  grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:none!important;
  box-sizing:border-box!important;justify-self:stretch!important;margin:0!important;padding:9px 11px!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-inline-fields{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;gap:4px!important;align-items:stretch!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-main,
 html body #orderSheet #rxdeInlineCheckout .rxde-email-main,
 html body #orderSheet #rxdeInlineCheckout #rxdeExtraFields{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  flex:none!important;width:100%!important;min-width:0!important;max-width:100%!important;gap:3px!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-main label,
 html body #orderSheet #rxdeInlineCheckout .rxde-email-main label{
  white-space:normal!important;font-size:12px!important;line-height:1.2!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-main input,
 html body #orderSheet #rxdeInlineCheckout .rxde-email-main input{
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  height:39px!important;font-size:16px!important;padding:7px 10px!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-inline-separator{
  display:block!important;grid-column:1!important;width:100%!important;
  text-align:center!important;margin:0!important;padding:0!important;line-height:1.2!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-apps{
  display:flex!important;flex-wrap:wrap!important;gap:6px 14px!important;
  width:100%!important;min-width:0!important;margin-top:3px!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-apps>span{flex-basis:100%!important;}
 html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit{
  grid-column:1/-1!important;justify-self:center!important;width:100%!important;
  max-width:420px!important;min-width:0!important;margin:3px auto!important;
 }
 html body #orderSheet .sheet-footer .rxde-inline-direct{grid-column:1/-1!important;justify-self:start!important;}
 html body #orderSheet .sheet-footer .order-summary{grid-column:1/-1!important;width:100%!important;min-width:0!important;}
}


/* V3.13.58 — mobile order: list-first, lightweight contact drawer.
   No position:fixed overlay: the existing sheet keeps scrolling functional. */
#orderSheet .rxde-mobile-contacts-toggle{display:none}
@media(max-width:760px){
 html body #orderSheet.order-sheet{
  display:flex!important;flex-direction:column!important;
  height:calc(100dvh - 18px)!important;max-height:calc(100dvh - 18px)!important;
  top:9px!important;bottom:auto!important;min-height:0!important;
 }
 html body #orderSheet .sheet-header{flex:0 0 auto!important}
 html body #orderSheet .rxde-order-list-area{
  flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;
 }
 html body #orderSheet #orderLines{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}
 html body #orderSheet .order-service-story{display:none!important}
 html body #orderSheet .sheet-footer{
  display:grid!important;flex:0 0 auto!important;overflow-y:auto!important;
  grid-template-columns:minmax(0,1fr)!important;align-content:start!important;
  gap:3px!important;padding:6px 11px calc(8px + env(safe-area-inset-bottom,0px))!important;
  max-height:22dvh!important;box-sizing:border-box!important;
  transition:max-height .22s ease!important;
  -webkit-overflow-scrolling:touch;
 }
 html body #orderSheet .sheet-footer .order-summary{
  display:grid!important;grid-column:1/-1!important;
  grid-template-columns:auto 1fr!important;gap:2px 8px!important;align-items:center!important;
  min-height:28px!important;padding:0!important;margin:0!important;
 }
 html body #orderSheet .sheet-footer #orderPositions{grid-column:1!important;grid-row:1!important}
 html body #orderSheet .sheet-footer #orderTotalRub{grid-column:2!important;grid-row:1!important;justify-self:end!important;font-size:21px!important}
 html body #orderSheet .sheet-footer #orderTotalEur{display:none!important}
 html body #orderSheet .rxde-mobile-contacts-toggle{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  grid-column:1/-1!important;width:100%!important;min-height:42px!important;
  padding:7px 12px!important;margin:0!important;background:#f5fafc!important;
  border:1px solid #c9dce8!important;border-radius:10px!important;
  font:750 14px/1.3 system-ui,sans-serif!important;color:#205879!important;
  cursor:pointer!important;touch-action:manipulation!important;
 }
 html body #orderSheet .rxde-mobile-contacts-chevron{font-size:19px!important}
 html body #orderSheet .sheet-footer #rxdeInlineCheckout,
 html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit,
 html body #orderSheet .sheet-footer .rxde-inline-direct{display:none!important}
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{
  max-height:66dvh!important;
 }
 html body #orderSheet.rxde-mobile-contacts-open .rxde-order-list-area{
  min-height:23dvh!important;
 }
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeInlineCheckout{
  display:block!important;grid-column:1/-1!important;width:100%!important;
  padding:9px 11px!important;
 }
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit{
  display:flex!important;grid-column:1/-1!important;margin:5px auto!important;
  min-height:45px!important;width:100%!important;max-width:420px!important;
 }
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer .rxde-inline-direct{
  display:block!important;grid-column:1/-1!important;margin:0!important;
 }
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){
 html body #orderSheet .sheet-footer{transition:none!important}
}

/* V3.13.60 MOBILE: correct phone -> messengers -> separator -> email order. */
@media(max-width:760px){
 html body #orderSheet #rxdeInlineCheckout .rxde-inline-fields{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-main{order:1!important;grid-column:1!important}
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-apps{order:2!important;grid-column:1!important;margin:2px 0 5px!important;}
 html body #orderSheet #rxdeInlineCheckout .rxde-inline-separator{order:3!important;grid-column:1!important;}
 html body #orderSheet #rxdeInlineCheckout .rxde-email-main{order:4!important;grid-column:1!important;}
 html body #orderSheet #rxdeInlineCheckout #rxdeInlineError{order:5!important;grid-column:1!important;}
}
/* Keep the gold parcel visible before and after eligibility updates, even when disabled. */
html body #orderSheet #submitOrder.rxde-inline-submit .rxde-parcel-mark,
html body #orderSheet #submitOrder.rxde-inline-submit[aria-disabled="true"] .rxde-parcel-mark,
html body #orderSheet #submitOrder.rxde-inline-submit[aria-disabled="false"] .rxde-parcel-mark,
html body #orderSheet #submitOrder.rxde-inline-submit:disabled .rxde-parcel-mark{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 28px!important;width:28px!important;height:28px!important;
 color:#f0c55c!important;opacity:1!important;visibility:visible!important;
}
html body #orderSheet #submitOrder.rxde-inline-submit .rxde-parcel-mark svg,
html body #orderSheet #submitOrder.rxde-inline-submit:disabled .rxde-parcel-mark svg{
 display:block!important;width:27px!important;height:27px!important;stroke:#f0c55c!important;
 stroke-width:1.65!important;fill:none!important;visibility:visible!important;opacity:1!important;
}

/* RXDE V3.13.61: explicit mobile contact controls */
@media(max-width:760px){
 html body #orderSheet .rxde-mobile-contacts-toggle{gap:12px!important;flex-wrap:wrap!important;text-align:left!important}
 html body #orderSheet .rxde-mobile-contacts-title{font-size:13px!important;font-weight:650!important;min-width:0!important}
 html body #orderSheet .rxde-mobile-contacts-action{display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;background:#246ba0!important;color:#fff!important;border-radius:8px!important;padding:10px 12px!important;font-size:13px!important;font-weight:800!important;box-shadow:0 1px 3px #0002!important}
 html body #orderSheet.rxde-mobile-contacts-open .rxde-mobile-contacts-action{background:#556b79!important}
}
#rxdeSendingOverlay .rxde-manual-fallback{display:grid;gap:9px;margin:14px auto 8px;max-width:min(100%,440px);width:100%}
#rxdeSendingOverlay .rxde-manual-fallback[hidden]{display:none!important}
#rxdeSendingOverlay .rxde-manual-fallback a,#rxdeSendingOverlay .rxde-manual-fallback button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:46px;width:100%;padding:11px;border-radius:11px;font:700 15px/1.3 system-ui,sans-serif;text-align:center;text-decoration:none;cursor:pointer}
#rxdeSendingOverlay .rxde-manual-fallback a{background:#a64a3d;color:white;border:1px solid #a64a3d}
#rxdeSendingOverlay .rxde-manual-fallback button{background:white;color:#633e39;border:1px solid #d8aea7}
#rxdeSendingOverlay .rxde-manual-fallback p{font:400 12px/1.45 system-ui,sans-serif;color:#764d48;margin:0 0 3px}

/* V3.13.62: one manual email option; regular OK closes the modal. */
#rxdeSendingOverlay .rxde-manual-fallback a{background:transparent!important;color:#963b31!important;border:0!important;text-decoration:underline!important;min-height:36px!important;padding:5px 8px!important;font-weight:700!important}

/* V3.13.64: parcel emblem is a permanent part of the Send button, including its disabled state.
   Do not depend on JS-rendered markup or attribute-dependent CSS visibility. */
html body #orderSheet button#submitOrder.primary-action::before,
html body #orderSheet button#submitOrder.rxde-inline-submit::before {
  content:""!important;
  display:inline-block!important;
  flex:0 0 29px!important;
  width:29px!important;height:29px!important;
  background: center / 29px 29px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23f2c354' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5 16 5l11 5.5v12L16 28 5 22.5z'/%3E%3Cpath d='M5 10.5 16 16l11-5.5M16 16v12M11 7.5l11 5.5'/%3E%3Cpath d='M20 19h3m-1.5-1.5v3'/%3E%3C/g%3E%3C/svg%3E")!important;
  opacity:1!important;visibility:visible!important;
  filter:none!important;
}
html body #orderSheet button#submitOrder .rxde-parcel-mark{display:none!important}
html body #orderSheet button#submitOrder{align-items:center!important;justify-content:center!important;gap:12px!important}
/* Keep manual fallback a single underlined email link, visually distinct from OK. */
#rxdeSendingOverlay .rxde-manual-fallback p{display:none!important}
#rxdeSendingOverlay .rxde-manual-fallback a{color:#256fa7!important;font-weight:800!important;text-decoration:underline!important}

/* V3.13.65: cart actions remain independent after successive clear/restore cycles. */
#orderSheet #clearOrder{font-size:0!important;background:#fff2f1!important;color:#bb3838!important;border:1px solid #e69f9c!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:36px!important;min-width:38px!important;padding:5px!important;border-radius:9px!important}
#orderSheet #clearOrder::before{content:none!important}
#orderSheet #clearOrder .rxde-trash-svg{width:22px!important;height:22px!important;fill:none!important;stroke:#b83131!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;display:block!important}
#orderSheet #restoreOrder:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;gap:4px;white-space:nowrap;background:#e8f5f0!important;border:1px solid #97c8b2!important;color:#176646!important;border-radius:9px;padding:6px 10px;font-weight:800;font-size:12px;cursor:pointer}
#orderSheet #restoreOrder[hidden]{display:none!important}
#orderSheet .rxde-total-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;min-width:0}
#orderSheet .rxde-share-order{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid #b7d5e3;background:#f0f8fd;color:#246b99;border-radius:8px;padding:6px 9px;font-size:12px;font-weight:750;cursor:pointer;min-height:34px}
#orderSheet .rxde-share-order .rxde-share-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){#orderSheet #restoreOrder:not([hidden]){font-size:11px;padding:5px 7px}#orderSheet .rxde-total-actions{gap:7px}#orderSheet .rxde-share-order{font-size:12px;padding:7px 8px}}

/* V3.13.66: concise customer fallback. */
#rxdeSendingOverlay[data-status="error"] #rxdeSendingDetail{max-width:30ch;margin-inline:auto}

/* V3.13.67 — explicit filled price-sort state (desktop and mobile). */
html body .catalog-sort button.sort-price-toggle.active,
html body .catalog-sort button.sort-price-toggle[aria-pressed="true"],
html.rxde-mobile-ui body .catalog-hero .catalog-hero-meta .sort-pill.sort-price-toggle.active,
html.rxde-mobile-ui body .catalog-hero .catalog-hero-meta .sort-pill.sort-price-toggle[aria-pressed="true"]{
  background:#2678ad!important;
  background-image:none!important;
  color:#fff!important;
  border:1px solid #155b87!important;
  box-shadow:0 2px 8px rgba(24,91,135,.20)!important;
}
html body .catalog-sort button.sort-price-toggle.active *,
html body .catalog-sort button.sort-price-toggle[aria-pressed="true"] *,
html.rxde-mobile-ui body .catalog-hero .catalog-hero-meta .sort-pill.sort-price-toggle.active *,
html.rxde-mobile-ui body .catalog-hero .catalog-hero-meta .sort-pill.sort-price-toggle[aria-pressed="true"] *{color:#fff!important;}
html body .catalog-sort button.sort-price-toggle:not(.active):not([aria-pressed="true"]){background:#fff!important;color:#28536c!important;}

/* v3.13.68 — быстрый визуальный импорт по PZN: данные -> корзина */
#adminBackdrop .admin-sheet{width:min(600px,calc(100vw - 16px))!important;max-height:calc(100dvh - 12px)!important;top:6px!important;border-radius:13px!important}
#adminBackdrop .admin-body{padding:8px!important}
#adminBackdrop .admin-source{height:135px!important;min-height:100px!important;font-size:14px!important}
#adminBackdrop #adminParse{font-size:15px!important;background:#bb961f!important;min-height:45px!important}
#adminBackdrop .admin-result-actions #adminApply{display:none!important}
#adminBackdrop .admin-result-actions #adminCopyTemplate{display:none!important}
#adminBackdrop .admin-result-actions{position:static!important;box-shadow:none!important;padding:0!important}
#adminBackdrop .admin-list-tools{margin-top:4px!important}
#adminBackdrop .admin-adjustments>summary{font-size:12px!important}
#adminBackdrop #adminPreviewDetails .admin-preview{cursor:zoom-in}
#adminBackdrop #adminPreviewDetails .admin-preview.rxde-zoomed{position:static!important;inset:auto!important;width:auto!important;height:190px!important;max-height:190px!important;box-shadow:none!important;overflow:auto!important}
@media(max-width:760px){#adminBackdrop .admin-sheet{width:calc(100vw - 10px)!important;top:5px!important;max-height:calc(100dvh - 10px)!important}#adminBackdrop .admin-source{height:110px!important;min-height:80px!important}#adminBackdrop .admin-head{padding:8px!important}#adminBackdrop .admin-result-block{padding-top:2px!important}}

/* V3.13.70: stable portal preview, outside the scrollable admin sheet. */
#rxdePreviewLightbox[hidden]{display:none!important}
#rxdePreviewLightbox{position:fixed!important;inset:0!important;z-index:100010!important;background:rgba(16,24,30,.76)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:clamp(7px,2vw,20px)!important;box-sizing:border-box!important;overscroll-behavior:contain!important}
#rxdePreviewLightbox .rxde-preview-surface{background:#fff;color:#26343b;width:min(860px,100%);height:min(92dvh,950px);max-height:calc(100dvh - 14px);display:flex;flex-direction:column;min-width:0;border-radius:13px;overflow:hidden;box-shadow:0 15px 60px rgba(0,0,0,.3);box-sizing:border-box}
#rxdePreviewLightbox .rxde-preview-head{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #dce5e8;gap:12px}
#rxdePreviewLightbox .rxde-preview-head strong{font-size:15px}
#rxdePreviewLightbox .rxde-preview-close{border:1px solid #cad9e0;border-radius:8px;background:#f5f8fa;color:#26343b;font-size:14px;font-weight:700;min-width:72px;min-height:38px;cursor:pointer}
#rxdePreviewLightbox .rxde-preview-content{flex:1;min-height:0;overflow:auto!important;overscroll-behavior:contain;margin:0;padding:15px;white-space:pre-wrap;overflow-wrap:anywhere;font:clamp(12px,2.4vw,16px)/1.6 ui-monospace,Consolas,monospace;color:#182c36;user-select:text;-webkit-user-select:text}
#adminBackdrop #adminPreviewDetails .admin-preview{cursor:zoom-in}
@media(max-width:760px){#rxdePreviewLightbox .rxde-preview-surface{height:calc(100dvh - 16px)}#rxdePreviewLightbox .rxde-preview-content{padding:12px;font-size:13px}}

/* V3.13.71 — modal focus and scroll isolation; click again to collapse a sheet. */
html.rxde-admin-modal-open,body.rxde-admin-modal-open{overflow:hidden!important;overscroll-behavior:none!important}
#adminBackdrop:not([hidden]){overscroll-behavior:contain!important;touch-action:pan-y!important}
#adminBackdrop .admin-sheet,#adminBackdrop .admin-body{overscroll-behavior:contain!important}
#rxdePreviewLightbox .rxde-preview-content{cursor:zoom-out!important;touch-action:pan-y!important}
#adminBackdrop #adminPreviewDetails .admin-preview{cursor:zoom-in!important}

/* V3.13.72: clipboard restoration. */

/* V3.13.73: concise old/new invoice total comparison */
.admin-totals-compare{display:grid;gap:7px;margin:9px 0 12px;padding:11px 12px;background:#f8fafb;border:1px solid #e0e7ed;border-radius:11px;line-height:1.35;font-size:13px}
.admin-totals-old{color:#505963;font-weight:650}
.admin-totals-new{color:#178148;font-size:15px;font-weight:850}
.admin-totals-compare small{color:#9b5c1e;font-size:11px}

/* V3.13.76 — clear, distinct states for the header order entry */
html body #desktopOrderDock.order-status-standard,
html body #quickOrderDock.order-status-standard{background:#f4f7f9!important;border:2px solid #cbd6dc!important;color:#57707c!important;box-shadow:0 2px 8px rgba(26,48,61,.06)!important;}
html body #desktopOrderDock.order-status-standard.has-order,
html body #quickOrderDock.order-status-standard.has-order{background:#e5f5e9!important;border:2px solid #2f9464!important;color:#176142!important;box-shadow:0 4px 13px rgba(24,127,75,.15)!important;}
html body #desktopOrderDock.order-status-standard.has-order .order-status-total,
html body #quickOrderDock.order-status-standard.has-order .order-status-total{color:#125936!important;}
html body #desktopOrderDock.order-status-standard:not(.has-order) .order-status-total,
html body #quickOrderDock.order-status-standard:not(.has-order) .order-status-total{color:#778e99!important;}
html body #desktopOrderDock.order-status-standard:not(.has-order) .order-list-mark svg *,
html body #quickOrderDock.order-status-standard:not(.has-order) .order-list-mark svg *{stroke:#8599a4!important;}
html body #desktopOrderDock.order-status-standard.has-order .order-list-mark,
html body #quickOrderDock.order-status-standard.has-order .order-list-mark{background:#248657!important;border-radius:8px!important;}
html body #desktopOrderDock.order-status-standard.has-order .order-list-mark svg * ,
html body #quickOrderDock.order-status-standard.has-order .order-list-mark svg *{stroke:#ffffff!important;}
html body #desktopOrderDock .rxde-dock-title,
html body #quickOrderDock .rxde-dock-title{display:block;font-weight:850!important;font-size:13px!important;line-height:1.15!important;color:#506b78!important;white-space:nowrap!important;}
html body #desktopOrderDock.has-order .rxde-dock-title,
html body #quickOrderDock.has-order .rxde-dock-title{color:#186741!important;}
html body #desktopOrderDock .order-status-copy,
html body #quickOrderDock .order-status-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;}
html body #desktopOrderDock .order-status-meta,
html body #quickOrderDock .order-status-meta{font-size:10px!important;line-height:1.3!important;}
.rxde-order-first-hint{position:fixed;right:14px;top:105px;max-width:min(330px,calc(100vw - 28px));padding:12px 16px;z-index:10040;background:#245f87;color:white;font-size:14px;font-weight:750;border-radius:12px;box-shadow:0 8px 24px #16374744;pointer-events:none;animation:rxdeHintIn .25s ease-out both;}
@keyframes rxdeHintIn{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){html body #desktopOrderDock .rxde-dock-title{font-size:10px!important;white-space:normal!important;line-height:1.05!important}html body #desktopOrderDock .order-status-meta{display:none!important}html body #desktopOrderDock .order-status-total{font-size:12px!important} .rxde-order-first-hint{top:155px;right:10px;font-size:12px;max-width:230px}}

/* V3.13.77: compact top cart + yellow notification only for Add */
html body #desktopOrderDock.desktop-order-dock.order-status-standard{position:relative!important;min-width:160px!important;max-width:190px!important;width:180px!important;padding:8px 10px!important;gap:8px!important;align-items:center!important;justify-content:flex-start!important;overflow:hidden!important;}
html body #desktopOrderDock .order-status-copy{flex:1 1 auto!important;min-width:0!important;position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;}
html body #desktopOrderDock .rxde-dock-title{font-size:12px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:normal!important;}
html body #desktopOrderDock .order-status-meta{font-size:10px!important;line-height:1.15!important;white-space:nowrap!important;}
html body #desktopOrderDock .order-status-total{font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;}
html body #desktopOrderDock .order-list-mark{flex:0 0 25px!important;}
.rxde-order-add-hint77{position:fixed;z-index:10120;max-width:min(335px,calc(100vw - 24px));padding:12px 14px;background:rgba(255,222,111,.88);color:#614600;border:1px solid rgba(206,158,35,.55);box-shadow:0 7px 20px rgba(85,66,20,.12);border-radius:11px;pointer-events:none;font-size:13px;font-weight:750;line-height:1.35;opacity:0;transform:translateY(-7px);transition:opacity .65s ease,transform .65s ease;}
.rxde-order-add-hint77.rxde-visible{opacity:1;transform:translateY(0)}
.rxde-order-add-hint77.rxde-hide{opacity:0;transform:translateY(-5px)}
@media(max-width:760px){html body #desktopOrderDock.desktop-order-dock.order-status-standard{width:114px!important;min-width:114px!important;max-width:114px!important;gap:3px!important;padding:5px!important}html body #desktopOrderDock .rxde-dock-title{font-size:10px!important}html body #desktopOrderDock .order-status-meta{font-size:9px!important}html body #desktopOrderDock .order-status-total{font-size:12px!important} html body #desktopOrderDock .order-list-mark{flex-basis:19px!important}.rxde-order-add-hint77{font-size:12px;padding:9px 11px;max-width:min(255px,calc(100vw - 24px))}}

/* V3.13.78: prevent obsolete pseudo-action text from overlapping order status */
html body #desktopOrderDock.desktop-order-dock::before,html body #desktopOrderDock.desktop-order-dock::after,html body #quickOrderDock.quick-order-dock::before,html body #quickOrderDock.quick-order-dock::after{content:none!important;display:none!important;visibility:hidden!important;}
html body #desktopOrderDock.desktop-order-dock.order-status-standard{height:auto!important;min-height:71px!important;max-height:85px!important;box-sizing:border-box!important;display:flex!important;flex-direction:row!important;align-items:center!important;}
html body #desktopOrderDock .order-status-copy{align-items:flex-start!important;justify-content:center!important;gap:3px!important;width:auto!important;}
html body #desktopOrderDock .rxde-dock-title,html body #desktopOrderDock .order-status-meta,html body #desktopOrderDock .order-status-total{position:static!important;float:none!important;margin:0!important;transform:none!important;}
.rxde-order-add-hint77{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:3px!important;background:rgba(255,238,117,.86)!important;border:1px solid rgba(192,165,53,.45)!important;color:#554817!important;font-weight:600!important;line-height:1.35!important;box-sizing:border-box!important;min-width:210px!important;}
.rxde-order-add-hint77 strong{display:block;font-size:14px;font-weight:800!important;}
.rxde-order-add-hint77 span{display:block;font-size:12px;font-weight:650!important;}
@media(max-width:760px){html body #desktopOrderDock.desktop-order-dock.order-status-standard{min-height:56px!important;height:auto!important;max-height:75px!important}.rxde-order-add-hint77{min-width:180px!important;max-width:min(245px,calc(100vw - 20px))!important}}

/* V3.13.80 — on-demand read-only receipt preview */
#orderSheet .rxde-receipt-preview-trigger{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:6px 9px;border:1px solid #aec7d0;border-radius:8px;background:#f7fafb;color:#24576c;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}
#orderSheet .rxde-receipt-preview-trigger svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rxde-receipt-preview[hidden]{display:none!important}
.rxde-receipt-preview{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(16,36,50,.62)}
.rxde-receipt-preview-panel{width:min(740px,100%);max-height:min(90dvh,900px);min-height:0;background:#fff;border:1px solid #b6cfdc;border-radius:15px;box-shadow:0 24px 80px #0005;display:flex;flex-direction:column;overflow:hidden;outline:none}
.rxde-receipt-preview-panel header{display:flex;align-items:center;justify-content:space-between;flex:none;padding:13px 17px;border-bottom:1px solid #d8e5eb;color:#1e4253;font-size:18px}
.rxde-receipt-preview-panel header button{min-width:40px;min-height:40px;border:none;background:#f1f6f8;border-radius:9px;color:#49616c;font-size:29px;cursor:pointer}
.rxde-receipt-preview-panel pre{margin:0;min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:18px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.55;color:#1b3644;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.rxde-receipt-preview-panel footer{padding:12px 16px;border-top:1px solid #d8e5eb;display:flex;justify-content:center;flex:none}
.rxde-receipt-preview-panel footer button{border:1px solid #b9cbd2;border-radius:9px;background:#f3f7f9;color:#234d60;padding:10px 32px;font-weight:750;cursor:pointer}
body.rxde-receipt-preview-open{overflow:hidden!important}
@media(max-width:760px){#orderSheet .rxde-total-actions{gap:5px}#orderSheet .rxde-receipt-preview-trigger{padding:7px;font-size:11px}.rxde-receipt-preview{padding:9px}.rxde-receipt-preview-panel{max-height:93dvh}.rxde-receipt-preview-panel pre{font-size:12px;padding:12px}}


/* V3.13.81 — identical list-first cart / contacts drawer on desktop and mobile.
   Only the outer sheet width varies; height, list and footer behaviour are shared. */
html body #orderSheet.order-sheet {
  display:flex!important;flex-direction:column!important;
  height:calc(100dvh - 18px)!important;max-height:calc(100dvh - 18px)!important;
  top:9px!important;bottom:auto!important;min-height:0!important;
}
html body #orderSheet .sheet-header{flex:0 0 auto!important}
html body #orderSheet .rxde-order-list-area {
  flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;
}
html body #orderSheet .rxde-order-list-area>#orderLines {
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;
}
html body #orderSheet .order-service-story{display:none!important}
html body #orderSheet .sheet-footer {
  display:grid!important;flex:0 0 auto!important;overflow-y:auto!important;
  grid-template-columns:minmax(0,1fr)!important;align-content:start!important;
  gap:5px!important;padding:8px 13px calc(9px + env(safe-area-inset-bottom,0px))!important;
  max-height:150px!important;box-sizing:border-box!important;
  transition:max-height .22s ease!important;
  -webkit-overflow-scrolling:touch;
}
html body #orderSheet .sheet-footer .order-summary {
  display:grid!important;grid-column:1/-1!important;
  grid-template-columns:auto minmax(0,1fr)!important;gap:5px 9px!important;
  align-items:center!important;min-height:32px!important;padding:0!important;margin:0!important;
  width:100%!important;
}
html body #orderSheet .sheet-footer #orderPositions{grid-column:1!important;grid-row:1!important}
html body #orderSheet .sheet-footer .rxde-total-actions {
  grid-column:2!important;grid-row:1!important;justify-content:flex-end!important;
  flex-wrap:wrap!important;
}
html body #orderSheet .sheet-footer #orderTotalRub {
  grid-column:auto!important;grid-row:auto!important;justify-self:auto!important;
  font-size:22px!important;
}
html body #orderSheet .sheet-footer #orderTotalEur{display:none!important}
html body #orderSheet .rxde-mobile-contacts-toggle {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  grid-column:1/-1!important;width:100%!important;min-height:43px!important;
  padding:7px 12px!important;margin:0!important;background:#f5fafc!important;
  border:1px solid #c9dce8!important;border-radius:10px!important;
  font:750 14px/1.3 system-ui,sans-serif!important;color:#205879!important;
  cursor:pointer!important;touch-action:manipulation!important;
}
html body #orderSheet .sheet-footer #rxdeInlineCheckout,
html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit,
html body #orderSheet .sheet-footer .rxde-inline-direct{display:none!important}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{max-height:min(66dvh,670px)!important}
html body #orderSheet.rxde-mobile-contacts-open .rxde-order-list-area{min-height:22dvh!important}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeInlineCheckout {
  display:block!important;grid-column:1/-1!important;width:100%!important;padding:8px 10px!important;
}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit {
  display:flex!important;grid-column:1/-1!important;margin:4px auto!important;
  min-height:45px!important;width:100%!important;max-width:420px!important;
}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer .rxde-inline-direct {
  display:block!important;grid-column:1/-1!important;margin:0!important;
}
html body #orderSheet #rxdeInlineCheckout .rxde-inline-fields {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
}
html body #orderSheet #rxdeInlineCheckout .rxde-phone-main{order:1!important;grid-column:1!important}
html body #orderSheet #rxdeInlineCheckout .rxde-phone-apps{order:2!important;grid-column:1!important;margin:2px 0 5px!important}
html body #orderSheet #rxdeInlineCheckout .rxde-inline-separator{order:3!important;grid-column:1!important}
html body #orderSheet #rxdeInlineCheckout .rxde-email-main{order:4!important;grid-column:1!important}
html body #orderSheet #rxdeInlineCheckout #rxdeInlineError{order:5!important;grid-column:1!important}
@media (min-width:761px) {
  html body #orderSheet.order-sheet{width:min(980px,calc(100vw - 36px))!important}
  html body #orderSheet .sheet-footer{max-height:120px!important}
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{max-height:min(64dvh,550px)!important}
  html body #orderSheet .rxde-order-list-area>#orderLines{padding-inline:14px!important}
}
@media (max-width:760px) {
  html body #orderSheet .sheet-footer{max-height:22dvh!important}
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{max-height:66dvh!important}
}
@media(prefers-reduced-motion:reduce){html body #orderSheet .sheet-footer{transition:none!important}}

/* V3.13.83 — transient cart stays clickable above the yellow notice */
#rxdeTransientCartPeek.visible{background:rgba(231,247,235,.97)!important;border-color:#39976b!important;}
.rxde-order-add-hint77{z-index:2147482400!important;}

/* V3.13.85 — text receipt modal: share and close are together. */
.rxde-receipt-preview-panel footer{justify-content:stretch!important;align-items:center!important;gap:10px!important}
.rxde-receipt-preview-panel footer button{flex:1 1 0;min-width:0;min-height:44px}
.rxde-receipt-preview-panel footer .rxde-receipt-share{background:#246fa9!important;border-color:#246fa9!important;color:#fff!important}
#orderSheet .rxde-receipt-preview-trigger{min-height:38px!important;padding:7px 11px!important}

/* V3.13.88: explicit clear action, compact mobile layout. */
#orderSheet .rxde-header-tools #clearOrder{width:auto!important;min-width:38px!important;max-width:none!important;gap:6px!important;padding:5px 11px!important;font-size:13px!important;font-weight:750!important;white-space:nowrap!important}
#orderSheet .rxde-header-tools #clearOrder .rxde-clear-label{display:inline!important;font-size:13px!important;line-height:1!important;color:#b83131!important}
@media(max-width:760px){#orderSheet .rxde-header-tools #clearOrder{width:36px!important;min-width:36px!important;max-width:36px!important;padding:5px!important;gap:0!important}#orderSheet .rxde-header-tools #clearOrder .rxde-clear-label{display:none!important}}

/* V3.13.90 — clear centered success dialog, opaque over the underlying page */
html body #orderAcceptedBackdrop.rxde-accepted-backdrop{z-index:15000!important;background:rgba(19,36,32,.46)!important;align-items:center!important;justify-content:center!important;padding:18px!important}
html body #orderAcceptedBackdrop .rxde-accepted-card{position:relative!important;isolation:isolate!important;width:min(440px,calc(100vw - 32px))!important;min-height:unset!important;max-height:calc(100dvh - 36px)!important;overflow:auto!important;margin:auto!important;box-sizing:border-box!important;padding:30px 25px 26px!important;background:#eaf7ee!important;background-image:none!important;border:1px solid #a9d8b7!important;border-radius:22px!important;box-shadow:0 22px 70px rgba(10,35,21,.28)!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:12px!important;color:#263a2d!important}
html body #orderAcceptedBackdrop .rxde-accepted-card::before{content:'✓'!important;display:grid!important;place-items:center!important;width:53px!important;height:53px!important;min-height:53px!important;border:3px solid #257b4b!important;border-radius:50%!important;color:#257b4b!important;font-size:33px!important;line-height:1!important;font-weight:800!important;background:#f8fffa!important;position:static!important;transform:none!important;box-shadow:none!important}
html body #orderAcceptedBackdrop .rxde-accepted-card::after{content:none!important;display:none!important}
html body #orderAcceptedBackdrop #orderAcceptedTitle{font-size:26px!important;line-height:1.18!important;font-weight:800!important;text-align:center!important;color:#185d39!important;margin:0!important;padding:0!important}
html body #orderAcceptedBackdrop .rxde-accepted-card>p:not(#acceptedEmailStatus){font-size:16px!important;line-height:1.52!important;text-align:center!important;color:#263a2d!important;margin:0!important;padding:0!important}
html body #orderAcceptedBackdrop #orderAcceptedId{font-size:12px!important;line-height:1.45!important;color:#6e8275!important;overflow-wrap:anywhere!important;word-break:normal!important;text-align:center!important;margin:0!important}
html body #orderAcceptedBackdrop #acceptedOk{display:block!important;align-self:center!important;min-width:168px!important;min-height:51px!important;padding:12px 26px!important;border:0!important;border-radius:11px!important;background:#216c48!important;color:white!important;font-size:18px!important;font-weight:800!important;text-align:center!important;margin:8px auto 0!important;box-shadow:0 3px 9px rgba(18,83,48,.15)!important}
html body #orderAcceptedBackdrop .rxde-accepted-choice[hidden]{display:none!important}
html body #orderAcceptedBackdrop #acceptedEmailStatus:empty{display:none!important}
@media(max-width:480px){html body #orderAcceptedBackdrop .rxde-accepted-card{padding:26px 19px 23px!important;gap:11px!important}html body #orderAcceptedBackdrop #orderAcceptedTitle{font-size:24px!important}html body #orderAcceptedBackdrop .rxde-accepted-card>p:not(#acceptedEmailStatus){font-size:15px!important}}

/* V3.13.91: explicit success tick, never an old paperclip/pseudoelement. */
html body #orderAcceptedBackdrop .rxde-accepted-card::before,
html body #orderAcceptedBackdrop .rxde-accepted-card::after{content:none!important;display:none!important;}
html body #orderAcceptedBackdrop .rxde-accepted-check{display:grid!important;place-items:center!important;flex:none!important;width:58px!important;height:58px!important;line-height:1!important;border:3px solid #257b4b!important;border-radius:50%!important;background:#f8fffa!important;color:#257b4b!important;font-size:36px!important;font-weight:800!important;margin:0 auto 4px!important;}
html body #orderAcceptedBackdrop .rxde-accepted-card > * {flex-shrink:0;}


/* V3.13.94: search results aligned with the catalogue visual language.
   Keep existing layout and quick actions; color, spacing and control styling only. */
html body #searchSuggest .suggest-row,
html.rxde-mobile-ui body #searchSuggest .suggest-row {
  background:rgba(255,255,255,.985)!important;
  border:1px solid #91c5df!important;
  border-radius:14px!important;
  box-shadow:0 2px 9px rgba(30,87,122,.075)!important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}
html body #searchSuggest .suggest-row.selected,
html.rxde-mobile-ui body #searchSuggest .suggest-row.selected {
  background:#f2f9fd!important;
  border-color:#3695c8!important;
  box-shadow:0 2px 11px rgba(32,118,167,.12)!important;
}
html body #searchSuggest .suggest-title,
html.rxde-mobile-ui body #searchSuggest .suggest-title {
  color:#173c53!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
}
html body #searchSuggest .suggest-price b,
html.rxde-mobile-ui body #searchSuggest .suggest-price b {
  color:#164362!important;
  font-weight:850!important;
}
html body #searchSuggest .suggest-price small,
html.rxde-mobile-ui body #searchSuggest .suggest-price small {
  color:#6c8797!important;
}
html body #searchSuggest .suggest-add-zero,
html.rxde-mobile-ui body #searchSuggest .suggest-add-zero {
  background:linear-gradient(180deg,#399bdd,#2177b6)!important;
  color:#fff!important;
  border:1px solid #267eb9!important;
  border-radius:9px!important;
  font-weight:750!important;
  box-shadow:0 2px 5px rgba(24,95,149,.15)!important;
}
html body #searchSuggest .suggest-stepper,
html.rxde-mobile-ui body #searchSuggest .suggest-stepper {
  border:1px solid #a8cde2!important;
  border-radius:9px!important;
  overflow:hidden!important;
  background:#fff!important;
}
html body #searchSuggest .suggest-stepper button,
html.rxde-mobile-ui body #searchSuggest .suggest-stepper button {
  background:#eaf5fc!important;
  color:#236b9d!important;
  font-weight:800!important;
}
html body #searchSuggest .suggest-stepper button:last-child,
html.rxde-mobile-ui body #searchSuggest .suggest-stepper button:last-child {
  background:#2783bf!important;
  color:#fff!important;
}
html body #searchSuggest .suggest-photo,
html.rxde-mobile-ui body #searchSuggest .suggest-photo {
  border-radius:9px!important;
}
html body #searchSuggest .suggest-picked.selected,
html.rxde-mobile-ui body #searchSuggest .suggest-picked.selected {
  background:#e5f4fb!important;
  color:#205f82!important;
  border-top:1px solid #c4e3f2!important;
}

/* V3.13.95 — align search-action pointer hit zone with painted button.
   Legacy row-wide cursor defaults and positioned overlays must not mask actions. */
html body #searchSuggest .suggest-row { position:relative!important; }
html body #searchSuggest .suggest-side {
  position:relative!important;
  z-index:5!important;
  pointer-events:auto!important;
  transform:none!important;
}
html body #searchSuggest .suggest-side .suggest-add-zero,
html body #searchSuggest .suggest-side .suggest-stepper button {
  position:relative!important;
  z-index:6!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  transform:none!important;
}
html body #searchSuggest .suggest-side .suggest-add-zero:hover,
html body #searchSuggest .suggest-side .suggest-stepper button:hover {
  cursor:pointer!important;
  filter:brightness(1.06);
}
html body #searchSuggest .suggest-row::before,
html body #searchSuggest .suggest-row::after,
html body #searchSuggest .suggest-picked,
html body #searchSuggest .suggest-picked::before,
html body #searchSuggest .suggest-picked::after { pointer-events:none!important; }

/* V3.13.100 — always-visible order CTA and clear next-step guidance. */
html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit {
  display:flex!important;grid-column:1/-1!important;grid-row:auto!important;
  justify-self:center!important;align-items:center!important;justify-content:center!important;
  width:min(100%,420px)!important;min-width:0!important;min-height:46px!important;
  margin:3px auto 0!important;visibility:visible!important;
}
html body #orderSheet .sheet-footer .rxde-order-contact-guide {
  display:block;grid-column:1/-1!important;text-align:center;
  font:600 13px/1.35 system-ui,sans-serif;color:#486477;
  padding:3px 5px;margin:2px 0 0;
}
html body #orderSheet .sheet-footer .rxde-order-contact-guide[hidden]{display:none!important}
html body #orderSheet .rxde-mobile-contacts-title .rxde-contact-toggle-help {
  display:block;font:400 12px/1.3 system-ui,sans-serif;color:#668191;margin-top:3px;
}
html body #orderSheet.rxde-mobile-contacts-open .rxde-contact-toggle-help {display:none!important}
html body #orderSheet .sheet-footer {max-height:min(195px,35dvh)!important}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer {max-height:min(66dvh,670px)!important}
@media(max-width:760px){
  html body #orderSheet .sheet-footer {max-height:min(180px,31dvh)!important}
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer {max-height:66dvh!important}
}

/* V3.13.101: transient restored order message */
.rxde-restored-link-notice{position:fixed;z-index:2147480000;top:90px;left:50%;transform:translateX(-50%);width:min(94vw,540px);display:flex;flex-direction:column;gap:5px;padding:15px 47px 15px 17px;background:#f5fafc;border:1px solid #bdd9e7;border-radius:13px;box-shadow:0 8px 30px #132e4650;color:#24455b;font:14px/1.4 Arial,sans-serif}.rxde-restored-link-notice strong{font-size:15px}.rxde-restored-link-notice .rxde-restored-missing{color:#a04721}.rxde-restored-link-notice button{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:26px;color:#47657a;cursor:pointer}@media(max-width:600px){.rxde-restored-link-notice{top:62px}}


/* V3.13.102 — one compact contact/submit row, reserve height for products. */
html body #orderSheet .sheet-footer {
  grid-template-columns:minmax(0,1fr) auto!important;
  column-gap:9px!important;row-gap:5px!important;
  padding:6px 12px calc(7px + env(safe-area-inset-bottom,0px))!important;
  max-height:min(110px,28dvh)!important;
  overflow-x:hidden!important;
}
html body #orderSheet .sheet-footer .order-summary {
  grid-column:1/-1!important;grid-row:1!important;
  min-height:29px!important;
}
html body #orderSheet .sheet-footer #rxdeMobileContactsToggle {
  grid-column:1!important;grid-row:2!important;min-width:0!important;
  min-height:46px!important;height:46px!important;
  padding:5px 10px!important;justify-content:flex-start!important;
}
html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action {
  margin-left:auto!important;white-space:nowrap!important;
  font-size:12px!important;
}
html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit,
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit {
  display:flex!important;grid-column:2!important;grid-row:2!important;
  justify-self:end!important;align-self:stretch!important;
  width:clamp(154px,23vw,216px)!important;max-width:100%!important;
  min-width:0!important;min-height:46px!important;height:46px!important;
  margin:0!important;padding:5px 10px!important;
  font-size:13px!important;gap:6px!important;
}
html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit .rxde-parcel-mark{display:none!important}
html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit span:last-child{white-space:nowrap!important}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeInlineCheckout {
  grid-column:1/-1!important;grid-row:3!important;
}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer .rxde-inline-direct {
  grid-column:1/-1!important;grid-row:4!important;
}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer {max-height:min(66dvh,670px)!important}
html body #orderSheet .sheet-footer #rxdeOrderContactGuide{display:none!important}
@media (min-width:761px) {
  html body #orderLines .order-product-row.order-static-card {
    min-height:116px!important;
    padding-top:7px!important;padding-bottom:7px!important;
    margin-bottom:6px!important;
  }
  html body #orderLines .order-static-card > .order-product-info {
    padding-top:0!important;padding-bottom:29px!important;
  }
  html body #orderLines .order-static-card > .order-thumb {
    max-height:120px!important;
  }
}
@media (max-width:760px) {
  html body #orderSheet .sheet-footer {max-height:min(112px,27dvh)!important;column-gap:6px!important;padding-inline:7px!important}
  html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit,
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit {
    width:130px!important;font-size:12px!important;padding:5px 6px!important;
  }
  html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit span:last-child {font-size:12px!important}
  html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{font-size:11px!important}
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{max-height:66dvh!important}
}
@media (max-width:370px) {
  html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit,
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit{width:112px!important}
  html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action {display:none!important}
}

/* V3.13.103 — linear checkout: summary → contacts → fields → final action → separate email question */
html body #orderSheet .sheet-footer {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  gap:5px!important;
  padding:6px 12px calc(7px + env(safe-area-inset-bottom,0px))!important;
  max-height:min(174px,35dvh)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
html body #orderSheet .sheet-footer .order-summary{grid-column:1!important;grid-row:1!important;min-height:29px!important}
html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{
  grid-column:1!important;grid-row:2!important;width:100%!important;
  height:37px!important;min-height:37px!important;padding:5px 11px!important;
}
html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{margin-left:auto!important}
html body #orderSheet .sheet-footer #rxdeInlineCheckout{display:none!important}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeInlineCheckout{
  display:block!important;grid-column:1!important;grid-row:3!important;
  max-height:none!important;overflow:visible!important;
}
html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit,
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit{
  display:flex!important;grid-column:1!important;grid-row:4!important;
  width:min(100%,340px)!important;height:42px!important;min-height:42px!important;
  justify-self:center!important;align-self:center!important;
  margin:2px auto!important;padding:7px 15px!important;gap:7px!important;
}
html body #orderSheet .sheet-footer .rxde-inline-direct,
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer .rxde-inline-direct{
  display:block!important;grid-column:1!important;grid-row:5!important;
  justify-self:center!important;align-self:center!important;
  font-size:11px!important;line-height:1.2!important;color:#657d8c!important;
  text-decoration:underline!important;margin:0!important;padding:0 0 2px!important;
}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{
  max-height:min(66dvh,670px)!important;
}
html body #orderSheet .sheet-footer #rxdeOrderContactGuide{display:none!important}
html body #orderSheet .sheet-footer #rxdeInlineCheckout .rxde-contact-head{display:none!important}
html body #orderSheet .sheet-footer #rxdeInlineCheckout .rxde-contact-help{display:none!important}
@media(max-width:760px){
  html body #orderSheet .sheet-footer{max-height:min(174px,38dvh)!important;padding:6px 8px calc(7px + env(safe-area-inset-bottom,0px))!important}
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{max-height:66dvh!important}
  html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit,
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit{width:min(100%,310px)!important;height:40px!important;min-height:40px!important}
}


/* V3.13.104 — compact checkout entry, expanded final action */
html body #orderSheet .sheet-footer{
  grid-template-columns:minmax(0,1fr) minmax(170px,0.85fr)!important;
  column-gap:10px!important;row-gap:5px!important;
  max-height:min(118px,28dvh)!important;
}
html body #orderSheet .sheet-footer .order-summary{grid-column:1/-1!important;grid-row:1!important}
html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{
  grid-column:1!important;grid-row:2!important;width:100%!important;
  background:#287fae!important;color:#fff!important;border:1px solid #26769f!important;
  height:42px!important;min-height:42px!important;display:flex!important;
  justify-content:center!important;align-items:center!important;gap:8px!important;
  border-radius:11px!important;cursor:pointer!important;
}
html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-title{display:none!important}
html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{
  color:#fff!important;font-size:14px!important;font-weight:800!important;margin:0!important;
}
html body #orderSheet .sheet-footer #rxdeInlineCheckout{display:none!important}
html body #orderSheet .sheet-footer #submitOrder.rxde-inline-submit{display:none!important}
html body #orderSheet .sheet-footer .rxde-inline-direct,
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer .rxde-inline-direct{
 display:flex!important;grid-column:2!important;grid-row:2!important;
 text-align:center!important;align-items:center!important;justify-content:center!important;
 align-self:center!important;justify-self:stretch!important;
 font-size:12px!important;line-height:1.3!important;margin:0!important;
 color:#397b9f!important;text-decoration:underline!important;min-height:42px!important;
}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{
 grid-template-columns:minmax(0,1fr)!important;max-height:min(66dvh,670px)!important;
}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeMobileContactsToggle{
 grid-column:1!important;grid-row:2!important;background:#f1f7fa!important;
 color:#275776!important;border:1px solid #c6ddea!important;
 justify-content:space-between!important;height:33px!important;min-height:33px!important;
}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-title{display:inline!important;color:#275776!important;font-size:13px!important}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{color:#275776!important;font-size:12px!important}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeInlineCheckout{
 display:block!important;grid-column:1!important;grid-row:3!important;
}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit{
 display:flex!important;grid-column:1!important;grid-row:4!important;
 width:min(100%,340px)!important;height:42px!important;min-height:42px!important;
 justify-self:center!important;align-self:center!important;margin:2px auto!important;
}
html body #orderSheet.rxde-mobile-contacts-open .sheet-footer .rxde-inline-direct{
 grid-column:1!important;grid-row:5!important;min-height:23px!important;
}
@media(max-width:760px){
 html body #orderSheet .sheet-footer{grid-template-columns:minmax(0,1fr) minmax(120px,0.9fr)!important;max-height:min(116px,31dvh)!important;column-gap:6px!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{height:40px!important;min-height:40px!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{font-size:12px!important}
 html body #orderSheet .sheet-footer .rxde-inline-direct{font-size:11px!important}
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{grid-template-columns:minmax(0,1fr)!important;max-height:66dvh!important}
}

/* V3.13.107: visible product title links use previous button styling. */
.suggest-title-open.rxde-link,.r2-title-open.rxde-link{color:inherit;text-decoration:none}
.suggest-title-open[href],.r2-title-open[href]{text-decoration:none;color:inherit;cursor:pointer}

/* V3.13.112 — order-only expiry note and unmistakable linked titles */
html body #orderLines .order-title-open:hover,html body #orderLines .order-title-open:focus-visible{text-decoration:underline!important;text-underline-offset:3px!important;cursor:pointer!important}
html body #orderLines .rxde-expiry-tools{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:5px;font-size:11px;line-height:1.25}
html body #orderLines .rxde-expiry-toggle{appearance:none;border:0;background:transparent;color:#317eae;padding:2px 0;cursor:pointer;font:inherit;font-size:11px;text-decoration:underline;text-underline-offset:2px}
html body #orderLines .rxde-expiry-pill{color:#9d671a;font-weight:600;font-size:10px}
html body #orderLines .rxde-expiry-editor[hidden]{display:none!important}
html body #orderLines .rxde-expiry-editor{position:relative;z-index:2;background:#f7fafc;border:1px solid #d6e4ed;border-radius:9px;padding:9px;margin-top:5px;display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:11px}
html body #orderLines .rxde-expiry-editor label{white-space:nowrap;display:flex;gap:3px;align-items:center}
html body #orderLines .rxde-expiry-editor input[type=number]{width:58px}
html body #orderLines .rxde-expiry-editor input[type=month]{max-width:135px}
html body #orderLines .rxde-expiry-editor input:not([type=radio]){padding:4px;border:1px solid #b6cbd8;border-radius:5px}
html body #orderLines .rxde-expiry-editor button{border:1px solid #a9c5d6;border-radius:5px;padding:5px 9px;background:#fff;color:#246f9d;cursor:pointer}

html body #orderLines .order-product-row.rxde-expiry-open{position:relative!important;z-index:25!important;overflow:visible!important}
html body #orderLines .order-product-row.rxde-expiry-open .order-product-info{overflow:visible!important}
html body #orderLines .rxde-expiry-editor:not([hidden]){position:absolute!important;top:95%!important;left:8%!important;right:5%!important;width:auto!important;box-shadow:0 8px 22px #0002!important;z-index:30!important}
html body #orderLines .rxde-expiry-editor input[type=radio]{accent-color:#287da8}

/* V3.13.113 — expiry tooltip + linked order titles + quick search cart strip */
#orderSheet [data-order-title-open]:hover,#orderSheet [data-order-title-open]:focus-visible{text-decoration:underline!important;text-underline-offset:3px!important;cursor:pointer!important}
#orderSheet .rxde-expiry-toggle{color:#1677ac!important;cursor:pointer!important;text-decoration:underline!important;text-underline-offset:2px!important}
#orderSheet .rxde-expiry-toggle:hover,#orderSheet .rxde-expiry-toggle:focus-visible{color:#07547d!important;text-decoration-thickness:2px!important}
#orderSheet .rxde-expiry-explainer{width:100%;margin:0 0 5px;font:500 11px/1.4 system-ui,sans-serif;color:#506978}
#searchSuggest [data-suggest-picked]{cursor:pointer!important;pointer-events:auto!important}
#searchSuggest [data-suggest-picked]:hover{background:rgba(34,130,177,.14)!important;text-decoration:underline!important;text-underline-offset:2px!important}

/* V3.13.114: compact expiry requirement */
#orderSheet .rxde-expiry-editor{max-width:420px;align-items:center!important;gap:8px!important;}
#orderSheet .rxde-expiry-editor .rxde-expiry-explainer{width:100%;text-align:center!important;margin:0!important;font-weight:600!important;color:#35566c!important}
#orderSheet .rxde-expiry-editor label{white-space:normal!important;flex-wrap:wrap!important;gap:5px!important}
#orderSheet .rxde-expiry-editor .rxde-expiry-date-preview{font-size:11px;color:#396580;white-space:nowrap}
#orderSheet .rxde-expiry-editor .rxde-expiry-note{width:100%;font-size:10px;line-height:1.35;color:#71818c;margin:1px 0 0;text-align:center}
#orderSheet .rxde-expiry-editor input[data-expiry-months]{width:53px!important}

/* V3.13.115 — compact expiry popup centered */
#orderSheet .rxde-expiry-editor{flex-direction:column!important;justify-content:center!important;text-align:center!important;align-items:center!important;gap:7px!important;padding:13px!important;}
#orderSheet .rxde-expiry-editor .rxde-expiry-heading{width:100%;font:700 13px/1.4 system-ui,sans-serif;color:#264e68;text-align:center;margin:0 0 2px!important;}
#orderSheet .rxde-expiry-editor label{justify-content:center!important;align-items:center!important;text-align:center!important;width:100%!important;}
#orderSheet .rxde-expiry-editor .rxde-expiry-date-preview{text-align:center!important;width:100%!important;}
#orderSheet .rxde-expiry-editor>div:last-child{display:flex!important;justify-content:center!important;gap:7px!important;width:100%!important;}

/* V3.13.122: entire 2-line product title is one clickable hit area. */
html body #productList > article.r2-card .r2-title-open{cursor:pointer!important;display:block!important;height:32px!important;min-height:32px!important;align-self:stretch!important;pointer-events:auto!important}
html body #productList > article.r2-card .r2-title-open .r2-title-text{pointer-events:none!important}

/* V3.13.123: one centered, scrollable expiry dialog, not one popover per item */
.rxde-expiry-modal-backdrop{position:fixed!important;inset:0!important;z-index:2147483000!important;display:grid!important;place-items:center!important;padding:18px!important;background:rgba(22,43,58,.52)!important;box-sizing:border-box!important}
.rxde-expiry-modal-panel{position:relative!important;display:flex!important;flex-direction:column!important;gap:12px!important;width:min(480px,100%)!important;max-height:min(650px,calc(100dvh - 36px))!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:26px 22px 22px!important;border-radius:19px!important;background:#fff!important;box-shadow:0 22px 80px #091b2770!important;text-align:center!important;font-family:inherit!important;color:#264e68!important}
.rxde-expiry-modal-panel .rxde-expiry-heading{margin:0 22px 0 0;font-size:17px;font-weight:750;line-height:1.4}
.rxde-expiry-modal-panel .rxde-expiry-explainer{font-size:13px;line-height:1.55;margin:0;color:#455d69}
.rxde-expiry-modal-panel label{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;font-size:14px}
.rxde-expiry-modal-panel input{width:72px!important;padding:9px!important;border:1px solid #a9bfcc!important;border-radius:11px!important;text-align:center!important;font:inherit!important}
.rxde-expiry-modal-panel .rxde-expiry-date-preview{font-size:14px;line-height:1.4}
.rxde-expiry-modal-panel>div:last-child{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}
.rxde-expiry-modal-panel button[data-expiry-save],.rxde-expiry-modal-panel button[data-expiry-clear]{border:1px solid #b7cbd7;border-radius:10px;padding:10px 13px;background:#f6fbff;color:#236b9e;cursor:pointer}
.rxde-expiry-modal-panel button[data-expiry-save]{background:#267cbb;color:#fff;border-color:#267cbb}
.rxde-expiry-modal-close{position:absolute;right:13px;top:11px;border:0;background:none;font-size:25px;line-height:1;cursor:pointer;color:#627b86}
@media(max-width:550px){.rxde-expiry-modal-backdrop{padding:10px!important}.rxde-expiry-modal-panel{max-height:calc(100dvh - 20px)!important;padding:23px 15px 17px!important}}

/* V3.13.123: aircraft nose points along flight path on both directions */
#rx-flight-layer .order-plane-flight .flight-plane-core{transform:none!important;animation:none!important}
#rx-flight-layer .order-plane-flight.reverse-flight .flight-plane-core{transform:none!important;animation:none!important}


/* V3.13.125 — adaptive order sheet, only at mobile viewport widths.
   No content is clipped horizontally; the summary retains its approved controls. */
@media(max-width:760px){
 html,body{max-width:100%;overflow-x:clip}
 html body #orderSheet,html body .order-sheet{box-sizing:border-box!important;width:100vw!important;max-width:100vw!important;min-width:0!important;left:0!important;right:0!important;overflow-x:hidden!important}
 html body #orderSheet .sheet-header,html body #orderSheet .sheet-toolbar,html body #orderSheet .order-lines,html body #orderSheet #orderLines,html body #orderSheet .sheet-footer{box-sizing:border-box!important;max-width:100%!important;min-width:0!important}
 html body #orderLines .order-product-row.order-static-card{box-sizing:border-box!important;width:calc(100% - 10px)!important;max-width:calc(100% - 10px)!important;min-width:0!important;margin:5px!important;padding:10px 8px!important;display:grid!important;grid-template-columns:minmax(74px,26%) minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:8px!important;height:auto!important;min-height:0!important;overflow:hidden!important}
 html body #orderLines .order-static-card > .order-thumb{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:110px!important;min-width:0!important;height:120px!important;min-height:0!important;align-self:start!important}
 html body #orderLines .order-static-card > .order-product-info{grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;max-height:none!important;align-self:start!important;padding:0!important;overflow-wrap:anywhere!important}
 html body #orderLines .order-static-card > .order-product-info *{max-width:100%!important;overflow-wrap:anywhere}
 html body #orderLines .order-static-card > .order-unit-price{grid-column:1!important;grid-row:2!important;min-width:0!important;width:100%!important;align-self:center!important;justify-self:start!important}
 html body #orderLines .order-static-card > .order-qty.qty-stepper{grid-column:2!important;grid-row:2!important;position:relative!important;justify-self:center!important;align-self:center!important;width:min(136px,100%)!important;max-width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:0!important;z-index:3!important;pointer-events:auto!important}
 html body #orderLines .order-static-card > .order-qty.qty-stepper button{pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important}
 html body #orderLines .order-static-card > .order-line-total{grid-column:2!important;grid-row:2!important;justify-self:end!important;align-self:end!important;max-width:100%!important;min-width:0!important;margin:0!important;display:none!important}
 html body #orderLines .order-static-card > .compact-delete{grid-column:2!important;grid-row:1!important;justify-self:end!important;z-index:5!important}
 html body #orderSheet .sheet-footer{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;max-height:min(116px,27dvh)!important;overflow-x:hidden!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 html body #orderSheet .sheet-footer .order-summary{min-width:0!important;max-width:100%!important;overflow:hidden!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{min-width:0!important;max-width:100%!important}
 html body #orderSheet .sheet-footer .rxde-inline-direct{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
}
.rxde-share-overlay[hidden]{display:none!important}
.rxde-share-overlay{position:fixed;inset:0;z-index:2147483100;display:grid;place-items:center;background:rgba(10,32,45,.55);padding:12px;box-sizing:border-box}
.rxde-share-dialog{box-sizing:border-box;position:relative;width:min(520px,100%);max-height:calc(100dvh - 24px);overflow:auto;padding:24px 16px 16px;border-radius:18px;background:#fff;color:#203d4c;box-shadow:0 20px 50px #0018}
.rxde-share-dialog h2{font-size:18px;margin:0 28px 16px 0}.rxde-share-dialog textarea{display:block;box-sizing:border-box;width:100%;min-height:220px;max-height:45dvh;resize:vertical;overflow:auto;padding:14px;border:1px solid #c9d9e2;border-radius:10px;background:#f9fcfe;color:#263f4b;font:13px/1.55 system-ui,sans-serif;user-select:text}
.rxde-share-close{position:absolute;right:13px;top:10px;border:0;background:transparent;font-size:27px;color:#617c87;cursor:pointer}
.rxde-share-copy{margin-top:12px;padding:12px 16px;border:0;border-radius:10px;background:#2b82b7;color:white;font:600 14px system-ui,sans-serif;cursor:pointer}
.rxde-share-status{margin-top:9px;min-height:18px;font-size:12px;color:#275e53}
\n/* V3.13.126 – mobile cart: compact hierarchy, never clipped */
@media(max-width:760px){
 html body #orderSheet .sheet-header{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;padding:9px 10px!important;min-height:60px!important}
 html body #orderSheet .sheet-title-block{min-width:0!important;flex:1 1 auto!important}
 html body #orderSheet #orderTitle{font-size:15px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 html body #orderSheet .order-brand{transform:scale(.78);transform-origin:left center;margin-right:-11px!important}
 html body #orderSheet .rxde-header-tools{display:flex!important;flex:0 0 auto!important;gap:3px!important}
 html body #orderSheet .rxde-header-tools #addOrderProduct{font-size:0!important;min-width:32px!important;width:32px!important;overflow:hidden!important}
 html body #orderSheet .rxde-header-tools #addOrderProduct:after{content:'+';font-size:22px!important}
 html body #orderSheet .rxde-header-tools #clearOrder{min-width:32px!important;width:32px!important;padding:6px!important}
 html body #orderSheet .rxde-clear-label,html body #orderSheet .rxde-order-header-rate{display:none!important}
 html body #orderLines .order-product-row.order-static-card{grid-template-columns:72px minmax(0,1fr)!important;column-gap:10px!important;row-gap:7px!important;padding:9px!important;}
 html body #orderLines .order-static-card>.order-thumb{width:72px!important;height:80px!important;max-width:72px!important}
 html body #orderLines .order-static-card>.order-product-info{font-size:12px!important;line-height:1.25!important}
 html body #orderLines .order-title-line{display:flex!important;min-width:0!important;align-items:center!important;gap:4px!important;flex-wrap:wrap!important}
 html body #orderLines .order-title-open{font-size:14px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;flex:1 1 65%!important;text-align:left!important}
 html body #orderLines .order-static-card .rxde-expiry-toggle{font-size:11px!important;line-height:1.2!important}
 html body #orderLines .order-static-card>.order-unit-price{font-size:12px!important;margin-top:0!important;align-self:center!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper{width:152px!important;justify-self:end!important;height:40px!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper input{width:100%!important;text-align:center!important;font-size:16px!important;background:white!important;color:#153b53!important}
 html body #orderSheet .sheet-footer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;max-height:unset!important;min-height:100px!important;gap:4px!important;padding:7px 10px calc(9px + env(safe-area-inset-bottom))!important;overflow:visible!important}
 html body #orderSheet .sheet-footer .order-summary{grid-column:1/-1!important;grid-row:1!important;display:flex!important;justify-content:space-between!important;min-height:34px!important;align-items:center!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{grid-column:1/-1!important;grid-row:2!important;width:100%!important;height:43px!important;background:#2786ba!important;color:white!important;border-radius:11px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{font-size:15px!important;font-weight:700!important;color:white!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action:before{content:'Оформить заказ';font-size:15px!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{font-size:0!important}
 html body #orderSheet .sheet-footer .rxde-inline-direct{display:none!important}
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{position:relative!important;max-height:min(72dvh,600px)!important;overflow:auto!important;display:flex!important;flex-direction:column!important;}
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeInlineCheckout{display:block!important;order:3!important;max-height:min(44dvh,400px)!important;overflow:auto!important}
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit{display:block!important;order:4!important;width:100%!important}
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeMobileContactsToggle{order:2!important}
 html body #orderSheet .rxde-receipt-preview-trigger span{display:none!important}
 html body #orderSheet .rxde-receipt-preview-trigger,html body #orderSheet .rxde-receipt-icon-trigger{width:40px!important;height:36px!important;min-width:40px!important;border:1px solid #b6cbd5!important;border-radius:9px!important;background:#f8fcfe!important;display:inline-grid!important;place-items:center!important;padding:7px!important;cursor:pointer!important}
 html body #orderSheet .rxde-receipt-icon-trigger svg{width:20px;height:20px;fill:none;stroke:#2f6e8b;stroke-width:1.8}
 html body #orderSheet .rxde-total-actions{display:flex!important;align-items:center!important;gap:5px!important}
 .rxde-dhl-fixed{pointer-events:none!important}
}
#rxdeQuickShareToast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);padding:11px 18px;border-radius:12px;background:#233d4a;color:#fff;z-index:2147483600;opacity:0;pointer-events:none;transition:.18s ease;font-size:13px}
#rxdeQuickShareToast.visible{opacity:1;transform:translate(-50%,0)}

/* V3.13.127 — compact cart matches mini-card; receipt is a single control */
#orderSheet #viewOrderReceipt{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important;width:43px!important;min-width:43px!important;max-width:43px!important;height:42px!important;min-height:42px!important;padding:7px!important;border-radius:10px!important;cursor:pointer!important;touch-action:manipulation!important}
#orderSheet #viewOrderReceipt svg{width:24px!important;height:24px!important;display:block!important}
#orderSheet #viewOrderReceipt>span{display:none!important}
#orderSheet .rxde-receipt-icon-trigger{display:none!important}
#orderSheet .rxde-order-header-rate{display:inline-flex!important;align-items:center!important;white-space:nowrap!important;font-size:11px!important}
/* Per-item data is the same short set of lines as the catalogue. */
#orderSheet .order-static-card .product-text-links,#orderSheet .order-static-card .property-text-line{display:none!important}
@media(max-width:760px){
 html body #orderSheet .sheet-header{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:center!important;gap:3px 7px!important;padding:7px 10px!important}
 html body #orderSheet .sheet-header .order-brand{grid-column:1!important;grid-row:1!important;transform:scale(.76)!important}
 html body #orderSheet .sheet-header .sheet-title-block{grid-column:2!important;grid-row:1!important;min-width:0!important}
 html body #orderSheet .sheet-header .rxde-header-tools{grid-column:3!important;grid-row:1!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate{grid-column:1/3!important;grid-row:2!important;margin:0 0 0 5px!important;display:inline-flex!important;visibility:visible!important;font-size:12px!important;font-weight:700!important;color:#3f6677!important}
 html body #orderSheet .sheet-header .sheet-close{grid-column:3!important;grid-row:2!important;justify-self:end!important}
 html body #orderSheet .rxde-header-tools #addOrderProduct{width:37px!important;min-width:37px!important}
 html body #orderLines .order-product-row.order-static-card{grid-template-columns:74px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:5px 10px!important;padding:9px!important}
 html body #orderLines .order-static-card>.order-thumb{height:81px!important;max-width:74px!important}
 html body #orderLines .order-static-card .copyable-product-core{font-size:11.5px!important;line-height:1.22!important;display:grid!important;gap:1px!important}
 html body #orderLines .order-static-card .rxde-expiry-tools{margin:4px 0 0!important}
 html body #orderLines .order-static-card .rxde-expiry-toggle{font-size:11px!important;line-height:1.3!important;max-width:100%!important;white-space:normal!important;text-align:left!important}
 html body #orderLines .order-static-card>.order-unit-price{grid-column:1!important;grid-row:2!important;align-self:center!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper{grid-column:2!important;grid-row:2!important;width:min(150px,100%)!important;height:40px!important;justify-self:end!important}
 html body #orderSheet .sheet-footer{min-height:0!important;gap:5px!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;padding:6px 9px calc(7px + env(safe-area-inset-bottom))!important}
 html body #orderSheet .sheet-footer .order-summary{grid-column:1!important;grid-row:1!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:6px!important;min-width:0!important;width:100%!important;overflow:visible!important}
 html body #orderSheet .sheet-footer .rxde-total-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-width:0!important}
 html body #orderSheet .sheet-footer #orderTotalRub{font-size:clamp(21px,6.5vw,31px)!important;line-height:1.1!important;white-space:nowrap!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{grid-column:1!important;grid-row:2!important;display:flex!important;width:100%!important;min-height:49px!important;height:49px!important;background:#2786ba!important;color:white!important;align-items:center!important;justify-content:center!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action:before{content:none!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{display:inline-flex!important;visibility:visible!important;font-size:16px!important;font-weight:800!important;color:white!important;opacity:1!important;background:transparent!important;padding:0!important;line-height:1.2!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-title{display:none!important}
 /* Keep the existing mobile contacts logic, but restore meaningful label. */
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{font-size:16px!important}
}

/* V3.13.128 — mobile order panel layout: single authoritative end-of-file override. */
@media(max-width:760px){
 html body #orderSheet .sheet-header.rxde-order-compact-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:5px 7px!important;align-items:center!important;padding:10px 12px 8px!important;min-height:0!important;box-sizing:border-box!important;overflow:visible!important}
 html body #orderSheet .sheet-header .sheet-header-left{grid-column:1!important;grid-row:1!important;display:flex!important;min-width:0!important;gap:7px!important;align-items:center!important;width:auto!important;max-width:100%!important}
 html body #orderSheet .sheet-header .order-brand{transform:none!important;flex:0 0 auto!important;grid-column:auto!important;grid-row:auto!important}
 html body #orderSheet .sheet-header .sheet-title-block{min-width:0!important;max-width:100%!important;grid-column:auto!important;grid-row:auto!important}
 html body #orderSheet .sheet-header #orderTitle{font-size:clamp(15px,4.5vw,20px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important}
 html body #orderSheet .sheet-header .rxde-header-tools{grid-column:2!important;grid-row:1!important;display:flex!important;gap:4px!important;min-width:0!important;align-items:center!important;justify-self:end!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate{grid-column:1!important;grid-row:2!important;margin:0!important;white-space:nowrap!important;display:inline-flex!important;visibility:visible!important;align-items:center!important;font-size:12px!important;gap:4px!important;min-width:0!important}
 html body #orderSheet .sheet-header .sheet-close{grid-column:2!important;grid-row:2!important;justify-self:end!important;width:32px!important;height:32px!important;padding:0!important;min-width:32px!important}
 html body #orderSheet .sheet-header .rxde-header-tools #addOrderProduct{width:35px!important;min-width:35px!important;font-size:0!important;overflow:hidden!important}
 html body #orderSheet .sheet-header .rxde-header-tools #addOrderProduct:after{content:'+'!important;font-size:19px!important}
 html body #orderSheet .sheet-header .rxde-header-tools #clearOrder{width:35px!important;min-width:35px!important;height:35px!important}
 html body #orderSheet .sheet-header .order-header-status{display:none!important}
 html body #orderLines .order-product-row.order-static-card{display:grid!important;grid-template-columns:72px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;column-gap:9px!important;row-gap:6px!important;min-height:0!important;padding:9px!important;align-items:start!important;box-sizing:border-box!important;overflow:hidden!important}
 html body #orderLines .order-static-card>.order-thumb{grid-column:1!important;grid-row:1!important;width:72px!important;height:82px!important;max-width:72px!important;margin:0!important}
 html body #orderLines .order-static-card>.order-product-info{grid-column:2/4!important;grid-row:1!important;min-width:0!important;width:100%!important;padding:0!important;margin:0!important}
 html body #orderLines .order-static-card>.order-unit-price{grid-column:1!important;grid-row:2!important;display:flex!important;flex-direction:column!important;align-self:center!important;justify-self:start!important;min-width:0!important;max-width:100%!important;margin:0!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper{grid-column:2!important;grid-row:2!important;width:min(136px,100%)!important;min-width:0!important;align-self:center!important;justify-self:end!important;height:38px!important;margin:0!important;display:flex!important;overflow:hidden!important;border-radius:9px!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper>input{min-width:0!important;flex:1 1 30px!important;max-width:42px!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper>button{min-width:34px!important;flex:1 0 34px!important;height:100%!important}
 html body #orderLines .order-static-card>.order-line-total{grid-column:3!important;grid-row:2!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-self:end!important;align-self:center!important;min-width:0!important;width:auto!important;max-width:100%!important;margin:0!important;text-align:right!important;white-space:nowrap!important}
 html body #orderLines .order-static-card>.order-line-total strong{font-size:12px!important;line-height:1.2!important}
 html body #orderLines .order-static-card>.order-line-total span{font-size:10px!important;line-height:1.3!important}
 html body #orderSheet .sheet-footer{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;gap:5px!important;padding:7px 10px calc(7px + env(safe-area-inset-bottom))!important;max-height:none!important;overflow:visible!important}
 html body #orderSheet .sheet-footer .order-summary{display:flex!important;grid-column:1!important;grid-row:1!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;min-height:39px!important;width:100%!important;min-width:0!important}
 html body #orderSheet .sheet-footer #orderPositions{flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important;font-size:12px!important}
 html body #orderSheet .sheet-footer .rxde-total-actions{display:flex!important;align-items:center!important;flex:0 0 auto!important;gap:8px!important;min-width:0!important}
 html body #orderSheet .sheet-footer #viewOrderReceipt{width:37px!important;min-width:37px!important;height:36px!important;min-height:36px!important;padding:6px!important}
 html body #orderSheet .sheet-footer #orderTotalRub{font-size:clamp(19px,6vw,26px)!important;white-space:nowrap!important;line-height:1.1!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{grid-column:1!important;grid-row:2!important;width:100%!important;min-height:44px!important;height:44px!important;margin:0!important}
 html body #orderSheet .sheet-footer .order-footer-note{display:none!important}
}
@media(max-width:390px){
 html body #orderLines .order-product-row.order-static-card{grid-template-columns:62px minmax(0,1fr) auto!important;gap:5px!important;padding:7px!important}
 html body #orderLines .order-static-card>.order-thumb{width:62px!important;max-width:62px!important;height:74px!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper{width:108px!important}
 html body #orderLines .order-static-card>.order-line-total strong{font-size:11px!important}
}

/* V3.13.129 — mobile order: intrinsic sizing, no new features or handler changes.
   The blue catalogue total badge remains clickable and jumps to this order line. */
@media(max-width:760px){
 html body #orderSheet .sheet-header.rxde-order-compact-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:4px 6px!important;padding:8px 9px!important;max-width:100%!important;overflow:hidden!important}
 html body #orderSheet .sheet-header .sheet-header-left{grid-column:1!important;grid-row:1!important;min-width:0!important;gap:5px!important}
 html body #orderSheet .sheet-header .order-brand{transform:scale(.72)!important;transform-origin:left center!important;margin-right:-13px!important}
 html body #orderSheet .sheet-header #orderTitle{font-size:clamp(13px,4.1vw,17px)!important;white-space:nowrap!important}
 html body #orderSheet .sheet-header .rxde-header-tools{grid-column:2!important;grid-row:1!important;min-width:0!important;gap:3px!important}
 html body #orderSheet .sheet-header .rxde-header-tools #addOrderProduct{width:33px!important;min-width:33px!important;max-width:33px!important;height:36px!important;padding:0!important}
 html body #orderSheet .sheet-header .rxde-header-tools #clearOrder{width:33px!important;min-width:33px!important;height:36px!important;padding:3px!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate{grid-column:1!important;grid-row:2!important;font-size:12px!important;line-height:1.1!important;min-height:23px!important}
 html body #orderSheet .sheet-header .sheet-close{grid-column:2!important;grid-row:2!important;min-height:28px!important;width:30px!important;height:30px!important}
 html body #orderLines .order-product-row.order-static-card{display:grid!important;grid-template-columns:66px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:5px 8px!important;padding:9px!important;overflow:visible!important;min-width:0!important}
 html body #orderLines .order-static-card>.order-thumb{grid-column:1!important;grid-row:1!important;width:66px!important;max-width:66px!important;height:75px!important;min-height:0!important}
 html body #orderLines .order-static-card>.order-product-info{grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
 html body #orderLines .order-static-card .copyable-product-core{font-size:11px!important;line-height:1.16!important;gap:0!important}
 html body #orderLines .order-static-card .rxde-expiry-tools{margin-top:3px!important}
 html body #orderLines .order-static-card .rxde-expiry-toggle{font-size:11px!important;line-height:1.2!important}
 html body #orderLines .order-static-card>.order-unit-price{grid-column:1!important;grid-row:2!important;min-width:0!important;margin:0!important;justify-self:start!important;align-self:center!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper{grid-column:2!important;grid-row:2!important;width:126px!important;height:37px!important;justify-self:end!important;align-self:center!important;margin:0!important;padding:0!important;display:flex!important;align-items:stretch!important;gap:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #a9c5d5!important;border-radius:9px!important;box-sizing:border-box!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper>button,html body #orderLines .order-static-card>.order-qty.qty-stepper>input{height:100%!important;min-height:0!important;margin:0!important;box-sizing:border-box!important;border-radius:0!important;vertical-align:top!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper>button{flex:1 1 38px!important;min-width:32px!important;padding:0!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper>input{flex:0 1 43px!important;min-width:25px!important;max-width:43px!important;padding:0!important}
 html body #orderLines .order-static-card>.order-line-total{grid-column:2!important;grid-row:3!important;justify-self:end!important;align-self:center!important;display:flex!important;font-size:10px!important;gap:4px!important}
 html body #orderSheet .sheet-footer{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:5px!important;padding:7px 9px calc(8px + env(safe-area-inset-bottom))!important;min-width:0!important;box-sizing:border-box!important}
 html body #orderSheet .sheet-footer .order-summary{grid-column:1!important;grid-row:1!important;display:flex!important;flex-wrap:nowrap!important;gap:5px!important;justify-content:space-between!important;align-items:center!important;min-width:0!important;min-height:37px!important}
 html body #orderSheet .sheet-footer #orderPositions{font-size:11px!important;white-space:nowrap!important;flex:0 1 auto!important}
 html body #orderSheet .sheet-footer .rxde-total-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:5px!important}
 html body #orderSheet .sheet-footer #viewOrderReceipt{width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;padding:6px!important}
 html body #orderSheet .sheet-footer #orderTotalRub{font-size:clamp(18px,5.6vw,25px)!important;line-height:1!important;white-space:nowrap!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{grid-column:1!important;grid-row:2!important;min-height:42px!important;height:42px!important;margin:0!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{font-size:15px!important}
}
@media(min-width:390px) and (max-width:760px){
 html body #orderLines .order-product-row.order-static-card{grid-template-columns:77px minmax(0,1fr)!important}
 html body #orderLines .order-static-card>.order-thumb{width:77px!important;max-width:77px!important;height:82px!important}
}

/* V3.13.130 — mobile cart single-row layout and safe drag handle.
   Fixed geometry; no changes to order submission, quantities or pricing. */
@media(max-width:760px){
 html body #orderSheet .sheet-header.rxde-order-compact-header{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;min-height:52px!important;padding:5px 7px!important;overflow:visible!important}
 html body #orderSheet .sheet-header .sheet-header-left{display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;gap:1px!important;margin:0!important}
 html body #orderSheet .sheet-header .order-brand{transform:scale(.62)!important;transform-origin:left center!important;margin-right:-23px!important;flex:0 0 66px!important}
 html body #orderSheet .sheet-header .sheet-title-block{min-width:0!important;flex:1 1 auto!important}
 html body #orderSheet .sheet-header #orderTitle{font-size:clamp(13px,3.5vw,17px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate{display:inline-flex!important;position:static!important;grid-column:auto!important;grid-row:auto!important;flex:0 0 auto!important;order:1!important;margin:0!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important;min-width:0!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate b{font-size:11px!important}
 html body #orderSheet .sheet-header .rxde-header-tools{display:flex!important;position:static!important;grid-column:auto!important;grid-row:auto!important;flex:0 0 auto!important;order:2!important;gap:2px!important;margin:0!important}
 html body #orderSheet .sheet-header .rxde-header-tools #addOrderProduct,html body #orderSheet .sheet-header .rxde-header-tools #clearOrder{width:29px!important;min-width:29px!important;max-width:29px!important;height:32px!important;min-height:32px!important}
 html body #orderSheet .sheet-header .sheet-close{display:grid!important;grid-column:auto!important;grid-row:auto!important;position:static!important;order:3!important;flex:0 0 26px!important;min-width:26px!important;width:26px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:0!important}
 html body #orderLines .order-product-row.order-static-card{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:7px!important;row-gap:5px!important;padding:7px!important;min-height:0!important;align-items:start!important}
 html body #orderLines .order-static-card>.order-thumb{grid-column:1!important;grid-row:1!important;width:64px!important;max-width:64px!important;height:70px!important;min-height:0!important}
 html body #orderLines .order-static-card>.order-product-info{grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
 html body #orderLines .order-static-card .copyable-product-core{line-height:1.12!important;gap:0!important;font-size:10.5px!important}
 html body #orderLines .order-static-card .rxde-expiry-tools{margin-top:2px!important}
 html body #orderLines .order-static-card .rxde-expiry-toggle{font-size:10.5px!important;line-height:1.2!important}
 html body #orderLines .order-static-card>.order-unit-price{grid-column:1!important;grid-row:2!important;display:flex!important;flex-direction:column!important;align-self:center!important;justify-self:start!important;white-space:nowrap!important;margin:0!important;min-width:0!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper{grid-column:2!important;grid-row:2!important;justify-self:center!important;align-self:center!important;width:120px!important;height:37px!important;min-width:0!important;margin:0!important;min-height:0!important}
 html body #orderLines .order-static-card>.order-line-total{grid-column:2!important;grid-row:2!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-self:end!important;align-self:center!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;white-space:nowrap!important}
 html body #orderLines .order-static-card>.order-line-total strong{font-size:11px!important;line-height:1.15!important}
 html body #orderLines .order-static-card>.order-line-total span{font-size:9px!important}
 html body #orderLines .order-static-card>.order-qty.qty-stepper>button,html body #orderLines .order-static-card>.order-qty.qty-stepper>input{height:100%!important;box-sizing:border-box!important;margin:0!important;padding:0!important}
 html body #orderLines .order-static-card .order-num-badge{touch-action:none!important;user-select:none!important;-webkit-user-select:none!important;cursor:grab!important}
 html body #orderLines .order-static-card .order-num-badge:active{cursor:grabbing!important}
 html body #orderSheet .sheet-footer .order-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;width:100%!important;align-items:center!important;gap:6px!important}
 html body #orderSheet .sheet-footer .rxde-total-actions{justify-self:end!important;justify-content:flex-end!important;min-width:0!important}
 html body #orderSheet .sheet-footer #orderTotalRub{text-align:right!important;font-size:clamp(20px,5.5vw,28px)!important}
}
@media(max-width:390px){html body #orderLines .order-static-card>.order-qty.qty-stepper{width:104px!important}html body #orderLines .order-static-card>.order-line-total strong{font-size:10px!important}}


/* V3.13.131: mobile order composition. All rules scoped to order sheet only. */
@media (max-width:760px){
 #orderSheet .sheet-header.rxde-order-compact-header{display:flex!important;flex-flow:row nowrap!important;min-height:52px!important;max-height:62px!important;padding:5px 7px!important;align-items:center!important;gap:3px!important}
 #orderSheet .sheet-header .sheet-header-left{flex:1 1 auto!important;min-width:0!important;gap:0!important}
 #orderSheet .sheet-header .order-brand{flex:0 0 62px!important;min-width:62px!important;margin-right:-22px!important}
 #orderSheet .sheet-header #orderTitle{font-size:clamp(12px,3.6vw,17px)!important;min-width:0!important;white-space:nowrap!important}
 #orderSheet .sheet-header .rxde-order-header-rate{display:inline-flex!important;flex:0 0 auto!important;gap:2px!important;visibility:visible!important;opacity:1!important;font-size:0!important;overflow:visible!important;white-space:nowrap!important;color:#456472!important}
 #orderSheet .sheet-header .rxde-order-header-rate::before{content:'€';font-size:11px!important}
 #orderSheet .sheet-header .rxde-order-header-rate b{display:inline!important;visibility:visible!important;opacity:1!important;font-size:12px!important;font-variant-numeric:tabular-nums!important;color:#25475a!important;min-width:0!important}
 #orderSheet .sheet-header .rxde-order-header-rate::after{content:'₽';font-size:11px!important}
 #orderSheet .sheet-header .rxde-header-tools{flex:0 0 auto!important;gap:2px!important}
 #orderSheet .sheet-header .rxde-header-tools #addOrderProduct,#orderSheet .sheet-header .rxde-header-tools #clearOrder{width:29px!important;min-width:29px!important;height:34px!important}
 #orderSheet .sheet-header .sheet-close{flex:0 0 24px!important;width:24px!important;min-width:24px!important}
 #orderSheet .order-product-row.order-static-card{grid-template-columns:66px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:8px!important;row-gap:8px!important;padding:9px 9px 10px!important;position:relative!important;isolation:isolate}
 #orderLines .order-static-card>.order-thumb{grid-column:1!important;grid-row:1!important;width:66px!important;height:82px!important;position:relative!important;overflow:visible!important}
 #orderLines .order-static-card>.order-product-info{grid-column:2!important;grid-row:1!important;min-width:0!important;padding-right:20px!important}
 #orderLines .order-static-card .order-title-line{display:block!important;min-width:0!important;position:static!important;padding-right:0!important}
 #orderLines .order-static-card .order-title-line .order-expand-title{display:inline!important;white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important}
 #orderLines .order-static-card .order-family-search{position:absolute!important;top:91px!important;left:15px!important;width:35px!important;height:35px!important;min-width:35px!important;border-radius:50%!important;z-index:2!important;margin:0!important;transform:none!important}
 #orderLines .order-static-card .order-family-search svg{max-width:18px!important}
 #orderLines .order-static-card .rx-badge{display:inline-flex!important;vertical-align:middle!important;margin-left:3px!important}
 #orderLines .order-static-card .compact-delete{position:absolute!important;right:11px!important;top:12px!important;z-index:3!important}
 #orderLines .order-static-card .copyable-product-core{font-size:11px!important;line-height:1.18!important;margin-top:6px!important}
 #orderLines .order-static-card .rxde-expiry-tools{margin-top:5px!important}
 #orderLines .order-static-card .rxde-expiry-toggle{font-size:11px!important;line-height:1.25!important}
 #orderLines .order-static-card>.order-unit-price{grid-column:1!important;grid-row:2!important;justify-self:start!important;align-self:center!important;min-width:0!important;margin:0!important}
 #orderLines .order-static-card>.order-qty.qty-stepper{grid-column:2!important;grid-row:2!important;width:119px!important;min-width:0!important;justify-self:center!important;align-self:center!important;height:39px!important;margin:0!important}
 #orderLines .order-static-card>.order-line-total{grid-column:2!important;grid-row:2!important;justify-self:end!important;align-self:center!important;min-width:0!important;align-items:flex-end!important;margin:0!important}
 #orderLines .order-static-card>.order-line-total strong{font-size:clamp(10px,3.15vw,14px)!important;white-space:nowrap!important}
 #orderLines .order-static-card>.order-line-total span{font-size:10px!important}
 #orderSheet .sheet-footer .order-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;align-items:center!important;min-height:38px!important}
 #orderSheet .sheet-footer #orderPositions{justify-self:start!important}
 #orderSheet .sheet-footer .rxde-total-actions{display:inline-flex!important;justify-self:end!important;justify-content:flex-end!important;align-items:center!important;gap:5px!important;width:auto!important;margin-left:auto!important}
 #orderSheet .sheet-footer #orderTotalRub{display:block!important;margin-left:auto!important;text-align:right!important;white-space:nowrap!important;font-size:clamp(20px,5.3vw,28px)!important}
 #orderSheet .rxde-dhl-fixed{position:static!important;transform:none!important;max-width:max-content!important;width:max-content!important;margin:4px auto 0!important;box-shadow:none!important;pointer-events:none!important;z-index:1!important}
 #orderSheet .rxde-order-list-area{display:flex!important;flex-direction:column!important;min-height:0!important}
 #orderSheet #orderLines{order:1!important;flex:1 1 auto!important;min-height:0!important}
 #orderSheet #rxdeDhlFixed{order:2!important;flex:0 0 auto!important}
 .rxde-drag-ghost{position:fixed!important;z-index:30000!important;pointer-events:none!important;opacity:.92!important;box-shadow:0 16px 40px rgba(29,69,87,.24)!important;border:2px solid #3189bd!important;transform:scale(.98)!important;transition:none!important;max-height:180px!important;overflow:hidden!important;border-radius:14px!important;background:#fff!important}
 #orderLines .order-product-row.rxde-drag-source{opacity:.35!important}
 #orderLines .order-product-row.drag-target{outline:3px dashed #3189bd!important;outline-offset:-4px!important;background:#f0faff!important}
}
@media(max-width:390px){#orderLines .order-static-card>.order-qty.qty-stepper{width:105px!important}#orderLines .order-static-card>.order-line-total strong{font-size:10px!important}}
/* On both desktop and mobile put secondary contact action to left and primary checkout action to right. */
#orderSheet .sheet-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;gap:8px!important}
#orderSheet .sheet-footer .order-summary{grid-column:1/-1!important}
#orderSheet .sheet-footer #rxdeMobileContactsToggle{grid-column:1!important;grid-row:2!important;min-width:0!important;justify-self:stretch!important}
#orderSheet .sheet-footer #submitOrder{grid-column:2!important;grid-row:2!important;min-width:0!important;justify-self:stretch!important;display:flex!important;align-items:center!important;justify-content:center!important}
@media(max-width:760px){#orderSheet .sheet-footer{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important}#orderSheet .sheet-footer #rxdeMobileContactsToggle,#orderSheet .sheet-footer #submitOrder{min-height:44px!important;height:44px!important;margin:0!important;grid-row:2!important}#orderSheet .sheet-footer #rxdeMobileContactsToggle{grid-column:1!important}#orderSheet .sheet-footer #submitOrder{grid-column:2!important;font-size:clamp(12px,3.3vw,16px)!important}}

/* V3.13.132 — remove mobile cart title spacer; tidy icon and right alignment. */
@media(max-width:760px){
 html body #orderLines .order-static-card>.order-product-info{display:flex!important;flex-direction:column!important;gap:0!important;align-self:start!important;padding-right:22px!important}
 html body #orderLines .order-static-card .order-title-line{display:block!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;line-height:1.17!important}
 html body #orderLines .order-static-card .order-title-line .order-expand-title{display:inline!important;vertical-align:baseline!important;margin:0!important;padding:0!important;line-height:1.17!important;min-height:0!important;height:auto!important}
 html body #orderLines .order-static-card .copyable-product-core{margin:2px 0 0!important;padding:0!important;min-height:0!important;line-height:1.15!important;display:grid!important;gap:0!important}
 html body #orderLines .order-static-card .rxde-expiry-tools{margin:3px 0 0!important;padding:0!important;min-height:0!important}
 html body #orderLines .order-static-card .rxde-cart-rx-text{display:inline!important;margin-left:4px!important;font-size:11px!important;font-weight:700!important;white-space:nowrap!important;color:#b84c52!important;vertical-align:baseline!important}
 html body #orderLines .order-static-card .order-family-search{position:absolute!important;left:22px!important;top:95px!important;width:29px!important;height:29px!important;min-width:29px!important;margin:0!important;z-index:2!important;transform:none!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate{font-size:11px!important;display:inline-flex!important;white-space:nowrap!important;gap:3px!important;align-items:center!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate::before,html body #orderSheet .sheet-header .rxde-order-header-rate::after{content:none!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate b{display:inline!important;font-size:12px!important;visibility:visible!important;opacity:1!important}
 html body #orderSheet .sheet-footer .order-summary{display:flex!important;justify-content:space-between!important;min-width:0!important;width:100%!important}
 html body #orderSheet .sheet-footer .rxde-total-actions{display:flex!important;flex:1 1 auto!important;justify-content:flex-end!important;margin-left:auto!important;min-width:0!important}
 html body #orderSheet .sheet-footer #orderTotalRub{margin-left:auto!important;text-align:right!important;justify-self:end!important}
 html body #orderSheet .sheet-footer #submitOrder{grid-column:2!important;justify-self:stretch!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{grid-column:1!important;justify-self:stretch!important}
}


/* RXDE V3.13.133 — graphite-paper header. Functional controls, prices, search unchanged. */
@media(min-width:761px){
 html body #appHeader .notebook-head{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;min-height:83px!important;max-height:90px!important;box-sizing:border-box!important;gap:clamp(8px,1vw,18px)!important;padding:8px 16px!important;background:repeating-linear-gradient(165deg,#f9f9f8 0,#f9f9f8 6px,#eeeef0 7px,#fafaf9 9px)!important;border-bottom:1px solid #a8aaac!important}
 html body #appHeader .brand-cluster{min-width:194px!important;flex:0 1 285px!important}
 html body #appHeader .brand-copy span{font-size:10px!important;line-height:1.35!important}
 html body #appHeader .brand-copy strong{font-size:12px!important}
 html body #appHeader .status-cluster{min-width:160px!important;flex:0 0 auto!important;gap:9px!important}
 html body #appHeader .status-cluster .rate-stack,html body #appHeader .status-cluster .flip-date{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(100%)!important;pointer-events:none!important}
 html body #appHeader .desktop-order-dock{border:1.5px solid #207e51!important;background:linear-gradient(170deg,#f1faef,#e0f4e4)!important;box-shadow:2px 3px 0 #bdc5b9!important;color:#174d30!important;transform:rotate(.35deg)!important}
}
.rxde-pencil-slogan{flex:0 1 190px;min-width:0;color:#343638;font-family:'Segoe Print','Comic Sans MS',cursive;font-style:italic;font-size:clamp(13px,1.15vw,18px);font-weight:700;line-height:1.1;transform:rotate(-5deg);white-space:nowrap;position:relative}
.rxde-pencil-slogan span{border-bottom:2px solid rgba(190,62,61,.7)}
.rxde-pencil-slogan i{display:inline-block;position:absolute;right:2px;bottom:-7px;font-family:Georgia,serif;font-style:normal;transform:rotate(-38deg);font-size:25px;color:#555}
.rxde-pencil-planner{flex:1 1 360px;min-width:265px;max-width:440px;position:relative;padding:18px 9px 5px;margin-top:8px;border:1.6px solid #606267;border-radius:9px 10px 5px 6px;background:repeating-linear-gradient(170deg,rgba(255,255,255,.9) 0,rgba(255,255,255,.9) 4px,rgba(135,135,135,.065) 5px);box-shadow:2px 2px 0 #bbb,4px 4px 0 #ddd;transform:rotate(-.6deg)}
.rxde-planner-rings{position:absolute;left:6px;right:6px;top:-11px;height:20px;display:flex;justify-content:space-around;pointer-events:none}
.rxde-planner-rings i{display:block;width:10px;height:21px;border:2.3px solid #505359;border-radius:7px;background:transparent;box-shadow:1px 1px 0 #999}
.rxde-planner-data{display:grid;grid-template-columns:1.25fr .95fr 1fr 1.12fr;align-items:center;text-align:center}
.rxde-planner-cell{display:flex;flex-direction:column;min-width:0;gap:3px;padding:0 3px;border-right:1px solid #c1c2c5}
.rxde-planner-cell:last-child{border:0}
.rxde-planner-cell small{font-size:10px;color:#50565b;font-weight:650;white-space:nowrap}
.rxde-planner-cell b{font-size:clamp(11px,1vw,14px);font-weight:800;font-variant-numeric:tabular-nums;color:#203440;white-space:nowrap}
.rxde-mobile-paper-strip{display:none}
@media(min-width:761px) and (max-width:1200px){.rxde-pencil-slogan{display:none!important}.rxde-pencil-planner{flex-basis:305px;min-width:245px}html body #appHeader .brand-cluster{flex-basis:230px!important}}
@media(max-width:760px){
 html.rxde-mobile-ui #appHeader .rxde-pencil-slogan,html.rxde-mobile-ui #appHeader .rxde-pencil-planner{display:none!important}
 html.rxde-mobile-ui .rxde-mobile-paper-strip{display:grid!important;grid-template-columns:1.12fr .78fr .8fr .91fr;gap:0;align-items:center;margin:3px 5px 7px;padding:8px 4px 5px;min-height:30px;border:1px solid #8a8d8e;border-radius:4px 7px 5px 6px;box-shadow:1px 2px 0 #d7d7d7;background:repeating-linear-gradient(165deg,#fff 0,#fff 6px,#f1f1f1 7px);position:relative;box-sizing:border-box}
 html.rxde-mobile-ui .rxde-mobile-paper-strip::before{content:'∩    ∩    ∩    ∩    ∩    ∩';position:absolute;top:-10px;left:7%;right:7%;text-align:center;word-spacing:15px;color:#555;font-size:16px;line-height:13px;pointer-events:none}
 html.rxde-mobile-ui .rxde-mobile-paper-strip .rxde-mini-paper{display:flex;justify-content:center;align-items:center;gap:3px;padding:0 3px;min-width:0;border-right:1px solid #b7c0c3;color:#41515b;font-size:clamp(8px,2.4vw,11px);white-space:nowrap}
 html.rxde-mobile-ui .rxde-mini-paper:last-child{border:0}
 html.rxde-mobile-ui .rxde-mini-paper b{font-variant-numeric:tabular-nums;color:#1b3644;font-weight:800;font-size:clamp(9px,2.65vw,12px)}
}
@media(max-width:350px){html.rxde-mobile-ui .rxde-mobile-paper-strip .rxde-mini-paper{font-size:8px!important;gap:2px;padding-inline:1px!important}html.rxde-mobile-ui .rxde-mini-paper b{font-size:9px!important}}

/* V3.13.134: Desktop graphite approved; mobile graphite calendar NOT approved. */
@media(max-width:760px){html body .rxde-mobile-paper-strip{display:none!important}}


/* V3.13.135: one handwritten slogan, compact illustrated desk header. */
@media(min-width:761px){
html body #appHeader .notebook-head{background:#faf9f6 url("graphite-paper.svg") center / 100% 100% no-repeat!important;gap:clamp(8px,1.2vw,18px)!important;overflow:visible!important}
html body #appHeader .brand-cluster{flex:1 1 325px!important;min-width:250px!important;max-width:410px!important;align-items:center!important}
html body #appHeader .brand-copy{min-width:0!important;overflow:visible!important}
html body #appHeader .brand-copy strong{font-size:clamp(12px,1.02vw,15px)!important;color:#202d32!important}
html body #appHeader .brand-copy span{display:block!important;white-space:normal!important;max-width:320px!important;font-family:"Segoe Print","Comic Sans MS",cursive!important;font-style:italic!important;font-weight:600!important;font-size:clamp(10px,.86vw,12.5px)!important;line-height:1.33!important;color:#4a4b4c!important;transform:rotate(-2.3deg);transform-origin:top left;letter-spacing:-.26px;text-shadow:.3px .4px rgba(36,39,40,.34)}
html body #appHeader .rxde-pencil-slogan{display:none!important}
html body #appHeader .rxde-pencil-planner{flex:1 1 410px!important;min-width:320px!important;max-width:465px!important;margin-top:7px!important;padding:21px 12px 9px!important;background:#faf9f6 url("graphite-planner.svg") center / 100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:2px 3px 0 rgba(80,80,80,.11)!important;transform:rotate(-.7deg)!important;isolation:isolate}
html body #appHeader .rxde-planner-rings{top:-12px!important;left:13px!important;right:13px!important}
html body #appHeader .rxde-planner-rings i{width:10px!important;height:23px!important;border:2.4px solid #55585a!important;border-radius:9px!important;background:linear-gradient(90deg,transparent 65%,rgba(40,40,40,.18))!important;box-shadow:1px 0 0 #d6d6d6!important}
html body #appHeader .rxde-planner-cell small{font-size:10px!important;letter-spacing:.15px!important}
html body #appHeader .rxde-planner-cell b{font-size:clamp(12px,1.02vw,15px)!important;line-height:1.3!important}
html body #appHeader .status-cluster{flex:0 0 auto!important;min-width:178px!important}
html body #appHeader .desktop-order-dock{position:relative!important;background:linear-gradient(161deg,rgba(242,252,242,.95),rgba(224,245,226,.94))!important;border:1.5px solid #217249!important;border-radius:10px 14px 8px 12px!important;box-shadow:2px 3px 0 #bdc5b9, inset 1px 1px 0 #fff!important;transform:rotate(.45deg)!important}
html body #appHeader .desktop-order-dock:after{content:'';position:absolute;right:12px;top:-8px;width:23px;height:13px;border:2px solid #606766;border-radius:12px;transform:rotate(-25deg);pointer-events:none}
}
@media(min-width:761px) and (max-width:1190px){html body #appHeader .brand-cluster{min-width:205px!important;flex-basis:260px!important}html body #appHeader .rxde-pencil-planner{min-width:275px!important;flex-basis:300px!important}html body #appHeader .brand-copy span{font-size:10px!important}}
@media(max-width:760px){html body .rxde-pencil-slogan,html body .rxde-pencil-planner,html body .rxde-mobile-paper-strip{display:none!important}}


/* V3.13.136 — DESKTOP ONLY. Replace synthetic decorations with hand-illustrated assets. */
@media(min-width:761px){
html body #appHeader .notebook-head{background-image:url("graphite-paper.svg")!important;overflow:visible!important}
html body #appHeader .rxde-pencil-planner{background-image:url("graphite-planner.svg")!important;background-color:transparent!important;background-size:100% 100%!important;background-position:center!important;padding:22px 13px 8px!important;margin-top:1px!important;box-shadow:none!important;min-height:76px!important;box-sizing:border-box!important;transform:rotate(-.55deg)!important}
html body #appHeader .rxde-planner-rings{display:none!important}
html body #appHeader .rxde-planner-data{position:relative!important;z-index:1!important;min-height:44px!important;align-items:center!important}
html body #appHeader .rxde-planner-cell{border-right:1px solid rgba(82,83,81,.28)!important;gap:3px!important}
html body #appHeader .rxde-planner-cell:last-child{border-right:0!important}
html body #appHeader .brand-copy span{font-family:"Segoe Print","Comic Sans MS",cursive!important;font-weight:600!important;font-style:italic!important;line-height:1.3!important;transform:rotate(-2deg)!important;text-shadow:.25px .25px rgba(42,44,45,.32)!important}
html body #appHeader .desktop-order-dock{background:linear-gradient(165deg,rgba(247,255,246,.95),rgba(221,244,223,.97))!important;border:1.5px solid #3b795b!important;outline:1px solid rgba(58,90,65,.2)!important;outline-offset:2px!important;box-shadow:1px 2px 0 #b8c5b9, inset 1px 1px 0 #fff!important;border-radius:7px 11px 8px 12px!important;transform:rotate(.4deg)!important}
html body #appHeader .desktop-order-dock:after{content:""!important;width:25px!important;height:18px!important;border:0!important;border-radius:0!important;right:8px!important;top:-13px!important;background:url("graphite-clip.svg") center/contain no-repeat!important;transform:rotate(12deg)!important}
}
@media(max-width:760px){html body #appHeader .rxde-pencil-planner,html body .rxde-mobile-paper-strip{display:none!important}}


/* V3.13.137 — desktop notebook block refined closer to approved render. */
@media(min-width:761px){
  html body #appHeader .notebook-head{
    min-height:82px!important;
    max-height:86px!important;
    padding:8px 15px 7px!important;
    gap:clamp(8px,1vw,16px)!important;
    background:#faf9f6 url("graphite-paper.svg") center/100% 100% no-repeat!important;
  }
  html body #appHeader .brand-cluster{
    flex:1 1 335px!important;
    min-width:260px!important;
    max-width:420px!important;
  }
  html body #appHeader .brand-copy strong{
    font-size:13px!important;
    line-height:1.08!important;
    color:#1e2d34!important;
    font-weight:760!important;
  }
  html body #appHeader .brand-copy span{
    display:block!important;
    max-width:330px!important;
    margin-top:1px!important;
    font-family:"Segoe Print","Comic Sans MS",cursive!important;
    font-style:italic!important;
    font-weight:600!important;
    font-size:11px!important;
    line-height:1.24!important;
    color:#4b4d4d!important;
    letter-spacing:-.15px!important;
    transform:rotate(-2.8deg)!important;
    transform-origin:left top!important;
    text-shadow:.25px .25px rgba(43,44,45,.25)!important;
  }
  html body #appHeader .rxde-pencil-planner{
    flex:1 1 430px!important;
    min-width:340px!important;
    max-width:485px!important;
    min-height:78px!important;
    padding:18px 8px 8px!important;
    margin-top:0!important;
    background:transparent url("graphite-planner.svg") center/100% 100% no-repeat!important;
    border:0!important;
    box-shadow:none!important;
    transform:rotate(-.55deg)!important;
  }
  html body #appHeader .rxde-planner-rings{display:none!important}
  html body #appHeader .rxde-planner-data{
    min-height:51px!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    padding:10px 30px 0 175px!important;
    gap:0!important;
    align-items:center!important;
    position:relative!important;
    z-index:1!important;
  }
  html body #appHeader .rxde-planner-cell{
    gap:2px!important;
    padding:0 5px!important;
    border-right:1px solid rgba(88,89,88,.23)!important;
  }
  html body #appHeader .rxde-planner-cell:last-child{border-right:0!important}
  html body #appHeader .rxde-planner-cell small{
    font-size:10px!important;
    line-height:1.05!important;
    color:#5a5d60!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }
  html body #appHeader .rxde-planner-cell b{
    font-size:clamp(11px,1vw,14px)!important;
    line-height:1.1!important;
    font-weight:800!important;
    color:#1f343e!important;
    white-space:nowrap!important;
  }
  html body #appHeader .status-cluster{
    min-width:185px!important;
  }
  html body #appHeader .desktop-order-dock.order-status-standard{
    transform:rotate(.35deg)!important;
  }
}
@media(min-width:761px) and (max-width:1160px){
  html body #appHeader .brand-cluster{min-width:225px!important;flex-basis:270px!important}
  html body #appHeader .brand-copy span{font-size:10.5px!important;max-width:275px!important}
  html body #appHeader .rxde-pencil-planner{min-width:300px!important;flex-basis:360px!important}
  html body #appHeader .rxde-planner-data{padding-left:148px!important;padding-right:24px!important}
  html body #appHeader .rxde-planner-cell small{font-size:9.2px!important}
}


/* V3.13.138: Raster artwork from approved render, not CSS-imitation of a desk calendar. */
@media(min-width:761px){
html body #appHeader .notebook-head{min-height:83px!important;max-height:90px!important;overflow:visible!important}
html body #appHeader .rxde-pencil-planner{
 background:transparent url("rxde-calendar-art.webp") center center/100% 100% no-repeat!important;
 flex:1 1 445px!important;min-width:355px!important;max-width:490px!important;
 height:87px!important;min-height:87px!important;max-height:87px!important;
 margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;
 transform:none!important;overflow:visible!important;
}
html body #appHeader .rxde-planner-rings{display:none!important}
html body #appHeader .rxde-planner-data{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 position:absolute!important;left:21%!important;right:6%!important;top:28%!important;bottom:17%!important;
 margin:0!important;padding:0!important;min-height:0!important;gap:0!important;align-items:center!important;z-index:1!important;
}
html body #appHeader .rxde-planner-cell{height:100%!important;justify-content:center!important;padding:0 2px!important;gap:4px!important;border:0!important}
html body #appHeader .rxde-planner-cell small{font-size:clamp(9px,.72vw,11px)!important;color:#303b43!important;font-weight:650!important}
html body #appHeader .rxde-planner-cell b{font-size:clamp(11px,.97vw,14px)!important;color:#142b3a!important;font-weight:800!important}
html body #appHeader .brand-copy{max-width:340px!important}
html body #appHeader .brand-copy span{
 background:transparent url("rxde-slogan-pencil.webp") left center/100% 100% no-repeat!important;
 width:min(100%,340px)!important;min-height:48px!important;
 font-size:0!important;color:transparent!important;text-shadow:none!important;
 transform:none!important;line-height:1!important;
}
html body #appHeader .desktop-order-dock{border-radius:10px!important}
}
@media(min-width:761px) and (max-width:1160px){
 html body #appHeader .rxde-pencil-planner{min-width:315px!important;flex-basis:350px!important}
 html body #appHeader .brand-copy span{min-height:45px!important}
}
@media(max-width:760px){html body #appHeader .rxde-pencil-planner{display:none!important}}

/* V3.13.140: only desktop slogan legibility/tilt; calendar art unchanged. */
@media(min-width:761px){
 html body #appHeader .brand-copy span{width:100%!important;min-height:47px!important;height:47px!important;background-image:url("rxde-slogan-pencil.webp")!important;background-size:100% 100%!important;background-repeat:no-repeat!important;background-position:left center!important;transform:rotate(-.7deg)!important;}
}

/* V3.13.141 — desktop human-readable Russian date and minute flip. No mobile layout changes. */
@media(min-width:761px){
 html body #appHeader .rxde-planner-cell:first-child{overflow:visible!important}
 html body #appHeader .rxde-planner-cell:first-child b[data-rxde-day]{font-size:clamp(9px,.78vw,11px)!important;line-height:1.18!important;white-space:normal!important;min-width:100px!important;max-width:145px!important;text-align:center!important}
 html body #appHeader b[data-rxde-time]{display:inline-block!important;position:relative!important;transform-origin:center 42%!important;backface-visibility:hidden!important;perspective:350px!important;font-variant-numeric:tabular-nums!important}
 html body #appHeader b[data-rxde-time].rxde-clock-flip{animation:rxde-minute-sheet .54s cubic-bezier(.29,.75,.35,1) both!important}
 @keyframes rxde-minute-sheet{
   0%{transform:perspective(350px) rotateX(-75deg);opacity:.4;filter:brightness(.75);text-shadow:0 3px 2px rgba(0,0,0,.25)}
   45%{transform:perspective(350px) rotateX(11deg);opacity:1;filter:brightness(.95);text-shadow:0 1px 1px rgba(0,0,0,.1)}
   72%{transform:perspective(350px) rotateX(-5deg);opacity:1;filter:none;text-shadow:none}
   100%{transform:perspective(350px) rotateX(0);opacity:1;filter:none;text-shadow:none}
 }
}
@media(prefers-reduced-motion:reduce){html body #appHeader b[data-rxde-time].rxde-clock-flip{animation:none!important}}

/* V3.13.142: large legible graphite slogan, no stray marks, bold leaf flip */
@media(min-width:761px){
 html body #appHeader .brand-copy .rxde-clean-slogan{
   display:block!important;position:relative!important;overflow:visible!important;
   width:min(100%,365px)!important;max-width:365px!important;
   height:62px!important;min-height:62px!important;margin:0!important;
   background:transparent url("rxde-slogan-pencil.webp") left center/contain no-repeat!important;
   transform:rotate(-.4deg)!important;
   color:transparent!important;font-size:0!important;line-height:0!important;
   text-shadow:none!important;white-space:normal!important;
 }
 html body #appHeader .rxde-pencil-planner{cursor:pointer!important}
 html body #appHeader b[data-rxde-time]{display:inline-block!important;position:relative!important;z-index:1!important;perspective:500px!important;transform-style:preserve-3d!important;transform-origin:center top!important;}
 html body #appHeader b[data-rxde-time]::before{
   content:attr(data-old);display:none;position:absolute;inset:-4px -2px;
   background:linear-gradient(180deg,#fffefa,#ede9df);border-radius:2px;
   border-bottom:1px solid rgba(55,61,62,.42);box-shadow:0 3px 4px rgba(0,0,0,.15);
   z-index:2;transform-origin:center bottom;
 }
 html body #appHeader b[data-rxde-time].rxde-clock-flip::before{display:block!important;animation:rxde-clock-old-leaf .62s ease-in both!important}
 html body #appHeader b[data-rxde-time].rxde-clock-flip{animation:rxde-clock-new-leaf 1.17s ease-out both!important}
 @keyframes rxde-clock-old-leaf{
  0%{transform:perspective(280px) rotateX(0deg);opacity:1}
  75%{transform:perspective(280px) rotateX(-93deg);opacity:.96}
  100%{transform:perspective(280px) rotateX(-110deg);opacity:0}
 }
 @keyframes rxde-clock-new-leaf{
  0%{transform:perspective(450px) rotateX(80deg);filter:brightness(.6);opacity:.4}
  50%{transform:perspective(450px) rotateX(80deg);filter:brightness(.7);opacity:.5}
  77%{transform:perspective(450px) rotateX(-11deg);filter:brightness(.95);opacity:1}
  90%{transform:perspective(450px) rotateX(5deg);filter:none;opacity:1}
  100%{transform:perspective(450px) rotateX(0);filter:none;opacity:1}
 }
}
@media(prefers-reduced-motion:reduce){html body #appHeader b[data-rxde-time].rxde-clock-flip{animation:none!important}html body #appHeader b[data-rxde-time].rxde-clock-flip::before{display:none!important}}


/* V3.13.143: desktop ONLY — legible raster slogan; central desk calendar; narrow, rotating flip leaf. */
@media(min-width:761px){
 html body #appHeader .notebook-head{position:relative!important}
 html body #appHeader .brand-cluster{flex:0 0 365px!important;min-width:0!important;max-width:365px!important;z-index:2!important}
 html body #appHeader .brand-copy{max-width:300px!important;width:300px!important}
 html body #appHeader .brand-copy .rxde-clean-slogan{width:300px!important;max-width:300px!important;height:68px!important;min-height:68px!important;background-image:url("rxde-slogan-pencil.webp")!important;background-size:100% 100%!important;background-position:left top!important;background-repeat:no-repeat!important;transform:rotate(-.4deg)!important;overflow:hidden!important}
 html body #appHeader .brand-copy .rxde-clean-slogan::before,html body #appHeader .brand-copy .rxde-clean-slogan::after{content:none!important;display:none!important}
 html body #appHeader .rxde-pencil-planner{position:absolute!important;left:50%!important;top:0!important;transform:translateX(-50%)!important;width:490px!important;max-width:490px!important;min-width:490px!important;z-index:3!important;margin:0!important}
 html body #appHeader .status-cluster{margin-left:auto!important;z-index:4!important}
 html body #appHeader b[data-rxde-time]{width:51px!important;min-width:51px!important;max-width:51px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;perspective:650px!important}
 html body #appHeader .rxde-clock-flip{animation:none!important}
 html body #appHeader .rxde-clock-flip::before{display:none!important}
 html body #appHeader .rxde-reel-flip{animation:rxde-roll-143 2s cubic-bezier(.14,.71,.35,1) both!important;backface-visibility:visible!important;transform-origin:center center!important;transform-style:preserve-3d!important}
 html body #appHeader .rxde-reel-flip::before{display:none!important}
 @keyframes rxde-roll-143{0%{transform:perspective(550px) rotateX(0);filter:brightness(1);opacity:1}18%{transform:perspective(550px) rotateX(-160deg);filter:brightness(.65);opacity:.7}38%{transform:perspective(550px) rotateX(-330deg);filter:brightness(.8);opacity:1}60%{transform:perspective(550px) rotateX(-550deg);filter:brightness(.6);opacity:.8}80%{transform:perspective(550px) rotateX(-695deg);filter:brightness(.95);opacity:1}100%{transform:perspective(550px) rotateX(-720deg);filter:brightness(1);opacity:1}}
}
@media(min-width:761px) and (max-width:1160px){html body #appHeader .brand-cluster{flex-basis:270px!important;max-width:270px!important}html body #appHeader .brand-copy{max-width:210px!important;width:210px!important}html body #appHeader .brand-copy .rxde-clean-slogan{width:210px!important;max-width:210px!important}html body #appHeader .rxde-pencil-planner{width:420px!important;min-width:420px!important;max-width:420px!important}}
@media(prefers-reduced-motion:reduce){html body #appHeader .rxde-reel-flip{animation:none!important}}

/* V3.13.145 — no clock or rate animations; legible uniform handwritten slogan. Desktop only. */
@media(min-width:761px){
 html body #appHeader .brand-copy .rxde-clean-slogan{
  width:300px!important;max-width:300px!important;height:68px!important;min-height:68px!important;
  background-image:url("rxde-slogan-pencil.webp")!important;
  background-size:100% 100%!important;background-position:left center!important;
  background-repeat:no-repeat!important;transform:rotate(-.2deg)!important;
 }
 html body #appHeader .rxde-pencil-planner{cursor:default!important}
 html body #appHeader b[data-rxde-time]{width:auto!important;min-width:0!important;max-width:none!important;overflow:visible!important}
 html body #appHeader b[data-rxde-time],
 html body #appHeader b[data-rxde-time].rxde-clock-flip,
 html body #appHeader b[data-rxde-time].rxde-reel-flip,
 html body #appHeader [data-rxde-cbr].rxde-reel-flip,
 html body #appHeader [data-rxde-calc].rxde-reel-flip{
  animation:none!important;transition:none!important;transform:none!important;filter:none!important;
  opacity:1!important;perspective:none!important;text-shadow:none!important;
 }
 html body #appHeader .rxde-clock-flip::before,
 html body #appHeader .rxde-reel-flip::before{content:none!important;display:none!important}
}
@media(min-width:761px) and (max-width:1160px){
 html body #appHeader .brand-copy .rxde-clean-slogan{width:210px!important;max-width:210px!important}
}


/* RXDE V3.13.145 — final desktop header rebalance: slogan gets more room, planner shifted right. */
html body #appHeader .brand-cluster{
  flex:0 0 395px!important;
  max-width:395px!important;
  min-width:0!important;
}
html body #appHeader .brand-copy{
  width:322px!important;
  max-width:322px!important;
  min-width:0!important;
}
html body #appHeader .brand-copy span,
html body #appHeader .brand-copy .rxde-clean-slogan{
  width:322px!important;
  max-width:322px!important;
}
html body #appHeader .brand-copy span{
  background-position:left center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  transform:rotate(-0.35deg)!important;
}
html body #appHeader .rxde-pencil-planner{
  left:57.8%!important;
  width:490px!important;
  min-width:490px!important;
  max-width:490px!important;
}
html body #appHeader .status-cluster{
  margin-left:auto!important;
}
@media(min-width:761px) and (max-width:1160px){
  html body #appHeader .brand-cluster{flex-basis:300px!important;max-width:300px!important}
  html body #appHeader .brand-copy{width:235px!important;max-width:235px!important}
  html body #appHeader .brand-copy span,
  html body #appHeader .brand-copy .rxde-clean-slogan{width:235px!important;max-width:235px!important}
  html body #appHeader .rxde-pencil-planner{left:56.2%!important;width:420px!important;min-width:420px!important;max-width:420px!important}
}


/* RXDE 3.13.146 — only desktop: airy hand-italic lettering, no stretched bitmap. */
@media (min-width:761px){
 html body #appHeader .brand-copy{width:322px!important;max-width:322px!important}
 html body #appHeader .brand-copy span,
 html body #appHeader .brand-copy span.rxde-clean-slogan{
   display:block!important;
   box-sizing:border-box!important;
   width:322px!important;
   max-width:322px!important;
   min-height:0!important;
   height:auto!important;
   overflow:visible!important;
   background:none!important;
   color:#42484b!important;
   -webkit-text-fill-color:#42484b!important;
   font:italic 500 11.7px/1.32 "Segoe UI","Trebuchet MS",Arial,sans-serif!important;
   letter-spacing:.11px!important;
   white-space:normal!important;
   text-shadow:none!important;
   transform:rotate(-.6deg)!important;
   transform-origin:left center!important;
   margin-top:4px!important;
   padding:0!important;
 }
 html body #appHeader .brand-copy span::before,
 html body #appHeader .brand-copy span::after{display:none!important;content:none!important}
}
@media(min-width:761px) and (max-width:1160px){
 html body #appHeader .brand-copy,
 html body #appHeader .brand-copy span,
 html body #appHeader .brand-copy span.rxde-clean-slogan{width:235px!important;max-width:235px!important}
 html body #appHeader .brand-copy span,
 html body #appHeader .brand-copy span.rxde-clean-slogan{font-size:10.4px!important;line-height:1.28!important}
}


/* V3.13.149 - mobile cart precision/compactness. Do not modify catalog header. */
@media(max-width:760px){
 html body #orderSheet .sheet-header .rxde-order-header-rate{font-size:0!important;display:inline-flex!important;align-items:center!important;gap:0!important;margin-right:2px!important;white-space:nowrap!important;min-width:0!important;flex-shrink:0!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate::before{content:'€ · ';font-size:11px!important;color:#356176!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate b{font-size:12px!important;color:#21465a!important;display:inline!important;visibility:visible!important;opacity:1!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate::after{content:' ₽';font-size:11px!important;color:#356176!important}
 html body #orderSheet .rxde-order-list-area{position:relative!important;display:flex!important;flex-direction:column!important}
 html body #orderSheet #orderLines{order:1!important;display:block!important;flex:1 1 auto!important;min-height:0!important;padding-top:10px!important}
 html body #orderSheet #rxdeDhlFixed{order:2!important;position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;inset:auto!important;align-self:center!important;margin:7px auto 8px!important;z-index:1!important;max-width:calc(100% - 24px)!important}
 html body #orderLines .order-static-card{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-rows:auto auto!important;min-height:0!important;height:auto!important;align-content:start!important;align-items:start!important;column-gap:12px!important;row-gap:5px!important;padding:10px 12px 12px!important;margin-bottom:9px!important}
 html body #orderLines .order-static-card>.order-thumb{grid-column:1!important;grid-row:1!important;position:relative!important;align-self:start!important;width:72px!important;min-width:0!important;height:87px!important}
 html body #orderLines .order-static-card>.order-product-info{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;gap:0!important;position:relative!important;padding:0 20px 0 0!important;margin:0!important;min-width:0!important;align-self:start!important}
 html body #orderLines .order-static-card .order-title-line{display:block!important;height:auto!important;min-height:0!important;margin:0 0 2px!important;padding:0!important;line-height:1.19!important}
 html body #orderLines .order-static-card .order-title-line .order-expand-title{display:inline!important;min-height:0!important;line-height:1.19!important;vertical-align:baseline!important;margin:0!important;padding:0!important}
 html body #orderLines .order-static-card .rxde-cart-rx-text{display:inline!important;position:static!important;margin-left:5px!important;white-space:nowrap!important;vertical-align:baseline!important}
 html body #orderLines .order-static-card .order-family-search{position:static!important;display:inline-flex!important;vertical-align:middle!important;align-items:center!important;justify-content:center!important;width:28px!important;height:27px!important;min-width:28px!important;max-width:28px!important;border-radius:7px!important;margin:0 0 0 6px!important;transform:none!important;float:none!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important}
 html body #orderLines .order-static-card .order-family-search svg{width:16px!important;height:16px!important}
 html body #orderLines .order-static-card .copyable-product-core{display:block!important;position:static!important;margin:1px 0 0!important;padding:0!important;min-height:0!important;line-height:1.18!important}
 html body #orderLines .order-static-card .copy-line{margin:0!important;min-height:0!important;line-height:1.2!important}
 html body #orderLines .order-static-card .rxde-expiry-tools{position:static!important;margin:4px 0 0!important;padding:0!important;min-height:0!important}
 html body #orderLines .order-static-card .rxde-expiry-toggle{font-size:11px!important;line-height:1.18!important}
 html body #orderLines .order-static-card>.order-unit-price{grid-column:1!important;grid-row:2!important;align-self:center!important;justify-self:start!important;margin:0!important}
 html body #orderLines .order-static-card>.order-qty{grid-column:2!important;grid-row:2!important;align-self:center!important;justify-self:center!important;width:clamp(100px,30vw,122px)!important;min-width:0!important;margin:0!important}
 html body #orderLines .order-static-card>.order-line-total{grid-column:2!important;grid-row:2!important;justify-self:end!important;align-self:center!important;margin:0!important}
 html body #orderLines .order-static-card>.order-line-total strong{font-size:clamp(10px,3.2vw,14px)!important}
 html body #orderSheet .sheet-footer{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.26fr)!important;grid-template-rows:auto auto!important;gap:6px 8px!important;padding:9px 12px 11px!important;min-height:0!important}
 html body #orderSheet .sheet-footer .order-summary{grid-column:1/-1!important;grid-row:1!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;width:100%!important;min-height:36px!important;margin:0!important}
 html body #orderSheet .sheet-footer #orderPositions{font-size:13px!important;white-space:nowrap!important}
 html body #orderSheet .sheet-footer .rxde-total-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex:0 0 auto!important;margin-left:auto!important}
 html body #orderSheet .sheet-footer #orderTotalRub{font-size:clamp(19px,5.2vw,27px)!important;white-space:nowrap!important}
 html body #orderSheet .sheet-footer #viewOrderReceipt{width:36px!important;height:36px!important;min-width:36px!important;margin:0!important}
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{grid-column:1!important;grid-row:2!important;width:100%!important;margin:0!important;min-height:44px!important;height:44px!important}
 html body #orderSheet .sheet-footer #submitOrder{grid-column:2!important;grid-row:2!important;width:100%!important;margin:0!important;min-height:44px!important;height:44px!important;font-size:clamp(12px,3.4vw,16px)!important}
}
.rxde-expiry-modal-panel .rxde-item-comment-label{display:flex;flex-direction:column;gap:4px;margin-top:9px;font-size:13px;font-weight:600}
.rxde-expiry-modal-panel [data-expiry-comment]{box-sizing:border-box;width:100%;min-height:57px;max-height:90px;resize:vertical;padding:8px;font:400 14px/1.35 system-ui,sans-serif;border:1px solid #b4cdd4;border-radius:8px}
#orderLines .rxde-expiry-pill{white-space:pre-line!important}

/* RXDE 3.13.149: Mobile cart rate and nonfloating DHL bottom line. */
@media(max-width:760px){
 html body #orderSheet .sheet-header.rxde-order-compact-header{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) auto auto!important;
   grid-template-rows:minmax(36px,auto) 18px!important;
   column-gap:6px!important;
   row-gap:1px!important;
   padding:5px 9px 5px!important;
   min-height:60px!important;
   max-height:none!important;
   overflow:visible!important;
 }
 html body #orderSheet .sheet-header .sheet-header-left{
   grid-column:1!important;grid-row:1!important;order:0!important;min-width:0!important;
 }
 html body #orderSheet .sheet-header .rxde-header-tools{
   grid-column:2!important;grid-row:1!important;order:0!important;justify-self:end!important;
 }
 html body #orderSheet .sheet-header .sheet-close{
   grid-column:3!important;grid-row:1!important;order:0!important;justify-self:end!important;
 }
 html body #orderSheet .sheet-header .rxde-order-header-rate{
   display:flex!important;grid-column:1/-1!important;grid-row:2!important;order:0!important;
   justify-self:end!important;align-self:center!important;justify-content:flex-end!important;
   visibility:visible!important;opacity:1!important;font-size:11px!important;
   line-height:16px!important;height:17px!important;white-space:nowrap!important;
   color:#315b70!important;gap:3px!important;margin:0 1px 0 0!important;
   width:auto!important;max-width:100%!important;overflow:visible!important;
 }
 html body #orderSheet .sheet-header .rxde-order-header-rate::before,
 html body #orderSheet .sheet-header .rxde-order-header-rate::after{content:none!important;display:none!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate b{
   display:inline!important;visibility:visible!important;opacity:1!important;
   font-size:12px!important;font-variant-numeric:tabular-nums!important;color:#184f69!important;
 }
 html body #orderSheet .rxde-order-list-area{
   display:flex!important;flex-direction:column!important;min-height:0!important;
 }
 html body #orderSheet #orderLines{order:1!important;flex:1 1 auto!important;min-height:0!important;}
 html body #orderSheet #rxdeDhlFixed{
   order:2!important;position:static!important;inset:auto!important;transform:none!important;
   display:flex!important;flex:0 0 auto!important;align-self:stretch!important;
   margin:5px 9px 10px!important;padding:7px 10px!important;
   width:auto!important;max-width:none!important;min-height:36px!important;
   border-radius:10px!important;box-shadow:none!important;
   align-items:center!important;justify-content:space-between!important;gap:8px!important;
   z-index:1!important;pointer-events:none!important;
 }
 html body #orderSheet #rxdeDhlFixed[hidden]{display:none!important}
 html body #orderSheet #rxdeDhlFixed .rxde-dhl-name{display:flex!important;flex-direction:column!important;gap:2px!important}
 html body #orderSheet #rxdeDhlFixed .rxde-dhl-name b{font-size:12px!important}
 html body #orderSheet #rxdeDhlFixed .rxde-dhl-name small{display:block!important;font-size:10px!important}
 html body #orderSheet #rxdeDhlFixed .rxde-dhl-price{display:flex!important;flex-direction:column!important;text-align:right!important;gap:2px!important}
 html body #orderSheet #rxdeDhlFixed .rxde-dhl-price b{font-size:13px!important}
 html body #orderSheet #rxdeDhlFixed .rxde-dhl-price small{display:block!important;font-size:11px!important}
}

/* V3.13.151: Shipping is last scrollable item. Course is readable in title. */
#orderSheet #rxdeDhlFixed{display:none!important}
#orderSheet #rxdeDhlFixed[hidden]{display:none!important}
#orderSheet .rxde-shipping-at-end{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:12px 8px 20px!important;padding:12px 14px!important;background:#f7fafb!important;border:1px solid #d4e2e7!important;border-radius:12px!important;position:relative!important;inset:auto!important;transform:none!important;box-shadow:none!important;color:#254452!important}
#orderSheet .rxde-shipping-at-end>span{display:flex!important;flex-direction:column!important;gap:4px!important}
#orderSheet .rxde-shipping-price{text-align:right!important;white-space:nowrap!important}
#orderSheet .rxde-shipping-at-end small{font-size:12px!important;font-weight:400!important;color:#637784!important}
#orderSheet .rxde-order-header-rate{display:none!important}
@media(max-width:760px){
 html body #orderSheet .sheet-header.rxde-order-compact-header{display:flex!important;flex-direction:row!important;align-items:center!important;min-height:54px!important;max-height:75px!important;padding:6px 10px!important;gap:6px!important}
 html body #orderSheet .sheet-header .sheet-header-left{display:flex!important;flex:1 1 auto!important;min-width:0!important;align-items:center!important;gap:5px!important}
 html body #orderSheet .sheet-header .sheet-title-block{display:block!important;min-width:0!important;flex:1 1 auto!important}
 html body #orderSheet .sheet-header .sheet-title-block h2{font-size:clamp(13px,3.45vw,17px)!important;white-space:nowrap!important;letter-spacing:-.3px!important}
 html body #orderSheet .sheet-header .sheet-title-block h2 b{font-size:inherit!important}
 html body #orderSheet .sheet-header .rxde-header-tools{flex:0 0 auto!important;order:0!important}
 html body #orderSheet .sheet-header .sheet-close{flex:0 0 auto!important;order:0!important}
 html body #orderSheet .sheet-header .rxde-order-header-rate{display:none!important}
 #orderSheet .rxde-shipping-at-end{margin:8px 3px 18px!important;padding:9px 11px!important;font-size:13px!important}
}

/* V3.13.151 — mobile order footer layout only. No price, cart or delivery changes. */
@media (max-width:760px){
 html body #orderSheet .sheet-footer{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) minmax(0,1.62fr)!important;
   grid-template-rows:auto auto!important;
   column-gap:9px!important;
   row-gap:7px!important;
   padding:8px 11px calc(9px + env(safe-area-inset-bottom))!important;
   max-height:none!important;
   min-height:0!important;
   align-items:center!important;
 }
 html body #orderSheet .sheet-footer .order-summary{
   display:grid!important;
   grid-column:1/-1!important;
   grid-row:1!important;
   grid-template-columns:minmax(0,1fr) auto!important;
   width:100%!important;
   gap:7px!important;
   margin:0!important;
   padding:0!important;
   align-items:center!important;
   justify-content:space-between!important;
 }
 html body #orderSheet .sheet-footer #orderPositions{
   grid-column:1!important;
   justify-self:start!important;
   white-space:nowrap!important;
   font-size:clamp(12px,3.6vw,17px)!important;
 }
 html body #orderSheet .sheet-footer .rxde-total-actions{
   display:flex!important;
   grid-column:2!important;
   justify-self:end!important;
   align-items:center!important;
   justify-content:flex-end!important;
   gap:7px!important;
   flex:0 0 auto!important;
   margin-left:auto!important;
   width:auto!important;
 }
 html body #orderSheet .sheet-footer #orderTotalRub{
   text-align:right!important;
   justify-self:end!important;
   margin-left:0!important;
   white-space:nowrap!important;
   font-size:clamp(20px,5.2vw,29px)!important;
 }
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{
   display:flex!important;
   grid-row:2!important;
   grid-column:1!important;
   justify-content:flex-start!important;
   justify-self:start!important;
   align-items:center!important;
   text-align:left!important;
   margin:0!important;
   padding:0!important;
   height:44px!important;
   min-height:44px!important;
   width:100%!important;
   min-width:0!important;
   max-width:none!important;
   font-size:clamp(10px,2.7vw,13px)!important;
   white-space:normal!important;
   overflow-wrap:normal!important;
 }
 html body #orderSheet .sheet-footer #submitOrder{
   display:flex!important;
   grid-row:2!important;
   grid-column:2!important;
   justify-self:stretch!important;
   align-items:center!important;
   justify-content:center!important;
   width:100%!important;
   height:47px!important;
   min-height:47px!important;
   max-width:none!important;
   margin:0!important;
   font-size:clamp(14px,4vw,19px)!important;
 }
}


/* V3.13.152 — actual mobile footer controls (not the hidden submit button).
   Order summary consumes full row; email is left and the active checkout toggle right. */
@media (max-width:760px){
 html body #orderSheet .sheet-footer{
  display:grid!important;
  grid-template-columns:minmax(0,0.95fr) minmax(0,1.35fr)!important;
  grid-template-rows:auto auto!important;
  gap:7px 8px!important;
  padding:8px 11px calc(9px + env(safe-area-inset-bottom))!important;
  width:100%!important; box-sizing:border-box!important;
  align-items:center!important;
 }
 html body #orderSheet .sheet-footer .order-summary{
  grid-column:1/-1!important;grid-row:1!important;
  display:grid!important;grid-template-columns:minmax(100px,1fr) max-content!important;
  gap:7px!important;min-width:0!important;width:100%!important;
  justify-content:stretch!important;align-items:center!important;
  overflow:visible!important; margin:0!important; padding:0!important;
 }
 html body #orderSheet .sheet-footer #orderPositions{
  display:block!important;grid-column:1!important;grid-row:1!important;
  min-width:0!important;max-width:none!important;width:auto!important;
  white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;
  font-size:clamp(12px,3.1vw,15px)!important;line-height:1.25!important;
  flex:none!important;
 }
 html body #orderSheet .sheet-footer .rxde-total-actions{
  grid-column:2!important;grid-row:1!important;
  display:flex!important;flex:none!important;width:max-content!important;min-width:0!important;
  margin:0 0 0 auto!important;gap:5px!important;
  justify-self:end!important;justify-content:flex-end!important;align-items:center!important;
 }
 html body #orderSheet .sheet-footer #viewOrderReceipt{
  flex:none!important;width:36px!important;min-width:36px!important;height:36px!important;
 }
 html body #orderSheet .sheet-footer #orderTotalRub{
  display:block!important; flex:none!important; width:auto!important;max-width:none!important;
  font-size:clamp(20px,5.15vw,27px)!important;line-height:1.15!important;
  white-space:nowrap!important;text-align:right!important;justify-self:end!important;
  margin:0!important;padding:0!important;
 }
 /* Real email link is appended by checkout35.js; it is NOT rxdeMobileContactsToggle. */
 html body #orderSheet .sheet-footer a.rxde-inline-direct{
  display:flex!important;grid-column:1!important;grid-row:2!important;
  align-items:center!important;justify-content:flex-start!important;justify-self:stretch!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  margin:0!important;padding:0 2px!important;
  text-align:left!important;line-height:1.17!important;
  white-space:normal!important;overflow-wrap:normal!important;
  font-size:clamp(10px,2.65vw,13px)!important;
 }
 /* This toggle opens the contacts form and is the visible 'Оформить заказ' CTA. */
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle{
  display:flex!important;grid-column:2!important;grid-row:2!important;
  align-items:center!important;justify-content:center!important;justify-self:stretch!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  height:47px!important;min-height:47px!important;
  padding:0 7px!important;margin:0!important;
  text-align:center!important;background:#2786ba!important;color:#fff!important;
  border-radius:11px!important;
 }
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  font-size:clamp(13px,3.5vw,17px)!important;font-weight:800!important;
  text-align:center!important;white-space:nowrap!important;
  margin:0!important;padding:0!important;
 }
 html body #orderSheet .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action:before{content:none!important}
 /* True submit only appears when customer details are open; keep checkout behavior. */
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit{
  grid-column:2!important;justify-self:stretch!important;width:100%!important;
 }
}


/* RXDE V3.13.154 — consistent closed footer alignment on desktop and mobile.
   Real CTA: #rxdeMobileContactsToggle; email: a.rxde-inline-direct.
   Keep checkout/open-contact behavior intact. */
@media(min-width:761px){
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) minmax(250px,300px)!important;
   grid-template-rows:auto auto!important;
   align-items:center!important;
   column-gap:14px!important;row-gap:7px!important;
   max-height:none!important;min-height:0!important;
   padding:9px 14px 12px!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer .order-summary{
   display:grid!important;grid-column:1/-1!important;grid-row:1!important;
   grid-template-columns:minmax(0,1fr) max-content!important;
   width:100%!important;min-width:0!important;
   align-items:center!important;margin:0!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer #orderPositions{
   grid-column:1!important;justify-self:start!important;white-space:nowrap!important;
   overflow:visible!important;text-overflow:clip!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer .rxde-total-actions{
   grid-column:2!important;justify-self:end!important;display:flex!important;
   align-items:center!important;gap:9px!important;width:max-content!important;
   margin-left:auto!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer #orderTotalRub{
   text-align:right!important;white-space:nowrap!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer a.rxde-inline-direct{
   display:flex!important;grid-column:1!important;grid-row:2!important;
   justify-self:start!important;align-self:center!important;
   width:auto!important;max-width:100%!important;min-width:0!important;
   margin:0!important;padding:0 4px!important;
   text-align:left!important;justify-content:flex-start!important;
   font-size:13px!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer #rxdeMobileContactsToggle{
   display:flex!important;grid-column:2!important;grid-row:2!important;
   justify-self:end!important;align-self:center!important;
   width:100%!important;max-width:300px!important;min-width:0!important;
   margin:0!important;padding:0 14px!important;
   align-items:center!important;justify-content:center!important;
   height:46px!important;min-height:46px!important;
   background:#2786ba!important;color:#fff!important;border-radius:11px!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{
   display:flex!important;width:100%!important;min-width:0!important;
   align-items:center!important;justify-content:center!important;
   margin:0!important;text-align:center!important;
   font-size:16px!important;font-weight:800!important;white-space:nowrap!important;
 }
}
@media(max-width:760px){
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer{
   display:grid!important;
   grid-template-columns:minmax(0,0.95fr) minmax(0,1.35fr)!important;
   grid-template-rows:auto auto!important;gap:7px 8px!important;
   align-items:center!important;max-height:none!important;min-height:0!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer .order-summary{
   grid-row:1!important;grid-column:1/-1!important;
   display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;
   width:100%!important;align-items:center!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer #orderPositions{
   grid-column:1!important;white-space:nowrap!important;overflow:visible!important;
   font-size:clamp(12px,3.1vw,15px)!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer .rxde-total-actions{
   grid-column:2!important;justify-self:end!important;margin-left:auto!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer a.rxde-inline-direct{
   display:flex!important;grid-column:1!important;grid-row:2!important;
   min-width:0!important;width:100%!important;align-items:center!important;
   justify-content:flex-start!important;justify-self:stretch!important;
   font-size:clamp(10px,2.65vw,13px)!important;text-align:left!important;
   margin:0!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer #rxdeMobileContactsToggle{
   display:flex!important;grid-column:2!important;grid-row:2!important;
   justify-self:stretch!important;width:100%!important;min-width:0!important;
   justify-content:center!important;align-items:center!important;
   text-align:center!important;margin:0!important;
 }
 html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer #rxdeMobileContactsToggle .rxde-mobile-contacts-action{
   display:flex!important;align-items:center!important;justify-content:center!important;
   width:100%!important;min-width:0!important;
   margin:0!important;text-align:center!important;
 }
}


/* V3.13.200 — final mobile checkout footer stretch + lower visual height.
   Requested behavior: the open mobile footer uses the full sheet width, keeps the
   send button wide, and avoids the tall half-empty right column. */
@media (max-width:760px){
  html body #orderSheet .sheet-footer,
  html.rxde-mobile-ui body #orderSheet .sheet-footer{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px))!important;
    gap:6px!important;
  }
  html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer,
  html.rxde-mobile-ui body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer{
    max-height:18dvh!important;
  }
  html body #orderSheet .sheet-footer .order-summary,
  html.rxde-mobile-ui body #orderSheet .sheet-footer .order-summary{
    width:100%!important;
    min-height:34px!important;
    gap:6px 8px!important;
  }
  html body #orderSheet .sheet-footer #orderPositions,
  html.rxde-mobile-ui body #orderSheet .sheet-footer #orderPositions{
    font-size:12px!important;
    line-height:1.25!important;
  }
  html body #orderSheet .sheet-footer #orderTotalRub,
  html.rxde-mobile-ui body #orderSheet .sheet-footer #orderTotalRub{
    font-size:clamp(20px,5.6vw,28px)!important;
  }
  html body #orderSheet .rxde-mobile-contacts-toggle,
  html.rxde-mobile-ui body #orderSheet .rxde-mobile-contacts-toggle{
    width:100%!important;
    min-height:44px!important;
    height:auto!important;
    padding:8px 12px!important;
    border-radius:12px!important;
    align-items:center!important;
  }
  html body #orderSheet .rxde-mobile-contacts-title,
  html.rxde-mobile-ui body #orderSheet .rxde-mobile-contacts-title{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  html body #orderSheet .rxde-mobile-contacts-action,
  html.rxde-mobile-ui body #orderSheet .rxde-mobile-contacts-action{
    flex:0 0 auto!important;
  }
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer,
  html.rxde-mobile-ui body #orderSheet.rxde-mobile-contacts-open .sheet-footer{
    max-height:min(48dvh,390px)!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-content:start!important;
    overflow-y:auto!important;
  }
  html body #orderSheet.rxde-mobile-contacts-open .rxde-order-list-area,
  html.rxde-mobile-ui body #orderSheet.rxde-mobile-contacts-open .rxde-order-list-area{
    min-height:28dvh!important;
  }
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeInlineCheckout,
  html.rxde-mobile-ui body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeInlineCheckout{
    display:block!important;
    grid-column:1/-1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:6px 0 0!important;
  }
  html body #orderSheet #rxdeInlineCheckout .rxde-contact-head,
  html.rxde-mobile-ui body #orderSheet #rxdeInlineCheckout .rxde-contact-head{
    margin:0 0 6px!important;
    font-size:13px!important;
  }
  html body #orderSheet #rxdeInlineCheckout .rxde-inline-fields,
  html.rxde-mobile-ui body #orderSheet #rxdeInlineCheckout .rxde-inline-fields{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:6px!important;
    width:100%!important;
  }
  html body #orderSheet #rxdeInlineCheckout .rxde-phone-main,
  html body #orderSheet #rxdeInlineCheckout .rxde-email-main,
  html body #orderSheet #rxdeInlineCheckout #rxdeExtraFields,
  html.rxde-mobile-ui body #orderSheet #rxdeInlineCheckout .rxde-phone-main,
  html.rxde-mobile-ui body #orderSheet #rxdeInlineCheckout .rxde-email-main,
  html.rxde-mobile-ui body #orderSheet #rxdeInlineCheckout #rxdeExtraFields{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
  html body #orderSheet #rxdeInlineCheckout .rxde-phone-main input,
  html body #orderSheet #rxdeInlineCheckout .rxde-email-main input,
  html.rxde-mobile-ui body #orderSheet #rxdeInlineCheckout .rxde-phone-main input,
  html.rxde-mobile-ui body #orderSheet #rxdeInlineCheckout .rxde-email-main input{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:44px!important;
    padding:9px 12px!important;
    box-sizing:border-box!important;
  }
  html body #orderSheet #rxdeInlineCheckout .rxde-phone-apps,
  html.rxde-mobile-ui body #orderSheet #rxdeInlineCheckout .rxde-phone-apps{
    width:100%!important;
    margin:0!important;
    gap:7px 14px!important;
  }
  html body #orderSheet #rxdeInlineCheckout .rxde-contact-help,
  html.rxde-mobile-ui body #orderSheet #rxdeInlineCheckout .rxde-contact-help{
    margin:6px 0 0!important;
    font-size:11px!important;
    line-height:1.35!important;
  }
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit,
  html.rxde-mobile-ui body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit{
    display:flex!important;
    grid-column:1/-1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:46px!important;
    height:46px!important;
    margin:4px 0 0!important;
    border-radius:14px!important;
    justify-self:stretch!important;
  }
  html body #orderSheet.rxde-mobile-contacts-open .sheet-footer .rxde-inline-direct,
  html.rxde-mobile-ui body #orderSheet.rxde-mobile-contacts-open .sheet-footer .rxde-inline-direct{
    display:block!important;
    grid-column:1/-1!important;
    justify-self:start!important;
    margin:0!important;
    font-size:12px!important;
  }
}


/* RXDE V2 2026-11-08 — compact, full-width mobile contact footer. */
@media(max-width:760px){
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer{
   max-height:min(53dvh,460px)!important;
   overflow-y:auto!important;
   gap:4px!important;
   padding:6px 10px calc(7px + env(safe-area-inset-bottom,0px))!important;
 }
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #rxdeMobileContactsToggle{
   width:100%!important;min-height:36px!important;height:36px!important;
   padding:4px 10px!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
 }
 html body #orderSheet.rxde-mobile-contacts-open #rxdeInlineCheckout{
   width:100%!important;padding:3px 0!important;margin:0!important;box-sizing:border-box!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-contact-head{display:none!important}
 html body #orderSheet #rxdeInlineCheckout .rxde-inline-fields{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   gap:4px!important;width:100%!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-main,
 html body #orderSheet #rxdeInlineCheckout .rxde-email-main{
   width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-inline-pair label{
   font-size:12px!important;line-height:1.15!important;margin:0 0 2px!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-inline-pair input{
   width:100%!important;box-sizing:border-box!important;height:40px!important;
   min-height:40px!important;font-size:16px!important;padding:6px 10px!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-apps{
   display:flex!important;flex-wrap:wrap!important;gap:5px 14px!important;
   margin:0!important;padding:0!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-apps>span{
   flex-basis:100%!important;font-size:12px!important;line-height:1.2!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-phone-apps label{font-size:12px!important}
 html body #orderSheet #rxdeInlineCheckout .rxde-inline-separator{
   margin:0!important;padding:0!important;font-size:12px!important;line-height:1.1!important;
 }
 html body #orderSheet #rxdeInlineCheckout .rxde-contact-help{display:none!important}
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer #submitOrder.rxde-inline-submit{
   width:100%!important;max-width:none!important;min-height:44px!important;height:44px!important;
   margin:3px 0 0!important;padding:5px 10px!important;
 }
 html body #orderSheet.rxde-mobile-contacts-open .sheet-footer .rxde-inline-direct{
   margin:0!important;padding:0!important;line-height:1.2!important;
 }
}

/* V2 final: interactive product title parity between cart and mini cards. */
html body #orderLines .order-static-card .order-title-line .order-expand-title,
html body #productList > article.r2-card .r2-title-open{
  text-decoration:none!important;
  text-decoration-line:none!important;
  cursor:pointer!important;
}
html body #orderLines .order-static-card .order-title-line .order-expand-title:hover,
html body #orderLines .order-static-card .order-title-line .order-expand-title:focus-visible,
html body #productList > article.r2-card .r2-title-open:hover .r2-title-text,
html body #productList > article.r2-card .r2-title-open:focus-visible .r2-title-text{
  text-decoration:underline!important;
  text-decoration-line:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}
html body #orderLines .order-static-card .order-title-line .rxde-cart-rx-text{
  color:#b64850!important;
  font-size:.87em!important;
  font-weight:700!important;
  white-space:nowrap!important;
  display:inline!important;
  margin-left:3px!important;
}

/* V2 release: subtle paper-card tilt when order positions are grabbed. */
#orderLines .order-product-row.dragging{transform:rotate(-5deg) scale(.985)!important;transform-origin:center!important;box-shadow:0 14px 32px rgba(20,66,89,.19)!important;z-index:10!important}
#orderLines .order-product-row.rxde-drag-source{transform:rotate(-5deg) scale(.985)!important}
.rxde-drag-ghost{transform:rotate(-5deg) scale(.98)!important;transform-origin:center!important;box-shadow:0 18px 45px rgba(20,66,89,.26)!important}
@media(prefers-reduced-motion:reduce){#orderLines .order-product-row.dragging,#orderLines .order-product-row.rxde-drag-source,.rxde-drag-ghost{transform:none!important}}

/* RXDE rate/mobile navigation hotfix — 2026-11-09. Append-only: leave existing layout intact. */
#rxdeReturnCatalog{display:none}
@media(max-width:760px){
 html body #orderSheet .rxde-return-catalog{
   display:inline-flex!important;align-items:center;justify-content:center;
   min-height:44px!important;min-width:92px!important;padding:7px 10px!important;
   border:1px solid #a5c0cf!important;border-radius:10px!important;
   background:#eff8fc!important;color:#174e68!important;
   font-size:12px!important;font-weight:750!important;line-height:1.15!important;
   cursor:pointer!important;white-space:nowrap!important;
 }
 html body #orderSheet .sheet-header.rxde-order-compact-header{
   flex-wrap:wrap!important;gap:5px!important;
 }
 html body #orderSheet .sheet-header .rxde-return-catalog{order:2!important;margin-left:auto!important;flex:0 0 auto!important;}
 html body #orderSheet .sheet-header .sheet-close{order:3!important;min-width:36px!important;width:36px!important;min-height:44px!important;height:44px!important;}
}


/* RXDE v2 11.11.2026-19: compact, two-row checkout summary.
   One document structure for desktop and mobile. The receipt-copy control
   belongs to the item count, not to the amount. */
html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer,
html.rxde-mobile-ui body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-content:end!important;
  align-items:center!important;
  row-gap:8px!important;
  column-gap:0!important;
  max-height:none!important;
  min-height:0!important;
  padding:9px 14px calc(10px + env(safe-area-inset-bottom, 0px))!important;
}
html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer .order-summary,
html.rxde-mobile-ui body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer .order-summary {
  display:grid!important;
  grid-column:1!important;
  grid-row:1!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  column-gap:8px!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
}
html body #orderSheet .sheet-footer .rxde-order-count-actions {
  display:inline-flex!important;
  grid-column:1!important;
  grid-row:1!important;
  align-items:center!important;
  justify-self:start!important;
  gap:9px!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}
html body #orderSheet .sheet-footer .rxde-order-count-actions #orderPositions {
  display:inline-block!important;
  position:static!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  white-space:nowrap!important;
  font-size:clamp(12px,3vw,17px)!important;
  line-height:1.2!important;
}
html body #orderSheet .sheet-footer .rxde-order-count-actions #viewOrderReceipt {
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
  position:static!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:5px!important;
  margin:0!important;
  border-radius:9px!important;
}
html body #orderSheet .sheet-footer .order-summary > #orderTotalRub {
  display:block!important;
  position:static!important;
  grid-column:2!important;
  grid-row:1!important;
  justify-self:end!important;
  margin:0!important;
  padding:0!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  font-size:clamp(20px,5vw,30px)!important;
  line-height:1.1!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
  text-align:right!important;
}
html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer #rxdeMobileContactsToggle,
html.rxde-mobile-ui body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer #rxdeMobileContactsToggle {
  display:flex!important;
  grid-column:1!important;
  grid-row:2!important;
  justify-self:stretch!important;
  align-self:stretch!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:50px!important;
  min-height:50px!important;
  margin:0!important;
  padding:7px 12px!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:clamp(15px,3.5vw,18px)!important;
  background:#2788c2!important;
  background-image:none!important;
  border:1px solid #2179ae!important;
  color:#fff!important;
  border-radius:12px!important;
}
/* The manual email choice remains available in the checkout contact screen. */
html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer > a.rxde-inline-direct {
  display:none!important;
}
html body #rxdeCheckoutFlow10 .rxde-email-hint19 {
  display:block!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:400!important;
  color:#62747d!important;
  margin:4px 0 0!important;
  padding:0!important;
}
@media(max-width:760px){
  html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer,
  html.rxde-mobile-ui body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer {
    padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px))!important;
    row-gap:7px!important;
  }
  html body #orderSheet .sheet-footer .rxde-order-count-actions{gap:7px!important}
  html body #orderSheet .sheet-footer .order-summary > #orderTotalRub {
    font-size:clamp(19px,5vw,27px)!important;
  }
  html body #orderSheet:not(.rxde-mobile-contacts-open) .sheet-footer #rxdeMobileContactsToggle {
    height:48px!important;min-height:48px!important;
  }
}
