/* Util Classes */

.mb-2 {
    margin-bottom: 10px!important;
}

.mr-2 {
    margin-right: 10px!important;
}

.d-inline-block {
    display: inline-block!important;
}

.w-100 {
    width: 100%!important;
}


/* Cat Filter */

.s-cat-fillter .form-control {
    width: auto;
}

.s-cat-fillter [name="sort"] {
    margin-right: 20px;
}

table.table tr.bg {
    background: #FBF9F9;
}

.money {
    color: #CC3300;
    font-weight: bold;
    padding: 5px;
}

.discounts_money {
    color: #000000;
    font-weight: normal;
    text-decoration: line-through;
    padding: 5px;
}

.rate-star {
    padding: 5px;
    float: left;
    height: 14px;
    line-height: 14px;
}

.rate-star .width-star-title {
    float: left;
    margin-right: 5px;
}

.rate-star .width-star-num {
    float: left;
    font-weight: bold;
    margin-left: 5px;
}

.rate-star .width-star-bg {
    width: 180px;
    float: left;
    cursor: pointer;
    border-radius: 3px;
    background: #dadada;
}

.rate-star .width-star-value {
    float: left;
    border-radius: 3px;
    background: url("../images/shops/star-png.png") repeat-x;
}

.rateavg_percent {
    font-size: 18px;
    font-weight: bold;
}

#search_form_shops .form-group {
    margin-bottom: 4px;
}

#products .col-sm-6 .thumbnail,
#category .col-sm-6 .thumbnail {
    padding-top: 10px;
}

#products .col-sm-6 .label-default {
    margin-bottom: 10px;
    display: inline-block;
}

.price {
    height: 40px;
    margin-top: 5px;
}

#category .col-sm-6 .price .money {
    display: block;
    vertical-align: middle;
}

.msgshow {
    background: #F5F5F5;
    padding: 20px;
    border: 4px solid #C7C7C7;
    position: fixed;
    bottom: 0;
    right: 0;
    display: none;
    z-index: 10020 !important;
}


/*tooltip*/

.tooltip-inner {
    max-width: 250px;
    padding: 10px;
    color: #fff;
    text-align: left !important;
    background-color: #0C2138;
    border-radius: 4px
}

.tooltip-inner img.pull-left {
    margin: 3px 5px 1px 0;
}

.tooltip-inner img.pull-right {
    margin: 3px 1px 0 5px;
}

.pages {
    display: inline-block;
    float: right;
    margin-bottom: 5px;
    margin-top: 5px;
}

#formsearch {
    margin-top: 10px;
}

#formsearch .row {
    margin-bottom: 10px;
}


/* BLOCK OTHER PRODUCT */

.others_product ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

.others_product ul li {
    list-style: none;
    text-align: center;
    margin-bottom: 10px;
}

.others_product ul li img {
    margin: 5px;
}

.others_product ul li.bg {
    background: #FFFFF0;
}

.others_product ul li span.time {
    color: #c0c0c0;
    font-size: 11px
}

.page-header {
    padding: 10px 0px;
    margin: 0 0 10px;
}


/* PRINT */

#print {
    padding: 10px;
}

#print table.rows2 {
    width: 100%;
    border: none;
    margin-bottom: 10px;
}

#print table.rows {
    width: 100%;
    border: 1px solid #F5F5F5;
}

#print table.rows td {
    padding: 5px;
    border: 1px solid #F5F5F5;
}

#print table.rows td img {
    width: 60px;
    padding: 2px;
    border: 1px solid #ebebeb;
    vertical-align: middle;
}

#print table.rows tr.bg {
    background: #f3f3f3;
}

#print table.rows tr.bgtop {
    background: #CCCCCC;
    line-height: 22px;
}


/* CART */

div.step_bar a.step {
    display: block;
    float: left;
    height: 32px;
    line-height: 32px;
    font-size: 12px;
    font-weight: 700;
    background: url('../images/shops/star.png') no-repeat left center;
    padding-left: 10px;
    margin-right: 10px;
}

div.step_bar a.step span {
    display: block;
    width: 32px;
    height: 32px;
    float: left;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: #039;
}

div.step_bar a.step_current {
    color: red;
}

.block {
    margin-bottom: 10px
}

.block .payment_info {
    margin: 10px 0 10px 0;
}

.block .payment_info .payment_items {
    text-align: center;
    margin-right: 2px;
    display: inline-block
}

.product-detail ul.product-info {
    padding: 0;
}

.product-detail ul.product-info li {
    margin-bottom: 5px;
}

.prodetail-popup {
    margin: 0!important;
}

.prodetail-popup>.panel {
    border: 0!important;
    box-shadow: none!important;
}

.product-detail .product-one-image {
    text-align: center;
}

.product-detail .product-one-image img {
    max-width: 100%;
    height: auto;
}

.product-detail .product-image-gallery {
    margin-bottom: 10px;
}

.product-detail .product-image-gallery .gallery-view {
    border-bottom: 1px #ddd solid;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.product-detail .product-image-gallery .gallery-view .owl-stage,
.product-detail .product-image-gallery .gallery-nav .owl-stage {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.product-detail .product-image-gallery .gallery-view .item-inner img {
    margin: 0;
}

.product-detail .product-image-gallery .gallery-view .owl-nav .owl-prev,
.product-detail .product-image-gallery .gallery-view .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px #ddd solid;
    opacity: 0.6;
    color: #ddd;
    transform: translate3d(0px, -50%, 0px);
    z-index: 10;
}

.product-detail .product-image-gallery .gallery-view .owl-nav .owl-prev:focus,
.product-detail .product-image-gallery .gallery-view .owl-nav .owl-next:focus {
    outline: 0;
}

.product-detail .product-image-gallery .gallery-view .owl-nav .owl-prev {
    left: 10px;
}

.product-detail .product-image-gallery .gallery-view .owl-nav .owl-next {
    right: 10px;
}

.product-detail .product-image-gallery .gallery-view .owl-nav .owl-prev span,
.product-detail .product-image-gallery .gallery-view .owl-nav .owl-next span {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.product-detail .product-image-gallery .gallery-view .owl-nav .owl-prev span .fa,
.product-detail .product-image-gallery .gallery-view .owl-nav .owl-next span .fa {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0px);
}

.product-detail .product-image-gallery .gallery-nav .item {
    border: 1px #ddd solid;
    border-radius: 2px;
}

.product-detail .product-image-gallery .gallery-nav .item.active {
    border-color: #064481;
}

.product-detail .product-image-gallery .gallery-nav .item-inner {
    padding: 3px;
}

.product-detail .socialicon {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
}


/* TAB */

.r-tabs {
    margin: 10px 0 10px 0;
    position: relative;
}

.r-tabs .r-tabs-nav {
    border-bottom: 1px solid #ccc;
}

.r-tabs .r-tabs-nav .r-tabs-tab {
    position: relative;
    top: 1px;
}

.r-tabs .r-tabs-nav .r-tabs-anchor {
    background: #00aadd;
    margin-bottom: 3px;
    padding: 10px 12px;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.r-tabs .r-tabs-nav .r-tabs-state-active {
    background-color: #fff;
    margin-bottom: -1px;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

.r-tabs .r-tabs-nav .r-tabs-state-disabled {
    opacity: 0.5;
}

.r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
    color: #00aadd;
    background-color: #fff;
}

.r-tabs .r-tabs-panel {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-bottom: 3px;
}

.r-tabs .r-tabs-accordion-title .r-tabs-anchor {
    display: block;
    padding: 10px;
    background-color: #00aadd;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 3px;
}

.r-tabs .r-tabs-accordion-title.r-tabs-state-disabled {
    opacity: 0.5;
}

.r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
    background-color: #fff;
    color: #00aadd;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-bottom: 0;
}


/* Social button */

em.fb,
span.fb {
    color: #3b5998;
}

em.tw,
span.tw {
    color: #00aced;
}

em.google,
span.google {
    color: #dd4b39;
}

.google-plus-one {
    overflow: hidden;
    position: relative;
}

.google-plus-one i {
    position: absolute;
    left: -4px;
    bottom: -5px;
}

.google-plus-one span {
    font-size: 16px;
    font-weight: 900;
    line-height: 10px;
    margin-left: 15px;
}

.btn-sm.google-plus-one span {
    font-size: 14px;
}

.btn-sm.google-plus-one i {
    bottom: -3px;
}

.btn-lg.google-plus-one span {
    font-size: 20px;
    margin-left: 18px;
}

.btn-lg.google-plus-one i {
    bottom: -5px;
}

.btn-xs.google-plus-one span {
    font-size: 12px;
}

.btn-xs.google-plus-one i {
    bottom: -7px;
}

#products .items {
    float: left;
    display: block;
}

#products .items .items_content {
    text-align: center;
    border: 1px solid #e5e5e5;
    padding: 10px;
    margin: 1px;
}

#products .items .items_content img {
    border: #EFEFEF 1px solid;
    padding: 2px;
}

#products .items .items_content .content_top {
    height: 135px;
}

#products .items .items_content .show-product-code {
    height: 156px;
}

#products .items .items_content .content_price {
    height: 15px;
}

.time_up {
    color: #c0c0c0;
    font-weight: normal;
}

.btnum,
.shops-center {
    text-align: center;
}


/* OTHER */

.payment {
    color: #ff0000;
    font-weight: bold;
    display: block;
    margin-top: 10px;
    border: 1px solid #ff0000;
    padding: 3px;
    text-transform: uppercase;
}

.pages a {
    color: #000000;
    border: 1px solid #ebebeb;
    padding: 2px 6px;
    display: inline-block;
}

.pages a:hover {
    background: #f2f2f2;
}

.pages strong {
    color: #ffffff;
    border: 1px solid #ebebeb;
    padding: 2px 6px;
    display: inline-block;
    background: #0080c0;
    font-weight: normal;
}


/* GRID */

.shops-viewgrid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.shops-viewgrid>div {
    float: none;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 15px;
}

.shops-viewgrid>div>.thumbnail {
    margin-bottom: 0;
    height: 100%;
    width: 100%;
    min-width: 0;
    background: #fff;
}

@media (max-width: 767.98px) {
    .shops-viewgrid>div {
        width: 100%;
    }
}


/* Print */

table.rows2 {
    width: 100%;
    border: 1px solid #b9dcff;
    padding: 5px;
}

table.rows {
    width: 100%;
}

table.rows td {
    padding: 5px
}

table.rows td img.imgpro {
    width: 40px;
    padding: 2px;
    border: 1px solid #ebebeb;
    vertical-align: middle;
}

table.rows tr.bgtop {
    background: #CCE6FF;
    line-height: 22px;
}

#total {
    color: #ff0000;
    font-weight: bold;
    font-size: 15px;
}

.order_code {
    padding: 5px;
    border: 1px solid #dfdfdf;
    text-align: center;
}


/* BLOCK PRODUCT CENTER */

.product_center_wrap {
    position: relative;
}

.product_center_wrap .controls {
    list-style: none;
    padding: 0;
    margin: 0;
    outline: 0;
    opacity: 0.1;
}

.product_center_wrap:hover .controls {
    opacity: 0.8;
}

.product_center_wrap .controls li {
    margin: 0;
    padding: 0;
    position: absolute;
    margin-top: -15px;
    top: 50%;
}

.product_center_wrap .controls li.prev-button {
    left: 10px;
}

.product_center_wrap .controls li.next-button {
    right: 10px;
}

.product_center_wrap .controls li span {
    display: block;
    width: 30px;
    height: 30px;
    background-color: #ddd;
    border-radius: 15px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    outline: 0;
}

.product_center_wrap .items {
    text-align: center;
}

.product_center_wrap .img {
    display: block;
    margin-bottom: 10px;
}

.product_center_wrap .items .thumbnail {
    display: inline-block;
    margin: 0;
}


/* SEARCH */

.search {
    border: 1px solid #ebebeb;
    padding: 5px;
    margin-bottom: 5px;
}

.search .input {
    width: 200px
}

.search .rows {
    line-height: 25px
}

.search .rows label {
    width: 180px;
    display: inline-block;
}

.result-frame .result-content {
    margin-bottom: 5px;
    border-bottom: 1px dotted #c0c0c0;
    padding-bottom: 5px;
}

.result-frame .result-content img {
    margin-right: 5px;
    border: 1px solid #e6e6e6;
    padding: 2px;
}

.result-frame .linktitle {
    color: #0080c0;
    line-height: 22px;
    font-weight: bold;
}

.result-frame .keyword {
    background: #ffff00;
}

.search .date {
    background: url(../images/shops/date.png) no-repeat center;
    border: 0px;
    margin: auto;
    padding: 4px 10px;
}


/* TOOLTIP */

#products .tip {
    color: #fff;
    background: #1d1d1d;
    display: none;
    padding: 10px;
    position: absolute;
    z-index: 3000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 250px;
    text-align: left;
}

#products .tip img {
    margin-right: 10px;
    float: left;
}

.title_shop {
    color: #000000;
    font-weight: bold;
    text-align: left;
    display: block;
}

.no-wrap {
    white-space: nowrap!important;
}


/* POST */

.post-product h2 {
    border-bottom: 1px #D8D8D8 solid;
}

.txt-full {
    width: 99%;
}

.title_group {
    margin-bottom: 10px;
    border-bottom: 1px #e8e8e8 solid;
    line-height: 20px;
}

.info-require {
    color: red;
    font-size: 11px;
    font-style: italic;
}

.span-require {
    color: red;
    font-style: italic;
}

.post-error {
    border: 1px solid #FFAAD5;
    margin: 0 auto 10px;
    background: #FFD2E9;
    padding: 10px;
}

.post-error span {
    color: #F00;
    font-weight: bold;
}

.post-product .show-date {
    vertical-align: middle;
}

.ddsmoothmenu-v ul,
.ddsmoothmenu-v li,
ddsmoothmenu-h ul,
.ddsmoothmenu-h li {
    list-style: none;
    margin: 0;
}

.rows3 td {
    padding: 1px;
}

.error {
    color: red;
}

img.calendar {
    vertical-align: middle;
}

.bsss {
    background: none repeat scroll 0 0 #FFFFFF;
    border: medium none;
    color: #5C5C5C;
    cursor: pointer;
    text-decoration: underline;
}

.compare {
    margin-bottom: 10px;
}

.tabs {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 1em 0 1em;
    font-weight: 300;
    z-index: 0
}


/* Nav */

.tabs .nav {
    text-align: center;
}

.tabs .nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-block;
}

.tabs .nav li {
    border: 1px solid #becbd2;
    border-bottom: none;
    margin: 0 0.25em;
    display: block;
    float: left;
    position: relative;
    padding-top: 2px;
}

.tabs .nav li.active {
    border: 1px solid #47a3da;
    /*box-shadow: inset 0 2px #47a3da;*/
    box-shadow: 0 2px #47a3da inset;
    border-bottom: none;
    z-index: 100;
}

.tabs .nav li.active:before,
.tabs .nav li.active:after {
    content: '';
    position: absolute;
    height: 1px;
    right: 100%;
    bottom: 0;
    width: 1000px;
    background: #47a3da;
}

.tabs .nav li.active:after {
    right: auto;
    left: 100%;
    width: 4000px;
}

.tabs .nav a {
    color: #becbd2;
    display: block;
    font-size: 1.1em;
    line-height: 2.5;
    padding: 0 1.25em;
    white-space: nowrap;
    border-radius: 0;
    border: none;
}

.tabs .nav a:hover {
    color: #768e9d;
}

.tabs .nav li.active a {
    color: #47a3da;
    border-radius: 0;
    border: none;
}

.product-detail ul {
    padding-left: 0;
}

.nav-tabs li a img {
    display: inline-block;
    max-height: 30px;
    max-width: 30px;
    padding-right: 3px;
}

/* Product grid card improvements */
.pd-product-card {
    position: relative;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.pd-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #ccc;
}

.pd-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #fff;
    height: 270px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 270px;
    flex: 0 0 270px;
}

.pd-card-image .pd-card-image-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pd-card-image .pd-card-thumb {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 270px;
/*    -o-object-fit: contain;
    object-fit: contain;*/
    border: 0;
    padding: 10px;
    box-sizing: border-box;
}

.pd-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.pd-card-badges .badge-new {
    background: #5cb85c;
}

.pd-card-badges .badge-discount {
    background: #f00;
}

.pd-card-badges .badge-point {
    background: #5bc0de;
}

.pd-card-badges .badge-gift {
    background: #f0ad4e;
}

.pd-card-badges .badge {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 3px;
    color: #fff;
}

.pd-card-body {
    padding: 15px;
    text-align: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

.pd-card-body h3 {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 8px;
    height: 42px;
    overflow: hidden;
    min-height: 42px;
}

.pd-card-body h3 a {
    color: #333;
    display: block;
}

.pd-card-body h3 a:hover {
    color: #f00;
    text-decoration: none;
}

.pd-card-code {
    font-size: 12px;
    color: #999;
    margin: 0 0 8px;
}

.pd-card-price {
    height: auto;
    margin: 0 0 10px;
    font-size: 15px;
}

.pd-card-price .money {
    color: #f00;
    font-weight: 700;
    font-size: 18px;
}

.pd-card-price .discounts_money {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

.pd-card-compare .pd-compare-label {
    font-weight: normal;
    color: #666;
    font-size: 13px;
    cursor: pointer;
}

.pd-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.pd-card-actions .btn-wishlist {
    width: 34px;
    height: 34px;
    padding: 0;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #f00;
    transition: all 0.2s;
}

.pd-card-actions .btn-wishlist:hover,
.pd-card-actions .btn-wishlist.active {
    background: #f00;
    color: #fff;
    border-color: #f00;
}

/* Product list improvements */
.pd-viewlist .pd-list-item {
    margin-bottom: 20px;
    border-radius: 6px;
    transition: box-shadow 0.2s ease;
}

.pd-viewlist .pd-list-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.pd-viewlist .pd-list-item .panel-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
}

.pd-viewlist .pd-list-image {
    float: none;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 216px;
    flex: 0 0 216px;
    width: 216px;
    height: 270px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    margin: 0;
}

.pd-viewlist .pd-list-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: 4px;
}

.pd-viewlist .pd-list-content {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.pd-viewlist .pd-list-content h3 {
    margin-top: 0;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
    max-height: 50px;
    overflow: hidden;
}

.pd-viewlist .pd-list-code {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    min-height: 18px;
}

.pd-viewlist .pd-list-price {
    height: auto;
    margin: 10px 0;
}

.pd-viewlist .pd-list-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 12px 0;
}

.pd-viewlist .pd-list-badges {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 160px;
    flex: 0 0 160px;
    margin-top: 0;
    padding-top: 0;
    border: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.pd-viewlist .pd-list-badges .list-inline {
    margin-bottom: 0;
}

.pd-list-badges .pd-compare-label {
    font-weight: normal;
    cursor: pointer;
    color: #666;
    font-size: 13px;
}

/* Category toolbar */
.pd-cat-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #f9f9f9;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.pd-cat-toolbar .pd-cat-sort select {
    min-width: 160px;
}

.pd-cat-toolbar .pd-cat-viewtype {
    display: flex;
    gap: 5px;
}

.pd-cat-toolbar .pd-cat-viewtype span {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid transparent;
}

.pd-cat-toolbar .pd-cat-viewtype span:hover {
    background: #e9e9e9;
}

.pd-cat-toolbar .pd-cat-viewtype span.active {
    background: #337ab7;
    border-color: #337ab7;
    color: #fff;
}

@media (max-width: 767px) {
    .pd-cat-toolbar {
        flex-direction: column;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }
    .pd-card-body h3 {
        height: auto;
    }
    .pd-card-image {
        height: 270px;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 270px;
        flex: 0 0 270px;
    }
    .pd-viewlist .pd-list-item .panel-body {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 15px;
    }
    .pd-viewlist .pd-list-image {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 100%;
        height: 190px;
    }
    .pd-viewlist .pd-list-badges {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px dashed #eee;
    }
}


/* Icons */

.tabs .nav a:before {
    display: inline-block;
    vertical-align: middle;
    text-transform: none;
    font-weight: normal;
    font-variant: normal;
    font-family: 'icomoon';
    line-height: 1;
    speak: none;
    -webkit-font-smoothing: antialiased;
    margin: -0.25em 0.4em 0 0;
}


/* Content */

.content section {
    font-size: 1.25em;
    padding: 2px 1px;
    display: none;
    max-width: 1230px;
    margin: 0 auto;
}

.content section:before,
.content section:after {
    content: '';
    display: table;
}

.content section:after {
    clear: both;
}


/* Fallback example */

.no-js .content section {
    display: block;
    padding-bottom: 2em;
    border-bottom: 1px solid #47a3da;
}

.content section.content-current {
    display: block;
}

.search-filter span.label {
    position: relative;
    font-size: 100%;
    font-weight: normal;
    padding: 5px 10px;
}

.search-filter span.label a {
    position: absolute;
    color: #a94442;
    font-size: 1.5em;
    top: -10px;
    right: -7px;
}


/* Example media queries */

@media screen and (max-width: 52.375em) {
    .tabs .nav a span {
        display: none;
    }
    .tabs .nav a:before {
        margin-right: 0;
    }
    .mediabox {
        float: none;
        width: auto;
        padding: 0 0 35px 0;
        font-size: 90%;
    }
    .mediabox img {
        float: left;
        margin: 0 25px 10px 0;
        max-width: 40%;
    }
    .mediabox h3 {
        margin-top: 0;
    }
    .mediabox p {
        margin-left: 40%;
        margin-left: calc(40% + 25px);
    }
    .mediabox:before,
    .mediabox:after {
        content: '';
        display: table;
    }
    .mediabox:after {
        clear: both;
    }
}

@media screen and (max-width: 32em) {
    .tabs .nav ul,
    .tabs .nav ul li a {
        width: 100%;
        padding: 0;
    }
    .tabs .nav ul li {
        width: 20%;
        width: calc(20% + 1px);
        margin: 0 0 0 -1px;
    }
    .tabs .nav ul li:last-child {
        border-right: none;
    }
    .mediabox {
        text-align: center;
    }
    .mediabox img {
        float: none;
        margin: 0 auto;
        max-width: 100%;
    }
    .mediabox h3 {
        margin: 1.25em 0 1em;
    }
    .mediabox p {
        margin: 0;
    }
}

.info_pro {
    position: absolute;
    top: 40px;
    left: 5px
}

.newday {
    display: block;
    text-transform: uppercase
}

#coupons_info {
    margin-top: 6px
}

.tab-pane {
    padding: 5px
}

.select2-selection {
    height: 32px !important
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-top: 2px
}

.order_shipping_info li {
    margin: 8px 0;
}


/* Filter Product by Group */

.filter_product label {
    margin-right: 10px
}

.filter_product .label_group {
    height: 22px;
    border: 1px solid #cccccc;
    outline: 1px solid #fff;
    background: #f2f2f2;
    text-align: center;
    line-height: 21px;
    display: block;
    float: left;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    padding: 0 10px;
    margin-top: 5px;
    min-width: 30px;
    font-size: 11px;
    white-space: nowrap;
}

.filter_product .active,
.filter_product .label_group.active {
    border-color: #357ebd;
}

.filter_product .label_group:hover {
    border-color: #f00;
}

.filter_product .label_group input,
.filter_product .image_group input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
    z-index: -1;
}

.ajax-load-qa {
    background: url("../images/shops/ajax-loader.gif") no-repeat center center rgba(255, 255, 255, 0.5);
    position: absolute;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.panel-filter-product .panel-body .sub-break {
    margin-top: 10px;
    margin-bottom: 10px;
}

.panel-filter-product .panel-body>.row:last-child .sub-break {
    display: none;
}

.panel-filter-product .sub-groups label {
    font-weight: 300;
}

.panel-filter-product .sub-groups label input {
    margin-top: -3px;
}


/* Detail Product */

.thumbnail .caption h3 {
    font-size: 14px
}

.info_icon:before {
    font-family: FontAwesome;
    color: #1E91CF;
    font-size: 14px;
    content: "\f05a";
}

.fb-like {
    margin-right: 30px;
}

.form-review {
    font-size: 13px
}

.form-review .pagination {
    margin-top: 2px
}

.form-review .pagination>li>a {
    padding: 1px 5px;
    font-size: 12px;
}

.form-review .review_row {
    border-bottom: 1px solid #ddd;
    margin-bottom: 5px
}

.form-review .border {
    padding: 0 10px 0 10px
}

.form-review .border-right {
    border-right: 1px solid #ddd;
}


/*  Second Example with big stars */

.rate-ex2-cnt {
    width: 150px;
    height: 30px;
}

.rate-ex2-cnt .rate-btn {
    width: 30px;
    height: 30px;
    float: left;
    background: url(../images/shops/rate/rate-btn2.png) no-repeat;
    cursor: pointer;
}

.rate-ex2-cnt .rate-btn:hover,
.rate-ex2-cnt .rate-btn-hover,
.rate-ex2-cnt .rate-btn-active {
    background: url(../images/shops/rate/rate-btn2-hover.png) no-repeat;
}


/* End second Example with big stars */


/* rate result */

.rate-result-cnt {
    width: 82px;
    height: 18px;
    position: relative;
}

.rate-stars {
    width: 82px;
    height: 18px;
    background: url(../images/shops/rate/rate-stars.png) no-repeat;
    position: absolute;
}

.rate-bg {
    height: 18px;
    background-color: #ffbe10;
    position: absolute;
}

.star-icon {
    width: 17px;
    height: 17px;
    background: url(../images/shops/rate/rate-btn3-hover.png) no-repeat;
    float: left
}

.docpay div {
    line-height: 25px
}

.docpay div strong {
    width: 120px;
    display: inline-block
}

#group_error {
    color: #C00;
    font-style: italic;
    padding: 5px;
    border: 1px dashed #C00;
    margin: 5px 0;
    display: none;
}

.download {
    border-bottom: dashed #DDDDDD 1px;
    line-height: 35px
}

.download,
.download a {
    font-size: 13px
}

.btn-transparent {
    background: none;
    border: none;
    box-shadow: none
}

.tab-content ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
}

a.btn-default {
    color: #1a3f5e;
}

.product-viewlist .price {
    height: inherit;
    margin: 10px 0 10px 0
}

.product-viewlist input[type="checkbox"],
.product-viewlist input[type="radio"] {
    margin: 0
}

.viewtype span {
    color: #ddd
}

.viewtype span.active {
    color: #333
}


/* Popup to set cart */

.sh-popup-modal {
    display: block!important;
}

.popup-product-detail {
    display: block;
    width: 100%;
    border: 0;
    overflow: hidden;
}

.panel-shops-cat .more-cats a {
    display: inline-block;
    margin-left: 10px;
}

.panel-shops-cat .more-cats a:first-child {
    margin-left: 0;
}

/* Improve product detail UX */
.product-detail {
    --pd-ink: #17324d;
    --pd-muted: #6b7b88;
    --pd-line: #e3e9ed;
    --pd-teal: #087f8c;
    --pd-coral: #e85d3f;
}

.product-detail .panel-product-info {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.product-detail .panel-product-info > .panel-body {
    padding: 0;
}

.product-detail .product-image-gallery,
.product-detail .pd-image-main {
    border: 1px solid var(--pd-line);
    border-radius: 4px;
    padding: 14px;
    background: #fff;
    margin-bottom: 12px;
    box-shadow: 0 12px 32px rgba(23, 50, 77, .07);
}

.pd-image-main img {
    border-radius: 2px;
    box-shadow: none;
}

.pd-info-wrap {
    padding-left: 32px;
}

.product-detail ul.product-info {
    margin: 0;
}

.product-detail ul.product-info li.info-title h1 {
    color: var(--pd-ink);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 10px;
}

.product-detail ul.product-info .info-meta,
.product-detail ul.product-info .info-code,
.product-detail ul.product-info .info-weight {
    color: var(--pd-muted);
    font-size: 13px;
}

.product-detail ul.product-info .info-code,
.product-detail ul.product-info .info-weight {
    display: inline-block;
    margin: 8px 18px 0 0;
}

.product-detail .info-hometext p {
    color: #526574;
    line-height: 1.65;
    margin: 16px 0 0;
}

.pd-purchase-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.pd-price-box {
    background: #fff6f1;
    border: 1px solid #f7ddd2;
    border-radius: 4px;
    padding: 14px 16px 15px;
    margin: 0;
}

.pd-price-head {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.pd-price-values {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.pd-price-box .pd-price-label {
    color: var(--pd-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pd-price-box .pd-sale-price {
    font-size: 30px;
    color: var(--pd-coral);
    line-height: 1.1;
    font-weight: 800;
}

.pd-price-box .pd-old-price {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
}

.pd-price-box .price-contact {
    font-size: 24px;
    font-weight: 800;
}

.pd-discount-badge {
    background: #f00;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 0;
}

.pd-stock-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 13px;
}

.pd-in-stock {
    color: #28a745;
}

.pd-out-of-stock {
    color: #f00;
    font-size: 16px;
    padding: 12px 0;
}

.pd-group-box {
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 4px;
    padding: 13px 16px 9px;
    margin: 0;
}

.pd-group-row {
    display: grid;
    grid-template-columns: minmax(92px, 20.833333%) minmax(0, 1fr);
    align-items: center;
    margin: 0;
}

.pd-group-row + .pd-group-row {
    margin-top: 10px;
}

.pd-group-row > [class*="col-"] {
    float: none;
    width: auto;
}

.pd-group-label {
    font-weight: 600;
    color: var(--pd-ink);
}

.pd-quantity-box {
    background: #f4f8f9;
    border: 1px solid #dce8ea;
    border-radius: 4px;
    padding: 12px 16px;
    margin: 0;
}

.pd-quantity-box .row {
    display: grid;
    grid-template-columns: minmax(92px, 20.833333%) minmax(0, 1fr);
    align-items: start;
    margin-left: 0;
    margin-right: 0;
}

.pd-quantity-box .row > [class*="col-"] {
    float: none;
    width: auto;
    padding-left: 0;
    padding-right: 0;
}

.pd-qty-label {
    font-weight: 600;
    color: var(--pd-ink);
    line-height: 34px;
}

.pd-qty-control {
    display: grid;
    grid-template-columns: 34px minmax(70px, 100px) 34px;
    align-items: center;
    gap: 6px;
}

.pd-qty-input {
    text-align: center;
    font-weight: bold;
    border-color: #c6d5da;
}

.btn-qty {
    width: 34px;
    height: 34px;
    padding: 0;
    line-height: 34px;
}

.pd-quantity-box #product_number {
    grid-column: 1 / -1;
    margin: 3px 0 0;
}

.pd-quantity-box .pd-stock-status {
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid #cde6d5;
    border-radius: 12px;
    background: #effaf2;
    font-size: 12px;
}

.pd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.pd-actions .btn {
    flex: 1 1 auto;
    min-width: 160px;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 0;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(23, 50, 77, .12);
    transition: all 0.2s ease;
}

.pd-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.pd-actions .btn-order-cart {
    background: var(--pd-coral);
}

.pd-actions .btn-order-buy {
    background: var(--pd-teal);
}

.product-detail .label_group {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin: 0 6px 6px 0;
    padding: 7px 13px;
    border: 1px solid #cbd9de;
    border-radius: 3px;
    color: #385365;
    background: #fff;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.product-detail .label_group:hover,
.product-detail .label_group.active {
    border-color: var(--pd-teal);
    background: #eaf7f8;
    color: var(--pd-teal);
}

.product-detail .label_group input {
    accent-color: var(--pd-teal);
    margin: 0 6px 0 0;
}

.product-detail #group_error {
    color: var(--pd-coral);
}

.product-detail .gallery-nav .item-inner {
    border: 1px solid transparent;
    padding: 3px;
}

.product-detail .gallery-nav .item.active .item-inner,
.product-detail .gallery-nav .item-inner:hover {
    border-color: var(--pd-teal);
}

.pd-actions .btn.loading {
    opacity: 0.75;
    cursor: wait;
}

.pd-tier-price {
    margin-top: 15px;
}

.pd-tier-price .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pd-tabs-panel {
    margin-top: 25px;
    margin-bottom: 25px;
}

.pd-tabs-panel .nav-tabs {
    border-bottom: 2px solid #ddd;
}

.pd-tabs-panel .nav-tabs > li > a {
    border-radius: 0;
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-weight: 600;
}

.pd-tabs-panel .nav-tabs > li.active > a,
.pd-tabs-panel .nav-tabs > li.active > a:hover,
.pd-tabs-panel .nav-tabs > li.active > a:focus {
    border: none;
    border-bottom: 2px solid #f00;
    color: #f00;
    background: transparent;
}

.pd-tabs-panel .tab-content {
    padding: 20px;
    border: 1px solid #eee;
    border-top: none;
    background: #fff;
    border-radius: 0 0 6px 6px;
}

/* Related / Viewed products panels */
.panel-product-others,
.panel-product-viewed {
    margin-top: 20px;
}

.panel-product-others .panel-heading,
.panel-product-viewed .panel-heading {
    font-size: 18px;
    font-weight: 600;
    padding: 12px 15px;
    border-bottom: 2px solid #f00;
    background: #fff;
}

.panel-product-others .panel-body,
.panel-product-viewed .panel-body {
    padding: 15px;
}

.panel-product-others .panel-body .row,
.panel-product-viewed .panel-body .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.panel-product-others .panel-body .col-sm-6,
.panel-product-viewed .panel-body .col-sm-6,
.panel-product-others .panel-body .col-xs-12,
.panel-product-viewed .panel-body .col-xs-12 {
    margin-bottom: 15px;
    display: flex;
}

.panel-product-others .panel-body .col-sm-6 > .thumbnail,
.panel-product-viewed .panel-body .col-sm-6 > .thumbnail,
.panel-product-others .panel-body .col-xs-12 > .thumbnail,
.panel-product-viewed .panel-body .col-xs-12 > .thumbnail {
    width: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 767px) {
    .pd-info-wrap {
        padding-left: 0;
        margin-top: 20px;
    }
    .product-detail ul.product-info li.info-title h1 {
        font-size: 24px;
    }
    .pd-actions .btn {
        width: 100%;
        min-width: auto;
    }
    .pd-price-box .pd-sale-price {
        font-size: 22px;
    }
    .panel-product-others .panel-body .col-sm-6,
    .panel-product-viewed .panel-body .col-sm-6 {
        width: 50%;
    }
}

@media (max-width: 575px) {
    .panel-product-others .panel-body .col-sm-6,
    .panel-product-viewed .panel-body .col-sm-6,
    .panel-product-others .panel-body .col-xs-12,
    .panel-product-viewed .panel-body .col-xs-12 {
        width: 100%;
    }
}

/* Checkout UI */
.order-form { max-width: 100%; }
.order-form .order-panel,
.order-form #shipping_form { border-radius: 6px; overflow: hidden; }
.order-form .panel-heading { padding: 12px 15px; }
.order-form .form-group { margin-bottom: 15px; }
.order-form .control-label { padding-top: 9px; }
.order-form input.form-control,
.order-form textarea.form-control,
.order-form .select2-container { min-height: 40px; }
.order-form input[type="radio"],
.order-form input[type="checkbox"] { width: 18px; height: 18px; margin: 0 7px 0 0; vertical-align: -4px; }
.order-form .shipping-choice-panel { border-color: #d9edf7; }
.order-form .shipping-choice-panel label { padding: 8px 10px; margin: 0; border-radius: 4px; cursor: pointer; }
.order-form .shipping-choice-panel label:hover { background: #f0f9fc; }
.order-form .order_shipping_info { padding-left: 0; list-style: none; }
.order-form .order_shipping_info ul { padding-left: 20px; }
.order-form .table-responsive { margin: 20px 0; }
.order-form .table > thead > tr > th { white-space: nowrap; background: #f7f9fb; }
.order-form #total { font-size: 20px; color: #c0392b; }
.order-form .text-center:last-child { padding: 15px 0 5px; }
.cart-total-box { font-size: 18px; padding: 10px 0; }
.cart-total-box #total { color: #c0392b; font-size: 22px; }
.order-form button[type="submit"] { min-width: 190px; min-height: 44px; font-weight: 600; }
@media (max-width: 767px) {
    .order-form .form-group { margin-left: 0; margin-right: 0; }
    .order-form .control-label { text-align: left; padding: 0 0 5px; }
    .order-form .col-sm-6,
    .order-form .col-sm-18 { width: 100%; padding-left: 0; padding-right: 0; }
    .order-form .row [class*="col-xs-"] { width: 100%; margin-bottom: 10px; }
    .order-form .panel-body { padding: 12px; }
    .order-form .table { min-width: 640px; }
    .order-form .text-right { text-align: right; }
    .order-form button[type="submit"] { width: 100%; }
    div.step_bar a.step { font-size: 11px; margin-right: 4px; padding-left: 4px; }
}

/* Payment confirm page */
.payment-page .payment-success-bar { font-size: 15px; margin-bottom: 15px; }
.payment-page .payment-success-bar .fa { margin-right: 6px; }
.payment-page .order-code-box { border-left: 1px solid #eee; }
.payment-page .order-code-label { color: #888; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.payment-page .order-code-value { display: block; font-size: 22px; font-weight: 700; color: #c0392b; margin: 4px 0 8px; word-break: break-all; }
.payment-page .order-code-box .btn { margin-top: 5px; }
.payment-page .order-panel .row > div { padding-top: 3px; padding-bottom: 3px; }
.payment-total-box #total { font-size: 20px; color: #c0392b; }
@media (max-width: 767px) {
    .payment-page .order-code-box { border-left: none; border-top: 1px solid #eee; margin-top: 10px; padding-top: 10px; }
}

/* Order history */
.shops-history-table td { vertical-align: middle; }

/* Search form compact */
#fsea .form-group { margin-bottom: 10px; }
#fsea .control-label { padding-top: 7px; }
