/* RarePRO V5 — visual-only patch. The V2 catalogue, enquiries, and admin are untouched. */
#heroSlides{border:1px solid #dfbec4;border-radius:27px;background:#f0e0e1;overflow:hidden}
#heroSlides .hero-slide.v5-banner-slide{display:none!important;grid-template-columns:none!important;min-height:0!important;animation:fade .45s ease}
#heroSlides .hero-slide.v5-banner-slide.active{display:block!important}
.v5-hero-link,.v5-hero-link picture{display:block;line-height:0;width:100%}
.v5-hero-image{display:block;width:100%;height:auto;aspect-ratio:1920/740;object-fit:cover;object-position:center}
.hero{padding:22px 0 35px}
.slide-controls{margin-top:13px}
/* Existing text remains below imagery only. Soft premium border, not over product photography. */
.category-grid{gap:14px}
.category-card{border:1px solid #dcb9c2;border-radius:25px;background:#fffafb;box-shadow:0 12px 28px #6b344914;overflow:hidden;transition:transform .28s ease,box-shadow .28s ease}
.category-card:hover{transform:translateY(-5px);box-shadow:0 18px 35px #6b344926}
.category-visual{height:auto;aspect-ratio:1/1;overflow:hidden;border-bottom:1px solid #eacbd0;background:#f8ebed}
.category-visual::before,.category-visual::after{display:none!important}
.category-visual img{position:relative!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;transition:transform .45s ease}
.category-card:hover .category-visual img{transform:scale(1.035)}
.category-body{padding:8px 15px 15px;text-align:center}
.category-body h3{font-size:1.14rem;margin:5px 0 0}
/* The two independently moving horizontal trust strips */
#credentials{padding:53px 0 44px;background:linear-gradient(180deg,#f8eeee,#fcf8f6)}
#credentials .section-head{margin-bottom:20px}
.v5-trust-section{margin-top:20px;min-width:0}
.v5-rail-title{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 1px 10px}
.v5-rail-title h3{font-family:Georgia,serif;font-size:1.32rem;font-weight:400;letter-spacing:-.02em;margin:0;color:#563946}
.v5-rail-caption{font-size:.65rem;color:#966f7b;white-space:nowrap}
.v5-rail-viewport{width:100%;overflow:hidden;padding:4px 0 15px;mask-image:linear-gradient(90deg,transparent 0,#000 2%,#000 98%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 2%,#000 98%,transparent 100%)}
.v5-rail-track{display:flex;width:max-content;align-items:stretch;gap:14px;will-change:transform;animation:rareproRail 41s linear infinite}
.v5-badge-track{animation-direction:reverse;animation-duration:38s}
.v5-rail-group{display:flex;gap:14px;flex:none;align-items:stretch}
.v5-rail-card{border:1px solid #e3c8cf;border-radius:17px;background:#fffefe;padding:10px;color:#6b4551;flex:none;box-shadow:0 6px 19px #82475b11;cursor:zoom-in;transition:box-shadow .2s ease,transform .2s ease;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
.v5-rail-card:hover{box-shadow:0 11px 27px #82475b26;transform:translateY(-3px)}
.v5-cert-card{width:178px;height:238px}
.v5-cert-card img{width:100%;height:189px;object-fit:contain;background:white;border-radius:9px}
.v5-cert-caption{font-size:.67rem;font-weight:650;line-height:1.2}
.v5-badge-card{width:133px;height:128px}
.v5-badge-card img{width:110px;height:104px;object-fit:contain}
.v5-rail-viewport:hover .v5-rail-track,.v5-rail-viewport:focus-within .v5-rail-track,.v5-rail-viewport.is-touching .v5-rail-track{animation-play-state:paused}
@keyframes rareproRail{to{transform:translateX(calc(-50% - 7px))}}
.v5-verify-note{margin:17px 1px 0;line-height:1.4;font-size:.65rem;color:#8b7178}
#credentials .trust-motion-grid,#credentials .trust-verify-note{display:none!important}
@media(max-width:720px){.hero{padding:13px 0 22px}.hero .wrap{width:calc(100% - 24px)}#heroSlides{border-radius:21px}.v5-hero-image{aspect-ratio:900/1040}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.category-body h3{font-size:1.05rem}.category-card{border-radius:21px}.v5-rail-title h3{font-size:1.16rem}.v5-cert-card{width:146px;height:203px;padding:8px}.v5-cert-card img{height:160px}.v5-badge-card{width:110px;height:108px}.v5-badge-card img{height:89px;width:90px}.v5-rail-track{animation-duration:34s}.v5-badge-track{animation-duration:32s}.v5-cert-caption{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){.v5-rail-track{animation:none!important}.v5-rail-viewport{overflow-x:auto;mask-image:none;-webkit-mask-image:none}}

/* RarePRO V6: compact product details only. Homepage and catalogue unchanged. */
html[data-view="product"] .product-layout{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(20px,3vw,38px);
  align-items:start;
}
html[data-view="product"] .detail-info{min-width:0;}
html[data-view="product"] .detail-info h1{
  font-family:Georgia,serif;
  font-size:clamp(1.85rem,2.65vw,2.6rem);
  font-weight:500;
  line-height:1.13;
  letter-spacing:-.035em;
  text-wrap:balance;
  overflow-wrap:break-word;
  margin:6px 0 9px;
}
html[data-view="product"] .detail-info>.eyebrow{font-size:.61rem;}
html[data-view="product"] .detail-sku{display:block;margin:0 0 8px;font-size:.7rem;}
html[data-view="product"] .detail-info .detail-lead{
  font-size:.8rem;
  line-height:1.5;
  color:#725c66;
  margin:0 0 11px;
}
html[data-view="product"] .detail-note{
  padding:10px 13px;
  margin:8px 0 12px;
  border-radius:0 10px 10px 0;
  border-left-width:2px;
  background:#faeff0;
  font-size:.74rem;
}
html[data-view="product"] .qty-picker{margin:12px 0;gap:10px;}
html[data-view="product"] .qty-picker input{min-height:40px;padding:6px 10px;}
html[data-view="product"] .detail-info>.action-row{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 0;
}
html[data-view="product"] .detail-info>.action-row .btn{
  min-height:41px;padding:10px 15px;font-size:.76rem;
}
html[data-view="product"] .product-finish-studio{
  margin:16px 0 12px;
  padding:13px 16px 11px;
  border-radius:15px;
}
html[data-view="product"] .product-finish-studio h2{font-size:1.25rem;margin:0 0 3px;}
html[data-view="product"] .product-finish-studio .finish-short{font-size:.72rem;margin:0 0 8px;}
html[data-view="product"] .product-finish-studio .finish-studio-row{gap:10px;}
html[data-view="product"] .finish-custom-ring{width:56px;height:56px;}
html[data-view="product"] .finish-studio-swatch{width:27px;height:27px;}
html[data-view="product"] .product-finish-studio .finish-studio-note{font-size:.66rem;line-height:1.4;margin:8px 0 0;}
html[data-view="product"] .detail-description{margin-top:8px;border-top:1px solid #e9d6dc;border-bottom:1px solid #e9d6dc;padding:10px 1px;}
html[data-view="product"] .detail-description>summary{list-style:none;cursor:pointer;font-size:.79rem;font-weight:700;color:#794958;display:flex;justify-content:space-between;align-items:center;gap:10px;}
html[data-view="product"] .detail-description>summary::-webkit-details-marker{display:none;}
html[data-view="product"] .detail-description>summary:after{content:'+';font-size:1.12rem;font-weight:400;}
html[data-view="product"] .detail-description[open]>summary:after{content:'−';}
html[data-view="product"] .detail-description>p{font-size:.79rem;line-height:1.6;margin:11px 0 4px;color:#725c66;}
html[data-view="product"] .back-link{margin-top:13px;}
@media(max-width:780px){
 html[data-view="product"] .product-layout{grid-template-columns:1fr;gap:17px;}
 html[data-view="product"] .detail-photo{width:100%;max-width:560px;margin:0 auto;}
 html[data-view="product"] .detail-info h1{font-size:clamp(1.85rem,7vw,2.35rem);}
 html[data-view="product"] .product-finish-studio{margin:14px 0;}
}
@media(max-width:410px){
 html[data-view="product"] .detail-info>.action-row .btn{flex:1 1 100%;}
 html[data-view="product"] .detail-info h1{font-size:1.83rem;}
}
