/* TS_LUXE_V4 (2026-11-13) — premium pink × black layer on top of ts-luxe-home.css.
   Loaded after it on home / collections / categories. Markup hooks: .tsx-hero4__copy + .tsx-stage (partials/hero-stage). */
.tsx{--ink:#0d0d0f;--pink:#ff2e8b;--pink-d:#e8157a;--glow:rgba(255,46,139,.45);--black:#0d0d0f}

/* ---------- headings ---------- */
.tsx .tsx-title{font-weight:800;letter-spacing:-.02em}
.tsx .tsx-title::after{content:"";display:block;width:46px;height:4px;border-radius:4px;background:var(--pink);margin:12px auto 0}
.tsx .tsx-title-pink::after{margin-right:0}
.tsx .tsx-cats__line,.tsx .tsx-tile-label small{display:none}

/* ---------- page hero (collections / categories / one category) ---------- */
.tsx .tsx-col-head{position:relative;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:clamp(20px,4vw,64px);
  margin:14px auto 0;padding:clamp(28px,4vw,56px) var(--gut);text-align:right;color:#fff;
  background:var(--black)!important;border:0!important;border-radius:30px!important;box-shadow:0 40px 80px -50px rgba(0,0,0,.8)}
.tsx .tsx-col-head::before{content:"";position:absolute;right:-12%;bottom:-55%;width:62%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,46,139,.42),transparent 72%);filter:blur(12px);pointer-events:none}
.tsx .tsx-col-head::after{content:"";position:absolute;top:0;right:8%;left:8%;height:2px;background:linear-gradient(90deg,transparent,var(--pink),transparent);opacity:.9}
.tsx .tsx-col-head>*{position:relative;z-index:1}
.tsx-hero4__copy{min-width:0}
.tsx .tsx-crumbs{justify-content:flex-start;margin-bottom:16px;color:rgba(255,255,255,.5);font-size:12.5px;letter-spacing:.02em}
.tsx .tsx-crumbs a:hover{color:#fff}
.tsx .tsx-crumbs b{color:var(--pink)}
.tsx .tsx-col-head h1{margin:0 0 16px;color:#fff!important;font-size:clamp(38px,5.2vw,76px);font-weight:800;line-height:1.02;letter-spacing:-.03em}
.tsx .tsx-col-head h1::after{content:"";display:block;width:68px;height:4px;border-radius:4px;background:var(--pink);margin-top:20px}
.tsx .tsx-col-head p{max-width:50ch;margin:0 0 24px!important;color:rgba(255,255,255,.72)!important;font-size:clamp(15px,1.25vw,18px);line-height:1.8}
.tsx .tsx-col-worlds{justify-content:flex-start;gap:10px}
.tsx .tsx-col-worlds a{padding:10px 22px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:#fff;font-weight:600;font-size:14px;
  backdrop-filter:blur(6px);transition:background .3s,border-color .3s,transform .3s}
.tsx .tsx-col-worlds a:hover{border-color:rgba(255,255,255,.5);transform:translateY(-1px)}
.tsx .tsx-col-worlds a.is-on{background:var(--pink);border-color:var(--pink);color:#fff!important;box-shadow:0 14px 28px -12px var(--glow)}
.tsx .tsx-col-head--cat .tsx-col-head__actions{justify-content:flex-start;margin:0}

/* «تسوقي حسب القسم» and the other main CTA */
.tsx .tsx-cats__open{border:0;border-radius:999px;padding:14px 26px;background:linear-gradient(135deg,#ff2e8b,#ff5fa8);color:#fff;font-weight:700;font-size:15px;
  box-shadow:0 18px 34px -14px var(--glow);transition:transform .3s var(--ease),box-shadow .3s}
.tsx .tsx-cats__open:hover{transform:translateY(-2px);box-shadow:0 24px 40px -14px var(--glow)}
.tsx .tsx-cats__open-ico i{background:#fff}

/* ---------- product stage ---------- */
.tsx-stage{position:relative;height:clamp(245px,25vw,380px);direction:ltr;perspective:900px}
.tsx-stage__floor{position:absolute;inset:8% -12%;background:radial-gradient(ellipse at 45% 72%,var(--glow),transparent 65%);opacity:.65;filter:blur(20px);pointer-events:none}
.tsx-stage__cards{position:absolute;inset:0}
.tsx-stage__card{
  position:absolute;left:var(--x,50%);top:var(--y,50%);width:var(--w,33%);max-width:205px;aspect-ratio:4/5;
  transform:translate(-50%,-50%) rotate(var(--tilt,0deg));perspective:600px;
}
.tsx-stage__card:first-child:not(:only-child){--x:19%;--y:40%;--w:29%;--tilt:-12deg}
.tsx-stage__card:nth-child(2){--x:51%;--y:52%;--w:35%;--tilt:4deg;z-index:1}
.tsx-stage__card:nth-child(3){--x:83%;--y:62%;--w:26%;--tilt:12deg}
.tsx-stage__card:first-child:nth-last-child(2){--x:31%;--y:43%;--w:36%}
.tsx-stage__card:first-child:nth-last-child(2) + .tsx-stage__card{--x:69%;--y:56%}
.tsx-stage[data-layout="slide"] .tsx-stage__card:first-child:not(:only-child){--y:63%;--tilt:-7deg}
.tsx-stage[data-layout="slide"] .tsx-stage__card:nth-child(2){--y:37%;--tilt:0deg}
.tsx-stage[data-layout="slide"] .tsx-stage__card:nth-child(3){--y:49%;--tilt:9deg}
.tsx-stage[data-layout="fade"] .tsx-stage__card:first-child:not(:only-child){--y:50%;--tilt:-9deg}
.tsx-stage[data-layout="fade"] .tsx-stage__card:nth-child(2){--y:62%;--tilt:-4deg}
.tsx-stage[data-layout="fade"] .tsx-stage__card:nth-child(3){--y:36%;--tilt:8deg}
.tsx-stage__card img{width:100%;height:100%;object-fit:contain;display:block;border-radius:clamp(9px,1.3vw,20px);background:#fff;box-shadow:0 22px 38px -18px #000}
.tsx-stage[data-layout="rise"] .tsx-stage__card:first-child:not(:only-child){--x:22%;--y:55%;--tilt:5deg}
.tsx-stage[data-layout="rise"] .tsx-stage__card:nth-child(2){--y:40%;--tilt:-7deg}
.tsx-stage[data-layout="rise"] .tsx-stage__card:nth-child(3){--y:58%;--tilt:6deg}
.tsx-stage[data-layout="swing"] .tsx-stage__card:first-child:not(:only-child){--y:35%;--tilt:-6deg}
.tsx-stage[data-layout="swing"] .tsx-stage__card:nth-child(2){--y:60%;--tilt:9deg}
.tsx-stage[data-layout="swing"] .tsx-stage__card:nth-child(3){--y:42%;--tilt:-8deg}

/* ---------- category chips under the hero ---------- */
.tsx .tsx-cat-chips{padding-top:16px;gap:10px}
.tsx .tsx-cat-chip{gap:10px;padding:6px 16px 6px 7px;border:1px solid var(--black);border-radius:999px;background:var(--black);color:#fff;font-weight:600;font-size:14px;transition:background .3s,box-shadow .3s,transform .3s}
.tsx .tsx-cat-chip img{border-radius:50%;border:2px solid var(--pink)}
.tsx .tsx-cat-chip:hover{background:#1d1d22;transform:translateY(-1px)}
.tsx .tsx-cat-chip.is-on{background:var(--pink);border-color:var(--pink);box-shadow:0 12px 24px -10px var(--glow)}
.tsx .tsx-cat-chip.is-on img{border-color:#fff}

/* ---------- search / sort / tabs bar ---------- */
.tsx .tsx-col-count,.tsx .tsx-tab .tsx-tab__n{display:none!important}
.tsx .tsx-col-search{border:1.5px solid var(--black);border-radius:999px;background:#fff;overflow:hidden;box-shadow:none}
.tsx .tsx-col-search input{border:0;background:transparent;padding:12px 18px;font-size:15px}
.tsx .tsx-col-search input:focus{box-shadow:none;outline:none}
.tsx .tsx-col-search button{margin:4px;padding:0 22px;border:0;border-radius:999px;background:var(--black);color:#fff;font-weight:700;transition:background .3s}
.tsx .tsx-col-search button:hover{background:var(--pink)}
.tsx .tsx-sort select{border:1.5px solid var(--black);border-radius:999px;padding:9px 16px;font-weight:600}
.tsx .tsx-tab{border-color:#e6e6e6!important;background:#fff}
.tsx .tsx-tab:hover{border-color:var(--black)!important}
.tsx .tsx-tab.is-on{background:var(--black);border-color:var(--black)!important}

/* ---------- buttons ---------- */
.tsx .tsx-buy{min-height:44px;border-radius:999px;background:var(--black)!important;color:#fff!important;font-weight:700;font-size:14px;letter-spacing:.01em;
  box-shadow:0 12px 24px -16px rgba(0,0,0,.7);transition:background .3s,transform .3s var(--ease),box-shadow .3s}
.tsx .tsx-buy::after{background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%)}
.tsx .tsx-buy:hover{background:var(--pink)!important;filter:none;box-shadow:0 18px 32px -14px var(--glow)}
.tsx .tsx-sheet__all{display:inline-block;margin-top:18px;padding:12px 24px;border-radius:999px;background:var(--black);color:#fff;font-weight:700}
.tsx .tsx-sheet__all:hover{background:var(--pink)}

/* ---------- product cards ---------- */
.tsx .tsx-card-media{border-radius:20px}
.tsx .tsx-card-title{font-weight:600!important}
.tsx .tsx-card-price b{font-size:15.5px;font-weight:800;letter-spacing:-.01em}
.tsx .tsx-say{background:var(--black);color:#fff;font-family:var(--f);font-weight:600;font-size:12px;border-radius:999px;padding:6px 13px;box-shadow:0 10px 20px -10px rgba(0,0,0,.6)}

/* ---------- category cards: photo with the name on it, nothing else ---------- */
.tsx .tsx-cat{border-radius:24px;background:var(--black);box-shadow:0 22px 44px -28px rgba(0,0,0,.75)}
.tsx .tsx-cat:hover{transform:translateY(-6px);box-shadow:0 30px 50px -26px var(--glow)}
.tsx .tsx-cat__media{aspect-ratio:4/5}
.tsx .tsx-cat__media::after{background:linear-gradient(180deg,transparent 42%,rgba(13,13,15,.88))}
.tsx .tsx-cat__body{position:absolute;inset:auto 0 0;z-index:2;flex-direction:column;align-items:flex-start;gap:0;padding:0 18px 20px;color:#fff}
.tsx .tsx-cat__name{white-space:normal;font-size:18px;font-weight:700;line-height:1.3;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.45)}
.tsx .tsx-cat__name::after{content:"";display:block;width:34px;height:3px;border-radius:3px;background:var(--pink);margin-top:9px;transition:width .45s var(--ease)}
.tsx .tsx-cat:hover .tsx-cat__name::after{width:64px}
.tsx .tsx-cat__count,.tsx .tsx-cat__go{display:none}

/* ---------- home: «ليه البنات بتحب توب سيكرت» gets the black tile ---------- */
.tsx .tsx-b-pink{background:var(--black);color:#fff}
.tsx .tsx-b-pink::before{background:rgba(255,46,139,.22)}

/* ---------- phone ---------- */
@media (max-width:760px){
  .tsx .tsx-col-head{grid-template-columns:1fr;gap:10px;padding:22px 18px 28px;text-align:center;border-radius:24px!important;margin:10px 10px 0;max-width:none}
  .tsx .tsx-crumbs,.tsx .tsx-col-worlds,.tsx .tsx-col-head--cat .tsx-col-head__actions{justify-content:center}
  .tsx .tsx-col-head h1{font-size:34px}
  .tsx .tsx-col-head h1::after{margin:14px auto 0}
  .tsx .tsx-col-head p{margin:0 auto 20px!important;font-size:14.5px}
  .tsx-stage{order:-1;height:clamp(170px,49vw,250px);width:min(100%,460px);margin-inline:auto}
  .tsx .tsx-cat__name{font-size:15.5px}
  .tsx .tsx-cat__body{padding:0 14px 14px}
}
