@font-face {
  font-family: "Cairo";
  src: url("../../shared/fonts/Cairo-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gloock";
  src: url("../../shared/fonts/Gloock-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-ar: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pp-blue-50: #eff6ff;
  --pp-blue-100: #dae9ff;
  --pp-blue-200: #bed9ff;
  --pp-blue-300: #91bfff;
  --pp-blue-400: #5b9fff;
  --pp-blue-500: #3287ff;
  --pp-blue-600: #1677ff;
  --pp-blue-700: #0a68eb;
  --pp-blue-800: #0f58be;
  --pp-blue-rgb: 22, 119, 255;

  --pp-navy-50: #f7fafd;
  --pp-navy-100: #eff4fb;
  --pp-navy-200: #dfe8f3;
  --pp-navy-300: #c6d4e6;
  --pp-navy-400: #8ca2c0;
  --pp-navy-500: #5b7394;
  --pp-navy-600: #405470;
  --pp-navy-700: #2c405c;
  --pp-navy-800: #182941;
  --pp-navy-900: #0b1f3a;
  --pp-navy-rgb: 11, 31, 58;

  --pp-orange-50: #fff6ed;
  --pp-orange-100: #ffe9d5;
  --pp-orange-400: #ff9738;
  --pp-orange-500: #ff7a00;
  --pp-orange-600: #f07606;
  --pp-orange-700: #b25500;
  --pp-orange-rgb: 255, 122, 0;

  --pp-success: #16a34a;
  --pp-warning: #d97706;
  --pp-danger: #dc2626;
  --pp-info: #1677ff;

  --pp-primary: var(--pp-blue-600);
  --pp-primary-hover: var(--pp-blue-700);
  --pp-primary-active: var(--pp-blue-800);
  --pp-primary-soft: var(--pp-blue-50);
  --pp-primary-border: var(--pp-blue-200);
  --pp-on-primary: #fff;
  --pp-accent: var(--pp-orange-500);
  --pp-accent-soft: var(--pp-orange-100);
  --pp-accent-surface: var(--pp-orange-50);
  --pp-accent-text: var(--pp-orange-700);
  --pp-bg: #fff;
  --pp-surface: #fff;
  --pp-surface-muted: var(--pp-navy-50);
  --pp-border: var(--pp-navy-200);
  --pp-text-strong: var(--pp-navy-900);
  --pp-text-body: var(--pp-navy-700);
  --pp-text-muted: var(--pp-navy-500);
  --pp-text-placeholder: var(--pp-navy-400);
  --pp-focus-ring: var(--pp-blue-500);

  --pp-radius-xs: 6px;
  --pp-radius-sm: 8px;
  --pp-radius: 12px;
  --pp-radius-lg: 16px;
  --pp-radius-pill: 999px;

  --pp-shadow-sm: 0 1px 2px rgb(var(--pp-navy-rgb) / 6%);
  --pp-shadow: 0 4px 14px rgb(var(--pp-navy-rgb) / 8%);
  --pp-shadow-lg: 0 12px 28px rgb(var(--pp-navy-rgb) / 12%);
  --pp-shadow-primary: 0 6px 16px rgb(var(--pp-blue-rgb) / 24%);
  --pp-gradient-brand: linear-gradient(to left, var(--pp-navy-900) 0%, var(--pp-blue-600) 65%);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-10: 4rem;
  --sp-12: 5rem;
}

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

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body.home-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--pp-text-strong);
  background: var(--pp-surface-muted);
  font-family: var(--font-ar);
  -webkit-font-smoothing: antialiased;
}

.home-admin-header {
  position: sticky;
  z-index: 40;
  top: 0;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--sp-6);
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--pp-border);
  box-shadow: var(--pp-shadow-sm);
  backdrop-filter: blur(12px);
}

.home-admin-header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.home-admin-header__logo img {
  display: block;
  width: 132px;
  height: auto;
}

.home-admin-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.home-admin-header__nav a {
  position: relative;
  padding-block: 21px;
  color: var(--pp-text-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: color 180ms ease;
}

.home-admin-header__nav a:hover,
.home-admin-header__nav a.is-active {
  color: var(--pp-primary-hover);
}

.home-admin-header__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.home-admin-header__nav a:focus-visible {
  outline: 2px solid var(--pp-focus-ring);
  outline-offset: 2px;
}

.home-admin-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--pp-radius);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-admin-header__button--start {
  color: var(--pp-on-primary);
  background: var(--pp-primary);
  box-shadow: var(--pp-shadow-primary);
}

.home-admin-header__button--start:hover {
  background: var(--pp-primary-hover);
}

.home-admin-header__button--start:active {
  background: var(--pp-primary-active);
  transform: translateY(1px);
}

.home-admin-header__button--login {
  color: var(--pp-primary-hover);
  background: transparent;
  border-color: var(--pp-primary-border);
  box-shadow: none;
}

.home-admin-header__button--login:hover {
  color: var(--pp-primary-hover);
  background: var(--pp-primary-soft);
  border-color: var(--pp-blue-300);
}

.home-admin-header__button--login:active {
  background: var(--pp-blue-100);
}

.home-admin-header__button:hover {
  transform: scale(1.05);
}

.home-admin-header__button:active {
  transform: scale(0.98) translateY(1px);
}

.home-admin-header__button:focus-visible {
  outline: 2px solid var(--pp-focus-ring);
  outline-offset: 2px;
}

.home-hero {
  --hero-cream: #faf6ec;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  /* 16:9 stage with the empty band above the wordmark cropped off: every
     child is positioned against the full 16:9 stage and shifted up by
     --hero-cut, and the section is that much shorter. */
  --hero-cut: 5.2cqw;
  height: calc(56.25vw - 5.2vw);
  container-type: inline-size;
  color: var(--hero-cream);
  background: #043a92;
}

.home-hero__photo {
  position: absolute;
  z-index: 0;
  top: calc(var(--hero-cut) * -1);
  left: 0;
  display: block;
  width: 100%;
  height: 56.25cqw;
  object-fit: cover;
}

.home-hero__wordmark {
  position: absolute;
  z-index: 1;
  top: calc(56.25cqw * 0.065 - var(--hero-cut));
  left: 3.4%;
  right: 0;
  margin: 0;
  color: var(--hero-cream);
  font-family: "Gloock", "Times New Roman", serif;
  font-size: 20cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.043em;
  text-align: center;
  user-select: none;
  direction: ltr;
}

.home-hero__subject {
  position: absolute;
  z-index: 2;
  top: calc(56.25cqw * 0.165 - var(--hero-cut));
  left: 7%;
  display: block;
  width: 73.5%;
  height: auto;
  pointer-events: none;
}

.home-hero__content {
  position: absolute;
  z-index: 3;
  top: calc(56.25cqw * 0.43 - var(--hero-cut));
  right: 4%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 38%;
  font-family: var(--font-ar);
  text-align: start;
}

.home-hero__content h1 {
  margin: 0;
  font-size: 3.1cqw;
  font-weight: 700;
  line-height: 1.32;
  text-wrap: balance;
}

.home-hero__content p {
  margin: 1.6cqw 0 0;
  color: rgb(250 246 236 / 88%);
  font-size: 1.2cqw;
  font-weight: 500;
  line-height: 1.7;
  text-wrap: balance;
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8cqw;
  min-height: 3.75cqw;
  margin-top: 2.1cqw;
  padding: 0 1.9cqw;
  color: var(--pp-blue-800);
  background: var(--pp-surface);
  border: 1px solid var(--pp-blue-200);
  border-radius: 999px;
  box-shadow: var(--pp-shadow);
  font-size: 1.2cqw;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.home-hero__cta svg {
  width: 1.5cqw;
  height: 1.5cqw;
}

.home-hero__cta:hover {
  color: var(--pp-blue-800);
  background: var(--pp-blue-50);
  border-color: var(--pp-blue-300);
  box-shadow: 0 6px 16px rgb(var(--pp-navy-rgb) / 16%);
  transform: translateY(-1px);
}

.home-hero__cta:active {
  background: var(--pp-blue-100);
  border-color: var(--pp-blue-400);
  transform: translateY(1px);
}

.home-hero__cta:focus-visible {
  outline: 2px solid var(--hero-cream);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  /* Same composition as desktop: subject on the left, text column on the
     right over the blue background. Everything is positioned in cqw so the
     whole stage scales with the screen; the stage is taller than 16:9 to leave
     the text enough room. */
  .home-hero {
    aspect-ratio: auto;
    height: 78cqw;
  }

  .home-hero__photo {
    top: 0;
    height: 100%;
  }

  .home-hero__wordmark {
    top: 3.7cqw;
  }

  .home-hero__subject {
    top: 14cqw;
    left: -8cqw;
    width: 100cqw;
    max-width: none;
  }

  .home-hero__content {
    top: 36cqw;
    right: 4cqw;
    width: 41cqw;
  }

  .home-hero__content h1 {
    font-size: clamp(0.9rem, 4.3cqw, 1.7rem);
    line-height: 1.4;
  }

  .home-hero__content p {
    margin-top: 1.6cqw;
    font-size: clamp(0.55rem, 2.2cqw, 0.875rem);
    line-height: 1.7;
  }

  .home-hero__cta {
    gap: 1.2cqw;
    min-height: 7.5cqw;
    margin-top: 2.6cqw;
    padding: 0 3.6cqw;
    font-size: clamp(0.58rem, 2.4cqw, 0.95rem);
  }

  .home-hero__cta svg {
    width: 3cqw;
    height: 3cqw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__cta {
    transition: none;
  }
}

.site-stats {
  padding: var(--sp-8) var(--sp-5);
  background: var(--pp-surface);
}

.site-stats__inner {
  width: min(1000px, 100%);
  margin-inline: auto;
}

.site-stats__header {
  text-align: center;
}

.site-stats__header h2 {
  margin: 0;
  color: var(--pp-text-strong);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.28;
  text-wrap: balance;
}

.site-stats__header p {
  margin: var(--sp-2) 0 0;
  color: var(--pp-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.site-stats__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  margin: var(--sp-6) 0 0;
  padding: 0;
  list-style: none;
}

.site-stat {
  position: relative;
  padding: var(--sp-5);
  background: var(--pp-surface);
  border: 1px solid var(--pp-navy-100);
  border-radius: var(--pp-radius-lg);
  box-shadow: 0 10px 30px rgb(var(--pp-navy-rgb) / 9%);
}

/* Blue corner accents: top-right and bottom-left. */
.site-stat::before,
.site-stat::after {
  position: absolute;
  border: 0 solid var(--pp-blue-800);
  pointer-events: none;
  content: "";
}

.site-stat::before {
  top: -4px;
  right: -1px;
  width: 34%;
  height: 28%;
  border-width: 3px 3px 0 0;
  border-top-right-radius: var(--pp-radius-lg);
}

.site-stat::after {
  bottom: -4px;
  left: -1px;
  width: 30%;
  height: 26%;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: var(--pp-radius-lg);
}

.site-stat__head {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-2);
}

.site-stat__icon {
  display: grid;
  place-items: center;
  inline-size: 3.25rem;
  block-size: 3.25rem;
  color: var(--pp-blue-800);
  background: var(--pp-blue-50);
  border-radius: var(--pp-radius);
}

.site-stat__icon svg {
  inline-size: 1.75rem;
  block-size: 1.75rem;
}

.site-stat__number {
  align-self: flex-end;
  margin: 0;
  color: var(--pp-blue-800);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.site-stat h3 {
  margin: var(--sp-2) 0 0;
  color: var(--pp-text-strong);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.4;
}

.site-stat__text {
  margin: var(--sp-1) 0 0;
  color: var(--pp-text-body);
  font-size: 0.875rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  /* The three cards stay side by side, just more compact and centred. */
  .site-stats__list {
    gap: var(--sp-2);
  }

  .site-stat {
    padding: var(--sp-3) var(--sp-2);
    text-align: center;
  }

  .site-stat__head {
    align-items: center;
    gap: var(--sp-1);
  }

  .site-stat__icon {
    inline-size: 2.5rem;
    block-size: 2.5rem;
  }

  .site-stat__icon svg {
    inline-size: 1.4rem;
    block-size: 1.4rem;
  }

  .site-stat__number {
    align-self: center;
    font-size: clamp(1.4rem, 6vw, 2.25rem);
  }

  .site-stat h3 {
    font-size: clamp(0.8rem, 3vw, 1rem);
  }

  .site-stat__text {
    font-size: clamp(0.66rem, 2.4vw, 0.85rem);
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  .site-stats {
    padding: var(--sp-8) var(--sp-3);
  }
}

.about-us {
  scroll-margin-top: 84px;
  padding: var(--sp-10) var(--sp-5);
  background: var(--pp-surface-muted);
}

.about-us__inner {
  width: min(1000px, 100%);
  margin-inline: auto;
  text-align: center;
}

.about-us__eyebrow {
  margin: 0;
  color: var(--pp-primary-hover);
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.3;
}

.about-us__content h2 {
  margin: var(--sp-3) 0 0;
  color: var(--pp-text-strong);
  font-size: clamp(1.75rem, 1.55rem + 0.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}

.about-us__text {
  max-width: 760px;
  margin: var(--sp-4) auto 0;
  color: var(--pp-text-body);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.about-us__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-6) 0 0;
  padding: 0;
  list-style: none;
}

.about-card {
  position: relative;
  padding: var(--sp-5);
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-lg);
  box-shadow: var(--pp-shadow-sm);
  text-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.about-card:hover {
  border-color: var(--pp-primary-border);
  box-shadow: var(--pp-shadow);
  transform: translateY(-4px);
}

.about-card__icon {
  display: inline-grid;
  place-items: center;
  inline-size: 3rem;
  block-size: 3rem;
  color: var(--pp-primary);
  background: var(--pp-primary-soft);
  border-radius: var(--pp-radius);
}

.about-card__icon svg {
  inline-size: 1.5rem;
  block-size: 1.5rem;
}

.about-card h3 {
  margin: var(--sp-3) 0 0;
  color: var(--pp-text-strong);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.4;
}

.about-card p {
  margin: var(--sp-2) 0 0;
  color: var(--pp-text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.about-us__button {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
  padding: 0.9rem 1.7rem;
  color: var(--pp-on-primary);
  background: var(--pp-primary);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.about-us__button svg {
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

.about-us__button:hover {
  background: var(--pp-primary-hover);
}

.about-us__button:active {
  background: var(--pp-primary-active);
  transform: translateY(1px);
}

.about-us__button:focus-visible {
  outline: 2px solid var(--pp-focus-ring);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  /* The three cards stay side by side, just more compact and centred. */
  .about-us__cards {
    gap: var(--sp-2);
  }

  .about-card {
    padding: var(--sp-3) var(--sp-2);
    text-align: center;
  }

  .about-card__icon {
    inline-size: 2.5rem;
    block-size: 2.5rem;
  }

  .about-card__icon svg {
    inline-size: 1.3rem;
    block-size: 1.3rem;
  }

  .about-card h3 {
    margin-top: var(--sp-2);
    font-size: clamp(0.82rem, 3vw, 1rem);
  }

  .about-card p {
    margin-top: var(--sp-1);
    font-size: clamp(0.66rem, 2.4vw, 0.84rem);
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  .about-us {
    padding: var(--sp-8) var(--sp-4);
  }

  .about-us__text {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-card,
  .about-us__button {
    transition: none;
  }

  .about-card:hover {
    transform: none;
  }
}

.what-to-print {
  position: relative;
  scroll-margin-top: 84px;
  padding: var(--sp-12) var(--sp-6);
  background: var(--pp-surface-muted);
}

.what-to-print__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  min-width: 0;
  margin-inline: auto;
}

.what-to-print__header {
  width: min(700px, 100%);
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}

.what-to-print__label {
  margin: 0;
  color: var(--pp-primary-hover);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.what-to-print__header h2 {
  margin: var(--sp-2) 0 0;
  color: var(--pp-text-strong);
  font-size: clamp(1.75rem, 1.6rem + 0.5vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.what-to-print__header > p:last-child {
  max-width: 640px;
  margin: var(--sp-4) auto 0;
  color: var(--pp-text-muted);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.8;
}

.products-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: 3.25rem;
  direction: ltr;
}

.products-carousel__arrow {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--pp-text-strong);
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow-sm);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.products-carousel__arrow svg {
  width: 20px;
  height: 20px;
}

.products-carousel__arrow:hover {
  background: var(--pp-surface-muted);
  border-color: var(--pp-primary-border);
}

.products-carousel__arrow:active {
  transform: scale(0.94);
}

.products-carousel__arrow:focus-visible {
  outline: 2px solid var(--pp-focus-ring);
  outline-offset: 2px;
}

.products-carousel__track {
  display: flex;
  flex: 1;
  gap: var(--cards-gap, 20px);
  min-width: 0;
  /* room above/below so the hover lift and shadow aren't clipped by the scroll container */
  padding: 12px 4px 28px;
  margin-block: -8px -16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  direction: ltr;
  --cards: 5;
  --cards-gap: 20px;
}

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

.product-card {
  display: flex;
  flex: 0 0 calc((100% - (var(--cards) - 1) * var(--cards-gap)) / var(--cards));
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-lg);
  box-shadow: var(--pp-shadow-sm);
  text-decoration: none;
  scroll-snap-align: start;
  direction: rtl;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: var(--pp-primary-border);
  box-shadow: var(--pp-shadow-lg);
  transform: translateY(-6px);
}

.product-card:focus-visible {
  outline: 2px solid var(--pp-focus-ring);
  outline-offset: 2px;
}

.product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
}

.product-card__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.product-card__media--sticker img {
  max-width: 82%;
  max-height: 82%;
}

.product-card:hover .product-card__media img,
.product-card:focus-visible .product-card__media img {
  transform: scale(1.06);
}

.product-card__name {
  margin-top: var(--sp-3);
  color: var(--pp-text-strong);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.partner-cta {
  scroll-margin-top: 84px;
  padding: var(--sp-12) var(--sp-6);
  background: var(--pp-surface);
}

.partner-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: var(--sp-4);
  width: min(1180px, 100%);
  margin-inline: auto;
}

.partner-cta__video {
  grid-column: 1 / -1;
  overflow: hidden;
  margin-bottom: var(--sp-6);
  background: var(--pp-navy-900);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-lg);
  box-shadow: var(--pp-shadow);
}

.partner-cta__video-title {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 0 var(--sp-3);
  color: var(--pp-text-strong);
  font-size: clamp(1.75rem, 1.6rem + 0.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.partner-cta__video video {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.partner-card {
  min-width: 0;
  border-radius: var(--pp-radius-lg);
}

.partner-card--designer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(230px, 0.8fr);
  min-height: 390px;
  overflow: hidden;
  color: #fff;
  background: var(--pp-navy-900);
  border: 1px solid var(--pp-navy-800);
}

.partner-card__content {
  z-index: 1;
  padding: clamp(30px, 4vw, 52px);
}

.partner-card__photo {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--pp-navy-900);
}

.partner-card__photo img {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 24px rgb(0 0 0 / 28%));
  transform: translateX(-50%);
}

.partner-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem);
  font-weight: 800;
  line-height: 1.45;
}

.partner-card p {
  margin: var(--sp-3) 0 0;
  font-size: 1rem;
  line-height: 1.8;
}

.partner-card--designer p {
  max-width: 540px;
  color: #b8c8dc;
}

.partner-card__benefits {
  display: grid;
  gap: 9px;
  margin: var(--sp-4) 0 0;
  padding: 0;
  color: #dbe7f7;
  font-size: 0.8125rem;
  line-height: 1.5;
  list-style: none;
}

.partner-card__benefits li::before {
  margin-inline-end: 8px;
  color: var(--pp-blue-400);
  content: "✓";
  font-weight: 800;
}

.partner-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-5);
}

.partner-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--pp-radius);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.partner-card__button:hover {
  transform: translateY(-2px);
}

.partner-card__button--primary {
  color: var(--pp-navy-900);
  background: #fff;
  box-shadow: var(--pp-shadow);
}

.partner-card__button--primary:hover {
  background: var(--pp-blue-50);
}

.partner-card__button--ghost {
  color: #fff;
  background: transparent;
  border-color: #54708f;
}

.partner-card__button--ghost:hover {
  background: rgb(255 255 255 / 8%);
  border-color: #8ca2c0;
}

.partner-card--printer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 3.5vw, 42px);
  color: var(--pp-text-strong);
  background: var(--pp-blue-50);
  border: 1px solid var(--pp-primary-border);
}

.partner-card--printer p {
  color: var(--pp-text-body);
}

.partner-card--printer h2 {
  max-width: 100%;
  white-space: normal;
  text-wrap: balance;
}

.partner-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: var(--sp-3) 0 var(--sp-5);
  padding-top: 0;
  text-align: center;
}

.partner-card__stats div + div {
  border-inline-start: 1px solid var(--pp-primary-border);
}

.partner-card__stats dt {
  color: var(--pp-primary);
  font-size: 1.2rem;
  font-weight: 800;
}

.partner-card__stats dd {
  margin: 3px 0 0;
  color: var(--pp-text-body);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.partner-card__button--blue {
  align-self: center;
  color: #fff;
  background: var(--pp-primary);
  box-shadow: var(--pp-shadow-primary);
}

.partner-card__button--blue:hover {
  background: var(--pp-primary-hover);
}

.home-footer {
  color: #d8e2f1;
  background: var(--pp-navy-900);
  border-top: 1px solid rgb(255 255 255 / 8%);
}

.home-footer__inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 40px 18px;
}

.home-footer__content {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 2.4fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.home-footer__brand {
  max-width: 330px;
  scroll-margin-top: 84px;
}

.home-footer__wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 154px;
  height: 42px;
  overflow: visible;
  background: transparent;
  text-decoration: none;
}

.home-footer__wordmark img {
  display: block;
  width: 150px;
  max-width: none;
  height: auto;
  filter:
    brightness(1.08)
    saturate(1.04)
    drop-shadow(0 0 2px rgb(255 255 255 / 34%))
    drop-shadow(0 2px 6px rgb(34 124 255 / 24%));
  animation: home-footer-logo-glow 3.4s ease-in-out infinite;
}

@keyframes home-footer-logo-glow {
  0%,
  38%,
  58%,
  100% {
    filter:
      brightness(1.08)
      saturate(1.04)
      drop-shadow(0 0 2px rgb(255 255 255 / 34%))
      drop-shadow(0 2px 6px rgb(34 124 255 / 24%));
  }

  48% {
    filter:
      brightness(1.3)
      saturate(1.12)
      drop-shadow(0 0 3px rgb(255 255 255 / 46%))
      drop-shadow(0 2px 8px rgb(50 135 255 / 38%));
  }
}

.home-footer__brand p {
  margin: 14px 0 0;
  color: #9fb0c9;
  font-size: 0.8125rem;
  line-height: 1.8;
}

.home-footer__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.home-footer__highlights span {
  padding: 5px 9px;
  color: #b8c8dc;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(159 176 201 / 18%);
  border-radius: var(--pp-radius-pill);
  font-size: 0.6875rem;
  line-height: 1.35;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-footer__highlights span:hover {
  color: #fff;
  background: rgb(22 119 255 / 16%);
  border-color: rgb(91 159 255 / 42%);
  transform: translateX(-5px);
}

.home-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 48px);
}

.home-footer__column h2 {
  margin: 0 0 14px;
  color: #f7f9fd;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.5;
}

.home-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-footer__column li + li {
  margin-top: 10px;
}

.home-footer__column a {
  display: inline-block;
  color: #9fb0c9;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.home-footer__column a:hover {
  color: #fff;
  transform: translateX(-7px);
}

.home-footer__column a:focus-visible,
.home-footer__wordmark:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--pp-blue-400);
  outline-offset: 3px;
}

.home-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgb(159 176 201 / 22%);
}

.home-footer__bottom p {
  margin: 0;
  color: #879ab6;
  font-size: 0.6875rem;
}

.home-footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.home-footer__payments span {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 1px 8px;
  color: #c5d1e2;
  border: 1px solid #55708f;
  border-radius: var(--pp-radius-xs);
  font-family: var(--font-ar);
  font-size: 0.6875rem;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-footer__payments span:hover {
  color: #fff;
  border-color: var(--pp-blue-400);
  transform: translateY(-2px) translateX(2px);
}

@media (max-width: 900px) {
  .partner-cta__inner {
    grid-template-columns: 1fr;
  }

  .partner-card--printer {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  /* Same layout as desktop: text on the start (right) side, photo beside it
     on the left — just tighter. The doubled class beats the later, generic
     ".partner-card h2/p" mobile sizes. */
  .partner-card--designer {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    min-height: 0;
  }

  .partner-card__content {
    min-width: 0;
    padding: 20px 0;
    padding-inline: 16px 4px;
  }

  .partner-card.partner-card--designer h2 {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .partner-card.partner-card--designer p {
    margin-top: var(--sp-2);
    font-size: 0.72rem;
    line-height: 1.7;
  }

  .partner-card__benefits {
    gap: 5px;
    margin-top: var(--sp-3);
    font-size: 0.66rem;
  }

  .partner-card__benefits li::before {
    margin-inline-end: 4px;
  }

  .partner-card__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 14px;
  }

  .partner-card__actions .partner-card__button {
    width: 100%;
    min-height: 36px;
    padding: 0.45rem 0.5rem;
    font-size: 0.72rem;
  }

  .partner-card__photo {
    min-height: 100%;
  }

  /* Show the whole cutout (head, hijab and bag) — no cropping. */
  .partner-card__photo img {
    inset: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }
}

@media (max-width: 900px) and (min-width: 601px) {
  .products-carousel__track {
    --cards: 4;
    --cards-gap: 14px;
  }
}

@media (max-width: 600px) {
  .products-carousel {
    display: block;
  }

  .products-carousel__arrow {
    display: none;
  }

  .products-carousel__track {
    gap: 10px;
    width: 100%;
    padding: 12px 2px 24px;
    margin-block: -8px -10px;
    scroll-padding-inline: 2px;
    touch-action: pan-x;
  }

  .product-card {
    flex: none;
    width: min(42vw, 150px);
    padding: 14px 10px 12px;
  }

  .product-card__media {
    height: 100px;
  }

  .product-card__name {
    margin-top: var(--sp-2);
    font-size: 0.875rem;
  }

  .partner-cta {
    padding: 3.25rem var(--sp-4);
  }

  .partner-card--printer {
    min-height: auto;
    padding: 28px 22px;
  }

  .partner-card--printer h2 {
    white-space: normal;
  }

  .partner-card__stats {
    margin-top: var(--sp-3);
  }

  .partner-card__actions,
  .partner-card__button,
  .partner-card__button--blue {
    width: 100%;
  }

  .partner-card__button--blue {
    align-self: center;
    width: auto;
    min-height: 42px;
    padding: 0.5rem 1.6rem;
    font-size: 0.8125rem;
  }
}

.home-admin-header__menu {
  appearance: none;
  -webkit-appearance: none;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--pp-text-strong);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.home-admin-header__menu svg {
  width: 22px;
  height: 22px;
}

.home-admin-header__menu:focus-visible {
  outline: 2px solid var(--pp-focus-ring);
  outline-offset: 2px;
}

@media (max-width: 1000px) {
  .home-admin-header__menu {
    display: inline-flex;
  }

  .home-admin-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    padding: 12px 16px;
    background: var(--pp-surface);
    border-bottom: 1px solid var(--pp-border);
    box-shadow: var(--pp-shadow);
  }

  .home-admin-header__nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .home-admin-header__nav a {
    padding: 12px 16px;
    border-radius: var(--pp-radius-sm);
  }

  .home-admin-header__nav a:hover,
  .home-admin-header__nav a.is-active {
    background: var(--pp-primary-soft);
  }
}

@media (max-width: 380px) {
  .home-admin-header__logo img {
    max-width: 82px;
  }

  .home-admin-header__actions .home-admin-header__button {
    padding-inline: 8px;
    font-size: 0.6875rem;
  }
}

@media (max-width: 760px) {
  .home-admin-header {
    height: 60px;
    gap: 10px;
    padding-inline: max(var(--sp-4), env(safe-area-inset-left));
  }

  .home-admin-header__logo img {
    width: 106px;
  }

  .home-admin-header__actions {
    gap: 6px;
  }

  .home-admin-header__button {
    white-space: nowrap;
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
  }

  .what-to-print {
    padding: 3.25rem var(--sp-4);
  }

  .what-to-print__header h2 {
    font-size: clamp(1.45rem, 6vw, 1.8rem);
  }

  .what-to-print__header > p:last-child {
    font-size: 0.875rem;
    line-height: 1.75;
  }

  .products-carousel {
    margin-top: var(--sp-6);
  }

  .partner-cta__video-title {
    font-size: clamp(1.4rem, 5.8vw, 1.7rem);
  }

  .partner-cta__inner {
    gap: 20px;
  }

  .partner-cta__video {
    margin-bottom: 4px;
    border-radius: var(--pp-radius);
  }

  .partner-card h2 {
    font-size: clamp(1.35rem, 5.8vw, 1.65rem);
  }

  .partner-card p {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .home-footer__inner {
    width: min(100% - 32px, 1180px);
    padding-block: 36px 20px;
  }

  .home-footer__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-footer__brand {
    max-width: 520px;
  }

  .home-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .home-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 30px;
  }

}

@media (max-width: 480px) {
  .home-admin-header {
    gap: 6px;
    padding-inline: max(10px, env(safe-area-inset-left));
  }

  .home-admin-header__logo img {
    width: 86px;
  }

  .home-admin-header__actions {
    gap: 4px;
  }

  .home-admin-header__button {
    min-height: 34px;
    padding: 0.4rem 7px;
    border-radius: var(--pp-radius-sm);
    font-size: 0.6875rem;
  }

  .partner-card__stats dt {
    font-size: 1rem;
  }

  .partner-card__stats dd {
    font-size: 0.6875rem;
  }

  .home-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }

  .home-footer__wordmark {
    width: 146px;
    height: 40px;
  }

  .home-footer__wordmark img {
    width: 142px;
  }
}

@media (max-width: 360px) {
  .home-admin-header__logo img {
    width: 76px;
  }

  .home-admin-header__button {
    padding-inline: 6px;
    font-size: 0.6875rem;
  }

  .home-footer__nav {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__cta {
    transition: none;
  }

  .home-hero__cta:hover,
  .home-hero__cta:active {
    transform: none;
  }

  .home-admin-header__button {
    transition: none;
  }

  .home-admin-header__button:hover {
    transform: none;
  }

  .home-footer__column a,
  .home-footer__highlights span,
  .home-footer__payments span,
  .partner-card__button {
    transition: none;
  }

  .home-footer__wordmark img {
    animation: none;
  }

  .home-footer__column a:hover,
  .home-footer__highlights span:hover,
  .home-footer__payments span:hover {
    transform: none;
  }

  .partner-card__button:hover {
    transform: none;
  }

}

/* Progressive section reveals: enabled only after JavaScript prepares the page. */
.reveal-ready .scroll-reveal .reveal-item {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-ready .scroll-reveal.reveal-self {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  transition:
    opacity 650ms ease,
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready .scroll-reveal.reveal-self.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-ready .scroll-reveal .reveal-item {
  transition:
    opacity 620ms ease var(--reveal-delay, 0ms),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready .scroll-reveal.is-visible .reveal-item {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .scroll-reveal.reveal-self,
  .reveal-ready .scroll-reveal .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Paper printing promo (between products and "how it works") */
.paper-print {
  padding: 0 var(--sp-6) var(--sp-12);
  background: var(--pp-surface-muted);
  scroll-margin-top: 84px;
}

.paper-print__inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: var(--sp-6);
  width: min(1100px, 100%);
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(91, 159, 255, 0.45), transparent 45%),
    linear-gradient(to left, #0b1f3a 0%, #0a4fb8 70%, #1677ff 100%);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(22, 119, 255, 0.28);
}

.paper-print__eyebrow {
  margin: 0;
  color: #bed9ff;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
}

.paper-print__content h2 {
  margin: var(--sp-2) 0 0;
  font-size: clamp(1.625rem, 1.35rem + 1vw, 2.375rem);
  font-weight: 800;
  line-height: 1.3;
  text-wrap: balance;
}

.paper-print__text {
  max-width: 560px;
  margin: var(--sp-3) 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.paper-print__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: var(--sp-4) 0 0;
  padding: 0;
  list-style: none;
}

.paper-print__chips li {
  padding: 0.35rem 0.85rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--pp-radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
}

.paper-print__steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin: var(--sp-5) 0 0;
  padding: 0;
  list-style: none;
}

.paper-print__steps li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9375rem;
  font-weight: 700;
}

.paper-print__steps span {
  display: inline-grid;
  place-items: center;
  inline-size: 1.75rem;
  block-size: 1.75rem;
  color: #0b1f3a;
  background: #fff;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 800;
}

.paper-print__button {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 48px;
  margin-top: var(--sp-5);
  padding: 0.8rem 1.6rem;
  color: #0b1f3a;
  background: #fff;
  border-radius: var(--pp-radius);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.25);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.paper-print__button svg {
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

.paper-print__button:hover {
  background: #eff6ff;
  transform: translateY(-2px);
}

.paper-print__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.paper-print__visual {
  display: grid;
  place-items: center;
}

.paper-print__visual svg {
  inline-size: min(100%, 300px);
  block-size: auto;
  filter: drop-shadow(0 14px 24px rgba(5, 20, 50, 0.35));
  animation: paper-print-float 5s ease-in-out infinite;
}

.paper-print__sheet {
  fill: #dae9ff;
}

.paper-print__sheet--back {
  fill: #91bfff;
}

.paper-print__sheet-front rect:first-child {
  fill: #fff;
}

.paper-print__accent {
  fill: #1677ff;
}

.paper-print__accent--soft {
  fill: #dae9ff;
}

.paper-print__line {
  stroke: #bed9ff;
  stroke-width: 6;
  stroke-linecap: round;
}

.paper-print__badge circle {
  fill: #16a34a;
  stroke: #fff;
  stroke-width: 5;
}

.paper-print__badge path {
  stroke: #fff;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes paper-print-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 860px) {
  .paper-print__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .paper-print__visual {
    order: -1;
  }

  .paper-print__visual svg {
    inline-size: min(60%, 220px);
  }
}

@media (max-width: 600px) {
  .paper-print {
    padding: 0 var(--sp-3) var(--sp-8);
  }

  .paper-print__inner {
    border-radius: var(--pp-radius-lg);
  }

  .paper-print__text {
    font-size: 1rem;
  }

  .paper-print__button {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .paper-print__visual svg {
    animation: none;
  }

  .paper-print__button {
    transition: none;
  }

  .paper-print__button:hover {
    transform: none;
  }
}

.products-carousel__arrow:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
