@import url("https://fonts.googleapis.com/css2?family=Merienda:wght@300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

* {
  box-sizing: border-box;
  font-family: "Merienda", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  text-decoration: none;
  list-style: none;
}

body {
  width: 100%;
  font-family: "arial";
  margin: 0;
}

.content {
  padding: 50px 100px;
}

/* HEADER */
#header {
  width: 100%;
}

/* THANH LOGIN / SIGN UP */
.login-table {
  width: 100%;
  text-align: right;
  color: #1b1b1b;
  background-color: black;
}

.login-table span {
  color: white;
  padding-right: 10px;
}

.login-table a {
  color: white;
}

/* TABBAR-CONTROL */
.tabbar-control {
  width: 100%;
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease; /* Hiệu ứng trượt mượt mà */
  z-index: 1000;
  position: relative;
}

.tabbar-control .search-basket i {
  cursor: pointer;
}

/* Class khi cố định và ẩn phía trên */
.tabbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateY(-100%); /* Ẩn phía trên màn hình */
}

/* Class khi hiển thị và trượt xuống */
.tabbar-fixed.active {
  transform: translateY(0); /* Trượt xuống vị trí top: 0 */
}

/* LOGO */
.logo img {
  width: 60px;
}

/* MENU */
.ul-bar {
  display: flex;
  text-transform: uppercase;
}

.ul-bar a {
  padding: 8px 17px;
}

.ul-bar a:hover {
  background-color: #bc9667;
  border-radius: 10px;
}

/* SEARCH & BASKET */
.search-basket i {
  font-size: 22px;
  padding: 8px 17px;
  column-gap: 0.8rem;
  color: white;
}

.search-basket :hover {
  color: #bc9667;
}

#menu-icon {
  font-size: 22px;
  cursor: pointer;
  color: white;
  display: none;
}

.search-box {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%);
  width: 100%;
  display: none;
}

.search-box.active {
  display: block; /* Hiện khi có class active */
}
.search-box input {
  width: 100%;
  font-size: 1rem;
  padding: 20px;
}

/* CONTAINER */
#container {
  width: 100%;
}

.content {
  padding: 50px 100px;
}
/* ======================================================================================================================================== */
/* ===================================================================INTRODUCT=================================================================== */
/*  ========================================================================================================================================*/
.slogan {
  width: 100%;
  min-height: 10vh;
  text-align: center;
  padding: 10px 100px;
}

.slogan h2 {
  text-transform: uppercase;
}

.origion {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
  align-items: center;
  gap: 1.5rem;
}

.left-origion {
  padding-left: 100px;
}

.left-origion h3 {
  font-size: 2rem;
  color: #53382c;
}

.origion img {
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 40%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 40%
  );
}

/* SERVICES */

.services {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
  align-items: center;
  gap: 1.5rem;
  background-color: #bd945d;
}

.services img {
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 40%
  );
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 40%
  );
}

.right-service {
  padding-right: 100px;
}

.right-service h3 {
  text-transform: uppercase;
  font-size: 2rem;
  color: white;
}

.right-service p {
  color: black;
}

/* PROFESSION */
.profession {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
  align-items: center;
  gap: 1.5rem;
  background-color: #8e5a2d;
}

.left-profession {
  padding-left: 100px;
}

.left-profession h3 {
  text-transform: uppercase;
  font-size: 2rem;
  color: white;
}

.left-profession p {
  color: white;
}

.profession img {
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 40%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 40%
  );
}

#footer {
  padding: 10px 100px;
  text-align: center;
  background-color: #53382c;
  color: white;
}

/* ======================================================================================================================================== */
/* ===================================================================PRODUCT=================================================================== */
/*  ========================================================================================================================================*/

/* CONTENT SLOGAN PRODUCT */
.content.slogan.products {
  padding: 50px 100px;
  background: url("../../image/backgournd_wood.avif");
}

.content.slogan.products h1 {
  font-size: 2.4rem;
  color: white;
  text-transform: uppercase;
}

.list-food {
  width: 100%;
  display: grid;
  grid-template-columns: 20% 80%; /* Cột trái 20%, cột phải 80% */
  gap: 1.5rem; /* Khoảng cách giữa các cột */
  background-color: #eaeaea;
}

.left-list-food {
  border-radius: 1rem;
  border: 1px solid black;
  min-height: 50rem;
  box-shadow: 5px 5px 10px black;
}

.left-list-food h3 {
  margin: 0px;
  color: white;
  background-color: #53382c;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border: 0.09rem solid black;
  padding: 8px 14px;
  font-size: 1.5rem;
}
.left-list-food ul {
  padding: 0px;
  margin: 0px;
}

.left-list-food li {
  padding: 8px 14px;
  border-top: 1px solid black;
  cursor: pointer;
}

.left-list-food li:last-child {
  border-bottom: 1px solid black;
}

.left-list-food .type-of-coffee li:last-child {
  border: none;
}

.type-of-coffee li {
  border: none;
}

.type-of-coffee li:hover {
  color: #bc9667;
}

.type-of-coffee {
  max-height: 0; /* Ẩn submenu ban đầu */
  overflow: hidden; /* Ẩn nội dung tràn ra */
  transition: max-height 0.3s ease-in-out; /* Hiệu ứng mượt mà */
}

.type-of-coffee.active {
  max-height: 200px;
}

.right-list-food {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: white;
  border-radius: 1rem;
}

.right-list-food input {
  width: 50%;
  padding: 5px;
  margin: 20px 20px;
}

.right-list-food span {
  color: black;
  padding: 5px;
  background-color: #8e5a2d;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.list-food-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, auto));
  /* grid-template-columns: repeat(3, 1fr); */

  gap: 1.5rem;
  padding: 1rem;
}

.right-list-food .list-food-box .box {
  position: relative;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px black;
}

.right-list-food .list-food-box img {
  width: 100%;
  /* height: 280px; */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  padding: 20px;
  border-radius: 0.5rem;
  background-color: grey;
}

.right-list-food .list-food-box .box .info {
  display: flex;
  justify-content: space-around;
}

.right-list-food .box .info span {
  padding: 0.5rem 1rem;
  background-color: #bc9667;
  border-radius: 10px;
}

.right-list-food .list-food-box .box .info i {
  padding: 0.5rem 1rem;
  background-color: #bc9667;
  border-radius: 10px;
  font-size: 1.5rem;
}

.right-list-food .list-food-box .box .info i:hover {
  background-color: orange;
}

#pagination {
  margin-top: auto; /* đẩy xuống đáy */
  text-align: center;
  padding-top: 20px;
}

.pagination button {
  padding: 6px 12px;
  margin: 0 10px;
  cursor: pointer;
  border: none;
  background: #333;
  color: white;
  border-radius: 4px;
}

.pagination button:disabled {
  background: #999;
  cursor: not-allowed;
}

.pagination span {
  font-weight: bold;
  color: black;
}

/* ======================================================================================================================================== */
/* ===================================================================CONTACT=================================================================== */
/*  ========================================================================================================================================*/

.slogan-contact {
  font-size: 2rem;
}

.slogan-contact span {
  color: black;
}

.content.infor-contact {
  padding: 20px 100px;
  display: grid;
  grid-template-columns: 100%;
  gap: 0.3rem;
  background-color: #1b1b1b;
}

.content.infor-contact i {
  font-size: 24px;
  padding: 10px;
  background-color: grey;
  border-radius: 2rem;
}

.content.fill-infor {
  padding: 50px 10rem;
  display: grid;
  grid-template-columns: 100%;
  gap: 0.5rem;
}

.content.fill-infor input {
  padding: 20px 20px;
  width: 100%;
  border-top: none;
  border-left: none;
  border-right: none;
}

.content.fill-infor textarea {
  padding: 20px 20px;
  width: 100%;
  border-top: none;
  border-left: none;
  border-right: none;
}

.content.fill-infor span {
  text-align: center;
  border-radius: 2rem;
  background-color: #8e5a2d;
  padding: 20px 100px;
  cursor: pointer;
}

input:focus,
textarea:focus {
  outline: none;
}

/* ======================================================================================================================================== */
/* ===================================================================CART=================================================================== */
/*  ========================================================================================================================================*/
#container {
  background-color: #f3ede7; /* màu kem cà phê */
  padding-bottom: 60px;
}

#container h1 {
  text-align: center;
  padding: 40px 0;
  font-size: 28px;
  letter-spacing: 2px;
  color: #4b2e2e; /* nâu đậm */
}

/* ================= GRID ================= */
.infor-cart {
  width: 100%;
  padding: 0 120px 40px;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
}

/* ================= LEFT CART ================= */
.left-infor-cart {
  background-color: #fffaf5;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(75, 46, 46, 0.15);
  overflow: hidden;
}

/* TABLE */
.table-infor-cart {
  width: 100%;
  border-collapse: collapse;
}

.table-infor-cart th {
  background-color: #6f4e37; /* coffee brown */
  color: #fff;
  padding: 14px;
  font-weight: 600;
  text-align: center;
}

.table-infor-cart td {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid #e5d6c8;
}

.table-infor-cart tr:hover {
  background-color: #f1e3d3;
}

.table-infor-cart td:first-child {
  text-align: left;
  padding-left: 30px;
}

/* PRODUCT */
.product-name span {
  color: #4b2e2e;
  font-weight: 500;
}

.product-name img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* INPUT */
.left-infor-cart input {
  width: 60px;
  height: 35px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #c8b6a6;
  background-color: #fff;
}

.quantity {
  color: #4b2e2e;
}

/* ================= RIGHT SUMMARY ================= */
.right-infor-cart {
  background-color: #fffaf5;
  border-radius: 16px;
  padding: 20px;
  height: fit-content;
  box-shadow: 0 4px 15px rgba(75, 46, 46, 0.15);
}

.right-infor-cart p {
  font-size: 16px;
  margin: 10px 0;
  color: #4b2e2e;
}

.right-infor-cart hr {
  margin: 10px 0;
  border: none;
  border-top: 1px solid #e5d6c8;
}

.right-infor-cart .total {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 18px;
}

#total-price {
  color: #a0522d; /* caramel */
}

/* BUTTON */
.right-infor-cart button {
  margin-top: 20px;
  width: 100%;
  height: 45px;
  border-radius: 8px;
  border: none;
  background-color: #8b5e3c; /* nâu sữa */
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.right-infor-cart button:hover {
  background-color: #6f4e37; /* espresso */
}

/* Form thanh toán */
#checkoutForm {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  width: 400px;
  text-align: center;
  display: none;
}

#checkoutForm input {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 8px;
}

#checkoutForm button {
  margin: 5px;
  padding: 8px 16px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
}

#checkoutForm button:hover {
  background-color: #45a049;
}

/* ======================================================================================================================================== */
/* ===================================================================PROFILE=================================================================== */
/*  ======================================================================================================================================== */

.container-profile {
  display: flex;
  max-width: 100vw;
  min-height: 100vh;
}

/* Sidebar trái */
.sidebar {
  width: 300px;
  height: auto;
  background: white;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.08);
  padding: 40px 24px;
}

.sidebar-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Overlay nền tối */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid #8d6e63;
}

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

.sidebar-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6b4e31;
}

.sidebar-points {
  color: #d4af37;
  font-size: 1.1rem;
  margin: 8px 0;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
}

.sidebar-menu li {
  margin-bottom: 12px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #555;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s;
  cursor: pointer;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: #fff8f5;
  color: #6b4e31;
}

.sidebar-menu i {
  font-size: 1.4rem;
  color: #8d6e63;
}

/* Nút toggle sidebar trên mobile */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 100px;
  left: 20px;
  z-index: 1100;
  background: #6b4e31;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Main content bên phải */
.main-content {
  /* margin-left: 300px; */
  padding: 40px;
  width: calc(100% - 300px);
  transition: all 0.3s;
}

.profile-card,
.orders-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-bottom: 40px;
}

h2 {
  color: #6b4e31;
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.order-product,
.order-status,
span,
.userName,
.createdAt, .span-bill {
  color: black;
}

.order-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tab-bar {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  margin-bottom: 32px;
  border-bottom: 2px solid #eee;
  padding-bottom: 12px;
}

.tab {
  padding: 12px 24px;
  background: #fff8f5;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}

.tab.active {
  background: #8d6e63;
  color: white;
}

.tab:hover {
  background: #8d6e63;
  color: white;
}

.order-list {
  list-style: none;
}

.order-item {
  background: #fff8f5;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

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

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.order-id {
  font-weight: 600;
  color: #6b4e31;
}

.order-status {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.status-pending {
  background: #ffeaa7;
  color: #d63031;
}
.status-confirmed {
  background: #81ecec;
  color: #0984e3;
}
.status-shipping {
  background: #74b9ff;
  color: #2d3436;
}
.status-delivered {
  background: #55efc4;
  color: #00b894;
}
.status-cancelled {
  background: #fab1a0;
  color: #e17055;
}

.order-total {
  font-weight: 600;
  color: #d4af37;
  font-size: 1.2rem;
}
.order-actions {
  display: flex;
  justify-content: flex-end; /* đẩy sang phải */
  margin-top: 10px;
}

.cancel-btn {
  padding: 8px 14px;
  border: none;
  background: #ff4d4f;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.cancel-btn:hover {
  background: #d9363e;
}

body.no-scroll {
  overflow: hidden;
}

/* ================= PROFILE INFO LAYOUT ================= */

.profile-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* LEFT SIDE */
.profile-left {
  flex: 2;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-item i {
  width: 30px;
  color: #8d6e63;
}

.info-item input,
.info-item select {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

/* RIGHT AVATAR */
.profile-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.profile-right img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #8d6e63;
}

.choose-img {
  padding: 8px 16px;
  border: 1px solid #8d6e63;
  border-radius: 6px;
  cursor: pointer;
  color: #6b4e31;
  font-size: 14px;
}

.choose-img:hover {
  background: #8d6e63;
  color: white;
}

/* SAVE BUTTON */
.profile-save {
  margin-top: 30px;
}

.profile-save .btn {
  padding: 12px 25px;
  border: none;
  background: #8d6e63;
  color: white;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.profile-save .btn:hover {
  background: #6b4e31;
}

/* Responsive */
@media (max-width: 992px) {
  .sidebar {
    position: fixed;
    top: 80px;
    left: 0;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .sidebar.active {
    transform: translateX(0);
    transition: transform 0.3s ease;
  }

  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .profile-layout {
    flex-direction: column;
    align-items: center;
  }

  .profile-left,
  .profile-right {
    width: 100%;
  }

  .info-grid {
    gap: 12px;
  }
}

/* ========================================================================================================================================== */
/* ===================================================================FOODER=================================================================== */
/* == ========================================================================================================================================== */
/* FOOTER */
#footer {
  width: 100%;
  background-color: #eeeae1;
  padding: 30px;
  color: black;
  text-align: left;
}

#footer > h2 {
  text-align: center;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
  justify-content: center;
  gap: 1.5rem;
}

.footer-contact h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.content-footer .social-icon i {
  font-size: 24px;
  padding: 10px;
  background-color: grey;
  border-radius: 0.2rem;
}

.content-footer .social-icon i:hover {
  background-color: orange;
  cursor: pointer;
}

.content-footer a {
  color: black;
}

.social-icon span {
  color: black;
}

.social-icon.social-icon-last i {
  background-color: transparent;
}
/* LAST */
#last {
  padding: 20px;
  text-align: center;
}

/* ======================================================================================================================================== */
/* ===================================================================DETAIL PRODUCT=================================================================== */
/*  ========================================================================================================================================*/

.product-detail-container {
  width: 100%;
  padding: 50px 100px;
}
.product-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
  justify-content: center;
}
.product-image img {
  width: 80%;
}

#quantity {
  width: 100px;
}

.product-info h1 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #333;
}
.product-info .price {
  font-size: 1.5em;
  color: #e67e22;
  margin-bottom: 20px;
}
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.quantity-selector button {
  background-color: #ddd;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 1em;
  border-radius: 3px;
}
.quantity-selector button:hover {
  background-color: #ccc;
}
.quantity-selector input {
  width: 40px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 5px;
}
.add-to-cart {
  background-color: #f4a261;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1em;
  text-transform: uppercase;
}
.add-to-cart:hover {
  background-color: #e68a38;
}
.product-info p {
  margin-top: 20px;
  font-size: 0.9em;
  color: #666;
}
.error-message {
  color: red;
  text-align: center;
}
/* Media Queries */
@media (max-width: 1058px) {
  /* header {
    padding: 16px 60px;
  } */
  .content {
    padding: 50px 60px;
  }
  .home-text h1 {
    font-size: 2.4rem;
  }
  .infor-cart {
    padding: 20px 20px;
  }
}

@media (max-width: 991px) {
  /* header {
    padding: 16px 4%;
  } */
  .content {
    padding: 50px 4%;
  }
  .content.infor-contact {
    padding: 50px 4%;
  }
  .content.fill-infor {
    padding: 50px 4%;
  }
  .home-text h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  /* header {
    padding: 12px 4%;
  } */
  #menu-icon {
    display: initial;
  }
  .ul-bar {
    position: absolute;
    top: -570px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: black;
    row-gap: 1.4rem;
    padding: 20px;
    transition: 0.3s;
    text-align: center;
    margin: 0px;
  }
  .ul-bar a:hover {
    background-color: red;
  }
  .ul-bar.active {
    top: 100%;
  }
  .infor-cart {
    display: grid;
    grid-template-columns: 100%;
    gap: 1rem;
  }
}

@media (max-width: 620px) {
  .left-infor-cart th:nth-child(3),
  .left-infor-cart th:nth-child(4),
  .left-infor-cart td:nth-child(3),
  .left-infor-cart td:nth-child(4) {
    display: none; /* Ẩn cột Số lượng và Thành tiền */
  }

  .left-infor-cart th:nth-child(1) {
    width: 100%; /* Cột Tên sản phẩm chiếm toàn bộ */
  }

  .left-infor-cart .product-name {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Căn trái để gọn */
    padding: 5px;
  }

  .left-infor-cart .product-name img {
    width: 30%; /* Tăng nhẹ kích thước ảnh để rõ hơn */
    margin-right: 10px; /* Khoảng cách giữa ảnh và tên */
  }

  .left-infor-cart .product-name span {
    font-size: 0.9rem; /* Giảm nhẹ font để vừa màn hình nhỏ */
  }

  .left-origion,
  .right-service,
  .left-profession {
    padding-left: 20px;
    padding-right: 20px;
  }
  .slogan-contact {
    font-size: 1rem;
  }
  .box img {
    width: 50%;
  }
}

@media (max-width: 360px) {
  #container h1 {
    font-size: 1rem;
    padding: 20px 20px;
  }

  /* header {
    padding: 11px 4%;
  } */
  .login img {
    width: 45px;
  }
  .home-text {
    padding-top: 15px;
  }
  .home-text h1 {
    font-size: 1.4rem;
  }
  .home-text p {
    font-size: 0.8rem;
    font-weight: 300;
  }
  .about-text h1 {
    font-size: 1.4rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .list-food {
    grid-template-columns: 1fr; /* Chỉ có 1 cột */
  }
  .left-list-food {
    min-height: auto;
  }
}
