/* BT-R39-CARD-AND-RELATED-REFINEMENT */

/* Center the main catalog photographs without cropping them. */
html body.homepage-reference
#listingGrid .image-wrap>a,
html body.homepage-reference
#featuredGrid .image-wrap>a{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  height:100%!important;
}

html body.homepage-reference
#listingGrid .image-wrap>a>img,
html body.homepage-reference
#featuredGrid .image-wrap>a>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  margin-inline:auto!important;
  padding:4px!important;
  object-fit:contain!important;
  object-position:center center!important;
  box-sizing:border-box!important;
}

/* Price boxes fit the actual numbers instead of a fixed width. */
html body.homepage-reference
#listingGrid .listing-card .card-body>span.price{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  flex:0 0 auto!important;
  box-sizing:border-box!important;
  width:fit-content!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:44px!important;
  padding:7px 12px!important;
  margin:8px auto 12px!important;
  background:#f5ca5e!important;
  background-image:none!important;
  -webkit-background-clip:border-box!important;
  color:#15110a!important;
  -webkit-text-fill-color:#15110a!important;
  text-shadow:none!important;
  border:1px solid #d6ab43!important;
  border-radius:10px!important;
  font-size:1.65rem!important;
  line-height:1.1!important;
  font-weight:900!important;
  font-variant-numeric:tabular-nums;
}

/* Individual product photos retain their original proportions. */
html body.item-page-body #productMount
.product-main-carousel img{
  object-position:center center!important;
  margin-inline:auto!important;
}

/* Slightly larger, centered individual product price. */
html body.item-page-body #productMount
.product-layout .product-panel.product-text{
  grid-template-columns:126px minmax(0,1fr)!important;
  column-gap:17px!important;
}

html body.item-page-body #productMount
.product-layout .product-panel.product-text>.product-price{
  grid-column:1!important;
  grid-row:2!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  box-sizing:border-box!important;
  width:126px!important;
  min-width:126px!important;
  max-width:126px!important;
  min-height:78px!important;
  height:78px!important;
  max-height:78px!important;
  padding:10px!important;
  margin:0!important;
  color:#15110a!important;
  -webkit-text-fill-color:#15110a!important;
  text-shadow:none!important;
  font-size:2.55rem!important;
  line-height:1!important;
  font-weight:900!important;
}

html body.item-page-body #productMount
.product-layout .product-panel.product-text>h1{
  grid-column:2!important;
  grid-row:2!important;
  align-self:center!important;
}

/* Related items: same black-and-gold compact carousel treatment. */
html body.item-page-body .recommend-section{
  min-width:0;
  overflow:hidden;
  border:1px solid #8f7135;
  border-radius:14px;
  background:rgba(5,7,9,.93);
  padding:20px 16px 16px!important;
}

html body.item-page-body .recommend-section>.section-heading{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  flex-wrap:wrap;
}

.bt-r39-rail-controls{
  display:flex!important;
  align-items:center;
  gap:8px;
  margin-left:auto;
}

.bt-r39-rail-controls[hidden]{
  display:none!important;
}

.bt-r39-rail-arrow{
  display:inline-grid;
  place-items:center;
  width:36px;
  height:36px;
  min-width:36px;
  padding:0;
  border:1px solid #b58b39;
  border-radius:50%;
  background:#101114;
  color:#f4cc64;
  font:700 1.6rem/1 Georgia,serif;
  cursor:pointer;
}

.bt-r39-rail-arrow:hover:not(:disabled){
  background:#342814;
}

.bt-r39-rail-arrow:disabled{
  opacity:.34;
  cursor:default;
}

html body.item-page-body #relatedGrid.listing-grid{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;
  scroll-padding-inline:2px;
  scrollbar-width:thin;
  scrollbar-color:#b38b3e #111216;
  overscroll-behavior-x:contain;
  padding:4px 2px 11px!important;
}

html body.item-page-body #relatedGrid .listing-card{
  display:flex!important;
  flex-direction:column!important;
  flex:0 0 23%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:100%!important;
  scroll-snap-align:start;
  border:1px solid #a27b32!important;
  border-radius:12px!important;
  background:#08090b!important;
  overflow:hidden!important;
}

html body.item-page-body #relatedGrid .image-wrap{
  width:100%!important;
  aspect-ratio:1.3!important;
  background:#141419!important;
}

html body.item-page-body #relatedGrid .image-wrap>a{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  height:100%!important;
}

html body.item-page-body #relatedGrid .image-wrap img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  padding:4px!important;
  object-fit:contain!important;
  object-position:center center!important;
}

html body.item-page-body #relatedGrid .status-badge[hidden]{
  display:none!important;
}

html body.item-page-body #relatedGrid .card-body{
  display:flex!important;
  flex-direction:column!important;
  flex:1!important;
  gap:7px!important;
  padding:10px!important;
  min-width:0!important;
}

html body.item-page-body #relatedGrid .card-meta{
  font-size:.62rem!important;
  color:#edc65d!important;
}

html body.item-page-body #relatedGrid h3{
  font-size:1rem!important;
  line-height:1.2!important;
  font-weight:600!important;
  color:#fff!important;
  overflow-wrap:anywhere;
}

html body.item-page-body #relatedGrid .price{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:flex-start!important;
  width:fit-content!important;
  min-width:0!important;
  padding:6px 10px!important;
  border-radius:9px!important;
  background:#f5ca5e!important;
  color:#15110a!important;
  -webkit-text-fill-color:#15110a!important;
  font-size:1.2rem!important;
  font-weight:900!important;
}

html body.item-page-body #relatedGrid .card-copy{
  font-size:.77rem!important;
  line-height:1.45!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
}

html body.item-page-body #relatedGrid .card-actions{
  display:flex!important;
  gap:6px!important;
  margin-top:auto!important;
}

html body.item-page-body #relatedGrid .card-actions .button{
  flex:1 1 0!important;
  min-width:0!important;
  min-height:33px!important;
  border-radius:9px!important;
  padding:7px 8px!important;
  font-size:.7rem!important;
  text-align:center!important;
}

@media(max-width:1000px){
  html body.item-page-body #relatedGrid .listing-card{
    flex-basis:29%!important;
  }
}

@media(max-width:700px){
  html body.homepage-reference
  #listingGrid .listing-card .card-body>span.price{
    min-height:38px!important;
    font-size:1.35rem!important;
    padding:5px 9px!important;
  }

  html body.item-page-body #productMount
  .product-layout .product-panel.product-text{
    grid-template-columns:98px minmax(0,1fr)!important;
    column-gap:11px!important;
  }

  html body.item-page-body #productMount
  .product-layout .product-panel.product-text>.product-price{
    width:98px!important;
    min-width:98px!important;
    max-width:98px!important;
    min-height:66px!important;
    height:66px!important;
    max-height:66px!important;
    font-size:2.05rem!important;
  }

  html body.item-page-body #relatedGrid .listing-card{
    flex-basis:64%!important;
  }
}

@media(prefers-reduced-motion:reduce){
  html body.item-page-body #relatedGrid{
    scroll-behavior:auto!important;
  }
}