@charset "utf-8";
/* CSS Document */
@import url("fonts.css");
@import url("reset.css");

/* =================== KEYFRAMES XOAY ẢNH LOADING =================== */
@-moz-keyframes xoayanh {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(720deg);
  }
}

@-o-keyframes xoayanh {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(720deg);
  }
}

@-webkit-keyframes xoayanh {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(720deg);
  }
}

@keyframes xoayanh {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(720deg);
  }
}

/* =================== LOADING =================== */
#loadbody {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999999999;
  width: 100%;
  height: 100%;
  background: rgba(200, 200, 200, 0.5);
}

#loadbody img {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -o-animation: xoayanh 0.7s infinite linear;
  -moz-animation: xoayanh 0.7s infinite linear;
  -webkit-animation: xoayanh 0.7s infinite linear;
  animation: xoayanh 0.7s infinite linear;
}

/* =================== LAYOUT CHUNG =================== */
#wrapper {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

.container img {
  max-width: 100%;
  height: auto;
}

/* =================== HEADER =================== */
#header {
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  z-index: 6000;
  /* Nền cam chuyển */
  background: linear-gradient(90deg, #FF6600, #FF9900);
}

#header h1 {
  position: fixed;
  bottom: 0;
  left: 0;
  font-size: 1px;
  color: #fff;
  z-index: 1;
  opacity: 1;
}

#header .container {
  position: relative;
  text-align: center;
}

#header #logo {
  float: left;
  position: relative;
  top: 5px;
}

#header #mang-top {
  float: right;
  margin-top: 4px;
  margin-right: 15px;
}

#header #mang-top img {
  margin-left: 5px;
}

/* Màu chữ hiển thị trên header */
#header span {
  color: #fff;
  font-size: 18px;
  font-family: "robotocondensedbold", Arial;
  position: absolute;
  right: -53px;
  top: 63px;
}

/* =================== MENU TOP (NGANG) =================== */
#menu {
  width: 100%;
  background: linear-gradient(90deg, #FF6600, #FF9900);
  float: left;
  position: relative;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#menu_top>ul {
  display: table;
  width: 750px;
  margin: 0 auto;
  list-style: none;
}

#menu_top>ul>li {
  display: table-cell;
  text-align: center;
  position: relative;
  line-height: 45px;
  transition: background 0.3s ease-in-out;
}

#menu_top>ul>li:after {
  content: '';
  position: absolute;
  width: 2px;
  height: 45px;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.3);
}

#menu_top>ul>li:last-child:after {
  background: none;
}

#menu_top>ul>li>a {
  color: #fff;
  display: block;
  font-size: 16px;
  font-family: "Roboto", Arial;
  text-transform: uppercase;
  padding: 0 15px;
  transition: color 0.3s;
  text-decoration: none;
}

#menu_top>ul>li>a:hover {
  color: #FFCC66;
  /* Cam nhạt khi hover */
}

/* SUBMENU (dropdown) */
#menu_top>ul>li ul {
  position: absolute;
  top: 50px;
  left: 0;
  display: none;
  background: #FFF5E1;
  /* Nền cam rất nhạt */
  border-radius: 5px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
  z-index: 3000;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
}

#menu_top>ul>li:hover ul {
  display: block;
}

#menu_top>ul>li>ul li {
  width: 230px;
  position: relative;
  background: #FFF5E1;
  line-height: 40px;
  border-bottom: 1px solid #FFCC66;
  padding-left: 10px;
  text-align: left;
  transition: background 0.3s;
  list-style: none;
}

#menu_top>ul>li>ul li a {
  display: block;
  color: #333;
  text-decoration: none;
  padding: 0 10px;
  text-transform: none;
}

#menu_top>ul>li>ul li:hover {
  background: #FFCC66;
  /* Hover submenu */
}


/* =================== DANH MỤC BÊN TRÁI =================== */
#danh-muc {
  float: left;
  width: 260px;
  position: relative;
}

#danh-muc .title_dm {
  font-size: 18px;
  line-height: 42px;
  font-family: "robotocondensedbold";
  background: linear-gradient(to right, #FF6600, #FF9900);
  text-align: center;
  color: #fff;
  border-radius: 5px 5px 0 0;
}

#danh-muc .title_dm>a {
  color: #fff;
  display: block;
  text-decoration: none;
}

#danh-muc>ul {
  position: absolute;
  top: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #ddd;
  border-top: none;
  background: #FFF5E1;
  width: 260px;
  text-align: left;
  height: 492px;
  overflow: auto;
  z-index: 100;
}

#danh-muc>ul>li {
  margin: 0;
  line-height: 40px;
  border-bottom: 1px solid #eee;
  position: relative;
}

#danh-muc>ul>li:last-child {
  border-bottom: none;
}

#danh-muc ul li a {
  display: block;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  padding: 10px 15px 10px 35px;
  /* icon arrow bên trái */
  background: url('../images/arow_03.png') no-repeat 15px center;
  transition: background 0.3s, color 0.3s;
  text-transform: capitalize;
}

#danh-muc ul li:hover>a {
  background: #FFEBCC;
  color: #CC5200;
}

/* Submenu cấp 2,3 */
#danh-muc ul li ul {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #FF9900;
  /* Viền trái để phân biệt */
}

#danh-muc>ul>li>ul>li>a {
  font-size: 13px;
  background: none;
  /* Hoặc icon1.png nếu muốn */
  padding-left: 45px;
}

#danh-muc>ul>li>ul>li>ul>li>a {
  font-size: 13px;
  padding-left: 60px;
  /* lùi sâu hơn */
  background: none;
  /* Hoặc icon2.png */
}

/* =================== THANH TÌM KIẾM =================== */

/* Thanh bao ngoài, xuống dòng dưới menu */
.search {
  display: block;
  text-align: center;
  margin: 10px auto;
  /* Giảm khoảng cách trên/dưới */
  position: static;
  transform: none;
}

/* Hộp tìm kiếm: bo góc nhỏ hơn, padding ít hơn */
.box_search {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  /* bo tròn vừa phải */
  padding: 3px 8px;
  /* giảm padding để nhỏ gọn hơn */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s, transform 0.3s;
}

/* Hover trên toàn bộ box_search */
.box_search:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Khi focus vào input bên trong */
.box_search:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.2);
}

/* Ô input từ khóa */
.box_search #keyword {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  /* chữ nhỏ hơn */
  padding: 4px 8px;
  /* giảm padding */
  border-radius: 20px;
  /* bo tròn đồng bộ */
  min-width: 120px;
  /* chiều rộng tối thiểu, có thể giảm thêm */
}

/* Placeholder màu xám nhạt */
.box_search #keyword::placeholder {
  color: #999;
}

/* Nút "Tìm" */
.box_search #sb_search {
  border: none;
  outline: none;
  background: linear-gradient(to right, #FF6600, #FF9900);
  color: #fff;
  font-size: 14px;
  /* chữ nhỏ hơn */
  padding: 4px 10px;
  /* giảm padding */
  border-radius: 20px;
  cursor: pointer;
  margin-left: 5px;
  /* khoảng cách với input */
  transition: background 0.3s, transform 0.3s;
}

/* Hover, active cho nút "Tìm" */
.box_search #sb_search:hover {
  background: linear-gradient(to right, #FF9900, #FF6600);
  transform: scale(1.05);
}

.box_search #sb_search:active {
  transform: scale(0.95);
}

/* Tùy chỉnh khoảng cách dưới menu (nếu cần) */
#menu_top ul {
  margin-bottom: 10px;
}


/* =================== SLIDER (VÍ DỤ) =================== */
#slider {
  display: inline-block;
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: -1;
  min-height: 60px;
}

.jssorb21 div {
  background: #fff;
  /* bullet trắng */
  border-radius: 50%;
  cursor: pointer;
}

.jssorb21 div:hover,
.jssorb21 .av:hover,
.jssorb21 .av,
.jssorb21 .dn {
  background: #333;
  /* Hover bullet */
}

#slider .caption_slider {
  position: absolute;
  top: 0;
  left: 220px;
  width: 700px;
  height: 250px;
  display: inline-block;
  text-align: center;
  color: #333;
}

#slider .caption_slider .title {
  margin-top: 50px;
  font-size: 60px;
  line-height: 65px;
  color: #333;
  font-family: 'opensanb';
}

#slider .caption_slider .name {
  font-size: 30px;
  line-height: 40px;
  color: #666;
}

#slider .caption_slider .mota {
  font-size: 14px;
  color: #333;
}

#slider .caption_slider .xemthem {
  display: inline-block;
  margin-top: 20px;
  font-size: 16px;
  text-align: center;
  text-transform: uppercase;
  padding: 3px;
  background: #FF6600;
  color: #fff;
}

#slider .caption_slider .xemthem:hover {
  background: #FF9900;
}

/* =================== MAIN CONTENT =================== */
#middle,
#top_content,
#bottom_content {
  width: 100%;
  display: inline-block;
  position: relative;
}

/* Sản phẩm */
.wrap_product {
  width: 19%;
  display: inline-block;
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
}

.product {
  display: inline-block;
  width: 100%;
  position: relative;
  text-align: center;
  font-family: Arial;
}

.product img {
  width: 100%;
  border: thin #999 solid;
}

.product h3 {
  height: 25px;
  overflow: hidden;
  color: #333;
  font-size: 18px;
  font-family: "robotocondensedregular";
  text-transform: capitalize;
}

.product:hover h3 {
  color: #FF6600;
  /* Cam khi hover */
}

.product .mota {
  width: 100%;
  text-align: left;
  color: #000;
  font-size: 14px;
  line-height: 22px;
}

.product .noidung {
  height: 65px;
  padding: 5px;
  background: #FFF5E1;
  /* Cam nhạt */
}

.product .noidung .gia-le {
  float: left;
  color: #646464;
  font-family: "robotocondensedregular";
}

.product .noidung .gia-le b {
  color: #FF6600;
  /* Giá màu cam */
}

.product .noidung .gia-si {
  float: right;
}

.product .noidung .gia-si b {
  color: #FF6600;
}
#product_detail #product_detail_img img {
  /* Đảm bảo ảnh hiển thị gọn, không vượt khung */
  max-width: 100%;
  height: auto;

  /* Đặt chiều cao cố định nếu muốn đồng nhất, ví dụ: */
  /* height: 300px; 
     object-fit: contain; */

  /* Thêm viền, bo góc, nền trắng... */
  border: 2px solid #FF6600;
  border-radius: 8px;
  background-color: #fff;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
#product_detail #product_detail_img img {
  max-width: 100%;
  /* Chiều cao tối đa (ví dụ 350px) */
  max-height: 350px;
  object-fit: contain;

  border: 2px solid #FF6600;
  border-radius: 8px;
  background-color: #fff;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
/* Tiêu đề khối */
.title_main {
  width: 100%;
  display: inline-block;
  margin-bottom: 10px;
  padding-bottom: 15px;
  text-align: center;
  overflow: hidden;
  background: url('../images/bg_title_03.png') no-repeat center bottom;
}

.title_main h2 {
  text-transform: uppercase;
  font-family: "robotocondensedregular", Arial;
  font-size: 30px;
  color: #FF6600;
  /* Cam */
  position: relative;
  display: inline-block;
  line-height: 29px;
  padding: 5px 20px;
  margin: 0px 10px;
}

.title_main h2:before {
  content: '';
  height: 100%;
  width: 10px;
  background: url('../images/leftitle.png') no-repeat right center;
  position: absolute;
  top: 0;
  left: -10px;
}

.title_main h2:after {
  content: '';
  height: 100%;
  width: 10px;
  background: url('../images/rightitle.png') no-repeat left center;
  position: absolute;
  top: 0;
  right: -10px;
}

/* =================== BOX TIN TỨC =================== */
.box_tintuc {
  text-align: left;
  width: 100%;
  float: left;
  display: inline-block;
  padding: 10px;
  font-family: Arial;
  overflow: hidden;
}

.box_tintuc img {
  padding: 3px;
  margin-right: 10px;
  margin-bottom: 10px;
  border: thin #d9d9d9 solid;
  float: left;
}

.box_tintuc img:hover {
  opacity: 0.5;
}

.box_tintuc h3 {
  color: #FF6600;
  /* Tiêu đề tin */
  font-size: 17px;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 22px;
  margin: 0px;
  font-family: "robotocondensedregular", Arial;
}

.box_tintuc h3:hover {
  color: #CC5200;
}

.box_tintuc .mota {
  color: #555;
  font-size: 15px;
  line-height: 22px;
  overflow: hidden;
  font-family: "robotocondensedregular";
}

.box_tintuc .date {
  color: #999;
  font-size: 12px;
  margin-bottom: 5px;
}

.box_tintuc .xemthem {
  color: #bbb;
  font-style: italic;
}

/* =================== BÀI VIẾT LIÊN QUAN =================== */
.baiviet_lienquan {
  width: 100%;
  display: inline-block;
  text-align: left;
}

.baiviet_lienquan .title {
  line-height: 35px;
  font-size: 16px;
  color: #000;
  font-weight: bold;
}

.baiviet_lienquan li {
  list-style-type: square;
  color: #FF6600;
  /* Màu cam thay cho xanh */
  font-size: 20px;
}

.baiviet_lienquan li a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.baiviet_lienquan li a:hover {
  color: #FF6600;
  margin-left: 10px;
  font-weight: bold;
}

/* =================== TABS =================== */
.tabs .tabs_title {
  display: inline-block;
  text-align: center;
  background: #FF6600;
  /* Cam */
  border: thin solid #CC5200;
  border-radius: 10px 10px 0 0;
  margin-bottom: -5px;
}

.tabs .tabs_title li {
  display: inline-block;
  float: left;
  padding: 10px;
  border-right: thin solid #CC5200;
}

.tabs .tabs_title li:last-child {
  border: none;
}

.tabs .tabs_title li a {
  color: #fff;
  text-transform: uppercase;
  font-size: 15px;
  text-decoration: none;
}

.tabs .tabs_hidden {
  width: 100%;
  display: none;
}

.tabs .tabs_hidden:first-child {
  display: inline-block;
}

.tabs .tabcontents {
  overflow: hidden;
  border: thin solid #CC5200;
  padding: 10px;
  margin-bottom: 20px;
}

.tabs .tabcontents img {
  max-width: 100% !important;
  height: auto;
}

/* =================== PHÂN TRANG =================== */
ul.pagination {
  display: inline-block;
  width: 100%;
  margin: 10px 0;
  text-align: center;
  color: #FF6600;
  list-style: none;
  padding: 0;
}

ul.pagination li.page_info {
  display: none;
}

ul.pagination li {
  display: inline;
  padding: 0 3px;
}

ul.pagination a {
  color: #FF6600;
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #FF6600;
  text-decoration: none;
}

ul.pagination a:hover,
ul.pagination a.current {
  background: #FF6600;
  color: #fff;
}

/* =================== NÚT SCROLL TO TOP =================== */
#top {
  background: url(../images/top.png) no-repeat;
  background-size: 100% 100%;
  height: 35px;
  width: 35px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  cursor: pointer;
  z-index: 99999;
}

/* =================== FOOTER =================== */
#footer {
  width: 100%;
  display: inline-block;
  color: #fff;
  background:darkorange ;
  /* Giữ màu đen (hoặc đổi gradient cam) */
  position: relative;
  min-height: 100px;
}

#footer #content_footer {
  text-align: left;
  line-height: 30px;
  height: 260px;
  width: 465px;
  background: rgba(255, 255, 255, 0.1);
  position: absolute;
  left: 70px;
  top: 25px;
  padding: 10px;
  border-radius: 10px;
}

#footer #content_footer span {
  color: #fff;
  font-size: 16px;
  font-family: "robotocondensedregular";
}

#content_footer h1 {
  color: #FF6600;
  font-size: 28px;
  margin-bottom: 25px;
  font-family: "robotocondensedbold";
  text-transform: uppercase;
}

#footer #mangxh {
  padding: 5px 0;
  display: inline-block;
  float: left;
}

#footer #mangxh img {
  margin: 0 5px;
}

#footer #mangxh img:hover {
  opacity: 0.5;
}

#footer .container {
  position: relative;
}

#footer #thongke {
  float: right;
}

/* Thanh copy-right */
#footer #copyright {
  padding: 8px 0;
  text-align: center;
  float: left;
  width: 100%;
  background: #FF6600;
  /* Cam đậm */
}

#footer #copyright b {
  color: #fff;
}

#footer #map_canvas {
  width: 100%;
  height: 320px;
  float: left;
}

/* =================== CHI TIẾT SẢN PHẨM =================== */
.product img {
  width: 100%;
  border: 2px solid #FF6600;
  /* viền cam nổi bật */
  border-radius: 10px;
  /* bo góc nhẹ */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* đổ bóng */
  padding: 5px;
  /* khoảng trắng giữa hình và viền */
  background-color: #fff;
  /* nền trắng bên trong khung */
  transition: all 0.3s ease;
  /* hiệu ứng mượt khi hover */
}

.product:hover img {
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.3);
  /* đổ bóng cam khi hover */
  border-color: #FF4500;
  /* cam đậm khi hover */
}

#product_detail {
  width: 100%;
  display: inline-block;
}

#product_detail #product_detail_img {
  width: 40%;
  float: left;
  text-align: center;
}

#product_detail #product_info {
  width: 60%;
  float: right;
  text-align: left;
  font-size: 16px;
  font-family: "robotocondensedregular", Arial;
}

#product_detail #product_info li {
  padding: 5px 0;
}

#product_info #info-left {
  float: left;
  width: 50%;
  border-right: thin solid #ccc;
}

#product_info #info-right {
  float: right;
  width: 45%;
}

#product_detail #product_info li .addtocart {
  width: 100%;
  display: inline-block;
  height: 35px;
  line-height: 35px;
  background: #FF6600;
  text-align: center;
  color: #fff;
}

#product_detail #product_info li .addtocart:hover {
  color: #FFCC66;
}

#product_detail #product_info .gia {
  font-size: 16px;
}

#product_detail #product_info .gia span {
  color: #FF6600;
}

#product_detail #product_info .gia b {
  text-decoration: line-through;
}

#product_detail #product_info .name {
  font-size: 25px;
  line-height: 30px;
  color: #FF6600;
  text-transform: uppercase;
  font-family: "robotocondensedbold", Arial;
}

#product_detail #thumb {
  width: 100%;
  margin-top: 5px;
  text-align: center;
}

#product_detail #thumb img {
  width: 60px;
  height: 60px;
  display: inline-block;
}

#product_detail .muangay {
  width: 100%;
  display: inline-block;
  line-height: 35px;
  color: #fff;
  font-size: 16px;
  background: #FF6600;
  text-align: center;
  text-transform: uppercase;
}

/* =================== GIỎ HÀNG & BUTTON =================== */
.select_sort {
  float: right;
  width: 250px;
  height: 30px;
  line-height: 30px;
  background: #fff;
  margin-right: 10px;
}

.button_cart {
  display: inline-block;
  line-height: 30px;
  background: #FF6600;
  color: #fff;
  font-size: 16px;
  text-align: center;
  margin-top: 10px;
  margin-right: 10px;
  padding: 0 10px;
  border-radius: 3px;
}

.button_cart:hover {
  background: #FF9900;
}

/* =================== OWL CAROUSEL BUTTONS =================== */
.owl-prev,
.owl-next {
  text-indent: 10000px;
  height: 100%;
  width: 35px;
  position: absolute;
  top: 0;
  overflow: hidden;
}

.owl-prev {
  left: -30px;
  background: url(../images/prev.png) no-repeat center;
}

.owl-next {
  right: -30px;
  background: url(../images/next.png) no-repeat center;
}

/* =================== BOX GALLERY =================== */
.box_gallery {
  width: 25%;
  padding: 1%;
  float: left;
}

.box_gallery img {
  width: 100%;
  border: thin #d9d9d9 solid;
  padding: 2px;
  background: #fff;
  box-shadow: 5px 5px 0px #ddd;
}
