/*
 Theme Name:     FindMe Child
 Template:       flatsome
 Version:        1.0
*/
.stuck {
  position: fixed !important;
}
a:where(:not(.wp-element-button)) {
  text-decoration: none !important;
}
.absolute-footer {
  display: none;
}
.section {
  display: block;
}
li.nav-icon.has-icon::marker {
  display: none;
}
.glink {
	color: #000;
}
#logo {
  display: flex;
  align-items: center;
}
.nav-icon.has-icon {
  list-style: none;
}
.header-bottom-nav.nav-left {
  padding-left: 60px;
}
.header-bottom-nav.nav-left li a {
  color: var(--fs-color-primary);
}

.header-main .flex-right {
  width: 700px;
}

.header-search-form {
  border-radius: 0;
  border: 1px solid #000;
  background-color: #fff !important;
}
.header-search-form .icon-search,
.cart-icon {
  filter: invert(1);
}
/* Section cao 100vh */
.vh-100 {
  min-height: 100dvh;
}

/* Buộc toàn bộ cấu trúc Flickity cao 100vh */
.vh-100 .slider,
.vh-100 .slider-wrapper,
.vh-100 .flickity-viewport,
.vh-100 .flickity-slider,
.vh-100 .img,
.vh-100 .img-inner {
  height: 100dvh !important;
}

/* Ảnh phủ kín khung, không méo, không hở đáy */
.vh-100 .img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block; /* tránh gap do ảnh là inline */
}

/* Xoá padding của section nếu còn */
.vh-100 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
@media (max-width: 767px) {
  .vh-100 {
    height: 50dvh;
    min-height: 50dvh;
  }
.icon-menu,.cart-item {
  filter: invert(1);
}
  .vh-100 .slider,
  .vh-100 .slider-wrapper,
  .vh-100 .flickity-viewport,
  .vh-100 .flickity-slider,
  .vh-100 .img,
  .vh-100 .img-inner {
    height: 50dvh !important;
  }

  .vh-100 .img-inner img {
    height: 100%;
    object-fit: cover;
  }
}

.ux-swatches .ux-swatch IMG {
  max-width: 80%;
}

.ux-marketplace-box {
  display: flex;
  gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-top: 1px dashed #e9e9e9;
    flex-direction: column;
}
.ux-marketplace-label {
  font-weight: 600;
  font-size: 20px;
    color: #000;
}
.ux-marketplace-links {
  display: flex;
  gap: 10px;
}
.ux-marketplace-link img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.shop-banner img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}



.shop-banner {
  width: 100%;
  height: 300px;           /* chỉ định chiều cao */
  overflow: hidden;        /* ẩn phần thừa */
}

.shop-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* cắt ảnh để vừa khung mà không méo */
  object-position: center; /* canh giữa ảnh */
  display: block;
}
.shop-page-title {
  display: none;
}

.woocommerce-tabs {
  display: none;
}

/* Reset mặc định cho container */

.woof_container {
    display: inline-block;
    margin-right: 50px;
    border: none !important;
    background: transparent !important;
    vertical-align: middle;
padding-top: 10px;
}

/* Ẩn tiêu đề h4 của filter */
.woof_container h4 {
    display: none !important;
}

/* Style chung cho select2 (dropdown) */
.woof_redraw_zone .select2-container--default .select2-selection--single {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    height: auto !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

/* Chữ hiển thị trong dropdown */
.woof_redraw_zone .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 19px;
    font-weight: 600;
    color: #000;
    padding-left: 0 !important;
}

/* Mũi tên xuống */
.woof_redraw_zone .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000 transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
    margin-left: 6px;
}

/* Canh mũi tên gần chữ */
.woof_redraw_zone .select2-container--default .select2-selection--single .select2-selection__arrow {
    position: relative;
    top: 1px;
    right: -5px;
}

/* Hover hiệu ứng (đậm + gạch dưới) */
.woof_redraw_zone .select2-container--default .select2-selection--single:hover .select2-selection__rendered {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

/* Đảm bảo full width của select2 */
.woof_redraw_zone .select2-container {
    width: auto !important;
    min-width: 140px;
}

/* Dropdown hiển thị (menu con) */
.woof_redraw_zone .select2-dropdown {
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 4px;
}

/* Style item trong dropdown */
.woof_redraw_zone .select2-results__option {
    font-size: 14px;
    padding: 8px 12px;
    cursor: pointer;
}

.woof_redraw_zone .select2-results__option--highlighted {
    background: #000 !important;
    color: #fff !important;
}
.filter-bar {
    display: flex;                 /* Kích hoạt flex */
    justify-content: space-between; /* Trái - Phải */
    align-items: flex-start;        /* Căn trên */
    margin-bottom: 20px;
    border-bottom: 1px solid;
    padding-bottom: 8px;
}

/* Bên trái chứa filter */
.filters-left {
    display: flex;
    gap: 25px;      /* Khoảng cách giữa các filter */
    flex-wrap: wrap; /* Cho responsive nhỏ màn hình */
}

/* Bên phải (dropdown sắp xếp) */
.filters-right {
    margin-left: auto; /* Đẩy sang phải */
}

/* Style cho select sắp xếp */
.filters-right select.orderby {
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #000;
    padding: 0 20px 0 0;
    line-height: 1.2;

    /* Ẩn select mặc định và thay mũi tên */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='black'><path d='M2 4l4 4 4-4z'/></svg>") no-repeat right center;
    background-size: 12px;
}

/* Hover */
.filters-right select.orderby:hover {
    font-weight: 700;
    text-decoration: underline;
}


.checkout-wrapper {
  display: flex;
  gap: 30px;
}

.checkout-left {
  flex: 2;
}

.checkout-left-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkout-customer, .checkout-methods {
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 6px;
}

.checkout-right {
  flex: 1;
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 6px;
}

/* Product Review Order Styles */
.product-item-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-image-container {
  position: relative;
  flex-shrink: 0;
}

.product-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.product-quantity-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #007cba;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-details {
  flex: 1;
}

.product-details .product-name {
  font-weight: 500;
  margin-bottom: 5px;
}

/* Coupon Form Styles */
.coupon-form-wrapper {
  display: flex;
  gap: 10px;
}

.coupon-input-wrapper {
  flex: 1;
}

input.coupon-input {
  width: 100%;
  padding: 0 16px;
  margin: 0;
  box-shadow: none;
  height: 40px;
}

input.coupon-input:focus {
  outline: none;
  box-shadow: none;
}

.coupon-button-wrapper {
  flex-shrink: 0;
}

.coupon-apply-btn {
    padding: 0 20px;
    color: white;
    border: none;
    font-weight: 500;
    cursor: pointer;
    min-height: unset;
    white-space: nowrap;
    margin: 0;
    background: var(--fs-color-secondary);
    height: 40px;
    line-height: 40px;
}
.checkout-coupon .coupon-message {
    text-align: left;
    margin-top: 5px;
}
.checkout-coupon .coupon-message.woocommerce-error {
  color: var(--fs-color-alert);
}

.woocommerce-billing-fields {
  border: none;
  padding: 0;
}
.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
  box-shadow: none;
}
input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, select:focus, textarea:focus {
  box-shadow: none;
}
.cart-discount {
  font-size: inherit;
}
.cart-discount td:first-child, .cart-discount th:first-child {
    padding-left: 0;
}
.cart-discount td:last-child, .cart-discount th:last-child {
    padding-right: 0;
}
.searchable-select {
  position: relative;
  display: block;
  width: 100%;
}
.searchable-select .ss-input {
  width: 100%;
  border: 1px solid #ddd;
  box-shadow: none;
}
.searchable-select .ss-dropdown {
  position: absolute;
  top: calc(100% - 1em - 1px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid #ddd;
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
}
.searchable-select .ss-item {
  padding: 6px 8px;
  cursor: pointer;
}
.searchable-select .ss-item:hover,
.searchable-select .ss-item.ss-highlight {
  background: #f5f5f5;
}
.ss-empty {padding:6px 8px;color:#888;}

form p {
  margin-bottom: 0 !important;
}
@media only screen and (max-width: 768px) {
	.checkout-wrapper {
		display: block;
	}
	.checkout-left-inner {
   grid-template-columns: 1fr;

}
}
