:root {
  --color-main: rgb(51, 162, 11);
  --color-second: rgb(255, 57, 69);
  --color-third: rgba(51, 162, 11, 0.58);
  --color-black: black;
  --color-text1: #fff;
  --color-text2: rgba(239, 239, 239, 0.88);
  --color-line: rgba(189, 189, 189, 0.55);
  --color-background: #f4f4f4;
  --color-border: #ddd;
  --color-hover: rgba(0, 143, 229, 0.08);
  --color-button-bg: var(--color-main);
  --color-button-hover: var(--color-second);
}

* {
  margin: 0;
  padding: 0;
  --gap-flex: 0.4rem;
  --number-row: 4;
}

a,
a:hover {
  text-decoration: none;
  color: var(--color-second);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
p,
ul,
ol,
label,
h1,
h2,
h3,
h4,
h5 {
  margin-bottom: 0;
}
.table {
  margin: 0;
}
.table td,
.table th {
  padding: 0.4rem;
  vertical-align: baseline;
}
.fill-white {
  fill: var(--color-text1);
}
.color-main {
  color: var(--color-main);
  fill: var(--color-main);
}
.color-second {
  color: var(--color-second) !important;
  fill: var(--color-second) !important;
}
body {
  background-color: var(--color-background);
}
.container-fluid {
  max-width: 98%;
}
.bg-color-main {
  background-color: var(--color-main);
}
.bg-color-second {
  background-color: var(--color-second);
}

/* ############### */
/* header */
.block_header-section {
  background-color: var(--color-main);
  height: 40px;
}
.block_header-section.navbar {
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  align-content: center;
  align-items: center;
  z-index: 2;
}
.header_top-left a,
.header_top-right a {
  color: var(--color-text1);
  margin-right: 8px;
}
/* Search */
.search-block {
  flex-wrap: nowrap;
}
.input-group .search {
  height: 30px;
  font-size: 0.875rem;
  width: 226px;
}
.search_mobile {
  display: none;
}
.header_top {
  display: flex;
  justify-content: space-between;
  height: 40px;
  align-items: center;
}
.header_top-left,
.header_top-right {
  display: flex;
  gap: 8px;
}
.header_top-left img,
.header_top-right img {
  width: 18px;
  height: auto;
}
.header_top-left span,
.header_top-right span {
  display: flex;
  color: var(--color-text1);
  align-items: center;
  gap: 4px;
}
.header_top a:hover {
  color: var(--color-text2);
}
.header_body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem auto 10px auto;
}
.header_body-logo {
  display: flex;
  padding: 0.4rem 1rem;
}
.header_body-logo a {
  width: 126px;
  height: 126px;
  display: block;
  margin: 10px auto;
}
.header_body-logo .logo {
  height: 96px;
  width: 96px;
}
.header_body-logo header {
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-second);
}
.header_body-logo p {
  font-size: 1.2rem;
  text-align: center;
}
.header_body-logo section {
  margin: auto 1rem auto;
}
.header_body-right li {
  display: flex;
  line-height: 30px;
  color: var(--color-main);
  font-weight: 500;
  font-style: italic;
}
.header_body-right li svg {
  fill: var(--color-main);
}
.header_body-right .icon-check {
  margin-right: 10px;
}
.header_slide_text {
  margin: 10px;
  padding: 0;
  width: 100%;
}
.header_bottom {
  height: 40px;
  display: flex;
  align-items: center;
}
.header_bottom-menu {
  display: flex;
  justify-content: center;
  width: 100%;
}
.header_bottom-menu a {
  text-transform: uppercase;
  font-weight: 400;
  border-right: solid 1px var(--color-text2);
  line-height: 40px;
  color: var(--color-text1);
  padding: 0 6px;
}

.header_bottom-menu a:hover,
.main-menu a.active {
  background-color: var(--color-second);
}

.header_bottom-menu a:last-child {
  border-right: none;
}
/* intro page */
.intro_page {
  width: 100%;
  background-color: #c3c3c36e;
  padding: 0.4rem;
}
/* block adver */
.adver_left {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  padding: 0;
  gap: 1.5rem;
  align-content: center;
}
.adver_slider {
  flex: 1;
  margin: 1rem 0;
}
.adver_left-item {
  display: flex;
  box-shadow: 2px 2px 6px 2px var(--color-border);
  border-radius: 0.4rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: row;
  width: 48%;
  height: 112px;
}
.adver_left-item > a {
  display: contents;
}
.adver_left-item > a > img {
  border-radius: 0.4rem 0 0 0.4rem;
  margin-right: 0.6rem;
  height: auto;
}
.adver_left-item section {
  padding: 0.4rem 0.4rem 0.4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: space-around;
  width: 100%;
  line-height: normal;
}
.adver_left-item h3 {
  font-size: 1rem;
  text-transform: capitalize;
  color: var(--color-second);
}
.adver_left-item p {
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.adver_left .btn {
  width: 60px;
  height: 26px;
  float: right;
  padding: 0;
  margin: 0 0.4rem;
  color: var(--color-text1);
  background-color: var(--color-main);
  font-size: 0.875rem;
}
.adver_left .btn:hover {
  background-color: var(--color-second);
  color: var(--color-text1);
}

/* ###################################### */
/* Block main content */
.block_main {
  text-align: center;
}
.main-products {
  background-color: var(--color-text1);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-flex);
  margin: auto;
  width: 100%;
  padding: 4px;
}
.product_item {
  border: 1px solid var(--color-border);
  border-radius: 0.2rem;
  box-shadow: 2px 2px 6px #dae0e5;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  width: calc(100% / var(--number-row) - var(--gap-flex));
  flex-direction: column;
  background-color: var(--color-background);
  max-width: 100%;
  min-width: 320px;
  position: relative;
}
.product_item:hover {
  border: 1px solid var(--color-second);
  box-shadow: 0 0 0 0.2rem var(--color-hover);
}
.product_item-top {
  margin-bottom: 0.2rem;
  font-size: small;
  text-align: center;
}
.product_item-top .title {
  font-size: 1rem;
  font-weight: 500;
}
.product_item-top-body {
  margin-bottom: auto;
  height: 100%;
  color: inherit;
}
.product_item-top-body:hover {
  color: unset;
}
.items-body-avatar img {
  border: 1px solid var(--color-border);
}
.items-body-sotck {
  width: 100%;
  text-align: center;
  font-size: small;
  margin-top: 0.6rem;
}
.items-body-sotck tr td {
  padding: 0.2rem;
}
.product_item-bottom {
  display: flex;
  width: 100%;
  justify-content: space-around;
  margin-top: 0.4rem;
}
.product_item-bottom button {
  border: 1px solid transparent;
  border-radius: 0.2rem;
  width: 5rem;
  font-size: small;
  margin-top: auto;
  padding: 0.2rem;
  color: var( --color-black);
  fill: var( --color-black);
}

.product_item-bottom button:hover {
  border: 1px solid var(--color-main);
}
.product_item-bottom button:active,
.product_item-bottom button:active svg {
  background: var(--color-main);
  color: var(--color-text1);
  fill: var(--color-text1);
}
.product_item-bottom svg {
  width: 22px;
  height: auto;
}
.product_item-bottom .labelbutton {
  font-size: 11px;
}
/* Block footer */
.block_footer {
  background: var(--color-main);
  padding: 1rem 1rem 5.6rem 1rem;
  font-size: 0.8rem;
}
.footer-top {
  display: flex;
  justify-content: space-evenly;
  color: var(--color-text1);
}
.footer-fanpage {
  height: 186px;
}
.footer-top h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  line-height: 2rem;
  border-bottom: 1px solid rgb(189 189 189);
  text-align: center;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.footer-top ul li h4,
.footer-contact h4 {
  margin: 0.4rem;
  font-size: 1rem;
  font-weight: 400;
}
.footer-policy h4,
.footer-contact h4 {
  display: inline;
}
.footer-top a {
  color: var(--color-text1);
  text-align: center;
}
.footer-top a:hover {
  color: var(--color-text2);
}
.footer-policy span:hover {
  color: var(--color-text2);
  cursor: default;
}
.footer-bottom {
  color: var(--color-text2);
  text-align: center;
  font-size: 1rem;
}
.footer-menu {
  text-align: center;
}
.footer-spread {
  border-right: 2px groove var(--color-line);
  margin: 8px;
}
.footer-policy svg,
.footer-contact svg {
  width: 20px;
  height: auto;
  margin: 0.4rem;
}
.footer-contact-social {
  margin-top: 0.6rem;
}
.footer-contact-social ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.footer-contact-social ul svg {
  width: 32px;
  height: auto;
  margin-top: 0.4rem;
}
.footer-contact-social .zalo img {
  border-radius: 0.2rem;
  width: 32px;
  height: 32px;
}
.footer-contact-social .twitter svg {
  fill: var(--color-second);
  background: white;
  padding: 4px;
  border-radius: 4px;
}
.footer-contact-social .email svg {
  background: #ccc;
  padding: 4px;
  border-radius: 4px;
}
/* block menu float footer */
.block_menu-float {
  position: fixed;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  height: 68px;
  width: 386px;
  z-index: 20;
  box-shadow: 0px 0px 6px 0px #5b5b5b;
  border-top-left-radius: 16px;
}
.block_menu-float ul {
  display: flex;
  height: 100%;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  color: var(--color-main);
}
.block_menu-float a {
  color: var(--color-main);
}
.block_menu-float svg {
  width: 30px;
  color: var(--color-main);
}
.block_menu-float a:hover,
.block_menu-float li:hover svg,
.block_menu-float li:hover p {
  color: var(--color-second);
}
.block_menu-float p {
  font-size: 10px;
  margin-top: 3px;
  line-height: normal;
  color: var(--color-text2);
}
.block_menu-float li:hover {
  cursor: pointer;
}
.menu-float-cart,
.menu-float-wishlist,
.menu-float-zalo {
  position: relative;
}
.menu-float-cart span,
.menu-float-wishlist span {
  background-color: var(--color-second);
  position: absolute;
  padding: 6px;
  font-size: 12px;
  right: -4px;
  top: -2px;
  width: auto;
  line-height: 6px;
  border-radius: 30%;
  color: var(--color-text1);
  opacity: 0;
}
.menu-float-zalo span {
    position: absolute;
    font-size: 10px;
    top: 7px;
    right: 10px;
    color: #3d3d3d;
    font-weight: bold;
}

/* Css modal youtube video buttom */
.modal-dialog {
  max-width: 920px;
  min-width: 300px;
  /* margin: 0.6% auto; */
}
.modal-video .embed-responsive {
  height: 100%;
  max-height: calc(100vh - 130px);
}
.modal-footer .btn-search {
  background-color: var(--color-main);
  color: var(--color-text1);
}
.close {
  position: absolute;
  right: 10px;
  top: 0;
  z-index: 999;
  font-size: 2rem;
  font-weight: normal;
  color: var(--color-second);
  opacity: 1;
}
/* Modal search  */
.modal1 {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  animation: fadeIn ease-in 0.3s;
  z-index: 20;
  display: none;
}
.modal1_overlay {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 30%);
}
.modal1_body {
  background-color: var(--color-text1);
  z-index: 1;
  border-radius: 4px;
  padding: 0.4rem;
  max-width: 920px;
  overflow-y: scroll;
  height: auto;
  max-height: 100vh;
  margin: auto;
  font-size: 0.875rem;
}
.search-header {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 2px;
  border-bottom: 1px solid var(--color-text2);
}
.search-body-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-text2);
  padding: 0.4rem;
}
.search-body-item.list-color .content {
  font-size: 0.9rem;
}
.search-body-item .content {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.search-body-item .content .form-control {
  border-color: var(--color-main);
}
.search-body-item .title {
  width: 100px;
  text-align: right;
  margin-right: 0.6rem;
  line-height: normal;
  font-weight: 500;
  flex-shrink: 0;
}
.search-body-item .content li {
  border: 1px solid var(--color-text1);
  border-radius: 0.4rem;
  align-items: center;
  display: flex;
  box-shadow: 0px 0px 4px #292828;
  background: #f5f5f5;
}
.search-body-item .list-hight li {
  width: max-content;
  padding: 0px 4px;
}
.search-body-item .content li:hover {
  border: 1px solid var(--color-second);
  background-color: var(--color-text2);
}
.search-body-item .content li input {
  margin-left: 4px;
  accent-color: var(--color-main);
}
.search-body-item .content li label {
  width: 100%;
  height: 100%;
  padding: 4px;
}
.search-footer {
  padding: 10px;
  border-top: 1px solid var(--color-border);
}
.list-size .content {
  overflow-y: scroll;
  max-height: 30vh;
  background: #a8a8a866;
  padding: 8px;
  justify-content: center;
}
.list-size .content li,
.list-color li {
  width: 120px;
}
.list-color li:nth-child(-n + 9) {
  color: var(--color-text1);
}
.search-footer button {
  padding: 4px;
  margin-right: 10px;
  width: 116px;
}
.change_color {
  border-color: var(--color-second) !important;
}
.search-body-item.list-area li,
.search-body-item.list-origin li,
.search-body-item.list-hight li,
.search-body-item.list-style li {
  width: 134px;
}
/* Modal menu left */
.modal1_menu-left,
.modal1_addcart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 21;
  width: 0;
}
.sidenav,
.cart_body {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: var(--color-text1);
  overflow-x: hidden;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.sidenav .list-item a {
  padding: 0 0.6rem 0 0.6rem;
  text-decoration: none;
  font-size: 1rem;
  color: #818181;
  display: block;
  transition: 0.1s;
  max-width: 300px;
  width: 250px;
}
.list-item {
  display: flex;
  margin-top: 1rem;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
}
.sidenav button {
  width: 100px;
}
.sidenav .list-item p {
  border: 1px solid var(--color-main);
  padding: 0.6rem;
  border-radius: 5px;
  color: var(--color-main);
  text-align: center;
}
.sidenav .list-item a:hover p {
  border-color: var(--color-second);
  color: var(--color-second);
  background-color: var(--color-text2);
}

/* Modal add cart */
.modal1_addcart {
  width: 0;
}
.cart_body {
  width: 0;
}
.addcart_main,
.addcart_bottom {
  width: 100%;
}

/* Modal quick view */
.block_quickview {
  padding: 0.4rem;
  align-items: center;
}
.modal-quickview .modal-content {
  max-width: 920px;
}
.modal-quickview .modal-header {
  padding: 0.4rem;
  position: relative;
  width: 100%;
}
.modal-quickview .modal-header .btn-close {
  position: absolute;
  right: 20px;
}
/* .quickview-footer {
  padding: 0.2rem;
  border-bottom: unset;
} */
.quickview-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin: auto;
}
.block_quickview p {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0.6rem;
  line-height: normal;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.2rem;
  text-align: left;
}
.block_quickview .modal-body {
  padding: 0.6rem;
}
.quickview-avatar img {
  border: 1px solid var(--color-text2);
}
.quickview-stock,
.quickview-video,
.quickview-list-img,
.quickview-video iframe {
  width: 100%;
  text-align: center;
}
.quickview-table-stock {
  margin-top: 1rem;
}
.quicklview-img img,
.quickview-list-img img {
  width: 100%;
}
.quickview-stock table thead {
  background-color: #ccc;
}
.quickview-video iframe {
  height: 750px;
  width: 100%;
}
.quickview-list-img img {
  margin: 5px 0;
  border: 1px solid var(--color-text2);
}
.quickview-footer {
  justify-content: center;
  gap: 1rem;
}
.quickview-footer button {
  width: 6rem;
  padding: 6px;
}
.quickview-footer button span {
  display: flex;
  width: inherit;
  gap: 6px;
  align-items: center;
}
/* Mobile menu */
.mobile-menu {
  background: var(--color-second);
  height: inherit;
  color: #fff;
  align-items: center;
  display: none;
}
.mobile-menu button {
  color: #fff;
  font-size: 20px;
  padding: 12px 20px;
}

/* End mobile menu */
/* Style detail page */
.block_breadcrumb {
  background-color: var(--color-background);
}
ol.breadcrumb {
  background: unset;
  border-radius: unset;
  padding: 0.6rem 0;
  margin: 0;
}
.breadcrumb-item a {
  color: var(--color-main);
}
.breadcrumb-item a:hover {
  color: var(--color-second);
}
.product-detail-top,
.cart-content {
  background: var(--color-text1);
  padding: 1rem;
  gap: 1rem;
  border-radius: 6px;
  box-shadow: 0px 0px 10px 2px #ccc;
}
.under_title {
  border-bottom: 2px solid #e5e5e5;
  width: fit-content;
  margin: auto;
}
.detail-top-left,
.detail-top-right {
  flex: 1;
}
.detail-top-left {
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 0;
}
.detail-title {
  font-size: 1.8rem;
  padding-bottom: 0.4rem;
  color: var(--color-main);
}
.under_title h2 {
  font-size: 1rem;
  display: inline;
}
.detail-top-right table th {
  border-top: unset;
}
.detail-socials {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  flex-wrap: wrap;
}
.detail-top-left .list-images img {
  height: 100%;
  padding: 0.1rem;
  margin: auto;
  border: 1px solid var(--color-border);
  border-radius: 0.2rem;
  width: 5.9rem;
}
.detail-top-left .list-images img:hover {
  border: 1px solid var(--color-main);
  cursor: pointer;
}
.list-images {
  display: flex;
  justify-content: space-between;
  margin: 0.4rem 0;
  height: 65px;
  padding: 0 6px;
}
.detail-top-right {
  padding: 0;
}
.detail-top-right .detail-info {
  display: flex;
  padding-bottom: 1rem;
  gap: 1rem;
}
.detail-top-right .table {
  margin: 0;
  font-size: 1rem;
}
ul.feature,
ul.policy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
  width: 100%;
  border: 1px solid var(--color-border);
  padding: 0.6rem;
  border-radius: 6px;
}
ul.feature h5,
ul.policy h5 {
  font-size: small;
  font-weight: 400;
}
ul.feature h5 {
  display: inline;
}
ul.policy {
  flex-direction: row;
  gap: 0.4rem;
  text-align: center;
}
ul.feature li {
  margin: 2px 0;
}
ul.feature li span svg,
.detail-block-order li span svg {
  width: 1rem;
  margin-right: 5px;
  margin-top: -2px;
}
.detail-block-order li span svg {
  width: 1.2rem;
  fill: var(--color-main);
}
.size-tags {
  display: flex;
  flex-wrap: wrap;
}
.size-tag {
  cursor: pointer;
  padding: 3px 12px;
  border: 1px solid #4caf50;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: #4caf50;
  position: relative;
  margin: 8px;
}
.size-tag:before {
  left: -6px;
  transform: rotate(-45deg);
}
.size-tag:after {
  right: -6px;
  transform: rotate(135deg);
}
.size-tag:before,
.size-tag:after {
  content: "";
  width: 10px;
  height: 10px;
  background-color: var(--color-text1);
  border-width: 1px;
  border-style: solid;
  border-color: transparent #4caf50 #4caf50 transparent;
  border-image: initial;
  position: absolute;
  top: 50%;
  margin-top: -5px;
  border-radius: 50%;
}
.size-tag:hover {
  background-color: var(--color-main);
  color: var(--color-text1);
}
.title-head {
  text-align: left;
  font-size: 1.3rem;
  text-transform: uppercase;
  padding: 1rem 0;
}
ul.detail-block-order h5 {
  font-size: 1rem;
  font-weight: 500;
  display: inline;
}

.detail-block-order {
  border: 1px solid var(--color-border);
  margin-top: 10px;
  padding: 0 1rem 0.6rem 0.5rem;
  text-align: justify;
  line-height: 30px;
}

/* Css input number */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
.total-price {
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  color: red;
}
.buttons_added .input-qty,
.cart-btn-qty .cart-input-qty {
  max-width: 110px;
  text-align: center;
  border: 1px solid var(--color-border);
  width: 100px;
  height: 100%;
  margin-right: auto;
}
input.input-qty:focus-visible,
.cart-input-qty:focus-visible {
  outline: none;
}
.swal-text {
  color: var(--color-second);
  font-weight: 500;
}
button.minus,
.cart-minus-qty {
  width: 30px;
  position: absolute;
  left: 0;
  border: 1px solid var(--color-border);
  height: 100%;
}

.buttons_added,
.cart-btn-qty {
  width: 100px;
  margin: auto;
  position: relative;
  height: 30px;
}

button.plus,
.cart-plus-qty {
  width: 30px;
  position: absolute;
  right: 0;
  border: 1px solid var(--color-border);
  height: 100%;
}
button.plus:active,
button.minus:active,
.cart-minus-qty:active,
.cart-plus-qty:active {
  background: var(--color-main);
  color: var(--color-text1) f;
}
.product-detail-body {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.product-detail-intro {
  text-align: justify;
}
.table-of-contents {
  padding: 1rem;
  width: fit-content;
  border: 1px solid #ccc;
  margin: 1rem;
  margin-left: 0;
  background: var(--color-border);
  border-radius: 4px;
}
#table_of_contents {
  padding: 1rem;
  padding-left: 0;
  line-height: 2rem;
}
#table_of_contents .list-level-1 {
  list-style: decimal;
  color: #5b5b5b;
  padding: 0px 14px;
}
#table_of_contents .list-level-1 a {
  color: #5b5b5b;
}
#table_of_contents .list-level-1 a:hover {
  text-decoration: underline;
}
.detail-video .responsive-iframe-youtube {
  width: 100%;
  height: 800px;
}
.detail-list-img {
  display: flex;
  flex-direction: column;
}
.detail-list-img a {
  cursor: auto;
  width: fit-content;
}
.detail-list-img img {
  width: 100%;
  max-width: 830px;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
}
.detail-related-item {
  width: 100%;
  min-width: 300px;
  margin-left: 1px;
}

.detail-table-stock tr {
  text-align: center;
}
.detail-table-stock tbody tr {
  /* font-weight: 500; */
  color: red;
}
.hinhphoicanh {
  position: relative;
  border: 1px solid var(--color-border);
}
.spinfo-img {
  position: absolute;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-text1);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.4rem;
  line-height: 1.4rem;
}
/* Cart page style */
.cart-table {
  flex-direction: column;
  border: 1px solid var(--color-border);
}
.cart-table-header {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-text2);
}
.cart-table-header li,
.cart-table-footer li {
  color: #000;
  font-weight: 500;
}
.cart-table-header li,
.cart-item li {
  border-right: 1px solid var(--color-border);
  padding: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cart-item li {
  flex-direction: column;
}
.cart-table-header li:first-child,
.cart-item li:first-child {
  border-left: none;
}
.cart-table-header li:last-child,
.cart-item li:last-child,
.cart-table-footer li:last-child {
  border-right: none;
}
.cart-item {
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
}
.custom-select:focus {
  border-color: var(--color-second);
  box-shadow: 0 0 0 0.2rem rgb(244 67 54 / 25%);
}
.delete svg {
  fill: #000;
}
.delete svg:hover {
  color: var(--color-second);
}
.cart-table-footer {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}
.cart-table-footer li {
  border-right: 1px solid var(--color-border);
  padding: 1.4rem 0;
  margin: -1rem 0px;
}
.cart-table-footer span {
  margin-left: 2rem;
}
.btn-delete {
  font-size: 12px;
  padding: 6px;
  margin-left: 0;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}
.btn-delete:hover {
  border-color: var(--color-second);
  color: var(--color-second);
}

/* Dest-category */
.des-category {
  display: flex;
  padding: 1rem;
  flex-direction: column;
}
.des-category h2 {
  font-size: 1.5rem;
  color: red;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
/* phone contact */
.phone-contact {
  bottom: 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: fixed;
  left: 20px;
  z-index: 9;
}

.phone-contact img {
  display: flex;
  flex-direction: row;
  height: 45px;
  width: 45px;
  position: relative;
}

.phone-contact p {
  background: #ea0000;
  padding: 0px 8px 0px 20px;
  border-radius: 10px;
  color: var(--color-text1);
  font-size: 1.1em;
  display: flex;
  flex-direction: row;
  margin: 9px -15px;
}
.go-top svg {
  position: fixed;
  right: 10px;
  top: 60%;
  background: var(--color-main);
  width: 30px;
  height: 30px;
  padding: 4px;
  fill: var(--color-text1);
  border: 1px solid var(--color-text1);
  opacity: 0.8;
  z-index: 10;
  cursor: pointer;
}
.go-top svg:hover {
  background-color: var(--color-second);
}

/* Flash sale */
.old_price {
  text-decoration-line: line-through;
  color: #3f3f3f;
  font-size: 0.8rem;
}
.flashsale-products{
  color:red;
  
}
.flashsale-products td{
border-top: 1px solid;
  border-top-color: #2d2d2d
}
.flashsale-info {
  padding: 8px;
}
.saleoff_price {
  font-weight: 600;
  display: inline;
}
.flashsale-percent {
  background: #f00;
  color: var(--color-text1);
  padding: 4px 10px;
  width: fit-content;
  font-weight: 700;
  margin: auto 8px auto auto;
  border-radius: 6px;
  display: inline-block;
}
.product_item .flashsale-icon {
  width: 48px;
  position: absolute;
  left: 0px;
  top: 0px;
}
.product_item .new-icon {
  width: 48px;
  position: absolute;
  top: 0;
  left: 0;
}

/* rating */
/* Màu sắc mặc định của sao */
.star {
  cursor: pointer;
  color: #ccc;
  font-size: 26px;
  transition: color 0.2s;
  display: inline-block;
}
.star.full {
  color: gold; /* Tô màu vàng khi đầy sao */
}

.star.half {
  background: linear-gradient(90deg, gold 50%, gray 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.star.empty {
  color: gray;
}
.ratingRate {
  font-size: 12px;
  display: flex;
  justify-content: center;
}
.viewPage {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.875rem;
  margin-top: 15px;
}
.social-share {
  display: flex;
  gap: 1rem;
  margin-top: 15px;
}

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.social-share a.facebook {
  background-color: #1877f2;
}

.social-share a.zalo {
  background-color: #0095ff;
}

.social-share a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.social-share svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.social-share .share-count {
  position: absolute;
  bottom: -12px;
  font-size: 12px;
  color: #333;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.8);
  padding: 2px 5px;
  border-radius: 3px;
}
