.shop-product .size-selection{border:0;border-bottom:2px solid #ddd;margin-left:0;margin-top:0;padding-top:0;padding-right:0;gap:0;overflow-y:hidden}
.shop-product .size-option{position:relative;flex:0 0 120px}
.shop-product .size-option>span{display:block}
.shop-product .size-option input,.shop-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shop-product .size-option:has(input:checked){background:#f0f8ff;border-color:#007185}
.shop-product .size-option:has(input:focus-visible){outline:2px solid #007185;outline-offset:2px}
.shop-product .size-option:has(input:disabled){opacity:.5;cursor:default}
.shop-product .add-to-cart-button:disabled{background:#ccc;cursor:default}
.shop-product .custom-slider-thumbnail button{padding:0;background:transparent;border:0;cursor:pointer}
.shop-product .custom-slider-thumbnail button[aria-pressed=true] img{border-color:#777;box-sizing:border-box}
.shop-product .swiper-button-next,.shop-product .swiper-button-prev,.shop-product .custom-list-icon{border:0;padding:0}
.shop-product .product-size-image img,.shop-product .product-info-sections img{max-width:100%;height:auto}
.shop-product .product-info-sections section{overflow:visible}
.shop-photo-dialog{width:min(960px,calc(100% - 32px));max-height:90vh;padding:0;border:1px solid #ddd;border-radius:8px;color:#333}
.shop-photo-dialog::backdrop{background:rgba(0,0,0,.5)}
.shop-photo-dialog .popup-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px}
.shop-photo-dialog .popup-grid button{padding:0;border:1px solid #eee;background:#fff;cursor:pointer;font-size:12px}
.shop-photo-dialog img{width:100%;height:auto}
.shop-photo-dialog [data-root-close-gallery]{padding:8px;border:1px solid #bbb;background:#fff;border-radius:4px;cursor:pointer}
@media(max-width:600px){.shop-photo-dialog .popup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.quantity-apply{font-size:12px;padding:4px 8px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer}

/* CMS HTML is sanitized without classes; apply the original rules by safe structural context. */
.shop-product .size-note table{
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}
.shop-product .size-note table th, .shop-product .size-note table td{
    text-align: center;
    padding: 16px;
    border: 1px solid #ddd;
    font-size: 12px;
    line-height:1.6em;
}
.shop-product .size-note table th{
    background-color: #f8f8f8;
    font-weight: bold;
    color: #555;
	font-size:12px;
	line-height:1.2em;
}
.shop-product .size-note table td span{
	font-size:10px;
  text-align: center;

}
.shop-product .size-note table th span{
	font-size:10px;
	display:block;
}
.shop-product .size-note table td:first-child{
  width:60px;
padding-right:40px;
    position: relative;
}
.shop-product .size-note table tbody tr:nth-child(odd){
    background-color: #f9f9f9;
}
.shop-product .size-note table tbody tr:nth-child(even){
    background-color: #fff;
}
.size-note, .shop-product .product-shipping-processing ul, .shop-product .product-shipping-processing ul, .shop-product .product-shipping-processing ul{
    font-size: 13px;
    line-height: 1.6em;
    color: #555;
    margin-top: 8px;
}
.shop-product .product-shipping-processing ul, .shop-product .product-shipping-processing ul, .shop-product .product-shipping-processing ul{
    list-style-type: disc;
    margin-left: 20px;
}
.shop-product .product-shipping-processing ul li, .shop-product .product-shipping-processing ul li, .shop-product .product-shipping-processing ul li{
    margin-bottom: 8px;
}
.shop-product .size-note td span{font-size:10px;position:absolute;bottom:15px;right:30px}.shop-product .size-note th span{display:block;font-size:10px;text-align:center}.shop-product .product-description p{font-size:14px;line-height:1.6}
.shop-product .custom-slider-thumbnail button{font-size:0;line-height:0}
