/* Selected storefront design: the approved dark-oak dresser. */
.dresser-store .pantry-rack{
  --rack-side:48px;
  --rack-cap:64px;
  --shelf-depth:51px;
  --shelf-edge:21px;
  padding-bottom:70px;
  margin-inline:6px;
  background:#e9e1d3 url('/assets/pantry/dresser-backing.webp') center top/630px auto repeat;
  box-shadow:inset 16px 0 28px #5b3b221a,inset -16px 0 28px #5b3b2226,6px 10px 18px #4b392324;
}
/* A front stile and recessed inner face read as solid cabinet sides. */
.dresser-store .pantry-rack::before,.dresser-store .pantry-rack::after{
  top:calc(var(--rack-cap) - 2px);
  border-radius:0;
  background:
    linear-gradient(90deg,#cbb89926,transparent 36%,#42362726 43%,#30271c47 47%,#b7a18238 53%,#51412b1c),
    url('/assets/pantry/pantry-aged-oak.webp') 20% top/500px auto repeat;
  box-shadow:inset 1px 0 #d4c3a65e,inset 3px 0 #30261b26,3px 0 5px #382d203b;
}
.dresser-store .pantry-rack::after{
  background-position:0 0,74% top;
  transform:scaleX(-1);
  filter:brightness(.96);
}
.dresser-store .rack-crossbar{
  left:-6px;right:-6px;
  background:url('/assets/pantry/dresser-dark-oak.webp') center top/100% 1000% no-repeat;
  box-shadow:0 9px 13px -7px #382a1d70;
  border-radius:2px 2px 0 0;
}
.dresser-store .rack-crossbar::before,.dresser-store .rack-crossbar::after{display:none}
/* Use only the continuous front moulding. The photo's mitred side returns
   would create a second pair of corners over the actual cabinet sides. */
.dresser-store .rack-crossbar:not(.rack-crossbar-bottom){
  left:-3px;right:-3px;
  background-size:112% 1000%;
  border-radius:1px 1px 0 0;
  box-shadow:inset 0 1px #c4af8b35,0 4px 5px -3px #382a1d70;
}
.dresser-store .rack-crossbar-bottom{
  top:auto;bottom:0;height:44px;
  background-position:center 96.5%;
  background-size:110% 2500%;
  border-top:3px solid #8f7655;
  box-shadow:inset 0 2px #bc9c7040,inset 0 8px 8px -7px #30251a,0 5px 6px #382c1c26;
  border-radius:0 0 2px 2px;
}
.dresser-store .shelf-backdrop{
  background:url('/assets/pantry/dresser-dark-oak.webp') center bottom/112% 520% no-repeat;
  box-shadow:0 12px 14px -9px #42301f80;
}
/* Housed shelf joints replace the exposed brackets of the open rack. */
.dresser-store .shelf-backdrop::before,.dresser-store .shelf-backdrop::after{display:none}
.dresser-store .pantry-rack .product-ticket{
  --tag-drop:16px;
  transform:none;
  border:1px solid #ddcfb5;
  border-radius:2px;
  box-shadow:0 3px 7px #51402b1f;
}
/* Small antique-brass card clips keep the detail quiet and the text readable. */
.dresser-store .pantry-rack .product-ticket::before{
  width:28px;height:10px;left:calc(50% - 14px);top:-6px;
  background:linear-gradient(#c4ae7b,#e0cca1 35%,#aa8b50 39%,#b99a60 76%,#8f703c);
  border:1px solid #9c814f;
  border-radius:2px 2px 1px 1px;
  box-shadow:0 2px 2px #5945232b;
}
.dresser-store .pantry-rack .product-ticket::after{
  left:calc(50% - 9px);top:-2px;width:18px;height:1px;border-radius:0;
  background:#665333;box-shadow:0 1px #ead7b0;
}
@media(max-width:1150px) and (min-width:761px){
  .dresser-store .pantry-rack{--rack-side:36px;--rack-cap:56px}
}
@media(max-width:760px){
  .dresser-store .pantry-rack{
    --rack-side:22px;--rack-cap:36px;--shelf-depth:33px;--shelf-edge:15px;
    padding-bottom:48px;margin-inline:4px;background-size:420px auto;
  }
  .dresser-store .rack-crossbar{left:-4px;right:-4px}
  .dresser-store .rack-crossbar:not(.rack-crossbar-bottom){left:-2px;right:-2px}
  .dresser-store .rack-crossbar-bottom{height:27px}
  .dresser-store .pantry-rack .shelf-product{padding-inline:6px}
  .dresser-store .pantry-rack .product-ticket{padding-inline:8px}
}
@media(max-width:365px){.dresser-store .pantry-rack{--rack-side:18px}}
