.product-tabs{
  margin-top:34px;
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 14px 38px rgba(22,48,78,.07);
}
.product-tab-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  padding:0 0 16px;
  border-bottom:1px solid var(--line);
}
.product-tab-list button{
  position:relative;
  display:flex;
  align-items:center;
  min-height:48px;
  padding:11px 14px;
  border:1px solid #e4ebf3;
  border-radius:13px;
  background:#f7f9fc;
  color:#314860;
  text-align:left;
  font:inherit;
  font-size:14px;
  font-weight:700;
  line-height:1.25;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.product-tab-list button:hover:not([aria-selected=true]){
  background:#edf4fb;
  border-color:#c9d9e9;
  transform:translateY(-1px);
}
.product-tab-list button[aria-selected=true]{
  background:linear-gradient(135deg,#173b5c,#245984);
  border-color:#173b5c;
  color:#fff;
  box-shadow:0 6px 15px rgba(23,59,92,.2);
}
.product-tab-list button[aria-selected=true]::after{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 7px;
  margin-left:auto;
  border-radius:50%;
  background:#f1bd62;
}
.product-tab-list button:focus-visible{outline:3px solid #87b7e6;outline-offset:3px}
.product-tab-panel{
  max-width:none;
  margin-top:16px;
  padding:24px clamp(18px,3vw,30px);
  border:1px solid #edf1f5;
  border-radius:18px;
  background:#fbfcfe;
}
.product-tab-panel[hidden]{display:none}
.product-tab-panel h2{margin:0 0 18px;color:#182a40;font-size:clamp(22px,2.4vw,30px);letter-spacing:-.025em}
.product-tab-panel p{line-height:1.75}
.product-tab-panel img{max-width:100%;height:auto;border-radius:10px}
.product-tab-panel table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}
.product-tab-panel td,.product-tab-panel th{padding:8px;border:1px solid var(--line);text-align:left}
.legacy-module-content{margin:0 0 18px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.legacy-module-note{padding:10px 14px;background:#fff;border-radius:10px}
.legacy-video{position:relative;width:min(100%,760px);aspect-ratio:16/9;margin:18px 0;background:#10243a;border-radius:16px;overflow:hidden}
.legacy-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.related-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.related-product-link{display:block;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;font-weight:750;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.related-product-card{overflow:hidden;padding:12px;text-decoration:none}
.related-product-image-wrap{display:grid;place-items:center;box-sizing:border-box;height:150px;overflow:hidden;padding:10px;border-radius:11px;background:linear-gradient(145deg,#f5f8fc,#eaf0f7)}
.related-product-image-wrap img{display:block;width:auto;height:auto;max-width:100%;max-height:130px;object-fit:contain;mix-blend-mode:multiply}
.related-product-image-placeholder{color:var(--muted);font-size:13px;font-weight:600}
.related-product-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:13px 4px 3px;color:#234d73;font-size:14px;line-height:1.4}
.related-product-card-title>span{flex:0 0 auto;color:#bd8429;font-size:18px;line-height:1}
.related-product-link:hover{border-color:#aac4df;text-decoration:none;transform:translateY(-1px);box-shadow:0 7px 18px rgba(22,48,78,.07)}
.product-comments{display:grid;gap:14px}
.product-comment{padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:14px}
.product-comment-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px}
.product-comment-head time{color:var(--muted);font-size:13px}
.product-comment p{margin:0}
.product-comment p+p{margin-top:10px}
.comment-empty{color:var(--muted);padding:16px 0}
.legacy-field-list{padding-left:22px}
.product-tab-panel .button{margin-top:12px}
@media(max-width:760px){
  .product-tabs{padding:12px;border-radius:19px}
  .product-tab-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-bottom:12px}
  .product-tab-list button{min-height:46px;padding:10px 11px;border-radius:11px;font-size:13px}
  .product-tab-panel{margin-top:12px;padding:19px 16px;border-radius:14px}
  .related-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .related-product-image-wrap{height:125px}
  .related-product-image-wrap img{max-height:105px}
}
@media(max-width:420px){.product-tab-list,.related-products-grid{grid-template-columns:1fr}.related-product-image-wrap{height:150px}.related-product-image-wrap img{max-height:130px}}
@media(prefers-reduced-motion:reduce){.product-tab-list button,.related-product-link{transition:none}}

/* Additional services as a clear, single-column list. */
.product-tab-panel--additional-services{display:block;max-width:none;padding-top:20px;padding-bottom:10px;background:#fff}
.product-tab-panel--additional-services>p,.product-tab-panel--additional-services>br,.product-tab-panel--additional-services>hr{display:none}
.product-tab-panel--additional-services .legacy-module-content{box-sizing:border-box;display:block;height:auto;margin:0 0 12px!important;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 16px rgba(22,48,78,.045);overflow:visible}
.product-tab-panel--additional-services .legacy-module-content p:first-of-type{margin:0;line-height:1.7}
.product-tab-panel--additional-services .legacy-module-content p:first-of-type>span{display:block;margin:0 0 6px}
.product-tab-panel--additional-services .legacy-module-content p:first-of-type>span:before{content:"";display:inline-block;width:7px;height:7px;margin:0 10px 2px 0;border-radius:50%;background:#e5a331}
.product-tab-panel--additional-services .legacy-module-content p:first-of-type span strong{color:#182a40;font-size:17px;line-height:1.35}
.product-tab-panel--additional-services .legacy-module-content img{float:right;width:64px;height:64px;object-fit:contain;margin:0 0 10px 14px!important;padding:8px;background:#f1f6fb;border-radius:12px}
.product-tab-panel--additional-services .legacy-module-content p:nth-of-type(2){box-sizing:border-box;display:block;width:fit-content;max-width:100%;margin:10px 0 0 auto;padding:8px 12px;text-align:left;color:#214f75;font-weight:700;line-height:1.45;background:#eaf2f9;border:1px solid #dce8f3;border-radius:999px}
.product-tab-panel--additional-services .legacy-module-content p:nth-of-type(2) span,.product-tab-panel--additional-services .legacy-module-content p:nth-of-type(2) strong{display:inline;max-width:none;margin:0;padding:0;background:transparent;border:0;border-radius:0;color:inherit}
.product-tab-panel--additional-services .legacy-module-content p:nth-of-type(2) strong{color:#173b5c}
.product-tab-panel--additional-services .legacy-module-content hr{display:none}
@media(max-width:760px){.product-tab-panel--additional-services{padding:18px 14px 8px}.product-tab-panel--additional-services .legacy-module-content{padding:15px 16px}.product-tab-panel--additional-services .legacy-module-content img{width:52px;height:52px}}

.product-tabs-section{padding-top:0!important}
.product-tabs-section .product-tabs{margin-top:0}

/* Keep every product tab in one horizontal row. */
.product-tabs .product-tab-list{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:760px){.product-tabs .product-tab-list{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity}.product-tabs .product-tab-list button{flex:0 0 clamp(145px,38vw,205px);min-width:0;scroll-snap-align:start}}
