/* Kalash.eg storefront theme (dark + red). Loaded after shared/style.css; it wins by order. Remove its <link> in index.html to revert. */

:root, :root[data-theme] {
  --bg: #0a0a0a;
  --surface: #141414;
  --tile: #181818;
  --ink: #f2f2f2;
  --mute: #a3a3a3;
  --line: #2a2a2a;
  --sale: #e5342b;
  --bar: #e5342b;
  --bar-ink: #fff;
  --red: #e5342b;
  --brush: "Permanent Marker", "Anton", Impact, sans-serif;
  color-scheme: dark;
}
body:not(.adm) {
  background: var(--bg);
  color: var(--ink);
}
body:not(.adm) .ann {
  background: #000;
  border-bottom: 1px solid var(--line);
  letter-spacing: .22em;
}
body:not(.adm) #hd {
  background: rgba(10,10,10,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
body:not(.adm) .btn {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  border-radius: 8px;
  font-weight: 700;
}
body:not(.adm) .btn:hover {
  background: #c8281f;
}
body:not(.adm) .btn.ghost, body:not(.adm) .btn.wo {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
}
body:not(.adm) .btn.w {
  background: var(--red);
  color: #fff;
}
body:not(.adm) .card, body:not(.adm) .offer, body:not(.adm) .rv, body:not(.adm) .nd, body:not(.adm) .box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
body:not(.adm) .tile {
  background: var(--tile);
  border-radius: 12px;
}
body:not(.adm) input, body:not(.adm) select, body:not(.adm) textarea {
  background: #101010;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
}
body:not(.adm) input::placeholder {
  color: #777;
}
body:not(.adm) h2.h, body:not(.adm) .ttl, body:not(.adm) .hc h1, body:not(.adm) .nd h2 {
  font-family: var(--brush);
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: none;
}
body:not(.adm) h2.h {
  position: relative;
  padding-bottom: 12px;
}
body:not(.adm) h2.h::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 72px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
}
body:not(.adm) .hc h1 {
  line-height: .95;
  text-shadow: 0 3px 0 rgba(229,52,43,.55);
}
body:not(.adm) .hc .lb {
  color: var(--red);
  letter-spacing: .3em;
  font-weight: 700;
}
body:not(.adm) .cats {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
body:not(.adm) .cats a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  transition: border-color .2s;
}
body:not(.adm) .cats a:hover {
  border-color: var(--red);
}
body:not(.adm) .cats a:last-child:nth-child(odd) {
  grid-column: auto;
}
body:not(.adm) .cats a:last-child:nth-child(odd) .tile {
  aspect-ratio: 3/4;
}
body:not(.adm) .offer.k {
  background: var(--red);
  color: #fff;
}
body:not(.adm) footer {
  background: #050505;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
*:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  body:not(.adm) .hc h1 {
    transform: none;
  }
}
body:not(.adm) .hero .big {
  display: none;
}
body:not(.adm) .hc {
  padding-bottom: clamp(28px, 6vw, 64px);
}
body:not(.adm) .hc h1 {
  margin: 6px 0 clamp(18px, 3vw, 30px);
  font-size: clamp(38px, 8vw, 84px);
  transform: rotate(-2deg);
  transform-origin: left center;
}
body:not(.adm) h2.h::after {
  inset-inline-start: 50%;
  transform: translateX(-50%) skewX(-24deg);
}
body:not(.adm) .sw i, body:not(.adm) .chips .sq {
  box-shadow: 0 0 0 1px #5a5a5a;
}
body:not(.adm) .hero {
  justify-content: flex-end;
}
body:not(.adm) .hbg {
  object-position: center 40%;
}
body:not(.adm) .hero::after {
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.78) 100%);
}
body:not(.adm) .hbg {
  filter: brightness(1.45) contrast(1.05);
}
body:not(.adm) .cstrip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
body:not(.adm) .cstrip::-webkit-scrollbar {
  display: none;
}
body:not(.adm) .cstrip a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color .2s, transform .2s;
}
body:not(.adm) .cstrip a:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
body:not(.adm) .cstrip b {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body:not(.adm) .cstrip span {
  font-size: 12px;
  color: var(--mute);
}
body:not(.adm) .cstrip span::after {
  content: " \2192";
  color: var(--red);
  display: inline-block;
}
[dir="rtl"] body:not(.adm) .cstrip span::after, body:not(.adm)[dir="rtl"] .cstrip span::after {
  transform: scaleX(-1);
}
body:not(.adm) .promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0 8px;
}
@media (min-width: 760px) {
  body:not(.adm) .promos {
    grid-template-columns: 1fr 1fr;
  }
}
body:not(.adm) .promo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  background: #0e0e0e center/cover no-repeat;
  transition: border-color .2s;
}
body:not(.adm) .promo:hover {
  border-color: var(--red);
}
body:not(.adm) .promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.35));
}
[dir="rtl"] body:not(.adm) .promo::before {
  background: linear-gradient(270deg, rgba(0,0,0,.88), rgba(0,0,0,.35));
}
body:not(.adm) .promo.q {
  background-image: url("../images/neon-spine-washed-hoodie.webp");
  background-position: center 30%;
}
body:not(.adm) .promo.n {
  background-image: url("../images/wing-outline-hoodie.webp");
  background-position: center 40%;
}
body:not(.adm) .promo > div {
  position: relative;
  max-width: 60%;
}
body:not(.adm) .promo h3 {
  margin: 0 0 6px;
  font: 400 clamp(22px, 3.5vw, 30px)/1.1 var(--brush);
}
body:not(.adm) .promo p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #d6d6d6;
}
body:not(.adm) .promo span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
body:not(.adm) footer h3 {
  font: 400 18px/1 var(--brush);
  margin-bottom: 14px;
}
body:not(.adm) footer a {
  color: #cfcfcf;
}
body:not(.adm) footer a:hover {
  color: var(--red);
}
