/* Wild Shore Design — single product page.
   Sits on top of style.css + category.css and reuses the category card grid
   for the related pieces, so a product reads as part of its collection. */

.product-page{background:#fff}
.product{
  width:min(1440px,100%);margin:0 auto;
  padding:calc(96px + clamp(1.5rem,4vw,3.2rem)) clamp(1.2rem,5vw,4rem) clamp(4rem,8vw,7rem);
}
.product__crumbs{
  display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;
  margin-bottom:clamp(1.6rem,3.5vw,2.6rem);
  font-size:.68rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--taupe);
}
.product__crumbs a{transition:color .3s var(--ease)}
.product__crumbs a:hover{color:var(--ink)}
.product__crumbs span[aria-current]{color:rgba(85,80,74,.55);max-width:34ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.product__layout{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(2rem,5vw,5rem);align-items:start;
}
.product__gallery{position:sticky;top:96px}
.product__stage{
  position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:10px;background:#f1eee9;
}
.product__stage img{width:100%;height:100%;object-fit:cover;display:block}
.product__sold{
  position:absolute;right:.9rem;top:.9rem;padding:.45rem .75rem;
  background:rgba(247,244,238,.94);color:var(--ink);border:1px solid rgba(37,37,37,.5);
  font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;line-height:1;
}
.product__thumbs{display:flex;gap:.6rem;margin-top:.7rem}
.product__thumb{
  width:74px;height:74px;padding:0;border:1px solid transparent;border-radius:6px;
  overflow:hidden;background:#f1eee9;cursor:pointer;opacity:.62;
  transition:opacity .3s var(--ease),border-color .3s var(--ease);
}
.product__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.product__thumb:hover{opacity:1}
.product__thumb.is-active{opacity:1;border-color:rgba(37,37,37,.45)}

.product__detail{padding-top:.4rem}
.product__kicker{
  font-size:.66rem;font-weight:500;letter-spacing:.32em;text-transform:uppercase;
  color:var(--taupe);margin-bottom:1rem;
}
.product__title{
  font-family:var(--serif);font-weight:400;line-height:1.06;letter-spacing:.005em;
  font-size:clamp(2rem,3.6vw,3.1rem);color:var(--ink);
}
.product__title em{font-family:Georgia,'Times New Roman',serif;font-style:italic;color:rgba(37,37,37,.55)}
.product__subtitle{margin-top:.85rem;font-size:1rem;line-height:1.6;color:rgba(85,80,74,.85)}
.product__price{margin-top:1.4rem;font-size:26px;font-weight:500;letter-spacing:.03em}

.product__buy{margin-top:1.7rem;display:flex;flex-direction:column;align-items:flex-start;gap:1rem}
.product__option{display:flex;flex-direction:column;gap:.5rem;width:min(360px,100%)}
.product__option>span{font-size:.66rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--taupe)}
.product__option select{
  appearance:none;-webkit-appearance:none;width:100%;
  border:1px solid rgba(37,37,37,.28);border-radius:0;padding:.85rem 2.2rem .85rem .9rem;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23252525'/%3E%3C/svg%3E") no-repeat right .9rem center;
  color:var(--ink);font:inherit;font-size:.92rem;cursor:pointer;
}
.product__add{
  display:inline-flex;align-items:center;gap:.9rem;cursor:pointer;
  padding:1.05rem 2rem;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:var(--paper);
  font-family:var(--sans);font-size:.75rem;font-weight:500;letter-spacing:.28em;text-transform:uppercase;
  transition:background .4s var(--ease),color .4s var(--ease),transform .4s var(--ease);
}
.product__add:hover{background:transparent;color:var(--ink);transform:translateY(-2px)}
.product__add i{font-style:normal;transition:transform .4s var(--ease)}
.product__add:hover i{transform:translateX(4px)}
.product__add[disabled]{opacity:.45;cursor:not-allowed;transform:none}
.product__note{font-size:.82rem;color:var(--taupe);min-height:1.2em}
.product__soldnote{margin:1.6rem 0 1.4rem;font-size:.98rem;line-height:1.7;color:var(--taupe);max-width:46ch}

.product__copy{margin-top:2.2rem;font-size:.98rem;line-height:1.8;color:rgba(37,37,37,.86);max-width:56ch}
.product__copy p{margin-bottom:1rem}
.product__copy ul,.product__copy ol{margin:0 0 1rem 1.1rem}
.product__copy li{margin-bottom:.4rem}
.product__copy strong{font-weight:600}
.product__made{
  margin-top:2rem;padding-top:1.3rem;border-top:1px solid rgba(37,37,37,.12);
  font-size:.76rem;letter-spacing:.06em;color:rgba(85,80,74,.8);
}

.product__related{margin-top:clamp(4.5rem,9vw,8rem)}
.product__related h2{
  font-family:var(--serif);font-size:clamp(1.9rem,4vw,3rem);color:var(--ink);
  margin-bottom:clamp(1.8rem,4vw,3rem);
}
.product__related h2 em{font-family:Georgia,'Times New Roman',serif;font-style:italic;color:rgba(37,37,37,.5);opacity:1}

.product--missing{text-align:center;max-width:640px;padding-bottom:clamp(5rem,10vw,9rem)}
.product--missing .product__subtitle{margin:1rem auto 2rem}

@media(max-width:980px){
  .product__layout{grid-template-columns:minmax(0,1fr);gap:2rem}
  .product__gallery{position:static}
}
@media(max-width:640px){
  .product{padding-left:16px;padding-right:16px}
  .product__crumbs{font-size:.62rem;letter-spacing:.16em}
  .product__crumbs span[aria-current]{max-width:18ch}
  .product__thumb{width:62px;height:62px}
  .product__price{font-size:22px}
  .product__add{width:100%;justify-content:center;padding:1rem 1.4rem}
  .product__option{width:100%}
}
