/* Masowa Stone - stone veneer product detail page (PDP).
   Shared by all 18 generated pages. Design language matches the listing page
   (extras/stone-veneer/style.css); the related-product card rules are copied
   from it under a .pdp- prefix so the two files stay independent. */

@font-face {
  font-family: Masowa;
  src: url(/cdn/68c47429938f36dbbfa99833/68dc19e8fffb5a0bf426b6e1_Masowa.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: #bfa78a;
  --sand-soft: #d9c7b8;
  --sand-tint: #bfa78a26;
  --sand-line: #bfa78a4d;
  --ink: #402b19;
  --muted: #8c7c6d;
  --white: #fff;
  --shell: #faf8f6;
  --radius: 3px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
  font-family: Barlow, "Trebuchet MS", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

main { flex: 1 0 auto; }

img { max-width: 100%; display: block; }
a { color: var(--sand); text-decoration: none; }
/* scoped out of the shared .msw-head header: it is white on a dark bar and
   owns its own hover states, but a bare a:hover (0,1,1) outranks the
   .msw-head-brand colour (0,1,0) and turned the logo block ink on hover. */
a:not(.msw-head a):hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.pdp-container {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- above the fold: hero + panel ---------- */

.pdp-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0 2.5rem;
}

@media (min-width: 900px) {
  .pdp-top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 3rem;
    padding: 3rem 0 3.5rem;
    align-items: start;
  }
}

/* the "panorama" role image, used as the page hero. Portrait frame with a
   cover fit, so the six landscape panoramas crop rather than letterbox. */
.pdp-hero {
  position: relative;
  margin: 0;
  background: var(--shell);
  border: 1px solid var(--sand-tint);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

@media (max-width: 899px) { .pdp-hero { aspect-ratio: 4 / 3; } }

.pdp-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-panel { min-width: 0; }

.pdp-crumbs {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.pdp-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5em; }
.pdp-crumbs li + li::before { content: "/"; margin-right: .5em; color: var(--sand); }
.pdp-crumbs a { color: var(--muted); }
.pdp-crumbs a:hover { color: var(--ink); }
.pdp-crumbs [aria-current] { color: var(--ink); }

.pdp-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.pdp-descriptor {
  max-width: 34em;
  margin: .85rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
}

.pdp-from {
  margin: 1.5rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.pdp-vat {
  margin: .3rem 0 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------- tables ---------- */

.pdp-table-wrap { overflow-x: auto; margin: 1.5rem 0 0; }

.pdp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

.pdp-table caption {
  text-align: left;
  padding-bottom: .6rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.pdp-table th, .pdp-table td {
  padding: .7rem .8rem .7rem 0;
  border-bottom: 1px solid var(--sand-tint);
  text-align: left;
  vertical-align: top;
}

.pdp-table thead th {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pdp-table td.pdp-num, .pdp-table th.pdp-num { text-align: right; padding-right: 0; white-space: nowrap; }
.pdp-table tbody th { font-weight: 500; }

/* ---------- calculator ---------- */

.pdp-calc {
  margin: 1.75rem 0 0;
  padding: 1.15rem 1.25rem 1.25rem;
  background: var(--shell);
  border: 1px solid var(--sand-tint);
  border-radius: var(--radius);
}

.pdp-calc h2 {
  margin: 0 0 .75rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink);
}

.pdp-calc-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; }

.pdp-calc label {
  display: block;
  margin-bottom: .35rem;
  font-size: .82rem;
  font-weight: 500;
}

.pdp-calc input {
  width: 8.5rem;
  min-height: 44px;
  padding: 0 .75rem;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.pdp-calc input:hover { border-color: var(--sand); }

.pdp-calc-out { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 44px; }

.pdp-calc-note {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.5;
}

/* ---------- actions ---------- */

.pdp-actions { margin: 1.75rem 0 0; }

.pdp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .9rem 2.4rem;
  border: 1px solid var(--white);
  border-radius: var(--radius);
  background: var(--sand);
  color: var(--white);
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s;
}

.pdp-btn:hover { background: #a89076; color: var(--white); }

.pdp-confirm {
  margin: .85rem 0 0;
  padding: .7rem .9rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: .88rem;
  line-height: 1.45;
}
.pdp-confirm a { color: var(--sand-soft); text-decoration: underline; }
.pdp-confirm a:hover { color: var(--white); }
.pdp-confirm:empty { display: none; }

.pdp-samples-note {
  margin: .85rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 300;
}

.pdp-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.75rem;
  margin: 1.1rem 0 0;
}

.pdp-ask {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sand);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.pdp-ask:hover { color: var(--ink); }

.pdp-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  font-size: .95rem;
  font-weight: 500;
}
.pdp-phone a { color: var(--ink); }
.pdp-phone a:hover { color: var(--sand); }
.pdp-phone span { color: var(--muted); font-weight: 300; margin-right: .5em; }

/* ---------- gallery strip ---------- */

.pdp-gallery { padding: 0 0 1.5rem; }

.pdp-gallery h2, .pdp-related h2 {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.pdp-thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 700px) { .pdp-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1000px) { .pdp-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pdp-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--sand-tint);
  border-radius: var(--radius);
  background: var(--shell);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  transition: border-color .2s;
}

.pdp-thumb:hover { border-color: var(--sand); }

.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-variation {
  max-width: 58em;
  margin: 1.75rem 0 3rem;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--sand);
  background: var(--shell);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.65;
}

/* ---------- collapsed sections ---------- */

.pdp-section {
  border-top: 1px solid var(--sand-tint);
}
.pdp-section:last-of-type { border-bottom: 1px solid var(--sand-tint); }

.pdp-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.pdp-section > summary::-webkit-details-marker { display: none; }

.pdp-section > summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--sand);
  border-bottom: 2px solid var(--sand);
  transform: rotate(45deg);
  margin-bottom: 4px;
  transition: transform .2s;
}

.pdp-section[open] > summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.pdp-section > summary:hover { color: var(--sand); }

.pdp-body {
  max-width: 58em;
  padding: 0 0 2rem;
  font-weight: 300;
  line-height: 1.7;
}

.pdp-body h2, .pdp-body h3 {
  margin: 1.75rem 0 .6rem;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pdp-body > :first-child { margin-top: 0; }
.pdp-body p { margin: 0 0 1rem; }
.pdp-body ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.pdp-body li { margin: 0 0 .35rem; }
.pdp-body strong { font-weight: 600; }

.pdp-source-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 300;
}

/* ---------- lightbox ---------- */

.pdp-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem;
  background: #241708f2;
}

.pdp-lightbox[hidden] { display: none !important; }

.pdp-lightbox-figure {
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.pdp-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius);
}

.pdp-lightbox figcaption {
  color: var(--sand-soft);
  font-size: .82rem;
  font-weight: 300;
  text-align: center;
}

.pdp-lightbox-close,
.pdp-lightbox-nav {
  position: absolute;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .9rem;
  border: 1px solid #ffffff40;
  border-radius: var(--radius);
  background: #00000059;
  color: var(--white);
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color .2s;
}

.pdp-lightbox-close:hover,
.pdp-lightbox-nav:hover { background: var(--sand); }

.pdp-lightbox-close { top: 1rem; right: 1rem; }
.pdp-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.pdp-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- related products (card rules copied from the listing) ---------- */

.pdp-related { padding: 3rem 0 4rem; }

.pdp-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1rem;
}

@media (min-width: 768px) {
  .pdp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.75rem 1.5rem; }
}

.pdp-card { position: relative; display: flex; flex-direction: column; }

.pdp-card-media {
  position: relative;
  background: var(--shell);
  border: 1px solid var(--sand-tint);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.pdp-card-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.pdp-card-link {
  margin-top: .85rem;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.3;
}

.pdp-card-link::after { content: ""; position: absolute; inset: 0; }

@media (hover: hover) and (pointer: fine) {
  .pdp-card:hover .pdp-card-link { color: var(--sand); }
}

.pdp-card-price {
  margin: .45rem 0 0;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------- footer ---------- */

.pdp-footer {
  background: var(--ink);
  color: var(--sand-soft);
  padding: 3rem 0;
  margin-top: auto;
}

.pdp-footer .pdp-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  align-items: center;
}

.pdp-footer a { color: var(--sand-soft); }
.pdp-footer a:hover { color: var(--white); }

.pdp-footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-left: auto; }

/* SC 2.5.8: these sit in a nav row, not in a sentence, so they carry their own
   44px hit box rather than relying on the inline-text exception. */
.pdp-footer a, .pdp-footer span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
