:root {
  --c-bg: #ffffff;
  --c-surface: #f6f6f4;
  --c-text: #1c1c1c;
  --c-soft: #4c4c4c;
  --c-muted: #767676;
  --c-border: #ededed;
  --c-border-strong: #dcdcdc;
  --c-cta: #171717;
  --c-whatsapp: #25d366;
  --f-sans: "Tajawal", "Helvetica Neue", Arial, sans-serif;
  --container: 1560px;
  --pad: 24px;
  --radius: 2px;
  --header-height: 64px;
  --dur: 180ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-product: 15px;
  --fs-price: 15px;
  --fs-section: 26px;
  --tr-label: .14em;
  --tr-wide: .04em;
}

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

html {
  min-height: 100%;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .006em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: #111111;
  color: #ffffff;
}

.container {
  width: min(100% - (var(--pad) * 2), var(--container));
  margin-inline: auto;
}

.container--narrow {
  max-width: 920px;
}

.section {
  padding: 72px 0 96px;
}

.front-page-content {
  background: var(--c-bg);
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 2000;
  transform: translateY(-160%);
  background: var(--c-cta);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--c-cta);
  border-radius: var(--radius);
  background: var(--c-cta);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.button:hover,
.btn:hover {
  background: #2a2a2a;
  color: #ffffff;
}

.button--secondary,
.button--light,
.btn--ghost {
  background: #ffffff;
  color: var(--c-text);
  border-color: var(--c-text);
}

.button--secondary:hover,
.button--light:hover,
.btn--ghost:hover {
  background: var(--c-text);
  color: #ffffff;
}

.text-link,
.link-underline {
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
}

.header-bar {
  display: grid;
  grid-template-columns: 220px minmax(360px, 1fr) 300px;
  align-items: center;
  min-height: var(--header-height);
  gap: 24px;
}

.brand a,
.footer-logo {
  display: inline-flex;
  align-items: center;
  color: var(--c-text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .22em;
  padding-inline-start: .22em;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.header-nav a,
.header-link,
.header-whatsapp,
.lang-switch__toggle {
  color: var(--c-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.header-nav a:hover,
.header-link:hover,
.header-whatsapp:hover {
  color: var(--c-muted);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.header-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: flex-start;
  color: var(--c-text);
}

.header-link {
  padding: 0;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-inline-start: 0;
}

.nd-whatsapp-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: var(--c-whatsapp);
  flex: 0 0 auto;
}

.nd-whatsapp-icon svg {
  display: block;
}

.lang-switch {
  position: relative;
}

.lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.lang-switch__menu {
  position: absolute;
  inset-block-start: calc(100% + 18px);
  inset-inline-end: 0;
  display: none;
  min-width: 160px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  z-index: 1200;
}

.lang-switch.is-open .lang-switch__menu,
.lang-switch:hover .lang-switch__menu,
.lang-switch:focus-within .lang-switch__menu {
  display: grid;
}

.lang-switch__menu a {
  padding: 9px 10px;
  color: var(--c-text);
  font-size: 14px;
}

.lang-switch__menu a:hover,
.lang-switch__menu a.is-active {
  background: var(--c-surface);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(0, 0, 0, .28);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 1100;
  width: min(88vw, 370px);
  padding: 18px 22px;
  background: #ffffff;
  border-inline-end: 1px solid var(--c-border);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform var(--dur) var(--ease);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--c-text);
}

.mobile-nav {
  display: grid;
  gap: 0;
  padding: 20px 0;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 17px;
  font-weight: 600;
}

.drawer-whatsapp {
  position: relative;
  margin-top: 18px;
  min-height: 48px;
  padding: 0 18px;
  background: var(--c-cta);
  color: #ffffff;
  border: 1px solid var(--c-cta);
  justify-content: center;
  font-size: 13px;
  text-transform: uppercase;
}

.drawer-foot {
  margin-top: auto;
  padding-top: 18px;
}

.drawer-langs {
  display: flex;
  gap: 14px;
}

.drawer-langs a {
  color: var(--c-muted);
  font-size: 14px;
}

.drawer-langs a.is-active {
  color: var(--c-text);
  border-bottom: 1px solid currentColor;
}

.nd-search-overlay {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1200;
  padding: 16px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
  transform: translateY(-100%);
  transition: transform var(--dur) var(--ease);
}

.nd-search-overlay.is-open {
  transform: translateY(0);
}

.nd-search-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nd-search-form {
  display: flex;
  flex: 1;
  gap: 8px;
}

.nd-search-form input[type="search"] {
  flex: 1;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius);
  background: #ffffff;
  font-size: 16px;
}

.nd-search-form button[type="submit"] {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--c-cta);
  background: var(--c-cta);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 44px 24px;
}

.product-card {
  min-width: 0;
}

.product-card__link {
  display: block;
  color: var(--c-text);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-surface);
}

.product-card__media img,
.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__image--hover,
.product-card__media .pc-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.product-card__image--primary,
.product-card__media .pc-main {
  transition: transform var(--dur) var(--ease);
}

@media (hover: hover) {
  .product-card__link:hover .product-card__image--hover,
  .product-card__link:hover .pc-alt {
    opacity: 1;
    transform: scale(1.01);
  }

  .product-card__link:hover .product-card__image--primary,
  .product-card__link:hover .pc-main {
    transform: scale(1.01);
  }
}

.product-card__body,
.product-card__info {
  display: grid;
  gap: 5px;
  padding-top: 12px;
}

.product-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--c-soft);
  font-size: var(--fs-product);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .006em;
}

.product-card__price,
.price {
  display: block;
  color: var(--c-text);
  font-size: var(--fs-price);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .01em;
}

.product-card__swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 18px;
  margin-top: 3px;
}

.swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 50%;
}

.swatch-more {
  color: var(--c-muted);
  font-size: 12px;
}

.product-card__cta,
.product-card__badge {
  display: none !important;
}

.site-footer {
  margin-top: 32px;
  padding: 48px 0 30px;
  background: #ffffff;
  border-top: 1px solid var(--c-border);
}

.footer-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--c-border);
}

.footer-intro p {
  color: var(--c-muted);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  padding-top: 30px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-col h4 {
  color: var(--c-text);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
}

.footer-col a,
.footer-col span {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.35;
}

.footer-col a:hover,
.footer-col a.is-active {
  color: var(--c-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: 13px;
}

.page-hero,
.state-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1,
.state-block h1,
.state-block h2 {
  margin-bottom: 14px;
  color: var(--c-text);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: .01em;
}

.page-hero p,
.state-block p,
.prose {
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.65;
}

.prose {
  max-width: 72ch;
  margin-inline: auto;
}

.prose > * + * {
  margin-top: 16px;
}

.demo-flag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 10px;
  background: var(--c-surface);
  color: var(--c-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
}

.nd-toast {
  position: fixed;
  inset-inline: 20px;
  bottom: 20px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 40px);
  margin-inline: auto;
  padding: 12px 14px;
  background: var(--c-cta);
  color: #ffffff;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nd-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

.nd-toast__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-whatsapp);
}

.nd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, .96);
}

.nd-lightbox.is-open {
  display: grid;
}

.nd-lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  object-fit: contain;
}

.nd-lightbox__close {
  position: fixed;
  inset-block-start: 20px;
  inset-inline-end: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-border);
  background: #ffffff;
  color: var(--c-text);
  font-size: 28px;
  line-height: 1;
}

body.search-results .site-main,
body.search-no-results .site-main {
  padding: 48px 0 80px;
}

@media (max-width: 1180px) {
  .header-bar {
    grid-template-columns: 170px minmax(300px, 1fr) 260px;
    gap: 18px;
  }

  .header-nav {
    gap: 20px;
  }
}

@media (max-width: 980px) {
  :root {
    --pad: 18px;
    --header-height: 58px;
  }

  .header-bar {
    grid-template-columns: 42px 1fr 42px;
    gap: 10px;
  }

  .header-toggle {
    display: inline-flex;
  }

  .brand {
    justify-self: center;
  }

  .brand a {
    font-size: 17px;
  }

  .header-nav,
  .lang-switch,
  .header-whatsapp {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
    gap: 0;
  }

  .header-link {
    width: 42px;
    height: 42px;
    overflow: hidden;
    text-indent: 200%;
    white-space: nowrap;
    position: relative;
  }

  .header-link::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
  }

  .header-link::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 1.5px;
    right: 9px;
    bottom: 11px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: center;
  }

  .product-grid {
    grid-template-columns: repeat(var(--cols-tablet, 3), minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 14px;
    --fs-body: 15px;
    --fs-product: 15px;
    --fs-price: 15px;
    --fs-section: 24px;
  }

  .section {
    padding: 34px 0 56px;
  }

  .product-grid {
    grid-template-columns: repeat(var(--cols-mobile, 2), minmax(0, 1fr));
    gap: 24px 10px;
  }

  .product-card__body,
  .product-card__info {
    padding-top: 8px;
  }

  .footer-intro {
    display: grid;
    gap: 12px;
  }

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

  .footer-bottom {
    display: grid;
  }

  .nd-search-inner {
    align-items: stretch;
  }

  .nd-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
  }
}
