.search-wrap{max-width:var(--search);margin:auto}
.search{
  height:64px;
  padding:6px;
  display:flex;
  align-items:center;
  background:#fff;
  border:1px solid var(--nd-line-strong);
  border-radius:var(--r-pill);
  box-shadow:var(--shadow-card);
  transition:border-color var(--motion-fast),box-shadow var(--motion-fast),transform var(--motion-fast);
}
.search:focus-within{border-color:#bdd6ff;box-shadow:var(--shadow-focus);transform:translateY(-1px)}
.search input{
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  direction:ltr;
  color:var(--nd-ink);
  font-family:var(--font-en);
  font-size:22px;
  font-weight:650;
  padding:0 24px;
}
.search button{
  height:52px;
  min-width:104px;
  border:0;
  border-radius:var(--r-pill);
  background:var(--nd-blue);
  color:white;
  font-size:14.5px;
  font-weight:800;
  transition:transform var(--motion-fast),background var(--motion-fast),box-shadow var(--motion-fast);
}
.search button:hover{background:var(--nd-blue-600);transform:translateY(-1px);box-shadow:0 10px 24px rgba(26,115,232,.18)}
.speed{margin-top:17px;color:var(--nd-subtle);font-size:12.5px;font-weight:500}
.speed b{color:#fb923c}
#asyncSpeed{margin-right:8px;color:var(--nd-subtle)}
.promos{
  display:flex;
  align-items:center;
  gap:10px;
  margin:24px 0 20px;
  padding:12px;
  background:#fff;
  border:1px solid var(--nd-line);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-card);
}
.promo-title{margin-left:auto;font-size:15.5px;font-weight:850;color:#172033;white-space:nowrap}
.promo-tile{
  min-width:112px;
  padding:10px 13px;
  direction:ltr;
  text-align:left;
  border:1px solid var(--nd-line);
  border-radius:var(--r-md);
  background:#fff;
  font-family:var(--font-en);
  font-size:15.5px;
  font-weight:800;
  color:var(--nd-ink);
  transition:transform var(--motion-fast),border-color var(--motion-fast),background var(--motion-fast);
}
.promo-tile:hover{transform:translateY(-1px);border-color:#c9d8ef;background:#fbfdff}
.promo-tile small{display:block;margin-top:5px;font-size:12.5px;font-weight:850;color:var(--nd-red)}
.pcom,.pxyz,.pshop,.porg{background:#fff;color:var(--nd-ink);border-color:var(--nd-line)}
.pcom:before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--nd-red)}
.pxyz:before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#94a3b8}
.pshop:before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--nd-red)}
.porg:before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#94a3b8}
.all-deals{padding:10px 15px;border:1px solid var(--nd-line);border-radius:var(--r-md);background:#fff;color:#334155;font-weight:750;white-space:nowrap;transition:all var(--motion-fast)}
.all-deals:hover{color:var(--nd-blue);border-color:#c7dcff;background:#f8fbff}
.top-cart{position:relative;width:38px;height:38px;border:1px solid var(--nd-line);border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:#64748b;box-shadow:0 5px 16px rgba(15,23,42,.05)}
.top-cart-badge,.cart-badge{position:absolute;top:-8px;right:-6px;background:var(--nd-blue);color:#fff;border-radius:50%;font-size:11px;width:21px;height:21px;display:flex;align-items:center;justify-content:center;font-weight:850}
.search button[disabled]{opacity:.78;cursor:not-allowed;transform:none!important;box-shadow:none!important;background:#64748b!important}
.search button .btn-loading{display:none}
.search button.is-loading .btn-text{display:none}
.search button.is-loading .btn-loading{display:inline}
.promo-tile.discount-high small,.promo-tile.promo-high small{color:var(--nd-red)}
.promo-tile.discount-mid small,.promo-tile.promo-mid small{color:#b7791f}
.promo-tile.discount-low small,.promo-tile.promo-low small{color:#64748b}
.promo-tile.discount-high:before,.promo-tile.promo-high:before{background:var(--nd-red)}
.promo-tile.discount-mid:before,.promo-tile.promo-mid:before{background:#f59e0b}
.promo-tile.discount-low:before,.promo-tile.promo-low:before{background:#94a3b8}

/* v25 promo severity colors */
.promo-tile.promo-high small{color:var(--nd-red)!important}
.promo-tile.promo-mid small{color:#b7791f!important}
.promo-tile.promo-low small{color:#64748b!important}
.promo-tile.promo-high:before{background:var(--nd-red)!important}
.promo-tile.promo-mid:before{background:#f59e0b!important}
.promo-tile.promo-low:before{background:#94a3b8!important}

/* v27 promo cards */
.promos-v27{gap:12px;padding:13px 16px}
.promos-v27 .promo-title{font-size:16px;font-weight:820;color:#172033;margin-left:auto}
.promos-v27 .promo-tile{min-width:104px;padding:12px 14px;border-radius:15px;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:8px;row-gap:3px;background:#fff;box-shadow:none}
.promos-v27 .promo-tile:before{content:attr(data-icon);width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;margin:0;font-size:13px;background:#f8fafc;color:#64748b;grid-row:1/3}
.promos-v27 .promo-tile span{font-size:15.5px;font-weight:740;color:#172033;line-height:1;direction:ltr;text-align:left}
.promos-v27 .promo-tile small{font-size:15px;font-weight:850;line-height:1.1;margin:2px 0 0;color:#64748b}
.promos-v27 .promo-high{border-color:#fee2e2;background:#fffafa}
.promos-v27 .promo-high:before{background:#fff1f2;color:#dc2626}
.promos-v27 .promo-high small{color:#dc2626!important}
.promos-v27 .promo-mid{border-color:#ffedd5;background:#fffaf2}
.promos-v27 .promo-mid:before{background:#fff7ed;color:#ea580c}
.promos-v27 .promo-mid small{color:#b45309!important}
.promos-v27 .promo-low{border-color:#e2e8f0;background:#fff}
.promos-v27 .promo-low:before{background:#f1f5f9;color:#64748b}
.promos-v27 .promo-low small{color:#64748b!important}
.all-deals{display:none!important}


/* v28 search and promo refinements */
.search button.is-loading{min-width:138px!important;background:#64748b!important;color:#fff!important;opacity:.9!important}
.search button.is-loading::after{content:"";display:inline-block;width:13px;height:13px;margin-right:8px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;vertical-align:-2px;animation:spin .75s linear infinite}
.promos-v27{padding:14px 18px!important;gap:14px!important}
.promos-v27 .promo-title{font-size:16.5px!important;font-weight:760!important;color:#172033!important}
.promos-v27 .promo-tile{
  min-width:104px!important;
  padding:11px 13px!important;
  border-radius:14px!important;
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  align-items:center!important;
  column-gap:8px!important;
  background:#fff!important;
  border:1px solid var(--nd-line)!important;
  box-shadow:none!important;
}
.promos-v27 .promo-tile:before{
  content:attr(data-icon)!important;
  width:auto!important;
  height:auto!important;
  border-radius:0!important;
  display:inline-block!important;
  background:transparent!important;
  font-size:17px!important;
  line-height:1!important;
  margin:0!important;
  color:inherit!important;
}
.promos-v27 .promo-tile span{grid-column:2;font-size:14.5px!important;font-weight:760!important;color:#1f2937!important;line-height:1.1}
.promos-v27 .promo-tile small{grid-column:2;margin-top:4px!important;font-size:13px!important;font-weight:780!important;line-height:1.1}
.promos-v27 .promo-high{border-color:#fecaca!important;background:#fffafa!important}
.promos-v27 .promo-high:before,.promos-v27 .promo-high small{color:#dc2626!important}
.promos-v27 .promo-mid{border-color:#fde68a!important;background:#fffdf2!important}
.promos-v27 .promo-mid:before,.promos-v27 .promo-mid small{color:#d97706!important}
.promos-v27 .promo-low{border-color:#e2e8f0!important;background:#fff!important}
.promos-v27 .promo-low:before,.promos-v27 .promo-low small{color:#64748b!important}
.promos-v27 .promo-tile:hover{transform:scale(1.035)!important;border-color:#d7e0ee!important;background:#fff!important}

/* v30 refinements: borderless special-offer items */
.promos-v27{
  border:1px solid var(--nd-line);
}
.promos-v27 .promo-tile{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:8px 12px!important;
}
.promos-v27 .promo-tile:hover{
  background:#f8fafc!important;
  transform:translateY(-1px) scale(1.02);
}
.promos-v27 .promo-tile:before{
  background:transparent!important;
  width:auto!important;
  height:auto!important;
  border-radius:0!important;
}

/* v43 compact 3-panel promotion ticker from real promotions.json */
.promo-strip-v40{
  position:relative;
  direction:rtl;
  margin:18px auto 18px;
  padding:0 0 18px;
  min-height:86px;
  display:grid;
  grid-template-columns:1fr 1.28fr 1fr;
  gap:8px;
  align-items:center;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
}
.promo-strip-title{display:none!important}
.promo-panel{
  direction:rtl;
  min-width:0;
  height:74px;
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-rows:auto auto;
  align-items:center;
  gap:3px 14px;
  padding:8px 18px;
  border:1px solid #e4ebf5;
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 36px rgba(15,23,42,.055);
  transition:opacity .34s ease,transform .34s ease,box-shadow .22s ease;
}
.promo-panel.side{opacity:1;transform:none}
.promo-panel.center{
  position:relative;
  opacity:1;
  padding-inline:22px;
  border-color:#dbe6f4;
  box-shadow:0 18px 46px rgba(15,23,42,.075);
}
.promo-panel:hover{transform:translateY(-1px);box-shadow:0 18px 46px rgba(15,23,42,.08)}
.promo-ext{grid-row:1 / span 2;display:flex;flex-direction:column;align-items:flex-start;gap:7px;direction:ltr;text-align:left;min-width:78px;padding-inline-start:10px;border-inline-start:1px solid #dbe3ef}
.promo-ext b{font-family:var(--font-en);font-size:24px;line-height:1;color:#132033;font-weight:760;letter-spacing:-.025em}
.promo-panel.center .promo-ext b{font-size:28px;color:#0b2f57}
.promo-ext span{display:inline-flex;gap:4px;align-items:center;font-size:11.5px;font-weight:850;border-radius:999px;padding:3px 8px;background:#f1f5f9;color:#64748b;direction:rtl}
.promo-price{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;white-space:nowrap;direction:rtl;text-align:right}
.promo-price strong{font-size:17px;line-height:1.1;font-weight:850;color:#16a34a;white-space:nowrap}
.promo-panel.center .promo-price strong{font-size:20px;color:#16a34a}
.promo-price del{font-size:14px;color:#5f6b7a;text-decoration-thickness:2.5px;text-decoration-color:#dc2626;text-decoration-line:line-through;white-space:nowrap;opacity:1;font-weight:750;letter-spacing:-.01em}
.promo-panel.center .promo-price del{font-size:13.5px;color:#64748b}
.promo-end{grid-column:2;font-size:10.8px;color:#64748b;white-space:nowrap;margin:0;align-self:start;text-align:right}
.promo-panel.promo-high .promo-ext span{background:#fff1f2;color:#dc2626}
.promo-panel.promo-mid .promo-ext span{background:#fffbeb;color:#b45309}
.promo-panel.promo-low .promo-ext span{background:#f1f5f9;color:#64748b}
.promo-panel.promo-high .promo-price strong,.promo-panel.promo-mid .promo-price strong,.promo-panel.promo-low .promo-price strong{color:#16a34a}
.promo-dots{position:absolute;left:50%;bottom:1px;transform:translateX(-50%);display:flex;gap:7px;direction:ltr}
.promo-dots span{width:6px;height:6px;border-radius:999px;background:#cfe0f6;display:block;transition:all .2s ease}
.promo-dots span.active{width:15px;background:var(--nd-blue)}
@media(max-width:760px){
  .promo-strip-v40{grid-template-columns:1fr;gap:4px;padding:0 0 18px;min-height:auto}
  .promo-panel.side{display:none}
  .promo-panel.center{padding-inline:16px;height:74px}
  .promo-ext{min-width:74px}
}


/* Security honeypot: visible to bots in DOM, invisible to humans */
.nd-hp{
    position:absolute !important;
    left:-10000px !important;
    top:auto !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
}

/* v1.0.0-RC6: clearer old/strikethrough prices in promotion cards */
.promo-price del{
  font-size:16px!important;
  font-weight:650!important;
  color:#525252!important;
  opacity:1!important;
  text-decoration-line:line-through!important;
  text-decoration-thickness:1px!important;
  text-decoration-color:#737373!important;
  text-underline-offset:2px!important;
  letter-spacing:-.015em!important;
}
.promo-panel.center .promo-price del{font-size:15.5px!important;color:#525252!important}
.promo-price{gap:7px!important}


/* v1.0.0-RC7: old promo price readable text with red discount strike line */
.promo-price del{
  font-size:15.8px!important;
  line-height:1.25!important;
  color:#5f6368!important;
  font-weight:650!important;
  opacity:1!important;
  text-decoration-line:line-through!important;
  text-decoration-thickness:1px!important;
  text-decoration-color:#dc2626!important;
  text-underline-offset:2px!important;
  text-decoration-skip-ink:auto!important;
}
