/* Targeted compatibility fixes only. Original banner and video styles stay intact. */
/* Explicit foregrounds prevent theme link/button hover colors bleeding through. */
.naam-hero-banner.naam-hero-banner {border-radius:0!important}
.naam-hero-banner.naam-hero-banner .naam-hero-list a,
.naam-hero-banner.naam-hero-banner .naam-hero-list a:visited,
.naam-hero-banner.naam-hero-banner .naam-hero-list a:hover,
.naam-hero-banner.naam-hero-banner .naam-hero-list a:focus,
.naam-hero-banner.naam-hero-banner .naam-hero-list a:active {
 color:transparent!important;-webkit-text-fill-color:transparent!important;
 -webkit-text-stroke:1px rgba(255,255,255,.55)!important;
}
.naam-hero-banner.naam-hero-banner .naam-hero-list a::before {
 color:transparent!important;-webkit-text-fill-color:transparent!important;
 -webkit-text-stroke:1px var(--clr,#b388ff)!important;
 border-inline-end-color:var(--clr,#b388ff)!important;mix-blend-mode:normal;
 background:transparent!important;
 filter:drop-shadow(0 0 2px color-mix(in oklab,var(--clr) 55%,transparent)) drop-shadow(0 0 8px color-mix(in oklab,var(--clr) 55%,transparent))!important;
 text-shadow:
  0 0 2px color-mix(in oklab,var(--clr) 44%,transparent),
  0 0 6px color-mix(in oklab,var(--clr) 55%,transparent),
  0 0 12px color-mix(in oklab,var(--clr) 55%,transparent),
  0 0 24px color-mix(in oklab,var(--clr) 38.5%,transparent),
  0 0 36px color-mix(in oklab,var(--clr) 30.25%,transparent)!important;
}
.naam-src-wrap.naam-src-wrap {
 --naam-search-radius:15px;--naam-search-inset:9px;--naam-control-radius:9px;
}
.naam-src-wrap.naam-src-wrap .naam-src-form {
 border-radius:var(--naam-search-radius)!important;padding:var(--naam-search-inset)!important;
}
.naam-src-wrap.naam-src-wrap .naam-src-go {
 border-radius:calc(var(--naam-search-radius) - var(--naam-search-inset))!important;
 background:var(--naam-accent,#ffa245)!important;color:#172033!important;
 -webkit-text-fill-color:#172033!important;
}
.naam-src-wrap.naam-src-wrap .naam-chip,
.naam-src-wrap.naam-src-wrap .naam-src-toolbar select {
 border-radius:var(--naam-control-radius)!important;
}
.naam-src-wrap.naam-src-wrap .naam-chip:not(.is-active),
.naam-src-wrap.naam-src-wrap .naam-filter-clear,
.naam-src-wrap.naam-src-wrap .naam-pagination button,
.naam-src-wrap.naam-src-wrap .naam-filter-close {
 background:#f3f5f8!important;color:#172033!important;-webkit-text-fill-color:#172033!important;
}
.naam-src-wrap.naam-src-wrap .naam-chip:not(.is-active):hover,
.naam-src-wrap.naam-src-wrap .naam-filter-clear:hover,
.naam-src-wrap.naam-src-wrap .naam-pagination button:hover {
 background:#e6eaf0!important;color:#172033!important;-webkit-text-fill-color:#172033!important;
}
.naam-src-wrap.naam-src-wrap .naam-chip.is-active,
.naam-src-wrap.naam-src-wrap .naam-filter-apply {
 background:var(--naam-accent,#ffa245)!important;color:#172033!important;-webkit-text-fill-color:#172033!important;
}
.naam-src-wrap.naam-src-wrap .naam-chip span,
.naam-src-wrap.naam-src-wrap .naam-pagination button span {
 color:inherit!important;-webkit-text-fill-color:inherit!important;
}
.naam-src-wrap.naam-src-wrap .naam-chip small {
 background:#fff!important;color:#172033!important;-webkit-text-fill-color:#172033!important;
}
.naam-src-wrap.naam-src-wrap .naam-filter-toggle {
 align-items:center!important;justify-content:center!important;text-align:center!important;gap:6px;
 background:#fff!important;color:#172033!important;-webkit-text-fill-color:#172033!important;
 padding:12px 15px!important;min-height:48px;height:auto!important;line-height:1.7!important;
}
.naam-src-wrap.naam-src-wrap .naam-filter-toggle span,
.naam-src-wrap.naam-src-wrap .naam-filter-toggle .naam-filter-count {
 display:inline!important;position:static!important;margin:0!important;padding:0!important;
 color:inherit!important;-webkit-text-fill-color:inherit!important;font-size:14px!important;
 line-height:inherit!important;text-align:center!important;
}
/* Theme typography sometimes targets these descendants and placeholders directly. */
.naam-sgl-wrap.naam-sgl-wrap p.naam-sgl-subtitle,
.naam-src-wrap.naam-src-wrap input[type="search"],
.naam-src-wrap.naam-src-wrap input[type="search"]::placeholder,
.naam-src-wrap.naam-src-wrap .naam-product-cat,
.naam-src-wrap.naam-src-wrap .naam-product-cat * {
 font-family:'NAAM IRANSans',Tahoma,Arial,sans-serif!important;font-style:normal!important;
 font-weight:400!important;letter-spacing:normal!important;
}
.naam-src-wrap.naam-src-wrap input[type="search"]::placeholder {
 color:#64748b!important;-webkit-text-fill-color:#64748b!important;opacity:1!important;
}
.naam-src-wrap,.naam-src-wrap *,.naam-sgl-wrap,.naam-sgl-wrap *,.naam-vm-lightbox,.naam-vm-lightbox *,
.naam-hero-banner .naam-hero-list a,.naam-hero-banner .naam-hero-list a::before,
.naam-hero-banner .neon-sign span,.naam-hero-banner .neon-sign a {
 font-family:'NAAM IRANSans',Tahoma,Arial,sans-serif !important;
}
.naam-src-wrap,.naam-src-wrap * {box-sizing:border-box}
.naam-src-wrap .naam-chipbar {
 display:grid;grid-template-columns:repeat(var(--chip-cols,10),minmax(0,1fr));
 gap:10px;margin:34px 0 22px;
}
.naam-src-wrap .naam-chip {
 position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;
 width:100%;padding:10px 12px;border-radius:0;min-height:44px;height:auto;
 line-height:1.5;font-size:12.5px;font-weight:800;white-space:nowrap;
}
.naam-src-wrap .naam-chip small {
 position:absolute;top:-12px;inset-inline-end:-6px;z-index:3;
 min-width:18px;height:18px;padding:0 5px;display:flex;align-items:center;justify-content:center;
 background:#fff;color:#0f1220;border-radius:4px;border:1px solid #e5e7eb;
 font-size:10px;font-weight:900;line-height:18px;box-shadow:0 6px 12px rgba(17,24,39,.08);
}
.naam-src-wrap .naam-src-toolbar select {
 height:44px!important;min-height:44px!important;max-height:none!important;
 padding:0 10px!important;line-height:normal!important;text-indent:0!important;
 font-size:13px!important;color:#0f1220!important;background-color:#fff!important;
 vertical-align:middle;box-sizing:border-box;transform:none;
}
.naam-src-wrap .naam-src-toolbar option {color:#0f1220;background:#fff;line-height:normal}
.naam-src-wrap .naam-product-title {min-height:0!important;height:auto!important;margin:0!important}
.naam-src-wrap .naam-product-body {
 display:flex;flex-direction:column;justify-content:flex-start!important;gap:5px;
 height:auto!important;min-height:0!important;flex:0 0 auto!important;
}
.naam-src-wrap .naam-product-cat {display:block;margin:0!important;line-height:1.5}
.naam-src-wrap .naam-product-price {
 display:block;margin:0!important;padding:0!important;line-height:1.6;
 white-space:normal;position:static!important;
}
.naam-src-wrap .naam-product-price p {margin:0!important;padding:0!important}
.naam-src-wrap .naam-product-image {margin:0;flex:none}
.naam-src-wrap .naam-product-image img {object-fit:contain}
.naam-src-wrap .naam-pagination[hidden] {display:none!important}
.naam-src-wrap .naam-src-input {min-width:0}
.naam-src-wrap .naam-src-input input {min-width:0}
.naam-src-wrap .naam-chip.is-active {color:#fff}
.naam-vm-lightbox .naam-vm-close {z-index:10;padding:0;line-height:1}
.naam-vm-lightbox .lb-knob {touch-action:none}
.naam-sgl-wrap .naam-sgl-card .badge-float {border-radius:9px!important}
/* Original speed pills; override global theme button sizing and foregrounds. */
.naam-vm-lightbox .naam-vm-speed {
 display:flex!important;gap:6px!important;background:rgba(255,255,255,.92)!important;
 border:1px solid #e5e7eb!important;border-radius:999px!important;padding:4px!important;
 box-shadow:0 6px 16px rgba(17,24,39,.12)!important;backdrop-filter:blur(6px);
}
.naam-vm-lightbox .naam-vm-speed button {
 appearance:none!important;display:inline-block!important;position:static!important;
 width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;
 margin:0!important;padding:6px 10px!important;border:none!important;
 background:transparent!important;color:#0f1220!important;-webkit-text-fill-color:#0f1220!important;
 border-radius:999px!important;font-size:12px!important;font-weight:800!important;
 line-height:normal!important;letter-spacing:normal!important;text-transform:none!important;
 text-shadow:none!important;box-shadow:none!important;transform:none!important;cursor:pointer;
}
.naam-vm-lightbox .naam-vm-speed button.active {
 background:var(--accent,#ff3e70)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
.naam-vm-lightbox .naam-vm-speed button::before,
.naam-vm-lightbox .naam-vm-speed button::after {content:none!important}
@media(min-width:641px){
 .naam-src-wrap .naam-src-results {grid-template-columns:repeat(3,minmax(0,1fr))}
 .naam-src-wrap .naam-product-body {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
 .naam-src-wrap .naam-product-title {grid-column:1;grid-row:1;white-space:nowrap;display:block;text-overflow:ellipsis}
 .naam-src-wrap .naam-product-price {grid-column:2;grid-row:1;background:var(--naam-accent);color:#fff;border-radius:6px;padding:6px 10px!important;font-size:12px}
 .naam-src-wrap .naam-product-cat {grid-column:1/-1;grid-row:2}
 .naam-src-wrap .naam-product-image {aspect-ratio:16/9}
}
@media(max-width:1100px) and (min-width:641px){
 .naam-src-wrap .naam-src-results {grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Fix clipped single-video cards without changing playback or desktop design. */
@media(max-width:1000px){
 .naam-sgl-wrap .naam-sgl-cards {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
 .naam-hero-banner.naam-hero-banner {
  box-sizing:border-box;height:calc(var(--h,240px) * .5)!important;
  min-height:0;padding:24px 10px 0;
 }
 .naam-hero-banner.naam-hero-banner .naam-hero-list {
  display:flex!important;flex-wrap:nowrap!important;gap:clamp(10px,3vw,20px)!important;
  justify-content:space-between;width:100%;
 }
 .naam-hero-banner.naam-hero-banner .naam-hero-list li {flex:0 0 auto}
 .naam-hero-banner.naam-hero-banner .naam-hero-list a {
  font-size:clamp(10px,3vw,16px)!important;letter-spacing:0;padding-inline:0;white-space:nowrap;
 }
 .naam-hero-banner.naam-hero-banner .naam-hero-list {box-sizing:border-box;padding-inline-start:2ch}
 /* Separate the caret from the glyph overlay so moving it never shifts letters. */
 .naam-hero-banner.naam-hero-banner .naam-hero-list a::before {border-inline-end-width:0!important}
 .naam-hero-banner.naam-hero-banner .naam-hero-list a::after {
  content:"";position:absolute;top:0;bottom:0;inset-inline-start:-2ch;
  width:4px;background:var(--clr)!important;pointer-events:none;
  filter:drop-shadow(0 0 2px color-mix(in oklab,var(--clr) 55%,transparent)) drop-shadow(0 0 8px color-mix(in oklab,var(--clr) 55%,transparent));
  transition:inset-inline-start var(--type-speed,.35s) linear;
 }
 .naam-hero-banner.naam-hero-banner .naam-hero-list a:hover::after {
  inset-inline-start:calc(100% + var(--overshoot,1.2ch));
 }
 .naam-src-wrap .naam-chipbar {grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px;margin:28px 6px}
 .naam-src-wrap .naam-chip span {white-space:normal;overflow:visible}
 .naam-src-wrap .naam-product-body {padding:9px!important;gap:4px!important}
 .naam-src-wrap .naam-product-title {line-height:1.6;font-size:12.5px;-webkit-line-clamp:2;white-space:normal}
 .naam-src-wrap .naam-product-price {font-size:11px}
 .naam-sgl-wrap {padding:34px 12px}
 .naam-sgl-wrap .naam-sgl-cards {gap:42px}
 .naam-sgl-wrap .naam-sgl-card {min-width:0}
 .naam-sgl-wrap .naam-sgl-card h3 {padding-inline:18px;font-size:21px}
 .naam-sgl-wrap .naam-sgl-card p {margin-inline:18px}
 .naam-sgl-wrap .naam-sgl-card .meta {padding-inline:18px}
 .naam-sgl-wrap .naam-sgl-cta {padding-inline:18px;flex-wrap:wrap}
 .naam-sgl-wrap .naam-sgl-cta .naam-sgl-btn {
  box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;
  flex:0 0 100%;justify-content:center;text-align:center;
 }
}

/* Keep the five navigation items on one row when a phone rotates. */
@media (orientation:landscape) and (max-width:1000px) {
 .naam-hero-banner.naam-hero-banner {box-sizing:border-box;padding-inline:16px}
 .naam-hero-banner.naam-hero-banner .naam-hero-list {
  display:flex!important;flex-wrap:nowrap!important;justify-content:space-between;
  width:100%;box-sizing:border-box;gap:clamp(10px,2vw,20px)!important;
 }
 .naam-hero-banner.naam-hero-banner .naam-hero-list li {flex:0 0 auto;min-width:0}
 .naam-hero-banner.naam-hero-banner .naam-hero-list a {
  font-size:clamp(12px,2.6vw,25px)!important;letter-spacing:0;padding-inline:0;white-space:nowrap;
 }
 .naam-sgl-wrap .naam-sgl-cards {grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
 .naam-sgl-wrap .naam-sgl-card {min-width:0}
 .naam-sgl-wrap .naam-sgl-card h3 {padding-inline:18px;font-size:21px}
 .naam-sgl-wrap .naam-sgl-card p {margin-inline:18px}
 .naam-sgl-wrap .naam-sgl-card .meta {padding-inline:18px}
 .naam-sgl-wrap .naam-sgl-cta {padding-inline:18px;flex-wrap:wrap}
 .naam-sgl-wrap .naam-sgl-cta .naam-sgl-btn {
  box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;
  flex:0 0 100%;justify-content:center;text-align:center;
 }
}
