﻿/* Photo */
.product-detail img{max-width:100%!important; height:auto!important; display:block; margin: 15px auto; border-radius:10px; }
.product-detail .nav-fulldetail{z-index:5; position: absolute;bottom: 0px; font-weight:500; color:#fff; background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 21.88%, rgba(255, 255, 255, 0.95) 45.31%, rgb(255, 255, 255) 67.71%, rgb(255, 255, 255) 100%);width: 100%;display: flex;align-items: flex-end; padding-top:50px; align-items:center; justify-content:center; gap:10px;}
.product-detail .nav-fulldetail span{background:var(--color-blue); font-size:13px; font-weight:500; line-height:32px; padding: 0 25px; border-radius:5px; transition:.3s;}

/* Table Info */
.product-detail h4{font-size:16px;}
.product-detail h3{font-size:18px;}
.product-detail h2{font-size:20px;}
.product-detail h1{font-size:23px;}

/* Responsive Youtube */
.product-detail .youtube-wrapper { position: relative; padding-bottom: 56.25%;height: 0; overflow: hidden;border-radius: 7px; }
.product-detail .youtube-wrapper iframe { position: absolute!important;top: 0!important; left: 0!important; width: 100%;height: 100%;}

/* List link */
.product-detail .listLinkMore{width:100%; margin:0; padding:8px 25px; list-style:none; background: #f3f9ff; float:left; border-radius:0px 7px 7px 0px; margin-top:20px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), inset 3px 0 var(--color2) }
.product-detail .listLinkMore li{width:100%; float:left; position:relative; border-top:1px dashed rgba(0,0,0,.1)}
.product-detail .listLinkMore li:first-child{border:none;}
.product-detail .listLinkMore li.title{padding-bottom: 7px; font-weight:bold; padding-top:7px;}
.product-detail .listLinkMore li a{text-decoration:none; color:var(--color-blue); padding: 7px 0 6px 25px; display:block; transition:.3s; position:relative; }
.product-detail .listLinkMore li a:before{font-family: "Font Awesome 5";font-weight: 900; content: "\f061"; font-size:14px; position:absolute; left:0; top:10px;} 
.product-detail .listLinkMore li a:hover{text-decoration:underline!important}
.product-detail .listLinkMore li a h4{margin:0; font-weight:500!important; line-height:26px!important; font-size:14px!important;}

/* Table Info */
.tbl-info{max-width:100%; border-collapse: separate; border-spacing: 2px; margin-top:15px; margin-bottom:15px}
.tbl-info thead th{background:var(--color-border); padding: 6px 15px; text-align:center; }
.tbl-info thead th:first-child{border-radius: 7px 0 0 7px; text-align:left;}
.tbl-info thead th:last-child{border-radius: 0 7px 7px 0; }
.tbl-info tbody td{background:var(--color-bg); padding: 6px 15px; text-align:center; }
.tbl-info tbody td:first-child{border-radius: 7px 0 0 7px; text-align:left;}
.tbl-info tbody td:last-child{border-radius: 0 7px 7px 0; }
.tbl-info.left-2 thead th:nth-child(2),
.tbl-info.left-2 tbody td:nth-child(2),
.tbl-info.left-3 thead th:nth-child(3),
.tbl-info.left-3 tbody td:nth-child(3),
.tbl-info.left-4 thead th:nth-child(4),
.tbl-info.left-4 tbody td:nth-child(4),
.tbl-info.left-5 thead th:nth-child(5),
.tbl-info.left-5 tbody td:nth-child(5){text-align:left;}

.tbl-info.right-2 thead th:nth-child(2),
.tbl-info.right-2 tbody td:nth-child(2),
.tbl-info.right-3 thead th:nth-child(3),
.tbl-info.right-3 tbody td:nth-child(3),
.tbl-info.right-4 thead th:nth-child(4),
.tbl-info.right-4 tbody td:nth-child(4),
.tbl-info.right-5 thead th:nth-child(5),
.tbl-info.right-5 tbody td:nth-child(5){text-align:right;}

@media(max-width:767px){
    .tbl-info{width:100%;}
}
@media (min-width:768px){
    .tbl-info{min-width:500px;}
}

.tbl-ingredients{max-width:100%; border-collapse: separate; border-spacing: 2px; margin-top:15px; margin-bottom:15px;}
.tbl-ingredients thead th{background:var(--color-border); padding: 6px 15px; }
.tbl-ingredients thead th:first-child{border-radius: 7px 0 0 7px;}
.tbl-ingredients thead th:last-child{border-radius: 0 7px 7px 0; text-align:right; white-space:nowrap; min-width:100px;}
.tbl-ingredients tbody td{background:var(--color-bg); padding: 6px 15px; }
.tbl-ingredients tbody td:first-child{border-radius: 7px 0 0 7px;}
.tbl-ingredients tbody td:last-child{border-radius: 0 7px 7px 0; text-align:right;}

@media(max-width:767px){
    .tbl-ingredients{width:100%;}
}
@media (min-width:768px){
    .tbl-ingredients{min-width:500px;}
}

/* Modal detail */
#modal-productDetail .modal-content .modal-body{padding-top:0;}
#modal-productDetail .modal-content .modal-body:after{content:''; width:100%; height:20px; background:#fff; display:flex; position:sticky; left:0; bottom:0;}
#modal-productDetail .product-detail{margin-top:10px;}
#modal-productDetail .nav-fulldetail{display:none;}

/*  */
.horizontal-bookmark-menu { display: flex; overflow-x: auto; white-space: nowrap; gap:7px; position: sticky; top: 0; background: #fff; padding: 15px 0 15px 0; margin: 0 0 5px 0; border-bottom: 1px solid var(--color-border);z-index: 1050; scrollbar-width: none; -ms-overflow-style: none;}
.horizontal-bookmark-menu::-webkit-scrollbar { display: none;}
.horizontal-bookmark-menu a.menu-item { display: inline-block; padding: 7px 20px; margin: 0; text-decoration: none; background: var(--color-bg); border-radius: 5px; font-size:13px; font-weight:500; flex-shrink: 0; transition: all 0.2s;}
.horizontal-bookmark-menu a.menu-item.active { background: var(--color-blue); color: #fff; }
.product-detail img{width:auto!important;max-width:100%!important;object-fit:contain}.product-detail figure,.product-detail figure.image{max-width:100%!important;margin-left:0;margin-right:0}
