.seo-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(200, 229, 216, 0.45), transparent 27rem),
    #f8f6f0;
  color: #102e24;
}

.seo-page a { color: inherit; }

.seo-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seo-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 750;
  font-size: 0.9rem;
}

.seo-header nav a:hover,
.seo-header nav a:focus-visible { color: #23704f; }

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding-block: 18px 10px;
  color: #60746c;
  font-size: 0.84rem;
}

.seo-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

.seo-product {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-block: 30px 90px;
}

.seo-main-image {
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(11, 51, 39, 0.08);
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.98), rgba(222, 238, 230, 0.8) 65%, rgba(181, 217, 200, 0.65)),
    #e6f0ea;
  box-shadow: 0 28px 70px rgba(13, 54, 42, 0.12);
}

.seo-main-image img {
  display: block;
  width: min(92%, 620px);
  height: 540px;
  object-fit: contain;
  transition: transform 280ms ease, opacity 180ms ease;
}

.seo-main-image img.is-changing { opacity: 0.3; transform: scale(0.97); }

.seo-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.seo-thumb {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(11, 51, 39, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #365047;
  cursor: pointer;
  text-align: start;
}

.seo-thumb.is-active { border-color: #0b6b4c; box-shadow: 0 0 0 2px rgba(11, 107, 76, 0.12); }
.seo-thumb img { width: 54px; height: 54px; object-fit: contain; }
.seo-thumb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.72rem; font-weight: 750; }

.seo-product-copy h1,
.seo-collection-hero h1 {
  margin: 8px 0 16px;
  color: #0b3327;
  font-size: clamp(2.9rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.seo-ar-name { margin: 0 0 22px; color: #267353; font-size: 1.35rem; font-weight: 800; text-align: start; }
.seo-lead { max-width: 60ch; color: #496158; font-size: 1.08rem; line-height: 1.75; }

.seo-highlights {
  display: grid;
  gap: 13px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.seo-highlights li { position: relative; padding-inline-start: 29px; line-height: 1.55; }
.seo-highlights li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: #0b6b4c; font-weight: 900; }

.seo-buy-box {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(13, 54, 42, 0.1);
}

.seo-buy-box > div { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.seo-buy-box small { color: #60746c; }
.seo-buy-box strong { display: block; color: #0b3327; font-size: 2rem; }
.seo-buy-box .button { width: 100%; text-align: center; }
.seo-reassurance { margin: 14px 8px 0; color: #667a72; font-size: 0.82rem; line-height: 1.55; }

.seo-info {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 8vw, 120px);
  margin-bottom: 80px;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 36px;
  background: #0b3327;
  color: #e8f2ed;
}

.seo-info h2 { margin: 8px 0 0; color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; }
.seo-info p { color: #d3e2db; line-height: 1.75; }
.seo-info .eyebrow { color: #e1c889; }

.seo-related { margin-bottom: 90px; }
.seo-related h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.seo-related > div { display: flex; flex-wrap: wrap; gap: 12px; }
.seo-related a { padding: 12px 18px; border: 1px solid rgba(11, 51, 39, 0.14); border-radius: 999px; background: #fff; font-weight: 750; }

.seo-collection-hero { max-width: 960px; padding-block: clamp(70px, 10vw, 140px) 70px; text-align: center; }
.seo-collection-hero h1 { font-size: clamp(3.2rem, 7vw, 6.8rem); }
.seo-collection-hero > p:not(.eyebrow) { max-width: 720px; margin-inline: auto; color: #496158; font-size: 1.15rem; line-height: 1.75; }
.seo-collection-hero .hero-actions { justify-content: center; }

.seo-collection {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 90px;
}

.seo-card { min-width: 0; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 16px 46px rgba(13, 54, 42, 0.09); }
.seo-card a { display: block; height: 100%; padding: 18px 18px 25px; text-decoration: none; }
.seo-card img { width: 100%; height: 330px; object-fit: contain; border-radius: 20px; background: linear-gradient(145deg, #f7fbf8, #e5f0ea); }
.seo-card span { display: inline-block; margin-top: 18px; color: #6b7c75; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.seo-card h2 { margin: 7px 0 10px; color: #0b3327; font-size: 1.45rem; }
.seo-card p { min-height: 72px; color: #5b6f66; font-size: 0.9rem; line-height: 1.55; }
.seo-card strong { display: block; margin-top: 18px; color: #0b3327; font-size: 1.5rem; }
.seo-card b { display: inline-block; margin-top: 12px; color: #0b6b4c; text-decoration: underline; text-underline-offset: 4px; }
.seo-card:hover { transform: translateY(-4px); box-shadow: 0 22px 56px rgba(13, 54, 42, 0.13); }

.seo-darija-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 60px; }
.seo-darija-trust article { padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 12px 36px rgba(13, 54, 42, 0.08); }
.seo-darija-trust b { color: #c69739; font-size: 0.82rem; }
.seo-darija-trust h2 { margin: 8px 0; color: #0b3327; font-size: 1.25rem; }
.seo-darija-trust p { margin: 0; color: #61736b; line-height: 1.6; }

[dir="rtl"] .seo-header nav { direction: rtl; }
[dir="rtl"] .seo-card,
[dir="rtl"] .seo-info,
[dir="rtl"] .seo-collection-hero { text-align: right; }
[dir="rtl"] .seo-collection-hero .hero-actions { justify-content: flex-start; }

@media (max-width: 900px) {
  .seo-header { align-items: flex-start; padding-block: 18px; }
  .seo-header nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px 16px; }
  .seo-product { grid-template-columns: 1fr; }
  .seo-main-image { min-height: 440px; }
  .seo-main-image img { height: 420px; }
  .seo-collection { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-info { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 620px) {
  .seo-header { display: grid; }
  .seo-header nav { justify-content: flex-start; font-size: 0.8rem; }
  [dir="rtl"] .seo-header nav { justify-content: flex-end; }
  .seo-product { padding-top: 16px; }
  .seo-main-image { min-height: 390px; border-radius: 26px; }
  .seo-main-image img { height: 370px; }
  .seo-thumbs { grid-template-columns: repeat(3, 1fr); }
  .seo-thumb { grid-template-columns: 1fr; justify-items: center; }
  .seo-thumb span { display: none; }
  .seo-product-copy h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
  .seo-buy-box > div { align-items: flex-start; flex-direction: column; }
  .seo-collection { grid-template-columns: 1fr; }
  .seo-card img { height: 300px; }
  .seo-darija-trust { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .seo-card,
  .seo-main-image img { transition: none !important; }
}
