/**
 * Theme Name:     Hiroshi Lord
 * Author:         Hiroshi Lord
 * Template:       flatsome
 * Description:    Theme Build by Hiroshi Lord
 * Version:        2025
 */

/* DEFAULT NO BORDER AND LINE-THROUGH */
.section-title-center b {
  opacity: 0;
}

.section-title-normal {
  border-bottom: none;
}

.section-title-normal span {
  border-bottom: none;
}

.text-cap {
  span {
    text-transform: capitalize;
  }
}

.border-radius {
  border-radius: 8px;
  overflow: hidden;

  img {
    border-radius: 8px;
  }
}

.sec-footer {
  .custom-menu-white .ux-menu-link__text {
    color: #ffff !important;
    text-align: left !important;
  }
}

.text-overflow {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* Giới hạn tối đa 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Hiện dấu ... nếu vượt quá */
  white-space: normal;
  /* Cho phép xuống dòng */

  a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Giới hạn tối đa 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Hiện dấu ... nếu vượt quá */
    white-space: normal;
    /* Cho phép xuống dòng */
  }
}

.d-none {
  display: none !important;
}

/* END */
.header-wrapper {
  .header-main {
    .header-nav-main {
      justify-content: center !important;

      .header-button-1 {
        .header-button {

          a.button {
            background-color: var(--fs-color-secondary) !important;

            span {
              color: #fff !important
            }

            &:hover {
              border: 1px solid var(--fs-color-primary) !important;
              box-shadow: none;
            }
          }
        }
      }

      .header-button-2 {
        .header-button {

          a.button {
            background-color: #dc3545 !important;
            border: none !important;
            display: flex;
            align-items: center;
            line-height: unset;

            span {
              color: #fff !important
            }

            i {
              color: #fff;
            }

            &:hover {
              box-shadow: none;
            }
          }
        }
      }
    }
  }
}

.sec-ft-one {
  position: relative;

  .custom-row-position {
    content: '';
    position: absolute;
    top: 40%;
    width: 100%;
    height: 100%;

    .custom-text-info {
      h3 {
        font-size: 35px;
        margin-bottom: 0;
      }

      p {
        font-size: 15px;
        margin-bottom: 0;

      }

      @media screen and (max-width:768px) {
        h3 {
          font-size: 24px;
        }
      }
    }

    .custom--text {
      width: 60%;
      background-color: #1AC6EE;
      color: #fff;
      border-radius: 20px;
      overflow: hidden;
      padding: 10px 15px;

      h3 {
        margin-bottom: 0;
        text-transform: uppercase;
      }

      p {
        margin-bottom: 0;

        a {
          color: #fff;

        }
      }

      @media screen and (max-width:768px) {
        margin-top: 30px;
      }
    }
  }
}

.sec-ft-info {
  .text {
    a {
      color: #fff;
    }
  }

  .custom-menu {
    .ux-menu-link__link {

      color: #fff !important;

    }
  }

  @media screen and (max-width:768px) {
    padding-top: 180px !important;

  }
}

.custom-icon-box {
  .col-inner {
    padding: 10px 15px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 8px;
    overflow: hidden;

    h4 {
      font-size: 16px;
    }
  }
}

.products {
  .product-small.col {
    .col-inner {
      background: #fff;
      color: #000;
      border-radius: 1rem;
      -webkit-box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
      box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
      -webkit-transition: .3s;
      -moz-transition: .3s;
      -o-transition: .3s;
      transition: .3s;
      position: relative;
      overflow: hidden;
      border-bottom: 3px solid transparent;
      height: 100%;

      .image-tools {
        &.grid-tools {
          /* width: max-content; */
          justify-content: center;
          position: relative;

          .quick-view {
            content: '';
            position: absolute;
            bottom: 21px;
            right: 35%;
            font-size: 0;
            width: 35px;
            height: 35px;
            padding: 5px;
            border-radius: 4px;

            &::before {
              content: '\f06e';
              font-family: 'Font Awesome 7 Free';
              font-family: 900;
              font-size: 18px;
            }
          }

          .add_to_cart_button {
            .cart-icon {
              left: 35%;
              bottom: 15px;
              /* padding: 5px; */
              background-color: var(--fs-color-primary);
              border-radius: 4px;
              overflow: hidden;
              width: 35px;
              height: 35px;
              display: flex;
              align-items: center;
              justify-content: center;

              strong {
                font-size: 0 !important;
                color: #fff !important;
                border: none !important;
                width: 35px;
                height: 35px;
                display: flex;
                align-items: center;
                justify-content: center;

                &::after {
                  content: '\f07a';
                  border: unset !important;
                  font-size: 18px;
                  font-family: 'Font Awesome 7 Free';
                  font-weight: 900;
                  height: 35px;
                  width: 35px;
                  left: unset;
                  top: -1px;
                  margin-left: unset;
                  bottom: unset;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                }
              }
            }
          }
        }
      }

      .box-text {
        padding: 15px;
      }

      &:hover {
        border-color: var(--fs-color-primary);
      }
    }
  }
}

.custom-products {
  .col-inner {
    .product-small {
      background: #fff;
      color: #000;
      border-radius: 1rem;
      -webkit-box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
      box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
      -webkit-transition: .3s;
      -moz-transition: .3s;
      -o-transition: .3s;
      transition: .3s;
      position: relative;
      overflow: hidden;
      border-bottom: 3px solid transparent;

      .image-tools {
        &.grid-tools {
          /* width: max-content; */
          justify-content: center;
          position: relative;

          .quick-view {
            content: '';
            position: absolute;
            bottom: 21px;
            right: 35%;
            font-size: 0;
            width: 35px;
            height: 35px;
            padding: 5px;
            border-radius: 4px;

            &::before {
              content: '\f06e';
              font-family: 'Font Awesome 7 Free';
              font-family: 900;
              font-size: 18px;
            }
          }

          .add_to_cart_button {
            .cart-icon {
              left: 35%;
              bottom: 15px;
              /* padding: 5px; */
              background-color: var(--fs-color-primary);
              border-radius: 4px;
              overflow: hidden;
              width: 35px;
              height: 35px;
              display: flex;
              align-items: center;
              justify-content: center;

              strong {
                font-size: 0 !important;
                color: #fff !important;
                border: none !important;
                width: 35px;
                height: 35px;
                display: flex;
                align-items: center;
                justify-content: center;

                &::after {
                  content: '\f07a';
                  border: unset !important;
                  font-size: 18px;
                  font-family: 'Font Awesome 7 Free';
                  font-weight: 900;
                  height: 35px;
                  width: 35px;
                  left: unset;
                  top: -1px;
                  margin-left: unset;
                  bottom: unset;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                }
              }
            }
          }
        }
      }

      &:hover {
        border-color: var(--fs-color-primary);
      }
    }
  }
}

.custom-btn {
  border-radius: 99px;
  overflow: hidden;
  text-transform: capitalize;
  margin-top: 30px;
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    bottom: 0;
    width: 100%;
    border: 1px solid var(--fs-color-secondary);
    height: 100%;
    background-color: var(--fs-color-secondary);
    transition: all ease-in-out 0.4s;
  }

  &:hover {
    border: 1px solid var(--fs-color-secondary);

    &::before {
      left: 0;
      z-index: 1;
    }

    span {
      position: relative;
      z-index: 2;
    }
  }
}

.box-text-products {

  .woocommerce-LoopProduct-link {
    color: #000;
    font-weight: 600;
    font-size: 16px;
  }

  .price {
    margin-top: 15px;

    .woocommerce-Price-amount {
      color: red;
      font-size: 18px;
    }
  }
}

.custom-slider-fb {
  .flickity-viewport {

    .icon-box-img img,
    .icon-box-img svg {
      padding-top: 0;
      width: 100%;
      border-radius: 50%;
      border: 1px solid var(--fs-color-secondary);
    }

    .icon-box-text {
      background-color: var(--fs-color-secondary);
      color: #fff;
      padding-left: 0;
      margin-left: 15px;
      padding: 10px;
      border-radius: 8px;
      overflow: hidden;
    }
  }
}

.single-product {
  .woocommerce-notices-wrapper {
    margin-top: 0 !important;
  }

  .product_meta {

    .sku_wrapper,
    .posted_in {
      color: red;

      span {
        color: #000;
      }

      a {
        color: #000;
      }
    }
  }

  .single_variation_wrap {
    .woocommerce-variation-price {
      padding: 20px 0 !important;

      .price {
        font-size: 24px;

        .amount {
          color: red !important;

        }
      }
    }
  }

  .product-short-description {
    border: 1px dashed #c9c9c9;
    background-color: #ebebeb4c;
    border-radius: 10px;
    font-size: 14px;
    font-style: italic;
    padding: 10px;
    margin-bottom: 30px;
  }

  .related-products-wrapper {
    .product-section-title {
      text-align: center;
      color: var(--fs-color-secondary);
      font-size: 140%;
    }

    .product-small.col {
      .col-inner {
        background: #fff;
        color: #000;
        border-radius: 1rem;
        -webkit-box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
        box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -o-transition: .3s;
        transition: .3s;
        position: relative;
        overflow: hidden;
        border-bottom: 3px solid transparent;
        height: 100%;

        .image-tools {
          &.grid-tools {
            /* width: max-content; */
            justify-content: center;
            position: relative;

            .quick-view {
              content: '';
              position: absolute;
              bottom: 21px;
              right: 35%;
              font-size: 0;
              width: 35px;
              height: 35px;
              padding: 5px;
              border-radius: 4px;

              &::before {
                content: '\f06e';
                font-family: 'Font Awesome 7 Free';
                font-family: 900;
                font-size: 18px;
              }
            }

            .add_to_cart_button {
              .cart-icon {
                left: 35%;
                bottom: 15px;
                /* padding: 5px; */
                background-color: var(--fs-color-primary);
                border-radius: 4px;
                overflow: hidden;
                width: 35px;
                height: 35px;
                display: flex;
                align-items: center;
                justify-content: center;

                strong {
                  font-size: 0 !important;
                  color: #fff !important;
                  border: none !important;
                  width: 35px;
                  height: 35px;
                  display: flex;
                  align-items: center;
                  justify-content: center;

                  &::after {
                    content: '\f07a';
                    border: unset !important;
                    font-size: 18px;
                    font-family: 'Font Awesome 7 Free';
                    font-weight: 900;
                    height: 35px;
                    width: 35px;
                    left: unset;
                    top: -1px;
                    margin-left: unset;
                    bottom: unset;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                  }
                }
              }
            }
          }
        }

        .box-text {
          padding: 15px;
		
        }

        &:hover {
          border-color: var(--fs-color-primary);
        }
      }
    }
  }
}

.woocommerce {
  .woocommerce-notices-wrapper {
    margin-top: 40px;
  }
}

.category-page-row {
  .custom-filter-container {
    display: flex;
    gap: 20px;
  }
}



.filter-item {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  padding: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top:50px;
  background-color: #fff;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  border:1px solid var(--fs-color-primary);
  z-index: 1;
  border-radius: 5px;
  padding: 10px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content label {
  display: block;
  padding: 8px 10px;
  cursor: pointer;
  margin-bottom: 0;
}

.dropdown-content label:hover {
  color:var(--fs-color-primary)
}

.dropdown-content input {
  margin-right: 10px;
  margin-bottom: 0;
}