.product-explorer{
  margin-top:64px;
  padding:34px;
  background:#fffdf8;
  border:1px solid var(--larapack-line);
  box-shadow:8px 8px 0 #cfded8;
  scroll-margin-top:24px;
}

.product-explorer-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);
  gap:32px;
  align-items:end;
  margin-bottom:30px;
}

.product-explorer-head h3{
  margin:13px 0 0;
  font-size:clamp(31px,3vw,46px);
}

.product-explorer-head>p{
  max-width:500px;
  font-size:15px;
}

.product-explorer-shell{
  display:grid;
  grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);
  gap:30px;
  align-items:stretch;
}

.product-explorer-controls{
  display:flex;
  flex-direction:column;
  gap:22px;
  min-width:0;
}

.product-control-label{
  display:block;
  margin-bottom:9px;
  color:#56666d;
  font-size:10px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.product-family-tabs,
.product-size-tabs,
.product-finish-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.product-size-tabs[hidden]{display:none!important}

.product-family-tabs button,
.product-size-tabs button,
.product-finish-tabs button{
  min-height:43px;
  padding:9px 13px;
  border:1px solid var(--larapack-line);
  border-radius:999px;
  background:var(--larapack-paper);
  color:var(--larapack-ink);
  font-size:12px;
  font-weight:650;
  line-height:1.2;
  text-align:start;
  transition:background .16s,color .16s,border-color .16s,transform .16s;
}

.product-family-tabs button:hover,
.product-size-tabs button:hover,
.product-finish-tabs button:hover{
  border-color:var(--larapack-teal);
  transform:translateY(-1px);
}

.product-family-tabs button[aria-selected="true"],
.product-size-tabs button[aria-selected="true"],
.product-finish-tabs button[aria-selected="true"]{
  background:var(--larapack-teal);
  border-color:var(--larapack-teal);
  color:#fff;
}

.product-family-tabs button{
  flex:1 1 120px;
  text-align:center;
}

.product-size-tabs button{
  min-width:78px;
  text-align:center;
}

.product-finish-tabs button{
  flex:1 1 145px;
}

.product-summary{
  margin-top:auto;
  padding:18px;
  display:grid;
  gap:5px;
  border-left:4px solid var(--larapack-green);
  background:var(--larapack-mist);
}

.product-summary strong{font-size:18px}

.product-summary span{
  color:#56666d;
  font-size:12px;
}

.product-visual{
  position:relative;
  width:100%;
  align-self:start;
  min-width:0;
  overflow:hidden;
  background:var(--larapack-mist);
}

.product-visual img{
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
  transition:opacity .16s ease;
}

.product-visual.is-changing img{opacity:.35}

.product-caption{
  position:static;
  padding:12px 15px;
  display:grid;
  gap:2px;
  background:#173a4be8;
  color:#fff;
  font-size:12px;
  line-height:1.4;
}

.product-caption small{
  color:#dce9e8;
  font-size:10px;
}

.product-caption-mobile-title,
.product-caption-detail{display:none}

html[dir="rtl"] .product-summary{
  border-right:4px solid var(--larapack-green);
  border-left:0;
}

@media(max-width:900px){
  .product-explorer-head,
  .product-explorer-shell{grid-template-columns:1fr}
  .product-explorer-head{gap:14px}
  .product-summary{margin-top:0}
}

@media(max-width:560px){
  .product-explorer{
    margin-top:42px;
    padding:18px 14px 14px;
    box-shadow:5px 5px 0 #cfded8;
  }
  .product-explorer-head{
    gap:8px;
    margin-bottom:16px;
  }
  .product-explorer-head h3{
    margin-top:7px;
    font-size:29px;
  }
  .product-explorer-head>p{
    font-size:13px;
    line-height:1.45;
  }
  .product-explorer-shell{
    display:flex;
    flex-direction:column;
    gap:11px;
  }
  .product-explorer-controls{display:contents}
  .product-explorer-controls>div:nth-child(1){order:1}
  .product-explorer-controls>div:nth-child(2){order:2}
  .product-explorer-controls>div:nth-child(3){order:3}
  .product-visual{order:4}
  .product-summary{order:5}
  .product-control-label{margin-bottom:5px;font-size:9px}
  .product-family-tabs,
  .product-size-tabs,
  .product-finish-tabs{
    flex-wrap:nowrap;
    gap:6px;
    padding:1px;
  }
  .product-size-tabs,
  .product-finish-tabs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    overflow:visible;
  }
  .product-size-tabs[data-family-panel="bowls"]{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:4px;
  }
  .product-family-tabs button,
  .product-size-tabs button,
  .product-finish-tabs button{
    flex:0 0 auto;
    min-width:0;
    min-height:35px;
    width:100%;
    padding:7px 10px;
    font-size:11px;
    line-height:1.2;
    text-align:center;
    white-space:normal;
  }
  .product-family-tabs button{flex:1 1 0}
  .product-size-tabs button{min-height:42px}
  .product-size-tabs[data-family-panel="bowls"] button{
    min-height:50px;
    padding:6px 2px;
    font-size:10px;
  }
  .product-finish-tabs button{min-height:50px}
  .product-summary{display:none}
  .product-visual img{aspect-ratio:4/3}
  .product-caption{
    padding:10px 12px;
    gap:2px;
  }
  .product-caption [data-caption],
  .product-caption small{display:none}
  .product-caption-mobile-title,
  .product-caption-detail{display:block}
  .product-caption-mobile-title{
    font-size:12px;
    line-height:1.35;
  }
  .product-caption-detail{
    color:#dce9e8;
    font-size:10px;
    line-height:1.35;
  }
}

@media(prefers-reduced-motion:reduce){
  .product-family-tabs button,
  .product-size-tabs button,
  .product-finish-tabs button,
  .product-visual img{transition:none}
}
