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

#masthead {
  .header-nav-main {
    justify-content: center!important;
  }
}

/* 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 {
    .ux-menu-link__text {
      color: #ffff !important;
      text-align: left !important;
    }

    i {
      color: #fff;
    }
  }

  p {
    padding: 20px 0;
    margin-bottom: 0;
  }

  iframe {
    border-radius: 8px;
    overflow: hidden;
  }
}

.absolute-footer {
  display: none !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;
}
.cusstom-slider-home{
	.banner-bg {
		img {
			object-fit:contain!important;
		}
	}
}
/* END */
.box-service-home {
  .box {
    border-radius: 8px;
    overflow: hidden;

    img {
      border-radius: 8px;
      overflow: hidden;
    }

    .box-text {
      position: absolute;
      top: 0;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;

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

.cf7-company-form {
  max-width: 700px;
  margin: 0 auto;
}

.cf7-row {
  margin-bottom: 18px;
}

.cf7-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a2839;
}

.cf7-row input,
.cf7-row select,
.cf7-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  transition: 0.3s;
  outline: none;
  box-shadow: none;
  height: 45px;
  margin-bottom: 0px;
}

/* .cf7-row select {
height: 59px;
} */

.cf7-row input:focus,
.cf7-row select:focus,
.cf7-row textarea:focus {
  outline: none;
  border-color: #1a2839;
}

.cf7-row textarea {
  min-height: 120px;
  resize: vertical;
}

.cf7-submit {
  text-align: center;
}

.cf7-submit input[type="submit"] {
  background: #1a2839;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

#form-contact {
  .cf7-submit input[type="submit"] {
    background: #1a2839;
    color: #fff;
    border: none;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
  }
  .col {
    padding-bottom: 0 !important;
  }
}

.cf7-submit input[type="submit"]:hover {
  background: #0f1b29;
}

.box-icon {
  .col-inner {
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
  }
}

.box-core {
  .col-inner {
    padding: 40px 20px;
    background: var(--fs-color-primary);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    cursor: pointer;

    .icon-box-text {
      h3 {
        color: #fff;
        font-size: 24px;
        margin-bottom: 10px;
      }

      p {
        color: #fff;
        font-size: 16px;
        margin-bottom: 0;
      }
    }

    &:hover {
      box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    }
  }
}

.sec-service-two {
  .custom-row {
    .col {
      border: 1px solid #fff;

      .col-inner {
        padding: 20px !important;
      }
    }
  }
}

/* ===== SHOP SIDEBAR ===== */
#shop-sidebar {
  background: #ffffff;
  border-radius: 12px;
}

#shop-sidebar .widget {
  padding: 24px 20px;
  background: var(--fs-color-primary);
  border-radius: 8px;
  overflow: hidden;
}

/* Title */
#shop-sidebar .widget-title.shop-sidebar {
  font-size: 18px;
  font-weight: 700;
  color: #014496;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* Divider */
#shop-sidebar .is-divider.small {
  width: 40px;
  height: 3px;
  background: #19b1f8;
  margin: 8px 0 20px;
}

/* Category list */
#shop-sidebar .product-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Item */
#shop-sidebar .product-categories li {
  margin-bottom: 6px;
  border-top: none;
}

/* Link */
#shop-sidebar .product-categories a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

/* Hover */
#shop-sidebar .product-categories a:hover {
  background: #f3f6f6;
  color: #014496;
  padding-left: 18px;
}

/* Active category */
#shop-sidebar .product-categories .current-cat>a {
  background: linear-gradient(90deg, #014496, #19b1f8);
  color: #ffffff;
  font-weight: 600;
}

/* Arrow icon */
#shop-sidebar .product-categories a::before {
  content: "›";
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.25s ease;
  color: #19b1f8;
}

#shop-sidebar .product-categories a:hover::before {
  left: 6px;
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  #shop-sidebar .widget {
    padding: 20px 16px;
  }

  #shop-sidebar .widget-title.shop-sidebar {
    font-size: 16px;
  }

  #shop-sidebar .product-categories a {
    font-size: 14px;
  }
}


/* ===== TOP PRODUCTS SIDEBAR ===== */
.top-products-widget {
  /* background: #fff; */
  border-radius: 10px;
  overflow: hidden;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, .12); */
}

/* Header */
.tpw-header {
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  font-size: 16px;
  text-transform: uppercase;
}

/* List */
.tpw-list {
  padding: 8px 0;
}

/* Item */
.tpw-item {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid #eee;
  transition: background .25s ease;
}

.tpw-item:last-child {
  border-bottom: none;
}

.tpw-item:hover {
  /* background: #f5f8fb; */
}

/* Thumbnail */
.tpw-thumb img {
  width: 56px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* Info */
.tpw-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tpw-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Price / Contact */
.tpw-price {
  font-size: 13px;
  color: #014496;
  font-weight: 600;
}

.tpw-price.contact {
  color: #000;
  font-weight: 400;
}

/* Mobile */
@media (max-width: 768px) {
  .tpw-header {
    font-size: 15px;
  }
}