/*
Theme Name: Kho Cơ Khí Giá Rẻ
Theme URI: https://thietkewebfindme.com/
Template: motta
Author: Thiết kế web Findme
Author URI: https://thietkewebfindme.com/
Description: Multi-Vendor and Marketplace WordPress Theme
Tags: one-column,two-columns,left-sidebar,right-sidebar,full-width-template,post-formats,theme-options,threaded-comments,translation-ready
Version: 1.0.0.1753779148
Updated: 2025-07-29 15:52:28

*/
.site, body {
    overflow: unset;
}
input[type='checkbox'] {
    width: 13px !important;
    height: 13px !important;
    padding: 0 !important;
    margin-top: -5px !important;
    margin-left: 1px !important;
} 
select {
    background-size: 10px 7px;
}
.dokan-layout .ring-1 {
    box-shadow: none !important;
}
.dokan-layout .h-10 {
    height: auto !important;
}
select, select.dokan-form-control {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAHCAYAAAAxrNxjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjZEN0U3QjkxMjVBQjExRUNBNzc5QThEOTcxM0VDQzM5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjZEN0U3QjkyMjVBQjExRUNBNzc5QThEOTcxM0VDQzM5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NkQ3RTdCOEYyNUFCMTFFQ0E3NzlBOEQ5NzEzRUNDMzkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NkQ3RTdCOTAyNUFCMTFFQ0E3NzlBOEQ5NzEzRUNDMzkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6QL/ztAAAAb0lEQVR42mKUVdRgZGBgqAPiuUD8hAEVyABxBBD3sACJEiBuAOJYIHZAUgxSdACIlYGYiwlILAfiu1CBA1AFyIpAcvNYoCY4IEkcgJoIUwS2hQUqiK6YAVkRiMOC5HBkxQxo7kVRiKyYAT0EAAIMAHklGfyiLfqeAAAAAElFTkSuQmCC);
    background-position: calc(100% - 15px) center;
    background-repeat: no-repeat;
}
select:focus, select.dokan-form-control:focus {
    background-position: calc(100% - 15px) center;
}
.field-row-wrapper .dokan-form-group.first-item {
    padding-left: 0 !important;
}
.field-row-wrapper .dokan-form-group.last-item {
    padding-right: 0 !important;
}
.header-category__menu .mega-menu-main {
    flex-wrap: wrap;
}
.header-category--icon .header-category__menu>ul>li>a:before { display: none; }
.header-category--icon .header-category__menu>ul>li>a {
    line-height: 2.5;
}
.header-category--icon .header-category__menu>ul>li:not(:last-child)>a {
    border-bottom: 1px solid #ecf0f4;
}
#menu-category-menu-v2 .menu-item-icon svg {
    width: 24px;
    height: auto;
}
#menu-primary-menu-v2 .menu-item-icon svg {
    width: 1.4em;
    height: 1.4em;
    fill: none;
}
#menu-primary-menu-v2 .menu-vendor-list .menu-item-icon svg {
    fill: currentColor;
}
.header-category__menu ul.menu>li>a .menu-icon-item--has-background {
    width: auto;
    height: auto;
    line-height: unset;
}
.mf-vendor-slider .vendor-card {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:#fff;
    border:1px solid #eee;
    border-radius:4px;
    padding:16px;
    gap:10px;
    text-align:center;
    height:100%;
}
.mf-vendor-slider .vendor-avatar img {
    width:72px;
    height:72px;
    border-radius:50%;
    object-fit:cover;
}
.mf-vendor-slider .vendor-name {
    font-weight:600;
    margin-top:6px;
}
.main-navigation .nav-menu>li {
    padding: 0;
}
#dokan-store-listing-filter-form-wrap {
    padding-top: 0;
    display: flex !important;
}
#dokan-store-listing-filter-form-wrap:before {
    display: none;
}
#dokan-seller-listing-wrap .seller-listing-content .dokan-seller-wrap li .store-footer>a, #dokan-seller-listing-wrap .seller-listing-content .dokan-seller-wrap li .store-footer .dokan-btn-theme {
    padding: 8px 18px;
    min-height: unset;
    line-height: 17px;
    border: none;
}
.dokan-product-category-modal-footer .dokan-product-category-button-container button {
    width: auto;
    padding: 6px 12px;
}
.elementor-select-wrapper .select-caret-down-wrapper {
    display: none;
}
input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=range], input[type=date], input[type=month], input[type=week], input[type=time], input[type=datetime], input[type=datetime-local], input[type=color], select, span.select2 .select2-selection--single, .motta-input--default, .motta-type--input-text {
    height: 50px;
}
textarea {
    padding: 12px 22px !important;
    border-radius: 2px !important;
    border: 2px solid #dadfe3 !important;
}
textarea:hover, textarea:focus {
    box-shadow: none !important;
    border-color: #1d2128 !important;
    outline: none !important;
}
.dokan-dashboard .site-content .select2-container .select2-search__field {
    border: none;
    margin: 0;
}
.wp-editor-wrap,
.product-edit-container .wp-editor-wrap {
    border: none;
}
.select2-container--default.select2-container--open .select2-search__field:focus {
    box-shadow: none !important;
}
.single-product div.product.has-buy-now .motta-buy-now-button {
    border: none;
    background-color: var(--mt-color__primary);
}

/* Custom Product Sections */
.product-detail-menu {
  position: sticky;
  top: 0; /* chỉnh theo chiều cao header */
  background: #fff;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  z-index: 9;
}
.admin-bar .product-detail-menu {
    top: 32px;
}
.product-detail-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 12px 0;
}

.product-detail-menu a {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.product-detail-menu a:hover {
  color: var(--mt-color__primary--dark, #fc3227);
}

.product-detail-menu a.active {
  color: var(--mt-color__primary--dark, #fc3227);
}

.product-detail-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mt-color__primary--dark, #fc3227);
  border-radius: 2px;
}

.product-detail-section {
  margin: 40px auto;
  line-height: 1.6;
}

.product-detail-section > h2 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-block: 0 1rem;
  padding-bottom: 5px;
  position: relative;
  display: inline-block;
}

.product-detail-section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px; /* mặc định 60% chiều rộng text */
  height: 3px;
  background: linear-gradient(90deg, var(--mt-color__primary--dark, #fc3227), #ff8075);
  border-radius: 2px;
  transition: width 0.3s ease; /* animation mượt */
}

.product-detail-section > h2:hover::after {
  width: 100%; /* hover -> chạy full text */
}

.product-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.product-image-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.product-image-grid img:hover {
  transform: scale(1.03);
}

/* Layout content + sidebar */
.supplier-content-wrap {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 30px;
}

.supplier-sidebar .supplier-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  position: sticky;
  top: 65px;
}
.admin-bar .supplier-sidebar .supplier-card {
  top: 97px;
}

.supplier-sidebar h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #222;
}

.btn-supplier-shop {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  background: var(--mt-color__primary--dark, #fc3227);
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-supplier-shop:hover {
  background: #d92b21;
}

.supplier-section h2 {
    margin-bottom: 0;
}


.mf-vendor-product-card {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin: 20px 0;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.mf-vendor-product-card .vendor-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.mf-vendor-product-card .vendor-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: 2px solid #ddd;
}

.mf-vendor-product-card .vendor-name {
    font-size: 1.25em;
    font-weight: bold;
    color: #333;
    margin: 0;
    transition: color 0.3s;
}

.mf-vendor-product-card .vendor-name:hover {
    color: #0073aa;
}

.mf-vendor-product-card .vendor-details {
    margin-top: 10px;
}

.mf-vendor-product-card .vendor-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
}

.mf-vendor-product-card .detail-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.mf-vendor-product-card .contact-vendor {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
    text-align: center;
}

.mf-vendor-product-card .contact-btn {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.mf-vendor-product-card .contact-btn:hover {
    background-color: #005f8a;
}

.dokan-business-license-upload {
    text-align: left;
}
.store-data-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
#dokan-seller-listing-wrap .seller-listing-content .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-data .store-data-list > * {
    margin: 0;
}
#dokan-seller-listing-wrap .seller-listing-content .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-data .dokan-seller-rating {
    height: 10px;
    margin: 0;
}
.store-data-item a {
    color: #fff;
}
.store-data-item i {
    width: 20px;
    margin: 0 !important;
}
#dokan-store-listing-filter-form-wrap .store-lists-other-filter-wrap,
.motta-dokan-pro #dokan-store-listing-filter-form-wrap .apply-filter {
    margin-top: 12px !important;
}
#dokan-store-listing-filter-form-wrap .store-lists-other-filter-wrap:not(.filter-list-1) {
    display: none;
}
#dokan-store-listing-filter-form-wrap .store-lists-other-filter-wrap select {
    height: auto;
    border: 1px solid #dadfe3;
    padding: 5px 45px 5px 15px;
    height: 44px;
    border-radius: 3px;
}
.motta-dokan-pro #dokan-store-listing-filter-form-wrap .store-lists-other-filter-wrap > * {
    margin-right: 12px !important;
}
.motta-dokan-pro #dokan-store-listing-filter-form-wrap .store-lists-other-filter-wrap > *:last-child {
    margin-right: 0 !important;
}
p {
    margin-bottom: 1rem;
}
p:where(:last-of-type) {
    margin-bottom: 0;
}

.supplier-product-list {
    margin-top: 1rem;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 3px 3px 0 #013c7c;
    color: #fff;
    margin: 1rem 1rem 0 0;
    border-radius: 2px;
}
.btn-contact svg {
    width: auto;
    height: auto;
}

.btn-contact:hover,
.btn-contact:focus {
    box-shadow: 5px 5px 0 #013c7c;
}

.btn-contact.btn-contact-email {
    background-color: #007bff; /* Màu xanh dương */
}

.btn-contact.btn-contact-phone {
    background-color: #28a745;
    box-shadow: 3px 3px 0 #0e501d;
}
.btn-contact.btn-contact-phone:hover,
.btn-contact.btn-contact-phone:focus {
    box-shadow: 5px 5px 0 #0e501d;
}

.btn-contact .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px; /* Khoảng cách giữa icon và text */
    width: 20px;
    height: 20px;
}

.btn-contact .btn-icon svg {
    fill: currentColor;
    color: #fff;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active a {
    font-weight: normal;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li:hover a, .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li.current a {
    font-weight: normal !important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li {
    padding-left: .5rem;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li a {
    font-size: 14px;
    line-height: 24px;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i {
    padding-right: 10px;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu {
    padding: 0;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li:hover:before, 
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li.current:before {
    left: 2px;
    height: calc(100% - 4px);
}
.header-category--both .header-category__menu ul.menu>li>a>.menu-item-icon {
    width: 28px;
    height: 28px;
    vertical-align: -6px;
    margin-right: 8px;
}
.header-contents .header-category__menu li .mega-menu__column li.menu-item--widget-heading {
    font-weight: 600;;
}
.menu-taxonomy-list-widget .menu-item--widget a:before {
    content: '';
}
.product-subcategories {
    border: 1px solid #eaeaea;
    display: flex;
    flex-wrap: nowrap; /* không xuống dòng */
    border-right: none;
    border-bottom: none;
    margin-bottom: 2rem;
    overflow-x: auto; /* bật scroll ngang khi tràn */
    -webkit-overflow-scrolling: touch; /* mượt trên mobile */
}

.product-subcat-item {
    flex: 0 0 auto; /* giữ cố định kích thước, không co giãn */
    padding: 1rem;
    border: 1px solid #eaeaea;
    border-left: none;
    border-top: none;
    width: 160px;
    text-align: center;
}
.product-subcat-item a {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    justify-content: center;
}
.product-subcat-item .subcat-image {
    text-align: center;
}
.product-subcat-item img {
    display: block;
    max-height: 80px;
    width: auto;
    margin-inline: auto;
}
.product-subcat-item .subcat-name {
    font-weight: 500;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .product-subcat-item {
        width: 130px;
        padding: 10px;
    }
    .product-subcat-item a {
        gap: 10px;
    }
    .product-subcat-item img {
        max-height: 60px;
    }
    .product-subcat-item .subcat-name {
        font-size: 12px;
    }
}
@media (max-width: 767px) {
    .product-subcat-item {
        width: 120px;
    }
    .product-subcat-item img {
        max-height: 40px;
    }
}