:root{--pured-ivory:#faf8f3;--pured-ink:#302b25;--pured-gold:#ad8a53;--pured-line:#ded5c7}body{background:var(--pured-ivory);color:var(--pured-ink)}header{background:rgba(250,248,243,.97)!important;border-bottom:1px solid #e8e0d4!important;padding-top:20px!important;padding-bottom:20px!important}header nav{min-height:44px}header a,header button{transition:color .2s ease}header a:hover{color:#987744}.btn{border-radius:0!important;min-height:48px!important;padding:12px 30px!important;font-weight:400!important;letter-spacing:.03em;transition:background .2s,color .2s,border-color .2s!important;box-shadow:none!important}.btn-filled{background:#342f29!important;color:#fffaf2!important;border:1px solid #342f29!important}.btn-filled:hover{background:#7c6544!important;border-color:#7c6544!important}.btn-outlined{background:transparent!important;border:1px solid #a48b67!important;color:#342f29!important}.btn-outlined:hover{background:#ede5d8!important}.btn-text{border-bottom:1px solid #ad8a53!important;padding:8px 0!important;min-height:38px!important}main img{border-radius:0!important}main .rounded,main .rounded-lg{border-radius:0!important}footer{background:#f0e9df!important;border-top:1px solid #e1d6c5!important;padding-top:64px!important}footer h3{font-weight:500!important}.pured-home main{display:flex;flex-direction:column}.pured-home main>.section-video{order:0}.pured-home main>.section-call-to-action{order:1}.pured-home main>.section-categories{order:2}.pured-home main>.section-hero{order:3}.pured-home .section-video{position:relative;padding:0!important;background:#e6dac9!important;overflow:hidden}.pured-home .section-video .video-wrapper{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}.pured-home .section-video video{display:block;width:100%!important;height:min(78vh,850px)!important;max-height:none!important;object-fit:cover!important;border-radius:0!important}.pured-hero-copy{position:absolute;top:11%;left:7%;width:35%;max-width:470px;color:#322b23;text-align:center;z-index:2;direction:rtl}.pured-hero-copy small{display:block;letter-spacing:.35em;font:14px Georgia,serif;margin-bottom:20px;direction:ltr}.pured-hero-copy h2{font-size:clamp(28px,3.2vw,48px);font-weight:400;line-height:1.5;margin:0 0 20px}.pured-hero-copy a{display:inline-block;border-bottom:1px solid #806441;padding:8px 0;font-size:15px;text-decoration:none}.pured-video-toggle{position:absolute;bottom:20px;left:24px;z-index:4;border:1px solid #9f8969;border-radius:50%;width:42px;height:42px;background:#faf8f3dd;color:#3d3327;font-size:17px;cursor:pointer}.pured-home .section-call-to-action{padding:64px 24px!important;background:#faf8f3!important}.pured-home .section-call-to-action h2{font-size:32px!important;font-weight:400!important;line-height:1.6}.pured-home .section-call-to-action p{font-size:16px!important;line-height:1.9!important;color:#6c6255}.pured-home .section-categories{padding:20px 24px 70px!important}.pured-home .section-categories .theme-container{max-width:1600px!important}.pured-home .section-categories h2{font-size:30px!important;font-weight:400!important;margin-bottom:24px}.pured-home .section-categories .embla__container{gap:10px!important;margin:0!important}.pured-home .section-categories .embla__slide{padding:0!important;flex:0 0 calc(25% - 8px)!important;min-width:0}.pured-home .section-categories h3{font-weight:400!important;text-align:center!important;padding:10px 0!important}.pured-home .section-categories img{aspect-ratio:4/5!important;object-fit:cover!important}.pured-home .section-hero{margin:0!important}@media(max-width:767px){header{padding-top:14px!important;padding-bottom:14px!important}.pured-home .section-video video{height:auto!important;aspect-ratio:16/9;object-fit:contain!important}.pured-hero-copy{position:relative;top:auto;left:auto;width:100%;max-width:none;padding:30px 24px 40px;background:#e6dac9}.pured-hero-copy small{margin-bottom:12px;font-size:12px}.pured-hero-copy h2{font-size:30px;margin-bottom:12px}.pured-video-toggle{top:12px;bottom:auto;left:12px;width:36px;height:36px}.pured-home .section-call-to-action{padding:40px 24px!important}.pured-home .section-call-to-action h2{font-size:26px!important}.pured-home .section-categories{padding:14px 12px 44px!important}.pured-home .section-categories h2{font-size:26px!important}.pured-home .section-categories .embla__slide{flex:0 0 72%!important}.btn{min-height:46px!important;padding:11px 24px!important}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.pured-home .section-video video{animation:none!important}}[section-id="65699d7a-b94b-44da-857d-1fe5036c9e21"]{display:none!important}.pured-home .section-call-to-action .btn{background:#faf8f3!important;color:#6f5634!important;border:1px solid #b49a72!important;padding:15px 38px!important;min-width:220px;gap:24px;font-size:16px!important}.pured-home .section-call-to-action .btn:after{content:"←";font-size:21px;transition:transform .25s}.pured-home .section-call-to-action .btn:hover{background:#eae0d1!important;border-color:#927144!important}.pured-home .section-call-to-action .btn:hover:after{transform:translateX(-4px)}
/* Full-screen model campaign */
.pured-home .section-video{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important}.pured-home .section-video .container,.pured-home .section-video .video-wrapper{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important}.pured-home .section-video video{width:100%!important;height:calc(100svh - 84px)!important;min-height:520px!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:50% 32%!important;border:0!important;border-radius:0!important}.pured-home .section-video .pured-hero-copy{position:absolute!important;top:auto!important;bottom:8%!important;left:5%!important;width:35%!important;background:transparent!important;padding:0!important}@media(max-width:767px){.pured-home .section-video video{height:calc(100svh - 72px)!important;min-height:0!important;object-position:50% 42%!important}.pured-home .section-video .pured-hero-copy{left:5%!important;bottom:6%!important;width:90%!important;color:#fffaf2!important;text-shadow:0 1px 10px #302b2555}.pured-home .pured-hero-copy h2{font-size:25px!important}.pured-home .pured-hero-copy a{color:#fffaf2!important;border-color:#fffaf2!important}}
/* Category cards: 35% smaller */
.pured-home .section-categories .embla__slide{flex:0 0 calc(16.25% - 5.2px)!important}.pured-home .section-categories .embla__container{gap:6.5px!important}.pured-home .section-categories .embla__slide>a{gap:10.4px!important}.pured-home .section-categories .embla__slide h3{font-size:13px!important;padding:6.5px 0!important;line-height:1.5!important}@media(max-width:767px){.pured-home .section-categories .embla__slide{flex:0 0 46.8%!important}.pured-home .section-categories .embla__slide h3{font-size:12px!important}}
/* Refined compact diamond certificate */
#pured-diamond-certificate{gap:12px!important;padding:14px 16px!important;margin:18px 0!important;border-radius:8px!important;background:#f3ede3!important;color:#655746!important;box-shadow:none!important;border:0!important}#pured-diamond-certificate p{font-size:15px!important;font-weight:400!important;line-height:1.8!important;margin:0!important}#pured-diamond-certificate>svg{flex:0 0 32px!important;width:32px!important;height:40px!important;color:#a58a60!important}@media(max-width:767px){#pured-diamond-certificate{padding:12px 14px!important;gap:10px!important;margin:16px 0!important}#pured-diamond-certificate p{font-size:14px!important;line-height:1.75!important}#pured-diamond-certificate>svg{flex-basis:28px!important;width:28px!important;height:36px!important}}
/* PURE D refined mobile navigation */
#mobile-drawer .bg-background.relative.flex.h-full.flex-col{background:#faf8f3!important}#mobile-drawer .overflow-y-auto{gap:20px!important;padding:28px 24px 20px!important}#mobile-drawer .overflow-y-auto>div:first-child{gap:0!important}#mobile-drawer .overflow-y-auto>div:first-child>a{padding:19px 4px!important;font-size:17px!important;font-weight:500!important;line-height:1.6!important;border-bottom:1px solid #e5dccf;transition:color .2s,background .2s}#mobile-drawer .overflow-y-auto>div:first-child>a:hover{color:#987744!important;background:#f2ece2}#mobile-drawer .overflow-y-auto>div:first-child>a:focus-visible{outline:2px solid #ad8a53;outline-offset:3px}#mobile-drawer .overflow-y-auto>div:nth-child(2){border:0!important;padding:0!important;gap:2px!important}#mobile-drawer #mobile-login-btn{padding:12px 4px!important;color:#6e6251!important}#mobile-drawer .pured-menu-brand{display:flex;align-items:center;justify-content:center;width:100%;margin-top:auto;padding:28px 0 12px;border-top:1px solid #ded5c7}#mobile-drawer .pured-menu-brand img{display:block;width:190px;height:auto;max-height:64px;object-fit:contain}#mobile-drawer .overflow-y-auto{scrollbar-width:thin}@media(prefers-reduced-motion:reduce){#mobile-drawer *{transition:none!important}}

/* PURE D · Apple-inspired storefront · 17 November 2026
   Append after the backed-up custom CSS. No imports or behavioral overrides.
   Product/card and dialog selectors must be confirmed against the live DOM.
   Native visibility, grid selection, gestures and checkout remain authoritative. */

:root {
  --pured-ivory: #f8f7f3;
  --pured-ink: #242321;
  --pured-gold: #a38450;
  --pured-line: #e5e1d8;
  --pd-surface: #ffffff;
  --pd-surface-soft: #f1efe9;
  --pd-muted: #67635b;
  --pd-focus: #785b2c;
  --pd-radius-sm: 0.75rem;
  --pd-radius: 1.5rem;
  --pd-radius-large: 2rem;
  --pd-shadow: 0 0.25rem 1.5rem rgba(42, 35, 25, 0.055);
  --pd-shadow-float: 0 1rem 3.5rem rgba(42, 35, 25, 0.15);
  --background: #f8f7f3;
  --foreground: #242321;
  --secondary: #f1efe9;
  --muted: #67635b;
  --accent: #a38450;
  --border: #e5e1d8;
  --ring: #785b2c;
}

body {
  color: var(--pured-ink);
  background: var(--pured-ivory);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  line-height: 1.75;
}

/* Keep connected Arabic letterforms intact, including inherited button styles. */
html:lang(ar) body :is(h1, h2, h3, p, a, button, input, select, textarea, label) {
  letter-spacing: normal !important;
}

body :is(a[href], button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--pd-focus) !important;
  outline-offset: 4px !important;
}

/* The glass is a pseudo-element: filtering header itself would rebase fixed dialogs. */
header {
  position: relative;
  isolation: isolate;
  color: var(--pured-ink);
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 0 !important;
  padding-block: 1rem !important;
  box-shadow: 0 0.25rem 1.5rem rgba(40, 34, 22, 0.035);
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
}

header nav { min-height: 2.75rem; }
header :is(a, button) { color: var(--pured-ink); }
header :is(a, button)[aria-label] { border-radius: var(--pd-radius-sm); }
header button[aria-label] { min-inline-size: 2.75rem; min-block-size: 2.75rem; }
header img[alt="بيور د Pure D"] { object-fit: contain; }

/* Product quick-view headings are content, not storefront navigation chrome. */
#product-main-section header {
  position: static;
  isolation: auto;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none;
}
#product-main-section header::before { content: none; }

#product-quick-view-modal el-dialog-panel {
  border: 1px solid #e5e1d8;
  border-radius: 1.5rem !important;
}

/* Actions use immediate press feedback; gesture-driven surfaces get no new transitions. */
body .btn {
  min-height: 3rem !important;
  padding: 0.8rem 1.5rem !important;
  border-radius: 999px !important;
  font: inherit;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  transition: background-color 140ms ease-out, color 140ms ease-out,
    border-color 140ms ease-out, box-shadow 140ms ease-out !important;
}

body .btn-filled {
  background: var(--pured-ink) !important;
  border: 1px solid var(--pured-ink) !important;
  color: #fff !important;
  box-shadow: 0 0.15rem 0.5rem rgba(36, 35, 33, 0.08) !important;
}

body .btn-outlined {
  background: var(--pd-surface) !important;
  border: 1px solid #d8d1c3 !important;
  color: var(--pured-ink) !important;
}

body .btn-text {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #a38450 !important;
  border-radius: 0 !important;
  min-height: 2.75rem !important;
  padding: 0.5rem 0 !important;
}

body .btn-icon {
  inline-size: 2.75rem !important;
  min-inline-size: 2.75rem !important;
  block-size: 2.75rem !important;
  min-block-size: 2.75rem !important;
  padding: 0.625rem !important;
  border-radius: 50% !important;
}

body :is(.btn, .pured-video-toggle, #pured-ai-assistant, #pured-whatsapp-support):active {
  scale: 0.97;
}

body :is(button:disabled, .btn[aria-disabled="true"]) {
  cursor: not-allowed;
  opacity: 0.55;
  scale: 1;
}

/* Campaign imagery keeps its native composition. The copy has its own contrast layer. */
.pured-home .section-video {
  background: #e8e3d9 !important;
  isolation: isolate;
}

.pured-home .section-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(19, 16, 11, 0.72) 0%,
    rgba(19, 16, 11, 0.48) 30%, rgba(19, 16, 11, 0.1) 58%, transparent 82%);
}

.pured-home .section-video video {
  height: clamp(30rem, 72svh, 49rem) !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: 50% 35% !important;
}

.pured-home .section-video .pured-hero-copy {
  direction: inherit !important;
  top: auto !important;
  bottom: clamp(1.5rem, 5vw, 4rem) !important;
  left: clamp(1.5rem, 5vw, 5rem) !important;
  width: min(39%, 31rem) !important;
  max-width: 31rem !important;
  padding: 0 !important;
  color: #fffdf8 !important;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: start;
  text-shadow: 0 2px 14px rgba(19, 16, 11, 0.35) !important;
}

.pured-home .pured-hero-copy h2 {
  margin: 0 0 1.4rem !important;
  font-size: clamp(2rem, 3.5vw, 3.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-wrap: balance;
}

.pured-home .pured-hero-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 2.875rem;
  max-inline-size: 100%;
  padding: 0.75rem 1.4rem !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 999px;
  background: #fffdf8 !important;
  color: #242321 !important;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
  text-shadow: none !important;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
}
.pured-home .pured-hero-copy a:active { scale: 0.97; }
.pured-home .pured-hero-copy a:focus-visible { outline-color: #fffdf8 !important; }

.pured-home .pured-video-toggle {
  top: 1.25rem !important;
  bottom: auto !important;
  left: 1.25rem !important;
  width: 2.875rem !important;
  height: 2.875rem !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 253, 248, 0.94) !important;
  color: #242321 !important;
  box-shadow: var(--pd-shadow);
}

/* Quiet section rhythm; retain the native carousels and their tracking. */
.pured-home .section-call-to-action {
  padding: clamp(3.5rem, 7vw, 7rem) 1.5rem !important;
  background: var(--pured-ivory) !important;
}

.pured-home .section-call-to-action h2 {
  max-inline-size: 48rem;
  margin-inline: auto;
  font-size: clamp(1.875rem, 3.4vw, 3.2rem) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-wrap: balance;
}

.pured-home .section-call-to-action p {
  max-inline-size: 42rem;
  margin-inline: auto;
  color: var(--pd-muted) !important;
  font-size: 1rem !important;
  line-height: 1.9 !important;
}

.pured-home .section-call-to-action .btn {
  min-width: 0 !important;
  min-height: 3rem !important;
  padding: 0.85rem 1.75rem !important;
  gap: 1rem;
  background: var(--pured-ink) !important;
  color: #fff !important;
  border: 1px solid var(--pured-ink) !important;
}

.pured-home .section-call-to-action .btn::after {
  transform: none !important;
  transition: none;
}

.pured-home .section-categories {
  padding: 0 clamp(1rem, 4vw, 4rem) clamp(3rem, 6vw, 6rem) !important;
}

.pured-home .section-categories .theme-container { max-width: 1440px !important; }
.pured-home .section-categories h2 {
  margin-bottom: 1.75rem !important;
  font-size: clamp(1.75rem, 2.7vw, 2.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.5;
}
.pured-home .section-categories .embla__container { gap: 1rem !important; }
.pured-home .section-categories .embla__slide { flex: 0 0 calc(25% - 0.75rem) !important; }
.pured-home .section-categories .embla__slide > a {
  gap: 1rem !important;
  color: var(--pured-ink);
}
.pured-home .section-categories .embla__slide img {
  aspect-ratio: 4 / 5 !important;
  border-radius: var(--pd-radius) !important;
  object-fit: cover !important;
  background: var(--pd-surface-soft);
}
.pured-home .section-categories .embla__slide h3 {
  padding: 0.6rem 0.2rem !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

/* Cards are grounded by the native data-product-card attribute, not utility classes. */
body [data-product-card] {
  min-width: 0;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid #eeeae2;
  border-radius: 1.75rem;
  background: var(--pd-surface);
  box-shadow: 0 0.125rem 0.75rem rgba(42, 35, 25, 0.025);
  transition: box-shadow 160ms ease-out, border-color 160ms ease-out;
}

body [data-product-card] > a:first-child {
  border-radius: 1.125rem !important;
  background: #f6f5f1;
}
body [data-product-card] > a:first-child > img {
  width: 100%;
  border-radius: inherit !important;
  object-fit: contain;
  transition: transform 220ms ease-out;
}
body [data-product-card] h3 {
  color: var(--pured-ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.75;
}
body [data-product-card] > div { min-width: 0; }
body [data-product-card] > div > p { font-variant-numeric: tabular-nums; }
body [data-product-card] .btn { font-size: 0.875rem !important; }
body [data-product-card] [data-wishlist-btn] {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #423a2d;
  border: 1px solid #e6dfd2 !important;
  box-shadow: 0 0.125rem 0.5rem rgba(42, 35, 25, 0.06) !important;
}
body [data-grid-root] { row-gap: 2rem; column-gap: 1.25rem; }

/* The JS-generated editorial content gets greater specificity than injected styles. */
body #pured-motion-banners {
  max-width: 1440px !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 4vw, 4rem) !important;
  box-sizing: border-box;
}
body #pured-motion-banners > section video {
  height: clamp(24rem, 68svh, 44rem) !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: var(--pd-radius-large) !important;
  background: #f0ede7;
}
body #pured-motion-banners > section { position: relative; }
body #pured-motion-banners .pured-apple-video-toggle {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2.875rem;
  block-size: 2.875rem;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding: 0.5rem;
  border: 1px solid #dfd7ca;
  border-radius: 50%;
  background: #fffdf8;
  color: #242321;
  font: 500 1rem/1 system-ui, sans-serif;
  box-shadow: var(--pd-shadow);
  cursor: pointer;
}
body #pured-diamond-cuts {
  padding: clamp(2.5rem, 5vw, 5rem) 0 !important;
  background: transparent !important;
}
body #pured-cuts-title {
  margin-bottom: 1.5rem !important;
  color: var(--pured-ink) !important;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem) !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
}
body .pured-cuts-grid {
  max-width: 56rem !important;
  gap: 0.75rem !important;
}
body .pured-cuts-grid a {
  min-height: 2.75rem;
  gap: 0.5rem !important;
  padding: 0.875rem 0.4rem !important;
  border: 1px solid #e8e3d9 !important;
  border-radius: 1.25rem;
  background: var(--pd-surface) !important;
  color: #494338 !important;
  font-size: 0.9375rem !important;
  font-weight: 500;
  transition: border-color 140ms ease-out, background-color 140ms ease-out;
}
body .pured-cut-stone {
  max-width: 6rem !important;
  transform: none;
  transition: transform 180ms ease-out !important;
}
body #pured-diamond-certificate {
  gap: 1rem !important;
  margin-block: 1.5rem !important;
  padding: 1.25rem 1.4rem !important;
  border: 1px solid #e7dfd0 !important;
  border-radius: var(--pd-radius) !important;
  background: #f4f0e7 !important;
  color: #4c4539 !important;
}
body #pured-diamond-certificate p { font-size: 0.9375rem !important; line-height: 1.9 !important; }
body #pured-diamond-certificate > svg { color: #806336 !important; }

/* Product choices and quantity stay native, with clearer touch targets. */
body .qty-input {
  border: 1px solid #d8d1c3;
  border-radius: 999px;
  background: var(--pd-surface);
  overflow: hidden;
}
body .qty-input-btn { min-width: 2.75rem; min-height: 2.75rem; }
body .qty-input-field { color: var(--pured-ink); font-size: 1rem; font-variant-numeric: tabular-nums; }
body .form-input-wrapper {
  border-color: #d8d1c3;
  border-radius: var(--pd-radius-sm);
  background: var(--pd-surface);
}
#product-form :is(input, select, textarea):not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
  min-height: 3rem;
  font-size: 1rem;
}
#product-form :is(input[type="radio"], input[type="checkbox"]) { accent-color: #785b2c; }
#product-main-section h1 { line-height: 1.55; text-wrap: balance; }

/* Only visual materials change; open/closed transforms and native focus are untouched. */
#mobile-drawer .bg-background.relative.flex.h-full.flex-col {
  background: #fffdf8 !important;
  color: var(--pured-ink);
}
#mobile-drawer .overflow-y-auto {
  gap: 1.5rem !important;
  padding: 1.5rem 1.25rem !important;
  scrollbar-color: #cec5b5 transparent;
}
#mobile-drawer .overflow-y-auto > div:first-child > a {
  min-height: 3rem;
  padding: 1rem 0.875rem !important;
  border: 0 !important;
  border-radius: 0.875rem;
  color: var(--pured-ink) !important;
  font-size: 1.0625rem !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
}
#mobile-drawer #mobile-login-btn { min-height: 2.875rem; padding: 0.75rem 0.875rem !important; }
#mobile-drawer .pured-menu-brand {
  padding: 2rem 0 1rem;
  border-top-color: #ebe5d9;
}
#mobile-drawer .pured-menu-brand img { max-width: 11.875rem; }

#search-dialog el-dialog-panel {
  background: rgba(255, 253, 248, 0.98) !important;
  border-radius: 0 0 var(--pd-radius-large) var(--pd-radius-large);
  box-shadow: var(--pd-shadow-float);
}
#search-dialog .form-input-wrapper { min-height: 3rem; }
#search-input { font-size: 1rem !important; line-height: 1.6; }
#search-dialog button[aria-label] { min-width: 2.75rem; min-height: 2.75rem; border-radius: 50%; }
#filters-drawer el-dialog-panel > form { background: #fffdf8 !important; }
#filters-drawer button[aria-label] { min-width: 2.75rem; min-height: 2.75rem; }
:is(#mobile-drawer-dialog, #search-dialog, #filters-drawer) el-dialog-backdrop {
  background: rgba(31, 28, 23, 0.2) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* The conversation iframe remains a separate origin; style its host, not its content. */
body :is(#pured-ai-assistant, #pured-whatsapp-support) {
  width: 3.25rem !important;
  height: 3.25rem !important;
  color: #fffdf8 !important;
  background: #806336 !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 0.375rem 1.5rem rgba(64, 45, 17, 0.16) !important;
  transform: none !important;
  transition: background-color 140ms ease-out, box-shadow 140ms ease-out !important;
}
body #pured-ai-assistant span {
  padding: 0.35rem 0.75rem !important;
  color: #4c3b22 !important;
  background: rgba(255, 253, 248, 0.98) !important;
  border: 1px solid #e5dccd !important;
  box-shadow: var(--pd-shadow) !important;
  font-size: 0.6875rem !important;
}
body #pured-ai-panel {
  background: #fffdf8 !important;
  border: 1px solid #e3d9c8 !important;
  border-radius: var(--pd-radius-large) !important;
  box-shadow: var(--pd-shadow-float) !important;
}
body .pured-ai-panel-heading {
  padding: 0.875rem 1.125rem !important;
  color: #3c3428 !important;
  background: #f8f5ee !important;
  border-bottom: 1px solid #e9e2d5 !important;
}
body .pured-ai-panel-heading strong { font-size: 0.875rem !important; font-weight: 600 !important; }
body .pured-ai-panel-heading button { min-width: 2.75rem; min-height: 2.75rem; border-radius: 50%; }

footer {
  padding-top: clamp(3rem, 5vw, 5rem) !important;
  background: #f0eee7 !important;
  border-top: 1px solid #e3ded2 !important;
  color: #474137;
}
footer h3 { color: var(--pured-ink); font-weight: 600 !important; line-height: 1.7; }
footer :is(p, a) { line-height: 1.85; }
footer a { text-underline-offset: 0.3em; }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header { background: rgba(255, 255, 255, 0.75) !important; }
}

/* Hover is an enhancement for precise pointers, never a prerequisite for information. */
@media (hover: hover) and (pointer: fine) {
  header :is(a, button):hover { color: #785b2c; }
  body .btn-filled:hover,
  .pured-home .section-call-to-action .btn:hover {
    background: #4a4132 !important;
    border-color: #4a4132 !important;
  }
  .pured-home .pured-hero-copy a:hover { background: #eee6d7 !important; border-color: #eee6d7 !important; }
  body .btn-outlined:hover { background: #f3f0e8 !important; border-color: #9d8258 !important; }
  body [data-product-card]:hover { border-color: #ded3bf; box-shadow: var(--pd-shadow); }
  body [data-product-card] > a:first-child:hover > img { transform: scale(1.025); }
  body .pured-cuts-grid a:hover { background: #f4f1e9 !important; border-color: #c9b590 !important; }
  body .pured-cuts-grid a:hover .pured-cut-stone { transform: translateY(-3px); }
  #mobile-drawer .overflow-y-auto > div:first-child > a:hover { background: #f3efe6 !important; color: #785b2c !important; }
  body :is(#pured-ai-assistant, #pured-whatsapp-support):hover {
    background: #624921 !important;
    box-shadow: 0 0.5rem 1.75rem rgba(64, 45, 17, 0.22) !important;
  }
  footer a:hover { color: #785b2c; text-decoration: underline; }
}

/* Neutralize unconditional hover styles from the original layer on touchscreens. */
@media (hover: none) {
  header a:hover { color: var(--pured-ink) !important; }
  body .btn-filled:hover { background: var(--pured-ink) !important; border-color: var(--pured-ink) !important; }
  body .btn-outlined:hover { background: var(--pd-surface) !important; border-color: #d8d1c3 !important; }
  .pured-home .section-call-to-action .btn:hover { background: var(--pured-ink) !important; border-color: var(--pured-ink) !important; }
  #mobile-drawer .overflow-y-auto > div:first-child > a:hover { background: transparent !important; color: var(--pured-ink) !important; }
  body .pured-cuts-grid a:hover .pured-cut-stone { transform: none !important; }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .pured-home .section-video .pured-hero-copy { width: min(48%, 28rem) !important; }
  .pured-home .section-categories .embla__slide { flex-basis: calc(33.333% - 0.667rem) !important; }
}

@media (max-width: 767px) {
  header { padding-block: 0.75rem !important; }
  .pured-home .section-video video {
    height: clamp(29rem, 70svh, 40rem) !important;
    object-position: 50% 38% !important;
  }
  .pured-home .section-video .pured-hero-copy {
    left: 1rem !important;
    bottom: 1rem !important;
    width: calc(100% - 2rem) !important;
    max-width: none !important;
    padding: 0.5rem !important;
  }
  .pured-home .pured-hero-copy h2 { margin-bottom: 1rem !important; font-size: clamp(1.65rem, 6.5vw, 2rem) !important; line-height: 1.5 !important; }
  .pured-home .pured-hero-copy a { min-height: 2.75rem; padding: 0.65rem 1.25rem !important; font-size: 0.875rem; }
  .pured-home .pured-video-toggle { top: 1rem !important; left: 1rem !important; }
  .pured-home .section-call-to-action { padding: 3.25rem 1.25rem !important; }
  .pured-home .section-call-to-action h2 { font-size: 1.875rem !important; }
  .pured-home .section-call-to-action p { font-size: 0.9375rem !important; }
  .pured-home .section-categories { padding-inline: 1rem !important; padding-bottom: 3rem !important; }
  .pured-home .section-categories .embla__slide { flex-basis: 68% !important; }
  .pured-home .section-categories .embla__container { gap: 0.75rem !important; }
  .pured-home .section-categories .embla__slide img { border-radius: 1.125rem !important; }
  .pured-home .section-categories .embla__slide h3 { font-size: 0.9375rem !important; }
  body [data-product-card] { padding: 0.5rem; gap: 0.75rem; border-radius: 1.25rem; }
  body [data-product-card] > a:first-child { border-radius: 0.875rem !important; }
  body [data-product-card] h3 { font-size: 0.875rem; line-height: 1.8; }
  body [data-product-card] .btn { padding-inline: 0.875rem !important; font-size: 0.8125rem !important; }
  body [data-grid-root] { row-gap: 1.25rem; column-gap: 0.75rem; }
  body #pured-motion-banners { padding-inline: 1rem !important; }
  body #pured-motion-banners > section video { height: clamp(25rem, 65svh, 38rem) !important; border-radius: 1.5rem !important; }
  body #pured-diamond-cuts { padding-block: 2.75rem !important; }
  body .pured-cuts-grid { gap: 0.375rem !important; }
  body .pured-cuts-grid a { gap: 0.4rem !important; padding: 0.625rem 0.125rem !important; border-radius: 0.875rem; font-size: 0.75rem !important; }
  body .pured-cut-stone { max-width: 4rem !important; }
  body #pured-diamond-certificate { padding: 1rem !important; gap: 0.75rem !important; }
  body #pured-diamond-certificate p { font-size: 0.875rem !important; }
  body :is(#pured-ai-assistant, #pured-whatsapp-support) { width: 3rem !important; height: 3rem !important; }
  body #pured-ai-panel { border-radius: 1.5rem !important; }
  body .pured-ai-panel-heading { padding: 0.6rem 0.875rem !important; }
  footer { padding-top: 3rem !important; }
}

/* Optional system preferences change materials, not the availability of controls. */
@media (prefers-reduced-transparency: reduce) {
  header, header::before,
  #search-dialog el-dialog-panel {
    background: #fffdf8 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  :is(#mobile-drawer-dialog, #search-dialog, #filters-drawer) el-dialog-backdrop {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(31, 28, 23, 0.35) !important;
  }
}

@media (prefers-contrast: more) {
  :root { --pured-ink: #161513; --pd-muted: #3d3931; --pured-line: #8c816f; --pd-focus: #543700; }
  header, header::before,
  #search-dialog el-dialog-panel { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  body [data-product-card], body .pured-cuts-grid a,
  body #pured-diamond-certificate, body #pured-ai-panel,
  body .btn-outlined { border-color: #8c816f !important; }
  .pured-home .section-video::after { background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.55) 45%, transparent 85%); }
  body .btn-filled, .pured-home .section-call-to-action .btn,
  .pured-home .pured-hero-copy a { color: #fff !important; background: #161513 !important; border-color: #fff !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  body [data-product-card] > a:first-child:hover > img,
  body .pured-cuts-grid a:hover .pured-cut-stone { transform: none !important; }
  body :is(.btn, .pured-video-toggle, #pured-ai-assistant, #pured-whatsapp-support):active { scale: 1; }
  .pured-home .pured-hero-copy a:active { scale: 1; }
}

@media print {
  header::before { display: none; }
  body :is(#pured-ai-assistant, #pured-whatsapp-support, #pured-ai-panel, .pured-video-toggle) { display: none !important; }
  body [data-product-card] { break-inside: avoid; box-shadow: none; }
}

/* Keep the existing banner dimensions; display the complete source frame. */
.pured-home .section-video video,
body #pured-motion-banners > section video {
  object-fit: contain !important;
  object-position: center !important;
}

/* Mobile campaign: fill the existing banner to its edges. */
@media (max-width: 767px) {
  .pured-home .section-video video,
  body #pured-motion-banners > section video {
    object-fit: cover !important;
    object-position: center !important;
  }
}