/* BR Commerce | Product information components
   A single source for three permanent tabs, structured specifications,
   merchant-authored description, aggregate ratings and honest empty states.
   Scoped to product pages; does not affect merchant back-office screens. */
[data-commerce-product-detail] .commerce-information-section{
  --info-ink:#1a334f;
  --info-muted:#5f758c;
  --info-soft:#f7f9fb;
  --info-line:#e3e9ef;
  --info-accent:var(--merchant-primary,#256b9b);
  margin-top:clamp(54px,5.5vw,78px);
  min-width:0;
  padding:0;
  border:0;
  scroll-margin-top:100px;
}
[data-commerce-product-detail] .commerce-information-heading{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:17px;
  min-width:0;
}
[data-commerce-product-detail] .commerce-information-heading h2{
  flex:none;
  color:var(--info-ink);
  font-size:clamp(18px,1.65vw,22px);
  font-weight:730;
  letter-spacing:-.032em;
  line-height:1.34;
  margin:0;
}
[data-commerce-product-detail] .commerce-information-heading-rule{
  flex:1;
  min-width:12px;
  height:1px;
  background:var(--info-line);
}
[data-commerce-product-detail] .commerce-information-tabs{
  min-width:0;
  width:100%;
}
[data-commerce-product-detail] .commerce-information-tablist{
  display:flex;
  align-items:stretch;
  gap:5px;
  width:100%;
  min-width:0;
  border-bottom:1px solid #dce4ed;
  overflow:visible;
}
[data-commerce-product-detail] .commerce-information-tab{
  appearance:none;
  -webkit-appearance:none;
  box-sizing:border-box;
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  min-width:0;
  min-height:53px;
  padding:13px 18px 15px;
  margin:0 0 -1px;
  border:0;
  border-bottom:2px solid transparent;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#526c86;
  font-size:14px;
  font-weight:560;
  line-height:1.37;
  letter-spacing:-.01em;
  text-align:center;
  white-space:normal;
  overflow-wrap:break-word;
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
[data-commerce-product-detail] .commerce-information-tab[aria-selected="true"]{
  font-weight:730;
  color:#142d49;
  background:transparent;
  border-bottom-color:var(--info-accent);
  box-shadow:none;
}
@media(hover:hover){
  [data-commerce-product-detail] .commerce-information-tab:hover{
    color:var(--info-accent);
    background:color-mix(in srgb,var(--info-accent) 4%,transparent);
  }
}
[data-commerce-product-detail] .commerce-information-tab:active{
  transform:translateY(1px);
}
[data-commerce-product-detail] .commerce-information-tab:focus:not(:focus-visible){
  outline:0!important;
  box-shadow:none!important;
}
[data-commerce-product-detail] .commerce-information-tab:focus-visible{
  outline:2px solid var(--info-accent)!important;
  outline-offset:-4px!important;
  border-radius:8px 8px 0 0;
  background:color-mix(in srgb,var(--info-accent) 6%,white);
}
[data-commerce-product-detail] .commerce-information-panel{
  min-width:0;
  width:100%;
  min-height:158px;
  padding:26px 0 9px;
  border:0;
  outline-offset:4px;
  animation:commerce-info-appear .22s cubic-bezier(.22,.8,.22,1) both;
}
[data-commerce-product-detail] .commerce-information-panel[style*="display: none"]{
  animation:none;
}
[data-commerce-product-detail] .commerce-information-panel:focus-visible{
  outline:2px solid var(--info-accent);
  border-radius:7px;
}
@keyframes commerce-info-appear{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}
[data-commerce-product-detail] .commerce-information-richtext{
  color:#405a74;
  max-width:73ch;
  font-size:14px;
  line-height:1.83;
  overflow-wrap:anywhere;
}
[data-commerce-product-detail] .commerce-information-richtext :where(p,li){
  line-height:1.83;
  color:#405a74;
}
[data-commerce-product-detail] .commerce-information-richtext p:not(:last-child){
  margin-bottom:.85em;
}
[data-commerce-product-detail] .commerce-information-richtext :where(h2,h3,h4){
  color:var(--info-ink);
  font-weight:700;
  letter-spacing:-.02em;
}
/* A reusable empty state: clear title, one useful explanatory sentence,
   neutral surface and no fake merchant data. */
[data-commerce-product-detail] .commerce-information-empty{
  box-sizing:border-box;
  max-width:100%;
  overflow-wrap:anywhere;
  display:flex;
  align-items:flex-start;
  gap:17px;
  width:100%;
  min-width:0;
  min-height:129px;
  padding:25px 26px;
  border:1px solid var(--info-line);
  border-radius:16px;
  background:linear-gradient(108deg,#f8fafb,#fcfdfd);
  box-shadow:0 3px 12px rgba(24,50,74,.018);
}
[data-commerce-product-detail] .commerce-information-empty-icon{
  display:grid;
  place-items:center;
  flex:none;
  width:44px;
  height:44px;
  border:1px solid #dfe8f0;
  border-radius:12px;
  background:#eef4f7;
  color:#467493;
}
[data-commerce-product-detail] .commerce-information-empty-icon svg{
  width:21px;
  height:21px;
  stroke-width:1.75;
}
[data-commerce-product-detail] .commerce-information-empty-content{
  min-width:0;
  padding-top:1px;
}
[data-commerce-product-detail] .commerce-information-empty-title{
  margin:0 0 7px;
  color:var(--info-ink);
  font-size:15px;
  font-weight:690;
  letter-spacing:-.016em;
  line-height:1.4;
}
[data-commerce-product-detail] .commerce-information-empty-message{
  max-width:55ch;
  margin:0;
  color:var(--info-muted);
  font-size:13px;
  line-height:1.65;
}
/* Real product specifications, with optional grouped navigation. */
[data-commerce-product-detail] .commerce-specifications-embedded{
  min-width:0;
  width:100%;
  padding:0;
  margin:0;
  background:transparent;
  border:0;
}
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-tabs]{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:7px;
  width:max-content;
  max-width:100%;
  min-height:48px;
  margin:0 0 15px;
  padding:3px;
  border-radius:12px;
  border:1px solid #e4ebf2;
  background:#f6f8fa;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
}
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-tabs]::-webkit-scrollbar{
  display:none;
}
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-tabs] button{
  flex:none;
  min-height:40px;
  padding:8px 15px;
  font-size:13px;
  line-height:1.3;
  border:1px solid transparent;
  border-radius:9px;
  color:#586f86;
  background:transparent;
  box-shadow:none;
  transition:background-color .18s ease,color .18s ease,box-shadow .18s ease;
}
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-tabs] button[aria-selected="true"]{
  color:#1b3855;
  background:#fff;
  border-color:#e1e9f1;
  box-shadow:0 2px 5px rgba(17,45,73,.045);
  font-weight:680;
}
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-tabs] button:focus-visible{
  outline:2px solid var(--info-accent);
  outline-offset:1px;
}
[data-commerce-product-detail] .commerce-specifications-overview,
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-panel]{
  width:100%;
  min-width:0;
}
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-panel] > div.overflow-hidden,
[data-commerce-product-detail] .commerce-specifications-overview > div.overflow-hidden{
  border-radius:14px;
  border-color:var(--info-line);
  background:#fff;
  box-shadow:0 2px 5px rgba(20,46,72,.015);
}
[data-commerce-product-detail] .commerce-specifications-embedded table{
  width:100%;
  table-layout:fixed;
  border-collapse:collapse;
}
[data-commerce-product-detail] .commerce-specifications-embedded table th{
  width:43%;
  color:#61768c;
  font-size:13px;
  font-weight:550;
  vertical-align:middle;
  padding:16px 21px;
}
[data-commerce-product-detail] .commerce-specifications-embedded table td{
  color:#1c354d;
  font-size:14px;
  font-weight:640;
  line-height:1.5;
  vertical-align:middle;
  padding:16px 21px;
}
[data-commerce-product-detail] .commerce-specifications-embedded table tr:not(:last-child){
  border-bottom:1px solid #edf1f5;
}
[data-commerce-product-detail] .commerce-specifications-embedded table tr:where(:nth-child(even)){
  background:#f9fbfc;
}
[data-commerce-product-detail] .commerce-specifications-embedded table th span{
  color:#526f8a;
  background:#edf4f8;
  border-radius:5px;
  font-size:10px;
  font-weight:600;
}
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-highlights]{
  margin-top:19px;
  padding:18px 22px;
  border:1px solid #e6edf4;
  border-radius:14px;
  background:#f7fafc;
}
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-highlights] h3{
  color:var(--info-ink);
  font-size:13px;
  font-weight:700;
  margin-bottom:13px;
}
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-highlights] p:first-child{
  color:#697f96;
  font-size:12px;
}
[data-commerce-product-detail] .commerce-specifications-embedded [data-spec-highlights] p:last-child{
  color:#1a354f;
  font-size:14px;
  font-weight:680;
}
/* Aggregate ratings only. The storefront currently has no individual
   customer-review records or star-by-star distribution to render. */
[data-commerce-product-detail] .commerce-ratings-summary{
  display:grid;
  grid-template-columns:minmax(125px,178px) minmax(0,1fr);
  align-items:center;
  gap:22px;
  width:100%;
  min-height:158px;
  padding:25px 28px;
  border:1px solid var(--info-line);
  border-radius:17px;
  background:#f8fafb;
  box-shadow:0 3px 10px rgba(23,49,74,.018);
}
[data-commerce-product-detail] .commerce-rating-metric{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
}
[data-commerce-product-detail] .commerce-rating-eyebrow{
  color:#617891;
  font-size:12px;
  font-weight:620;
  letter-spacing:.012em;
  line-height:1.4;
}
[data-commerce-product-detail] .commerce-ratings-score{
  display:flex;
  align-items:baseline;
  gap:7px;
  white-space:nowrap;
  color:var(--info-ink);
  font-variant-numeric:tabular-nums;
  line-height:1;
}
[data-commerce-product-detail] .commerce-ratings-score strong{
  color:#193551;
  font-size:clamp(39px,4.2vw,54px);
  font-weight:780;
  line-height:1;
  letter-spacing:-.057em;
}
[data-commerce-product-detail] .commerce-ratings-score span{
  color:#7289a0;
  font-size:16px;
  font-weight:560;
}
[data-commerce-product-detail] .commerce-ratings-context{
  min-width:0;
  border-left:1px solid #e0e8ef;
  padding-left:26px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}
[data-commerce-product-detail] .commerce-ratings-stars{
  display:flex;
  gap:5px;
  flex-wrap:nowrap;
  align-items:center;
  margin-bottom:3px;
}
[data-commerce-product-detail] .commerce-rating-star{
  display:block;
  position:relative;
  width:22px;
  height:22px;
  flex:none;
  overflow:hidden;
}
[data-commerce-product-detail] .commerce-rating-star svg{
  display:block;
  width:22px;
  height:22px;
}
[data-commerce-product-detail] .commerce-rating-star .commerce-star-base{
  color:#d9e0e7;
}
[data-commerce-product-detail] .commerce-rating-star .commerce-star-filled{
  display:block;
  position:absolute;
  inset:0 auto 0 0;
  overflow:hidden;
  color:#e5a035;
}
[data-commerce-product-detail] .commerce-ratings-count{
  font-size:13px;
  font-weight:650;
  line-height:1.45;
  color:#335678;
  font-variant-numeric:tabular-nums;
}
[data-commerce-product-detail] .commerce-ratings-footnote{
  margin:0;
  max-width:58ch;
  color:#6a7f94;
  font-size:12px;
  line-height:1.62;
}
@media(max-width:639px){
  [data-commerce-product-detail] .commerce-information-section{
    margin-top:52px;
    scroll-margin-top:80px;
  }
  [data-commerce-product-detail] .commerce-information-heading{
    gap:12px;
    margin-bottom:12px;
  }
  [data-commerce-product-detail] .commerce-information-heading h2{
    font-size:18px;
  }
  [data-commerce-product-detail] .commerce-information-tablist{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:3px;
    width:100%;
  }
  [data-commerce-product-detail] .commerce-information-tab{
    width:100%;
    min-height:58px;
    padding:11px 4px 12px;
    font-size:12px;
    font-weight:560;
    line-height:1.32;
    overflow-wrap:anywhere;
  }
  [data-commerce-product-detail] .commerce-information-panel{
    padding:20px 0 8px;
    min-height:137px;
  }
  [data-commerce-product-detail] .commerce-information-richtext{
    font-size:13px;
    line-height:1.78;
  }
  [data-commerce-product-detail] .commerce-information-empty{
    padding:19px 16px;
    gap:13px;
    min-height:120px;
    border-radius:14px;
  }
  [data-commerce-product-detail] .commerce-information-empty-icon{
    width:39px;
    height:39px;
    border-radius:10px;
  }
  [data-commerce-product-detail] .commerce-information-empty-icon svg{
    width:20px;
    height:20px;
  }
  [data-commerce-product-detail] .commerce-information-empty-title{
    font-size:14px;
    margin-bottom:5px;
  }
  [data-commerce-product-detail] .commerce-information-empty-message{
    font-size:12px;
    line-height:1.58;
  }
  [data-commerce-product-detail] .commerce-specifications-embedded [data-spec-tabs] button{
    min-height:42px;
    padding:9px 13px;
    font-size:12px;
  }
  [data-commerce-product-detail] .commerce-specifications-embedded table th{
    width:43%;
    padding:14px 11px;
    font-size:12px;
  }
  [data-commerce-product-detail] .commerce-specifications-embedded table td{
    padding:14px 11px;
    font-size:12px;
  }
  [data-commerce-product-detail] .commerce-specifications-embedded [data-spec-highlights]{
    padding:17px 16px;
    margin-top:15px;
  }
  [data-commerce-product-detail] .commerce-ratings-summary{
    grid-template-columns:minmax(95px,114px) minmax(0,1fr);
    gap:12px;
    padding:19px 15px;
    min-height:132px;
    border-radius:14px;
  }
  [data-commerce-product-detail] .commerce-rating-metric{
    gap:8px;
  }
  [data-commerce-product-detail] .commerce-rating-eyebrow{
    font-size:11px;
  }
  [data-commerce-product-detail] .commerce-ratings-score strong{
    font-size:38px;
  }
  [data-commerce-product-detail] .commerce-ratings-score span{
    font-size:13px;
  }
  [data-commerce-product-detail] .commerce-ratings-context{
    gap:7px;
    padding-left:14px;
  }
  [data-commerce-product-detail] .commerce-rating-star,
  [data-commerce-product-detail] .commerce-rating-star svg{
    width:18px;
    height:18px;
  }
  [data-commerce-product-detail] .commerce-ratings-stars{
    gap:3px;
  }
  [data-commerce-product-detail] .commerce-ratings-count{
    font-size:12px;
  }
  [data-commerce-product-detail] .commerce-ratings-footnote{
    font-size:11px;
    line-height:1.55;
  }
}
@media(max-width:359px){
  [data-commerce-product-detail] .commerce-information-tab{
    font-size:11.5px;
    padding-inline:2px;
  }
  [data-commerce-product-detail] .commerce-information-heading h2{
    font-size:17px;
  }
  [data-commerce-product-detail] .commerce-ratings-summary{
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }
  [data-commerce-product-detail] .commerce-ratings-context{
    border-left:0;
    border-top:1px solid #e0e8ef;
    padding:14px 0 0;
  }
}
@media(prefers-reduced-motion:reduce){
  [data-commerce-product-detail] .commerce-information-tab{
    transition:none!important;
    transform:none!important;
  }
  [data-commerce-product-detail] .commerce-information-panel{
    animation:none!important;
  }
  [data-commerce-product-detail] .commerce-specifications-embedded [data-spec-tabs] button{
    transition:none!important;
  }
}
