/* =========================================================
   Page-specific styles — used by gallery, products, custom-quote, contact
   ========================================================= */

/* ---------- ACTIVE NAV LINK ---------- */
.nav__links a.is-active{
  color:var(--ink);
}
.nav__links a.is-active::after{
  transform:scaleX(1);
  background:var(--gold);
}

/* ---------- PAGE HEADER ---------- */
.pagehead{
  background:var(--ink);
  color:#fff;
  padding:88px 0 96px;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.pagehead::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(184,145,80,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(184,145,80,0.08) 0%, transparent 55%);
  z-index:-1;
}
.pagehead::after{
  content:'';
  position:absolute;
  inset:0;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600'><defs><filter id='nh'><feTurbulence baseFrequency='0.012' numOctaves='2' seed='4'/></filter></defs><rect width='100%25' height='100%25' filter='url(%23nh)' opacity='0.06'/></svg>");
  mix-blend-mode:overlay;
  z-index:-1;
  opacity:0.6;
}
.crumbs{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:13px;
  color:#9A9A9A;
  margin-bottom:24px;
  letter-spacing:0.3px;
}
.crumbs a{ color:#9A9A9A; }
.crumbs a:hover{ color:var(--gold-light); }
.crumbs span:not(:has(*)){ color:#5A5A5A; }
.pagehead__eyebrow{
  display:inline-block;
  font-size:12px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--gold-light);
  font-weight:600;
  margin-bottom:18px;
}
.pagehead__title{
  font-family:var(--ff-display);
  font-weight:900;
  font-size:clamp(36px, 5.4vw, 72px);
  line-height:1.08;
  margin:0 0 22px;
  letter-spacing:-1.2px;
  color:#fff;
}
.pagehead__title em{
  font-style:normal;
  color:var(--gold-light);
  font-weight:900;
}
.pagehead__sub{
  font-size:clamp(15px, 1.3vw, 18px);
  color:#C5C5C5;
  max-width:680px;
  margin:0;
  line-height:1.85;
}

/* ---------- FILTER CHIPS ---------- */
.filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:48px;
  padding-bottom:32px;
  border-bottom:1px solid var(--line);
}
.filter{
  background:transparent;
  border:1px solid var(--line);
  color:var(--text);
  padding:10px 20px;
  border-radius:50px;
  font-size:14px;
  font-weight:500;
  font-family:inherit;
  cursor:pointer;
  transition:all .25s ease;
  letter-spacing:0.2px;
}
.filter:hover{
  border-color:var(--ink);
  color:var(--ink);
}
.filter.is-active{
  background:var(--ink);
  border-color:var(--ink);
  color:#fff;
}

/* ---------- MASONRY GALLERY ---------- */
.masonry{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  grid-auto-rows:280px;
  gap:14px;
}
.masonry__item{
  position:relative;
  overflow:hidden;
  border-radius:var(--r-md);
  cursor:pointer;
  isolation:isolate;
  transition:opacity .3s ease, transform .3s ease;
}
.masonry__item.m--tall{ grid-row:span 2; }
.masonry__item.m--wide{ grid-column:span 2; }
.masonry__item.is-hidden{
  opacity:0;
  transform:scale(0.96);
  pointer-events:none;
  position:absolute;
  visibility:hidden;
  width:0;
  height:0;
  padding:0;
  margin:0;
}
.masonry__img{
  position:absolute;
  inset:0;
  z-index:0;
  transition:transform .6s ease;
}
.masonry__item:hover .masonry__img{
  transform:scale(1.05);
}
.dark-tile{ background-color:#2A2620 !important; }
.dark-tile::before{ filter:invert(1) brightness(0.6); }

.masonry__overlay{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:24px;
  background:linear-gradient(180deg, transparent 40%, rgba(15,15,15,0.85) 100%);
  color:#fff;
  opacity:0;
  transition:opacity .3s ease;
}
.masonry__item:hover .masonry__overlay{
  opacity:1;
}
.masonry__cat{
  display:inline-block;
  font-size:10px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--gold-light);
  font-weight:600;
  margin-bottom:8px;
}
.masonry__title{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:20px;
  margin:0 0 6px;
  letter-spacing:-0.2px;
}
.masonry__client{
  font-size:13px;
  color:#D5D2CB;
  margin:0 0 4px;
}
.masonry__meta{
  font-size:12px;
  color:#9A9A9A;
  margin:0;
  line-height:1.6;
}

.gallery-empty{
  text-align:center;
  padding:80px 0;
  color:var(--muted);
  font-size:17px;
}
.gallery-note{
  text-align:center;
  color:var(--muted);
  font-size:15px;
  margin:0 0 24px;
}

/* ---------- CTA STRIP ---------- */
.cta-strip{
  background:var(--ink);
  color:#fff;
  padding:72px 0;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.cta-strip::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(184,145,80,0.16) 0%, transparent 55%);
  z-index:-1;
}
.cta-strip__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
}
.cta-strip__eyebrow{
  display:block;
  font-size:12px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--gold-light);
  font-weight:600;
  margin-bottom:10px;
}
.cta-strip h2{
  font-family:var(--ff-display);
  font-weight:800;
  font-size:clamp(26px, 3.4vw, 38px);
  margin:0;
  line-height:1.2;
  color:#fff;
  letter-spacing:-0.5px;
}
.cta-strip__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* ===========================================================
   PRODUCTS PAGE
   =========================================================== */
.shop-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}
.shop-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .3s ease, box-shadow .3s ease, border-color .25s ease, opacity .3s ease;
}
.shop-card.is-hidden{ display:none; }
.shop-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
  border-color:transparent;
}
.shop-card__img{
  aspect-ratio:1/1;
  position:relative;
}
.shop-card__badge{
  position:absolute;
  top:14px;
  inset-inline-start:14px;
  background:var(--ink);
  color:#fff;
  font-size:10px;
  letter-spacing:1.5px;
  padding:6px 12px;
  text-transform:uppercase;
  font-weight:600;
  z-index:3;
}
.shop-card__badge--gold{ background:var(--gold); }
.shop-card__body{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}
.shop-card__cat{
  font-size:11px;
  letter-spacing:1.5px;
  color:var(--gold);
  text-transform:uppercase;
  font-weight:600;
  margin-bottom:2px;
}
.shop-card__title{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:19px;
  margin:0;
  color:var(--ink);
  line-height:1.35;
  letter-spacing:-0.2px;
}
.shop-card__meta{
  font-size:13px;
  color:var(--muted);
  margin:0;
}
.shop-card__foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.shop-card__price{
  font-size:12px;
  color:var(--muted);
}
.shop-card__price strong{
  font-family:var(--ff-display);
  font-weight:800;
  font-size:20px;
  color:var(--ink);
  margin-inline:4px;
}
.shop-card__price span{ font-size:11px; }

.shop-info{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:32px 36px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:24px;
  align-items:center;
  margin-bottom:48px;
}
.shop-info__icon{
  width:54px;
  height:54px;
  border-radius:50%;
  background:var(--ink);
  color:var(--gold-light);
  display:grid;
  place-items:center;
  font-size:24px;
  flex-shrink:0;
}
.shop-info__copy h3{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:18px;
  margin:0 0 4px;
  color:var(--ink);
}
.shop-info__copy p{
  margin:0;
  font-size:14px;
  color:var(--muted);
  line-height:1.7;
}

/* ===========================================================
   CUSTOM QUOTE PAGE
   =========================================================== */
.quote-intro{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:64px;
  align-items:start;
  margin-bottom:80px;
}
.quote-intro__copy h2{
  font-family:var(--ff-display);
  font-weight:800;
  font-size:clamp(26px, 3.2vw, 40px);
  margin:0 0 18px;
  color:var(--ink);
  line-height:1.2;
  letter-spacing:-0.6px;
}
.quote-intro__copy h2 em{ font-style:normal; color:var(--gold); }
.quote-intro__copy > p{
  color:var(--muted);
  font-size:16px;
  line-height:1.85;
  margin:0 0 24px;
}
.quote-steps{
  display:grid;
  gap:18px;
  margin-top:32px;
}
.quote-step{
  display:flex;
  gap:18px;
  align-items:flex-start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:20px 22px;
}
.quote-step__num{
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--ink);
  color:var(--gold-light);
  display:grid;
  place-items:center;
  font-family:var(--ff-en);
  font-weight:700;
  font-size:14px;
  flex-shrink:0;
}
.quote-step__copy strong{
  display:block;
  font-size:16px;
  color:var(--ink);
  margin-bottom:4px;
  font-weight:700;
  font-family:var(--ff-display);
}
.quote-step__copy span{
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

.quote-form{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:40px;
  position:sticky;
  top:96px;
}
.quote-form h3{
  font-family:var(--ff-display);
  font-weight:800;
  font-size:24px;
  margin:0 0 8px;
  color:var(--ink);
}
.quote-form > p{
  margin:0 0 24px;
  font-size:14px;
  color:var(--muted);
}
.field{
  display:block;
  margin-bottom:18px;
}
.field > span{
  display:block;
  font-size:13px;
  color:var(--ink);
  margin-bottom:8px;
  font-weight:500;
}
.field > span em{
  font-style:normal;
  color:var(--gold);
  margin-inline-start:4px;
}
.field input,
.field select,
.field textarea{
  width:100%;
  padding:13px 16px;
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  background:#fff;
  font-family:inherit;
  font-size:15px;
  color:var(--ink);
  transition:border-color .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border-color:var(--ink);
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field-row-3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }
.field-radio-group{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.field-radio{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  cursor:pointer;
  transition:all .2s ease;
  font-size:14px;
}
.field-radio:hover{ border-color:var(--ink); }
.field-radio input{ width:auto; margin:0; accent-color:var(--gold); }
.field-radio input:checked + span{ font-weight:600; color:var(--ink); }
.field-radio:has(input:checked){
  border-color:var(--gold);
  background:rgba(184,145,80,0.05);
}

.field-upload{
  border:1.5px dashed var(--line);
  border-radius:var(--r-sm);
  padding:24px;
  background:var(--bg-soft);
  cursor:pointer;
  transition:all .25s ease;
  text-align:center;
}
.field-upload:hover{ border-color:var(--gold); background:#fff; }
.field-upload__icon{
  font-size:28px;
  color:var(--gold);
  margin-bottom:8px;
}
.field-upload__title{
  display:block;
  font-size:14px;
  color:var(--ink);
  margin-bottom:4px;
  font-weight:600;
}
.field-upload__hint{
  font-size:12px;
  color:var(--muted);
}
.field-upload input{ display:none; }

/* ---------- FAQ ACCORDION ---------- */
.faq{
  max-width:760px;
  margin:0 auto;
  display:grid;
  gap:10px;
}
.faq__item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  overflow:hidden;
}
.faq__item summary{
  list-style:none;
  cursor:pointer;
  padding:22px 26px;
  font-size:16px;
  font-weight:600;
  color:var(--ink);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  font-family:var(--ff-display);
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary::after{
  content:'+';
  font-size:22px;
  color:var(--gold);
  font-weight:400;
  transition:transform .25s ease;
  flex-shrink:0;
}
.faq__item[open] summary::after{
  content:'−';
  transform:rotate(180deg);
}
.faq__item-body{
  padding:0 26px 24px;
  color:var(--muted);
  font-size:15px;
  line-height:1.85;
}

/* ===========================================================
   CONTACT PAGE
   =========================================================== */
.contact-cards{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
  margin-bottom:64px;
}
.contact-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:all .25s ease;
  text-align:start;
  color:var(--ink);
}
.contact-card:hover{
  border-color:var(--ink);
  transform:translateY(-2px);
  box-shadow:var(--shadow-sm);
  color:var(--ink);
}
.contact-card__icon{
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--ink);
  color:var(--gold-light);
  display:grid;
  place-items:center;
  font-size:20px;
}
.contact-card__label{
  font-size:12px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:600;
  margin:0;
}
.contact-card__value{
  font-size:17px;
  color:var(--ink);
  font-weight:600;
  margin:0;
  line-height:1.5;
}
.contact-card__sub{
  font-size:13px;
  color:var(--muted);
  margin:0;
}

.contact-split{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:48px;
}
.contact-map{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  aspect-ratio:1/1;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:14px;
}
.contact-map::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(0deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px;
  opacity:0.5;
}
.contact-map__pin{
  position:relative;
  z-index:2;
  text-align:center;
  background:#fff;
  padding:20px 24px;
  border-radius:var(--r-md);
  box-shadow:var(--shadow-md);
  border:1px solid var(--line);
}
.contact-map__pin .dot{
  display:inline-block;
  width:12px;
  height:12px;
  background:var(--gold);
  border-radius:50%;
  margin-bottom:8px;
  position:relative;
}
.contact-map__pin .dot::after{
  content:'';
  position:absolute;
  inset:-6px;
  border:2px solid var(--gold);
  border-radius:50%;
  opacity:0.4;
  animation:ping 2s ease-out infinite;
}
@keyframes ping{
  0%{ transform:scale(1); opacity:0.4; }
  100%{ transform:scale(2); opacity:0; }
}
.contact-map__pin strong{
  display:block;
  color:var(--ink);
  font-size:15px;
  margin-bottom:2px;
}
.contact-map__pin span{ font-size:13px; color:var(--muted); }

.hours-box{
  background:var(--ink);
  color:#fff;
  border-radius:var(--r-md);
  padding:32px;
  margin-top:24px;
}
.hours-box h4{
  font-family:var(--ff-display);
  font-size:18px;
  margin:0 0 18px;
  color:#fff;
  font-weight:700;
}
.hours-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
  font-size:14px;
}
.hours-row:last-child{ border-bottom:none; }
.hours-row span:first-child{ color:#C5C5C5; }
.hours-row span:last-child{ color:#fff; font-weight:600; }
.hours-row.is-closed span:last-child{ color:#888; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1080px){
  .masonry{ grid-template-columns:repeat(2, 1fr); grid-auto-rows:260px; }
  .shop-grid{ grid-template-columns:repeat(2, 1fr); }
  .quote-intro{ grid-template-columns:1fr; gap:48px; }
  .quote-form{ position:relative; top:0; }
  .contact-cards{ grid-template-columns:repeat(2, 1fr); }
  .contact-split{ grid-template-columns:1fr; }
}
@media (max-width: 768px){
  .pagehead{ padding:48px 0 56px; }
  .masonry{ grid-template-columns:1fr; grid-auto-rows:240px; }
  .masonry__item.m--wide{ grid-column:span 1; }
  .masonry__item.m--tall{ grid-row:span 1; }
  .masonry__overlay{
    opacity:1;
    background:linear-gradient(180deg, transparent 50%, rgba(15,15,15,0.85) 100%);
  }
  .filters{ overflow-x:auto; flex-wrap:nowrap; padding-bottom:20px; }
  .filter{ flex-shrink:0; }
  .cta-strip__inner{ flex-direction:column; align-items:flex-start; gap:24px; }
  .shop-grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .shop-card__body{ padding:16px; }
  .field-row, .field-row-3{ grid-template-columns:1fr; }
  .field-radio-group{ grid-template-columns:1fr; }
  .quote-form{ padding:24px; }
  .contact-cards{ grid-template-columns:1fr; }
  .shop-info{ grid-template-columns:1fr; text-align:center; }
  .shop-info__icon{ margin:0 auto; }
}
@media (max-width: 480px){
  .shop-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   v1.2.0 — Product Detail (Fanstone-style) + Marble Chips
   ========================================================= */

/* --- Card-level marble chips (homepage + products grid) --- */
.card-chips{
  display:flex; gap:6px; margin:8px 0 0; flex-wrap:wrap;
}
.card-chip{
  width:24px; height:24px; border-radius:50%; border:2px solid #fff;
  outline:1px solid #d8d2c4; background-size:cover; background-position:center;
  cursor:pointer; padding:0; transition:transform .15s ease, outline-color .15s ease;
}
.card-chip:hover{ transform:scale(1.1); }
.card-chip.is-active{ outline:2px solid #B89150; outline-offset:1px; }
.card-chip:focus-visible{ outline:2px solid #B89150; outline-offset:2px; }

.shop-card__link, .product__link{ display:block; color:inherit; text-decoration:none; }
.shop-card__title a, .product__title a{ color:inherit; text-decoration:none; }
.shop-card__title a:hover, .product__title a:hover{ color:#B89150; }

.shop-card__img, .product__img{ transition:opacity .25s ease; }

/* --- Product Detail page --- */
.gc-template-product .nav{ position:relative; }

.pd-wrap{ padding:30px 0 60px; }
.pd-grid{
  display:grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
  gap:48px; align-items:start;
}
.pd-crumbs{ margin-bottom:16px; }
.pd-media{ position:sticky; top:80px; }
.pd-main-img{
  position:relative; width:100%; aspect-ratio: 1/1;
  background:#F7F5F1; border:1px solid #E9E6DF; border-radius:8px;
  overflow:hidden; display:flex; align-items:center; justify-content:center;
}
.pd-main-img img{ width:100%; height:100%; object-fit:cover; transition:opacity .3s ease; }
.pd-main-img img.is-swapping{ opacity:0.3; }
.pd-img-placeholder{ width:100%; height:100%; background:#E9E6DF; display:flex; align-items:center; justify-content:center; color:#888; font-size:14px; }
.pd-img-placeholder::before{ content: attr(data-placeholder); }

.pd-badge{
  position:absolute; top:16px; inset-inline-start:16px; z-index:2;
  background:#0F0F0F; color:#fff; padding:6px 14px; border-radius:20px;
  font-size:12px; font-weight:600;
}
.pd-badge--gold{ background:#B89150; }

.pd-thumbs{
  display:flex; gap:10px; margin-top:14px; flex-wrap:wrap;
}
.pd-thumb{
  width:72px; height:72px; padding:0; border:2px solid transparent; border-radius:6px;
  overflow:hidden; cursor:pointer; background:#F7F5F1;
}
.pd-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.pd-thumb.is-active{ border-color:#B89150; }

.pd-info{ display:flex; flex-direction:column; gap:18px; }
.pd-shipping{
  display:flex; gap:10px; align-items:center; background:#F7F5F1;
  border:1px solid #E9E6DF; border-radius:8px; padding:10px 14px;
  font-size:13px; color:#555;
}
.pd-shipping__icon{ font-size:18px; }

.pd-cat{
  font-size:12px; letter-spacing:1.5px; text-transform:uppercase;
  color:#B89150; font-weight:600;
}
.pd-title{
  font-size:34px; line-height:1.4; font-weight:800;
  color:#0F0F0F; margin:0;
}

.pd-price{ display:flex; align-items:baseline; gap:6px; }
.pd-price__num{ font-size:30px; font-weight:800; color:#0F0F0F; font-family:'Inter', sans-serif; }
.pd-price__unit{ font-size:18px; color:#555; }
.pd-price__note{ font-size:13px; color:#888; margin-inline-start:6px; }

.pd-shipping-note{ font-size:12px; color:#888; margin:0; }
.pd-specs{ font-size:14px; color:#555; line-height:1.6; margin:0; }

.pd-option{ display:flex; flex-direction:column; gap:10px; }
.pd-option__label{
  display:flex; justify-content:space-between; align-items:baseline;
  font-size:14px; color:#444;
}
.pd-option__label strong{ font-weight:700; color:#0F0F0F; font-size:13px; }

.pd-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.pd-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 16px; border:1.5px solid #E9E6DF; border-radius:30px;
  background:#fff; cursor:pointer; font-family:inherit; font-size:13px; color:#0F0F0F;
  transition:border-color .15s ease, background .15s ease;
}
.pd-chip:hover{ border-color:#B89150; }
.pd-chip.is-active{ background:#0F0F0F; color:#fff; border-color:#0F0F0F; }
.pd-chip--marble{ padding:6px 14px 6px 8px; }
.pd-chip__swatch{
  width:24px; height:24px; border-radius:50%; background-size:cover; background-position:center;
  border:1.5px solid #fff; outline:1px solid #d8d2c4; display:inline-block;
}
.pd-chip__swatch--blank{ background:#E9E6DF; }
.pd-chip.is-active .pd-chip__swatch{ outline-color:#fff; }

.pd-qty{ display:flex; align-items:center; gap:14px; }
.pd-qty__label{ font-size:14px; color:#444; }
.pd-qty__ctl{
  display:inline-flex; align-items:center; border:1.5px solid #E9E6DF; border-radius:30px;
  overflow:hidden;
}
.pd-qty__ctl button{
  width:38px; height:38px; border:none; background:#fff; cursor:pointer;
  font-size:18px; color:#0F0F0F;
}
.pd-qty__ctl button:hover{ background:#F7F5F1; }
.pd-qty__ctl input{
  width:50px; text-align:center; border:none; font-size:15px; font-family:'Inter',sans-serif;
  -moz-appearance:textfield; outline:none;
}
.pd-qty__ctl input::-webkit-outer-spin-button,
.pd-qty__ctl input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

.pd-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
.pd-cta .btn{ flex:1 1 auto; min-width:140px; justify-content:center; }
.pd-cta__ar{ display:inline-block; }
.pd-cta__en{ display:inline-block; opacity:0.7; font-size:12px; margin-inline-start:6px; }

.pd-section{
  border-top:1px solid #E9E6DF; padding:14px 0;
}
.pd-section summary{
  cursor:pointer; font-weight:700; font-size:15px; color:#0F0F0F;
  list-style:none; display:flex; justify-content:space-between; align-items:center;
}
.pd-section summary::-webkit-details-marker{ display:none; }
.pd-section summary::after{ content:'+'; font-size:22px; color:#B89150; font-weight:400; }
.pd-section[open] summary::after{ content:'−'; }
.pd-section__body{ padding:12px 0 4px; color:#555; font-size:14px; line-height:1.7; }
.pd-section__body ol{ margin:0; padding-inline-start:20px; }
.pd-section__body ol li{ margin-bottom:6px; }

@media (max-width: 860px){
  .pd-grid{ grid-template-columns:1fr; gap:30px; }
  .pd-media{ position:relative; top:auto; }
  .pd-title{ font-size:26px; }
}

/* =========================================================
   v1.2.0 — Homepage: Sink configurator teaser + About teaser
   ========================================================= */

.cfg-teaser{ background:#0F0F0F; color:#fff; position:relative; overflow:hidden; }
.cfg-teaser .section__eyebrow{ color:#D4B26A; }
.cfg-teaser__inner{
  display:grid; grid-template-columns: 1fr 1fr; gap:48px; align-items:center;
}
.cfg-teaser__copy h2{ font-size:38px; line-height:1.3; margin:14px 0 18px; color:#fff; }
.cfg-teaser__copy h2 em{ color:#D4B26A; font-style:normal; }
.cfg-teaser__copy p{ color:#bbb; font-size:16px; line-height:1.8; margin-bottom:24px; }
.cfg-teaser__visual{
  aspect-ratio: 1/1; max-width:380px; margin-inline-start:auto;
  background:radial-gradient(circle at 50% 40%, #2a2a2a 0%, #0F0F0F 70%);
  border-radius:12px; display:flex; align-items:center; justify-content:center;
}
.cfg-teaser__cube{
  width:60%; aspect-ratio:1/1;
  background:linear-gradient(135deg, #D4B26A 0%, #8C6A2F 100%);
  border-radius:50%;
  box-shadow: inset -20px -20px 60px rgba(0,0,0,0.4), 0 30px 60px rgba(212,178,106,0.2);
  transform:rotate(-10deg);
}
@media (max-width: 760px){
  .cfg-teaser__inner{ grid-template-columns:1fr; }
  .cfg-teaser__visual{ max-width:240px; margin-inline:auto; }
  .cfg-teaser__copy h2{ font-size:28px; }
}

.about-teaser{ background:#F7F5F1; }
.about-teaser__inner{ max-width:760px; margin:0 auto; text-align:center; }
.about-teaser__copy h2{ font-size:34px; line-height:1.4; margin:14px 0 18px; }
.about-teaser__copy h2 em{ color:#B89150; font-style:normal; }
.about-teaser__copy p{ color:#555; font-size:16px; line-height:1.8; max-width:620px; margin:0 auto 24px; }
.about-teaser__ctas{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
@media (max-width: 580px){ .about-teaser__copy h2{ font-size:24px; } }

/* =========================================================
   v1.2.0 — Our Projects page
   ========================================================= */

.op-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:20px; margin-bottom:50px;
}
.op-card{
  background:#fff; border:1px solid #E9E6DF; border-radius:8px;
  padding:28px 24px; transition:border-color .2s ease, transform .2s ease;
}
.op-card:hover{ border-color:#B89150; transform:translateY(-3px); }
.op-card__mark{ color:#B89150; font-size:18px; margin-bottom:8px; }
.op-card h3{ font-size:17px; line-height:1.5; margin:0 0 8px; color:#0F0F0F; font-weight:700; }
.op-card p{ font-size:14px; color:#555; line-height:1.7; margin:0 0 14px; }
.op-card__loc{ font-size:12px; color:#888; letter-spacing:0.5px; }

.op-cta{
  background:#0F0F0F; color:#fff; padding:48px 40px; border-radius:12px;
  text-align:center;
}
.op-cta h3{ color:#fff; font-size:24px; margin:0 0 10px; }
.op-cta p{ color:#bbb; max-width:560px; margin:0 auto 24px; font-size:15px; }

/* =========================================================
   v1.3.0 — Shop-first homepage redesign
   Compact hero, products at slot #2, slim custom/process/about strips.
   ========================================================= */

/* Hero — compact variant (was 84vh, now ~55vh) */
.hero.hero--compact{ min-height:58vh; }
.hero.hero--compact .hero__content{ padding:90px 32px 80px; max-width:880px; }
.hero.hero--compact .hero__title{
  font-size:clamp(34px, 5.2vw, 64px);
  line-height:1.55;
  margin:0 0 28px;
  letter-spacing:-1px;
  padding-block:0.15em;
}
.hero.hero--compact .hero__sub{ display:none; }
.hero.hero--compact .hero__scroll{ display:none; }
@media (max-width: 720px){
  .hero.hero--compact{ min-height:50vh; }
  .hero.hero--compact .hero__content{ padding:70px 24px 60px; }
}

/* Products section in shop-first position — much tighter padding than .section */
.section--shop{ padding:48px 0 80px; background:#fff; }
.section--shop .products{ margin-top:8px; }
@media (max-width: 720px){
  .section--shop{ padding:32px 0 56px; }
}

/* Shop section header — title left, "View all" right (no centered hero header) */
.shop-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; margin-bottom:32px; padding-bottom:18px;
  border-bottom:1px solid var(--line);
}
.shop-head__title{
  font-family:var(--ff-display);
  font-size:clamp(24px, 3vw, 34px);
  line-height:1.3;
  font-weight:800;
  color:var(--ink);
  margin:6px 0 0;
  letter-spacing:-0.5px;
}
.shop-head__more{
  color:var(--gold);
  font-size:14px; font-weight:600;
  white-space:nowrap;
  text-decoration:none;
  padding-bottom:4px;
}
.shop-head__more:hover{ color:var(--ink); }
@media (max-width: 580px){
  .shop-head{ flex-direction:column; align-items:flex-start; gap:8px; }
}

/* 12-product grid: 4 columns on desktop, scales down naturally */
.products.products--12{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:28px;
}
@media (max-width: 1100px){ .products.products--12{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px){  .products.products--12{ grid-template-columns: repeat(2, 1fr); gap:18px; } }
@media (max-width: 480px){  .products.products--12{ grid-template-columns: 1fr; } }

/* Custom Quote — compact horizontal strip on soft warm-white */
.custom-strip{
  background:var(--bg-soft);
  padding:40px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.custom-strip__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:32px; flex-wrap:wrap;
}
.custom-strip__copy{ flex:1; min-width:260px; }
.custom-strip__copy .section__eyebrow{ color:var(--gold); margin-bottom:6px; }
.custom-strip__copy h2{
  font-family:var(--ff-display);
  font-size:clamp(20px, 2.2vw, 26px);
  line-height:1.4;
  font-weight:800;
  color:var(--ink);
  margin:0 0 6px;
  letter-spacing:-0.3px;
}
.custom-strip__copy h2 em{ font-style:normal; color:var(--gold); font-weight:800; }
.custom-strip__copy p{
  color:var(--muted);
  font-size:15px; line-height:1.7;
  margin:0; max-width:560px;
}
.custom-strip__cta{ flex-shrink:0; }
@media (max-width: 720px){
  .custom-strip{ padding:30px 0; }
  .custom-strip__inner{ gap:18px; }
}

/* Process — slim one-line band (was a full dark section with cards) */
.steps-band{
  background:#0F0F0F;
  color:#fff;
  padding:32px 0;
}
.steps-band__head{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:16px; flex-wrap:wrap; margin-bottom:18px;
}
.steps-band__head .section__eyebrow{ color:var(--gold-light); margin:0; }
.steps-band__title{
  font-family:var(--ff-display);
  font-size:18px; font-weight:700; color:#fff;
}
.steps-band__list{
  list-style:none;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  padding:0; margin:0;
}
.steps-band__list li{
  display:flex; align-items:center; gap:10px;
  font-size:14px; font-weight:500;
  color:#D5D2CB;
  padding:14px 16px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:6px;
}
.steps-band__num{
  font-family:var(--ff-display);
  font-weight:800;
  color:var(--gold-light);
  font-size:18px;
  letter-spacing:0;
}
@media (max-width: 900px){ .steps-band__list{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .steps-band__list{ grid-template-columns: 1fr; } }

/* About — micro one-liner with inline links (was a full centered section) */
.about-mini{
  background:#fff;
  padding:28px 0;
  border-top:1px solid var(--line);
}
.about-mini__inner{ text-align:center; max-width:760px; margin:0 auto; }
.about-mini__inner .section__eyebrow{ display:block; margin-bottom:8px; color:var(--gold); }
.about-mini__inner p{
  margin:0;
  font-size:15px;
  line-height:1.7;
  color:var(--muted);
}
.about-mini__inner p a{
  color:var(--ink);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid var(--gold);
  padding-bottom:1px;
}
.about-mini__inner p a:hover{ color:var(--gold); }
.about-mini__inner p span{ margin:0 8px; color:var(--muted); }


/* =========================================================
   v1.4.0 — Category preview tiles (homepage products section)
   ========================================================= */
.cat-tiles{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:18px;
  margin-top:8px;
}
@media (max-width: 1100px){
  .cat-tiles{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width: 720px){
  .cat-tiles{ grid-template-columns:repeat(2, 1fr); gap:12px; }
}
@media (max-width: 420px){
  .cat-tiles{ grid-template-columns:1fr; }
}

.cat-tile{
  position:relative;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.cat-tile:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px -20px rgba(0,0,0,.20);
  border-color:var(--gold-light);
}
.cat-tile__img{
  position:relative;
  aspect-ratio:4 / 5;
  background-color:#1F1F1F;
  background-size:cover;
  background-position:center;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.cat-tile__icon{
  font-size:48px;
  color:rgba(212,178,106,0.75);
  font-weight:200;
}
.cat-tile__shade{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
  pointer-events:none;
  transition:background .35s ease;
}
.cat-tile:hover .cat-tile__shade{
  background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
}
.cat-tile__body{
  padding:16px 18px 18px;
  display:flex;
  flex-direction:column;
  gap:4px;
  min-height:92px;
}
.cat-tile__title{
  font-family:var(--ff-display);
  font-size:17px;
  font-weight:800;
  color:var(--ink);
  margin:0;
  letter-spacing:-0.3px;
}
.cat-tile__count{
  font-size:12px;
  color:var(--muted);
  font-weight:500;
}
.cat-tile__arrow{
  margin-top:auto;
  font-size:12.5px;
  color:var(--gold);
  font-weight:600;
  transition:transform .25s ease;
}
.cat-tile:hover .cat-tile__arrow{
  transform:translateX(-3px);
}


/* =========================================================
   v1.4.0 — Marble Collection strip (homepage + product detail)
   "All our products can be made in any of these marbles."
   ========================================================= */
.marble-strip{
  background:#0F0F0F;
  color:#fff;
  padding:64px 0 72px;
  overflow:hidden;
}
.marble-strip__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; margin-bottom:28px;
  padding-bottom:20px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.marble-strip__head h2{
  font-family:var(--ff-display);
  font-size:clamp(24px, 3vw, 32px);
  font-weight:800;
  margin:8px 0 0;
  color:#fff;
  letter-spacing:-0.4px;
}
.marble-strip__eyebrow{
  font-size:12px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase;
  color:var(--gold-light);
}
.marble-strip__more{
  color:var(--gold-light);
  font-size:14px; font-weight:600;
  white-space:nowrap;
  text-decoration:none;
  padding-bottom:4px;
  border-bottom:1px solid var(--gold-light);
}
.marble-strip__lead{
  font-size:15px;
  color:#D5D2CB;
  max-width:680px;
  margin:0 0 32px;
  line-height:1.7;
}

.marble-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(170px, 1fr);
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,0.2) transparent;
}
.marble-rail::-webkit-scrollbar{ height:6px; }
.marble-rail::-webkit-scrollbar-track{ background:transparent; }
.marble-rail::-webkit-scrollbar-thumb{ background:rgba(255,255,255,0.15); border-radius:3px; }

.marble-chip{
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
  gap:10px;
  text-decoration:none;
  color:inherit;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.02);
  transition:transform .3s ease, border-color .3s ease, background .3s ease;
}
.marble-chip:hover{
  transform:translateY(-3px);
  border-color:var(--gold);
  background:rgba(184,145,80,0.06);
}
.marble-chip__img{
  aspect-ratio:1 / 1;
  background-size:cover;
  background-position:center;
  background-color:#1A1A1A;
}
.marble-chip__body{
  padding:10px 12px 14px;
  display:flex;
  flex-direction:column;
  gap:3px;
  text-align:center;
}
.marble-chip__name{
  font-size:13px;
  font-weight:700;
  color:#FAFAFA;
  line-height:1.35;
}
.marble-chip__origin{
  font-size:11px;
  color:#9A958C;
  letter-spacing:0.4px;
}
.marble-strip__note{
  margin-top:18px;
  font-size:13px;
  color:#9A958C;
  text-align:center;
}
.marble-strip__note strong{
  color:var(--gold-light);
  font-weight:600;
}


/* =========================================================
   v1.4.0 — /collection/ (Our Marble) page
   ========================================================= */
.marbles-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap:18px;
}
.marble-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.marble-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 36px -22px rgba(0,0,0,.22);
  border-color:var(--gold-light);
}
.marble-card__img{
  aspect-ratio:4 / 3;
  background-size:cover;
  background-position:center;
  background-color:#F2EFE9;
}
.marble-card__body{
  padding:14px 16px 16px;
  display:flex; flex-direction:column; gap:4px;
}
.marble-card__name{
  font-family:var(--ff-display);
  font-size:15.5px;
  font-weight:800;
  color:var(--ink);
  margin:0;
  letter-spacing:-0.2px;
}
.marble-card__origin{
  font-size:12px;
  color:var(--muted);
  letter-spacing:0.3px;
}
.marble-card__origin::before{ content:'· '; color:var(--gold); margin-inline-end:2px; }


/* ============================================================
   v1.7.0 — BLOG / ARTICLES
   /المقالات/ listing + single-post layout + mid-article product card embed.
   ============================================================ */

/* Listing page — grid of article cards */
.articles-grid-section{ padding:48px 0 96px; background:#fff; }
.articles-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:32px;
}
.articles-empty{ text-align:center; color:var(--muted); padding:48px 0; }

.article-card{
  background:#fff; border:1px solid #ECE7DC; border-radius:14px;
  overflow:hidden; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.article-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 48px -20px rgba(58, 42, 11, .25);
  border-color:#E2D6B3;
}
.article-card__link{
  display:flex; flex-direction:column;
  color:inherit; text-decoration:none; height:100%;
}
.article-card__img{
  aspect-ratio:16/10; width:100%;
  background-color:#1a1a1a; background-size:cover; background-position:center;
}
.article-card__body{ padding:22px 22px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.article-card__date{
  font-size:12.5px; color:var(--gold); letter-spacing:.4px;
  font-weight:600; text-transform:uppercase;
}
.article-card__title{
  font-family:var(--ff-display); font-weight:900;
  font-size:21px; line-height:1.45; color:var(--ink);
  margin:0; letter-spacing:-0.3px;
}
.article-card__excerpt{
  font-size:14.5px; line-height:1.75; color:var(--muted);
  margin:0; flex:1;
}
.article-card__more{
  font-size:14px; font-weight:700; color:var(--gold-deep);
  margin-top:4px;
}

/* Single article — hero head */
.article-head{
  position:relative; overflow:hidden;
  background:#181612; color:#fff;
  padding:64px 0 48px;
}
.article-head--has-image::before{
  content:''; position:absolute; inset:0;
  background-image:var(--article-hero, none);
  background-size:cover; background-position:center;
  opacity:.32; z-index:0;
}
.article-head--has-image::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(24,22,18,.55) 0%, rgba(24,22,18,.92) 100%);
  z-index:1;
}
.article-head .container{ position:relative; z-index:2; }
.article-crumbs{
  font-size:13.5px; color:rgba(255,255,255,.7);
  margin-bottom:18px; display:flex; gap:8px; align-items:center; flex-wrap:wrap;
}
.article-crumbs a{ color:rgba(255,255,255,.85); text-decoration:none; }
.article-crumbs a:hover{ color:var(--gold); }
.article-head__title{
  color:#fff; max-width:880px; margin:0 0 16px;
  line-height:1.45;
}
.article-head__meta{
  font-size:13.5px; color:rgba(255,255,255,.7);
  display:flex; gap:10px; align-items:center;
}

/* Single article — body */
.article-body{ padding:56px 0 96px; }
.article-body__inner{
  max-width:760px; margin:0 auto;
  font-size:17px; line-height:1.95; color:#2a2418;
}
.article-body__inner p{ margin:0 0 22px; }
.article-body__inner h2{
  font-family:var(--ff-display); font-weight:900;
  font-size:28px; line-height:1.5;
  margin:48px 0 18px; color:var(--ink);
  letter-spacing:-0.4px;
}
.article-body__inner h3{
  font-family:var(--ff-display); font-weight:800;
  font-size:21px; line-height:1.55;
  margin:32px 0 12px; color:var(--ink);
}
.article-body__inner ul,
.article-body__inner ol{
  margin:0 0 24px; padding-inline-start:24px;
}
.article-body__inner li{ margin-bottom:8px; }
.article-body__inner strong{ color:var(--ink); font-weight:700; }
.article-body__inner em{ color:var(--muted); font-style:normal; font-size:15.5px; }

/* Article tables */
.article-body__inner table{
  width:100%; border-collapse:collapse; margin:24px 0;
  font-size:15px; background:#fff;
  border:1px solid #ECE7DC; border-radius:10px; overflow:hidden;
}
.article-body__inner thead{ background:#F7F1E1; }
.article-body__inner th{
  text-align:start; padding:14px 16px;
  font-family:var(--ff-display); font-weight:800;
  color:var(--ink); border-bottom:1px solid #E2D6B3;
}
.article-body__inner td{
  padding:12px 16px; border-bottom:1px solid #F1ECDE;
  vertical-align:top;
}
.article-body__inner tbody tr:last-child td{ border-bottom:none; }
.article-body__inner tbody tr:hover{ background:#FBF7EC; }

/* Embedded product card mid-article */
.embed-product-card{
  display:grid; grid-template-columns:160px 1fr; gap:20px;
  margin:36px 0; padding:18px;
  background:#FBF7EC; border:1px solid #E9D595; border-radius:14px;
  align-items:center;
}
.embed-product-card__media{
  display:block; aspect-ratio:1/1;
  background-color:#1a1a1a; background-size:cover; background-position:center;
  border-radius:10px; min-height:140px;
}
.embed-product-card__body{ display:flex; flex-direction:column; gap:6px; }
.embed-product-card__cat{
  font-size:12px; color:var(--gold-deep); letter-spacing:.3px;
  text-transform:uppercase; font-weight:700;
}
.embed-product-card__title{
  font-family:var(--ff-display); font-weight:900;
  font-size:19px; line-height:1.45; margin:0;
}
.embed-product-card__title a{ color:var(--ink); text-decoration:none; }
.embed-product-card__title a:hover{ color:var(--gold-deep); }
.embed-product-card__meta{ font-size:14px; color:var(--muted); margin:0; }
.embed-product-card__hint{ font-size:13.5px; color:var(--muted); margin:4px 0 8px; }
.embed-product-card .btn{ align-self:flex-start; }

@media (max-width: 600px){
  .embed-product-card{ grid-template-columns:1fr; }
  .embed-product-card__media{ aspect-ratio:16/10; min-height:0; }
}

/* Article-end CTA block */
.article-cta{
  max-width:760px; margin:48px auto 0;
  padding:32px 28px; background:#181612; color:#fff;
  border-radius:14px; text-align:center;
}
.article-cta h2{
  color:#fff; font-family:var(--ff-display); font-weight:900;
  font-size:24px; margin:0 0 8px;
}
.article-cta p{
  color:rgba(255,255,255,.78); margin:0 auto 18px;
  max-width:520px; font-size:15px; line-height:1.7;
}
