/* ============================================================
   MW Premium Stone – Catalogue page (styled after the UK brochure)
   ============================================================ */
.mw-cat {
  --mw-paper:      #FAF9F5;
  --mw-ink:        #151515;
  --mw-rule:       #1A1A1A;
  --mw-badge-bg:   #E3F3EC;
  --mw-badge-ink:  #1E7A5A;
  --mw-marble:     #4C7A52;
  --mw-display:    'Archivo Black', 'Inter', sans-serif;
  --mw-sticky-top: 72px;
  background: var(--mw-paper);
}
.mw-cat [id] { scroll-margin-top: calc(var(--mw-sticky-top) + 70px); }

/* ---------- Shared ---------- */
.mw-section { padding: var(--section-pad) 0; }
.mw-head { max-width: 760px; margin-bottom: 48px; }
.mw-head p { color: var(--text-muted); font-size: 1.05rem; }
.mw-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.mw-display {
  font-family: var(--mw-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--mw-ink);
  background: linear-gradient(90deg, var(--mw-ink) 30%, var(--mw-ink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mw-display--granite     { background-image: linear-gradient(90deg, #111 35%, #9C9C9C 90%); }
.mw-display--marble      { background-image: linear-gradient(90deg, #111 30%, var(--mw-marble) 60%, #8DB38F 95%); }
.mw-display--sedimentary { background-image: linear-gradient(90deg, #111 25%, #8A6A1A 55%, var(--gold) 90%); }
.mw-display--gold        { background-image: linear-gradient(90deg, #111 35%, var(--gold-dark) 70%, var(--gold) 100%); font-size: clamp(1.9rem, 4.6vw, 3rem); }
.mw-display--light       { background-image: linear-gradient(90deg, #fff 40%, var(--gold-light)); font-size: clamp(1.9rem, 4.6vw, 3rem); }

.mw-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-dark);
}
.mw-link svg { width: 14px; height: 14px; transition: transform var(--trans-fast); }
.mw-link:hover svg { transform: translateX(4px); }

/* Black & gold note bar (brochure) */
.mw-notebar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  margin: 48px 0;
  padding: 20px 28px;
  background: var(--charcoal);
  color: #E9E4D6;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: .95rem;
}
.mw-notebar__title {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.mw-notebar__item strong { color: var(--gold-light); margin-left: 6px; }
.mw-notebar--single { margin: 40px 0 0; font-size: 1rem; line-height: 1.6; }

/* ---------- Hero ---------- */
.mw-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 75% 45%, #2A2618 0%, var(--charcoal) 60%);
  color: #fff;
  padding: 150px 0 90px;
}
.mw-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.mw-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.mw-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  line-height: 1.1; color: #fff; margin-bottom: 18px;
}
.mw-hero h1 span { display: block; color: var(--gold); }
.mw-hero__tag {
  font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 18px;
}
.mw-hero__intro { color: #CFC9B8; font-size: 1.08rem; max-width: 560px; margin-bottom: 32px; }
.mw-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.mw-hero__stats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 32px;
  padding-top: 26px; border-top: 1px solid rgba(201,168,76,.25);
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #BDB6A2;
}
.mw-hero__stats strong {
  display: block; font-family: var(--mw-display); font-weight: 400; font-size: 2rem;
  letter-spacing: 0; color: var(--gold); line-height: 1.1;
}
.mw-hero__visual { display: flex; justify-content: center; }
.mw-wheel {
  position: relative; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%;
  padding: 10px; background: conic-gradient(from 200deg, var(--gold-dark), var(--gold-light), var(--gold), var(--gold-dark));
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 14px rgba(201,168,76,.08);
  animation: mw-spin 90s linear infinite;
}
.mw-wheel img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
@keyframes mw-spin { to { transform: rotate(360deg); } }

/* ---------- Sticky section menu ---------- */
.mw-subnav {
  position: sticky; top: var(--mw-sticky-top); z-index: 900;
  background: rgba(21,21,21,.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,.3);
}
.mw-subnav ul {
  list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 0;
}
.mw-subnav ul::-webkit-scrollbar { display: none; }
.mw-subnav a {
  display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #CFC9B8; transition: color var(--trans-fast), background var(--trans-fast);
}
.mw-subnav a:hover { color: #fff; }
.mw-subnav a.is-current { background: var(--gold); color: var(--charcoal); }

/* ---------- Why choose us ---------- */
.mw-why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.mw-why__lead {
  font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.5; color: var(--text-dark);
  padding-left: 20px; border-left: 3px solid var(--gold);
}
.mw-why__body p { margin-bottom: 16px; }
.mw-why__body strong { color: var(--text-dark); }
.mw-process {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.mw-process figure { margin: 0; }
.mw-process img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.mw-process figcaption { margin-top: 12px; font-size: .85rem; color: var(--text-body); line-height: 1.4; }
.mw-process figcaption span {
  display: block; font-family: var(--mw-display); color: var(--gold); font-size: 1.1rem; margin-bottom: 2px;
}

/* ---------- Product range ---------- */
.mw-range { background: #fff; border-top: 1px solid #ECE8DE; border-bottom: 1px solid #ECE8DE; }
.mw-range__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mw-product {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px 24px; background: var(--mw-paper);
  border: 1px solid #E6E1D4; border-top: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  transition: transform var(--trans-mid), box-shadow var(--trans-mid);
}
.mw-product:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.mw-product__num { font-family: var(--mw-display); font-size: 1.6rem; color: var(--gold); line-height: 1; }
.mw-product h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--text-dark); line-height: 1.3; }
.mw-product p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }
.mw-product__sizes { list-style: none; margin-top: auto; padding-top: 12px; border-top: 1px dashed #D8D2C2; font-size: .82rem; }
.mw-product__sizes li { padding: 3px 0; }
.mw-product__sizes strong { color: var(--text-dark); }

/* ---------- Stone collection ---------- */
.mw-cat-block { padding-top: 32px; }
.mw-cat-block + .mw-cat-block { margin-top: 56px; }
.mw-cat-block__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.mw-cat-block__badge {
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted);
}
.mw-swatch-strip {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 24px;
}
.mw-swatch-strip a {
  display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px;
  background: #fff; border: 1px solid #E3DED1; border-radius: 999px;
  font-size: .78rem; font-weight: 500; color: var(--text-dark);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}
.mw-swatch-strip a:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.mw-swatch-strip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

.mw-stone {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  padding: 48px 0; border-top: 1.5px solid var(--mw-rule);
}
.mw-stone__visual { text-align: center; }
.mw-stone__swatch {
  width: 88%; margin: 10px auto 26px; aspect-ratio: 1;
  transform: rotate(0);
  box-shadow: 14px 18px 26px rgba(0,0,0,.28), 2px 2px 0 rgba(0,0,0,.06);
  transition: transform var(--trans-slow);
  overflow: hidden;
}
.mw-stone__swatch:hover { transform: rotate(-4deg) scale(1.03); }
.mw-stone__swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mw-stone h3 {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.55rem; color: var(--text-dark);
  line-height: 1.2; margin-bottom: 10px;
}
.mw-grade {
  display: inline-block; padding: 5px 12px; border-radius: 3px;
  background: var(--mw-badge-bg); color: var(--mw-badge-ink);
  font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.mw-stone__info { font-size: .95rem; }
.mw-stone__chars { font-size: 1.05rem; color: var(--text-dark); margin-bottom: 22px; }
.mw-specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 1px solid #E3DED1; border-radius: var(--radius-sm); background: #fff; margin-bottom: 16px;
}
.mw-specs div { padding: 12px 16px; border-right: 1px solid #EEEAE0; border-bottom: 1px solid #EEEAE0; }
.mw-specs dt { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.mw-specs dd { font-weight: 600; color: var(--text-dark); font-size: .92rem; }
.mw-stone__flags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mw-stone__flags span {
  padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 500;
  background: #F1EBDA; color: #6B5518;
}
.mw-stone__flags .is-ok { background: var(--mw-badge-bg); color: var(--mw-badge-ink); }
.mw-stone__sizes { margin-bottom: 18px; border: 1px solid #E3DED1; border-radius: var(--radius-sm); background: #fff; }
.mw-stone__sizes summary {
  cursor: pointer; padding: 12px 16px; list-style: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dark);
  display: flex; justify-content: space-between; align-items: center;
}
.mw-stone__sizes summary::-webkit-details-marker { display: none; }
.mw-stone__sizes summary::after { content: '+'; font-size: 1.2rem; color: var(--gold-dark); }
.mw-stone__sizes[open] summary::after { content: '–'; }
.mw-stone__sizes .mw-sizes { padding: 0 16px 16px; }
.mw-sizes { list-style: none; font-size: .88rem; }
.mw-sizes > li { padding: 7px 0; border-top: 1px dashed #E3DED1; }
.mw-sizes > li:first-child { border-top: 0; }
.mw-sizes strong { color: var(--text-dark); margin-right: 8px; }
.mw-sizes ul { list-style: none; margin: 6px 0 0 16px; }
.mw-sizes ul li { padding: 3px 0; }
.mw-sizes ul strong { font-weight: 500; color: var(--text-body); }
.mw-chips { display: inline-flex; flex-wrap: wrap; gap: 5px; vertical-align: middle; }
.mw-chips span {
  padding: 2px 8px; background: var(--mw-paper); border: 1px solid #E3DED1; border-radius: 3px;
  font-size: .78rem; white-space: nowrap;
}
.mw-stone__apps { margin-bottom: 12px; }
.mw-stone__apps strong { color: var(--text-dark); }
.mw-stone__more { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 22px; font-size: .85rem; }
.mw-stone__more a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.mw-stone__cta { padding: 10px 22px; font-size: .68rem; }

/* ---------- Feature blocks (dining / fireplace) ---------- */
.mw-feature { background: #fff; }
.mw-feature--flip { background: var(--mw-paper); }
.mw-feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mw-feature--flip .mw-feature__media { order: 2; }
.mw-feature__media img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-hover); display: block; }
.mw-feature__text > p { margin-bottom: 20px; }
.mw-feature__text .mw-sizes { margin-bottom: 28px; }
.mw-table-wrap { overflow-x: auto; margin-bottom: 18px; }
.mw-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
.mw-table thead th {
  background: var(--charcoal); color: var(--gold); text-align: left;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 12px 14px;
}
.mw-table th[scope="row"] { text-align: left; font-weight: 600; color: var(--text-dark); }
.mw-table td, .mw-table th[scope="row"] { padding: 11px 14px; border-bottom: 1px solid #ECE8DE; white-space: nowrap; }
.mw-table tbody tr:nth-child(even) { background: #FBFAF6; }
.mw-fire-stones { font-size: .9rem; }
.mw-fire-stones a { color: var(--gold-dark); }

/* ---------- Edge & finish guide ---------- */
.mw-guide { background: var(--charcoal); color: #CFC9B8; }
.mw-guide .mw-head p { color: #A8A290; }
.mw-guide__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mw-guide__col h3 {
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid rgba(201,168,76,.35);
}
.mw-guide__item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.mw-guide__item h4 { font-family: var(--font-serif); color: #fff; font-size: 1.08rem; font-weight: 600; margin-bottom: 4px; }
.mw-guide__item p { font-size: .86rem; line-height: 1.6; }
.mw-profile-icon { width: 56px; height: 56px; color: var(--gold-light); background: rgba(201,168,76,.07); border-radius: var(--radius-sm); padding: 4px; }
.mw-guide__note { margin-top: 28px; font-size: .9rem; color: var(--gold-light); }

/* ---------- Gallery ---------- */
.mw-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.mw-tabs button {
  padding: 9px 18px; border: 1px solid #D9D3C4; border-radius: 999px; background: #fff; cursor: pointer;
  font: 600 .7rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-body);
  transition: all var(--trans-fast);
}
.mw-tabs button:hover { border-color: var(--gold); }
.mw-tabs button.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--gold); }
.mw-gallery__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mw-gallery__grid li[hidden] { display: none; }
.mw-gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: #E8E4DA; }
.mw-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--trans-slow); }
.mw-gallery__item:hover img { transform: scale(1.06); }
.mw-gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #E9E4D6; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.mw-gallery__cap strong { display: block; font-size: .95rem; letter-spacing: 0; text-transform: none; color: #fff; }

/* ---------- Lightbox ---------- */
.mw-lightbox {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,.94); padding: 24px;
}
.mw-lightbox[hidden] { display: none; }
.mw-lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.mw-lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--radius-sm); }
.mw-lightbox figcaption { margin-top: 12px; color: var(--gold-light); font-size: .9rem; }
.mw-lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 2.6rem; line-height: 1; padding: 12px; opacity: .8; }
.mw-lightbox button:hover { opacity: 1; color: var(--gold); }
.mw-lightbox__close { top: 12px; right: 16px; }
.mw-lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.mw-lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
body.mw-noscroll { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mw-range__grid { grid-template-columns: repeat(2, 1fr); }
  .mw-process { grid-template-columns: repeat(3, 1fr); }
  .mw-guide__cols { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .mw-hero__inner, .mw-why__grid, .mw-feature__grid { grid-template-columns: 1fr; gap: 40px; }
  .mw-hero__visual { order: -1; }
  .mw-wheel { width: min(300px, 80%); }
  .mw-feature--flip .mw-feature__media { order: 0; }
  .mw-stone { grid-template-columns: 1fr; gap: 20px; }
  .mw-stone__visual { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .mw-section { padding: var(--section-pad-sm) 0; }
  .mw-hero { padding: 120px 0 60px; }
  .mw-range__grid { grid-template-columns: 1fr; }
  .mw-process { grid-template-columns: repeat(2, 1fr); }
  .mw-notebar { padding: 18px 20px; }
  .mw-table td, .mw-table th[scope="row"] { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .mw-wheel { animation: none; }
  .mw-stone__swatch, .mw-gallery__item img { transition: none; }
}
