/*  */

/* Fix potential overflow in other sections */
body {
  overflow-x: hidden;
  width: 100%;
}

i.test {
  color: red;
}

.header {
  background: rgb(255, 255, 255);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.header {
  border-bottom: 1px solid #ddd;
}

.header-item {
  width: 100%;
  overflow-x: hidden;
}

.header-item .container {
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}

.header-item {
  background: #ffd700;
  color: black;
  padding: 10px;
}

.header .inner-logo img {
  height: 50px;
  width: 100px;
  margin-left: 50px;
}

.header .icon-search {
  font-size: 30px;
}

.header .btn-cart {
  background: fixed;
  border: none;
  color: white;
}

.header .btn-account {
  color: black;
  font-size: 20px;
  text-decoration: none;
  font-weight: bold;
  background: #ffc107;
}

.header i.btn-cart {
  font-size: 20px !important;
  color: #ffc107;
  margin-left: 20px;
  border: 2px solid #ffc107;
  border-radius: 50px;
  padding: 10px;
}
.header .btn-login {
  margin-left: 190px;
}
.header .btn-account {
  margin-left: 220px;
}

.header span.text-phone {
  font-size: 18px;
  font-weight: bold;
  margin-top: 25px;
  padding: 5px;
}

.header .inner-menu > ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
}
.header .inner-menu-log > ul {
  list-style: none;
  padding: 0;
  margin: 0;

  align-items: center;
  flex-wrap: wrap;
}

.header .inner-menu > ul > li {
  margin: 0 10px;
}
.footer {
  background: black;
  color: #fff;
  padding: 10px;
}

.header .header-inner {
  margin-left: 70px;
}
.header .inner-menu > ul > li > a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
}

/* end header  */

/* satrt menu */
.sub-menu {
  position: relative;
  z-index: 999;
}

.sub-menu ul {
  position: absolute;
  left: 0;
  top: 100%;
  list-style: none;
  padding: 0;
  background: white;
  border: 1px solid #ddd;
  min-width: 180px;
  display: none;
}

.sub-menu ul li {
  padding: 10px;
}

.sub-menu:hover > ul {
  display: block;
  opacity: 1;
  visibility: visible;
}

.sub-menu ul li {
  position: relative;
}

.sub-menu ul li ul {
  left: 100%;
  top: 0;
  margin-left: -10px;
}

.sub-menu ul > li a {
  font-size: 12px;
  font-weight: lighter;
  list-style: none;
  text-decoration: none;
  color: black;
}

.sub-menu ul li:hover > ul {
  display: block;
}

.sub-menu ul li:hover {
  background: #eae9e9;
}

/* end menu  */

/* sider  */
/* body  */

.body .container ul.sub-cart li {
  list-style: none;
}

.body .container img.img-cart {
  width: 70px;
  height: 70px;
}
.body .container table td.border-none {
  border-left: none !important;
  border-right: none;
}
.body .container table td.border-left-none {
  border-left: none !important;
}
.body .container table td.border-right-none {
  border-right: none !important;
}
.body .container table td.checkbox {
  vertical-align: middle;
  text-align: center;
}

.body .container table td a.product-info,
.body .container table td {
  text-decoration: none;
  font-size: 16px;
  vertical-align: middle;
  color: black;
  /* or inline-block */
}

.container .text-title {
  margin-top: 5px;
  font-size: 30px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}
.container section .text-category {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 28px;
  font-weight: bold;
  color: black;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-sm-3 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-sm-9 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* body  */
body {
  padding-top: 120px;
  /* Adjust this value based on the height of your header */
}

[show-alert] {
  position: fixed !important;
  top: 120px;
  right: 15px;
  float: right;
  z-index: 9999;
}

[show-alert].alert-hidden {
  animation-name: alert-hidden;
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

@keyframes alert-hidden {
  from {
    right: 15px;
  }

  to {
    right: -100%;
    display: none;
  }
}

.button-add-quantity {
  display: flex;
  align-items: center;
}

.button-add-quantity input[type="button"] {
  background-color: #7ca0c8;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin: 0 5px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.button-add-quantity input[type="button"]:hover {
  background-color: #0056b3;
}

.button-add-quantity input[type="text"] {
  text-align: center;
  width: 40px;
  /* Adjusted width for better appearance */
  padding: 4px;
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 0 5px;
}

/* item  */

.single-item {
  border: 1px solid #ddd;
  padding: 10px;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}

.single-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.single-item-header {
  text-align: center;
  margin-bottom: 5px;
}

.single-item-header img {
  margin-top: 20px;
  max-width: 100%;
  width: 130px;
  height: 130px;
}

.single-item-body {
  margin-bottom: 10px;
}

.single-item .single-item-body .single-item-title a {
  font-size: 16px;
  text-align: center;
  color: black;
  font-weight: bold;
}
a.truncate-text {
  display: inline-block;
  max-width: 170px; /* Chiều rộng giới hạn */
  white-space: nowrap; /* Không xuống dòng */
  overflow: hidden; /* Ẩn phần văn bản thừa */
  text-overflow: ellipsis; /* Thêm dấu ba chấm */
  vertical-align: top;
}

.single-item-price {
  margin-bottom: 10px;
}

.single-item-price .price-payment {
  font-size: 20px;
  color: red;
  font-weight: bold;
}
.single-item-price .price-payment-home {
  font-size: 17px;
  color: red;
  font-weight: bold;
}

.single-item-price .price {
  font-size: 12px;
  text-align: start !important;
  float: right;
  margin-top: 4px;
  text-decoration: 1px solid line-through;
}
.price-margin {
  margin-left: 30px !important;
  font-size: 14px;
  text-decoration: line-through;
}

.single-item-price .price-payment-details {
  font-size: 18px;
  color: red;
  font-weight: bold;
  margin-right: 30px;
}

.single-item-price span.price-details {
  font-size: 18px;
  color: rgb(20, 151, 99);
  font-weight: bold;
  text-decoration: line-through;
  margin-right: 30px;
}

.heart-icon {
  float: right;
  font-size: 24px;
  color: red;
  cursor: pointer;
}

.single-item-compare ul.list-item-feature {
  display: flex;
}
.single-item-compare ul.list-item-feature li {
  list-style: none;
  margin-right: 35px;
  margin-left: -30px;
  background: #ffffe0;

  height: 22px;
  font-size: 10px !important;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 2px;
}

.sing-item-storage {
  text-align: center;
}

.single-item-storage ul.list-item-storage {
  display: flex;
}
.single-item-product {
  height: auto !important;
}

.single-item-storage ul.list-item-storage li {
  list-style: none;
  width: 70px;
  margin-top: -5px;
  margin-right: 50px;
  margin-left: -33px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 5px;
}
.single-item-storage ul.list-item-storage li.selected {
  border: 1px solid blue;
  border-radius: 5px;
  color: blue;
  cursor: pointer;
}
.single-item-color ul.list-item-color li.selected {
  border: 1px solid blue;
  border-radius: 5px;
  color: blue;
  cursor: pointer;
}

.single-item-color ul.list-item-color {
  display: flex;
}
.single-item-product {
  height: auto !important;
}
.single-item-height {
  height: 400px !important;
}

.single-item-color ul.list-item-color li {
  list-style: none;
  width: 130px;
  margin-left: -33px;
  margin-right: 50px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 8px;
}

.single-item-caption a.cart {
  display: inline-block;
  margin-right: 30px;
  color: #ffc107;
  font-size: 20px;
  width: 50px;
  border: 2px solid #ffc107;
  padding: 10px;
  padding-left: 3px;

  border-radius: 50px;
  transition: background-color 0.3s ease-in-out;
}

.single-item-caption a:hover {
  background-color: #286090;
}

.sing-item .star-rating {
  text-align: left !important;
}
.star-right {
  position: absolute;
  top: 0px;
  font-size: 20px;
  right: 10px;
}

.beta-btn.primary {
  background-color: #ffffff;
  font-weight: bold;
  color: rgb(203, 13, 19);
  text-decoration: none;
  border: 1px solid rgb(255, 0, 0);
}

.beta-btn.primary:hover {
  background: #ffffff;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.fa-shopping-cart,
.fa-chevron-right {
  margin-left: 5px;
}

/* detail */
.single-item-body .single-item-detail-title {
  text-align: left;
}
section.detail {
  margin-left: 120px;
  margin-right: 120px;
}
.detail .page-title {
  margin-left: 30px !important;
}
.detail .product-name {
  font-size: 30px;
  margin-top: -10px;
  display: flex;
  font-weight: bold;
  margin-left: 30px !important;
}
.main-products .product-avatar {
  text-align: center !important;
}
.main-products .product-avatar img {
  border-radius: 30px;
}

img.list-img-detail {
  width: 50%;
  max-width: 50px;
  max-height: 50px;
  margin-left: 10px;
  border: 1px solid #fff;
}

.product-avatar ul.list-product-avatar {
  padding-top: 20px;
  border-top: 1px solid #fff;
  display: flex;
  justify-content: center;
}
.product-avatar ul.list-product-avatar li {
  margin-right: 5px;
  margin-left: 5px;
  list-style: none;
}
img.list-img-detail {
  width: 50%;
  max-width: 50px;
  padding: 5px;
  max-height: 50px;
  margin-left: 10px;
  border-radius: 5px !important;
  border: 1px solid #ddd;
}

.btn-prev,
.btn-next {
  position: absolute;
  top: 10px; /* Adjust this value as needed */
  z-index: 1;
}

.btn-prev {
  left: 10px;
  top: 200px; /* Adjust the horizontal positioning */
}

.btn-next {
  right: 10px;
  top: 200px; /* Adjust the horizontal positioning */
}

/* footer */
/* Custom Footer Styles */
/* Custom Footer Styles */
#footer {
  background-color: #f2eeee;
}

.widget-title {
  color: red;
  font-size: 18px;
  font-weight: bold;
}

.footer-text {
  font-size: 14px;
}

.footer-list li {
  margin-bottom: 5px;
}

.footer-list li a {
  color: black;
  text-decoration: none;
}

.contact-info {
  margin-top: 15px;
}

.copyright {
  background-color: #343a40;
  color: #fff;
  font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
}

@media (max-width: 767.98px) {
  .footer-list li {
    margin-bottom: 3px;
  }
}

/* end footer    */

/* container  */
/* Custom Styles for Your Website */

/* Style for product thumbnail */
.row-option {
  height: 10px;
}

.single-item-discount {
  width: 70px;
  height: 30px;
  border: 1px solid white;
  margin-top: -10px;
  margin-left: -10px;

  color: #fff;
  font-weight: bold;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  background: red;
  animation: blink 0.2s infinite alternate;
}
.single-item-discount .discount {
  font-size: 16px;
  padding-left: 10px;
}

.row span.featured {
  font-size: 1rem;
  /* Default font size */
  color: #fff;
  float: right;
  margin-top: -5px;
  font-weight: bold;
  font-size: 18px !important;
  background: rgb(14, 128, 24);
  padding: 0.5rem;
  animation: blink 0.2s infinite alternate;
}

/* Specific styles for different breakpoints */

@media (min-width: 768px) {
  .featured {
    font-size: 1.5rem;
    top: -1rem;
    left: 10rem;
  }
}

@media (min-width: 992px) {
  .featured {
    font-size: 2rem;
    top: -1.5rem;
    left: 15rem;
  }
}

/* Medium screens (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
  .row span.featured {
    margin-top: -5px;
    margin-left: 180px;
    font-size: 13px;
  }
}

/* Small screens (mobiles) */
@media (max-width: 767px) {
  .row span.featured {
    margin-left: 120px;
    font-size: 11px;
  }
}

.single-item-body img {
  margin-top: 20px;
  max-width: 100%;
  width: 110px;
  height: 110px;
}

/* Style for single item title */

.single-item-body .single-item-title {
  margin-top: 10px;
  margin-bottom: 3px;
  color: rgb(0, 0, 0);
}

/* Style for single item price */

/* Style for options */
.single-item-options {
  display: flex;
}

.single-item-options {
  font-size: 15sm;
  margin-top: -10px;
}

.single-item-options select {
  width: 100px;
  margin-right: 5px;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
}

.single-item-options a.add-to-cart {
  display: inline-block;
  color: #fff;
  height: 100%;
  padding: 8px 8px;
  border-radius: 4px;
  background: rgb(7, 106, 65);
  text-decoration: none;
}

.single-item-options a.add-to-cart:hover {
  background-color: #0056b3;
}
.single-item-options button.btn-buynow {
  width: 220px;
  display: inline-block;
}

.single-item-options button.btn-addtocart {
  width: 220px;
}
.single-item-caption {
  text-align: center;
}

/* WooCommerce Tabs */
.tabs.nav.nav-tabs {
  border-bottom: none;
}

.tabs.nav.nav-tabs li.nav-item {
  margin-bottom: 0;
}

.tabs.nav.nav-tabs li.nav-item a.nav-link {
  border: none;
  background: #76bb68;
  color: #f3e5ca;
  font-weight: bold;
}

.tabs.nav.nav-tabs li.nav-item a.nav-link.active {
  color: #007bff;
  border-bottom: 2px solid #007bff;
}

.tab-content .tab-pane {
  padding: 20px 0;
}

/* Space utilities */
.space20 {
  margin-top: 20px;
}

.space40 {
  margin-top: 40px;
}

.space50 {
  margin-top: 50px;
}

/* detail products */
.main-products {
  margin: 20px 30px 10px 30px;
}

.card .card-body .text-title {
  font-size: 20px;
  font-weight: bold;
  color: #157c15;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.card-body .card-description.text-detail .text-description {
  padding-left: 20px;
  font-size: 12px !important;
}

@media (max-width: 991.98px) {
  .header .inner-logo img {
    height: 40px;
    width: 80px;
    margin-left: 10px;
  }

  .header .icon-search {
    font-size: 24px;
  }
  .inner-menu > ul > li > a {
    font-size: 14px !important;
  }
  .inner-menu > ul > li.nav-item-info,
  .inner-menu > ul > li.nav-item-shop {
    display: none;
  }
  .btn-account,
  .btn-login {
    margin-left: 125px !important;
  }

  .header .btn-account {
    font-size: 16px;
  }

  .header i.btn-phone {
    font-size: 20px;
  }

  .header span.text-phone {
    font-size: 16px;
    margin-top: 15px;
  }
}

@media (max-width: 767.98px) {
  .header {
    padding: 10px;
  }

  .header .inner-logo img {
    height: 30px;
    width: 60px;
    margin-left: 5px;
  }

  .header .icon-search {
    font-size: 20px;
  }

  .header .btn-account {
    font-size: 14px;
  }

  .header i.btn-phone {
    font-size: 18px;
  }

  .header span.text-phone {
    font-size: 14px;
    margin-top: 10px;
  }

  .header .inner-menu > ul > li {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767.98px) {
  .header {
    padding: 0px;
    height: 70px;
  }

  .header .inner-logo img {
    height: 40px;
  }

  .header .icon-search {
    font-size: 20px;
  }

  .header .btn-cart,
  .header .btn-account {
    font-size: 14px;
  }

  .header .inner-menu {
    /* Hide menu by default */
    width: 100%;
    background: white;

    padding: 10px;
  }
  .nav-item-toggle {
    display: block !important;
    margin-left: 60px; /* Hiển thị thẻ khi màn hình nhỏ */
  }

  .header .inner-menu.active {
    display: block;
    /* Show menu when toggled */
  }

  .header .inner-menu > ul li.nav-item-phone,
  li.nav-item-account {
    display: none;
  }

  .header .menu-toggle {
    display: block;
    /* Show menu toggle button */
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
  }

  .header .menu-toggle i {
    font-size: 24px;
  }

  .header .inner-menu > ul li.nav-item-cart {
    display: block;
    margin-left: 5px;
    padding-right: 10px;
    width: 70px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
  }

  .header .inner-menu > ul > li > a:hover {
    background: #f0f0f0;
  }
}

li.nav-item-toggle {
  display: none;
}

/* login and régister */

/* register */
.body-register {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  background-position: center;
  background-size: cover;
}

.register-box {
  position: relative;
  width: 470px;
  height: 650px;
  padding: 10px 30px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #ddd;
}

.register-header {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 20px 0 20px 0;
}

.register-header header {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  font-size: 30px;
  margin-bottom: Spx;
}

.register-header p {
  color: #555;
}

.register-box .name {
  display: flex;
}

.input-box {
  position: relative;
  width: 100%;
}

.input-box label {
  position: absolute;
  top: 7px;
  left: 15px;
  color: #555;
  transition: 0.15s ease-in-out;
}

.input-box .input-field {
  font-size: 1em;
  color: #333;
  padding-left: 15px;
  padding-bottom: 15px;
  padding-top: 15px;
  border: 1px solid #ddd;
  border-radius: 3px;
  outline: none;
  width: 96%;
  height: 40px;
  margin-bottom: 10px;
}

.input-box .input-lock {
  font-size: 1em;
  color: #333;
  padding-left: 15px;
  padding-bottom: 15px;
  padding-top: 15px;
  border: 1px solid #ddd;
  border-radius: 3px;
  outline: none;
  background: #e6dcdc;
  width: 96%;
  height: 40px;
  margin-bottom: 10px;
}

.input-box input[type="password"] {
  margin-bottom: 10px;
}

.input-box .input-field:focus {
  border: 2px solid #8749f2;
}

.input-field:focus ~ label,
.input-field:valid ~ label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  color: #7931f5;
  background: #fff;
  padding: 0 5px;
}

.input-box label.focus {
  top: -8px;
  left: 12px;
  font-size: 12px;
  color: black;
  background: #e6dcdc;
  padding: 0 5px;
}

.input-field:valid ~ label {
  color: #555;
}

.forgot {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

#check {
  margin-right: 10px;
}

section .forgot-link {
  font-weight: 500;
  text-decoration: none;
  color: #7931f5;
}

.input-submit {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  color: #fff;
  background: #7931f5;
  border: none;
  border-radius: 5px;
  width: 96%;
}

.middle-text {
  position: relative;
  width: 100%;
  margin: 30px 0;
}

.or-text {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #777;
  padding: 15px;
  margin-top: -10px;
}

hr {
  border: 1px solid #ddd;
}

.social-sign-up {
  display: flex;
  gap: 15px;
}

.input-social {
  width: 96%;
  margin: 0px 0px 5px;
  border: 1px solid #ad1c1c;
}

.input-social img {
  width: 25px;
}

.input-social p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  margin-left: 20px;
  width: 100%;
  display: inline;
}

.input-google:hover,
.input-twitter:hover,
.input-submit:hover {
  opacity: 0.9;
}

.sign-up {
  position: absolute;
  bottom: -10px;
  right: 0;
}

.sign-up p {
  font-size: 14px;
}

.sign-up p > a {
  text-decoration: none;
}

@media only screen and (max-width: 510px) {
  .login-box {
    padding: 10px 30px;
    margin: 20px;
  }
}

@media only screen and (max-width: 415px) {
  .login-box {
    padding: 10px 25px;
    margin: 15px;
  }
}

/* login  */
.body-login {
  margin-bottom: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
}

.login-box {
  position: relative;
  width: 470px;
  height: 550px;
  padding: 10px 30px;
  background: #fff;
  border: 1px solid #ddd;
}

.login-header {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 20px 0 50px 0;
}

.login-header header {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  font-size: 30px;
  margin-bottom: 5px;
}

.login-header p {
  color: #555;
}

section .forgot-link {
  font-weight: 500;
  text-decoration: none;
  color: #7931f5;
}

.sign-up {
  position: absolute;
  bottom: -12px;
  right: 0;
}

.sign-up p {
  font-size: 14px;
}

.sign-up p > a {
  text-decoration: none;
}

@media only screen and (max-width: 510px) {
  .login-box {
    padding: 10px 30px;
    margin: 20px;
  }
}

@media only screen and (max-width: 415px) {
  .login-box {
    padding: 10px 25px;
    margin: 15px;
  }
}

.body-forgotpassword {
  margin-bottom: 50px;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
}

.forgot-password-box {
  position: relative;
  width: 460px;
  height: 210px;
  padding: 10px 30px;
  background: #fff;
  border: 1px solid #ddd;
}

.otp-forgotpassword {
  margin-bottom: 50px;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
}

.otp-password-box {
  position: relative;
  width: 460px;
  height: 250px;
  padding: 10px 30px;
  background: #fff;
  border: 1px solid #ddd;
}
.send-otp {
  margin-top: 25px;
  text-align: right;
  margin-right: 15px;
}

/* end login and régister */

/* chat  */
chat-body {
  height: 400px;
  overflow-y: auto;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  align-items: flex-end;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.message-bubble {
  padding: 10px 15px;
  border-radius: 15px;
  position: relative;
}

.message-bubble span {
  max-width: 60%;
  padding: 10px 15px;
  border-radius: 15px;
  position: relative;
}
.sender {
  align-self: flex-end;
}
.sender .message-bubble {
  color: white;
  background: #fe5da3;
  border-radius: 20px;
}
.sender .inner-images img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #efefef;
  padding: 10px;
  margin: 5px 5px 5px 0;
  border-radius: 5px;
}
.sender .inner-images {
  margin-left: auto;
  text-align: right;
}
.receiver .inner-images img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #efefef;
  padding: 10px;
  margin: 5px 5px 5px 0;
  border-radius: 5px;
}
.receiver .inner-images {
  margin-left: auto;
  text-align: left;
}

.receiver {
  align-self: flex-start;
}
.receiver .message-bubble {
  background-color: #f1f0f0;
  color: black;
  border-radius: 20px;
}
.card-footer .input-group button.btn-send {
  background: #fe5da3;
  border: 1px solid #fe5da3;
  width: 30px;
  height: 30px;
  margin-top: 8px;
  border-radius: 15px 15px 15px 15px !important;
}

.input-group input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.tooltip {
  visibility: hidden;
}
.btn-icon {
  width: 25px;
  font-size: 24px;
  margin-right: 10px;
  color: #fe5da3;
  margin-top: 10px;
  border: 1px solid #fff;
}
.btn-image {
  width: 25px;
  font-size: 24px;
  margin-right: 10px;
  color: #fe5da3;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 1px solid #fff;
}
.inner-preview-images {
  position: relative;
}
.inner-preview-images .label-container {
  display: none !important;
}
.inner-preview-images .input-container {
  display: none !important;
}
.inner-preview-images .image-preview {
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important  ;
}
.inner-preview-images .image-preview-item {
  background-size: contain !important;
  width: 90px !important;
}
.tooltip.shown {
  visibility: visible;
  opacity: 1;
}
/* end chat  */

/* typing */
.inner-list-typing {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.box-typing {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  max-width: 300px;
}

.inner-name {
  font-weight: bold;
  height: 30px;
  margin-left: 10px;
  padding-left: 8px;
  margin-top: 2px;
  margin-right: 10px;
  border-radius: 50px;
  background-color: #f0f0f0;
}

.inner-dots {
  display: flex;
  background-color: #f0f0f0;
  gap: 4px;
  width: 50px;
  padding-left: 8px;
  border-radius: 15px;
  border-bottom-left-radius: 0;
  align-self: flex-start;
  height: 30px;
}

.inner-dots span {
  display: block;
  width: 8px;
  height: 8px;
  margin-top: 10px;
  background-color: #555;
  border-radius: 50%;
  animation: typing 1.5s infinite ease-in-out;
}

.inner-dots span:nth-child(1) {
  animation-delay: 0s;
}

.inner-dots span:nth-child(2) {
  animation-delay: 0.3s;
}

.inner-dots span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  30% {
    transform: translateY(-6px);
    opacity: 0.5;
  }
}
@media (max-width: 768px) {
  .header-item {
    background: none;
    display: none;
  }

  p.page-title {
    margin-top: -50px !important;
  }

  .inner-category {
    display: none;
  }

  .inner-logo {
    display: none;
  }
  .slider {
    margin-top: -40px !important;
  }
  .inner-search {
    margin-left: 20px;
  }

  /* Các thay đổi phong cách khác cho thiết bị di động */
}

.slider {
  margin: 0px 5px 5px 5px;
}
.card-text.card-hide {
  display: -webkit-box; /* Hỗ trợ cho trình duyệt Webkit */
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 30; /* Số dòng hiển thị trước khi ẩn */
}
.inner-menu .nav-item-near {
  margin-right: 20px;
}
body {
  font-size: 16px; /* Kích thước mặc định */
}

.btn {
  padding: 10px 20px; /* Kích thước mặc định */
}
.singer-item-title {
  font-size: 25px;
}
.singer-item-price {
  font-size: 20px;
}

/* Khi chiều rộng màn hình nhỏ hơn 768px */
@media (max-width: 768px) {
  body {
    font-size: 14px; /* Giảm kích thước chữ */
  }
  .nav-item-cart {
    border: none !important;
  }

  .inner-menu {
    font-size: 5px !important;
  }
}

/* Khi chiều rộng màn hình nhỏ hơn 576px */
@media (max-width: 576px) {
  body {
    font-size: 12px; /* Giảm thêm kích thước chữ */
  }

  .btn {
    padding: 6px 12px; /* Giảm thêm kích thước nút */
    font-size: 10px; /* Giảm thêm kích thước chữ trên nút */
  }
}
@media (max-width: 450px) {
  .main-products {
    margin-top: -20px !important;
  }
  .card .card-body .text-title {
    font-size: 15px;
  }
  .card-header img {
    width: 80% !important;
    padding-left: 52px;
  }
  .card-info {
    display: none !important;
  }
  .card-body.card-description {
    display: none;
  }
  .single-item-title {
    font-size: 18px !important;
  }
  .price-details {
    font-size: 15px !important;
  }
  .price-payment-details {
    font-size: 15px !important;
  }
  .single-item-options {
    font-size: 15px !important;
  }
}

table.table-cart th,
table.table-cart td {
  border: 1px solid #ddd;
}

.qr-code img {
  width: 200px;
}
.qr-code .hint {
  margin-top: 10px;
  color: red;
}
.container-qr {
  margin-top: 100px;
  height: 70%;
}
.container-qr .information {
  padding-left: 100px;
}
.container-qr .modal-footer {
  display: flex;
  justify-content: center;
}
.container-qr .wait-payment {
}

div#paymentSuccessModal {
  vertical-align: middle;
  margin-top: 200px;
}
div#paymentSuccessModal .payment-success {
  font-size: 30px;
}
.hide {
  display: none !important;
}

/* history  */
.order-history {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.order-history .order-card {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  background-color: #fff;
}

.order-history .order-header {
  display: flex;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  justify-content: space-between;
  align-items: center;
}
.order-history .order-header .text-delivery {
  float: right !important;
}
.order-history .pay-free-15 {
  font-size: 12px;
  border-radius: 8px;
  padding: 3px;
}

.order-history .fa-heart {
  color: red;
  font-size: 1.5rem;
}

.order-history .status {
  background-color: #4caf50;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}

.order-history .order-content {
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  margin-top: 15px;
}
.order-content .product-details {
  margin-left: 10px;
}
.product-details .product-category {
  font-size: 13px;
  font-weight: 300;
  color: black;
  display: block;
}
.product-details .product-quantity {
  font-size: 14px;
  font-weight: 700;
}
.product-details .product-title {
  color: black;
}
.product-price-info .product-price {
  padding-right: 10px;
  font-size: 14px;
  /* text-decoration: line-through; */
  font-weight: 100;
}
.product-price-info .product-price-payment {
  font-size: 15px;
}

.order-history .product-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.order-history .product-details {
  flex-grow: 1;
}
.order-history .product-details .flex-item {
  justify-content: space-between;
}

.order-history .order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.order-history .actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.order-history .btn-review {
  font-size: 13px !important;
  padding: 8px !important;
  border-radius: 5% !important;
}

.order-history .btn-reorder {
  margin-left: 10px;
  font-size: 13px !important;
  padding: 8px !important;
  border-radius: 5% !important;
}

.order-history .total-price {
  font-weight: bold;
  vertical-align: middle;
  font-size: 17px;
}
.text-history-order {
  margin-top: -30px !important ;
  margin-bottom: 20px;
}
.table-order th,
.table-order td {
  border: 1px solid #ddd;
}

/*end history */

/* end typing  *
    /* Hero Slider Styling */
.hero-slider {
  margin-top: -1rem;
}

.carousel {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-item {
  height: 400px;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0;
  transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  opacity: 0.8;
}

/* Section Styling */
.section-header {
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 3px;
  background: #ffc107;
  border-radius: 3px;
}

.btn-outline-warning {
  border-width: 2px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-warning:hover {
  transform: translateX(5px);
}

/* Product Grid Styling */
.grid-products {
  margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .carousel-item {
    height: 300px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }

  .btn-outline-warning {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .carousel-item {
    height: 200px;
  }
}

/* Product Card Styling */
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.product-image {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: #f8f9fa;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.badge-text {
  background: #ff4444;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Quick Actions */
.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.btn-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-action:hover {
  background: #ffc107;
  color: white;
}

/* Product Info */
.product-info {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.product-category a {
  color: inherit;
  text-decoration: none;
}

.product-title {
  margin-bottom: 8px;
}

.product-title a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.product-title a:hover {
  color: #ffc107;
}

.price-new {
  color: #ff4444;
  font-weight: 600;
  font-size: 1.1rem;
}

.price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-left: 8px;
}

/* Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}

.stars {
  color: #ffc107;
  font-size: 0.8rem;
}

.rating-count {
  color: #6c757d;
  font-size: 0.8rem;
}

/* Add to Cart Button */
.product-cta {
  margin-top: auto;
}

.btn-add-cart {
  width: 100%;
  padding: 8px;
  border: none;
  background: #ffc107;
  color: #333;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  background: #ffb300;
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .product-actions {
    opacity: 1;
    transform: translateX(0);
  }

  .product-title a {
    font-size: 0.9rem;
  }

  .price-new {
    font-size: 1rem;
  }
}

/* Product Card Styling */
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.product-image {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: #f8f9fa;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.badge-text {
  background: #ff4444;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Quick Actions */
.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.btn-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-action:hover {
  background: #ffc107;
  color: white;
}

/* Product Info */
.product-info {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Specifications */
.product-specs {
  margin: 8px 0;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specs-list li {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.specs-list li i {
  color: #ffc107;
}

/* Storage Options */
.product-storage {
  margin: 12px 0;
}

.storage-title {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.storage-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.storage-btn {
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  color: #666;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.storage-btn:hover,
.storage-btn.active {
  background: #ffc107;
  border-color: #ffc107;
  color: white;
}

/* Title */
.product-title {
  margin-bottom: 8px;
}

.product-title a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.product-title a:hover {
  color: #ffc107;
}

.price-new {
  color: #ff4444;
  font-weight: 600;
  font-size: 1.1rem;
}

.price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-left: 8px;
}

/* Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}

.stars {
  color: #ffc107;
  font-size: 0.8rem;
}

.rating-count {
  color: #6c757d;
  font-size: 0.8rem;
}

/* Add to Cart Button */
.product-cta {
  margin-top: auto;
}

.btn-add-cart {
  width: 100%;
  padding: 8px;
  border: none;
  background: #ffc107;
  color: #333;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  background: #ffb300;
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .product-actions {
    opacity: 1;
    transform: translateX(0);
  }

  .product-title a {
    font-size: 0.95rem;
  }

  .price-new {
    font-size: 1rem;
  }

  .storage-options {
    gap: 6px;
  }

  .storage-btn {
    padding: 3px 10px;
    font-size: 0.8rem;
  }
}

.card {
  border: none;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Product Gallery Styles */
.product-gallery-card {
  background: #fff;
  overflow: hidden;
}

.image-container {
  position: relative;
  padding: 30px;
  background: #fff;
}

#main-thumbnail {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

#main-thumbnail:hover {
  transform: scale(1.05);
}

.btn-prev,
.btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: all 0.3s ease;
}

.btn-prev {
  left: 15px;
}

.btn-next {
  right: 15px;
}

.btn-prev:hover,
.btn-next:hover {
  background: #ffc107;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.list-product-avatar {
  display: flex;
  gap: 15px;
  padding: 20px;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.list-img-detail {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 10px;
}

.list-img-detail:hover {
  border-color: #ffc107;
  transform: scale(1.1);
}

/* Product Details Styles */
.product-details-card {
  background: #fff;
}

.single-item-detail-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.single-item-price {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
}

.price-title {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
}

.price-payment {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff4444;
  margin-left: 15px;
}

.price-margin {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 15px;
}

/* Feature List Styles */
.list-item-feature {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.list-item-feature li {
  padding: 12px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 10px;
  color: #555;
  font-weight: 500;
  transition: all 0.3s ease;
}

.list-item-feature li:hover {
  background: #ffc107;
  color: white;
  transform: translateX(5px);
}

/* Storage Options Styles */
.list-item-storage {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.list-item-storage li {
  padding: 10px 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.list-item-storage li:hover {
  background: #ffc107;
  border-color: #ffc107;
  transform: translateY(-3px);
}

.list-item-storage li:hover a {
  color: white !important;
}

/* Color Options Styles */
.list-item-color {
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.list-item-color li {
  padding: 10px 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.list-item-color li:hover {
  background: #ffc107;
  border-color: #ffc107;
  color: white;
  transform: translateY(-3px);
}

/* Form Controls Styles */
.single-item-options {
  margin-top: 25px;
}

.single-item-options label {
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  display: block;
}

.single-item-options input[type="number"] {
  max-width: 150px;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  transition: all 0.3s ease;
}

.single-item-options input[type="number"]:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Button Styles */
.btn-addtocart,
.btn-buynow {
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-addtocart {
  background: #28a745;
  border: none;
}

.btn-buynow {
  background: #dc3545;
  border: none;
}

.btn-addtocart:hover {
  background: #218838;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-buynow:hover {
  background: #c82333;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Info Cards Styles */
.card-info {
  margin-top: 25px;
}

.text-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.text-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffc107;
}

.text-description {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Related Products Styles */
.beta-products-list {
  margin-top: 50px;
}

.beta-products-list h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.beta-products-list h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background: #ffc107;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .single-item-detail-title {
    font-size: 1.6rem;
  }

  .list-img-detail {
    width: 70px;
    height: 70px;
  }

  .btn-addtocart,
  .btn-buynow {
    width: 100%;
    margin: 10px 0;
  }

  .price-payment {
    font-size: 1.5rem;
  }

  .price-margin {
    font-size: 1rem;
  }
}

.product-gallery {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.main-image-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.main-image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}

.btn-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-control:hover {
  background: #ffc107;
  color: white;
}

.thumbnail-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px;
}

.thumbnail-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail-item.active {
  border-color: #ffc107;
}

.thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.price-new {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ff4444;
}

.price-old {
  font-size: 1.1rem;
  color: #999;
  text-decoration: line-through;
}

/* Specifications */
.specs-group {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
}

.specs-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specs-list li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #666;
}

.specs-list li i {
  color: #ffc107;
  width: 20px;
}

/* Storage Options */
.storage-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.storage-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.storage-btn:hover,
.storage-btn.active {
  background: #ffc107;
  border-color: #ffc107;
  color: white;
}

/* Color Options */
.color-buttons {
  display: flex;
  gap: 10px;
}

.color-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ddd;
  padding: 0;
  transition: all 0.3s ease;
}

.color-btn.active {
  border-color: #ffc107;
  transform: scale(1.1);
}

/* Quantity Selector */
.quantity-input-group {
  display: flex;
  align-items: center;
  max-width: 150px;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:first-child {
  border-radius: 6px 0 0 6px;
}

.quantity-btn:last-child {
  border-radius: 0 6px 6px 0;
}

#quantity {
  border-radius: 0;
  text-align: center;
  border-left: none;
  border-right: none;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 10px;
}

.btn-add-cart,
.btn-buy-now {
  flex: 1;
  padding: 12px 24px;
}

/* Description Tabs */
.description-tabs {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-tabs {
  border-bottom: 2px solid #eee;
}

.nav-tabs .nav-link {
  border: none;
  color: #666;
  padding: 12px 20px;
  font-weight: 500;
}

.nav-tabs .nav-link.active {
  color: #ffc107;
  border-bottom: 2px solid #ffc107;
}

.content-wrapper {
  padding: 20px 0;
  color: #666;
  line-height: 1.6;
}

/* Related Products */
.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
}

.section-title i {
  color: #ffc107;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .product-title {
    font-size: 1.5rem;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn-add-cart,
  .btn-buy-now {
    width: 100%;
  }

  .thumbnail-item {
    width: 60px;
    height: 60px;
  }
}
/* public/css/order-success.css */

.order-success-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.success-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.success-icon {
  font-size: 64px;
  color: #28a745;
  margin-bottom: 20px;
}

.success-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.success-message {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.order-section {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i {
  color: #ffc107;
}

.info-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

.info-row {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.info-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-label {
  width: 150px;
  font-weight: 500;
  color: #666;
}

.info-value {
  flex: 1;
  color: #333;
}

.order-table-wrapper {
  overflow-x: auto;
}

.order-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.order-table th {
  background: #f8f9fa;
  padding: 15px;
  font-weight: 600;
  color: #333;
  text-align: left;
  border-bottom: 2px solid #eee;
}

.order-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.product-image-success {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.note-section {
  background: #fff3cd;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.note-section i {
  color: #856404;
}

.payment-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.summary-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.summary-row.total {
  font-size: 18px;
  font-weight: 600;
  color: #dc3545;
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-continue-shopping,
.btn-view-orders {
  flex: 1;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-continue-shopping {
  background: #fff;
  border: 2px solid #ffc107;
  color: #333;
}

.btn-continue-shopping:hover {
  background: #ffc107;
  color: #fff;
}

.btn-view-orders {
  background: #ffc107;
  border: none;
  color: #333;
}

.btn-view-orders:hover {
  background: #ffb300;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
    gap: 5px;
  }

  .info-label {
    width: 100%;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn-continue-shopping,
  .btn-view-orders {
    width: 100%;
  }
}

/* public/css/order-history.css */

.order-history-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.order-history-header {
  margin-bottom: 40px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.page-title i {
  color: #ffc107;
  font-size: 32px;
}

.order-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-item {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item i {
  font-size: 24px;
  color: #ffc107;
  background: #fff3cd;
  padding: 12px;
  border-radius: 10px;
}

.stat-value {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.stat-label {
  color: #666;
  font-size: 14px;
}

.order-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.order-card:hover {
  transform: translateY(-5px);
}

.order-header {
  background: #f8f9fa;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.order-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-status i {
  color: #28a745;
  font-size: 20px;
}

.status-text {
  color: #28a745;
  font-weight: 500;
}

.order-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
}

.order-content {
  padding: 20px;
}

.product-info {
  display: flex;
  gap: 20px;
}

.product-image-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.1);
}

.product-details {
  flex: 1;
}

.product-title {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.product-title:hover {
  color: #ffc107;
}

.product-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.product-category,
.product-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
}

.product-features {
  margin-bottom: 15px;
}

.warranty-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 14px;
}

.price-new {
  color: #ff4444;
  font-weight: 600;
  font-size: 18px;
}

.order-footer {
  background: #f8f9fa;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
}

.order-total {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-total .label {
  color: #666;
}

.order-total .amount {
  font-size: 20px;
  font-weight: 600;
  color: #ff4444;
}

.order-actions {
  display: flex;
  gap: 10px;
}

.btn-review,
.btn-reorder,
.btn-details {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-review {
  background: #fff3cd;
  color: #856404;
}

.btn-review:hover {
  background: #ffeeba;
}

.btn-reorder {
  background: #f8d7da;
  color: #721c24;
}

.btn-reorder:hover {
  background: #f5c6cb;
}

.btn-details {
  background: #cce5ff;
  color: #004085;
}

.btn-details:hover {
  background: #b8daff;
}

@media (max-width: 768px) {
  .order-stats {
    grid-template-columns: 1fr;
  }

  .product-info {
    flex-direction: column;
  }

  .product-image-wrapper {
    width: 100%;
    height: 200px;
  }

  .order-footer {
    flex-direction: column;
    gap: 20px;
  }

  .order-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-review,
  .btn-reorder,
  .btn-details {
    width: 100%;
    justify-content: center;
  }
}

/* Chatbot Widget Styles */
.chatbot-widget {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 1000;
}

.chatbot-button {
  width: 60px;
  height: 60px;
  background: #ffc107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.chatbot-button i {
  font-size: 24px;
  color: #000;
}

.chatbot-button:hover {
  transform: scale(1.1);
  background: #ff9800;
}

.chatbot-button .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  padding: 5px 8px;
  font-size: 12px;
}

.chatbot-container {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  display: none;
  overflow: hidden;
}

.chatbot-container.active {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.chatbot-header {
  background: #ffc107;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-weight: 600;
}

.chatbot-title i {
  font-size: 20px;
}

.chatbot-close {
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
}

.chatbot-body {
  height: 300px;
  padding: 15px;
  overflow-y: auto;
}

.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message-chat {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.message-chat.bot {
  align-self: flex-start;
}

.message-chat.user {
  align-self: flex-end;
}

.message-content {
  padding: 10px 15px;
  border-radius: 15px;
  background: #f8f9fa;
}

.message-chat.bot .message-content {
  background: #f8f9fa;
  border-bottom-left-radius: 5px;
  color: #000;
}

.message-chat.user .message-content {
  background: #ffc107;
  color: #000;
  border-bottom-right-radius: 5px;
}

.message-content p {
  margin: 0;
  font-size: 14px;
}

.chatbot-footer {
  padding: 15px;
  border-top: 1px solid #eee;
}

.chatbot-form {
  display: flex;
  gap: 10px;
}

.chatbot-form input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 14px;
}

.chatbot-form button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .chatbot-widget {
    bottom: 80px;
    right: 20px;
  }

  .chatbot-container {
    width: 300px;
    right: -10px;
  }

  .chatbot-button {
    width: 50px;
    height: 50px;
  }

  .chatbot-button i {
    font-size: 20px;
  }
}

/* Thêm vào phần style của chatbot */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 5px 0;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #ffc107;
  border-radius: 50%;
  animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.4s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes typing {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Thêm hiệu ứng cho tin nhắn mới */
.message-chat {
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
