:root {
  --ps-black: #000;
  --ps-ink: #0a0a0a;
  --ps-white: #fff;
  --ps-bg: #f6f6f6;
  --ps-muted: #6b6b6b;
  --ps-line: #e6e6e6;
  --ps-soft: #f0f0f0;
  --ps-max: 1280px;
  --ps-radius: 16px;
  --ps-font: "Almarai", "Segoe UI", Tahoma, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ps-bg);
  color: var(--ps-ink);
  font-family: var(--ps-font);
}

a { color: inherit; text-decoration: none; }
a:hover { color: #333; }
button, input { font-family: inherit; }
img { display: block; max-width: 100%; }

.ps-page { width: 100%; background: var(--ps-bg); }
.ps-wrap {
  width: min(var(--ps-max), calc(100% - 32px));
  margin-inline: auto;
}

/* Ticker styles live in site-chrome.css */

/* Search */
.ps-search {
  display: flex;
  align-items: center;
  height: 44px;
  width: min(280px, 32vw);
  background: #f4f4f4;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  overflow: hidden;
  padding: 4px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.ps-search:focus-within {
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.ps-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ps-ink);
  padding: 0 14px;
}

.ps-search button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ps-search button:hover { background: #222; }

/* Sections */
.ps-section {
  padding: 48px 0 16px;
}

.ps-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.ps-section__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  color: var(--ps-muted);
}

.ps-section__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.4px;
}

.ps-viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ps-ink);
  transition: gap .2s ease, color .2s ease;
}

.ps-viewall:hover { gap: 12px; color: #333; }
.ps-viewall svg { transition: transform .2s ease; }
.ps-viewall:hover svg { transform: translateX(-3px); }

/* Hero — full-bleed video sequence */
.ps-hero {
  padding: 0;
}

.ps-hero-full {
  width: 100%;
}

.ps-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.ps-hero-main {
  position: relative;
  width: 100%;
  height: min(78vh, 720px);
  min-height: 420px;
  border-radius: 0;
  overflow: hidden;
  background: #111;
}

#heroSlides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ps-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
  overflow: hidden;
}

.ps-hero-slide.is-on {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.ps-hero-slide img,
.ps-hero-slide__video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center center;
  display: block;
  border: 0;
  background: #111;
}

.ps-hero-slide__video {
  pointer-events: none;
}

.ps-hero-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, .55) 0%,
    rgba(0, 0, 0, .18) 32%,
    rgba(0, 0, 0, 0) 58%
  );
  pointer-events: none;
}

.ps-hero-slide__copy {
  position: absolute;
  inset: auto 28px 28px 28px;
  color: #fff;
  max-width: 420px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}

.ps-hero-slide__kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 800;
  text-shadow: none;
}

.ps-hero-slide__title {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.8px;
}

.ps-hero-slide__text {
  margin: 10px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .92);
  line-height: 1.7;
}

.ps-hero-slide__cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 10px;
}

.ps-hero-slide__cta:hover { background: #000; color: #fff; }

.ps-hero-nav {
  position: absolute;
  inset: auto 18px 22px auto;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.ps-hero-nav button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .45);
  transition: width .25s, background .25s;
}

.ps-hero-nav button.is-on {
  width: 28px;
  background: #fff;
}

.ps-hero-arrows {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.ps-hero-arrows button {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .25s, background .2s, transform .2s;
}

.ps-hero-main:hover .ps-hero-arrows button,
.ps-hero-arrows button:focus-visible { opacity: 1; }

.ps-hero-arrows button:hover {
  background: rgba(255, 255, 255, .92);
  color: #000;
  transform: translateY(-50%) scale(1.06);
}

.ps-hero-prev { left: 18px; }
.ps-hero-next { right: 18px; }

.ps-hero-side {
  position: relative;
  height: 460px;
  min-height: 460px;
  border-radius: var(--ps-radius);
  overflow: hidden;
  background: #111;
}

.ps-hero-side img,
.ps-hero-side__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.ps-hero-side__video {
  display: block;
  border: 0;
  background: #111;
  pointer-events: none;
}

.ps-hero-side__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, .5) 0%,
    rgba(0, 0, 0, .14) 36%,
    rgba(0, 0, 0, 0) 62%
  );
  pointer-events: none;
}

.ps-hero-side__copy {
  position: absolute;
  inset: auto 24px 28px 24px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}

.ps-hero-side__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 11.5px;
  font-weight: 800;
}

.ps-hero-side__badge i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, .25);
}

.ps-hero-side__title {
  margin: 14px 0 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.ps-hero-side__text {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.7;
  max-width: 280px;
}

/* Categories */
.ps-carwrap {
  overflow: hidden;
  width: 100%;
  direction: rtl;
}

.ps-cartrack {
  display: flex;
  width: max-content;
  gap: 16px;
  direction: rtl;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.ps-cartrack::-webkit-scrollbar { display: none; }
.ps-cartrack.is-dragging { transition: none; cursor: grabbing; }

.ps-cat-card {
  position: relative;
  width: 220px;
  height: 340px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  color: #fff;
  background: #111;
  isolation: isolate;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.ps-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.ps-cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .45s ease;
}

.ps-cat-card:hover .ps-cat-card__img { transform: scale(1.06); }

.ps-cat-card__count {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #0a0a0a;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.ps-cat-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .35) 42%, transparent 68%);
  pointer-events: none;
}

.ps-cat-card__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.ps-cat-card__meta {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .78);
}

.ps-cat-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.ps-cat-card__note {
  margin: 4px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

.ps-cat-card__cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.ps-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.ps-products-dots {
  display: none;
}

.ps-dot {
  height: 8px;
  width: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  background: #d4d4d4;
  transition: width .25s, background .25s;
}

.ps-dot.is-on {
  width: 28px;
  background: #000;
}

/* Products */
.ps-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ps-card {
  background: #fff;
  border: 1px solid var(--ps-line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ps-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ps-soft);
  overflow: hidden;
}

.ps-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ps-card:hover .ps-card__media img { transform: scale(1.04); }

.ps-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.ps-card__actions {
  position: absolute;
  inset: auto 12px 12px 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
}

.ps-card:hover .ps-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.ps-card__actions button {
  flex: 1;
  height: 40px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ps-card__actions button:hover {
  background: #000;
  color: #fff;
}

.ps-card__body { padding: 16px; }

.ps-card__sub {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--ps-muted);
}

.ps-card__title {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.ps-card__meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ps-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
}

.ps-card__price .old {
  color: var(--ps-muted);
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 700;
}

.ps-card__stars {
  font-size: 12px;
  font-weight: 700;
  color: var(--ps-muted);
}

.ps-card-buy {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #f7f7f7;
  border: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ps-card-buy button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ps-card-buy button:hover { background: #222; }

.ps-cd {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  background: rgba(0, 0, 0, .72);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.ps-card__cd {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
}

/* Deal / ads */
.ps-deal-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.ps-deal {
  position: relative;
  min-height: 420px;
  border-radius: var(--ps-radius);
  overflow: hidden;
  background: #111;
  color: #fff;
}

.ps-deal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-deal__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .25));
}

.ps-deal__body {
  position: relative;
  z-index: 1;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.ps-deal__save {
  display: inline-flex;
  width: fit-content;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.ps-deal__title {
  margin: 14px 0 0;
  font-size: 30px;
  font-weight: 800;
}

.ps-deal__desc {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.7;
  max-width: 360px;
}

.ps-deal__prices {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
}

.ps-deal__prices .old {
  opacity: .65;
  text-decoration: line-through;
}

.ps-deal__cd {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.ps-deal__cd span {
  min-width: 54px;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

.ps-deal__cd small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  opacity: .75;
}

.ps-deal__btn {
  margin-top: 18px;
  width: fit-content;
  border: 0;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 12px;
  cursor: pointer;
}

.ps-deal__btn:hover { background: #e8e8e8; }

.ps-ads {
  display: grid;
  gap: 16px;
}

.ps-ad {
  position: relative;
  min-height: 202px;
  border-radius: var(--ps-radius);
  overflow: hidden;
  background: #111;
  color: #fff;
}

.ps-ad img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-ad__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .2));
}

.ps-ad__body {
  position: relative;
  z-index: 1;
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.ps-ad__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.ps-ad__text {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Footer */
.ps-footer {
  margin-top: 48px;
  background: #0a0a0a;
  color: #fff;
}

.ps-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid #222;
}

.ps-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
}

.ps-feature__ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ps-feature strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
}

.ps-feature span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #9a9a9a;
}

.ps-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 32px;
  padding: 42px 0 32px;
}

.ps-foot-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .4px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-foot-title::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  flex-shrink: 0;
}

.ps-foot-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.ps-foot-link {
  color: #9a9a9a;
  font-size: 13.5px;
  font-weight: 700;
  transition: color .2s, transform .2s;
}

.ps-foot-link:hover {
  color: #fff;
  transform: translateX(-3px);
}

.ps-foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ps-foot-brand img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .15);
}

.ps-foot-brand strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.ps-foot-brand span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #9a9a9a;
  letter-spacing: 2.5px;
}

.ps-foot-desc {
  color: #9a9a9a;
  font-size: 13.5px;
  line-height: 1.85;
  margin: 0;
  max-width: 320px;
}

.ps-foot-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.ps-foot-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #2a2a2a;
  background: #121212;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}

.ps-foot-social a:hover {
  background: #1c1c1c;
  border-color: #444;
}

.ps-foot-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-foot-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #141414;
  border: 1px solid #2a2a2a;
}

.ps-foot-contact .ps-feature__ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.ps-foot-contact strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #6b6b6b;
}

.ps-foot-contact span {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
}

.ps-foot-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 13px 18px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13.5px;
  font-weight: 800;
  transition: transform .2s, background .2s;
}

.ps-foot-cta:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.ps-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 28px;
  border-top: 1px solid #222;
  color: #8a8a8a;
  font-size: 13px;
}

.ps-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ps-footer__legal a {
  color: #8a8a8a;
  transition: color .2s;
}

.ps-footer__legal a:hover { color: #fff; }

.ps-pay {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ps-pay span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* Mobile nav */
.ps-mnav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: auto;
  padding: 10px 4px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .07);
  align-items: flex-end;
  justify-content: space-around;
  gap: 2px;
}

.ps-mnav a,
.ps-mnav button {
  flex: 1;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 0;
  padding: 2px 2px 0;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1px;
  transition: color .18s;
  position: relative;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.ps-mnav a.is-on,
.ps-mnav button.is-on {
  color: #0a0a0a;
}

.ps-mnav a.is-on::before {
  content: "";
  position: absolute;
  top: -6px;
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: #0a0a0a;
}

.ps-mnav-ico {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}

.ps-mnav-ico svg {
  display: block;
}

.ps-mnav-lbl {
  line-height: 1;
  white-space: nowrap;
}

.ps-mnav-cart {
  transform: none;
}

.ps-mnav-cart__btn {
  width: 48px;
  height: 48px;
  margin-top: -18px;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .26);
  transition: transform .18s, background .18s;
}

.ps-mnav-cart:active .ps-mnav-cart__btn {
  transform: scale(.96);
}

.ps-mnav-cart .ps-mnav-lbl {
  color: #0a0a0a;
}

.ps-mnav-badge {
  position: absolute;
  top: -2px;
  left: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #fff;
  color: #0a0a0a;
  border: 2px solid #0a0a0a;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ps-mnav-badge.is-on { display: flex; }

/* Cart + QV */
.ps-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s, visibility .28s;
}

.ps-scrim.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ps-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(420px, 92vw);
  background: #fff;
  z-index: 410;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 40px rgba(0, 0, 0, .18);
  transform: translateX(-105%);
  transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}

.ps-drawer.is-on { transform: translateX(0); }

.ps-drawer__head,
.ps-drawer__foot {
  padding: 18px 20px;
  border-bottom: 1px solid var(--ps-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ps-drawer__foot {
  border-bottom: 0;
  border-top: 1px solid var(--ps-line);
  flex-direction: column;
  align-items: stretch;
}

.ps-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 16px 20px;
}

.ps-drawer__empty {
  text-align: center;
  padding: 48px 12px;
  color: var(--ps-muted);
}

.ps-cart-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ps-line);
}

.ps-cart-line img {
  width: 72px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--ps-soft);
}

.ps-cart-line__title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.ps-cart-line__meta {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--ps-muted);
  font-weight: 700;
}

.ps-cart-line__row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ps-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ps-line);
  border-radius: 10px;
  overflow: hidden;
}

.ps-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.ps-qty span {
  width: 34px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
}

.ps-btn {
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
}

.ps-btn-primary {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 16px;
  font-size: 15px;
}

.ps-btn-primary:hover { background: #222; }

.ps-btn-ghost {
  width: 100%;
  margin-top: 10px;
  background: #fff;
  color: #000;
  border: 1px solid var(--ps-line);
  padding: 14px;
  font-size: 14px;
}

.ps-btn-ghost:hover { background: #f5f5f5; }

.ps-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ps-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.ps-qv {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s, visibility .28s;
}

.ps-qv.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ps-qv-panel {
  width: min(980px, 100%);
  max-height: min(92vh, 860px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.ps-qv-media {
  background: var(--ps-soft);
  padding: 18px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  min-height: 420px;
}

.ps-zoom-box {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  cursor: zoom-in;
}

.ps-zoom-box img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform .12s ease-out;
}

.ps-qv-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ps-qv-thumbs button {
  border: 2px solid var(--ps-line);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  aspect-ratio: 1;
}

.ps-qv-thumbs button.is-on { border-color: #000; }

.ps-qv-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-qv-info {
  padding: 24px;
  overflow: auto;
}

.ps-qv-info__sub {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ps-muted);
}

.ps-qv-info__title {
  margin: 8px 0 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}

.ps-qv-info__desc {
  margin: 12px 0 0;
  color: var(--ps-muted);
  line-height: 1.7;
  font-size: 14px;
}

.ps-qv-info__price {
  margin-top: 18px;
  font-size: 28px;
  font-weight: 800;
}

.ps-qv-label {
  margin: 22px 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.ps-sizes,
.ps-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ps-sizes button {
  min-width: 52px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid #d5d5d5;
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.ps-sizes button.is-on {
  background: #000;
  color: #fff;
  border-color: #000;
}

.ps-colors button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  padding: 0;
}

.ps-colors button.is-on {
  border-color: #000;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #000;
}

.ps-qv-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ps-qv-tools {
  display: flex;
  gap: 8px;
}

/* Prevent horizontal scroll on small screens */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.ps-page {
  overflow-x: clip;
}

@media (max-width: 900px) {
  .ps-hero {
    padding: 0;
  }

  .ps-hero-grid,
  .ps-deal-grid,
  .ps-footer__grid { grid-template-columns: 1fr; }

  .ps-hero-main {
    height: min(70vh, 640px);
    min-height: 380px;
    border-radius: 0;
  }

  .ps-hero-slide img,
  .ps-hero-slide__video,
  .ps-hero-side img,
  .ps-hero-side__video {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center;
  }

  .ps-hero-slide__copy {
    inset: auto 18px 20px 18px;
    max-width: none;
  }

  .ps-hero-slide__title {
    font-size: clamp(24px, 6.5vw, 34px);
  }

  .ps-hero-nav {
    inset: auto 14px 16px auto;
  }

  .ps-hero-prev { left: 12px; }
  .ps-hero-next { right: 12px; }

  .ps-hero-arrows button {
    opacity: .9;
    width: 40px;
    height: 40px;
  }

  .ps-section {
    padding: 36px 0 12px;
  }

  .ps-section__head {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .ps-products {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -4px;
    padding: 2px 4px 10px;
  }

  .ps-products::-webkit-scrollbar { display: none; }

  .ps-products .ps-card {
    flex: 0 0 min(68vw, 260px);
    max-width: 280px;
    scroll-snap-align: start;
  }

  .ps-products-dots {
    display: flex;
  }

  .ps-products-dots[hidden] {
    display: none !important;
  }

  .ps-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-footer__grid {
    gap: 24px;
    padding: 28px 0 20px;
    text-align: center;
  }

  .ps-footer__grid > div:nth-child(2),
  .ps-footer__grid > div:nth-child(3) {
    display: none;
  }

  .ps-foot-brand {
    justify-content: center;
  }

  .ps-foot-brand > div {
    text-align: start;
  }

  .ps-foot-desc {
    max-width: none;
    margin-inline: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ps-foot-social {
    justify-content: center;
  }

  .ps-foot-title {
    justify-content: center;
  }

  .ps-foot-contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ps-foot-contact {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 10px 12px;
    min-width: 0;
  }

  .ps-foot-contact .ps-feature__ico {
    margin-inline: auto;
  }

  .ps-pay {
    display: none;
  }

  .ps-footer__legal a + a {
    display: none;
  }

  .ps-cat-card {
    width: 180px;
    height: 280px;
    border-radius: 18px;
  }

  .ps-cat-card__title { font-size: 18px; }

  .ps-deal { min-height: 360px; }

  .ps-deal__body { padding: 22px; }

  .ps-deal__title { font-size: 24px; }

  .ps-ad { min-height: 180px; }

  .ps-card__actions {
    opacity: 1;
    transform: none;
  }

  .ps-card__body { padding: 12px; }

  .ps-card__title { font-size: 14.5px; }

  .ps-card-buy {
    margin-top: 10px;
    padding: 8px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .ps-card-buy button {
    width: 100%;
    height: 38px;
  }

  .ps-qv {
    padding: 0;
    align-items: stretch;
  }

  .ps-qv-panel {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
    overflow: auto;
  }

  .ps-qv-media {
    min-height: 0;
    padding: 12px;
  }

  .ps-zoom-box img { min-height: 280px; }

  .ps-qv-info { padding: 18px 16px 28px; }

  .ps-qv-info__title { font-size: 22px; }

  .ps-qv-info__price { font-size: 22px; }

  .ps-drawer {
    width: min(100vw, 100%);
    max-width: 100%;
  }

  .ps-mnav { display: flex; }

  .ps-page { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .ps-wrap {
    width: min(var(--ps-max), calc(100% - 20px));
  }

  .ps-hero-main {
    height: min(68vh, 580px);
    min-height: 360px;
    border-radius: 0;
  }

  .ps-hero-slide img,
  .ps-hero-slide__video {
    object-fit: cover !important;
    object-position: center center;
  }

  .ps-hero-side__title {
    font-size: 22px;
  }

  .ps-hero-side__text {
    display: none;
  }

  .ps-hero-side__copy {
    inset: auto 16px 18px 16px;
  }

  .ps-hero-slide__copy {
    inset: auto 14px 16px 14px;
  }

  .ps-hero-slide__text {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ps-hero-slide__cta {
    margin-top: 12px;
    padding: 10px 14px;
    font-size: 12.5px;
  }

  .ps-section {
    padding: 28px 0 8px;
  }

  .ps-section__head {
    flex-direction: column;
    gap: 10px;
  }

  .ps-section__title {
    font-size: clamp(18px, 5.2vw, 24px);
  }

  .ps-viewall {
    font-size: 13.5px;
  }

  /* Product carousel cards on phones */
  .ps-products .ps-card {
    flex: 0 0 min(74vw, 240px);
  }

  .ps-features {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    grid-template-columns: none;
    padding: 16px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ps-features::-webkit-scrollbar { display: none; }

  .ps-feature {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 8px 12px;
    gap: 8px;
    border-radius: 12px;
    background: #141414;
    border: 1px solid #2a2a2a;
  }

  .ps-feature__ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .ps-feature strong { font-size: 12.5px; }
  .ps-feature span { font-size: 11px; }

  .ps-cat-card {
    width: 148px;
    height: 230px;
    border-radius: 16px;
  }

  .ps-cat-card__body { padding: 14px 12px 12px; }
  .ps-cat-card__title { font-size: 16px; }
  .ps-cat-card__note { display: none; }
  .ps-cat-card__cta { margin-top: 6px; font-size: 12px; }

  .ps-card {
    border-radius: 14px;
  }

  .ps-card__badge {
    top: 8px;
    right: 8px;
    font-size: 10px;
    padding: 5px 8px;
  }

  .ps-card__actions {
    inset: auto 8px 8px 8px;
    gap: 6px;
  }

  .ps-card__actions button {
    height: 34px;
    font-size: 11.5px;
    border-radius: 9px;
    padding: 0 4px;
  }

  .ps-card__body { padding: 10px; }

  .ps-card__sub { font-size: 11px; }

  .ps-card__title {
    font-size: 13.5px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ps-card__meta {
    margin-top: 8px;
    flex-wrap: wrap;
  }

  .ps-card__price { font-size: 14px; }
  .ps-card__price .old { font-size: 11.5px; }
  .ps-card__stars { font-size: 11px; }

  .ps-card-buy {
    border-radius: 10px;
    margin-top: 8px;
  }

  .ps-card__cd {
    left: 8px;
    bottom: 8px;
  }

  .ps-cd {
    font-size: 10.5px;
    padding: 5px 8px;
  }

  .ps-deal {
    min-height: 300px;
    border-radius: 14px;
  }

  .ps-deal__body { padding: 18px; }

  .ps-deal__title { font-size: 22px; }

  .ps-deal__desc {
    font-size: 13px;
    max-width: none;
  }

  .ps-deal__cd {
    gap: 6px;
    flex-wrap: wrap;
  }

  .ps-deal__cd span {
    min-width: 48px;
    padding: 8px 6px;
    font-size: 15px;
    border-radius: 10px;
  }

  .ps-ad {
    min-height: 160px;
    border-radius: 14px;
  }

  .ps-ad__body { padding: 16px; }
  .ps-ad__title { font-size: 17px; }

  .ps-footer__grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 0 20px;
    text-align: center;
    align-items: center;
  }

  .ps-footer__grid > div {
    width: 100%;
  }

  .ps-footer__grid > div:nth-child(2),
  .ps-footer__grid > div:nth-child(3) {
    display: none;
  }

  .ps-foot-brand {
    justify-content: center;
  }

  .ps-foot-desc {
    max-width: none;
    font-size: 13px;
    line-height: 1.7;
    margin-inline: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ps-foot-social {
    margin-top: 14px;
    justify-content: center;
  }

  .ps-foot-title {
    justify-content: center;
  }

  .ps-foot-contact-list {
    gap: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ps-foot-contact {
    padding: 10px 12px;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 6px;
    min-width: 0;
  }

  .ps-foot-contact .ps-feature__ico {
    margin-inline: auto;
  }

  .ps-foot-cta {
    margin-top: 12px;
    padding: 12px 16px;
    max-width: 320px;
    margin-inline: auto;
  }

  .ps-pay {
    display: none;
  }

  .ps-footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 0 20px;
    text-align: center;
  }

  .ps-footer__legal {
    gap: 10px;
    font-size: 12px;
    justify-content: center;
  }

  .ps-footer__legal a:not(:first-child) {
    display: none;
  }

  .ps-qv-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .ps-qv-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ps-qv-tools { width: 100%; }

  .ps-qv-tools .ps-btn,
  .ps-qv-tools button {
    flex: 1;
  }

  .ps-sizes button {
    min-width: 46px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .ps-products .ps-card {
    flex: 0 0 min(78vw, 220px);
  }

  .ps-card__actions button {
    font-size: 10.5px;
  }

  .ps-feature span { display: none; }

  .ps-mnav {
    padding: 8px 2px calc(8px + env(safe-area-inset-bottom));
  }

  .ps-mnav-cart__btn {
    width: 46px;
    height: 46px;
    margin-top: -16px;
  }

  .ps-mnav a,
  .ps-mnav button {
    font-size: 9.5px;
    gap: 3px;
  }
}
