/* 20260831ak — contain Uses/Pebbles to Moonstone rail + quiet/charcoal bands */
/* Beige field stays square; 4×4 of 1:1 cells → square composite, centered. */
html body.arta-pdp-stardust .arta-pdp-slide.is-tile {
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
  background: transparent !important;
}
html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  padding: 14% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: #eeece5 !important;
  background-color: #eeece5 !important;
}
html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero-inner {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  flex: 0 0 auto !important;
}
/* Single tile (12×12 or no composite): one square image fills the inset */
html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero-inner:not(.arta-pdp-composite) {
  aspect-ratio: 1 / 1 !important;
}
html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero-inner:not(.arta-pdp-composite) > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Composites: grid of N square (1:1) mini-tiles — do NOT force the grid itself to 1:1 */
html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero-inner.arta-pdp-composite {
  display: grid !important;
  justify-items: stretch !important;
  align-items: start !important;
  row-gap: 1px !important;
  column-gap: 2px !important;
  gap: 1px 2px !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  background: #eeece5 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
html body.arta-pdp-stardust .arta-pdp-composite--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
}
html body.arta-pdp-stardust .arta-pdp-composite--8 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
}
html body.arta-pdp-stardust .arta-pdp-composite--12 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
}
html body.arta-pdp-stardust .arta-pdp-composite--16 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
}
html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero-inner.arta-pdp-composite > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-sizing: border-box !important;
}
html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-badge {
  z-index: 3 !important;
}

/* Lifestyle: zero padding, edge-to-edge */
html body.arta-pdp-stardust .arta-pdp-slide.is-life {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
html body.arta-pdp-stardust .arta-pdp-slide.is-life > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 767px) {
  html body.arta-pdp-stardust .arta-pdp-gallery {
    overflow: hidden !important;
  }
  html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero {
    width: 100% !important;
    padding: 14% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
  }
  html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero-inner.arta-pdp-composite {
    aspect-ratio: auto !important;
    height: auto !important;
  }
  html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero-inner:not(.arta-pdp-composite) {
    aspect-ratio: 1 / 1 !important;
  }
}


/* --- A) 4×4 orientation variety: same face, rotate/flip per cell --- */
html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero-inner.arta-pdp-composite > .arta-pdp-cell {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #eeece5 !important;
  box-sizing: border-box !important;
}
html body.arta-pdp-stardust .arta-pdp-slide.is-tile .arta-pdp-hero-inner.arta-pdp-composite > .arta-pdp-cell > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
  transform-origin: center center !important;
}
html body.arta-pdp-stardust .arta-pdp-cell--ori-1 > img { transform: rotate(90deg) !important; }
html body.arta-pdp-stardust .arta-pdp-cell--ori-2 > img { transform: rotate(180deg) !important; }
html body.arta-pdp-stardust .arta-pdp-cell--ori-3 > img { transform: rotate(270deg) !important; }
html body.arta-pdp-stardust .arta-pdp-cell--ori-4 > img { transform: scaleX(-1) !important; }
html body.arta-pdp-stardust .arta-pdp-cell--ori-5 > img { transform: rotate(90deg) scaleX(-1) !important; }
html body.arta-pdp-stardust .arta-pdp-cell--ori-6 > img { transform: rotate(180deg) scaleX(-1) !important; }
html body.arta-pdp-stardust .arta-pdp-cell--ori-7 > img { transform: rotate(270deg) scaleX(-1) !important; }


/* --- B) Uses + Pebbles: Moonstone collection-band containment (NOT rogue full-bleed) --- */
/* Match #moonstone-colours / in-situ: full-width band, inner content on --arta-rail */
html body.arta-pdp-stardust #arta-pdp-uses,
html body.arta-pdp-stardust .arta-pdp-uses {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: clamp(64px, 8vw, 100px) 0 !important;
  background: var(--arta-quiet, #f6f5f0) !important;
  background-color: var(--arta-quiet, #f6f5f0) !important;
  color: var(--arta-ink, #292b2a) !important;
  box-sizing: border-box !important;
  overflow-x: clip !important;
}
html body.arta-pdp-stardust #arta-pdp-pebbles,
html body.arta-pdp-stardust .arta-pdp-pebbles {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: clamp(64px, 8vw, 100px) 0 !important;
  background: #292b2a !important;
  background-color: #292b2a !important;
  color: #eeece5 !important;
  box-sizing: border-box !important;
  overflow-x: clip !important;
}
html body.arta-pdp-stardust #arta-pdp-uses > .moonstone-shell,
html body.arta-pdp-stardust #arta-pdp-pebbles > .moonstone-shell,
html body.arta-pdp-stardust .arta-pdp-uses > .moonstone-shell,
html body.arta-pdp-stardust .arta-pdp-pebbles > .moonstone-shell {
  display: block !important;
  width: var(--arta-rail, min(1344px, calc(100vw - 96px))) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
html body.arta-pdp-stardust #arta-pdp-uses h2,
html body.arta-pdp-stardust #arta-pdp-uses .moonstone-eyebrow {
  color: var(--arta-ink, #292b2a) !important;
}
html body.arta-pdp-stardust #arta-pdp-pebbles h2,
html body.arta-pdp-stardust #arta-pdp-pebbles .moonstone-eyebrow,
html body.arta-pdp-stardust #arta-pdp-pebbles .arta-pdp-pebbles-lead,
html body.arta-pdp-stardust #arta-pdp-pebbles .arta-pdp-pebbles-meta,
html body.arta-pdp-stardust #arta-pdp-pebbles figcaption,
html body.arta-pdp-stardust #arta-pdp-pebbles figcaption strong {
  color: #eeece5 !important;
}
html body.arta-pdp-stardust #arta-pdp-uses h2,
html body.arta-pdp-stardust #arta-pdp-pebbles h2 {
  margin: 0 0 0.35em !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.045em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body.arta-pdp-stardust .arta-pdp-uses-table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
  margin-top: 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  table-layout: fixed;
}
html body.arta-pdp-stardust .arta-pdp-uses-table th,
html body.arta-pdp-stardust .arta-pdp-uses-table td {
  border: 1px solid rgba(41, 43, 42, 0.18);
  padding: 0.65rem 0.4rem;
  text-align: center;
  vertical-align: middle;
  background: rgba(255, 253, 248, 0.72);
  color: #2a2a2a;
  word-wrap: break-word;
}
html body.arta-pdp-stardust .arta-pdp-uses-table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.62rem;
  background: rgba(238, 236, 229, 0.95);
}
html body.arta-pdp-stardust .arta-pdp-uses-table td.is-material {
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  padding-left: 0.75rem;
  border-left: 3px solid #292b2a;
  width: 18%;
}
html body.arta-pdp-stardust .arta-pdp-uses-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #292b2a;
}
html body.arta-pdp-stardust .arta-pdp-uses-note {
  text-align: left;
  font-size: 0.72rem;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}
html body.arta-pdp-stardust .arta-pdp-uses-note strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
}

html body.arta-pdp-stardust .arta-pdp-pebbles-lead {
  max-width: 40rem;
  margin: 0.75rem 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d8d4cb !important;
}
html body.arta-pdp-stardust .arta-pdp-pebbles-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
}
html body.arta-pdp-stardust .arta-pdp-pebbles-grid li {
  margin: 0;
  min-width: 0;
}
html body.arta-pdp-stardust .arta-pdp-pebbles-grid figure {
  margin: 0;
}
html body.arta-pdp-stardust .arta-pdp-pebbles-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #3a3c3a;
}
html body.arta-pdp-stardust .arta-pdp-pebbles-grid figcaption {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
}
html body.arta-pdp-stardust .arta-pdp-pebbles-grid figcaption strong {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
}
html body.arta-pdp-stardust .arta-pdp-pebbles-meta {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #c4c0b6 !important;
  max-width: 52rem;
}
@media (max-width: 1024px) {
  html body.arta-pdp-stardust #arta-pdp-uses > .moonstone-shell,
  html body.arta-pdp-stardust #arta-pdp-pebbles > .moonstone-shell {
    width: var(--arta-rail, calc(100vw - 48px)) !important;
  }
}
@media (max-width: 900px) {
  html body.arta-pdp-stardust .arta-pdp-pebbles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  html body.arta-pdp-stardust .arta-pdp-uses-table-wrap {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 767px) {
  html body.arta-pdp-stardust #arta-pdp-uses > .moonstone-shell,
  html body.arta-pdp-stardust #arta-pdp-pebbles > .moonstone-shell {
    width: var(--arta-rail, calc(100vw - 40px)) !important;
  }
  html body.arta-pdp-stardust #arta-pdp-uses,
  html body.arta-pdp-stardust #arta-pdp-pebbles {
    padding: 58px 0 !important;
  }
}
@media (max-width: 560px) {
  html body.arta-pdp-stardust .arta-pdp-pebbles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
